.woocommerce .drg-coupon-mini{--coupon-ink:#171b26;--coupon-muted:#687082;--coupon-border:#e5e8ef;--coupon-accent:#5b4bea;margin:12px 0;padding:12px;background:#ffffff;border:1px solid var(--coupon-border);border-radius:12px;color:var(--coupon-ink);direction:rtl;box-sizing:border-box}
.drg-coupon-mini__fields[hidden]{display:none!important}
.drg-coupon-mini__toggle{display:block;width:100%;padding:8px 4px;border:0;background:transparent;color:#533ae0;font-weight:700;text-align:right;cursor:pointer}
.drg-coupon-mini__fields{padding-top:7px}
.woocommerce .drg-coupon-mini__row{display:flex;align-items:center;gap:8px}
.woocommerce .drg-coupon-mini__icon{width:20px;height:20px;flex:0 0 20px;color:var(--coupon-muted)}
.woocommerce .drg-coupon-mini input.drg-coupon-mini__input{flex:1 1 0;min-width:0;width:0;height:42px;min-height:42px;margin:0;padding:0 10px;border:1px solid var(--coupon-border);border-radius:8px;background:#ffffff;color:var(--coupon-ink);font:inherit;font-size:13px;box-shadow:none}
.woocommerce .drg-coupon-mini input::placeholder{color:var(--coupon-muted);opacity:1}
.woocommerce .drg-coupon-mini input:focus{outline:2px solid var(--coupon-accent);outline-offset:1px}
.woocommerce .drg-coupon-mini button.drg-coupon-mini__apply{flex:0 0 auto;width:auto;min-width:66px;height:42px;min-height:42px;margin:0;padding:0 16px;border:0;border-radius:8px;background:var(--coupon-accent);color:#ffffff;box-shadow:none;font:inherit;font-size:13px;font-weight:700;white-space:nowrap}
.woocommerce .drg-coupon-mini button:disabled{opacity:.65;cursor:wait}
.woocommerce .drg-coupon-mini__notice:empty{display:none}
.woocommerce .drg-coupon-mini__notice{margin-top:8px;font-size:12px;line-height:1.8}
.woocommerce .drg-coupon-mini__notice .woocommerce-error,.woocommerce .drg-coupon-mini__notice .woocommerce-message,.woocommerce .drg-coupon-mini__notice .woocommerce-info{margin:0;padding:8px 12px;font-size:12px;box-shadow:none}
@media(max-width:400px){.woocommerce .drg-coupon-mini{padding:10px}.woocommerce .drg-coupon-mini__icon{display:none}.woocommerce .drg-coupon-mini button.drg-coupon-mini__apply{padding-inline:12px}}

/* Compact gateway choices; native WooCommerce radios and events stay intact. */
body .woocommerce form.checkout #payment ul.payment_methods{
 display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;
 padding:12px 14px!important;margin:0!important;list-style:none;
 background:#ffffff!important;border-bottom:1px solid #e5e8ef!important;
}
body .woocommerce form.checkout #payment ul.payment_methods::before,
body .woocommerce form.checkout #payment ul.payment_methods::after{display:none!important}
body .woocommerce form.checkout #payment ul.payment_methods>li.wc_payment_method{
 display:grid!important;grid-template-columns:18px minmax(0,1fr);align-items:center;column-gap:8px;
 position:relative;min-width:0;margin:0!important;padding:0 12px!important;
 border:1px solid #e5e8ef;border-radius:10px;background:#ffffff;
 color:#171b26;font-size:12px;font-weight:600;box-shadow:none;line-height:1.6;
}
body .woocommerce form.checkout #payment ul.payment_methods>li.wc_payment_method:has(>input:checked){
 border:1px solid #5b4bea!important;background:#ffffff;box-shadow:none!important;
}
body .woocommerce form.checkout #payment ul.payment_methods>li.wc_payment_method>input.input-radio{
 appearance:auto!important;position:static!important;opacity:1!important;
 width:17px!important;height:17px!important;min-width:17px;margin:0!important;
 accent-color:#5b4bea;cursor:pointer;float:none!important;
}
body .woocommerce form.checkout #payment ul.payment_methods>li.wc_payment_method>label{
 display:flex!important;align-items:center;justify-content:space-between!important;
 gap:8px;min-width:0;min-height:52px;width:100%;margin:0!important;padding:0!important;
 color:#171b26;font-size:12px!important;font-weight:600!important;line-height:1.6;cursor:pointer;
}
body .woocommerce form.checkout #payment ul.payment_methods>li.wc_payment_method>label img{
 display:block;float:none!important;flex:0 0 44px;
 width:44px!important;height:24px!important;max-width:44px!important;max-height:24px!important;
 object-fit:contain;margin:0!important;padding:0!important;
}
body .woocommerce form.checkout #payment ul.payment_methods>li.wc_payment_method:focus-within{
 outline:none;
}
body .woocommerce form.checkout #payment ul.payment_methods>li.wc_payment_method:has(>input:focus-visible){
 outline:2px solid #5b4bea;outline-offset:3px;
}
body .woocommerce form.checkout #payment ul.payment_methods>li.wc_payment_method>input:focus:not(:focus-visible){outline:none!important;box-shadow:none!important;}
body .woocommerce form.checkout #payment ul.payment_methods>li.wc_payment_method>.payment_box{
 grid-column:1/-1;margin:0 0 10px!important;padding:8px 0!important;
 background:#ffffff!important;color:#687082!important;font-size:12px;line-height:1.8;box-shadow:none;
}
body .woocommerce form.checkout #payment ul.payment_methods>li.wc_payment_method>.payment_box::before{display:none}
body .woocommerce form.checkout #payment ul.payment_methods>li.wc_payment_method>.payment_box:not(:has(*)){
 padding:0!important;margin:0!important;
}
@media(max-width:560px){
 body .woocommerce form.checkout #payment ul.payment_methods{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;padding:8px!important}
 body .woocommerce form.checkout #payment ul.payment_methods>li.wc_payment_method{grid-template-columns:15px minmax(0,1fr);column-gap:4px;padding:0 6px!important}
 body .woocommerce form.checkout #payment ul.payment_methods>li.wc_payment_method>input.input-radio{width:15px!important;height:15px!important;min-width:15px}
 body .woocommerce form.checkout #payment ul.payment_methods>li.wc_payment_method>label{min-height:48px;gap:4px;font-size:11px!important;line-height:1.5}
 body .woocommerce form.checkout #payment ul.payment_methods>li.wc_payment_method>label img{flex:0 0 28px;width:28px!important;max-width:28px!important;height:22px!important;max-height:22px!important}
}

