/* ============================================================
   MyDealZone — custom.css
   Global CSS Variables, Layout, Navbar, Footer, Category Page
   Rule: No inline CSS in Blade files. All styles live here.
   ============================================================ */

/* ── CSS Variables ─────────────────────────────────────────── */
:root {
    --brand-action:       #e53935;
    --brand-action-dark:  #c62828;
    --brand-primary:      #1B1F3B;
    --brand-primary-mid:  #2d3561;
    --dh-primary:         #2ecc71;
    --dh-primary-dark:    #27ae60;
    --dh-primary-light:   #e6f7ee;
    --dh-dark:            #0a192f;
    --dh-bg-light:        #f4f7f6;
    --dh-text-muted:      #64748b;
    --dh-border:          #e2e8f0;
}

/* ── Base Layout ───────────────────────────────────────────── */
body {
    font-family: 'Instrument Sans', 'DM Sans', sans-serif;
    background-color: #fafafa;
    color: #18181b;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Instrument Sans', sans-serif;
    letter-spacing: -0.02em;
}

.btn {
    border-radius: 8px;
}

.card {
    border-radius: 14px;
}

/* ── Navbar ────────────────────────────────────────────────── */
.brand-text {
    font-family: 'Instrument Sans', sans-serif;
    letter-spacing: -0.5px;
    color: #18181b;
}

