/* Maayan Style – Cart page + Checkout page skin (WoodMart / WooCommerce classic) */
body.woocommerce-cart .site-content,body.woocommerce-checkout .site-content{font-family:var(--msg-font)!important;color:var(--msg-ink)}
body.woocommerce-cart .site-content *,body.woocommerce-checkout .site-content *{font-family:var(--msg-font)!important;letter-spacing:normal!important}
body.woocommerce-cart .main-page-wrapper,body.woocommerce-checkout .main-page-wrapper,body.woocommerce-cart .wd-page-content,body.woocommerce-checkout .wd-page-content{background:var(--msg-bg)!important}
body.woocommerce-cart .page-title,body.woocommerce-checkout .page-title{background:var(--msg-bg)!important}

/* shared field + button language */
body.woocommerce-cart .site-content input.input-text,body.woocommerce-checkout .site-content input.input-text,body.woocommerce-checkout .site-content textarea,body.woocommerce-checkout .site-content select,body.woocommerce-cart .site-content select,#pwgc-redeem-gift-card-number{height:52px!important;border-radius:14px!important;border:1px solid #E2D3D3!important;background:#fff!important;padding:0 16px!important;font-size:15px!important;color:var(--msg-ink)!important;box-shadow:none!important;text-align:right}
body.woocommerce-checkout .site-content textarea{height:auto!important;min-height:96px;padding:14px 16px!important}
body.woocommerce-cart .site-content input.input-text:focus,body.woocommerce-checkout .site-content input.input-text:focus,body.woocommerce-checkout .site-content textarea:focus{border-color:var(--msg-ink)!important;outline:0}
body.woocommerce-checkout .site-content label{font-size:13px!important;font-weight:500!important;color:var(--msg-ink)!important;margin-bottom:6px!important;text-transform:none!important}
body.woocommerce-checkout .site-content .required{color:var(--msg-accent)!important;text-decoration:none!important}
body.woocommerce-cart .site-content .button,body.woocommerce-checkout .site-content .button,#pwgc-redeem-button{height:52px!important;min-height:0!important;padding:0 26px!important;border-radius:999px!important;font-size:15px!important;font-weight:500!important;text-transform:none!important;box-shadow:none!important;background:transparent!important;color:var(--msg-ink)!important;border:1px solid var(--msg-ink)!important;transition:background .2s,color .2s}
body.woocommerce-cart .site-content .button:hover,body.woocommerce-checkout .site-content .button:hover,#pwgc-redeem-button:hover{background:var(--msg-peach)!important}
body.woocommerce-cart .site-content .button:disabled{opacity:.45}
body.woocommerce-cart .checkout-button,body.woocommerce-checkout #place_order{width:100%!important;height:60px!important;background:var(--msg-ink)!important;color:var(--msg-bg)!important;border-color:var(--msg-ink)!important;font-size:17px!important;display:flex!important;align-items:center;justify-content:center}
body.woocommerce-cart .checkout-button:hover,body.woocommerce-checkout #place_order:hover{background:var(--msg-accent)!important;border-color:var(--msg-accent)!important}
body.woocommerce-cart .woocommerce-info,body.woocommerce-checkout .woocommerce-info,body.woocommerce-cart .woocommerce-message,body.woocommerce-checkout .woocommerce-message{background:var(--msg-peach)!important;color:var(--msg-ink)!important;border:0!important;border-radius:16px!important;padding:16px 20px!important;font-size:14px!important}
body.woocommerce-cart .woocommerce-info a,body.woocommerce-checkout .woocommerce-info a{color:var(--msg-accent)!important;font-weight:500;text-decoration:underline}
body.woocommerce-cart .woocommerce-info::before,body.woocommerce-checkout .woocommerce-info::before,body.woocommerce-cart .woocommerce-message::before{color:var(--msg-accent)!important}

