/* ============================================
   CSS Reset and Base Styles
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Color Palette - Modern & Accessible */
    --primary-color: #2c3e50;
    --primary-light: #34495e;
    --primary-dark: #f4f5f8;
    --accent-color: #e74c3c;
    --accent-light: #ec7063;
    --accent-dark: #c0392b;
    --secondary-color: #3498db;
    --background-color: #ffffff;
    --background-light: #f8f9fa;
    --background-dark: #2c3e50;
    --text-color: #2c3e50;
    --text-light: #7f8c8d;
    --text-white: #ffffff;
    --border-color: #e0e0e0;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.2);
    
    /* Typography - Similar to The Citadel */
    --font-primary: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-display: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-script: 'Oswald', sans-serif;
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 2rem;
    --font-size-4xl: 2.5rem;
    --font-size-5xl: 3rem;
    --line-height-base: 1.6;
    --line-height-tight: 1.2;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    overflow-x: hidden;
    max-width: 100vw;
    width: 100%;
}

/* Ensure native [hidden] never renders (used by dropdowns/filters) */
[hidden] {
    display: none !important;
}

/* body {
    padding-top: 0px;
    font-family: var(--font-primary);
    font-size: var(--font-size-base);
    line-height: var(--line-height-base);
    color: var(--text-color);
    background-color: var(--background-color);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    max-width: 100vw;
    width: 100%;
} */

/* ============================================
   Accessibility: Screen Reader Only
   ============================================ */

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* ============================================
   Typography
   ============================================ */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: var(--line-height-tight);
    margin-bottom: var(--spacing-sm);
    color: var(--text-color);
}

h1 {
    font-size: var(--font-size-5xl);
}

h2 {
    font-size: var(--font-size-4xl);
    margin-bottom: var(--spacing-md);
}

h3 {
    font-size: var(--font-size-2xl);
}

p {
    margin-bottom: var(--spacing-sm);
}

a {
    color: var(--accent-color);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover,
a:focus {
    color: var(--accent-dark);
    text-decoration: underline;
    /* outline: 2px solid var(--accent-color); */
    outline-offset: 2px;
}

a:focus-visible {
    outline: 3px solid var(--accent-color);
    outline-offset: 3px;
}

/* ============================================
   Container and Layout
   ============================================ */

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* ============================================
   Header and Navigation
   ============================================ */

#header-container {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
    background-color: var(--background-color);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

#site-header {
    background-color: var(--background-color);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    width: 100%;
    margin: 0;
    padding: 0;
}

.nav-container {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    padding: var(--spacing-sm) var(--spacing-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--spacing-md);
}

.nav-container > .logo {
    order: 1;
}

.nav-container > .nav-menu {
    order: 2;
}

.nav-container > .header-search {
    order: 3;
}

.logo {
    flex-shrink: 0;
}

.logo a {
    display: inline-block;
    text-decoration: none;
}

.logo-image {
    max-height: 85px;
    max-width: 280px;
    height: auto;
    width: auto;
    object-fit: contain;
    display: block;
}

.logo a:hover,
.logo a:focus {
    opacity: 0.9;
    transition: opacity var(--transition-base);
}

/* Header Search - Icon only by default */
.header-search {
    display: flex !important;
    align-items: center;
    flex: 0 0 auto;
    position: relative;
    margin-left: var(--spacing-md);
    visibility: visible;
    opacity: 1;
}

.header-search .search-input {
    display: none;
    position: absolute;
    top: calc(100% + var(--spacing-xs));
    right: 0;
    min-width: 300px;
    padding: var(--spacing-sm);
    padding-right: 45px;
    z-index: 1000;
    box-shadow: var(--shadow-md);
    background-color: var(--background-color);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: var(--font-size-base);
    font-family: var(--font-primary);
}

.header-search.active .search-input {
    display: block;
}

.header-search .search-toggle {
    display: flex !important;
    background: none;
    border: none;
    padding: var(--spacing-xs);
    cursor: pointer;
    color: var(--text-color);
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    transition: background-color var(--transition-base), color var(--transition-base);
    min-width: 44px;
    min-height: 44px;
    visibility: visible;
    opacity: 1;
}

.header-search .search-submit {
    display: none;
    position: absolute;
    right: 4px;
    top: calc(100% + var(--spacing-xs) + 22px);
    transform: translateY(-50%);
    z-index: 1001;
    background: none;
    border: none;
    padding: var(--spacing-xs);
    cursor: pointer;
    color: var(--text-color);
}

.header-search.active .search-submit {
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-search button:hover,
.header-search button:focus {
    background-color: var(--background-light);
    color: var(--primary-color);
    outline: none;
}

.header-search button:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

.header-search svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: var(--spacing-md);
    align-items: center;
    flex-wrap: nowrap;
    white-space: nowrap;
    margin: 0;
    padding: 0;
    margin-left: auto;
}

.nav-menu a {
    padding: var(--spacing-xs) var(--spacing-sm);
    font-weight: 500;
    display: block;
    color: var(--text-color);
    font-size: var(--font-size-base);
    transition: color var(--transition-fast);
    white-space: nowrap;
    text-decoration: none;
    text-transform: uppercase;
}

.nav-menu a:hover,
.nav-menu a:focus {
    text-decoration: underline;
    text-decoration-thickness: 3px;
    text-underline-offset: 4px;
}

.nav-menu a.active {
    font-weight: bold;
    text-decoration: underline;
    text-decoration-thickness: 3px;
    text-underline-offset: 4px;
}

.menu-toggle {
    display: none;
    background: none;
    border: 2px solid var(--primary-color);
    padding: var(--spacing-xs) var(--spacing-sm);
    cursor: pointer;
    font-size: var(--font-size-lg);
    color: var(--primary-color);
    border-radius: var(--radius-sm);
    min-height: 44px;
    min-width: 44px;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.menu-toggle:hover,
.menu-toggle:focus {
    background-color: var(--primary-color);
    color: var(--text-white);
    outline-offset: 2px;
}

.menu-icon {
    display: inline-block;
    width: 24px;
    height: 3px;
    background-color: currentColor;
    position: relative;
}

.menu-icon::before,
.menu-icon::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: currentColor;
    left: 0;
}

.menu-icon::before {
    top: -8px;
}

.menu-icon::after {
    top: 8px;
}
/* Medium screens - Logo centered, nav below with flex wrap (790px to 1530px) */
@media (min-width: 1200px) and (max-width: 1530px) {
    /* Keep logo + nav + search all on ONE line in this range */
    .nav-container {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: var(--spacing-md);
        padding: var(--spacing-sm) var(--spacing-md);
        flex-wrap: nowrap;
    }
    
    .nav-container > .logo {
        order: 1;
        width: auto;
        text-align: left;
        margin-bottom: 0;
        flex-shrink: 0;
    }
    
    .nav-container > .nav-menu {
        order: 2;
        width: auto;
        margin-left: 0;
        display: flex !important;
        flex: 1 1 auto;
        justify-content: center;
        flex-wrap: nowrap;
        gap: var(--spacing-sm);
        min-width: 0; /* allow shrinking so search stays on same row */
        overflow-x: auto;
        overflow-y: hidden;
        white-space: nowrap;
    }
    
    .nav-container > .header-search {
        order: 3;
        margin-left: 0;
        margin-top: 0;
        flex-shrink: 0;
    }
    
    .nav-menu li {
        flex-shrink: 0;
    }
    
    .nav-menu a {
        font-size: 0.9rem;
        padding: var(--spacing-xs) var(--spacing-sm);
        white-space: nowrap;
    }
    
    #site-header {
        overflow: visible;
    }
    
    .menu-toggle {
        display: none;
    }
}

/* Mobile Navigation */
@media (max-width: 1200px) {
    #site-header {
        overflow: visible;
    }
    
    .nav-container {
        flex-wrap: wrap;
        padding: var(--spacing-sm) var(--spacing-md);
        position: relative;
    }
    
    .menu-toggle {
        display: flex;
        order: 0;
    }
    
    .logo {
        flex: 1;
        order: 1;
        text-align: center;
        min-width: 0;
    }
    
    .logo-image {
        max-height: 63.75px; /* 25% reduction from 85px */
        max-width: 210px; /* 25% reduction from 280px */
    }
    
    .header-search {
        order: 2;
        margin-left: 0;
    }
    
    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--background-color);
        flex-direction: column;
        padding: var(--spacing-md);
        box-shadow: var(--shadow-md);
        display: none !important;
        gap: 0;
        white-space: normal;
        z-index: 1001;
        width: 100%;
        order: 3;
        margin-left: 0;
        margin: 0;
        max-height: calc(100vh - 100px);
        overflow-y: auto;
        border-top: 1px solid var(--border-color);
    }
    
    .nav-menu.active {
        display: flex !important;
        max-width: 50%;
    }
    
    .nav-menu li {
        width: 100%;
    }
    
    .nav-menu a {
        padding: var(--spacing-sm);
        border-bottom: 1px solid var(--border-color);
        width: 100%;
        text-align: left;
    }
    
    .nav-menu a:last-child {
        border-bottom: none;
    }
}

/* ============================================
   Hero Section
   ============================================ */

.hero {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--text-white);
    text-align: center;
    padding: var(--spacing-2xl) var(--spacing-md);
    overflow: hidden;
}

/* Hero spotlight (image, not full width, white background) */
.hero.hero-spotlight {
    background: #ffffff;
    min-height: auto;
    padding: 0 var(--spacing-md);
    color: var(--text-color);
}

.hero.hero-spotlight::before {
    display: none;
}

.hero-spotlight-inner {
    width: 100%;
    max-width: 1200px; /* not full width */
    margin: 0 auto;
    position: relative;
    border: 2px solid #deddda;
    background: #ffffff;
}

.hero-spotlight-image {
    display: block;
    width: 100%;
    height: 560px;
    object-fit: cover;
}

.hero-spotlight-banner {
    position: absolute;
    left: 50%;
    bottom: 18px;
    transform: translateX(-50%);
    background: rgba(231, 76, 60, 0.78); /* orange w/ transparency */
    color: #ffffff;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.06em;
    padding: 12px 18px;
    text-align: center;
    width: calc(100% - 36px);
    max-width: 720px;
}

@media (max-width: 600px) {
    .hero-spotlight-image {
        height: 320px;
    }
    .hero-spotlight-banner {
        bottom: 12px;
        padding: 10px 14px;
        width: calc(100% - 24px);
    }
}

/* Triumvirate section (3 tiles with image + button) */
.triumvirate {
    padding: 40px 0;
}

.triumvirate-holder {
    display: flex;
    gap: 20px;
}

.triumvirate-holder > div {
    flex: 1 1 auto;
}

.triumvirate-holder figure {
    position: relative;
}

.triumvirate-holder figure img {
    object-fit: cover;
    aspect-ratio: 400 / 350;
    width: 100%;
    height: 350px;
    display: block;
}

.triumvirate-holder picture {
    border-bottom: 70px solid #f8f9fa;
    display: block;
}

.triumvirate-holder figcaption {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    line-height: 1.125;
    width: 100%;
}

.triumvirate-btn.btn {
    padding: 12.5px 30px;
    border: 0;
    border-radius: 100px;
    background-color: #e74c3c;
    color: #ffffff;
    font-weight: bold;
    transition: all 0.5s;
    -webkit-transition: all 0.5s;
    text-decoration: none;
}

