﻿:root {
    --red: #E6113C;
    --white: #FFFFFF;
    --black: #2d2d2d;
    --background: #F3F3F3;
    --gray: #999999;
    --light-gray: #E0E0E0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Quantico', Arial, sans-serif;
    background-color: var(--background);
    color: var(--black);
    line-height: 1.6;
    padding-top: 140px;
    /* РћС‚СЃС‚СѓРї РґР»СЏ С„РёРєСЃРёСЂРѕРІР°РЅРЅРѕРіРѕ РЅР°РІР±Р°СЂР° */
}

/* Accessibility improvements */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Focus styles for accessibility */
a:focus,
button:focus,
input:focus {
    outline: 2px solid var(--red);
    outline-offset: 2px;
}

/* Fixed Top Bar */
.top-bar {
    background-color: var(--black);
    color: var(--white);
    padding: 8px 0;
    font-size: 14px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    width: 100%;
}

.top-bar-content {
    max-width: 1440px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.top-bar-links a {
    color: var(--white);
    text-decoration: none;
    margin: 0 10px;
    font-family: 'Quantico', Arial, sans-serif;
    transition: color 0.3s;
}

.top-bar-links a:hover {
    color: var(--red);
}

/* Fixed Header */
header {
    background-color: var(--white);
    padding: 15px 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 32px;
    /* Р’С‹СЃРѕС‚Р° top-bar */
    left: 0;
    right: 0;
    z-index: 999;
    width: 100%;
}

.header-content {
    max-width: 1440px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    flex-wrap: wrap;
    gap: 15px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    text-decoration: none;
}

.logo:focus {
    outline: none;
}

.logo-img {
    width: 80%;
    border-radius: 5px;
    object-fit: contain;
}

.logo-text {
    font-size: 20px;
    font-weight: bold;
    color: var(--red);
    font-family: 'Quantico', Arial, sans-serif;
}

/* Categories dropdown container */
.categories-container {
    position: relative;
}

/* Categories button with shadow */
.categories-btn {
    background-color: var(--white);
    color: var(--black);
    padding: 8px 15px;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    border-radius: 8px;
    font-family: 'Quantico', Arial, sans-serif;
    transition: all 0.3s;
    font-size: 14px;
    border: none;
    box-shadow: 0 2px 8px rgba(45, 45, 45, 0.15);
    z-index: 100;
}

.categories-btn:hover {
    box-shadow: 0 4px 15px rgba(230, 17, 60, 0.25);
    color: var(--red);
    transform: translateY(-1px);
}

/* Categories dropdown menu */
.categories-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    width: 250px;
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    padding: 15px 0;
    margin-top: 5px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 999;
}

.categories-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.categories-dropdown a {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    color: var(--black);
    text-decoration: none;
    font-family: 'Quantico', Arial, sans-serif;
    transition: all 0.3s;
    border-left: 3px solid transparent;
}

.categories-dropdown a:hover {
    background-color: rgba(230, 17, 60, 0.1);
    color: var(--red);
    border-left: 3px solid var(--red);
}

.categories-dropdown a i {
    margin-right: 10px;
    width: 20px;
    text-align: center;
}

/* Responsive Design */
@media (max-width: 480px) {
    .categories-btn {
        padding: 6px 10px;
        font-size: 12px;
    }
}

/* Search bar with shadow */
.search-bar {
    display: flex;
    flex: 1;
    min-width: 200px;
    max-width: 500px;
    margin: 0 20px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(45, 45, 45, 0.15);
    transition: all 0.3s;
}

.search-bar:focus-within {
    box-shadow: 0 4px 15px rgba(230, 17, 60, 0.25);
}

.search-bar input {
    flex: 1;
    padding: 10px 15px;
    border: none;
    font-family: 'Quantico', Arial, sans-serif;
    outline: none;
    background-color: var(--white);
    font-size: 14px;
}

.search-bar input::placeholder {
    color: var(--gray);
}

.search-bar button {
    background-color: var(--red);
    border: none;
    padding: 10px 20px;
    color: var(--white);
    cursor: pointer;
    font-family: 'Quantico', Arial, sans-serif;
    transition: background-color 0.3s;
    font-weight: bold;
}

.search-bar button:hover {
    background-color: #d01036;
}

.header-icons {
    display: flex;
    gap: 10px;
}