/* ---------- CART PAGE ---------- */
body.woocommerce-cart .cart-content-wrapper{display:grid!important;grid-template-columns:minmax(0,1fr) 400px;gap:40px;align-items:start}
body.woocommerce-cart .cart-content-wrapper>.woocommerce-notices-wrapper{grid-column:1/-1}
body.woocommerce-cart .woocommerce-cart-form{width:auto!important;margin:0!important;float:none!important}
body.woocommerce-cart table.shop_table.cart{border:0!important;border-collapse:separate!important;border-spacing:0 12px!important;margin:-12px 0 0!important;background:none!important}
body.woocommerce-cart table.shop_table.cart thead th{border:0!important;padding:0 12px 4px!important;font-size:12px!important;font-weight:500!important;color:var(--msg-muted)!important;text-transform:none!important;background:none!important}
body.woocommerce-cart table.shop_table.cart tr.cart_item td{background:#fff!important;border:1px solid var(--msg-line)!important;border-width:1px 0!important;padding:16px 12px!important;vertical-align:middle}
body.woocommerce-cart table.shop_table.cart tr.cart_item td:first-child{border-right-width:1px!important;border-radius:0 20px 20px 0}
body.woocommerce-cart table.shop_table.cart tr.cart_item td:last-child{border-left-width:1px!important;border-radius:20px 0 0 20px}
body.woocommerce-cart td.product-thumbnail{width:96px}
body.woocommerce-cart td.product-thumbnail img{width:84px!important;height:110px!important;max-width:none!important;object-fit:cover;object-position:center 20%;border-radius:14px!important;background:var(--msg-peach)}
body.woocommerce-cart td.product-name a{font-size:16px!important;font-weight:500!important;color:var(--msg-ink)!important;line-height:1.35}
body.woocommerce-cart td.product-price,body.woocommerce-cart td.product-subtotal{font-size:15px!important;white-space:nowrap}
body.woocommerce-cart td.product-subtotal .amount{font-weight:600!important;color:var(--msg-ink)!important}
body.woocommerce-cart td.product-price del,body.woocommerce-cart td.product-price del .amount{color:#857B7D!important;font-size:13px!important}
body.woocommerce-cart td.product-price ins{text-decoration:none!important;background:none!important}
body.woocommerce-cart td.product-price ins .amount{color:var(--msg-accent)!important;font-weight:500}
body.woocommerce-cart td.product-price>span[style]{border:0!important}
body.woocommerce-cart td.product-remove{width:44px}
body.woocommerce-cart td.product-remove a.remove{width:32px!important;height:32px!important;line-height:30px!important;border-radius:999px!important;border:1px solid var(--msg-line)!important;background:var(--msg-bg)!important;color:var(--msg-muted)!important;font-size:18px!important;display:grid!important;place-items:center;font-weight:400!important}
body.woocommerce-cart td.product-remove a.remove:hover{background:var(--msg-ink)!important;color:var(--msg-bg)!important}
body.woocommerce-cart .site-content div.quantity,body.woocommerce-checkout .site-content div.quantity{display:inline-flex!important;align-items:center;height:44px!important;border:1px solid #E2D3D3!important;border-radius:999px!important;background:#fff!important;padding:0 4px!important;overflow:hidden}
body.woocommerce-cart .site-content div.quantity input.qty{width:38px!important;height:42px!important;border:0!important;background:transparent!important;padding:0!important;text-align:center;font-size:15px!important}
body.woocommerce-cart .site-content div.quantity .minus,body.woocommerce-cart .site-content div.quantity .plus{width:34px!important;height:42px!important;min-height:0!important;border:0!important;background:transparent!important;box-shadow:none!important;padding:0!important;font-size:17px!important;color:var(--msg-ink)!important}
body.woocommerce-cart .variation,body.woocommerce-checkout .variation{margin:8px 0 0!important;padding:10px 12px!important;list-style:none;background:var(--msg-bg);border-radius:12px;display:flex;flex-direction:column;gap:3px;font-size:12px!important}
body.woocommerce-cart .variation li,body.woocommerce-checkout .variation li{display:flex!important;gap:6px;flex-wrap:wrap;margin:0!important;line-height:1.45}
body.woocommerce-cart .variation .item-variation-name,body.woocommerce-checkout .variation .item-variation-name{color:var(--msg-muted)!important;font-weight:400!important}
body.woocommerce-cart .variation p,body.woocommerce-checkout .variation p{margin:0!important;font-weight:500;overflow-wrap:anywhere}

body.woocommerce-cart tr.wd-cart-action-row td{background:none!important;border:0!important;padding:8px 0 0!important}
body.woocommerce-cart .cart-actions{display:flex!important;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}
body.woocommerce-cart .wd-coupon-form{display:flex!important;gap:8px;flex:1 1 320px;max-width:460px}
body.woocommerce-cart .wd-coupon-form input.input-text{flex:1;min-width:0;border-radius:999px!important;padding:0 20px!important}
body.woocommerce-cart .wd-coupon-form .button{background:var(--msg-ink)!important;color:var(--msg-bg)!important}

body.woocommerce-cart .cart_totals{width:auto!important;float:none!important;margin:0!important;position:sticky;top:110px}
body.woocommerce-cart .cart-totals-inner{background:#fff!important;border:1px solid var(--msg-line)!important;border-radius:24px!important;padding:28px!important;box-shadow:0 20px 50px rgba(35,31,32,.06)}
body.woocommerce-cart .cart-totals-inner h2{font-size:22px!important;font-weight:500!important;text-transform:none!important;margin:0 0 18px!important;color:var(--msg-ink)!important}
body.woocommerce-cart .cart-totals-inner table.shop_table,body.woocommerce-checkout table.woocommerce-checkout-review-order-table{border:0!important;margin:0 0 20px!important;background:none!important}
body.woocommerce-cart .cart-totals-inner table th,body.woocommerce-cart .cart-totals-inner table td{border:0!important;border-bottom:1px solid var(--msg-line)!important;padding:14px 0!important;font-size:14px!important;font-weight:400!important;color:var(--msg-muted)!important;background:none!important;text-transform:none!important;vertical-align:top}
body.woocommerce-cart .cart-totals-inner table td{color:var(--msg-ink)!important;text-align:left}
body.woocommerce-cart .cart-totals-inner tr.order-total th,body.woocommerce-cart .cart-totals-inner tr.order-total td{border-bottom:0!important;padding-top:18px!important;font-size:16px!important;color:var(--msg-ink)!important;font-weight:500!important}
body.woocommerce-cart .cart-totals-inner tr.order-total .amount{font-size:26px!important;font-weight:500!important}
.rp_wcdpd_promotion_total_saved_table_row th,.rp_wcdpd_promotion_total_saved_table_row td,.rp_wcdpd_promotion_total_saved_table_row .amount{color:#3F7A4E!important}
body.woocommerce-cart .rp_wcdpd_promotion_total_saved_table_row td,body.woocommerce-checkout .rp_wcdpd_promotion_total_saved_table_row td{background:#E3EFE3!important;border-radius:999px;padding:6px 12px!important;display:inline-block;margin-top:8px;border:0!important}
body.woocommerce-cart .rp_wcdpd_promotion_total_saved_table_row th,body.woocommerce-checkout .rp_wcdpd_promotion_total_saved_table_row th{border:0!important;padding-top:16px!important}

/* shipping methods as selectable cards (cart + checkout) */
.woocommerce-shipping-methods{margin:0!important;padding:0!important;list-style:none!important;display:flex;flex-direction:column;gap:8px}
.woocommerce-shipping-methods li{position:relative;margin:0!important;padding:0!important;text-align:right!important}
.woocommerce-shipping-methods li input.shipping_method{position:absolute;opacity:0;pointer-events:none}
.woocommerce-shipping-methods li label{display:flex!important;align-items:center;gap:10px;justify-content:space-between;padding:12px 14px 12px 14px!important;margin:0!important;border:1px solid #E2D3D3;border-radius:14px;background:#fff;font-size:13px!important;font-weight:400!important;line-height:1.4;color:var(--msg-ink)!important;cursor:pointer;transition:border-color .2s,background .2s}
.woocommerce-shipping-methods li label::before{content:"";flex:0 0 18px;height:18px;border-radius:999px;border:1.5px solid #E2D3D3;background:#fff;box-sizing:border-box}
.woocommerce-shipping-methods li input:checked+label{border-color:var(--msg-ink);background:var(--msg-bg)}
.woocommerce-shipping-methods li input:checked+label::before{border:5px solid var(--msg-ink)}
.woocommerce-shipping-methods li label .amount{font-weight:600;margin-inline-start:auto;white-space:nowrap}
.woocommerce-shipping-destination{font-size:12px!important;color:var(--msg-muted)!important;margin:10px 0 0!important}
.woocommerce-shipping-calculator{font-size:13px}

/* gift-card redeem */
#pwgc-redeem-gift-card-form{margin:0 0 16px}
#pwgc-redeem-gift-card-container,#pwgc-redeem-form{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin:0!important}
#pwgc-redeem-gift-card-form label{width:100%;font-size:13px!important;font-weight:500!important;color:var(--msg-ink)!important;margin:0 0 2px!important}
#pwgc-redeem-gift-card-form br{display:none}
#pwgc-redeem-gift-card-number{flex:1 1 160px;width:auto!important;border-radius:999px!important}
#pwgc-redeem-button{display:inline-flex!important;align-items:center;margin:0!important;cursor:pointer}
#pwgc-redeem-error{width:100%;font-size:12px}

/* ---------- CHECKOUT ---------- */
body.woocommerce-checkout form.checkout{display:grid!important;grid-template-columns:minmax(0,1fr) 440px;gap:40px;align-items:start}
body.woocommerce-checkout form.checkout>input[type=hidden]{display:none}
body.woocommerce-checkout .customer-details{width:auto!important;float:none!important;margin:0!important;background:#fff;border:1px solid var(--msg-line);border-radius:24px;padding:32px!important}
body.woocommerce-checkout .customer-details h3,body.woocommerce-checkout #order_review_heading{font-size:22px!important;font-weight:500!important;text-transform:none!important;margin:0 0 20px!important;color:var(--msg-ink)!important}
body.woocommerce-checkout .woocommerce-billing-fields__field-wrapper,body.woocommerce-checkout .woocommerce-shipping-fields__field-wrapper{display:grid;grid-template-columns:1fr 1fr;gap:4px 16px}
body.woocommerce-checkout .form-row{margin:0 0 14px!important;padding:0!important;width:auto!important;float:none!important}
body.woocommerce-checkout .form-row-wide,body.woocommerce-checkout .notes{grid-column:1/-1}
body.woocommerce-checkout #ship-to-different-address{margin:20px 0 12px!important;padding-top:20px;border-top:1px solid var(--msg-line)}
body.woocommerce-checkout #ship-to-different-address label{display:flex!important;align-items:center;gap:10px;font-size:16px!important;cursor:pointer}
body.woocommerce-checkout input[type=checkbox]{width:20px;height:20px;accent-color:var(--msg-ink)}
body.woocommerce-checkout .woocommerce-additional-fields{margin-top:12px;padding-top:20px;border-top:1px solid var(--msg-line)}
body.woocommerce-checkout .woocommerce-form-coupon-toggle{margin-bottom:16px}
body.woocommerce-checkout form.checkout_coupon{display:flex;gap:8px;max-width:520px;border:0!important;padding:0!important;margin:0 0 20px!important}
body.woocommerce-checkout form.checkout_coupon .form-row{margin:0!important}
body.woocommerce-checkout form.checkout_coupon .form-row-first{flex:1}
body.woocommerce-checkout form.checkout_coupon .clear{display:none}

body.woocommerce-checkout .checkout-order-review{width:auto!important;float:none!important;margin:0!important;background:#fff!important;border:1px solid var(--msg-line)!important;border-radius:24px!important;padding:28px!important;box-shadow:0 20px 50px rgba(35,31,32,.06)}
body.woocommerce-checkout .woocommerce-checkout-review-order-table th,body.woocommerce-checkout .woocommerce-checkout-review-order-table td{border:0!important;border-bottom:1px solid var(--msg-line)!important;padding:12px 0!important;font-size:14px!important;font-weight:400!important;background:none!important;color:var(--msg-ink)!important;text-transform:none!important;vertical-align:top}
body.woocommerce-checkout .woocommerce-checkout-review-order-table thead th{font-size:12px!important;color:var(--msg-muted)!important;padding-top:0!important}
body.woocommerce-checkout .woocommerce-checkout-review-order-table td.product-total,body.woocommerce-checkout .woocommerce-checkout-review-order-table tfoot td{text-align:left!important;white-space:nowrap}
body.woocommerce-checkout .woocommerce-checkout-review-order-table .product-quantity{color:var(--msg-muted)!important;font-weight:400!important}
body.woocommerce-checkout .woocommerce-checkout-review-order-table tfoot th{color:var(--msg-muted)!important}
body.woocommerce-checkout .woocommerce-checkout-review-order-table tr.shipping td{white-space:normal}
body.woocommerce-checkout .woocommerce-checkout-review-order-table tr.shipping th,body.woocommerce-checkout .woocommerce-checkout-review-order-table tr.shipping td{display:block;width:100%;text-align:right!important}
body.woocommerce-checkout .woocommerce-checkout-review-order-table tr.order-total th,body.woocommerce-checkout .woocommerce-checkout-review-order-table tr.order-total td{border-bottom:0!important;padding-top:16px!important;font-size:16px!important;color:var(--msg-ink)!important;font-weight:500!important}
body.woocommerce-checkout .woocommerce-checkout-review-order-table tr.order-total .amount{font-size:26px!important;font-weight:500!important}

body.woocommerce-checkout #payment{background:none!important;border-radius:0!important;padding:0!important}
body.woocommerce-checkout #payment ul.payment_methods{border:0!important;padding:0!important;margin:0 0 18px!important;display:flex;flex-direction:column;gap:8px}
body.woocommerce-checkout #payment ul.payment_methods li{margin:0!important;padding:14px 16px!important;border:1px solid #E2D3D3;border-radius:16px;background:#fff;list-style:none}
body.woocommerce-checkout #payment ul.payment_methods li:has(input:checked){border-color:var(--msg-ink);background:var(--msg-bg)}
body.woocommerce-checkout #payment ul.payment_methods li>label{display:inline-flex!important;align-items:center;gap:8px;font-size:15px!important;margin:0!important;cursor:pointer}
body.woocommerce-checkout #payment ul.payment_methods li>label img{max-height:22px;width:auto;margin:0!important}
body.woocommerce-checkout #payment ul.payment_methods li input.input-radio{accent-color:var(--msg-ink);width:18px;height:18px;margin:0 0 0 8px!important;vertical-align:middle}
body.woocommerce-checkout #payment div.payment_box{background:transparent!important;color:var(--msg-muted)!important;font-size:13px!important;padding:10px 0 0!important;margin:0!important}
body.woocommerce-checkout #payment div.payment_box::before{display:none!important}
body.woocommerce-checkout #payment div.payment_box select{height:44px!important}
body.woocommerce-checkout .woocommerce-privacy-policy-text{font-size:12px!important;color:var(--msg-muted)!important;line-height:1.6}
body.woocommerce-checkout .woocommerce-privacy-policy-text a,body.woocommerce-checkout .woocommerce-terms-and-conditions-link{color:var(--msg-accent)!important;text-decoration:underline}
body.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper .form-row label{display:flex!important;gap:10px;align-items:flex-start;font-weight:400!important;font-size:13px!important;line-height:1.5}
body.woocommerce-checkout .place-order{padding:0!important;margin:0!important}

/* upsells on checkout (added by plugin) */
.msw-ups{margin:0 0 20px;padding:18px;border-radius:20px;background:var(--msg-peach);direction:rtl;text-align:right}
.msw-ups__h{display:flex;justify-content:space-between;align-items:baseline;gap:8px;margin-bottom:12px}
.msw-ups__h b{font-size:16px;font-weight:500;color:var(--msg-ink)}.msw-ups__h span{font-size:12px;color:var(--msg-muted)}
.msw-ups__list{display:flex;flex-direction:column;gap:8px}
.msw-ups__i{display:grid;grid-template-columns:56px minmax(0,1fr) auto;gap:12px;align-items:center;background:#fff;border-radius:14px;padding:8px}
.msw-ups__i img{width:56px!important;height:72px!important;object-fit:cover;object-position:center 20%;border-radius:10px;display:block;margin:0!important}
.msw-ups__n{display:flex;flex-direction:column;gap:2px;min-width:0}
.msw-ups__n a{font-size:13px;font-weight:500;color:var(--msg-ink)!important;line-height:1.35;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
.msw-ups__n .price{font-size:13px;color:var(--msg-ink)}.msw-ups__n .price del{color:#857B7D;font-size:11px}.msw-ups__n .price ins{text-decoration:none;color:var(--msg-accent)}
.msw-ups__add{height:38px!important;min-height:0!important;padding:0 14px!important;border-radius:999px!important;background:var(--msg-ink)!important;color:var(--msg-bg)!important;border:0!important;font-size:13px!important;font-weight:500!important;white-space:nowrap;cursor:pointer;text-transform:none!important;display:inline-flex!important;align-items:center;text-decoration:none!important}
.msw-ups__add:hover{background:var(--msg-accent)!important}
.msw-ups__add.is-ghost{background:transparent!important;color:var(--msg-ink)!important;border:1px solid var(--msg-ink)!important}
.msw-ups__add.is-loading{opacity:.6;pointer-events:none}
.msw-ups__add.is-added{background:#3F7A4E!important}

/* ---------- responsive ---------- */
@media(max-width:1024px){
body.woocommerce-cart .cart-content-wrapper,body.woocommerce-checkout form.checkout{grid-template-columns:1fr;gap:24px}
body.woocommerce-cart .cart_totals,body.woocommerce-checkout .checkout-order-review{position:static}}
@media(max-width:768px){
body.woocommerce-cart table.shop_table_responsive.cart thead{display:none}
body.woocommerce-cart table.shop_table_responsive.cart tr.cart_item{display:grid!important;grid-template-columns:84px minmax(0,1fr) 36px;grid-template-areas:"img name rm" "img price price" "img qty sub";gap:6px 14px;background:#fff;border:1px solid var(--msg-line);border-radius:20px;padding:14px;margin-bottom:12px}
body.woocommerce-cart table.shop_table_responsive.cart tr.cart_item td{display:block!important;border:0!important;padding:0!important;background:none!important;border-radius:0!important;text-align:right!important}
body.woocommerce-cart table.shop_table_responsive.cart tr.cart_item td::before{display:none!important}
body.woocommerce-cart tr.cart_item td.product-thumbnail{grid-area:img;width:auto}
body.woocommerce-cart tr.cart_item td.product-thumbnail img{width:84px!important;height:110px!important}
body.woocommerce-cart tr.cart_item td.product-name{grid-area:name}
body.woocommerce-cart tr.cart_item td.product-remove{grid-area:rm;width:auto}
body.woocommerce-cart tr.cart_item td.product-price{grid-area:price;font-size:13px!important}
body.woocommerce-cart tr.cart_item td.product-quantity{grid-area:qty}
body.woocommerce-cart tr.cart_item td.product-subtotal{grid-area:sub;align-self:center;text-align:left!important}
body.woocommerce-cart table.shop_table.cart{border-spacing:0!important;margin:0!important}
body.woocommerce-cart .cart-actions{flex-direction:column;align-items:stretch}
body.woocommerce-cart .wd-coupon-form{max-width:none}
body.woocommerce-cart .cart-totals-inner,body.woocommerce-checkout .customer-details,body.woocommerce-checkout .checkout-order-review{padding:20px!important;border-radius:20px!important}
body.woocommerce-checkout .woocommerce-billing-fields__field-wrapper,body.woocommerce-checkout .woocommerce-shipping-fields__field-wrapper{grid-template-columns:1fr}}

/* ===== 1.3.1 – layout hardening vs WoodMart (flex instead of grid, kill theme widths/floats, duplicate indicators) ===== */
html body.woocommerce-cart .cart-content-wrapper{display:flex!important;flex-wrap:wrap!important;gap:32px!important;align-items:flex-start!important;width:100%!important;max-width:none!important;margin:0!important}
html body.woocommerce-cart .cart-content-wrapper>.woocommerce-notices-wrapper{flex:1 1 100%!important}
html body.woocommerce-cart .cart-content-wrapper>.woocommerce-cart-form{flex:1 1 560px!important;width:auto!important;max-width:none!important;min-width:0!important;padding:0!important}
html body.woocommerce-cart .cart-content-wrapper>.cart_totals{flex:0 1 400px!important;width:auto!important;max-width:100%!important;min-width:0!important;padding:0!important;margin:0!important}
html body.woocommerce-cart table.shop_table.cart{width:100%!important;table-layout:auto}

html body.woocommerce-checkout form.woocommerce-checkout{display:flex!important;flex-wrap:wrap!important;gap:32px!important;align-items:flex-start!important;width:100%!important;max-width:none!important;margin:0!important}
html body.woocommerce-checkout form.woocommerce-checkout>.customer-details{flex:1 1 520px!important;width:auto!important;max-width:none!important;min-width:0!important;margin:0!important}
html body.woocommerce-checkout form.woocommerce-checkout>.checkout-order-review{flex:0 1 460px!important;width:auto!important;max-width:100%!important;min-width:0!important;margin:0!important}
html body.woocommerce-checkout form.woocommerce-checkout>input,html body.woocommerce-checkout form.woocommerce-checkout>wc-order-attribution-inputs{display:none!important}
html body.woocommerce-checkout .customer-details .col-1,html body.woocommerce-checkout .customer-details .col-2,html body.woocommerce-checkout .woocommerce-billing-fields,html body.woocommerce-checkout .woocommerce-shipping-fields,html body.woocommerce-checkout .woocommerce-additional-fields{width:100%!important;max-width:none!important;float:none!important;padding:0!important;flex:none!important}
html body.woocommerce-checkout .woocommerce-billing-fields__field-wrapper>*,html body.woocommerce-checkout .woocommerce-shipping-fields__field-wrapper>*{width:auto!important;float:none!important;margin-left:0!important;margin-right:0!important}
html body.woocommerce-checkout .woocommerce-billing-fields__field-wrapper>.form-row[style*="display: none"],html body.woocommerce-checkout #datalogics_n_code_platform_id_field{display:none!important}
html body.woocommerce-checkout .woocommerce-input-wrapper{display:block;width:100%}
html body.woocommerce-checkout .woocommerce-input-wrapper input,html body.woocommerce-checkout .woocommerce-input-wrapper select,html body.woocommerce-checkout .woocommerce-input-wrapper textarea{width:100%!important}
html body.woocommerce-checkout .wd-table-wrapper{overflow:visible!important;margin:0!important}
html body.woocommerce-checkout .woocommerce-checkout-review-order-table{width:100%!important;table-layout:fixed}
html body.woocommerce-checkout .woocommerce-checkout-review-order-table th.product-name,html body.woocommerce-checkout .woocommerce-checkout-review-order-table td.product-name{width:68%}
html body.woocommerce-checkout .woocommerce-checkout-review-order-table td.product-name{line-height:1.45;overflow-wrap:anywhere}

/* number spinners + theme radio/check duplicates */
body.woocommerce-cart input.qty::-webkit-inner-spin-button,body.woocommerce-cart input.qty::-webkit-outer-spin-button,body.woocommerce-checkout input.qty::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}
body.woocommerce-cart input.qty,body.woocommerce-checkout input.qty{-moz-appearance:textfield}
html body .woocommerce-shipping-methods li label::after{display:none!important;content:none!important}
html body .woocommerce-shipping-methods li input.shipping_method{position:absolute!important;opacity:0!important;width:1px!important;height:1px!important;margin:0!important;pointer-events:none}
html body .woocommerce-shipping-methods li label{width:100%!important;box-sizing:border-box;padding-right:14px!important;padding-left:14px!important}
html body .woocommerce-shipping-methods li:only-child label::before{display:none}
html body.woocommerce-cart .cart-totals-inner tr.shipping th,html body.woocommerce-cart .cart-totals-inner tr.shipping td{display:block!important;width:100%!important;text-align:right!important;border-bottom:0!important;padding-bottom:6px!important}
html body.woocommerce-cart .cart-totals-inner tr.shipping td{border-bottom:1px solid var(--msg-line)!important;padding-bottom:14px!important}
html body.woocommerce-cart .cart-totals-inner table,html body.woocommerce-cart .cart-totals-inner tbody{display:block!important;width:100%!important}
html body.woocommerce-cart .cart-totals-inner tr{display:flex!important;justify-content:space-between;align-items:baseline;gap:12px;flex-wrap:wrap;border-bottom:1px solid var(--msg-line)}
html body.woocommerce-cart .cart-totals-inner tr th,html body.woocommerce-cart .cart-totals-inner tr td{border:0!important;padding:14px 0!important;display:block!important;width:auto!important}
html body.woocommerce-cart .cart-totals-inner tr.shipping{display:block!important}
html body.woocommerce-cart .cart-totals-inner tr.order-total{border-bottom:0}
html body.woocommerce-cart .cart-totals-inner tr td::before,html body.woocommerce-checkout .woocommerce-checkout-review-order-table td::before{display:none!important}
html body.woocommerce-cart .rp_wcdpd_promotion_total_saved_table_row{border-bottom:0!important;align-items:center!important}
html body.woocommerce-cart .rp_wcdpd_promotion_total_saved_table_row td{padding:6px 14px!important}
html body.woocommerce-cart .wc-proceed-to-checkout{padding:0!important;margin:8px 0 0!important}
html body.woocommerce-cart .wc-proceed-to-checkout .checkout-button{margin:0!important}
html body.woocommerce-cart .wc-proceed-to-checkout .checkout-button::after,html body.woocommerce-cart .wc-proceed-to-checkout .checkout-button::before{display:none!important}

/* payment radios: single native indicator */
html body.woocommerce-checkout #payment ul.payment_methods li>label::before,html body.woocommerce-checkout #payment ul.payment_methods li>label::after{display:none!important;content:none!important}
html body.woocommerce-checkout #payment ul.payment_methods li input.input-radio{display:inline-block!important;position:static!important;opacity:1!important;-webkit-appearance:auto;appearance:auto}
html body.woocommerce-checkout #payment .place-order{display:flex;flex-direction:column;gap:14px}
html body.woocommerce-checkout #payment #pwgc-redeem-gift-card-form{order:2;margin:0!important}
html body.woocommerce-checkout #payment #place_order{order:3;margin:0!important;float:none!important}
html body.woocommerce-checkout #pwgc-redeem-button{width:auto!important;margin:0!important;display:inline-flex!important}

/* upsell rows never overflow: button sits under the name */
.msw-ups__i{grid-template-columns:56px minmax(0,1fr)!important;grid-template-rows:auto auto;align-items:start!important}
.msw-ups__i>a:first-child{grid-row:1/3}
.msw-ups__add{grid-column:2;justify-self:start;height:34px!important;font-size:12px!important;margin-top:2px}
.msw-ups__add::before,.msw-ups__add::after{display:none!important}

@media(max-width:1024px){
html body.woocommerce-cart .cart-content-wrapper>.woocommerce-cart-form,html body.woocommerce-cart .cart-content-wrapper>.cart_totals,html body.woocommerce-checkout form.woocommerce-checkout>.customer-details,html body.woocommerce-checkout form.woocommerce-checkout>.checkout-order-review{flex:1 1 100%!important;max-width:100%!important}
html body.woocommerce-cart .cart_totals,html body.woocommerce-checkout .checkout-order-review{position:static!important}}
@media(max-width:768px){
html body.woocommerce-cart .cart-content-wrapper,html body.woocommerce-checkout form.woocommerce-checkout{gap:16px!important}
html body.woocommerce-cart table.shop_table_responsive.cart,html body.woocommerce-cart table.shop_table_responsive.cart tbody{display:block!important;width:100%!important}
html body.woocommerce-cart table.shop_table_responsive.cart tr.cart_item{width:100%!important;box-sizing:border-box}
html body.woocommerce-cart table.shop_table_responsive.cart tr.wd-cart-action-row{display:block!important}
html body.woocommerce-cart table.shop_table_responsive.cart tr.wd-cart-action-row td{display:block!important;width:100%!important}
html body.woocommerce-cart .cart-actions>.button{width:100%!important}
html body.woocommerce-cart .wd-coupon-form{flex:1 1 auto!important;width:100%!important}
html body.woocommerce-cart .site-content div.quantity{height:40px!important}
html body.woocommerce-checkout .customer-details h3,html body.woocommerce-checkout #order_review_heading,html body.woocommerce-cart .cart-totals-inner h2{font-size:19px!important}
html body.woocommerce-checkout .woocommerce-checkout-review-order-table tr.order-total .amount,html body.woocommerce-cart .cart-totals-inner tr.order-total .amount{font-size:22px!important}
html body.woocommerce-checkout #place_order,html body.woocommerce-cart .checkout-button{height:56px!important}
html body.woocommerce-checkout form.checkout_coupon{flex-direction:column}
html body.woocommerce-checkout form.checkout_coupon .button{width:100%!important}}
/* ---------- 1.3.3 – cart + checkout repairs ---------- */
/* CART: duplicate remove "×" (WoodMart ::before icon + text node) */
html body.woocommerce-cart td.product-remove a.remove{font-size:0!important;line-height:0!important;display:inline-flex!important;align-items:center;justify-content:center}
html body.woocommerce-cart td.product-remove a.remove::before{font-size:12px!important;line-height:1!important}
/* CART: primary CTA lost its fill – ".site-content .button" (transparent) outranked ".checkout-button" */
html body.woocommerce-cart .site-content .cart-totals-inner a.checkout-button.button{background:var(--msg-ink)!important;color:var(--msg-bg)!important;border-color:var(--msg-ink)!important}
html body.woocommerce-cart .site-content .cart-totals-inner a.checkout-button.button:hover{opacity:.9}
/* CHECKOUT: kill WoodMart inner panel inside order box (white bg + shadow + 5px 25px padding) */
html body.woocommerce-checkout .checkout-order-review .wd-table-wrapper{padding:0!important;background:none!important;box-shadow:none!important;border-radius:0!important}
/* CHECKOUT: single borders (TR + TH/TD were doubling) */
html body.woocommerce-checkout .woocommerce-checkout-review-order-table tr{border:0!important}
html body.woocommerce-checkout .woocommerce-checkout-review-order-table thead th{border-bottom:1px solid var(--msg-line)!important}
/* CHECKOUT: shipping row stacked – WoodMart makes tr display:flex row, so th+td sat side by side */
html body.woocommerce-checkout .woocommerce-checkout-review-order-table tr.woocommerce-shipping-totals{display:flex!important;flex-direction:column!important;align-items:stretch!important}
html body.woocommerce-checkout .woocommerce-checkout-review-order-table tr.woocommerce-shipping-totals th{width:100%!important;max-width:none!important;flex:none!important;border:0!important;padding:14px 0 8px!important;text-align:right!important}
html body.woocommerce-checkout .woocommerce-checkout-review-order-table tr.woocommerce-shipping-totals td{width:100%!important;max-width:none!important;flex:none!important;padding:0 0 14px!important;text-align:right!important}
html body .woocommerce-shipping-methods li label{white-space:normal}
html body .woocommerce-shipping-methods li label .amount{white-space:nowrap;margin-inline-start:auto}
/* CART + CHECKOUT: "saved" row (rp_wcdpd) – one line, green pill */
html body.woocommerce-cart tr.rp_wcdpd_promotion_total_saved_table_row,html body.woocommerce-checkout tr.rp_wcdpd_promotion_total_saved_table_row{display:flex!important;align-items:center!important;justify-content:space-between!important;border:0!important;padding:10px 0 0!important}
html body.woocommerce-cart tr.rp_wcdpd_promotion_total_saved_table_row th,html body.woocommerce-checkout tr.rp_wcdpd_promotion_total_saved_table_row th,html body.woocommerce-cart tr.rp_wcdpd_promotion_total_saved_table_row td,html body.woocommerce-checkout tr.rp_wcdpd_promotion_total_saved_table_row td{border:0!important;width:auto!important;flex:0 0 auto!important;margin:0!important;vertical-align:middle}
html body.woocommerce-cart tr.rp_wcdpd_promotion_total_saved_table_row th,html body.woocommerce-checkout tr.rp_wcdpd_promotion_total_saved_table_row th{padding:0!important;font-size:13px!important;font-weight:500!important;color:#3E6B42!important}
html body.woocommerce-cart tr.rp_wcdpd_promotion_total_saved_table_row td,html body.woocommerce-checkout tr.rp_wcdpd_promotion_total_saved_table_row td{display:inline-flex!important;background:#E3EFE3!important;border-radius:999px!important;padding:5px 14px!important;font-weight:600}
html body.woocommerce-cart tr.rp_wcdpd_promotion_total_saved_table_row td::before,html body.woocommerce-checkout tr.rp_wcdpd_promotion_total_saved_table_row td::before{display:none!important}
/* ---------- 1.4.3 – mobile cart card + totals, checkout top alignment ---------- */
@media (max-width:768px){
html body.woocommerce-cart table.shop_table.cart tr.cart_item{display:grid!important;grid-template-columns:84px minmax(0,1fr) auto!important;grid-template-areas:"img name name" "img price price" "img qty sub"!important;column-gap:14px!important;row-gap:6px!important;align-items:center!important;padding:14px!important;position:relative!important}
html body.woocommerce-cart table.shop_table.cart tr.cart_item>td{position:static!important;width:auto!important;min-width:0!important;padding:0!important;margin:0!important;border:0!important;text-align:right!important}
html body.woocommerce-cart table.shop_table.cart tr.cart_item>td::before{display:none!important;content:none!important}
html body.woocommerce-cart table.shop_table.cart tr.cart_item>td.product-thumbnail{grid-area:img!important;align-self:start!important;width:84px!important}
html body.woocommerce-cart table.shop_table.cart tr.cart_item>td.product-thumbnail img{width:84px!important;height:105px!important;object-fit:cover;border-radius:12px;display:block}
html body.woocommerce-cart table.shop_table.cart tr.cart_item>td.product-name{grid-area:name!important;padding-left:36px!important;font-size:14px!important;line-height:1.4!important}
html body.woocommerce-cart table.shop_table.cart tr.cart_item>td.product-price{grid-area:price!important;font-size:13px!important}
html body.woocommerce-cart table.shop_table.cart tr.cart_item>td.product-quantity{grid-area:qty!important;justify-self:start!important}
html body.woocommerce-cart table.shop_table.cart tr.cart_item>td.product-subtotal{grid-area:sub!important;justify-self:end!important;text-align:left!important;white-space:nowrap;font-weight:600}
html body.woocommerce-cart table.shop_table.cart tr.cart_item>td.product-remove{position:absolute!important;top:10px!important;left:10px!important;width:auto!important;z-index:2}
html body.woocommerce-cart .cart_totals table tr{display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:space-between!important;gap:12px}
html body.woocommerce-cart .cart_totals table tr>th,html body.woocommerce-cart .cart_totals table tr>td{display:block;width:auto!important;flex:0 1 auto!important;padding:12px 0!important;border:0!important}
html body.woocommerce-cart .cart_totals table tr>td{text-align:left!important}
html body.woocommerce-cart .cart_totals table tr>td::before{display:none!important;content:none!important}
html body.woocommerce-cart .cart_totals table tr.woocommerce-shipping-totals{display:block!important;border-bottom:1px solid var(--msg-line)!important}
html body.woocommerce-cart .cart_totals table tr.woocommerce-shipping-totals>th{padding:14px 0 8px!important;text-align:right!important}
html body.woocommerce-cart .cart_totals table tr.woocommerce-shipping-totals>td{width:100%!important;padding:0 0 14px!important;text-align:right!important;border:0!important}
html body.woocommerce-cart .cart_totals table tr.cart-subtotal{border-bottom:1px solid var(--msg-line)!important;padding:0!important}
html body.woocommerce-cart .cart_totals table tr.order-total{padding:4px 0 0!important}
html body.woocommerce-cart .cart_totals table tr.rp_wcdpd_promotion_total_saved_table_row td{padding:5px 14px!important}
}
@media (min-width:1025px){
html body.woocommerce-checkout form.woocommerce-checkout{align-items:flex-start!important}
html body.woocommerce-checkout form.woocommerce-checkout>.checkout-order-review,
html body.woocommerce-checkout form.woocommerce-checkout>.customer-details{position:relative!important;top:0!important;margin-top:0!important}
}
