/* WooCheck 3.8 — Commerce UI 5
 * Structure-first visual system for canonical Cart / Checkout / Thank You.
 */
:root{
  --wcx-brand:var(--woocheck-primary,#635bff);
  --wcx-brand-600:#554cf1;
  --wcx-brand-50:#f4f3ff;
  --wcx-bg:#f6f7f9;
  --wcx-surface:#fff;
  --wcx-surface-2:#fafafa;
  --wcx-text:#111827;
  --wcx-text-2:#344054;
  --wcx-muted:#667085;
  --wcx-subtle:#98a2b3;
  --wcx-line:#e6e8ec;
  --wcx-line-strong:#d7dbe2;
  --wcx-success:#0f8a5f;
  --wcx-success-bg:#edf9f4;
  --wcx-danger:#d92d20;
  --wcx-radius:16px;
  --wcx-radius-sm:12px;
  --wcx-shadow:0 1px 2px rgba(16,24,40,.03),0 12px 30px rgba(16,24,40,.055);
  --wcx-shell:1180px;
  --wcx-side:350px;
}

/* 3.8.1: readable Persian commerce typography. */
#woocheck-app :where(.woocheck-stock-badge,.woocheck-cart-line__meta,.woocheck-cart-line__unit small,.woocheck-cart-line__subtotal small,.woocheck-totals__heading p,.woocheck-totals__microcopy,.wcx-kicker,.wcx-checkout-stepper b,.wcx-checkout-stepper small,.wcx-panel-head p,.wcx-fields label,.wcx-order-card-head small,.wcx-order-card-head a,.wcx-order-item-copy strong,.wcx-order-item-copy small,.wcx-order-item>b,.wcx-order-note strong,.wcx-order-note small,.wcx-payment-panel #payment .payment_box,.wcx-payment-panel #payment .woocommerce-privacy-policy-text,.woocheck-section-heading span,.woocheck-order-number-pill b,.woocheck-copy-order,.woocheck-order-fact small,.woocheck-order-fact strong,.woocheck-order-timeline strong,.woocheck-order-timeline small,.woocheck-order-product strong,.woocheck-order-product small,.woocheck-order-product>span,.woocheck-product-card strong,.woocheck-product-card span,.woocheck-mobile-action-bar small){font-size:12px!important}

/* 3.9.1 — Desktop checkout containment.
 * Some themes set .woocommerce-checkout to display:grid. Since the stepper and
 * the actual checkout grid are direct form children, that rule turns the
 * stepper into an unwanted third column. WooCheck owns this form layout. */
body.woocheck-takeover #woocheck-app form.wcx-checkout-form{
  display:block!important;
  grid-template-columns:none!important;
  grid-template-areas:none!important;
  column-gap:0!important;
  row-gap:0!important;
  max-width:none!important;
}
body.woocheck-takeover #woocheck-app .woocheck-checkout-progress{display:none!important}
body.woocheck-takeover #woocheck-app .wcx-checkout-stepper{
  direction:rtl!important;
  text-align:right!important;
}
body.woocheck-takeover #woocheck-app .wcx-checkout-stepper button{
  direction:rtl!important;
  text-align:right!important;
}
body.woocheck-takeover #woocheck-app .wcx-checkout-stepper button[data-checkout-step-target="1"]{grid-column:1!important}
body.woocheck-takeover #woocheck-app .wcx-checkout-stepper button[data-checkout-step-target="2"]{grid-column:2!important}
body.woocheck-takeover #woocheck-app .wcx-checkout-stepper button[data-checkout-step-target="3"]{grid-column:3!important}
body.woocheck-takeover #woocheck-app .wcx-fields,
body.woocheck-takeover #woocheck-app .wcx-fields :where(.woocommerce-billing-fields__field-wrapper,.woocommerce-shipping-fields__field-wrapper,.woocommerce-additional-fields__field-wrapper,.form-row){
  direction:rtl!important;
  text-align:right!important;
}
body.woocheck-takeover #woocheck-app .wcx-fields label{
  width:100%!important;
  direction:rtl!important;
  text-align:right!important;
}
body.woocheck-takeover #woocheck-app .wcx-fields :where(input.input-text,textarea,select,.select2-selection,.select2-selection__rendered){
  direction:rtl!important;
  text-align:right!important;
}
body.woocheck-takeover #woocheck-app .wcx-fields :where(input[type="email"],input[type="tel"]){
  direction:ltr!important;
  text-align:right!important;
}
body.woocheck-takeover #woocheck-app .wcx-fields :where(input.input-text,textarea)::placeholder{
  direction:rtl!important;
  text-align:right!important;
}
@media (min-width:981px){
  body.woocheck-takeover #woocheck-app .wcx-checkout-page{width:min(1180px,100%)!important;max-width:1180px!important}
  body.woocheck-takeover #woocheck-app .wcx-checkout-stepper{width:100%!important;max-width:none!important;margin:0 0 20px!important}
  body.woocheck-takeover #woocheck-app .wcx-checkout-grid{grid-template-columns:minmax(0,760px) minmax(340px,380px)!important;justify-content:space-between!important;gap:28px!important}
  body.woocheck-takeover #woocheck-app .wcx-checkout-main{width:100%!important;max-width:760px!important}
  body.woocheck-takeover #woocheck-app .wcx-order-sidebar{width:100%!important;max-width:380px!important}
  body.woocheck-takeover #woocheck-app .wcx-payment-panel{min-width:0!important}
  body.woocheck-takeover #woocheck-app .wcx-payment-panel #payment .place-order{overflow:visible!important}
  body.woocheck-takeover #woocheck-app .wcx-payment-panel #payment #place_order{position:static!important;float:none!important;inset:auto!important}
}
.woocheck-billing-address-fields[hidden]{display:none!important}
.woocheck-billing-address-fields:not([hidden]){display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-bottom:16px}
@media(max-width:767px){.woocheck-billing-address-fields:not([hidden]){grid-template-columns:1fr}}