/* Icon buttons with shadow */
.icon-btn {
    background: var(--white);
    border: none;
    cursor: pointer;
    font-size: 20px;
    color: var(--black);
    font-family: 'Quantico', Arial, sans-serif;
    transition: all 0.3s;
    padding: 0;
    /* Remove padding to let flexbox center perfectly */
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    /* Fixed width */
    height: 44px;
    /* Fixed height */
    box-shadow: 0 2px 8px rgba(45, 45, 45, 0.1);
    position: relative;
    flex-shrink: 0;
    /* Prevent shrinking */
}

/* Helper classes for icons */
.icon-left {
    margin-right: 8px;
}

.icon-right {
    margin-left: 8px;
}

.product-icon-large {
    font-size: 48px;
    color: var(--gray);
}

.badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: var(--red);
    color: var(--white);
    border-radius: 50%;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: bold;
    border: 2px solid var(--white);
}

.icon-btn:hover {
    color: var(--red);
    box-shadow: 0 4px 12px rgba(230, 17, 60, 0.2);
    transform: translateY(-1px);
}

/* Burger Menu Button */
.burger-menu {
    display: none;
    background: var(--white);
    border: none;
    cursor: pointer;
    font-size: 24px;
    color: var(--black);
    font-family: 'Quantico', Arial, sans-serif;
    transition: all 0.3s;
    padding: 0;
    border-radius: 8px;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    box-shadow: 0 2px 8px rgba(45, 45, 45, 0.1);
    position: relative;
    flex-shrink: 0;
    z-index: 1001;
}

.burger-menu:hover {
    color: var(--red);
    box-shadow: 0 4px 12px rgba(230, 17, 60, 0.2);
    transform: translateY(-1px);
}

/* Tablet and Mobile Responsive Styles */
@media (max-width: 1024px) {

    /* Hide entire top-bar on tablet/mobile */
    .top-bar {
        display: none !important;
    }

    /* Adjust header position since top-bar is hidden */
    header {
        top: 0 !important;
        z-index: 1000;
    }

    /* Adjust body padding since top-bar is hidden */
    body {
        padding-top: 76px !important;
    }

    .burger-menu {
        display: flex;
    }

    /* Hide top-bar links on tablet/mobile */
    .top-bar-links {
        display: none !important;
    }

    /* Hide header icons on tablet/mobile */
    .header-icons {
        display: none !important;
    }

    /* Burger menu container */
    .burger-menu-container {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background-color: var(--black);
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.3);
        transition: right 0.3s ease;
        z-index: 9999;
        overflow-y: auto;
        padding-top: 80px;
    }

    .burger-menu-container.active {
        right: 0;
    }

    /* Top bar links section in burger menu */
    .burger-menu-container .top-bar-links {
        display: flex !important;
        flex-direction: column;
        background-color: var(--black);
        padding: 20px;
        gap: 0;
    }

    .burger-menu-container .top-bar-links a {
        color: var(--white);
        text-decoration: none;
        padding: 15px 20px;
        font-family: 'Quantico', Arial, sans-serif;
        transition: all 0.3s;
        border-radius: 8px;
        display: flex;
        align-items: center;
        gap: 12px;
        font-size: 15px;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

    .burger-menu-container .top-bar-links a:hover {
        background-color: rgba(230, 17, 60, 0.2);
        color: var(--red);
        transform: translateX(8px);
    }

    /* Header icons section in burger menu - BLACK BACKGROUND */
    .burger-menu-container .header-icons {
        display: flex !important;
        flex-direction: column;
        background-color: var(--black);
        padding: 20px;
        gap: 10px;
    }

    .burger-menu-container .header-icons .icon-btn {
        width: 100%;
        height: 60px;
        justify-content: flex-start;
        padding: 0 20px;
        gap: 15px;
        font-size: 18px;
        border-radius: 8px;
        background-color: rgba(255, 255, 255, 0.05);
        color: var(--white);
        transition: all 0.3s;
        box-shadow: none;
    }

    .burger-menu-container .header-icons .icon-btn:hover {
        background-color: var(--red);
        color: var(--white);
        transform: translateX(8px);
        box-shadow: 0 4px 12px rgba(230, 17, 60, 0.3);
    }

    /* Backdrop overlay */
    .burger-menu-backdrop {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.6);
        z-index: 9998;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }

    .burger-menu-backdrop.active {
        opacity: 1;
        visibility: visible;
    }
}

/* Breadcrumb */
.breadcrumb {
    max-width: 1440px;
    margin: 120px auto 20px;
    padding: 0 20px;
}

.breadcrumb-btn {
    background-color: var(--white);
    border: 2px solid var(--red);
    padding: 12px 25px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    font-family: 'Quantico', Arial, sans-serif;
    font-weight: bold;
    color: var(--red);
    transition: all 0.3s;
    box-shadow: 0 3px 10px rgba(230, 17, 60, 0.2);
    text-decoration: none;
    font-size: 14px;
}

