/* ==========================================================================
   SmallBizGenius Design System v3.0
   Green accent, cohesive typography, consistent spacing
   ========================================================================== */

:root {
    /* ==========================================================================
       BRAND COLORS - Green Accent (Savings/Trust Theme)
       ========================================================================== */

    /* Primary Accent - Green (buttons, links, highlights) */
    --accent: #059669;
    --accent-hover: #047857;
    --accent-light: #d1fae5;
    --accent-lighter: #ecfdf5;
    --accent-dark: #065f46;

    /* Secondary Accent - Warm Orange (urgency, hot deals, CTAs) */
    --accent-orange: #F97316;
    --accent-orange-hover: #EA580C;
    --accent-orange-light: #FFEDD5;
    --accent-orange-lighter: #FFF7ED;
    --accent-orange-dark: #C2410C;

    /* Tertiary Accent - Teal-green for variation */
    --accent-alt: #0d9488;
    --accent-alt-hover: #0f766e;

    /* ==========================================================================
       BACKGROUNDS
       ========================================================================== */

    --bg-page: #f8faf9;
    --bg-elevated: #ffffff;
    --bg-sunken: #f1f5f3;
    --bg-subtle: #ecfdf5;
    --bg-muted: #f3f4f6;
    --bg-hover: #f0fdf4;
    --bg-active: #dcfce7;
    --bg-selected: #d1fae5;

    /* ==========================================================================
       TEXT COLORS - Gray Hierarchy
       ========================================================================== */

    --text-primary: #111827;
    --text-secondary: #374151;
    --text-body: #4b5563;
    --text-muted: #6b7280;
    --text-subtle: #9ca3af;
    --text-inverse: #ffffff;
    --text-link: var(--accent);
    --text-link-hover: var(--accent-hover);

    /* ==========================================================================
       SEMANTIC COLORS
       ========================================================================== */

    --success: var(--accent);
    --success-bg: var(--accent-lighter);
    --success-border: #a7f3d0;

    --warning: #d97706;
    --warning-bg: #fffbeb;
    --warning-border: #fde68a;

    --danger: #dc2626;
    --danger-bg: #fef2f2;
    --danger-border: #fecaca;

    --info: #0284c7;
    --info-bg: #f0f9ff;
    --info-border: #bae6fd;

    /* ==========================================================================
       BORDER COLORS
       ========================================================================== */

    --border-light: #e5e7eb;
    --border-default: #d1d5db;
    --border-strong: #9ca3af;
    --border-accent: var(--accent);

    /* ==========================================================================
       TYPOGRAPHY - Font Families
       ========================================================================== */

    --ff-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --ff-mono: 'SF Mono', 'Fira Code', Consolas, monospace;

    /* ==========================================================================
       TYPOGRAPHY - Font Sizes
       ========================================================================== */

    --fs-10: 0.625rem;
    --fs-11: 0.6875rem;
    --fs-12: 0.75rem;
    --fs-13: 0.8125rem;
    --fs-14: 0.875rem;
    --fs-15: 0.9375rem;
    --fs-16: 1rem;
    --fs-18: 1.125rem;
    --fs-20: 1.25rem;
    --fs-24: 1.5rem;
    --fs-28: 1.75rem;
    --fs-32: 2rem;
    --fs-40: 2.5rem;
    --fs-48: 3rem;

    /* Semantic sizes */
    --text-xs: var(--fs-11);
    --text-sm: var(--fs-13);
    --text-base: var(--fs-15);
    --text-md: var(--fs-16);
    --text-lg: var(--fs-18);

    /* Heading sizes - fluid */
    --text-h1: clamp(var(--fs-28), 1.5rem + 1.5vw, var(--fs-40));
    --text-h2: clamp(var(--fs-24), 1.25rem + 0.75vw, var(--fs-32));
    --text-h3: clamp(var(--fs-20), 1.125rem + 0.5vw, var(--fs-24));
    --text-h4: var(--fs-18);
    --text-h5: var(--fs-16);
    --text-h6: var(--fs-14);

    /* UI-specific sizes */
    --text-coupon-title: var(--fs-16);
    --text-coupon-desc: var(--fs-14);
    --text-coupon-code: var(--fs-15);
    --text-coupon-meta: var(--fs-12);
    --text-badge: var(--fs-11);
    --text-btn: var(--fs-14);
    --text-btn-lg: var(--fs-16);
    --text-btn-sm: var(--fs-13);
    --text-nav: var(--fs-15);
    --text-stat-value: var(--fs-24);
    --text-stat-label: var(--fs-12);
    --text-card-title: var(--fs-16);
    --text-card-body: var(--fs-14);
    --text-card-meta: var(--fs-12);

    /* ==========================================================================
       TYPOGRAPHY - Font Weights
       ========================================================================== */

    --fw-regular: 400;
    --fw-medium: 500;
    --fw-semibold: 600;
    --fw-bold: 700;
    --fw-extrabold: 800;

    /* ==========================================================================
       TYPOGRAPHY - Line Heights
       ========================================================================== */

    --lh-none: 1;
    --lh-tight: 1.2;
    --lh-snug: 1.3;
    --lh-normal: 1.4;
    --lh-relaxed: 1.5;
    --lh-loose: 1.65;
    --lh-spacious: 1.75;

    /* ==========================================================================
       TYPOGRAPHY - Letter Spacing
       ========================================================================== */

    --ls-tighter: -0.025em;
    --ls-tight: -0.01em;
    --ls-normal: 0;
    --ls-wide: 0.025em;
    --ls-wider: 0.05em;

    /* ==========================================================================
       SPACING
       ========================================================================== */

    --space-0: 0;
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-20: 5rem;
    --space-24: 6rem;

    /* ==========================================================================
       BORDER RADIUS
       ========================================================================== */

    --radius-sm: 4px;
    --radius-md: 6px;
    --radius-lg: 8px;
    --radius-xl: 12px;
    --radius-2xl: 16px;
    --radius-full: 9999px;

    /* ==========================================================================
       SHADOWS
       ========================================================================== */

    --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.03);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 10px 10px -5px rgba(0, 0, 0, 0.03);
    --shadow-accent: 0 4px 14px rgba(5, 150, 105, 0.25);
    --shadow-accent-lg: 0 10px 25px rgba(5, 150, 105, 0.3);

    /* ==========================================================================
       TRANSITIONS
       ========================================================================== */

    --transition-fast: 100ms ease-out;
    --transition-base: 150ms ease-out;
    --transition-slow: 250ms ease-out;

    /* ==========================================================================
       Z-INDEX
       ========================================================================== */

    --z-dropdown: 100;
    --z-sticky: 200;
    --z-fixed: 300;
    --z-modal-backdrop: 400;
    --z-modal: 500;
    --z-tooltip: 600;

    /* ==========================================================================
       CONTAINER WIDTHS
       ========================================================================== */

    --container-sm: 640px;
    --container-md: 768px;
    --container-lg: 1024px;
    --container-xl: 1200px;
}

/* ==========================================================================
   BASE RESET & DEFAULTS
   ========================================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--ff-sans);
    font-size: var(--text-base);
    font-weight: var(--fw-regular);
    line-height: var(--lh-relaxed);
    color: var(--text-body);
    background: var(--bg-page);
}

/* ==========================================================================
   TYPOGRAPHY BASE
   ========================================================================== */

h1, h2, h3, h4, h5, h6 {
    font-weight: var(--fw-bold);
    line-height: var(--lh-tight);
    letter-spacing: var(--ls-tight);
    color: var(--text-primary);
}

h1 { font-size: var(--text-h1); }
h2 { font-size: var(--text-h2); }
h3 { font-size: var(--text-h3); line-height: var(--lh-snug); }
h4 { font-size: var(--text-h4); line-height: var(--lh-snug); }
h5 { font-size: var(--text-h5); line-height: var(--lh-normal); }
h6 { font-size: var(--text-h6); line-height: var(--lh-normal); }

p {
    margin-bottom: var(--space-4);
    line-height: var(--lh-loose);
}

a {
    color: var(--text-link);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--text-link-hover);
}

/* ==========================================================================
   LAYOUT
   ========================================================================== */

.container {
    max-width: var(--container-xl);
    margin: 0 auto;
    padding: 0 var(--space-4);
}

.container.narrow {
    max-width: var(--container-md);
}

/* ==========================================================================
   HEADER
   ========================================================================== */

.site-header {
    background: var(--bg-elevated);
    box-shadow: var(--shadow-sm);
    padding: var(--space-4) 0;
    position: sticky;
    top: 0;
    z-index: var(--z-sticky);
}

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

.logo {
    font-size: var(--text-h4);
    font-weight: var(--fw-extrabold);
    color: var(--text-primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.logo::before {
    content: "%";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    color: var(--text-inverse);
    font-size: var(--text-md);
    font-weight: var(--fw-extrabold);
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-accent);
}

.main-nav {
    display: flex;
    gap: var(--space-6);
}

.main-nav a {
    color: var(--text-secondary);
    font-size: var(--text-nav);
    font-weight: var(--fw-medium);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.main-nav a:hover {
    color: var(--accent);
}

/* Navigation Search */
.nav-search {
    flex: 1;
    max-width: 300px;
    margin: 0 var(--space-4);
}

.nav-search-form {
    display: flex;
    align-items: center;
    background: var(--bg-sunken);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-full);
    overflow: hidden;
    transition: border-color var(--transition-fast);
}

.nav-search-form:focus-within {
    border-color: var(--accent);
}

.nav-search-input {
    flex: 1;
    padding: var(--space-2) var(--space-4);
    background: transparent;
    border: none;
    font-size: var(--text-sm);
    color: var(--text-primary);
}

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

.nav-search-input:focus {
    outline: none;
}

.nav-search-btn {
    padding: var(--space-2) var(--space-3);
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    transition: color var(--transition-fast);
}

.nav-search-btn:hover {
    color: var(--accent);
}

.nav-search-btn svg {
    width: 18px;
    height: 18px;
}

/* Navigation Action Links (Community) */
.nav-actions {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    margin-left: var(--space-6);
}

/* Navigation Buttons */
.nav-btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-4);
    font-size: var(--text-sm);
    font-weight: var(--fw-semibold);
    font-family: inherit;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    transition: all var(--transition-fast);
    white-space: nowrap;
}

.nav-btn svg {
    width: 16px;
    height: 16px;
    stroke-width: 2;
}

.nav-btn-secondary {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border-default);
}

.nav-btn-secondary:hover {
    background: var(--bg-secondary);
    color: var(--text-primary);
    border-color: var(--border-strong);
}

.nav-btn-primary {
    background: var(--accent);
    color: var(--text-inverse);
}

.nav-btn-primary:hover {
    background: var(--accent-hover);
}

.nav-btn-primary svg {
    stroke: var(--text-inverse);
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-5);
    border-radius: var(--radius-md);
    font-family: var(--ff-sans);
    font-size: var(--text-btn);
    font-weight: var(--fw-semibold);
    line-height: var(--lh-normal);
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: all var(--transition-base);
}

.btn-primary {
    background: var(--accent);
    color: var(--text-inverse);
}

.btn-primary:hover {
    background: var(--accent-hover);
    box-shadow: var(--shadow-accent);
    transform: translateY(-1px);
}

.btn-secondary {
    background: var(--bg-muted);
    color: var(--text-secondary);
}

.btn-secondary:hover {
    background: var(--border-light);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--accent);
    color: var(--accent);
}

.btn-outline:hover {
    background: var(--accent);
    color: var(--text-inverse);
}

.btn-large {
    padding: var(--space-4) var(--space-8);
    font-size: var(--text-btn-lg);
}

.btn-small {
    padding: var(--space-2) var(--space-4);
    font-size: var(--text-btn-sm);
}

/* ==========================================================================
   HERO SECTION (Enhanced)
   ========================================================================== */

.hero-section {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 50%, #0f172a 100%);
    color: var(--text-inverse);
    padding: var(--space-16) 0 var(--space-12);
    text-align: center;
}

.hero-section h1 {
    color: #ffffff;
    margin-bottom: var(--space-3);
    letter-spacing: var(--ls-tighter);
    font-size: var(--text-h1);
}

.hero-subtitle {
    font-size: var(--text-lg);
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: var(--space-8);
    line-height: var(--lh-relaxed);
}

/* Search Container */
.search-container {
    max-width: 600px;
    margin: 0 auto var(--space-6);
}

.search-box-wrapper {
    position: relative;
    display: flex;
    gap: var(--space-2);
}

.search-input {
    flex: 1;
    padding: var(--space-4) var(--space-5);
    border: none;
    border-radius: var(--radius-lg);
    font-family: var(--ff-sans);
    font-size: var(--text-base);
    outline: none;
}

.search-input:focus {
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}

.search-btn {
    padding: var(--space-4) var(--space-8);
    background: var(--text-primary);
    color: var(--text-inverse);
    border: none;
    border-radius: var(--radius-lg);
    font-family: var(--ff-sans);
    font-weight: var(--fw-semibold);
    cursor: pointer;
    transition: background var(--transition-base);
}

.search-btn:hover {
    background: var(--text-secondary);
}

/* Search Autocomplete */
.search-autocomplete {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-elevated);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    margin-top: var(--space-2);
    display: none;
    z-index: 100;
    overflow: hidden;
}

.search-result-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-3) var(--space-4);
    text-decoration: none;
    color: var(--text-primary);
    border-bottom: 1px solid var(--border-light);
    transition: background var(--transition-fast);
}

.search-result-item:last-child {
    border-bottom: none;
}

.search-result-item:hover {
    background: var(--bg-hover);
}

.search-result-name {
    font-weight: var(--fw-medium);
}

.search-result-count {
    font-size: var(--text-sm);
    color: var(--text-muted);
}

.search-no-results,
.search-loading {
    padding: var(--space-4);
    text-align: center;
    color: var(--text-muted);
}

.search-loading {
    color: var(--text-subtle);
    font-size: var(--text-sm);
}

/* Hero Stats (inline text) */
.hero-stats {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    gap: var(--space-3);
    flex-wrap: wrap;
    font-size: var(--text-sm);
    opacity: 0.9;
}

.hero-stat {
    white-space: nowrap;
}

.hero-stat-dot {
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: var(--radius-full);
}

/* ==========================================================================
   HERO SECTION NEW (Matching About Page Style)
   ========================================================================== */

.hero-section-new {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 50%, #0f172a 100%);
    padding: var(--space-16) 0;
    text-align: center;
    color: var(--text-inverse);
}

.hero-label {
    display: inline-block;
    font-size: var(--text-xs);
    font-weight: var(--fw-bold);
    color: rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.15);
    padding: var(--space-1) var(--space-4);
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-4);
}

.hero-section-new h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: var(--fw-extrabold);
    line-height: 1.2;
    margin-bottom: var(--space-4);
    color: #ffffff;
}

.hero-section-new h1 .highlight {
    color: #34d399;
}

.hero-subtitle-new {
    font-size: var(--text-lg);
    color: rgba(255, 255, 255, 0.85);
    max-width: 600px;
    margin: 0 auto var(--space-8);
    line-height: 1.6;
}

/* ==========================================================================
   HERO DARK (Dark Theme with Decorative Elements)
   ========================================================================== */

.hero-dark {
    position: relative;
    background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 50%, #0f172a 100%);
    padding: var(--space-20) 0 var(--space-16);
    text-align: center;
    color: var(--text-inverse);
    overflow: hidden;
    min-height: 580px;
}

/* Decorative SVG Elements Container */
.hero-decorations {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    overflow: hidden;
}

.hero-deco {
    position: absolute;
    opacity: 0.15;
    animation: float 6s ease-in-out infinite;
}

.hero-deco-tag {
    width: 100px;
    top: 15%;
    left: 8%;
    animation-delay: 0s;
}

.hero-deco-percent {
    width: 80px;
    top: 25%;
    right: 10%;
    animation-delay: 1s;
}

.hero-deco-cart {
    width: 90px;
    bottom: 20%;
    left: 5%;
    animation-delay: 2s;
}

.hero-deco-gift {
    width: 85px;
    bottom: 25%;
    right: 8%;
    animation-delay: 3s;
}

.hero-deco-star {
    width: 50px;
    top: 40%;
    left: 15%;
    animation-delay: 1.5s;
}

.hero-deco-coin {
    width: 60px;
    top: 35%;
    right: 15%;
    animation-delay: 2.5s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-15px) rotate(3deg);
    }
}

/* Hero Content Container */
.hero-dark-container {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
}

/* Hero Title */
.hero-dark-title {
    font-size: clamp(2.25rem, 5vw, 3.5rem);
    font-weight: var(--fw-extrabold);
    line-height: 1.15;
    margin-bottom: var(--space-4);
    color: var(--text-inverse);
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.hero-highlight {
    color: #34d399;
    display: inline-block;
}

/* Hero Subtitle */
.hero-dark-subtitle {
    font-size: var(--text-lg);
    color: rgba(255, 255, 255, 0.85);
    max-width: 650px;
    margin: 0 auto var(--space-8);
    line-height: 1.65;
}

.hero-dark-subtitle strong {
    color: #fff;
    font-weight: var(--fw-semibold);
}

/* Wide Search Bar */
.hero-search-wrapper {
    max-width: 700px;
    margin: 0 auto var(--space-10);
    position: relative;
    z-index: 50;
}

.hero-search-box {
    position: relative;
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-xl);
    padding: var(--space-2);
    backdrop-filter: blur(10px);
    transition: border-color var(--transition-base), background var(--transition-base);
}

.hero-search-box:focus-within {
    border-color: var(--accent);
    background: rgba(255, 255, 255, 0.15);
}

.hero-search-icon {
    width: 22px;
    height: 22px;
    color: rgba(255, 255, 255, 0.5);
    margin-left: var(--space-4);
    flex-shrink: 0;
}

/* Ensure Lucide icon displays properly */
.hero-search-box > .hero-search-icon,
.hero-search-box > i.hero-search-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-search-input {
    flex: 1;
    background: transparent;
    border: none;
    padding: var(--space-4) var(--space-4);
    font-size: var(--text-md);
    color: var(--text-inverse);
    outline: none;
}

.hero-search-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.hero-search-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-6);
    background: var(--accent);
    color: var(--text-inverse);
    border: none;
    border-radius: var(--radius-lg);
    font-weight: var(--fw-semibold);
    cursor: pointer;
    transition: background var(--transition-base), transform var(--transition-fast);
}

.hero-search-btn:hover {
    background: var(--accent-hover);
    transform: scale(1.02);
}

.hero-search-btn i,
.hero-search-btn svg {
    width: 18px;
    height: 18px;
}

/* Stats Row - Dark Cards */
.hero-stats-row {
    display: flex;
    justify-content: center;
    gap: var(--space-4);
    margin-bottom: var(--space-8);
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.hero-stat-card {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-xl);
    padding: var(--space-5) var(--space-8);
    text-align: center;
    min-width: 160px;
    backdrop-filter: blur(10px);
    transition: transform var(--transition-fast), background var(--transition-base);
}

.hero-stat-card:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.12);
}

.hero-stat-number {
    display: block;
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: var(--fw-extrabold);
    color: #34d399;
    line-height: 1.1;
    margin-bottom: var(--space-1);
}

.hero-stat-text {
    display: block;
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: var(--fw-medium);
}

/* Trust Indicators Row */
.hero-trust-row {
    display: flex;
    justify-content: center;
    gap: var(--space-8);
    flex-wrap: wrap;
}

.hero-trust-item {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    color: rgba(255, 255, 255, 0.75);
    font-size: var(--text-sm);
}

.trust-icon {
    width: 18px;
    height: 18px;
    color: #34d399;
}

.trust-icon-check {
    color: #34d399;
}

/* Dark Hero Autocomplete (reuses existing but with dark theme adjustments) */
.hero-search-box .search-autocomplete {
    position: absolute;
    top: calc(100% + var(--space-2));
    left: 0;
    right: 0;
    background: var(--bg-elevated);
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    z-index: 200;
}

/* Responsive adjustments for dark hero */
@media (max-width: 768px) {
    .hero-dark {
        padding: var(--space-12) 0;
        min-height: auto;
    }

    .hero-dark-title {
        font-size: 1.875rem;
    }

    .hero-decorations {
        display: none;
    }

    .hero-stats-row {
        gap: var(--space-3);
    }

    .hero-stat-card {
        padding: var(--space-4) var(--space-5);
        min-width: 100px;
    }

    .hero-stat-number {
        font-size: 1.5rem;
    }

    .hero-trust-row {
        flex-direction: column;
        gap: var(--space-3);
        align-items: center;
    }

    .hero-search-box {
        flex-direction: column;
        padding: var(--space-3);
        gap: var(--space-2);
    }

    .hero-search-icon {
        display: none;
    }

    .hero-search-input {
        width: 100%;
        text-align: center;
    }

    .hero-search-btn {
        width: 100%;
        justify-content: center;
        padding: var(--space-3);
    }
}

@media (max-width: 480px) {
    .hero-stat-card {
        flex: 1 1 45%;
    }
}

/* ==========================================================================
   HOME STATS BAR (Like About Page)
   ========================================================================== */

.home-stats-bar {
    background: var(--bg-elevated);
    padding: var(--space-6) 0;
    border-bottom: 1px solid var(--border-light);
}

.home-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-4);
    text-align: center;
}

@media (max-width: 768px) {
    .home-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.home-stat-value {
    display: block;
    font-size: var(--text-2xl);
    font-weight: var(--fw-bold);
    color: var(--accent);
}

.home-stat-label {
    display: block;
    font-size: var(--text-sm);
    color: var(--text-muted);
    margin-top: var(--space-1);
}

/* ==========================================================================
   POPULAR STORES ROW (Single Horizontal Line)
   ========================================================================== */

.popular-stores-row {
    display: flex;
    justify-content: center;
    gap: var(--space-6);
    flex-wrap: wrap;
}

@media (max-width: 900px) {
    .popular-stores-row {
        gap: var(--space-4);
    }
}

.popular-store-item-compact {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    transition: transform var(--transition-fast);
}

.popular-store-item-compact:hover {
    transform: translateY(-4px);
}

.popular-store-logo-compact {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-lg);
    background: var(--bg-elevated);
    border: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-bottom: var(--space-2);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.popular-store-item-compact:hover .popular-store-logo-compact {
    border-color: var(--accent);
    box-shadow: 0 4px 12px rgba(5, 150, 105, 0.15);
}

.popular-store-logo-compact img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 8px;
}

.store-initial-compact {
    font-size: var(--text-xl);
    font-weight: var(--fw-bold);
    color: var(--accent);
}

.popular-store-name-compact {
    font-size: var(--text-xs);
    font-weight: var(--fw-medium);
    color: var(--text-primary);
    text-align: center;
    max-width: 80px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ==========================================================================
   DEALS SECTION NEW (Trending Style with Slider)
   ========================================================================== */

.section-deals-new {
    padding: var(--space-12) 0;
    background: #f0fdf4;
}

.section-header-with-nav {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: var(--space-6);
}

.section-header-with-nav h2 {
    font-size: 28px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: var(--space-1);
}

.section-nav-arrows {
    display: flex;
    gap: var(--space-2);
}

.nav-arrow {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-elevated);
    border: 1px solid var(--border-light);
    border-radius: 50%;
    cursor: pointer;
    transition: all var(--transition-fast);
    color: var(--text-primary);
}

.nav-arrow:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.nav-arrow svg {
    width: 20px;
    height: 20px;
}

.deals-slider-wrapper {
    overflow: hidden;
    margin: 0 -var(--space-2);
    padding: 0 var(--space-2);
}

.deals-slider {
    display: flex;
    gap: var(--space-4);
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: var(--space-2);
}

.deals-slider::-webkit-scrollbar {
    display: none;
}

.deal-card-new {
    flex: 0 0 280px;
    background: var(--bg-elevated);
    border: none;
    border-radius: var(--radius-xl);
    padding: var(--space-5);
    text-decoration: none;
    transition: all var(--transition-fast);
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.deal-card-new:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.deal-card-header {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    margin-bottom: var(--space-4);
}

.deal-logo {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    background: var(--bg-page);
    border: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}

.deal-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 6px;
}