body .woocommerce form.checkout #payment ul.payment_methods>li.wc_payment_method::before,body .woocommerce form.checkout #payment ul.payment_methods>li.wc_payment_method::after{display:none!important;content:none!important}

body .woocommerce form.checkout #billing_first_name_field>label{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;clip-path:inset(50%)!important;white-space:nowrap!important;border:0!important}
body .woocommerce form.checkout #billing_first_name::placeholder{color:#687082;opacity:1}

body .woocommerce form.checkout #billing_phone_field>label{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;clip-path:inset(50%)!important;white-space:nowrap!important;border:0!important}
body .woocommerce form.checkout #billing_first_name,body .woocommerce form.checkout #billing_phone{padding-right:44px!important;background-position:right 14px center!important;background-size:20px 20px!important;background-repeat:no-repeat!important}
body .woocommerce form.checkout #billing_first_name{background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23687082%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%228%22%20r%3D%223.5%22%2F%3E%3Cpath%20d%3D%22M5%2021v-2a7%207%200%200%201%2014%200v2%22%2F%3E%3C%2Fsvg%3E")!important}
body .woocommerce form.checkout #billing_phone{background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23687082%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%226.5%22%20y%3D%222%22%20width%3D%2211%22%20height%3D%2220%22%20rx%3D%222.5%22%2F%3E%3Cpath%20d%3D%22M10%205h4M11%2019h2%22%2F%3E%3C%2Fsvg%3E")!important}
body .woocommerce form.checkout #billing_phone::placeholder{color:#687082;opacity:1;direction:rtl;text-align:right}

/* WooCommerce prints an extra &nbsp; after the product name, outside the
   quantity filter. Hide that text-node spacing visually while preserving all
   product-name and variation typography inside the cell. */
