/* ─── Flavour Carousel ──────────────────────────────────── */

.section-flavour-carousel {
    padding: var(--space-lg) 0;
}

/* ── Header ───────────────────────────────────────────── */
.fcar__header {
    margin-bottom: var(--space-lg);
}

.fcar__header--centered {
    text-align: center;
}

.fcar__header--split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: end;
    gap: var(--space-lg);
}

.fcar__heading-group {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.fcar__intro {
    color: var(--color-body);
}

/* ── Wrapper ──────────────────────────────────────────── */
.fcar__wrapper {
    position: relative;
    background-color: #1D1D1D;
    border-radius: 12px;
    padding: var(--space-md) 0 var(--space-md) var(--space-md);
}

/* ── Track ────────────────────────────────────────────── */
.fcar__track {
    display: flex;
    gap: var(--space-sm);
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: var(--space-md);
}

.fcar__track::-webkit-scrollbar {
    display: none;
}

/* ── Item / Card ──────────────────────────────────────── */
.fcar__item {
    flex: 0 0 calc((100% - 3.3 * var(--space-sm)) / 4.3);
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.fcar__card-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.fcar__card-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fcar__product {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fcar__product img {
    width: 85%;
    height: auto;
    object-fit: contain;
    max-height: 65%;
}

.fcar__info {
    position: relative;
    z-index: 2;
    padding: var(--space-sm);
}

.fcar__name {
    font-family: 'Neue Regrade', sans-serif;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0;
    color: var(--color-text);
    text-transform: uppercase;
    line-height: 1;
    margin-bottom: 4px;
}

.fcar__tagline {
    font-family: 'Neue Regrade', sans-serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

/* ── Scrollbar ────────────────────────────────────────── */
.fcar__scrollbar {
    position: relative;
    height: 3px;
    background: var(--color-border);
    border-radius: 2px;
    margin-top: var(--space-sm);
    margin-right: var(--space-md);
    overflow: hidden;
}

.fcar__scrollbar-thumb {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    background: var(--color-muted);
    border-radius: 2px;
    transition: left 0.08s linear, width 0.08s linear;
}

/* ── Arrows ───────────────────────────────────────────── */
.fcar__arrow {
    position: absolute;
    top: calc(50% - var(--space-md));
    transform: translateY(-50%);
    z-index: 4;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: transparent;
    border: none;
    color: var(--color-text);
    cursor: pointer;
}

.fcar__arrow svg {
    width: 14px;
    height: 24px;
}

.fcar__arrow--prev {
    left: 0;
}

.fcar__arrow--next {
    right: 0;
}

.fcar__arrow[hidden] {
    display: none;
}

/* ── Responsive ───────────────────────────────────────── */
@media ( max-width: 1200px ) {
    .fcar__item {
        flex: 0 0 calc((100% - 2.3 * var(--space-sm)) / 3.3);
    }
}

@media ( max-width: 768px ) {
    .fcar__header--split {
        grid-template-columns: 1fr;
        gap: var(--space-sm);
    }

    .fcar__item {
        flex: 0 0 calc((100% - var(--space-sm)) / 1.5);
    }

}

@media ( min-width: 1600px ) {
    .fcar__arrow--prev {
        left: -72px;
    }

    .fcar__arrow--next {
        right: -72px;
    }
}

@media ( max-width: 480px ) {
    .fcar__item {
        flex: 0 0 calc((100% - var(--space-sm)) / 1.5);
    }

    .fcar__info {
        padding: var(--space-xs);
    }

    .fcar__name {
        font-size: 13px;
    }

    .fcar__tagline {
        font-size: 9px;
    }
}
