/* --- Shops Page Custom Styles --- */

/* Filter Sidebar */
.filter-sidebar {
    border-radius: 10px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
    background: #fff;
    margin-bottom: 24px;
}
.filter-sidebar .card-header {
    border-radius: 10px 10px 0 0;
    background: #007bff;
    color: #fff;
    font-weight: 600;
    letter-spacing: 0.5px;
}
.filter-sidebar .list-group-item.active {
    background: #007bff;
    color: #fff;
    border-color: #007bff;
}
.filter-sidebar .list-group-item {
    border: none;
    border-radius: 6px;
    margin-bottom: 4px;
    transition: background 0.2s, color 0.2s;
}
.filter-sidebar .list-group-item a {
    text-decoration: none;
}
.filter-sidebar .list-group-item:hover {
    background: #f1f3f4;
    color: #007bff;
}

/* Shop Card */
.shop-card {
    border-radius: 12px;
    box-shadow: 0 2px 16px rgba(0,0,0,0.06);
    transition: box-shadow 0.2s, transform 0.2s;
    overflow: hidden;
    background: #fff;
    border: none;
}
.shop-card:hover {
    box-shadow: 0 6px 32px rgba(0,123,255,0.10);
    transform: translateY(-4px) scale(1.01);
}
.shop-banner {
    border-radius: 12px 12px 0 0;
    min-height: 100px;
    background-color: #f8f9fa;
}
.shop-logo {
    border-radius: 50%;
    border: 2px solid #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    margin-top: -40px;
    background: #fff;
}
.shop-card .card-title {
    font-size: 1.15rem;
    font-weight: 600;
    color: #222;
}
.shop-card .card-text {
    color: #555;
}
.shop-card .btn {
    border-radius: 25px;
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* --- Banner Grid Styles --- */
.banner-grid-container {
    margin-top: 20px;
}

.banner-header {
    padding: 15px 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    border-left: 4px solid #007bff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.banner-category-title {
    margin-bottom: 5px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.banner-category-desc {
    font-size: 0.9rem;
    color: #6c757d;
    margin-bottom: 0;
}

.banner-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.banner-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

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

.banner-item:hover .banner-img {
    transform: scale(1.05);
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.3) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.banner-item:hover .banner-overlay {
    opacity: 1;
}

.banner-content {
    text-align: center;
    color: white;
}

.banner-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 8px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.banner-subtitle {
    font-size: 1rem;
    margin-bottom: 15px;
    opacity: 0.9;
}

.banner-btn {
    display: inline-block;
    padding: 10px 25px;
    background: #007bff;
    color: white;
    border-radius: 25px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: background 0.3s ease;
}

.banner-btn:hover {
    background: #0056b3;
}

/* Section Header Styles */
.section-title {
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #007bff, #28a745);
    border-radius: 2px;
}

/* Responsive Tweaks */
@media (max-width: 991.98px) {
    .filter-sidebar {
        margin-bottom: 20px;
    }
    .banner-header {
        padding: 12px 15px;
    }
    .banner-category-title {
        font-size: 1.1rem !important;
    }
}
@media (max-width: 767.98px) {
    .filter-sidebar {
        margin-bottom: 16px;
    }
    .shop-card {
        margin-bottom: 16px;
    }
    .shop-banner {
        min-height: 80px;
    }
    .shop-logo {
        width: 60px !important;
        height: 60px !important;
        margin-top: -30px;
    }
    .banner-header {
        padding: 10px 12px;
        margin-bottom: 15px !important;
    }
    .banner-category-title {
        font-size: 1rem !important;
    }
    .banner-category-desc {
        font-size: 0.8rem !important;
    }
    .section-title {
        font-size: 2rem !important;
    }
    .section-subtitle {
        font-size: 1rem !important;
    }
}
@media (max-width: 575.98px) {
    .shop-card {
        margin-bottom: 12px;
    }
    .shop-banner {
        min-height: 60px;
    }
    .shop-logo {
        width: 48px !important;
        height: 48px !important;
        margin-top: -24px;
    }
    .filter-sidebar {
        padding: 0 4px;
    }
    .banner-header {
        padding: 8px 10px;
        flex-direction: column;
        text-align: center;
    }
    .banner-header .d-flex {
        flex-direction: column !important;
        align-items: center !important;
    }
    .banner-header .btn {
        margin-top: 10px;
    }
    .section-title {
        font-size: 1.8rem !important;
    }
    .section-subtitle {
        font-size: 0.95rem !important;
    }
}
