/* Categorized Brands Section Styles */
.categorized-brands-section {
    background: #fff;
    padding: 60px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.category-brand-row {
    max-width: 1024px;
    margin: 0 auto 50px;
    padding: 0 20px;
}

.category-row-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    gap: 20px;
}

.category-row-title {
    font-size: 22px;
    font-weight: 800;
    color: #111;
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 0;
}

.view-all-link {
    font-size: 14px;
    font-weight: 700;
    color: var(--primary-color, #ff6600);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 15px;
    background: rgba(255, 107, 53, 0.05);
    border-radius: 50px;
    transition: 0.3s ease;
    white-space: nowrap;
}

.view-all-link i {
    font-size: 11px;
    transition: transform 0.3s ease;
}

.view-all-link:hover {
    background: var(--primary-color, #ff6600);
    color: #fff;
    transform: translateX(3px);
}

.view-all-link:hover i {
    transform: translateX(3px);
}

.category-row-title::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, rgba(0,0,0,0.1), transparent);
}

.brand-scroll-wrapper {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    padding: 10px 5px 30px;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
}

.brand-scroll-wrapper::-webkit-scrollbar {
    height: 4px;
}

.brand-scroll-wrapper::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.brand-scroll-wrapper::-webkit-scrollbar-thumb {
    background: #ddd;
    border-radius: 10px;
    transition: 0.3s;
}

.brand-scroll-wrapper:hover::-webkit-scrollbar-thumb {
    background: var(--primary-color, #ff6600);
}

.brand-scroll-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    min-width: 100px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.brand-logo-circle {
    width: 90px;
    height: 90px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
    overflow: hidden;
    position: relative;
}

.brand-logo-circle img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: 0.4s;
}

.brand-scroll-item .brand-name {
    font-size: 14px;
    font-weight: 700;
    color: #444;
    transition: 0.3s;
}

.brand-scroll-item:hover {
    transform: translateY(-8px);
}

.brand-scroll-item:hover .brand-logo-circle {
    box-shadow: 0 15px 35px rgba(255, 107, 53, 0.15);
    border-color: rgba(255, 107, 53, 0.2);
}

.brand-scroll-item:hover .brand-logo-circle img {
    transform: scale(1.1);
}

.brand-scroll-item:hover .brand-name {
    color: var(--primary-color, #ff6600);
}

@media (max-width: 768px) {
    .categorized-brands-section {
        padding: 40px 0;
    }
    .brand-logo-circle {
        width: 75px;
        height: 75px;
    }
    .brand-scroll-wrapper {
        gap: 20px;
    }
    .category-row-title {
        font-size: 18px;
    }
}

/* Cookie Consent Styles */
#cookieConsent {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: white;
    padding: 20px;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.3);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    animation: slideUpHome 0.3s ease;
}

@keyframes slideUpHome {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

#cookieConsent button {
    transition: all 0.3s;
}

#cookieConsent button:hover {
    transform: translateY(-2px);
}

#cookieConsent button:first-of-type:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.6);
}

/* Validation & Grid Responsive */
@keyframes shakeHome { 0%, 100% { transform: translateX(0); } 25% { transform: translateX(-5px); } 75% { transform: translateX(5px); } }
.category-validation-active { animation: shakeHome 0.4s ease; border-color: #ef4444 !important; }

@media (max-width: 991px) {
    .category-container {
        justify-content: flex-start;
        gap: 25px;
    }
    .circle-image-wrapper {
        width: 65px;
        height: 65px;
    }
    .category-circle-item {
        min-width: 70px;
    }
}

@media (max-width: 768px) {
    #cookieConsent>div {
        flex-direction: column;
        text-align: center;
    }
    #cookieConsent button {
        width: 100%;
    }
}
