:root {
    /* ===== VINELOG BRAND SYSTEM ===== */
    /* Core brand colors - warm, sophisticated palette */
    --color-vine-red: #b90d3e;
    --color-deep-burgundy: #320c2a;
    --color-plum-purple: #7d2f70;
    --color-rich-maroon: #840a2e;
    --color-mauve: #a8899a;
    --color-dark-mauve: #5a4a54;
    --color-muted-purple: #6a5d64;
    --color-warm-grey: #9c8c84;
    --color-off-white: #f7e9dc;
    --color-primary-blue: #4A6B8A;
    --color-info-blue: #5DADE2;
    --color-success-green: #527A5D;
    --color-warning-orange: #D17A45;

    /* NEW: Brand-aligned warm palette */
    --color-cream: #FAF8F5;
    --color-cream-dark: #F5F1EC;
    --color-warm-white: #FEFDFB;
    --color-gold: #C9A962;
    --color-gold-light: #D4BC7D;
    --color-gold-dark: #A68B4B;
    --color-charcoal: #2C2C2C;
    --color-charcoal-light: #4A4A4A;
    --color-stone: #8B8680;
    --color-stone-light: #B5B0A8;
    --color-wine-dark: #722F37;
    --color-wine-light: #A4545C;
    --color-border-subtle: rgba(0, 0, 0, 0.06);
    --color-border-medium: rgba(0, 0, 0, 0.1);

    /* Purple gradient theme colors - desaturated, sophisticated dusty plum */
    --color-brand-purple-start: #3A2A3D;
    --color-brand-purple-end: #5C4A5E;

    /* Darker purple for logo text */
    --color-logo-purple-start: #2D2330;
    --color-logo-purple-end: #4A3D4C;
    --color-accent-purple: #6E5A70;

    --border-vine-red: #a30b36;
    --border-deep-burgundy: #2b0a24;
    --border-plum-purple: #6c2c62;
    --border-rich-maroon: #750927;
    --border-mauve: #ae6b90;
    --border-dark-mauve: #531c4c;
    --border-muted-purple: #57454f;
    --border-warm-grey: #897a76;
    --border-off-white: #e0d6c7;
    --border-primary-blue: #42607A;
    --border-info-blue: #2E86C1;
    --border-success-green: #496954;
    --border-warning-orange: #B9683A;
    --bs-heading-color: var(--color-charcoal);

    /* Typography - Editorial semi-serif system */
    /* Fraunces: Soft serif for display/headlines - warm, literary character */
    --font-serif: 'Fraunces', 'Cormorant Garamond', Georgia, serif;
    /* Literata: Semi-serif for body text - readable with personality */
    --font-sans: 'Literata', Georgia, serif;
    --font-body: 'Literata', Georgia, serif;
    --font-modern: 'Literata', Georgia, serif;
    --bs-font-sans-serif: 'Literata', Georgia, serif;
    --font-sans-serif: 'Literata', Georgia, serif;

    --bs-body-bg: var(--color-cream);
    --bs-background: var(--color-cream);
    --bs-card-bg: var(--color-warm-white);
    --bs-primary: var(--color-gold-dark);
    --bs-secondary: var(--color-charcoal);
    --bs-success: var(--color-success-green);
    --bs-navbar-nav-link-padding-x: 2rem;
    --bs-btn-border-color: var(--color-gold) !important;
    --bs-btn-bg: var(--color-gold) !important;

    /* Area-Specific Theme Variables */
    /* Shop Theme - Red/Maroon */
    --theme-shop-primary: var(--color-rich-maroon);
    --theme-shop-accent: var(--color-deep-burgundy);
    --theme-shop-light: rgba(132, 10, 46, 0.1);

    /* Explore Theme - Warm Gold */
    --theme-explore-primary: var(--color-gold-dark);
    --theme-explore-accent: var(--color-gold);
    --theme-explore-light: rgba(201, 169, 98, 0.08);

    /* Community Theme - Warm Stone */
    --theme-community-primary: var(--color-charcoal);
    --theme-community-accent: var(--color-stone);
    --theme-community-light: rgba(139, 134, 128, 0.08);

    /* Cellar Theme - Gold/Amber */
    --theme-cellar-primary: #B8860B;
    --theme-cellar-accent: #DAA520;
    --theme-cellar-light: rgba(218, 165, 32, 0.1);
}

.bg-primary {
    background-color: var(--color-plum-purple);
    color: #fff !important;
}

.bg-purple {
    background-color: var(--color-plum-purple) !important;
    color: #fff !important;
}

/* Theme-aware background classes */
.bg-shop { background-color: var(--theme-shop-light); }
.bg-explore { background-color: var(--theme-explore-light); }
.bg-community { background-color: var(--theme-community-light); }
.bg-cellar { background-color: var(--theme-cellar-light); }

/* Bootstrap badge color overrides for theme consistency */
.badge.bg-info {
    background-color: var(--color-info-blue) !important;
    color: #fff !important;
}

.badge.bg-success {
    background-color: var(--color-success-green) !important;
    color: #fff !important;
}

/* bg-warning keeps Bootstrap default yellow with dark text - do not override */

.badge.bg-danger {
    background-color: var(--color-rich-maroon) !important;
    color: #fff !important;
}

.badge.bg-secondary {
    background-color: var(--color-muted-purple) !important;
    color: #fff !important;
}

/* ===== BADGE DESIGN SYSTEM ===== */
/* Standardized sizing tokens for consistent badge appearance */

/* Size tokens - add to :root or use directly */
.badge-size-xs { font-size: 0.7rem; padding: 0.2rem 0.5rem; }
.badge-size-sm { font-size: 0.75rem; padding: 0.25rem 0.625rem; }
.badge-size-md { font-size: 0.85rem; padding: 0.35rem 0.75rem; }
.badge-size-lg { font-size: 0.875rem; padding: 0.4rem 0.875rem; }

/* Semantic badge classes for deals */
/* Deal badges - refined editorial style */
.badge-deal-savings {
    font-family: var(--font-sans, 'DM Sans', sans-serif);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    padding: 0.25rem 0.6rem;
    background: rgba(46, 125, 50, 0.1) !important;
    color: #2E7D32 !important;
    border: 1px solid rgba(46, 125, 50, 0.2);
}

