/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #16A34A;         /* Brighter grocery green (Zepto-like) */
    --primary-dark: #15803D;
    --primary-light: #F0FDF4;
    --primary-gradient: linear-gradient(135deg, #16A34A 0%, #22C55E 100%);
    --accent: #E11D48;          /* Rose red for discounts/urgency (not orange) */
    --accent-light: #FFF1F2;
    --secondary: #0EA5E9;       /* Sky blue for info badges */
    --bg: #FFFFFF;              /* Pure white background (not off-white) */
    --bg-light: #F8FAFC;        /* Very subtle gray for sections */
    --surface: #FFFFFF;
    --text-primary: #0F172A;    /* Slate-900 (deeper, more premium) */
    --text-secondary: #475569;  /* Slate-600 */
    --text-muted: #94A3B8;      /* Slate-400 */
    --border: #E2E8F0;          /* Slate-200 (cleaner) */
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.04);
    --shadow: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -2px rgba(0,0,0,0.05);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.08), 0 4px 6px -4px rgba(0,0,0,0.04);
    --shadow-hover: 0 10px 25px -5px rgba(0,0,0,0.1);
    --radius: 12px;
    --radius-md: 14px;
    --radius-lg: 18px;
    --radius-xl: 24px;
    --radius-full: 9999px;
    --transition: all 0.2s ease;   /* Faster transitions (0.2s not 0.3s) */
}

html {
    scroll-behavior: smooth;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* Premium: cursor pointer on all clickable elements */
a, button, [onclick], .category-card, .offer-card, .brand-card,
.add-btn, .qty-controls button,
.header-action, .mobile-menu-btn, .scroll-top, .modal-close,
.cart-close, .cart-empty-btn, .checkout-btn, .app-btn,
.whatsapp-float, .call-float, .modal-btn, .offer-btn,
.cep-add, .deliver-to {
    cursor: pointer;
}

/* Premium: user-select none on buttons and nav */
button, .category-nav a, .btn-primary, .btn-outline,
.add-btn, .qty-controls button, .header-action,
.app-btn, .modal-btn, .checkout-btn, .cart-empty-btn,
.offer-btn, .scroll-top, .mobile-menu-btn {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Premium: Focus styles for accessibility */
.search-bar input:focus {
    outline: none;
}

button:focus-visible,
a:focus-visible,
.search-bar input:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

.search-bar:focus-within input {
    outline: none;
}

a {
    text-decoration: none;
    color: inherit;
}

ul { list-style: none; }

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    font-family: inherit;
}

.container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== TOP BAR ===== */
.top-bar {
    background: var(--text-primary);
    color: rgba(255,255,255,0.85);
    padding: 8px 0;
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 0.3px;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-left, .top-bar-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.top-bar a {
    color: rgba(255,255,255,0.85);
    transition: var(--transition);
}

.top-bar a:hover { color: #fff; }

.top-bar i { margin-right: 5px; }

.top-bar .highlight {
    color: #FFD54F;
    font-weight: 600;
}

/* ===== HEADER ===== */
.header {
    background: var(--surface);
    box-shadow: 0 1px 0 var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: box-shadow 0.3s;
}

.header.scrolled {
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 24px;
    gap: 24px;
}

.logo {
    flex-shrink: 0;
}

.ck-icon {
    height: 40px;
    width: auto;
}

/* CHOICE KART text */
.brand-text {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    line-height: 1.15;
    text-decoration: none;
}

.bt-name {
    font-size: 18px;
    font-weight: 800;
    letter-spacing: 0.5px;
}

.bt-choice { color: #1A1D2E; }
.bt-kart { color: #0A8F3F; }

.bt-tag {
    font-size: 9px;
    color: var(--text-muted);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-weight: 500;
}

/* Deliver To */
.deliver-to {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    padding: 8px 14px;
    border-radius: var(--radius);
    transition: var(--transition);
    flex-shrink: 0;
    border: 1px solid transparent;
}

.deliver-to:hover {
    background: var(--primary-light);
    border-color: var(--border);
}

.deliver-to i {
    font-size: 18px;
    color: var(--primary);
}

.deliver-to-text small {
    font-size: 10px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
}

.deliver-to-text strong {
    display: block;
    font-size: 14px;
    color: var(--text-primary);
}

/* Search Bar */
.search-bar {
    flex: 1;
    max-width: 580px;
    display: flex;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-full);
    overflow: hidden;
    transition: var(--transition);
}

.search-bar:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(10,143,63,0.1);
}

.search-icon-left {
    display: flex;
    align-items: center;
    padding-left: 18px;
    color: var(--text-muted);
    font-size: 14px;
    pointer-events: none;
}

.search-bar input {
    flex: 1;
    padding: 9px 14px;
    border: none;
    outline: none;
    font-size: 14px;
    font-family: inherit;
    color: var(--text-primary);
    background: transparent;
}

.search-bar input::placeholder {
    color: var(--text-muted);
}

.search-bar button {
    background: var(--primary);
    color: white;
    border: none;
    width: 44px;
    min-width: 44px;
    padding: 0;
    cursor: pointer;
    font-size: 15px;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-bar button:hover {
    background: var(--primary-dark);
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
}

.header-action {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 8px 14px;
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    font-size: 11px;
    color: var(--text-secondary);
    background: none;
    border: none;
    font-family: inherit;
    font-weight: 500;
}

.header-action:hover {
    background: var(--primary-light);
    color: var(--primary);
}

.header-action i {
    font-size: 20px;
    margin-bottom: 2px;
}

.header-action .badge {
    position: absolute;
    top: 2px;
    right: 8px;
    background: var(--accent);
    color: white;
    font-size: 10px;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
}

/* ===== CATEGORY NAV ===== */
.category-nav {
    background: white;
    border-bottom: 1px solid var(--border);
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}
.category-nav::-webkit-scrollbar { display: none; }
.category-nav .container {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 24px;
}
.category-nav a {
    color: var(--text-secondary);
    padding: 7px 16px;
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 6px;
    border-radius: var(--radius-full);
    border: 1px solid transparent;
}
.category-nav a:hover {
    background: var(--bg-light);
    color: var(--text-primary);
}
.category-nav a.active {
    background: var(--primary);
    color: white;
}
.category-nav a.active::after { display: none; }
.category-nav a.all-categories {
    background: none;
    font-weight: 600;
    color: var(--text-primary);
    border: 1px solid var(--border);
}
.category-nav a.all-categories:hover {
    background: var(--bg-light);
    border-color: var(--text-muted);
}
.category-nav a.offers-link {
    color: var(--accent);
    font-weight: 600;
}
.category-nav a.offers-link:hover {
    background: var(--accent-light);
}

/* ===== MEGA MENU ===== */
.category-nav {
    position: relative;
}
.mega-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 999;
    background: white;
    border: 1px solid var(--border);
    border-top: 2px solid var(--primary);
    box-shadow: 0 12px 40px rgba(0,0,0,0.12);
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}
.mega-menu.active {
    display: block;
}
.mega-menu-inner {
    display: flex;
    max-width: 1320px;
    margin: 0 auto;
    min-height: 340px;
}
.mega-menu-left {
    width: 280px;
    min-width: 280px;
    border-right: 1px solid var(--border);
    padding: 12px 0;
    overflow-y: auto;
    max-height: 420px;
    background: #FAFBFC;
}
.mega-cat-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.15s ease;
    border-left: 3px solid transparent;
}
.mega-cat-item:hover,
.mega-cat-item.active {
    background: white;
    color: var(--primary);
    border-left-color: var(--primary);
}
.mega-cat-item i:first-child {
    width: 20px;
    text-align: center;
    font-size: 15px;
}
.mega-cat-item span {
    flex: 1;
}
.mega-cat-arrow {
    font-size: 10px;
    color: var(--text-muted);
    opacity: 0;
    transition: opacity 0.15s;
}
.mega-cat-item:hover .mega-cat-arrow,
.mega-cat-item.active .mega-cat-arrow {
    opacity: 1;
    color: var(--primary);
}
.mega-menu-right {
    flex: 1;
    padding: 20px 24px;
    overflow-y: auto;
    max-height: 420px;
}
.mega-menu-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: var(--text-muted);
    font-size: 14px;
}
.mega-subcats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 12px;
}
.mega-subcat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 16px 10px;
    border-radius: var(--radius);
    background: var(--bg-light);
    border: 1px solid transparent;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    text-align: center;
    transition: all 0.2s;
    text-decoration: none;
}
.mega-subcat-item:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}
.mega-subcat-item img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    border-radius: 8px;
}
.mega-subcat-item i {
    font-size: 24px;
    color: var(--primary);
}