.search-glass-nav {
    background: #f4f4f5;
    border-radius: 12px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.search-glass-nav:focus-within {
    background: #fff;
    border-color: #e4e4e7;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.search-glass-nav .form-control:focus {
    box-shadow: none;
}

.btn-telegram-nav {
    background-color: #e0f2fe;
    color: #0284c7;
    border-radius: 10px;
    padding: 8px 16px;
    text-decoration: none;
    font-size: 0.9rem;
    transition: 0.3s;
}

.btn-telegram-nav:hover {
    background-color: #0284c7;
    color: #fff;
}

.btn-action-dh {
    background-color: var(--brand-action);
    color: #fff;
    border-radius: 10px;
    font-weight: 600;
    border: none;
    transition: background 0.2s;
}

.btn-action-dh:hover {
    background-color: var(--brand-action-dark);
    color: #fff;
}

.profile-trigger::after {
    display: none;
}

.dropdown-menu {
    border-radius: 14px;
    min-width: 220px;
    padding: 10px;
}

.dropdown-item {
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: 0.2s;
}

.dropdown-item:hover {
    background-color: #f4f4f5;
    color: #18181b;
}

.animate-slide-up {
    animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 991.98px) {
    .navbar-nav {
        padding-top: 1rem;
    }
    .btn-action-dh {
        width: 100%;
        text-align: center;
    }
    .search-glass-nav {
        margin-bottom: 1rem;
    }
}


/* ── Footer ────────────────────────────────────────────────── */
.dh-footer-premium {
    background-color: var(--brand-primary);
    color: #ffffff;
    padding: 80px 0 40px;
}

.dh-footer-brand {
    font-size: 1.75rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.footer-heading {
    color: #ffffff;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1.5px;
    margin-bottom: 1.5rem;
}

.footer-link {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
    display: block;
    transition: all 0.3s ease;
}

.footer-link:hover {
    color: var(--brand-action);
    padding-left: 5px;
}

.btn-telegram-glass {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.btn-telegram-glass:hover {
    background: #0088cc;
    border-color: #0088cc;
    color: #fff;
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

@media (max-width: 768px) {
    .dh-footer-premium {
        padding: 60px 0 30px;
        text-align: center;
    }
    .footer-link:hover {
        padding-left: 0;
    }
}

/* ── Bootstrap Subtle Badges (for older Bootstrap 5.2 compat) ─ */
.bg-success-subtle {
    background-color: #dcfce7 !important;
}
.text-success-emphasis {
    color: #166534 !important;
}
.bg-warning-subtle {
    background-color: #fef9c3 !important;
}
.bg-danger-subtle {
    background-color: #fee2e2 !important;
}
.bg-primary-subtle {
    background-color: #e0f2fe !important;
}

/* ── Utilities ─────────────────────────────────────────────── */
.text-xs { font-size: 0.75rem; }
.text-sm { font-size: 0.875rem; }
.rounded-xl { border-radius: 0.75rem; }
.rounded-2xl { border-radius: 1rem; }

/* ── Category Page Hero ────────────────────────────────────── */
.cat-hero {
    background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-primary-mid) 100%);
    padding: 48px 0 36px;
    color: #fff;
}

.cat-hero-icon {
    font-size: 3.5rem;
    line-height: 1;
    display: inline-block;
}

.cat-hero-title {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.1;
}

.cat-hero-subtitle {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

.cat-stat-pill {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    padding: 6px 16px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #fff;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* ── Category Sidebar ──────────────────────────────────────── */
.cat-sidebar {
    background: #fff;
    border-radius: 14px;
    border: 1px solid #e4e4e7;
    overflow: hidden;
}

.cat-sidebar-header {
    background: #f8f8f8;
    padding: 14px 18px;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #555;
    border-bottom: 1px solid #e4e4e7;
}

.cat-filter-label {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 0;
    font-size: 0.9rem;
    color: #444;
    cursor: pointer;
}

.cat-filter-label input[type="checkbox"],
.cat-filter-label input[type="radio"] {
    accent-color: var(--brand-action);
    width: 15px;
    height: 15px;
}

.cat-stats-card {
    background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-primary-mid) 100%);
    color: #fff;
    border-radius: 14px;
    padding: 20px;
}

.cat-stats-card h6 {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 4px;
}

.cat-stats-card .stat-val {
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1;
}

/* ── Category Deal Cards ───────────────────────────────────── */
.cat-deal-card {
    border: 1px solid #e4e4e7;
    border-radius: 14px;
    background: #fff;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.cat-deal-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.10);
}

.cat-deal-img-wrap {
    position: relative;
    overflow: hidden;
}

.cat-deal-img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.cat-deal-card:hover .cat-deal-img {
    transform: scale(1.04);
}

.cat-store-banner {
    width: 100%;
    height: 160px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    color: #fff;
}

.cat-store-banner .store-initial {
    font-size: 2.5rem;
    font-weight: 900;
    line-height: 1;
    letter-spacing: -2px;
}

.cat-store-banner .store-label {
    font-size: 0.75rem;
    font-weight: 600;
    opacity: 0.9;
    letter-spacing: 0.5px;
}

.cat-badge-overlay {
    position: absolute;
    top: 10px;
    left: 10px;
}

.cat-verified-overlay {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0, 137, 123, 0.92);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 50px;
}

.cat-deal-body {
    padding: 14px 16px 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.cat-store-tag {
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 50px;
    padding: 2px 10px;
    display: inline-block;
    margin-bottom: 6px;
}

.cat-deal-title {
    font-size: 0.92rem;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.35;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.cat-deal-title a {
    color: inherit;
    text-decoration: none;
}

.cat-deal-title a:hover {
    color: var(--brand-action);
}

.cat-price-row {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 8px;
}

.cat-price-now {
    font-size: 1.1rem;
    font-weight: 800;
    color: #18181b;
}

.cat-price-was {
    font-size: 0.85rem;
    color: #999;
    text-decoration: line-through;
}

.cat-save-badge {
    font-size: 0.75rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 50px;
    display: inline-block;
    margin-bottom: 8px;
}

.cat-save-badge.discount {
    background: #fff3f3;
    color: var(--brand-action);
}

.cat-save-badge.cashback {
    background: #e8f5e9;
    color: #2e7d32;
}

.cat-save-badge.flat {
    background: #fff8e1;
    color: #e65100;
}

.cat-coupon-row {
    background: #fff8e1;
    border: 1.5px dashed #ffc107;
    border-radius: 8px;
    padding: 7px 10px;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    font-size: 0.82rem;
}

.cat-coupon-label {
    font-weight: 700;
    color: #888;
    text-transform: uppercase;
    font-size: 0.72rem;
    letter-spacing: 0.5px;
}

.cat-coupon-code {
    font-family: monospace;
    font-weight: 700;
    color: #333;
    flex: 1;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

.cat-copy-btn {
    background: #ffc107;
    color: #333;
    border: none;
    border-radius: 6px;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 3px 8px;
    cursor: pointer;
    transition: background 0.15s;
}

.cat-copy-btn:hover {
    background: #ffb300;
}

.cat-expiry {
    font-size: 0.78rem;
    color: #888;
    margin-bottom: 10px;
}

.cat-expiry.urgent {
    color: var(--brand-action);
    font-weight: 600;
}

.btn-get-deal-cat {
    background: var(--brand-action);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.9rem;
    padding: 11px 0;
    width: 100%;
    text-align: center;
    text-decoration: none;
    display: block;
    transition: background 0.2s, transform 0.15s;
    margin-top: auto;
}

.btn-get-deal-cat:hover {
    background: var(--brand-action-dark);
    color: #fff;
    transform: translateY(-1px);
}

.btn-get-deal-cat.cashback {
    background: #00897B;
}

.btn-get-deal-cat.cashback:hover {
    background: #00695C;
}

/* ── Sort/Filter Bar ───────────────────────────────────────── */
.cat-filter-bar {
    background: #fff;
    border: 1px solid #e4e4e7;
    border-radius: 12px;
    padding: 12px 18px;
}

/* ── Store Chips ───────────────────────────────────────────── */
.store-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 50px;
    border: 1.5px solid #e4e4e7;
    background: #fff;
    color: #444;
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
}

.store-chip:hover,
.store-chip.active {
    border-color: var(--brand-action);
    color: var(--brand-action);
    background: #fff5f5;
}

.store-chip-initial {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.72rem;
    font-weight: 800;
    color: #fff;
}


/* ============================================================
   Home Page Styles (extracted from home.blade.php)
   ============================================================ */
:root {
            --navy: #0f1b2d;
            --navy-mid: #162236;
            --navy-light: #1e3050;
            --accent-red: #e63946;
            --accent-orange: #f4a261;
            --accent-gold: #ffd166;
            --white: #ffffff;
            --gray-soft: #f4f6fb;
            --gray-card: #eef1f8;
            --text-dark: #1a1f2e;
            --text-muted: #6b7280;
            --sidebar-w: 240px;
            --radius: 14px;
            --radius-sm: 8px;
            --shadow: 0 4px 24px rgba(15,27,45,0.10);
            --shadow-lg: 0 8px 40px rgba(15,27,45,0.16);
        }

        /* CSS reset removed — Bootstrap handles normalisation */
        *, *::before, *::after { box-sizing: border-box; }

        body {
            font-family: 'Poppins', sans-serif;
            background: var(--gray-soft);
            color: var(--text-dark);
        }

        h1, h2, h3, h4, h5, h6, .heading {
            font-family: 'Nunito', sans-serif;
        }

        /* ── NAVBAR ── */
        .navbar-main {
            background: var(--navy);
            padding: 0 20px;
            height: 66px;
            display: flex;
            align-items: center;
            position: sticky;
            top: 0;
            z-index: 999;
            box-shadow: 0 2px 20px rgba(0,0,0,0.25);
        }
        .navbar-inner {
            max-width: 1170px; margin: 0 auto; width: 100%;
            display: flex; align-items: center; gap: 20px;
        }
        .navbar-logo {
            display: flex;
            align-items: center;
            gap: 8px;
            text-decoration: none;
            flex-shrink: 0;
        }
        .logo-icon {
            width: 36px; height: 36px;
            background: linear-gradient(135deg, var(--accent-red), var(--accent-orange));
            border-radius: 10px;
            display: flex; align-items: center; justify-content: center;
            font-size: 18px; font-weight: 900;
            color: white; font-family: 'Nunito', sans-serif;
        }
        .logo-text { font-family: 'Nunito', sans-serif; font-weight: 900; font-size: 1.4rem; color: white; }
        .logo-text span { color: var(--accent-orange); }

        .navbar-search {
            flex: 1;
            max-width: 560px;
            margin: 0 auto;
            position: relative;
        }
        .navbar-search input {
            width: 100%;
            background: rgba(255,255,255,0.10);
            border: 1.5px solid rgba(255,255,255,0.15);
            border-radius: 50px;
            padding: 9px 20px 9px 44px;
            color: white;
            font-size: 0.88rem;
            font-family: 'Poppins', sans-serif;
            outline: none;
            transition: all .2s;
        }
        .navbar-search input::placeholder { color: rgba(255,255,255,0.45); }
        .navbar-search input:focus { background: rgba(255,255,255,0.16); border-color: var(--accent-orange); }
        .navbar-search .search-icon {
            position: absolute; left: 15px; top: 50%; transform: translateY(-50%);
            color: rgba(255,255,255,0.5); font-size: 1rem;
        }

        .navbar-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
        .btn-nav-login {
            background: transparent; border: 1.5px solid rgba(255,255,255,0.3);
            color: white; border-radius: 50px; padding: 7px 18px;
            font-size: 0.82rem; font-family: 'Poppins', sans-serif; font-weight: 500;
            cursor: pointer; transition: all .2s; text-decoration: none;
        }
        .btn-nav-login:hover { border-color: var(--accent-orange); color: var(--accent-orange); }
        .btn-nav-signup {
            background: linear-gradient(135deg, var(--accent-red), var(--accent-orange));
            border: none; color: white; border-radius: 50px; padding: 7px 18px;
            font-size: 0.82rem; font-family: 'Poppins', sans-serif; font-weight: 600;
            cursor: pointer; transition: all .2s; text-decoration: none;
        }
        .btn-nav-signup:hover { opacity: .88; transform: translateY(-1px); }
        .cart-btn {
            width: 38px; height: 38px; border-radius: 50%;
            background: rgba(255,255,255,0.10); border: none;
            color: white; font-size: 1.1rem; display: flex; align-items: center; justify-content: center;
            cursor: pointer; transition: all .2s; position: relative;
        }
        .cart-btn:hover { background: rgba(255,255,255,0.18); }
        .cart-badge {
            position: absolute; top: -2px; right: -2px;
            width: 16px; height: 16px; border-radius: 50%;
            background: var(--accent-red); font-size: 9px; font-weight: 700;
            display: flex; align-items: center; justify-content: center; color: white;
        }

        /* ── HAMBURGER BUTTON (mobile only) ── */
        .nav-hamburger {
            display: none;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            gap: 5px;
            width: 40px;
            height: 40px;
            background: rgba(255,255,255,0.1);
            border: none;
            border-radius: 10px;
            cursor: pointer;
            flex-shrink: 0;
            padding: 0;
            transition: background .2s;
            margin-left: auto;
        }
        .nav-hamburger:hover { background: rgba(255,255,255,0.18); }
        .nav-ham-bar {
            display: block;
            width: 20px;
            height: 2px;
            background: #fff;
            border-radius: 2px;
            transition: transform .28s ease, opacity .2s ease, width .2s ease;
            transform-origin: center;
        }
        /* Animate to X when open */
        .nav-hamburger.open .nav-ham-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
        .nav-hamburger.open .nav-ham-bar:nth-child(2) { opacity: 0; width: 0; }
        .nav-hamburger.open .nav-ham-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

        /* ── MOBILE DRAWER — always fixed, opacity controls visibility ── */
        .nav-mobile-drawer {
            display: none; /* shown via bottom media query on mobile */
            position: fixed;
            top: 66px;
            left: 0;
            right: 0;
            bottom: 0;
            background: var(--navy);
            z-index: 998;
            overflow-y: auto;
            padding: 16px 0 32px;
            opacity: 0;
            transform: translateY(-12px);
            transition: opacity .28s ease, transform .28s ease;
            pointer-events: none;
        }
        .nav-mobile-drawer.open {
            opacity: 1;
            transform: translateY(0);
            pointer-events: auto;
        }
        .nav-mobile-overlay {
            display: none; /* shown via bottom media query on mobile */
            position: fixed;
            inset: 0;
            background: rgba(0,0,0,0.45);
            z-index: 997;
            opacity: 0;
            transition: opacity .25s ease;
            pointer-events: none;
        }
        .nav-mobile-overlay.open {
            opacity: 1;
            pointer-events: auto;
        }

        /* Drawer search */
        .nmd-search-wrap {
            position: relative;
            margin: 0 16px 16px;
        }
        .nmd-search-icon {
            position: absolute;
            left: 14px;
            top: 50%;
            transform: translateY(-50%);
            color: rgba(255,255,255,0.45);
            font-size: 1rem;
        }
        .nmd-search-input {
            width: 100%;
            background: rgba(255,255,255,0.1);
            border: 1.5px solid rgba(255,255,255,0.15);
            border-radius: 50px;
            padding: 11px 20px 11px 42px;
            color: white;
            font-size: .9rem;
            font-family: 'Poppins', sans-serif;
            outline: none;
        }
        .nmd-search-input::placeholder { color: rgba(255,255,255,0.4); }
        .nmd-search-input:focus { border-color: var(--accent-orange); }

        /* Section label */
        .nmd-section-label {
            font-size: .68rem;
            font-weight: 700;
            color: rgba(255,255,255,0.35);
            text-transform: uppercase;
            letter-spacing: 1px;
            padding: 14px 20px 6px;
            border-top: 1px solid rgba(255,255,255,0.08);
            margin-top: 6px;
        }

        /* Links */
        .nmd-links { display: flex; flex-direction: column; }
        .nmd-link {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 13px 20px;
            color: rgba(255,255,255,0.85);
            text-decoration: none;
            font-size: .92rem;
            font-weight: 500;
            border-bottom: 1px solid rgba(255,255,255,0.05);
            transition: background .15s, color .15s;
        }
        .nmd-link:hover { background: rgba(255,255,255,0.07); color: white; text-decoration: none; }
        .nmd-link i { color: var(--accent-orange); font-size: .95rem; width: 18px; text-align: center; }
        .nmd-link-danger { color: rgba(255,100,100,0.85); }
        .nmd-link-danger i { color: #f87171; }
        .nmd-link-tg i { color: #38bdf8; }

        /* Category links */
        .nmd-cat-link { padding-left: 28px; }
        .nmd-cat-icon { font-size: 1rem; }
        .nmd-cat-count {
            margin-left: auto;
            font-size: .72rem;
            background: rgba(255,255,255,0.12);
            padding: 2px 8px;
            border-radius: 50px;
            color: rgba(255,255,255,0.6);
        }

        /* Sign up button in drawer */
        .nmd-btn-signup {
            display: block;
            margin: 12px 20px 4px;
            background: linear-gradient(135deg, var(--accent-red), var(--accent-orange));
            color: white;
            text-align: center;
            padding: 13px;
            border-radius: 12px;
            text-decoration: none;
            font-weight: 700;
            font-size: .92rem;
            font-family: 'Poppins', sans-serif;
            transition: opacity .2s;
        }
        .nmd-btn-signup:hover { opacity: .88; color: white; text-decoration: none; }

        /* ── SECTION TITLE ── */
        .section-title {
            font-family: 'Nunito', sans-serif;
            font-weight: 800; font-size: 1.45rem; color: var(--text-dark);
            display: flex; align-items: center; gap: 10px;
        }
        .section-title .accent-dot {
            width: 8px; height: 8px; border-radius: 50%;
            background: linear-gradient(135deg, var(--accent-red), var(--accent-orange));
            display: inline-block;
        }
        .section-badge {
            font-size: 0.7rem; font-family: 'Poppins', sans-serif; font-weight: 600;
            background: linear-gradient(135deg, var(--accent-red), var(--accent-orange));
            color: white; border-radius: 50px; padding: 3px 10px; letter-spacing: .04em;
        }
        .view-all-link {
            font-size: 0.82rem; font-weight: 600; color: var(--accent-red);
            text-decoration: none; display: flex; align-items: center; gap: 4px; transition: gap .2s;
        }
        .view-all-link:hover { gap: 8px; color: var(--accent-red); }

        /* ── SECTION WRAPPER ── */
        .section-wrap { padding: 40px 20px; max-width: 1170px; margin: 0 auto; }

        /* ════════════════════════════
           1. TRENDING CATEGORIES  (matches Image 2)
        ════════════════════════════ */
        .tc-wrap { background: white; border-radius: 16px; box-shadow: var(--shadow); overflow: hidden; }

        /* Left sidebar */
        .tc-sidebar {
            width: 210px; flex-shrink: 0;
            border-right: 1px solid #edf0f7;
            overflow-y: auto;
        }
        .tc-sidebar::-webkit-scrollbar { width: 3px; }
        .tc-sidebar::-webkit-scrollbar-thumb { background: #dde3f0; border-radius: 3px; }

        .tc-cat-item {
            display: flex; align-items: center; gap: 13px;
            padding: 13px 16px; cursor: pointer;
            border-right: 3px solid transparent;
            transition: all .18s; color: var(--text-dark);
            font-size: 0.855rem; font-weight: 500;
            border-bottom: 1px solid #f2f4fa;
        }
        .tc-cat-item:last-child { border-bottom: none; }
        .tc-cat-item:hover { background: #f5f7fd; }
        .tc-cat-item.active {
            background: #eef3ff;
            border-right-color: var(--accent-red);
            color: var(--text-dark); font-weight: 600;
        }
        .tc-cat-thumb {
            width: 44px; height: 44px; border-radius: 50%;
            object-fit: cover; flex-shrink: 0; background: #f0f4ff;
            display: flex; align-items: center; justify-content: center;
            font-size: 1.3rem; overflow: hidden;
        }
        .tc-cat-thumb img { width: 100%; height: 100%; object-fit: cover; }
        .tc-cat-name { font-size: 0.85rem; line-height: 1.3; }
        .tc-chev { font-size: 0.65rem; color: #aaa; margin-left: 4px; }

        /* Right panel */
        .tc-panel { flex: 1; padding: 20px 22px; min-height: 440px; overflow: hidden; }
        .tc-show-more-link { font-size: 0.8rem; font-weight: 600; color: #3a7bd5; text-decoration: none; }

        /* Offers sub-section */
        .tc-sub-label {
            font-size: 0.82rem; font-weight: 600; color: #333;
            margin-bottom: 12px;
        }
        .tc-offers-row { display: flex; gap: 14px; margin-bottom: 22px; position: relative; }
        .tc-offer-card {
            flex: 1; background: white; border: 1.5px solid #e8edf8;
            border-radius: 12px; padding: 14px 14px 16px;
            transition: all .2s; cursor: pointer; min-width: 0;
        }
        .tc-offer-card:hover { box-shadow: var(--shadow); border-color: #c4cfe8; transform: translateY(-2px); }
        .tc-offer-store-logo {
            font-size: 0.78rem; color: var(--text-muted); font-weight: 500;
            margin-bottom: 8px; display: flex; align-items: center; gap: 5px;
        }
        .tc-offer-title {
            font-family: 'Nunito', sans-serif; font-weight: 800;
            font-size: 1.0rem; color: var(--text-dark); margin-bottom: 6px; line-height: 1.3;
        }
        .tc-cb-pill {
            display: inline-flex; align-items: center; gap: 5px;
            font-size: 0.73rem; font-weight: 700; color: var(--accent-red);
            margin-bottom: 12px;
        }
        .tc-cb-pill .cb-icon {
            width: 18px; height: 18px; border-radius: 50%;
            background: var(--accent-red); display: flex; align-items: center;
            justify-content: center; color: white; font-size: 9px; flex-shrink: 0;
        }
        .btn-tc-deal {
            width: 100%; background: var(--accent-red); color: white;
            border: none; border-radius: 6px; padding: 9px 0;
            font-size: 0.8rem; font-weight: 700; font-family: 'Poppins', sans-serif;
            cursor: pointer; transition: all .18s;
        }
        .btn-tc-deal:hover { background: #c92a36; }
        .btn-tc-coupon {
            width: 100%; background: var(--accent-red); color: white;
            border: none; border-radius: 6px; padding: 9px 0;
            font-size: 0.8rem; font-weight: 700; font-family: 'Poppins', sans-serif;
            cursor: pointer; transition: all .18s; position: relative;
        }
        .btn-tc-coupon .code-peek {
            position: absolute; right: 0; top: 0; bottom: 0;
            background: white; color: var(--text-dark); font-size: 0.7rem;
            font-weight: 700; display: flex; align-items: center;
            padding: 0 8px; border-radius: 0 6px 6px 0; border-left: 2px dashed var(--accent-red);
            letter-spacing: .06em;
        }
        .tc-next-btn {
            position: absolute; right: -10px; top: 50%; transform: translateY(-50%);
            width: 28px; height: 28px; border-radius: 50%; background: white;
            border: 1.5px solid #e0e5f0; display: flex; align-items: center;
            justify-content: center; cursor: pointer; font-size: 0.8rem;
            color: var(--text-muted); box-shadow: 0 2px 8px rgba(0,0,0,0.08);
            z-index: 2; transition: all .18s;
        }
        .tc-next-btn:hover { border-color: var(--accent-red); color: var(--accent-red); }

        /* Stores sub-section */
        .tc-stores-row { display: flex; gap: 0; overflow-x: auto; }
        .tc-stores-row::-webkit-scrollbar { height: 3px; }
        .tc-store-mini {
            flex: 1; min-width: 130px; padding: 12px 14px;
            border: 1px solid #edf0f8; border-radius: 0;
            cursor: pointer; transition: all .18s; background: white;
        }
        .tc-store-mini:first-child { border-radius: 10px 0 0 10px; }
        .tc-store-mini:last-child { border-radius: 0 10px 10px 0; }
        .tc-store-mini:not(:last-child) { border-right: none; }
        .tc-store-mini:hover { background: #f8faff; }
        .tc-store-logo-img {
            height: 22px; display: flex; align-items: center;
            margin-bottom: 4px; font-size: 0.8rem; font-weight: 700; color: var(--text-dark);
        }
        .tc-store-offer-count { font-size: 0.68rem; color: var(--text-muted); margin-bottom: 6px; }
        .tc-store-next-btn {
            width: 28px; height: 28px; border-radius: 50%; background: white;
            border: 1.5px solid #e0e5f0; display: flex; align-items: center;
            justify-content: center; cursor: pointer; font-size: 0.8rem;
            color: var(--text-muted); box-shadow: 0 2px 8px rgba(0,0,0,0.08);
            flex-shrink: 0; align-self: center; margin-left: 4px; transition: all .18s;
        }
        .tc-store-next-btn:hover { border-color: var(--accent-red); color: var(--accent-red); }

        /* ════════════════════════════
           2. TOP STORES  (matches Image 1)
        ════════════════════════════ */
        .ts-section { background: white; border-radius: 16px; box-shadow: var(--shadow); padding: 22px 20px; }

        .ts-inner {
            background: #eef2fb; border-radius: 12px;
            padding: 16px; display: flex; gap: 14px; align-items: stretch;
        }

        /* Featured big card (Amazon style) */
        .ts-featured {
            width: 180px; flex-shrink: 0;
            background: white; border-radius: 10px;
            padding: 16px 14px; display: flex; flex-direction: column;
            align-items: center; justify-content: center; text-align: center;
            cursor: pointer; transition: all .2s; position: relative;
        }
        .ts-featured:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
        .ts-featured-crown {
            position: absolute; top: 10px; right: 10px;
            width: 22px; height: 22px; border-radius: 50%;
            background: var(--accent-red); color: white;
            display: flex; align-items: center; justify-content: center; font-size: 10px;
        }
        .ts-featured-logo { font-size: 2rem; font-weight: 900; margin-bottom: 4px; line-height: 1; font-family: 'Nunito', sans-serif; }
        .ts-featured-name { font-size: 0.82rem; color: var(--text-muted); margin-bottom: 8px; }
        .ts-featured-cb {
            display: inline-flex; align-items: center; gap: 5px;
            font-size: 0.75rem; font-weight: 700; color: var(--accent-red);
            text-align: left;
        }
        .ts-featured-cb .cb-icon {
            width: 18px; height: 18px; border-radius: 50%;
            background: var(--accent-red); display: flex; align-items: center;
            justify-content: center; color: white; font-size: 9px; flex-shrink: 0;
        }

        /* Grid of stores */
        .ts-grid { flex: 1; display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
        .ts-grid-card {
            background: white; border-radius: 10px;
            padding: 12px 10px; display: flex; flex-direction: column;
            align-items: center; justify-content: space-between; text-align: center;
            cursor: pointer; transition: all .2s; min-height: 100px;
        }
        .ts-grid-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
        .ts-grid-logo {
            font-size: 1.4rem; font-weight: 800; font-family: 'Nunito', sans-serif;
            color: var(--text-dark); line-height: 1.1; margin-bottom: 6px;
            display: flex; align-items: center; justify-content: center;
            height: 40px; width: 100%;
        }
        .ts-grid-cb {
            display: inline-flex; align-items: center; gap: 4px;
            font-size: 0.72rem; font-weight: 700; color: var(--accent-red);
        }
        .ts-grid-cb .cb-icon {
            width: 16px; height: 16px; border-radius: 50%;
            background: var(--accent-red); display: flex; align-items: center;
            justify-content: center; color: white; font-size: 8px; flex-shrink: 0;
        }
        .ts-view-all {
            background: white; border-radius: 10px;
            display: flex; align-items: center; justify-content: center;
            font-size: 0.82rem; font-weight: 600; color: #3a7bd5;
            cursor: pointer; transition: all .2s; text-decoration: none;
            min-height: 100px;
        }
        .ts-view-all:hover { background: #f0f4ff; color: #2563c7; }

        /* Shared helpers kept from before */
        .deal-card { background: var(--gray-soft); border-radius: var(--radius); overflow: hidden; border: 1.5px solid var(--gray-card); transition: all .22s; cursor: pointer; position: relative; }
        .deal-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: rgba(230,57,70,0.2); }
        .deal-card-img { width: 100%; height: 130px; object-fit: cover; display: block; background: var(--gray-card); }
        .deal-card-body { padding: 12px 14px 14px; }
        .store-logo-chip { display: inline-flex; align-items: center; gap: 6px; font-size: 0.74rem; font-weight: 600; color: var(--text-muted); margin-bottom: 6px; }
        .deal-card-title { font-family: 'Nunito', sans-serif; font-weight: 700; font-size: 0.9rem; color: var(--text-dark); margin-bottom: 8px; line-height: 1.35; }
        .cashback-badge { display: inline-flex; align-items: center; gap: 4px; background: linear-gradient(135deg, #1db954, #0a8f3c); color: white; border-radius: 50px; padding: 3px 10px; font-size: 0.72rem; font-weight: 700; letter-spacing: .02em; margin-bottom: 10px; }
        .btn-get-deal { width: 100%; background: linear-gradient(135deg, var(--accent-red), var(--accent-orange)); border: none; color: white; border-radius: 50px; padding: 8px 0; font-size: 0.8rem; font-weight: 600; font-family: 'Poppins', sans-serif; cursor: pointer; transition: all .2s; }
        .btn-get-deal:hover { opacity: .88; transform: scale(1.02); }
        .new-tag { position: absolute; top: 10px; left: 10px; background: var(--accent-red); color: white; font-size: 0.64rem; font-weight: 700; letter-spacing: .06em; border-radius: 4px; padding: 2px 7px; }

        /* ════════════════════════════
           3. LATEST DEALS
        ════════════════════════════ */
        .latest-deals-section { background: white; border-radius: 20px; box-shadow: var(--shadow); padding: 26px 28px; }

        .latest-deal-card {
            background: var(--gray-soft); border-radius: var(--radius);
            border: 1.5px solid var(--gray-card); overflow: hidden;
            transition: all .22s; cursor: pointer; position: relative;
        }
        .latest-deal-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: rgba(230,57,70,0.2); }
        .latest-deal-card img { width: 100%; height: 160px; object-fit: cover; display: block; }
        .latest-deal-card-body { padding: 14px; }
        .price-row { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
        .price-new { font-family: 'Nunito', sans-serif; font-weight: 800; font-size: 1.1rem; color: var(--accent-red); }
        .price-old { font-size: 0.82rem; color: var(--text-muted); text-decoration: line-through; }
        .discount-chip {
            font-size: 0.68rem; font-weight: 700;
            background: #fff3e0; color: var(--accent-orange);
            border-radius: 4px; padding: 2px 6px;
        }

        /* ════════════════════════════
           4. TRENDING OFFERS
        ════════════════════════════ */
        .trending-section { background: white; border-radius: 20px; box-shadow: var(--shadow); padding: 26px 28px; }

        .trending-card {
            border-radius: var(--radius); overflow: hidden;
            position: relative; cursor: pointer; transition: all .22s;
            min-height: 130px; display: flex; align-items: center; padding: 22px 24px;
            gap: 20px;
        }
        .trending-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }

        .tc-grad-1 { background: linear-gradient(135deg, #0f1b2d 0%, #1e3a5f 100%); }
        .tc-grad-2 { background: linear-gradient(135deg, #3a1c71, #d76d77, #ffaf7b); }
        .tc-grad-3 { background: linear-gradient(135deg, #134e5e, #71b280); }
        .tc-grad-4 { background: linear-gradient(135deg, #4b1248, #f10711); }

        .trending-store-logo {
            width: 58px; height: 58px; border-radius: 12px;
            background: rgba(255,255,255,0.18);
            flex-shrink: 0; display: flex; align-items: center; justify-content: center;
            font-size: 1.6rem; color: white;
            backdrop-filter: blur(8px);
        }
        .trending-info { flex: 1; }
        .trending-headline { font-family: 'Nunito', sans-serif; font-weight: 800; font-size: 1.05rem; color: white; margin-bottom: 4px; line-height: 1.3; }
        .trending-sub { font-size: 0.78rem; color: rgba(255,255,255,0.75); margin-bottom: 10px; }
        .countdown-timer { display: flex; gap: 6px; }
        .countdown-unit { background: rgba(255,255,255,0.15); backdrop-filter: blur(4px); border-radius: 6px; padding: 4px 8px; text-align: center; min-width: 42px; }
        .countdown-num { font-family: 'Nunito', sans-serif; font-weight: 800; font-size: 1.1rem; color: white; display: block; line-height: 1; }
        .countdown-lbl { font-size: 0.6rem; color: rgba(255,255,255,0.6); letter-spacing: .06em; }
        .btn-grab {
            background: white; border: none; border-radius: 50px;
            padding: 10px 20px; font-size: 0.8rem; font-weight: 700;
            font-family: 'Poppins', sans-serif; cursor: pointer; transition: all .2s;
            color: var(--text-dark); flex-shrink: 0; white-space: nowrap;
        }
        .btn-grab:hover { background: var(--accent-gold); transform: scale(1.04); }

        /* ════════════════════════════
           5. COUPON CODES
        ════════════════════════════ */
        .coupons-section { background: white; border-radius: 20px; box-shadow: var(--shadow); padding: 26px 28px; }

        .coupon-card {
            background: white; border: 2px dashed #d1d8e8;
            border-radius: var(--radius); padding: 18px 16px;
            position: relative; transition: all .22s;
            cursor: pointer;
        }
        .coupon-card:hover { border-color: var(--accent-red); transform: translateY(-3px); box-shadow: var(--shadow); }
        .coupon-scissors {
            position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
            background: white; padding: 0 6px; color: var(--text-muted); font-size: 1rem;
        }
        .coupon-store-logo {
            width: 44px; height: 44px; border-radius: 10px; object-fit: contain;
            background: var(--gray-soft); margin-bottom: 10px; display: flex;
            align-items: center; justify-content: center; font-size: 1.2rem;
        }
        .coupon-store-name { font-size: 0.78rem; color: var(--text-muted); font-weight: 500; margin-bottom: 4px; }
        .coupon-discount { font-family: 'Nunito', sans-serif; font-weight: 900; font-size: 1.5rem; color: var(--text-dark); margin-bottom: 4px; }
        .coupon-desc { font-size: 0.75rem; color: var(--text-muted); margin-bottom: 14px; line-height: 1.4; }

        .coupon-code-area { display: flex; gap: 0; }
        .coupon-code-box {
            flex: 1; background: var(--gray-soft); border: 1.5px solid var(--gray-card);
            border-right: none; border-radius: var(--radius-sm) 0 0 var(--radius-sm);
            padding: 8px 12px; font-size: 0.82rem; font-weight: 700;
            font-family: 'Nunito', sans-serif; color: var(--text-dark);
            letter-spacing: .08em; display: flex; align-items: center;
            transition: all .3s;
        }
        .coupon-code-box.blurred { filter: blur(5px); user-select: none; }
        .btn-reveal {
            background: var(--navy); color: white; border: none;
            border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
            padding: 8px 14px; font-size: 0.78rem; font-weight: 600;
            font-family: 'Poppins', sans-serif; cursor: pointer; transition: all .2s;
            white-space: nowrap;
        }
        .btn-reveal.revealed { background: linear-gradient(135deg, var(--accent-red), var(--accent-orange)); }
        .btn-reveal:hover { opacity: .88; }

        /* ════════════════════════════
           6. NEWSLETTER
        ════════════════════════════ */
        .newsletter-section {
            background: var(--navy);
            border-radius: 20px;
            padding: 48px 28px;
            text-align: center;
            position: relative;
            overflow: hidden;
            box-shadow: var(--shadow-lg);
        }
        .newsletter-section::before {
            content: '';
            position: absolute; inset: 0;
            background: radial-gradient(ellipse at 20% 50%, rgba(230,57,70,0.12) 0%, transparent 60%),
            radial-gradient(ellipse at 80% 50%, rgba(244,162,97,0.10) 0%, transparent 60%);
        }
        .newsletter-content { position: relative; z-index: 1; }
        .newsletter-icon { font-size: 2.5rem; margin-bottom: 12px; display: block; }
        .newsletter-title { font-family: 'Nunito', sans-serif; font-weight: 900; font-size: 2rem; color: white; margin-bottom: 8px; }
        .newsletter-title span { color: var(--accent-orange); }
        .newsletter-sub { color: rgba(255,255,255,0.65); font-size: 0.9rem; margin-bottom: 28px; }
        .newsletter-form { display: flex; max-width: 480px; margin: 0 auto; gap: 0; border-radius: 50px; overflow: hidden; box-shadow: 0 4px 24px rgba(0,0,0,0.3); }
        .newsletter-form input {
            flex: 1; border: none; outline: none; background: white;
            padding: 14px 22px; font-family: 'Poppins', sans-serif; font-size: 0.88rem; color: var(--text-dark);
        }
        .newsletter-form button {
            background: linear-gradient(135deg, var(--accent-red), var(--accent-orange));
            border: none; color: white; padding: 14px 28px;
            font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 0.88rem;
            cursor: pointer; transition: all .2s; white-space: nowrap;
        }
        .newsletter-form button:hover { opacity: .9; }

        /* ════════════════════════════
           FOOTER
        ════════════════════════════ */
        .site-footer {
            background: var(--navy);
            color: rgba(255,255,255,0.6);
            padding: 50px 28px 24px;
            margin-top: 0;
        }
        .footer-logo-text { font-family: 'Nunito', sans-serif; font-weight: 900; font-size: 1.5rem; color: white; }
        .footer-logo-text span { color: var(--accent-orange); }
        .footer-tagline { font-size: 0.82rem; color: rgba(255,255,255,0.45); margin-top: 6px; }
        .footer-heading { font-family: 'Nunito', sans-serif; font-weight: 700; font-size: 0.9rem; color: white; margin-bottom: 14px; letter-spacing: .03em; }
        .footer-link {
            display: block; color: rgba(255,255,255,0.55); font-size: 0.82rem;
            text-decoration: none; margin-bottom: 8px; transition: color .18s;
        }
        .footer-link:hover { color: var(--accent-orange); }
        .social-btn {
            width: 36px; height: 36px; border-radius: 50%;
            background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.65);
            display: inline-flex; align-items: center; justify-content: center;
            font-size: 0.95rem; text-decoration: none; transition: all .2s;
            margin-right: 6px;
        }
        .social-btn:hover { background: var(--accent-red); color: white; }
        .footer-divider { border-color: rgba(255,255,255,0.08); margin: 30px 0 20px; }
        .footer-copy { font-size: 0.77rem; color: rgba(255,255,255,0.35); }

        /* ── LOAD MORE ── */
        .btn-load-more {
            background: white; border: 2px solid var(--gray-card);
            color: var(--text-dark); border-radius: 50px; padding: 11px 32px;
            font-size: 0.88rem; font-weight: 600; font-family: 'Poppins', sans-serif;
            cursor: pointer; transition: all .2s;
        }
        .btn-load-more:hover { border-color: var(--accent-red); color: var(--accent-red); }

        /* ════════════════════════════
           HERO SECTION — Premium Redesign
        ════════════════════════════ */
        .hero-section {
            background: var(--navy);
            padding: 0;
            position: relative;
            overflow: hidden;
            min-height: 560px;
            display: flex; flex-direction: column;
        }

        /* Multi-layer atmospheric background */
        .hero-section::before {
            content: '';
            position: absolute; inset: 0; z-index: 0;
            background:
                radial-gradient(ellipse 70% 100% at -10% 60%, rgba(230,57,70,0.18) 0%, transparent 55%),
                radial-gradient(ellipse 50% 80% at 110% 10%, rgba(244,162,97,0.12) 0%, transparent 50%),
                radial-gradient(ellipse 60% 60% at 50% 110%, rgba(37,99,235,0.08) 0%, transparent 55%),
                linear-gradient(160deg, #0d1929 0%, #0f1b2d 40%, #13223a 100%);
        }

        /* Decorative dot-grid texture */
        .hero-section::after {
            content: '';
            position: absolute; inset: 0; z-index: 0;
            background-image: radial-gradient(circle, rgba(255,255,255,0.04) 1px, transparent 1px);
            background-size: 28px 28px;
            pointer-events: none;
        }

        .hero-container {
            max-width: 1170px;
            margin: 0 auto;
            padding: 0 20px;
            width: 100%;
        }

        .hero-inner {
            position: relative; z-index: 1;
            display: flex; align-items: center; gap: 56px;
            padding: 60px 0 56px;
        }

        /* ── LEFT ── */
        .hero-left { flex: 1; min-width: 0; }

        /* Live ticker bar */
        .hero-ticker {
            display: inline-flex; align-items: center; gap: 10px;
            background: rgba(230,57,70,0.12); border: 1px solid rgba(230,57,70,0.28);
            border-radius: 50px; padding: 6px 16px 6px 8px;
            margin-bottom: 26px; backdrop-filter: blur(8px);
        }
        .hero-ticker .live-dot {
            width: 8px; height: 8px; border-radius: 50%; background: var(--accent-red);
            animation: live-blink 1.4s ease-in-out infinite;
            flex-shrink: 0;
        }
        @keyframes live-blink {
            0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(230,57,70,0.5); }
            50%       { opacity: .6; box-shadow: 0 0 0 6px rgba(230,57,70,0); }
        }
        .hero-ticker-text {
            font-size: 0.72rem; font-weight: 700; color: rgba(255,255,255,0.88);
            letter-spacing: .04em; text-transform: uppercase;
        }
        .hero-ticker-text span { color: var(--accent-orange); }

        /* Headline */
        .hero-h1 {
            font-family: 'Nunito', sans-serif; font-weight: 900;
            font-size: clamp(2.4rem, 4.2vw, 3.4rem);
            color: white; line-height: 1.1; margin-bottom: 18px;
            letter-spacing: -.02em;
        }
        .hero-h1 em {
            font-style: normal;
            background: linear-gradient(100deg, #ff6b6b 0%, #ffa040 50%, #ffd166 100%);
            -webkit-background-clip: text; -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .hero-lead {
            color: rgba(255,255,255,0.6); font-size: 1.02rem; line-height: 1.72;
            margin-bottom: 30px; max-width: 470px;
        }

        /* CTA buttons */
        .hero-ctas { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 38px; }
        .btn-hero-primary {
            display: inline-flex; align-items: center; gap: 8px;
            background: linear-gradient(135deg, var(--accent-red) 0%, #ff6b35 100%);
            color: white; border: none; border-radius: 12px;
            padding: 14px 28px; font-size: 0.95rem; font-weight: 700;
            font-family: 'Poppins', sans-serif; cursor: pointer;
            box-shadow: 0 8px 32px rgba(230,57,70,0.38);
            transition: all .22s; text-decoration: none;
        }
        .btn-hero-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 40px rgba(230,57,70,0.50); color: white; }
        .btn-hero-primary i { font-size: 1.05rem; }

        .btn-hero-secondary {
            display: inline-flex; align-items: center; gap: 8px;
            background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.88);
            border: 1.5px solid rgba(255,255,255,0.18); border-radius: 12px;
            padding: 13px 24px; font-size: 0.88rem; font-weight: 600;
            font-family: 'Poppins', sans-serif; cursor: pointer;
            backdrop-filter: blur(6px); transition: all .22s; text-decoration: none;
        }
        .btn-hero-secondary:hover { background: rgba(255,255,255,0.14); color: white; border-color: rgba(255,255,255,0.3); transform: translateY(-2px); }

        /* Trust bar */
        .hero-trust { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
        .hero-trust-item {
            display: flex; align-items: center; gap: 7px;
            font-size: 0.78rem; color: rgba(255,255,255,0.5); font-weight: 500;
        }
        .hero-trust-item i { color: var(--accent-orange); font-size: 0.9rem; }
        .hero-trust-divider { width: 1px; height: 16px; background: rgba(255,255,255,0.12); }

        /* ── RIGHT ── */
        .hero-right { width: 430px; flex-shrink: 0; }

        /* Floating savings card (big) */
        .hero-main-card {
            background: white; border-radius: 20px;
            padding: 20px; margin-bottom: 14px;
            box-shadow: 0 20px 60px rgba(0,0,0,0.35);
            position: relative; overflow: hidden;
        }
        .hero-main-card::before {
            content: '';
            position: absolute; top: 0; left: 0; right: 0; height: 4px;
            background: linear-gradient(90deg, var(--accent-red), var(--accent-orange), #ffd166);
        }
        .hero-main-card-header {
            display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px;
        }
        .hero-card-label {
            font-size: 0.7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
            color: var(--text-muted);
        }
        .hero-live-badge {
            display: inline-flex; align-items: center; gap: 5px;
            background: #fff0f0; border-radius: 50px; padding: 3px 10px;
            font-size: 0.68rem; font-weight: 700; color: var(--accent-red);
        }
        .hero-live-badge .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent-red); animation: live-blink 1.4s ease-in-out infinite; }

        /* Mini deal rows inside card */
        .hero-deal-row {
            display: flex; align-items: center; gap: 12px;
            padding: 10px 12px; border-radius: 10px; margin-bottom: 8px;
            background: var(--gray-soft); transition: background .18s; cursor: pointer;
        }
        .hero-deal-row:last-child { margin-bottom: 0; }
        .hero-deal-row:hover { background: #e8edf8; }
        .hero-deal-row-logo {
            width: 38px; height: 38px; border-radius: 8px; background: white;
            display: flex; align-items: center; justify-content: center;
            box-shadow: 0 2px 8px rgba(0,0,0,0.08); flex-shrink: 0;
        }
        .hero-deal-row-logo img { height: 18px; max-width: 34px; object-fit: contain; }
        .hero-deal-row-info { flex: 1; min-width: 0; }
        .hero-deal-row-title { font-size: 0.82rem; font-weight: 700; color: var(--text-dark); margin-bottom: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
        .hero-deal-row-sub { font-size: 0.7rem; color: var(--text-muted); }
        .hero-deal-pill {
            font-size: 0.72rem; font-weight: 800; border-radius: 8px;
            padding: 4px 10px; white-space: nowrap; flex-shrink: 0;
        }
        .pill-red { background: #fff0f0; color: var(--accent-red); }
        .pill-green { background: #e8faf0; color: #1a9648; }
        .pill-blue { background: #eff5ff; color: #2563eb; }
        .pill-orange { background: #fff5eb; color: #d96c00; }

        /* Bottom 2-col mini stats */
        .hero-stats-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
        .hero-stat-card {
            background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.1);
            border-radius: 14px; padding: 14px 16px;
            backdrop-filter: blur(8px);
        }
        .hero-stat-num {
            font-family: 'Nunito', sans-serif; font-weight: 900;
            font-size: 1.6rem; color: white; line-height: 1;
            margin-bottom: 4px;
        }
        .hero-stat-num span { color: var(--accent-orange); }
        .hero-stat-label { font-size: 0.72rem; color: rgba(255,255,255,0.45); font-weight: 500; line-height: 1.4; }
        .hero-stat-icon { font-size: 1.1rem; margin-bottom: 8px; display: block; }

        /* Floating notification pop */
        .hero-notif {
            position: absolute; bottom: -14px; left: -14px;
            background: white; border-radius: 14px; padding: 10px 14px;
            display: flex; align-items: center; gap: 10px;
            box-shadow: 0 8px 28px rgba(0,0,0,0.18);
            animation: float-notif 3s ease-in-out infinite;
            z-index: 2;
        }
        @keyframes float-notif {
            0%, 100% { transform: translateY(0); }
            50%       { transform: translateY(-6px); }
        }
        .hero-notif-icon { font-size: 1.3rem; }
        .hero-notif-title { font-size: 0.75rem; font-weight: 700; color: var(--text-dark); }
        .hero-notif-sub { font-size: 0.65rem; color: var(--text-muted); }

        @media (max-width: 991px) {
            .hero-right { display: none; }
            .hero-inner { padding: 48px 0 44px; gap: 0; }
            .hero-h1 { font-size: 2rem; }
        }

        /* ── UTILITIES ── */
        .gap-section { height: 24px; }
        [x-cloak] { display: none !important; }

        /* ── ANIMATIONS ── */
        @keyframes fadeInUp {
            from { opacity: 0; transform: translateY(18px); }
            to   { opacity: 1; transform: translateY(0); }
        }
        .fade-in-up { animation: fadeInUp .35s ease both; }
        .delay-1 { animation-delay: .05s; }
        .delay-2 { animation-delay: .10s; }
        .delay-3 { animation-delay: .15s; }
        .delay-4 { animation-delay: .20s; }

        @media (max-width: 768px) {
            .navbar-search { max-width: 100%; }
            .cat-sidebar { width: 100%; min-height: auto; display: flex; overflow-x: auto; padding: 0; }
            .cat-item { padding: 12px 14px; white-space: nowrap; flex-direction: column; gap: 4px; font-size: 0.72rem; border-left: none; border-bottom: 3px solid transparent; }
            .cat-item.active { border-left-color: transparent; border-bottom-color: var(--accent-red); }
            .section-wrap { padding: 28px 14px; }
        }

        /* ══════════════════════════════════════════════════
           UPGRADED SECTION STYLES — premium design layer
        ══════════════════════════════════════════════════ */

        /* Gradient top accent on every section block */
        .tc-wrap, .ts-section, .latest-deals-section, .trending-section, .coupons-section {
            position: relative;
        }
        .tc-wrap::before, .ts-section::before, .latest-deals-section::before,
        .trending-section::before, .coupons-section::before {
            content: '';
            position: absolute; top: 0; left: 0; right: 0;
            height: 3px; border-radius: 16px 16px 0 0;
            background: linear-gradient(90deg, var(--accent-red) 0%, var(--accent-orange) 55%, #ffd166 100%);
        }

        /* ── UPGRADED DEAL CARDS (Latest Deals section) ── */
        .deal-card-v2 {
            background: white;
            border-radius: var(--radius);
            border: 1.5px solid var(--gray-card);
            overflow: hidden;
            transition: all .22s;
            cursor: pointer;
            position: relative;
            display: flex; flex-direction: column;
            height: 100%;
        }
        .deal-card-v2:hover {
            transform: translateY(-5px);
            box-shadow: var(--shadow-lg);
            border-color: rgba(230,57,70,0.18);
        }
        .deal-img-wrap {
            position: relative;
            overflow: hidden;
            height: 180px;
            background: var(--gray-card);
            flex-shrink: 0;
        }
        .deal-img-wrap img {
            width: 100%; height: 100%;
            object-fit: cover; display: block;
            transition: transform .32s ease;
        }
        .deal-card-v2:hover .deal-img-wrap img { transform: scale(1.05); }
        .deal-img-overlay {
            position: absolute; bottom: 0; left: 0; right: 0;
            height: 55%;
            background: linear-gradient(to top, rgba(15,27,45,0.28) 0%, transparent 100%);
            pointer-events: none;
        }
        .deal-hot-tag {
            position: absolute; top: 10px; left: 10px;
            background: linear-gradient(135deg, var(--accent-red), var(--accent-orange));
            color: white; font-size: 0.6rem; font-weight: 800;
            border-radius: 6px; padding: 3px 8px; letter-spacing: .06em;
            box-shadow: 0 2px 8px rgba(230,57,70,0.4);
        }
        .deal-verified-tag {
            position: absolute; top: 10px; right: 10px;
            background: rgba(22,163,74,0.88);
            backdrop-filter: blur(4px);
            color: white; font-size: 0.58rem; font-weight: 700;
            border-radius: 6px; padding: 3px 7px; letter-spacing: .04em;
            display: flex; align-items: center; gap: 3px;
        }
        .deal-no-img {
            width: 100%; height: 180px;
            display: flex; align-items: center; justify-content: center;
            background: linear-gradient(135deg, #eef1f8 0%, #e4e9f5 100%);
            font-size: 3rem; flex-shrink: 0;
        }
        .deal-card-body-v2 {
            padding: 14px 14px 16px;
            display: flex; flex-direction: column; flex: 1;
        }
        .deal-store-chip-v2 {
            display: inline-flex; align-items: center; gap: 6px;
            font-size: 0.72rem; font-weight: 600; color: var(--text-muted);
            margin-bottom: 7px;
        }
        .deal-store-dot {
            width: 18px; height: 18px; border-radius: 5px;
            display: flex; align-items: center; justify-content: center;
            font-size: 0.62rem; font-weight: 800; color: white; flex-shrink: 0;
        }
        .deal-title-v2 {
            font-family: 'Nunito', sans-serif; font-weight: 700;
            font-size: 0.9rem; color: var(--text-dark);
            margin-bottom: 10px; line-height: 1.4;
            flex: 1;
            display: -webkit-box; -webkit-line-clamp: 2;
            -webkit-box-orient: vertical; overflow: hidden;
        }
        .price-row-v2 {
            display: flex; align-items: center; gap: 7px;
            margin-bottom: 8px; flex-wrap: wrap;
        }
        .price-new-v2 {
            font-family: 'Nunito', sans-serif; font-weight: 900;
            font-size: 1.15rem; color: var(--accent-red);
        }
        .price-old-v2 {
            font-size: 0.78rem; color: var(--text-muted);
            text-decoration: line-through;
        }
        .discount-pill {
            font-size: 0.65rem; font-weight: 800;
            background: linear-gradient(135deg, #fff0e6, #ffe4cc);
            color: var(--accent-orange); border-radius: 5px;
            padding: 2px 7px; letter-spacing: .03em;
        }
        .btn-get-deal-v2 {
            width: 100%;
            background: linear-gradient(135deg, var(--accent-red), var(--accent-orange));
            border: none; color: white; border-radius: 8px;
            padding: 9px 0; font-size: 0.8rem; font-weight: 700;
            font-family: 'Poppins', sans-serif; cursor: pointer;
            transition: all .2s; display: flex; align-items: center; justify-content: center; gap: 6px;
            text-decoration: none; margin-top: auto;
        }
        .btn-get-deal-v2:hover { opacity: .88; transform: translateY(-1px); color: white; }

        /* ── UPGRADED TOP STORES ── */
        .ts-grid-card-v2 {
            background: white; border-radius: 12px;
            padding: 14px 10px; display: flex; flex-direction: column;
            align-items: center; justify-content: space-between;
            text-align: center; cursor: pointer; transition: all .2s;
            min-height: 110px; border: 1.5px solid var(--gray-card);
            position: relative; overflow: hidden;
        }
        .ts-grid-card-v2::after {
            content: ''; position: absolute; bottom: 0; left: 0; right: 0;
            height: 2px; opacity: 0; transition: opacity .2s;
        }
        .ts-grid-card-v2:hover {
            box-shadow: var(--shadow); transform: translateY(-3px);
            border-color: rgba(230,57,70,0.12);
        }
        .ts-grid-card-v2:hover::after { opacity: 1; }
        .ts-store-initial {
            width: 48px; height: 48px; border-radius: 12px;
            display: flex; align-items: center; justify-content: center;
            font-family: 'Nunito', sans-serif; font-weight: 900;
            font-size: 1.2rem; color: white; margin-bottom: 8px; flex-shrink: 0;
        }
        .ts-store-name-v2 {
            font-size: 0.78rem; font-weight: 700; color: var(--text-dark);
            margin-bottom: 5px; line-height: 1.2;
        }
        .ts-deal-count {
            font-size: 0.65rem; color: var(--text-muted); font-weight: 500;
        }
        .ts-featured-v2 {
            width: 180px; flex-shrink: 0; background: white;
            border-radius: 12px; padding: 18px 14px;
            display: flex; flex-direction: column; align-items: center;
            justify-content: center; text-align: center; cursor: pointer;
            transition: all .2s; position: relative;
            border: 1.5px solid var(--gray-card);
        }
        .ts-featured-v2:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
        .ts-featured-crown-v2 {
            position: absolute; top: 10px; right: 10px;
            width: 24px; height: 24px; border-radius: 50%;
            background: linear-gradient(135deg, var(--accent-red), var(--accent-orange));
            color: white; display: flex; align-items: center; justify-content: center; font-size: 10px;
        }
        .ts-featured-initial {
            width: 64px; height: 64px; border-radius: 16px;
            display: flex; align-items: center; justify-content: center;
            font-family: 'Nunito', sans-serif; font-weight: 900; font-size: 1.8rem; color: white;
            margin-bottom: 10px;
            box-shadow: 0 8px 24px rgba(0,0,0,0.15);
        }
        .ts-featured-name-v2 { font-size: 0.88rem; color: var(--text-muted); margin-bottom: 6px; font-weight: 500; }
        .ts-featured-deals {
            font-size: 0.75rem; font-weight: 700; color: var(--accent-red);
            display: flex; align-items: center; gap: 5px;
        }

/* ════════════════════════════════════════════════════
   CAMPAIGN-BASED TOP STORES GRID (Home Page)
════════════════════════════════════════════════════ */
.ts-camp-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 14px;
}
.ts-camp-card {
    background: white;
    border-radius: 14px;
    border: 1.5px solid #edf0f8;
    padding: 20px 14px 16px;
    text-align: center;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow: hidden;
    transition: all 0.22s;
}
.ts-camp-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: var(--camp-color, var(--accent-red));
    border-radius: 14px 14px 0 0;
}
.ts-camp-card:hover {
    box-shadow: 0 8px 32px rgba(15,27,45,0.12);
    transform: translateY(-3px);
    border-color: transparent;
    text-decoration: none;
    color: inherit;
}
.ts-camp-icon {
    width: 52px; height: 52px;
    border-radius: 13px;
    background: var(--camp-color, var(--accent-red));
    color: white;
    font-size: 1.15rem; font-weight: 900;
    font-family: 'Nunito', sans-serif;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 10px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.15);
}
.ts-camp-name {
    font-size: 0.87rem; font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 7px;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    max-width: 100%;
}
.ts-camp-cb {
    font-size: 0.7rem; font-weight: 600;
    padding: 2px 10px; border-radius: 50px;
    margin-bottom: 9px; display: inline-block;
}
.ts-camp-cb.has-cb { background: #e8f5e9; color: #2e7d32; }
.ts-camp-cb.no-cb  { background: #f5f5f5; color: #9e9e9e; }
.ts-camp-pills {
    display: flex; gap: 5px; justify-content: center;
    flex-wrap: wrap; margin-bottom: 10px;
}
.ts-camp-pill {
    font-size: 0.66rem; font-weight: 600;
    padding: 2px 7px; border-radius: 50px;
    display: flex; align-items: center; gap: 3px;
}
.ts-camp-pill-d { background: #fff3e0; color: #bf360c; }
.ts-camp-pill-c { background: #e8f5e9; color: #1b5e20; }
.ts-camp-cta {
    font-size: 0.72rem; font-weight: 700;
    color: var(--accent-red);
    margin-top: auto;
}
/* View All card */
.ts-camp-viewall { border: 2px dashed #d4dbef; background: #f8f9fd; }
.ts-camp-viewall::before { display: none; }
.ts-camp-viewall:hover { border-color: var(--accent-red); background: #fff5f5; }
.ts-camp-viewall-icon {
    width: 52px; height: 52px;
    border-radius: 13px;
    background: linear-gradient(135deg, var(--navy), #243b57);
    color: white; font-size: 1.3rem;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 10px;
}
@media (max-width: 576px) {
    .ts-camp-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .ts-camp-card { padding: 16px 10px 12px; }
}

        /* ── UPGRADED TRENDING OFFERS ── */
        .trending-card-v2 {
            border-radius: var(--radius); overflow: hidden;
            position: relative; cursor: pointer; transition: all .22s;
            min-height: 140px; display: flex; align-items: center; padding: 22px 24px;
            gap: 18px; border: 1px solid rgba(255,255,255,0.06);
        }
        .trending-card-v2:hover { transform: translateY(-3px); box-shadow: 0 12px 40px rgba(0,0,0,0.3); }
        .trending-logo-v2 {
            width: 58px; height: 58px; border-radius: 14px;
            background: rgba(255,255,255,0.15); flex-shrink: 0;
            display: flex; align-items: center; justify-content: center;
            font-size: 1.7rem; backdrop-filter: blur(8px);
        }
        .trending-headline-v2 {
            font-family: 'Nunito', sans-serif; font-weight: 800;
            font-size: 1.05rem; color: white; margin-bottom: 5px; line-height: 1.3;
        }
        .trending-sub-v2 { font-size: 0.78rem; color: rgba(255,255,255,0.72); margin-bottom: 10px; }
        .trending-stats-row {
            display: flex; gap: 10px; align-items: center;
        }
        .trending-stat-pill {
            background: rgba(255,255,255,0.15); backdrop-filter: blur(4px);
            border-radius: 6px; padding: 4px 10px;
            font-size: 0.72rem; font-weight: 700; color: white;
            display: flex; align-items: center; gap: 5px;
        }
        .btn-grab-v2 {
            background: white; border: none; border-radius: 10px;
            padding: 10px 20px; font-size: 0.8rem; font-weight: 700;
            font-family: 'Poppins', sans-serif; cursor: pointer; transition: all .2s;
            color: var(--text-dark); flex-shrink: 0; white-space: nowrap;
            text-decoration: none; display: inline-block;
        }
        .btn-grab-v2:hover { background: var(--accent-gold); transform: scale(1.04); color: var(--text-dark); }

        /* ── UPGRADED COUPON CARDS ── */
        .coupon-card-v2 {
            background: white; border-radius: var(--radius);
            overflow: hidden; border: 1.5px solid var(--gray-card);
            transition: all .22s; cursor: pointer; position: relative;
            height: 100%; display: flex; flex-direction: column;
        }
        .coupon-card-v2:hover {
            border-color: rgba(230,57,70,0.25);
            transform: translateY(-3px); box-shadow: var(--shadow);
        }
        .coupon-accent-top {
            height: 4px;
            background: linear-gradient(90deg, var(--accent-red), var(--accent-orange), #ffd166);
        }
        .coupon-body-v2 { padding: 18px 16px; display: flex; flex-direction: column; flex: 1; }
        .coupon-store-row {
            display: flex; align-items: center; gap: 10px; margin-bottom: 12px;
        }
        .coupon-store-icon {
            width: 42px; height: 42px; border-radius: 10px;
            display: flex; align-items: center; justify-content: center;
            font-size: 1.2rem; flex-shrink: 0;
            background: var(--gray-soft);
        }
        .coupon-store-info { flex: 1; min-width: 0; }
        .coupon-store-initial { font-size: 1.3rem; font-weight: 900; font-family: 'Nunito', sans-serif; }
        .coupon-store-name-v2 { font-size: 0.75rem; color: var(--text-muted); font-weight: 600; }
        .coupon-camp-cb {
            display: inline-flex; align-items: center; gap: 4px;
            font-size: 0.72rem; font-weight: 700;
            padding: 2px 8px; border-radius: 50px; margin-top: 2px;
        }
        .coupon-camp-cb.has-cb { background: #e8f5e9; color: #2e7d32; }
        .coupon-camp-cb.no-cb  { background: #f5f5f5; color: #9e9e9e; }
        .coupon-discount-v2 {
            font-family: 'Nunito', sans-serif; font-weight: 900;
            font-size: 1.25rem; color: var(--text-dark); line-height: 1.2;
        }
        .coupon-desc-v2 {
            font-size: 0.74rem; color: var(--text-muted);
            margin-bottom: 14px; line-height: 1.5; flex: 1;
            display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
        }
        .coupon-reveal-row { display: flex; gap: 0; margin-top: auto; }
        .coupon-code-v2 {
            flex: 1; background: var(--gray-soft); border: 1.5px solid var(--gray-card);
            border-right: none; border-radius: var(--radius-sm) 0 0 var(--radius-sm);
            padding: 9px 12px; font-size: 0.82rem; font-weight: 700;
            font-family: 'Nunito', sans-serif; color: var(--text-dark);
            letter-spacing: .08em; display: flex; align-items: center;
            transition: filter .3s;
        }
        .coupon-code-v2.blurred { filter: blur(5px); user-select: none; }
        .btn-reveal-v2 {
            background: var(--navy); color: white; border: none;
            border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
            padding: 9px 14px; font-size: 0.78rem; font-weight: 700;
            font-family: 'Poppins', sans-serif; cursor: pointer; transition: all .2s;
            white-space: nowrap;
        }
        .btn-reveal-v2.revealed { background: linear-gradient(135deg, var(--accent-red), var(--accent-orange)); }
        .btn-reveal-v2:hover { opacity: .88; }

        /* ── UPGRADED NEWSLETTER ── */
        .newsletter-feature-pills {
            display: flex; justify-content: center; gap: 14px; flex-wrap: wrap;
            margin-bottom: 24px;
        }
        .nl-pill {
            display: inline-flex; align-items: center; gap: 7px;
            background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.14);
            border-radius: 50px; padding: 7px 16px;
            font-size: 0.78rem; color: rgba(255,255,255,0.75); font-weight: 500;
            backdrop-filter: blur(6px);
        }
        .nl-pill i { color: var(--accent-orange); font-size: 0.88rem; }

        /* ── SECTION COUNT BADGE ── */
        .section-count-badge {
            font-size: 0.65rem; font-weight: 700;
            background: var(--gray-soft); color: var(--text-muted);
            border-radius: 50px; padding: 3px 10px;
            border: 1px solid var(--gray-card);
        }

        /* ── CATEGORY SIDEBAR DEAL COUNT ── */
        .tc-cat-count {
            font-size: 0.65rem; color: var(--text-muted); font-weight: 600;
            background: var(--gray-soft); border-radius: 50px;
            padding: 1px 7px; margin-left: auto; flex-shrink: 0;
        }
        .tc-cat-item.active .tc-cat-count {
            background: rgba(230,57,70,0.1); color: var(--accent-red);
        }
/* ════════════════════════════════════════
   STORES PAGE — store card hover
════════════════════════════════════════ */
.store-card:hover {
    background-color: #f8f9fa;
    transform: translateY(-2px);
    transition: all 0.2s ease;
}

/* ════════════════════════════════════════
   FOOTER — additional helpers
════════════════════════════════════════ */
.footer-inner {
    max-width: 1170px;
    margin: 0 auto;
}

.footer-desc {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
    margin-top: 14px;
    line-height: 1.7;
}

/* newsletter small print */
.newsletter-fine-print {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.35);
    margin-top: 14px;
}

/* trending-info flex helper */
.trending-info {
    flex: 1;
    min-width: 0;
}

/* ════════════════════════════════════════════════════════
   STORES / CAMPAIGNS PAGE
════════════════════════════════════════════════════════ */

/* ── Hero Banner ── */
.stores-hero {
    background: var(--navy);
    padding: 52px 0 44px;
    position: relative;
    overflow: hidden;
}
.stores-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 60% 80% at 80% 50%, rgba(244,162,97,.12) 0%, transparent 70%),
                radial-gradient(ellipse 50% 60% at 20% 60%, rgba(230,57,70,.1) 0%, transparent 70%);
    pointer-events: none;
}
.stores-hero-inner {
    position: relative;
    z-index: 1;
    max-width: 1170px;
    margin: 0 auto;
    padding: 0 20px;
}
.stores-hero-title {
    font-family: 'Nunito', sans-serif;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 900;
    color: #fff;
    margin-bottom: 8px;
}
.stores-hero-title span { color: var(--accent-orange); }
.stores-hero-sub {
    color: rgba(255,255,255,.6);
    font-size: .95rem;
    margin-bottom: 24px;
}
.stores-hero-stats {
    display: flex;
    gap: 28px;
    flex-wrap: wrap;
}
.stores-hero-stat {
    color: rgba(255,255,255,.75);
    font-size: .8rem;
    display: flex;
    align-items: center;
    gap: 6px;
}
.stores-hero-stat i { color: var(--accent-orange); font-size: .9rem; }

/* ── Search & Filter bar ── */
.stores-filter-bar {
    background: #fff;
    border-bottom: 1px solid #e9ecef;
    padding: 14px 0;
    position: sticky;
    top: 66px;
    z-index: 90;
    box-shadow: 0 2px 12px rgba(0,0,0,.06);
}
.stores-filter-inner {
    max-width: 1170px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}
.stores-search-wrap {
    position: relative;
    flex: 1;
    min-width: 200px;
    max-width: 380px;
}
.stores-search-wrap i {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #aaa;
    font-size: .9rem;
}
.stores-search-input {
    width: 100%;
    padding: 9px 14px 9px 36px;
    border: 1.5px solid #e2e8f0;
    border-radius: 50px;
    font-size: .88rem;
    outline: none;
    transition: border-color .2s;
    font-family: 'Poppins', sans-serif;
}
.stores-search-input:focus { border-color: var(--accent-red); }

.stores-sort-select {
    padding: 9px 14px;
    border: 1.5px solid #e2e8f0;
    border-radius: 50px;
    font-size: .85rem;
    outline: none;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    background: #fff;
}
.stores-sort-select:focus { border-color: var(--accent-red); }

.stores-filter-count {
    color: #6b7280;
    font-size: .82rem;
    margin-left: auto;
    white-space: nowrap;
}

/* ── Campaign Card Grid ── */
.campaigns-grid-wrap {
    max-width: 1170px;
    margin: 0 auto;
    padding: 32px 20px 48px;
}

.campaign-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    border: 1.5px solid #eef1f8;
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: inherit;
}
.campaign-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(15,27,45,.13);
    border-color: var(--accent-orange);
    color: inherit;
}

.campaign-card-accent {
    height: 5px;
    background: linear-gradient(90deg, var(--store-color, var(--accent-red)), var(--accent-orange));
}

.campaign-card-body {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.campaign-store-logo {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Nunito', sans-serif;
    font-weight: 900;
    font-size: 1.3rem;
    color: #fff;
    flex-shrink: 0;
    overflow: hidden;
}
.campaign-store-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 6px;
    background: #fff;
    border-radius: 14px;
}

.campaign-store-name {
    font-family: 'Nunito', sans-serif;
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--text-dark);
    line-height: 1.2;
}

.campaign-name {
    font-size: .78rem;
    color: #9ca3af;
    font-weight: 500;
    letter-spacing: .3px;
}

.cashback-tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: linear-gradient(135deg, #fff7ed, #fff3e0);
    border: 1.5px solid var(--accent-orange);
    color: #c2410c;
    font-size: .82rem;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 50px;
    width: fit-content;
}
.cashback-tag i { font-size: .78rem; }

.cashback-tag-none {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #f3f4f6;
    color: #9ca3af;
    font-size: .78rem;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 50px;
    width: fit-content;
}

.campaign-desc {
    font-size: .8rem;
    color: #6b7280;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

.btn-shop-earn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: linear-gradient(135deg, var(--accent-red), #c0392b);
    color: #fff;
    font-size: .82rem;
    font-weight: 700;
    padding: 10px 16px;
    border-radius: 10px;
    border: none;
    text-decoration: none;
    transition: opacity .2s;
    margin-top: auto;
    font-family: 'Poppins', sans-serif;
}
.btn-shop-earn:hover { opacity: .9; color: #fff; text-decoration: none; }

/* ── Empty state ── */
.stores-empty {
    text-align: center;
    padding: 80px 20px;
    color: #9ca3af;
}
.stores-empty i { font-size: 3rem; display: block; margin-bottom: 16px; }

/* ════════════════════════════════════════════════════════
   CAMPAIGN CARD — Deal/Coupon count pills
════════════════════════════════════════════════════════ */
.campaign-counts {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.campaign-count-pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: .75rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 50px;
}
.campaign-count-pill i { font-size: .7rem; }

.pill-deals {
    background: #fff7ed;
    color: #c2410c;
    border: 1.5px solid #fed7aa;
}
.pill-coupons {
    background: #f0fdf4;
    color: #166534;
    border: 1.5px solid #bbf7d0;
}
.pill-empty {
    background: #f9fafb;
    color: #9ca3af;
    border: 1.5px solid #e5e7eb;
}

/* ════════════════════════════════════════════════════════
   NAVBAR — Categories Dropdown (Redesigned)
════════════════════════════════════════════════════════ */

.nav-cat-dropdown {
    position: relative;
    flex-shrink: 0;
}

/* ── Trigger button ── */
.nav-cat-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,255,255,.12);
    border: 1.5px solid rgba(255,255,255,.2);
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-size: .82rem;
    font-weight: 600;
    padding: 7px 14px;
    border-radius: 50px;
    cursor: pointer;
    transition: background .2s, border-color .2s;
    white-space: nowrap;
    line-height: 1;
}
.nav-cat-btn i { font-size: .85rem; }
.nav-cat-btn:hover,
.nav-cat-btn[aria-expanded="true"] {
    background: rgba(255,255,255,.22);
    border-color: rgba(255,255,255,.45);
}
.nav-cat-arrow {
    font-size: .62rem !important;
    transition: transform .25s ease;
}
.nav-cat-btn[aria-expanded="true"] .nav-cat-arrow {
    transform: rotate(180deg);
}

/* ── Dropdown panel ── */
.nav-cat-menu {
    display: none;
    position: absolute;
    top: calc(100% + 14px);
    left: 0;
    width: 460px;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 24px 64px rgba(15,27,45,.22), 0 2px 8px rgba(15,27,45,.08);
    z-index: 1050;
    overflow: hidden;
    border: 1px solid #edf0f8;
    animation: ncMenuIn .2s cubic-bezier(.16,1,.3,1);
}
.nav-cat-menu.open { display: block; }

@keyframes ncMenuIn {
    from { opacity: 0; transform: translateY(-10px) scale(.97); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* ── Panel header ── */
.nav-cat-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px 12px;
    border-bottom: 1px solid #f1f4fb;
}
.nav-cat-header-title {
    font-family: 'Nunito', sans-serif;
    font-weight: 800;
    font-size: .94rem;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 7px;
}
.nav-cat-header-title i { color: var(--accent-red); font-size: 1rem; }
.nav-cat-total-badge {
    font-size: .7rem;
    font-weight: 700;
    color: var(--accent-red);
    background: rgba(230,57,70,.1);
    border: 1px solid rgba(230,57,70,.2);
    padding: 3px 10px;
    border-radius: 50px;
}

/* ── 2-column category grid ── */
.nav-cat-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3px;
    padding: 10px;
    max-height: 360px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #e2e8f0 transparent;
}
.nav-cat-grid::-webkit-scrollbar { width: 4px; }
.nav-cat-grid::-webkit-scrollbar-thumb { background: #e2e8f0; border-radius: 4px; }

/* ── Category item ── */
.nav-cat-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 11px;
    border-radius: 12px;
    text-decoration: none;
    color: var(--text-dark);
    border: 1.5px solid transparent;
    transition: background .15s, border-color .15s;
    overflow: hidden;
}
.nav-cat-item:hover {
    background: #f8f9fe;
    border-color: #e8ecf8;
    text-decoration: none;
    color: var(--text-dark);
}

/* ── Icon box with cycling background colours ── */
.nav-cat-icon-wrap {
    width: 40px;
    height: 40px;
    border-radius: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}
.nc-c0 { background: rgba(230, 57,  70, .13); }
.nc-c1 { background: rgba( 58,123, 213, .13); }
.nc-c2 { background: rgba(244,162,  97, .15); }
.nc-c3 { background: rgba( 46,204, 113, .13); }
.nc-c4 { background: rgba(155, 89, 182, .13); }
.nc-c5 { background: rgba(230,126,  34, .13); }
.nc-c6 { background: rgba( 26,188, 156, .13); }
.nc-c7 { background: rgba( 52,152, 219, .13); }

/* ── Category name + counts ── */
.nav-cat-info { flex: 1; min-width: 0; }
.nav-cat-label {
    font-weight: 600;
    font-size: .82rem;
    color: var(--text-dark);
    line-height: 1.25;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.nav-cat-counts {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 2px;
    flex-wrap: nowrap;
}
.nc-deals-pill {
    font-size: .65rem;
    font-weight: 700;
    color: #c2410c;
    background: #fff7ed;
    border: 1px solid #fed7aa;
    padding: 1px 6px;
    border-radius: 50px;
    white-space: nowrap;
}
.nc-coupons-pill {
    font-size: .65rem;
    font-weight: 700;
    color: #166534;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    padding: 1px 6px;
    border-radius: 50px;
    white-space: nowrap;
}
.nc-empty-pill {
    font-size: .65rem;
    font-weight: 600;
    color: #9ca3af;
    white-space: nowrap;
}

/* ── Footer link ── */
.nav-cat-footer {
    border-top: 1px solid #f1f4fb;
    padding: 10px 14px;
    background: linear-gradient(to right, #fafbff, #f5f7ff);
}
.nav-cat-all {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--accent-red);
    font-size: .8rem;
    font-weight: 700;
    text-decoration: none;
    padding: 7px 10px;
    border-radius: 10px;
    transition: background .15s;
}
.nav-cat-all:hover {
    background: rgba(230,57,70,.07);
    text-decoration: none;
    color: var(--accent-red);
}
.nav-cat-all-arrow { margin-left: auto; }

/* ════════════════════════════════════════════════════════
   DEALS DROPDOWN  (navbar)
════════════════════════════════════════════════════════ */
.nav-deals-dropdown { position: relative; display: flex; align-items: center; }
.nav-deals-btn {
    display: flex; align-items: center; gap: 6px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: 8px; color: white;
    font-size: 0.86rem; font-weight: 600;
    padding: 7px 13px; cursor: pointer;
    transition: all 0.18s; white-space: nowrap;
}
.nav-deals-btn:hover,
.nav-deals-btn[aria-expanded="true"] {
    background: rgba(230,57,70,0.18);
    border-color: rgba(230,57,70,0.45);
    color: white;
}
.nav-deals-arrow { font-size: 0.65rem; transition: transform 0.22s; }
.nav-deals-btn[aria-expanded="true"] .nav-deals-arrow { transform: rotate(180deg); }

.nav-deals-menu {
    display: none; position: absolute;
    top: calc(100% + 10px); left: 0;
    width: 420px; background: white;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(15,27,45,0.18), 0 0 0 1px rgba(0,0,0,0.06);
    z-index: 1100; overflow: hidden;
    animation: ndMenuIn 0.18s ease;
}
.nav-deals-menu.open { display: block; }
@keyframes ndMenuIn {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
}

.nav-deals-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 14px 16px 10px; border-bottom: 1px solid #f1f4fb;
}
.nav-deals-header-title { font-size: 0.82rem; font-weight: 700; color: var(--navy); display: flex; align-items: center; gap: 6px; }
.nav-deals-total-badge {
    font-size: 0.7rem; font-weight: 700;
    background: linear-gradient(135deg, var(--accent-red), var(--accent-orange));
    color: white; border-radius: 50px; padding: 2px 10px;
}

.nav-deals-filters {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 8px; padding: 12px 14px; border-bottom: 1px solid #f1f4fb;
}
.nav-deals-filter-pill {
    display: flex; align-items: center; gap: 7px;
    padding: 9px 12px; border-radius: 10px;
    text-decoration: none; font-size: 0.82rem; font-weight: 600;
    transition: all 0.16s; border: 1.5px solid transparent;
}
.nav-deals-filter-pill:hover { transform: translateY(-1px); text-decoration: none; }
.ndp-count { margin-left: auto; font-size: 0.68rem; font-weight: 700; padding: 1px 7px; border-radius: 50px; background: rgba(0,0,0,0.08); }
.ndp-all    { background: #fff8f0; color: #c84b11; border-color: #ffe0c8; }
.ndp-all:hover    { background: #ffeedd; border-color: #f4a261; color: #c84b11; }
.ndp-coupon { background: #f0fff4; color: #1a7f3c; border-color: #c3f0d0; }
.ndp-coupon:hover { background: #dcfce7; border-color: #86efac; color: #1a7f3c; }
.ndp-hot    { background: #fff5f5; color: #c0392b; border-color: #ffd5d5; }
.ndp-hot:hover    { background: #ffe0e0; border-color: #ffaaaa; color: #c0392b; }
.ndp-new    { background: #f5f0ff; color: #6d28d9; border-color: #ddd6fe; }
.ndp-new:hover    { background: #ede9fe; border-color: #c4b5fd; color: #6d28d9; }

.nav-deals-divider { padding: 8px 16px 4px; font-size: 0.7rem; font-weight: 700; color: #9ca3af; text-transform: uppercase; letter-spacing: 0.06em; }

.nav-deals-cat-grid { display: grid; grid-template-columns: 1fr 1fr; padding: 2px 8px 8px; gap: 2px; }
.nav-deals-cat-item {
    display: flex; align-items: center; gap: 10px;
    padding: 8px 10px; border-radius: 9px;
    text-decoration: none; transition: background 0.15s;
}
.nav-deals-cat-item:hover { background: #f5f7fd; text-decoration: none; }
.nav-deals-cat-icon { width: 32px; height: 32px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 0.95rem; flex-shrink: 0; }
.nav-deals-cat-info { min-width: 0; }
.nav-deals-cat-name { font-size: 0.82rem; font-weight: 600; color: var(--text-dark); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nav-deals-cat-count { font-size: 0.68rem; color: var(--text-muted); font-weight: 500; }

.nav-deals-footer { border-top: 1px solid #f1f4fb; padding: 10px 14px; background: linear-gradient(to right, #fafbff, #f5f7ff); }
.nav-deals-all {
    display: flex; align-items: center; gap: 8px;
    font-size: 0.82rem; font-weight: 700;
    padding: 8px 12px; border-radius: 8px;
    transition: all 0.18s; text-decoration: none; color: var(--accent-red);
}
.nav-deals-all:hover { background: #fff0f0; text-decoration: none; color: var(--accent-red); }
.nav-deals-all-arrow { margin-left: auto; }

/* ════════════════════════════════════════════════════════
   CATEGORY HUB PAGE  (/category/{slug})
════════════════════════════════════════════════════════ */

/* ── Hero ── */
.cat-hub-hero {
    background: var(--navy);
    padding: 44px 0 36px;
    position: relative;
    overflow: hidden;
}
.cat-hub-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 70% 90% at 90% 50%, rgba(244,162,97,.1) 0%, transparent 65%),
                radial-gradient(ellipse 50% 70% at 10% 60%, rgba(230,57,70,.08) 0%, transparent 65%);
    pointer-events: none;
}
.cat-hub-hero-inner {
    position: relative;
    z-index: 1;
    max-width: 1170px;
    margin: 0 auto;
    padding: 0 20px;
}

.cat-hub-icon {
    font-size: 2.8rem;
    width: 68px;
    height: 68px;
    background: rgba(255,255,255,.12);
    border: 2px solid rgba(255,255,255,.2);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.cat-hub-title {
    font-family: 'Nunito', sans-serif;
    font-weight: 900;
    font-size: clamp(1.4rem, 3vw, 2rem);
    color: #fff;
    line-height: 1.2;
}
.cat-hub-sub { color: rgba(255,255,255,.6); font-size: .88rem; }

.cat-hub-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.2);
    color: rgba(255,255,255,.85);
    font-size: .78rem;
    font-weight: 600;
    padding: 5px 13px;
    border-radius: 50px;
}
.cat-hub-pill-cta {
    background: var(--accent-red);
    border-color: var(--accent-red);
    color: #fff;
    text-decoration: none;
    transition: opacity .2s;
}
.cat-hub-pill-cta:hover { opacity: .88; color: #fff; text-decoration: none; }

/* ── Sidebar ── */
.cat-hub-sidebar {
    background: #fff;
    border: 1.5px solid #eef1f8;
    border-radius: 16px;
    overflow: hidden;
}
.cat-hub-sidebar-section {
    padding: 16px 16px 8px;
    border-bottom: 1px solid #f1f4fb;
}
.cat-hub-sidebar-section:last-of-type { border-bottom: none; }
.cat-hub-sidebar-title {
    font-size: .72rem;
    font-weight: 800;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: .8px;
    margin-bottom: 10px;
}

.cat-hub-search-wrap {
    position: relative;
}
.cat-hub-search-wrap i {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #aaa;
    font-size: .8rem;
}
.cat-hub-search-input {
    width: 100%;
    padding: 8px 12px 8px 30px;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    font-size: .83rem;
    font-family: 'Poppins', sans-serif;
    outline: none;
    transition: border-color .2s;
}
.cat-hub-search-input:focus { border-color: var(--accent-red); }

.cat-hub-radio {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    padding: 6px 0;
    font-size: .83rem;
}
.cat-hub-radio input[type="radio"] { display: none; }
.cat-hub-radio-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid #d1d5db;
    flex-shrink: 0;
    transition: border-color .15s, background .15s;
    position: relative;
}
.cat-hub-radio input:checked ~ .cat-hub-radio-dot {
    border-color: var(--accent-red);
    background: var(--accent-red);
    box-shadow: inset 0 0 0 3px #fff;
}
.cat-hub-radio-label { flex: 1; color: var(--text-dark); font-weight: 500; }
.cat-hub-radio input:checked ~ .cat-hub-radio-dot ~ .cat-hub-radio-label { color: var(--accent-red); font-weight: 700; }
.cat-hub-radio-count {
    font-size: .72rem;
    font-weight: 700;
    color: #9ca3af;
    background: #f3f4f6;
    padding: 2px 7px;
    border-radius: 50px;
}

.cat-hub-select {
    width: 100%;
    padding: 8px 12px;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    font-size: .83rem;
    font-family: 'Poppins', sans-serif;
    outline: none;
    margin-bottom: 8px;
}
.cat-hub-select:focus { border-color: var(--accent-red); }

/* ── Section title ── */
.cat-hub-section-title {
    font-family: 'Nunito', sans-serif;
    font-weight: 800;
    font-size: 1rem;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 7px;
    margin: 0;
}
.cat-hub-section-title i { color: var(--accent-red); }
.cat-hub-view-all {
    font-size: .8rem;
    font-weight: 700;
    color: var(--accent-red);
    text-decoration: none;
}
.cat-hub-view-all:hover { text-decoration: underline; color: var(--accent-red); }

/* ── Top store cards ── */
.cat-hub-stores-section {
    background: #fff;
    border: 1.5px solid #eef1f8;
    border-radius: 16px;
    padding: 18px;
}
.cat-hub-store-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 14px 10px;
    border-radius: 14px;
    border: 1.5px solid #eef1f8;
    text-decoration: none;
    transition: box-shadow .2s, border-color .2s, transform .18s;
    background: #fff;
    text-align: center;
}
.cat-hub-store-card:hover {
    box-shadow: 0 6px 24px rgba(15,27,45,.1);
    border-color: var(--accent-orange);
    transform: translateY(-2px);
    text-decoration: none;
}
.cat-hub-store-card.active {
    border-color: var(--accent-red);
    background: rgba(230,57,70,.04);
}

.cat-hub-store-logo {
    width: 58px;
    height: 58px;
    border-radius: 14px;
    border: 1.5px solid transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.cat-hub-store-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 6px;
}
.cat-hub-store-name {
    font-weight: 700;
    font-size: .82rem;
    color: var(--text-dark);
    line-height: 1.2;
}
.cat-hub-store-meta {
    font-size: .7rem;
    color: #9ca3af;
    font-weight: 500;
}
.cat-hub-store-cb {
    font-size: .68rem;
    font-weight: 700;
    color: #c2410c;
    background: #fff7ed;
    border: 1px solid #fed7aa;
    padding: 2px 8px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 3px;
}

/* ── Filter tabs ── */
.cat-hub-tabs {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    border-bottom: 2px solid #eef1f8;
    padding-bottom: 0;
}
.cat-hub-tab {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 9px 16px;
    font-size: .82rem;
    font-weight: 600;
    color: #6b7280;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: color .15s, border-color .15s;
    white-space: nowrap;
}
.cat-hub-tab:hover { color: var(--accent-red); text-decoration: none; }
.cat-hub-tab.active {
    color: var(--accent-red);
    border-bottom-color: var(--accent-red);
    font-weight: 700;
}
.cat-hub-tab i { font-size: .75rem; }

.cat-hub-tab-grid {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 14px;
    font-size: .78rem;
    font-weight: 600;
    color: var(--accent-red);
    text-decoration: none;
    background: rgba(230,57,70,.07);
    border-radius: 50px;
    border: 1.5px solid rgba(230,57,70,.2);
    white-space: nowrap;
    transition: background .15s;
}
.cat-hub-tab-grid:hover { background: rgba(230,57,70,.12); text-decoration: none; color: var(--accent-red); }

/* ── Deal row card ── */
.cat-deal-row-card {
    background: #fff;
    border: 1.5px solid #eef1f8;
    border-radius: 14px;
    margin-bottom: 10px;
    overflow: hidden;
    transition: box-shadow .2s, border-color .2s;
}
.cat-deal-row-card:hover {
    box-shadow: 0 6px 28px rgba(15,27,45,.09);
    border-color: #dde3f0;
}

.cat-deal-row-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    padding: 8px 16px;
    background: #fafbfe;
    border-bottom: 1px solid #f1f4fb;
    font-size: .72rem;
}
.cat-row-verified {
    color: #16a34a;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 3px;
}
.cat-row-verified i { color: #22c55e; }
.cat-row-usage { color: #6b7280; font-weight: 500; display: flex; align-items: center; gap: 3px; }
.cat-row-type {
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 3px;
}
.cat-row-type.coupon { background: #f0fdf4; color: #166534; border: 1px solid #bbf7d0; }
.cat-row-type.deal   { background: #fff7ed; color: #c2410c; border: 1px solid #fed7aa; }
.cat-row-expiry      { color: #6b7280; display: flex; align-items: center; gap: 3px; }
.cat-row-expiry.urgent { color: #dc2626; font-weight: 700; }

.cat-deal-row-body {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px;
}

.cat-deal-row-logo {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    border: 1.5px solid transparent;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.cat-deal-row-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 6px;
}

.cat-deal-row-info { flex: 1; min-width: 0; }
.cat-deal-row-title {
    font-family: 'Nunito', sans-serif;
    font-weight: 800;
    font-size: .98rem;
    color: var(--text-dark);
    line-height: 1.3;
    margin-bottom: 4px;
}
.cat-deal-row-desc {
    font-size: .8rem;
    color: #6b7280;
    line-height: 1.5;
}

.cat-row-store-tag {
    font-size: .72rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 50px;
}
.cat-row-saving {
    font-size: .75rem;
    font-weight: 800;
    color: #dc2626;
    background: #fef2f2;
    border: 1px solid #fecaca;
    padding: 3px 8px;
    border-radius: 50px;
}
.cat-row-price { font-weight: 800; font-size: .88rem; color: var(--text-dark); }
.cat-row-mrp   { font-size: .78rem; color: #9ca3af; text-decoration: line-through; }

.cat-row-coupon-wrap {
    display: flex;
    align-items: center;
    gap: 6px;
}
.cat-row-coupon-label {
    font-size: .68rem;
    font-weight: 700;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: .5px;
}
.cat-row-coupon-code {
    font-family: monospace;
    font-size: .82rem;
    font-weight: 800;
    background: #f3f4f6;
    border: 1.5px dashed #d1d5db;
    padding: 3px 10px;
    border-radius: 6px;
    letter-spacing: 1px;
    color: var(--text-dark);
}
.cat-row-copy-btn {
    font-size: .72rem;
    font-weight: 700;
    color: var(--accent-red);
    background: rgba(230,57,70,.08);
    border: 1px solid rgba(230,57,70,.25);
    padding: 3px 10px;
    border-radius: 6px;
    cursor: pointer;
    transition: background .15s;
}
.cat-row-copy-btn:hover { background: rgba(230,57,70,.15); }

.cat-deal-row-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}
.btn-get-deal-row {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: linear-gradient(135deg, var(--accent-red), #c0392b);
    color: #fff;
    font-size: .82rem;
    font-weight: 700;
    padding: 10px 20px;
    border-radius: 10px;
    text-decoration: none;
    white-space: nowrap;
    transition: opacity .2s;
    font-family: 'Poppins', sans-serif;
}
.btn-get-deal-row:hover { opacity: .88; color: #fff; text-decoration: none; }
.btn-get-deal-row.cashback { background: linear-gradient(135deg, #16a34a, #15803d); }
.cat-row-details-link {
    font-size: .72rem;
    color: #9ca3af;
    text-decoration: none;
    white-space: nowrap;
}
.cat-row-details-link:hover { color: var(--accent-red); }

/* ── Empty state ── */
.cat-hub-empty {
    text-align: center;
    padding: 60px 20px;
}
.cat-hub-empty-icon { font-size: 3rem; margin-bottom: 12px; }

/* ============================================================
   MOBILE RESPONSIVE — All public pages
   Breakpoints: ≤991px (tablet), ≤767px (mobile), ≤575px (small)
   ============================================================ */

/* ── Mobile filter toggle button (category & deals pages) ── */
.btn-mobile-filter-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    padding: 11px 16px;
    font-size: .88rem;
    font-weight: 700;
    color: var(--navy);
    cursor: pointer;
    transition: border-color .2s, background .2s;
    font-family: 'Poppins', sans-serif;
}
.btn-mobile-filter-toggle:hover { border-color: var(--accent-red); background: #fff5f5; }
.btn-mobile-filter-toggle i.bi-funnel-fill { color: var(--accent-red); }
.btn-mobile-filter-toggle i.bi-chevron-down { transition: transform .25s; }
.btn-mobile-filter-toggle[aria-expanded="true"] i.bi-chevron-down { transform: rotate(180deg); }

/* ── NAVBAR MOBILE (must be after base rules to override them) ── */
@media (max-width: 991.98px) {
    /* Show hamburger (overrides base display:none) */
    .nav-hamburger { display: flex !important; }

    /* Show drawer and overlay (overrides base display:none) */
    .nav-mobile-drawer,
    .nav-mobile-overlay { display: block !important; }

    /* Hide desktop-only nav items */
    .navbar-search,
    .nav-cat-dropdown,
    .nav-deals-dropdown,
    .navbar-actions { display: none !important; }

    /* Navbar layout: logo | hamburger only */
    .navbar-inner { gap: 12px; padding: 0; }
    .navbar-main  { padding: 0 16px; }
}

@media (min-width: 992px) {
    /* Always hide mobile drawer and hamburger on desktop */
    .nav-mobile-drawer,
    .nav-mobile-overlay,
    .nav-hamburger { display: none !important; }
}

/* ── TABLET (≤991px) ── */
@media (max-width: 991.98px) {

    /* Hero */
    .hero-inner { flex-direction: column; padding: 40px 0 32px; gap: 0; }
    .hero-right  { display: none; }
    .hero-h1     { font-size: 1.9rem; }
    .hero-lead   { font-size: .9rem; }
    .hero-ctas   { flex-direction: column; gap: 10px; }
    .btn-hero-primary,
    .btn-hero-secondary { width: 100%; justify-content: center; }

    /* Trending categories — stack sidebar above panel */
    .tc-wrap { flex-direction: column !important; min-height: auto !important; }
    .tc-sidebar {
        width: 100% !important;
        display: flex !important;
        flex-direction: row;
        overflow-x: auto;
        overflow-y: hidden;
        border-right: none !important;
        border-bottom: 1px solid #edf0f7;
        flex-shrink: 0;
    }
    .tc-sidebar::-webkit-scrollbar { height: 3px; }
    .tc-sidebar::-webkit-scrollbar-thumb { background: #dde3f0; border-radius: 3px; }
    .tc-cat-item {
        flex-direction: column !important;
        align-items: center !important;
        gap: 3px !important;
        padding: 10px 16px !important;
        white-space: nowrap;
        border-right: none !important;
        border-bottom: 3px solid transparent !important;
        min-width: 72px;
        flex-shrink: 0;
    }
    .tc-cat-item.active {
        border-right-color: transparent !important;
        border-bottom-color: var(--accent-red) !important;
    }
    .tc-cat-count,
    .tc-chev { display: none !important; }
    .tc-panel { min-height: auto !important; padding: 18px 16px; }
    .tc-offers-row { flex-direction: column !important; gap: 10px; }
    .tc-offer-card { width: 100%; }

    /* Top stores — 2 col minimum kept via auto-fill, no extra change needed */

    /* Trending cards */
    .trending-card-v2 { padding: 16px 16px; gap: 12px; min-height: auto; }
    .btn-grab-v2 { padding: 8px 14px; font-size: .75rem; }

    /* Coupon cards — already col-12 col-sm-6, fine */

    /* Stores page hero stats */
    .stores-hero-stats { gap: 16px; }

    /* Stores filter bar */
    .stores-filter-inner { gap: 8px; }
    .stores-search-wrap  { max-width: 100%; flex: 1 1 180px; }
    .stores-filter-count { margin-left: 0; }

    /* Cat hub — sidebar collapses via Bootstrap, toggle button handles it */
    .cat-hub-tabs { overflow-x: auto; flex-wrap: nowrap !important; padding-bottom: 4px; }

    /* Cat hero header — wrap icon + title */
    .cat-hub-hero .d-flex.align-items-center.gap-3 { flex-wrap: wrap; gap: 12px !important; }
    .cat-hub-icon { font-size: 2rem; width: 56px; height: 56px; }

    /* Deals category page */
    .cat-hero .d-flex.align-items-center.gap-4 { flex-wrap: wrap; gap: 12px !important; }
    .cat-hero-icon { font-size: 2rem; }
    .cat-filter-bar { flex-direction: column; align-items: flex-start !important; gap: 10px; }
    .cat-filter-bar select { width: 100%; }
}

/* ── MOBILE (≤767px) ── */
@media (max-width: 767.98px) {

    /* Section wrapper */
    .section-wrap { padding: 24px 14px; }

    /* Hero */
    .hero-h1 { font-size: 1.6rem; }
    .hero-ticker { font-size: .8rem; }
    .hero-trust { gap: 12px; }
    .hero-trust-item { font-size: .78rem; }
    .hero-trust-divider { display: none; }

    /* Gap */
    .gap-section { height: 16px; }

    /* Trending categories */
    .tc-cat-item { min-width: 60px; padding: 8px 12px !important; }
    .tc-cat-thumb { width: 34px; height: 34px; font-size: 1rem; }
    .tc-cat-name { font-size: .7rem; }
    .tc-panel { padding: 14px 12px; }
    .tc-stores-row { display: grid !important; grid-template-columns: 1fr 1fr; }
    .tc-store-mini {
        border-right: 1px solid #edf0f8;
        padding: 10px 12px;
    }
    .tc-store-logo-img { font-size: .78rem; }
    .tc-store-offer-count { font-size: .7rem; }

    /* Top stores grid — 2 col on mobile */
    .ts-camp-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .ts-camp-card { padding: 14px 10px 12px; }
    .ts-camp-icon { width: 44px; height: 44px; font-size: 1rem; }
    .ts-camp-name { font-size: .8rem; }

    /* Section headings */
    .section-title { font-size: 1.1rem; }
    .section-count-badge { font-size: .72rem; }

    /* Latest deal cards */
    .deal-img-wrap { height: 140px; }
    .deal-card-body-v2 { padding: 10px; }
    .deal-title-v2 { font-size: .82rem; }

    /* Trending cards */
    .trending-card-v2 { gap: 10px; padding: 14px; }
    .trending-logo-v2 { width: 44px; height: 44px; font-size: 1.2rem; }
    .trending-headline-v2 { font-size: .88rem; }
    .trending-stats-row { flex-wrap: wrap; gap: 6px; }
    .btn-grab-v2 { display: none; } /* hide CTA on very small cards, card itself is clickable */

    /* Coupon cards */
    .coupon-card-v2 { }
    .coupon-code-v2 { font-size: .78rem; }

    /* Stores page */
    .stores-hero { padding: 32px 0 28px; }
    .stores-hero-title { font-size: 1.7rem; }
    .stores-hero-stats { flex-direction: column; gap: 10px; }
    .stores-filter-inner { flex-direction: column; align-items: stretch; }
    .stores-search-wrap { max-width: 100%; }
    .stores-sort-select { width: 100%; }
    .stores-filter-count { margin-left: 0; text-align: center; }
    .campaigns-grid-wrap { padding: 20px 14px 32px; }

    /* Category hub hero */
    .cat-hub-hero { padding: 28px 0 24px; }
    .cat-hub-hero .d-flex.flex-wrap.gap-2 { gap: 6px !important; }
    .cat-hub-pill { font-size: .72rem; padding: 4px 10px; }

    /* Cat hub deal row cards — make CTA full width */
    .cat-deal-row-body { flex-wrap: wrap; gap: 10px; }
    .cat-deal-row-cta { flex-direction: row; width: 100%; justify-content: space-between; }
    .btn-get-deal-row { flex: 1; justify-content: center; padding: 10px 12px; }
    .cat-row-details-link { white-space: nowrap; }

    /* Deals category page */
    .cat-hero { padding: 28px 0 24px; }
    .cat-hero-title { font-size: 1.4rem; }
    .cat-hero-subtitle { font-size: .82rem; }
    .cat-stat-pill { font-size: .72rem; padding: 4px 10px; }
    .store-chip { font-size: .75rem; padding: 5px 10px; }

    /* Deal grid cards in deals/category */
    .cat-deal-card { }
    .cat-deal-img-wrap { height: 140px; }

    /* Newsletter */
    .newsletter-section { padding: 40px 20px; border-radius: 16px; }
    .newsletter-title { font-size: 1.5rem; }
    .newsletter-form { flex-direction: column; gap: 10px; }
    .newsletter-form input  { border-radius: 10px; width: 100%; }
    .newsletter-form button { border-radius: 10px; width: 100%; }
}

/* ── SMALL MOBILE (≤575px) ── */
@media (max-width: 575.98px) {

    /* Hero */
    .hero-section { padding: 0; }
    .hero-container { padding: 28px 16px 24px; }
    .hero-h1 { font-size: 1.4rem; line-height: 1.3; }

    /* Deal cards — 1 col on xs */
    .col-6.col-md-4.col-xl-3 { flex: 0 0 50%; max-width: 50%; } /* already col-6, keep 2-col */

    /* Stores grid — 1 col on xs for better readability */
    .campaigns-grid-wrap .col-6 { flex: 0 0 100%; max-width: 100%; }

    /* Top stores — 2 col maintained via .ts-camp-grid override */

    /* Section header */
    .d-flex.align-items-center.justify-content-between { flex-wrap: wrap; gap: 8px; }

    /* Cat hub store cards — 1 col on xs */
    .cat-hub-stores-section .col-6 { flex: 0 0 100%; max-width: 100%; }

    /* Trending cards — full col */
    .col-12.col-md-6 { flex: 0 0 100%; max-width: 100%; }

    /* Deals category sidebar collapse takes full width */
    #catHubSidebarMobile,
    #dealsCatSidebarMobile { margin-bottom: 12px; }

    /* Trending logo icon */
    .trending-logo-v2 { width: 38px; height: 38px; font-size: 1rem; flex-shrink: 0; }
    .trending-card-v2 { padding: 12px; }

    /* Navbar deals dropdown */
    .nav-deals-dd { min-width: 280px; }
}


/* ══════════════════════════════════════════════════════════════
   AUTH — SPLIT-SCREEN LAYOUT
   ══════════════════════════════════════════════════════════════ */

.auth-body {
    margin: 0;
    padding: 0;
    font-family: 'DM Sans', sans-serif;
    background: #f4f6fb;
    min-height: 100vh;
}

/* ── Wrapper ── */
.auth-split-wrap {
    display: flex;
    min-height: 100vh;
}

/* ── LEFT: Brand panel ── */
.auth-brand-panel {
    position: relative;
    overflow: hidden;
    width: 42%;
    flex-shrink: 0;
    background: linear-gradient(145deg, #1a1a2e 0%, #16213e 40%, #0f3460 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px 40px;
}

.auth-brand-inner {
    position: relative;
    z-index: 2;
    max-width: 380px;
    width: 100%;
}

/* Logo */
.auth-brand-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    margin-bottom: 40px;
}

.auth-brand-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: #ff5722;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 15px;
    flex-shrink: 0;
}

.auth-brand-name {
    font-size: 22px;
    font-weight: 800;
    color: #fff;
}

.auth-brand-name span {
    color: #ff5722;
}

/* Headline */
.auth-brand-headline {
    font-size: 36px;
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 14px;
}

.auth-brand-sub {
    font-size: 15px;
    color: rgba(255,255,255,0.65);
    line-height: 1.6;
    margin-bottom: 36px;
}

/* Feature list */
.auth-feature-list {
    list-style: none;
    padding: 0;
    margin: 0 0 36px 0;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.auth-feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.auth-feat-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(255,87,34,0.18);
    color: #ff7043;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    flex-shrink: 0;
    margin-top: 2px;
}

.auth-feature-list li strong {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 2px;
}

.auth-feature-list li span {
    font-size: 13px;
    color: rgba(255,255,255,0.55);
    line-height: 1.4;
}

/* Trust badge */
.auth-trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 100px;
    padding: 8px 16px;
    font-size: 13px;
    color: rgba(255,255,255,0.75);
}

.auth-trust-badge i {
    color: #4caf50;
    font-size: 14px;
}

/* Decorative blobs */
.auth-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.18;
    pointer-events: none;
}

.auth-blob-1 {
    width: 350px;
    height: 350px;
    background: #ff5722;
    top: -80px;
    right: -120px;
}

.auth-blob-2 {
    width: 250px;
    height: 250px;
    background: #3f51b5;
    bottom: -60px;
    left: -80px;
}

/* ── RIGHT: Form panel ── */
.auth-form-panel {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 24px;
    overflow-y: auto;
}

.auth-form-inner {
    width: 100%;
    max-width: 440px;
}

/* Mobile logo — hidden on desktop */
.auth-mobile-logo {
    display: none;
    margin-bottom: 28px;
}

/* Form header */
.auth-form-header {
    margin-bottom: 28px;
}

.auth-form-title {
    font-size: 26px;
    font-weight: 800;
    color: #1a1a2e;
    margin-bottom: 6px;
}

.auth-form-subtitle {
    font-size: 14px;
    color: #6c757d;
    margin: 0;
}

/* Google button */
.btn-google-auth {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    padding: 13px 20px;
    background: #fff;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    color: #1a1a2e;
    text-decoration: none;
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.15s;
    box-shadow: 0 1px 4px rgba(0,0,0,0.05);
    margin-bottom: 22px;
}

.btn-google-auth:hover {
    border-color: #4285F4;
    box-shadow: 0 4px 14px rgba(66,133,244,0.15);
    transform: translateY(-1px);
    color: #1a1a2e;
}

.google-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

/* Divider */
.auth-divider {
    position: relative;
    text-align: center;
    margin: 0 0 22px 0;
}

.auth-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #e9ecef;
}

.auth-divider span {
    position: relative;
    background: #f4f6fb;
    padding: 0 14px;
    font-size: 12px;
    color: #adb5bd;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Fields */
.auth-field {
    margin-bottom: 16px;
}

.auth-label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: #495057;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 6px;
}

.auth-label-optional {
    font-weight: 400;
    text-transform: none;
    color: #adb5bd;
    font-size: 11px;
    letter-spacing: 0;
}

.auth-label-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 6px;
}

.auth-label-row .auth-label {
    margin-bottom: 0;
}

.auth-forgot-link {
    font-size: 12px;
    font-weight: 600;
    color: #ff5722;
    text-decoration: none;
}

.auth-forgot-link:hover {
    color: #e64a19;
    text-decoration: underline;
}

.auth-input-wrap {
    position: relative;
}

.auth-input-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #adb5bd;
    font-size: 15px;
    pointer-events: none;
}

.auth-input {
    width: 100%;
    padding: 12px 16px 12px 40px;
    border: 1.5px solid #e9ecef;
    border-radius: 10px;
    font-size: 14px;
    font-family: 'DM Sans', sans-serif;
    color: #1a1a2e;
    background: #fff;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.auth-input:focus {
    border-color: #ff5722;
    box-shadow: 0 0 0 4px rgba(255, 87, 34, 0.1);
}

.auth-input.is-invalid {
    border-color: #dc3545;
}

/* Row layout for password fields on register */
.auth-field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 16px;
}

.auth-field-row .auth-field {
    margin-bottom: 0;
}

/* Password inputs in the row have no icon */
.auth-field-row .auth-input {
    padding-left: 16px;
}

.auth-field-error {
    font-size: 12px;
    color: #dc3545;
    margin-top: 5px;
}

/* Remember / Terms */
.auth-check-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    font-size: 13px;
    color: #6c757d;
}

.auth-terms-link {
    color: #ff5722;
    text-decoration: none;
    font-weight: 600;
}

.auth-terms-link:hover {
    text-decoration: underline;
}

/* Submit button */
.btn-auth-submit {
    width: 100%;
    padding: 13px 20px;
    background: #ff5722;
    border: none;
    border-radius: 12px;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    font-family: 'DM Sans', sans-serif;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
    box-shadow: 0 4px 14px rgba(255, 87, 34, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.btn-auth-submit:hover {
    background: #e64a19;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(255, 87, 34, 0.4);
}

/* Footer link */
.auth-footer-link {
    text-align: center;
    margin-top: 24px;
    font-size: 14px;
    color: #6c757d;
}

.auth-footer-link a {
    color: #ff5722;
    font-weight: 700;
    text-decoration: none;
    margin-left: 4px;
}

.auth-footer-link a:hover {
    text-decoration: underline;
}

/* ── Auth responsive ── */
@media (max-width: 991px) {
    .auth-brand-panel { display: none; }
    .auth-split-wrap { min-height: 100vh; }
    .auth-form-panel { padding: 32px 20px; }
    .auth-mobile-logo { display: block; }
    .auth-divider span { background: #fff; }
    .auth-form-inner { max-width: 480px; }
}

@media (max-width: 480px) {
    .auth-form-panel { padding: 24px 16px; }
    .auth-form-title { font-size: 22px; }
    .auth-field-row { grid-template-columns: 1fr; }
    .auth-form-inner { max-width: 100%; }
}
