:root {
    --primary-color: hsl(220, 90%, 30%);
    --accent-color: hsl(200, 100%, 45%);
    --text-color: hsl(220, 20%, 20%);
    --light-text: hsl(220, 10%, 45%);
    --bg-color: hsl(210, 30%, 98%);
    --white: #ffffff;
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(255, 255, 255, 0.2);
    --shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    --border-radius-lg: 24px;
    --border-radius-md: 16px;
    --border-radius-sm: 8px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.view-hidden {
    display: none !important;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.container-wide {
    max-width: 1440px;
}

/* Header Styles */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    padding: 16px 0;
    transition: var(--transition);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    letter-spacing: -0.5px;
}

.nav {
    display: flex;
    gap: 32px;
}

.nav a {
    text-decoration: none;
    color: var(--light-text);
    font-weight: 500;
    font-size: 15px;
    transition: var(--transition);
}

.nav a.active,
.nav a:hover {
    color: var(--primary-color);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 24px;
}

.search-bar {
    position: relative;
    background: #f0f4f8;
    border-radius: 50px;
    padding: 4px 16px;
    display: flex;
    align-items: center;
    width: 250px;
}

.search-bar input {
    background: transparent;
    border: none;
    outline: none;
    padding: 8px;
    width: 100%;
    font-family: inherit;
}

.search-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 18px;
}

.cart {
    position: relative;
    cursor: pointer;
}

.cart-icon {
    font-size: 24px;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -10px;
    background: #ff4d4d;
    color: white;
    font-size: 10px;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--white);
}

/* Language Switcher */
.lang-switcher select {
    background: #f0f4f8;
    border: 1px solid #e2e8f0;
    border-radius: var(--border-radius-sm);
    padding: 6px 10px;
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    color: var(--primary-color);
    cursor: pointer;
    outline: none;
    transition: var(--transition);
}

.lang-switcher select:hover {
    border-color: var(--primary-color);
}

/* RTL Support */
html[dir="rtl"] {
    text-align: right;
}

html[dir="rtl"] .logo {
    letter-spacing: 0;
}

html[dir="rtl"] .search-bar {
    padding: 4px 16px;
}

html[dir="rtl"] .cart-count {
    right: auto;
    left: -10px;
}

html[dir="rtl"] .slide-content {
    text-align: right;
}

html[dir="rtl"] .category-overlay {
    text-align: right;
}

/* Hero Slider Section */
.hero-section {
    padding: 32px 0;
}

.hero-slider {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    height: 500px;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease;
    display: flex;
    align-items: center;
}

.slide.active {
    opacity: 1;
}

.slide img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.slide-content {
    padding: 0 80px;
    color: var(--primary-color);
    max-width: 600px;
}

.slide-content h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 16px;
    line-height: 1.1;
}

.slide-content h1 span {
    color: var(--accent-color);
}

.slide-content p {
    font-size: 18px;
    margin-bottom: 32px;
    color: #4a5568;
}

.btn {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 14px 32px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    background: var(--accent-color);
}

.slider-nav {
    position: absolute;
    width: 100%;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 32px;
    pointer-events: none;
}

.nav-btn {
    width: 50px;
    height: 50px;
    background: var(--glass-bg);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    pointer-events: auto;
    color: var(--primary-color);
}

.nav-btn:hover {
    background: var(--primary-color);
    color: white;
}

.slider-dots {
    position: absolute;
    bottom: 24px;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 12px;
}

.dot {
    width: 10px;
    height: 10px;
    background: rgba(0, 0, 0, 0.15);
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background: var(--primary-color);
    width: 25px;
    border-radius: 10px;
}


/* Categories Section */
.categories-section {
    padding: 60px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
}

.section-title h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.section-title p {
    color: var(--light-text);
}

/* Brands Logo Ticker (NEW) */
.brands-section {
    padding: 10px 0;
    margin-top: -10px;
}

.brands-ticker-container {
    background: var(--glass-bg);
    backdrop-filter: blur(8px);
    -webkit-backdrop-for: blur(8px);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    padding: 15px 0;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.brands-ticker-content {
    display: flex;
    white-space: nowrap;
    animation: brandTickerScroll 40s linear infinite;
    gap: 60px;
    align-items: center;
}

.brand-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 30px;
    flex-shrink: 0;
}

