.product-gallery-thumbs{display:flex;flex-wrap:wrap;gap:.75rem;margin-top:1rem}
.product-gallery-thumb{background:#fff;border:2px solid transparent;border-radius:12px;height:86px;overflow:hidden;padding:5px;transition:.2s;width:86px}
.product-gallery-thumb:hover,.product-gallery-thumb.is-active{border-color:var(--orange);box-shadow:0 8px 24px rgba(23,34,56,.1)}
.product-gallery-thumb img{height:100%;object-fit:contain;width:100%}

/* Shared cart and checkout header. */
.commerce-hero{background:radial-gradient(circle at 82% 10%,rgba(230,65,134,.14),transparent 28%),linear-gradient(120deg,#fff 0%,#fff7f1 52%,#eef6f8 100%);padding-bottom:0}
.commerce-hero-row{align-items:center;display:flex;gap:2rem;justify-content:space-between;padding-bottom:2.3rem}
.commerce-hero-copy{max-width:700px}
.commerce-hero h1{font-size:clamp(2.8rem,5.4vw,5.3rem)}
.commerce-hero p{font-size:1rem;margin:1rem 0 0;max-width:650px}
.commerce-reassurance{display:grid;flex:0 0 auto;gap:.7rem}
.commerce-reassurance span{align-items:center;background:rgba(255,255,255,.88);border:1px solid var(--line);border-radius:99px;box-shadow:0 8px 28px rgba(23,34,56,.06);display:flex;font-size:.77rem;gap:.6rem;padding:.7rem 1rem}
.commerce-reassurance i{color:var(--orange);font-size:1.05rem}
.commerce-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));list-style:none;margin:0;padding:0;position:relative}
.commerce-steps:before{background:var(--line);content:"";height:1px;left:0;position:absolute;right:0;top:0}
.commerce-steps li{align-items:center;border-top:3px solid transparent;display:grid;gap:0 .7rem;grid-template-columns:38px 1fr;padding:1rem 1.25rem 1.15rem;position:relative}
.commerce-steps li+li{border-left:1px solid var(--line)}
.commerce-steps li>span{align-items:center;background:#eef0f3;border-radius:50%;color:#7c8492;display:flex;grid-row:1/3;height:38px;justify-content:center;width:38px}
.commerce-steps small{color:var(--muted);font-size:.62rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase}
.commerce-steps b{font-size:.8rem}
.commerce-steps .is-active{border-top-color:var(--orange)}
.commerce-steps .is-active>span{background:var(--grad);box-shadow:0 8px 22px rgba(242,103,34,.25);color:#fff}
.commerce-steps .is-done>span{background:#e5f7ee;color:#128451}
.commerce-page{padding-top:58px}
.commerce-page .entry-content{max-width:none}

/* Classic cart: products left, total right. */
.woocommerce-cart .cart-page .entry-content>.woocommerce{align-items:start;display:grid!important;gap:2rem;grid-template-columns:minmax(0,1fr) minmax(340px,38%)}
.woocommerce-cart .cart-page .woocommerce-notices-wrapper,.woocommerce-cart .cart-page .woocommerce-message,.woocommerce-cart .cart-page .woocommerce-info,.woocommerce-cart .cart-page .woocommerce-error,.woocommerce-cart .cart-page .cart-empty,.woocommerce-cart .cart-page .return-to-shop{grid-column:1/-1}
.woocommerce-cart .woocommerce-cart-form{float:none!important;margin:0!important;min-width:0;width:100%!important}
.woocommerce-cart .cart-collaterals{clear:none!important;display:block!important;float:none!important;margin:0!important;min-width:0;position:sticky;top:105px;width:100%!important}
.woocommerce-cart .cart-collaterals .cart_totals{float:none!important;margin:0!important;padding:1.6rem;width:100%!important}
.woocommerce-cart .cart-collaterals .cart_totals h2{border-bottom:1px solid var(--line);font-size:1.55rem;margin:0 0 .65rem;padding-bottom:1rem}
.woocommerce-cart table.cart{margin:0!important}
.woocommerce-cart table.cart td.product-thumbnail{width:112px}
.woocommerce-cart table.cart img{background:linear-gradient(145deg,#253149,#101827);border-radius:12px;height:88px;object-fit:contain;padding:.4rem;width:88px}
.woocommerce-cart table.cart td.product-name a{font-size:.98rem}
.woocommerce-cart table.cart .product-remove a{align-items:center;background:#fff3ef;border-radius:50%;color:#b42318!important;display:inline-flex;height:30px;justify-content:center;line-height:1;width:30px}
.woocommerce-cart table.cart td.actions{background:#fbfaf8;padding:1rem}
.woocommerce-cart table.cart td.actions .coupon{display:flex;gap:.55rem}
.woocommerce-cart table.cart td.actions .coupon .input-text{border:1px solid var(--line);border-radius:9px;min-height:46px;min-width:170px;padding:.65rem .8rem}
.woocommerce-cart .cart_totals table.shop_table{border:0;border-radius:0;box-shadow:none;margin-bottom:1rem}
.woocommerce-cart .cart_totals table.shop_table th,.woocommerce-cart .cart_totals table.shop_table td{background:transparent;padding:.85rem 0}
.woocommerce-cart .cart_totals table.shop_table td{text-align:right}
.woocommerce-cart .cart_totals .order-total th,.woocommerce-cart .cart_totals .order-total td{border-top:2px solid var(--ink);font-size:1.05rem}

/* Classic checkout: customer fields left, order and payment right. */
.woocommerce-checkout form.checkout{align-items:start;display:grid!important;gap:0 2rem;grid-template-columns:minmax(0,1fr) minmax(340px,38%)}
.woocommerce-checkout form.checkout>.col2-set{background:#fff;border:1px solid var(--line);border-radius:20px;box-shadow:0 18px 55px rgba(23,34,56,.08);float:none!important;grid-column:1;grid-row:1/3;margin:0!important;min-width:0;padding:1.75rem;width:100%!important}
.woocommerce-checkout #order_review_heading,.woocommerce-checkout #order_review{float:none!important;grid-column:2;margin-left:0!important;margin-right:0!important;min-width:0;width:100%!important}
.woocommerce-checkout #order_review_heading{align-self:end;font-size:1.55rem;grid-row:1;margin-bottom:-3.7rem!important;padding:1.55rem 1.6rem 0;position:relative;z-index:2}
.woocommerce-checkout #order_review{background:#fff!important;border:1px solid var(--line)!important;border-radius:20px!important;box-shadow:0 18px 55px rgba(23,34,56,.1)!important;grid-row:2;padding:4.4rem 1.6rem 1.6rem!important;position:sticky;top:105px}
.woocommerce-checkout .col2-set .col-1,.woocommerce-checkout .col2-set .col-2{float:none!important;width:100%!important}
.woocommerce-checkout form.checkout>.col2-set .woocommerce-billing-fields,.woocommerce-checkout form.checkout>.col2-set .woocommerce-shipping-fields,.woocommerce-checkout form.checkout>.col2-set .woocommerce-additional-fields{background:transparent;border:0;border-radius:0;box-shadow:none;padding:0}
.woocommerce-checkout form.checkout>.col2-set .woocommerce-shipping-fields,.woocommerce-checkout form.checkout>.col2-set .woocommerce-additional-fields{border-top:1px solid var(--line);margin-top:1.5rem;padding-top:1.5rem}
.woocommerce-checkout h3{font-size:1.45rem}
.woocommerce-checkout .form-row{margin-bottom:.85rem}
.woocommerce-checkout .form-row label{color:var(--ink);font-size:.76rem;font-weight:800;margin-bottom:.35rem}
.woocommerce-checkout .select2-container .select2-selection--single{border:1px solid var(--line);border-radius:9px;height:48px}
.woocommerce-checkout .select2-container .select2-selection--single .select2-selection__rendered{line-height:46px}
.woocommerce-checkout .select2-container .select2-selection--single .select2-selection__arrow{height:46px}
.woocommerce-checkout #order_review table.shop_table{border:0;border-radius:0;box-shadow:none}
.woocommerce-checkout #order_review table.shop_table th,.woocommerce-checkout #order_review table.shop_table td{background:transparent;padding-left:0;padding-right:0}
.woocommerce-checkout #payment{background:#f7f5f1;border-radius:14px}
.woocommerce-checkout #payment ul.payment_methods{border-color:var(--line)}
.woocommerce-checkout #payment div.payment_box{background:#fff;border-radius:10px;color:var(--muted)}
.woocommerce-checkout #payment div.payment_box:before{border-bottom-color:#fff}
.woocommerce-checkout #place_order{font-size:1rem;margin-top:.75rem;width:100%}
.woocommerce-checkout-review-order-table .order-total th,.woocommerce-checkout-review-order-table .order-total td{font-size:1.05rem}
.sv-delivery-checkout{box-shadow:none}
.woocommerce-form-coupon-toggle{margin-bottom:1.25rem}

/* Cart and Checkout Blocks use the same protected two-column flow. */
.wp-block-woocommerce-cart .wc-block-components-sidebar-layout,.wp-block-woocommerce-checkout .wc-block-components-sidebar-layout{align-items:start;display:grid!important;gap:2rem!important;grid-template-columns:minmax(0,1fr) minmax(340px,38%)!important}
.wp-block-woocommerce-cart .wc-block-components-main,.wp-block-woocommerce-cart .wc-block-components-sidebar,.wp-block-woocommerce-checkout .wc-block-components-main,.wp-block-woocommerce-checkout .wc-block-components-sidebar{background:#fff;border:1px solid var(--line);border-radius:20px;box-shadow:0 18px 55px rgba(23,34,56,.08);float:none!important;margin:0!important;max-width:none!important;min-width:0;padding:1.5rem!important;width:100%!important}
.wp-block-woocommerce-cart .wc-block-components-sidebar,.wp-block-woocommerce-checkout .wc-block-components-sidebar{position:sticky;top:105px}
.wc-block-components-order-summary,.wc-block-cart-items,.wc-block-checkout__order-notes,.wc-block-checkout__contact-fields,.wc-block-checkout__shipping-fields,.wc-block-checkout__billing-fields{background:#fff;border:1px solid var(--line);border-radius:16px;box-shadow:0 16px 45px rgba(23,34,56,.05);padding:1rem}

@media(max-width:991px){
 .commerce-hero-row{align-items:flex-start;flex-direction:column}
 .commerce-reassurance{display:flex;flex-wrap:wrap}
 .woocommerce-cart .cart-page .entry-content>.woocommerce,.woocommerce-checkout form.checkout,.wp-block-woocommerce-cart .wc-block-components-sidebar-layout,.wp-block-woocommerce-checkout .wc-block-components-sidebar-layout{display:block!important}
 .woocommerce-cart .cart-collaterals,.woocommerce-checkout #order_review,.wp-block-woocommerce-cart .wc-block-components-sidebar,.wp-block-woocommerce-checkout .wc-block-components-sidebar{margin-top:2rem!important;position:static}
 .woocommerce-checkout #order_review_heading{margin:2rem 0 -3.7rem!important}
}

@media(max-width:767px){
 .commerce-hero{padding-left:16px;padding-right:16px}
 .commerce-hero-row{gap:1.2rem;padding-bottom:1.3rem}
 .commerce-hero h1{margin-bottom:0}
 .commerce-reassurance span{font-size:.7rem;padding:.6rem .75rem}
 .commerce-steps{margin-left:-16px;margin-right:-16px;overflow-x:auto}
 .commerce-steps li{grid-template-columns:32px minmax(94px,1fr);min-width:155px;padding:.8rem}
 .commerce-steps li>span{height:32px;width:32px}
 .commerce-page{padding-top:32px}
 .woocommerce-cart table.cart td.actions .coupon{align-items:stretch;display:grid;grid-template-columns:1fr}
 .woocommerce-cart table.cart td.actions .coupon .input-text,.woocommerce-cart table.cart td.actions .coupon button,.woocommerce-cart table.cart td.actions>button{margin:.3rem 0 0!important;width:100%!important}
}

@media(max-width:575px){
 .product-gallery-thumb{height:68px;width:68px}
 .commerce-hero .eyebrow,.commerce-hero-copy>p{display:none}
 .commerce-hero h1{font-size:2.25rem}
 .woocommerce-checkout form.checkout>.col2-set,.woocommerce-checkout #order_review,.woocommerce-cart .cart-collaterals .cart_totals,.wp-block-woocommerce-cart .wc-block-components-main,.wp-block-woocommerce-cart .wc-block-components-sidebar,.wp-block-woocommerce-checkout .wc-block-components-main,.wp-block-woocommerce-checkout .wc-block-components-sidebar{padding:1rem!important}
 .woocommerce-checkout #order_review{padding-top:4.1rem!important}
}
