/* Consignment Stores Near Me - Modern Beautiful Design */
/* Mobile-First, Visually Stunning Layout */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Playfair+Display:wght@400;500;600;700&display=swap');

:root {
    /* Modern Color Palette */
    --primary: #3B82F6;
    --primary-dark: #2563EB;
    --primary-light: #93C5FD;
    --secondary: #8B5CF6;
    --accent: #06B6D4;
    --success: #10B981;
    --warning: #F59E0B;
    --error: #EF4444;
    
    /* Neutral Colors */
    --white: #FFFFFF;
    --gray-50: #F8FAFC;
    --gray-100: #F1F5F9;
    --gray-200: #E2E8F0;
    --gray-300: #CBD5E1;
    --gray-400: #94A3B8;
    --gray-500: #64748B;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1E293B;
    --gray-900: #0F172A;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #3B82F6 0%, #8B5CF6 100%);
    --gradient-secondary: linear-gradient(135deg, #06B6D4 0%, #3B82F6 100%);
    --gradient-light: linear-gradient(135deg, #F8FAFC 0%, #E2E8F0 100%);
    --gradient-dark: linear-gradient(135deg, #1E293B 0%, #0F172A 100%);
    
    /* Shadows */
    --shadow-xs: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-sm: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
    
    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;
    
    /* Typography */
    --font-display: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    
    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 0.75rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;
}

/* Reset and Base Styles */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--gray-700);
    background: var(--gray-50);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.2;
    color: var(--gray-900);
    margin-bottom: var(--space-lg);
}

h1 { font-size: clamp(2rem, 5vw, 4rem); }
h2 { font-size: clamp(1.5rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.75rem); }
h4 { font-size: clamp(1.125rem, 2.5vw, 1.5rem); }
h5 { font-size: clamp(1rem, 2vw, 1.25rem); }
h6 { font-size: clamp(0.875rem, 1.5vw, 1.125rem); }

p {
    margin-bottom: var(--space-md);
    line-height: 1.7;
    color: var(--gray-600);
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

a:hover {
    color: var(--primary-dark);
}

/* Utility Classes */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

.container-wide {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-sm) var(--space-xl);
    border: none;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.875rem;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    outline: none;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: var(--white);
}

.btn-secondary {
    background: var(--white);
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

/* Header */
.header {
    background: var(--white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--gray-200);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-md) 0;
}

.logo {
    display: flex;
    align-items: center;
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-900);
    text-decoration: none;
}

.logo img {
    height: 40px;
    margin-right: var(--space-sm);
}

/* Navigation */
.nav {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: var(--space-lg);
    margin: 0;
    padding: 0;
}

.nav-item {
    position: relative;
}

.nav-link {
    color: var(--gray-700);
    font-weight: 500;
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-md);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link:hover {
    color: var(--primary);
    background: var(--gray-100);
}

/* Dropdown */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    cursor: pointer;
}

.dropdown-toggle::after {
    content: '▼';
    font-size: 0.75rem;
    transition: transform 0.3s;
}

.dropdown:hover .dropdown-toggle::after {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 320px;
    max-height: 400px;
    overflow-y: auto;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--gray-200);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 100;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-content {
    padding: var(--space-md);
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-xs);
}

.dropdown-item {
    padding: var(--space-sm) var(--space-md);
    color: var(--gray-700);
    border-radius: var(--radius-md);
    transition: all 0.3s;
    font-size: 0.875rem;
}

.dropdown-item:hover {
    background: var(--gray-100);
    color: var(--primary);
    transform: translateX(4px);
}

/* Mobile Menu Toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: var(--space-sm);
    border: none;
    background: none;
}

.mobile-toggle span {
    width: 24px;
    height: 3px;
    background: var(--gray-700);
    margin: 2px 0;
    transition: 0.3s;
    border-radius: var(--radius-full);
}

/* Hero Section */
.hero {
    background: var(--gradient-primary);
    color: var(--white);
    padding: var(--space-4xl) 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Ccircle cx='7' cy='7' r='1'/%3E%3Ccircle cx='53' cy='7' r='1'/%3E%3Ccircle cx='7' cy='53' r='1'/%3E%3Ccircle cx='53' cy='53' r='1'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    color: var(--white);
    margin-bottom: var(--space-lg);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: var(--space-2xl);
    opacity: 0.95;
    color: var(--white);
}

