/**
 * @package     LoginSecure
 * @subpackage  VIK TakeAway Cart Module
 *
 * @copyright   Copyright (C) 2009 - 2026 LoginSecure. All rights reserved.
 * @license     Proprietary. No redistribution allowed.
 *
 * Frontend Stylesheet:
 * - Responsive breakpoint logic (dynamic via CSS custom property)
 * - Z-Index hierarchy (Bar/Sidebar: 9990, Drawer Overlay: 9999, Modals: 10005)
 * - Small screen: Fixed bottom bar + bottom sheet drawer
 * - Large screen: Sticky sidebar with 5 zones
 * - Upsell responsive layout (horizontal touch-strip on mobile, vertical stack on desktop)
 * - Highlight animations, micro-feedback, toast
 *
 * @since 6.0.1
 */

/* =========================================================================
   CSS Custom Properties (Defaults – can be overridden by the template)
   ========================================================================= */
:root {
    --ls-tac-bar-zindex: 9990;
    --ls-tac-drawer-zindex: 9999;
    --ls-tac-modal-zindex: 10005;
    --ls-tac-accent: #2f7d32;
    --ls-tac-accent-light: #e8f5e9;
    --ls-tac-danger: #bb2d3b;
    --ls-tac-text: #1a1a1a;
    --ls-tac-text-muted: #6c757d;
    --ls-tac-bg: #ffffff;
    --ls-tac-bg-overlay: rgba(0, 0, 0, 0.5);
    --ls-tac-border: #dee2e6;
    --ls-tac-radius: 0.75rem;
    --ls-tac-radius-sm: 0.375rem;
    --ls-tac-shadow: 0 -2px 12px rgba(0, 0, 0, 0.12);
    --ls-tac-shadow-lg: 0 -4px 24px rgba(0, 0, 0, 0.18);
    --ls-tac-font-size: 0.9375rem;
    --ls-tac-transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* =========================================================================
   FOUC Prevention: Hide bar/sidebar by default until JS takes over.
   frontend.js (deferred) removes this class on init.
   ========================================================================= */
.ls-tac--js-pending {
    visibility: hidden;
    opacity: 0;
}

.ls-tac--js-ready {
    visibility: visible;
    opacity: 1;
    transition: opacity 0.2s ease-in;
}

/* =========================================================================
   Utility Classes
   ========================================================================= */
.ls-tac--hidden {
    display: none !important;
}

.ls-tac--sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* =========================================================================
   Body lock when drawer is open
   ========================================================================= */
body.ls-tac-drawer-open {
    overflow: hidden;
}

/* =========================================================================
   SMALL SCREEN: Fixed Floating Bar (≤ breakpoint)
   ========================================================================= */
.ls-tac-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: var(--ls-tac-bar-zindex);
    background: var(--ls-tac-bg);
    border-top: 1px solid var(--ls-tac-border);
    box-shadow: var(--ls-tac-shadow);
    padding: 0;
    font-size: var(--ls-tac-font-size);
    color: var(--ls-tac-text);
    -webkit-font-smoothing: antialiased;
    transition: transform var(--ls-tac-transition);
}

/* --- Empty State (State A) --- */
.ls-tac-bar__empty {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.625rem 1rem;
    gap: 0.75rem;
}

.ls-tac-bar__empty-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.8125rem;
    color: var(--ls-tac-text-muted);
}

.ls-tac-bar__icon {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    white-space: nowrap;
}

.ls-tac-bar__time {
    font-weight: 500;
}

.ls-tac-bar__cta {
    border: none;
    border-radius: var(--ls-tac-radius-sm);
    padding: 0.5rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease, opacity 0.2s ease;
    white-space: nowrap;
}

.ls-tac-bar__cta--empty {
    background: var(--ls-tac-border);
    color: var(--ls-tac-text-muted);
    cursor: default;
}

.ls-tac-bar__cta--view {
    background: var(--ls-tac-accent);
    color: #fff;
}

.ls-tac-bar__cta--view:hover {
    filter: brightness(1.1);
}

/* --- Active State (State B) --- */
.ls-tac-bar__active {
    position: relative;
}

.ls-tac-bar__active-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.625rem 1rem;
    gap: 0.75rem;
}

.ls-tac-bar__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.75rem;
    height: 1.75rem;
    border-radius: 50%;
    background: var(--ls-tac-accent);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0 0.375rem;
}

.ls-tac-bar__total {
    font-size: 1rem;
    font-weight: 700;
    flex: 1;
    text-align: right;
    padding-right: 0.5rem;
}