body.woocommerce-checkout .woocommerce-checkout-review-order-table td.product-name:has(.drg-checkout-product-with-thumb){
  font-size:0!important;
}
body.woocommerce-checkout .woocommerce-checkout-review-order-table td.product-name .drg-checkout-product-with-thumb,
body.woocommerce-checkout .woocommerce-checkout-review-order-table td.product-name .variation,
body.woocommerce-checkout .woocommerce-checkout-review-order-table td.product-name .wc-item-meta{
  font-size:12px!important;
}

/* Product list above buyer details; original live order totals remain below.
   The preview is visual only, refreshed after WooCommerce checkout updates. */
/* Hide the duplicate live review rows on first paint when the
   server-rendered preview already exists; no JS-dependent flash. */
form.checkout:has(> .drg-checkout-products-preview) #order_review table.woocommerce-checkout-review-order-table > tbody,
form.checkout.drg-checkout-products-preview-active #order_review table.woocommerce-checkout-review-order-table > tbody{
  display:none!important;
}
form.checkout > .drg-checkout-products-preview{
  display:block;
  width:100%;
  max-width:100%;
  margin:0 0 11px;
  box-sizing:border-box;
}
form.checkout .drg-checkout-products-preview__table{
  width:100%!important;
  max-width:100%!important;
  margin:0!important;
  border:1px solid #e5e8ef!important;
  border-spacing:0!important;
  border-collapse:separate!important;
  border-radius:12px!important;
  background:#fff!important;
  overflow:hidden;
  table-layout:fixed;
  box-shadow:0 6px 18px rgba(31,39,69,.035);
  direction:rtl;
}
form.checkout .drg-checkout-products-preview__table tbody td{
  padding:11px 12px!important;
  border:0!important;
  border-bottom:1px solid #edf0f4!important;
  background:#fff!important;
  vertical-align:middle;
}
form.checkout .drg-checkout-products-preview__table tbody tr:last-child td{
  border-bottom:0!important;
}
form.checkout .drg-checkout-products-preview__table td.product-name{
  color:#202635!important;
  font-size:12px!important;
  font-weight:800!important;
  line-height:1.7!important;
  overflow-wrap:anywhere;
  width:auto;
}
form.checkout .drg-checkout-products-preview__table td.product-name:has(.drg-checkout-product-with-thumb){
  font-size:0!important;
}
form.checkout .drg-checkout-products-preview__table td.product-name .drg-checkout-product-with-thumb{
  font-size:12px!important;
}
form.checkout .drg-checkout-products-preview__table td.product-total{
  width:36%;
  color:#1d2432!important;
  font-size:12px!important;
  font-weight:900!important;
  text-align:left!important;
  white-space:normal;
  overflow-wrap:anywhere;
}
form.checkout .drg-checkout-products-preview__table .drg-checkout-product-with-thumb{
  display:inline-flex;max-width:100%;align-items:center;gap:9px;vertical-align:middle;direction:rtl;
}
form.checkout .drg-checkout-products-preview__table .drg-checkout-product-thumb-wrap{
  display:block;flex:0 0 72px;width:72px;height:44px;
}
form.checkout .drg-checkout-products-preview__table img.drg-checkout-product-thumb{
  display:block!important;width:72px!important;height:44px!important;
  max-width:72px!important;max-height:44px!important;
  object-fit:cover;border-radius:9px;border:1px solid #e5e8ef;
  margin:0!important;float:none!important;
}
form.checkout .drg-checkout-products-preview__table .drg-checkout-product-name{
  min-width:0;line-height:1.7;
}
form.checkout .drg-checkout-products-preview__table .variation{
  margin:3px 0 0;color:#8a91a0;font-size:10px;font-weight:500;
}
@media(max-width:600px){
  form.checkout .drg-checkout-products-preview__table .drg-checkout-product-with-thumb{gap:7px}
  form.checkout .drg-checkout-products-preview__table .drg-checkout-product-thumb-wrap{flex-basis:60px;width:60px;height:38px}
  form.checkout .drg-checkout-products-preview__table img.drg-checkout-product-thumb{
    width:60px!important;height:38px!important;max-width:60px!important;max-height:38px!important;border-radius:7px
  }
  form.checkout .drg-checkout-products-preview__table td.product-total{width:38%!important;font-size:11.5px!important}
}