/* Search Section */
.search-container {
    max-width: 600px;
    margin: 0 auto;
}

.search-form {
    display: flex;
    background: var(--white);
    border-radius: var(--radius-full);
    padding: var(--space-xs);
    box-shadow: var(--shadow-xl);
    transition: transform 0.3s;
}

.search-form:focus-within {
    transform: translateY(-2px);
    box-shadow: var(--shadow-2xl);
}

.search-input {
    flex: 1;
    border: none;
    outline: none;
    padding: var(--space-md) var(--space-lg);
    font-size: 1rem;
    color: var(--gray-700);
    background: transparent;
}

.search-input::placeholder {
    color: var(--gray-400);
}

.search-btn {
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    padding: var(--space-md) var(--space-xl);
    border-radius: var(--radius-full);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
}

.search-btn:hover {
    transform: scale(1.05);
}

/* Breadcrumb */
.breadcrumb {
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    padding: var(--space-md) 0;
}

.breadcrumb-list {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    list-style: none;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.breadcrumb-item:not(:last-child)::after {
    content: '›';
    color: var(--gray-400);
    font-size: 1.1rem;
}

.breadcrumb-link {
    color: var(--gray-600);
    font-size: 0.875rem;
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-md);
    transition: all 0.3s;
}

.breadcrumb-link:hover {
    color: var(--primary);
    background: var(--gray-100);
}

/* Stats Section */
.stats {
    padding: var(--space-3xl) 0;
    background: var(--white);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-xl);
}

.stat-card {
    text-align: center;
    padding: var(--space-2xl);
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: rotate 4s linear infinite;
    opacity: 0;
    transition: opacity 0.3s;
}

.stat-card:hover::before {
    opacity: 1;
}

.stat-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-2xl);
}

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

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    font-family: var(--font-display);
    margin-bottom: var(--space-sm);
    position: relative;
    z-index: 1;
}

.stat-label {
    font-size: 1.125rem;
    font-weight: 500;
    opacity: 0.95;
    position: relative;
    z-index: 1;
}

/* Section Styles */
.section {
    padding: var(--space-3xl) 0;
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto var(--space-2xl);
}

.section-title {
    position: relative;
    display: inline-block;
    margin-bottom: var(--space-lg);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--gray-600);
    line-height: 1.6;
}

/* Store Cards */
.stores-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: var(--space-xl);
    margin-top: var(--space-2xl);
}

.store-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--gray-200);
    position: relative;
}

.store-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.3s;
}

.store-card:hover::before {
    transform: scaleX(1);
}

.store-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-2xl);
}

.store-header {
    padding: var(--space-xl) var(--space-xl) var(--space-lg);
    background: var(--gradient-light);
    border-bottom: 1px solid var(--gray-200);
}

.store-image {
    width: 100%;
    height: 200px;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    overflow: hidden;
    position: relative;
}

.store-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

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

.store-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: var(--space-sm);
    font-family: var(--font-display);
}

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

.stars {
    display: flex;
    gap: 2px;
}

.star {
    color: #F59E0B;
    font-size: 1rem;
}

.star.empty {
    color: var(--gray-300);
}

.store-reviews {
    color: var(--gray-600);
    font-size: 0.875rem;
    font-weight: 500;
}

.store-body {
    padding: var(--space-xl);
}

.store-info {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}

.store-info-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
}

.store-icon {
    color: var(--primary);
    font-size: 1.1rem;
    margin-top: 2px;
    min-width: 20px;
}

.store-text {
    color: var(--gray-600);
    font-size: 0.9rem;
    line-height: 1.5;
}

.store-features {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    margin-bottom: var(--space-lg);
}

.feature-tag {
    background: var(--gradient-secondary);
    color: var(--white);
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s;
}

.feature-tag:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-md);
}

.store-actions {
    display: flex;
    gap: var(--space-sm);
}

.store-btn {
    flex: 1;
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s;
    text-decoration: none;
    border: none;
    cursor: pointer;
}

.store-btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
}

