.collections-section {
    padding: 100px 0;
    background-color: #fff;
    overflow: hidden;
}

.collections-container {
    max-width: 1600px;
    margin: 0 auto;
    display: flex;
    gap: 60px;
    padding-left: 8%; /* Matches your hero alignment */
}

/* Static Left Side */
.collections-info {
    flex: 0 0 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    z-index: 10;
}

.collections-title {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    line-height: 1.1;
    color: #4a3633;
    margin-bottom: 25px;
}

.collections-description {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: #444;
    margin-bottom: 35px;
}

.btn-view-all {
    display: inline-block;
    padding: 14px 28px;
    background-color: #A18267;
    color: #fff;
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 0.15em;
    text-decoration: none;
    width: fit-content;
}

/* Scrollable Right Side */
.collections-gallery-wrapper {
    flex: 1;
    min-width: 0; /* Critical for flexbox children to allow overflow */
    position: relative;
}

.collections-gallery {
    display: flex;
    gap: 30px;
    overflow-x: scroll; /* Changed from auto to scroll to test visibility */
    padding-bottom: 40px;
    scroll-snap-type: x mandatory;
    
    /* Standardizes the scroll behavior */
    -webkit-overflow-scrolling: touch; 
    
    /* Hide scrollbars but keep functionality */
    scrollbar-width: none; 
    -ms-overflow-style: none; 
}

.collections-gallery::-webkit-scrollbar {
    display: none;
}

.collections-gallery::-webkit-scrollbar { display: none; } /* Hide scrollbar Chrome/Safari */

.collection-item {
    flex: 0 0 450px; /* Fixed width ensures they push past the container edge */
    scroll-snap-align: start;
}

.collection-link {
    text-decoration: none; /* Remove default underline */
    display: block;        /* Make the link fill the container */
    color: inherit;        /* Keep the text color from .collection-name */
}

.collection-placeholder {
    width: 100%;
    aspect-ratio: 4/5;
    background-color: #f9f7f5;
    border: 1px solid #eee;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: #ccc;
}

.collection-image {
    width: 100%;
    aspect-ratio: 4/5; /* The vertical dimension you liked */
    object-fit: cover; /* Ensures images fill the frame without distortion */
    margin-bottom: 20px;
    background-color: #f9f7f5; /* Background color shows while images load */
}

.collection-name {
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    color: #1a0f0d;
    font-weight: 400;
}

/* Progress Bar UI */
.scroll-track {
    width: 200px;
    height: 2px;
    background: #eee;
    margin-top: 10px;
}

.scroll-bar {
    width: 25%;
    height: 100%;
    background: #1a0f0d;
    transition: transform 0.1s linear;
}

/* MOBILE REFRESH: SIDE SCROLL STYLE */
@media (max-width: 480px) {
    .collections-container {
        flex-direction: column;
        padding-left: 0 25px;
        gap: 40px;
    }

    .collections-info {
        flex: auto;
        padding-right: 25px;
    }

    .collection-item {
        flex: 0 0 80%; /* Shows the edge of the next image to invite scrolling */
    }

    .collections-title {
        font-size: 2.5rem;
        color: #4a3633;
    }
}