@media (max-width: 768px) {
    .mega-menu-inner {
        flex-direction: column;
        min-height: auto;
        max-height: 70vh;
    }
    .mega-menu-left {
        width: 100%;
        min-width: auto;
        border-right: none;
        border-bottom: 1px solid var(--border);
        max-height: 200px;
    }
    .mega-menu-right {
        max-height: 250px;
    }
    .mega-subcats-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }
}

/* ===== HERO BANNER ===== */
.hero {
    background: #FFFFFF;
    padding: 20px 0;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

/* Banner Slider — clean crossfade */
.banner-slider {
    position: relative;
    overflow: hidden;
}
.banner-slide {
    display: none;
    padding: 0;
}
.banner-slide.active {
    display: block;
    animation: bannerFadeIn 0.8s ease forwards;
}
/* Default hero slide gets dark rounded card */
.banner-slide#default-hero {
    padding: 0;
}
.banner-slide#default-hero > .container {
    background: linear-gradient(to right, #14532D 0%, #166534 30%, #22C55E 50%, #86EFAC 75%, #DCFCE7 90%, #FFFFFF 100%);
    border-radius: 24px;
    padding: 40px 48px;
    overflow: hidden;
    position: relative;
}
.banner-slide#default-hero .hero-content h1 {
    color: #FFFFFF;
}
.banner-slide#default-hero .hero-content h1 .text-green { color: #FFFFFF; }
.banner-slide#default-hero .hero-content h1 .text-orange { color: #FCD34D; }
.banner-slide#default-hero .hero-content p {
    color: rgba(255,255,255,0.7);
}
.banner-slide#default-hero .hero-badge {
    background: rgba(187,247,208,0.2);
    color: #BBF7D0;
}
.banner-slide#default-hero .hero-feature {
    background: rgba(255,255,255,0.85);
    color: #14532D;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.9);
    font-weight: 600;
}
.banner-slide#default-hero .hero-feature .feature-icon.green { background: #16A34A; color: #fff; }
.banner-slide#default-hero .hero-feature .feature-icon.orange { background: #F59E0B; color: #fff; }
.banner-slide#default-hero .hero-feature .feature-icon.blue { background: #0EA5E9; color: #fff; }
.banner-slide#default-hero .btn-outline {
    background: transparent;
    border-color: rgba(255,255,255,0.3);
    color: white;
}
.banner-slide#default-hero .btn-outline:hover {
    background: rgba(255,255,255,0.1);
}
.banner-slide#default-hero .hero-stats {
    background: rgba(255,255,255,0.9);
    border: 1px solid rgba(255,255,255,0.95);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.banner-slide#default-hero .hero-stats .stat-text strong { color: #166534; }
.banner-slide#default-hero .hero-stats .stat-text small { color: #6B7280; }
.banner-slide#default-hero .hero-stats .stat-icon { background: #16A34A; }
.banner-slide.image-banner {
    padding: 0;
    min-height: 200px;
}
.banner-slide.image-banner a,
.banner-slide.image-banner .image-banner-wrap {
    display: block;
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 24px;
}
.banner-slide.image-banner img {
    width: 100%;
    height: auto;
    max-height: 480px;
    display: block;
    border-radius: 24px;
}
@keyframes bannerFadeIn {
    from { opacity: 0; transform: scale(1.02); }
    to { opacity: 1; transform: scale(1); }
}
.banner-dots {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 5;
}
.banner-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(0,0,0,0.2);
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}
.banner-dot.active {
    background: var(--primary);
    transform: scale(1.2);
}

.hero::before {
    display: none;
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    position: relative;
    z-index: 1;
}

.hero-content {
    flex: 1;
    max-width: 560px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(10,143,63,0.1);
    color: var(--primary);
    padding: 6px 16px;
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 14px;
    letter-spacing: 0.5px;
}

.hero-content h1 {
    font-size: 40px;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.15;
    margin-bottom: 14px;
    letter-spacing: -0.5px;
}

.hero-content h1 .text-green { color: var(--primary); }
.hero-content h1 .text-orange { color: var(--accent); }

.hero-content p {
    font-size: 15px;
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 14px;
    margin-bottom: 24px;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary-gradient);
    color: white;
    padding: 14px 32px;
    border-radius: var(--radius-full);
    font-size: 15px;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(10,143,63,0.3);
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(10,143,63,0.4);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: white;
    color: var(--primary);
    padding: 14px 32px;
    border-radius: var(--radius-full);
    font-size: 15px;
    font-weight: 600;
    transition: var(--transition);
    border: 2px solid var(--primary);
    cursor: pointer;
}

.btn-outline:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
}

.hero-features {
    display: flex;
    gap: 14px;
    flex-wrap: nowrap;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    background: white;
    padding: 12px 18px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow);
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    min-height: 52px;
    white-space: nowrap;
}

.hero-feature .feature-icon {
    width: 36px;
    height: 36px;
    min-width: 36px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}