.triumvirate-holder a:hover .triumvirate-btn.btn,
.triumvirate-holder a:focus .triumvirate-btn.btn,
.triumvirate-btn.btn:hover,
.triumvirate-btn.btn:focus {
    background-color: #ff6b6b;
    box-shadow: 0 0 20px rgba(255, 107, 107, 0.31);
    transform: scale(1.1);
}

.triumvirate-btn.btn:active {
    background-color: #c0392b;
    transition: all 0.25s;
    -webkit-transition: all 0.25s;
    box-shadow: none;
    transform: scale(0.98);
}

@media (max-width: 1000px) {
    .triumvirate-holder > div:last-of-type {
        display: none;
    }
}

@media (max-width: 600px) {
    .triumvirate-holder {
        flex-wrap: wrap;
    }

    .triumvirate-holder > div:last-of-type {
        display: block;
    }
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    color: var(--text-white);
    font-size: var(--font-size-5xl);
    margin-bottom: var(--spacing-md);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 0.8s ease;
}

.hero-subtitle {
    font-size: var(--font-size-2xl);
    font-weight: 300;
    margin-bottom: var(--spacing-sm);
    color: rgba(255, 255, 255, 0.95);
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-description {
    font-size: var(--font-size-lg);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0;
    animation: fadeInUp 0.8s ease 0.4s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   Sections
   ============================================ */

section {
    padding: var(--spacing-sm) 0;
}

.section-title {
    text-align: center;
    color: var(--primary-color);
    font-family: var(--font-script);
    font-weight: 100;
    text-transform: none;
    font-size: 46.5px;
    margin: var(--spacing-md) 0;
}

/* ============================================
   Section Header
   ============================================ */


.section-subtitle {
    font-size: var(--font-size-lg);
    color: var(--text-light);
    margin-top: var(--spacing-xs);
}

.section-action {
    text-align: center;
    margin-top: var(--spacing-xl);
}

.section-action .btn {
    padding: 12.5px 30px;
    border: 0;
    border-radius: 100px;
    background-color: #e74c3c;
    color: #ffffff;
    font-weight: bold;
    transition: all 0.5s;
    -webkit-transition: all 0.5s;
}

.section-action .btn:hover,
.section-action .btn:focus {
    background-color: #ff6b6b;
    box-shadow: 0 0 20px rgba(255, 107, 107, 0.31);
    transform: scale(1.1);
    outline: none;
}

.section-action .btn:active {
    background-color: #c0392b;
    transition: all 0.25s;
    -webkit-transition: all 0.25s;
    box-shadow: none;
    transform: scale(0.98);
}

/* Stores: Directory Map button - same red uiverse style */
.btn.directory-map-btn {
    padding: 12.5px 30px;
    border: 0;
    border-radius: 100px;
    background-color: #e74c3c;
    color: #ffffff;
    font-weight: bold;
    transition: all 0.5s;
    -webkit-transition: all 0.5s;
    text-decoration: none;
}

.btn.directory-map-btn:hover,
.btn.directory-map-btn:focus {
    background-color: #ff6b6b;
    box-shadow: 0 0 20px rgba(255, 107, 107, 0.31);
    transform: scale(1.1);
    text-decoration: none;
}

.btn.directory-map-btn:active {
    background-color: #c0392b;
    transition: all 0.25s;
    -webkit-transition: all 0.25s;
    box-shadow: none;
    transform: scale(0.98);
}

/* ============================================
   Buttons
   ============================================ */

/* Facebook Follow Banner */
.facebook-banner {
    background-color: transparent;
    padding: 0;
    text-align: center;
    width: 100%;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.facebook-banner .container {
    padding: 0;
    max-width: 100%;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.facebook-banner-link {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    border-radius: 0;
    background-color: #e74c3c;
    color: #ffffff;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.5s;
    -webkit-transition: all 0.5s;
    font-size: var(--font-size-base);
    width: 100%;
    height: 100%;
    opacity: 0.85;
}

.facebook-banner-link:hover,
.facebook-banner-link:focus {
    background-color: #e74c3c;
    color: #ffffff;
    text-decoration: none;
    opacity: 1;
}

.facebook-banner-link:focus {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

.btn {
    display: inline-block;
    padding: 12.5px 30px;
    border: 0;
    border-radius: 100px;
    background-color: #e74c3c;
    color: #ffffff;
    font-weight: bold;
    transition: all 0.5s;
    -webkit-transition: all 0.5s;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
    min-height: 44px;
    min-width: 44px;
    line-height: 1.5;
}

.btn:hover,
.btn:focus {
    background-color: #ff6b6b;
    box-shadow: 0 0 20px rgba(255, 107, 107, 0.31);
    transform: scale(1.1);
    outline: none;
}

.btn:active {
    background-color: #c0392b;
    transition: all 0.25s;
    -webkit-transition: all 0.25s;
    box-shadow: none;
    transform: scale(0.98);
}

/* Homepage buttons - same red uiverse style */
.page-home .btn,
.page-home .btn-primary,
.page-home .btn-secondary {
    padding: 12.5px 30px;
    border: 0;
    border-radius: 100px;
    background-color: #e74c3c;
    color: #ffffff;
    font-weight: bold;
    transition: all 0.5s;
    -webkit-transition: all 0.5s;
}

.page-home .btn:hover,
.page-home .btn:focus,
.page-home .btn-primary:hover,
.page-home .btn-primary:focus,
.page-home .btn-secondary:hover,
.page-home .btn-secondary:focus {
    background-color: #ff6b6b;
    box-shadow: 0 0 20px rgba(255, 107, 107, 0.31);
    transform: scale(1.1);
    outline: none;
}

.page-home .btn:active,
.page-home .btn-primary:active,
.page-home .btn-secondary:active {
    background-color: #c0392b;
    transition: all 0.25s;
    -webkit-transition: all 0.25s;
    box-shadow: none;
    transform: scale(0.98);
}

.btn-primary {
    padding: 12.5px 30px;
    border: 0;
    border-radius: 100px;
    background-color: #e74c3c;
    color: #ffffff;
    font-weight: bold;
    transition: all 0.5s;
    -webkit-transition: all 0.5s;
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: #ff6b6b;
    box-shadow: 0 0 20px rgba(255, 107, 107, 0.31);
    transform: scale(1.1);
    outline: none;
}

.btn-primary:active {
    background-color: #c0392b;
    transition: all 0.25s;
    -webkit-transition: all 0.25s;
    box-shadow: none;
    transform: scale(0.98);
}

/* ============================================
   Stores Section
   ============================================ */

.stores-grid {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 260px;
    gap: 0;
    justify-content: center;
    overflow-x: hidden;
    padding-bottom: var(--spacing-md);
    -webkit-overflow-scrolling: touch;
    scroll-behavior: auto;
}

/* Hide scrollbar if it becomes scrollable via user interaction */
.stores-grid::-webkit-scrollbar {
    display: none;
}
.stores-grid {
    scrollbar-width: none; /* Firefox */
}

@media (prefers-reduced-motion: reduce) {
    .stores-grid {
        scroll-behavior: auto;
    }
}

.store-card {
    background-color: var(--background-color);
    padding: var(--spacing-md);
    border: 1px solid #deddda;
    text-align: left;
    width: 260px;
    margin: 0;
    transition: transform var(--transition-base), box-shadow var(--transition-base);
} 

.store-card:hover,
.store-card:focus-within {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.store-logo {
    display: block;
    width: 72px;
    height: 72px;
    object-fit: contain;
    margin-bottom: var(--spacing-sm);
}

.slider-btn svg {
    width: 24px;
    height: 24px;
}

.slider-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

@media (max-width: 479px) {
    .slider-btn {
        width: 40px;
        height: 40px;
    }
    
    .slider-btn svg {
        width: 20px;
        height: 20px;
    }
    
    .slider-btn-prev {
        left: var(--spacing-xs);
    }
    
    .slider-btn-next {
        right: var(--spacing-xs);
    }
}

.store-card:hover,
.store-card:focus-within {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
}

.store-icon {
    font-size: 3.5rem;
    margin-bottom: var(--spacing-md);
    display: block;
}

.store-card h3 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-xs);
    font-size: var(--font-size-xl);
}

.store-category {
    color: var(--accent-color);
    font-weight: 600;
    font-size: var(--font-size-sm);
    margin-bottom: var(--spacing-xs);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.store-description {
    color: var(--text-light);
    margin-bottom: 0;
    font-size: var(--font-size-sm);
}

/* ============================================
   Newsletter Section
   ============================================ */

.newsletter-section {
    background-color: var(--background-light);
    /* color: var(--text-transparent); */
    padding: var(--spacing-2xl) 0;
}

.newsletter-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.newsletter-content h2 {
    color: #000000;
    font-family: var(--font-script);
    font-size: 46.5px;
    font-weight: 100;
    line-height: 1.125;
    margin-bottom: var(--spacing-xs);
    margin-top: 0;
    text-transform: none;
}

.newsletter-content > p {
    font-size: var(--font-size-lg);
    color: #000000;
    margin-bottom: var(--spacing-xl);
}

.newsletter-form {
    display: flex;
    gap: var(--spacing-sm);
    flex-direction: column;
    margin-bottom: var(--spacing-sm);
}

.newsletter-form input {
    padding: var(--spacing-sm) var(--spacing-md);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: var(--font-size-base);
    font-family: var(--font-primary);
    background-color: #ffffff;
    color: var(--text-color);
    min-height: 44px;
    width: 100%;
    transition: border-color var(--transition-fast);
}

.newsletter-form input:focus {
    outline: 3px solid var(--accent-color);
    outline-offset: 2px;
    border-color: var(--accent-color);
}

.newsletter-form input::placeholder {
    color: var(--text-light);
}

.newsletter-note {
    font-size: var(--font-size-sm);
    color: #000000;
    margin-bottom: 0;
}

.newsletter-message {
    padding: var(--spacing-sm);
    border-radius: var(--radius-md);
    margin-top: var(--spacing-sm);
    font-weight: 600;
    text-align: center;
    display: none;
}

.newsletter-message-success {
    background-color: rgba(40, 167, 69, 0.2);
    color: #28a745;
    border: 2px solid #28a745;
}

.newsletter-message-error {
    background-color: rgba(220, 53, 69, 0.2);
    color: #dc3545;
    border: 2px solid #dc3545;
}

/* ============================================
   Info Section
   ============================================ */

.info-section-block {
    padding: var(--spacing-sm);
    background-color: var(--background-color);
}

.info-section-block h2 {
    color: var(--primary-color);
    font-size: var(--font-size-2xl);
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    font-family: var(--font-display);
}

.info-section-block p {
    color: var(--text-color);
    line-height: var(--line-height-base);
    margin-bottom: var(--spacing-md);
}

.info-section-block p:last-child {
    margin-bottom: 0;
}

.info-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.info-list li {
    color: var(--text-color);
    line-height: var(--line-height-base);
    margin-bottom: var(--spacing-sm);
    padding-left: var(--spacing-md);
    position: relative;
}

.info-list li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
    font-size: 1.2em;
}

.info-list li:last-child {
    margin-bottom: 0;
}

.info-contact-note {
    font-weight: 600;
    color: var(--primary-color);
    margin-top: var(--spacing-md);
}

.privacy-content {
    max-width: 800px;
    margin: 0 auto;
}

.privacy-section-block {
    padding: var(--spacing-sm);
    background-color: var(--background-color);
}

.privacy-section-block h2 {
    color: var(--primary-color);
    font-size: var(--font-size-2xl);
    font-weight: 700;
    /* margin-bottom: var(--spacing-md); */
    font-family: var(--font-display);
}

.privacy-section-block p {
    color: var(--text-color);
    line-height: var(--line-height-base);
    margin-bottom: var(--spacing-md);
}

.privacy-section-block p:last-child {
    margin-bottom: 0;
}

.privacy-list {
    list-style: none;
    padding: 0;
    margin: var(--spacing-md) 0;
}

.privacy-list li {
    color: var(--text-color);
    line-height: var(--line-height-base);
    margin-bottom: var(--spacing-sm);
    padding-left: var(--spacing-md);
    position: relative;
}

.privacy-list li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
    font-size: 1.2em;
}

.privacy-list li:last-child {
    margin-bottom: 0;
}

.privacy-contact {
    margin-top: var(--spacing-md);
}

.privacy-contact a {
    color: var(--accent-color);
    text-decoration: none;
}

.privacy-contact a:hover,
.privacy-contact a:focus {
    text-decoration: underline;
}

.info-section {
    background-color: #ffffff;
}

.info-section .container {
    max-width: none;
    padding: 0 var(--spacing-md);
}

.info-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
    justify-items: center;
}

.info-card {
    background-color: var(--background-color);
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    width: 100%;
    max-width: 420px;
}

/* Start flexing into grid between 1000px and 1778px */
@media (min-width: 1000px) and (max-width: 1778px) {
    .info-grid {
        grid-template-columns: repeat(auto-fit, minmax(420px, 1fr));
        gap: var(--spacing-md);
        justify-items: stretch;
    }
    
    .info-card {
        width: 420px;
        max-width: none;
    }
}

.info-card h3 {
    font-family: var(--font-script);
    font-size: 46.5px;
    font-weight: 100;
    line-height: 1.125;
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
    margin-top: 0;
    border-bottom: 3px solid var(--accent-color);
    padding-bottom: var(--spacing-xs);
    text-transform: none;
}

.holiday-notice {
    color: var(--accent-color);
    font-size: 0.6em;
    font-weight: bold;
    vertical-align: super;
    cursor: help;
}

.holiday-message {
    margin-top: var(--spacing-md);
    padding: var(--spacing-sm);
    background-color: #fff3cd;
    border-left: 4px solid var(--accent-color);
    border-radius: var(--radius-sm);
    font-size: var(--font-size-sm);
    line-height: 1.6;
}

.holiday-message strong {
    color: var(--accent-color);
    display: block;
    margin-bottom: var(--spacing-xs);
}

.holiday-message-inline {
    display: block;
    margin-top: var(--spacing-xs);
    padding: var(--spacing-xs) var(--spacing-sm);
    background-color: #fff3cd;
    border-left: 3px solid var(--accent-color);
    border-radius: var(--radius-sm);
    font-size: var(--font-size-sm);
    line-height: 1.5;
    width: 100%;
}

.holiday-message-inline strong {
    color: var(--accent-color);
    display: inline;
    margin-bottom: 0;
}

.info-card dl {
    margin: 0;
}

.info-card dt {
    font-weight: 600;
    color: var(--text-color);
    margin-top: var(--spacing-sm);
}

.info-card dt:first-child {
    margin-top: 0;
}

.info-card dd {
    margin-left: var(--spacing-md);
    color: var(--text-light);
    margin-bottom: var(--spacing-xs);
}

.info-card .hours-list {
    margin: 0;
}

.hours-list {
    min-width: 30vh;
}

.info-card .hours-list p {
    margin: 0;
    padding: 2px 0;
    color: var(--text-color);
    font-size: 0.9rem;
    line-height: 1.4;
}

.info-card ul {
    list-style: none;
    padding-left: 0;
}

.info-card ul li {
    padding: var(--spacing-xs) 0;
    padding-left: var(--spacing-md);
    position: relative;
    color: var(--text-light);
}

.info-card ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

.info-card address {
    font-style: normal;
}

.info-card address p {
    margin-bottom: var(--spacing-sm);
}

.social-links {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: var(--spacing-lg);
    flex-wrap: wrap;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-xs);
    color: var(--primary-color);
    text-align: center;
    transition: color var(--transition-fast), transform var(--transition-fast);
    background: none;
    border: none;
}

.social-link svg {
    width: 32px;
    height: 32px;
    fill: currentColor;
}

.social-link:hover,
.social-link:focus {
    color: var(--accent-color);
    text-decoration: none;
    transform: translateY(-2px) scale(1.1);
    outline: 2px solid var(--accent-color);
    outline-offset: 4px;
    border-radius: var(--radius-sm);
}

/* ============================================
   Footer
   ============================================ */

footer {
    background-color: #ffffff;
    color: #000000;
    border-top: 1px solid #deddda;
    box-shadow: 0 -6px 18px rgba(0, 0, 0, 0.08);
    padding: var(--spacing-sm) 0;
}

footer a {
    color: #000000;
    text-decoration: underline;
    transition: color var(--transition-base);
}

footer a:hover,
footer a:focus {
    color: #000000;
    outline-offset: 2px;
}

.footer-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: var(--spacing-xs);
    margin-bottom: 4px;
}