.deal-logo-letter {
    font-size: var(--text-xl);
    font-weight: var(--fw-bold);
    color: var(--accent);
}

.deal-store-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.deal-store-name-new {
    font-size: var(--text-base);
    font-weight: var(--fw-bold);
    color: var(--text-primary);
}

.deal-exclusive-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    font-weight: var(--fw-semibold);
    color: var(--accent);
}

.deal-exclusive-badge .badge-icon {
    width: 12px;
    height: 12px;
    fill: var(--accent);
    stroke: none;
}

.deal-description {
    font-size: var(--text-sm);
    color: var(--text-body);
    line-height: 1.5;
    margin: 0;
}

.deal-highlight {
    color: #dc2626;
    font-weight: var(--fw-bold);
}

/* ==========================================================================
   POPULAR STORES SECTION
   ========================================================================== */

.popular-stores-section {
    background: var(--bg-sunken);
    padding: var(--space-8) 0;
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
    overflow: hidden;
}

.popular-stores-header {
    text-align: center;
    margin-bottom: var(--space-5);
}

.popular-label {
    display: inline-block;
    font-size: var(--text-base);
    font-weight: var(--fw-semibold);
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding-bottom: var(--space-2);
    border-bottom: 2px solid var(--accent);
}

.popular-stores-marquee {
    overflow: hidden;
    position: relative;
    padding: var(--space-2) 0;
}

.popular-stores-marquee::before,
.popular-stores-marquee::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 80px;
    z-index: 2;
    pointer-events: none;
}

.popular-stores-marquee::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-sunken), transparent);
}

.popular-stores-marquee::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-sunken), transparent);
}

.marquee-inner {
    display: flex;
    gap: var(--space-4);
    animation: marquee 40s linear infinite;
    width: max-content;
}

.marquee-inner:hover {
    animation-play-state: paused;
}

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

.popular-store-link {
    display: inline-flex;
    align-items: center;
    padding: var(--space-3) var(--space-5);
    background: var(--bg-elevated);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    color: var(--text-primary);
    text-decoration: none;
    font-size: var(--text-base);
    font-weight: var(--fw-medium);
    white-space: nowrap;
    transition: all var(--transition-fast);
    box-shadow: var(--shadow-sm);
}

.popular-store-link:hover {
    background: var(--accent);
    color: var(--text-inverse);
    border-color: var(--accent);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

/* ==========================================================================
   TRUST STATS BAR
   ========================================================================== */

.trust-stats-bar {
    background: var(--text-primary);
    color: var(--text-inverse);
    padding: var(--space-6) 0;
}

.trust-stats-grid {
    display: flex;
    justify-content: center;
    gap: var(--space-12);
    flex-wrap: wrap;
}

.trust-stat {
    text-align: center;
}

.trust-stat-value {
    display: block;
    font-size: var(--text-h3);
    font-weight: var(--fw-bold);
    line-height: 1.2;
}

.trust-stat-label {
    font-size: var(--text-sm);
    opacity: 0.8;
}

/* Legacy Trust Badges (in hero - kept for compatibility) */
.hero-trust-badges {
    display: flex;
    justify-content: center;
    gap: var(--space-8);
    flex-wrap: wrap;
}

.trust-badge {
    text-align: center;
}

.trust-badge-value {
    display: block;
    font-size: var(--text-h3);
    font-weight: var(--fw-bold);
}

.trust-badge-label {
    font-size: var(--text-sm);
    opacity: 0.8;
}

/* ==========================================================================
   LIVE ACTIVITY BAR
   ========================================================================== */

.live-activity-bar {
    background: var(--text-primary);
    color: var(--text-inverse);
    padding: var(--space-3) 0;
    text-align: center;
    font-size: var(--text-sm);
}

.activity-ticker {
    position: relative;
    height: 1.5em;
    overflow: hidden;
}

.activity-item {
    position: absolute;
    width: 100%;
    left: 0;
    top: 0;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

/* First item visible by default (before JS loads) */
.activity-item:first-child {
    opacity: 1;
    transform: translateY(0);
}

.activity-item.active {
    opacity: 1;
    transform: translateY(0);
}

.activity-item strong {
    color: var(--accent-light);
}

/* ==========================================================================
   SECTION HEADERS
   ========================================================================== */

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-6);
}

.section-header h2 {
    margin: 0;
}

.section-link {
    color: var(--accent);
    text-decoration: none;
    font-weight: var(--fw-medium);
    font-size: var(--text-sm);
}

.section-link:hover {
    text-decoration: underline;
}

/* ==========================================================================
   TODAY'S TOP DEALS
   ========================================================================== */

.section-deals {
    padding: var(--space-12) 0;
}

.deals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: var(--space-4);
}

.deal-card {
    background: var(--bg-elevated);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: var(--space-5);
    text-align: center;
    text-decoration: none;
    color: inherit;
    transition: all var(--transition-base);
    position: relative;
}

.deal-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent);
}

.deal-store-logo {
    width: 60px;
    height: 60px;
    margin: 0 auto var(--space-3);
    display: flex;
    align-items: center;
    justify-content: center;
}

.deal-store-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.deal-store-logo .store-initial {
    width: 60px;
    height: 60px;
    font-size: var(--text-h4);
    margin: 0;
}

.deal-discount {
    font-size: var(--text-h4);
    font-weight: var(--fw-extrabold);
    color: var(--accent);
    margin-bottom: var(--space-2);
}

.deal-store-name {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    font-weight: var(--fw-medium);
}

.verified-badge {
    position: absolute;
    top: var(--space-2);
    right: var(--space-2);
    background: var(--accent);
    color: var(--text-inverse);
    font-size: var(--text-xs);
    padding: var(--space-1) var(--space-2);
    border-radius: var(--radius-sm);
    font-weight: var(--fw-semibold);
}

/* ==========================================================================
   TOP CODES
   ========================================================================== */

.section-codes {
    padding: var(--space-12) 0;
    background: var(--bg-sunken);
}

.codes-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.code-card {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    background: var(--bg-elevated);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: var(--space-4);
    transition: all var(--transition-base);
}

.code-card:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow-sm);
}

.code-store-logo {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.code-store-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.code-store-logo .store-initial {
    width: 48px;
    height: 48px;
    font-size: var(--text-md);
    margin: 0;
}

.code-info {
    flex: 1;
    min-width: 0;
}

.code-store-name {
    display: block;
    font-weight: var(--fw-semibold);
    color: var(--text-primary);
    margin-bottom: var(--space-1);
}

.code-title {
    display: block;
    font-size: var(--text-sm);
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.code-discount {
    font-weight: var(--fw-bold);
    color: var(--accent);
    font-size: var(--text-md);
    flex-shrink: 0;
}

.code-reveal {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    flex-shrink: 0;
}

.code-text {
    background: var(--bg-muted);
    padding: var(--space-2) var(--space-3);
    border-radius: var(--radius-md);
    font-family: var(--ff-mono);
    font-size: var(--text-sm);
    border: 1px dashed var(--border-default);
}

.code-copy-btn {
    background: var(--accent);
    color: var(--text-inverse);
    border: none;
    padding: var(--space-2) var(--space-4);
    border-radius: var(--radius-md);
    font-weight: var(--fw-semibold);
    font-size: var(--text-sm);
    cursor: pointer;
    transition: background var(--transition-fast);
}

.code-copy-btn:hover {
    background: var(--accent-hover);
}

.code-copy-btn.copied {
    background: var(--success);
}

/* ==========================================================================
   NEWSLETTER BAR
   ========================================================================== */

.newsletter-bar {
    background: var(--accent);
    color: var(--text-inverse);
    padding: var(--space-4) 0;
}

.newsletter-bar .container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-6);
    flex-wrap: wrap;
}

.newsletter-text {
    font-weight: var(--fw-medium);
}

.newsletter-form {
    display: flex;
    gap: var(--space-2);
}

.newsletter-form input {
    padding: var(--space-2) var(--space-4);
    border: none;
    border-radius: var(--radius-md);
    font-size: var(--text-sm);
    min-width: 200px;
}

.newsletter-form button {
    padding: var(--space-2) var(--space-4);
    background: var(--text-primary);
    color: var(--text-inverse);
    border: none;
    border-radius: var(--radius-md);
    font-weight: var(--fw-semibold);
    font-size: var(--text-sm);
    cursor: pointer;
    transition: background var(--transition-fast);
}

.newsletter-form button:hover {
    background: var(--text-secondary);
}

.newsletter-bar-alt {
    background: var(--accent-orange);
}

/* ==========================================================================
   SPECIAL OFFERS
   ========================================================================== */

.section-special-offers {
    padding: var(--space-12) 0;
}

.section-special-offers h2 {
    margin-bottom: var(--space-6);
}

.special-offers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: var(--space-4);
}

.special-offer-card {
    display: flex;
    flex-direction: column;
    gap: var(--space-1);
    padding: var(--space-5);
    background: var(--bg-elevated);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    text-decoration: none;
    color: inherit;
    transition: all var(--transition-base);
}

.special-offer-card:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow-sm);
}

.special-offer-title {
    font-weight: var(--fw-semibold);
    color: var(--text-primary);
}

.special-offer-count {
    font-size: var(--text-sm);
    color: var(--text-muted);
}

/* ==========================================================================
   CATEGORIES (F-shape Stack)
   ========================================================================== */

.section-categories {
    padding: var(--space-12) 0;
    background: var(--bg-sunken);
}

.categories-stack {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    max-width: 600px;
}

.category-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-4) var(--space-5);
    background: var(--bg-elevated);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    text-decoration: none;
    color: inherit;
    transition: all var(--transition-base);
}

.category-row:hover {
    border-color: var(--accent);
    background: var(--bg-hover);
    transform: translateX(4px);
}

.category-name {
    font-weight: var(--fw-semibold);
    color: var(--text-primary);
}

.category-count {
    font-size: var(--text-sm);
    color: var(--text-muted);
}

/* ==========================================================================
   EXPIRING SOON
   ========================================================================== */

.section-expiring {
    padding: var(--space-12) 0;
}

.section-expiring .section-header h2 {
    color: var(--accent-orange);
}

.expiring-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.expiring-card {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    padding: var(--space-4);
    background: var(--accent-orange-lighter);
    border: 1px solid var(--accent-orange-light);
    border-radius: var(--radius-lg);
    text-decoration: none;
    color: inherit;
    transition: all var(--transition-base);
}

.expiring-card:hover {
    border-color: var(--accent-orange);
    box-shadow: var(--shadow-sm);
}

.expiring-store-logo {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.expiring-store-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.expiring-store-logo .store-initial {
    width: 48px;
    height: 48px;
    font-size: var(--text-md);
    margin: 0;
    background: var(--accent-orange);
}

.expiring-info {
    flex: 1;
}

.expiring-title {
    display: block;
    font-weight: var(--fw-semibold);
    color: var(--text-primary);
    margin-bottom: var(--space-1);
}

.expiring-time {
    display: block;
    font-size: var(--text-sm);
    color: var(--accent-orange-dark);
    font-weight: var(--fw-medium);
}

/* ==========================================================================
   COMMUNITY SECTION
   ========================================================================== */

.section-community {
    padding: var(--space-12) 0;
    background: var(--accent-lighter);
    text-align: center;
}

.section-community h2 {
    margin-bottom: var(--space-3);
}

.community-subtitle {
    color: var(--text-muted);
    margin-bottom: var(--space-8);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.community-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-6);
    max-width: 700px;
    margin: 0 auto var(--space-6);
}

.community-card {
    background: var(--bg-elevated);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: var(--space-6);
    text-align: left;
}

.community-card h3 {
    margin-bottom: var(--space-2);
    font-size: var(--text-md);
}

.community-card p {
    color: var(--text-muted);
    font-size: var(--text-sm);
    margin-bottom: var(--space-4);
    line-height: var(--lh-relaxed);
}

.community-btn {
    display: inline-block;
    padding: var(--space-2) var(--space-4);
    background: var(--accent);
    color: var(--text-inverse);
    text-decoration: none;
    border-radius: var(--radius-md);
    font-weight: var(--fw-semibold);
    font-size: var(--text-sm);
    transition: background var(--transition-fast);
}

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

.community-auth-links {
    font-size: var(--text-sm);
    color: var(--text-muted);
}

.community-auth-links a {
    color: var(--accent);
    text-decoration: none;
}

.community-auth-links a:hover {
    text-decoration: underline;
}

/* ==========================================================================
   STORES SECTIONS
   ========================================================================== */

.section-stores {
    padding: var(--space-12) 0;
}

/* Legacy support */
.hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 50%, #0f172a 100%);
    color: var(--text-inverse);
    padding: var(--space-16) 0;
    text-align: center;
}

.hero h1 {
    color: #ffffff;
    margin-bottom: var(--space-4);
    letter-spacing: var(--ls-tighter);
}

.hero p {
    font-size: var(--text-lg);
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: var(--space-8);
    line-height: var(--lh-relaxed);
}

.search-box {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
    gap: var(--space-2);
}

.search-box input {
    flex: 1;
    padding: var(--space-4);
    border: none;
    border-radius: var(--radius-lg);
    font-family: var(--ff-sans);
    font-size: var(--text-base);
}

.search-box button {
    padding: var(--space-4) var(--space-8);
    background: var(--text-primary);
    color: var(--text-inverse);
    border: none;
    border-radius: var(--radius-lg);
    font-family: var(--ff-sans);
    font-weight: var(--fw-semibold);
    cursor: pointer;
    transition: background var(--transition-base);
}

.search-box button:hover {
    background: var(--text-secondary);
}

/* ==========================================================================
   STORE GRID
   ========================================================================== */

.featured-stores,
.store-listing {
    padding: var(--space-12) 0;
}

.featured-stores h2,
.store-listing h2 {
    margin-bottom: var(--space-8);
}

.store-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: var(--space-6);
    margin-bottom: var(--space-8);
}

.store-card {
    background: var(--bg-elevated);
    border-radius: var(--radius-lg);
    padding: var(--space-6);
    text-align: center;
    text-decoration: none;
    color: inherit;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
    border: 1px solid var(--border-light);
}

.store-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.store-card img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: var(--space-4);
}

.store-initial {
    width: 80px;
    height: 80px;
    background: var(--accent);
    color: var(--text-inverse);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--text-h2);
    font-weight: var(--fw-bold);
    margin: 0 auto var(--space-4);
}

.store-initial.large {
    width: 100px;
    height: 100px;
    font-size: var(--text-h1);
}

.store-card h3 {
    margin-bottom: var(--space-2);
    font-size: var(--text-card-title);
    font-weight: var(--fw-semibold);
    color: var(--text-secondary);
}

.coupon-count {
    color: var(--text-muted);
    font-size: var(--text-card-meta);
}

/* ==========================================================================
   STORE HEADER
   ========================================================================== */

.store-header {
    background: var(--bg-elevated);
    padding: var(--space-8) 0;
    border-bottom: 1px solid var(--border-light);
}

.store-info {
    display: flex;
    align-items: center;
    gap: var(--space-6);
}

.store-logo {
    width: 80px;
    height: 80px;
    object-fit: contain;
    border-radius: var(--radius-xl);
    background: var(--bg-elevated);
    padding: var(--space-2);
    box-shadow: var(--shadow-sm);
}

.store-header .page-header {
    text-align: left;
    display: block;
    background: none;
    padding: 0;
    margin-bottom: 0;
}

.store-header .store-info {
    justify-content: flex-start;
}

.store-header .store-initial.large {
    width: 80px;
    height: 80px;
    font-size: var(--text-h2);
    border-radius: var(--radius-xl);
    margin: 0;
}

.store-text h1 {
    margin: 0 0 var(--space-1);
    font-size: var(--text-h3);
    color: var(--text-primary);
}

.store-text .page-meta {
    margin: 0;
    color: var(--text-muted);
    font-size: var(--text-base);
}

/* ==========================================================================
   CONTENT GRID
   ========================================================================== */

.store-content,
.coupon-listing,
.coupon-detail {
    padding: var(--space-8) 0;
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: var(--space-8);
}

/* ==========================================================================
   COUPON CARDS
   ========================================================================== */

.coupon-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.coupon-section {
    margin-bottom: var(--space-8);
}

.coupon-section h2 {
    margin-bottom: var(--space-4);
    font-size: var(--text-h4);
}

.section-desc {
    color: var(--text-muted);
    font-size: var(--text-card-body);
    margin-bottom: var(--space-4);
}

.coupon-card {
    background: var(--bg-elevated);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: var(--space-5);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-4);
    transition: box-shadow var(--transition-base);
    position: relative;
}

.coupon-card:hover {
    box-shadow: var(--shadow-md);
}

.coupon-card.featured {
    border-color: var(--accent);
    border-width: 2px;
}

.coupon-info {
    flex: 1;
}

.coupon-info h3 {
    font-size: var(--text-coupon-title);
    font-weight: var(--fw-semibold);
    color: var(--text-secondary);
    line-height: var(--lh-snug);
    margin-bottom: var(--space-2);
}

.coupon-info h3 a {
    color: inherit;
    text-decoration: none;
}

.coupon-info h3 a:hover {
    color: var(--accent);
}

.coupon-info p {
    color: var(--text-body);
    font-size: var(--text-coupon-desc);
    line-height: var(--lh-relaxed);
    margin-bottom: var(--space-2);
}

.coupon-meta {
    display: flex;
    gap: var(--space-4);
    font-size: var(--text-coupon-meta);
}

.discount {
    color: var(--accent);
    font-weight: var(--fw-semibold);
}

.expiry {
    color: var(--text-muted);
}

.coupon-action {
    text-align: right;
    flex-shrink: 0;
}

.coupon-code .code {
    background: var(--bg-sunken);
    padding: var(--space-2) var(--space-4);
    border-radius: var(--radius-md);
    font-family: var(--ff-mono);
    font-size: var(--text-coupon-code);
    border: 2px dashed var(--border-default);
}

/* ==========================================================================
   BADGES
   ========================================================================== */

.badge {
    display: inline-flex;
    align-items: center;
    padding: var(--space-1) var(--space-3);
    border-radius: var(--radius-full);
    font-size: var(--text-badge);
    font-weight: var(--fw-semibold);
    text-transform: uppercase;
    letter-spacing: var(--ls-wider);
    line-height: var(--lh-none);
}

.badge.verified,
.verified-badge {
    background: var(--accent);
    color: var(--text-inverse);
}

.badge.featured {
    background: var(--warning);
    color: var(--text-primary);
}

.deal-badge {
    background: var(--accent-alt);
    color: var(--text-inverse);
}

/* ==========================================================================
   COPY CODE BUTTON
   ========================================================================== */

.btn-copy-code {
    padding: var(--space-3) var(--space-6);
    font-size: var(--text-btn);
    font-weight: var(--fw-semibold);
    cursor: pointer;
    border: none;
    border-radius: var(--radius-md);
    background: var(--accent);
    color: var(--text-inverse);
    transition: all var(--transition-base);
    white-space: nowrap;
    font-family: var(--ff-sans);
}

.btn-copy-code:hover {
    background: var(--accent-hover);
    transform: translateY(-1px);
    box-shadow: var(--shadow-accent);
}

.btn-copy-code.copied {
    background: var(--accent-dark);
}

.btn-secondary.btn-copy-code {
    background: var(--text-muted);
}

.btn-secondary.btn-copy-code:hover {
    background: var(--text-secondary);
}

.btn-deal {
    background: var(--accent-alt);
    color: var(--text-inverse);
}

.btn-deal:hover {
    background: var(--accent-alt-hover);
}

/* ==========================================================================
   SIDEBAR
   ========================================================================== */

.sidebar {
    display: flex;
    flex-direction: column;
    gap: var(--space-6);
}

.store-details,
.store-card-sidebar {
    background: var(--bg-elevated);
    border-radius: var(--radius-lg);
    padding: var(--space-6);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
}

.store-details h3,
.store-card-sidebar h3 {
    font-size: var(--text-card-title);
    font-weight: var(--fw-semibold);
    margin-bottom: var(--space-4);
}

.store-intro {
    font-size: var(--text-card-body);
    color: var(--text-body);
    line-height: var(--lh-loose);
    margin: var(--space-4) 0;
}

.store-stats-list {
    list-style: none;
    padding: 0;
    margin: var(--space-4) 0;
}

.store-stats-list li {
    padding: var(--space-2) 0;
    border-bottom: 1px solid var(--border-light);
    font-size: var(--text-card-body);
    color: var(--text-body);
}

.store-stats-list li:last-child {
    border-bottom: none;
}

.store-stats-list li strong {
    color: var(--text-secondary);
    font-weight: var(--fw-semibold);
}

/* Related Stores */
.related-stores {
    margin-top: var(--space-8);
    padding-top: var(--space-6);
    border-top: 1px solid var(--border-light);
}

.related-stores h4 {
    font-size: var(--text-card-title);
    font-weight: var(--fw-semibold);
    margin: 0 0 var(--space-4);
    color: var(--text-secondary);
}

.store-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.store-list li {
    margin-bottom: var(--space-3);
}

.store-link {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-2);
    border-radius: var(--radius-md);
    text-decoration: none;
    color: var(--text-secondary);
    transition: background var(--transition-fast);
}

.store-link:hover {
    background: var(--bg-hover);
}

.store-thumb {
    width: 32px;
    height: 32px;
    object-fit: contain;
    border-radius: var(--radius-sm);
    background: var(--bg-elevated);
    border: 1px solid var(--border-light);
    flex-shrink: 0;
}

.store-initial-small {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--text-card-body);
    font-weight: var(--fw-semibold);
    color: var(--text-inverse);
    background: var(--accent);
    border-radius: var(--radius-sm);
    flex-shrink: 0;
}

.store-link .store-name {
    flex: 1;
    font-size: var(--text-card-body);
    font-weight: var(--fw-medium);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sidebar .coupon-count {
    font-size: var(--text-card-meta);
    color: var(--text-muted);
    white-space: nowrap;
}

/* ==========================================================================
   PAGE HEADER
   ========================================================================== */

.page-header {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 50%, #0f172a 100%);
    padding: var(--space-12) 0;
    margin-bottom: var(--space-8);
    text-align: center;
    color: var(--text-inverse);
}

.page-header h1 {
    color: #ffffff;
    font-size: var(--text-h1);
    font-weight: var(--fw-extrabold);
    margin-bottom: var(--space-2);
}

.page-header p {
    color: rgba(255, 255, 255, 0.85);
    font-size: var(--text-lg);
}

.breadcrumb {
    font-size: var(--text-card-body);
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: var(--space-4);
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
}

.breadcrumb a:hover {
    color: #34d399;
}

/* ==========================================================================
   ALPHABET NAVIGATION
   ========================================================================== */

.alphabet-nav {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
    margin-bottom: var(--space-8);
    padding: var(--space-4);
    background: var(--bg-elevated);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
}

.alphabet-nav a {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-sunken);
    border-radius: var(--radius-md);
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: var(--fw-semibold);
    font-size: var(--text-card-body);
    transition: all var(--transition-fast);
}

.alphabet-nav a:hover {
    background: var(--accent);
    color: var(--text-inverse);
}

.letter-heading {
    margin: var(--space-8) 0 var(--space-4);
    padding-bottom: var(--space-2);
    border-bottom: 2px solid var(--border-light);
}

/* ==========================================================================
   BLOG POST
   ========================================================================== */

.blog-post {
    padding-bottom: var(--space-12);
}

.post-header {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 50%, #0f172a 100%);
    padding: var(--space-12) 0;
    text-align: center;
    color: var(--text-inverse);
}

.post-header h1 {
    margin-bottom: var(--space-4);
    color: #ffffff;
}

.post-header .breadcrumb {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: var(--space-4);
}

