.fsu-wrap {
    --fsu-bg: #0b0d0f;
    --fsu-panel: #101418;
    --fsu-border: rgba(255,255,255,.14);
    --fsu-text: #ffffff;
    --fsu-muted: #a9b0b7;
    --fsu-accent: #55efc4;
    box-sizing: border-box;
    width: 100%;
    margin: 26px 0 30px;
    padding: 18px;
    background: var(--fsu-bg);
    border: 1px solid var(--fsu-border);
    color: var(--fsu-text);
}

.fsu-wrap *, .fsu-wrap *::before, .fsu-wrap *::after { box-sizing: border-box; }

.fsu-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 15px;
}

.fsu-title {
    margin: 0 0 4px !important;
    color: var(--fsu-text) !important;
    font-size: clamp(18px, 2vw, 24px) !important;
    line-height: 1.1 !important;
    letter-spacing: .02em;
}

.fsu-subtitle {
    margin: 0 !important;
    color: var(--fsu-muted) !important;
    font-size: 13px !important;
    line-height: 1.35 !important;
}

.fsu-deal {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 11px;
    color: #07110e;
    background: var(--fsu-accent);
    border-radius: 999px;
    font-size: 12px;
    line-height: 1;
    white-space: nowrap;
}

.fsu-slider-shell { position: relative; }

.fsu-slider {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding: 2px 2px 10px;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    overscroll-behavior-inline: contain;
    scrollbar-width: thin;
}

.fsu-slider::-webkit-scrollbar { height: 5px; }
.fsu-slider::-webkit-scrollbar-thumb { background: rgba(255,255,255,.22); border-radius: 999px; }
.fsu-slider::-webkit-scrollbar-track { background: transparent; }

.fsu-card {
    flex: 0 0 180px;
    min-width: 0;
    overflow: hidden;
    scroll-snap-align: start;
    background: var(--fsu-panel);
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 8px;
}

.fsu-image {
    display: block;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #07090c;
}

.fsu-image img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    object-fit: cover !important;
    transform: scale(1.001);
    transition: transform .2s ease;
}

.fsu-card:hover .fsu-image img { transform: scale(1.035); }

.fsu-card__body { padding: 11px; }

.fsu-name {
    display: -webkit-box;
    min-height: 34px;
    margin-bottom: 10px;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    color: var(--fsu-text) !important;
    text-decoration: none !important;
    font-size: 12px;
    line-height: 1.35;
}

.fsu-card__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.fsu-price {
    color: var(--fsu-text);
    font-weight: 700;
    font-size: 13px;
    white-space: nowrap;
}

.fsu-price del { opacity: .5; }
.fsu-price ins { text-decoration: none; }

.fsu-add {
    min-width: 64px;
    padding: 8px 10px !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: var(--fsu-accent) !important;
    color: #07110e !important;
    box-shadow: none !important;
    font: inherit;
    font-size: 11px !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    text-align: center;
    text-decoration: none !important;
    cursor: pointer;
    white-space: nowrap;
}

.fsu-add:hover, .fsu-add:focus { filter: brightness(.92); }
.fsu-add[disabled] { cursor: wait; opacity: .7; }
.fsu-add.is-added { background: #ffffff !important; color: #07110e !important; }

.fsu-arrow {
    position: absolute;
    z-index: 3;
    top: 50%;
    width: 34px;
    height: 34px;
    margin-top: -22px;
    padding: 0 !important;
    border: 1px solid rgba(255,255,255,.18) !important;
    border-radius: 50% !important;
    background: rgba(7,9,12,.92) !important;
    color: #fff !important;
    box-shadow: 0 4px 18px rgba(0,0,0,.35) !important;
    font-size: 24px !important;
    line-height: 30px !important;
    text-align: center;
    cursor: pointer;
}

.fsu-arrow--prev { left: -8px; }
.fsu-arrow--next { right: -8px; }
.fsu-arrow[disabled] { opacity: .18; cursor: default; }

.fsu-note {
    margin: 9px 0 0 !important;
    color: var(--fsu-muted) !important;
    font-size: 11px !important;
    line-height: 1.35 !important;
}

.fsu-live {
    min-height: 0;
    margin-top: 0;
    color: var(--fsu-accent);
    font-size: 12px;
}
.fsu-live:not(:empty) { min-height: 18px; margin-top: 7px; }

/* Checkout version is deliberately tighter so payment stays the main action. */
.fsu-wrap--checkout {
    margin: 18px 0 22px;
    padding: 14px;
}
.fsu-wrap--checkout .fsu-card { flex-basis: 145px; }
.fsu-wrap--checkout .fsu-title { font-size: 18px !important; }
.fsu-wrap--checkout .fsu-image { aspect-ratio: 1 / 1; }
.fsu-wrap--checkout .fsu-card__body { padding: 9px; }
.fsu-wrap--checkout .fsu-name { font-size: 11px; }
.fsu-wrap--checkout .fsu-deal { font-size: 10px; }

/* Checkout cards use a vertical footer on every screen size.
   This prevents the price + ADD button from fighting for the same narrow row. */
.fsu-wrap--checkout .fsu-card { flex-basis: 160px; }
.fsu-wrap--checkout .fsu-card__body {
    display: flex;
    flex-direction: column;
    min-height: 122px;
}
.fsu-wrap--checkout .fsu-name {
    min-height: 36px;
    margin-bottom: 10px;
}
.fsu-wrap--checkout .fsu-card__bottom {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 9px;
    margin-top: auto;
}
.fsu-wrap--checkout .fsu-price {
    display: block;
    width: 100%;
    white-space: normal;
}
.fsu-wrap--checkout .fsu-add,
.fsu-wrap--checkout .fsu-add.fsu-add--link {
    display: block;
    width: 100%;
    min-width: 0;
    padding: 10px 12px !important;
    text-align: center;
}

@media (max-width: 767px) {
    .fsu-wrap { margin: 20px 0 24px; padding: 14px 12px; }
    .fsu-head { display: block; }
    .fsu-deal {
        display: inline-flex;
        margin-top: 11px;
        max-width: 100%;
        font-size: 10px;
    }
    .fsu-card { flex-basis: 156px; }
    .fsu-wrap--checkout .fsu-card { flex-basis: 165px; }
    .fsu-card__body {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }
    .fsu-name {
        min-height: 38px;
        margin-bottom: 0;
    }
    .fsu-card__bottom {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        gap: 10px;
        margin-top: auto;
    }
    .fsu-price {
        display: block;
        width: 100%;
        text-align: left;
        white-space: normal;
    }
    .fsu-add,
    .fsu-add.fsu-add--link {
        display: block;
        width: 100%;
        min-width: 0;
        padding: 10px 12px !important;
        text-align: center;
    }
    .fsu-arrow { display: none; }
    .fsu-slider { margin-right: -12px; padding-right: 12px; }
}
