html.tbdc-cs-ready body.woocommerce-cart .cart-sidebar > form.checkout_coupon,
html.tbdc-cs-ready body.woocommerce-checkout .woocommerce-form-coupon-toggle,
html.tbdc-cs-ready body.woocommerce-checkout form.checkout_coupon { display: none !important; }
body.tbdc-cs-modal-open { overflow: hidden; }
.tbdc-cs-trigger { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 54px; margin: 0 0 15px; padding: 10px 15px; border: 0; border-radius: 10px; background: #f3f4f6; color: #142326; text-align: left; font-size: 15px; cursor: pointer; }
.tbdc-cs-trigger:hover { background: #e9eaed; }
.tbdc-cs-ticket-icon { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 23px; height: 23px; border-radius: 5px; background: #e52427; color: #fff; font-weight: 800; }
.tbdc-cs-chevron { margin-left: auto; font-size: 29px; line-height: 1; }
.tbdc-cs-modal[hidden] { display: none !important; }
.tbdc-cs-modal { position: fixed; inset: 0; z-index: 999999; }
.tbdc-cs-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.46); }
.tbdc-cs-drawer { position: absolute; top: 0; right: 0; bottom: 0; display: flex; flex-direction: column; width: min(720px, 100vw); background: #fff; box-shadow: -9px 0 35px rgba(0,0,0,.13); outline: none; }
.tbdc-cs-modal-head { display: flex; justify-content: space-between; align-items: center; flex: none; min-height: 72px; padding: 15px 24px; border-bottom: 1px solid #e5e5e5; }
.tbdc-cs-modal-head h2 { margin: 0; font-size: 22px; font-weight: 700; line-height: 1.3; }
.tbdc-cs-modal-head button { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; padding: 0; border: 0; background: none; color: #172225; font-size: 32px; line-height: 1; cursor: pointer; }
.tbdc-cs-modal-scroll { flex: 1; overflow-y: auto; padding: 22px 24px 0; }
.tbdc-cs-code-form { margin: 0 0 22px; }
.tbdc-cs-code-form label { display: block; margin: 0 0 8px; font-weight: 700; font-size: 15px; }
.tbdc-cs-code-form > div { display: flex; gap: 10px; padding: 10px; background: #f5f5f5; }
.tbdc-cs-code-form input { flex: 1; min-width: 0; height: 44px; margin: 0; padding: 8px 12px; border: 1px solid #d4d7da; background: #fff; box-shadow: none; }
.tbdc-cs-code-form button { flex: none; min-width: 88px; height: 44px; margin: 0; padding: 0 14px; border: 1px solid #1c5aaf; border-radius: 4px; background: #1c5aaf; color: #fff; cursor: pointer; }
.tbdc-cs-feedback { padding: 10px 13px; border-radius: 5px; background: #eff7ef; color: #167047; }
.tbdc-cs-feedback[data-type="error"] { background: #fff0ef; color: #be2b2b; }
.tbdc-cs-feedback[hidden] { display: none; }
.tbdc-cs-applied, .tbdc-cs-suggestions { margin: 20px 0 26px; }
.tbdc-cs-applied h3, .tbdc-cs-suggestions h3 { margin: 0 0 15px; color: #243537; font-size: 17px; font-weight: 700; }
.tbdc-cs-applied-row { display: flex; justify-content: space-between; align-items: center; gap: 15px; margin-bottom: 9px; padding: 12px 15px; border: 1px solid #d5e6dc; border-radius: 6px; background: #f5fbf7; }
.tbdc-cs-applied-row strong, .tbdc-cs-applied-row small { display: block; }
.tbdc-cs-applied-row small { color: #268047; }
.tbdc-cs-applied-row button { flex: none; padding: 7px 10px; border: 0; background: transparent; color: #bf3030; cursor: pointer; }
.tbdc-cs-card { position: relative; display: flex; gap: 0; min-height: 118px; margin: 0 0 16px; border: 1px solid #dedfe1; border-radius: 8px; background: #fff; overflow: hidden; }
.tbdc-cs-card.is-unavailable { opacity: .65; }
.tbdc-cs-card-image { display: flex; align-items: center; justify-content: center; flex: none; width: 104px; min-height: 118px; border-right: 1px dashed #d7dadd; }
.tbdc-cs-card-image img { max-width: 84px; max-height: 84px; width: auto; height: auto; object-fit: contain; }
.tbdc-cs-card-image > span { display: flex; align-items: center; justify-content: center; width: 58px; height: 46px; transform: rotate(-13deg); border-radius: 6px; background: #f43639; color: #fff; font-size: 34px; font-weight: 800; }
.tbdc-cs-card-main { flex: 1; min-width: 0; padding: 13px 12px 12px 18px; }
.tbdc-cs-card-main > strong, .tbdc-cs-card-main > span, .tbdc-cs-card-main > small { display: block; }
.tbdc-cs-code { overflow-wrap: anywhere; font-size: 15px; }
.tbdc-cs-card-main > span { margin-top: 4px; color: #d81f20; font-weight: 600; }
.tbdc-cs-card-main > small { margin-top: 5px; color: #616f76; font-size: 12px; }
.tbdc-cs-card-main > small.tbdc-cs-problem { color: #c62828; }
.tbdc-cs-card-main details { margin-top: 8px; }
.tbdc-cs-card-main summary { width: fit-content; color: #1f61a6; font-size: 13px; cursor: pointer; }
.tbdc-cs-card-main details ul { margin: 8px 0 0 17px; padding: 0; color: #3c4549; font-size: 13px; }
.tbdc-cs-card-main details li { margin: 0 0 5px; }
.tbdc-cs-card-actions { display: flex; flex-direction: column; justify-content: center; align-items: stretch; flex: none; gap: 8px; min-width: 93px; padding: 10px 12px; }
.tbdc-cs-card-actions button { min-height: 32px; margin: 0; padding: 4px 9px; border-radius: 5px; cursor: pointer; font-size: 13px; }
.tbdc-cs-copy { border: 1px solid #ccd5dc; background: #fff; color: #275279; }
.tbdc-cs-apply { border: 1px solid #175cae; background: #175cae; color: #fff; }
.tbdc-cs-apply:disabled { border-color: #b2bfd0; background: #b2bfd0; cursor: not-allowed; }
.tbdc-cs-empty, .tbdc-cs-loading { padding: 20px 0; color: #65717a; }
.tbdc-cs-modal-footer { position: sticky; bottom: 0; display: flex; justify-content: space-between; align-items: center; gap: 14px; margin: 24px -24px 0; padding: 15px 24px; border-top: 1px solid #e7e7e7; background: #fff; box-shadow: 0 -3px 12px rgba(0,0,0,.03); }
.tbdc-cs-modal-footer strong { display: block; color: #df2428; font-size: 21px; }
.tbdc-cs-modal-footer small { display: block; color: #445; }
.tbdc-cs-modal-footer button { min-width: 150px; padding: 10px 16px; border: 0; border-radius: 7px; background: #e52427; color: #fff; font-weight: 700; cursor: pointer; }
.tbdc-cs-product-box { margin: 24px 0; padding: 16px; border: 1px solid #e5e7ea; border-radius: 8px; }
.tbdc-cs-product-box h3 { margin: 0 0 12px; font-size: 17px; }
.tbdc-cs-product-list { display: grid; gap: 8px; margin-bottom: 12px; }
.tbdc-cs-product-list > div { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; padding: 9px 12px; border: 1px dashed #e7a5a5; border-radius: 6px; }
.tbdc-cs-product-list strong { color: #c92025; }
.tbdc-cs-product-list span { flex: 1; }
.tbdc-cs-product-list button { padding: 4px 8px; border: 1px solid #d12a2e; border-radius: 4px; background: #fff; color: #c92025; cursor: pointer; }
.tbdc-cs-shortcode-list { display: grid; gap: 12px; }
.tbdc-cs-shortcode-list .tbdc-cs-card { margin-bottom: 0; }
.tbdc-cs-shortcode > .tbdc-cs-trigger { margin-top: 15px; }
@media (max-width: 600px) {
  .tbdc-cs-drawer { top: auto; right: 0; left: 0; bottom: 0; width: 100%; max-height: 94dvh; border-radius: 16px 16px 0 0; }
  .tbdc-cs-modal-head { min-height: 60px; padding: 10px 16px; }
  .tbdc-cs-modal-head h2 { font-size: 19px; }
  .tbdc-cs-modal-scroll { padding: 16px 13px 0; }
  .tbdc-cs-code-form > div { gap: 6px; padding: 7px; }
  .tbdc-cs-code-form button { min-width: 75px; padding: 0 8px; }
  .tbdc-cs-card-image { width: 74px; min-height: 110px; }
  .tbdc-cs-card-image > span { width: 43px; height: 38px; font-size: 26px; }
  .tbdc-cs-card-image img { max-width: 64px; max-height: 64px; }
  .tbdc-cs-card-main { padding: 10px 6px 10px 11px; }
  .tbdc-cs-card-actions { min-width: 70px; padding: 8px 7px; }
  .tbdc-cs-card-actions button { padding: 4px 3px; font-size: 11px; }
  .tbdc-cs-modal-footer { margin-left: -13px; margin-right: -13px; padding: 12px 13px; }
  .tbdc-cs-modal-footer button { min-width: 105px; }
}