.footer-nav a {
    color: #000000;
    text-decoration: none;
    font-size: var(--font-size-base);
    padding: var(--spacing-xs) var(--spacing-sm);
    transition: color var(--transition-base), text-decoration-color var(--transition-base);
}

.footer-nav a:hover,
.footer-nav a:focus {
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
    color: #000000;
}

.footer-separator {
    color: rgba(0, 0, 0, 0.6);
    margin: 0 var(--spacing-xs);
}

.footer-contact {
    text-align: center;
    margin: 4px 0;
}

.footer-contact p {
    margin: 0;
    font-size: var(--font-size-sm);
    color: rgba(0, 0, 0, 0.9);
}

.footer-contact a {
    color: rgba(0, 0, 0, 0.9);
    text-decoration: none;
}

.footer-contact a:hover {
    text-decoration: underline;
}

.footer-copyright {
    margin: 0;
    font-size: var(--font-size-sm);
    color: rgba(0, 0, 0, 0.9);
}

.footer-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--spacing-sm);
    margin-top: 4px;
}

.namdar-logo {
    max-width: 150px;
    height: auto;
    width: auto;
    max-height: 50px;
    object-fit: contain;
    filter: none;
    opacity: 0.9;
    transition: opacity var(--transition-base);
}

.footer-secondary-logo {
    max-width: 75px;
    height: auto;
    width: auto;
    max-height: 30px;
    object-fit: contain;
    opacity: 0.9;
    transition: opacity var(--transition-base);
    display: block;
}

.footer-secondary-logo:hover {
    opacity: 1;
}

.namdar-logo:hover {
    opacity: 1;
}

@media (max-width: 767px) {
    .footer-nav {
        flex-direction: column;
        gap: var(--spacing-xs);
        width: 100%;
    }
    
    .footer-separator {
        display: none;
    }
    
    .footer-nav a {
        padding: var(--spacing-xs);
    }
    
    .namdar-logo {
        max-width: 150px;
        max-height: 50px;
    }
}

/* ============================================
   Directory Page Styles
   ============================================ */

/* Page Header */
.page-header {
    color: var(--text-white);
    /* padding: var(--spacing-xl) 0; */
    text-align: center;
}

.page-header h1 {
    background-color: #ffffff;
    border-bottom: 1px solid #000000;
    color: #000000;
    font-family: var(--font-script);
    font-size: 46.5px;
    font-weight: normal;
    line-height: 1.125;
    margin-top: 0;
    margin-bottom: var(--spacing-sm);
    padding-bottom: 0.5rem;
    text-align: left;
    text-transform: none;
}

.page-header p {
    color: rgba(255, 255, 255, 0.9);
    font-size: var(--font-size-lg);
    margin-bottom: 0;
}

/* Stores: compact mall hours block near top */
.mall-hours-mini {
    margin-top: var(--spacing-sm);
    padding: var(--spacing-sm) var(--spacing-md);
    background: #ffffff;
    border: 1px solid #deddda;
    border-radius: var(--radius-sm);
    color: var(--text-color);
    font-size: var(--font-size-base);
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.mall-hours-line {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-start;
    width: 100%;
    gap: var(--spacing-md);
    box-sizing: border-box;
}

.mall-hours-mini strong {
    margin-right: var(--spacing-xs);
    flex-shrink: 0;
    white-space: nowrap;
    font-size: var(--font-size-base);
    font-weight: 600;
}

.mall-hours-mini .mall-hours-label {
    font-weight: 800;
    text-align: center;
    width: 100%;
    margin-right: 0;
    margin-bottom: var(--spacing-xs);
}

.mall-hours-mini .hours-item {
    flex-shrink: 0;
    white-space: nowrap;
    font-size: var(--font-size-base);
    line-height: 1.5;
}

.mall-hours-mini .hours-item strong {
    font-weight: 600;
    margin-right: 4px;
}

.mall-hours-mini {
    margin: 0;
    flex-shrink: 0;
    white-space: nowrap;
    font-size: var(--font-size-base);
}

.mall-hours-mini .holiday-message-inline {
    width: 100%;
    margin-top: 0;
    margin-left: 0;
}

/* Stores: directions map */
.directions-section {
    padding: var(--spacing-xl) 0;
}

.directions-address {
    margin-top: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
    color: var(--text-color);
}

.map-embed {
    width: 100%;
    border: 1px solid #deddda;
    background: #ffffff;
}

.map-embed iframe {
    display: block;
    width: 100%;
    height: 360px;
    border: 0;
}

/* Leasing: Mason contact block */
.leasing-contact {
    /* Centered square card */
    margin: 0 auto;
    max-width: 520px;
    width: 100%;
    aspect-ratio: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-lg);
    background: #ffffff;
    border: 1px solid #deddda;
    padding: var(--spacing-xl);
    text-align: center;
}

.leasing-logo-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.leasing-logo {
    max-height: 90px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

.leasing-contact-details {
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-items: center;
}

.leasing-company {
    font-weight: 700;
    margin: 0;
}

.leasing-contact-details p {
    margin: 0;
}

/* Leasing page: fuller, more creative layout */
.leasing-page {
    padding: var(--spacing-2xl) 0;
}

.leasing-hero {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-2xl);
}

@media (min-width: 1024px) {
    .leasing-hero {
        grid-template-columns: 1.2fr 0.8fr;
        align-items: start;
    }
}

.leasing-hero-copy h2 {
    margin-top: 0;
    font-family: var(--font-script);
    font-size: 46.5px;
    font-weight: 100;
    line-height: 1.125;
    text-transform: none;
}

.leasing-highlights {
    margin: var(--spacing-lg) 0 0 0;
    padding-left: 18px;
    display: grid;
    gap: 10px;
}

.leasing-hero-card {
    background: #ffffff;
    border: 1px solid #deddda;
    box-shadow: var(--shadow-sm);
    padding: var(--spacing-xl);
}

.leasing-cta-row {
    margin-top: var(--spacing-md);
    display: flex;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
}

.leasing-cta-row .btn {
    flex: 1 1 180px;
}

.leasing-opps h2,
.leasing-process h2,
.leasing-faq h2 {
    margin-top: 0;
    font-family: var(--font-script);
    font-size: 46.5px;
    font-weight: 100;
    line-height: 1.125;
    text-transform: none;
}

