/* Enhanced Background Icons Animation */
.background-icons .icon {
    opacity: 0.15;
    filter: drop-shadow(0 0 8px rgba(var(--primary-color-rgb), 0.6));
}

.icon-1 {
    animation-duration: 20s;
}

.icon-2 {
    animation-duration: 18s;
}

.icon-3 {
    animation-duration: 22s;
}

.icon-4 {
    animation-duration: 25s;
}

.icon-5 {
    animation-duration: 19s;
}

.icon-6 {
    animation-duration: 21s;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.15;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.2;
    }
}

.store-hero-section .background-icons .icon {
    animation: pulse 4s ease-in-out infinite;
}

.store-hero-section .background-icons .icon:nth-child(odd) {
    animation-delay: 1s;
}

.store-hero-section .background-icons .icon:nth-child(even) {
    animation-delay: 2s;
}/* Store Page with Hero Navigation */
:root {
    --primary-color-rgb: 248, 181, 0; /* RGB values for primary color */
}

/* Store Hero Section Styling - Enhanced for Better UI/UX */
.store-hero-section {
    height: 50vh !important;
    min-height: 400px !important;
    position: relative;
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.7)), url('https://media.discordapp.net/attachments/1358236843019337821/1366951590417924296/image.png?ex=6812d05f&is=68117edf&hm=145a1de0873c7992e74e3d90992069bb0bc61e602b165e87a3a9436c91f0778b&=&format=webp&quality=lossless&width=1392&height=458');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    flex-direction: column;
    padding-top: 2rem;
    padding-bottom: 3rem; /* Added more padding to the bottom */
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

/* Add a subtle gradient overlay to improve text readability */
.store-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(28, 31, 35, 0.5) 0%, rgba(28, 31, 35, 0.3) 100%);
    z-index: 1;
}

.store-hero-content {
    padding-top: 6rem;
    padding-bottom: 1.5rem; /* Added bottom padding to the content */
    text-align: center;
    max-width: 960px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.store-hero-content h1 {
    font-size: 3.8rem;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 15px rgba(0, 0, 0, 0.7);
    font-weight: 800;
    letter-spacing: 1.5px;
    position: relative;
    display: inline-block;
    line-height: 1.2;
}

.store-hero-content h1::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 2px;
    animation: expandWidth 1.5s ease-out forwards;
    animation-delay: 0.5s;
    transform-origin: center;
    opacity: 0;
}

@keyframes expandWidth {
    from { width: 0; opacity: 0; }
    to { width: 80px; opacity: 1; }
}

.store-hero-content .lead {
    font-size: 1.5rem;
    margin-bottom: 2.5rem;
    text-shadow: 2px 2px 12px rgba(0, 0, 0, 0.7);
    font-weight: 300;
    line-height: 1.6;
    opacity: 0;
    animation: fadeIn 1.5s ease forwards;
    animation-delay: 0.3s;
    max-width: 85%;
    margin-left: auto;
    margin-right: auto;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.store-hero-content .breadcrumb {
    background: transparent;
    justify-content: center;
    padding: 0.7rem 1rem;
    margin-top: 0.5rem;
    opacity: 0;
    animation: fadeIn 1s ease forwards;
    animation-delay: 0.9s;
    display: inline-flex;
    border-radius: 50px;
    background-color: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.store-hero-content .breadcrumb-item {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    font-weight: 500;
    position: relative;
    padding: 0 0.5rem;
    transition: all 0.3s ease;
}

.store-hero-content .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.6);
    content: '/';
    font-weight: 300;
}

.store-hero-content .breadcrumb-item a {
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.3rem 0;
}

.store-hero-content .breadcrumb-item a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.store-hero-content .breadcrumb-item a:hover {
    color: var(--primary-color);
}

.store-hero-content .breadcrumb-item a:hover::after {
    width: 100%;
}

.store-hero-content .breadcrumb-item.active {
    color: var(--primary-color);
    font-weight: 700;
}

/* Clean Search Bar Implementation */
.search-container {
    max-width: 600px;
    margin: 0 auto 2rem;
    position: relative;
    z-index: 10;
}

.custom-search-bar {
    display: flex;
    border-radius: 50px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    height: 54px;
}

