/* Shops Page Styles */
.shops-hero {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    padding: 6rem 0 4rem;
    position: relative;
    overflow: hidden;
}

.shops-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%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.4;
}

.shops-hero .container {
    position: relative;
    z-index: 1;
}

.shops-hero h1 {
    font-size: 3rem;
    font-weight: 800;
    color: var(--white);
    text-align: center;
    margin-bottom: 1rem;
}

.shops-hero > .container > p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.95);
    text-align: center;
    margin-bottom: 3rem;
}

/* Search and Filter Bar */
.search-filter-bar {
    display: flex;
    gap: 1rem;
    max-width: 800px;
    margin: 0 auto;
}

.search-box {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
}

.search-box svg {
    position: absolute;
    left: 1.25rem;
    color: var(--gray);
    pointer-events: none;
}

.search-box input {
    width: 100%;
    padding: 1rem 1rem 1rem 3.5rem;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    background: var(--white);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.search-box input:focus {
    outline: none;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.filter-box {
    min-width: 200px;
}

.filter-box select {
    width: 100%;
    padding: 1rem 3rem 1rem 1.25rem;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    background: var(--white);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%236B7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1.25rem center;
    transition: all 0.3s ease;
}

.filter-box select:focus {
    outline: none;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* Shops Section */
.shops-section {
    padding: 4rem 0;
    background: var(--light);
    min-height: 50vh;
}

.shops-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2.5rem;
}

.shops-header h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--dark);
}

.shops-count {
    color: var(--gray);
    font-weight: 600;
}

/* Shops Grid */
.shops-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.shop-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    display: block;
}

.shop-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(16, 185, 129, 0.15);
}

.shop-card-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 2.5rem 1.5rem;
    text-align: center;
    position: relative;
}

.shop-icon {
    width: 80px;
    height: 80px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    font-size: 2.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.shop-card-body {
    padding: 1.5rem;
}

.shop-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.shop-category {
    display: inline-block;
    padding: 0.4rem 0.8rem;
    background: rgba(16, 185, 129, 0.1);
    color: var(--primary);
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.shop-meta {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.shop-meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--gray);
    font-size: 0.95rem;
}

.shop-meta-item svg {
    width: 18px;
    height: 18px;
    color: var(--primary);
}

.shop-card-footer {
    padding: 0 1.5rem 1.5rem;
}

.view-shop-btn {
    width: 100%;
    padding: 0.875rem;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 10px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.view-shop-btn:hover {
    background: var(--primary-dark);
}

/* No Results */
.no-results {
    text-align: center;
    padding: 4rem 2rem;
}

.no-results svg {
    color: var(--gray);
    margin-bottom: 1.5rem;
}

.no-results h3 {
    font-size: 1.5rem;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.no-results p {
    color: var(--gray);
    font-size: 1.1rem;
}

/* Responsive */
@media (max-width: 768px) {
    .shops-hero {
        padding: 4rem 0 3rem;
    }

    .shops-hero h1 {
        font-size: 2rem;
    }

    .shops-hero > .container > p {
        font-size: 1.1rem;
    }

    .search-filter-bar {
        flex-direction: column;
    }

    .filter-box {
        min-width: auto;
    }

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

    .shops-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .shops-hero h1 {
        font-size: 1.75rem;
    }

    .shops-header h2 {
        font-size: 1.5rem;
    }
}