.leasing-opps-grid {
    margin-top: var(--spacing-md);
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
}

@media (min-width: 768px) {
    .leasing-opps-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.leasing-opp {
    background: #ffffff;
    border: 1px solid #deddda;
    box-shadow: var(--shadow-sm);
    padding: var(--spacing-lg);
}

.leasing-opp h3 {
    margin-top: 0;
    margin-bottom: var(--spacing-xs);
}

.leasing-opp-meta {
    margin: 0 0 var(--spacing-sm) 0;
    color: var(--text-light);
}

.leasing-steps {
    margin: var(--spacing-md) 0 0 0;
    padding-left: 0;
    list-style: none;
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
}

@media (min-width: 1024px) {
    .leasing-steps {
        grid-template-columns: repeat(4, 1fr);
    }
}

.leasing-steps li {
    background: #ffffff;
    border: 1px solid #deddda;
    box-shadow: var(--shadow-sm);
    padding: var(--spacing-md);
}

.leasing-steps li strong {
    display: block;
    margin-bottom: 6px;
}

.leasing-steps li span {
    color: var(--text-light);
}

.leasing-faq-grid {
    margin-top: var(--spacing-md);
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
}

@media (min-width: 768px) {
    .leasing-faq-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.leasing-faq-item {
    background: #ffffff;
    border: 1px solid #deddda;
    box-shadow: var(--shadow-sm);
    padding: var(--spacing-lg);
}

.leasing-faq-item h3 {
    margin-top: 0;
    margin-bottom: var(--spacing-xs);
}

@media (max-width: 767px) {
    .page-header h1 {
        font-size: 3.5rem;
    }
}

/* Directory Container */
.directory-container {
    display: flex;
    flex-direction: column;
    padding: var(--spacing-lg) var(--spacing-md);
    max-width: 1400px;
    margin: 0 auto;
    gap: var(--spacing-lg);
}

@media (min-width: 768px) {
    .directory-container {
        flex-direction: row;
        align-items: flex-start;
        padding: var(--spacing-lg) var(--spacing-xl);
        gap: var(--spacing-xl);
    }
}

/* Directory map image */
.directory-map-button-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--spacing-md);
    margin: var(--spacing-md) 0;
    width: 100%;
    flex-wrap: wrap;
}

.mall-hours-dropdown-container {
    position: relative;
    display: inline-block;
}

.mall-hours-dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-top: var(--spacing-xs);
    background: #ffffff;
    border: 1px solid #deddda;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-md);
    min-width: 360px;
    max-width: 400px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

.mall-hours-dropdown.active {
    opacity: 1;
    visibility: visible;
}

.mall-hours-dropdown-content {
    padding: var(--spacing-md);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--spacing-xs);
    color: var(--text-color);
}

.mall-hours-dropdown .hours-item {
    text-align: left;
    width: 100%;
    font-size: var(--font-size-base);
    line-height: 1.5;
    padding: var(--spacing-xs) 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.mall-hours-dropdown .hours-item:last-child {
    border-bottom: none;
}

.mall-hours-dropdown .hours-item strong {
    font-weight: 600;
    margin-right: 4px;
}

.mall-hours-dropdown .hours-item.holiday-day {
    background-color: #fff3cd;
    border-left: 4px solid #ffc107;
    padding-left: calc(var(--spacing-sm) - 4px);
    font-weight: 600;
    margin: var(--spacing-xs) 0;
    border-radius: 4px;
}

.hours-list .holiday-day {
    background-color: #fff3cd;
    border-left: 4px solid #ffc107;
    padding: var(--spacing-xs) var(--spacing-sm);
    margin: var(--spacing-xs) 0;
    border-radius: 4px;
    font-weight: 600;
}

.mall-hours-dropdown .holiday-message-inline {
    text-align: center;
    width: 100%;
    margin-top: var(--spacing-xs);
    padding-top: var(--spacing-xs);
    border-top: 1px solid #e0e0e0;
    font-size: var(--font-size-sm);
}

/* Directory Map Modal */
.directory-map-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.directory-map-modal.active {
    opacity: 1;
    visibility: visible;
}

.directory-map-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.8);
    cursor: pointer;
}

.directory-map-modal-content {
    position: relative;
    background-color: #000000;
    width: 100vw;
    height: 100vh;
    padding: 0;
    z-index: 10001;
    overflow: hidden;
    transform: scale(0.9);
    transition: transform 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.directory-map-modal.active .directory-map-modal-content {
    transform: scale(1);
}

.directory-map-modal-close {
    position: fixed;
    top: var(--spacing-md);
    right: var(--spacing-md);
    background-color: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #000000;
    transition: background-color 0.2s ease, transform 0.2s ease;
    z-index: 10003;
    padding: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.directory-map-modal-close:hover,
.directory-map-modal-close:focus {
    background-color: #ffffff;
    transform: scale(1.1);
    outline: 2px solid #000000;
    outline-offset: 2px;
}

.directory-map-modal-image-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x pan-y pinch-zoom;
    cursor: zoom-in;
}

.directory-map-modal-image-container.zoomed {
    cursor: zoom-out;
}

.directory-map-modal-image {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    display: block;
    object-fit: contain;
    transition: transform 0.3s ease;
    user-select: none;
    -webkit-user-select: none;
    -webkit-touch-callout: none;
    touch-action: pan-x pan-y pinch-zoom;
    pointer-events: auto;
}

.directory-map-modal-image-container.zoomed .directory-map-modal-image {
    transition: transform 0.3s ease;
}

/* Zoom indicator */
.directory-map-zoom-hint {
    position: fixed;
    bottom: var(--spacing-md);
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0, 0, 0, 0.7);
    color: #ffffff;
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--radius-md);
    font-size: var(--font-size-sm);
    z-index: 10002;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.directory-map-modal.active .directory-map-zoom-hint {
    opacity: 1;
    animation: fadeOutHint 3s ease forwards;
}

@keyframes fadeOutHint {
    0%, 70% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

@media (max-width: 767px) {
    .directory-map-modal-close {
        top: var(--spacing-sm);
        right: var(--spacing-sm);
        width: 44px;
        height: 44px;
    }

    .directory-map-zoom-hint {
        bottom: var(--spacing-sm);
        font-size: var(--font-size-xs);
        padding: 6px var(--spacing-xs);
    }
}

/* Stores directory: toolbar (filters are NOT a sidebar anymore) */
.directory-toolbar {
    margin-top: var(--spacing-md);
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: var(--spacing-md);
    flex-wrap: wrap;
    position: relative;
}

.directory-toolbar-actions {
    flex: 0 0 auto;
}

.directory-toolbar-filters {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: var(--spacing-sm);
    flex-wrap: nowrap;
    position: relative;
}

/* Filters Sidebar */
.filters-sidebar {
    width: 100%;
    background: #ffffff;
    border: 1px solid #deddda;
    box-shadow: var(--shadow-sm);
    padding: 0;
    display: flex;
    flex-direction: column;
    position: relative;
}

.filters-toggle-mobile {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: var(--spacing-md);
    background: var(--primary-color);
    color: #ffffff;
    border: none;
    border-bottom: 1px solid #deddda;
    font-weight: 600;
    font-size: var(--font-size-base);
    cursor: pointer;
    gap: var(--spacing-sm);
}

.filters-toggle-mobile svg {
    width: 24px;
    height: 24px;
}

.filters-toggle-mobile[aria-expanded="true"] svg {
    transform: rotate(90deg);
}

.filters-content {
    display: none;
    padding: var(--spacing-md);
}

.filters-content.active {
    display: block;
}

@media (min-width: 768px) {
    .filters-sidebar {
        width: 250px;
        flex-shrink: 0;
        position: sticky;
        top: var(--spacing-lg);
        max-height: calc(100vh - var(--spacing-xl));
        overflow-y: auto;
    }
    
    .filters-toggle-mobile {
        display: none;
    }
    
    .filters-content {
        display: block;
        padding: var(--spacing-md);
    }
}

/* Filters section (visible, not dropdown) - kept for backwards compatibility */
.filters-section {
    margin-top: var(--spacing-md);
    width: 100%;
    background: #ffffff;
    border: 1px solid #deddda;
    box-shadow: var(--shadow-sm);
    padding: var(--spacing-md);
    display: block;
}

/* Filters dropdown panel (kept for backwards compatibility if needed) */
.filters-dropdown {
    position: absolute;
    right: 0;
    top: calc(100% + var(--spacing-xs));
    width: min(720px, 100%);
    background: #ffffff;
    border: 1px solid #deddda;
    box-shadow: var(--shadow-md);
    padding: var(--spacing-md);
    z-index: 2000;
}

@media (max-width: 767px) {
    .filters-dropdown {
        left: 0;
        right: 0;
        width: 100%;
    }
}

.filters-section .filter-group,
.filters-dropdown .filter-group {
    margin-bottom: var(--spacing-md);
}

.filters-section .filter-group:last-child,
.filters-dropdown .filter-group:last-child {
    margin-bottom: 0;
}

.filters-section .filter-group-search .search-input,
.filters-dropdown .filter-group-search .search-input {
    width: 100%;
}

.filters-section .filter-group-categories .filter-label,
.filters-dropdown .filter-group-categories .filter-label {
    margin-bottom: var(--spacing-xs);
}

.filters-section .filter-group-categories .category-filters,
.filters-dropdown .filter-group-categories .category-filters,
.filters-sidebar .filter-group-categories .category-filters {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-xs) var(--spacing-sm);
    margin: 0;
    padding: 0;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.filters-sidebar .filter-group-categories .category-filters {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--spacing-sm);
}

.filters-top-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
    width: 100%;
    margin-bottom: var(--spacing-xs);
}

.filters-top-row .search-input-inline {
    flex: 1 1 auto;
    max-width: 300px;
    margin: 0 auto;
}

.filters-row {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
    width: 100%;
}

.search-input-inline {
    width: auto;
    min-width: 120px;
    max-width: 180px;
    padding: 2px var(--spacing-xs);
    font-size: 0.8rem;
    height: 24px;
    display: block;
    flex-shrink: 0;
}

.filter-group {
    margin-bottom: var(--spacing-lg);
}

.filter-label {
    display: block;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: var(--spacing-sm);
    font-size: var(--font-size-base);
}

.filter-group h3.filter-label {
    margin-bottom: var(--spacing-md);
}

.search-input {
    width: 100%;
    padding: var(--spacing-sm);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: var(--font-size-base);
    font-family: var(--font-primary);
    transition: border-color var(--transition-fast);
    min-height: 44px;
}

.search-input:focus {
    outline: 3px solid var(--primary-color);
    outline-offset: 2px;
    border-color: var(--primary-color);
}