.custom-search-bar input {
    flex: 1;
    height: 54px;
    border: none;
    outline: none;
    padding: 0 25px;
    font-size: 1rem;
    color: var(--secondary-color);
    background-color: rgba(255, 255, 255, 0.95);
}

.custom-search-bar input::placeholder {
    color: rgba(0, 0, 0, 0.5);
}

.custom-search-bar button {
    min-width: 120px;
    height: 54px;
    border: none;
    background: var(--primary-gradient);
    color: var(--secondary-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.95rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.custom-search-bar button:hover {
    background: var(--primary-color);
}

.custom-search-bar button i {
    margin-right: 8px;
}

/* Responsive styling */
@media (max-width: 576px) {
    .custom-search-bar button {
        min-width: 100px;
    }
    
    .custom-search-bar button span {
        display: none;
    }
    
    .custom-search-bar button i {
        margin-right: 0;
        font-size: 1.2rem;
    }
}

/* Integrated Sidebar Styling - Page-Matching Colors */
.integrated-sidebar {
    background: white;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    padding: 1.8rem;
    position: sticky;
    top: 2rem;
    overflow-y: visible;
    scrollbar-width: none;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

/* Update filter heading for light background */
.filter-heading {
    color: var(--secondary-color);
    font-weight: 700;
    margin-bottom: 1.5rem;
    padding-bottom: 0.8rem;
    border-bottom: 2px solid var(--primary-color);
    font-size: 1.3rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Update filter group headings for light background */
.filter-group h5 {
    color: var(--secondary-color);
    font-size: 1.1rem;
    margin-bottom: 1rem;
    font-weight: 600;
    position: relative;
    padding-left: 15px;
}

/* Add highlight bar to filter group headings */
.integrated-sidebar .filter-group h5::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 5px;
    height: 15px;
    background: var(--primary-color);
    border-radius: 3px;
}

/* Update form check labels for light background */
.integrated-sidebar .form-check-label {
    color: var(--secondary-color);
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.integrated-sidebar .form-check-input:checked + .form-check-label {
    color: var(--primary-color);
    font-weight: 600;
}

.integrated-sidebar .form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.integrated-sidebar .form-check:hover .form-check-label {
    color: var(--primary-color);
}

/* Update price range feedback for light background */
.integrated-sidebar .price-range-feedback {
    color: var(--secondary-color);
    font-weight: 500;
}

/* Update product count for light background */
.integrated-sidebar .product-count {
    margin-top: 2rem;
    text-align: center;
    color: var(--secondary-color);
    font-size: 0.9rem;
    font-weight: 600;
}

/* Style the range slider in the integrated sidebar */
.integrated-sidebar .form-range::-webkit-slider-thumb {
    background: var(--primary-color);
}

.integrated-sidebar .form-range::-moz-range-thumb {
    background: var(--primary-color);
}

/* Remove scrollbar styles */
.integrated-sidebar::-webkit-scrollbar {
    width: 0;
    display: none;
}

/* Adjustments for product grid layout */
@media (min-width: 992px) {
    .product-grid {
        margin-left: -10px;
        margin-right: -10px;
    }
    
    .product-grid > div {
        padding-left: 10px;
        padding-right: 10px;
    }
}

/* Filter Sidebar Styling */
.filter-sidebar {
    width: 320px;
    max-width: 90vw;
    background: linear-gradient(145deg, #2d3339 0%, #1c1f23 100%);
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    padding: 2rem 1.5rem;
    overflow-y: auto;
}

.filter-heading {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 1.5rem;
    padding-bottom: 0.8rem;
    border-bottom: 2px solid rgba(var(--primary-color-rgb), 0.2);
    font-size: 1.3rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.filter-group {
    margin-bottom: 2rem;
}

.filter-group h5 {
    color: var(--secondary-color);
    font-size: 1.1rem;
    margin-bottom: 1rem;
    font-weight: 600;
    position: relative;
    padding-left: 15px;
}

.filter-group h5::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 5px;
    height: 15px;
    background: var(--primary-color);
    border-radius: 3px;
}

.filter-options {
    padding-left: 0.5rem;
}

.form-check {
    margin-bottom: 0.8rem;
    transition: all 0.3s ease;
}

.form-check:hover {
    transform: translateX(5px);
}

.form-check-input {
    cursor: pointer;
    border-color: rgba(255, 255, 255, 0.3);
}

.form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.form-check-label {
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.form-check-input:checked + .form-check-label {
    color: var(--primary-color);
    font-weight: 600;
}

.price-slider {
    padding: 0 0.5rem;
}

.form-range {
    width: 100%;
    cursor: pointer;
}

.form-range::-webkit-slider-thumb {
    background: var(--primary-color);
}

.form-range::-moz-range-thumb {
    background: var(--primary-color);
}

.price-range-feedback {
    display: flex;
    justify-content: space-between;
    margin-top: 0.5rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

.filter-actions {
    margin-top: 2.5rem;
}

.filter-actions .btn {
    border-radius: 50px;
    font-weight: 600;
    padding: 0.8rem 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.filter-actions .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.filter-actions .btn-warning {
    background: var(--primary-gradient);
    border: none;
    color: var(--secondary-color);
    transition: all 0.3s ease;
}

.filter-actions .btn-warning:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(var(--primary-color-rgb), 0.3);
}

.integrated-sidebar .filter-actions .btn-outline-light {
    border: 2px solid var(--secondary-color);
    background: transparent;
    color: var(--secondary-color);
}

.integrated-sidebar .filter-actions .btn-outline-light:hover {
    background: rgba(var(--primary-color-rgb), 0.1);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.product-count {
    margin-top: 2rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

/* Product Listing Section */
.product-listing-section {
    background-color: var(--light-gray);
    padding-top: 3rem;
}

.filter-toggle-container {
    margin-bottom: 2rem;
}

.filter-toggle-container .sidebar-toggle {
    border-radius: 50px;
    padding: 0.8rem 1.5rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: var(--secondary-gradient);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
    border: none;
    transition: all 0.3s ease;
}

.filter-toggle-container .sidebar-toggle:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.no-products-found {
    padding: 3rem;
    background-color: white;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    text-align: center;
}

.no-products-found i {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.no-products-found h3 {
    margin-bottom: 1rem;
    font-weight: 700;
}

.no-products-found a {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.no-products-found a:hover {
    text-decoration: underline;
}

/* Enhanced Media Queries for Better Responsiveness */
@media (max-width: 1199.98px) {
    .store-hero-content h1 {
        font-size: 3.2rem;
    }
    
    .store-hero-content .lead {
        font-size: 1.4rem;
        max-width: 90%;
    }
}

@media (max-width: 991.98px) {
    .store-hero-section {
        padding-top: 70px; /* For mobile navbar */
        height: auto !important;
        min-height: 450px !important;
        background-attachment: scroll;
    }
    
    .store-hero-content {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }
    
    .store-hero-content h1 {
        font-size: 2.8rem;
    }
    
    .store-hero-content .lead {
        font-size: 1.3rem;
        max-width: 95%;
    }
    
    .store-search-container {
        max-width: 90%;
    }
    
    .store-search-form .form-control {
        height: 55px;
        font-size: 1.1rem;
    }
}

@media (max-width: 767.98px) {
    .store-hero-section {
        min-height: 420px !important;
    }
    
    .store-hero-content h1 {
        font-size: 2.4rem;
    }
    
    .store-hero-content .lead {
        font-size: 1.2rem;
    }
    
    .store-search-form .btn {
        min-width: 110px;
        font-size: 0.9rem;
    }
}

@media (max-width: 575.98px) {
    .store-hero-section {
        min-height: 400px !important;
    }
    
    .store-hero-content {
        padding-top: 2rem;
        padding-bottom: 2rem;
    }
    
    .store-hero-content h1 {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    .store-hero-content h1::after {
        bottom: -8px;
        height: 3px;
    }
    
    .store-hero-content .lead {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
    }
    
    .store-search-form .form-control {
        height: 50px;
        font-size: 1rem;
        padding-left: 1.2rem;
    }
    
    .store-search-form .btn {
        min-width: 100px;
        font-size: 0.85rem;
        padding: 0 1rem;
    }
    
    .store-hero-content .breadcrumb {
        padding: 0.5rem 0.8rem;
        margin-top: 0.3rem;
    }
    
    .store-hero-content .breadcrumb-item {
        font-size: 0.9rem;
    }
}