.ls-tac-bar__handle {
    display: block;
    text-align: center;
    font-size: 0.75rem;
    color: var(--ls-tac-text-muted);
    padding: 0.125rem 0;
    opacity: 0.5;
    user-select: none;
}

/* --- Micro-Feedback State (State C) --- */
.ls-tac-bar__feedback {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.625rem 1rem;
    min-height: 3rem;
}

.ls-tac-bar__feedback-text {
    font-weight: 600;
    color: var(--ls-tac-accent);
    text-align: center;
}

@keyframes ls-tac-pulse {
    0%   { background-color: transparent; }
    30%  { background-color: var(--ls-tac-accent-light); }
    100% { background-color: transparent; }
}

.ls-tac-bar__feedback--pulse {
    animation: ls-tac-pulse 0.8s ease-in-out;
}

/* =========================================================================
   BOTTOM SHEET DRAWER (State D - ≤ breakpoint)
   ========================================================================= */
.ls-tac-drawer {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: var(--ls-tac-drawer-zindex);
    pointer-events: none;
}

.ls-tac-drawer--open {
    pointer-events: auto;
}

/* Backdrop */
.ls-tac-drawer__backdrop {
    position: absolute;
    inset: 0;
    background: var(--ls-tac-bg-overlay);
    opacity: 0;
    transition: opacity var(--ls-tac-transition);
}

.ls-tac-drawer--open .ls-tac-drawer__backdrop {
    opacity: 1;
}

/* Panel */
.ls-tac-drawer__panel {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    max-height: 85vh;
    background: var(--ls-tac-bg);
    border-radius: var(--ls-tac-radius) var(--ls-tac-radius) 0 0;
    box-shadow: var(--ls-tac-shadow-lg);
    transform: translateY(100%);
    transition: transform var(--ls-tac-transition);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.ls-tac-drawer--open .ls-tac-drawer__panel {
    transform: translateY(0);
}

/* Drawer Header */
.ls-tac-drawer__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem 0.75rem;
    border-bottom: 1px solid var(--ls-tac-border);
    flex-shrink: 0;
}

.ls-tac-drawer__title {
    font-size: 1.125rem;
    font-weight: 700;
    margin: 0;
}

.ls-tac-drawer__close {
    background: none;
    border: none;
    font-size: 1.25rem;
    cursor: pointer;
    padding: 0.25rem;
    line-height: 1;
    color: var(--ls-tac-text-muted);
}

/* Drawer Time Slot */
.ls-tac-drawer__timeslot {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    font-size: 0.8125rem;
    color: var(--ls-tac-text-muted);
    border-bottom: 1px solid var(--ls-tac-border);
    flex-shrink: 0;
}

.ls-tac-drawer__timeslot-sep {
    color: var(--ls-tac-border);
}

/* Drawer Items List */
.ls-tac-drawer__items {
    flex: 1;
    overflow-y: auto;
    padding: 0.75rem 1.25rem;
    overscroll-behavior: contain;
}

.ls-tac-drawer__empty-msg {
    text-align: center;
    padding: 2rem 1rem;
    color: var(--ls-tac-text-muted);
    font-style: italic;
}

/* Drawer Footer */
.ls-tac-drawer__footer {
    padding: 0.75rem 1.25rem 1rem;
    border-top: 1px solid var(--ls-tac-border);
    flex-shrink: 0;
}

.ls-tac-drawer__total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.ls-tac-drawer__total-value {
    font-size: 1.125rem;
    font-weight: 700;
}

.ls-tac-drawer__checkout {
    display: block;
    width: 100%;
    padding: 0.875rem;
    border: none;
    border-radius: var(--ls-tac-radius-sm);
    background: var(--ls-tac-accent);
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    text-align: center;
    transition: background-color 0.2s ease, filter 0.2s ease;
}

.ls-tac-drawer__checkout:hover {
    filter: brightness(1.1);
}

/* =========================================================================
   SHARED: Cart Item Row (used in both Drawer and Sidebar)
   ========================================================================= */
.ls-tac-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.625rem 0;
    border-bottom: 1px solid var(--ls-tac-border);
    gap: 0.5rem;
    transition: background-color 0.3s ease;
}

.ls-tac-item:last-child {
    border-bottom: none;
}

/* Highlight animation for new items */
@keyframes ls-tac-highlight {
    0%   { background-color: var(--ls-tac-accent-light); }
    100% { background-color: transparent; }
}

.ls-tac-item--highlight {
    animation: ls-tac-highlight 2s ease-out;
    border-radius: var(--ls-tac-radius-sm);
}

