�

        .cart-sticky {
            position: sticky;
            top: 24px;
            z-index: 90;
        }

        /* BANNER & HEADER */
        .store-banner {
            height: 200px;
            background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
            background-size: cover;
            background-position: center;
            position: relative;
            margin-bottom: -30px;
        }
        

        .store-banner::after {
            content: '';
            position: absolute;
            top: 0; left: 0; right: 0; bottom: 0;
            background: linear-gradient(to bottom, rgba(0,0,0,0.1), rgba(0,0,0,0.45));
        }

        .sticky-header-wrapper {
            position: sticky;
            top: -1px;
            z-index: 105;
        }

        .store-header {
            background: white;
            border-radius: 32px 32px 0 0;
            position: relative;
            z-index: 5;
            padding: 24px 20px 16px 20px;
            box-shadow: 0 -10px 30px rgba(0,0,0,0.03);
            text-align: center;
            border-top: 6px solid var(--primary-color);
        }

        .store-logo-wrapper {
            width: 120px;
            height: 120px;
            background: white;
            border-radius: 28px;
            padding: 6px;
            box-shadow: var(--premium-shadow);
            margin: -84px auto 16px auto;
            position: relative;
            z-index: 10;
        }

        .store-logo {
            width: 100%;
            height: 100%;
            border-radius: 22px;
            object-fit: cover;
        }

        .store-status-badge {
            background: rgba(16, 185, 129, 0.1);
            color: #10b981;
            font-weight: 600;
            font-size: 0.8rem;
            padding: 6px 14px;
            border-radius: 30px;
            display: inline-flex;
            align-items: center;
            gap: 6px;
            margin-top: 8px;
        }

        .store-status-badge .dot {
            width: 8px;
            height: 8px;
            background-color: #10b981;
            border-radius: 50%;
            animation: pulse-dot 1.8s infinite;
        }

        @keyframes pulse-dot {
            0% { transform: scale(0.9); opacity: 1; }
            50% { transform: scale(1.4); opacity: 0.4; }
            100% { transform: scale(0.9); opacity: 1; }
        }

        /* COMPACT HEADER SCROLL */
        .sticky-header-wrapper {
            position: sticky;
            top: -1px;
            z-index: 105;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .store-header, 
        .store-logo-wrapper, 
        .store-logo, 
        #storeTitle, 
        #storeDesc, 
        #storeBadges, 
        #storeBadges .text-secondary, 
        #storeTimeRow,
        .categories-container {
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }

        @media (max-width: 991px) {
            .sticky-header-wrapper.scrolled .store-header {
                padding: 10px 20px 8px 20px;
                display: flex;
                align-items: center;
                border-radius: 0;
                box-shadow: 0 4px 15px rgba(0,0,0,0.05);
            }

            .sticky-header-wrapper.scrolled #storeLogoWrapper {
                width: 44px;
                height: 44px;
                margin: 0 12px 0 0;
                padding: 2px;
                border-radius: 12px;
                box-shadow: 0 2px 8px rgba(0,0,0,0.1);
            }

            .sticky-header-wrapper.scrolled #storeLogoWrapper .store-logo {
                border-radius: 10px;
            }        @media (max-width: 991px) {
            .sticky-header-wrapper.scrolled #storeTitle {
                font-size: 1.1rem;
                white-space: nowrap;
                overflow: hidden;
                text-overflow: ellipsis;
                max-width: 180px;
            }
            .sticky-header-wrapper.scrolled .btn-install-pwa {
                position: absolute !important;
                right: 15px;
                top: 50%;
                transform: translateY(-50%);
                margin: 0 !important;
                padding: 4px 10px !important;
            }
            .sticky-header-wrapper.scrolled .btn-install-pwa span {
                display: none;
            }
        }

            .sticky-header-wrapper.scrolled #storeDesc {
                opacity: 0;
                max-height: 0;
                max-width: 0;
                font-size: 0;
                white-space: nowrap;
                margin: 0 !important;
                padding: 0 !important;
                overflow: hidden;
                line-height: 0;
            }

            .sticky-header-wrapper.scrolled #storeBadges {
                margin-left: auto;
                margin-top: 0 !important;
                gap: 8px !important;
            }

            .sticky-header-wrapper.scrolled #btnInstallPWA {
                margin: 0 0 0 8px !important;
            }

            @media (max-width: 576px) {
                .sticky-header-wrapper.scrolled #storeBadges {
                    display: none !important;
                }
                .sticky-header-wrapper.scrolled #btnInstallPWA {
                    margin-left: auto !important;
                    padding: 6px 10px !important;
                }
                .sticky-header-wrapper.scrolled #btnInstallPWA span {
                    display: none !important;
                }
            }

            .sticky-header-wrapper.scrolled #storeBadges .text-secondary {
                opacity: 0;
                max-height: 0;
                max-width: 0;
                white-space: nowrap;
                margin: 0 !important;
                padding: 0 !important;
                overflow: hidden;
                font-size: 0;
                line-height: 0;
            }

            .sticky-header-wrapper.scrolled #storeTimeRow {
                opacity: 0;
                max-height: 0;
                max-width: 0;
                font-size: 0;
                white-space: nowrap;
                margin: 0 !important;
                padding: 0 !important;
                overflow: hidden;
                line-height: 0;
            }

            .sticky-header-wrapper.scrolled .categories-container {
                padding: 8px 0;
            }

            /* COMPENSATE HEIGHT LOST ON SCROLL */
            body.header-scrolled {
                padding-top: 140px;
            }
        }

        /* CATEGORIES SCROLL BAR */
        .categories-container {
            background: white;
            box-shadow: 0 10px 20px -10px rgba(0,0,0,0.03);
            border-bottom: 1px solid #f1f5f9;
            padding: 12px 0;
        }

        .categories-wrapper {
            display: flex;
            overflow-x: auto;
            scroll-behavior: smooth;
            -webkit-overflow-scrolling: touch;
            padding: 0 16px;
            gap: 10px;
        }

        .categories-wrapper::-webkit-scrollbar {
            display: none;
        }

        .category-pill {
            white-space: nowrap;
            background: #f1f5f9;
            color: var(--secondary-color);
            padding: 10px 20px;
            border-radius: 16px;
            font-weight: 600;
            font-size: 0.9rem;
            cursor: pointer;
            transition: all 0.25s ease;
            user-select: none;
            border: 1px solid transparent;
        }

        .category-pill:hover {
            color: var(--dark-color);
            border-color: var(--secondary-color);
            background: #f8fafc;
        }

        .category-pill.active {
            background: var(--primary-color);
            color: white;
            box-shadow: 0 8px 16px var(--primary-glow);
        }

        /* SEARCH BAR */
        .search-container {
            padding: 16px;
        }

        .search-box {
            position: relative;
            background: white;
            border-radius: 16px;
            box-shadow: var(--card-shadow);
            border: 1px solid #f1f5f9;
            padding: 4px 6px;
            display: flex;
            align-items: center;
        }

        .search-box i {
            font-size: 1.2rem;
            color: var(--secondary-color);
            margin-left: 12px;
        }

        .search-box input {
            border: none;
            outline: none;
            width: 100%;
            padding: 10px 12px;
            font-size: 0.95rem;
            font-family: inherit;
        }

        /* PRODUCT CARDS */
        .products-section {
            padding: 0 16px 20px 16px;
        }

        .category-title {
            font-size: 1.25rem;
            font-weight: 800;
            margin: 28px 0 16px 0;
            color: var(--dark-color);
            display: flex;
            align-items: center;
            gap: 8px;
            border-left: 5px solid var(--primary-color);
            padding-left: 12px;
            border-radius: 3px;
        }

        .category-title::after {
            content: '';
            flex-grow: 1;
            height: 1px;
            background-color: #e2e8f0;
            margin-left: 12px;
        }

        .product-card {
            background: white;
            border-radius: 20px;
            padding: 14px;
            margin-bottom: 14px;
            box-shadow: var(--card-shadow);
            border: 1px solid rgba(241, 245, 249, 0.6);
            display: flex;
            gap: 14px;
            cursor: pointer;
            transition: transform 0.2s, box-shadow 0.2s;
        }

        .product-card:hover {
            transform: translateY(-2px);
            box-shadow: 0 14px 30px rgba(15, 23, 42, 0.07);
            border-color: var(--primary-color);
        }

        .product-info {
            flex-grow: 1;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            min-width: 0;
        }

        .product-title {
            font-weight: 700;
            font-size: 1rem;
            color: var(--dark-color);
            margin: 0 0 4px 0;
            line-height: 1.3;
        }

        .product-desc {
            font-size: 0.85rem;
            color: #64748b;
            margin-bottom: 8px;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
            line-height: 1.4;
        }

        .product-price-row {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-top: auto;
        }

        .product-price {
            font-weight: 800;
            color: var(--primary-color);
            font-size: 1.1rem;
        }

        .product-add-badge {
            width: 32px;
            height: 32px;
            background: var(--primary-color);
            color: white;
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.1rem;
            font-weight: bold;
            transition: all 0.2s;
            box-shadow: 0 4px 10px var(--primary-glow);
        }

        .product-card:hover .product-add-badge {
            transform: scale(1.1);
        }

        .product-img-wrapper {
            width: 96px;
            height: 96px;
            border-radius: 16px;
            overflow: hidden;
            flex-shrink: 0;
            background-color: #f1f5f9;
        }

        .product-img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        /* PREMIUM BOTTOM SHEET / MODAL FOR VARIATIONS */
        .bottom-sheet {
            position: fixed;
            top: 0; left: 0; right: 0; bottom: 0;
            background: rgba(15, 23, 42, 0.45);
            backdrop-filter: blur(8px);
            -webkit-backdrop-filter: blur(8px);
            z-index: 1050;
            display: flex;
            align-items: flex-end;
            justify-content: center;
            opacity: 0;
            pointer-events: none;
            transition: opacity 0.3s ease;
        }

        .bottom-sheet.show {
            opacity: 1;
            pointer-events: auto;
        }

        .bottom-sheet-content {
            background: white;
            width: 100%;
            max-width: 540px;
            max-height: 88vh;
            border-radius: 32px 32px 0 0;
            box-shadow: 0 -15px 40px rgba(0,0,0,0.1);
            transform: translateY(100%);
            transition: transform 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.12);
            display: flex;
            flex-direction: column;
            overflow: hidden;
        }

        .bottom-sheet.show .bottom-sheet-content {
            transform: translateY(0);
        }

        .bottom-sheet-header {
            padding: 20px 24px;
            border-bottom: 1px solid #f1f5f9;
            position: relative;
            flex-shrink: 0;
        }

        .bottom-sheet-drag-handle {
            width: 48px;
            height: 5px;
            background: #e2e8f0;
            border-radius: 10px;
            margin: -8px auto 14px auto;
        }

        .bottom-sheet-close {
            position: absolute;
            top: 18px;
            right: 20px;
            background: #f1f5f9;
            border: none;
            width: 32px;
            height: 32px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            color: #64748b;
            transition: background 0.2s;
        }

        .bottom-sheet-close:hover {
            background: #e2e8f0;
        }

        .bottom-sheet-body {
            padding: 20px 24px;
            overflow-y: auto;
            flex-grow: 1;
        }

        .bottom-sheet-footer {
            padding: 20px 24px;
            border-top: 1px solid #f1f5f9;
            background: #f8fafc;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 16px;
            flex-shrink: 0;
        }

        /* VARIATIONS IN BOTTOM SHEET */
        .variation-group-card {
            background: #f8fafc;
            border-radius: 18px;
            padding: 16px;
            margin-bottom: 16px;
            border: 1px solid rgba(226, 232, 240, 0.6);
        }

        .variation-group-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 12px;
        }

        .variation-group-title {
            font-size: 0.95rem;
            font-weight: 700;
            color: var(--dark-color);
            margin: 0;
        }

        .variation-group-badge {
            font-size: 0.75rem;
            font-weight: 600;
            padding: 4px 10px;
            border-radius: 8px;
        }

        .badge-required {
            background: var(--primary-glow);
            color: var(--primary-color);
        }

        .badge-optional {
            background: #e2e8f0;
            color: #475569;
        }

        .variation-option-row {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 10px 0;
            border-bottom: 1px solid rgba(226, 232, 240, 0.4);
            cursor: pointer;
        }

        .variation-option-row:last-child {
            border-bottom: none;
        }

        .variation-option-info {
            display: flex;
            align-items: center;
            gap: 10px;
            font-size: 0.9rem;
            font-weight: 500;
            color: #334155;
        }

        .variation-option-price {
            font-size: 0.85rem;
            font-weight: 700;
            color: #10b981;
        }

        /* STICKY BOTTOM APP CART BAR */
        .mobile-cart-bar {
            position: fixed;
            bottom: 20px;
            left: 20px;
            right: 20px;
            background: var(--primary-color);
            color: white;
            border-radius: 20px;
            padding: 16px 20px;
            box-shadow: 0 10px 30px rgba(225, 29, 72, 0.35);
            display: flex;
            align-items: center;
            justify-content: space-between;
            z-index: 999;
            cursor: pointer;
            transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.3s ease;
            transform: translateY(120%);
            opacity: 0;
        }

        .mobile-cart-bar.active {
            transform: translateY(0);
            opacity: 1;
        }

        .mobile-cart-bar:hover {
            transform: translateY(-2px);
        }

        .mobile-cart-left {
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .mobile-cart-badge {
            background: rgba(255, 255, 255, 0.2);
            padding: 4px 10px;
            border-radius: 8px;
            font-weight: 700;
            font-size: 0.85rem;
        }

        .mobile-cart-title {
            font-weight: 600;
            font-size: 0.95rem;
        }

        .mobile-cart-right {
            display: flex;
            align-items: center;
            gap: 8px;
            font-weight: 800;
            font-size: 1.05rem;
        }

        /* CART DRAWERS & CHECKOUT MODAL */
        .premium-drawer {
            position: fixed;
            top: 0; left: 0; right: 0; bottom: 0;
            background: rgba(15, 23, 42, 0.45);
            backdrop-filter: blur(8px);
            -webkit-backdrop-filter: blur(8px);
            z-index: 1060;
            display: flex;
            justify-content: flex-end;
            opacity: 0;
            pointer-events: none;
            transition: opacity 0.3s ease;
        }

        .premium-drawer.show {
            opacity: 1;
            pointer-events: auto;
        }

        .premium-drawer-content {
            background: white;
            width: 100%;
            max-width: 480px;
            height: 100%;
            box-shadow: -10px 0 40px rgba(0,0,0,0.1);
            transform: translateX(100%);
            transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
            display: flex;
            flex-direction: column;
        }

        .premium-drawer.show .premium-drawer-content {
            transform: translateX(0);
        }

        .premium-drawer-header {
            padding: 24px 20px;
            border-bottom: 1px solid #f1f5f9;
            display: flex;
            align-items: center;
            justify-content: space-between;
        }

        .premium-drawer-body {
            padding: 20px;
            overflow-y: auto;
            flex-grow: 1;
            background-color: var(--light-bg);
        }

        .premium-drawer-footer {
            padding: 24px 20px;
            border-top: 1px solid #f1f5f9;
            background: white;
        }

        /* CART ITEM CARDS */
        .cart-item-card {
            background: white;
            border-radius: 16px;
            padding: 14px;
            margin-bottom: 12px;
            box-shadow: var(--card-shadow);
            border: 1px solid rgba(226, 232, 240, 0.5);
        }

        .cart-item-title {
            font-weight: 700;
            font-size: 0.95rem;
            color: var(--dark-color);
        }

        .cart-item-extras {
            font-size: 0.8rem;
            color: #64748b;
            margin-top: 4px;
            line-height: 1.4;
        }

        .cart-item-price {
            font-weight: 700;
            color: var(--primary-color);
            font-size: 0.95rem;
        }

        /* QUANTITY INTERACTIVE CONTROLLER */
        .qty-controller {
            display: flex;
            align-items: center;
            background: #f1f5f9;
            border-radius: 12px;
            padding: 4px;
            gap: 12px;
        }

        .qty-btn {
            width: 32px;
            height: 32px;
            border-radius: 8px;
            background: white;
            border: none;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 800;
            color: var(--dark-color);
            cursor: pointer;
            transition: all 0.15s;
            box-shadow: 0 2px 4px rgba(0,0,0,0.03);
        }

        .qty-btn:hover {
            background: var(--primary-color);
            color: white;
        }

        .qty-val {
            font-weight: 700;
            font-size: 0.95rem;
            min-width: 14px;
            text-align: center;
        }

        /* DYNAMIC FORM SEGMENTS */
        .checkout-segment {
            background: white;
            border-radius: 20px;
            padding: 20px;
            margin-bottom: 16px;
            box-shadow: var(--card-shadow);
            border: 1px solid rgba(226, 232, 240, 0.5);
        }

        .checkout-segment-title {
            font-size: 1rem;
            font-weight: 700;
            color: var(--dark-color);
            margin-bottom: 16px;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .checkout-option-card {
            border: 2px solid #e2e8f0;
            border-radius: 14px;
            padding: 12px 16px;
            cursor: pointer;
            transition: all 0.2s;
            display: flex;
            align-items: center;
            gap: 10px;
            flex: 1;
            font-size: 0.9rem;
            font-weight: 600;
            color: #475569;
        }

        .checkout-option-card.active {
            border-color: var(--primary-color);
            background: var(--primary-glow);
            color: var(--primary-color);
        }

        /* PREMIUM DYNAMIC TOAST */
        #toast-container {
            position: fixed;
            top: 24px;
            right: 24px;
            z-index: 2000;
            display: flex;
            flex-direction: column;
            gap: 12px;
            pointer-events: none;
            max-width: 350px;
            width: calc(100% - 48px);
        }
        
        .premium-toast {
            pointer-events: auto;
            background: rgba(255, 255, 255, 0.9);
            backdrop-filter: blur(12px) saturate(180%);
            -webkit-backdrop-filter: blur(12px) saturate(180%);
            border: 1px solid rgba(255, 255, 255, 0.5);
            border-radius: 16px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
            padding: 14px 16px;
            position: relative;
            overflow: hidden;
            display: flex;
            align-items: flex-start;
            gap: 12px;
            transform: translateX(120%);
            opacity: 0;
            transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        }
        
        .premium-toast.show {
            transform: translateX(0);
            opacity: 1;
        }
        
        .premium-toast.hide {
            transform: translateX(120%) scale(0.9);
            opacity: 0;
        }
        
        .premium-toast-icon {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 28px;
            height: 28px;
            border-radius: 8px;
            font-size: 1rem;
            flex-shrink: 0;
        }
        
        .premium-toast-content {
            flex-grow: 1;
            padding-right: 14px;
        }
        
        .premium-toast-title {
            font-weight: 700;
            font-size: 0.9rem;
            color: #1e293b;
            margin-bottom: 2px;
        }
        
        .premium-toast-message {
            font-size: 0.8rem;
            color: #64748b;
            line-height: 1.4;
        }
        
        .premium-toast-close {
            position: absolute;
            top: 10px;
            right: 12px;
            background: none;
            border: none;
            color: #94a3b8;
            cursor: pointer;
            font-size: 1rem;
            padding: 0;
            line-height: 1;
        }
        
        .premium-toast-progress {
            position: absolute;
            bottom: 0;
            left: 0;
            height: 3px;
            width: 100%;
        }
        
        .toast-success { border-left: 5px solid #10b981; }
        .toast-success .premium-toast-icon { background: rgba(16, 185, 129, 0.15); color: #10b981; }
        .toast-success .premium-toast-progress { background: #10b981; animation: toast-bar 4s linear forwards; }
        
        .toast-danger { border-left: 5px solid #ef4444; }
        .toast-danger .premium-toast-icon { background: rgba(239, 68, 68, 0.15); color: #ef4444; }
        .toast-danger .premium-toast-progress { background: #ef4444; animation: toast-bar 4s linear forwards; }
        
        .toast-warning { border-left: 5px solid #f59e0b; }
        .toast-warning .premium-toast-icon { background: rgba(245, 158, 11, 0.15); color: #f59e0b; }
        .toast-warning .premium-toast-progress { background: #f59e0b; animation: toast-bar 4s linear forwards; }
        
        @keyframes toast-bar {
            from { width: 100%; }
            to { width: 0%; }
        }

        /* PWA SPINNER OVERLAY */
        #pwa-spinner-overlay {
            position: fixed;
            top: 0; left: 0; width: 100%; height: 100%;
            background: var(--light-bg);
            z-index: 9999;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            opacity: 1;
            transition: opacity 0.4s ease;
        }
        
        .pwa-spinner {
            width: 50px;
            height: 50px;
            border: 4px solid var(--primary-glow);
            border-top-color: var(--primary-color);
            border-radius: 50%;
            animation: pwa-spin 1s linear infinite;
            margin-bottom: 20px;
        }
        
        @keyframes pwa-spin {
            to { transform: rotate(360deg); }
        }