.post-header .breadcrumb a {
    color: rgba(255, 255, 255, 0.7);
}

.post-header .breadcrumb a:hover {
    color: #34d399;
}

.post-meta {
    color: rgba(255, 255, 255, 0.7);
    font-size: var(--text-card-body);
}

.post-featured-image {
    margin: var(--space-8) 0;
}

.post-featured-image img {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    border-radius: var(--radius-lg);
}

.post-content {
    padding: var(--space-8) 0;
}

.post-content h2 {
    margin: var(--space-8) 0 var(--space-4);
}

.post-content p {
    margin-bottom: var(--space-4);
}

.post-content ul,
.post-content ol {
    margin: var(--space-4) 0 var(--space-4) var(--space-8);
}

.post-footer {
    padding-top: var(--space-8);
    border-top: 1px solid var(--border-light);
}

/* Author Box */
.author-box {
    padding: var(--space-8) 0;
    margin-top: var(--space-8);
}

.author-card {
    background: var(--bg-elevated);
    border-radius: var(--radius-lg);
    padding: var(--space-6);
    display: flex;
    gap: var(--space-6);
    box-shadow: var(--shadow-sm);
    border-left: 4px solid var(--accent);
}

.author-avatar {
    flex-shrink: 0;
}

.author-initial {
    width: 64px;
    height: 64px;
    background: var(--accent);
    color: var(--text-inverse);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--text-h4);
    font-weight: var(--fw-bold);
}

.author-info {
    flex: 1;
}

.author-name {
    font-size: var(--text-card-title);
    font-weight: var(--fw-semibold);
    margin-bottom: var(--space-2);
    color: var(--text-primary);
}

.author-bio {
    color: var(--text-body);
    font-size: var(--text-card-body);
    line-height: var(--lh-loose);
    margin: 0;
}

/* ==========================================================================
   COUPON DETAIL
   ========================================================================== */

.coupon-detail-card {
    background: var(--bg-elevated);
    border-radius: var(--radius-lg);
    padding: var(--space-8);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
}

.coupon-detail-card header {
    margin-bottom: var(--space-8);
}

.coupon-detail-card h1 {
    margin: var(--space-4) 0;
}

.discount-badge.large {
    display: inline-block;
    padding: var(--space-2) var(--space-4);
    background: var(--accent);
    color: var(--text-inverse);
    border-radius: var(--radius-md);
    font-size: var(--text-lg);
    font-weight: var(--fw-bold);
}

.code-reveal {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    padding: var(--space-6);
    background: var(--bg-sunken);
    border-radius: var(--radius-lg);
    margin: var(--space-6) 0;
}

.code-display {
    flex: 1;
    padding: var(--space-4);
    background: var(--bg-elevated);
    border: 2px dashed var(--border-default);
    border-radius: var(--radius-md);
    font-family: var(--ff-mono);
    font-size: var(--text-lg);
    text-align: center;
}

.code-display.revealed {
    border-style: solid;
    border-color: var(--accent);
    font-weight: var(--fw-bold);
}

.how-to-use {
    margin-top: var(--space-8);
    padding: var(--space-6);
    background: var(--bg-sunken);
    border-radius: var(--radius-lg);
}

.how-to-use h2 {
    margin-bottom: var(--space-4);
    font-size: var(--text-h4);
}

.how-to-use ol {
    margin-left: var(--space-6);
}

.how-to-use li {
    margin-bottom: var(--space-2);
    color: var(--text-body);
}

/* ==========================================================================
   MODAL
   ========================================================================== */

.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: var(--z-modal-backdrop);
    align-items: center;
    justify-content: center;
}

.modal-overlay.active {
    display: flex;
}

.modal-content {
    background: var(--bg-elevated);
    border-radius: var(--radius-xl);
    padding: var(--space-10);
    max-width: 450px;
    width: 90%;
    position: relative;
    text-align: center;
    animation: modalSlideIn var(--transition-slow) ease;
}

@keyframes modalSlideIn {
    from {
        transform: translateY(-20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-close {
    position: absolute;
    top: var(--space-4);
    right: var(--space-4);
    font-size: var(--text-h4);
    border: none;
    background: none;
    cursor: pointer;
    color: var(--text-subtle);
    transition: color var(--transition-fast);
}

.modal-close:hover {
    color: var(--text-primary);
}

.modal-header h3 {
    margin: 0 0 var(--space-4);
    color: var(--text-primary);
    font-size: var(--text-h4);
}

.modal-desc {
    color: var(--text-body);
    margin-bottom: var(--space-6);
    font-size: var(--text-base);
}

.modal-content .code-display {
    background: var(--bg-sunken);
    border: 2px dashed var(--accent);
    border-radius: var(--radius-lg);
    padding: var(--space-6);
    margin-bottom: var(--space-6);
}

.revealed-code {
    font-family: var(--ff-mono);
    font-size: var(--text-h3);
    font-weight: var(--fw-bold);
    color: var(--accent);
    letter-spacing: var(--ls-wide);
    user-select: all;
}

.btn-copy {
    width: 100%;
    padding: var(--space-4);
    font-size: var(--text-md);
}

.modal-hint {
    font-size: var(--text-card-meta);
    color: var(--text-subtle);
    margin-top: var(--space-4);
    margin-bottom: 0;
}

/* ==========================================================================
   FAQ SECTION
   ========================================================================== */

.faq-section {
    margin-top: var(--space-12);
    padding-top: var(--space-8);
    border-top: 1px solid var(--border-light);
}

.faq-section h2 {
    margin-bottom: var(--space-6);
    font-size: var(--text-h3);
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.faq-item {
    background: var(--bg-sunken);
    padding: var(--space-5);
    border-radius: var(--radius-lg);
    border-left: 3px solid var(--accent);
}

.faq-question {
    font-size: var(--text-card-title);
    font-weight: var(--fw-semibold);
    color: var(--text-primary);
    margin: 0 0 var(--space-3) 0;
}

.faq-answer {
    font-size: var(--text-card-body);
    color: var(--text-body);
    margin: 0;
    line-height: var(--lh-loose);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.site-footer {
    background: #1f2937;
    color: #d1d5db;
    padding: var(--space-12) 0 var(--space-6);
    margin-top: var(--space-12);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--space-8);
    padding-bottom: var(--space-8);
    border-bottom: 1px solid #374151;
}

/* Footer Brand Column */
.footer-brand {
    padding-right: var(--space-8);
}

.footer-logo {
    font-size: var(--text-h4);
    font-weight: var(--fw-extrabold);
    color: var(--text-inverse);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    margin-bottom: var(--space-4);
}

.footer-logo::before {
    content: "%";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: var(--accent);
    color: var(--text-inverse);
    font-size: var(--text-card-body);
    font-weight: var(--fw-extrabold);
    border-radius: var(--radius-full);
}

.footer-tagline {
    font-size: var(--text-card-body);
    line-height: var(--lh-loose);
    color: #9ca3af;
    margin-bottom: var(--space-5);
}

.footer-socials {
    display: flex;
    gap: var(--space-3);
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #374151;
    color: #d1d5db;
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.social-link:hover {
    background: var(--accent);
    color: var(--text-inverse);
}

/* Footer Columns */
.footer-column {
    text-align: left;
}

.footer-column h4 {
    font-size: var(--text-card-title);
    font-weight: var(--fw-semibold);
    color: var(--text-inverse);
    margin-bottom: var(--space-4);
}

.site-footer .footer-column ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.site-footer .footer-column li {
    margin-bottom: var(--space-3);
    list-style: none !important;
}

.site-footer .footer-column li::before {
    display: none !important;
}

.footer-column a {
    color: #9ca3af;
    text-decoration: none;
    font-size: var(--text-card-body);
    transition: color var(--transition-fast);
}

.footer-column a:hover {
    color: var(--text-inverse);
}

/* Footer Bottom */
.footer-bottom {
    padding-top: var(--space-6);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-4);
    text-align: center;
}

.footer-copyright {
    font-size: var(--text-card-meta);
    color: #6b7280;
    margin: 0;
}

.footer-disclosure {
    font-size: var(--text-card-meta);
    color: #6b7280;
    margin: 0;
    max-width: 800px;
    line-height: var(--lh-relaxed);
}

.footer-disclosure strong {
    color: #9ca3af;
}

/* ==========================================================================
   LATEST STORES SECTION
   ========================================================================== */

.latest-stores-section {
    padding: var(--space-12) 0;
    background: var(--bg-sunken);
    margin-top: var(--space-8);
}

.latest-stores-section h2 {
    text-align: center;
    margin-bottom: var(--space-8);
    font-size: var(--text-h3);
    color: var(--text-primary);
}

.stores-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-4);
    max-width: 900px;
    margin: 0 auto;
}

.stores-grid .store-card {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-4);
    text-align: left;
}

.store-card-logo {
    width: 48px;
    height: 48px;
    object-fit: contain;
    border-radius: var(--radius-md);
    background: var(--bg-sunken);
    padding: var(--space-1);
    flex-shrink: 0;
}

.store-card-initial {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--text-lg);
    font-weight: var(--fw-bold);
    color: var(--text-inverse);
    background: var(--accent);
    border-radius: var(--radius-md);
    flex-shrink: 0;
}

.store-card-info {
    flex: 1;
    min-width: 0;
}

.store-card-info h3 {
    font-size: var(--text-card-body);
    font-weight: var(--fw-semibold);
    margin: 0 0 var(--space-1);
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.store-card-count {
    font-size: var(--text-card-meta);
    color: var(--text-muted);
}

/* ==========================================================================
   HOMEPAGE SECTIONS
   ========================================================================== */

.popular-stores,
.latest-stores,
.latest-posts {
    padding: var(--space-12) 0;
}

.popular-stores {
    background: var(--bg-sunken);
}

.latest-posts {
    background: var(--bg-elevated);
}

.popular-stores h2,
.latest-stores h2,
.latest-posts h2 {
    margin-bottom: var(--space-8);
}

/* Blog Posts Grid */
.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--space-6);
    margin-bottom: var(--space-8);
}

.post-card {
    background: var(--bg-sunken);
    border-radius: var(--radius-lg);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: all var(--transition-base);
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border-light);
}

.post-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.post-image {
    height: 160px;
    overflow: hidden;
}

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

.post-image.placeholder {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.post-image.placeholder span {
    font-size: var(--text-h2);
    color: var(--text-inverse);
    font-weight: var(--fw-bold);
}

.post-info {
    padding: var(--space-5);
    flex: 1;
    display: flex;
    flex-direction: column;
}

.post-info h3 {
    font-size: var(--text-card-title);
    font-weight: var(--fw-semibold);
    margin-bottom: var(--space-2);
    line-height: var(--lh-snug);
    color: var(--text-secondary);
}

.post-info p {
    color: var(--text-body);
    font-size: var(--text-card-body);
    margin-bottom: var(--space-3);
    flex: 1;
    line-height: var(--lh-relaxed);
}

.post-date {
    color: var(--text-muted);
    font-size: var(--text-card-meta);
}

/* ==========================================================================
   PRODUCT REVIEW CARDS
   ========================================================================== */

.product-reviews {
    margin: var(--space-8) 0;
}

.product-card {
    background: var(--bg-elevated);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    padding: var(--space-6);
    margin-bottom: var(--space-6);
    box-shadow: var(--shadow-xs);
    transition: box-shadow var(--transition-base);
    position: relative;
    overflow: visible;
}

/* ==========================================================================
   PRODUCT RIBBON
   ========================================================================== */

.product-ribbon {
    position: absolute;
    top: 16px;
    right: -8px;
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    color: white;
    padding: 8px 20px 8px 14px;
    font-size: var(--text-sm);
    font-weight: var(--fw-semibold);
    border-radius: var(--radius-sm) 0 0 var(--radius-sm);
    box-shadow: 0 3px 10px rgba(185, 28, 28, 0.3);
    z-index: 10;
}

.product-ribbon::before {
    content: "";
    position: absolute;
    right: 0;
    bottom: -8px;
    border-style: solid;
    border-width: 0 8px 8px 0;
    border-color: transparent #7f1d1d transparent transparent;
}

.product-ribbon.green {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    box-shadow: 0 3px 10px rgba(5, 150, 105, 0.3);
}

.product-ribbon.green::before {
    border-color: transparent #064e3b transparent transparent;
}

.product-ribbon.orange {
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
    box-shadow: 0 3px 10px rgba(234, 88, 12, 0.3);
}

.product-ribbon.orange::before {
    border-color: transparent #9a3412 transparent transparent;
}

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

.product-header {
    display: flex;
    gap: var(--space-6);
    margin-bottom: var(--space-4);
}

.product-logo {
    width: 120px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-sunken);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    flex-shrink: 0;
}

.product-logo img {
    max-width: 100px;
    max-height: 60px;
    object-fit: contain;
}

.product-logo-placeholder {
    font-size: var(--text-h2);
    font-weight: var(--fw-bold);
    color: var(--accent);
}

.product-title-area {
    flex: 1;
}

.product-title-area h3 {
    margin: 0 0 var(--space-2);
    font-size: var(--text-lg);
}

.product-title-area h3 a {
    color: inherit;
    text-decoration: none;
}

.product-title-area h3 a:hover {
    color: var(--accent);
}

.product-ratings {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2) var(--space-6);
    margin: var(--space-3) 0;
}

.rating-item {
    font-size: var(--text-card-meta);
}

.rating-label {
    color: var(--text-muted);
    margin-right: var(--space-1);
}

.rating-value {
    font-weight: var(--fw-semibold);
    text-transform: uppercase;
}

.rating-value.excellent {
    color: var(--accent);
}

.rating-value.good {
    color: var(--warning);
}

.rating-value.average {
    color: var(--text-muted);
}

.btn-cta {
    display: inline-block;
    background: var(--warning);
    color: var(--text-primary);
    padding: var(--space-3) var(--space-5);
    border-radius: var(--radius-md);
    font-weight: var(--fw-semibold);
    text-decoration: none;
    font-size: var(--text-card-body);
    transition: background var(--transition-base);
}

.btn-cta:hover {
    background: var(--warning-border);
    color: var(--text-primary);
}

.product-features {
    margin: var(--space-4) 0;
    padding: var(--space-4);
    background: var(--bg-sunken);
    border-radius: var(--radius-lg);
}

.product-features h4 {
    margin: 0 0 var(--space-3);
    font-size: var(--text-card-meta);
    text-transform: uppercase;
    letter-spacing: var(--ls-wider);
    color: var(--text-muted);
    font-weight: var(--fw-semibold);
}

.product-features ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.product-features li {
    padding: var(--space-1) 0;
    padding-left: var(--space-5);
    position: relative;
    font-size: var(--text-card-body);
    color: var(--text-body);
}

.product-features li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.5em;
    width: 16px;
    height: 16px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23059669' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
    background-size: contain;
}

.product-summary {
    color: var(--text-body);
    font-size: var(--text-card-body);
    line-height: var(--lh-loose);
    margin-top: var(--space-4);
}

.overview-table {
    width: 100%;
    border-collapse: collapse;
    margin: var(--space-6) 0;
    font-size: var(--text-card-body);
}

.overview-table th,
.overview-table td {
    padding: var(--space-3) var(--space-4);
    text-align: left;
    border-bottom: 1px solid var(--border-light);
}

.overview-table th {
    background: var(--bg-sunken);
    font-weight: var(--fw-semibold);
    color: var(--text-secondary);
}

.overview-table tr:hover {
    background: var(--bg-sunken);
}

.intro-box {
    background: var(--accent-lighter);
    border-left: 4px solid var(--accent);
    padding: var(--space-5);
    margin-bottom: var(--space-8);
    border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
}

.intro-box p {
    margin: 0;
    line-height: var(--lh-spacious);
    color: var(--text-body);
}

.content-section {
    margin: var(--space-10) 0;
}

.content-section h2 {
    color: var(--text-primary);
    margin-bottom: var(--space-4);
    padding-bottom: var(--space-2);
    border-bottom: 2px solid var(--border-light);
}

/* ==========================================================================
   UTILITY CLASSES
   ========================================================================== */

.text-center {
    text-align: center;
}

.no-coupons,
.no-stores {
    text-align: center;
    padding: var(--space-12);
    color: var(--text-muted);
    font-size: var(--text-base);
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media (max-width: 768px) {
    .site-header .container {
        flex-direction: column;
        gap: var(--space-4);
    }

    /* Hero Section Mobile */
    .hero-section {
        padding: var(--space-10) 0 var(--space-8);
    }

    .hero-section h1 {
        font-size: var(--text-h3);
    }

    .hero-subtitle {
        font-size: var(--text-base);
    }

    .search-box-wrapper {
        flex-direction: column;
    }

    .search-btn {
        width: 100%;
    }

    .popular-marquee {
        flex-direction: column;
        gap: var(--space-2);
    }

    .marquee-track {
        max-width: 100%;
    }

    .hero-trust-badges {
        gap: var(--space-4);
    }

    .trust-badge-value {
        font-size: var(--text-h4);
    }

    /* Live Activity Mobile */
    .live-activity-bar {
        font-size: var(--text-xs);
    }

    /* Top Deals Mobile */
    .deals-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Top Codes Mobile */
    .code-card {
        flex-wrap: wrap;
    }

    .code-info {
        width: 100%;
        order: 1;
    }

    .code-store-logo {
        order: 0;
    }

    .code-discount {
        order: 2;
    }

    .code-reveal {
        order: 3;
        width: 100%;
        justify-content: center;
        margin-top: var(--space-2);
    }

    /* Newsletter Mobile */
    .newsletter-bar .container {
        flex-direction: column;
        gap: var(--space-3);
        text-align: center;
    }

    .newsletter-form {
        width: 100%;
        flex-direction: column;
    }

    .newsletter-form input {
        min-width: auto;
    }

    /* Special Offers Mobile */
    .special-offers-grid {
        grid-template-columns: 1fr;
    }

    /* Categories Mobile */
    .categories-stack {
        max-width: 100%;
    }

    /* Expiring Mobile */
    .expiring-card {
        flex-wrap: wrap;
    }

    .expiring-info {
        flex: 1 1 calc(100% - 60px);
    }

    /* Community Mobile */
    .community-cards {
        grid-template-columns: 1fr;
    }

    /* Legacy Hero */
    .hero h1 {
        font-size: var(--text-h3);
    }

    .hero {
        padding: var(--space-10) 0;
    }

    .search-box {
        flex-direction: column;
    }

    .store-info {
        flex-direction: column;
        text-align: center;
    }

    .content-grid {
        grid-template-columns: 1fr;
    }

    .coupon-card {
        flex-direction: column;
        text-align: center;
    }

    .coupon-action {
        text-align: center;
        width: 100%;
    }

    .coupon-code {
        flex-direction: column;
    }

    .posts-grid {
        grid-template-columns: 1fr;
    }

    .author-card {
        flex-direction: column;
        text-align: center;
    }

    .author-initial {
        margin: 0 auto;
    }

    .stores-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stores-grid .store-card {
        flex-direction: column;
        text-align: center;
        padding: var(--space-4) var(--space-3);
    }

    .store-card-info h3 {
        white-space: normal;
        font-size: var(--text-card-meta);
    }

    .product-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .product-ratings {
        justify-content: center;
    }

    .product-logo {
        width: 100px;
        height: 70px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--space-6);
        text-align: center;
    }

    .footer-brand {
        padding-right: 0;
    }

    .footer-socials {
        justify-content: center;
    }

    .footer-column ul {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: var(--space-2) var(--space-4);
    }

    .footer-column li {
        margin-bottom: 0;
    }

    .footer-bottom {
        text-align: center;
    }
}

/* ==========================================================================
   Store Info Sections - How to Get Codes, Saving Tips, Troubleshooting
   ========================================================================== */

.info-section {
    margin-top: var(--space-8);
    padding-top: var(--space-6);
    border-top: 1px solid var(--color-border);
}

.info-section h2 {
    font-size: var(--text-h3);
    margin-bottom: var(--space-5);
    color: var(--color-text);
}

/* How to Get Codes - Grid Layout */
.info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-4);
}

.info-card {
    display: flex;
    gap: var(--space-3);
    padding: var(--space-4);
    background: var(--color-bg-secondary);
    border-radius: var(--radius-md);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.info-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-primary);
    color: white;
    border-radius: var(--radius-sm);
}

.info-icon svg {
    width: 20px;
    height: 20px;
}

.info-content h4 {
    font-size: var(--text-base);
    font-weight: 600;
    margin-bottom: var(--space-1);
    color: var(--color-text);
}

.info-content p {
    font-size: var(--text-sm);
    color: var(--color-text-secondary);
    line-height: 1.5;
    margin: 0;
}

/* Saving Tips Section */
.tips-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-4);
}

.tip-card {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
    padding: var(--space-4);
    background: var(--color-bg-secondary);
    border-radius: var(--radius-md);
}

.tip-card.highlight {
    background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%);
    border-left-color: var(--color-success);
}

.tip-card.urgent {
    background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
    border-left-color: #f97316;
}

.tip-icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: var(--radius-sm);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.tip-card.highlight .tip-icon {
    color: var(--color-success);
}

.tip-card.urgent .tip-icon {
    color: #f97316;
}

.tip-icon svg {
    width: 18px;
    height: 18px;
}

.tip-card h4,
.tip-content h4 {
    font-size: var(--text-sm);
    font-weight: 600;
    margin-bottom: var(--space-1);
    color: var(--color-text);
}

.tip-card p,
.tip-content p {
    font-size: var(--text-sm);
    color: var(--color-text-secondary);
    line-height: 1.5;
    margin: 0;
}

/* Comprehensive About Section - Compact, blended style */
.about-comprehensive-section .about-comprehensive-content {
    background: transparent;
    padding: 0;
}

.about-comprehensive-section .about-text {
    font-size: var(--text-sm);
    line-height: 1.6;
    color: var(--color-text-secondary);
}

.about-comprehensive-section .about-text p {
    margin-bottom: var(--space-2);
}

.about-comprehensive-section .about-text p:last-child {
    margin-bottom: 0;
}

.about-badges {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
    margin-top: var(--space-5);
    padding-top: var(--space-4);
    border-top: 1px solid var(--color-border);
}

.about-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-1);
    padding: var(--space-1) var(--space-3);
    background: var(--color-primary-light);
    color: var(--color-primary);
    font-size: var(--text-sm);
    font-weight: 500;
    border-radius: var(--radius-full);
}

.about-badge svg {
    width: 14px;
    height: 14px;
}

/* Troubleshooting Accordion */
.troubleshooting-accordion {
    background: var(--color-bg-secondary);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-6);
}

.troubleshooting-header {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-4);
    cursor: pointer;
    font-weight: 600;
    color: var(--color-text);
    list-style: none;
}

.troubleshooting-header::-webkit-details-marker {
    display: none;
}

.troubleshooting-header svg {
    width: 18px;
    height: 18px;
    color: var(--color-text-secondary);
}

.troubleshooting-header .accordion-icon {
    margin-left: auto;
    transition: transform 0.2s;
}

.troubleshooting-accordion[open] .accordion-icon {
    transform: rotate(180deg);
}

.troubleshooting-content {
    padding: 0 var(--space-4) var(--space-4);
}

.troubleshoot-quick-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-2);
}

.troubleshoot-quick-list li {
    font-size: var(--text-sm);
    color: var(--color-text-secondary);
    padding: var(--space-2);
    background: var(--color-bg);
    border-radius: var(--radius-sm);
}

.troubleshoot-quick-list li strong {
    color: var(--color-text);
}

/* Saving Tips Section Grid */
.saving-tips-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-4);
}

.saving-tip-card {
    display: flex;
    gap: var(--space-3);
    padding: var(--space-4);
    background: var(--color-bg-secondary);
    border-radius: var(--radius-md);
}

.saving-tip-icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-primary-light);
    color: var(--color-primary);
    border-radius: var(--radius-sm);
}

.saving-tip-icon svg {
    width: 18px;
    height: 18px;
}