.breadcrumb-btn:hover {
    background-color: var(--red);
    color: var(--white);
    transform: translateX(-5px);
    box-shadow: 0 5px 15px rgba(230, 17, 60, 0.3);
}

/* Main Content */
main {
    position: relative;
    z-index: 1;
}

/* Hero Banner */
.hero-banner {
    max-width: 1440px;
    margin: 20px auto;
    padding: 0 20px;
    display: flex;
    gap: 20px;
}

.main-banner {
    flex: 2;
    height: 550px;
    background-image:
        url("Icons/Banner.png");
    align-items: center;
    color: white;
    background-position: center;
    border-radius: 12px;
    padding: 40px;
    color: var(--white);
    position: relative;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.main-banner h1 {
    font-size: 8px;
    font-weight: bold;
    margin-bottom: 20px;
    font-family: 'Quantico', Arial, sans-serif;
    text-transform: uppercase;
    line-height: 1.2;
}

.discount-badge {
    font-size: 72px;
    font-weight: bold;
    color: var(--red);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    margin-top: 20px;
    font-family: 'Quantico', Arial, sans-serif;
}

.side-banner {
    flex: 1;
    background-color: var(--white);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.flash-deals-header {
    background-color: var(--red);
    color: var(--white);
    padding: 15px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
    font-family: 'Quantico', Arial, sans-serif;
    font-weight: bold;
    text-transform: uppercase;
    box-shadow: 0 3px 10px rgba(230, 17, 60, 0.3);
}

.timer {
    display: flex;
    gap: 5px;
    align-items: center;
}

.timer-box {
    background-color: var(--white);
    color: var(--black);
    padding: 5px 8px;
    border-radius: 5px;
    font-weight: bold;
    font-family: 'Quantico', Arial, sans-serif;
    min-width: 30px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.product-preview {
    width: 250px;
    height: 250px;
    background-color: var(--background);
    margin: 10px auto;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    color: var(--gray);
}

.buy-now-btn {
    background-color: var(--red);
    color: var(--white);
    border: none;
    padding: 15px;
    border-radius: 8px;
    cursor: pointer;
    width: 100%;
    font-weight: bold;
    font-family: 'Quantico', Arial, sans-serif;
    text-transform: uppercase;
    transition: all 0.3s;
    margin-top: auto;
    box-shadow: 0 3px 10px rgba(230, 17, 60, 0.3);
}

.buy-now-btn:hover {
    background-color: #d01036;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(230, 17, 60, 0.4);
}

.product-price {
    font-size: 24px;
    font-weight: bold;
    color: var(--red);
    /* margin: 10px 0; */
    font-family: 'Quantico', Arial, sans-serif;
}

.old-price {
    text-decoration: line-through;
    color: var(--gray);
    font-size: 14px;
    font-family: 'Quantico', Arial, sans-serif;
}

/* Categories */
.categories {
    max-width: 1440px;
    margin: 30px auto;
    padding: 20px;
    background-color: var(--white);
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 20px;
    text-align: center;
}

.category-item {
    cursor: pointer;
    padding: 15px;
    border-radius: 8px;
    transition: all 0.3s;
    background-color: var(--white);
    box-shadow: 0 2px 8px rgba(45, 45, 45, 0.1);
}

.category-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(230, 17, 60, 0.2);
}

.category-icon {
    width: 50px;
    height: 50px;
    margin: 0 auto 10px;
    background-color: var(--background);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--red);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.category-item div:last-child {
    font-size: 12px;
    font-weight: bold;
    color: var(--black);
    text-transform: uppercase;
    font-family: 'Quantico', Arial, sans-serif;
}

/* Product Sections */
.product-section {
    max-width: 1440px;
    margin: 30px auto;
    padding: 0 20px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.section-title {
    font-size: 28px;
    font-weight: bold;
    color: var(--red);
    text-transform: uppercase;
    font-family: 'Quantico', Arial, sans-serif;
    letter-spacing: 1px;
}

.view-more {
    color: var(--red);
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    font-family: 'Quantico', Arial, sans-serif;
    transition: all 0.3s;
    padding: 8px 15px;
    border-radius: 8px;
    background-color: var(--white);
    box-shadow: 0 2px 8px rgba(45, 45, 45, 0.15);
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.view-more:hover {
    color: #d01036;
    box-shadow: 0 4px 15px rgba(230, 17, 60, 0.25);
    transform: translateY(-1px);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 25px;
    position: relative;
}

.product-card {
    background-color: var(--white);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    position: relative;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(230, 17, 60, 0.2);
}

.product-image {
    width: 100%;
    height: 180px;
    background-color: var(--background);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    color: var(--gray);
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-name {
    font-size: 14px;
    color: var(--black);
    margin-bottom: 10px;
    text-transform: uppercase;
    font-family: 'Quantico', Arial, sans-serif;
    font-weight: bold;
    line-height: 1.4;
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-grow: 1;
    /* Allow name to take available space */
}

.product-price-card {
    font-size: 20px;
    font-weight: bold;
    color: var(--red);
    margin-bottom: 15px;
    font-family: 'Quantico', Arial, sans-serif;
}

.product-actions {
    display: flex;
    gap: 10px;
    margin-top: auto;
    width: 100%;
    align-items: center;
    /* Ensure vertical alignment */
}

/* Compare Button (Search Page) */
.compare-btn {
    background: var(--white);
    border: 2px solid #eee;
    color: var(--gray);
    border-radius: 8px;
    width: 44px;
    height: 44px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: all 0.3s;
}

.compare-btn:hover {
    border-color: var(--red);
    color: var(--red);
}



.add-to-cart {
    flex: 1;
    background-color: var(--red);
    color: var(--white);
    border: none;
    padding: 0 20px;
    height: 44px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    text-transform: uppercase;
    font-family: 'Quantico', Arial, sans-serif;
    font-weight: bold;
    transition: all 0.3s;
    box-shadow: 0 3px 8px rgba(230, 17, 60, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}

.add-to-cart:hover {
    background-color: #d01036;
    transform: translateY(-2px);
    box-shadow: 0 5px 12px rgba(230, 17, 60, 0.4);
}

.product-wishlist-btn {
    background: var(--white);
    border: none;
    color: var(--red);
    border-radius: 8px;
    width: 44px;
    height: 44px;
    padding: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: all 0.3s;
    box-shadow: 0 2px 8px rgba(45, 45, 45, 0.15);
}

.product-wishlist-btn:hover {
    background-color: var(--red);
    color: var(--white);
    box-shadow: 0 4px 12px rgba(230, 17, 60, 0.3);
    transform: translateY(-2px);
}

/* See All Card */
.see-all-card {
    background-color: var(--red);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
    cursor: pointer;
    padding: 30px 20px;
}

.see-all-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(230, 17, 60, 0.25);
}

.see-all-icon {
    width: 70px;
    height: 70px;
    background-color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.see-all-icon i {
    font-size: 32px;
    color: var(--red);
}

.see-all-text {
    color: var(--white);
    font-size: 20px;
    font-weight: bold;
    text-transform: uppercase;
    font-family: 'Quantico', Arial, sans-serif;
    letter-spacing: 1px;
}

/* Rewards Section */
.rewards-section {
    max-width: 1440px;
    margin: 50px auto;
    padding: 0 20px;
}

.rewards-title {
    text-align: center;
    font-size: 32px;
    font-weight: bold;
    color: var(--red);
    margin-bottom: 40px;
    text-transform: uppercase;
    font-family: 'Quantico', Arial, sans-serif;
    letter-spacing: 1px;
}

.rewards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.reward-card {
    background-color: var(--white);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.reward-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(230, 17, 60, 0.15);
}

.reward-card.bronze {
    border-top: 5px solid #cd7f32;
}

.reward-card.silver {
    border-top: 5px solid #c0c0c0;
}

.reward-card.gold {
    border-top: 5px solid #ffd700;
}

.reward-card.business {
    border-top: 5px solid var(--red);
}

.reward-tier {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
    text-transform: uppercase;
    font-family: 'Quantico', Arial, sans-serif;
}

.bronze .reward-tier {
    color: #cd7f32;
}

.silver .reward-tier {
    color: #c0c0c0;
}

.gold .reward-tier {
    color: #ffd700;
}

.business .reward-tier {
    color: var(--red);
}

.reward-features {
    list-style: none;
    text-align: left;
    margin-bottom: 30px;
    flex-grow: 1;
}

.reward-features li {
    margin-bottom: 10px;
    font-size: 14px;
    padding-left: 20px;
    position: relative;
    font-family: 'Quantico', Arial, sans-serif;
}

.reward-features li:before {
    content: "\2713";
    position: absolute;
    left: 0;
    color: var(--red);
}

.reward-card-footer {
    margin-top: auto;
}

.join-btn {
    background-color: var(--red);
    color: var(--white);
    border: none;
    padding: 12px 30px;
    border-radius: 8px;
    cursor: pointer;
    text-transform: uppercase;
    font-family: 'Quantico', Arial, sans-serif;
    font-weight: bold;
    transition: all 0.3s;
    box-shadow: 0 3px 10px rgba(230, 17, 60, 0.3);
    width: 100%;
}

.join-btn:hover {
    background-color: #d01036;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(230, 17, 60, 0.4);
}

/* Brands Section */
.brands-section {
    max-width: 1440px;
    margin: 50px auto;
    padding: 0 20px;
}

.brands-title {
    text-align: center;
    font-size: 32px;
    font-weight: bold;
    color: var(--red);
    margin-bottom: 30px;
    text-transform: uppercase;
    font-family: 'Quantico', Arial, sans-serif;
    letter-spacing: 1px;
}

.brands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
}

.brand-card {
    background-color: var(--white);
    border-radius: 12px;
    padding: 30px 20px;
    text-align: center;
    font-family: 'Quantico', Arial, sans-serif;
    font-weight: bold;
    transition: all 0.3s;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.brand-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(230, 17, 60, 0.15);
}

/* Footer */
footer {
    background-color: var(--black);
    color: var(--white);
    padding: 40px 0 20px;
    margin-top: 50px;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.1);
}

.footer-content {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
}

.footer-section h3 {
    margin-bottom: 15px;
    font-size: 18px;
    font-family: 'Quantico', Arial, sans-serif;
    color: var(--white);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
    font-family: 'Quantico', Arial, sans-serif;
}

.footer-section a {
    color: var(--gray);
    text-decoration: none;
    font-family: 'Quantico', Arial, sans-serif;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: var(--red);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.footer-logo-img {
    width: 60%;
    background-color: var(--red);
    border-radius: 5px;
    box-shadow: 0 2px 8px rgba(230, 17, 60, 0.3);
    object-fit: contain;
}

.footer-logo-text {
    font-weight: bold;
    font-size: 20px;
    color: var(--white);
    font-family: 'Quantico', Arial, sans-serif;
}

.footer-description {
    color: var(--gray);
    line-height: 1.6;
    font-family: 'Quantico', Arial, sans-serif;
}

.footer-bottom {
    max-width: 1440px;
    margin: 30px auto 0;
    padding: 20px 20px 0;
    border-top: 1px solid #555;
    text-align: center;
    font-size: 12px;
    font-family: 'Quantico', Arial, sans-serif;
    color: var(--gray);
}

.payment-methods {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 15px;
    font-family: 'Quantico', Arial, sans-serif;
    flex-wrap: wrap;
}

.payment-methods span {
    background-color: var(--white);
    color: var(--black);
    padding: 8px 12px;
    border-radius: 5px;
    font-size: 10px;
    font-weight: bold;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .rewards-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-banner {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    body {
        padding-top: 160px;
        /* РЈРІРµР»РёС‡РµРЅРЅС‹Р№ РѕС‚СЃС‚СѓРї РґР»СЏ РјРѕР±РёР»СЊРЅС‹С… */
    }

    .header-content {
        flex-wrap: wrap;
    }

    .search-bar {
        order: 3;
        width: 100%;
        max-width: 100%;
        margin: 10px 0 0 0;
    }

    .main-banner h1 {
        font-size: 36px;
    }

    .discount-badge {
        font-size: 48px;
    }

    .section-title,
    .rewards-title,
    .brands-title {
        font-size: 24px;
    }

    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 15px;
    }

    .rewards-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }

    header {
        top: 36px;
        /* РЈРІРµР»РёС‡РµРЅРЅС‹Р№ РѕС‚СЃС‚СѓРї РґР»СЏ РјРѕР±РёР»СЊРЅС‹С… */
    }

    .product-image {
        height: 140px;
    }
}

@media (max-width: 480px) {
    body {
        padding-top: 180px;
        /* Р•С‰Рµ Р±РѕР»СЊС€Рµ РґР»СЏ РѕС‡РµРЅСЊ РјР°Р»РµРЅСЊРєРёС… СЌРєСЂР°РЅРѕРІ */
    }

    .top-bar-content {
        flex-direction: column;
        gap: 5px;
        text-align: center;
    }

    .top-bar-links {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
        margin: 5px 0;
    }

    .top-bar-links a {
        margin: 0 5px;
    }

    .header-icons {
        gap: 8px;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .payment-methods {
        gap: 8px;
    }

    .payment-methods span {
        padding: 6px 10px;
        font-size: 9px;
    }

    .header-content {
        gap: 10px;
    }

    .categories-btn {
        padding: 6px 10px;
        font-size: 12px;
    }

    .icon-btn {
        width: 35px;
        height: 35px;
        font-size: 16px;
        padding: 6px;
    }

    .category-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }

    .main-banner {
        padding: 20px;
        min-height: 300px;
    }

    .main-banner h1 {
        font-size: 28px;
    }

    .discount-badge {
        font-size: 36px;
    }

    header {
        top: 40px;
        /* РЈРІРµР»РёС‡РµРЅРЅС‹Р№ РѕС‚СЃС‚СѓРї РґР»СЏ РѕС‡РµРЅСЊ РјР°Р»РµРЅСЊРєРёС… СЌРєСЂР°РЅРѕРІ */
    }

    .top-bar {
        padding: 6px 0;
    }

    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .product-actions {
        flex-direction: column;
        gap: 8px;
    }

    .wishlist-btn-card {
        width: 100%;
    }
}

/* Breadcrumb */
.breadcrumb {
    max-width: 1440px;
    margin: 30px auto;
    padding: 0 20px;
}

/* 
.breadcrumb-btn {
    background-color: var(--white);
    color: var(--black);
    border: none;
    padding: 12px 25px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    gap: 15px;
    cursor: pointer;
    font-family: 'Quantico', Arial, sans-serif;
    font-weight: bold;
    transition: all 0.3s;
    box-shadow: 0 2px 8px rgba(45, 45, 45, 0.15);
    text-decoration: none;
}

.breadcrumb-btn:hover {
    box-shadow: 0 4px 15px rgba(230, 17, 60, 0.25);
    color: var(--red);
    transform: translateY(-1px);
} */

/* Search Main Layout */
.search-layout {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 20px 60px;
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 30px;
}

/* Page Header */
.page-header {
    grid-column: 1 / -1;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.page-title {
    font-size: 36px;
    font-weight: bold;
    color: var(--red);
    text-transform: uppercase;
    font-family: 'Quantico', Arial, sans-serif;
    letter-spacing: 1px;
}

.results-count {
    color: var(--gray);
    font-family: 'Quantico', Arial, sans-serif;
    font-size: 14px;
}

/* Sidebar Filters */
.sidebar {
    background-color: var(--white);
    padding: 30px;
    border-radius: 16px;
    max-height: calc(100vh - 180px);
    overflow-y: auto;
    position: sticky;
    top: 160px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--light-gray);
}

/* Custom scrollbar for sidebar */
.sidebar::-webkit-scrollbar {
    width: 8px;
}

.sidebar::-webkit-scrollbar-track {
    background: var(--background);
    border-radius: 4px;
}

.sidebar::-webkit-scrollbar-thumb {
    background: var(--red);
    border-radius: 4px;
}

.sidebar::-webkit-scrollbar-thumb:hover {
    background: #d01036;
}

.filter-header-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--light-gray);
}

.filter-title-main {
    font-size: 24px;
    font-weight: bold;
    color: var(--red);
    text-transform: uppercase;
    font-family: 'Quantico', Arial, sans-serif;
    letter-spacing: 1px;
}

.clear-all-btn {
    background-color: var(--white);
    color: var(--red);
    border: 2px solid var(--red);
    padding: 8px 15px;
    border-radius: 6px;
    cursor: pointer;
    font-family: 'Quantico', Arial, sans-serif;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
    transition: all 0.3s;
}

.clear-all-btn:hover {
    background-color: var(--red);
    color: var(--white);
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(230, 17, 60, 0.3);
}

.filter-section {
    margin-bottom: 20px;
    padding: 20px;
    background-color: var(--white);
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
}

.filter-section:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.filter-section:last-child {
    margin-bottom: 0;
}

.filter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    cursor: pointer;
    padding: 5px 0;
    user-select: none;
}

.filter-header:hover .filter-title {
    color: var(--red);
}

.filter-title {
    font-size: 15px;
    font-weight: bold;
    color: var(--black);
    text-transform: uppercase;
    font-family: 'Quantico', Arial, sans-serif;
    letter-spacing: 0.5px;
    transition: color 0.3s;
}

.filter-toggle {
    color: var(--red);
    font-size: 14px;
    transition: transform 0.3s;
}

.filter-toggle.open {
    transform: rotate(180deg);
}

.filter-options {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 300px;
    overflow-y: auto;
    padding-right: 5px;
}

/* Custom scrollbar for filter options */
.filter-options::-webkit-scrollbar {
    width: 6px;
}

.filter-options::-webkit-scrollbar-track {
    background: var(--background);
    border-radius: 3px;
}

.filter-options::-webkit-scrollbar-thumb {
    background: var(--red);
    border-radius: 3px;
}

.filter-option {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    padding: 10px 12px;
    border-radius: 8px;
    transition: all 0.3s;
    background-color: var(--background);
    border: 2px solid transparent;
}

.filter-option:hover {
    background-color: rgba(230, 17, 60, 0.08);
    transform: translateX(3px);
    border-color: rgba(230, 17, 60, 0.2);
}

.filter-option.active {
    background-color: rgba(230, 17, 60, 0.1);
    border-color: var(--red);
}

.filter-option input[type="radio"],
.filter-option input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: var(--red);
    margin: 0;
    flex-shrink: 0;
}