.category-filters {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-filters li {
    margin-bottom: 0;
    flex-shrink: 1;
    flex-grow: 0;
}

.filter-checkbox {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 2px 0;
    transition: color var(--transition-fast);
    font-size: 0.85rem;
}

.filter-checkbox:hover {
    color: var(--accent-color);
}

.filter-checkbox input[type="checkbox"] {
    width: 16px;
    height: 16px;
    margin-right: 4px;
    cursor: pointer;
    accent-color: var(--accent-color);
    flex-shrink: 0;
}

.filter-checkbox span {
    font-size: 0.85rem;
    color: var(--text-color);
    white-space: nowrap;
}

.filter-checkbox input[type="checkbox"]:checked + span {
    font-weight: 600;
    color: var(--primary-color);
}

.filter-checkbox.disabled,
.filter-checkbox input[type="checkbox"]:disabled + span {
    opacity: 0.5;
    cursor: not-allowed;
}

.filter-checkbox input[type="checkbox"]:disabled {
    cursor: not-allowed;
    opacity: 0.6;
}

.eat-view-locked .filter-checkbox.disabled {
    pointer-events: none;
}

.eat-view-notice {
    padding: var(--spacing-sm) var(--spacing-md);
    background-color: #fff3cd;
    border-left: 4px solid var(--accent-color);
    border-radius: var(--radius-sm);
    margin-bottom: var(--spacing-md);
    font-size: var(--font-size-sm);
}

.eat-view-notice strong {
    color: var(--accent-color);
    font-weight: 600;
}

.clear-filters {
    width: auto;
    padding: var(--spacing-xs) var(--spacing-sm);
    font-size: 0.75rem;
    min-height: auto;
    min-width: auto;
    margin-top: var(--spacing-xs);
}

/* Directory Content Area */
.directory-content {
    min-height: 400px;
}

.stores-listing-header {
    margin-bottom: var(--spacing-sm);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
}

.stores-listing-header h2 {
    color: var(--primary-color);
    font-family: var(--font-script);
    font-size: 46.5px;
    font-weight: 100;
    line-height: 1.125;
    margin: 0;
    text-transform: none;
}

.store-count {
    color: var(--text-light);
    margin: 0;
    font-size: var(--font-size-base);
}

/* Stores Grid - Directory Page */
.stores-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
}

@media (min-width: 768px) {
    .stores-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .stores-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Stores Directory Grid - 4 columns per row, square cards */
.stores-directory-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    flex: 1;
    min-width: 0;
}

@media (min-width: 768px) {
    .stores-directory-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0;
    }
}

@media (min-width: 1024px) {
    .stores-directory-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 0;
    }
}

.store-card-directory {
    background-color: var(--background-color);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: transform var(--transition-base), box-shadow var(--transition-base);
    display: flex;
    flex-direction: column;
    aspect-ratio: 1;
    position: relative;
    border: 1px solid #deddda;
    transform: scale(0.95);
    transform-origin: center center;
}

.store-card-directory.store-has-sale {
    border: 3px solid #e74c3c;
}

.store-card-directory.store-card-hidden {
    display: none !important;
}

.store-sale-flag {
    position: absolute;
    top: 0;
    right: 0;
    background-color: #e74c3c;
    color: #ffffff;
    font-weight: 700;
    font-size: 0.875rem;
    padding: 8px 14px;
    z-index: 10;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    border-bottom-left-radius: 4px;
    line-height: 1.2;
}

/* Store directory cards are links now */
a.store-card-directory {
    display: block;
    color: inherit;
    text-decoration: none;
}

a.store-card-directory:hover,
a.store-card-directory:focus {
    text-decoration: none;
    color: inherit;
}


.store-card-directory:focus-within {
    transform: scale(0.80);
    box-shadow: var(--shadow-sm);
}

.store-card-directory .store-image-placeholder {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background: var(--background-light);
    display: flex;
    align-items: center;
    justify-content: center;
}

.store-card-directory .store-image-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: var(--spacing-md);
}

.store-card-directory .store-image-placeholder .store-name-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-md);
    font-size: var(--font-size-lg);
    font-weight: 600;
    color: var(--text-color);
    text-align: center;
    word-wrap: break-word;
}

.store-card .store-name-text {
    padding: var(--spacing-md);
    font-size: var(--font-size-lg);
    font-weight: 600;
    color: var(--text-color);
    text-align: center;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.store-card-directory .store-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    /* background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent); */
    padding: var(--spacing-md);
    padding-top: var(--spacing-xl);
}

.store-card-directory .store-category {
    color: #000;
    font-weight: 600;
    font-size: var(--font-size-sm);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.store-card-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

.store-card-link:hover,
.store-card-link:focus {
    text-decoration: none;
    color: inherit;
    outline: none;
}

.store-image-placeholder {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    font-weight: 600;
    font-size: var(--font-size-lg);
}

@media (max-width: 767px) {
    #header-container {
        position: sticky !important;
        top: 0 !important;
        z-index: 1000 !important;
        width: 100% !important;
        background-color: var(--background-color) !important;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
    }
    /* html, body {
        max-width: 100vw;
        overflow-x: hidden;
    } */
    * {
        max-width: 100%;
    }

    .store-card-directory {
        transform: scale(0.85);
    }
    .store-image-placeholder {
        width: 75%;
        margin: 0 auto;
    }
    .store-sale-flag {
        font-size: 1.75rem;
    }
    .store-card-directory .store-image-placeholder {
        width: 100%;
        height: 100%;
        box-sizing: border-box;
    }
    .store-card-directory .store-image-placeholder img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        padding: var(--spacing-md);
        box-sizing: border-box;
        display: block;
    }
    .store-card-directory .store-image-placeholder .store-name-placeholder {
        width: 100%;
        height: 100%;
        font-size: 1.5rem;
        padding: var(--spacing-md);
        box-sizing: border-box;
        overflow-wrap: break-word;
        word-wrap: break-word;
        hyphens: auto;
    }
    .directory-map-button-container {
        max-width: 100%;
        box-sizing: border-box;
        padding: 0 var(--spacing-sm);
    }
    .directory-map-button-container .btn {
        flex: 0 1 auto;
        min-width: auto;
        width: auto;
        padding: 12.5px 25px;
        font-size: 0.9rem;
        max-width: 100%;
    }
}

.store-card-content {
    padding: var(--spacing-lg);
    display: flex;
    flex-direction: column;
    flex: 1;
}

/* Mobile: toolbar wraps naturally */

/* ============================================
   Store Page Template Styles
   ============================================ */

/* Store Hero Section */
.store-hero {
    width: 100%;
    margin: 0;
    padding: 0;
}

.store-hero-image {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    font-weight: 600;
    font-size: var(--font-size-2xl);
    position: relative;
    overflow: hidden;
}

.store-hero-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.store-hero-image span {
    position: relative;
    z-index: 1;
}

@media (min-width: 768px) {
    .store-hero-image {
        height: 500px;
    }
}

@media (min-width: 1024px) {
    .store-hero-image {
        height: 600px;
    }
}

/* Store Header */
.store-header {
    background-color: var(--background-color);
    padding: var(--spacing-xl) 0;
    border-bottom: 2px solid var(--border-color);
}

.store-header-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-lg);
    text-align: center;
}

@media (min-width: 768px) {
    .store-header-content {
        flex-direction: row;
        align-items: center;
        justify-content: center;
        text-align: center;
        gap: var(--spacing-xl);
    }
}

.store-logo-image {
    max-width: 200px;
    height: auto;
    display: block;
    background: transparent;
}

@media (min-width: 768px) {
    .store-logo-image {
        max-width: 250px;
    }
}

.store-title-wrapper {
    flex: 1;
}

.store-header h1,
.store-name-title {
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
    font-size: var(--font-size-4xl);
    text-align: center;
    margin: 0;
}

.store-tagline {
    color: var(--text-light);
    font-size: var(--font-size-lg);
    margin-bottom: 0;
}

/* Key Info Block */
.store-info-block {
    background-color: var(--background-light);
    padding: var(--spacing-2xl) 0;
}

.info-block-content {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
}

@media (min-width: 1024px) {
    .info-block-content {
        flex-direction: row;
        gap: var(--spacing-2xl);
        justify-content: space-around;
    }
}

.info-item {
    background-color: var(--background-color);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    flex: 1;
}

.info-item h3 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-md);
    font-size: var(--font-size-xl);
    border-bottom: 3px solid var(--accent-color);
    padding-bottom: var(--spacing-xs);
}

.info-item dl {
    margin: 0;
}

.info-item dt {
    font-weight: 600;
    color: var(--text-color);
    margin-top: var(--spacing-sm);
    font-size: var(--font-size-sm);
}

.info-item dt:first-child {
    margin-top: 0;
}

.info-item dd {
    margin-left: var(--spacing-md);
    color: var(--text-light);
    margin-bottom: var(--spacing-xs);
    font-size: var(--font-size-sm);
}

.info-item p {
    color: var(--text-light);
    margin-bottom: 0;
    font-size: var(--font-size-base);
    line-height: 1.6;
}

.info-item a {
    color: var(--accent-color);
    font-weight: 600;
    font-size: var(--font-size-lg);
}