.saving-tip-content h4 {
    font-size: var(--text-sm);
    font-weight: 600;
    margin-bottom: var(--space-1);
    color: var(--color-text);
}

.saving-tip-content p {
    font-size: var(--text-sm);
    color: var(--color-text-secondary);
    line-height: 1.5;
    margin: 0;
}

/* Visible Troubleshooting Grid Section */
.troubleshooting-section {
    margin-bottom: var(--space-4);
    padding: var(--space-4);
    background: #f0fdf4;
    border-radius: var(--radius-md);
}

.troubleshooting-section h2 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: var(--space-4);
    color: var(--text-primary, #111827);
}

.troubleshooting-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-4) var(--space-6);
}

.troubleshoot-item {
    font-size: var(--text-xs);
    color: var(--color-text-secondary);
    display: flex;
    flex-direction: column;
    gap: 4px;
    line-height: 1.5;
}

.troubleshoot-item strong {
    font-size: var(--text-xs);
    font-weight: 600;
    color: var(--color-text);
}


.troubleshoot-content p {
    font-size: var(--text-sm);
    color: var(--color-text-secondary);
    line-height: 1.5;
    margin: 0;
}

/* About Store Section */
.about-store-section .about-content {
    background: var(--color-bg-secondary);
    padding: var(--space-5);
    border-radius: var(--radius-md);
}

.about-store-section .about-content p {
    font-size: var(--text-base);
    line-height: 1.7;
    color: var(--color-text);
    margin: 0;
}

.about-store-section .discount-stats {
    margin-top: var(--space-3);
    padding-top: var(--space-3);
    border-top: 1px solid var(--color-border);
    color: var(--color-text-secondary);
    font-style: italic;
}

/* Stacking Tips Section */
.stacking-tips-section .stacking-tips-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-4);
}

.stacking-tip-card {
    display: flex;
    gap: var(--space-3);
    padding: var(--space-4);
    background: linear-gradient(135deg, #f0fdf4, #dcfce7);
    border-radius: var(--radius-md);
    border: 1px solid #bbf7d0;
}

.stacking-tip-card .tip-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #22c55e;
    color: white;
    border-radius: var(--radius-sm);
}

.stacking-tip-card .tip-icon svg {
    width: 20px;
    height: 20px;
}

.stacking-tip-card .tip-content p {
    font-size: var(--text-sm);
    color: var(--color-text);
    line-height: 1.6;
    margin: 0;
}

/* Store Details Grid */
.store-details-section .store-details-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-4);
}

.detail-card {
    background: var(--color-bg-secondary);
    padding: var(--space-4);
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
}

.detail-card .detail-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-primary-light);
    color: var(--color-primary);
    border-radius: var(--radius-sm);
    margin-bottom: var(--space-3);
}

.detail-card .detail-icon svg {
    width: 22px;
    height: 22px;
}

.detail-card h3 {
    font-size: var(--text-base);
    font-weight: 600;
    margin-bottom: var(--space-2);
    color: var(--color-text);
}

.detail-card p {
    font-size: var(--text-sm);
    color: var(--color-text-secondary);
    line-height: 1.5;
    margin: 0;
}

.detail-card.has-program {
    border-color: #fbbf24;
    background: linear-gradient(135deg, #fffbeb, #fef3c7);
}

.detail-card .program-badge {
    display: inline-block;
    margin-top: var(--space-2);
    padding: var(--space-1) var(--space-2);
    background: #f59e0b;
    color: white;
    font-size: var(--text-xs);
    font-weight: 600;
    border-radius: var(--radius-sm);
}

/* Special Offers Section */
.special-offers-section .offers-grid {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-3);
}

.offer-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-3);
    background: var(--color-bg-secondary);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-full);
    font-size: var(--text-sm);
    color: var(--color-text);
}

.offer-badge svg {
    width: 16px;
    height: 16px;
    color: var(--color-primary);
}

.offer-badge.highlight {
    background: var(--color-primary);
    color: white;
    border-color: var(--color-primary);
}

.offer-badge.highlight svg {
    color: white;
}

/* Responsive: Info Sections */
@media (max-width: 768px) {
    .info-grid,
    .tips-grid,
    .troubleshoot-list,
    .troubleshoot-quick-list,
    .stacking-tips-grid,
    .store-details-grid {
        grid-template-columns: 1fr;
    }

    .info-card,
    .tip-card,
    .troubleshoot-item,
    .stacking-tip-card,
    .detail-card {
        padding: var(--space-3);
    }

    .info-section h2 {
        font-size: var(--text-lg);
    }

    .offers-grid {
        gap: var(--space-2);
    }

    .offer-badge {
        font-size: var(--text-xs);
        padding: var(--space-1) var(--space-2);
    }

    .about-comprehensive-section .about-comprehensive-content {
        padding: var(--space-4);
    }

    .about-badges {
        justify-content: center;
    }
}

/* Compact Tips Grid - 2 column layout with green bg */
.tips-compact-section {
    margin-bottom: var(--space-4);
    padding: var(--space-4);
    background: #f0fdf4;
    border-radius: var(--radius-md);
}

.tips-compact-section h2 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: var(--space-4);
    color: var(--text-primary, #111827);
}

.tips-compact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-4) var(--space-6);
}

.tip-compact {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.tip-compact strong {
    font-size: var(--text-xs);
    font-weight: 600;
    color: var(--color-text);
}

.tip-compact span {
    font-size: var(--text-xs);
    color: var(--color-text-secondary);
    line-height: 1.5;
}

/* Saving Tips - normal style (no green bg) */
.tips-compact-section.saving-tips {
    background: var(--color-bg-secondary);
}

.tips-compact-section.saving-tips h2 {
    font-size: 1.15rem;
}

.tips-compact-section.saving-tips .tip-compact strong {
    font-size: var(--text-xs);
}

.tips-compact-section.saving-tips .tip-compact span {
    font-size: var(--text-xs);
}

@media (max-width: 640px) {
    .tips-compact-grid {
        grid-template-columns: 1fr;
    }
}

/* Sidebar How to Use Card */
.how-to-use-card .sidebar-steps {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.sidebar-step {
    display: flex;
    align-items: flex-start;
    gap: var(--space-2);
}

.sidebar-step .step-num {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-primary);
    color: white;
    font-size: var(--text-xs);
    font-weight: 600;
    border-radius: 50%;
}

.sidebar-step strong {
    display: block;
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 2px;
}

.sidebar-step p {
    font-size: var(--text-xs);
    color: var(--color-text-secondary);
    margin: 0;
    line-height: 1.4;
}

/* ==========================================================================
   HOMEPAGE REDESIGN v2.0 - Professional Coupon Site Styles
   ========================================================================== */

/* ==========================================================================
   LIVE ACTIVITY FEED BAR (Horizontal Scroller)
   ========================================================================== */

.live-feed-bar {
    background: #0a0a0a;
    color: #ffffff;
    overflow: hidden;
    position: relative;
}

.live-feed-track {
    overflow: hidden;
}

.live-feed-content {
    display: flex;
    gap: var(--space-8);
    animation: liveFeedScroll 60s linear infinite;
    width: max-content;
    padding: var(--space-3) 0;
}

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

.feed-item {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    white-space: nowrap;
    font-family: var(--ff-mono);
    font-size: var(--text-sm);
}

.feed-store {
    color: #9ca3af;
    font-weight: 600;
}

.feed-text {
    color: #ffffff;
}

.feed-badge {
    padding: 2px 8px;
    border-radius: var(--radius-sm);
    font-size: var(--text-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.feed-badge-verified {
    background: rgba(16, 185, 129, 0.2);
    color: #34d399;
}

.feed-badge-new {
    background: rgba(249, 115, 22, 0.2);
    color: #fb923c;
}

.feed-user {
    color: #6b7280;
}

/* ==========================================================================
   POPULAR STORES SECTION (Circular Logos)
   ========================================================================== */

.popular-stores-section {
    background: var(--bg-page);
    padding: var(--space-12) 0;
}

.section-header-center {
    text-align: center;
    margin-bottom: var(--space-8);
}

.section-header-center h2 {
    font-size: var(--text-h2);
    font-weight: var(--fw-bold);
    color: var(--text-primary);
    margin-bottom: var(--space-2);
}

.section-subtitle {
    font-size: var(--text-base);
    color: var(--text-muted);
}

.popular-stores-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-6);
}

@media (max-width: 1024px) {
    .popular-stores-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 768px) {
    .popular-stores-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-4);
    }
}

.popular-store-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    padding: var(--space-4);
    border-radius: var(--radius-lg);
    transition: transform var(--transition-fast);
}

.popular-store-item:hover {
    transform: translateY(-4px);
}

.popular-store-logo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: var(--bg-elevated);
    border: 3px solid var(--border-light);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-bottom: var(--space-3);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.popular-store-item:hover .popular-store-logo {
    border-color: var(--accent);
    box-shadow: 0 4px 20px rgba(5, 150, 105, 0.2);
}

.popular-store-logo img {
    width: 70%;
    height: 70%;
    object-fit: contain;
}

.store-initial-large {
    font-size: var(--text-h2);
    font-weight: var(--fw-bold);
    color: var(--accent);
}

.popular-store-name {
    font-size: var(--text-sm);
    font-weight: var(--fw-semibold);
    color: var(--text-primary);
    margin-bottom: var(--space-1);
    text-align: center;
}

.popular-store-discount {
    font-size: var(--text-xs);
    color: var(--accent);
    font-weight: var(--fw-semibold);
}

/* ==========================================================================
   WHY WE'RE DIFFERENT SECTION (Dark Background, 4 Cards)
   ========================================================================== */

.why-different-section {
    background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
    padding: var(--space-16) 0;
    position: relative;
    overflow: hidden;
}

/* Subtle pattern overlay */
.why-different-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 20% 50%, rgba(5, 150, 105, 0.08) 0%, transparent 50%),
                      radial-gradient(circle at 80% 50%, rgba(5, 150, 105, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.why-different-section .section-header-center {
    margin-bottom: var(--space-12);
    position: relative;
    z-index: 1;
}

.why-different-label {
    display: inline-block;
    font-size: var(--text-xs);
    font-weight: var(--fw-bold);
    color: #10b981;
    background: rgba(16, 185, 129, 0.15);
    padding: var(--space-2) var(--space-4);
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-4);
    border: 1px solid rgba(16, 185, 129, 0.25);
}

.why-different-section h2,
.why-different-section .section-header-center h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    color: #fff;
    margin-bottom: var(--space-3);
}

.why-different-section h2 .highlight,
.about-different-section h2 .highlight {
    color: #34d399;
    font-weight: 800;
}

.section-subtitle-light {
    font-size: var(--text-base);
    color: #94a3b8;
    max-width: 600px;
    margin: 0 auto;
}

.why-different-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-6);
    position: relative;
    z-index: 1;
}

@media (max-width: 1100px) {
    .why-different-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .why-different-grid {
        grid-template-columns: 1fr;
        max-width: 360px;
        margin: 0 auto;
    }
}

.why-different-card {
    position: relative;
    padding: var(--space-8);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    transition: all var(--transition-fast);
    text-align: center;
}

.why-different-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(16, 185, 129, 0.3);
    transform: translateY(-4px);
}

.why-different-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto var(--space-5);
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.2) 0%, rgba(5, 150, 105, 0.1) 100%);
    border-radius: 16px;
    color: #10b981;
}

.why-different-icon svg {
    width: 32px;
    height: 32px;
}

.why-different-card h3 {
    font-size: var(--text-lg);
    font-weight: var(--fw-bold);
    color: #ffffff;
    margin-bottom: var(--space-3);
}

.why-different-card p {
    font-size: var(--text-sm);
    color: #94a3b8;
    line-height: 1.6;
    margin: 0;
}

/* ==========================================================================
   CATEGORY BANNER SLIDER
   ========================================================================== */

.category-slider-section {
    background: var(--bg-elevated);
    padding: var(--space-12) 0;
}

.category-slider {
    position: relative;
    display: flex;
    align-items: center;
    gap: var(--space-4);
}

.slider-arrow {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-elevated);
    border: 1px solid var(--border-light);
    border-radius: 50%;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all var(--transition-fast);
    z-index: 2;
}

.slider-arrow:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--text-inverse);
}

.slider-arrow svg {
    width: 24px;
    height: 24px;
}

.category-slides-wrapper {
    flex: 1;
    overflow: hidden;
    border-radius: var(--radius-xl);
}

.category-slides {
    display: flex;
    transition: transform 0.5s ease;
}

.category-slide {
    flex: 0 0 100%;
    min-width: 100%;
}

.category-banner {
    display: block;
    position: relative;
    height: 280px;
    background-size: cover;
    background-position: center;
    border-radius: var(--radius-xl);
    overflow: hidden;
    text-decoration: none;
}

.category-banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.3) 100%);
}

.category-banner-content {
    position: absolute;
    bottom: 0;
    left: 0;
    padding: var(--space-8);
    color: #ffffff;
    z-index: 1;
}

.category-banner-label {
    display: inline-block;
    font-size: var(--text-xs);
    font-weight: var(--fw-bold);
    color: #34d399;
    background: rgba(0, 0, 0, 0.5);
    padding: 4px 12px;
    border-radius: var(--radius-sm);
    margin-bottom: var(--space-2);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.category-banner-content h3 {
    font-size: var(--text-h2);
    font-weight: var(--fw-bold);
    margin-bottom: var(--space-1);
    color: #ffffff;
}

.category-banner-content p {
    font-size: var(--text-base);
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

.category-banner-logos {
    position: absolute;
    bottom: var(--space-6);
    right: var(--space-6);
    display: flex;
    gap: var(--space-2);
    z-index: 1;
}

.mini-logo {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    font-size: var(--text-sm);
    font-weight: var(--fw-bold);
    color: var(--text-primary);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: var(--space-2);
    margin-top: var(--space-6);
}

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--border-light);
    border: none;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.slider-dot.active {
    background: var(--accent);
    width: 30px;
    border-radius: 5px;
}

/* Wide Category Slider (Full Viewport) */
.category-slider-wide {
    padding: var(--space-10) 0;
}

.category-slider-fullwidth {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    padding: 0 var(--space-8);
}

.category-slider-wide .category-slider {
    max-width: 1400px;
    margin: 0 auto;
}

.category-slider-wide .category-banner {
    height: 320px;
}

.category-slider-wide .category-banner-content {
    padding: var(--space-10);
}

.category-slider-wide .category-banner-content h3 {
    font-size: clamp(1.5rem, 3vw, 2.25rem);
}

.category-slider-wide .slider-dots {
    margin-top: var(--space-6);
}

@media (max-width: 768px) {
    .category-slider-fullwidth {
        padding: 0 var(--space-4);
    }

    .category-slider-wide .category-banner {
        height: 250px;
    }

    .category-slider-wide .category-banner-content {
        padding: var(--space-6);
    }
}

/* ==========================================================================
   PROMOTIONAL BANNER
   ========================================================================== */

.promo-banner-section {
    padding: var(--space-8) 0;
}

.promo-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-8);
    border-radius: var(--radius-xl);
    overflow: hidden;
    position: relative;
}

.promo-banner-content {
    flex: 1;
    z-index: 1;
}

.promo-banner-content h3 {
    font-size: var(--text-h2);
    font-weight: var(--fw-bold);
    color: var(--text-primary);
    margin-bottom: var(--space-2);
    font-style: italic;
}

.promo-banner-content p {
    font-size: var(--text-base);
    color: var(--text-secondary);
    margin: 0;
}

.promo-banner-image {
    flex-shrink: 0;
    width: 200px;
    height: 150px;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.promo-banner-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 768px) {
    .promo-banner {
        flex-direction: column;
        text-align: center;
    }

    .promo-banner-image {
        margin-top: var(--space-4);
    }
}

/* ==========================================================================
   REDESIGNED DEALS GRID
   ========================================================================== */

.section-deals {
    padding: var(--space-12) 0;
    background: var(--bg-page);
}

.deals-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-4);
}

@media (max-width: 1024px) {
    .deals-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .deals-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.deal-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: var(--space-6);
    background: var(--bg-elevated);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    text-decoration: none;
    transition: all var(--transition-fast);
}

.deal-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent);
}

.deal-store-logo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--bg-sunken);
    border: 2px solid var(--border-light);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-bottom: var(--space-3);
}

.deal-store-logo img {
    width: 60%;
    height: 60%;
    object-fit: contain;
}

.deal-info {
    margin-bottom: var(--space-3);
}

.deal-store-name {
    font-size: var(--text-sm);
    font-weight: var(--fw-semibold);
    color: var(--text-primary);
    display: block;
}

.verified-badge-small {
    display: inline-block;
    font-size: var(--text-xs);
    color: var(--accent);
    font-weight: var(--fw-medium);
}

.deal-discount {
    text-align: center;
}

.discount-value {
    display: block;
    font-size: var(--text-h3);
    font-weight: var(--fw-extrabold);
    color: var(--accent);
    line-height: 1;
}

.discount-label {
    font-size: var(--text-xs);
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ==========================================================================
   REDESIGNED CODES SECTION
   ========================================================================== */

.section-codes {
    padding: var(--space-12) 0;
    background: var(--bg-elevated);
}

.codes-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-4);
}

@media (max-width: 768px) {
    .codes-grid {
        grid-template-columns: 1fr;
    }
}

.code-card-new {
    display: flex;
    flex-direction: column;
    padding: var(--space-5);
    background: var(--bg-page);
    border: none;
    border-radius: var(--radius-xl);
    transition: box-shadow var(--transition-fast);
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.code-card-new:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

.code-card-header {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    margin-bottom: var(--space-3);
}

.code-store-logo-small {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: var(--bg-elevated);
    border: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.code-store-logo-small img {
    width: 70%;
    height: 70%;
    object-fit: contain;
}

.store-initial-small {
    font-size: var(--text-base);
    font-weight: var(--fw-bold);
    color: var(--accent);
}

.code-store-info {
    flex: 1;
}

.code-store-info .code-store-name {
    display: block;
    font-size: var(--text-sm);
    font-weight: var(--fw-semibold);
    color: var(--text-primary);
}

.exclusive-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: var(--text-xs);
    color: var(--accent-orange);
    font-weight: var(--fw-medium);
}

.exclusive-badge::before {
    content: '★';
    font-size: 10px;
}

.code-description {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    margin: 0 0 var(--space-4) 0;
    line-height: 1.5;
}

.highlight-discount {
    color: var(--accent-orange);
    font-weight: var(--fw-bold);
}

.code-reveal-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: var(--space-3) var(--space-4);
    background: var(--text-primary);
    border: none;
    border-radius: var(--radius-md);
    color: var(--text-inverse);
    font-size: var(--text-sm);
    font-weight: var(--fw-semibold);
    cursor: pointer;
    transition: background var(--transition-fast);
}

.code-reveal-btn:hover {
    background: var(--accent);
}

.code-reveal-btn.revealed {
    background: var(--accent);
}

.code-preview {
    font-family: var(--ff-mono);
    letter-spacing: 0.1em;
}

.code-full {
    font-family: var(--ff-mono);
    letter-spacing: 0.1em;
}

.copied-text {
    color: var(--accent-light);
}

/* ==========================================================================
   NEWSLETTER SECTION
   ========================================================================== */

.newsletter-section {
    padding: var(--space-8) 0;
}

.newsletter-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-8);
    padding: var(--space-8);
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    border-radius: var(--radius-xl);
    color: var(--text-inverse);
}

.newsletter-content h3 {
    font-size: var(--text-h3);
    font-weight: var(--fw-bold);
    margin-bottom: var(--space-2);
    color: var(--text-inverse);
}

.newsletter-content p {
    font-size: var(--text-base);
    opacity: 0.9;
    margin: 0;
}

.newsletter-form-new {
    display: flex;
    gap: var(--space-2);
    flex-shrink: 0;
}

.newsletter-form-new input {
    width: 280px;
    padding: var(--space-3) var(--space-4);
    border: none;
    border-radius: var(--radius-md);
    font-size: var(--text-sm);
}

.newsletter-form-new button {
    padding: var(--space-3) var(--space-6);
    background: var(--text-primary);
    border: none;
    border-radius: var(--radius-md);
    color: var(--text-inverse);
    font-size: var(--text-sm);
    font-weight: var(--fw-semibold);
    cursor: pointer;
    transition: background var(--transition-fast);
}

.newsletter-form-new button:hover {
    background: #000000;
}

@media (max-width: 768px) {
    .newsletter-card {
        flex-direction: column;
        text-align: center;
    }

    .newsletter-form-new {
        flex-direction: column;
        width: 100%;
    }

    .newsletter-form-new input {
        width: 100%;
    }
}

/* ==========================================================================
   EXPIRING SOON SECTION
   ========================================================================== */

.section-expiring {
    padding: var(--space-12) 0;
    background: var(--bg-page);
}

.section-header-badge {
    display: inline-block;
    padding: 4px 12px;
    background: var(--accent-orange-light);
    color: var(--accent-orange);
    font-size: var(--text-xs);
    font-weight: var(--fw-bold);
    border-radius: var(--radius-full);
    text-transform: uppercase;
}

.expiring-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-4);
}

@media (max-width: 768px) {
    .expiring-grid {
        grid-template-columns: 1fr;
    }
}

.expiring-card-new {
    display: flex;
    flex-direction: column;
    padding: var(--space-4);
    background: var(--bg-elevated);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    text-decoration: none;
    transition: all var(--transition-fast);
}

.expiring-card-new:hover {
    border-color: var(--accent-orange);
    box-shadow: var(--shadow-md);
}

.expiring-timer {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--text-xs);
    font-weight: var(--fw-semibold);
    color: var(--accent-orange);
    margin-bottom: var(--space-3);
}

.expiring-timer svg {
    width: 14px;
    height: 14px;
}

.expiring-store-info {
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.expiring-logo {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: var(--bg-sunken);
    border: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.expiring-logo img {
    width: 70%;
    height: 70%;
    object-fit: contain;
}

.expiring-details {
    flex: 1;
}

.expiring-store-name {
    display: block;
    font-size: var(--text-sm);
    font-weight: var(--fw-semibold);
    color: var(--text-primary);
}

.expiring-offer {
    font-size: var(--text-sm);
    color: var(--accent);
    font-weight: var(--fw-medium);
}

/* ==========================================================================
   CATEGORIES LIST SECTION
   ========================================================================== */

.section-categories-list {
    padding: var(--space-12) 0;
    background: var(--bg-elevated);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-3);
}

@media (max-width: 768px) {
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.category-card-mini {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-4);
    background: var(--bg-page);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    text-decoration: none;
    transition: all var(--transition-fast);
}

.category-card-mini:hover {
    border-color: var(--accent);
    background: var(--bg-hover);
}

.category-card-mini .category-name {
    font-size: var(--text-sm);
    font-weight: var(--fw-medium);
    color: var(--text-primary);
}

.category-card-mini .category-count {
    font-size: var(--text-xs);
    color: var(--text-muted);
}

/* ==========================================================================
   COMMUNITY SECTION (Redesigned)
   ========================================================================== */

.section-community-new {
    padding: var(--space-12) 0;
    background: var(--bg-sunken);
}

.community-cards-new {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
}

@media (max-width: 768px) {
    .community-cards-new {
        grid-template-columns: 1fr;
    }
}

.community-card-new {
    text-align: center;
    padding: var(--space-8);
    background: var(--bg-elevated);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
}

.community-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto var(--space-4);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-lighter);
    border-radius: 50%;
    color: var(--accent);
}

.community-icon svg {
    width: 28px;
    height: 28px;
}

.community-card-new h3 {
    font-size: var(--text-lg);
    font-weight: var(--fw-semibold);
    color: var(--text-primary);
    margin-bottom: var(--space-2);
}

.community-card-new p {
    font-size: var(--text-sm);
    color: var(--text-muted);
    margin-bottom: var(--space-6);
    line-height: 1.6;
}

