/* Enhanced Stores Archive Page Styles */
:root {
    --primary-color: #00A99D;
    --primary-color-dark: #008C82;
    --primary-color-light: #E6F7F5;
    --accent-color: #FFD700;
    --text-color: #333333;
    --text-light: #666666;
    --border-color: #e0e0e0;
    --background-color: #ffffff;
    --background-light-grey: #f8f9fa;
    --border-radius: 12px;
    --shadow-xs: 0 1px 3px rgba(0, 0, 0, 0.05);
    --shadow-sm: 0 2px 6px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Enhanced Hero Section */
.stores-hero {
    background: linear-gradient(135deg, var(--primary-color-light) 0%, #ffffff 100%);
    padding: 80px 0;
    text-align: center;
    border-radius: var(--border-radius);
    margin-bottom: 50px;
    position: relative;
    overflow: hidden;
}

.stores-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 80% 20%, rgba(255,215,0,0.1) 0%, transparent 50%),
        radial-gradient(circle at 20% 80%, rgba(0,169,157,0.1) 0%, transparent 50%);
    z-index: 1;
}

.stores-hero > * {
    position: relative;
    z-index: 2;
}

.stores-hero h1 {
    color: var(--primary-color-dark);
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.stores-hero p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 40px;
    color: var(--text-light);
    line-height: 1.6;
}

/* Stats Section */
.stores-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
    padding: 20px;
    background: rgba(255,255,255,0.8);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.3);
    min-width: 120px;
    transition: all 0.3s ease;
}

.stat:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.95rem;
    color: var(--text-light);
    font-weight: 500;
}

/* Category Navigation */
.stores-categories-nav {
    margin: 30px 0;
    text-align: center;
}

.stores-categories-nav h2 {
    margin-bottom: 20px;
    color: var(--primary-color);
    font-size: 1.6rem;
}

.category-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 30px;
}

.category-link {
    display: inline-flex;
    align-items: center;
    background-color: var(--background-light-grey);
    color: var(--text-color);
    padding: 10px 18px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.category-link i {
    margin-right: 8px;
    color: var(--primary-color);
}

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

.category-link:hover i {
    color: white;
}

/* Store Category Section */
.stores-category {
    margin-bottom: 50px;
    padding-top: 20px;
}

.category-title {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 10px;
    border-bottom: 2px solid var(--primary-color-light);
    padding-bottom: 10px;
}

.category-description {
    color: #666;
    margin-bottom: 25px;
    font-size: 0.95rem;
    line-height: 1.5;
    max-width: 800px;
}

/* Enhanced Search Section */
.stores-search {
    background: var(--background-light-grey);
    padding: 40px 0;
    margin-bottom: 50px;
    border-radius: var(--border-radius);
}

.search-container {
    max-width: 600px;
    margin: 0 auto 30px;
    position: relative;
    display: flex;
    background: white;
    border-radius: 50px;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.search-container input {
    flex: 1;
    padding: 16px 24px;
    border: none;
    font-size: 1rem;
    outline: none;
    background: transparent;
}

.search-container button {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 16px 24px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.search-container button:hover {
    background: var(--primary-color-dark);
}

/* Category Filters */
.category-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    max-width: 800px;
    margin: 0 auto;
}

.filter-btn {
    background: white;
    color: var(--text-color);
    border: 2px solid var(--border-color);
    padding: 12px 20px;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 0.9rem;
}

.filter-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
}

.filter-btn.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* Enhanced Store Grid */
.store-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}

.store-grid-item {
    background: white;
    border-radius: var(--border-radius);
    padding: 24px;
    text-decoration: none;
    color: inherit;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.store-grid-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

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

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

/* Store Logo */
.store-logo {
    width: 80px;
    height: 60px;
    object-fit: contain;
    margin-bottom: 16px;
    border-radius: 8px;
    background: #fafafa;
    padding: 8px;
    transition: transform 0.3s ease;
}

.store-grid-item:hover .store-logo {
    transform: scale(1.1);
}

/* Store Name */
.store-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-color);
    margin: 0 0 12px 0;
    line-height: 1.3;
}

/* Store View Link */
.store-view-link {
    background: var(--primary-color);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
    margin-top: auto;
}

.store-grid-item:hover .store-view-link {
    background: var(--primary-color-dark);
    transform: scale(1.05);
}

/* View All Button */
.view-all-container {
    text-align: center;
    margin-top: 30px;
}

.view-all-button {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-color-dark));
    color: white;
    border: none;
    padding: 14px 28px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    font-size: 0.95rem;
}

.view-all-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    background: linear-gradient(135deg, var(--primary-color-dark), var(--primary-color));
}

.view-all-button i {
    transition: transform 0.3s ease;
}

.view-all-button:hover i {
    transform: translateX(4px);
}

/* Category Title Enhancement */
.category-title {
    color: var(--primary-color-dark);
    font-size: 2rem;
    margin-bottom: 16px;
    font-weight: 700;
    position: relative;
    padding-bottom: 12px;
}

.category-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 2px;
}

.category-description {
    color: var(--text-light);
    margin-bottom: 30px;
    font-size: 1rem;
    line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 768px) {
    .stores-hero h1 {
        font-size: 2.2rem;
    }
    
    .stores-hero p {
        font-size: 1.1rem;
    }
    
    .stores-stats {
        gap: 30px;
    }
    
    .stat {
        min-width: 100px;
        padding: 16px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .store-grid {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
        gap: 16px;
    }
    
    .category-filters {
        gap: 8px;
    }
    
    .filter-btn {
        padding: 10px 16px;
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .stores-hero {
        padding: 60px 0;
    }
    
    .stores-hero h1 {
        font-size: 1.8rem;
    }
    
    .stores-stats {
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }
    
    .stat {
        width: 200px;
    }
    
    .store-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 12px;
    }
    
    .search-container {
        margin: 0 20px 30px;
    }
}
