/* Gordijnstoffen — hero (homepage-layout) + drie kernpunten */

.page-gsf {
    --wis-section-gap: 5rem;
}

.page-gsf .home-footer {
    margin-top: 0;
}

.gsf-hero .home-hero__bg {
    background-image: none;
    transform: none;
    animation: none;
}

.gsf-hero__bg {
    overflow: hidden;
}

.gsf-hero__bg picture {
    display: block;
    width: 100%;
    height: 100%;
}

.gsf-hero__bg img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.gsf-hero__veil {
    background:
        linear-gradient(180deg, rgba(13, 24, 18, 0.55) 0%, rgba(13, 24, 18, 0.42) 40%, rgba(13, 24, 18, 0.72) 100%);
}

.page-gsf .home-hero__brand,
.page-gsf .home-hero__categories,
.page-gsf .home-hero__title,
.page-gsf .home-hero__text {
    text-shadow: 0 1px 14px rgba(13, 24, 18, 0.45);
}

/* Drie punten direct onder hero */
.gsf-points {
    padding: var(--wis-section-gap) 0;
    background: var(--sand-soft);
}

.gsf-points__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem 2.5rem;
}

.gsf-point {
    text-align: center;
    padding: 0 0.5rem;
}

.gsf-point__title {
    margin: 0 0 0.75rem;
    font-family: var(--font-display);
    font-size: clamp(1.35rem, 2.4vw, 1.65rem);
    font-weight: 600;
    color: var(--forest);
}

.gsf-point__text {
    margin: 0;
    font-size: 0.98rem;
    line-height: 1.6;
    color: var(--muted);
    max-width: 22rem;
    margin-inline: auto;
}

@media (max-width: 768px) {
    .gsf-points__grid {
        grid-template-columns: 1fr;
        gap: 2.25rem;
    }
}

/* Stofsecties — kleurstalen */
.gsf-fabric {
    padding: var(--wis-section-gap) 0;
    background: #fff;
}

.gsf-fabric + .gsf-fabric {
    padding-top: 0;
}

/* Stofsecties — lichte beige kaart (afgeronde hoeken, marge) */
.gsf-fabric--scene {
    padding: clamp(2rem, 4.5vw, 3.25rem) clamp(1rem, 3.5vw, 2rem);
    background: #fff;
}

.gsf-fabric--scene + .gsf-fabric--scene {
    padding-top: clamp(1.25rem, 3vw, 2rem);
}

.gsf-fabric--scene + .gsf-fabric:not(.gsf-fabric--scene) {
    padding-top: var(--wis-section-gap);
}

.gsf-fabric__scene-card {
    position: relative;
    border-radius: clamp(14px, 2vw, 20px);
    overflow: hidden;
    box-shadow: 0 4px 28px rgba(13, 24, 18, 0.06);
    background: #faf7f2;
}

.gsf-fabric__inner {
    position: relative;
    padding: clamp(2.25rem, 5vw, 3.5rem) 0 clamp(2.5rem, 5vw, 3.75rem);
}

.gsf-fabric--scene .gsf-swatches-carousel__nav {
    background: rgba(255, 255, 255, 0.92);
    border-color: rgba(20, 36, 28, 0.14);
    box-shadow: 0 1px 6px rgba(13, 24, 18, 0.06);
}

.gsf-fabric--scene .gsf-swatch__media {
    box-shadow: 0 3px 14px rgba(13, 24, 18, 0.12);
}

.gsf-fabric__header {
    max-width: 40rem;
    margin: 0 auto 3rem;
    text-align: center;
}

.gsf-fabric__title {
    margin: 0 0 1rem;
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 3.2vw, 2.35rem);
    font-weight: 600;
    color: var(--forest);
}

.gsf-fabric__intro {
    margin: 0;
    font-size: 1.02rem;
    line-height: 1.65;
    color: var(--muted);
}

.gsf-swatches-carousel {
    position: relative;
    margin-top: 0.25rem;
}

.gsf-swatches-carousel__controls {
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
    margin-bottom: 0.65rem;
}

.gsf-swatches-carousel__nav {
    width: 2.75rem;
    height: 2.75rem;
    border: 1px solid rgba(20, 36, 28, 0.18);
    background: rgba(255, 255, 255, 0.72);
    color: var(--forest);
    font-size: 1.65rem;
    line-height: 1;
    cursor: pointer;
    border-radius: 2px;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.gsf-swatches-carousel__nav:hover {
    background: #fff;
    border-color: rgba(20, 36, 28, 0.32);
}

.gsf-swatches-carousel__viewport {
    overflow: hidden;
    margin: 0 -0.15rem;
}

.gsf-swatches.gsf-swatches-carousel__track {
    display: flex;
    gap: 0.85rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding: 0.2rem 0.15rem 0.55rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: rgba(20, 36, 28, 0.22) transparent;
}

.gsf-swatches-carousel__track .gsf-swatch {
    flex: 0 0 5.75rem;
    scroll-snap-align: start;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

@media (min-width: 480px) {
    .gsf-swatches-carousel__track .gsf-swatch {
        flex: 0 0 6.5rem;
    }
}

@media (min-width: 769px) {
    .gsf-swatches-carousel__track .gsf-swatch {
        flex: 0 0 14.5rem;
    }

    .gsf-swatches.gsf-swatches-carousel__track {
        gap: 1.1rem;
    }
}

.gsf-swatch {
    margin: 0;
    padding: 0;
    border: none;
    background: none;
    cursor: zoom-in;
    text-align: center;
    font: inherit;
    color: inherit;
}

.gsf-swatch:focus-visible {
    outline: 2px solid var(--forest);
    outline-offset: 4px;
    border-radius: 4px;
}

.gsf-swatch__media {
    display: block;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(13, 24, 18, 0.07);
    aspect-ratio: 4 / 3;
    background: var(--sand-soft);
}

.gsf-swatch__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gsf-swatch__label {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    margin-top: 0.5rem;
    line-height: 1.35;
    min-height: 2.35rem;
    flex: 1 1 auto;
}

.gsf-swatch__name {
    display: block;
    width: 100%;
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--forest);
    line-height: 1.3;
}

.gsf-swatch__code {
    display: block;
    width: 100%;
    font-size: 0.72rem;
    color: var(--muted);
    margin-top: 0.12rem;
    line-height: 1.25;
}

.gsf-lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    background: rgba(13, 24, 18, 0.82);
}

.gsf-lightbox[hidden] {
    display: none !important;
}

.gsf-lightbox__close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 2;
    width: 2.75rem;
    height: 2.75rem;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    font-size: 1.75rem;
    line-height: 1;
    cursor: pointer;
}

.gsf-lightbox__close:hover {
    background: rgba(255, 255, 255, 0.28);
}

.gsf-lightbox__panel {
    max-width: min(960px, 100%);
    width: 100%;
}

.gsf-lightbox__media {
    border-radius: 8px;
    overflow: hidden;
    background: #1a1a1a;
}

.gsf-lightbox__media img {
    display: block;
    width: 100%;
    height: auto;
    max-height: min(78vh, 720px);
    object-fit: contain;
    margin: 0 auto;
}

.gsf-lightbox__caption {
    margin: 1rem 0 0;
    text-align: center;
    color: #fff;
    font-size: 0.95rem;
}

body.gsf-lightbox-open {
    overflow: hidden;
}

/* Afsluitende CTA — kleurstalen thuis */
.gsf-cta {
    text-align: center;
    padding: 4rem 0 4.5rem;
}

.gsf-cta__text {
    max-width: 42rem;
    margin-inline: auto;
}

.gsf-cta__actions {
    margin: 2rem 0 0;
}