.community-btn-new {
    display: inline-block;
    padding: var(--space-3) var(--space-6);
    background: var(--accent);
    color: var(--text-inverse);
    font-size: var(--text-sm);
    font-weight: var(--fw-semibold);
    text-decoration: none;
    border-radius: var(--radius-md);
    transition: background var(--transition-fast);
}

.community-btn-new:hover {
    background: var(--accent-hover);
}

/* ==========================================================================
   RESPONSIVE ADJUSTMENTS FOR SLIDER
   ========================================================================== */

@media (max-width: 768px) {
    .category-banner {
        height: 220px;
    }

    .category-banner-content {
        padding: var(--space-4);
    }

    .category-banner-content h3 {
        font-size: var(--text-lg);
    }

    .category-banner-logos {
        display: none;
    }

    .slider-arrow {
        width: 36px;
        height: 36px;
    }

    .verification-card {
        flex-direction: column;
        text-align: center;
    }

    .verification-status {
        margin-top: var(--space-2);
    }
}

/* ==========================================================================
   TRENDING CODES SECTION
   ========================================================================== */

.section-trending {
    padding: var(--space-12) 0;
    background: var(--bg-elevated);
}

.trending-badge {
    display: inline-block;
    font-size: var(--text-xs);
    font-weight: var(--fw-bold);
    color: var(--accent-orange);
    background: var(--accent-orange-light);
    padding: var(--space-1) var(--space-3);
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--space-3);
}

.trending-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-3);
}

@media (max-width: 768px) {
    .trending-grid {
        grid-template-columns: 1fr;
    }
}

.trending-item {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    padding: var(--space-4);
    background: var(--bg-page);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    text-decoration: none;
    transition: all var(--transition-fast);
}

.trending-item:hover {
    border-color: var(--accent);
    transform: translateX(4px);
}

.trending-rank {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-lighter);
    color: var(--accent);
    font-size: var(--text-sm);
    font-weight: var(--fw-bold);
    border-radius: var(--radius-md);
}

.trending-store-info {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    flex: 1;
}

.trending-logo {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--bg-elevated);
    display: flex;
    align-items: center;
    justify-content: center;
}

.trending-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.trending-details {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.trending-name {
    font-size: var(--text-sm);
    font-weight: var(--fw-semibold);
    color: var(--text-primary);
}

.trending-meta {
    font-size: var(--text-xs);
    color: var(--text-muted);
}

.trending-arrow {
    color: var(--text-subtle);
}

.trending-arrow svg {
    width: 20px;
    height: 20px;
}

/* ==========================================================================
   SPECIAL OFFERS SECTION
   ========================================================================== */

.section-special-offers {
    padding: var(--space-12) 0;
    background: var(--bg-page);
}

.special-offers-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-4);
}

@media (max-width: 1024px) {
    .special-offers-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .special-offers-grid {
        grid-template-columns: 1fr;
    }
}

.special-offer-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: var(--space-6);
    background: var(--bg-elevated);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    text-decoration: none;
    transition: all var(--transition-fast);
}

.special-offer-card:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.special-offer-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-lighter);
    color: var(--accent);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-4);
}

.special-offer-icon svg {
    width: 28px;
    height: 28px;
}

.special-offer-card h3 {
    font-size: var(--text-base);
    font-weight: var(--fw-bold);
    color: var(--text-primary);
    margin-bottom: var(--space-2);
}

.special-offer-card p {
    font-size: var(--text-sm);
    color: var(--text-muted);
    margin-bottom: var(--space-3);
    line-height: 1.5;
}

.special-offer-count {
    font-size: var(--text-xs);
    font-weight: var(--fw-semibold);
    color: var(--accent);
    background: var(--accent-lighter);
    padding: var(--space-1) var(--space-3);
    border-radius: var(--radius-full);
}

/* ==========================================================================
   NEW STORES SECTION
   ========================================================================== */

.section-new-stores {
    padding: var(--space-12) 0;
}

.new-stores-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: var(--space-4);
}

@media (max-width: 1024px) {
    .new-stores-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 640px) {
    .new-stores-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.new-store-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: var(--space-5);
    background: var(--bg-page);
    border: none;
    border-radius: var(--radius-lg);
    text-decoration: none;
    transition: all var(--transition-fast);
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.new-store-card:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
}

.new-store-badge {
    position: absolute;
    top: var(--space-2);
    right: var(--space-2);
    font-size: 10px;
    font-weight: var(--fw-bold);
    color: var(--text-inverse);
    background: var(--accent);
    padding: 2px 6px;
    border-radius: var(--radius-sm);
    text-transform: uppercase;
}

.new-store-logo {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--bg-elevated);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-3);
}

.new-store-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.new-store-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.new-store-name {
    font-size: var(--text-sm);
    font-weight: var(--fw-semibold);
    color: var(--text-primary);
}

.new-store-count {
    font-size: var(--text-xs);
    color: var(--text-muted);
}

/* ==========================================================================
   SEO CONTENT SECTION
   ========================================================================== */

.section-seo-content {
    padding: var(--space-12) 0;
    background: var(--bg-page);
}

.seo-content-box {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.seo-content-box h2 {
    font-size: var(--text-xl);
    font-weight: var(--fw-bold);
    color: var(--text-primary);
    margin-bottom: var(--space-4);
}

.seo-content-box p {
    font-size: var(--text-sm);
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: var(--space-4);
}

.seo-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-2);
    margin-top: var(--space-6);
}

.seo-links a {
    font-size: var(--text-sm);
    color: var(--accent);
    text-decoration: none;
    padding: var(--space-2) var(--space-4);
    background: var(--accent-lighter);
    border-radius: var(--radius-full);
    transition: all var(--transition-fast);
}

.seo-links a:hover {
    background: var(--accent);
    color: var(--text-inverse);
}

/* ==========================================================================
   SECTION HEADER DESCRIPTION
   ========================================================================== */

.section-header-desc {
    font-size: 15px;
    color: var(--text-muted);
    margin-top: var(--space-1);
}

/* ==========================================================================
   ABOUT PAGE STYLES
   ========================================================================== */

/* About Hero */
.about-hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 50%, #0f172a 100%);
    padding: var(--space-16) 0;
    text-align: center;
    color: var(--text-inverse);
}

.about-hero-label {
    display: inline-block;
    font-size: var(--text-xs);
    font-weight: var(--fw-bold);
    color: rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.15);
    padding: var(--space-1) var(--space-4);
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-4);
}

.about-hero h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: var(--fw-extrabold);
    line-height: 1.2;
    margin-bottom: var(--space-4);
    color: #ffffff;
}

.about-hero h1 .highlight {
    color: #34d399;
}

.about-hero-subtitle {
    font-size: var(--text-lg);
    color: rgba(255, 255, 255, 0.85);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* About Stats Bar */
.about-stats-bar {
    background: var(--bg-elevated);
    padding: var(--space-6) 0;
    border-bottom: 1px solid var(--border-light);
}

.about-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-4);
    text-align: center;
}

@media (max-width: 768px) {
    .about-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.about-stat-value {
    display: block;
    font-size: var(--text-2xl);
    font-weight: var(--fw-bold);
    color: var(--accent);
}

.about-stat-label {
    display: block;
    font-size: var(--text-sm);
    color: var(--text-muted);
    margin-top: var(--space-1);
}

/* About Sections */
.about-section {
    padding: var(--space-16) 0;
}

.about-section-alt {
    background: var(--bg-page);
}

.section-label {
    display: inline-block;
    font-size: var(--text-xs);
    font-weight: var(--fw-bold);
    color: var(--accent);
    background: var(--accent-lighter);
    padding: var(--space-1) var(--space-3);
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--space-3);
}

/* About Content Grid (Story Section) */
.about-content-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: var(--space-12);
    align-items: center;
}

@media (max-width: 900px) {
    .about-content-grid {
        grid-template-columns: 1fr;
        gap: var(--space-8);
    }
}

.about-content-text h2 {
    font-size: var(--text-2xl);
    font-weight: var(--fw-bold);
    color: var(--text-primary);
    margin-bottom: var(--space-4);
}

.about-content-text p {
    font-size: var(--text-base);
    color: var(--text-body);
    line-height: 1.8;
    margin-bottom: var(--space-4);
}

.about-visual-card {
    background: var(--accent-lighter);
    border-radius: var(--radius-xl);
    padding: var(--space-8);
    text-align: center;
}

.visual-icon {
    color: var(--accent);
    margin-bottom: var(--space-4);
}

.about-visual-card h3 {
    font-size: var(--text-lg);
    font-weight: var(--fw-bold);
    color: var(--accent-dark);
    margin-bottom: var(--space-2);
}

.about-visual-card p {
    font-size: var(--text-sm);
    color: var(--accent-dark);
    opacity: 0.8;
}

/* About Steps (How It Works) */
.about-steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
    margin-top: var(--space-10);
}

@media (max-width: 768px) {
    .about-steps-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: var(--space-10) auto 0;
    }
}

.about-step {
    text-align: center;
    padding: var(--space-6);
}

.about-step .step-number {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent);
    color: var(--text-inverse);
    font-size: var(--text-xl);
    font-weight: var(--fw-bold);
    border-radius: 50%;
    margin: 0 auto var(--space-4);
}

.about-step h3 {
    font-size: var(--text-lg);
    font-weight: var(--fw-bold);
    color: var(--text-primary);
    margin-bottom: var(--space-2);
}

.about-step p {
    font-size: var(--text-sm);
    color: var(--text-muted);
    line-height: 1.6;
}

/* About Different Section (Dark) */
.about-different-section {
    background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
    padding: var(--space-16) 0;
    position: relative;
}

.about-different-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 20% 50%, rgba(5, 150, 105, 0.08) 0%, transparent 50%),
                      radial-gradient(circle at 80% 50%, rgba(5, 150, 105, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.about-different-section .section-header-center {
    position: relative;
    z-index: 1;
}

.about-features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-6);
    margin-top: var(--space-10);
    position: relative;
    z-index: 1;
}

@media (max-width: 768px) {
    .about-features-grid {
        grid-template-columns: 1fr;
    }
}

.about-feature {
    display: flex;
    gap: var(--space-4);
    padding: var(--space-6);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    transition: all var(--transition-fast);
}

.about-feature:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(16, 185, 129, 0.3);
}

.about-feature .feature-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(16, 185, 129, 0.15);
    border-radius: var(--radius-md);
    color: #10b981;
}

.about-feature .feature-content h3 {
    font-size: var(--text-base);
    font-weight: var(--fw-bold);
    color: #ffffff;
    margin-bottom: var(--space-2);
}

.about-feature .feature-content p {
    font-size: var(--text-sm);
    color: #94a3b8;
    line-height: 1.6;
}

/* About Categories */
.about-categories-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: var(--space-4);
    margin-top: var(--space-8);
}

@media (max-width: 1024px) {
    .about-categories-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 640px) {
    .about-categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.about-category-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: var(--space-5);
    background: var(--bg-page);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    text-decoration: none;
    transition: all var(--transition-fast);
}

.about-category-card:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
}

.about-category-card .category-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-lighter);
    color: var(--accent);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-3);
}

.about-category-card .category-icon svg {
    width: 24px;
    height: 24px;
}

.about-category-card .category-name {
    font-size: var(--text-sm);
    font-weight: var(--fw-semibold);
    color: var(--text-primary);
}

.about-category-card-more {
    background: var(--accent-lighter);
    border-color: transparent;
}

.about-category-card-more:hover {
    background: var(--accent);
}

.about-category-card-more:hover .category-icon {
    background: rgba(255, 255, 255, 0.2);
    color: var(--text-inverse);
}

.about-category-card-more:hover .category-name {
    color: var(--text-inverse);
}

.about-category-card-more:hover .category-desc {
    color: rgba(255, 255, 255, 0.85);
}

.about-category-card .category-desc {
    font-size: var(--text-xs);
    color: var(--text-muted);
    line-height: var(--leading-relaxed);
    margin-top: var(--space-1);
    text-align: center;
}

/* About CTA Section */
.about-cta-section {
    padding: var(--space-12) 0;
    background: var(--bg-page);
}

.about-cta-card {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    border-radius: var(--radius-xl);
    padding: var(--space-12);
    text-align: center;
}

.about-cta-content h2 {
    font-size: var(--text-2xl);
    font-weight: var(--fw-bold);
    color: var(--text-inverse);
    margin-bottom: var(--space-3);
}

.about-cta-content p {
    font-size: var(--text-base);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--space-6);
}

.about-cta-buttons {
    display: flex;
    gap: var(--space-3);
    justify-content: center;
    flex-wrap: wrap;
}

.about-cta-buttons .btn-primary {
    background: var(--text-inverse);
    color: var(--accent);
    padding: var(--space-3) var(--space-6);
    border-radius: var(--radius-md);
    font-weight: var(--fw-semibold);
    text-decoration: none;
    transition: all var(--transition-fast);
}

.about-cta-buttons .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.about-cta-buttons .btn-secondary {
    background: transparent;
    color: var(--text-inverse);
    padding: var(--space-3) var(--space-6);
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: var(--radius-md);
    font-weight: var(--fw-semibold);
    text-decoration: none;
    transition: all var(--transition-fast);
}

.about-cta-buttons .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--text-inverse);
}

/* About Contact Section */
.about-contact-section {
    background: var(--bg-elevated);
}

.about-contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
}

@media (max-width: 768px) {
    .about-contact-grid {
        grid-template-columns: 1fr;
    }
}

.about-contact-card {
    text-align: center;
    padding: var(--space-6);
}

.about-contact-card .contact-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-lighter);
    color: var(--accent);
    border-radius: var(--radius-lg);
    margin: 0 auto var(--space-4);
}

.about-contact-card .contact-icon svg {
    width: 28px;
    height: 28px;
}

.about-contact-card h3 {
    font-size: var(--text-lg);
    font-weight: var(--fw-bold);
    color: var(--text-primary);
    margin-bottom: var(--space-2);
}

.about-contact-card p {
    font-size: var(--text-sm);
    color: var(--text-muted);
    margin-bottom: var(--space-4);
    line-height: 1.5;
}

.contact-link {
    font-size: var(--text-sm);
    font-weight: var(--fw-semibold);
    color: var(--accent);
    text-decoration: none;
}

.contact-link:hover {
    text-decoration: underline;
}

/* ==========================================================================
   MOBILE RESPONSIVE - COMPREHENSIVE FIXES
   ========================================================================== */

/* Mobile Menu Toggle Button */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    padding: var(--space-2);
    cursor: pointer;
    color: var(--text-primary);
}

.mobile-menu-toggle svg {
    width: 24px;
    height: 24px;
}

/* Tablet Breakpoint (1024px) */
@media (max-width: 1024px) {
    /* Header adjustments */
    .site-header .container {
        flex-wrap: wrap;
        gap: var(--space-3);
    }

    .nav-search {
        order: 3;
        max-width: 100%;
        flex: 1 0 100%;
        margin: var(--space-2) 0 0;
    }

    .nav-actions {
        margin-left: auto;
    }

    /* Homepage popular stores - smaller gap */
    .popular-stores-row {
        gap: var(--space-4);
    }

    /* Homepage deals slider */
    .deals-slider {
        gap: var(--space-3);
    }

    /* Homepage trending grid */
    .trending-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Store page content grid */
    .content-grid {
        grid-template-columns: 1fr 280px;
        gap: var(--space-6);
    }
}

/* Mobile Breakpoint (768px) */
@media (max-width: 768px) {
    /* Prevent horizontal scroll on mobile */
    html, body {
        overflow-x: hidden;
        max-width: 100vw;
    }

    *, *::before, *::after {
        box-sizing: border-box;
    }

    /* Header compact layout - logo left, hamburger right on SAME LINE */
    .site-header {
        position: relative;
        padding: var(--space-3) 0;
    }

    .site-header .container {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 0 !important;
    }

    .logo {
        font-size: var(--text-md);
        flex: 0 0 auto !important;
        order: 1;
    }

    .logo::before {
        width: 32px;
        height: 32px;
        font-size: var(--text-sm);
    }

    /* Show mobile menu toggle - on the right */
    .mobile-menu-toggle {
        display: flex !important;
        align-items: center;
        justify-content: center;
        flex: 0 0 auto !important;
        order: 2;
        padding: var(--space-2);
    }

    /* Hide desktop nav - show as dropdown when open */
    .main-nav {
        display: none !important;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-elevated);
        flex-direction: column;
        padding: var(--space-4);
        box-shadow: var(--shadow-lg);
        border-top: 1px solid var(--border-light);
        z-index: var(--z-dropdown);
    }

    .main-nav.mobile-open {
        display: flex !important;
    }

    .main-nav a {
        padding: var(--space-3) 0;
        border-bottom: 1px solid var(--border-light);
    }

    .main-nav a:last-child {
        border-bottom: none;
    }

    /* Hide header search on mobile */
    .nav-search {
        display: none !important;
        flex: 0 !important;
        width: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: hidden !important;
    }

    /* Nav actions - hide buttons on mobile */
    .nav-actions {
        display: none !important;
        flex: 0 !important;
        width: 0 !important;
    }

    /* Hero Dark section */
    .hero-dark {
        padding: var(--space-10) 0 var(--space-8);
        min-height: auto;
    }

    .hero-dark-title {
        font-size: 1.75rem;
        line-height: 1.3;
    }

    .hero-dark-subtitle {
        font-size: var(--text-base);
        padding: 0 var(--space-2);
    }

    .hero-stats-row {
        flex-wrap: wrap;
        justify-content: center;
        gap: var(--space-2);
    }

    .hero-stat-card {
        padding: var(--space-3) var(--space-4);
        min-width: auto;
        flex: 0 1 auto;
    }

    .hero-stat-number {
        font-size: 1.25rem;
    }

    .hero-stat-text {
        font-size: var(--text-xs);
    }

    /* Live Feed Bar */
    .live-feed-bar {
        padding: var(--space-2) 0;
    }

    .feed-item {
        font-size: var(--text-xs);
        gap: var(--space-2);
    }

    /* Popular Stores Section */
    .popular-stores-section {
        padding: var(--space-8) 0;
    }

    .popular-stores-row {
        gap: var(--space-3);
        justify-content: center;
    }

    .popular-store-logo-compact {
        width: 52px;
        height: 52px;
    }

    .popular-store-name-compact {
        font-size: 10px;
        max-width: 60px;
    }

    /* Category Slider Section */
    .category-slider-section {
        padding: var(--space-6) 0;
    }

    .category-slider-fullwidth {
        padding: 0 var(--space-3);
    }

    .category-slider-wide .category-banner {
        height: 200px;
    }

    .category-banner-content {
        padding: var(--space-4);
    }

    .category-banner-content h3 {
        font-size: var(--text-lg);
    }

    .category-banner-content p {
        font-size: var(--text-xs);
        display: none;
    }

    .category-banner-label {
        font-size: 9px;
        padding: var(--space-1) var(--space-2);
    }

    .slider-arrow {
        width: 36px;
        height: 36px;
    }

    .slider-arrow svg {
        width: 18px;
        height: 18px;
    }

    /* Section Headers */
    .section-header-center h2,
    .section-header h2 {
        font-size: var(--text-h3);
    }

    .section-subtitle {
        font-size: var(--text-sm);
    }

    /* Deals Section */
    .section-deals-new {
        padding: var(--space-8) 0;
    }

    .deals-slider-wrapper {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .deals-slider-wrapper::-webkit-scrollbar {
        display: none;
    }

    .deals-slider {
        padding-bottom: var(--space-2);
    }

    .deal-card-new {
        min-width: 260px;
    }

    /* Codes Grid */
    .codes-grid {
        grid-template-columns: 1fr;
    }

    .code-card-new {
        padding: var(--space-4);
    }

    /* Trending Section */
    .trending-grid {
        grid-template-columns: 1fr;
        gap: var(--space-3);
    }

    .trending-item {
        padding: var(--space-3);
    }

    /* Expiring Section */
    .expiring-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-3);
    }

    .expiring-card-new {
        padding: var(--space-3);
    }

    /* Special Offers Grid */
    .special-offers-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-3);
    }

    .special-offer-card {
        padding: var(--space-4);
    }

    .special-offer-icon {
        width: 48px;
        height: 48px;
    }

    .special-offer-card h3 {
        font-size: var(--text-sm);
    }

    .special-offer-card p {
        display: none;
    }

    /* Newsletter Section */
    .newsletter-card {
        flex-direction: column;
        text-align: center;
        gap: var(--space-4);
    }

    .newsletter-form-new {
        flex-direction: column;
        width: 100%;
    }

    .newsletter-form-new input {
        width: 100%;
    }

    .newsletter-form-new button {
        width: 100%;
    }

    /* Why Different Section */
    .why-different-grid {
        grid-template-columns: 1fr;
        gap: var(--space-4);
    }

    .why-different-card {
        padding: var(--space-5);
    }

    /* Categories Grid */
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-2);
    }

    .category-card-mini {
        padding: var(--space-3);
    }

    /* New Stores Grid */
    .new-stores-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-3);
    }

    /* Community Section */
    .community-cards-new {
        grid-template-columns: 1fr;
    }

    /* SEO Content */
    .seo-content-box {
        padding: var(--space-6);
    }

    .seo-links {
        flex-wrap: wrap;
        justify-content: center;
    }

    /* STORE PAGE MOBILE FIXES */

    /* Store Header */
    .store-header {
        padding: var(--space-5) 0;
    }

    .store-info {
        flex-direction: column;
        text-align: center;
        gap: var(--space-3);
    }

    .store-logo {
        width: 64px;
        height: 64px;
    }

    .store-header .store-initial.large {
        width: 64px;
        height: 64px;
        font-size: var(--text-h3);
    }

    .store-text h1 {
        font-size: var(--text-h4);
        line-height: 1.3;
    }

    .hero-stats {
        justify-content: center;
        font-size: var(--text-xs);
    }

    .stat-sep {
        display: none;
    }

    .hero-stats span {
        display: block;
        text-align: center;
    }

    /* Container - prevent overflow */
    .container {
        max-width: 100%;
        padding: 0 var(--space-3);
        overflow: hidden;
    }

    /* Content Grid - Stack sidebar below */
    .content-grid {
        grid-template-columns: 1fr;
        gap: var(--space-6);
        max-width: 100%;
    }

    .sidebar {
        order: 1;
    }

    .main-content {
        order: 0;
        max-width: 100%;
        overflow: hidden;
    }

    /* Coupon List */
    .coupon-list {
        max-width: 100%;
        overflow: hidden;
    }

    /* Coupon Cards - Enhanced Mobile Layout */
    .coupon-card {
        flex-direction: column;
        align-items: stretch;
        text-align: left;
        gap: 0;
        padding: var(--space-3);
        max-width: 100%;
        overflow: hidden;
        box-sizing: border-box;
    }

    .coupon-badges {
        display: flex;
        flex-wrap: wrap;
        gap: var(--space-2);
        margin-bottom: var(--space-3);
        order: 1;
    }

    .coupon-info {
        order: 2;
        margin-bottom: var(--space-4);
    }

    .coupon-info h3 {
        font-size: var(--text-base);
        font-weight: var(--fw-semibold);
        line-height: 1.4;
        margin-bottom: var(--space-2);
    }

    .coupon-info p {
        font-size: var(--text-sm);
        color: var(--text-muted);
        margin-bottom: var(--space-3);
    }

    .coupon-meta {
        flex-direction: row;
        flex-wrap: wrap;
        gap: var(--space-3);
        font-size: var(--text-xs);
    }

    .coupon-meta .meta-item {
        display: inline-flex;
        align-items: center;
        gap: var(--space-1);
    }

    .coupon-action {
        order: 3;
        width: 100%;
        margin-bottom: var(--space-4);
    }

    .btn-copy-code {
        width: 100%;
        justify-content: center;
        padding: var(--space-4);
        font-size: var(--text-base);
        border-radius: var(--radius-lg);
    }

    /* Verification Section - Full width within card */
    .verification-section {
        order: 4;
        border-top: 1px solid var(--border-light);
        padding-top: var(--space-3);
        margin-top: var(--space-3);
        width: 100%;
        box-sizing: border-box;
    }

    /* Verification row: feedback left, see verifications right */
    .verification-row {
        display: flex !important;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
        gap: var(--space-2);
        width: 100%;
    }

    /* Did this code work? with Yes/No buttons - stays on left */
    .quick-feedback {
        display: flex;
        align-items: center;
        gap: var(--space-2);
        flex: 0 0 auto;
    }

    .feedback-question {
        font-size: var(--text-xs);
        color: var(--text-muted);
        font-weight: var(--fw-medium);
        white-space: nowrap;
    }

    .feedback-buttons {
        display: flex;
        gap: var(--space-1);
    }

    /* Yes/No buttons - compact */
    .feedback-btn {
        padding: var(--space-1) var(--space-2) !important;
        font-size: var(--text-xs) !important;
        border-radius: var(--radius-sm);
        min-width: auto !important;
    }

    /* See verifications - moves to right edge */
    .see-verifications-btn {
        display: flex !important;
        align-items: center;
        gap: var(--space-1);
        padding: var(--space-1) var(--space-2);
        font-size: var(--text-xs);
        background: var(--bg-sunken);
        border-radius: var(--radius-sm);
        margin-left: auto !important;
        flex: 0 0 auto;
    }

    /* Verification details dropdown - full width below */
    .verification-details {
        width: 100% !important;
        margin-top: var(--space-3);
        box-sizing: border-box;
    }

    .activity-list {
        width: 100% !important;
        background: var(--bg-sunken);
        border-radius: var(--radius-md);
        padding: var(--space-3);
        box-sizing: border-box;
    }

    .activity-list .activity-item {
        font-size: var(--text-xs) !important;
        flex-wrap: wrap;
        gap: var(--space-2);
        padding: var(--space-2) 0;
    }

    .activity-list .activity-avatar {
        width: 28px;
        height: 28px;
        font-size: var(--text-xs);
    }

    /* Sidebar Cards */
    .sidebar-card {
        padding: var(--space-4);
    }

    .stats-table td {
        padding: var(--space-2) 0;
    }

    /* Submit Code Section */
    .submit-code-card {
        padding: var(--space-5);
    }

    /* Activity Chart */
    .activity-chart-section {
        padding: var(--space-5);
    }

    .chart-tabs {
        flex-wrap: wrap;
        gap: var(--space-2);
    }

    .chart-tab {
        padding: var(--space-2) var(--space-3);
        font-size: var(--text-xs);
    }

    /* Competitor Coupons */
    .competitor-coupons-grid {
        grid-template-columns: 1fr;
    }

    /* Info Sections */
    .info-grid,
    .tips-compact-grid,
    .troubleshooting-grid {
        grid-template-columns: 1fr;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--space-6);
        text-align: center;
    }

    .footer-brand {
        padding-right: 0;
    }

    .footer-socials {
        justify-content: center;
    }

    .footer-column {
        text-align: center;
    }

    .footer-column h4 {
        text-align: center;
        margin-bottom: var(--space-3);
    }

    .footer-column ul {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: var(--space-2) var(--space-4);
    }

    .footer-column li {
        margin-bottom: 0;
    }

    .footer-bottom {
        text-align: center;
    }

    .footer-disclosure {
        font-size: var(--text-xs);
    }
}

