/* Zamar Lifestyles v1.7.1 — mobile cart & checkout UX. Desktop intentionally untouched. */
@media (max-width:767px){
 body.woocommerce-cart,body.woocommerce-checkout{padding-bottom:96px}
 /* Mini cart / Salient slide-in */
 .nectar-slide-in-cart,.nectar-slide-in-cart-bg{--zamar-plum:#5b1736;--zamar-blush:#fff7f8}
 .nectar-slide-in-cart .widget_shopping_cart_content{padding-bottom:max(18px,env(safe-area-inset-bottom))}
 .nectar-slide-in-cart .woocommerce-mini-cart{padding:8px 0!important}
 .nectar-slide-in-cart .mini_cart_item{display:grid!important;grid-template-columns:76px minmax(0,1fr);gap:12px;padding:14px 0!important;border-bottom:1px solid #eee!important}
 .nectar-slide-in-cart .mini_cart_item>a:first-child img{width:76px!important;height:76px!important;object-fit:contain;border-radius:12px;background:#fff7f8}
 .nectar-slide-in-cart .product-meta{min-width:0!important;margin:0!important}
 .nectar-slide-in-cart .product-details>a{font-size:14px!important;line-height:1.3!important;font-weight:700!important;color:#28111d!important}
 .nectar-slide-in-cart .quantity{margin-top:8px!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:8px}
 .nectar-slide-in-cart .quantity .modify{display:block!important;max-width:122px}
 .nectar-slide-in-cart .quantity input.qty{height:38px!important;min-height:38px!important;width:48px!important;text-align:center!important}
 .nectar-slide-in-cart .product-price{font-weight:700!important;color:#5b1736!important}
 .nectar-slide-in-cart .remove_from_cart_button.with_text{font-size:12px!important;font-weight:600!important;margin-left:8px!important;color:#777!important}
 .nectar-slide-in-cart .woocommerce-mini-cart__total{margin:16px 0 10px!important;padding-top:14px!important;border-top:1px solid #e9dfe3!important;font-size:16px!important;display:flex;justify-content:space-between}
 .nectar-slide-in-cart .woocommerce-mini-cart__buttons{display:grid!important;grid-template-columns:1fr 1.35fr!important;gap:10px!important;margin:0!important}
 .nectar-slide-in-cart .woocommerce-mini-cart__buttons .button{margin:0!important;width:100%!important;min-width:0!important;text-align:center!important;border-radius:999px!important;padding:13px 10px!important;font-size:13px!important}
 .nectar-slide-in-cart .woocommerce-mini-cart__buttons .checkout{background:#5b1736!important;color:#fff!important}
 .nectar-slide-in-cart .woocommerce-mini-cart__empty-message{padding:36px 20px!important;text-align:center!important}
 .nectar-slide-in-cart .woocommerce-mini-cart__empty-message .button{margin-top:16px!important;border-radius:999px!important;background:#5b1736!important;color:#fff!important}
 /* Cart page */
 body.woocommerce-cart .container-wrap{padding-top:18px!important}
 body.woocommerce-cart .woocommerce-cart-form table.shop_table{border:0!important}
 body.woocommerce-cart .woocommerce-cart-form .cart_item{border-radius:16px!important;background:#fff!important;box-shadow:0 4px 20px rgba(56,20,38,.06);margin-bottom:12px!important;padding:12px!important}
 body.woocommerce-cart .cart_totals{border-radius:18px!important;background:#fff7f8!important;padding:18px!important;margin-top:18px!important}
 body.woocommerce-cart .wc-proceed-to-checkout .checkout-button{border-radius:999px!important;background:#5b1736!important;color:#fff!important;font-size:15px!important;padding:15px!important}
 /* Checkout */
 body.woocommerce-checkout .container-wrap{padding-top:14px!important}
 body.woocommerce-checkout form.checkout{margin-top:0!important}
 body.woocommerce-checkout #customer_details{display:block!important}
 body.woocommerce-checkout #customer_details>.col-1,body.woocommerce-checkout #customer_details>.col-2{width:100%!important;float:none!important;margin:0!important}
 body.woocommerce-checkout .woocommerce-billing-fields,body.woocommerce-checkout .woocommerce-shipping-fields,body.woocommerce-checkout .woocommerce-additional-fields,body.woocommerce-checkout #order_review{background:#fff!important;border:1px solid #eee3e7!important;border-radius:18px!important;padding:16px!important;margin-bottom:14px!important}
 body.woocommerce-checkout h3,body.woocommerce-checkout #order_review_heading{font-size:19px!important;line-height:1.25!important;margin:8px 0 14px!important;color:#371426!important}
 body.woocommerce-checkout .form-row{width:100%!important;float:none!important;margin:0 0 12px!important}
 body.woocommerce-checkout input.input-text,body.woocommerce-checkout textarea,body.woocommerce-checkout .select2-selection{border:1px solid #dfd5d9!important;border-radius:12px!important;min-height:48px!important;background:#fff!important}
 body.woocommerce-checkout #place_order{width:100%!important;border-radius:999px!important;background:#5b1736!important;color:#fff!important;min-height:52px!important;font-size:15px!important;font-weight:700!important}
 .zamar-v171-checkout-intro{display:flex;align-items:center;justify-content:center;gap:7px;margin:0 0 14px;padding:10px 12px;border-radius:12px;background:#fff7f8;color:#5b1736;font-size:12px;font-weight:700}
 .zamar-v171-checkout-intro span{opacity:.45}.zamar-v171-checkout-intro span.is-active{opacity:1}
}

/* v1.7.2 checkout compatibility patch — mobile only. Supports WooCommerce Checkout Block without changing desktop. */
@media (max-width:767px){
 body.woocommerce-checkout .wc-block-checkout{padding:0 14px 104px!important;margin:0!important}
 body.woocommerce-checkout .wc-block-checkout__main,body.woocommerce-checkout .wc-block-checkout__sidebar{width:100%!important;max-width:none!important;padding:0!important;margin:0!important}
 body.woocommerce-checkout .wc-block-components-checkout-step{border:1px solid #eee3e7!important;border-radius:18px!important;background:#fff!important;padding:16px!important;margin:0 0 14px!important}
 body.woocommerce-checkout .wc-block-components-order-summary{border:1px solid #eee3e7!important;border-radius:18px!important;overflow:hidden!important}
 body.woocommerce-checkout .wc-block-components-order-summary-item__description>p,
 body.woocommerce-checkout .wc-block-components-product-metadata__description{display:none!important}
 body.woocommerce-checkout .wc-block-components-order-summary-item__description .wc-block-components-product-name{font-weight:700!important;line-height:1.3!important;color:#371426!important}
 body.woocommerce-checkout .wc-block-components-checkout-place-order-button{width:100%!important;min-height:54px!important;border:0!important;border-radius:999px!important;background:#5b1736!important;color:#fff!important;font-size:15px!important;font-weight:700!important;box-shadow:none!important}
 body.woocommerce-checkout .wc-block-components-checkout-place-order-button:disabled{opacity:.55!important}
 body.woocommerce-checkout .wc-block-components-spinner{color:#fff!important}
}

/* v1.7.3 — classic checkout presentation for legacy/manual payment gateways. */
@media (max-width:767px){
 body.zamar-classic-checkout-v173 .zamar-v173-classic-checkout{padding:0 14px 104px!important}
 body.zamar-classic-checkout-v173 .zamar-v173-classic-checkout form.checkout{display:block!important;margin:0!important}
 body.zamar-classic-checkout-v173 .zamar-v173-classic-checkout #customer_details,
 body.zamar-classic-checkout-v173 .zamar-v173-classic-checkout #order_review{width:100%!important;float:none!important}
 body.zamar-classic-checkout-v173 .zamar-v173-classic-checkout #payment{background:#fff!important;border:1px solid #eee3e7!important;border-radius:18px!important;padding:12px!important}
 body.zamar-classic-checkout-v173 .zamar-v173-classic-checkout .wc_payment_methods{margin:0!important;padding:0!important}
 body.zamar-classic-checkout-v173 .zamar-v173-classic-checkout .payment_box{border-radius:12px!important;background:#fff7f8!important;color:#371426!important}
 body.zamar-classic-checkout-v173 .zamar-v173-classic-checkout #place_order{display:block!important;width:100%!important;min-height:54px!important;margin-top:12px!important;border:0!important;border-radius:999px!important;background:#5b1736!important;color:#fff!important;font-weight:700!important}
}

/* v1.7.4 — mobile classic checkout polish. Payment logic intentionally unchanged. */
@media (max-width: 767px) {
 body.zamar-classic-checkout-v173 form.checkout.woocommerce-checkout,
 body.zamar-classic-checkout-v174 form.checkout.woocommerce-checkout { color:#3f3340; }
 body.zamar-classic-checkout-v173 form.checkout label,
 body.zamar-classic-checkout-v173 form.checkout p,
 body.zamar-classic-checkout-v173 form.checkout .woocommerce-privacy-policy-text,
 body.zamar-classic-checkout-v174 form.checkout label,
 body.zamar-classic-checkout-v174 form.checkout p,
 body.zamar-classic-checkout-v174 form.checkout .woocommerce-privacy-policy-text { color:#625762 !important; opacity:1 !important; }
 body.zamar-classic-checkout-v173 form.checkout h3,
 body.zamar-classic-checkout-v174 form.checkout h3 { color:#4b153f !important; font-size:28px; line-height:1.15; margin:26px 0 18px; }
 body.zamar-classic-checkout-v173 #order_review,
 body.zamar-classic-checkout-v174 #order_review { background:#fff; border:1px solid #eadfe5; border-radius:18px; padding:14px; box-shadow:0 8px 28px rgba(75,21,63,.05); }
 body.zamar-classic-checkout-v173 #order_review table.shop_table,
 body.zamar-classic-checkout-v174 #order_review table.shop_table { margin-bottom:16px; }
 body.zamar-classic-checkout-v173 #payment,
 body.zamar-classic-checkout-v174 #payment { background:transparent !important; }
 body.zamar-classic-checkout-v173 #payment ul.payment_methods,
 body.zamar-classic-checkout-v174 #payment ul.payment_methods { padding:0 !important; border:0 !important; }
 body.zamar-classic-checkout-v173 #payment ul.payment_methods > li,
 body.zamar-classic-checkout-v174 #payment ul.payment_methods > li { margin:0 0 12px !important; padding:15px !important; border:1px solid #eadfe5; border-radius:16px; background:#fff; }
 body.zamar-classic-checkout-v173 #payment ul.payment_methods > li:has(input:checked),
 body.zamar-classic-checkout-v174 #payment ul.payment_methods > li:has(input:checked) { border-color:#5b104c; box-shadow:0 0 0 2px rgba(91,16,76,.08); background:#fff9fc; }
 body.zamar-classic-checkout-v173 #payment .payment_box,
 body.zamar-classic-checkout-v174 #payment .payment_box { margin:12px 0 0 !important; padding:15px !important; background:#fff !important; border:1px solid #f0e5ea; border-radius:14px; color:#554a54 !important; font-size:15px; line-height:1.55; }
 body.zamar-classic-checkout-v173 #payment .payment_box:before,
 body.zamar-classic-checkout-v174 #payment .payment_box:before { display:none !important; }
 body.zamar-classic-checkout-v173 #payment .payment_box p,
 body.zamar-classic-checkout-v173 #payment .payment_box li,
 body.zamar-classic-checkout-v173 #payment .payment_box label,
 body.zamar-classic-checkout-v174 #payment .payment_box p,
 body.zamar-classic-checkout-v174 #payment .payment_box li,
 body.zamar-classic-checkout-v174 #payment .payment_box label { color:#554a54 !important; font-size:15px !important; line-height:1.55 !important; }
 body.zamar-classic-checkout-v173 #payment .payment_box ol,
 body.zamar-classic-checkout-v173 #payment .payment_box ul,
 body.zamar-classic-checkout-v174 #payment .payment_box ol,
 body.zamar-classic-checkout-v174 #payment .payment_box ul { margin:8px 0 12px 20px !important; }
 body.zamar-classic-checkout-v173 #payment input[type=text],
 body.zamar-classic-checkout-v174 #payment input[type=text] { min-height:52px; border:1px solid #d9cdd4 !important; border-radius:12px !important; color:#3c303b !important; background:#fff !important; font-size:17px !important; }
 body.zamar-classic-checkout-v173 #payment .place-order,
 body.zamar-classic-checkout-v174 #payment .place-order { padding:12px 0 0 !important; }
 body.zamar-classic-checkout-v173 #place_order,
 body.zamar-classic-checkout-v174 #place_order { width:100% !important; min-height:58px !important; border:0 !important; border-radius:18px !important; background:#5b104c !important; color:#fff !important; font-size:18px !important; font-weight:700 !important; opacity:1 !important; box-shadow:0 10px 24px rgba(91,16,76,.16); }
 body.zamar-classic-checkout-v173 #place_order:disabled,
 body.zamar-classic-checkout-v174 #place_order:disabled { opacity:.55 !important; }
 body.zamar-classic-checkout-v173 .woocommerce-checkout-review-order-table .product-name,
 body.zamar-classic-checkout-v174 .woocommerce-checkout-review-order-table .product-name { font-size:15px !important; line-height:1.35 !important; }
 body.zamar-classic-checkout-v173 .woocommerce-checkout-review-order-table .product-name p,
 body.zamar-classic-checkout-v174 .woocommerce-checkout-review-order-table .product-name p { display:none !important; }
 body.zamar-classic-checkout-v173 .woocommerce-checkout-review-order-table td,
 body.zamar-classic-checkout-v173 .woocommerce-checkout-review-order-table th,
 body.zamar-classic-checkout-v174 .woocommerce-checkout-review-order-table td,
 body.zamar-classic-checkout-v174 .woocommerce-checkout-review-order-table th { padding:12px 8px !important; }
}