.feature-icon.green { background: var(--primary-light); color: var(--primary); }
.feature-icon.orange { background: var(--accent-light); color: var(--accent); }
.feature-icon.blue { background: #E3F2FD; color: #1565C0; }

.hero-image {
    flex: 0 0 380px;
    position: relative;
}

.hero-image img {
    width: 100%;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

.hero-image .hero-stats {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: white;
    padding: 6px 14px;
    border-radius: var(--radius-full);
    box-shadow: var(--shadow);
    margin-bottom: 10px;
}

.hero-stats .stat-icon {
    width: 28px;
    height: 28px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 12px;
    flex-shrink: 0;
}

.hero-stats .stat-text strong {
    display: block;
    font-size: 11px;
    font-weight: 700;
    color: var(--primary);
    white-space: nowrap;
}

.hero-stats .stat-text small {
    font-size: 9px;
    color: var(--text-muted);
    white-space: nowrap;
}

/* ===== SECTION STYLES ===== */
.section {
    padding: 50px 0;
}

.section-white {
    background: white;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 28px;
}

.section-header h2 {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.3px;
}

.section-header h2 i {
    margin-right: 8px;
}

.section-header .view-all {
    color: var(--primary);
    font-weight: 600;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
}

.section-header .view-all:hover {
    gap: 10px;
}

/* ===== OFFERS V2 — Light Pastel Cards (like reference) ===== */
.offer-card-v2 {
    border-radius: 20px;
    padding: 28px 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 200px;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.offer-card-v2:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.08);
}

.offer-card-v2.oc-warm { background: linear-gradient(135deg, #FFF8F0, #FFEDD5); }
.offer-card-v2.oc-blue { background: linear-gradient(135deg, #F0F9FF, #E0F2FE); }
.offer-card-v2.oc-green { background: linear-gradient(135deg, #F0FDF4, #DCFCE7); }

.oc-text { flex: 1; position: relative; z-index: 1; }

.oc-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #16A34A;
    margin-bottom: 8px;
}

.offer-card-v2 h3 {
    font-size: 20px;
    font-weight: 800;
    color: #0F172A;
    line-height: 1.2;
    margin-bottom: 6px;
}

.offer-card-v2 p {
    font-size: 12px;
    color: #64748B;
    line-height: 1.5;
    margin-bottom: 10px;
}

.oc-value {
    font-size: 14px;
    color: #0F172A;
    margin-bottom: 12px;
}

.oc-value strong {
    font-size: 24px;
    font-weight: 900;
    color: #16A34A;
}

.oc-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s;
}

.oc-btn.green { background: #16A34A; color: white; }
.oc-btn.green:hover { background: #15803D; box-shadow: 0 4px 12px rgba(22,163,74,0.3); }
.oc-btn.blue { background: #0284C7; color: white; }
.oc-btn.blue:hover { background: #0369A1; box-shadow: 0 4px 12px rgba(2,132,199,0.3); }

.oc-visual {
    flex: 0 0 120px;
    position: relative;
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.oc-visual img {
    max-width: 100px;
    max-height: 100px;
    object-fit: contain;
    filter: drop-shadow(0 4px 12px rgba(0,0,0,0.1));
    position: relative;
    z-index: 1;
}

.oc-visual .oc-img-sm {
    position: absolute;
    bottom: 0;
    right: -10px;
    max-width: 60px;
    max-height: 60px;
    z-index: 0;
    opacity: 0.7;
}

@media (max-width: 768px) {
    .offers-grid {
        display: flex !important;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        gap: 12px;
        padding-bottom: 8px;
        scroll-snap-type: x mandatory;
    }
    .offers-grid::-webkit-scrollbar { display: none; }
    .offers-grid > * {
        min-width: 280px;
        max-width: 300px;
        flex-shrink: 0;
        scroll-snap-align: start;
    }
    .offer-card-v2 { min-height: 160px; padding: 20px; }
    .offer-card-v2 h3 { font-size: 18px; }
    .oc-visual { flex: 0 0 90px; height: 100px; }
    .oc-visual img { max-width: 80px; max-height: 80px; }
}

/* ===== OFFERS SECTION (Premium) ===== */
.offers-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.offer-card {
    border-radius: 20px;
    padding: 28px 24px;
    color: white;
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: all 0.3s ease;
    cursor: pointer;
    min-height: 180px;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(8px);
}

.offer-card::before {
    content: '';
    position: absolute;
    top: -40px; right: -40px;
    width: 140px; height: 140px;
    background: rgba(255,255,255,0.08);
    border-radius: 50%;
}

.offer-card::after {
    content: '';
    position: absolute;
    bottom: -30px; left: -30px;
    width: 100px; height: 100px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
}

.offer-card:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 16px 40px rgba(0,0,0,0.15);
}

.offer-card.mega { background: linear-gradient(145deg, #B91C1C, #EF4444); }
.offer-card.savings { background: linear-gradient(145deg, #0C4A6E, #0EA5E9); }
.offer-card.delivery { background: linear-gradient(145deg, #14532D, #22C55E); }

.offer-card .offer-label {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    opacity: 0.7;
}

.offer-card h3 {
    font-size: 19px;
    font-weight: 800;
    line-height: 1.25;
    position: relative;
    z-index: 1;
}

.offer-card p {
    font-size: 13px;
    opacity: 0.8;
    line-height: 1.5;
    position: relative;
    z-index: 1;
}

.offer-card .offer-value {
    font-size: 28px;
    font-weight: 900;
    letter-spacing: -0.5px;
    position: relative;
    z-index: 1;
}

.offer-card .offer-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: white;
    color: #0F172A;
    padding: 8px 18px;
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 700;
    width: fit-content;
    transition: var(--transition);
    border: none;
    position: relative;
    z-index: 1;
}

.offer-card .offer-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* ===== CATEGORIES SECTION ===== */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}

.category-card {
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    padding: 10px;
    border-radius: var(--radius-lg);
}

.category-card:hover {
    transform: translateY(-3px);
    background: white;
    box-shadow: 0 6px 16px rgba(0,0,0,0.08);
}

.category-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 34px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 3px solid transparent;
    overflow: hidden;
}

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

.category-card:hover .category-icon {
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
    transform: scale(1.05);
}

.category-icon.grocery { background: linear-gradient(135deg, #FFF3E0, #FFE0B2); }
.category-icon.fruits { background: linear-gradient(135deg, #FCE4EC, #F8BBD0); }
.category-icon.vegetables { background: linear-gradient(135deg, #E8F5E9, #C8E6C9); }
.category-icon.dairy { background: linear-gradient(135deg, #E3F2FD, #BBDEFB); }
.category-icon.snacks { background: linear-gradient(135deg, #FFF8E1, #FFECB3); }
.category-icon.beverages { background: linear-gradient(135deg, #F3E5F5, #E1BEE7); }
.category-icon.household { background: linear-gradient(135deg, #E0F7FA, #B2EBF2); }

.category-card h4 {
    font-size: 13px;
    color: var(--text-primary);
    font-weight: 600;
    margin-bottom: 2px;
}

.category-card .category-count {
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 400;
}

/* Subcategory bar below category nav */
.subcategory-bar {
    background: white;
    border-bottom: 1px solid var(--border);
    padding: 10px 0;
    animation: subBarSlide 0.25s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
@keyframes subBarSlide {
    from { opacity: 0; transform: translateY(-6px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Subcategory horizontal strip */
.subcategory-strip {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 2px 0;
    align-items: center;
}
.subcategory-strip::-webkit-scrollbar { display: none; }

.sub-strip-label {
    flex-shrink: 0;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    padding-right: 6px;
    white-space: nowrap;
}
.sub-strip-label i {
    color: var(--primary);
    margin-right: 4px;
    font-size: 11px;
}

.sub-strip-item {
    flex-shrink: 0;
    padding: 8px 20px;
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    background: var(--bg-light);
    border: 1.5px solid var(--border);
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
    box-shadow: var(--shadow-sm);
}

.sub-strip-item:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--primary-light);
    box-shadow: var(--shadow);
    transform: translateY(-1px);
}

.sub-strip-item.active {
    background: var(--primary-gradient);
    color: white;
    border-color: var(--primary);
    box-shadow: 0 2px 10px rgba(22,163,74,0.25);
    font-weight: 600;
}

/* ===== PRODUCTS SECTION ===== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.product-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: var(--transition);
    position: relative;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    box-shadow: var(--shadow-md);
    border-color: transparent;
}

.product-image {
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    background: var(--bg-light);
    position: relative;
}

.product-image img {
    max-height: 140px;
    max-width: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

/* Discount badge - top left */
.product-discount {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--accent);
    color: white;
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    z-index: 2;
    letter-spacing: 0.3px;
}

/* Delivery badge - top right */
.delivery-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--primary-light);
    color: var(--primary);
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 10px;
    font-weight: 700;
    z-index: 2;
    letter-spacing: 0.5px;
}

.delivery-badge i { font-size: 9px; margin-right: 2px; }

.product-info {
    padding: 14px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 2px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.35;
    min-height: 38px;
}

.product-weight {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 10px;
}

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

.product-price {
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.price-current {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
}

.price-original {
    font-size: 13px;
    color: var(--text-muted);
    text-decoration: line-through;
}

/* Compact ADD button — "+" icon style */
.add-btn {
    width: 32px;
    height: 32px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    color: var(--primary);
    border: 1.5px solid var(--primary);
    border-radius: 8px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
    flex-shrink: 0;
}

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

/* Qty controls */
.qty-controls {
    display: none;
    align-items: center;
    justify-content: space-between;
    border: 1.5px solid var(--primary);
    border-radius: 8px;
    overflow: hidden;
    margin-top: auto;
    max-width: 96px;
    margin-left: auto;
}

.qty-controls.active { display: flex; }

.qty-controls button {
    width: 32px;
    height: 32px;
    border: none;
    background: var(--primary);
    color: white;
    font-size: 16px;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qty-controls button:hover { background: var(--primary-dark); }

.qty-controls span {
    font-size: 14px;
    font-weight: 700;
    padding: 0 10px;
    color: var(--text-primary);
}

/* ===== WHY CHOOSE US ===== */
.why-us-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.why-us-card {
    text-align: center;
    padding: 35px 24px;
    border-radius: var(--radius-lg);
    background: var(--bg);
    transition: var(--transition);
    border: 1px solid var(--border);
}

.why-us-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: transparent;
}

.why-us-icon {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 26px;
}

.why-us-icon.green { background: var(--primary-light); color: var(--primary); }
.why-us-icon.orange { background: var(--accent-light); color: var(--accent); }
.why-us-icon.blue { background: #E3F2FD; color: #1565C0; }
.why-us-icon.purple { background: #F3E5F5; color: #7B1FA2; }

.why-us-card h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.why-us-card p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ===== DOWNLOAD APP SECTION ===== */
/* ===== APP CTA SECTION ===== */
.app-cta-section {
    padding: 60px 0;
    background: white;
    touch-action: pan-y;
}

.app-cta-card {
    background: linear-gradient(160deg, #FFF9F0 0%, #FFF5E8 40%, #FFF0DD 100%);
    border-radius: 24px;
    display: flex;
    overflow: hidden;
    min-height: 420px;
    position: relative;
}

.app-cta-card::before {
    content: '';
    position: absolute;
    top: -80px; right: -80px;
    width: 300px; height: 300px;
    background: radial-gradient(circle, rgba(22,163,74,0.06), transparent 70%);
    border-radius: 50%;
}

.app-cta-left {
    flex: 1;
    padding: 48px 40px;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.app-cta-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #16A34A;
    color: white;
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    width: fit-content;
    margin-bottom: 16px;
    letter-spacing: 0.5px;
}

.app-cta-left h2 {
    font-size: 34px;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 12px;
    color: #0F172A;
}

.app-cta-left h2 span { color: #16A34A !important; }

.app-cta-left > p {
    font-size: 14px;
    color: #64748B;
    line-height: 1.7;
    margin-bottom: 20px;
    max-width: 400px;
}

.app-cta-highlights {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 28px;
}

.app-hl {
    display: flex;
    align-items: center;
    gap: 12px;
}

.app-hl > i {
    width: 34px;
    height: 34px;
    background: #ECFDF5;
    color: #16A34A;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    flex-shrink: 0;
}

.app-hl strong {
    display: block;
    font-size: 13px;
    color: #0F172A;
    font-weight: 600;
}

.app-hl span {
    font-size: 11px;
    color: #94A3B8;
    font-style: italic;
}

.app-cta-buttons {
    display: flex;
    gap: 10px;
}

.app-store-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #0F172A;
    color: white;
    padding: 10px 20px;
    border-radius: 12px;
    transition: var(--transition);
    text-decoration: none;
}

.app-store-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.app-store-btn i { font-size: 22px; }
.app-store-btn small { font-size: 9px; opacity: 0.5; display: block; line-height: 1.2; }
.app-store-btn strong { font-size: 14px; display: block; line-height: 1.3; }

/* Phone area with premium effects */
.app-cta-right {
    flex: 1;
    position: relative;
    min-height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px 0;
}

/* Watermark logo */
.app-watermark {
    position: absolute;
    width: 200px;
    height: 200px;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    opacity: 0.04;
    border-radius: 40px;
    pointer-events: none;
    z-index: 0;
}

/* Radial glow behind phone */
.app-glow {
    position: absolute;
    width: 350px;
    height: 350px;
    top: 50%;
    left: 55%;
    transform: translate(-50%,-50%);
    background: radial-gradient(circle, rgba(22,163,74,0.1) 0%, rgba(245,158,11,0.06) 40%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
    animation: glowPulse 4s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% { transform: translate(-50%,-50%) scale(1); opacity:1; }
    50% { transform: translate(-50%,-50%) scale(1.1); opacity:0.7; }
}

/* Dotted path SVG */
.app-path {
    position: absolute;
    width: 300px;
    height: 400px;
    top: 0;
    left: 10%;
    z-index: 0;
    opacity: 0.5;
}

/* Floating grocery products moving toward phone */
.app-float {
    position: absolute;
    font-size: 36px;
    z-index: 1;
    filter: drop-shadow(0 4px 12px rgba(0,0,0,0.1));
    line-height: 1;
    will-change: transform, opacity;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    pointer-events: none;
}

.af-1 { top: 10%; left: 8%; animation: floatToPhone 6s ease-in-out infinite 0s; }
.af-2 { top: 35%; left: 2%; animation: floatToPhone 7s ease-in-out infinite 1s; }
.af-3 { top: 60%; left: 6%; animation: floatToPhone 5.5s ease-in-out infinite 0.5s; }
.af-4 { bottom: 12%; left: 18%; animation: floatToPhone 6.5s ease-in-out infinite 1.5s; }
.af-5 { top: 18%; left: 28%; font-size: 26px; animation: floatToPhone 5s ease-in-out infinite 0.8s; }
.af-6 { top: 50%; left: 22%; font-size: 28px; animation: floatToPhone 6s ease-in-out infinite 2s; }

@keyframes floatToPhone {
    0%, 100% { transform: translate(0,0); opacity:0.7; }
    30% { transform: translate(15px,-10px); opacity:1; }
    60% { transform: translate(5px,8px); opacity:0.8; }
}

/* Glass notification cards */
.app-notif {
    position: absolute;
    background: white;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    padding: 8px 14px;
    font-size: 11px;
    font-weight: 600;
    color: #0F172A;
    white-space: nowrap;
    z-index: 3;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.app-notif span { margin-right: 4px; }

.an-1 { top: 15%; right: 5%; animation: notifFloat 5s ease-in-out infinite 0s; }
.an-2 { top: 50%; right: 0%; animation: notifFloat 6s ease-in-out infinite 1.5s; }
.an-3 { bottom: 18%; right: 8%; animation: notifFloat 5.5s ease-in-out infinite 0.8s; }

@keyframes notifFloat {
    0%, 100% { transform: translateY(0); opacity:0.9; }
    50% { transform: translateY(-8px); opacity:1; }
}

.app-phone {
    width: 220px;
    background: #0F172A;
    border-radius: 32px;
    padding: 8px;
    box-shadow: 0 24px 60px rgba(0,0,0,0.15);
    border: 2px solid #E2E8F0;
    position: relative;
    z-index: 2;
    transform: perspective(800px) rotateY(-5deg);
    position: relative;
}

.app-phone-notch {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 20px;
    background: #0F172A;
    border-radius: 0 0 12px 12px;
    z-index: 3;
}

.app-phone-screen {
    background: white;
    border-radius: 26px;
    overflow: hidden;
    min-height: 380px;
    display: flex;
    flex-direction: column;
}

.aps-header {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 28px 12px 8px;
    font-size: 10px;
}

.aps-search {
    margin: 0 10px 10px;
    background: #F1F5F9;
    border-radius: 8px;
    padding: 7px 10px;
    font-size: 9px;
    color: #94A3B8;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Animated scrolling products */
.aps-scroll-container {
    flex: 1;
    overflow: hidden;
    position: relative;
    padding: 0 6px;
}

.aps-scroll-track {
    display: flex;
    gap: 6px;
    animation: appProductScroll 12s linear infinite;
}

@keyframes appProductScroll {
    0% { transform: translateX(0); }
    20% { transform: translateX(0); }
    25% { transform: translateX(-110px); }
    45% { transform: translateX(-110px); }
    50% { transform: translateX(-220px); }
    70% { transform: translateX(-220px); }
    75% { transform: translateX(-330px); }
    95% { transform: translateX(-330px); }
    100% { transform: translateX(0); }
}

.aps-product {
    flex: 0 0 100px;
    background: #FAFAFA;
    border: 1px solid #F1F5F9;
    border-radius: 10px;
    padding: 6px;
    text-align: center;
}

.aps-product img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    margin: 0 auto 4px;
    display: block;
}

.aps-name {
    font-size: 8px;
    font-weight: 600;
    color: #0F172A;
    margin-bottom: 1px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.aps-price {
    font-size: 9px;
    font-weight: 700;
    color: #16A34A;
    margin-bottom: 4px;
}

.aps-add {
    font-size: 8px;
    font-weight: 700;
    color: #16A34A;
    border: 1px solid #16A34A;
    border-radius: 4px;
    padding: 2px 0;
    cursor: pointer;
}

.aps-add.added {
    background: #16A34A;
    color: white;
    border-color: #16A34A;
}

/* Cart bar */
.aps-cart-bar {
    background: #16A34A;
    padding: 8px 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 0 0 26px 26px;
}

@media (max-width: 768px) {
    .app-cta-card { flex-direction: column; }
    .app-cta-left { padding: 32px 24px; text-align: center; align-items: center; }
    .app-cta-left h2 { font-size: 26px; }
    .app-cta-highlights { justify-content: center; }
    .app-cta-buttons { justify-content: center; }
    .app-cta-right { flex: none; padding: 20px 0 0; min-height: 340px; }
    .app-float, .app-notif, .app-path, .app-watermark { display: none; }
    .app-glow { width: 200px; height: 200px; }
    .app-phone { width: 180px; }
    .app-phone-screen { min-height: 300px; }
    .aps-product { flex: 0 0 80px; }
    .aps-product img { width: 48px; height: 48px; }
}

/* ===== BRAND STORY BANNER ===== */
.brand-banner {
    background: linear-gradient(90deg, #FAF6F0 0%, #F8F4ED 50%, #F5F0E8 100%);
    overflow: hidden;
}

.brand-banner-inner {
    max-width: 1320px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    min-height: 400px;
}

.brand-banner-text {
    flex: 0 0 45%;
    padding: 60px 24px 60px 40px;
}

.brand-banner-text h2 {
    font-size: 38px;
    font-weight: 800;
    color: #0F172A;
    line-height: 1.15;
    margin-bottom: 14px;
    letter-spacing: -0.5px;
}

.brand-banner-text > p {
    font-size: 15px;
    color: #64748B;
    line-height: 1.7;
    margin-bottom: 28px;
}

.brand-banner-values { display: flex; flex-direction: column; gap: 16px; }

.bb-value { display: flex; align-items: center; gap: 12px; }

.bb-value > i {
    width: 38px; height: 38px;
    background: #ECFDF5; color: var(--primary);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 15px; flex-shrink: 0;
}

.bb-value strong { display: block; font-size: 14px; font-weight: 700; color: #0F172A; }
.bb-value span { font-size: 12px; color: #94A3B8; font-style: italic; }

/* Right side — cropped to show groceries only */
.brand-banner-photo {
    flex: 0 0 55%;
    height: 400px;
    overflow: hidden;
    position: relative;
}

.brand-banner-photo img {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    width: 120%;
    height: auto;
    object-fit: cover;
    object-position: right center;
    max-width: none;
}

@media (max-width: 1024px) {
    .brand-banner-text h2 { font-size: 30px; }
    .brand-banner-photo { height: 340px; }
}

@media (max-width: 768px) {
    .brand-banner-inner { flex-direction: column; }
    .brand-banner-text { flex: none; padding: 40px 24px 24px; text-align: center; }
    .brand-banner-text h2 { font-size: 26px; }
    .brand-banner-values { align-items: center; }
    .brand-banner-photo { flex: none; width: 100%; height: 240px; }
    .brand-banner-photo img { width: 140%; right: -10%; }
}

@media (max-width: 480px) {
    .brand-banner-text h2 { font-size: 22px; }
    .brand-banner-photo { height: 180px; }
}

/* Legacy app-section (kept for compatibility) */
.app-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #0A2E1A 0%, var(--primary) 50%, #22C55E 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.app-section::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: rgba(255,255,255,0.03);
    border-radius: 50%;
}

.app-section .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    position: relative;
    z-index: 1;
}

.app-content {
    flex: 1;
    max-width: 540px;
}

.app-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    padding: 6px 16px;
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
    border: 1px solid rgba(255,255,255,0.2);
}

.app-content h2 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 16px;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.app-content > p {
    font-size: 16px;
    opacity: 0.85;
    margin-bottom: 28px;
    line-height: 1.7;
}

.app-features {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 30px;
}

.app-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    font-weight: 500;
}

.app-features li i {
    color: #FFD54F;
    font-size: 16px;
    width: 20px;
    text-align: center;
}

.app-buttons {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.app-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    background: white;
    color: var(--text-primary);
    padding: 12px 24px;
    border-radius: var(--radius-md);
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    position: relative;
}

.app-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.app-btn i { font-size: 26px; }

.app-btn .btn-label small {
    font-size: 9px;
    opacity: 0.6;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    font-weight: 500;
    display: block;
    line-height: 1.2;
}

.app-btn .btn-label strong {
    font-size: 15px;
    display: block;
    line-height: 1.3;
}

.app-btn .coming-soon-tag {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--accent);
    color: white;
    padding: 2px 8px;
    border-radius: var(--radius-full);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: 0 2px 8px rgba(243,112,33,0.4);
}

.app-image {
    flex: 0 0 480px;
    position: relative;
    display: flex;
    justify-content: center;
    gap: 20px;
    perspective: 1000px;
}

/* ===== PHONE MOCKUP ===== */
.phone-mockup {
    width: 220px;
    height: 440px;
    background: #1A1D2E;
    border-radius: 32px;
    padding: 10px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.4), inset 0 0 0 2px rgba(255,255,255,0.1);
    position: relative;
    overflow: hidden;
}

.phone-mockup.android {
    transform: translateY(30px) rotateY(-5deg);
}

.phone-mockup.ios {
    transform: translateY(-10px) rotateY(5deg);
}

.phone-notch {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 22px;
    background: #1A1D2E;
    border-radius: 0 0 14px 14px;
    z-index: 10;
}

.phone-notch.dynamic-island {
    width: 90px;
    height: 24px;
    border-radius: 20px;
    top: 14px;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: white;
    border-radius: 24px;
    overflow: hidden;
    position: relative;
}

/* Mini app screen content */
.mini-app-header {
    background: var(--primary);
    padding: 28px 12px 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.mini-app-header .mini-logo {
    width: 22px;
    height: 22px;
    border-radius: 4px;
    object-fit: cover;
}

.mini-app-header span {
    color: white;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.3px;
}

.mini-search {
    margin: 8px;
    background: #F5F5F5;
    border-radius: 16px;
    padding: 7px 12px;
    font-size: 9px;
    color: #999;
    display: flex;
    align-items: center;
    gap: 6px;
}

.mini-search i { font-size: 9px; }

.mini-categories {
    display: flex;
    gap: 8px;
    padding: 6px 10px;
    overflow: hidden;
}

.mini-cat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    min-width: 40px;
}

.mini-cat-circle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid #E8F5E9;
}

.mini-cat-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mini-cat span {
    font-size: 7px;
    color: var(--text-secondary);
    font-weight: 500;
    white-space: nowrap;
}

.mini-banner {
    margin: 6px 8px;
    background: linear-gradient(135deg, #E8F5E9, #C8E6C9);
    border-radius: 8px;
    padding: 10px;
    text-align: center;
}

.mini-banner h4 {
    font-size: 10px;
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 2px;
}

.mini-banner p {
    font-size: 7px;
    color: var(--text-secondary);
}

.mini-products {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    padding: 6px 8px;
}

.mini-product {
    background: white;
    border: 1px solid #F0F0F0;
    border-radius: 8px;
    overflow: hidden;
    padding: 4px;
}

.mini-product-img {
    height: 52px;
    background: #FAFBFC;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-bottom: 4px;
}

.mini-product-img img {
    max-height: 44px;
    max-width: 100%;
    object-fit: contain;
}

.mini-product-name {
    font-size: 7px;
    font-weight: 600;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 0 2px;
}

.mini-product-price {
    font-size: 8px;
    font-weight: 700;
    color: var(--primary);
    padding: 0 2px;
}

.mini-product-btn {
    display: block;
    text-align: center;
    font-size: 7px;
    color: var(--primary);
    border: 1px solid var(--primary);
    border-radius: 4px;
    padding: 2px;
    margin: 3px 2px 2px;
    font-weight: 600;
}

/* Phone bottom bar */
.mini-bottom-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    border-top: 1px solid #F0F0F0;
    display: flex;
    justify-content: space-around;
    padding: 6px 0 10px;
}

.mini-bottom-bar i {
    font-size: 12px;
    color: #CCC;
}

.mini-bottom-bar i.active-icon { color: var(--primary); }

/* Phone label */
.phone-label {
    text-align: center;
    margin-top: 14px;
    font-size: 12px;
    font-weight: 600;
    color: rgba(255,255,255,0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.phone-label i {
    font-size: 14px;
}

.phone-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* ===== FOOTER ===== */
.footer {
    background: #000000;
    color: rgba(255,255,255,0.8);
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.2fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-about {
    padding-right: 30px;
}

.footer-about img {
    height: 50px;
    margin-bottom: 18px;
    border-radius: 6px;
}

.footer-about p {
    font-size: 14px;
    color: rgba(255,255,255,0.6);
    line-height: 1.8;
    margin-bottom: 8px;
}

.footer-about .tagline {
    color: var(--primary);
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.5px;
    margin-bottom: 18px;
}

.footer-social {
    display: flex;
    gap: 10px;
}

.footer-social a {
    width: 38px;
    height: 38px;
    border-radius: var(--radius);
    background: rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.7);
    transition: var(--transition);
    font-size: 15px;
}

.footer-social a:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
}

.footer h4 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 22px;
    color: white;
    letter-spacing: 0.3px;
}

.footer-links li { margin-bottom: 10px; }

.footer-links a {
    color: rgba(255,255,255,0.55);
    font-size: 14px;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 6px;
}

.footer-links a:hover {
    color: var(--primary);
    transform: translateX(4px);
}

.footer-links a::before {
    content: '\f105';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 10px;
    opacity: 0;
    transition: var(--transition);
}

.footer-links a:hover::before { opacity: 1; }

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
    color: rgba(255,255,255,0.6);
    font-size: 14px;
}

.footer-contact li i {
    color: var(--primary);
    margin-top: 3px;
    width: 16px;
    text-align: center;
    font-size: 14px;
}

.payment-methods {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 12px;
}

.payment-chip {
    background: rgba(255,255,255,0.08);
    padding: 6px 14px;
    border-radius: var(--radius);
    font-size: 12px;
    color: rgba(255,255,255,0.7);
    font-weight: 500;
    border: 1px solid rgba(255,255,255,0.06);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: rgba(255,255,255,0.4);
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
}

.footer-bottom-links a {
    color: rgba(255,255,255,0.4);
    transition: var(--transition);
}

.footer-bottom-links a:hover { color: var(--primary); }

/* ===== FLOATING BUTTONS ===== */
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 56px;
    height: 56px;
    background: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    box-shadow: 0 4px 20px rgba(37,211,102,0.4);
    z-index: 999;
    transition: var(--transition);
}

.whatsapp-float:hover { transform: scale(1.1); }

.call-float {
    position: fixed;
    bottom: 90px;
    right: 25px;
    width: 56px;
    height: 56px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    box-shadow: 0 4px 20px rgba(10,143,63,0.4);
    z-index: 999;
    transition: var(--transition);
}

.call-float:hover { transform: scale(1.1); }

/* ===== CART SIDEBAR ===== */
.cart-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(4px);
    z-index: 2000;
    display: none;
    opacity: 0;
    transition: opacity 0.3s;
}

.cart-overlay.active { display: block; opacity: 1; }

.cart-sidebar {
    position: fixed;
    top: 0;
    right: -420px;
    width: 420px;
    height: 100%;
    background: white;
    z-index: 2001;
    box-shadow: -4px 0 30px rgba(0,0,0,0.15);
    transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.cart-sidebar.active { right: 0; }

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 20px;
    background: var(--primary);
    color: white;
    gap: 12px;
}

.cart-header h3 { font-size: 15px; font-weight: 600; white-space: nowrap; flex: 1; min-width: 0; }

.cart-close {
    background: rgba(255,255,255,0.2);
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    width: 36px;
    height: 36px;
    min-width: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    flex-shrink: 0;
}

.cart-close:hover { background: rgba(255,255,255,0.3); }

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 16px 24px;
}

.cart-item {
    display: flex;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
    align-items: center;
}

.cart-item-image {
    width: 56px;
    height: 56px;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--bg);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1px solid var(--border);
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 4px;
}

.cart-item-details { flex: 1; }

.cart-item-name {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--text-primary);
}

.cart-item-price {
    font-size: 13px;
    color: var(--primary);
    font-weight: 600;
}

.cart-item-qty {
    display: flex;
    align-items: center;
    gap: 6px;
}

.cart-item-qty button {
    width: 26px;
    height: 26px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: white;
    cursor: pointer;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    font-family: inherit;
}

.cart-item-qty button:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.cart-item-qty span {
    font-weight: 700;
    font-size: 14px;
    min-width: 20px;
    text-align: center;
}

.cart-item-remove {
    color: var(--text-muted);
    background: none;
    border: none;
    cursor: pointer;
    font-size: 14px;
    padding: 6px;
    transition: var(--transition);
    border-radius: var(--radius);
}

.cart-item-remove:hover { color: #E53935; background: #FFEBEE; }

.cart-footer {
    padding: 20px 24px;
    border-top: 2px solid var(--border);
    background: var(--bg);
}

.cart-summary {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 16px;
}

.cart-summary-row {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: var(--text-secondary);
}

.cart-summary-row.total {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    padding-top: 10px;
    border-top: 1px solid var(--border);
}

.checkout-btn {
    width: 100%;
    padding: 14px;
    background: var(--primary-gradient);
    color: white;
    border: none;
    border-radius: var(--radius);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: inherit;
    box-shadow: 0 4px 15px rgba(10,143,63,0.3);
}

.checkout-btn:hover {
    box-shadow: 0 6px 25px rgba(10,143,63,0.4);
    transform: translateY(-1px);
}

.cart-empty {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-muted);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1;
}

.cart-empty i.fa-shopping-bag { font-size: 56px; margin-bottom: 16px; color: var(--border); display: block; }

.cart-empty-btn {
    width: 100%;
    padding: 12px;
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: inherit;
    margin-bottom: 8px;
    border: none;
}

.continue-btn {
    background: var(--primary-gradient);
    color: white;
    box-shadow: 0 4px 15px rgba(10,143,63,0.3);
}

.continue-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(10,143,63,0.4);
}

.bestseller-btn {
    background: white;
    color: var(--accent);
    border: 2px solid var(--accent) !important;
}

.bestseller-btn:hover {
    background: var(--accent-light);
}

.cart-empty-products {
    margin-top: 16px;
    border-top: 1px solid var(--border);
    padding-top: 16px;
    width: 100%;
}

.cart-empty-products h4 {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 10px;
    text-align: left;
}

.cart-empty-product {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px solid #F5F5F5;
    cursor: pointer;
    transition: var(--transition);
}

.cart-empty-product:hover { background: #FAFAFA; border-radius: var(--radius); padding: 8px 6px; }

.cart-empty-product img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    border-radius: var(--radius);
    background: #FAFBFC;
    border: 1px solid var(--border);
    padding: 2px;
}

.cart-empty-product .cep-info { flex: 1; text-align: left; }
.cart-empty-product .cep-name { font-size: 12px; font-weight: 600; color: var(--text-primary); }
.cart-empty-product .cep-price { font-size: 12px; color: var(--primary); font-weight: 700; }

.cart-empty-product .cep-add {
    background: var(--primary);
    color: white;
    border: none;
    padding: 5px 12px;
    border-radius: var(--radius);
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    transition: var(--transition);
}

.cart-empty-product .cep-add:hover { background: var(--primary-dark); }

/* ===== SCROLL TO TOP ===== */
.scroll-top {
    position: fixed;
    bottom: 155px;
    right: 25px;
    width: 44px;
    height: 44px;
    background: var(--text-primary);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 16px;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 999;
    transition: var(--transition);
}

.scroll-top.visible { display: flex; }
.scroll-top:hover { background: var(--primary); }

/* ===== MOBILE RESPONSIVE ===== */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 22px;
    cursor: pointer;
    color: var(--text-primary);
    padding: 8px;
}

@media (max-width: 1200px) {
    .products-grid { grid-template-columns: repeat(4, 1fr); }
    .hero-image { flex: 0 0 380px; }
}

@media (max-width: 1024px) {
    .products-grid { grid-template-columns: repeat(3, 1fr); }
    .categories-grid { grid-template-columns: repeat(4, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .hero-image { flex: 0 0 320px; }
    .app-image { flex: 0 0 320px; }
}

@media (max-width: 768px) {
    .top-bar { display: none; }
    .mobile-menu-btn { display: none; }
    .header .container { flex-wrap: wrap; gap: 8px; padding: 10px 16px; align-items: center; }
    .deliver-to { display: none; }
    .ck-icon { height: 38px; }
    .brand-text { gap: 0; flex: 1; }
    .brand-text .bt-name { font-size: 16px; letter-spacing: 0.3px; white-space: nowrap; }
    .brand-text .bt-tag { font-size: 7px; letter-spacing: 1px; white-space: nowrap; }
    .search-bar { order: 3; width: 100%; flex: 0 0 100%; box-sizing: border-box; }
    .mobile-menu-btn { display: none !important; }
    .header-actions {
        display: flex;
        gap: 2px;
        flex-shrink: 0;
    }
    .header-action {
        padding: 6px 8px;
    }
    .header-action span:not(.badge) { display: none; }
    .header-action i { font-size: 18px; margin-bottom: 0; }

    .category-nav .container { overflow-x: auto; -webkit-overflow-scrolling: touch; padding: 8px 16px; scroll-snap-type: x proximity; }
    .category-nav a { scroll-snap-align: start; }
    .category-nav a { padding: 6px 12px; font-size: 12px; }

    .hero { padding: 12px 0; }
    .hero .container { flex-direction: column; text-align: center; padding: 0 16px; }
    .hero-content h1 { font-size: 28px; }
    .hero-content { max-width: 100%; }
    .hero-image { flex: 0 0 auto; max-width: 220px; }
    .banner-slide#default-hero > .container { padding: 36px 20px 28px; border-radius: 18px; background: linear-gradient(to bottom, #14532D 0%, #166534 35%, #22C55E 55%, #86EFAC 78%, #DCFCE7 92%, #FFFFFF 100%); }
    .banner-slide.image-banner a,
    .banner-slide.image-banner .image-banner-wrap { padding: 0 16px; }
    .banner-slide.image-banner img { border-radius: 18px; }
    .hero-features {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding-bottom: 4px;
        gap: 10px;
        scroll-snap-type: x mandatory;
    }
    .hero-features::-webkit-scrollbar { display: none; }
    .hero-feature {
        min-width: 170px;
        max-width: 170px;
        flex-shrink: 0;
        padding: 10px 14px;
        font-size: 12px;
        scroll-snap-align: start;
    }
    .hero-buttons { justify-content: center; }
    .hero-stats .stat-icon { width: 22px; height: 22px; font-size: 10px; }
    .hero-stats .stat-text strong { font-size: 10px; }
    .hero-stats .stat-text small { font-size: 8px; }

    .trust-badges-grid {
        display: flex !important;
        grid-template-columns: none !important;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        gap: 12px;
        padding-bottom: 8px;
        scroll-snap-type: x mandatory;
    }
    .trust-badges-grid::-webkit-scrollbar { display: none; }
    .trust-badge {
        min-width: 140px;
        max-width: 140px;
        flex-shrink: 0;
        padding: 20px 12px;
        scroll-snap-align: start;
    }
    .trust-badge .counter-value { font-size: 24px; }
    .trust-badge .counter-label { font-size: 11px; }
    .trust-badge .trust-icon { width: 38px; height: 38px; font-size: 16px; margin-bottom: 8px; }
    .section-header h2 { font-size: 20px; }
    .section-header { flex-wrap: wrap; gap: 6px; }
    .categories-grid { grid-template-columns: repeat(3, 1fr); }
    .category-icon { width: 70px; height: 70px; font-size: 26px; }
    .products-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .product-image { height: 140px; padding: 15px; }
    .why-us-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }

    .app-section .container { flex-direction: column; text-align: center; }
    .app-image { flex: 0 0 auto; max-width: 380px; }
    .phone-mockup { width: 170px; height: 340px; border-radius: 26px; }
    .phone-mockup.android { transform: translateY(20px) rotateY(0); }
    .phone-mockup.ios { transform: translateY(-5px) rotateY(0); }
    .app-buttons { justify-content: center; }
    .app-features { align-items: center; }

    .footer-grid { grid-template-columns: 1fr; gap: 30px; }
    .footer-about { padding-right: 0; }
    .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }

    .cart-sidebar { width: 100%; right: -100%; }
}

@media (max-width: 480px) {
    .hero-content h1 { font-size: 26px; }
    .products-grid { gap: 10px; }
    .product-info { padding: 12px; }
    .product-name { font-size: 13px; }
    .price-current { font-size: 16px; }
    .categories-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
    .category-icon { width: 60px; height: 60px; font-size: 22px; }
    .category-card h4 { font-size: 11px; }
    .app-content h2 { font-size: 26px; }
    .why-us-grid { grid-template-columns: 1fr; }
    .why-us-card { padding: 24px 16px; }
    .promo-ticker .ticker-content { animation-duration: 12s; }
    .trust-badge { min-width: 130px; max-width: 130px; }
    .section-header h2 { font-size: 18px; }
    .section-header .view-all { font-size: 12px; }
}

/* ===== LOADING SKELETON ===== */
@keyframes skeleton-pulse {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.skeleton-card {
    background: white;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    padding: 16px;
    overflow: hidden;
}

.skeleton-img {
    height: 140px;
    border-radius: var(--radius);
    margin-bottom: 12px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeleton-pulse 1.5s ease infinite;
}

.skeleton-line {
    height: 12px;
    border-radius: 6px;
    margin-bottom: 8px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeleton-pulse 1.5s ease infinite;
}

.skeleton-line.w80 { width: 80%; }
.skeleton-line.w60 { width: 60%; }
.skeleton-line.w40 { width: 40%; }

.skeleton-btn {
    height: 38px;
    border-radius: var(--radius);
    margin-top: 12px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeleton-pulse 1.5s ease infinite;
}

/* ===== PREMIUM UPGRADES ===== */

/* 1. Scroll Fade-In-Up Animation - desktop only to avoid blank screen on mobile */
@media (min-width: 769px) {
    .fade-in-up {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.6s ease, transform 0.6s ease;
    }

    .fade-in-up.visible {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 2. Product Card Clean Hover */
.product-card:hover {
    box-shadow: var(--shadow-md);
    border-color: transparent;
}

/* 3. Solid Color Section Headers */
.section-header h2,
.trust-section .section-header h2 {
    color: var(--text-primary);
}

/* 4. Pulse Animation on Shop Now Button */
@keyframes pulse-glow {
    0% { box-shadow: 0 4px 15px rgba(5, 150, 105, 0.3); }
    50% { box-shadow: 0 4px 25px rgba(5, 150, 105, 0.45), 0 0 30px rgba(5, 150, 105, 0.15); }
    100% { box-shadow: 0 4px 15px rgba(5, 150, 105, 0.3); }
}

.hero-buttons .btn-primary {
    animation: pulse-glow 2.5s ease-in-out infinite;
}

.hero-buttons .btn-primary:hover {
    animation: none;
    box-shadow: 0 6px 30px rgba(5, 150, 105, 0.45);
}

/* 5. Shimmer/Loading Skeleton on Product Images */
@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.product-image {
    position: relative;
}

.product-image::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(90deg, transparent 25%, rgba(255,255,255,0.6) 50%, transparent 75%);
    background-size: 200% 100%;
    animation: shimmer 1.8s ease-in-out infinite;
    z-index: 1;
    pointer-events: none;
    opacity: 1;
    transition: opacity 0.4s;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.product-image.loaded::before {
    opacity: 0;
}

/* 6. Better Offer Cards - Pattern Overlay */
.offer-card::after {
    display: none;
}

.offer-card.offer-highlight {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

/* 7. Animated Counter Styles */
.trust-section {
    background: white;
    padding: 40px 0;
    border-top: 1px solid var(--border);
    overflow: hidden;
}

.trust-badges-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    text-align: center;
    max-width: 100%;
}

.trust-badge {
    padding: 28px 16px;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    transition: var(--transition);
    overflow: hidden;
    border: 1px solid var(--border);
    min-width: 0;
}

.trust-badge:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.trust-badge .trust-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
    font-size: 22px;
}

.trust-icon.green { background: var(--primary-light); color: var(--primary); }
.trust-icon.orange { background: var(--accent-light); color: var(--accent); }
.trust-icon.blue { background: #E3F2FD; color: #1565C0; transition: var(--transition); }

@keyframes scooter-bounce {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(4px); }
    50% { transform: translateX(-2px); }
    75% { transform: translateX(3px); }
}

.trust-badge:hover .trust-icon.blue {
    animation: scooter-bounce 0.6s ease;
}

.trust-badge:hover .trust-icon {
    transform: scale(1.1);
    box-shadow: var(--shadow);
}
.trust-icon.purple { background: #F3E5F5; color: #7B1FA2; }

.trust-badge .counter-value {
    font-size: 32px;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.2;
    margin-bottom: 4px;
    word-break: break-word;
    overflow-wrap: break-word;
}

.trust-badge .counter-label {
    font-size: 13px;
    color: var(--text-secondary);
    font-weight: 500;
    word-break: break-word;
    overflow-wrap: break-word;
}

/* 8. Smooth Hover Lift on All Cards */
.category-card,
.why-us-card,
.offer-card,
.trust-badge,
.testimonial-card {
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.35s cubic-bezier(0.4, 0, 0.2, 1),
                border-color 0.35s ease;
}

/* 9. Premium Badge Styling */
.product-discount {
    background: #EF4444;
    color: white;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 8px;
    font-size: 11px;
    letter-spacing: 0.3px;
    top: 12px;
    left: 12px;
}

/* 10. Promotional Ticker / Marquee */
.promo-ticker {
    background: linear-gradient(90deg, #0F172A, #1E293B, #0F172A);
    color: rgba(255,255,255,0.85);
    padding: 10px 0;
    overflow: hidden;
    position: relative;
    touch-action: pan-y;
    z-index: 0;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.3px;
}

.promo-ticker::before,
.promo-ticker::after {
    content: '';
    position: absolute;
    top: 0;
    width: 80px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.promo-ticker::before {
    left: 0;
    background: linear-gradient(90deg, #1A1D2E, transparent);
}

.promo-ticker::after {
    right: 0;
    background: linear-gradient(-90deg, #1A1D2E, transparent);
}

@keyframes ticker-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.promo-ticker .ticker-content {
    display: flex;
    white-space: nowrap;
    animation: ticker-scroll 22s linear infinite;
    gap: 0;
    will-change: transform;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.promo-ticker .ticker-content span {
    display: inline-flex;
    align-items: center;
    padding: 0 40px;
}

.promo-ticker .ticker-content span::after {
    content: '|';
    margin-left: 40px;
    opacity: 0.3;
    color: #FFD54F;
}

/* ===== TRUSTED BRANDS SECTION ===== */
.brands-section {
    padding: 50px 0;
    background: white;
    border-top: 1px solid var(--border);
    overflow: hidden;
}

.brands-marquee {
    overflow: hidden;
    position: relative;
    margin-top: 10px;
    touch-action: pan-y;
}

.brands-marquee::before,
.brands-marquee::after {
    content: '';
    position: absolute;
    top: 0;
    width: 100px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.brands-marquee::before {
    left: 0;
    background: linear-gradient(90deg, white, transparent);
}

.brands-marquee::after {
    right: 0;
    background: linear-gradient(-90deg, white, transparent);
}

@keyframes brands-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.brands-track {
    display: flex;
    gap: 16px;
    animation: brands-scroll 35s linear infinite;
    width: max-content;
    will-change: transform;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.brands-track:hover {
    animation-play-state: paused;
}

.brand-card {
    flex-shrink: 0;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 14px 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    cursor: default;
    min-width: 130px;
}

.brand-card:hover {
    border-color: var(--primary);
    background: var(--primary-light);
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.brand-logo {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 0.5px;
    white-space: nowrap;
    transition: var(--transition);
}

.brand-card:hover .brand-logo {
    color: var(--primary);
}

/* ===== HEADER SHRINK ON SCROLL ===== */
.header.header-shrink .ck-icon {
    height: 38px;
}

.header.header-shrink .bt-name { font-size: 18px; }
.header.header-shrink .bt-tag { font-size: 8px; }

.header.header-shrink .container {
    padding-top: 8px;
    padding-bottom: 8px;
}

/* ===== LOGIN MODAL ===== */
.modal-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(4px);
    z-index: 3000;
    display: none;
    opacity: 0;
    transition: opacity 0.3s;
}

.modal-overlay.active { display: block; opacity: 1; }

.login-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    background: white;
    border-radius: var(--radius-xl);
    padding: 36px 32px;
    width: 420px;
    max-width: 92vw;
    max-height: 90vh;
    overflow-y: auto;
    z-index: 3001;
    box-shadow: 0 20px 60px rgba(0,0,0,0.25);
    display: none;
    opacity: 0;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
}

.login-modal.active {
    display: block;
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.modal-close {
    position: absolute;
    top: 14px;
    right: 16px;
    background: var(--bg);
    border: none;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: var(--transition);
}

.modal-close:hover { background: #FFEBEE; color: #E53935; }

.modal-logo {
    margin-bottom: 16px;
}

.modal-logo img {
    height: 56px;
    border-radius: var(--radius);
    margin: 0 auto;
}

.login-modal h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.modal-tagline {
    font-size: 14px;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 4px;
    letter-spacing: 0.3px;
}

.modal-subtitle {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.modal-features {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 24px;
}

.modal-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: var(--bg);
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    text-align: left;
}

.modal-feature i {
    font-size: 18px;
    color: var(--primary);
    width: 24px;
    text-align: center;
    flex-shrink: 0;
}

.modal-feature span:first-of-type {
    flex: 1;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
}

.coming-tag {
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--accent);
    background: var(--accent-light);
    padding: 3px 8px;
    border-radius: var(--radius-full);
    flex-shrink: 0;
}

.modal-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
    color: var(--text-muted);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.modal-divider::before,
.modal-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border);
}

.modal-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.modal-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 13px 20px;
    border-radius: var(--radius-md);
    font-size: 15px;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-family: inherit;
}

.modal-btn:hover { transform: translateY(-2px); }

.whatsapp-btn {
    background: #25D366;
    color: white;
    box-shadow: 0 4px 15px rgba(37,211,102,0.3);
}

.whatsapp-btn:hover { box-shadow: 0 6px 20px rgba(37,211,102,0.4); }

.call-btn {
    background: var(--primary-gradient);
    color: white;
    box-shadow: 0 4px 15px rgba(10,143,63,0.3);
}

.call-btn:hover { box-shadow: 0 6px 20px rgba(10,143,63,0.4); }

.modal-footer-text {
    font-size: 11px;
    color: var(--text-muted);
    letter-spacing: 0.3px;
}

/* ===== CHECKOUT MODAL ===== */
.checkout-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.95);
    background: white;
    border-radius: 20px;
    width: 480px;
    max-width: 95vw;
    max-height: 90vh;
    overflow-y: auto;
    z-index: 3001;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
    display: none;
    opacity: 0;
    transition: all 0.3s ease;
}

.checkout-modal.active {
    display: block;
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.checkout-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid #E5E7EB;
    position: sticky;
    top: 0;
    background: white;
    z-index: 2;
    border-radius: 20px 20px 0 0;
}

.checkout-header h3 {
    font-size: 17px;
    font-weight: 700;
    flex: 1;
    text-align: center;
}

.checkout-back-btn {
    background: none;
    border: none;
    font-size: 16px;
    cursor: pointer;
    color: var(--text-secondary);
    padding: 6px;
    border-radius: 8px;
}

.checkout-back-btn:hover { background: #F3F4F6; }

.checkout-progress {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px 20px;
    gap: 0;
    border-bottom: 1px solid #F3F4F6;
}

.cp-step {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #9CA3AF;
    font-weight: 500;
}

.cp-step.active { color: var(--primary); }
.cp-step.done { color: var(--primary); }

.cp-dot {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #E5E7EB;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    color: #9CA3AF;
}

.cp-step.active .cp-dot {
    background: var(--primary);
    color: white;
}

.cp-step.done .cp-dot {
    background: var(--primary);
    color: white;
}

.cp-line {
    width: 40px;
    height: 2px;
    background: #E5E7EB;
    margin: 0 8px;
}

.cp-line.active { background: var(--primary); }

.checkout-body {
    padding: 20px;
}

/* Address cards */
.checkout-address-card {
    padding: 14px;
    border: 2px solid #E5E7EB;
    border-radius: 12px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.checkout-address-card:hover { border-color: #A7F3D0; }
.checkout-address-card.selected {
    border-color: var(--primary);
    background: #ECFDF5;
}

/* Payment cards */
.checkout-payment-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    border: 2px solid #E5E7EB;
    border-radius: 12px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.checkout-payment-card:hover { border-color: #A7F3D0; }
.checkout-payment-card.selected {
    border-color: var(--primary);
    background: #ECFDF5;
}

@media (max-width: 768px) {
    .checkout-modal {
        width: 100%;
        max-width: 100%;
        height: 100%;
        max-height: 100%;
        border-radius: 0;
        top: 0;
        left: 0;
        transform: translateY(100%);
    }
    .checkout-modal.active {
        transform: translateY(0);
    }
    .checkout-header { border-radius: 0; }
}

/* ===== PERFORMANCE: content-visibility on below-fold sections (desktop only) ===== */
@media (min-width: 769px) {
    .brands-section,
    .app-section {
        content-visibility: auto;
        contain-intrinsic-size: auto 500px;
    }
}

/* Performance: will-change on animated elements */
.product-card,
.offer-card,
.category-card,
.why-us-card,
.trust-badge {
    will-change: transform;
}

/* ===== ICON PREMIUM: Consistent icon sizing ===== */
/* Category nav icons - consistent size and spacing */
.category-nav a i {
    font-size: 14px;
    width: 16px;
    text-align: center;
    flex-shrink: 0;
}

.category-nav a.all-categories i {
    font-size: 14px;
}

.category-nav a.offers-link i {
    font-size: 14px;
    color: #FFD54F;
}

/* Top bar icons - consistent size */
.top-bar i {
    font-size: 12px;
    width: 14px;
    text-align: center;
}

/* Hero feature icons - consistent */
.hero-feature .feature-icon i {
    font-size: 16px;
}

/* Trust section icons - consistent */
.trust-badge .trust-icon i {
    font-size: 22px;
}

/* Why-us icons - consistent */
.why-us-icon i {
    font-size: 26px;
}

/* Section header icons - subtle brand colors */
.section-header h2 i.fa-fire {
    color: #E53935;
}

.section-header h2 i.fa-star {
    color: #FFB300;
}

/* Footer icons - consistent sizing */
.footer-social a i {
    font-size: 15px;
}

.footer-contact li i {
    font-size: 14px;
    width: 16px;
}

/* App features check icons - brand color */
.app-features li i.fa-check-circle {
    color: #FFD54F;
    font-size: 16px;
}

/* ===== TEXT PREMIUM: Consistent typography ===== */
/* Section headers - uniform look */
.section-header h2 {
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -0.3px;
    line-height: 1.3;
}

.product-name {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: -0.1px;
}

.product-weight {
    font-size: 12px;
    line-height: 1.4;
}

.price-current {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -0.3px;
}

.price-original {
    font-size: 13px;
    line-height: 1.4;
}

/* Why-us card text - uniform */
.why-us-card h4 {
    font-size: 16px;
    font-weight: 700;
    letter-spacing: -0.1px;
    line-height: 1.3;
}

.why-us-card p {
    font-size: 13px;
    line-height: 1.6;
    letter-spacing: 0.1px;
}

/* Category card text - uniform */
.category-card h4 {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.1px;
    line-height: 1.3;
}

.category-card .category-count {
    font-size: 11px;
    line-height: 1.4;
    letter-spacing: 0.2px;
}

/* Offer card text - uniform */
.offer-card .offer-label {
    font-size: 11px;
    letter-spacing: 1.5px;
    line-height: 1.4;
}

.offer-card h3 {
    font-size: 20px;
    line-height: 1.3;
    letter-spacing: -0.2px;
}

.offer-card p {
    font-size: 13px;
    line-height: 1.5;
}

.offer-card .offer-value {
    font-size: 32px;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

/* ===== PADDING & WIDTH: Consistent section padding ===== */
/* All major sections: 50px top/bottom */
.section {
    padding: 50px 0;
}

.trust-section {
    padding: 40px 0;
}

.brands-section {
    padding: 50px 0;
}

.app-section {
    padding: 60px 0;
}

/* Product cards - uniform padding */
.product-info {
    padding: 16px;
}

/* Overflow prevention - prevent horizontal scroll on all screen sizes */
.offers-grid,
.categories-grid,
.why-us-grid,
.trust-badges-grid,
.footer-grid,
.products-grid {
    max-width: 100%;
}

body {
    max-width: 100vw;
}

/* Mobile overflow fixes */
@media (max-width: 768px) {
    .brands-track { gap: 10px; }
    .brand-card { min-width: 100px; padding: 10px 18px; }
    .offer-card .offer-value { font-size: 26px; }
}

@media (max-width: 480px) {
    .phone-mockup {
        width: 150px;
        height: 300px;
        border-radius: 22px;
    }
}
