.showcase {
    max-width: 100%;
    overflow: hidden;
    background: #edf0e9;
}

.showcase-header {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 2rem;
}

.showcase .section-heading {
    margin-bottom: 2rem;
}

.showcase .section-heading p {
    color: var(--muted);
    font-size: 1.1rem;
}

.slider-controls {
    display: flex;
    gap: .75rem;
    padding-bottom: 2rem;
}

.slider-button {
    width: 3rem;
    height: 3rem;
    border: 1px solid var(--ink);
    border-radius: 50%;
    background: var(--ink);
    color: #fff;
    font: 700 1.35rem/1 Manrope, sans-serif;
    cursor: pointer;
}

.slider-button:hover:not(:disabled) {
    background: var(--green);
    border-color: var(--green);
}

.slider-button:disabled {
    opacity: .32;
    cursor: not-allowed;
}

.slider-button:focus-visible,
.slider-window:focus-visible,
.slide:focus-visible,
.slider-dot:focus-visible {
    outline: 3px solid var(--green);
    outline-offset: 3px;
}

.slider-window {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-inline: contain;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    touch-action: pan-x pan-y;
}

.slider-window::-webkit-scrollbar {
    display: none;
}

.slider-track {
    display: flex;
    gap: 1.25rem;
    width: max-content;
    min-width: 100%;
    padding: .75rem .25rem 1.5rem;
}

.slide {
    width: 210px;
    flex: 0 0 210px;
    min-width: 0;
    overflow: hidden;
    scroll-snap-align: start;
    background: #fff;
    border-radius: 1rem;
    box-shadow: 0 10px 26px rgba(16, 34, 27, .1);
    transition: transform .2s, box-shadow .2s;
}

.slide:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 30px rgba(16, 34, 27, .14);
}

.slide-media {
    display: block;
    width: 100%;
    aspect-ratio: 1;
    min-height: 0;
    padding: 0;
    overflow: hidden;
    background: #1f2421;
}

.slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transform: scale(1.08);
}

.slide-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    min-height: 4rem;
    padding: .9rem 1rem;
    overflow-wrap: anywhere;
    font-weight: 800;
    line-height: 1.3;
}

.slide-label span {
    flex: 0 0 auto;
    color: var(--green);
    font-size: 1.1rem;
}

.slider-progress {
    display: none;
    justify-content: center;
    flex-wrap: wrap;
    gap: .45rem;
    margin-top: .5rem;
}

.slider-dot {
    width: .55rem;
    height: .55rem;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #aab6af;
    cursor: pointer;
}

.slider-dot[aria-current="true"] {
    width: 1.5rem;
    border-radius: 1rem;
    background: var(--green);
}

.swipe-hint {
    display: none;
    margin: .8rem 0 0;
    text-align: center;
    color: var(--muted);
    font-size: .82rem;
    font-weight: 700;
}

.swipe-hint span {
    color: var(--green);
    font-size: 1rem;
}

@media (max-width: 767px) {
    .showcase-header {
        display: block;
    }

    .slider-controls {
        display: none;
    }

    .slide {
        width: min(76vw, 260px);
        flex-basis: min(76vw, 260px);
    }

    .slider-progress,
    .swipe-hint {
        display: flex;
    }

    .swipe-hint {
        justify-content: center;
        align-items: center;
        gap: .4rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .slider-window {
        scroll-behavior: auto;
    }

    .slide {
        transition: none;
    }
}