.brand-logo-placeholder {
    width: 80px;
    height: 80px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 24px;
    overflow: hidden;
    position: relative;
}

.brand-logo-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: white;
}

.brand-name {
    font-weight: 600;
    color: var(--primary-color);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

@keyframes brandTickerScroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

html[dir="rtl"] .brands-ticker-content {
    animation: brandTickerScrollRTL 40s linear infinite;
}

@keyframes brandTickerScrollRTL {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(50%);
    }
}

/* All Categories Section */
.categories-section {
    padding: 60px 0;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.category-card {
    position: relative;
    height: 250px;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    cursor: pointer;
    box-shadow: var(--shadow);
}

.category-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.category-card:hover img {
    transform: scale(1.1);
}

/* Responsive Grid */
@media (max-width: 991px) {
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .category-grid {
        grid-template-columns: 1fr;
    }
}

.category-card:hover img {
    transform: scale(1.05);
}

.category-overlay {
    position: absolute;
    bottom: 24px;
    left: 24px;
    right: 24px;
    background: var(--glass-bg);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 20px;
    border-radius: var(--border-radius-md);
    text-align: center;
    transition: var(--transition);
}

.category-card:hover .category-overlay {
    background: var(--primary-color);
}

.category-overlay h3 {
    font-size: 22px;
    font-weight: 600;
    color: var(--primary-color);
    transition: var(--transition);
}

.category-card:hover .category-overlay h3 {
    color: white;
}

/* Footer Note */
.footer-note {
    padding-bottom: 40px;
}

.note-box {
    background: white;
    padding: 24px;
    border-radius: var(--border-radius-md);
    text-align: center;
    color: var(--light-text);
    font-style: italic;
    border: 1px dashed #cbd5e0;
}

/* Order CTA Section */
.order-cta-section {
    padding: 80px 0;
    background: #f8fafc;
}

.order-cta-card {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    background: white;
    padding: 60px 40px;
    border-radius: var(--border-radius-lg);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
}

.order-cta-card h2 {
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.order-cta-card p {
    font-size: 18px;
    color: var(--light-text);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.footer {
    padding: 40px 0;
    background: #f7fafc;
    text-align: center;
    border-top: 1px solid #edf2f7;
}

.footer p {
    color: var(--light-text);
    font-size: 14px;
}

/* Responsive */
@media (max-width: 991px) {
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .header-inner {
        flex-direction: column;
        gap: 16px;
    }

    .nav {
        gap: 16px;
    }

    .slide-content {
        padding: 0 40px;
    }

    .slide-content h1 {
        font-size: 32px;
    }

    .category-grid {
        grid-template-columns: 1fr;
    }
}

/* Brand Grid Section */
.brands-grid-section {
    padding: 80px 0;
    background-color: white;
}

.brand-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 32px;
}

.brand-grid-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 32px 20px;
    background: #f8fafc;
    border-radius: var(--border-radius-md);
    transition: var(--transition);
    cursor: pointer;
    text-decoration: none;
}

.brand-grid-item:hover {
    transform: translateY(-8px);
    background: white;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05);
}

.brand-grid-item .brand-logo-placeholder {
    width: 110px;
    height: 110px;
    font-size: 36px;
}

.brand-grid-item .brand-name {
    font-size: 16px;
    color: var(--primary-color);
}