.store-btn-secondary {
    background: var(--gray-100);
    color: var(--gray-700);
    border: 1px solid var(--gray-300);
}

.store-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* City/State Grid */
.grid {
    display: grid;
    gap: var(--space-lg);
    margin-top: var(--space-2xl);
}

.grid-2 { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }

.grid-card {
    background: var(--white);
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    text-decoration: none;
    color: var(--gray-900);
}

.grid-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.1), transparent);
    transition: left 0.5s;
}

.grid-card:hover::before {
    left: 100%;
}

.grid-card:hover {
    border-color: var(--primary);
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    color: var(--gray-900);
}

.grid-card-title {
    font-weight: 700;
    margin-bottom: var(--space-xs);
    font-size: 1.125rem;
}

.grid-card-subtitle {
    color: var(--gray-500);
    font-size: 0.875rem;
}

/* City Hero */
.city-hero {
    background: var(--gradient-secondary);
    color: var(--white);
    padding: var(--space-2xl) 0;
    margin-bottom: var(--space-2xl);
}

.city-hero-content {
    text-align: center;
}

.city-title {
    color: var(--white);
    margin-bottom: var(--space-md);
}

.city-description {
    font-size: 1.125rem;
    opacity: 0.95;
    margin-bottom: var(--space-xl);
    color: var(--white);
}

.city-stats {
    display: flex;
    justify-content: center;
    gap: var(--space-2xl);
    flex-wrap: wrap;
}

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

.city-stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    font-family: var(--font-display);
    margin-bottom: var(--space-xs);
}

.city-stat-label {
    font-size: 0.875rem;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Nearby Section */
.nearby {
    background: var(--gradient-light);
    padding: var(--space-2xl);
    border-radius: var(--radius-xl);
    margin-top: var(--space-3xl);
}

.nearby-title {
    text-align: center;
    margin-bottom: var(--space-xl);
}

.nearby-grid {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
    justify-content: center;
}

.nearby-link {
    background: var(--white);
    color: var(--primary);
    padding: var(--space-sm) var(--space-lg);
    border-radius: var(--radius-full);
    border: 2px solid var(--primary);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    font-size: 0.875rem;
}

.nearby-link:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Info Sections */
.info-section {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: var(--space-2xl);
    margin: var(--space-2xl) 0;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
}

.info-section h3 {
    color: var(--primary);
    margin-top: var(--space-xl);
    margin-bottom: var(--space-md);
}

.info-section ul,
.info-section ol {
    margin-left: var(--space-lg);
    margin-bottom: var(--space-md);
}

.info-section li {
    margin-bottom: var(--space-sm);
    line-height: 1.6;
}

/* Footer */
.footer {
    background: var(--gradient-dark);
    color: var(--white);
    padding: var(--space-3xl) 0 var(--space-xl);
    margin-top: var(--space-4xl);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-2xl);
    margin-bottom: var(--space-2xl);
}

.footer-section h3 {
    color: var(--white);
    margin-bottom: var(--space-lg);
    font-size: 1.125rem;
}

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

.footer-links li {
    margin-bottom: var(--space-sm);
}

.footer-link {
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s;
    font-size: 0.9rem;
}

.footer-link:hover {
    color: var(--white);
    transform: translateX(4px);
}

.footer-bottom {
    text-align: center;
    padding-top: var(--space-xl);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.7);
}

/* Mobile Responsive Design */
@media (max-width: 768px) {
    :root {
        --space-xs: 0.375rem;
        --space-sm: 0.5rem;
        --space-md: 0.75rem;
        --space-lg: 1rem;
        --space-xl: 1.5rem;
        --space-2xl: 2rem;
        --space-3xl: 2.5rem;
        --space-4xl: 3rem;
    }
    
    .mobile-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        padding: var(--space-2xl) var(--space-lg);
        box-shadow: var(--shadow-2xl);
        transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1000;
        overflow-y: auto;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-menu .nav-item {
        width: 100%;
        margin-bottom: var(--space-sm);
    }
    
    .nav-menu .nav-link {
        display: block;
        width: 100%;
        padding: var(--space-md);
        border-radius: var(--radius-md);
    }
    
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: 1px solid var(--gray-200);
        margin-top: var(--space-sm);
        display: none;
    }
    
    .dropdown.active .dropdown-menu {
        display: block;
    }
    
    .dropdown-content {
        grid-template-columns: 1fr;
    }
    
    .search-form {
        flex-direction: column;
        border-radius: var(--radius-lg);
        gap: var(--space-sm);
        padding: var(--space-sm);
    }
    
    .search-input {
        border-radius: var(--radius-md);
        background: var(--gray-50);
    }
    
    .search-btn {
        border-radius: var(--radius-md);
    }
    
    .stores-grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }
    
    .city-stats {
        gap: var(--space-lg);
        justify-content: space-around;
    }
    
    .store-actions {
        flex-direction: column;
    }
    
    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-md);
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
        text-align: center;
    }
}