/* Small Mobile Breakpoint (480px) */
@media (max-width: 480px) {
    /* Container padding */
    .container {
        padding: 0 var(--space-3);
    }

    /* Hero */
    .hero-dark-title {
        font-size: 1.5rem;
    }

    .hero-stats-row {
        flex-direction: column;
        align-items: center;
        gap: var(--space-2);
    }

    .hero-stat-card {
        width: 100%;
        max-width: 200px;
    }

    .hero-trust-row {
        font-size: var(--text-xs);
    }

    /* Search Box */
    .hero-search-box {
        flex-direction: column;
        padding: var(--space-3);
        gap: var(--space-3);
    }

    .hero-search-icon {
        display: none !important;
    }

    .hero-search-input {
        text-align: center;
        padding: var(--space-3);
        width: 100%;
    }

    .hero-search-btn {
        width: 100%;
        justify-content: center;
        padding: var(--space-3);
    }

    /* Popular Stores - show fewer */
    .popular-stores-row {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: var(--space-3);
    }

    .popular-store-item-compact:nth-child(n+5) {
        display: none;
    }

    /* Category Slider */
    .category-slider-wide .category-banner {
        height: 160px;
    }

    .slider-arrow {
        width: 32px;
        height: 32px;
    }

    /* Expiring Grid */
    .expiring-grid {
        grid-template-columns: 1fr;
    }

    /* Special Offers */
    .special-offers-grid {
        grid-template-columns: 1fr;
    }

    /* Categories */
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* New Stores */
    .new-stores-grid {
        grid-template-columns: 1fr;
    }

    /* Store Header */
    .store-text h1 {
        font-size: var(--text-lg);
    }

    /* Coupon card badges */
    .badge {
        font-size: 9px;
        padding: 2px var(--space-2);
    }
}

/* =========================================
   STORE SUB-NAVIGATION
   ========================================= */