.info-item a:hover,
.info-item a:focus {
    color: var(--accent-dark);
    text-decoration: underline;
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

.follow-store-action {
    text-align: center;
    margin-top: var(--spacing-lg);
}

@media (min-width: 1024px) {
    .follow-store-action {
        margin-top: var(--spacing-xl);
    }
}

.btn-follow {
    padding: var(--spacing-md) var(--spacing-2xl);
    font-size: var(--font-size-lg);
    min-height: 50px;
}

/* Store Details Section */
.store-details-section {
    background-color: var(--background-light);
    padding: var(--spacing-2xl) 0;
}

.store-description {
    margin-bottom: var(--spacing-xl);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.store-description p {
    color: var(--text-color);
    font-size: var(--font-size-base);
    line-height: 1.6;
    margin: 0;
}

.store-info-items {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
    max-width: 800px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .store-info-items {
        flex-direction: row;
        gap: var(--spacing-xl);
    }
}

.store-info-item {
    flex: 1;
}

.store-info-item h3 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
    font-size: var(--font-size-lg);
    font-weight: 600;
}

.store-info-item p {
    color: var(--text-color);
    margin: 0;
    font-size: var(--font-size-base);
    line-height: 1.6;
}

.store-info-item a {
    color: var(--accent-color);
    text-decoration: none;
    word-break: break-all;
}

.store-info-item a:hover,
.store-info-item a:focus {
    color: var(--accent-dark);
    text-decoration: underline;
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

/* Current Deals Section */
.store-deals-section {
    background-color: var(--background-color);
    padding: var(--spacing-2xl) 0;
}

/* Deals page: one deal per line */
.deals-content-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.deals-sort-wrapper {
    margin-bottom: var(--spacing-md);
    align-self: flex-start;
}

.deals-sort-select {
    padding: 12.5px 30px;
    border: 0;
    border-radius: 100px;
    background-color: #e74c3c;
    color: #ffffff;
    font-weight: bold;
    font-size: var(--font-size-base);
    cursor: pointer;
    min-height: 44px;
    line-height: 1.5;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23ffffff' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    padding-right: 50px;
    transition: all 0.5s;
    -webkit-transition: all 0.5s;
    min-width: 200px;
}


.deals-sort-select:active {
    background-color: #c0392b;
    transition: all 0.25s;
    -webkit-transition: all 0.25s;
    box-shadow: none;
    transform: scale(0.98);
}

.deals-sort-select option {
    background-color: #ffffff;
    color: #2c3e50;
    padding: var(--spacing-sm);
    font-size: var(--font-size-base);
    font-weight: normal;
    border: none;
}

.deals-wrapper {
    display: flex;
    gap: var(--spacing-xl);
    align-items: flex-start;
    max-width: 1200px;
    margin: 0 auto;
}

.deals-filters {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    flex-shrink: 0;
    min-width: 200px;
}

.deals-content {
    flex: 1;
    min-width: 0;
}

.deal-filter-btn {
    padding: 12.5px 30px;
    border: 0;
    border-radius: 100px;
    background-color: #e74c3c;
    color: #ffffff;
    font-weight: bold;
    transition: none;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
    min-height: 44px;
    line-height: 1.5;
    font-size: var(--font-size-base);
    width: 100%;
    white-space: nowrap;
}

.deal-filter-btn:hover,
.deal-filter-btn:focus {
    background-color: #e74c3c;
    box-shadow: none;
    transform: none;
    outline: none;
}

.deal-filter-btn:active {
    background-color: #e74c3c;
    transition: none;
    -webkit-transition: all 0.25s;
    box-shadow: none;
    transform: scale(0.98);
}

.deal-filter-btn.active {
    background-color: #c0392b;
    box-shadow: none;
}

.deal-filter-btn.active:hover,
.deal-filter-btn.active:focus {
    background-color: #e74c3c;
    box-shadow: none;
    transform: none;
}

.deals-grid {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    max-width: 900px;
}

/* Events page list - same layout as deals */
.events-grid {
    margin-top: var(--spacing-lg);
    margin-left: auto;
    margin-right: auto;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    max-width: 900px;
}

.deal-card {
    background: #ffffff;
    border: 1px solid #deddda;
    box-shadow: var(--shadow-sm);
    padding: var(--spacing-md);
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    width: 100%;
}

.event-card {
    background: #ffffff;
    border: 1px solid #deddda;
    box-shadow: var(--shadow-sm);
    padding: var(--spacing-md);
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.event-left {
    flex: 0 0 auto;
    width: 150px;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--background-light);
    border: 1px solid #deddda;
}

.event-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.event-body {
    flex: 1 1 auto;
    min-width: 0;
}

.event-right {
    flex: 0 0 auto;
    display: flex;
    justify-content: flex-end;
}

.event-card h3 {
    margin: 0 0 var(--spacing-xs) 0;
    font-size: 1.05rem;
    font-weight: 700;
}

/* Events filters */
.events-filters {
    margin-top: var(--spacing-md);
    margin-left: auto;
    margin-right: auto;
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
    max-width: 900px;
}

.events-filter-select {
    padding: var(--spacing-sm) var(--spacing-md);
    border: 1px solid #deddda;
    background: #ffffff;
    min-width: 180px;
}

.events-filter-range {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.events-filter-range input[type="date"] {
    padding: var(--spacing-sm) var(--spacing-md);
    border: 1px solid #deddda;
    background: #ffffff;
}

.event-when {
    margin: 0 0 var(--spacing-xs) 0;
    color: var(--text-light);
    font-size: 0.95rem;
}

.event-text {
    margin: 0;
    color: var(--text-color);
}

.deal-left {
    flex: 0 0 auto;
    width: 150px;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--background-light);
    border: 1px solid #deddda;
}

.deal-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 10px;
}

.deal-body {
    flex: 1 1 auto;
    min-width: 0;
}

.deal-right {
    flex: 0 0 auto;
    display: flex;
    justify-content: flex-end;
}

.deal-ribbon {
    display: inline-block;
    background: var(--accent-color);
    color: #ffffff;
    font-weight: 800;
    font-size: 0.8rem;
    letter-spacing: 0.05em;
    padding: 6px 10px;
    border-radius: 0;
    white-space: nowrap;
}

.deal-card h3 {
    margin: 0 0 var(--spacing-xs) 0;
    font-size: 1.05rem;
    font-weight: 700;
}

.deal-card .deal-store {
    margin: 0 0 var(--spacing-sm) 0;
    color: var(--text-light);
    font-size: 0.95rem;
}

.deal-card .deal-text {
    margin: 0;
    color: var(--text-color);
}

.deal-card .deal-phone {
    margin: 0 0 var(--spacing-xs) 0;
    color: var(--text-color);
    font-size: 0.95rem;
    font-weight: 500;
}

.deal-card-link {
    display: flex;
    width: 100%;
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.deal-card-link:hover,
.deal-card-link:focus {
    text-decoration: none;
}

.deal-card-link:hover .deal-card,
.deal-card-link:focus .deal-card {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.event-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.event-card-link:hover,
.event-card-link:focus {
    text-decoration: none;
}

.event-card-link:hover .event-card,
.event-card-link:focus .event-card {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* .deal-card-link:focus {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
} */

.store-deals-section h2 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-xl);
    text-align: center;
}

.store-deals-section .deals-grid {
    margin: 0 auto;
}

.deals-list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    max-width: 900px;
    margin: 0 auto;
}

.deal-item-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.deal-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    background-color: #ffffff;
    border: 1px solid #deddda;
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: box-shadow var(--transition-fast), transform var(--transition-fast);
    position: relative;
}

.deal-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.deal-item-image {
    flex: 0 0 250px;
    width: 250px;
    height: 250px;
    overflow: hidden;
    border-radius: var(--radius-sm);
    /* background-color: #f5f5f5; */
}

.deal-item-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.deal-item-content {
    flex: 1;
    padding: 0 var(--spacing-md);
}

.deal-item-ribbon {
    flex: 0 0 auto;
    position: relative;
}

.deal-ribbon-text {
    display: inline-block;
    background-color: #e74c3c;
    color: #ffffff;
    padding: var(--spacing-xs) var(--spacing-md);
    border-radius: var(--radius-sm);
    font-size: var(--font-size-sm);
    font-weight: 600;
    white-space: nowrap;
}

/* Deals Controls */
.deals-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-lg);
    flex-wrap: wrap;
    gap: var(--spacing-md);
}

.deals-filters {
    display: flex;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
}

.deal-filter-btn {
    padding: var(--spacing-xs) var(--spacing-md);
    border: 1px solid #deddda;
    background-color: #ffffff;
    color: var(--text-color);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition-fast);
    font-size: var(--font-size-base);
}

.deal-filter-btn:hover {
    background-color: #f5f5f5;
    border-color: var(--primary-color);
}

.deal-filter-btn.active {
    background-color: #e74c3c;
    color: #ffffff;
    /* border-color: var(--primary-color); */
}

.deals-sort-wrapper {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.deals-sort-controls {
    display: flex;
    justify-content: flex-start;
    margin-bottom: var(--spacing-lg);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.deals-sort-select {
    padding: var(--spacing-xs) var(--spacing-md);
    border: 0;
    border-radius: var(--radius-sm);
    background-color: #e74c3c;
    color: #ffffff;
    font-size: var(--font-size-base);
    font-weight: bold;
    cursor: pointer;
    min-width: 150px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23ffffff' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right var(--spacing-sm) center;
    background-size: 12px;
    padding-right: calc(var(--spacing-md) + 20px);
}

.deals-sort-select option {
    background-color: #ffffff;
    color: #2c3e50;
    padding: var(--spacing-xs) var(--spacing-md);
    border: 0;
    border-radius: var(--radius-sm);
    font-size: var(--font-size-base);
    font-weight: bold;
    min-width: 150px;
    transition: none;
}

.deals-sort-select option:hover {
    background-color: #ffffff;
    color: #2c3e50;
    transform: none;
    box-shadow: none;
}

.deal-item-content h3 {
    margin: 0 0 var(--spacing-xs) 0;
    font-size: var(--font-size-lg);
    color: var(--text-color);
    font-weight: 600;
}

.deal-item-store {
    margin: 0;
    color: var(--text-color-secondary);
    font-size: var(--font-size-base);
}

/* Deal Detail Page */
.deal-detail-section {
    padding: var(--spacing-2xl) 0;
}

.deal-detail-content {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.deal-detail-store-logo {
    text-align: center;
    margin-bottom: var(--spacing-md);
}

.deal-detail-store-logo img {
    max-width: 200px;
    max-height: 80px;
    object-fit: contain;
}

.deal-detail-image {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}

.deal-detail-image img {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: contain;
    display: block;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
}

.deal-detail-info {
    max-width: 700px;
    margin: 0 auto;
}

.deal-detail-info h1 {
    font-size: 2.5rem;
    margin: 0 0 var(--spacing-md) 0;
    color: var(--text-color);
}

.deal-detail-store-link,
.deal-detail-store-name {
    font-size: var(--font-size-lg);
    margin: 0 0 var(--spacing-md) 0;
}

.deal-detail-store-link a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.deal-detail-store-link a:hover {
    text-decoration: underline;
}

.deal-detail-description {
    margin: var(--spacing-lg) 0;
    line-height: 1.8;
    color: var(--text-color);
    font-size: var(--font-size-base);
}

.deal-detail-contact {
    margin-top: var(--spacing-lg);
    padding-top: var(--spacing-lg);
    border-top: 1px solid #deddda;
}

.deal-detail-phone,
.deal-detail-website {
    margin: var(--spacing-sm) 0;
}

.deal-detail-phone strong {
    font-weight: 600;
    color: var(--text-color);
}

.deal-detail-phone a {
    color: var(--primary-color);
    text-decoration: none;
}

.deal-detail-phone a:hover {
    text-decoration: underline;
}

.deal-detail-website a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: var(--font-size-base);
}

.deal-detail-website a:hover {
    text-decoration: underline;
}

/* More Deals Section */
.deal-more-deals-section {
    padding: var(--spacing-2xl) 0;
    background-color: #f5f5f5;
}

.deal-more-deals-heading {
    font-size: 2rem;
    margin: 0 0 var(--spacing-lg) 0;
    text-align: center;
    color: var(--text-color);
}

.deal-more-deals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: var(--spacing-lg);
    max-width: 1200px;
    margin: 0 auto;
}

.deal-more-deals-card {
    text-decoration: none;
    color: inherit;
    background-color: #ffffff;
    border: 1px solid #deddda;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: box-shadow var(--transition-fast), transform var(--transition-fast);
    display: flex;
    flex-direction: column;
}

.deal-more-deals-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.deal-more-deals-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background-color: #f5f5f5;
}

.deal-more-deals-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.deal-more-deals-title {
    padding: var(--spacing-md);
    margin: 0;
    font-size: var(--font-size-base);
    font-weight: 600;
    color: var(--text-color);
    text-align: center;
}

@media (max-width: 768px) {
    .deal-more-deals-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: var(--spacing-md);
    }
    
    .deal-more-deals-image {
        height: 150px;
    }
    
    .deal-more-deals-heading {
        font-size: 1.5rem;
    }
    
    .deals-controls {
        flex-direction: column;
        align-items: stretch;
    }
    
    .deals-filters {
        width: 100%;
        justify-content: center;
    }
    
    .deals-sort-wrapper {
        width: 100%;
        justify-content: center;
    }
    
    .deals-sort-select {
        width: 100%;
    }
    
    .deal-item {
        flex-direction: column;
        align-items: flex-start;
        position: relative;
    }
    
    .deal-item-image {
        width: 100%;
        flex: 0 0 auto;
        height: 250px;
    }
    
    .deal-item-ribbon {
        position: absolute;
        top: var(--spacing-md);
        right: var(--spacing-md);
    }
    
    .deal-detail-info h1 {
        font-size: 2rem;
    }
}

/* Upcoming Events Section */
.store-events-section {
    background-color: var(--background-light);
    padding: var(--spacing-2xl) 0;
}

.store-events-section h2 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-xl);
    text-align: center;
}

.events-list {
    list-style: none;
    padding: 0;
    margin: 0;
    max-width: 800px;
    margin: 0 auto;
}

