.image-carousel {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding: 10px;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    /*margin-bottom: 20px;*/

}

.image-carousel::-webkit-scrollbar {
    display: none;
}

.gallery-image-container {
    flex: 0 0 120px;
    height: 80px;
    width: 80px;
    border-radius: 8px;
    overflow: hidden;
    background: #F0EDE5;
    display: flex;!important;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
    margin-left: 10px;
}

.slick-initialized .slick-slide {
    display: flex;!important;
}

.gallery-image-container:hover {
    cursor: pointer;
}

.gallery-image {
    padding: 5px;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.brands-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
    margin-top: 20px;
}

.brand-card {
    flex: 1 1 400px;
    max-width: 400px;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    margin-bottom: 24px;
    margin-top: 24px;
    /*box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);*/
}

.brand-logo-container {
    background-color: rgba(199, 167, 86, 0.1);
    padding: 24px 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 8px;
    min-height: 400px;
    max-height: 400px;
}

.brand-logo {
    max-width: 100%;
    height: auto;
}

.brand-info {
    padding-top: 20px;
}

.brand-category {
    display: flex;
    color: #c7a756;
    font-family: 'Quicksand', sans-serif;
    font-weight: 600;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.24px;
}

.brand-name {
    text-align: left;
    color: #141414;
    font-family: 'Libre Bodoni', serif;
    font-weight: 400;
    font-size: 23px;
    letter-spacing: -0.23px;
    margin-top: 16px;
}

.brand-description {
    text-align: left;
    color: #494949;
    font-family: 'Quicksand', sans-serif;
    font-size: 14px;
    line-height: 1.5;
    margin-top: 16px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 6;
    -webkit-box-orient: vertical;
}

.maison-description {
    -webkit-line-clamp: 4;
}

.arabiyat-description {
    -webkit-line-clamp: 4;
}

.arabiyat-sugar-description {
    -webkit-line-clamp: 4;
}

.product-images {
    /*display: none;*/
    gap: 8px;
    margin-top: 16px;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.product-images::-webkit-scrollbar {
    display: none;
}

.product-image {
    width: 68px;
    height: 68px;
    border-radius: 8px;
    object-fit: cover;
}

.view-toggle {
    left: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    background: none;
    border: none;
    color: #c7a756;
    font-family: 'Quicksand', sans-serif;
    font-weight: 700;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 0.32px;
    margin-top: 16px;
    cursor: pointer;
}

.toggle-icon {
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease;
}

.expanded .toggle-icon {
    transform: rotate(180deg);
}

.expanded .brand-description {
    -webkit-line-clamp: unset;
}

.expanded .product-images {
    display: flex;
}

.brand-separator {
    width: 2px;
    background-color: #c7a756;;
    margin: 27% 12px;
    height: 24px;
    align-self: stretch;
}

.sp3 {
    display: none;
}

.sp7 {
    display: none;
}

@media (max-width: 1397px) {
    .sp2 {
        display: none;
    }

    .sp4 {
        display: none;
    }

    .sp3 {
        display: block;
    }

    .brands-container {
        max-width: 90%;
    }

    .brand-card {
        flex: 1 1 400px;
    }
}

@media (max-width: 987px) {
    .sp2 {
        display: block;
    }

    .sp4 {
        display: block;
    }

    .sp7 {
        display: block;
    }

    .brands-container {
        max-width: 90%;
    }

    .brand-separator {
        width: 100%;
        height: 1px;
        margin: 24px 45%;
    }
}

.divider-bottom {
    background-color: #c7a756;
    align-self: end;
    margin-top: 48px;
    width: 182px;
    height: 1px;
    border: 1px solid #c7a756;
    margin-left: calc(100% - 182px);
}

@media (max-width: 991px) {
    .divider-bottom {
        margin-top: 40px;
    }

    .brand-card {
        margin-bottom: 12px;
        margin-top: 12px;
    }
}

@media (max-width: 467px) {
    .gallery-image-container {
        height: 68px;
        width: 68px;
    }
}