.store-nav {
    background: var(--bg-card, #fff);
    border-bottom: 1px solid var(--border, #e5e7eb);
    position: sticky;
    top: 0;
    z-index: 50;
}

.store-nav-links {
    display: flex;
    gap: 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.store-nav-item {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 12px 20px;
    color: var(--text-muted, #6b7280);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    border-bottom: 2px solid transparent;
    transition: all 0.15s;
}

.store-nav-item:hover {
    color: var(--text-primary, #111827);
    background: var(--bg-hover, #f9fafb);
}

.store-nav-item.active {
    color: var(--primary, #2563eb);
    border-bottom-color: var(--primary, #2563eb);
}

.store-nav-item i {
    width: 16px;
    height: 16px;
}

.nav-badge {
    background: var(--primary, #2563eb);
    color: #fff;
    font-size: 11px;
    padding: 1px 6px;
    border-radius: 10px;
    font-weight: 600;
}

/* =========================================
   BRAND PAGE
   ========================================= */

.brand-section {
    margin-bottom: var(--space-8, 32px);
    padding-bottom: var(--space-8, 32px);
    border-bottom: 1px solid var(--border-light, #f3f4f6);
}

.brand-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.brand-section h2 {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: var(--text-xl, 1.25rem);
    margin-bottom: var(--space-4, 16px);
}

.brand-section h2 i {
    width: 22px;
    height: 22px;
    color: var(--accent, #059669);
}

.brand-section .about-text {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-body, #4b5563);
}

.brand-section .about-text p {
    margin-bottom: var(--space-3, 12px);
}

.brand-section .about-text p:last-child {
    margin-bottom: 0;
}

.brand-section .about-text a {
    color: var(--accent, #059669);
    text-decoration: none;
    font-weight: 500;
}

.brand-section .about-text a:hover {
    text-decoration: underline;
}

.brand-section .about-text ul {
    margin: 0.5rem 0 1rem 1.25rem;
    padding: 0;
}

.brand-section .about-text li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
    color: var(--text-body, #4b5563);
}

/* Verdict Card */
.verdict-card {
    display: flex;
    gap: var(--space-5, 20px);
    padding: var(--space-5, 20px);
    background: var(--bg-card, #fff);
    border: 1px solid var(--border, #e5e7eb);
    border-radius: 8px;
}

.verdict-score {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 120px;
    padding-right: var(--space-5, 20px);
    border-right: 1px solid var(--border, #e5e7eb);
}

.score-number {
    font-size: 36px;
    font-weight: 800;
    color: var(--primary, #2563eb);
    line-height: 1;
}

.score-label {
    font-size: 12px;
    color: var(--text-muted, #6b7280);
}

.score-stars {
    display: flex;
    gap: 2px;
    margin: 6px 0;
}

.star-filled { color: #f59e0b; fill: #f59e0b; width: 16px; height: 16px; }
.star-empty { color: #d1d5db; width: 16px; height: 16px; }

.score-source {
    font-size: 11px;
    color: var(--text-muted, #6b7280);
    text-align: center;
}

.verdict-text p {
    font-size: 15px;
    line-height: 1.6;
}

/* Pattern Bars */
.patterns-grid {
    display: grid;
    gap: var(--space-3, 12px);
}

.pattern-card {
    padding: var(--space-3, 12px) var(--space-4, 16px);
    background: var(--bg-card, #fff);
    border: 1px solid var(--border, #e5e7eb);
    border-radius: 6px;
}

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

.pattern-name {
    font-weight: 600;
    font-size: 14px;
}

.pattern-score, .pattern-score-large {
    font-weight: 700;
    font-size: 14px;
    padding: 2px 8px;
    border-radius: 4px;
}

.pattern-score-large {
    font-size: 20px;
}

.pattern-score-large .score-max {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-muted, #6b7280);
}

.score-good { color: #16a34a; background: #f0fdf4; }
.score-ok { color: #ca8a04; background: #fefce8; }
.score-bad { color: #dc2626; background: #fef2f2; }

.pattern-bar {
    height: 8px;
    background: #f3f4f6;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 6px;
}

.pattern-bar.large {
    height: 10px;
    margin-bottom: 10px;
}

.pattern-fill {
    height: 100%;
    border-radius: 4px;
    transition: width 0.3s;
}

.fill-good { background: #22c55e; }
.fill-ok { background: #eab308; }
.fill-bad { background: #ef4444; }

.pattern-summary {
    font-size: 13px;
    color: var(--text-muted, #6b7280);
    margin: 0;
}

/* Pros & Cons */
.pros-cons-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4, 16px);
}

.pros-title, .cons-title {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 16px;
    margin-bottom: var(--space-3, 12px);
}

.pros-title { color: #16a34a; }
.cons-title { color: #dc2626; }

.pros-title i, .cons-title i {
    width: 18px;
    height: 18px;
}

.pro-con-item {
    padding: var(--space-3, 12px);
    border-radius: 6px;
    margin-bottom: var(--space-2, 8px);
}

.pro-con-item.pro {
    background: #f0fdf4;
    border-left: 3px solid #22c55e;
}

.pro-con-item.con {
    background: #fef2f2;
    border-left: 3px solid #ef4444;
}

.pro-con-text {
    font-weight: 600;
    font-size: 14px;
    display: block;
    margin-bottom: 4px;
}

.mention-count, .mention-badge {
    font-size: 12px;
    color: var(--text-muted, #6b7280);
}

.mention-badge {
    display: inline-block;
    background: #f3f4f6;
    padding: 2px 8px;
    border-radius: 10px;
    margin-top: 6px;
}

.review-quote {
    margin: 6px 0 0 0;
    padding: 6px 10px;
    background: rgba(255,255,255,0.7);
    border-radius: 4px;
    font-size: 13px;
    font-style: italic;
    color: var(--text-muted, #6b7280);
}

/* Savings & Alternatives CTA */
.savings-card, .alternatives-card, .pricing-card {
    padding: var(--space-5, 20px);
    background: var(--bg-card, #fff);
    border: 1px solid var(--border, #e5e7eb);
    border-radius: 8px;
}

.savings-highlight {
    font-size: 15px;
    color: var(--primary, #2563eb);
    font-weight: 600;
}

.pricing-score {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: var(--space-3, 12px);
    padding-top: var(--space-3, 12px);
    border-top: 1px solid var(--border, #e5e7eb);
}

/* Quick Links (sidebar) */
.quick-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.quick-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    border-radius: 6px;
    text-decoration: none;
    color: var(--text-primary, #111827);
    transition: background 0.15s;
}

.quick-link:hover {
    background: var(--bg-hover, #f9fafb);
}

.quick-link i {
    width: 20px;
    height: 20px;
    color: var(--primary, #2563eb);
    flex-shrink: 0;
}

.quick-link strong {
    display: block;
    font-size: 14px;
}

.quick-link span {
    font-size: 12px;
    color: var(--text-muted, #6b7280);
}

/* Section CTA */
.section-cta {
    margin-top: var(--space-4, 16px);
    text-align: center;
}

.section-subtitle {
    color: var(--text-muted, #6b7280);
    font-size: 14px;
    margin-top: -8px;
    margin-bottom: var(--space-4, 16px);
}

/* =========================================
   REVIEWS PAGE
   ========================================= */

.review-section {
    margin-bottom: var(--space-6, 24px);
}

.review-section h2 {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: var(--space-3, 12px);
}

.review-section h2 i {
    width: 20px;
    height: 20px;
    color: var(--primary, #2563eb);
}

/* Rating Overview */
.rating-overview-card {
    display: flex;
    gap: var(--space-6, 24px);
    padding: var(--space-5, 20px);
    background: var(--bg-card, #fff);
    border: 1px solid var(--border, #e5e7eb);
    border-radius: 8px;
}

.rating-big {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 140px;
}

.rating-number {
    font-size: 48px;
    font-weight: 800;
    color: var(--primary, #2563eb);
    line-height: 1;
}

.rating-stars {
    display: flex;
    gap: 2px;
    margin: 8px 0;
}

.rating-count {
    font-size: 13px;
    color: var(--text-muted, #6b7280);
}

/* Star Distribution Bars */
.star-bars {
    flex: 1;
}

.star-bar-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}

.star-label {
    font-size: 13px;
    min-width: 50px;
    color: var(--text-muted, #6b7280);
}

.star-bar {
    flex: 1;
    height: 12px;
    background: #f3f4f6;
    border-radius: 6px;
    overflow: hidden;
}

.star-bar-fill {
    height: 100%;
    background: #f59e0b;
    border-radius: 6px;
}

.star-count {
    font-size: 13px;
    min-width: 40px;
    text-align: right;
    color: var(--text-muted, #6b7280);
}

.source-link {
    font-size: 12px;
    color: var(--text-muted, #6b7280);
    margin-top: 8px;
}

.source-link a {
    color: var(--primary, #2563eb);
}

/* Summary Card */
.summary-card {
    padding: var(--space-5, 20px);
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 8px;
}

.summary-card p {
    font-size: 15px;
    line-height: 1.6;
}

/* Pattern Detail Cards */
.patterns-list {
    display: grid;
    gap: var(--space-3, 12px);
}

.pattern-detail-card {
    padding: var(--space-4, 16px);
    background: var(--bg-card, #fff);
    border: 1px solid var(--border, #e5e7eb);
    border-radius: 8px;
}

.pattern-detail-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.pattern-detail-header h3 {
    font-size: 15px;
    margin: 0;
}

.pattern-detail-body p {
    font-size: 14px;
    color: var(--text-secondary, #4b5563);
    margin-bottom: 6px;
}

/* FAQ Section */
.faq-list {
    display: grid;
    gap: var(--space-3, 12px);
}

.faq-item {
    padding: var(--space-4, 16px);
    background: var(--bg-card, #fff);
    border: 1px solid var(--border, #e5e7eb);
    border-radius: 8px;
}

.faq-question {
    font-size: 15px;
    margin: 0 0 8px 0;
}

.faq-answer {
    font-size: 14px;
    color: var(--text-secondary, #4b5563);
    margin: 0 0 6px 0;
}

.faq-source {
    font-size: 12px;
    color: var(--text-muted, #6b7280);
}

/* Interlink Grid */
.interlink-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4, 16px);
}

.interlink-card {
    padding: var(--space-5, 20px);
    background: var(--bg-card, #fff);
    border: 1px solid var(--border, #e5e7eb);
    border-radius: 8px;
    text-align: center;
}

.interlink-card h3 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 16px;
    margin-bottom: 8px;
}

.interlink-card h3 i {
    width: 18px;
    height: 18px;
    color: var(--primary, #2563eb);
}

.interlink-card p {
    font-size: 14px;
    color: var(--text-muted, #6b7280);
    margin-bottom: var(--space-3, 12px);
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: var(--space-8, 48px) var(--space-5, 20px);
}

.empty-icon {
    width: 48px;
    height: 48px;
    color: var(--text-muted, #6b7280);
    margin-bottom: var(--space-4, 16px);
}

.empty-actions {
    display: flex;
    gap: var(--space-3, 12px);
    justify-content: center;
    margin-top: var(--space-4, 16px);
}

/* =========================================
   ALTERNATIVES PAGE
   ========================================= */

.alt-section {
    margin-bottom: var(--space-6, 24px);
}

/* Comparison Table */
.comparison-table-wrap {
    overflow-x: auto;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.comparison-table th {
    text-align: left;
    padding: 10px 12px;
    background: var(--bg-hover, #f9fafb);
    border-bottom: 2px solid var(--border, #e5e7eb);
    font-weight: 600;
}

.comparison-table td {
    padding: 10px 12px;
    border-bottom: 1px solid var(--border, #e5e7eb);
}

.current-store-row {
    background: #eff6ff;
}

.current-badge {
    font-size: 10px;
    background: var(--primary, #2563eb);
    color: #fff;
    padding: 1px 6px;
    border-radius: 8px;
    margin-left: 6px;
}

.table-store {
    display: flex;
    align-items: center;
    gap: 8px;
}

.table-store img {
    border-radius: 4px;
}

.btn-sm {
    font-size: 12px;
    padding: 4px 10px;
}

/* Alternative Cards */
.alternative-card {
    background: var(--bg-card, #fff);
    border: 1px solid var(--border, #e5e7eb);
    border-radius: 8px;
    margin-bottom: var(--space-4, 16px);
    overflow: hidden;
}

.alt-card-header {
    padding: 1rem 1.25rem;
    background: var(--bg-sunken, #f8faf9);
    border-bottom: 1px solid var(--border-light, #e5e7eb);
    text-align: left;
}

.alt-store-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    justify-content: flex-start;
    text-align: left;
}

.alt-store-logo {
    border-radius: 8px;
    background: white;
    border: 1px solid var(--border-light, #e5e7eb);
}

.alternative-card .alt-store-info .store-initial {
    width: 42px;
    height: 42px;
    min-width: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 600;
    color: white;
    background: var(--accent, #059669);
    border-radius: 8px;
    margin: 0;
}

.alt-store-info h3 {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-primary, #111827);
}

.alt-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.2rem;
    flex-wrap: wrap;
}

.alt-rating {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary, #111827);
}

.alt-card-body {
    padding: 1.25rem;
    text-align: left;
}

.alt-card-body p {
    font-size: 0.9rem;
    line-height: 1.65;
    margin-bottom: var(--space-3, 12px);
    text-align: left;
}

.alt-pros-cons {
    text-align: left;
}

.alt-stats {
    display: flex;
    gap: var(--space-4, 16px);
}

.alt-stat {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    color: var(--text-muted, #6b7280);
}

.alt-stat i {
    width: 14px;
    height: 14px;
}

.alt-card-actions {
    padding: var(--space-3, 12px) var(--space-4, 16px);
    border-top: 1px solid var(--border, #e5e7eb);
    background: var(--bg-hover, #f9fafb);
    display: flex;
    gap: var(--space-3, 12px);
}

/* Reviews Summary Card (brand page) */
.reviews-summary-card {
    padding: var(--space-5, 20px);
    background: var(--bg-card, #fff);
    border: 1px solid var(--border, #e5e7eb);
    border-radius: 8px;
}

.review-summary-rating {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: var(--space-3, 12px);
}

.summary-score {
    font-size: 24px;
    font-weight: 800;
    color: var(--primary, #2563eb);
}

.summary-source {
    font-size: 13px;
    color: var(--text-muted, #6b7280);
}

.verdict-highlight {
    padding: var(--space-3, 12px);
    background: #eff6ff;
    border-left: 3px solid var(--primary, #2563eb);
    border-radius: 0 6px 6px 0;
    margin: var(--space-3, 12px) 0;
}

/* Alternatives Inline List (brand page) */
.alternatives-inline-card {
    padding: var(--space-5, 20px);
    background: var(--bg-card, #fff);
    border: 1px solid var(--border, #e5e7eb);
    border-radius: 8px;
}

.alt-inline-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin: var(--space-3, 12px) 0;
}

.alt-inline-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 12px;
    text-decoration: none;
    color: var(--text-primary, #111827);
    border-bottom: 1px solid var(--border, #e5e7eb);
    transition: background 0.15s;
}

.alt-inline-item:last-child {
    border-bottom: none;
}

.alt-inline-item:hover {
    background: var(--bg-hover, #f9fafb);
}

.alt-inline-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.alt-inline-logo {
    border-radius: 4px;
}

.store-initial.small {
    width: 32px;
    height: 32px;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e5e7eb;
    border-radius: 4px;
    font-weight: 600;
}

.alt-inline-name {
    font-weight: 600;
    font-size: 14px;
}

.alt-inline-meta {
    display: flex;
    gap: var(--space-3, 12px);
    font-size: 13px;
    color: var(--text-muted, #6b7280);
}

.alt-inline-rating {
    color: #f59e0b;
    font-weight: 600;
}

/* SMB Use Section */
.smb-use-section .about-text p {
    line-height: 1.7;
}

/* =========================================
   HOMEPAGE - HOW WE HELP (Pastel Cards)
   ========================================= */

.how-we-help-section {
    padding: 60px 0;
}

.how-we-help-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.help-card {
    padding: 32px 28px;
    border-radius: 16px;
    border: none;
    transition: transform 0.25s;
}

.help-card:nth-child(1) { background: #e8f5e9; }
.help-card:nth-child(2) { background: #e3f2fd; }
.help-card:nth-child(3) { background: #fce4ec; }

.help-card:hover {
    transform: translateY(-4px);
}

.help-card-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    margin-bottom: 20px;
}

.help-card:nth-child(1) .help-card-icon { background: rgba(255,255,255,0.7); color: #2e7d32; }
.help-card:nth-child(2) .help-card-icon { background: rgba(255,255,255,0.7); color: #1565c0; }
.help-card:nth-child(3) .help-card-icon { background: rgba(255,255,255,0.7); color: #c62828; }

.help-card-icon i {
    width: 28px;
    height: 28px;
}

.help-card h3 {
    font-size: 19px;
    font-weight: 800;
    margin: 0 0 10px 0;
    letter-spacing: -0.02em;
    color: #111827;
}

.help-card p {
    font-size: 14px;
    color: #374151;
    line-height: 1.65;
    margin-bottom: 16px;
}

.help-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.help-features li {
    font-size: 13px;
    font-weight: 600;
    color: #1f2937;
    padding: 5px 0 5px 22px;
    position: relative;
}

.help-features li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 12px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
}

.help-card:nth-child(1) .help-features li::before { background: #2e7d32; }
.help-card:nth-child(2) .help-features li::before { background: #1565c0; }
.help-card:nth-child(3) .help-features li::before { background: #c62828; }

/* =========================================
   HOMEPAGE - BIZ CATEGORIES (Sidebar + Main)
   ========================================= */

.biz-categories-section {
    padding: 60px 0;
    background: #f8faf9;
}

.biz-cat-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 0;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}

/* Sidebar */
.biz-cat-sidebar {
    background: #fff;
    border-right: 1px solid #f0f0f0;
    padding: 8px 0;
}

.biz-cat-sidebar-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 13px 24px;
    font-size: 14px;
    font-weight: 500;
    color: #374151;
    cursor: pointer;
    transition: all 0.15s;
    border-left: 3px solid transparent;
}

.biz-cat-sidebar-item:hover {
    background: #f8faf9;
    color: #111;
}

.biz-cat-sidebar-item.active {
    background: #f0fdf4;
    color: #15803d;
    font-weight: 700;
    border-left-color: #16a34a;
}

.biz-cat-sidebar-item i {
    width: 16px;
    height: 16px;
    opacity: 0;
    transition: opacity 0.15s;
}

.biz-cat-sidebar-item.active i,
.biz-cat-sidebar-item:hover i {
    opacity: 1;
}

/* Main content area */
.biz-cat-main {
    padding: 32px;
}

.biz-cat-main-title {
    font-size: 20px;
    font-weight: 800;
    margin: 0 0 6px 0;
    letter-spacing: -0.02em;
}

.biz-cat-main-desc {
    font-size: 14px;
    color: #6b7280;
    margin: 0 0 20px 0;
}

.biz-cat-subcategories {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}

.biz-subcat-pill {
    font-size: 13px;
    font-weight: 500;
    padding: 6px 16px;
    background: #f0fdf4;
    color: #15803d;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.15s;
}

.biz-subcat-pill:hover {
    background: #dcfce7;
}
.biz-subcat-pill.active {
    background: var(--accent);
    color: #fff;
}
.biz-cat-footer {
    text-align: right;
    margin-top: var(--space-4);
    padding-top: var(--space-3);
    border-top: 1px solid var(--border-light);
}
.biz-cat-viewall {
    font-size: var(--text-sm);
    font-weight: var(--fw-medium);
    color: var(--accent);
    text-decoration: none;
}
.biz-cat-viewall:hover {
    text-decoration: underline;
}

/* =========================================
   DEAL CARDS V2 (discount-focused)
   ========================================= */

.deal-card-v2 {
    flex: 0 0 260px;
    display: flex;
    align-items: stretch;
    background: #fff;
    border-radius: 14px;
    text-decoration: none;
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.deal-card-v2:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.deal-v2-discount {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 72px;
    padding: 16px 8px;
    background: linear-gradient(135deg, #059669, #10b981);
    color: #fff;
}

.deal-v2-amount {
    font-size: 24px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.02em;
}

.deal-v2-amount i {
    width: 22px;
    height: 22px;
}

.deal-v2-off {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.1em;
    margin-top: 2px;
}

.deal-v2-body {
    flex: 1;
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
}

.deal-v2-store {
    font-size: 15px;
    font-weight: 700;
    color: #111827;
    letter-spacing: -0.01em;
}

.deal-v2-title {
    font-size: 13px;
    color: #6b7280;
    line-height: 1.4;
}

.deal-v2-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    font-weight: 600;
    color: #059669;
    margin-top: 2px;
}

.deal-v2-badge i {
    width: 12px;
    height: 12px;
}

/* =========================================
   POPULAR STORES V2 (list style)
   ========================================= */

.popular-stores-grid-v2 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.popular-store-v2 {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: #fff;
    border-radius: 12px;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 1px 4px rgba(0,0,0,0.03);
}

.popular-store-v2:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.06);
}

.pop-store-logo {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}

.pop-store-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 4px;
}

.pop-store-initial {
    font-size: 18px;
    font-weight: 700;
    color: #6b7280;
}

.pop-store-info {
    flex: 1;
    min-width: 0;
}

.pop-store-name {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: #111827;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pop-store-count {
    display: block;
    font-size: 12px;
    color: #9ca3af;
    font-weight: 500;
}

.pop-store-arrow {
    width: 16px;
    height: 16px;
    color: #d1d5db;
    flex-shrink: 0;
    transition: color 0.15s;
}

.popular-store-v2:hover .pop-store-arrow {
    color: #059669;
}

/* =========================================
   CODE CARDS V2 (horizontal layout)
   ========================================= */

.code-card-v2 {
    display: flex;
    align-items: stretch;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    transition: box-shadow 0.2s, transform 0.2s;
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}

.code-card-v2:hover {
    box-shadow: 0 6px 20px rgba(0,0,0,0.07);
    transform: translateY(-1px);
}

.code-v2-left {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    background: #f9fafb;
}

.code-v2-logo {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.code-v2-logo img {
    width: 80%;
    height: 80%;
    object-fit: contain;
}

.code-v2-initial {
    font-size: 20px;
    font-weight: 700;
    color: #6b7280;
}

.code-v2-body {
    flex: 1;
    padding: 14px 18px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.code-v2-header {
    display: flex;
    align-items: center;
    gap: 8px;
}

.code-v2-store {
    font-size: 15px;
    font-weight: 700;
    color: #111827;
}

.code-v2-verified {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-size: 11px;
    font-weight: 600;
    color: #059669;
}

.code-v2-verified i {
    width: 13px;
    height: 13px;
}

.code-v2-desc {
    font-size: 13px;
    color: #6b7280;
    margin: 0;
    line-height: 1.4;
}

.code-v2-desc strong {
    color: #dc2626;
}

.code-v2-btn {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 8px 14px;
    background: linear-gradient(90deg, #059669, #10b981);
    border: none;
    border-radius: 8px;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: opacity 0.2s;
    margin-top: 2px;
}

.code-v2-btn:hover {
    opacity: 0.9;
}

.code-v2-btn .code-preview {
    font-family: var(--ff-mono);
    letter-spacing: 0.08em;
}

.code-v2-btn.revealed {
    background: #059669;
}

/* =========================================
   WHY US V2 (pastel cards - no dark bg)
   ========================================= */

.why-v2-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.why-v2-card {
    padding: 32px 28px;
    border-radius: 16px;
}

.why-v2-card h3 {
    font-size: 18px;
    font-weight: 800;
    color: #111827;
    margin: 0 0 10px 0;
    letter-spacing: -0.02em;
}

.why-v2-card p {
    font-size: 14px;
    color: #374151;
    line-height: 1.65;
    margin: 0;
}

/* =========================================
   NEW STORES V2
   ========================================= */

.new-stores-grid-v2 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.new-store-v2 {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px 14px;
    background: #fff;
    border-radius: 12px;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 1px 4px rgba(0,0,0,0.03);
}

.new-store-v2:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.06);
}

.ns-v2-logo {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-bottom: 10px;
}

.ns-v2-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 4px;
}

.ns-v2-initial {
    font-size: 20px;
    font-weight: 700;
    color: #6b7280;
}

.ns-v2-name {
    font-size: 13px;
    font-weight: 700;
    color: #111827;
    display: block;
    margin-bottom: 2px;
}

.ns-v2-count {
    font-size: 12px;
    color: #059669;
    font-weight: 600;
}

/* =========================================
   BIZ CATEGORY STORE CARDS V2
   ========================================= */

.biz-cat-stores-v2 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.biz-store-card {
    display: flex;
    flex-direction: column;
    padding: 14px;
    background: #f9fafb;
    border-radius: 10px;
    text-decoration: none;
    transition: background 0.15s, box-shadow 0.15s;
}

.biz-store-card:hover {
    background: #f0fdf4;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.biz-store-top {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.biz-store-logo {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}

.biz-store-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 2px;
}

.biz-store-initial {
    font-size: 15px;
    font-weight: 700;
    color: #6b7280;
}

.biz-store-info {
    flex: 1;
    min-width: 0;
}

.biz-store-name {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #111827;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.biz-store-coupons {
    display: block;
    font-size: 11px;
    color: #9ca3af;
    font-weight: 500;
}

.biz-store-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 8px;
    border-top: 1px solid #e5e7eb;
}

.biz-store-status {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-size: 11px;
    font-weight: 600;
    color: #059669;
}

.biz-store-status i {
    width: 12px;
    height: 12px;
}

.biz-store-cta {
    font-size: 11px;
    font-weight: 600;
    color: #3b82f6;
}

.biz-store-cta a {
    color: inherit;
    text-decoration: none;
}

/* Store card secondary links (Reviews · Alternatives) */
.biz-store-secondary {
    padding-top: 6px;
    text-align: center;
    font-size: 11px;
}

.biz-store-secondary a {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.15s;
}

.biz-store-secondary a:hover {
    color: #059669;
}

.biz-store-sep {
    color: #d1d5db;
    margin: 0 4px;
}

a.biz-store-top {
    text-decoration: none;
    color: inherit;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

/* =========================================
   FLOW TEXT BETWEEN SECTIONS
   ========================================= */

.section-flow-text {
    padding: 20px 0;
    text-align: center;
}

.section-flow-text p {
    font-size: 15px;
    color: #6b7280;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.section-flow-text strong {
    color: #374151;
}

/* =========================================
   REVIEWS MINI SECTION
   ========================================= */

.section-reviews-mini {
    padding: var(--space-12) 0;
    background: #f0fdf4;
}

.reviews-mini-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.review-mini-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px;
    background: #fff;
    border-radius: 12px;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
}

.review-mini-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

.review-mini-logo {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}

.review-mini-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 3px;
}

.review-mini-initial {
    font-size: 16px;
    font-weight: 700;
    color: #6b7280;
}

.review-mini-body {
    flex: 1;
    min-width: 0;
}

.review-mini-name {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 3px;
}

.review-mini-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 4px;
}

.review-mini-stars {
    display: inline-flex;
    gap: 1px;
}

.review-mini-stars .star-icon {
    width: 13px;
    height: 13px;
    color: #d1d5db;
}

.review-mini-stars .star-filled {
    color: #f59e0b;
    fill: #f59e0b;
}

.review-mini-score {
    font-size: 13px;
    font-weight: 700;
    color: #111827;
}

.review-mini-count {
    font-size: 11px;
    color: #9ca3af;
}

.review-mini-cta {
    font-size: 11px;
    font-weight: 600;
    color: #059669;
}

/* =========================================
   V2 RESPONSIVE
   ========================================= */

@media (max-width: 768px) {
    .popular-stores-grid-v2 {
        grid-template-columns: repeat(2, 1fr);
    }
    .new-stores-grid-v2 {
        grid-template-columns: repeat(2, 1fr);
    }
    .why-v2-grid {
        grid-template-columns: 1fr;
    }
    .reviews-mini-grid {
        grid-template-columns: 1fr;
    }
    .biz-cat-stores-v2 {
        grid-template-columns: repeat(2, 1fr);
    }
    .deal-card-v2 {
        flex: 0 0 220px;
    }
}

/* Store logos in category */
.biz-cat-stores {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.biz-cat-store-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    color: #374151;
    width: 80px;
}

.biz-cat-store-logo {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: transform 0.2s;
}

.biz-cat-store-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.biz-cat-store-item:hover .biz-cat-store-logo {
    transform: scale(1.08);
}

.biz-cat-store-name {
    font-size: 11px;
    font-weight: 500;
    text-align: center;
    line-height: 1.2;
}

.biz-cat-store-initial {
    font-size: 20px;
    font-weight: 700;
    color: #6b7280;
}

/* Legacy grid (hidden, replaced by sidebar layout) */
.biz-categories-grid { display: none; }

/* =========================================
   HOMEPAGE - SECTION HEADERS (improved)
   ========================================= */

.section-header-center h2 {
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #111827;
}

.section-subtitle {
    font-size: 15px;
    color: #6b7280;
    font-weight: 400;
}

/* Mobile responsive for new pages */
@media (max-width: 768px) {
    .how-we-help-grid {
        grid-template-columns: 1fr;
    }
    .biz-cat-layout {
        grid-template-columns: 1fr;
    }
    .biz-cat-sidebar {
        display: flex;
        overflow-x: auto;
        border-right: none;
        border-bottom: 1px solid #f0f0f0;
        padding: 0;
    }
    .biz-cat-sidebar-item {
        white-space: nowrap;
        border-left: none;
        border-bottom: 3px solid transparent;
        padding: 12px 16px;
    }
    .biz-cat-sidebar-item.active {
        border-left-color: transparent;
        border-bottom-color: #16a34a;
    }
    .section-header-center h2 {
        font-size: 22px;
    }
}
@media (max-width: 768px) {
    .verdict-card {
        flex-direction: column;
    }
    .verdict-score {
        border-right: none;
        border-bottom: 1px solid var(--border, #e5e7eb);
        padding-right: 0;
        padding-bottom: var(--space-4, 16px);
    }
    .pros-cons-grid {
        grid-template-columns: 1fr;
    }
    .interlink-grid {
        grid-template-columns: 1fr;
    }
    .rating-overview-card {
        flex-direction: column;
    }
    .store-nav-item {
        padding: 10px 14px;
        font-size: 13px;
    }
}

/* ==========================================================================
   STORE COUPONS PAGE
   Moved from store.html inline styles
   ========================================================================== */

/* Hero Stats (compact inline) */
.hero-stats {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin: 0.5rem 0 0;
    line-height: 1.5;
}
.hero-stats .stat-highlight {
    font-weight: 700;
    color: var(--text-primary);
    font-size: 1rem;
}
.hero-stats .stat-sep {
    color: var(--text-subtle);
    margin: 0 0.35rem;
}
.hero-stats .stat-muted {
    color: var(--text-subtle);
    font-size: 0.875rem;
}

/* How to Use Section */
.how-to-section {
    margin-top: 2.5rem;
    padding: 2rem;
    background: var(--accent-lighter);
    border-radius: var(--radius-xl);
    border: 1px solid var(--accent-light);
}
.how-to-section h2 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.25rem;
    color: var(--text-primary);
    margin: 0 0 1.5rem;
}
.how-to-section h2 svg {
    width: 24px;
    height: 24px;
    color: var(--accent);
}
.steps-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}
.step-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}
.step-number {
    width: 32px;
    height: 32px;
    background: var(--accent);
    color: white;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    flex-shrink: 0;
}
.step-content h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 0.25rem;
}
.step-content p {
    font-size: 0.9rem;
    color: var(--text-body);
    margin: 0;
    line-height: 1.5;
}

/* Activity Chart Section */
.activity-chart-section {
    background: #1f2937;
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    margin-top: 2rem;
    color: white;
}
.chart-header {
    margin-bottom: 2.5rem;
}
.chart-title-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}
.chart-header h2 {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
    color: white;
}
.chart-tabs {
    display: flex;
    gap: 0.25rem;
    background: #374151;
    padding: 0.25rem;
    border-radius: 8px;
}
.chart-tab {
    padding: 0.4rem 0.75rem;
    border: none;
    background: transparent;
    color: #9ca3af;
    font-size: 0.8rem;
    font-weight: 500;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
}
.chart-tab:hover {
    color: white;
}
.chart-tab.active {
    background: #4b5563;
    color: white;
}
.chart-legend {
    display: flex;
    gap: 1rem;
    font-size: 0.7rem;
    color: #9ca3af;
}
.legend-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}
.legend-color {
    width: 12px;
    height: 12px;
    border-radius: 3px;
}
.legend-verified {
    background: #5eead4;
}
.legend-unverified {
    background: #9ca3af;
}
.legend-verifications {
    background: #f59e0b;
}
.chart-container {
    position: relative;
    height: 250px;
    margin-bottom: 0.5rem;
    padding-top: 2.5rem;
}
.chart-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #6b7280;
    font-size: 0.85rem;
}
.chart-bars {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    height: 100%;
    gap: 8px;
    padding: 0 1rem;
}
.chart-bar-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    max-width: 60px;
}
.chart-bar-stack {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    gap: 2px;
}
.chart-bar {
    width: 100%;
    border-radius: 4px 4px 0 0;
    transition: height 0.3s ease;
    min-height: 2px;
}
.chart-bar.verified {
    background: linear-gradient(180deg, #5eead4 0%, #2dd4bf 100%);
}
.chart-bar.unverified {
    background: #9ca3af;
    border-radius: 0;
}
.chart-bar.verifications {
    background: #f59e0b;
    border-radius: 0 0 4px 4px;
    margin-top: 2px;
}
.chart-bar-empty {
    width: 100%;
    height: 20px;
    background: #374151;
    border-radius: 4px;
    opacity: 0.5;
}
.chart-bar-group.future {
    opacity: 0.6;
}
.chart-bar-value {
    font-size: 0.7rem;
    color: #d1d5db;
    margin-bottom: 0.25rem;
    font-weight: 500;
}
.chart-avg-line {
    position: absolute;
    left: 0;
    right: 0;
    border-top: 2px dashed rgba(255, 255, 255, 0.3);
    pointer-events: none;
}
.avg-label {
    position: absolute;
    left: 0;
    top: -10px;
    background: #374151;
    padding: 0.15rem 0.4rem;
    border-radius: 4px;
    font-size: 0.7rem;
    color: #9ca3af;
    white-space: nowrap;
}
.chart-x-labels {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 1rem 0;
    gap: 8px;
}
.chart-x-label {
    font-size: 0.75rem;
    color: #9ca3af;
    text-align: center;
    flex: 1;
}
.chart-x-label.current {
    background: #374151;
    padding: 0.15rem 0.4rem;
    border-radius: 4px;
    color: white;
}

/* Competitor Coupons Section */
.competitor-coupons-section {
    margin-top: 2rem;
    padding: 2rem;
    background: #f9fafb;
    border-radius: var(--radius-lg);
}
.competitor-coupons-section h2 {
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
    color: #1f2937;
}
.competitor-coupons-section .section-subtitle {
    color: #6b7280;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}
.competitor-coupons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
}
.competitor-coupon-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background: white;
    border-radius: var(--radius-md);
    border: 1px solid #e5e7eb;
    text-decoration: none;
    color: inherit;
    transition: all 0.2s;
    position: relative;
}
.competitor-coupon-card:hover {
    border-color: var(--accent);
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.competitor-card-left {
    flex-shrink: 0;
}
.competitor-store-logo {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    object-fit: contain;
    background: #f3f4f6;
}
.competitor-store-initial {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--accent) 0%, #059669 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1rem;
}
.competitor-card-right {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}
.competitor-store-name {
    font-size: 0.8rem;
    color: #6b7280;
    font-weight: 500;
}
.competitor-coupon-title {
    font-weight: 600;
    font-size: 0.95rem;
    color: #1f2937;
    line-height: 1.3;
}
.competitor-coupon-code {
    font-family: monospace;
    font-size: 0.8rem;
    color: var(--accent);
    background: #ecfdf5;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    display: inline-block;
    width: fit-content;
}
.competitor-verified-badge {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    width: 20px;
    height: 20px;
    background: var(--accent);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
}

/* Coupon Card (store page grid layout override) */
.coupon-card {
    background: var(--bg-elevated);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 1.25rem;
    margin-bottom: 1rem;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 1rem;
    position: relative;
}
.coupon-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--border-default);
}
.coupon-card.featured {
    border-left: 3px solid var(--accent);
}

/* Coupon Badges */
.coupon-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    grid-column: 1 / -1;
}
.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.25rem 0.5rem;
    border-radius: var(--radius-sm);
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}
.badge svg {
    width: 12px;
    height: 12px;
}
.verified-badge {
    background: var(--accent);
    color: white;
}
.code-badge {
    background: var(--bg-sunken);
    color: var(--text-secondary);
    border: 1px solid var(--border-light);
}
.deal-badge {
    background: var(--accent-alt);
    color: white;
}
.badge.featured {
    background: var(--warning);
    color: var(--text-primary);
}

/* Code Type Badges */
.type-badge {
    background: var(--bg-sunken);
    color: var(--text-secondary);
    border: 1px solid var(--border-light);
}
.type-badge.type-sitewide {
    background: #dbeafe;
    color: #1e40af;
    border-color: #93c5fd;
}
.type-badge.type-first_order {
    background: #fef3c7;
    color: #92400e;
    border-color: #fcd34d;
}
.type-badge.type-free_shipping {
    background: #d1fae5;
    color: #065f46;
    border-color: #6ee7b7;
}
.type-badge.type-student,
.type-badge.type-military {
    background: #ede9fe;
    color: #5b21b6;
    border-color: #c4b5fd;
}
.type-badge.type-email_signup {
    background: #fce7f3;
    color: #9d174d;
    border-color: #f9a8d4;
}
.type-badge.type-referral {
    background: #cffafe;
    color: #0e7490;
    border-color: #67e8f9;
}

/* Section Badge */
.coupon-section { margin-bottom: 2rem; }
.section-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: bold;
    text-transform: uppercase;
}
.section-badge.verified { background: #d4edda; color: #155724; }
.section-desc { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 1rem; }

/* Coupon Meta */
.coupon-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 0.5rem;
}
.meta-item {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.8rem;
    color: var(--text-muted);
}
.meta-item svg {
    width: 14px;
    height: 14px;
}
.meta-item.success {
    color: var(--accent);
}
.meta-item.expiry svg {
    color: var(--text-subtle);
}

.btn-deal { background: var(--accent-alt); color: white; }
.btn-deal:hover { background: var(--accent-alt-hover); }

/* Copy Code button */
.btn-copy-code {
    padding: 12px 24px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    border-radius: 6px;
    background: var(--accent);
    color: white;
    transition: all 0.2s;
    white-space: nowrap;
}
.btn-copy-code:hover {
    background: var(--accent-hover);
    transform: translateY(-1px);
    box-shadow: var(--shadow-accent);
}
.btn-copy-code.copied {
    background: var(--accent-dark);
}
.btn-secondary.btn-copy-code {
    background: var(--text-muted);
}
.btn-secondary.btn-copy-code:hover {
    background: var(--text-secondary);
}

/* Store header/hero */
.store-header {
    padding: 2rem 0;
}
.store-header .page-header {
    text-align: left;
    display: block;
    background: none;
    padding: 0;
    margin-bottom: 0;
}
.store-info {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    justify-content: flex-start;
}
.store-logo {
    width: 80px;
    height: 80px;
    object-fit: contain;
    border-radius: 12px;
    background: #fff;
    padding: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    flex-shrink: 0;
}
.store-initial.large {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: bold;
    color: white;
    background: var(--accent);
    border-radius: 12px;
    margin: 0;
    flex-shrink: 0;
}
.store-text h1 {
    margin: 0 0 0.25rem;
    font-size: 1.75rem;
    color: #1f2937;
}
.store-text p {
    margin: 0;
    color: #6b7280;
    font-size: 1rem;
}

/* Modal Styles */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.7);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}
.modal-overlay.active {
    display: flex;
}
.modal-content {
    background: white;
    border-radius: 12px;
    padding: 30px;
    max-width: 450px;
    width: 90%;
    position: relative;
    text-align: center;
    animation: modalSlideIn 0.3s ease;
}
@keyframes modalSlideIn {
    from { transform: translateY(-20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}
.modal-close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    border: none;
    background: none;
    cursor: pointer;
    color: #999;
}
.modal-close:hover { color: #333; }
.modal-header h3 {
    margin: 0 0 15px;
    color: #1d2327;
}
.modal-desc {
    color: #666;
    margin-bottom: 20px;
}
.code-display {
    background: var(--bg-sunken);
    border: 2px dashed var(--accent);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
}
.revealed-code {
    font-family: monospace;
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--accent);
    letter-spacing: 3px;
    user-select: all;
}
.btn-copy {
    width: 100%;
    padding: 15px;
    font-size: 1.1rem;
}
.modal-hint {
    font-size: 0.85rem;
    color: #999;
    margin-top: 15px;
    margin-bottom: 0;
}

/* FAQ Styles */
.faq-section {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #e0e0e0;
}
.faq-section h2 {
    margin-bottom: 1.5rem;
}
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.faq-item {
    background: var(--bg-sunken);
    padding: 1.25rem;
    border-radius: 8px;
    border-left: 3px solid var(--accent);
}
.faq-question {
    font-size: 1rem;
    font-weight: 600;
    color: #1d2327;
    margin: 0 0 0.75rem 0;
}
.faq-answer {
    font-size: 0.95rem;
    color: #555;
    margin: 0;
    line-height: 1.6;
}

/* Sidebar Cards */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}
.sidebar-card {
    background: var(--bg-elevated);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 1.25rem;
}
.sidebar-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border-light);
}

/* Stats Table */
.stats-table {
    width: 100%;
    border-collapse: collapse;
}
.stats-table tr {
    border-bottom: 1px solid var(--border-light);
}
.stats-table tr:last-child {
    border-bottom: none;
}
.stats-table td {
    padding: 0.6rem 0;
    font-size: 0.9rem;
}
.stats-table .stat-name {
    color: var(--text-muted);
}
.stats-table .stat-num {
    text-align: right;
    font-weight: 600;
    color: var(--text-primary);
}
.stats-table .stat-num.highlight {
    color: var(--accent);
}

/* Community Activity Card */
.community-card .last-activity {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-align: center;
    margin: 0.75rem 0 0 0;
    padding-top: 0.75rem;
    border-top: 1px solid var(--border-light);
}

/* Store Description */
.store-description {
    margin-bottom: 1rem;
}
.store-description p {
    font-size: 0.875rem;
    color: var(--text-body);
    line-height: 1.65;
    margin: 0;
}
.store-description p strong {
    color: var(--text-primary);
}

/* Button Block */
.btn-block {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.75rem 1rem;
}
.btn-block svg {
    width: 16px;
    height: 16px;
}

/* Policies Grid */
.policies-grid {
    display: grid;
    gap: 0.75rem;
}
.policy-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem;
    background: var(--bg-sunken);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
}
.policy-item.highlight {
    background: var(--accent-lighter);
    border-color: var(--accent-light);
}
.policy-item svg {
    width: 18px;
    height: 18px;
    color: var(--accent);
    flex-shrink: 0;
    margin-top: 2px;
}
.policy-item.highlight svg {
    color: var(--accent-dark);
}
.policy-text {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}
.policy-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-primary);
}
.policy-value {
    font-size: 0.75rem;
    color: var(--text-muted);
}
.policy-item.highlight .policy-value {
    color: var(--accent-dark);
    font-weight: 500;
}

/* Competitors Section */
.competitors-card .sidebar-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    color: #1f2937;
}
.competitors-card .sidebar-title svg {
    width: 18px;
    height: 18px;
    color: var(--accent);
}
.competitors-intro {
    font-size: 0.8rem;
    color: #6b7280;
    margin: -0.25rem 0 0.75rem 0;
    line-height: 1.4;
}
.competitors-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.competitor-item {
    border-bottom: 1px solid #f3f4f6;
}
.competitor-item:last-child {
    border-bottom: none;
}
.competitor-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0.5rem;
    text-decoration: none;
    color: #374151;
    transition: background 0.2s;
    border-radius: 6px;
    margin: 0 -0.5rem;
}
.competitor-link:hover {
    background: #f3f4f6;
}
.competitor-logo {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
}
.competitor-logo img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    border-radius: 6px;
    background: #fff;
    border: 1px solid #e5e7eb;
}
.competitor-logo .store-initial {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 600;
    color: white;
    background: var(--accent);
    border-radius: 6px;
}
.competitor-info {
    flex: 1;
    min-width: 0;
}
.competitor-name {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: #1f2937;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.competitor-codes {
    display: block;
    font-size: 0.75rem;
    color: var(--accent);
    margin-top: 0.125rem;
}
.competitor-arrow {
    width: 16px;
    height: 16px;
    color: #9ca3af;
    flex-shrink: 0;
    transition: transform 0.2s, color 0.2s;
}
.competitor-link:hover .competitor-arrow {
    color: var(--accent);
    transform: translateX(2px);
}

/* Community Verification Features */
.verification-section {
    border-top: 1px solid #f3f4f6;
    margin-top: 0.75rem;
    padding-top: 0.75rem;
}
.verification-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}
.quick-feedback {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.feedback-question {
    font-size: 0.9rem;
    color: #374151;
    font-weight: 500;
}
.feedback-buttons {
    display: flex;
    gap: 0.5rem;
}
.feedback-btn {
    padding: 0.4rem 1rem;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
}
.feedback-yes {
    background: #dcfce7;
    color: #166534;
}
.feedback-yes:hover {
    background: #bbf7d0;
}
.feedback-no {
    background: #fee2e2;
    color: #991b1b;
}
.feedback-no:hover {
    background: #fecaca;
}
.feedback-btn.submitted {
    opacity: 0.6;
    cursor: default;
}
.see-verifications-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.75rem;
    background: #f3f4f6;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.8rem;
    color: #374151;
    transition: all 0.2s;
}
.see-verifications-btn:hover {
    background: #e5e7eb;
    border-color: #d1d5db;
}
.see-verifications-btn.open .toggle-arrow {
    transform: rotate(180deg);
}
.verification-badge {
    background: var(--accent);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.15rem 0.4rem;
    border-radius: 10px;
    min-width: 18px;
    text-align: center;
}
.toggle-arrow {
    font-size: 8px;
    color: #9ca3af;
    transition: transform 0.2s;
}
.last-used {
    color: #9ca3af;
}
.verification-details {
    margin-top: 0.75rem;
    padding: 0.75rem 1rem;
    background: #f3f4f6;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
}
.activity-list {
    max-height: 300px;
    overflow-y: auto;
}
.activity-loading {
    text-align: center;
    padding: 0.75rem;
    color: #6b7280;
    font-size: 0.85rem;
}
.activity-list .activity-item {
    position: static !important;
    opacity: 1 !important;
    transform: none !important;
    display: flex !important;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid #e5e7eb;
    font-size: 0.85rem;
    color: #6b7280;
}
.activity-list .activity-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}
.activity-list .activity-item:first-child {
    padding-top: 0;
}
.activity-list .activity-avatar {
    flex-shrink: 0;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #6b7280;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.7rem;
    font-weight: 600;
}
.activity-list .activity-user {
    font-weight: 600;
    color: #374151;
}
.activity-list .activity-time {
    color: #9ca3af;
    font-size: 0.75rem;
}
.activity-list .activity-status {
    color: #6b7280;
}
.status-success {
    color: #16a34a;
    font-weight: 600;
}
.status-fail {
    color: #dc2626;
    font-weight: 600;
}
.no-activity {
    text-align: center;
    padding: 1.5rem;
    color: #6b7280;
}
.no-activity svg {
    width: 32px;
    height: 32px;
    margin-bottom: 0.5rem;
    color: #4b5563;
}
.no-activity p {
    font-size: 0.85rem;
    margin: 0;
}

.show-more-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.5rem;
    background: none;
    border: none;
    color: #9ca3af;
    font-size: 0.8rem;
    cursor: pointer;
    transition: color 0.2s;
}
.show-more-btn:hover {
    color: white;
}
.show-more-btn svg {
    width: 14px;
    height: 14px;
}

/* Share Tip Form */
.share-tip-form {
    display: flex;
    gap: 0.5rem;
    background: #374151;
    border-radius: 24px;
    padding: 0.25rem 0.25rem 0.25rem 1rem;
}
.tip-input {
    flex: 1;
    background: transparent;
    border: none;
    color: white;
    font-size: 0.9rem;
    outline: none;
}
.tip-input::placeholder {
    color: #6b7280;
}
.tip-submit {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--accent);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s;
}
.tip-submit:hover {
    background: var(--accent-hover);
}
.tip-submit .send-arrow {
    font-size: 18px;
    font-weight: bold;
    color: white;
    line-height: 1;
}

/* Community Section */
.community-section h2 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.community-section h2 svg {
    width: 24px;
    height: 24px;
    color: var(--accent);
}
.coupon-card.community {
    border-left: none;
    background: #f5f3ff;
}
.coupon-card.community.popular {
    background: linear-gradient(135deg, #ede9fe 0%, #f5f3ff 100%);
}
.badge.community-badge {
    background: #ede9fe;
    color: #7c3aed;
}
.badge.working-badge {
    background: #ecfdf5;
    color: var(--accent);
}
.meta-item.submitter {
    color: #8b5cf6;
}
.btn-community {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
    border: none;
    color: white;
}
.btn-community:hover {
    background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%);
}

/* Submit Code Section */
.submit-code-section {
    margin-top: 2rem;
}
.submit-code-card {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border: 2px dashed #cbd5e1;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
}
.submit-code-card .submit-icon {
    width: 48px;
    height: 48px;
    background: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}
.submit-code-card .submit-icon svg {
    width: 24px;
    height: 24px;
    color: white;
}
.submit-code-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: #1f2937;
}
.submit-code-card p {
    font-size: 0.9rem;
    color: #6b7280;
    margin-bottom: 1rem;
}
.btn-accent {
    background: var(--accent);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-size: 0.9rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s;
}
.btn-accent:hover {
    background: var(--accent-dark);
    transform: translateY(-1px);
}
.btn-accent svg {
    width: 18px;
    height: 18px;
}

/* Auth & Submit Modals */
.auth-modal-content, .submit-modal-content, .identity-modal-content {
    max-width: 400px;
}
.identity-modal-content {
    text-align: left;
}
.identity-modal-content .modal-header {
    text-align: center;
    margin-bottom: 1.5rem;
}
.identity-modal-content .modal-header h3 {
    margin-bottom: 0.25rem;
}
.identity-modal-content .modal-header p {
    color: #6b7280;
    font-size: 0.9rem;
}
.identity-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.guest-option {
    display: flex;
    flex-direction: column;
    padding: 1rem;
    background: #f9fafb;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
}
.guest-option:hover {
    border-color: var(--accent);
    background: #f0fdf4;
}
.option-title {
    font-weight: 600;
    color: #374151;
    font-size: 1rem;
}
.option-desc {
    font-size: 0.8rem;
    color: #6b7280;
    margin-top: 0.25rem;
}
.identity-divider {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: #9ca3af;
    font-size: 0.85rem;
}
.identity-divider::before,
.identity-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #e5e7eb;
}
.identity-form {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.identity-input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 0.95rem;
}
.identity-input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.1);
}
.auth-form {
    display: none;
}
.auth-form.active {
    display: block;
}
.form-group {
    margin-bottom: 1rem;
}
.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
}
.form-hint {
    display: block;
    font-size: 0.75rem;
    color: #6b7280;
    margin-top: 0.25rem;
}
.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 0.65rem 0.85rem;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 0.9rem;
    transition: border-color 0.2s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.1);
}
.form-row {
    display: flex;
    gap: 1rem;
}
.form-row .form-group {
    flex: 1;
}
.btn-full {
    width: 100%;
    justify-content: center;
}
.auth-switch {
    text-align: center;
    font-size: 0.85rem;
    color: #6b7280;
    margin-top: 1rem;
}
.auth-switch a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 500;
}
.auth-switch a:hover {
    text-decoration: underline;
}
.auth-divider {
    display: flex;
    align-items: center;
    margin: 1.25rem 0;
    color: #9ca3af;
    font-size: 0.8rem;
}
.auth-divider::before, .auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #e5e7eb;
}
.auth-divider span {
    padding: 0 0.75rem;
}
.form-error {
    background: #fef2f2;
    color: #dc2626;
    padding: 0.75rem;
    border-radius: 8px;
    font-size: 0.85rem;
    margin-bottom: 1rem;
}
.form-success {
    background: #ecfdf5;
    color: var(--accent);
    padding: 0.75rem;
    border-radius: 8px;
    font-size: 0.85rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.form-success svg {
    width: 18px;
    height: 18px;
}

/* Toast Notification */
.toast {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: #1f2937;
    color: white;
    padding: 0.85rem 1.25rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 1001;
}
.toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}
.toast svg {
    width: 18px;
    height: 18px;
}
.toast.success {
    background: var(--accent);
}
.toast.error {
    background: #dc2626;
}
.toast.info {
    background: #3b82f6;
}

/* Modal Adjustments */
#auth-modal .modal-header, #submit-modal .modal-header {
    text-align: center;
}
#auth-modal .modal-header h3, #submit-modal .modal-header h3 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}
#auth-modal .modal-header p, #submit-modal .modal-header p {
    color: #6b7280;
    font-size: 0.9rem;
    margin-top: 0.25rem;
}
#submit-modal .modal-header svg {
    width: 24px;
    height: 24px;
    color: var(--accent);
}

/* Store page mobile */
@media (max-width: 768px) {
    .hero-stats {
        font-size: 0.85rem;
    }
    .hero-stats .stat-highlight {
        font-size: 0.9rem;
    }
    .how-to-section {
        padding: 1.5rem;
        margin-top: 2rem;
    }
    .how-to-section h2 {
        font-size: 1.1rem;
    }
    .step-item {
        gap: 0.75rem;
    }
    .step-number {
        width: 28px;
        height: 28px;
        font-size: 0.8rem;
    }
    .step-content h4 {
        font-size: 0.9rem;
    }
    .step-content p {
        font-size: 0.85rem;
    }
    .stores-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .store-card {
        flex-direction: column;
        text-align: center;
        padding: 1rem 0.75rem;
    }
    .store-card-info h3 {
        white-space: normal;
        font-size: 0.85rem;
    }
    .feedback-prompt {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    .submit-code-card {
        padding: 1.5rem 1rem;
    }
}

/* ==========================================================================
   CATEGORY STORES PAGE
   Moved from category_stores.html inline styles
   ========================================================================== */

.page-header .breadcrumb {
    margin-bottom: var(--space-4);
    color: rgba(255, 255, 255, 0.7);
}
.page-header .breadcrumb a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
}
.page-header .breadcrumb a:hover {
    color: #34d399;
    text-decoration: underline;
}
.store-listing {
    padding: var(--space-8) 0;
}
.letter-disabled {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-muted);
    border-radius: var(--radius-md);
    color: var(--text-subtle);
    font-weight: var(--fw-semibold);
    font-size: var(--text-card-body);
    cursor: default;
}
.stores-list {
    margin-top: var(--space-6);
}
.no-stores {
    text-align: center;
    padding: var(--space-12);
    color: var(--text-muted);
}

/* ==========================================================================
   STORES BROWSE PAGE (Categories)
   Moved from categories.html inline styles
   ========================================================================== */

.stores-browse-section {
    padding: var(--space-8) 0 var(--space-12);
}
.stores-browse-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: var(--space-6);
    align-items: start;
}
.stores-browse-sidebar {
    position: sticky;
    top: 80px;
    background: var(--bg-elevated);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    overflow: hidden;
    max-height: calc(100vh - 100px);
    overflow-y: auto;
}
.sidebar-heading {
    padding: var(--space-4) var(--space-5);
    font-size: var(--text-xs);
    font-weight: var(--fw-bold);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border-light);
}
.stores-sidebar-item {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-3) var(--space-5);
    cursor: pointer;
    font-size: var(--text-sm);
    color: var(--text-secondary);
    border-left: 3px solid transparent;
    transition: all var(--transition-fast);
}
.stores-sidebar-item:hover {
    background: var(--bg-hover);
    color: var(--text-primary);
}
.stores-sidebar-item.active {
    background: var(--accent-lighter);
    color: var(--accent);
    border-left-color: var(--accent);
    font-weight: var(--fw-semibold);
}
.stores-sidebar-item svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}
.sidebar-item-name {
    flex: 1;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.sidebar-item-count {
    font-size: var(--text-xs);
    color: var(--text-subtle);
    background: var(--bg-muted);
    padding: 2px 8px;
    border-radius: var(--radius-full);
    flex-shrink: 0;
}
.stores-sidebar-item.active .sidebar-item-count {
    background: var(--accent-light);
    color: var(--accent-dark);
}
.stores-cat-header h2 {
    font-size: var(--text-xl);
    font-weight: var(--fw-bold);
    color: var(--text-primary);
    margin: 0 0 var(--space-1);
}
.stores-cat-desc {
    color: var(--text-muted);
    font-size: var(--text-sm);
    margin: 0 0 var(--space-5);
}
.stores-subcategories {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
    margin-bottom: var(--space-6);
}
.stores-subcat-pill {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-4);
    background: var(--bg-sunken);
    border-radius: var(--radius-full);
    font-size: var(--text-xs);
    color: var(--text-secondary);
    font-weight: var(--fw-medium);
}
.stores-subcat-pill.has-stores {
    background: var(--accent-lighter);
    color: var(--accent-dark);
}
.subcat-count {
    font-size: 11px;
    background: rgba(0,0,0,0.08);
    padding: 1px 6px;
    border-radius: var(--radius-full);
}
.stores-subcat-pill.has-stores .subcat-count {
    background: var(--accent-light);
}
.stores-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: var(--space-4);
}
.stores-card {
    background: var(--bg-elevated);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition-base);
}
.stores-card:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}
.stores-card-top {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-4);
    text-decoration: none;
    color: inherit;
}
.stores-card-logo {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    overflow: hidden;
    flex-shrink: 0;
    background: var(--bg-sunken);
    display: flex;
    align-items: center;
    justify-content: center;
}
.stores-card-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.stores-card-initial {
    font-size: var(--text-lg);
    font-weight: var(--fw-bold);
    color: var(--accent);
}
.stores-card-info {
    display: flex;
    flex-direction: column;
    min-width: 0;
}
.stores-card-name {
    font-size: var(--text-sm);
    font-weight: var(--fw-semibold);
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.stores-card-coupons {
    font-size: var(--text-xs);
    color: var(--text-muted);
}
.stores-card-links {
    display: flex;
    gap: 0;
    border-top: 1px solid var(--border-light);
}
.stores-card-links a {
    flex: 1;
    text-align: center;
    padding: var(--space-2) var(--space-2);
    font-size: var(--text-xs);
    color: var(--text-muted);
    text-decoration: none;
    transition: all var(--transition-fast);
    border-right: 1px solid var(--border-light);
}
.stores-card-links a:last-child {
    border-right: none;
}
.stores-card-links a:hover {
    background: var(--accent-lighter);
    color: var(--accent);
}
.stores-empty {
    text-align: center;
    padding: var(--space-12);
    color: var(--text-muted);
}

@media (max-width: 768px) {
    .stores-browse-layout {
        grid-template-columns: 1fr;
    }
    .stores-browse-sidebar {
        position: static;
        max-height: none;
        display: flex;
        flex-wrap: wrap;
        gap: var(--space-2);
        padding: var(--space-3);
        border: none;
        background: transparent;
    }
    .sidebar-heading {
        width: 100%;
        padding: 0 0 var(--space-2);
        border-bottom: none;
    }
    .stores-sidebar-item {
        padding: var(--space-2) var(--space-3);
        border: 1px solid var(--border-light);
        border-radius: var(--radius-full);
        border-left: 1px solid var(--border-light);
        font-size: var(--text-xs);
    }
    .stores-sidebar-item svg {
        display: none;
    }
    .stores-sidebar-item.active {
        background: var(--accent);
        color: var(--text-inverse);
        border-color: var(--accent);
        border-left-color: var(--accent);
    }
    .stores-sidebar-item.active .sidebar-item-count {
        background: rgba(255,255,255,0.2);
        color: var(--text-inverse);
    }
    .stores-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   CATEGORIES LISTING PAGE (/categories/)
   ========================================================================== */

.categories-listing-section {
    padding: var(--space-8) 0 var(--space-12);
}
.categories-listing-section .categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: var(--space-4);
}
.category-card {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    padding: var(--space-5) var(--space-6);
    background: var(--bg-elevated);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    text-decoration: none;
    transition: all var(--transition-base);
}
.category-card:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}
.category-card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: var(--accent-lighter);
    border-radius: var(--radius-md);
    color: var(--accent);
    flex-shrink: 0;
}
.category-card-icon svg {
    width: 24px;
    height: 24px;
}
.category-card-info {
    flex: 1;
    min-width: 0;
}
.category-card-name {
    font-size: var(--text-base);
    font-weight: var(--fw-semibold);
    color: var(--text-primary);
    margin: 0 0 var(--space-1);
}
.category-card-meta {
    font-size: var(--text-sm);
    color: var(--text-muted);
}
.category-card-meta .meta-sep {
    margin: 0 var(--space-1);
}
.category-card-arrow {
    color: var(--text-muted);
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    transition: transform var(--transition-fast);
}
.category-card:hover .category-card-arrow {
    color: var(--accent);
    transform: translateX(3px);
}

/* Active state for subcategory pills (filtering) */
.stores-subcat-pill.active {
    background: var(--accent);
    color: var(--text-inverse);
}
.stores-subcat-pill.active .subcat-count {
    background: rgba(255,255,255,0.2);
    color: var(--text-inverse);
}
.stores-subcat-pill {
    cursor: pointer;
}

@media (max-width: 768px) {
    .categories-listing-section .categories-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   RATING OVERVIEW IN SIDEBAR
   ========================================================================== */

.rating-sidebar-card .rating-big {
    min-width: auto;
    margin-bottom: 1rem;
}

.rating-sidebar-card .rating-number {
    font-size: 36px;
}

.sidebar-star-bars {
    flex: auto;
}

.sidebar-star-bars .star-label {
    min-width: 20px;
    font-size: 12px;
}

.sidebar-star-bars .star-count {
    min-width: 30px;
    font-size: 12px;
}

.sidebar-star-bars .star-bar {
    height: 10px;
}

.rating-sidebar-card .source-link {
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--border-light);
}

/* ==========================================================================
   REVIEW PATTERNS MINI CARD (Sidebar)
   ========================================================================== */

.review-mini-bars {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.review-mini-row {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.review-mini-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.review-mini-name {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.review-mini-score {
    font-size: 0.8rem;
    font-weight: 700;
}

.review-mini-score.score-good { color: #16a34a; }
.review-mini-score.score-ok { color: #d97706; }
.review-mini-score.score-bad { color: #dc2626; }

.review-mini-bar {
    height: 6px;
    background: #f3f4f6;
    border-radius: 3px;
    overflow: hidden;
}

.review-mini-fill {
    height: 100%;
    border-radius: 3px;
    transition: width 0.3s ease;
}

.review-mini-fill.fill-good { background: #16a34a; }
.review-mini-fill.fill-ok { background: #d97706; }
.review-mini-fill.fill-bad { background: #dc2626; }

.review-mini-link {
    display: block;
    margin-top: 1rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--border-light);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--accent);
    text-decoration: none;
}

.review-mini-link:hover {
    text-decoration: underline;
}

/* ==========================================================================
   ALTERNATIVES PAGE - ENHANCED
   ========================================================================== */

/* Comparison table - strength tags */
.table-strengths {
    min-width: 180px;
}

.strength-tag {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 600;
    margin-right: 4px;
}

.strength-tag.good {
    background: #dcfce7;
    color: #166534;
}

/* Detailed card - summary */
.alt-summary {
    font-size: 0.9rem;
    line-height: 1.65;
    color: var(--text-body, #4b5563);
    margin-bottom: 1rem;
}

/* Pros & Cons side by side */
.alt-pros-cons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.alt-pros h4, .alt-cons h4 {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.85rem;
    font-weight: 600;
    margin: 0 0 0.5rem;
}

.alt-pros h4 { color: #16a34a; }
.alt-cons h4 { color: #dc2626; }

.alt-pros h4 svg, .alt-cons h4 svg {
    width: 14px;
    height: 14px;
}

.alt-pros ul, .alt-cons ul {
    list-style: none;
    margin: 0;
    padding: 0;
    text-align: left;
}

.alt-pros li, .alt-cons li {
    font-size: 0.8rem;
    color: var(--text-body, #4b5563);
    padding: 0.3rem 0;
    padding-left: 1rem;
    position: relative;
    line-height: 1.5;
}

.alt-pros li::before {
    content: "+";
    position: absolute;
    left: 0;
    color: #16a34a;
    font-weight: 700;
}

.alt-cons li::before {
    content: "−";
    position: absolute;
    left: 0;
    color: #dc2626;
    font-weight: 700;
}

/* Score bars in detail cards */
.alt-scores {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 0.75rem;
    background: var(--bg-sunken, #f1f5f3);
    border-radius: var(--radius-md, 8px);
}

.alt-score-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.alt-score-name {
    font-size: 0.75rem;
    color: var(--text-muted, #6b7280);
    min-width: 120px;
    flex-shrink: 0;
}

.alt-score-bar {
    flex: 1;
    height: 6px;
    background: #e5e7eb;
    border-radius: 3px;
    overflow: hidden;
}

.alt-score-fill {
    height: 100%;
    border-radius: 3px;
}

.alt-score-val {
    font-size: 0.75rem;
    font-weight: 700;
    min-width: 28px;
    text-align: right;
}

/* Meta line tweaks */
.alt-review-count {
    font-size: 0.8rem;
    color: var(--text-muted, #6b7280);
}

.alt-coupon-count {
    font-size: 0.8rem;
    color: var(--accent, #059669);
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.alt-coupon-count svg {
    width: 14px;
    height: 14px;
}

@media (max-width: 768px) {
    .alt-pros-cons {
        grid-template-columns: 1fr;
    }
    .table-strengths {
        display: none;
    }
    .alt-score-name {
        min-width: 80px;
    }
}