@media (max-width: 480px) {
    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }
    
    .hero {
        padding: var(--space-2xl) 0;
    }
    
    .section {
        padding: var(--space-2xl) 0;
    }
    
    .container {
        padding: 0 var(--space-sm);
    }
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 24px;
    height: 24px;
    border: 3px solid var(--gray-300);
    border-radius: 50%;
    border-top-color: var(--primary);
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Smooth scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--gray-100);
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* Enhanced State Page Store Listings */
.state-stores-grid {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
    margin-top: var(--space-2xl);
}

.state-store-item {
    background: var(--white);
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    gap: var(--space-xl);
    align-items: flex-start;
}

.state-store-image {
    flex-shrink: 0;
    width: 200px;
    height: 150px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.state-store-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.state-store-item:hover .state-store-image img {
    transform: scale(1.05);
}

.state-store-content {
    flex: 1;
    min-width: 0;
}

.state-store-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--gradient-primary);
    transform: scaleY(0);
    transition: transform 0.3s;
}

.state-store-item:hover::before {
    transform: scaleY(1);
}

.state-store-item:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.state-store-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: var(--space-lg);
    flex-wrap: wrap;
    gap: var(--space-sm);
}

.state-store-name {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 700;
    font-family: var(--font-display);
}

.store-name-link {
    color: var(--primary);
    text-decoration: none;
    transition: all 0.3s;
}

.store-name-link:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.state-store-rating {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

.review-count {
    color: var(--gray-500);
    font-size: 0.875rem;
    font-weight: 500;
}

.state-store-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-md);
    align-items: start;
}

.state-store-details > div {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 0.9rem;
    color: var(--gray-600);
}

.state-store-details .address-icon,
.state-store-details .location-icon,
.state-store-details .phone-icon,
.state-store-details .web-icon,
.state-store-details .specialty-icon {
    color: var(--primary);
    font-size: 1rem;
    min-width: 16px;
}

.city-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.city-link:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.phone-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
}

.phone-link:hover {
    color: var(--primary-dark);
}

.website-link {
    color: var(--secondary);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
}

.website-link:hover {
    color: var(--primary);
}

.specialty-text {
    font-style: italic;
    color: var(--gray-500);
}

/* City List Styling */
.city-list {
    background: var(--gray-50);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    margin: var(--space-xl) 0;
    line-height: 1.8;
}

.city-list-item {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
    white-space: nowrap;
}

.city-list-item:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* Mobile Responsive for State Store Listings */
@media (max-width: 768px) {
    .state-store-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .state-store-details {
        grid-template-columns: 1fr;
        gap: var(--space-sm);
    }
    
    .state-store-item {
        padding: var(--space-lg);
        flex-direction: column;
        gap: var(--space-lg);
    }
    
    .state-store-image {
        width: 100%;
        height: 200px;
    }
    
    .city-list {
        padding: var(--space-lg);
        font-size: 0.9rem;
        line-height: 1.6;
    }
}

@media (max-width: 480px) {
    .state-stores-grid {
        gap: var(--space-md);
    }
    
    .state-store-name {
        font-size: 1.125rem;
    }
    
    .state-store-details {
        font-size: 0.875rem;
    }
}

/* Print styles */
@media print {
    .header,
    .footer,
    .search-container,
    .nearby {
        display: none;
    }
    
    .store-card,
    .state-store-item {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid var(--gray-300);
    }
    
    * {
        color: black !important;
        background: white !important;
    }
}