.events-list li {
    background-color: var(--background-color);
    padding: var(--spacing-lg);
    margin-bottom: var(--spacing-md);
    border-radius: var(--radius-md);
    border-left: 4px solid var(--primary-color);
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.events-list li:hover {
    transform: translateX(4px);
    box-shadow: var(--shadow-md);
}

.events-list li:last-child {
    margin-bottom: 0;
}

.events-list strong {
    color: var(--accent-color);
    display: block;
    margin-bottom: var(--spacing-xs);
    font-size: var(--font-size-lg);
}

/* ============================================
   Responsive Design
   ============================================ */

/* Mobile First - Base styles are for mobile */

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {
    .hero h1 {
        font-size: 3.5rem;
    }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
    html {
        font-size: 17px;
    }
    
    .hero {
        min-height: 80vh;
    }
    
    .hero h1 {
        font-size: 4rem;
    }
    
    .stores-grid {
        grid-template-columns: repeat(5, 1fr);
    }
    
    .newsletter-form {
        flex-direction: row;
    }
    
    .newsletter-form input {
        flex: 1;
    }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
    .hero h1 {
        font-size: 5rem;
    }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    .container {
        padding: 0 var(--spacing-xl);
    }
}

/* ============================================
   High Contrast Mode Support
   ============================================ */

@media (prefers-contrast: high) {
    :root {
        --primary-color: #000000;
        --text-color: #000000;
        --background-color: #ffffff;
        --border-color: #000000;
        --accent-color: #ff0000;
    }
    
    header,
    .feature-card,
    .info-card {
        border: 2px solid var(--border-color);
    }
}

/* ============================================
   Reduced Motion Support
   ============================================ */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
    
    .hero h1,
    .hero-subtitle,
    .hero-description {
        animation: none;
    }
}

/* ============================================
   Contact Page Styles
   ============================================ */

.contact-services {
    padding: var(--spacing-md) 0;
}

.contact-cards {
    display: flex;
    flex-direction: row;
    gap: var(--spacing-xl);
    flex-wrap: wrap;
    align-items: flex-start;
}

.contact-card {
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
    flex: 1;
    min-width: 200px;
}

.contact-card p {
    margin: 0 0 var(--spacing-xs) 0;
    font-family: var(--font-primary);
    font-size: var(--font-size-base);
    font-weight: normal;
    line-height: var(--line-height-base);
    color: var(--text-color);
}

.contact-card p strong {
    font-weight: 700;
    color: var(--text-color);
}

.contact-card-info {
    margin-top: var(--spacing-xs);
}

.contact-card-info p {
    margin: 0 0 var(--spacing-xs) 0;
    font-family: var(--font-primary);
    font-size: var(--font-size-base);
    font-weight: normal;
    line-height: var(--line-height-base);
    color: var(--text-color);
}

.contact-card-info p:last-child {
    margin-bottom: 0;
}

.contact-card-lead {
    margin: 0 0 var(--spacing-md) 0;
    color: var(--text-color);
}

.contact-card-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: block;
}

.contact-card-note {
    margin-top: var(--spacing-md);
    margin-bottom: 0;
}

.contact-card-alert {
    margin-top: var(--spacing-md);
    padding: 10px 12px;
    border: 1px solid var(--accent-color);
    background: #ffffff;
}

.contact-find-us {
    margin-top: var(--spacing-md);
}

.contact-find-us p {
    font-family: var(--font-primary);
    font-size: var(--font-size-base);
    font-weight: normal;
    color: var(--text-color);
}

.contact-find-us p strong {
    font-weight: 700;
    color: var(--text-color);
}

.contact-address {
    margin-top: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
}

.contact-section {
    padding: var(--spacing-2xl) 0;
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-2xl);
    max-width: 1200px;
    margin: 0 auto;
}

@media (min-width: 1024px) {
    .contact-layout {
        grid-template-columns: 1.5fr 1fr;
    }
}

