.collection-grid-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* Center vertically in column mode */
    align-items: center;
    /* Center horizontally */
    background-color: #f8f8f8;
    color: #111;
}

@media (min-width: 769px) {
    .collection-grid-section {
        min-height: 100vh;
        height: auto;
        padding-top: 100px;
        /* Space for fixed navbar */
        padding-bottom: 50px;
    }
}

body.dark-mode .collection-grid-section {
    background-color: #111;
    color: #fff;
}

.merged-title {
    text-align: center;
    font-size: 3rem;
    font-weight: 800;
    margin: 0;
    padding: 0;
    letter-spacing: -0.8px;
    line-height: 1.2;
}

.merged-subtitle {
    text-align: center;
    font-size: 1.25rem;
    color: #555;
    font-weight: 500;
    margin: 0.5rem 0 0 0;
    /* Only small top margin from title */
    padding: 0;
}

body.dark-mode .merged-subtitle {
    color: #aaa;
}

/* Scroller / Grid */
.product-lineup-container {
    padding: 0;
    /* Remove padding to make it tight */
    width: 100%;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    /* Important for slider */
}

.product-lineup-wrapper {
    display: flex;
    flex-wrap: nowrap;
    /* Disable wrap for slider */
    padding: 0.5rem 0;
    /* Minimal vertical padding */
}

.product-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
    width: 100%;
    /* Let Swiper handle the width based on slidesPerView: 3 */
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    text-decoration: none;
    color: inherit;
}

.product-item:hover {
    transform: translateY(-20px) scale(1.05);
    /* LARGER HOVER EFFECT */
}

.product-number {
    position: absolute;
    top: -2rem;
    left: 0;
    font-size: 1.2rem;
    font-weight: 600;
    color: #999;
}

.product-img-wrapper {
    width: 100%;
    height: 450px;
    /* REDUCED FOR 100VH FIT */
    display: flex;
    justify-content: center;
    align-items: flex-end;
    margin-bottom: 1rem;
    position: relative;
}

.product-img-wrapper img {
    max-width: 100%;
    /* USE FULL WIDTH */
    max-height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.12));
    transition: all 0.5s ease;
}

.product-info {
    text-align: center;
}

.product-info .name {
    display: block;
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.product-info .sub {
    font-size: 0.85rem;
    color: #999;
    font-weight: 600;
}

/* See More Link */
.see-more-wrapper {
    text-align: center;
    margin-top: 2rem;
}

.see-more-btn {
    display: inline-block;
    text-decoration: none;
    font-weight: 800;
    color: #333;
    font-size: 1rem;
    transition: color 0.3s;
}

body.dark-mode .see-more-btn {
    color: #eee;
}

.see-more-btn:hover {
    color: var(--primary);
}

@media (max-width: 992px) {
    .product-lineup-wrapper {
        gap: 2rem;
    }

    .gallery-header h2 {
        font-size: 2rem;
    }
}

/* Swiper Custom Navigation */
.custom-nav {
    color: #111 !important;
    background: rgba(255, 255, 255, 0.8);
    width: 50px !important;
    height: 50px !important;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.custom-nav::after {
    font-size: 1.2rem !important;
    font-weight: bold;
}

.custom-nav:hover {
    background: #fff;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

body.dark-mode .custom-nav {
    color: #fff !important;
    background: rgba(255, 255, 255, 0.1);
}

/* Slider Hint */
.slider-hint {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    margin-top: 2rem;
    color: #999;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.7;
    animation: pulseHint 2s infinite ease-in-out;
}

.slider-hint .icon {
    font-size: 1.5rem;
}

@keyframes pulseHint {

    0%,
    100% {
        transform: translateY(0);
        opacity: 0.5;
    }

    50% {
        transform: translateY(-5px);
        opacity: 1;
    }
}

@media (max-width: 768px) {

    .custom-nav,
    .slider-hint {
        display: none !important;
    }

    .collection-grid-section {
        padding: 4rem 0;
    }

    .gallery-header {
        margin-bottom: 0.25rem;
        /* Even tighter */
    }

    .merged-title {
        font-size: 1.8rem;
        margin-bottom: 0.25rem;
    }

    .merged-subtitle {
        font-size: 1rem;
        margin-bottom: 0;
    }

    .product-lineup-container {
        padding: 0;
        margin: 0;
        width: 100%;
        overflow: visible;
    }

    .product-lineup-wrapper {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 3.5rem;
        /* Space between products */
        padding: 0.25rem 0;
        /* Tightened padding */
        transform: none !important;
    }

    .product-item {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
        transition: transform 0.3s ease;
    }

    .product-img-wrapper {
        height: 420px;
    }

    .product-info .name {
        font-size: 1rem;
    }

    .product-info .sub {
        font-size: 0.85rem;
    }

    .see-more-wrapper {
        text-align: center;
        margin-top: 2.5rem;
    }

    .see-more-btn {
        margin-top: 0;
    }
}