body.woocheck-takeover{margin:0!important;background:var(--wcx-bg)!important;color:var(--wcx-text)!important;font-family:var(--woocheck-font,inherit)!important;font-size:15px!important;line-height:1.65!important;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
body.woocheck-takeover *,body.woocheck-takeover *:before,body.woocheck-takeover *:after{box-sizing:border-box}
body.woocheck-takeover input,body.woocheck-takeover select,body.woocheck-takeover textarea,body.woocheck-takeover button{font:inherit}
body.woocheck-takeover a{text-decoration:none}
body.woocheck-takeover #wpadminbar{display:none!important}
html{margin-top:0!important}

/* App shell */
.woocheck-app{min-height:100vh;display:flex;flex-direction:column;background:var(--wcx-bg)}
.woocheck-app-header{height:62px;background:#fff;border-bottom:1px solid var(--wcx-line);position:relative;z-index:20}
.woocheck-app-header__inner{width:min(var(--wcx-shell),calc(100% - 40px));height:100%;margin:auto;display:flex;align-items:center;justify-content:space-between;gap:20px}
.woocheck-app-brand{display:flex;align-items:center;color:var(--wcx-text)!important;min-width:0}
.woocheck-app-brand strong{font-size:15px;font-weight:850;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.woocheck-app-secure{display:none!important}
.woocheck-header-action{height:36px;display:inline-flex;align-items:center;padding:0 13px;border:1px solid var(--wcx-line);border-radius:10px;background:#fff;color:var(--wcx-text-2)!important;font-size:12px;font-weight:750;transition:.18s ease}
.woocheck-header-action:hover{border-color:var(--wcx-line-strong);background:var(--wcx-surface-2)}
.woocheck-app-main{width:min(var(--wcx-shell),calc(100% - 40px));margin:0 auto;flex:1;padding:34px 0 54px}
.woocheck-app-footer{height:58px;padding:0 max(20px,calc((100% - var(--wcx-shell))/2));display:flex;align-items:center;justify-content:space-between;gap:18px;background:#fff;border-top:1px solid var(--wcx-line);font-size:12px;color:var(--wcx-subtle)}
.woocheck-app-footer a{color:var(--wcx-muted);font-weight:750}.woocheck-footer-note{display:none}

/* Global notices */
#woocheck-app .woocommerce-error,#woocheck-app .woocommerce-info,#woocheck-app .woocommerce-message{margin:0 0 18px!important;padding:13px 16px!important;border:1px solid var(--wcx-line)!important;border-radius:12px!important;background:#fff!important;box-shadow:none!important;color:var(--wcx-text-2)!important;font-size:13px!important}
#woocheck-app .woocommerce-error{border-color:#f3c5c1!important;background:#fff7f6!important;color:#912018!important}

/* Common buttons */
#woocheck-app .button,#woocheck-app button.button,#woocheck-app a.button{min-height:44px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:7px!important;padding:0 18px!important;border:0!important;border-radius:11px!important;background:var(--wcx-brand)!important;color:#fff!important;box-shadow:none!important;font-weight:800!important;font-size:14px!important;line-height:1!important;transition:.18s ease!important}
#woocheck-app .button:hover,#woocheck-app button.button:hover,#woocheck-app a.button:hover{background:var(--wcx-brand-600)!important;transform:translateY(-1px)}
#woocheck-app .button.is-secondary,#woocheck-app .woocheck-step-back{background:#fff!important;color:var(--wcx-text-2)!important;border:1px solid var(--wcx-line)!important}

/* ---------- CART ---------- */
.woocheck-cart-page{width:100%}
#woocheck-app .woocheck-page-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin:0 0 20px;padding:0!important;background:none!important;border:0!important;box-shadow:none!important}
#woocheck-app .woocheck-page-heading h1{margin:0!important;font-size:27px!important;line-height:1.25!important;font-weight:900!important;color:var(--wcx-text)!important}
#woocheck-app .woocheck-page-heading p{margin:5px 0 0!important;color:var(--wcx-muted)!important;font-size:13px!important}
#woocheck-app .woocheck-eyebrow{display:none!important}
.woocheck-continue-shopping{color:var(--wcx-text-2)!important;font-size:13px;font-weight:750}
.woocheck-continue-shopping span{display:none}
.woocheck-free-shipping-slot{margin:0 0 16px}
.woocheck-free-shipping,.woocheck-free-shipping-bar{border:1px solid #bdebd8!important;background:var(--wcx-success-bg)!important;border-radius:14px!important;padding:13px 16px!important;box-shadow:none!important}
.woocheck-cart-layout{display:grid!important;grid-template-columns:minmax(0,1fr) var(--wcx-side)!important;gap:20px!important;align-items:start!important}
.woocheck-cart-card{min-width:0;background:#fff;border:1px solid var(--wcx-line);border-radius:var(--wcx-radius);overflow:hidden;box-shadow:var(--wcx-shadow)}
.woocheck-cart-list{display:block!important;margin:0!important;border:0!important;background:#fff!important}
.woocheck-cart-line{display:grid!important;grid-template-columns:88px minmax(0,1fr)!important;gap:16px!important;padding:18px!important;min-height:126px!important;border:0!important;border-bottom:1px solid var(--wcx-line)!important;border-radius:0!important;background:#fff!important;box-shadow:none!important;margin:0!important}
.woocheck-cart-line:last-child{border-bottom:0!important}
.woocheck-cart-line__media{width:88px;min-width:88px;position:relative}
.woocheck-cart-line__media>a{display:block;width:88px;height:88px;border-radius:12px;overflow:hidden;background:#f7f8fa;border:1px solid #eef0f3}
.woocheck-cart-line__media img{width:100%!important;height:100%!important;object-fit:cover!important;display:block!important}
.woocheck-stock-badge{position:static!important;display:inline-flex!important;margin-top:7px!important;padding:2px 7px!important;min-height:22px!important;border-radius:999px!important;background:var(--wcx-success-bg)!important;color:var(--wcx-success)!important;font-size:10.5px!important;font-weight:750!important;white-space:nowrap}
.woocheck-cart-line__content{min-width:0;display:flex!important;flex-direction:column!important;justify-content:space-between!important;gap:14px!important}
.woocheck-cart-line__identity{display:flex!important;align-items:flex-start!important;justify-content:space-between!important;gap:18px!important}
.woocheck-cart-line__title{min-width:0}
.woocheck-cart-line__title h2{margin:0!important;font-size:14px!important;line-height:1.55!important;font-weight:850!important;color:var(--wcx-text)!important}
.woocheck-cart-line__title h2 a{color:inherit!important}
.woocheck-cart-line__meta{margin-top:4px!important;color:var(--wcx-muted)!important;font-size:11.5px!important}
.woocheck-cart-line__unit{flex:0 0 auto;text-align:left}
.woocheck-cart-line__unit small,.woocheck-cart-line__subtotal small{display:block;color:var(--wcx-subtle);font-size:10.5px;margin-bottom:2px}
.woocheck-cart-line__unit strong,.woocheck-cart-line__subtotal strong{font-size:13px!important;color:var(--wcx-text)!important;font-weight:850!important}
.woocheck-cart-line__controls{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:16px!important;padding-top:2px!important}
.woocheck-cart-quantity-wrap{display:flex!important;align-items:center!important;gap:8px!important}
.woocheck-cart-quantity{width:112px!important;height:40px!important;display:grid!important;grid-template-columns:36px 1fr 36px!important;align-items:center!important;border:1px solid var(--wcx-line-strong)!important;border-radius:11px!important;background:#fff!important;overflow:hidden!important;box-shadow:none!important}
.woocheck-cart-quantity button{width:36px!important;height:38px!important;min-height:0!important;padding:0!important;border:0!important;border-radius:0!important;background:#fff!important;color:var(--wcx-text)!important;font-size:17px!important;box-shadow:none!important;transform:none!important}
.woocheck-cart-quantity button:hover{background:#f7f7fa!important;color:var(--wcx-brand)!important}
.woocheck-cart-quantity button:disabled{color:#c7cbd1!important;background:#fff!important;opacity:1!important}
.woocheck-cart-quantity input.qty{width:100%!important;min-width:0!important;height:38px!important;margin:0!important;padding:0!important;border:0!important;border-inline:1px solid #f0f1f3!important;border-radius:0!important;background:#fff!important;box-shadow:none!important;text-align:center!important;color:var(--wcx-text)!important;font-size:13px!important;font-weight:850!important;-moz-appearance:textfield}
.woocheck-cart-quantity input.qty::-webkit-outer-spin-button,.woocheck-cart-quantity input.qty::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}
.woocheck-qty-meta{display:none!important}
.woocheck-cart-line__subtotal{text-align:left;min-width:120px}
.woocheck-cart-remove{width:32px;height:32px;display:inline-flex!important;align-items:center;justify-content:center;border:1px solid #f2d5d2;border-radius:9px;background:#fff8f7;color:var(--wcx-danger)!important;margin-inline-start:auto;font-size:11px;font-weight:750}
.woocheck-cart-remove svg{width:16px;height:16px}
.woocheck-cart-actions{padding:16px 18px!important;display:flex!important;align-items:center!important;gap:12px!important;border-top:1px solid var(--wcx-line)!important;background:#fcfcfd!important}
.woocheck-coupon{display:flex!important;align-items:center!important;gap:12px!important;flex:1!important;margin:0!important;padding:0!important;background:none!important;border:0!important}
.woocheck-coupon__title{display:none!important}
.woocheck-coupon__form{display:flex!important;align-items:center!important;gap:8px!important;max-width:430px!important;width:100%!important}
.woocheck-coupon__form input{height:42px!important;flex:1!important;min-width:0!important;padding:0 13px!important;border:1px solid var(--wcx-line)!important;border-radius:10px!important;background:#fff!important;box-shadow:none!important;font-size:13px!important}
.woocheck-coupon__form .button{min-height:42px!important;padding:0 15px!important}
.woocheck-update-cart{margin-inline-start:auto!important;min-height:42px!important;background:#fff!important;color:var(--wcx-text-2)!important;border:1px solid var(--wcx-line)!important}
.woocheck-cart-summary{position:sticky!important;top:20px!important;min-width:0!important}
.woocheck-totals{padding:20px!important;border:1px solid var(--wcx-line)!important;border-radius:var(--wcx-radius)!important;background:#fff!important;box-shadow:var(--wcx-shadow)!important}
.woocheck-totals__heading{padding:0 0 14px!important;margin:0 0 6px!important;border-bottom:1px solid var(--wcx-line)!important}
.woocheck-totals__heading h2{margin:0!important;font-size:16px!important;font-weight:900!important}.woocheck-totals__heading p{margin:2px 0 0!important;font-size:11px!important;color:var(--wcx-muted)!important}
.woocheck-totals table{width:100%!important;border:0!important;margin:0!important;background:none!important}
.woocheck-totals table th,.woocheck-totals table td{padding:11px 0!important;border:0!important;border-bottom:1px solid #f0f1f3!important;background:none!important;font-size:12.5px!important}
.woocheck-totals table th{text-align:right!important;color:var(--wcx-muted)!important;font-weight:650!important}.woocheck-totals table td{text-align:left!important;color:var(--wcx-text)!important;font-weight:800!important}
.woocheck-totals .order-total th,.woocheck-totals .order-total td{padding-top:16px!important;border-bottom:0!important;color:var(--wcx-text)!important;font-size:15px!important;font-weight:900!important}
.woocheck-proceed{margin-top:16px!important}.woocheck-proceed .checkout-button{width:100%!important;min-height:48px!important}
.woocheck-totals__microcopy{display:flex!important;justify-content:space-between!important;gap:8px!important;margin-top:12px!important;color:var(--wcx-subtle)!important;font-size:10.5px!important}
.woocheck-cart-trust{display:none!important}
.woocheck-extra-collaterals{margin-top:18px!important}

/* ---------- CHECKOUT ---------- */
.wcx-checkout-page{width:100%;max-width:1120px;margin:0 auto}
.wcx-checkout-intro{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin:0 0 20px}
.wcx-kicker{display:inline-block;margin-bottom:5px;color:var(--wcx-brand);font-size:11px;font-weight:850}
.wcx-checkout-intro h1{margin:0;font-size:27px;line-height:1.25;font-weight:950;color:var(--wcx-text)}
.wcx-checkout-intro p{margin:6px 0 0;color:var(--wcx-muted);font-size:13px}
.wcx-text-link{color:var(--wcx-text-2)!important;font-size:12.5px;font-weight:750}
.wcx-checkout-form{width:100%;margin:0}
.wcx-checkout-stepper{display:grid!important;grid-template-columns:repeat(3,1fr)!important;gap:0!important;margin:0 0 18px!important;padding:5px!important;border:1px solid var(--wcx-line)!important;border-radius:13px!important;background:#fff!important;box-shadow:none!important}
.wcx-checkout-stepper button{position:relative!important;min-width:0!important;min-height:52px!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:9px!important;padding:7px 10px!important;border:0!important;border-radius:9px!important;background:transparent!important;color:var(--wcx-muted)!important;box-shadow:none!important;cursor:pointer!important}
.wcx-checkout-stepper button+button:before{content:"";position:absolute;right:-1px;top:13px;bottom:13px;width:1px;background:#eef0f2}
.wcx-checkout-stepper i{width:27px;height:27px;display:grid;place-items:center;border-radius:50%;background:#f2f4f7;color:#667085;font-style:normal;font-size:11px;font-weight:850}
.wcx-checkout-stepper span{text-align:right}.wcx-checkout-stepper b{display:block;font-size:12.5px;font-weight:850}.wcx-checkout-stepper small{display:block;margin-top:1px;font-size:10px;color:var(--wcx-subtle)}
.wcx-checkout-stepper button.is-active{background:var(--wcx-brand-50)!important;color:var(--wcx-brand)!important}.wcx-checkout-stepper button.is-active i{background:var(--wcx-brand);color:#fff}.wcx-checkout-stepper button.is-complete i{background:var(--wcx-success-bg);color:var(--wcx-success)}
.wcx-checkout-grid{display:grid;grid-template-columns:minmax(0,1fr) var(--wcx-side);gap:20px;align-items:start}
.wcx-checkout-main{min-width:0}
.wcx-panel{margin:0 0 16px;padding:22px;border:1px solid var(--wcx-line)!important;border-radius:var(--wcx-radius)!important;background:#fff!important;box-shadow:var(--wcx-shadow)!important}
.wcx-panel-head{display:flex;align-items:center;gap:12px;margin:0 0 20px;padding:0 0 16px;border-bottom:1px solid var(--wcx-line)}
.wcx-panel-index{width:31px;height:31px;display:grid;place-items:center;border-radius:10px;background:var(--wcx-brand-50);color:var(--wcx-brand);font-size:12px;font-weight:900;flex:0 0 auto}
.wcx-panel-head h2{margin:0!important;font-size:17px!important;line-height:1.35!important;font-weight:900!important;color:var(--wcx-text)!important}.wcx-panel-head p{margin:3px 0 0!important;color:var(--wcx-muted)!important;font-size:11.5px!important}
.wcx-fields .woocommerce-billing-fields>h3,.wcx-fields .woocommerce-shipping-fields>h3{display:none!important}
.wcx-fields .woocommerce-billing-fields__field-wrapper,.wcx-fields .woocommerce-shipping-fields__field-wrapper{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:14px!important}
.wcx-fields .form-row{width:auto!important;float:none!important;margin:0!important;padding:0!important;clear:none!important}
.wcx-fields .form-row-wide{grid-column:1/-1!important}
.wcx-fields label{display:block!important;margin:0 0 6px!important;color:var(--wcx-text-2)!important;font-size:11.5px!important;font-weight:800!important;line-height:1.4!important}
.wcx-fields .required{color:var(--wcx-danger)!important}
.wcx-fields input.input-text,.wcx-fields textarea,.wcx-fields select,.wcx-fields .select2-selection{width:100%!important;min-height:46px!important;margin:0!important;padding:0 12px!important;border:1px solid var(--wcx-line-strong)!important;border-radius:10px!important;background:#fff!important;color:var(--wcx-text)!important;box-shadow:none!important;font-size:13px!important;outline:0!important;transition:.16s ease!important}
.wcx-fields textarea{min-height:90px!important;padding:11px 12px!important;resize:vertical!important}
.wcx-fields input:focus,.wcx-fields textarea:focus,.wcx-fields select:focus,.wcx-fields .select2-container--open .select2-selection{border-color:var(--wcx-brand)!important;box-shadow:0 0 0 3px rgba(99,91,255,.09)!important}
.wcx-fields .select2-container{width:100%!important}.wcx-fields .select2-selection__rendered{line-height:44px!important;padding:0!important}.wcx-fields .select2-selection__arrow{height:44px!important}
.wcx-step-actions{display:flex;align-items:center;justify-content:flex-end;gap:9px;margin-top:20px;padding-top:16px;border-top:1px solid var(--wcx-line)}
.wcx-step-actions .button{min-width:150px!important}.wcx-step-actions .is-secondary{min-width:100px!important}

/* Step mode: one main panel at a time, sidebar always stable */
.wcx-checkout-form.is-steps .woocheck-checkout-step{display:none!important}
.wcx-checkout-form.is-steps .woocheck-checkout-step.is-step-active{display:block!important}
.wcx-checkout-form.is-single .woocheck-checkout-step{display:block!important}

/* Order digest */
.wcx-order-sidebar{position:sticky;top:18px;min-width:0}
.wcx-order-card{padding:18px;border:1px solid var(--wcx-line);border-radius:var(--wcx-radius);background:#fff;box-shadow:var(--wcx-shadow)}
.wcx-order-card-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-bottom:13px;border-bottom:1px solid var(--wcx-line)}
.wcx-order-card-head strong{display:block;font-size:15px;font-weight:900;color:var(--wcx-text)}.wcx-order-card-head small{display:block;margin-top:2px;color:var(--wcx-muted);font-size:10.5px}.wcx-order-card-head a{color:var(--wcx-brand)!important;font-size:11.5px;font-weight:800}
.wcx-order-items{padding:5px 0}
.wcx-order-item{display:grid;grid-template-columns:48px minmax(0,1fr) auto;gap:10px;align-items:center;padding:11px 0;border-bottom:1px solid #f0f1f3}
.wcx-order-item-thumb{width:48px;height:48px;position:relative;border:1px solid #eef0f3;border-radius:10px;background:#f8f9fa;overflow:visible}.wcx-order-item-thumb img{width:100%!important;height:100%!important;object-fit:cover!important;border-radius:9px!important}.wcx-order-item-thumb span{position:absolute;top:-6px;left:-6px;min-width:19px;height:19px;display:grid;place-items:center;padding:0 5px;border-radius:999px;background:#344054;color:#fff;font-size:9px;font-weight:850}
.wcx-order-item-copy{min-width:0}.wcx-order-item-copy strong{display:block;color:var(--wcx-text-2);font-size:11.5px;line-height:1.55;font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.wcx-order-item-copy small{display:block;margin-top:2px;color:var(--wcx-subtle);font-size:9.5px}.wcx-order-item>b{font-size:10.5px;color:var(--wcx-text);white-space:nowrap}
.wcx-order-total{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 0 5px}.wcx-order-total span{color:var(--wcx-muted);font-size:12px}.wcx-order-total strong{font-size:15px;font-weight:950;color:var(--wcx-text)}
.wcx-order-note{display:flex;align-items:center;gap:9px;margin-top:12px;padding:11px;border-radius:11px;background:var(--wcx-success-bg);color:var(--wcx-success)}.wcx-order-note svg{width:20px;height:20px;flex:0 0 auto}.wcx-order-note strong{display:block;font-size:11.5px}.wcx-order-note small{display:block;margin-top:1px;color:#477364;font-size:9.5px}

/* Payment block lives in main panel. Hide the duplicate review table in step mode; sidebar is the visual review. */
.wcx-checkout-form.is-steps .wcx-payment-panel .woocommerce-checkout-review-order-table{display:none!important}
.wcx-payment-panel #payment{margin:0!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important}
.wcx-payment-panel #payment ul.payment_methods{margin:0!important;padding:0!important;border:0!important;list-style:none!important}
.wcx-payment-panel #payment ul.payment_methods>li{margin:0 0 10px!important;padding:0!important;border:1px solid var(--wcx-line)!important;border-radius:12px!important;background:#fff!important;overflow:hidden!important;transition:.16s ease}
.wcx-payment-panel #payment ul.payment_methods>li.is-selected{border-color:#b9b4ff!important;background:#fbfaff!important;box-shadow:0 0 0 3px rgba(99,91,255,.06)!important}
.wcx-payment-panel #payment ul.payment_methods>li>label{display:flex!important;align-items:center!important;gap:10px!important;min-height:52px!important;margin:0!important;padding:0 14px!important;color:var(--wcx-text)!important;font-size:12.5px!important;font-weight:850!important;cursor:pointer!important}
.wcx-payment-panel #payment input[type=radio]{accent-color:var(--wcx-brand);width:16px;height:16px}
.wcx-payment-panel #payment .payment_box{margin:0!important;padding:0 14px 14px!important;background:transparent!important;color:var(--wcx-muted)!important;font-size:11.5px!important;line-height:1.8!important}.wcx-payment-panel #payment .payment_box:before{display:none!important}
.wcx-payment-panel #payment .place-order{margin:16px 0 0!important;padding:16px 0 0!important;border-top:1px solid var(--wcx-line)!important;background:transparent!important}.wcx-payment-panel #payment .woocommerce-privacy-policy-text{color:var(--wcx-muted)!important;font-size:10.5px!important;line-height:1.8!important}.wcx-payment-panel #payment #place_order{width:100%!important;min-height:49px!important;margin-top:12px!important;font-size:14px!important}
.wcx-checkout-form.is-single .wcx-payment-panel .woocommerce-checkout-review-order-table{width:100%!important;margin:0 0 18px!important;border:0!important}.wcx-checkout-form.is-single .wcx-payment-panel .woocommerce-checkout-review-order-table th,.wcx-checkout-form.is-single .wcx-payment-panel .woocommerce-checkout-review-order-table td{padding:10px 0!important;border-bottom:1px solid #f0f1f3!important;font-size:12px!important}

/* ---------- THANK YOU ---------- */
.woocheck-order-received.has-custom-thankyou{width:100%}
.woocheck-thankyou{width:min(920px,100%)!important;max-width:920px!important;margin:0 auto!important;display:grid!important;grid-template-columns:repeat(12,minmax(0,1fr))!important;gap:16px!important}
.woocheck-thankyou-section{grid-column:1/-1!important;margin:0!important;padding:20px!important;border:1px solid var(--wcx-line)!important;border-radius:var(--wcx-radius)!important;background:#fff!important;color:var(--wcx-text)!important;box-shadow:var(--wcx-shadow)!important}
.woocheck-thankyou-success{padding:32px 24px!important;text-align:center!important;border-color:#cdeedf!important;background:linear-gradient(180deg,#fbfffd,#fff)!important}
.woocheck-thankyou-success .woocheck-success-mark{width:54px;height:54px;margin:0 auto 12px;color:var(--wcx-success)}
.woocheck-thankyou-success .woocheck-success-mark svg{width:100%;height:100%}.woocheck-thankyou-success .woocheck-success-mark circle{fill:var(--wcx-success-bg);stroke:var(--wcx-success);stroke-width:2}.woocheck-thankyou-success .woocheck-success-mark path{fill:none;stroke:var(--wcx-success);stroke-width:3;stroke-linecap:round;stroke-linejoin:round}
.woocheck-thankyou-success h2{margin:0!important;font-size:25px!important;line-height:1.35!important;font-weight:950!important}.woocheck-thankyou-success p{margin:7px 0 0!important;color:var(--wcx-muted)!important;font-size:12.5px!important}
.woocheck-section-heading{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:14px!important;margin-bottom:16px!important}.woocheck-section-heading span{display:block;color:var(--wcx-brand);font-size:10.5px;font-weight:850}.woocheck-section-heading h3{margin:2px 0 0!important;font-size:17px!important;font-weight:900!important}.woocheck-order-number-pill{display:flex;align-items:center;gap:7px;padding:6px 8px;border:1px solid var(--wcx-line);border-radius:10px;background:#fafafa}.woocheck-order-number-pill b{font-size:11px}.woocheck-copy-order{border:0;background:transparent;color:var(--wcx-brand);font-size:10px;font-weight:800;cursor:pointer}
.woocheck-order-facts{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:8px!important;margin-bottom:16px!important}.woocheck-order-fact{min-width:0;padding:11px!important;border:1px solid #edf0f2!important;border-radius:10px!important;background:#fafbfc!important}.woocheck-order-fact small{display:block;color:var(--wcx-subtle);font-size:9.5px}.woocheck-order-fact strong{display:block;margin-top:3px;color:var(--wcx-text);font-size:11px;font-weight:850;word-break:break-word}
.woocheck-order-timeline{display:grid!important;grid-template-columns:repeat(3,1fr)!important;gap:8px!important;margin:0 0 16px!important}.woocheck-order-timeline>div{display:flex!important;gap:9px!important;padding:10px!important;border:1px solid var(--wcx-line)!important;border-radius:10px!important;background:#fff!important}.woocheck-order-timeline i{width:25px;height:25px;display:grid;place-items:center;flex:0 0 auto;border-radius:50%;background:#f2f4f7;color:var(--wcx-muted);font-style:normal;font-size:10px;font-weight:850}.woocheck-order-timeline .is-complete i{background:var(--wcx-success-bg);color:var(--wcx-success)}.woocheck-order-timeline strong{display:block;font-size:10.5px}.woocheck-order-timeline small{display:block;margin-top:2px;color:var(--wcx-subtle);font-size:9px;line-height:1.55}
.woocheck-order-products{border:1px solid var(--wcx-line)!important;border-radius:12px!important;overflow:hidden!important}.woocheck-order-product{display:grid!important;grid-template-columns:54px minmax(0,1fr) auto!important;align-items:center!important;gap:11px!important;padding:11px 13px!important;border-bottom:1px solid #eef0f2!important}.woocheck-order-product:last-child{border-bottom:0!important}.woocheck-order-product img{width:54px!important;height:54px!important;object-fit:cover!important;border-radius:9px!important;background:#f7f8fa}.woocheck-order-product strong{display:block;font-size:11.5px}.woocheck-order-product small{display:block;margin-top:2px;color:var(--wcx-subtle);font-size:9.5px}.woocheck-order-product>span{font-size:11px;font-weight:850}
.woocheck-order-actions{display:flex!important;gap:8px!important;margin-top:14px!important}.woocheck-order-actions .button{min-height:40px!important;font-size:12px!important}
.woocheck-thankyou-recommendations h3,.woocheck-thankyou-upsell h3{margin:0 0 14px!important;font-size:16px!important}.woocheck-product-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:10px!important}.woocheck-product-card{border:1px solid var(--wcx-line)!important;border-radius:12px!important;overflow:hidden!important;background:#fff!important}.woocheck-product-card a{display:block!important;color:var(--wcx-text)!important}.woocheck-product-card img{display:block!important;width:100%!important;aspect-ratio:1/1!important;object-fit:cover!important;background:#f7f8fa!important}.woocheck-product-card strong{display:block;padding:10px 10px 0;font-size:10.5px;line-height:1.6}.woocheck-product-card span{display:block;padding:5px 10px 11px;color:var(--wcx-brand);font-size:10.5px;font-weight:850}
.wcx-failed-order{width:min(680px,100%);margin:0 auto;padding:28px;border:1px solid #f2cbc7;border-radius:16px;background:#fff;text-align:center}.wcx-failed-order h1{margin:0 0 8px;font-size:22px}.wcx-failed-order p{margin:0;color:var(--wcx-muted);font-size:13px}.wcx-failed-actions{display:flex;justify-content:center;gap:9px;margin-top:18px}

/* Mobile action bar */
.woocheck-mobile-action-bar{display:none}

@media (max-width:980px){
  :root{--wcx-shell:100%;--wcx-side:320px}
  .woocheck-cart-layout,.wcx-checkout-grid{grid-template-columns:minmax(0,1fr) 320px!important}
  .woocheck-app-main{width:min(100% - 28px,1000px)}
  .woocheck-cart-line{grid-template-columns:76px minmax(0,1fr)!important}.woocheck-cart-line__media,.woocheck-cart-line__media>a{width:76px;height:76px}
  .woocheck-order-facts{grid-template-columns:repeat(3,minmax(0,1fr))!important}
}

@media (max-width:780px){
  body.woocheck-takeover{font-size:14px!important;padding-bottom:76px!important}
  .woocheck-app-header{height:56px}.woocheck-app-header__inner{width:calc(100% - 28px)}.woocheck-app-brand strong{font-size:14px}.woocheck-header-action{height:34px;font-size:11px}
  .woocheck-app-main{width:calc(100% - 24px);padding:22px 0 28px}.woocheck-app-footer{display:none}
  #woocheck-app .woocheck-page-heading,.wcx-checkout-intro{align-items:flex-start;margin-bottom:16px}#woocheck-app .woocheck-page-heading h1,.wcx-checkout-intro h1{font-size:22px!important}.wcx-checkout-intro p,#woocheck-app .woocheck-page-heading p{font-size:11.5px!important}.wcx-text-link,.woocheck-continue-shopping{font-size:11px}
  .woocheck-cart-layout,.wcx-checkout-grid{display:block!important}.woocheck-cart-summary,.wcx-order-sidebar{position:static!important;margin-top:14px!important}
  .woocheck-cart-line{grid-template-columns:68px minmax(0,1fr)!important;gap:12px!important;padding:14px!important;min-height:0!important}.woocheck-cart-line__media,.woocheck-cart-line__media>a{width:68px;height:68px}.woocheck-stock-badge{display:none!important}.woocheck-cart-line__identity{display:block!important}.woocheck-cart-line__unit{margin-top:5px;text-align:right}.woocheck-cart-line__unit small{display:none}.woocheck-cart-line__controls{flex-wrap:wrap;gap:10px!important}.woocheck-cart-line__subtotal{margin-inline-start:auto;min-width:0}.woocheck-cart-line__subtotal small{display:none}.woocheck-cart-actions{display:block!important;padding:14px!important}.woocheck-coupon{display:block!important}.woocheck-coupon__form{max-width:none!important}.woocheck-update-cart{width:100%!important;margin-top:10px!important}
  .wcx-checkout-stepper{margin-bottom:12px!important}.wcx-checkout-stepper button{min-height:46px!important;gap:5px!important;padding:5px!important}.wcx-checkout-stepper i{width:24px;height:24px}.wcx-checkout-stepper small{display:none}.wcx-checkout-stepper b{font-size:11px}
  .wcx-panel{padding:16px!important;border-radius:14px!important}.wcx-panel-head{margin-bottom:16px;padding-bottom:13px}.wcx-panel-index{width:28px;height:28px}.wcx-panel-head h2{font-size:15px!important}.wcx-panel-head p{font-size:10.5px!important}.wcx-fields .woocommerce-billing-fields__field-wrapper,.wcx-fields .woocommerce-shipping-fields__field-wrapper{grid-template-columns:1fr!important;gap:11px!important}.wcx-fields input.input-text,.wcx-fields textarea,.wcx-fields select,.wcx-fields .select2-selection{min-height:44px!important}.wcx-step-actions{justify-content:stretch}.wcx-step-actions .button{flex:1;min-width:0!important}
  .wcx-order-sidebar{margin-top:12px!important}.wcx-order-card{padding:14px}.wcx-order-note{display:none}.wcx-order-item{grid-template-columns:42px minmax(0,1fr) auto}.wcx-order-item-thumb{width:42px;height:42px}
  .woocheck-thankyou{display:block!important}.woocheck-thankyou-section{margin-bottom:12px!important;padding:16px!important}.woocheck-thankyou-success{padding:24px 16px!important}.woocheck-thankyou-success h2{font-size:21px!important}.woocheck-order-facts{grid-template-columns:repeat(2,minmax(0,1fr))!important}.woocheck-order-timeline{grid-template-columns:1fr!important}.woocheck-product-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .woocheck-mobile-action-bar{position:fixed!important;right:0!important;left:0!important;bottom:0!important;z-index:9999!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;padding:10px 12px calc(10px + env(safe-area-inset-bottom))!important;border-top:1px solid var(--wcx-line)!important;background:rgba(255,255,255,.97)!important;backdrop-filter:blur(12px)!important;box-shadow:0 -8px 24px rgba(16,24,40,.08)!important}.woocheck-mobile-action-bar small{display:block;color:var(--wcx-muted);font-size:9.5px}.woocheck-mobile-action-bar strong{display:block;margin-top:1px;font-size:13px}.woocheck-mobile-action-bar .button{min-width:140px!important;min-height:44px!important}
}

@media (max-width:430px){
  .woocheck-app-main{width:calc(100% - 20px)}
  .woocheck-cart-line{grid-template-columns:58px minmax(0,1fr)!important}.woocheck-cart-line__media,.woocheck-cart-line__media>a{width:58px;height:58px}.woocheck-cart-line__title h2{font-size:12.5px!important}.woocheck-cart-quantity{width:104px!important;grid-template-columns:33px 1fr 33px!important}.woocheck-cart-quantity button{width:33px!important}
  .wcx-checkout-intro p{max-width:250px}.wcx-checkout-stepper button span{display:block}.wcx-order-item>b{font-size:9.5px}
  .woocheck-order-facts{grid-template-columns:1fr!important}.woocheck-order-product{grid-template-columns:46px minmax(0,1fr)!important}.woocheck-order-product>span{grid-column:2}.woocheck-product-grid{grid-template-columns:1fr 1fr!important}
}

/* Final accessibility floor: later source order intentionally wins. */
#woocheck-app :where(.woocheck-stock-badge,.woocheck-cart-line__meta,.woocheck-cart-line__unit small,.woocheck-cart-line__subtotal small,.woocheck-totals__heading p,.woocheck-totals__microcopy,.wcx-kicker,.wcx-checkout-stepper b,.wcx-checkout-stepper small,.wcx-panel-head p,.wcx-fields label,.wcx-order-card-head small,.wcx-order-card-head a,.wcx-order-item-copy strong,.wcx-order-item-copy small,.wcx-order-item>b,.wcx-order-note strong,.wcx-order-note small,.wcx-payment-panel #payment .payment_box,.wcx-payment-panel #payment .woocommerce-privacy-policy-text,.woocheck-section-heading span,.woocheck-order-number-pill b,.woocheck-copy-order,.woocheck-order-fact small,.woocheck-order-fact strong,.woocheck-order-timeline strong,.woocheck-order-timeline small,.woocheck-order-product strong,.woocheck-order-product small,.woocheck-order-product>span,.woocheck-product-card strong,.woocheck-product-card span,.woocheck-mobile-action-bar small){font-size:12px!important}

/* WooCheck 3.10 offer presentation (loaded after the shared frontend layer). */
body.woocheck-takeover #woocheck-app .woocheck-offer-style-highlight{background:var(--woocheck-offer-bg,#fff7ed)!important;border-color:color-mix(in srgb,var(--woocheck-offer-accent,#f97316) 32%,#e4e7ec)!important}body.woocheck-takeover #woocheck-app .woocheck-offer-style-minimal{background:#fff!important;box-shadow:none!important}body.woocheck-takeover #woocheck-app .woocheck-offer-style-premium{background:linear-gradient(135deg,var(--woocheck-offer-bg,#fffbeb),#fff)!important;border-color:color-mix(in srgb,var(--woocheck-offer-accent,#a16207) 38%,#e4e7ec)!important;box-shadow:0 16px 38px color-mix(in srgb,var(--woocheck-offer-accent,#a16207) 12%,transparent)!important}body.woocheck-takeover #woocheck-app .woocheck-offer-countdown,body.woocheck-takeover #woocheck-app .woocheck-offer-stock{display:inline-flex!important;width:max-content;padding:5px 8px!important;border:0!important;border-radius:999px!important;font-size:10px!important;font-weight:850!important}body.woocheck-takeover #woocheck-app .woocheck-offer-countdown{background:#fff3e8!important;color:#b54708!important}body.woocheck-takeover #woocheck-app .woocheck-offer-stock{background:#fff1f3!important;color:#c01048!important}