.contact-form-container,
.contact-info-container {
    background-color: var(--background-light);
    padding: var(--spacing-2xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.contact-form-container h2,
.contact-info-container h2 {
    font-family: var(--font-script);
    font-size: 46.5px;
    font-weight: 100;
    line-height: 1.125;
    margin-bottom: var(--spacing-sm);
    margin-top: 0;
    color: var(--primary-color);
    text-transform: none;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.form-group label {
    font-weight: 600;
    color: var(--text-color);
    font-size: var(--font-size-base);
}

.required {
    color: var(--accent-color);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: var(--spacing-md);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: var(--font-size-base);
    font-family: var(--font-family-base);
    transition: border-color var(--transition-base), box-shadow var(--transition-base);
    background-color: var(--background-color);
    color: var(--text-color);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(44, 62, 80, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-info-item {
    margin-bottom: var(--spacing-xl);
}

.contact-info-item h3 {
    margin-bottom: var(--spacing-sm);
    color: var(--primary-color);
    font-size: var(--font-size-lg);
}

.contact-info-item p {
    margin-bottom: var(--spacing-xs);
}

.contact-info-item a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color var(--transition-base);
}

.contact-info-item a:hover,
.contact-info-item a:focus {
    color: var(--accent-color);
    text-decoration: underline;
}

.contact-hours {
    font-size: var(--font-size-sm);
    color: var(--text-muted);
}

.contact-map-placeholder {
    margin-top: var(--spacing-xl);
}

.map-placeholder {
    width: 100%;
    height: 300px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    font-weight: 600;
    margin-top: var(--spacing-md);
}

/* ============================================
   Sign Up Page Styles
   ============================================ */

.signup-section {
    padding: var(--spacing-2xl) 0;
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
}

/* Full-page signup redesign */
.signup-section.signup-full {
    padding: var(--spacing-xl) var(--spacing-md);
    min-height: calc(100vh - 120px);
    align-items: stretch;
    background: var(--background-light);
}

.signup-shell {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    min-height: calc(100vh - 120px);
    max-width: 1200px;
    margin: 0 auto;
    border: 1px solid #deddda;
    background: #ffffff;
}

@media (min-width: 1024px) {
    .signup-shell {
        grid-template-columns: 1.1fr 1fr;
    }
}

.signup-visual {
    background: linear-gradient(135deg, rgba(255, 122, 0, 0.14), rgba(26, 37, 47, 0.08));
    border-bottom: 1px solid #deddda;
    padding: clamp(24px, 4vw, 56px);
}

@media (min-width: 1024px) {
    .signup-visual {
        border-bottom: none;
        border-right: 1px solid #deddda;
    }
}

.signup-visual-inner {
    max-width: 560px;
    margin: 0 auto;
}

.signup-brand {
    height: 42px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
    display: block;
    margin-bottom: var(--spacing-md);
}

.signup-hero-title {
    margin: 0 0 var(--spacing-sm) 0;
    font-family: var(--font-script);
    font-size: 46.5px;
    font-weight: 100;
    line-height: 1.125;
    color: var(--text-color);
}

.signup-hero-subtitle {
    margin: 0 0 var(--spacing-lg) 0;
    color: var(--text-color);
    max-width: 48ch;
}

.signup-perks {
    margin: 0;
    padding-left: 18px;
    display: grid;
    gap: 10px;
}

.signup-visual-note {
    margin-top: var(--spacing-lg);
    margin-bottom: 0;
}

.signup-inline-link {
    color: var(--accent-color);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.signup-card {
    padding: clamp(24px, 4vw, 56px);
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
}

.signup-card-header {
    width: 100%;
    max-width: 560px;
    margin-bottom: var(--spacing-md);
}

.signup-card-header h2 {
    margin: 0 0 var(--spacing-sm) 0;
    font-family: var(--font-script);
    font-size: 46.5px;
    font-weight: 100;
    line-height: 1.125;
    color: var(--text-color);
}

.signup-card .signup-form {
    width: 100%;
    max-width: 560px;
}

.signup-grid-2 {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
}

@media (min-width: 768px) {
    .signup-grid-2 {
        grid-template-columns: 1fr 1fr;
    }
}

.signup-submit {
    width: 100%;
}

.signup-section.signup-full .signup-submit {
    margin-top: var(--spacing-sm);
}

.signup-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-2xl);
    max-width: 1200px;
    margin: 0 auto;
}

@media (min-width: 1024px) {
    .signup-container {
        grid-template-columns: 1.2fr 1fr;
    }
}

.signup-form-wrapper {
    background-color: var(--background-light);
    padding: var(--spacing-2xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.signup-form-wrapper h1 {
    font-family: var(--font-script);
    font-size: 46.5px;
    font-weight: 100;
    line-height: 1.125;
    margin-bottom: var(--spacing-sm);
    margin-top: 0;
    color: var(--primary-color);
    text-transform: none;
}


.signup-subtitle {
    margin-bottom: var(--spacing-xl);
    color: var(--text-muted);
    font-size: var(--font-size-base);
}

.signup-form {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.form-hint {
    font-size: var(--font-size-sm);
    color: var(--text-muted);
    margin-top: calc(var(--spacing-xs) * -1);
}

.checkbox-group {
    flex-direction: row;
    align-items: flex-start;
    gap: var(--spacing-sm);
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-sm);
    cursor: pointer;
    font-weight: normal;
}

.checkbox-label input[type="checkbox"] {
    margin-top: 4px;
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: var(--primary-color);
}

.checkbox-label a {
    color: var(--primary-color);
    text-decoration: underline;
}

.checkbox-label a:hover,
.checkbox-label a:focus {
    color: var(--accent-color);
}

.btn-large {
    padding: var(--spacing-md) var(--spacing-xl);
    font-size: var(--font-size-lg);
    font-weight: 600;
}

/* Signup: reduce oversized primary buttons */
.signup-section.signup-full .btn-large {
    padding: var(--spacing-sm) var(--spacing-lg);
    font-size: var(--font-size-base);
}

.login-link-section {
    margin-top: var(--spacing-xl);
    padding-top: var(--spacing-xl);
    border-top: 2px solid var(--border-color);
    text-align: center;
}

.login-link-section p {
    margin-bottom: var(--spacing-md);
    color: var(--text-muted);
}

.login-link-section .btn {
    display: inline-block;
    margin-top: var(--spacing-sm);
}

.signup-benefits {
    background-color: var(--background-light);
    padding: var(--spacing-2xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    height: fit-content;
}

.signup-benefits h2 {
    font-family: var(--font-script);
    font-size: 46.5px;
    font-weight: 100;
    line-height: 1.125;
    margin-bottom: var(--spacing-sm);
    margin-top: 0;
    color: var(--primary-color);
    text-transform: none;
}

.benefits-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xl);
}

.benefits-list li {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.benefits-list strong {
    color: var(--primary-color);
    font-size: var(--font-size-lg);
}

.benefits-list p {
    color: var(--text-muted);
    margin: 0;
}

/* ============================================
   Comprehensive Mobile Responsive Styles
   ============================================ */

/* Base mobile adjustments (up to 479px) */
@media (max-width: 479px) {
    html {
        font-size: 14px;
    }
    
    .container {
        padding: 0 var(--spacing-sm);
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .page-header h1 {
        font-size: 2.5rem;
    }
}

/* Small mobile (480px - 599px) */
@media (min-width: 480px) and (max-width: 599px) {
    .container {
        padding: 0 var(--spacing-sm);
    }
    
    .section-title {
        font-size: 3rem;
    }
}

/* Mobile and small tablets (up to 767px) */
@media (max-width: 767px) {
    /* Typography scaling */
    .section-title {
        font-size: 3rem;
    }
    
    .page-header h1 {
        font-size: 3.5rem;
    }
    
    /* Container adjustments */
    .container {
        padding: 0 var(--spacing-sm);
    }
    
    /* Hero section */
    .hero-spotlight-inner {
        max-width: 100%;
        margin: 0;
        border-left: none;
        border-right: none;
    }
    
    .hero-spotlight-image {
        height: 400px;
    }
    
    .hero-spotlight-banner {
        font-size: 0.9rem;
        padding: 10px 14px;
        width: calc(100% - 20px);
    }
    
    /* Triumvirate section */
    .triumvirate-holder {
        flex-direction: column;
        gap: var(--spacing-md);
    }
    
    .triumvirate-holder figure img {
        height: 250px;
    }
    
    .triumvirate {
        padding: var(--spacing-lg) 0;
    }
    
    /* Stores section */
    .stores-section {
        padding: var(--spacing-lg) 0;
    }
    
    .stores-grid {
        grid-auto-columns: 200px;
        gap: var(--spacing-xs);
    }
    
    .store-card {
        width: 200px;
    }
    
    /* Info section */
    .info-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    
    .info-card {
        max-width: 100%;
        padding: var(--spacing-lg);
    }
    
    .info-card h3 {
        font-size: 2.5rem;
    }
    
    /* Newsletter section */
    .newsletter-section {
        padding: var(--spacing-lg) 0;
    }
    
    .newsletter-content {
        padding: 0 var(--spacing-sm);
    }
    
    .newsletter-form {
        flex-direction: column;
        gap: var(--spacing-sm);
    }
    
    .newsletter-form input {
        width: 100%;
    }
    
    /* Page headers */
    .page-header {
        padding: var(--spacing-lg) 0;
    }
    
    .page-header h1 {
        padding-bottom: var(--spacing-xs);
    }
    
    /* Stores directory */
    .directory-map-button-container {
        margin: var(--spacing-sm) 0;
    }
    
    .mall-hours-mini {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--spacing-xs);
        padding: var(--spacing-xs) var(--spacing-sm);
        font-size: 0.875rem;
        box-sizing: border-box;
    }
    
    .mall-hours-line {
        flex-wrap: wrap;
        justify-content: center;
        gap: var(--spacing-sm);
        width: 100%;
    }
    
    .mall-hours-mini .hours-item,
    .mall-hours-mini {
        font-size: 0.875rem;
    }
    
    .mall-hours-mini .hours-item strong {
        display: inline-block;
        min-width: 70px;
    }
    
    .filters-sidebar {
        position: relative;
    }
    
    .filters-content.active {
        display: block;
    }
    
    .filters-section {
        padding: var(--spacing-md) 0;
    }
    
    .filters-top-row {
        flex-direction: column;
        gap: var(--spacing-sm);
        align-items: stretch;
    }
    
    .filters-top-row .search-input-inline {
        width: 100%;
    }
    
    .category-filters {
        flex-wrap: wrap;
        gap: var(--spacing-xs);
    }
    
    .stores-directory-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    
    /* Deals and Events */
    .deals-sort-wrapper {
        padding: 0 var(--spacing-sm);
    }
    
    .deals-sort-select {
        width: 100%;
        min-width: auto;
    }
    
    .deals-wrapper {
        flex-direction: column;
        gap: var(--spacing-md);
    }
    
    .deals-filters {
        flex-direction: row;
        flex-wrap: wrap;
        width: 100%;
        min-width: auto;
    }
    
    .deal-filter-btn {
        flex: 1;
        min-width: 120px;
    }
    
    .deals-grid,
    .events-grid {
        gap: var(--spacing-md);
        max-width: 100%;
    }
    
    .deal-card,
    .event-card {
        flex-direction: column;
        padding: var(--spacing-md);
    }
    
    .deal-logo,
    .event-image {
        width: 100%;
        height: 250px;
    }
    
    .deal-left,
    .event-left {
        width: 100%;
        height: 250px;
    }
    
    .deal-ribbon {
        position: static;
        transform: none;
        margin-top: var(--spacing-sm);
    }
    
    .events-filters {
        flex-direction: column;
        gap: var(--spacing-sm);
    }
    
    .events-filter-select {
        width: 100%;
    }
    
    .events-filter-range {
        width: 100%;
        flex-direction: column;
    }
    
    .events-filter-range input[type="date"] {
        width: 100%;
    }
    
    /* Contact page */
    .contact-cards {
        flex-direction: column;
        gap: var(--spacing-lg);
    }
    
    .contact-card {
        width: 100%;
    }
    
    .map-embed iframe {
        height: 250px;
    }
    
    /* Leasing page */
    .leasing-contact {
        max-width: 100%;
        aspect-ratio: auto;
        min-height: 300px;
        padding: var(--spacing-lg);
    }
    
    .leasing-logo {
        max-height: 60px;
    }
    
    /* Signup page */
    .signup-shell {
        flex-direction: column;
    }
    
    .signup-visual {
        padding: var(--spacing-xl) var(--spacing-md);
    }
    
    .signup-card {
        padding: var(--spacing-lg);
    }
    
    .signup-grid-2 {
        grid-template-columns: 1fr;
    }
    
    .signup-benefits {
        padding: var(--spacing-lg);
    }
    
    .signup-benefits h2 {
        font-size: 2.5rem;
    }
    
    /* Buttons */
    .btn {
        padding: 12.5px 30px;
        font-size: var(--font-size-base);
        width: 100%;
        text-align: center;
    }
    
    .btn-primary,
    .btn-secondary {
        width: 100%;
    }
    
    .section-action .btn {
        width: auto;
        min-width: 200px;
    }
    
    .triumvirate-btn.btn {
        padding: 12.5px 30px;
        font-size: var(--font-size-base);
    }
    
    /* Footer */
    footer {
        padding: var(--spacing-md) 0;
    }
    
    .footer-content {
        gap: var(--spacing-sm);
    }
    
    .footer-nav {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        gap: 4px 8px;
        width: 100%;
    }
    
    .footer-separator {
        display: inline-block;
        margin: 0 4px;
        font-size: 0.7rem;
    }
    
    .footer-nav a {
        display: inline-block;
        padding: 4px 6px;
        font-size: 0.8rem;
        white-space: nowrap;
        flex: 0 0 auto;
    }
    
    .footer-copyright {
        font-size: 0.75rem;
        padding: 0 var(--spacing-sm);
    }
    
    .footer-secondary-logo {
        max-width: 60px;
        max-height: 24px;
    }
    
    .namdar-logo {
        max-width: 120px;
        max-height: 40px;
    }
}

/* Tablet (768px - 1023px) */
@media (min-width: 768px) and (max-width: 1023px) {
    .container {
        padding: 0 var(--spacing-md);
    }
    
    .triumvirate-holder {
        flex-direction: row;
        flex-wrap: wrap;
    }
    
    .triumvirate-holder > div {
        flex: 1 1 calc(50% - 10px);
        min-width: 280px;
    }
    
    .stores-grid {
        grid-auto-columns: 220px;
    }
    
    /* Info grid stays single column on tablets - only flexes at 1000px+ */
    
    .stores-directory-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0;
    }
}

/* Large tablets and small desktops (1024px - 1199px) */
@media (min-width: 1024px) and (max-width: 1199px) {
    .container {
        max-width: 1100px;
    }
    
    .stores-directory-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 0;
    }
}

/* Desktop (1200px+) */
@media (min-width: 1200px) {
    .container {
        max-width: 1200px;
    }
}

/* Very wide screens (1779px+) - continue grid layout */
@media (min-width: 1779px) {
    .info-grid {
        grid-template-columns: repeat(auto-fit, minmax(420px, 1fr));
    }
    
    .info-card {
        width: 420px;
        max-width: none;
    }
}

/* ============================================
   Search Results Page
   ============================================ */

.search-results-section {
    padding: var(--spacing-xl) 0;
    min-height: 60vh;
}

.search-results-header {
    margin-bottom: var(--spacing-xl);
    text-align: center;
}

.search-results-header h1 {
    font-family: var(--font-display);
    font-size: var(--font-size-3xl);
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: var(--spacing-sm);
}

.search-results-count {
    font-size: var(--font-size-lg);
    color: var(--text-color-secondary);
    margin: 0;
}

.search-no-results {
    text-align: center;
    padding: var(--spacing-xl);
    background-color: var(--background-light);
    border-radius: var(--radius-md);
}

.search-no-results p {
    margin-bottom: var(--spacing-sm);
}

.search-no-results a {
    color: var(--accent-color);
    text-decoration: underline;
}

.search-results-group {
    margin-bottom: var(--spacing-2xl);
}

.search-results-group-title {
    font-family: var(--font-display);
    font-size: var(--font-size-2xl);
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: var(--spacing-xs);
    padding-bottom: var(--spacing-xs);
    border-bottom: 2px solid var(--accent-color);
}

.search-results-group-count {
    font-size: var(--font-size-base);
    color: var(--text-color-secondary);
    margin-bottom: var(--spacing-md);
    font-style: italic;
}

.search-results-list {
    display: grid;
    gap: var(--spacing-md);
}

.stores-results {
    grid-template-columns: 1fr;
}

.deals-results,
.events-results {
    grid-template-columns: 1fr;
}

.search-result-item {
    background-color: var(--background-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: box-shadow 0.3s ease, transform 0.2s ease;
}

/* Remove borders for store results */
.search-result-item.store-result {
    border: none;
    background-color: transparent;
}

.search-result-item.store-result:hover {
    box-shadow: none;
    transform: none;
}

.search-result-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.search-result-link {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    padding: var(--spacing-md);
    text-decoration: none;
    color: inherit;
}

/* Store result specific link styling */
.store-result .search-result-link {
    padding: 0;
    gap: var(--spacing-lg);
}

.search-result-image {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    overflow: hidden;
    border-radius: var(--radius-sm);
    background-color: var(--background-light);
}

/* Store result images - show full image */
.store-result .search-result-image {
    width: 150px;
    height: 150px;
    border-radius: 0;
    background-color: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
}

.store-result .search-result-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.search-result-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.search-result-content {
    flex: 1;
    min-width: 0;
}

.search-result-title {
    font-family: var(--font-display);
    font-size: var(--font-size-lg);
    font-weight: 700;
    color: var(--text-color);
    margin: 0 0 var(--spacing-xs) 0;
}

.search-result-meta {
    font-size: var(--font-size-sm);
    color: var(--text-color-secondary);
    margin: var(--spacing-xs) 0 0 0;
}

.search-result-description {
    font-size: var(--font-size-base);
    color: var(--text-color);
    line-height: 1.5;
    margin: var(--spacing-xs) 0 0 0;
}

/* Responsive adjustments for search results */
@media (max-width: 767px) {
    .search-results-header h1 {
        font-size: var(--font-size-2xl);
    }
    
    .search-results-group-title {
        font-size: var(--font-size-xl);
    }
    
    .stores-results {
        grid-template-columns: 1fr;
    }
    
    .search-result-link {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .store-result .search-result-link {
        flex-direction: row;
        align-items: center;
    }
    
    .search-result-image {
        width: 100%;
        height: 200px;
    }
    
    .store-result .search-result-image {
        width: 100px;
        height: 100px;
    }
    .nav-menu.active {
        max-width: 100%;
    }
}
