


.brand-row-wrapper {
    margin-bottom: 4rem !important;
}


.brand-section-header .brand-section-title {
    font-family: 'Playfair Display', serif !important;
    font-size: 1.7rem !important;
    font-weight: 700 !important;
    color: var(--royal-dark, #0d1f0f);
    letter-spacing: -0.3px;
}

.brand-section-header span {
    background: #fdfbf7 !important;
    border: 1px solid #EAE5D9 !important;
    padding: 6px 14px !important;
    border-radius: 30px !important;
    font-size: 0.72rem !important;
    color: #bca374 !important;
    letter-spacing: 0.8px;
    font-weight: 700 !important;
    box-shadow: 0 2px 6px rgba(212, 175, 55, 0.03);
}


.brand-slider-row {
    display: flex;
    align-items: center;
    gap: 15px;
    position: relative;
    width: 100%;
}


.brand-slider {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-behavior: smooth;
    flex: 1;
    padding: 15px 5px;
    scrollbar-width: none; 
    -ms-overflow-style: none; 
}

.brand-slider::-webkit-scrollbar {
    display: none; 
}


.slider-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50% !important;
    border: 1px solid #EAE5D9 !important;
    background: rgba(255, 255, 255, 0.9) !important;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: var(--royal-dark, #0d1f0f) !important;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.06);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    z-index: 5;
    flex-shrink: 0;
}

.slider-btn i {
    width: 16px;
    height: 16px;
    stroke-width: 2.5px;
    transition: transform 0.3s ease;
}

.slider-btn:hover {
    background: var(--royal-dark, #0d1f0f) !important;
    color: white !important;
    border-color: var(--royal-dark, #0d1f0f) !important;
    box-shadow: 0 6px 20px rgba(13, 31, 15, 0.15);
    transform: scale(1.1);
}

.brand-slider-prev:hover i {
    transform: translateX(-3px);
}

.brand-slider-next:hover i {
    transform: translateX(3px);
}


.brand-slider .lux-product-card {
    flex: 0 0 175px !important; 
    width: 175px !important;
    height: auto !important;
    margin-bottom: 0 !important;
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border-radius: 12px !important;
    border: 1px solid #EAE5D9 !important; 
    border-top: 3px solid var(--imperial-gold, #D4AF37) !important; 
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 18px rgba(212, 175, 55, 0.03), 0 1px 3px rgba(0, 0, 0, 0.02) !important;
}

.brand-slider .lux-product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 35px rgba(212, 175, 55, 0.12), 0 5px 15px rgba(0, 0, 0, 0.04) !important;
    border-color: #c5b497 !important;
}


.brand-slider .lux-product-card .card-visual {
    aspect-ratio: 1 / 1 !important;
    height: 175px !important; 
    width: 100% !important;
    overflow: hidden;
    position: relative;
    background: #fdfdfd;
    border-radius: 8px 8px 0 0;
}


.brand-slider .lux-product-card .card-visual::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(180deg, rgba(212, 175, 55, 0) 50%, rgba(212, 175, 55, 0.04) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: 2;
}

.brand-slider .lux-product-card:hover .card-visual::after {
    opacity: 1;
}

.brand-slider .lux-product-card .card-visual img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1;
}

.brand-slider .lux-product-card:hover .main-img {
    transform: scale(1.06);
}


.brand-slider .lux-product-card .card-body {
    padding: 0.8rem 0.9rem !important;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.brand-slider .lux-product-card .product-brand {
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    font-size: 0.58rem !important;
    text-transform: uppercase !important;
    letter-spacing: 1.2px !important;
    color: #bca374 !important;
    font-weight: 700 !important;
}

.brand-slider .lux-product-card .product-title {
    font-family: 'Playfair Display', serif !important;
    font-size: 0.8rem !important;
    font-weight: 700 !important;
    color: #1e293b !important;
    margin: 3px 0 0 0 !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.brand-slider .lux-product-card .price-promo {
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    font-size: 0.8rem !important;
    font-weight: 800 !important;
    color: var(--royal-dark, #0d1f0f) !important;
}


.brand-slider-row.grid-mode {
    display: block !important;
}

.brand-slider-row.grid-mode .slider-btn {
    display: none !important; 
}

.brand-slider-row.grid-mode .brand-slider {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)) !important; 
    gap: 1.75rem 1.25rem !important;
    padding: 10px 0 !important;
    overflow-x: visible !important;
    width: 100% !important;
}

.brand-slider-row.grid-mode .brand-slider .lux-product-card {
    flex: none !important;
    width: 100% !important;
    height: 100% !important;
}

.brand-slider-row.grid-mode .brand-slider .lux-product-card .card-visual {
    height: auto !important;
    aspect-ratio: 1 / 1 !important;
}


@media (max-width: 768px) {
    .brand-row-wrapper {
        margin-bottom: 2.5rem !important;
    }
    .brand-slider .lux-product-card {
        flex: 0 0 115px !important;
        width: 115px !important;
        border-radius: 8px !important;
    }
    .brand-slider .lux-product-card .card-visual {
        height: auto !important;
        aspect-ratio: 1 / 1 !important;
    }
    .brand-slider-row.grid-mode .brand-slider {
        grid-template-columns: repeat(auto-fill, minmax(115px, 1fr)) !important;
        gap: 1rem 0.6rem !important;
    }
    
    
    .lux-product-card .card-body {
        padding: 0.5rem 0.4rem !important;
    }
    .lux-product-brand {
        font-size: 0.55rem !important;
        letter-spacing: 0.5px !important;
    }
    .lux-product-title {
        font-size: 0.72rem !important;
        margin-top: 1px !important;
    }
    .lux-product-card .price-promo {
        font-size: 0.8rem !important;
    }
    .lux-product-card .lux-price-original {
        font-size: 0.7rem !important;
        margin-left: 2px !important;
    }
    .lux-product-card .lux-discount-badge {
        font-size: 0.55rem !important;
        padding: 2px 5px !important;
        top: 6px !important;
        right: 6px !important;
    }
    .lux-product-card .product-card-sizes-hover {
        display: none !important;
    }
}

@media (max-width: 576px) {
    .brand-row-wrapper {
        margin-bottom: 2rem !important;
    }
    .brand-slider .lux-product-card {
        flex: 0 0 105px !important;
        width: 105px !important;
        border-radius: 8px !important;
    }
    .brand-slider .lux-product-card .card-visual {
        height: auto !important;
        aspect-ratio: 1 / 1 !important;
    }
    .brand-slider-row.grid-mode .brand-slider {
        grid-template-columns: repeat(auto-fill, minmax(105px, 1fr)) !important;
        gap: 0.8rem 0.5rem !important;
    }
}


.sidebar-mobile-toggle {
    display: none;
}
.sidebar-content-wrapper {
    display: block;
}


@media (max-width: 768px) {
    .container {
        padding: 0 1rem !important; 
    }

    .catalog-layout {
        padding: 0 !important; 
        width: 100% !important;
        min-width: 0 !important;
    }

    #catalog-area {
        width: 100% !important;
        min-width: 0 !important;
    }

    .brand-row {
        width: 100% !important;
        min-width: 0 !important;
        overflow: hidden !important; 
    }

    .results-header {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 1rem !important;
        padding: 1.25rem 1rem !important;
        margin-bottom: 1.5rem !important;
    }

    .results-count {
        text-align: center;
        font-size: 0.85rem;
    }

    .results-header > div:last-child {
        justify-content: center;
        width: 100%;
    }

    .premium-select {
        flex: 1;
        text-align: center;
    }

    
    .catalog-sidebar {
        display: block !important;
    }
    
    .sidebar-mobile-toggle {
        display: none !important;
    }
    
    .catalog-control-strip {
        flex-direction: column;
        align-items: stretch;
        gap: 1.25rem;
        padding: 16px !important;
    }
    
    .control-left {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .search-compact-box {
        width: 100% !important;
    }
    
    .filters-pills-group {
        width: 100%;
        justify-content: flex-start;
        gap: 8px;
    }
    
    .filter-dropdown {
        flex: 1;
        min-width: 100px;
    }
    
    .filter-dropdown-trigger {
        width: 100%;
        justify-content: space-between;
        padding: 10px 14px;
        font-size: 0.8rem;
    }
    
    .filter-dropdown-menu {
        width: 100%;
        min-width: 0 !important;
        left: 0;
        right: 0;
    }
    
    .control-right {
        width: 100%;
        justify-content: space-between;
        border-top: 1px dashed #EAE5D9;
        padding-top: 1rem;
    }
}

@media (max-width: 576px) {
    .filters-pills-group {
        flex-direction: column;
        align-items: stretch;
    }
    .filter-dropdown {
        width: 100%;
    }
    .filter-reset-pill-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .catalog-control-strip {
        top: var(--header-height, 64px) !important;
    }
}