/* Responsive Brand Grid */
@media (max-width: 1200px) {
    .brand-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 768px) {
    .brand-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 480px) {
    .brand-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Products Listing View */
.products-listing-section {
    padding: 80px 0;
}

.products-layout {
    display: flex;
    gap: 32px;
    /* Smaller gap to keep things tighter */
    align-items: flex-start;
}

.products-sidebar {
    width: 280px;
    position: sticky;
    top: 100px;
}

.products-sidebar h3 {
    font-size: 20px;
    margin-bottom: 24px;
    color: var(--primary-color);
}

.category-menu {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.category-menu-item {
    padding: 16px 20px;
    background: white;
    border-radius: var(--border-radius-sm);
    text-decoration: none;
    color: var(--light-text);
    font-weight: 500;
    transition: var(--transition);
    border: 1px solid #edf2f7;
}

.category-menu-item:hover,
.category-menu-item.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: translateX(5px);
}

.products-content {
    flex: 1;
}

.products-header {
    margin-bottom: 40px;
    border-bottom: 1px solid #edf2f7;
    padding-bottom: 20px;
}

.products-header h1 {
    font-size: 32px;
    color: var(--primary-color);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

@media (max-width: 1400px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 1200px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .products-grid {
        grid-template-columns: repeat(1, 1fr);
    }
}

.product-card {
    background: white;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    transition: var(--transition);
    text-decoration: none;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.product-image {
    position: relative;
    padding-top: 130%;
    overflow: hidden;
    background: #f7fafc;
}

.product-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    backdrop-filter: blur(4px);
}

.product-info {
    padding: 18px;
    text-align: center;
}

.product-info h3 {
    font-size: 16px;
    margin-bottom: 0;
    color: var(--text-color);
    font-weight: 500;
}

/* Responsive Product Listing */
@media (max-width: 991px) {
    .products-layout {
        flex-direction: column;
    }

    .products-sidebar {
        width: 100%;
        position: static;
    }

    .category-menu {
        flex-direction: row;
        overflow-x: auto;
        padding-bottom: 10px;
        -webkit-overflow-scrolling: touch;
    }

    .category-menu-item {
        white-space: nowrap;
    }
}

/* Product Detail View */
.product-detail-section {
    padding: 60px 0 100px;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: var(--light-text);
    font-weight: 500;
    margin-bottom: 40px;
    transition: var(--transition);
}

.back-link:hover {
    color: var(--primary-color);
    transform: translateX(-5px);
}

[dir="rtl"] .back-link:hover {
    transform: translateX(5px);
}

.product-detail-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
}

.product-gallery {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.main-image {
    background: #f7fafc;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    position: relative;
    padding-top: 100%;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.main-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 20px;
}

.thumbnail-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.thumbnail {
    background: #f7fafc;
    border-radius: var(--border-radius-sm);
    padding-top: 100%;
    position: relative;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
}

.thumbnail.active {
    border-color: var(--primary-color);
}

.thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    padding: 5px;
}

.product-specs-container h1 {
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 30px;
}

.spec-table-wrapper {
    background: #f8fafc;
    border-radius: var(--border-radius-md);
    padding: 30px;
    margin-bottom: 40px;
}

.spec-table {
    width: 100%;
    border-collapse: collapse;
}

.spec-table th,
.spec-table td {
    padding: 15px 0;
    border-bottom: 1px solid #e2e8f0;
    text-align: left;
}

[dir="rtl"] .spec-table th,
[dir="rtl"] .spec-table td {
    text-align: right;
}

.spec-table th {
    color: var(--light-text);
    font-weight: 500;
}

.spec-table td {
    color: var(--primary-color);
    font-weight: 600;
}

.spec-table tr:last-child th,
.spec-table tr:last-child td {
    border-bottom: none;
}

.product-cta .btn {
    width: 100%;
    justify-content: center;
    padding: 18px;
    font-size: 18px;
}

/* Responsive Product Detail */
@media (max-width: 1024px) {
    .product-detail-layout {
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .product-detail-layout {
        grid-template-columns: 1fr;
    }

    .product-specs-container h1 {
        font-size: 28px;
    }
}

/* About Section */
.about-section {
    padding: 80px 0;
    background: white;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-top: 40px;
}

.about-text h3 {
    font-size: 28px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.about-text p {
    font-size: 16px;
    color: var(--light-text);
    margin-bottom: 16px;
    line-height: 1.8;
}

@media (max-width: 768px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* Contact Section */
.contact-section {
    padding: 80px 0;
    background: #f8fafc;
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
    margin-top: 40px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
    background: white;
    padding: 40px;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow);
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.info-item .icon {
    font-size: 24px;
    background: #edf2f7;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.info-item h4 {
    font-size: 18px;
    color: var(--text-color);
    margin-bottom: 5px;
}

.info-item p {
    color: var(--light-text);
    font-size: 15px;
}

.contact-form-container {
    background: white;
    padding: 40px;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 16px;
    border: 1px solid #e2e8f0;
    border-radius: var(--border-radius-sm);
    font-family: inherit;
    font-size: 15px;
    background: #f8fafc;
    transition: var(--transition);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: white;
}

@media (max-width: 991px) {
    .contact-layout {
        grid-template-columns: 1fr;
    }
}

/* Cart Sidebar */
.cart-sidebar {
    position: fixed;
    top: 0;
    right: -400px;
    width: 380px;
    height: 100vh;
    background: white;
    z-index: 2000;
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.1);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.cart-sidebar.open {
    transform: translateX(-400px);
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid #edf2f7;
}

.cart-header h2 {
    font-size: 24px;
    color: var(--primary-color);
}

.cart-close {
    background: none;
    border: none;
    font-size: 32px;
    cursor: pointer;
    color: var(--light-text);
    transition: var(--transition);
}

.cart-close:hover {
    color: #e53e3e;
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.cart-item {
    display: flex;
    gap: 16px;
    border-bottom: 1px dashed #edf2f7;
    padding-bottom: 20px;
}

.cart-item-img {
    width: 80px;
    height: 80px;
    border-radius: var(--border-radius-sm);
    object-fit: contain;
    background: #f7fafc;
}

.cart-item-info {
    flex: 1;
}

.cart-item-info h4 {
    font-size: 15px;
    color: var(--text-color);
    margin-bottom: 4px;
}

.cart-item-info p {
    font-size: 13px;
    color: var(--light-text);
    margin-bottom: 8px;
}

.cart-item-remove {
    background: none;
    border: none;
    color: #e53e3e;
    font-size: 13px;
    cursor: pointer;
    font-weight: 600;
}

.cart-footer {
    padding: 20px 24px;
    border-top: 1px solid #edf2f7;
    background: #f8fafc;
}

.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1500;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.cart-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

/* Quantity Picker */
.qty-picker {
    display: flex;
    align-items: center;
    background: #f8fafc;
    border-radius: var(--border-radius-sm);
    padding: 5px;
    border: 1px solid #e2e8f0;
}

.qty-btn {
    width: 36px;
    height: 36px;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-color);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.qty-btn:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.qty-input {
    width: 50px;
    text-align: center;
    border: none;
    background: transparent;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-color);
    font-family: inherit;
    outline: none;
    /* remove arrows */
    -moz-appearance: textfield;
}

.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Product Card Stats Overlay */
.product-stats {
    position: absolute;
    bottom: 10px;
    left: 10px;
    display: flex;
    gap: 8px;
    z-index: 1;
}

.stat-badge {
    background: rgba(255, 255, 255, 0.9);
    color: var(--primary-color);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    backdrop-filter: blur(4px);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.stat-badge span {
    font-weight: 400;
    color: var(--light-text);
}

/* Checkbox Sidebar Filters */
.checkbox-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    cursor: pointer;
    transition: var(--transition);
}

.checkbox-item:hover {
    opacity: 0.8;
}

.checkbox-item input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: var(--primary-color);
    cursor: pointer;
}

.checkbox-item span {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-color);
    cursor: pointer;
}

/* B2B Auth Gate Styles */
.auth-gate-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 70vh;
    padding: 20px;
}

.auth-box {
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    width: 100%;
    max-width: 500px;
    text-align: center;
}

.auth-box h2 {
    margin-bottom: 10px;
    color: var(--primary-color);
}

.auth-box p {
    color: var(--light-text);
    margin-bottom: 30px;
    font-size: 14px;
}

.auth-box .form-group {
    margin-bottom: 15px;
    text-align: left;
}

.auth-box .form-row {
    display: flex;
    gap: 15px;
}

.auth-box input,
.auth-box select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 15px;
    background: #f8fafc;
}

.phone-code-prefix {
    background: #edf2f7;
    padding: 12px 15px;
    border: 1px solid #e2e8f0;
    border-right: none;
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
    font-weight: 600;
    color: var(--primary-color);
    display: flex;
    align-items: center;
}
/* Final Mobile Layout Override */
@media (max-width: 600px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        display: grid !important;
        gap: 10px !important;
    }
    .product-card {
        width: 100% !important;
    }
}