.ls-tac-item__info {
    flex: 1;
    min-width: 0;
}

.ls-tac-item__name {
    display: block;
    font-weight: 600;
    font-size: 0.875rem;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ls-tac-item__option {
    display: block;
    font-size: 0.75rem;
    color: var(--ls-tac-text-muted);
    margin-top: 0.125rem;
}

.ls-tac-item__qty {
    font-weight: 700;
    min-width: 1.5rem;
    text-align: center;
}

.ls-tac-item__controls {
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

.ls-tac-item__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border: 1px solid var(--ls-tac-border);
    border-radius: var(--ls-tac-radius-sm);
    background: var(--ls-tac-bg);
    cursor: pointer;
    font-size: 1rem;
    line-height: 1;
    transition: background-color 0.15s ease, border-color 0.15s ease;
    padding: 0;
}

.ls-tac-item__btn:hover {
    background: var(--ls-tac-accent-light);
    border-color: var(--ls-tac-accent);
}

.ls-tac-item__btn--remove {
    color: var(--ls-tac-danger);
    border-color: transparent;
}

.ls-tac-item__btn--remove:hover {
    background: #fce4e6;
    border-color: var(--ls-tac-danger);
}

.ls-tac-item__price {
    font-weight: 600;
    font-size: 0.875rem;
    white-space: nowrap;
    text-align: right;
    min-width: 4rem;
}

.ls-tac-item__right {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.ls-tac-item__qty-badge {
    display: inline-block;
    font-weight: 700;
    font-size: 0.8125rem;
    min-width: 1.5rem;
    text-align: center;
}

/* =========================================================================
   Item Toppings (Extra's & Choice Selections)
   ========================================================================= */
.ls-tac-item__toppings {
    width: 100%;
    margin-top: 0.25rem;
    padding-left: 0.875rem;
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
}

.ls-tac-item__topping {
    font-size: 0.75rem;
    line-height: 1.4;
    color: #6B7280;
}

.ls-tac-item__topping--extra {
    color: #6B7280;
}

.ls-tac-item__topping--included {
    color: #6B7280;
}

.ls-tac-item__note {
    width: 100%;
    font-size: 0.75rem;
    font-style: italic;
    color: #6B7280;
    margin-top: 0.25rem;
    padding-left: 0.875rem;
}

/* =========================================================================
   TOAST NOTIFICATION
   ========================================================================= */
.ls-tac-toast {
    position: fixed;
    bottom: 5rem;
    left: 50%;
    transform: translateX(-50%) translateY(1rem);
    z-index: var(--ls-tac-modal-zindex);
    background: var(--ls-tac-text);
    color: #fff;
    padding: 0.75rem 1.5rem;
    border-radius: var(--ls-tac-radius);
    font-size: 0.875rem;
    font-weight: 500;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
    max-width: 90vw;
    text-align: center;
}

.ls-tac-toast--visible {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.ls-tac-toast--hidden {
    opacity: 0;
    transform: translateX(-50%) translateY(1rem);
}

/* =========================================================================
   LARGE SCREEN: Persistent Sticky Sidebar (> breakpoint)
   ========================================================================= */
.ls-tac-sidebar {
    position: sticky;
    top: var(--ls-tac-sticky-offset, 20px);
    z-index: var(--ls-tac-bar-zindex);
    background: var(--ls-tac-bg);
    border: 1px solid var(--ls-tac-border);
    border-radius: var(--ls-tac-radius);
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    max-height: calc(100vh - var(--ls-tac-sticky-offset, 20px) * 2);
    overflow: hidden;
    font-size: var(--ls-tac-font-size);
    color: var(--ls-tac-text);
}

/* --- Zone Base --- */
.ls-tac-zone {
    padding: 0.875rem 1rem;
}

.ls-tac-zone + .ls-tac-zone {
    border-top: 1px solid var(--ls-tac-border);
}

/* --- Zone 1: Status Header --- */
.ls-tac-zone--1 {
    padding: 0.75rem 1rem;
}

.ls-tac-zone1__status {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.375rem;
    font-size: 0.8125rem;
    color: var(--ls-tac-text-muted);
}

.ls-tac-zone1__dot {
    display: inline-block;
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background: #adb5bd;
}

.ls-tac-zone1__dot--open {
    background: var(--ls-tac-accent);
}

.ls-tac-zone1__dot--closed {
    background: var(--ls-tac-danger);
}

.ls-tac-zone1__sep {
    color: var(--ls-tac-border);
}

/* --- Zone 2: Live Items List --- */
.ls-tac-zone--2 {
    flex: 1;
    overflow-y: auto;
    padding: 0.5rem 1rem;
    overscroll-behavior: contain;
}

.ls-tac-zone2__items {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.ls-tac-zone2__empty {
    text-align: center;
    padding: 1.5rem 0.5rem;
    color: var(--ls-tac-text-muted);
    font-style: italic;
    font-size: 0.875rem;
}

/* Sidebar item row (Zone 2 specific layout) */
.ls-tac-zone--2 .ls-tac-item {
    flex-wrap: wrap;
}

.ls-tac-zone--2 .ls-tac-item__info {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
}

.ls-tac-zone--2 .ls-tac-item__qty-badge {
    color: var(--ls-tac-accent);
    font-weight: 700;
}

.ls-tac-zone--2 .ls-tac-item__right {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* --- Zone 3: Smart Native Upsells --- */
.ls-tac-zone--3 {
    padding: 0.75rem 1rem;
}

.ls-tac-zone3__title {
    font-size: 0.875rem;
    font-weight: 700;
    margin: 0 0 0.625rem 0;
    color: var(--ls-tac-text);
}

.ls-tac-zone3__items {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.ls-tac-zone3__empty {
    text-align: center;
    color: var(--ls-tac-text-muted);
    font-size: 0.8125rem;
    margin: 0;
}

/* Upsell Card */
.ls-tac-upsell {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.5rem;
    border: 1px solid var(--ls-tac-border);
    border-radius: var(--ls-tac-radius-sm);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.ls-tac-upsell:hover {
    border-color: var(--ls-tac-accent);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.ls-tac-upsell__img img {
    width: 2.5rem;
    height: 2.5rem;
    object-fit: cover;
    border-radius: var(--ls-tac-radius-sm);
}

.ls-tac-upsell__info {
    flex: 1;
    min-width: 0;
}

.ls-tac-upsell__name {
    display: block;
    font-size: 0.8125rem;
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ls-tac-upsell__price {
    display: block;
    font-size: 0.75rem;
    color: var(--ls-tac-text-muted);
}
.ls-tac-upsell__condiments {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    margin: 0.125rem 0;
}
.ls-tac-upsell__condiments .food-attribute {
    width: 0.875rem;
    height: 0.875rem;
    font-size: 0.75rem;
    object-fit: contain;
}

.ls-tac-upsell__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border: 1px solid var(--ls-tac-accent);
    border-radius: var(--ls-tac-radius-sm);
    background: transparent;
    color: var(--ls-tac-accent);
    font-size: 1.125rem;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.15s ease, color 0.15s ease;
    padding: 0;
    flex-shrink: 0;
}

.ls-tac-upsell__btn:hover {
    background: var(--ls-tac-accent);
    color: #fff;
}

.ls-tac-upsell__price--original {
    opacity: 0.6;
    font-size: 0.85em;
    margin-right: 4px;
}
.ls-tac-upsell__price--action {
    color: #c0392b;
    font-weight: 700;
}
.ls-tac-upsell__header {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}
.ls-tac-upsell__price-row {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin-top: 2px;
}
.ls-tac-upsell__deal-badge {
    all: unset;
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    align-self: center;
    height: 20px;
    line-height: 20px;
    padding: 0 10px;
    font-size: 11px;
    font-weight: 700;
    border-radius: 999px;
    background: #ffe08a;
    color: #7a4b00;
    cursor: pointer;
    white-space: nowrap;
}
.ls-tac-upsell__deal-badge--used {
    background: #e0e0e0;
    color: #666;
}
.ls-tac-item__price--mixed {
    cursor: help;
}
.ls-tac-item__price-before {
    opacity: 0.6;
    font-size: 0.85em;
    margin-right: 4px;
}
.ls-tac-item__gift-badge {
    all: unset;
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    align-self: center;
    height: 20px;
    line-height: 20px;
    padding: 0 10px;
    font-size: 11px;
    font-weight: 700;
    border-radius: 999px;
    background: #b7e4c7;
    color: #1b5e20;
    cursor: help;
    white-space: nowrap;
}

/* --- Zone 4: Price Breakdown --- */
.ls-tac-zone--4 {
    padding: 0.75rem 1rem;
}

.ls-tac-zone4__row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.25rem 0;
    font-size: 0.8125rem;
}

.ls-tac-zone4__row + .ls-tac-zone4__row {
    border-top: 1px dashed var(--ls-tac-border);
    margin-top: 0.25rem;
    padding-top: 0.375rem;
}

.ls-tac-zone4__value {
    font-weight: 600;
}

/* --- Zone 5: Sticky CTA Button --- */
.ls-tac-zone--5 {
    padding: 0.75rem 1rem;
    flex-shrink: 0;
    border-top: 1px solid var(--ls-tac-border);
}

.ls-tac-zone5__cta {
    display: block;
    width: 100%;
    padding: 0.875rem 1rem;
    border: none;
    border-radius: var(--ls-tac-radius-sm);
    background: var(--ls-tac-accent);
    color: #fff;
    font-size: 0.9375rem;
    font-weight: 700;
    cursor: pointer;
    text-align: center;
    transition: background-color 0.2s ease, filter 0.2s ease;
    letter-spacing: 0.025em;
}

.ls-tac-zone5__cta:hover {
    filter: brightness(1.1);
}

/* =========================================================================
   RESPONSIVE UPSELL LAYOUT
   ========================================================================= */

/* Mobile (Drawer): Horizontal touch-strip */
@media (max-width: 767px) {
    .ls-tac-drawer .ls-tac-zone3__items {
        display: flex;
        flex-direction: row;
        gap: 0.625rem;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 0.5rem;
        scrollbar-width: none;
    }

    .ls-tac-drawer .ls-tac-zone3__items::-webkit-scrollbar {
        display: none;
    }

    .ls-tac-drawer .ls-tac-upsell {
        flex: 0 0 auto;
        min-width: 10rem;
        scroll-snap-align: start;
    }
}

/* Desktop (Sidebar): Vertical stack – NO overflow-x: scroll */
@media (min-width: 768px) {
    .ls-tac-sidebar .ls-tac-zone3__items {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
        overflow: visible;
    }
}

/* =========================================================================
   VIK Restaurants Modal / Pop-up Override
   Fixes z-index hierarchy so VIK modals appear ABOVE module overlays.
   ========================================================================= */
#vrnewitemoverlay,
.fancybox-wrap,
.fancybox-overlay,
.vr-overlay,
[class*="vikrestaurants"][class*="overlay"],
[class*="vikrestaurants"][class*="modal"] {
    z-index: var(--ls-tac-modal-zindex) !important;
}

/* Fancybox inner */
.fancybox-wrap .fancybox-inner {
    z-index: calc(var(--ls-tac-modal-zindex) + 1) !important;
}

/* =========================================================================
   Mobile-specific: Ensure drawer doesn't overlap the bar
   ========================================================================= */
.ls-tac-drawer--open .ls-tac-drawer__panel {
    padding-bottom: 0;
}

/* =========================================================================
   Print: Hide the module entirely
   ========================================================================= */
@media print {
    .ls-tac-bar,
    .ls-tac-sidebar,
    .ls-tac-drawer,
    .ls-tac-toast {
        display: none !important;
    }
}

/* =========================================================================
   Accessibility: Focus indicators
   ========================================================================= */
.ls-tac-item__btn:focus-visible,
.ls-tac-upsell__btn:focus-visible,
.ls-tac-bar__cta:focus-visible,
.ls-tac-drawer__checkout:focus-visible,
.ls-tac-zone5__cta:focus-visible,
.ls-tac-drawer__close:focus-visible {
    outline: 2px solid var(--ls-tac-accent);
    outline-offset: 2px;
}
.ls-tac-zone4__row--free-delivery {
    display: block;
    padding: 0.6rem 0.75rem;
    border-radius: 0.5rem;
    background: #eef7ee;
}
.ls-tac-zone4__row--free-delivery-active_neutral,
.ls-tac-zone4__row--free-delivery-active_festive {
    background: #e3f4e3;
}
.ls-tac-zone4__free-delivery-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.ls-tac-zone4__free-delivery-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: #2e7d32;
    line-height: 1;
}
.ls-tac-zone4__free-delivery-text {
    font-size: 0.9rem;
    font-weight: 600;
    color: #1b5e20;
}
.ls-tac-zone4__free-delivery-bar-track {
    margin-top: 0.4rem;
    height: 6px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.08);
    overflow: hidden;
}
.ls-tac-zone4__free-delivery-bar-fill {
    height: 100%;
    border-radius: 999px;
    background: #2e7d32;
    transition: width 0.3s ease;
}
.ls-tac-zone4__row--free-delivery-active_neutral .ls-tac-zone4__free-delivery-bar-fill,
.ls-tac-zone4__row--free-delivery-active_festive .ls-tac-zone4__free-delivery-bar-fill {
    background: #2e7d32;
}