/* Compact thumbnail beside each product in the checkout review table. */
body.woocommerce-checkout .woocommerce-checkout-review-order-table .drg-checkout-product-with-thumb{display:inline-flex;align-items:center;gap:9px;vertical-align:middle;max-width:100%;direction:rtl}
body.woocommerce-checkout .woocommerce-checkout-review-order-table .drg-checkout-product-thumb-wrap{display:block;flex:0 0 72px;width:72px;height:44px}
body.woocommerce-checkout .woocommerce-checkout-review-order-table img.drg-checkout-product-thumb{display:block!important;width:72px!important;height:44px!important;max-width:72px!important;max-height:44px!important;object-fit:cover;border-radius:9px;border:1px solid #e5e8ef;margin:0!important;float:none!important}
body.woocommerce-checkout .woocommerce-checkout-review-order-table .drg-checkout-product-name{min-width:0;line-height:1.7}
@media(max-width:600px){body.woocommerce-checkout .woocommerce-checkout-review-order-table .drg-checkout-product-with-thumb{gap:7px}body.woocommerce-checkout .woocommerce-checkout-review-order-table .drg-checkout-product-thumb-wrap{flex-basis:60px;width:60px;height:38px}body.woocommerce-checkout .woocommerce-checkout-review-order-table img.drg-checkout-product-thumb{width:60px!important;height:38px!important;max-width:60px!important;max-height:38px!important;border-radius:7px}}

/* Subtle neutral checkout page background; cards stay white. */
body.woocommerce-checkout:not(.ds-checkout-modal-open){background:#f7f8fa!important}
body.woocommerce-checkout:not(.ds-checkout-modal-open) .site,body.woocommerce-checkout:not(.ds-checkout-modal-open) #page{background:transparent}

/* Match the checkout main area to the subtle page background. */
body.woocommerce-checkout main,body.woocommerce-checkout main.site-main,body.woocommerce-checkout #main{background:#f7f8fa!important}

/* Green payment-button shadow, scoped to checkout. */
body.woocommerce-checkout #place_order,.ds-checkout-popup-host #place_order{box-shadow:inset 1px 1px 0 #fff6,0 8px 22px -8px rgb(0 177 102 / 84%)!important}

/* Slim checkout coupon: reduce vertical footprint on desktop and mobile. */
body.woocommerce-checkout .woocommerce .drg-coupon-mini,.ds-checkout-popup-host .drg-coupon-mini{margin:8px 0!important;padding:7px 9px!important;border-radius:10px!important;box-shadow:none!important}
body.woocommerce-checkout .woocommerce .drg-coupon-mini__row,.ds-checkout-popup-host .drg-coupon-mini__row{gap:6px!important}
body.woocommerce-checkout .woocommerce .drg-coupon-mini__icon,.ds-checkout-popup-host .drg-coupon-mini__icon{width:16px!important;height:16px!important;flex-basis:16px!important}
body.woocommerce-checkout .woocommerce .drg-coupon-mini input.drg-coupon-mini__input,.ds-checkout-popup-host .drg-coupon-mini input.drg-coupon-mini__input{height:36px!important;min-height:36px!important;padding:0 9px!important;font-size:12px!important;border-radius:7px!important}
body.woocommerce-checkout .woocommerce .drg-coupon-mini button.drg-coupon-mini__apply,.ds-checkout-popup-host .drg-coupon-mini button.drg-coupon-mini__apply{height:36px!important;min-height:36px!important;min-width:54px!important;padding:0 10px!important;font-size:12px!important;border-radius:7px!important}

/* Bolder text and placeholders in checkout buyer/coupon fields. */
body.woocommerce-checkout #billing_first_name,body.woocommerce-checkout #billing_phone,body.woocommerce-checkout .drg-coupon-mini input.drg-coupon-mini__input,.ds-checkout-popup-host #billing_first_name,.ds-checkout-popup-host #billing_phone,.ds-checkout-popup-host .drg-coupon-mini input.drg-coupon-mini__input{font-weight:800!important}
body.woocommerce-checkout #billing_first_name::placeholder,body.woocommerce-checkout #billing_phone::placeholder,body.woocommerce-checkout .drg-coupon-mini input.drg-coupon-mini__input::placeholder,.ds-checkout-popup-host #billing_first_name::placeholder,.ds-checkout-popup-host #billing_phone::placeholder,.ds-checkout-popup-host .drg-coupon-mini input.drg-coupon-mini__input::placeholder{font-weight:700!important}

/* Stronger field typography in checkout, including placeholders. */
body.woocommerce-checkout .woocommerce form.checkout #billing_first_name,
body.woocommerce-checkout .woocommerce form.checkout #billing_phone,
body.woocommerce-checkout .woocommerce form.checkout .drg-coupon-mini input.drg-coupon-mini__input,
.ds-checkout-popup-host form.checkout #billing_first_name,
.ds-checkout-popup-host form.checkout #billing_phone,
.ds-checkout-popup-host .drg-coupon-mini input.drg-coupon-mini__input{color:#171b26!important;font-weight:700!important}
body.woocommerce-checkout .woocommerce form.checkout #billing_first_name::placeholder,
body.woocommerce-checkout .woocommerce form.checkout #billing_phone::placeholder,
body.woocommerce-checkout .woocommerce form.checkout .drg-coupon-mini input.drg-coupon-mini__input::placeholder,
.ds-checkout-popup-host #billing_first_name::placeholder,
.ds-checkout-popup-host #billing_phone::placeholder,
.ds-checkout-popup-host .drg-coupon-mini input.drg-coupon-mini__input::placeholder{color:#303541!important;font-weight:700!important;opacity:1!important}

/* Visible required billing labels above inputs. */
body.woocommerce-checkout .woocommerce form.checkout #billing_first_name_field>label,
body.woocommerce-checkout .woocommerce form.checkout #billing_phone_field>label,
.ds-checkout-popup-host form.checkout #billing_first_name_field>label,
.ds-checkout-popup-host form.checkout #billing_phone_field>label{position:static!important;display:block!important;width:auto!important;height:auto!important;margin:0 0 5px!important;padding:0!important;overflow:visible!important;clip:auto!important;clip-path:none!important;white-space:normal!important;border:0!important;color:#171b26!important;font-size:12px!important;line-height:1.6!important;font-weight:700!important;text-align:right!important}
body.woocommerce-checkout #billing_first_name_field>label .required,body.woocommerce-checkout #billing_phone_field>label .required,.ds-checkout-popup-host #billing_first_name_field>label .required,.ds-checkout-popup-host #billing_phone_field>label .required{color:#d94343!important;font-weight:800!important;text-decoration:none!important;margin-inline-start:3px}

/* Hide WooCommerce's default coupon toggle/form on first paint.
   The replacement coupon control is server-rendered inside checkout. */
body.woocommerce-checkout:not(.woocommerce-order-received):not(.woocommerce-order-pay) .woocommerce-form-coupon-toggle,
body.woocommerce-checkout:not(.woocommerce-order-received):not(.woocommerce-order-pay) form.checkout_coupon,
.ds-checkout-popup-host .woocommerce-form-coupon-toggle,
.ds-checkout-popup-host form.checkout_coupon{
  display:none!important;
}

/* Coupon UI refinement: compact, aligned with the checkout OTP button. */
body.woocommerce-checkout .woocommerce .drg-coupon-mini,
.ds-checkout-popup-host .drg-coupon-mini{
  background:#fff!important;
  border:1px solid #e5e8ef!important;
  border-radius:12px!important;
  padding:8px 10px!important;
  margin:8px 0!important;
  box-shadow:0 3px 12px rgba(23,27,38,.035)!important;
}
body.woocommerce-checkout .woocommerce .drg-coupon-mini__row,
.ds-checkout-popup-host .drg-coupon-mini__row{
  gap:8px!important;
  min-width:0;
}
body.woocommerce-checkout .woocommerce .drg-coupon-mini__icon,
.ds-checkout-popup-host .drg-coupon-mini__icon{
  width:19px!important;height:19px!important;flex:0 0 19px!important;
  color:#687082;
}
body.woocommerce-checkout .woocommerce form.checkout .drg-coupon-mini input.drg-coupon-mini__input,
.ds-checkout-popup-host form.checkout .drg-coupon-mini input.drg-coupon-mini__input{
  height:39px!important;min-height:39px!important;
  border:1px solid #e5e8ef!important;border-radius:9px!important;
  background:#f9fafc!important;
  padding:0 12px!important;
  font-size:13px!important;font-weight:600!important;
  box-shadow:none!important;outline:none!important;
  transition:border-color .18s ease,background-color .18s ease;
}
body.woocommerce-checkout .woocommerce form.checkout .drg-coupon-mini input.drg-coupon-mini__input:focus,
.ds-checkout-popup-host form.checkout .drg-coupon-mini input.drg-coupon-mini__input:focus{
  border-color:#b7a9fb!important;background:#fff!important;
  outline:none!important;box-shadow:none!important;
}
body.woocommerce-checkout .woocommerce .drg-coupon-mini button.drg-coupon-mini__apply,
.ds-checkout-popup-host .drg-coupon-mini button.drg-coupon-mini__apply{
  display:inline-flex!important;align-items:center;justify-content:center;
  flex:0 0 auto!important;min-width:67px!important;
  width:auto!important;height:39px!important;min-height:39px!important;
  margin:0!important;padding:4px 15px!important;
  border:1px solid #ffffff00!important;border-radius:9px!important;
  background:linear-gradient(135deg,#533ae0,#7d60f7)!important;
  color:#fff!important;
  box-shadow:inset 1px 1px 0 #fff6,0 8px 22px -8px rgb(52 73 196 / .62)!important;
  font-family:inherit!important;font-weight:700!important;
  font-size:12.5px!important;white-space:nowrap;
  cursor:pointer;
  transition:filter .18s ease,transform .18s ease;
}
body.woocommerce-checkout .woocommerce .drg-coupon-mini button.drg-coupon-mini__apply:hover,
.ds-checkout-popup-host .drg-coupon-mini button.drg-coupon-mini__apply:hover{
  filter:brightness(1.07);
}
body.woocommerce-checkout .woocommerce .drg-coupon-mini button.drg-coupon-mini__apply:focus,
.ds-checkout-popup-host .drg-coupon-mini button.drg-coupon-mini__apply:focus{
  outline:none!important;
}
@media(max-width:400px){
  body.woocommerce-checkout .woocommerce .drg-coupon-mini,
  .ds-checkout-popup-host .drg-coupon-mini{padding:7px 8px!important}
  body.woocommerce-checkout .woocommerce .drg-coupon-mini__row,
  .ds-checkout-popup-host .drg-coupon-mini__row{gap:6px!important}
  body.woocommerce-checkout .woocommerce .drg-coupon-mini button.drg-coupon-mini__apply,
  .ds-checkout-popup-host .drg-coupon-mini button.drg-coupon-mini__apply{padding:4px 12px!important;min-width:60px!important}
}
@media(prefers-reduced-motion:reduce){
  body.woocommerce-checkout .woocommerce .drg-coupon-mini button.drg-coupon-mini__apply,
  .ds-checkout-popup-host .drg-coupon-mini button.drg-coupon-mini__apply{transition:none!important}
}

/* Checkout OTP send button: content width on mobile only. */
@media(max-width:767px){
 body.woocommerce-checkout .da-auth--checkout-inline .da-auth__inline-send button[data-da-request-otp],
 .ds-checkout-popup-host .da-auth--checkout-inline .da-auth__inline-send button[data-da-request-otp]{display:inline-flex!important;align-items:center;justify-content:center;width:max-content!important;max-width:100%!important;min-width:0!important;flex:0 0 auto!important;padding-inline:16px!important;white-space:nowrap}
}


/* Compact closed coupon row; left-facing chevron in RTL. */
body.woocommerce-checkout .woocommerce .drg-coupon-mini,
.ds-checkout-popup-host .drg-coupon-mini{
  padding:4px 9px!important;
  border-radius:10px!important;
}
body.woocommerce-checkout .woocommerce .drg-coupon-mini button.drg-coupon-mini__toggle,
.ds-checkout-popup-host .drg-coupon-mini button.drg-coupon-mini__toggle{
  display:flex!important;align-items:center!important;justify-content:space-between!important;
  width:100%!important;min-height:29px!important;height:29px!important;
  padding:2px 5px!important;margin:0!important;
  background:transparent!important;border:0!important;box-shadow:none!important;
  color:#533ae0!important;font-size:12.5px!important;font-weight:700!important;
  line-height:1.5!important;text-align:right!important;cursor:pointer;
}
body.woocommerce-checkout .drg-coupon-mini__toggle::after,
.ds-checkout-popup-host .drg-coupon-mini__toggle::after{
  content:"";display:block;flex:0 0 7px;width:7px;height:7px;
  margin-left:4px;border-left:2px solid currentColor;border-bottom:2px solid currentColor;
  transform:rotate(-45deg);transition:transform .18s ease;
}
body.woocommerce-checkout .drg-coupon-mini__toggle[aria-expanded="true"]::after,
.ds-checkout-popup-host .drg-coupon-mini__toggle[aria-expanded="true"]::after{
  transform:rotate(135deg);
}
body.woocommerce-checkout .drg-coupon-mini__fields,
.ds-checkout-popup-host .drg-coupon-mini__fields{padding-top:6px!important}
@media(prefers-reduced-motion:reduce){.drg-coupon-mini__toggle::after{transition:none!important}}


/* 2026-11-04: coupon field with embedded apply button, no inline icon. */
body.woocommerce-checkout .woocommerce .drg-coupon-mini__row,
.ds-checkout-popup-host .drg-coupon-mini__row{
  position:relative!important;
  display:block!important;
  width:100%!important;
  min-width:0!important;
  direction:rtl;
}
body.woocommerce-checkout .woocommerce form.checkout .drg-coupon-mini input.drg-coupon-mini__input,
.ds-checkout-popup-host form.checkout .drg-coupon-mini input.drg-coupon-mini__input{
  display:block!important;
  width:100%!important;
  min-width:0!important;
  height:47px!important;
  min-height:47px!important;
  padding:0 13px 0 92px!important;
  border-radius:10px!important;
  box-sizing:border-box!important;
  font-size:15px!important;
  font-weight:500!important;
  text-align:right!important;
}
body.woocommerce-checkout .woocommerce .drg-coupon-mini button.drg-coupon-mini__apply,
.ds-checkout-popup-host .drg-coupon-mini button.drg-coupon-mini__apply{
  position:absolute!important;
  z-index:2!important;
  left:7px!important;
  right:auto!important;
  top:50%!important;
  transform:translateY(-50%)!important;
  height:36px!important;
  min-height:36px!important;
  min-width:65px!important;
  margin:0!important;
  padding:4px 12px!important;
  border-radius:8px!important;
}
body.woocommerce-checkout .drg-coupon-mini__icon,
.ds-checkout-popup-host .drg-coupon-mini__icon{
  display:none!important;
}
body.woocommerce-checkout .woocommerce .drg-coupon-mini button.drg-coupon-mini__toggle::after,
.ds-checkout-popup-host .drg-coupon-mini button.drg-coupon-mini__toggle::after{
  position:relative;
  top:-2px;
  align-self:center!important;
}
/* Preserve useful validation messages without adding text under the field. */
body.woocommerce-checkout .woocommerce .drg-coupon-mini__notice:not(:empty),
.ds-checkout-popup-host .drg-coupon-mini__notice:not(:empty){
  position:fixed!important;
  inset:auto auto 22px 50%!important;
  transform:translateX(-50%)!important;
  z-index:100030!important;
  max-width:calc(100vw - 32px)!important;
  width:max-content!important;
  margin:0!important;
  padding:10px 15px!important;
  border-radius:9px!important;
  background:#171b26!important;
  box-shadow:0 9px 28px rgba(0,0,0,.18)!important;
  color:#fff!important;
  font-size:12px!important;
  line-height:1.8!important;
  text-align:center!important;
}
@media(max-width:400px){
  body.woocommerce-checkout .woocommerce form.checkout .drg-coupon-mini input.drg-coupon-mini__input,
  .ds-checkout-popup-host form.checkout .drg-coupon-mini input.drg-coupon-mini__input{
    padding-left:86px!important;
  }
}
