/* Lensfiyat header cart. Existing drawer handlers and count semantics are retained. */
.lf-header #cart {background:none;overflow:visible;flex:none}
.lf-header #header-cart-toggle.lf-cart-trigger {display:flex;align-items:center;justify-content:center;gap:12px;min-height:50px;padding:8px 14px 8px 10px;border:1px solid #d4e4dc;border-radius:14px;background:#f3f8f5;color:#245b4e;box-shadow:none;line-height:1.2;text-decoration:none;transition:background .15s,border-color .15s}
.lf-header #header-cart-toggle.has-items {background:#087e69;border-color:#087e69;color:#fff}
.lf-header #header-cart-toggle:hover {background:#e7f2ec;border-color:#84b5a5}
.lf-header #header-cart-toggle.has-items:hover {background:#056451;border-color:#056451}
.lf-header #header-cart-toggle:focus-visible {outline:3px solid #92cbb9!important;outline-offset:3px}
.lf-header #header-cart-toggle .lf-cart-icon {position:relative;display:grid;place-items:center;flex:none;width:34px;height:32px;overflow:visible}
.lf-header #header-cart-toggle .lf-cart-icon>svg {display:block;width:26px;height:26px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.lf-header #header-cart-toggle #cart-quantity {position:absolute;right:-5px;top:-7px;display:grid;place-items:center;min-width:22px;height:22px;padding:0 5px;border:2px solid #087e69;border-radius:999px;background:#f5d800;color:#172e28;font-family:inherit;font-size:11px;font-weight:700;font-variant-numeric:tabular-nums;line-height:18px;box-sizing:border-box;white-space:nowrap}
.lf-header #header-cart-toggle #cart-quantity.is-empty {background:#fff;border-color:#f3f8f5;color:#60736c}
.lf-header #header-cart-toggle .lf-cart-label {display:flex;flex-direction:column;align-items:flex-start;gap:4px;min-width:0;padding:0;color:inherit;font-size:12px;font-weight:600}
.lf-header #header-cart-toggle .lf-cart-caption {font-size:10px;font-weight:400;line-height:1.2;color:inherit;opacity:.9;white-space:nowrap}
@media(max-width:1199px) and (min-width:768px){.lf-header #header-cart-toggle.lf-cart-trigger{padding-right:11px;gap:9px}}
@media(max-width:767px){
 .lf-header #header-cart-toggle.lf-cart-trigger{width:48px;min-width:48px;height:46px;min-height:46px;padding:6px;border-radius:12px;gap:0}
 .lf-header #header-cart-toggle .lf-cart-label{display:none}
 .lf-header #header-cart-toggle .lf-cart-icon{width:32px;height:30px}
 .lf-header #header-cart-toggle #cart-quantity{right:-4px;top:-6px}
}
@media(prefers-reduced-motion:reduce){.lf-header #header-cart-toggle{transition:none}}

/* Specific override for the theme's legacy mobile !important badge rule. */
.lf-header #header-cart-toggle.lf-cart-trigger.has-items .lf-cart-icon>svg{color:#fff;stroke:#fff}
.lf-header #header-cart-toggle.lf-cart-trigger #cart-quantity{display:flex!important;align-items:center!important;justify-content:center!important;right:-7px!important;top:-8px!important;left:auto!important;width:auto!important;min-width:24px!important;height:24px!important;min-height:24px!important;padding:0 5px!important;border:2px solid #087e69!important;background:#ffdc00!important;color:#163a2d!important;font-size:12px!important;line-height:20px!important;font-weight:750!important;font-variant-numeric:tabular-nums!important;letter-spacing:0!important;text-align:center!important;opacity:1!important;box-shadow:0 1px 3px #173e3220}
.lf-header #header-cart-toggle.lf-cart-trigger #cart-quantity.is-empty{background:#f4f7f4!important;border-color:#d9e6df!important;color:#536c5e!important;box-shadow:none}
@media(max-width:767px){.lf-header #header-cart-toggle.lf-cart-trigger{width:48px;min-width:48px;height:48px;min-height:48px;padding:6px;overflow:visible}.lf-header #header-cart-toggle.lf-cart-trigger #cart-quantity{right:-7px!important;top:-8px!important}}

/* Home badge occupies its own top line; product photos are never covered. */
body.common-home .product-thumb .lf-home-shipping-badge{position:relative;display:flex;align-items:center;justify-content:flex-start;gap:6px;width:100%;min-height:32px;padding:7px 10px;margin:0;border:1px solid #dce9df;border-bottom:0;border-radius:11px 11px 0 0;background:#f0f7f1;color:#246447;box-sizing:border-box;font-size:11px;font-weight:650;line-height:1.4}
body.common-home .product-thumb .lf-home-shipping-badge svg{display:block;flex:none;width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
body.common-home .product-thumb .lf-home-shipping-badge+.image{border-radius:0 0 14px 14px;border:1px solid #dce9df;border-top:0}
@media(max-width:359px){body.common-home .product-thumb .lf-home-shipping-badge{font-size:10px;gap:5px;padding:7px 8px}}

/* V3 neutral home shipping strip. */
body.common-home .product-thumb .lf-home-shipping-badge{border-color:#e4e7eb;background:#fff;color:#67727f;font-size:10px;font-weight:500}
body.common-home .product-thumb .lf-home-shipping-badge svg{stroke:#929ba5}
body.common-home .product-thumb .lf-home-shipping-badge+.image{border-color:#e4e7eb}

/* Keep the white icon and yellow count consistent when the cart is empty. */
.lf-header #header-cart-toggle.lf-cart-trigger:not(.has-items){background:#087e69;border-color:#087e69;color:#fff}
.lf-header #header-cart-toggle.lf-cart-trigger:not(.has-items):hover{background:#056451;border-color:#056451}
.lf-header #header-cart-toggle.lf-cart-trigger .lf-cart-icon>svg{color:#fff;stroke:#fff}
.lf-header #header-cart-toggle.lf-cart-trigger #cart-quantity.is-empty{background:#ffdc00!important;border-color:#087e69!important;color:#163a2d!important}