.filter-option label {
    cursor: pointer;
    font-size: 14px;
    color: var(--black);
    font-family: 'Quantico', Arial, sans-serif;
    flex: 1;
    user-select: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.filter-option label i {
    color: var(--gray);
    transition: color 0.3s;
}

.filter-option input:checked+label {
    color: var(--red);
    font-weight: bold;
}

.filter-option input:checked+label i {
    color: var(--red);
}

/* Price Range */
.price-inputs {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 10px;
    align-items: center;
    margin-bottom: 20px;
}

.price-input {
    width: 100%;
    padding: 10px;
    border: 2px solid var(--light-gray);
    border-radius: 8px;
    font-size: 14px;
    font-family: 'Quantico', Arial, sans-serif;
    text-align: center;
    transition: all 0.3s;
    outline: none;
}

.price-input:focus {
    border-color: var(--red);
    box-shadow: 0 0 0 3px rgba(230, 17, 60, 0.1);
}

.price-range-container {
    width: 100%;
}

.price-slider {
    position: relative;
    width: 100%;
    height: 6px;
    background-color: var(--light-gray);
    border-radius: 3px;
    margin: 20px 0;
    cursor: pointer;
}

.price-slider-fill {
    position: absolute;
    height: 100%;
    background: linear-gradient(90deg, var(--red), #ff5577);
    border-radius: 3px;
    transition: width 0.3s;
}

.price-slider-handle {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translate(50%, -50%);
    width: 18px;
    height: 18px;
    background-color: var(--white);
    border: 3px solid var(--red);
    border-radius: 50%;
    cursor: grab;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    transition: all 0.2s;
}

.price-slider-handle:hover {
    transform: translate(50%, -50%) scale(1.2);
    box-shadow: 0 3px 10px rgba(230, 17, 60, 0.4);
}

.price-slider-handle:active {
    cursor: grabbing;
    transform: translate(50%, -50%) scale(1.1);
}

.price-divider {
    color: var(--gray);
    font-weight: bold;
}

/* Color Options */
.color-options {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.color-option {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.color-option:hover {
    transform: scale(1.15);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.color-option.active {
    border-color: var(--red);
    transform: scale(1.2);
    box-shadow: 0 4px 12px rgba(230, 17, 60, 0.3);
}

.color-option.active::before {
    content: "\2713";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--white);
    font-size: 14px;
    font-weight: bold;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

/* Search Page Product Grid */
.search-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

/* Product Card Improvements */
.product-card {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-image {
    position: relative;
}

.product-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: var(--red);
    color: var(--white);
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: bold;
    text-transform: uppercase;
    font-family: 'Quantico', Arial, sans-serif;
    letter-spacing: 1px;
    z-index: 2;
}

.product-rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    margin-bottom: 15px;
    color: #FFD700;
    font-size: 14px;
}

.rating-count {
    color: var(--gray);
    font-size: 12px;
    font-family: 'Quantico', Arial, sans-serif;
}

/* Pagination */
.pagination {
    grid-column: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 40px;
}

.pagination-btn {
    background-color: var(--white);
    color: var(--black);
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 8px;
    cursor: pointer;
    font-family: 'Quantico', Arial, sans-serif;
    font-weight: bold;
    transition: all 0.3s;
    box-shadow: 0 2px 8px rgba(45, 45, 45, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.pagination-btn:hover {
    background-color: var(--red);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(230, 17, 60, 0.25);
    transform: translateY(-1px);
}

.pagination-btn.active {
    background-color: var(--red);
    color: var(--white);
}

.pagination-btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* No Products State */
.no-products {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    background-color: var(--white);
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.no-products i {
    font-size: 60px;
    color: var(--light-gray);
    margin-bottom: 20px;
}

.no-products h3 {
    font-size: 24px;
    color: var(--black);
    margin-bottom: 10px;
    font-family: 'Quantico', Arial, sans-serif;
}

.no-products p {
    color: var(--gray);
    font-family: 'Quantico', Arial, sans-serif;
    margin-bottom: 20px;
}

/* Mobile Filter Toggle */
.mobile-filter-toggle {
    display: none;
    background-color: var(--red);
    color: var(--white);
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    font-family: 'Quantico', Arial, sans-serif;
    font-weight: bold;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 3px 10px rgba(230, 17, 60, 0.3);
    margin-bottom: 20px;
    width: 100%;
    align-items: center;
    justify-content: center;
}

.mobile-filter-toggle i {
    margin-right: 8px;
}

/* Responsive Search Page */
@media (max-width: 900px) {
    .search-layout {
        grid-template-columns: 1fr;
    }

    .sidebar {
        display: none;
        /* Hidden by default on mobile */
    }

    .sidebar.active {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        z-index: 2000;
        overflow-y: auto;
        padding-top: 80px;
        /* Space for close button if needed, or top bar */
    }

    .mobile-filter-toggle {
        display: flex;
    }

    .pagination {
        grid-column: 1;
    }

    .close-filters {
        display: block;
        position: absolute;
        top: 20px;
        right: 20px;
        background: none;
        border: none;
        font-size: 32px;
        color: var(--red);
        cursor: pointer;
        z-index: 2002;
    }
}

/* View More Card */
.view-more-card {
    background-color: var(--red);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
    cursor: pointer;
    padding: 20px 20px;
    grid-column: 1 / -1;
    margin-top: 20px;
}

.view-more-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(230, 17, 60, 0.25);
}

.view-more-text {
    color: var(--white);
    font-size: 20px;
    font-weight: bold;
    text-transform: uppercase;
    font-family: 'Quantico', Arial, sans-serif;
    letter-spacing: 1px;
}

/* ========================================= */
/* ENHANCED FILTER STYLES                    */
/* ========================================= */

/* Rating Options for Filter */
.rating-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.rating-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background-color: var(--background);
    border: 2px solid transparent;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.rating-option:hover {
    border-color: var(--red);
    background-color: rgba(230, 17, 60, 0.08);
    transform: translateX(4px);
}

.rating-option.selected {
    border-color: var(--red);
    background-color: rgba(230, 17, 60, 0.1);
}

.rating-stars {
    color: var(--red);
    font-size: 16px;
    letter-spacing: 2px;
}

.rating-text {
    color: var(--gray);
    font-size: 14px;
    font-family: 'Quantico', Arial, sans-serif;
}

/* Filter Count Badge */
.filter-count {
    background-color: var(--red);
    color: var(--white);
    font-size: 12px;
    padding: 2px 8px;
    border-radius: 10px;
    margin-left: 8px;
    font-family: 'Quantico', Arial, sans-serif;
    animation: filterBounce 0.5s ease;
}

@keyframes filterBounce {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

/* Notification Toast */
.notification {
    position: fixed;
    top: 150px;
    right: 20px;
    background-color: var(--white);
    color: var(--black);
    padding: 15px 25px;
    border-radius: 8px;
    z-index: 3000;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    border-left: 4px solid var(--red);
    font-family: 'Quantico', Arial, sans-serif;
    font-weight: bold;
    max-width: 300px;
    animation: slideInRight 0.3s ease, fadeOut 0.3s ease 2s forwards;
}

.notification i {
    color: var(--red);
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
        transform: translateY(-20px);
    }
}

/* Close Filters Button (Mobile) */
.close-filters {
    display: none;
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: var(--red);
    color: var(--white);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    z-index: 2002;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(230, 17, 60, 0.3);
}

.close-filters:hover {
    background-color: #d01036;
    transform: rotate(90deg);
}

@media (max-width: 900px) {
    .close-filters {
        display: flex;
    }
}

/* Responsive Improvements */
@media (max-width: 768px) {
    .top-bar-content {
        flex-direction: column;
        gap: 5px;
        padding: 5px 20px;
    }

    .top-bar-links a {
        font-size: 12px;
        margin: 0 5px;
    }

    .page-title {
        font-size: 24px;
    }

    .sidebar {
        z-index: 1001;
        /* Ensure mobile sidebar is above other content */
    }

    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    body {
        padding-top: 180px;
        /* Increase padding for taller header on mobile */
    }

    /* Fix mobile sidebar alignment */
    .filter-header-main {
        align-items: center;
    }
}

/* ========================================= */