/* Small local commerce adapter. Original visual styles live in assets/. */
html { scroll-behavior: smooth; }
body { margin: 0; }
img, video { max-width: 100%; }
button, [role="button"], a { -webkit-tap-highlight-color: transparent; }
[role="button"]:focus-visible, button:focus-visible, a:focus-visible { outline: 2px solid #199b62; outline-offset: 4px; }
.local-cart-items { padding: 20px; overflow: auto; flex: 1; }
.local-cart-item { display: grid; grid-template-columns: 76px minmax(0,1fr); gap: 18px; padding: 18px 0; border-bottom: 1px solid #dbe9e2; }
.local-cart-item img { width: 76px; height: 90px; object-fit: contain; }
.local-cart-item h3 { font: inherit; font-weight: 600; line-height: 1.35; margin: 0 0 8px; }
.local-cart-item p { margin: 3px 0 12px; font-size: 14px; }
.local-cart-quantity { display: inline-flex; align-items: center; border: 1px solid #bcdace; border-radius: 4px; }
.local-cart-quantity button { width: 34px; height: 32px; border: 0; background: transparent; cursor: pointer; color: #085431; font-size: 20px; }
.local-cart-quantity output { min-width: 28px; text-align: center; }
.local-cart-remove { border: 0; background: none; font: inherit; font-size: 12px; text-decoration: underline; margin-left: 12px; cursor: pointer; }
.local-cart-summary { padding: 20px; border-top: 1px solid #dbe9e2; }
.local-cart-subtotal { display: flex; justify-content: space-between; margin-bottom: 16px; font-size: 18px; }
.local-cart-checkout { display: block; box-sizing: border-box; width: 100%; padding: 15px; border: 0; border-radius: 5px; background: #00a491; color: white; font: inherit; font-weight: 600; text-align: center; text-decoration: none; cursor: pointer; }
.local-cart-checkout + .local-cart-checkout { margin-top: 10px; }
.local-cart-note { font-size: 12px; text-align: center; margin-top: 10px; }
#cart_drawer_content:has(.local-cart-items) { display: flex; flex-direction: column; height: 100%; min-height: 0; }
#cart-drawer.open { visibility: visible; }
/* Leave the last footer lines reachable above the original fixed offer bar. */
body:has(.custom_sticky_bottom-shopi.active) .lf-footer { padding-bottom: var(--local-sticky-height, 90px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