.badge-deal-flash {
    font-family: var(--font-sans, 'DM Sans', sans-serif);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    padding: 0.25rem 0.6rem;
    background: rgba(132, 10, 46, 0.1) !important;
    color: var(--color-rich-maroon, #840a2e) !important;
    border: 1px solid rgba(132, 10, 46, 0.2);
}

.badge-deal-limited {
    font-family: var(--font-sans, 'DM Sans', sans-serif);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    padding: 0.25rem 0.6rem;
    background: rgba(184, 134, 11, 0.1) !important;
    color: #8B6914 !important;
    border: 1px solid rgba(184, 134, 11, 0.2);
}

/* Refined shop action button - elegant editorial style */
.btn-shop-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.375rem;
    padding: 0.5rem 1rem;
    font-family: var(--font-sans, 'DM Sans', sans-serif);
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    text-decoration: none;
    color: var(--color-charcoal-muted, #555);
    background: white;
    border: 1px solid var(--color-stone, #D4CFC9);
    border-radius: 4px;
    transition: all 0.2s ease;
    cursor: pointer;
}

.btn-shop-action:hover {
    background: var(--color-cream-dark, #F5F0EB);
    border-color: var(--color-charcoal-light, #888);
    color: var(--color-charcoal, #2C2C2C);
}

.btn-shop-action i {
    font-size: 0.7rem;
    opacity: 0.6;
}

.btn-shop-action:hover i {
    opacity: 0.8;
}

/* Primary action variant - for main CTAs */
.btn-shop-action.btn-shop-primary {
    background: var(--color-charcoal, #2C2C2C);
    border-color: var(--color-charcoal, #2C2C2C);
    color: white;
}

.btn-shop-action.btn-shop-primary:hover {
    background: var(--color-charcoal-light, #444);
    border-color: var(--color-charcoal-light, #444);
    color: white;
}

/* Variant with gold accent */
.btn-shop-action.btn-gold {
    border-color: var(--color-gold, #C9A227);
    color: var(--color-gold-dark, #A08020);
}

.btn-shop-action.btn-gold:hover {
    background: rgba(201, 162, 39, 0.08);
    border-color: var(--color-gold-dark, #A08020);
    color: var(--color-gold-dark, #A08020);
}

/* Size variants */
.btn-shop-action.btn-shop-lg {
    padding: 0.625rem 1.375rem;
    font-size: 0.875rem;
}

.btn-shop-action.btn-shop-sm {
    padding: 0.3rem 0.65rem;
    font-size: 0.75rem;
}

/* Subtle/secondary variant */
.btn-shop-action.btn-shop-subtle {
    border-color: var(--color-border-subtle, #E8E4E1);
    color: var(--color-stone, #888);
}

.btn-shop-action.btn-shop-subtle:hover {
    border-color: var(--color-stone, #D4CFC9);
    background: var(--color-cream, #FAF8F5);
    color: var(--color-charcoal-muted, #555);
}

/* Full width variant */
.btn-shop-action.btn-shop-full {
    width: 100%;
}

/* Semantic badge classes for content types */
.badge-info-tag {
    font-size: 0.75rem;
    padding: 0.25rem 0.625rem;
    background-color: var(--color-info-blue) !important;
    color: #fff !important;
}

.badge-wine-type {
    font-size: 0.7rem;
    padding: 0.2rem 0.5rem;
    background-color: var(--color-muted-purple) !important;
    color: #fff !important;
}

.badge-varietal {
    font-size: 0.7rem;
    padding: 0.2rem 0.5rem;
    background-color: var(--color-plum-purple) !important;
    color: #fff !important;
}

.badge-region {
    font-size: 0.7rem;
    padding: 0.2rem 0.5rem;
    background-color: var(--color-primary-blue) !important;
    color: #fff !important;
}

/* Hero/featured area badges */
.badge-hero {
    font-size: 0.85rem;
    padding: 0.35rem 0.75rem;
    background: rgba(255, 255, 255, 0.2) !important;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff !important;
}

/* Live/event badges */
.badge-live {
    font-size: 0.7rem;
    padding: 0.25rem 0.625rem;
    background: rgba(255, 75, 75, 0.25);
    border: 1px solid rgba(255, 100, 100, 0.4);
    color: #fff !important;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    font-weight: 600;
}

.badge-live::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    background: #ff4b4b;
    border-radius: 50%;
    margin-right: 0.375rem;
    animation: pulse-live 1.5s ease-in-out infinite;
}

@keyframes pulse-live {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.8); }
}

/* Cellar-specific badges */
.badge-cellar-quantity {
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    background-color: var(--theme-cellar-primary) !important;
    color: #fff !important;
}

.badge-cellar-value {
    font-size: 0.7rem;
    padding: 0.2rem 0.5rem;
    background-color: var(--theme-cellar-accent) !important;
    color: #000 !important;
}

/* ===== END BADGE DESIGN SYSTEM ===== */

/* Standardized Card Base Classes */
.card-base {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.04);
    overflow: hidden;
}

.card-interactive {
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card-interactive:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

/* Theme-specific card accents */
.card-shop-accent {
    border-left: 3px solid var(--theme-shop-primary);
}

.card-explore-accent {
    border-left: 3px solid var(--theme-explore-primary);
}

.card-community-accent {
    border-left: 3px solid var(--theme-community-primary);
}

.card-cellar-accent {
    border-left: 3px solid var(--theme-cellar-primary);
}

/* Card hover lift (for inline styles replacement) */
.card-hover-lift {
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    border: none;
    transition: transform 0.2s, box-shadow 0.2s;
    cursor: pointer;
}

.card-hover-lift:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

/* Themed Button Variants */
.btn-shop {
    background: linear-gradient(135deg, var(--color-deep-burgundy) 0%, var(--color-rich-maroon) 100%);
    color: #fff !important;
    border: none;
}

.btn-shop:hover {
    background: linear-gradient(135deg, var(--color-rich-maroon) 0%, var(--color-deep-burgundy) 100%);
    color: #fff !important;
}

.btn-explore {
    background: linear-gradient(135deg, var(--color-brand-purple-start) 0%, var(--color-brand-purple-end) 100%);
    color: #fff !important;
    border: none;
}

.btn-explore:hover {
    background: linear-gradient(135deg, var(--color-brand-purple-end) 0%, var(--color-brand-purple-start) 100%);
    color: #fff !important;
}

.btn-cellar {
    background: linear-gradient(135deg, #8B6914 0%, #DAA520 100%);
    color: #fff !important;
    border: none;
}

.btn-cellar:hover {
    background: linear-gradient(135deg, #DAA520 0%, #8B6914 100%);
    color: #fff !important;
}

/* Outline variants */
.btn-outline-shop {
    color: var(--theme-shop-primary);
    border: 1px solid var(--theme-shop-primary);
    background: transparent;
}

.btn-outline-shop:hover {
    background: var(--theme-shop-light);
    color: var(--theme-shop-primary);
}

.btn-outline-explore {
    color: var(--theme-explore-primary);
    border: 1px solid var(--theme-explore-primary);
    background: transparent;
}

.btn-outline-explore:hover {
    background: var(--theme-explore-light);
    color: var(--theme-explore-primary);
}

.btn-outline-cellar {
    color: var(--theme-cellar-primary);
    border: 1px solid var(--theme-cellar-primary);
    background: transparent;
}

.btn-outline-cellar:hover {
    background: var(--theme-cellar-light);
    color: var(--theme-cellar-primary);
}

html, body {
    font-family: var(--bs-font-sans-serif), Helvetica, Arial, sans-serif;
}

.lora-text {
           font-family: "Lora", serif;
           font-optical-sizing: auto;
           font-weight: 400;
           font-style: normal;
       }
.lora-normal {
    font-family: "Lora", serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
}

.lora-bold {
    font-family: "Lora", serif;
    font-optical-sizing: auto;
    font-weight: 600;
    font-style: normal;
}

.lora-boldest {
    font-family: "Lora", serif;
    font-optical-sizing: auto;
    font-weight: 700;
    font-style: normal;
}



html {
    -webkit-tap-highlight-color: transparent;
}

body {
    color: #444;
    height: 100%;
    display: flex;
    min-height: 100vh;
    -ms-flex-direction: column;
    flex-direction: column;
    background-color: var(--bs-background);
    font-family: var(--font-body);
    position: relative;
}

/* Fix for Blazor back/forward navigation quirk with FontAwesome icons */
i {
    height: 1em;
}

/* Hero Section Outer Container */
.hero-section-outer {
    position: relative;
    padding: 40px 0 60px 0;
    margin-bottom: -40px; /* Overlap with main body */
    overflow: hidden;
    background-color: var(--bs-background);
}

/* Rounded Gradient Box in Hero - Dusty plum with warm undertones */
.hero-gradient-box {
    background: linear-gradient(135deg,
        #3A2A3D 0%,      /* dusty plum - anchor */
        #4A3D4C 25%,     /* mid plum */
        #5C4A52 50%,     /* plum-brown transition */
        #6B5A58 75%,     /* warm stone-mauve */
        #7A6860 100%);   /* warm grey endpoint */
    border-radius: 8px;
    padding: 3rem 2rem;
    box-shadow: 0 8px 32px rgba(58, 42, 61, 0.25);
    border: 1px solid rgba(140, 120, 115, 0.2);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.1;
    background-image: url('data:image/svg+xml,<svg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><g fill="%23ffffff" fill-opacity="0.1"><circle cx="30" cy="30" r="4"/></g></svg>');
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
}

.hero-badge .badge {
    font-size: 0.8125rem;
    font-weight: 500;
    font-family: var(--font-sans);
    background: rgba(168, 137, 154, 0.3) !important;
    color: white !important;
    border: 1px solid rgba(168, 137, 154, 0.5);
    letter-spacing: 0.03em;
}

.hero-title {
    font-family: var(--font-serif);
    font-size: 2.75rem;
    font-weight: 500;
    margin: 1rem 0 0.75rem 0;
    color: white;
    letter-spacing: -0.01em;
}

.hero-subtitle {
    font-family: var(--font-sans);
    font-size: 1rem;
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.85);
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* ===== DISCOVER PAGE - EDITORIAL REDESIGN ===== */

/* Discover Search Hero - Light, clean aesthetic */
.discover-search-hero {
    background: transparent;
    padding: 1.5rem 1.5rem 2rem;
    border-radius: 0;
}

.search-hero-content {
    max-width: 560px;
    margin: 0 auto;
    text-align: center;
}

.search-input-wrapper {
    position: relative;
    margin-bottom: 1rem;
}

.search-hero-input {
    width: 100%;
    padding: 0.875rem 3rem 0.875rem 1.25rem;
    font-size: 1rem;
    font-family: var(--font-sans);
    border: 1px solid var(--color-border-subtle);
    border-radius: 50px;
    background: var(--color-warm-white);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: all 0.2s ease;
    color: var(--color-charcoal);
}

.search-hero-input:focus {
    outline: none;
    border-color: var(--color-gold);
    box-shadow: 0 0 0 3px rgba(201, 169, 98, 0.15);
}

.search-hero-input::placeholder {
    color: var(--color-stone);
    font-style: italic;
}

.search-clear-btn {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--color-stone);
    cursor: pointer;
    padding: 0.25rem;
    font-size: 0.9rem;
}

.search-clear-btn:hover {
    color: var(--color-charcoal);
}

.suggested-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    font-size: 0.8125rem;
}

.suggested-label {
    color: var(--color-stone);
    font-weight: 500;
    letter-spacing: 0.02em;
}

.suggested-links a,
.suggested-links a:link,
.suggested-links a:visited,
.suggested-links a:active {
    color: var(--color-charcoal-light);
    text-decoration: none;
    padding: 0.25rem 0.625rem;
    border-radius: 4px;
    border: 1px solid transparent;
    transition: all 0.15s ease;
}

.suggested-links a:hover {
    border-color: var(--color-gold);
    color: var(--color-gold-dark);
    background: rgba(201, 169, 98, 0.08);
}

/* Discover Sections - Editorial style */
.discover-section {
    margin-bottom: 2.5rem;
}

.discover-section-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 1.25rem;
    padding-bottom: 0;
    border-bottom: none;
}

.discover-section-title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--color-charcoal);
    margin: 0;
    letter-spacing: -0.01em;
}

.discover-section-title i {
    display: none; /* Hide icons for cleaner look */
}

.discover-section-link,
.discover-section-link:link,
.discover-section-link:visited {
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--color-gold-dark);
    text-decoration: none;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.discover-section-link:hover {
    text-decoration: none;
    color: var(--color-gold);
}

/* List Cards */
.list-card {
    background: white;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.2s ease;
}

.list-card:hover {
    border-color: var(--color-dark-mauve, #5d1f55);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.list-card-header {
    height: 120px;
    overflow: hidden;
}

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

.list-cover-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--color-brand-purple-start, #431C4D) 0%, var(--color-brand-purple-end, #883068) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    opacity: 0.8;
}

.list-card-body {
    padding: 1rem;
}

.list-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: #1f2937;
    line-height: 1.3;
}

.list-description {
    font-size: 0.875rem;
    color: #6b7280;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.list-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.75rem;
    color: #9ca3af;
}

.list-count {
    font-weight: 500;
}

.list-owner {
    color: #6b7280;
}

/* Lists Grid */
.lists-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1.25rem;
}

/* Deal Alerts Badge - compact, dismissible */
.hero-deal-alerts {
    display: flex;
    justify-content: center;
}

.deal-alerts-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 50px;
    padding: 0.5rem 0.75rem 0.5rem 1rem;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
}

.deal-alerts-badge.subscribed {
    background: rgba(74, 222, 128, 0.2);
    border-color: rgba(74, 222, 128, 0.4);
}

.deal-alerts-badge i.fa-bell {
    font-size: 0.9rem;
    opacity: 0.8;
}

.deal-alerts-badge.subscribed i.fa-bell {
    color: #4ade80;
    opacity: 1;
}

.deal-alerts-badge .badge-action {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50px;
    color: white;
    padding: 0.3rem 0.6rem;
    font-size: 0.75rem;
    cursor: pointer;
    transition: background 0.2s;
}

.deal-alerts-badge .badge-action:hover {
    background: rgba(255, 255, 255, 0.3);
}

.deal-alerts-badge .badge-action.enable {
    background: rgba(255, 255, 255, 0.95);
    color: var(--color-rich-maroon, #840a2e);
    font-weight: 600;
}

.deal-alerts-badge .badge-action.enable:hover {
    background: white;
}

.deal-alerts-badge .badge-dismiss {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    padding: 0.2rem;
    cursor: pointer;
    font-size: 0.7rem;
    line-height: 1;
    transition: color 0.2s;
}

.deal-alerts-badge .badge-dismiss:hover {
    color: rgba(255, 255, 255, 0.9);
}

.deal-alerts-badge .spinner-border-sm {
    width: 0.85rem;
    height: 0.85rem;
    border-width: 0.15em;
}

.hero-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

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

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: white;
    line-height: 1.2;
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.3);
}

/* Main Body Container */
.main-body-container {
    position: relative;
    z-index: 2;
    min-height: calc(100vh - 200px);
    padding-top: 2rem;
}

/* Newsletter Card - Standalone with Shadow */
.newsletter-card-standalone {
    background: linear-gradient(135deg, var(--color-brand-purple-start) 0%, var(--color-brand-purple-end) 100%);
    border-radius: 20px;
    padding: 2rem;
    color: white;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(125, 47, 112, 0.3);
}

.newsletter-card-standalone::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.1) 0%, transparent 100%);
    pointer-events: none;
}

/* Newsletter Card - Sidebar Version */
.newsletter-card {
    background: linear-gradient(135deg, var(--color-brand-purple-start) 0%, var(--color-brand-purple-end) 100%);
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    color: white;
    position: relative;
    overflow: hidden;
}

.newsletter-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.1) 0%, transparent 100%);
    pointer-events: none;
}

.newsletter-content {
    position: relative;
    z-index: 2;
}

.newsletter-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: white;
}

.newsletter-subtitle {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.25rem;
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.newsletter-form-inline {
    display: flex;
    gap: 0.5rem;
}

.newsletter-input {
    flex: 1;
    padding: 0.875rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-family: var(--font-sans);
    font-size: 0.9375rem;
}

.newsletter-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.newsletter-input:focus {
    outline: none;
    border-color: var(--color-mauve);
    background: rgba(255, 255, 255, 0.15);
}

.newsletter-button {
    padding: 0.875rem 1.5rem;
    background: var(--color-mauve);
    color: white;
    border: none;
    border-radius: 4px;
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    letter-spacing: 0.02em;
}

.newsletter-button:hover:not(:disabled) {
    background: #b89aab; /* Lighter dusty rose on hover */
}

.newsletter-button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.spinner {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.newsletter-message {
    padding: 0.5rem;
    border-radius: 6px;
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}

.newsletter-message.success {
    background: rgba(40, 167, 69, 0.2);
    color: #d4edda;
    border: 1px solid rgba(40, 167, 69, 0.3);
}

.newsletter-message.error {
    background: rgba(220, 53, 69, 0.2);
    color: #f8d7da;
    border: 1px solid rgba(220, 53, 69, 0.3);
}

.newsletter-disclaimer {
    color: rgba(255, 255, 255, 0.7) !important;
    font-size: 0.8rem;
}

/* Feed Cards */
.feed-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.feed-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.feed-image-container {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

/* Image type variations */
.feed-image-container.bottle-shot {
    aspect-ratio: 3/4; /* Tall vertical for full bottle photography */
    background: linear-gradient(135deg, #ffffff 0%, #fafafa 100%);
}

.feed-image-container.label-image {
    aspect-ratio: 1/1; /* Square for label close-ups */
    background: #ffffff;
}

.feed-image-container.product-photo {
    aspect-ratio: 4/3; /* Classic product photography ratio */
}

.feed-image-container.editorial {
    aspect-ratio: 16/9; /* Wide for editorial/lifestyle content */
}

.feed-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    /* Ensure images don't lose quality when scaled */
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

/* Image display strategies by type */
.feed-image.bottle-shot {
    object-fit: cover;
    object-position: center 20%; /* Focus on upper portion for bottles */
}

.feed-image.label-image {
    object-fit: contain;
    padding: 12px;
    background: #ffffff;
}

.feed-image.product-photo {
    object-fit: cover;
    object-position: center 30%;
}

.feed-image.editorial {
    object-fit: cover;
    object-position: center center;
}

.feed-card:hover .feed-image {
    transform: scale(1.02);
}

.feed-badges {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    display: flex;
    gap: 0.5rem;
}

.feed-badges .badge {
    backdrop-filter: blur(10px);
    font-weight: 500;
    font-size: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Deal price overlay on images */
.deal-price-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.6) 60%, rgba(0, 0, 0, 0) 100%);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 16px;
    color: white;
    z-index: 2;
}

.deal-price-overlay .original-price {
    text-decoration: line-through;
    opacity: 0.7;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
}

.deal-price-overlay .sale-price {
    font-size: 1.75rem;
    font-weight: bold;
    color: #10b981;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.deal-price-overlay .discount-badge {
    background: rgba(220, 38, 38, 0.95);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-weight: 600;
}

.feed-content {
    padding: 1.5rem;
}

/* Side-by-side layout */
.feed-card-side {
    display: flex;
    gap: 1.5rem;
}

.feed-card-side .feed-content {
    flex: 1;
    min-width: 0;
}

.feed-image-side {
    width: 250px;
    flex-shrink: 0;
    aspect-ratio: 3/4;
    overflow: hidden;
    border-radius: 8px;
}

.feed-image-side .feed-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Compact layout */
.feed-card-compact {
    padding: 1.5rem;
}

.feed-image-compact {
    margin: 1rem 0;
    max-height: 200px;
    overflow: hidden;
    border-radius: 8px;
}

.feed-image-compact .feed-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

/* Hybrid layout */
.feed-card-hybrid {
    padding: 1.5rem;
}

.feed-card-with-bg {
    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
}

/* Deal Event card styling - subtle burgundy border accent */
.feed-card-event {
    background: white;
    border-left: 4px solid var(--color-rich-maroon, #840a2e);
    position: relative;
    overflow: hidden;
}

.feed-card-event-badge {
    position: absolute;
    top: 0;
    right: 0;
    background: linear-gradient(135deg, var(--color-deep-burgundy, #320c2a) 0%, var(--color-rich-maroon, #840a2e) 100%);
    color: #fff;
    padding: 0.35rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    border-bottom-left-radius: 12px;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: #ef4444;
    border-radius: 50%;
    animation: pulse-animation 1.5s ease-in-out infinite;
}

@keyframes pulse-animation {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.6;
        transform: scale(1.2);
    }
}

.event-urgency-note {
    font-size: 0.8rem;
    color: var(--color-rich-maroon, #840a2e);
    font-style: italic;
}

/* Thumbnail variations by vendor type */
.feed-image-thumbnail {
    width: 100px;
    height: 100px;
    flex-shrink: 0;
    overflow: hidden;
    border-radius: 8px;
}

.feed-image-thumbnail-bottle {
    width: 150px;
    height: 200px;
    flex-shrink: 0;
    overflow: hidden;
    border-radius: 8px;
}

.feed-image-thumbnail-tiny {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    overflow: hidden;
    border-radius: 8px;
}

.feed-image-thumbnail-wide {
    width: 160px;
    height: 90px;
    flex-shrink: 0;
    overflow: hidden;
    border-radius: 8px;
}

.feed-image-thumbnail .feed-image,
.feed-image-thumbnail-bottle .feed-image,
.feed-image-thumbnail-tiny .feed-image,
.feed-image-thumbnail-wide .feed-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Remove card background issues */
.card {
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-stats {
        gap: 1rem;
    }

    .stat-divider {
        display: none;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .hero-gradient-box {
        border-radius: 16px;
        padding: 1.5rem 1rem;
    }

    .main-body-container {
        border-radius: 24px 24px 0 0;
        padding-top: 1.5rem;
    }

    .hero-section-outer {
        padding: 30px 0 50px 0;
        margin-bottom: -30px;
    }
}

#colorbar {
    background: linear-gradient(to right, #6C5961, #3B2F36);
    position: relative;
    top: 0;
    height: 4px;
    width: 100%;
}

@-webkit-keyframes colorbarAnimated {
    0%{background-position:0% 50%}
    50%{background-position:100% 50%}
    100%{background-position:0% 50%}
}
@-moz-keyframes colorbarAnimated {
    0%{background-position:0% 50%}
    50%{background-position:100% 50%}
    100%{background-position:0% 50%}
}
@keyframes colorbarAnimated {
    0%{background-position:0% 50%}
    50%{background-position:100% 50%}
    100%{background-position:0% 50%}
}

#body-bg {
    content: ' ';
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    opacity: 0.1;
    /*background-image: url('/images/background.png');*/
    background-repeat: no-repeat;
    background-position: 50% 0;
    background-size: cover;
    z-index:-1;
}

main {
    flex: 1 0 auto;
}

a, a:active, a:link, a:visited {
    color: var(--color-plum-purple);
    text-decoration: none;
    color: var(--color-primary-blue);
} 

.navbar-brand-icon {
    display: inline-block;
    float: left;
    margin-right: 10px;

    & img {
        height: 60px;
        background-color: rgba(252,252,252,1);
        border: 4px solid rgba(252,252,252,1);
        border-radius: 50%;
        margin-top: -5px;
        transition: transform ease 0.3s;
        /*box-shadow: 0 0 10px rgba(252, 252, 252, 0.5);*/

        &:hover {
            transform: rotate(-5deg) scale(1.1);
        }
    }
}
*:focus {
    box-shadow: none !important;
}

.gradient-text {
    background-image: linear-gradient(to bottom, #9c0b51 60%, #2e2a4f 90%) !important;
    /*-webkit-text-stroke: 1px #2e2a4f;*/
    color: transparent !important;

    -webkit-background-clip: text;
    background-clip: text;
    display: inline-block; 
}

.navbar-brand {
    font-family: var(--font-serif);
    color: var(--color-rich-maroon);
    font-size: 28pt;
    letter-spacing: -2px !important;
    margin-top: -10px;
    margin-right: 2rem;
    font-weight: 500;

    & img {
        height: 22px;
        margin-top: -15px;
    }
}
.navbar-collapse { 
    margin-top: -15px;
}

.vinelog-logo {
    background: linear-gradient(135deg, var(--color-brand-purple-start) 0%, var(--color-brand-purple-end) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 2px 4px rgba(67, 28, 77, 0.25));
}

/* Global Breadcrumb Styles */
.vl-breadcrumbs {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8125rem;
    margin-bottom: 1.25rem;
    flex-wrap: wrap;
    padding: 0.625rem 0;
    border-bottom: 1px solid #f1f3f5;
}

.vl-breadcrumbs a {
    color: #868e96;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    transition: color 0.15s;
}

.vl-breadcrumbs a:hover {
    color: var(--color-plum-purple, #7d2f70);
}

.vl-breadcrumbs .sep {
    color: #ced4da;
    font-size: 0.75rem;
}

.vl-breadcrumbs .current {
    color: #212529;
    font-weight: 600;
    background: linear-gradient(135deg, var(--color-brand-purple-start) 0%, var(--color-brand-purple-end) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Icon sizing in breadcrumbs */
.vl-breadcrumbs i {
    font-size: 0.75rem;
    opacity: 0.7;
}

article {
    padding-top: 1.5em;
}


h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-sans-serif);
    color: var(--color-plum-purple);
    margin-bottom: 1.1rem;
    
    a:link, a:active, a:visited {
        color: var(--color-plum-purple);
    }
}

    h1 {
        font-size: 16pt;

        img {
            height: 1.5em;
        }
    }

h2 {
    font-family: var(--font-serif), serif;
    font-size: 14pt;
}
h3 { font-size: 13pt;}
h5 { font-size: 12pt;}

h1:focus {
    outline: none;
}

h4  {
    font-size: 12pt;
    color: var(--color-muted-purple);
    text-transform: uppercase;
    font-family: "Lora", serif;
    font-optical-sizing: auto;
    font-weight: 600;
    font-style: normal;

}

.btn-warning {
    color: var(--color-off-white) !important;
    background-color: var(--color-warning-orange);
    border-color: var(--border-warning-orange);
}
.btn-primary  {
    color: var(--color-off-white) !important;
    background-color: var(--color-primary-blue) !important;
    border-color: var(--border-primary-blue) !important;
}

.btn-secondary {
    color: var(--color-off-white) !important;
    background-color: var(--color-rich-maroon);
    border-color: var(--border-rich-maroon);
}

.btn-success {
    color: var(--color-off-white) !important;
    background-color: var(--color-success-green) !important;
    border-color: var(--border-success-green) !important;
}
.btn-success-outline { 
    border-color: var(--color-success-green) !important;
    color: var(--color-success-green) !important;
    
    &:hover { 
        background-color: var(--color-success-green) !important;
        color: var(--color-off-white) !important;
    }
}

.subheader { font-size: smaller !important; }

.text-warning {
    color: var(--color-warning-orange) !important;
}
.text-success { 
    color: var(--color-success-green) !important;
}
.text-primary { 
    color: var(--color-primary-blue) !important;
}
.text-info {
    color: var(--color-info-blue) !important;
}

.btn-danger {
    color: var(--color-off-white) !important;
    background-color: var(--color-rich-maroon);
    border-color: var(--border-rich-maroon);
    a, a:active, a:link, a:visited {
        color: var(--color-off-white);
    }
}

.btn-info {
    color: var(--color-off-white) !important;
    background-color: var(--color-info-blue);
    border-color: var(--border-info-blue);
    a, a:active, a:link, a:visited {
        color: var(--color-off-white);
    }
}

/* Removed duplicate .btn-success - see line 1007 */

/*.btn-light {*/
/*    color: var(--color-plum-purple);*/
/*    background-color: var(--color-warm-grey);*/
/*    border-color: var(--border-warm-grey);*/
/*    */
/*    a, a:active, a:link, a:visited {*/
/*        color: var(--color-off-white);*/
/*    }}*/

.btn-dark {
    color: var(--color-off-white) !important;
    background-color: var(--color-deep-burgundy);
    border-color: var(--border-deep-burgundy);
    a, a:active, a:link, a:visited {
        color: var(--color-off-white);
    }}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.img-round-border-xs {
    background-image: url('/images/border4.png');
    background-repeat: no-repeat;
    background-size: contain;
    height: 2em;
    width: 2em;
    padding: 0.1em 0.5em;
    
    & img {
        max-height: 1em;
        border-radius: 50%;
    }
}
.img-round-border-sm {
    background-image: url('/images/border4.png');
    background-repeat: no-repeat;
    background-size: contain;
    height: 50px;
    width: 50px;
    padding: 5px;

    & img {
        max-height: 30px;
        border-radius: 50%;
        margin: 5px;

    }
}
.img-round-border {
    background-image: url('/images/border4.png');
    background-repeat: no-repeat;
    background-size: contain;
    height: 70px;
    width: 70px;
    padding: 8px;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 50%;


    & img {
        max-height: 45px;
        border-radius: 50%;
        margin: 5px;
    }
}

.img-round-border-lg {
    background-image: url('/images/border4.png');
    background-repeat: no-repeat;
    background-size: contain;
    height: 90px;
    width: 90px;
    padding: 12px;

    & img {
        max-height: 56px;
        border-radius: 50%;
        margin: 5px;
    }
}

.img-round-border-xl {
    background-image: url('/images/border6.png');
    background-repeat: no-repeat;
    background-size: contain;
    height: 100px;
    width: 100px;
    padding: 15px 20px;
    display: inline-block;
    color: #fff;

    .currency {
        font-family: var(--font-sans-serif);
        font-size: 16pt;
        display: inline-block;
        top: 20px;
        left: 5px;
        position: absolute;
        color: #fff;
    }

    & .price {
        font-family: var(--font-serif);
        font-size: 30pt;
        letter-spacing: -2px;
        position: absolute;
        top: 0;
        left: 15px;
        color: #fff;
    }

    & div {
        font-size: 50px;
        font-family: var(--font-serif);
        color: var(--color-vine-red);
        border-radius: 50%;
        height: 100px;
        width: 100px;
        margin-left: auto;
        margin-right: auto;
        display: inline-block;
    }

    & img {
        max-height: 80px;
        border-radius: 50%;
        margin: 5px;
    }
}

a.nav-link, a.nav-link:link, a.nav-link:active, a.nav-link:visited {
    color: var(--color-muted-purple);
    font-size: 18px;
    text-align: center !important;
    transition: color 0.2s ease;
    margin-left: 1rem;
    margin-right: 1rem;
}
.subheader {
    & a.nav-link, & a.nav-link:link, & a.nav-link:active, & a.nav-link:visited
    {
        font-size: 11pt;
        padding: 4px 1rem;
        text-align: left;
    }
    & .nav-link.active {
        background-color: var(--color-muted-purple);
    }

}

.nav-link img {
        height: 30px;
        transition: filter 0.2s ease, transform 0.3s ease;
        margin-right: 10px;
    }
.nav-link:hover img {
    transform: scale(1.1) rotate(-5deg);
    filter: none;
}
.nav-link.btn { }

.content {
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }
    
.icon, i { 
    font-size: 1em !important;
    height: 1em;
}

.font-script {
    font-family: 'Shadows Into Light', 'Neuton', serif;
}


.navbar-light .navbar-toggler-icon {
    background-color: var(--bs-dark);
}


/* Modern Glassy Footer */
.footer-modern {
    margin-top: 5rem;
    flex-shrink: 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 50%, #f1f3f5 100%);
    position: relative;
}

.footer-glass {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.8);
    padding: 3rem 0 1.5rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-modern .footer-brand {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-logo {
    font-family: 'Avenir Next', 'Avenir', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--color-logo-purple-start, #2D1438) 0%, var(--color-logo-purple-end, #5A2D52) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    letter-spacing: -0.02em;
}

.footer-logo:hover {
    opacity: 0.85;
}

.footer-tagline {
    color: #6c757d;
    font-size: 0.875rem;
    margin: 0;
}

.footer-modern .footer-social {
    display: flex;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.footer-modern .footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(125, 47, 112, 0.1);
    border-radius: 50%;
    color: var(--color-plum-purple, #7d2f70);
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.2s ease;
}

.footer-modern .footer-social a:hover {
    background: var(--color-plum-purple, #7d2f70);
    color: white;
    transform: translateY(-2px);
}

.footer-links h6.footer-heading {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #495057;
    margin-bottom: 1rem;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-links a {
    color: #6c757d;
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--color-plum-purple, #7d2f70);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.footer-copyright {
    font-size: 0.8rem;
    color: #6c757d;
}

.footer-note {
    font-size: 0.75rem;
    color: #adb5bd;
    font-style: italic;
}

/* Brand Family Section */
.footer-family {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    padding: 1.5rem 0;
    margin-bottom: 1rem;
}

.family-label {
    font-size: 0.8rem;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.family-brands {
    display: flex;
    gap: 1.5rem;
}

.family-brand {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    text-decoration: none;
    font-size: 0.95rem;
    padding: 0.35rem 0.75rem;
    border-radius: 6px;
    transition: background 0.2s;
}

.family-brand:hover {
    background: rgba(0, 0, 0, 0.04);
}

.family-brand .brand-icon {
    font-size: 1rem;
}

.family-brand.ensalle .brand-name {
    color: #c9884a;
    font-weight: 500;
}

.family-brand.sommwise .brand-name {
    color: #3d5a6c;
    font-weight: 500;
}

/* Footer Responsive */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .footer-modern .footer-brand {
        align-items: center;
    }

    .footer-modern .footer-social {
        justify-content: center;
    }

    .footer-links ul {
        align-items: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }

    .footer-family {
        flex-direction: column;
        gap: 0.75rem;
    }

    .family-brands {
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* Legacy footer styles (kept for compatibility) */
footer:not(.footer-modern) {
    background: linear-gradient(to right, #3B2F36, #6C5961);
    color: #D2C7C3 !important;
    padding: 4rem 0 2rem;
    margin-top: 5rem;
    flex-shrink: 0;
}

footer:not(.footer-modern) a:link, footer:not(.footer-modern) a:visited, footer:not(.footer-modern) a:not(.btn)
{
    color: var(--color-off-white) !important;
}

footer:not(.footer-modern) .logo {
    font-family: var(--font-sans-serif);
    color: var(--color-off-white) !important;
    font-size: 40pt;
    letter-spacing: -2px !important;
}


.img-deal {
    text-align: left;
    width: 30%;
    margin-right: 10px;
    overflow: hidden;
    background-repeat: no-repeat;
    background-position: bottom center;
    background-size: contain;
    border-radius: 10px;
    max-height: 300px;
}

.img-container {
    width: 100%; /* Full width of the parent */
    
    position: relative; /* Relative positioning for absolute child */
}

    .img-container .img-cover, .img-container .img-contain {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-position: bottom center;
        border-radius: 10px;
    }
.img-cover {
    object-fit: cover; /* Ensures the image covers the container */
}
.img-contain {
    object-fit: contain;
}
.feed-item {
    margin-bottom: 2rem;
    padding: 0 0 0.5rem;
    border: none;
    background: transparent !important;
}

.feed-item-header { 
    margin-bottom: 10px;
}
.feed-icon { margin-right: 10px; }
.feed-item-title { margin-top: 0.25rem;}
.feed-icon img {
    /*height: 2.5rem;*/
    max-height: 40px;
    max-width: 40px;
    background-image: url('/images/border-new.png');
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 50%;
    padding:5px;
}

.btn-with-icon {
    & img {
        max-height: 30px;
        max-width: 30px;
        border-radius: 50%;
        background-color: #fff;
        float: left;
    }
}
.img-profile {
    width: 40px; /* Set a fixed size */
    height: 40px;

    border-radius: 50%;
    background-color: #fff;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1), /* Subtle shadow */
    0 4px 6px rgba(0, 0, 0, 0.05); /* Softer shadow */
    position: relative;
    overflow: hidden;
}
.img-profile::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 50%; /* Only the top half */
    background: linear-gradient(0deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0)); /* Fade reflection */
    opacity: 0.6; /* Subtle reflection */
    pointer-events: none; /* Prevent interactions */
}

.text-smaller { font-size: 85%; }
.text-smallest { font-size: 10pt; }
.text-larger { font-size: 115%; }
.text-larger { font-size: 115%; }
.text-lg-1 { font-size: 115%; }
.text-lg-2 { font-size: 120%; }
.text-lg-3 { font-size: 135%; }
.text-lg-4 { font-size: 150%; }
.text-lg-5 { font-size: 175%; }

.navbar-profile-icon {
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;

    & img {
        width: 32px;
        height: 32px;
        border-radius: 50%;
        border: 2px solid rgba(108, 89, 97, 0.1);
        transition: all 0.2s ease;
        object-fit: cover;
    }

    &:hover img {
        border-color: var(--wine-primary);
        box-shadow: 0 0 0 1px var(--wine-primary);
        transform: none;
    }
}

.navbar-login-icon {
    background: transparent;
    border: none;
    border-radius: 0;
    width: auto;
    height: auto;

    & img,
    & .login-icon-img {
        width: 28px;
        height: 28px;
        border: none;
        border-radius: 0;
        box-shadow: none;
        opacity: 0.85;
        transition: all 0.2s ease;
        object-fit: contain;
    }

    &:hover img,
    &:hover .login-icon-img {
        opacity: 1;
        transform: translateY(-1px);
        border: none;
        box-shadow: none;
    }
}
.navbar-profile-icon-2 {
    /*margin-right: auto !important;*/
    transition: transform ease 0.1s;
    display: inline-block;
    margin-right: 0;
    /*padding: 3px;*/
    /*background-color: rgb(252,252,252);*/
    /*border: 3px solid #2e5952;*/
    /*height: 80px;*/
    /*border-radius: 50%;*/
    & img {
        padding: 10px;
        height: 60px;
        border-radius: 50%;
        /*margin: 3px;*/
        /*border: 3px solid #a50559;*/
        border: 3px solid #fcfcfc;
        background-color: #fcfcfc;
        background-image: url('/images/border-new.png');
        background-repeat: no-repeat;
        background-size: cover;
        margin-right: 0;
        
    }
    &:hover img {
        transform: rotate(0deg) scale(1.3);
    }
}

.border-custom {
    display: inline-block;
    padding: 3px; /* First layer of #fff padding */
    background-color: rgb(252,252,252);
    border: 3px solid #a50559; /* First colored border */
    border-radius: 50%;
    position: relative;

    & img {
        display: block;
        border-radius: 50%;
        height: 60px; /* Adjust as needed */
        width: 60px;
    }

}

.border-custom::after {
    content: "";
    position: absolute;
    top: -6px; /* Adjust based on total padding + border width */
    left: -6px;
    right: -6px;
    bottom: -6px;
    background-color: rgb(252,252,252);
    border: 3px solid #2e5952; /* Second colored border */
    border-radius: 50%;
}



.font-serif { 
    font-family: var(--font-serif);
}

.loading-bar {
    background: linear-gradient(271deg, #a30b36, #d8ff3a, #ff3a3a) !important;
    background-size: 600% 600% !important;

    -webkit-animation: LoadingBar 16s ease infinite;
    -moz-animation: LoadingBar 16s ease infinite;
    animation: LoadingBar 16s ease infinite;
}


.text-truncate-y {
    /*white-space: pre-wrap;*/
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 5;
}

.text-truncate-y-5 {
    /*white-space: pre-wrap;*/
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 5;
}

.text-truncate-y-3 {
    /*white-space: pre-wrap;*/
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

#blazor-error-ui .dismiss {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}

  
h1.divided { 
    padding: 0.5rem 0;
    margin: 0.5rem 0;
    border-top: 1px solid #fefefe;
    border-bottom: 1px solid #fefefe;
    
}

i { height: 100%; }
.price-strikethrough {
    text-decoration: line-through;
    color: #a10000;
    
    span { color: #606060; }
}

.navbar-nav .nav-link.active, .navbar-nav .nav-link.show {
    border-radius: 10px !important;
    /* Color now handled by area-specific selectors */
}

.navbar-nav .nav-link.active .nav-icon,
.navbar-nav .nav-link.show .nav-icon {
    /* Color now handled by area-specific selectors */
    opacity: 1;
}

h1.underline, h2.underline, h3.underline, h4.underline, h5.underline, h6.underline, h6.underline { 
    border-bottom: 1px solid #f0f0f0;
}

.text-black-50 * strong { font-weight: bold; color: #303030;}

.subtle-gradient {
    background: linear-gradient(to bottom, rgba(224, 224, 224, 0.3) 0%, rgba(255, 255, 255, 1) 75px);
    /*border-radius: 10px;*/
    
}

.subtle-gradient.flash-sale { 
    border-top: 2px solid var(--bs-danger);
    border-bottom: none 0;
}
.subtle-gradient.limited-offer {
    border-top: 2px solid var(--bs-warning);
    /*border-width: 2px; */
    /*border-style: solid;*/
    /*border-image: linear-gradient(to bottom, #000000 0, #000000 75%);*/
    /*border-radius: 8px;*/
    border-bottom: none 0;
}

.search-box { 
    background-color: #f9f9f9;
    border: 1px solid #f0f0f0;
    border-radius: 10px;
    & input { 
        background-color: inherit;
        border: none;
        outline: none;
    }
    & button { 
        background-color: transparent !important;
        border: none;
    }
}

.text-normal { font-weight: normal;}

.rz-g > div.subtle-gradient { border: none 0;
    border-radius: 0 !important;
    box-shadow: none !important;
}

[class^=rz-] img, [class^=rz-] svg {
    vertical-align: text-bottom !important;
}

/* Modern Header Styles */
#header {
    position: sticky;
    top: 0;
    z-index: 1030;
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    background: rgba(252, 252, 252, 0.8);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.navbar {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0.75rem 2rem;
}

.navbar-brand-modern {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    margin-right: 3rem;
    transition: all 0.2s ease;
}

.navbar-brand-modern:hover {
    text-decoration: none;
    opacity: 0.8;
}

.brand-icon {
    height: 40px;
    width: auto;
    transition: transform 0.2s ease;
}

.brand-text {
    font-family: var(--font-sans, 'DM Sans', sans-serif);
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--color-charcoal, #2C2C2C);
    letter-spacing: 0.15em;
    transition: all 0.2s ease;
}

.navbar-brand-modern:hover .brand-icon {
    transform: scale(1.02);
}

/* Legacy navbar-brand for backwards compatibility */
.navbar-brand {
    font-family: var(--font-serif);
    background: linear-gradient(135deg, var(--color-logo-purple-start) 0%, var(--color-logo-purple-end) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 24px;
    font-weight: 500;
    letter-spacing: -0.5px;
    margin-right: 3rem;
}

.navbar-nav {
    gap: 2rem;
}

/* Modern Navigation Icons - PNG Image Style */
.nav-icon-img {
    width: 24px;
    height: 24px;
    object-fit: contain;
    vertical-align: middle;
    margin-right: 0.375rem;
    opacity: 0.85;
    transition: all 0.2s ease;
}

.nav-link:hover .nav-icon-img {
    opacity: 1;
    transform: translateY(-1px);
}

.nav-link.active .nav-icon-img {
    opacity: 1;
}

/* Legacy SVG nav-icon support */
.nav-icon {
    width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    vertical-align: middle;
    margin-right: 0.5rem;
    stroke: var(--color-stone);
    transition: all 0.2s ease;
}

.nav-link:hover .nav-icon {
    stroke: var(--color-gold-dark);
    transform: translateY(-1px);
}

.nav-link.active .nav-icon {
    stroke: var(--color-gold-dark);
}

/* Editorial Navigation Links */
.nav-link-editorial {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.nav-link-editorial span {
    font-family: var(--font-modern);
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.03em;
    text-transform: lowercase;
}

/* Dropdown icon - PNG version */
.dropdown-icon-img {
    width: 18px;
    height: 18px;
    object-fit: contain;
    vertical-align: middle;
    margin-right: 0.5rem;
    opacity: 0.8;
    transition: opacity 0.15s ease;
}

.dropdown-item:hover .dropdown-icon-img {
    opacity: 1;
}

/* Legacy SVG dropdown-icon support */
.dropdown-icon {
    width: 16px;
    height: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    vertical-align: middle;
    margin-right: 0.5rem;
    stroke: var(--color-stone);
    opacity: 0.8;
}

.dropdown-item:hover .dropdown-icon {
    stroke: var(--color-gold-dark);
    opacity: 1;
}

/* Login icon - PNG version */
.login-icon-img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.nav-link {
    font-family: var(--font-modern);
    font-weight: 500;
    font-size: 15px;
    color: #4A5568 !important;
    transition: color 0.2s ease;
    padding: 0.5rem 0 !important;
    position: relative;
}

.nav-link:hover {
    color: var(--wine-primary) !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--wine-primary);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Area-Specific Navigation Theming */
/* Shop nav (red/maroon) */
.nav-link[href^="/shop"]:hover,
.nav-link[href^="/shop"].active {
    color: var(--theme-shop-primary) !important;
}

.nav-link[href^="/shop"]::after {
    background: linear-gradient(135deg, var(--theme-shop-accent) 0%, var(--theme-shop-primary) 100%);
}

.nav-link[href^="/shop"]:hover::after,
.nav-link[href^="/shop"].active::after {
    width: 100%;
}

.nav-link[href^="/shop"]:hover img,
.nav-link[href^="/shop"].active img {
    filter: hue-rotate(-20deg) saturate(1.5);
}

.nav-link[href^="/shop"]:hover .nav-icon,
.nav-link[href^="/shop"].active .nav-icon {
    stroke: var(--theme-shop-primary);
}

/* Explore nav (purple) */
.nav-link[href^="/explore"]:hover,
.nav-link[href^="/explore"].active {
    color: var(--theme-explore-primary) !important;
}

.nav-link[href^="/explore"]::after {
    background: linear-gradient(135deg, var(--theme-explore-accent) 0%, var(--theme-explore-primary) 100%);
}

.nav-link[href^="/explore"]:hover::after,
.nav-link[href^="/explore"].active::after {
    width: 100%;
}

.nav-link[href^="/explore"]:hover img,
.nav-link[href^="/explore"].active img {
    filter: hue-rotate(280deg) saturate(1.3);
}

.nav-link[href^="/explore"]:hover .nav-icon,
.nav-link[href^="/explore"].active .nav-icon {
    stroke: var(--theme-explore-primary);
}

/* Community nav (purple - same as explore) */
.nav-link[href^="/community"]:hover,
.nav-link[href^="/community"].active {
    color: var(--theme-community-primary) !important;
}

.nav-link[href^="/community"]::after {
    background: linear-gradient(135deg, var(--theme-community-accent) 0%, var(--theme-community-primary) 100%);
}

.nav-link[href^="/community"]:hover::after,
.nav-link[href^="/community"].active::after {
    width: 100%;
}

.nav-link[href^="/community"]:hover img,
.nav-link[href^="/community"].active img {
    filter: hue-rotate(280deg) saturate(1.3);
}

/* Cellar nav (gold/amber) */
.nav-link[href^="/cellar"]:hover,
.nav-link[href^="/cellar"].active {
    color: var(--theme-cellar-primary) !important;
}

.nav-link[href^="/cellar"]::after {
    background: linear-gradient(135deg, #8B6914 0%, var(--theme-cellar-accent) 100%);
}

.nav-link[href^="/cellar"]:hover::after,
.nav-link[href^="/cellar"].active::after {
    width: 100%;
}

.nav-link[href^="/cellar"]:hover img,
.nav-link[href^="/cellar"].active img {
    filter: hue-rotate(30deg) saturate(1.5) brightness(1.1);
}

.nav-link[href^="/cellar"]:hover .nav-icon,
.nav-link[href^="/cellar"].active .nav-icon {
    stroke: var(--theme-cellar-primary);
}

/* Manage nav (admin) - subtle stone/charcoal */
.nav-link[href^="/manage"]:hover,
.nav-link[href^="/manage"].active {
    color: var(--color-charcoal) !important;
}

.nav-link[href^="/manage"]::after {
    background: linear-gradient(135deg, var(--color-stone) 0%, var(--color-charcoal) 100%);
}

.nav-link[href^="/manage"]:hover::after,
.nav-link[href^="/manage"].active::after {
    width: 100%;
}

.nav-link[href^="/manage"]:hover .nav-icon,
.nav-link[href^="/manage"].active .nav-icon {
    stroke: var(--color-charcoal);
}

/* Explore dropdown toggle (includes explore + community) */
.nav-item.dropdown .nav-link.dropdown-toggle:hover,
.nav-item.dropdown .nav-link.dropdown-toggle.active {
    color: var(--theme-explore-primary) !important;
}

.nav-item.dropdown .nav-link.dropdown-toggle::after {
    background: linear-gradient(135deg, var(--theme-explore-accent) 0%, var(--theme-explore-primary) 100%);
}

.nav-item.dropdown .nav-link.dropdown-toggle:hover::after,
.nav-item.dropdown .nav-link.dropdown-toggle.active::after {
    width: 100%;
}

.nav-item.dropdown .nav-link.dropdown-toggle:hover img,
.nav-item.dropdown .nav-link.dropdown-toggle.active img {
    filter: hue-rotate(280deg) saturate(1.3);
}

/* Dropdown menu styling */
.navbar-nav .dropdown-menu {
    border: none;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    padding: 0.5rem;
    min-width: 200px;
}

.navbar-nav .dropdown-item {
    border-radius: 8px;
    padding: 0.625rem 1rem;
    font-weight: 500;
    color: #4A5568;
    transition: all 0.2s ease;
}

.navbar-nav .dropdown-item:hover {
    background: var(--theme-explore-light);
    color: var(--theme-explore-primary);
}

.navbar-nav .dropdown-item:hover i {
    color: var(--theme-explore-primary) !important;
}

.navbar-nav .dropdown-item.active,
.navbar-nav .dropdown-item:active {
    background: var(--theme-explore-light);
    color: var(--theme-explore-primary);
}

/* Dropdown caret styling */
.nav-link.dropdown-toggle::after {
    display: inline-block;
    margin-left: 0.35em;
    vertical-align: 0.15em;
    content: "";
    border-top: 0.3em solid;
    border-right: 0.3em solid transparent;
    border-bottom: 0;
    border-left: 0.3em solid transparent;
    transition: transform 0.2s ease;
}

.nav-item.dropdown.show .nav-link.dropdown-toggle::after {
    transform: rotate(180deg);
}

/* Login button styles moved to line 1249 - removed duplicate */

/* Modern Feed Styles */
.hero-section {
    background: linear-gradient(135deg, var(--bs-primary) 0%, var(--color-vine-red) 100%);
    min-height: 60vh;
}

.min-vh-50 {
    min-height: 50vh;
}

.feed-container {
    max-width: 100%;
}

.feed-post {
    border: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.2s ease;
    border-radius: 12px;
}

.feed-post:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    transform: translateY(-1px);
}

.btn-ghost {
    background: none;
    border: none;
    color: #6c757d;
    padding: 0.25rem 0.5rem;
    transition: color 0.2s ease;
}

.btn-ghost:hover {
    color: var(--bs-primary);
    background: rgba(var(--bs-primary-rgb), 0.1);
}

.sticky-top {
    position: sticky;
    top: 100px; /* Add padding from top of viewport to avoid header cutoff */
    z-index: 1020;
}

/* Card Enhancements */
.card {
    border: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    transition: all 0.2s ease;
}

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

/* Gradient Pills & Filter Buttons */
.gradient-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
}

.gradient-pill-purple {
    background: linear-gradient(135deg, var(--color-brand-purple-start, #3D1A4A) 0%, var(--color-brand-purple-end, #6B4078) 100%);
    color: white;
}

.gradient-pill-purple:hover {
    background: linear-gradient(135deg, #4D2A5A 0%, #7B5088 100%);
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(61, 26, 74, 0.3);
}

.gradient-pill-burgundy {
    background: linear-gradient(135deg, var(--color-deep-burgundy, #320c2a) 0%, var(--color-rich-maroon, #840a2e) 100%);
    color: white;
}

.gradient-pill-burgundy:hover {
    background: linear-gradient(135deg, #421C3A 0%, #941A3E 100%);
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(50, 12, 42, 0.3);
}

.gradient-pill-outline {
    background: transparent;
    color: var(--color-muted-purple, #624d56);
    border: 1.5px solid rgba(98, 77, 86, 0.3);
}

.gradient-pill-outline:hover {
    background: rgba(98, 77, 86, 0.08);
    color: var(--color-dark-mauve, #5d1f55);
    border-color: rgba(98, 77, 86, 0.5);
}

/* Filter button group - refined editorial style */
.filter-btn-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.4rem 0.875rem;
    border-radius: 6px;
    font-family: var(--font-sans, 'DM Sans', sans-serif);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    text-decoration: none;
    transition: all 0.2s ease;
    border: 1px solid var(--color-stone, #E8E4E1);
    cursor: pointer;
    background: white;
    color: var(--color-charcoal, #2C2C2C);
}

.filter-btn:hover {
    background: rgba(125, 47, 112, 0.04);
    border-color: rgba(125, 47, 112, 0.2);
    color: var(--color-charcoal, #2C2C2C);
}

.filter-btn.active {
    background: rgba(125, 47, 112, 0.08);
    color: var(--color-plum-purple, #7d2f70);
    border-color: rgba(125, 47, 112, 0.25);
    box-shadow: inset 0 0 0 1px rgba(125, 47, 112, 0.1);
}

.filter-btn.active:hover {
    background: rgba(125, 47, 112, 0.12);
    border-color: rgba(125, 47, 112, 0.35);
}

/* Burgundy/Shop variant - subtle wine-red tint */
.filter-btn.active-burgundy,
.filter-btn.active-shop {
    background: rgba(132, 10, 46, 0.08);
    color: var(--color-rich-maroon, #840a2e);
    border-color: rgba(132, 10, 46, 0.25);
    box-shadow: inset 0 0 0 1px rgba(132, 10, 46, 0.1);
}

.filter-btn.active-burgundy:hover,
.filter-btn.active-shop:hover {
    background: rgba(132, 10, 46, 0.12);
    border-color: rgba(132, 10, 46, 0.35);
}

/* Home Filter Tabs - inline underline style */
.home-filter-tabs {
    display: flex;
    gap: 1.5rem;
    border-bottom: 1px solid var(--color-border-subtle, #E8E4E1);
    padding-bottom: 0;
}

.home-filter-tab {
    font-family: var(--font-sans, 'DM Sans', sans-serif);
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--color-soft-charcoal, #6B6B6B);
    background: none;
    border: none;
    padding: 0.5rem 0;
    cursor: pointer;
    position: relative;
    transition: color 0.2s ease;
}

.home-filter-tab::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 2px;
    background: transparent;
    transition: background 0.2s ease;
}

.home-filter-tab:hover {
    color: var(--color-charcoal, #2C2C2C);
}

.home-filter-tab.active {
    color: var(--color-plum-purple, #7d2f70);
}

.home-filter-tab.active::after {
    background: var(--color-plum-purple, #7d2f70);
}

/* Deals variant - gold underline */
.home-filter-tab.deals.active {
    color: var(--color-gold-dark, #B8860B);
}

.home-filter-tab.deals.active::after {
    background: var(--color-gold-dark, #B8860B);
}

/* Mobile adjustments */
@media (max-width: 575px) {
    .home-filter-tabs {
        gap: 1rem;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .home-filter-tabs::-webkit-scrollbar {
        display: none;
    }

    .home-filter-tab {
        font-size: 0.875rem;
        white-space: nowrap;
    }
}

/* Deal Alerts compact banner */
.deal-alerts-banner {
    background: linear-gradient(135deg, var(--color-plum-purple, #7d2f70) 0%, var(--color-mauve, #c17ba0) 100%);
    color: white;
    border-radius: 8px;
    padding: 0.65rem 1rem;
    font-size: 0.875rem;
    box-shadow: 0 2px 6px rgba(125, 47, 112, 0.15);
}

.deal-alerts-banner i {
    opacity: 0.9;
    font-size: 0.9rem;
}

.deal-alerts-banner .btn-light {
    background: rgba(255, 255, 255, 0.95);
    border: none;
    font-weight: 500;
    font-size: 0.8rem;
    padding: 0.35rem 0.75rem;
}

.deal-alerts-banner .btn-light:hover {
    background: white;
}

.deal-alerts-banner .btn-close {
    opacity: 0.7;
    font-size: 0.7rem;
}

.deal-alerts-banner .btn-close:hover {
    opacity: 1;
}

/* Inline deal alerts badge */
.deal-alerts-badge-inline {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(125, 47, 112, 0.08);
    color: var(--color-plum-purple, #7d2f70);
    border: 1px solid rgba(125, 47, 112, 0.15);
    border-radius: 50px;
    padding: 0.4rem 0.75rem;
    font-size: 0.8rem;
    font-weight: 500;
}

.deal-alerts-badge-inline.subscribed {
    background: rgba(82, 122, 93, 0.1);
    color: var(--color-success-green, #527A5D);
    border-color: rgba(82, 122, 93, 0.2);
}

.deal-alerts-badge-inline .badge-action-btn {
    background: var(--color-plum-purple, #7d2f70);
    color: white;
    border: none;
    border-radius: 50px;
    padding: 0.2rem 0.5rem;
    font-size: 0.7rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s ease;
}

.deal-alerts-badge-inline .badge-action-btn:hover {
    background: var(--color-dark-mauve, #5d1f55);
}

.deal-alerts-badge-inline .badge-dismiss-btn {
    background: transparent;
    border: none;
    color: inherit;
    opacity: 0.5;
    padding: 0.1rem 0.25rem;
    cursor: pointer;
    transition: opacity 0.15s ease;
}

.deal-alerts-badge-inline .badge-dismiss-btn:hover {
    opacity: 1;
}

/* Category cards with gradient hover */
.category-card {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    border-radius: 12px;
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.category-card:hover {
    background: linear-gradient(135deg, rgba(61, 26, 74, 0.08) 0%, rgba(107, 64, 120, 0.08) 100%);
    border-color: rgba(61, 26, 74, 0.15);
    color: var(--color-dark-mauve, #5d1f55);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(61, 26, 74, 0.1);
}

.category-card .category-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--color-brand-purple-start, #3D1A4A) 0%, var(--color-brand-purple-end, #6B4078) 100%);
    color: white;
    font-size: 1rem;
    transition: transform 0.2s ease;
}

.category-card .category-icon-img {
    width: 36px;
    height: 36px;
    object-fit: contain;
    transition: transform 0.2s ease;
}

.category-card:hover .category-icon,
.category-card:hover .category-icon-img {
    transform: scale(1.05);
}

/* Trending Entity Items */
.trending-entity-item {
    transition: all 0.2s ease;
    /* border-radius: 8px; */
    padding: 0.5rem;
    margin: 0 -0.5rem;
    border-bottom: 1px solid #e2e8f0;
}

.trending-entity-item:last-child {
    border-bottom: none;
}

.trending-entity-item:hover {
    background: rgba(102, 126, 234, 0.05);
}

/* Hover Effects */
.hover-bg-light:hover {
    background-color: rgba(0, 0, 0, 0.03);
    transition: background-color 0.15s ease-in-out;
}

.trending-entity-item.selected {
    background: rgba(102, 126, 234, 0.1);
}

/* Entity Profile Icons - consistent circle style with border */
.entity-profile-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: contain;
    background: #fff;
    border: 1px solid var(--color-border-subtle, #E8E4E1);
    padding: 2px;
}

.entity-profile-icon-lg {
    width: 48px;
    height: 48px;
    padding: 3px;
}

/* Deal Notes Teaser */
.deal-notes-teaser {
    color: #4a5568;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 0.5rem;
}

/* Markdown styling within deal notes */
.deal-notes-teaser p {
    margin-bottom: 0.5rem;
    display: inline;
}

.deal-notes-teaser strong,
.deal-notes-teaser b {
    font-weight: 700;
    color: #2d3748;
}

.deal-notes-teaser em,
.deal-notes-teaser i {
    font-style: italic;
}

.deal-notes-teaser code {
    background: rgba(102, 126, 234, 0.1);
    padding: 0.125rem 0.25rem;
    border-radius: 3px;
    font-size: 0.85em;
    font-family: 'Courier New', monospace;
}

.deal-notes-teaser ul,
.deal-notes-teaser ol {
    margin-left: 1.25rem;
    margin-bottom: 0.5rem;
}

.read-more-link {
    color: #667eea;
    font-weight: 600;
    text-decoration: none;
    font-size: 0.875rem;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.read-more-link:hover {
    color: #5568d3;
    text-decoration: underline;
}

/* Post Creation Card */
.post-creation-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: all 0.2s ease;
}

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

.post-creator-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #e2e8f0;
}

.post-input {
    width: 100%;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    resize: none;
    transition: all 0.2s ease;
    font-family: var(--font-body);
}

.post-input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.post-input::placeholder {
    color: #a0aec0;
}

/* Login Prompt for Anonymous Users */
.post-login-prompt {
    cursor: pointer;
    padding: 1rem;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
    border: 2px dashed rgba(102, 126, 234, 0.3);
    border-radius: 12px;
    transition: all 0.2s ease;
}

.post-login-prompt:hover {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    border-color: rgba(102, 126, 234, 0.5);
    transform: translateY(-1px);
}

.post-login-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-brand-purple-start) 0%, var(--color-brand-purple-end) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.post-login-text {
    font-size: 1rem;
    color: #4a5568;
    font-weight: 500;
}

.card-header {
    background: rgba(var(--bs-primary-rgb), 0.05);
    border-bottom: 1px solid rgba(var(--bs-primary-rgb), 0.1);
    border-radius: 12px 12px 0 0 !important;
}

/* Button Improvements */
.btn {
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.btn-primary {
    background-color: var(--bs-primary) !important;
    border-color: var(--border-primary-blue) !important;
    color: var(--color-off-white) !important;
}

.btn-primary:hover {
    background-color: var(--color-vine-red) !important;
    border-color: var(--border-rich-maroon) !important;
    color: var(--color-off-white) !important;
}

/* List Group Improvements */
.list-group-item {
    border: none;
    padding: 0.75rem 1rem;
    transition: all 0.2s ease;
    border-radius: 8px !important;
    margin-bottom: 0.25rem;
}

.list-group-item:hover {
    background: rgba(var(--bs-primary-rgb), 0.05);
}

.list-group-item.active {
    background: var(--bs-primary);
    color: white;
}

/* Typography */
.fw-bold {
    font-weight: 600;
}

/* Responsive Improvements */
@media (max-width: 768px) {
    .hero-section {
        min-height: 50vh;
    }

    .feed-post {
        margin-bottom: 1rem;
    }

    .container-fluid {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    /* Discover page mobile improvements */
    .discover-search-hero {
        padding: 1.5rem 1rem;
        border-radius: 12px;
    }

    .search-hero-input {
        font-size: 1rem;
        padding: 0.875rem 2.5rem 0.875rem 1rem;
    }

    .suggested-links {
        flex-wrap: wrap;
        justify-content: center;
    }

    .discover-section {
        margin-bottom: 1.75rem;
    }

    .discover-section-title {
        font-size: 1rem;
    }

    /* Activity filters - horizontal scroll on mobile */
    .activity-filters .d-flex {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 0.5rem;
        margin-bottom: -0.5rem;
        scrollbar-width: none;
    }

    .activity-filters .d-flex::-webkit-scrollbar {
        display: none;
    }

    .activity-filters .btn {
        flex-shrink: 0;
        white-space: nowrap;
    }

    /* Event cards - smaller date box */
    .event-date-box {
        width: 42px;
        padding: 4px;
    }

    .event-date-box .event-month {
        font-size: 0.6rem;
    }

    .event-date-box .event-day {
        font-size: 1.1rem;
    }

    /* Photo-forward cards - shorter on mobile */
    .photo-forward-card img {
        height: 160px;
    }

    /* Trending section - stack on mobile */
    .discover-section .row.g-3 > [class*="col-md-6"] {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

/* Extra small screens */
@media (max-width: 576px) {
    .discover-search-hero {
        padding: 1.25rem 0.75rem;
        margin-left: -0.75rem;
        margin-right: -0.75rem;
        border-radius: 0;
    }

    .suggested-links a {
        font-size: 0.75rem;
        padding: 0.25rem 0.5rem;
    }

    .discover-section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
}

/* Loading States */
.spinner-border {
    width: 1.5rem;
    height: 1.5rem;
}

/* Image Enhancements */
img {
    border-radius: 8px;
}

.rounded-circle {
    border-radius: 50% !important;
}

/* Gradient Backgrounds */
.bg-gradient-primary {
    background: linear-gradient(135deg, var(--bs-primary) 0%, var(--color-vine-red) 100%);
}

/* Login Page Styles */
.login-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f8f5f7 0%, #ede8ec 100%);
    padding: 2rem;
}

.login-content {
    width: 100%;
    max-width: 440px;
}

.login-brand {
    text-align: center;
    margin-bottom: 2rem;
}

.login-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 1rem;
}

.login-title {
    color: var(--color-plum-purple);
    font-size: 2.5rem;
    font-weight: 300;
    margin: 0;
    letter-spacing: 0.05em;
}

.login-card {
    background: #fff;
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.login-card h2 {
    color: var(--color-plum-purple);
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.login-card .form-floating {
    margin-bottom: 1rem;
}

.login-card .btn-primary {
    margin-top: 1rem;
    padding: 0.75rem;
    font-size: 1.1rem;
}

.login-card a {
    color: var(--color-primary-blue);
}

.login-card a:hover {
    color: var(--color-plum-purple);
}

@media (max-width: 576px) {
    .login-container {
        padding: 1rem;
    }

    .login-card {
        padding: 1.5rem;
    }

    .login-icon {
        width: 60px;
        height: 60px;
    }

    .login-title {
        font-size: 2rem;
    }
}
/* Compact post creation */
.post-creation-compact {
    transition: all 0.2s ease;
    border: 1px solid #e2e8f0;
}

.post-creation-compact:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.post-input-compact {
    padding: 0.75rem 1rem;
    background: #f8f9fa;
    border-radius: 24px;
    color: #6c757d;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.post-input-compact:hover {
    background: #e9ecef;
}

.post-action-icon {
    color: #6c757d;
    transition: color 0.2s ease;
    cursor: pointer;
}

.post-action-icon:hover {
    color: #495057;
}

/* Capture card for Instagram-style display */
.capture-card {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    aspect-ratio: 1;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.capture-card:hover {
    transform: scale(1.02);
}

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

.capture-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 0.5rem;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: white;
    font-weight: 500;
}

.capture-carousel {
    margin: 0 -0.125rem;
}

/* Feed item improvements */
.feed-item {
    transition: background-color 0.2s ease;
}

.feed-item:hover {
    background-color: #f8f9fa;
}

.feed-item:last-child {
    border-bottom: none !important;
}

/* Apple TV-style horizontal scrolling carousel */
.capture-carousel-scroll {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
    padding: 0.25rem 0;
    margin: 0 -0.25rem;
}

.capture-carousel-scroll::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.capture-card-scroll {
    position: relative;
    flex: 0 0 auto;
    width: 180px;
    height: 180px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    background: #000;
}

.capture-card-scroll:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    z-index: 1;
}

.capture-card-scroll img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Loading skeleton for capture cards */
.capture-card-scroll-skeleton {
    position: relative;
    flex: 0 0 auto;
    width: 180px;
    height: 180px;
    border-radius: 8px;
    overflow: hidden;
}

.capture-card-scroll-skeleton .placeholder {
    height: 180px !important;
    border-radius: 8px;
}

/* ===========================================
   CLUSTER / COMMUNITY CARDS
   =========================================== */

.cluster-card {
    background: white;
    border-radius: 16px;
    border: 1px solid #e5e7eb;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.cluster-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.12);
    border-color: #d1d5db;
}

.cluster-card-featured {
    border: 2px solid #7b3aed;
    box-shadow: 0 4px 20px rgba(123, 58, 237, 0.15);
}

.cluster-card-header {
    padding: 1.25rem 1.25rem 0;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.cluster-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.cluster-icon.icon-winery {
    background: linear-gradient(135deg, #7b3aed 0%, #a855f7 100%);
    color: white;
}

.cluster-icon.icon-varietal {
    background: linear-gradient(135deg, #059669 0%, #34d399 100%);
    color: white;
}

.cluster-icon.icon-region {
    background: linear-gradient(135deg, #dc2626 0%, #f87171 100%);
    color: white;
}

.cluster-icon.icon-community {
    background: linear-gradient(135deg, #3b82f6 0%, #60a5fa 100%);
    color: white;
}

.cluster-badge {
    background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);
    color: white;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.25rem 0.5rem;
    border-radius: 20px;
    display: flex;
    align-items: center;
}

.cluster-card-body {
    padding: 1rem 1.25rem;
    flex: 1;
}

.cluster-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.25rem;
    line-height: 1.3;
}

.cluster-subtitle {
    font-size: 0.85rem;
    color: #6b7280;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.cluster-stats {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.cluster-stats .stat {
    font-size: 0.8rem;
    color: #9ca3af;
}

.stat-badge {
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.2rem 0.5rem;
    border-radius: 20px;
}

.stat-badge.badge-winery {
    background: #faf5ff;
    color: #7c3aed;
}

.stat-badge.badge-varietal {
    background: #ecfdf5;
    color: #059669;
}

.stat-badge.badge-region {
    background: #fef2f2;
    color: #dc2626;
}

.stat-badge.badge-community {
    background: #eff6ff;
    color: #3b82f6;
}

.cluster-card-footer {
    padding: 0.75rem 1.25rem 1.25rem;
    border-top: 1px solid #f3f4f6;
    margin-top: auto;
}

.cluster-card-footer .btn {
    width: 100%;
}

/* Community browse page filter buttons - NOTE: Main .filter-btn defined earlier (line ~2151) */
/* These add additional themed filter states */

.filter-btn.active-explore,
.filter-btn.active-community {
    background: linear-gradient(135deg, var(--color-brand-purple-start) 0%, var(--color-brand-purple-end) 100%);
    color: white;
    border-color: transparent;
}

.filter-btn.active-cellar {
    background: linear-gradient(135deg, #8B6914 0%, #DAA520 100%);
    color: white;
    border-color: transparent;
}

/* =====================================================
   Vinelog Stars - Prestige Rating System
   ===================================================== */

/* Star rating display */
.vinelog-stars {
    color: #d4af37; /* Gold color for stars */
    font-size: 1.1em;
    letter-spacing: 0.05em;
}

.vinelog-stars-sm {
    color: #d4af37;
    font-size: 0.9em;
    letter-spacing: 0.02em;
}

.vinelog-stars-lg {
    color: #d4af37;
    font-size: 1.5em;
    letter-spacing: 0.08em;
}

/* Star rating with glow effect for high ratings */
.vinelog-stars-5 {
    text-shadow: 0 0 8px rgba(212, 175, 55, 0.5);
}

/* Designation badges */
.designation-badge {
    display: inline-block;
    padding: 0.25rem 0.6rem;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    border-radius: 4px;
    color: white;
    text-transform: uppercase;
}

/* The Vine - Premium purple gradient */
.designation-the-vine {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

/* Rising Vine - Pink gradient */
.designation-rising-vine {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    box-shadow: 0 2px 8px rgba(245, 87, 108, 0.3);
}

/* Green Leaf - Sustainability focus teal gradient */
.designation-green-leaf {
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
    box-shadow: 0 2px 8px rgba(56, 239, 125, 0.3);
}

/* Designation card section on entity pages */
.designation-section {
    background: linear-gradient(135deg, #fdfbf7 0%, #f5f0e6 100%);
    border: 1px solid #e8dcc8;
    border-radius: 8px;
    padding: 1.5rem;
}

.designation-section h4 {
    color: var(--color-plum-purple);
    font-family: var(--font-serif);
    margin-bottom: 1rem;
}

.designation-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid #e8dcc8;
}

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

.designation-item .designation-year {
    font-size: 0.85rem;
    color: #666;
    min-width: 50px;
}

.designation-item .designation-citation {
    font-style: italic;
    color: #555;
    font-size: 0.9rem;
    margin-top: 0.25rem;
}

/* Compact designation display for cards */
.designation-compact {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.designation-compact .vinelog-stars {
    font-size: 0.9em;
}

.designation-compact .designation-badge {
    padding: 0.15rem 0.4rem;
    font-size: 0.65rem;
}

/* ==========================================================================
   AUTH PAGES - Editorial Wine Magazine Design
   ========================================================================== */

/* Page Container */
.auth-page {
    min-height: 100vh;
    background: var(--color-cream, #FAF8F5);
    display: flex;
    flex-direction: column;
}

.auth-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.5rem 1.5rem 1rem;
    position: relative;
    overflow: hidden;
}

/* Decorative background pattern */
.auth-bg-pattern {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 80%, rgba(201, 169, 98, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(114, 47, 55, 0.04) 0%, transparent 50%),
        linear-gradient(135deg, transparent 40%, rgba(201, 169, 98, 0.03) 100%);
    pointer-events: none;
}

/* Content wrapper */
.auth-content {
    width: 100%;
    max-width: 420px;
    position: relative;
    z-index: 1;
}

/* Brand Header */
.auth-brand {
    text-align: center;
    margin-bottom: 1.5rem;
}

.auth-brand-link {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    transition: transform 0.2s ease;
}

.auth-brand-link:hover {
    transform: translateY(-2px);
}

.auth-logo {
    width: 72px;
    height: auto;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.08));
    transition: transform 0.2s ease;
}

.auth-brand-link:hover .auth-logo {
    transform: scale(1.02);
}

.auth-wordmark {
    font-family: var(--font-sans, 'DM Sans', sans-serif);
    font-size: 1.25rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    color: var(--color-charcoal, #2C2C2C);
}

/* Main Card */
.auth-card {
    background: var(--color-warm-white, #FDFCFA);
    border: 1px solid var(--color-border-subtle, rgba(0, 0, 0, 0.06));
    border-radius: 2px;
    padding: 2rem;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
}

.auth-card-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.auth-title {
    font-family: var(--font-serif, 'Cormorant Garamond', Georgia, serif);
    font-size: 1.75rem;
    font-weight: 500;
    color: var(--color-charcoal, #2C2C2C);
    margin: 0 0 0.5rem 0;
    letter-spacing: -0.01em;
}

.auth-subtitle {
    font-family: var(--font-sans, 'DM Sans', sans-serif);
    font-size: 0.9375rem;
    color: var(--color-stone, #8B8680);
    margin: 0;
}

/* Form Styles */
.auth-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.auth-field {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.auth-label {
    font-family: var(--font-sans, 'DM Sans', sans-serif);
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--color-charcoal, #2C2C2C);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.auth-input {
    font-family: var(--font-sans, 'DM Sans', sans-serif);
    font-size: 0.9375rem;
    padding: 0.875rem 1rem;
    border: 1px solid var(--color-border-medium, rgba(0, 0, 0, 0.1));
    border-radius: 2px;
    background: white;
    color: var(--color-charcoal, #2C2C2C);
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
    width: 100%;
}

.auth-input::placeholder {
    color: var(--color-stone-light, #B5B0A8);
}

.auth-input:focus {
    outline: none;
    border-color: var(--color-gold, #C9A962);
    box-shadow: 0 0 0 3px rgba(201, 169, 98, 0.12);
}

.auth-field-error {
    font-family: var(--font-sans, 'DM Sans', sans-serif);
    font-size: 0.8125rem;
    color: var(--color-wine-dark, #722F37);
}

.auth-validation-summary {
    font-family: var(--font-sans, 'DM Sans', sans-serif);
    font-size: 0.875rem;
    color: var(--color-wine-dark, #722F37);
    background: rgba(114, 47, 55, 0.08);
    padding: 0.75rem 1rem;
    border-radius: 2px;
    margin-bottom: 0.5rem;
}

.auth-validation-summary:empty {
    display: none;
}

/* Options row (remember me + forgot password) */
.auth-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.25rem 0;
}

.auth-checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-sans, 'DM Sans', sans-serif);
    font-size: 0.875rem;
    color: var(--color-charcoal-light, #4A4A4A);
    cursor: pointer;
    user-select: none;
}

.auth-checkbox {
    width: 18px;
    height: 18px;
    accent-color: var(--color-gold, #C9A962);
    cursor: pointer;
}

/* Links */
.auth-link {
    font-family: var(--font-sans, 'DM Sans', sans-serif);
    font-size: 0.875rem;
    color: var(--color-gold-dark, #A68B4B);
    text-decoration: none;
    transition: color 0.15s ease;
}

.auth-link:hover {
    color: var(--color-charcoal, #2C2C2C);
    text-decoration: underline;
}

/* Primary Button (Gold) */
.auth-btn-primary {
    font-family: var(--font-sans, 'DM Sans', sans-serif);
    font-size: 0.9375rem;
    font-weight: 500;
    padding: 0.875rem 1.5rem;
    background: var(--color-gold, #C9A962);
    color: var(--color-charcoal, #2C2C2C);
    border: none;
    border-radius: 2px;
    cursor: pointer;
    transition: background-color 0.15s ease, transform 0.1s ease;
    width: 100%;
    margin-top: 0.5rem;
}

.auth-btn-primary:hover {
    background: var(--color-gold-light, #D4BC7D);
}

.auth-btn-primary:active {
    transform: translateY(1px);
}

.auth-btn-primary:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(201, 169, 98, 0.3);
}

/* Secondary Button (Outlined) */
.auth-btn-secondary {
    display: block;
    font-family: var(--font-sans, 'DM Sans', sans-serif);
    font-size: 0.9375rem;
    font-weight: 500;
    padding: 0.75rem 1.5rem;
    background: transparent;
    color: var(--color-charcoal, #2C2C2C);
    border: 1px solid var(--color-border-medium, rgba(0, 0, 0, 0.1));
    border-radius: 2px;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.15s ease;
    width: 100%;
}

.auth-btn-secondary:hover {
    background: var(--color-cream, #FAF8F5);
    border-color: var(--color-stone, #8B8680);
}

/* Divider */
.auth-divider {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 1.25rem 0;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--color-border-subtle, rgba(0, 0, 0, 0.06));
}

.auth-divider span {
    font-family: var(--font-sans, 'DM Sans', sans-serif);
    font-size: 0.8125rem;
    color: var(--color-stone-light, #B5B0A8);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Alternate Actions */
.auth-alternate-actions {
    text-align: center;
}

.auth-alt-text {
    font-family: var(--font-sans, 'DM Sans', sans-serif);
    font-size: 0.875rem;
    color: var(--color-stone, #8B8680);
    margin: 0 0 0.75rem 0;
}

/* Help Links */
.auth-help-links {
    text-align: center;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--color-border-subtle, rgba(0, 0, 0, 0.06));
}

.auth-help-link {
    font-family: var(--font-sans, 'DM Sans', sans-serif);
    font-size: 0.8125rem;
    color: var(--color-stone, #8B8680);
    text-decoration: none;
    transition: color 0.15s ease;
}

.auth-help-link:hover {
    color: var(--color-gold-dark, #A68B4B);
}

/* Terms Text */
.auth-terms {
    font-family: var(--font-sans, 'DM Sans', sans-serif);
    font-size: 0.75rem;
    color: var(--color-stone, #8B8680);
    text-align: center;
    margin: 1rem 0 0 0;
    line-height: 1.5;
}

/* Message/Status Cards */
.auth-message {
    text-align: center;
    padding: 1rem 0;
}

.auth-message-icon {
    font-size: 3rem;
    color: var(--color-gold, #C9A962);
    margin-bottom: 1rem;
}

.auth-message-icon.success {
    color: var(--color-success-green, #527A5D);
}

.auth-message-icon.error {
    color: var(--color-wine-dark, #722F37);
}

.auth-message-title {
    font-family: var(--font-serif, 'Cormorant Garamond', Georgia, serif);
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--color-charcoal, #2C2C2C);
    margin: 0 0 0.5rem 0;
}

.auth-message-text {
    font-family: var(--font-sans, 'DM Sans', sans-serif);
    font-size: 0.9375rem;
    color: var(--color-stone, #8B8680);
    margin: 0 0 1.5rem 0;
    line-height: 1.6;
}

/* Footer */
.auth-footer {
    text-align: center;
    padding: 1rem;
    margin-top: auto;
}

.auth-footer p {
    font-family: var(--font-sans, 'DM Sans', sans-serif);
    font-size: 0.75rem;
    color: var(--color-stone-light, #B5B0A8);
    margin: 0;
}

/* Responsive */
@media (max-width: 576px) {
    .auth-container {
        padding: 1.5rem 1rem;
    }

    .auth-card {
        padding: 1.75rem 1.25rem;
    }

    .auth-logo {
        width: 60px;
    }

    .auth-wordmark {
        font-size: 1.125rem;
    }

    .auth-title {
        font-size: 1.5rem;
    }

    .auth-options {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
}

/* Alert styling for auth pages */
.auth-card .alert {
    font-family: var(--font-sans, 'DM Sans', sans-serif);
    font-size: 0.875rem;
    border-radius: 2px;
    border: none;
}

.auth-card .alert-info {
    background: rgba(93, 173, 226, 0.1);
    color: var(--color-charcoal, #2C2C2C);
}

.auth-card .alert-danger {
    background: rgba(114, 47, 55, 0.1);
    color: var(--color-wine-dark, #722F37);
}

.auth-card .alert-success {
    background: rgba(82, 122, 93, 0.1);
    color: var(--color-success-green, #527A5D);
}

/* OAuth Consent Page - Scopes List */
.auth-scopes {
    margin-bottom: 1.5rem;
}

.auth-scopes-label {
    font-family: var(--font-sans, 'DM Sans', sans-serif);
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--color-charcoal, #2C2C2C);
    margin-bottom: 0.75rem;
}

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

.auth-scope-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--color-border-subtle, rgba(0, 0, 0, 0.06));
}

.auth-scope-item:last-child {
    border-bottom: none;
}

.auth-scope-icon {
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.auth-scope-content {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.auth-scope-content strong {
    font-family: var(--font-sans, 'DM Sans', sans-serif);
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--color-charcoal, #2C2C2C);
}

.auth-scope-description {
    font-family: var(--font-sans, 'DM Sans', sans-serif);
    font-size: 0.8125rem;
    color: var(--color-stone, #8B8680);
    line-height: 1.4;
}

/* OAuth Info Box */
.auth-info-box {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1rem;
    background: rgba(93, 173, 226, 0.08);
    border-radius: 2px;
    margin-bottom: 1.5rem;
}

.auth-info-icon {
    flex-shrink: 0;
    color: var(--color-stone, #8B8680);
    margin-top: 0.125rem;
}

.auth-info-box span {
    font-family: var(--font-sans, 'DM Sans', sans-serif);
    font-size: 0.8125rem;
    color: var(--color-charcoal, #2C2C2C);
    line-height: 1.5;
}

/* OAuth Consent Note */
.auth-consent-note {
    font-family: var(--font-sans, 'DM Sans', sans-serif);
    font-size: 0.75rem;
    color: var(--color-stone, #8B8680);
    text-align: center;
    margin-top: 1.5rem;
    margin-bottom: 0;
    line-height: 1.5;
}

/* Checkbox Field (standalone) */
.auth-checkbox-field {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.25rem 0;
}

.auth-checkbox-field .auth-checkbox {
    flex-shrink: 0;
}

.auth-checkbox-field .auth-checkbox-label {
    margin: 0;
    cursor: pointer;
}

/* Code Input (for 2FA, recovery codes) */
.auth-input-code {
    font-family: 'SF Mono', 'Monaco', 'Menlo', monospace;
    font-size: 1.25rem;
    letter-spacing: 0.2em;
    text-align: center;
    text-transform: uppercase;
}

/* Info Note */
.auth-note {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-family: var(--font-sans, 'DM Sans', sans-serif);
    font-size: 0.8125rem;
    color: var(--color-stone, #8B8680);
    background: var(--color-cream, #FAF8F5);
    padding: 0.75rem 1rem;
    border-radius: 2px;
    margin: 0;
    line-height: 1.5;
}

.auth-note i {
    color: var(--color-gold-dark, #A68B4B);
    flex-shrink: 0;
    margin-top: 0.125rem;
}

/* Help Links - Text */
.auth-help-text {
    font-family: var(--font-sans, 'DM Sans', sans-serif);
    font-size: 0.8125rem;
    color: var(--color-stone, #8B8680);
    margin-right: 0.25rem;
}

.auth-help-separator {
    color: var(--color-stone-light, #B5B0A8);
    margin: 0 0.5rem;
}

/* Message Icon Variants */
.auth-message-icon-success {
    color: var(--color-success-green, #527A5D);
}

.auth-message-icon-error {
    color: var(--color-wine-dark, #722F37);
}

.auth-message-icon-warning {
    color: var(--color-warning-orange, #D17A45);
}

.auth-message-icon-info {
    color: var(--color-info-blue, #5DADE2);
}

/* ==========================================================================
   LEGAL PAGES - Terms of Service & Privacy Policy
   ========================================================================== */

.legal-page {
    min-height: 100vh;
    background: var(--color-cream, #FAF8F5);
}

.legal-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 3rem 1.5rem 4rem;
}

/* Header */
.legal-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--color-border-subtle, rgba(0, 0, 0, 0.06));
}

.legal-brand {
    display: inline-block;
    margin-bottom: 1.5rem;
}

.legal-logo {
    width: 56px;
    height: auto;
    transition: transform 0.2s ease;
}

.legal-brand:hover .legal-logo {
    transform: scale(1.05);
}

.legal-title {
    font-family: var(--font-serif, 'Cormorant Garamond', Georgia, serif);
    font-size: 2.5rem;
    font-weight: 500;
    color: var(--color-charcoal, #2C2C2C);
    margin: 0 0 0.5rem 0;
    letter-spacing: -0.02em;
}

.legal-updated {
    font-family: var(--font-sans, 'DM Sans', sans-serif);
    font-size: 0.875rem;
    color: var(--color-stone, #8B8680);
    margin: 0;
}

/* Content */
.legal-content {
    font-family: var(--font-sans, 'DM Sans', sans-serif);
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--color-charcoal-light, #4A4A4A);
}

.legal-intro {
    font-size: 1rem;
    color: var(--color-charcoal, #2C2C2C);
}

.legal-section {
    margin-bottom: 2.5rem;
}

.legal-section h2 {
    font-family: var(--font-serif, 'Cormorant Garamond', Georgia, serif);
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--color-charcoal, #2C2C2C);
    margin: 0 0 1rem 0;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--color-border-subtle, rgba(0, 0, 0, 0.06));
}

.legal-section h3 {
    font-family: var(--font-sans, 'DM Sans', sans-serif);
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-charcoal, #2C2C2C);
    margin: 1.5rem 0 0.75rem 0;
}

.legal-section h4 {
    font-family: var(--font-sans, 'DM Sans', sans-serif);
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--color-charcoal, #2C2C2C);
    margin: 1.25rem 0 0.5rem 0;
}

.legal-section p {
    margin: 0 0 1rem 0;
}

.legal-section ul {
    margin: 0 0 1rem 0;
    padding-left: 1.5rem;
}

.legal-section li {
    margin-bottom: 0.5rem;
}

.legal-section a {
    color: var(--color-gold-dark, #A68B4B);
    text-decoration: none;
    transition: color 0.15s ease;
}

.legal-section a:hover {
    color: var(--color-charcoal, #2C2C2C);
    text-decoration: underline;
}

/* Contact Address */
.legal-contact {
    font-style: normal;
    background: var(--color-warm-white, #FDFCFA);
    border: 1px solid var(--color-border-subtle, rgba(0, 0, 0, 0.06));
    border-radius: 2px;
    padding: 1.25rem 1.5rem;
    margin-top: 1rem;
}

.legal-contact strong {
    color: var(--color-charcoal, #2C2C2C);
}

/* Footer */
.legal-footer {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--color-border-subtle, rgba(0, 0, 0, 0.06));
    text-align: center;
}

.legal-back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-sans, 'DM Sans', sans-serif);
    font-size: 0.875rem;
    color: var(--color-stone, #8B8680);
    text-decoration: none;
    transition: color 0.15s ease;
}

.legal-back-link:hover {
    color: var(--color-gold-dark, #A68B4B);
}

/* Responsive */
@media (max-width: 640px) {
    .legal-container {
        padding: 2rem 1rem 3rem;
    }

    .legal-title {
        font-size: 2rem;
    }

    .legal-section h2 {
        font-size: 1.25rem;
    }

    .legal-content {
        font-size: 0.875rem;
    }
}
