/* Brand Products Dropdown Styles */

.wrap-header-middle {
    position: relative;
}

.brand-products-dropdown {
    width: 100%;
    background: #ffffff;
    border-top: 1px solid #d6ecf0;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
    pointer-events: none;
    display: block;
}

.brand-products-dropdown.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.brand-products-dropdown__inner {
    max-width: 1320px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* Legacy class for backward compatibility */
.brand-products-slider {
    width: 100%;
    background: #ffffff;
    padding: 40px 0;
    border-top: 1px solid #d6ecf0;
    position: relative;
    z-index: 100;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.brand-slider-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 0 30px 0;
    padding: 0 20px;
}

.brand-slider-title {
    font-weight: 700;
    font-size: 32px;
    line-height: 1.2;
    color: #101010;
    margin: 0;
    font-family: "InterTight", sans-serif;
}

.brand-slider-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 12px 24px;
    background: transparent;
    border: 1px solid #101010;
    border-radius: 10000px;
    font-weight: 600;
    font-size: 14px;
    color: #101010;
    text-decoration: none;
    transition: all 0.3s ease;
    font-family: "InterTight", sans-serif;
}

.brand-slider-link:hover {
    background: #101010;
    color: #ffffff;
    text-decoration: none;
}

.brand-slider-link i {
    font-size: 14px;
}

.brand-slider-wrapper {
    position: relative;
    padding: 0 20px;
}

.brand-products-grid {
    width: 100%;
}

.brand-slider-products-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    width: 100%;
}

.brand-slider-product {
    display: flex;
    flex-direction: column;
    background: #effffe;
    padding: 20px;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    color: inherit;
    min-height: 330px;
}

.brand-slider-product:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    text-decoration: none;
    color: inherit;
}

.brand-slider-product__img {
    width: 100%;
    height: 170px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 0 20px 0;
    position: relative;
}

.brand-slider-product__img img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.15));
}

.brand-slider-product__title {
    font-weight: 500;
    font-size: 14px;
    line-height: 17px;
    color: #101010;
    margin: 0;
    flex: 1;
}

/* Slider navigation removed - no slider needed */

.brand-slider-loading {
    text-align: center;
    padding: 40px 20px;
    color: #666;
}

.brand-slider-empty {
    text-align: center;
    padding: 40px 20px;
    color: #666;
}

/* Responsive */
@media (max-width: 1100px) {
    .brand-slider-products-row {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .brand-slider-products-row {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .brand-slider-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    
    .brand-slider-title {
        font-size: 24px;
    }
    
    .brand-products-dropdown__inner {
        padding: 30px 20px;
    }
}

@media (max-width: 480px) {
    .brand-slider-products-row {
        grid-template-columns: 1fr;
    }
    
    .brand-products-dropdown__inner {
        padding: 20px 15px;
    }
    
    .brand-slider-title {
        font-size: 20px;
    }
}

