/* ════════════════════════════════════════════════════════════════
   AVANCY FASHION — CSS
   Tous les blocs : s-fashion-gate, s-fashion-grid, s-fashion-story,
   s-fashion-trust, s-fashion-newseason
   Utilise exclusivement les tokens CSS --blk-* hérités du thème Odoo.
════════════════════════════════════════════════════════════════ */

/* ──────────────────────────────────────────────────────────────
   ANIMATION PARTAGÉE — shimmer squelette
────────────────────────────────────────────────────────────── */
@keyframes fashionShimmer {
    from { background-position: -600px 0; }
    to   { background-position:  600px 0; }
}

/* ══════════════════════════════════════════════════════════════
   1. s-fashion-gate — Portail Genre Plein-Écran
══════════════════════════════════════════════════════════════ */

.s-fashion-gate {
    display: flex;
    min-height: calc(100dvh - var(--sfg-nv, 0px));
    overflow: hidden;
    position: relative;
}

/* Panneau — <a> cliquable, s'expande à 140% au survol */
.s-fashion-gate__panel {
    flex: 1;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    display: block;
    transition: flex 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.s-fashion-gate.is-active .s-fashion-gate__panel       { flex: 0.6; }
.s-fashion-gate.is-active .s-fashion-gate__panel.is-hovered { flex: 1.4; }

/* Calque image — fonctionne pour <div style="background-image:..."> ET <img> */
.s-fashion-gate__layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* div + background-image */
    background-size: cover;
    background-position: top center;
    background-repeat: no-repeat;
    /* img */
    object-fit: cover;
    object-position: top center;
    display: block;
    pointer-events: none;
    transition: transform 0.12s linear;
    will-change: transform;
}

/* Voile dégradé bas-vers-haut */
.s-fashion-gate__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.72) 0%,
        rgba(0, 0, 0, 0.18) 55%,
        rgba(0, 0, 0, 0.05) 100%
    );
    transition: opacity 0.4s ease;
}
.s-fashion-gate__panel.is-hovered .s-fashion-gate__overlay {
    opacity: 1.2; /* intentionnellement > 1 clampé → plein écran plus sombre */
}

/* Corps du texte — ancré en bas du panneau */
.s-fashion-gate__body {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 56px 52px;
    color: #fff;
    display: flex;
    flex-direction: column;
    gap: 6px;
    z-index: 2;
}

/* Eyebrow — révélation décalée */
.s-fashion-gate__eyebrow {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.26em;
    text-transform: uppercase;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.55s ease 0.25s, transform 0.55s ease 0.25s;
}
.s-fashion-gate__panel.in-view .s-fashion-gate__eyebrow {
    opacity: 0.7;
    transform: translateY(0);
}

/* Titre principal — reveal par clip-path */
.s-fashion-gate__title {
    font-size: clamp(3.2rem, 5.5vw, 7.5rem);
    font-weight: 200;
    line-height: 0.9;
    letter-spacing: -0.04em;
    margin: 4px 0 10px;
    clip-path: inset(0 100% 0 0);
    transition: clip-path 0.75s cubic-bezier(0.16, 1, 0.3, 1) 0.05s;
}
.s-fashion-gate__panel.in-view .s-fashion-gate__title {
    clip-path: inset(0 0% 0 0);
}

/* Saison */
.s-fashion-gate__season {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.5s ease 0.35s, transform 0.5s ease 0.35s;
}
.s-fashion-gate__panel.in-view .s-fashion-gate__season {
    opacity: 0.65;
    transform: translateY(0);
}

/* CTA lien */
.s-fashion-gate__cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    text-decoration: none;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.17em;
    text-transform: uppercase;
    border-bottom: 1px solid rgba(255, 255, 255, 0.45);
    padding-bottom: 4px;
    width: max-content;
    margin-top: 10px;
    opacity: 0;
    transform: translateY(12px);
    transition:
        opacity 0.5s ease 0.45s,
        transform 0.5s ease 0.45s,
        gap 0.22s ease,
        border-color 0.22s ease;
}
.s-fashion-gate__panel.in-view .s-fashion-gate__cta {
    opacity: 1;
    transform: translateY(0);
}
.s-fashion-gate__cta:hover {
    color: #fff;
    gap: 18px;
    border-bottom-color: #fff;
    text-decoration: none;
}

/* Séparateur central "ou" */
.s-fashion-gate__divider {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    z-index: 10;
    pointer-events: none;
    opacity: 1;
    transition: opacity 0.3s ease;
}
.s-fashion-gate.is-active .s-fashion-gate__divider {
    opacity: 0;
}
.s-fashion-gate__divider-line {
    width: 1px;
    height: 72px;
    background: rgba(255, 255, 255, 0.35);
}
.s-fashion-gate__divider-ou {
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.75);
    background: rgba(0, 0, 0, 0.32);
    padding: 8px 14px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* Mobile — empilement vertical */
@media (max-width: 767px) {
    .s-fashion-gate            { flex-direction: column; }
    .s-fashion-gate__panel     { flex: none; min-height: calc((100dvh - var(--sfg-nv, 0px)) / 2); }
    .s-fashion-gate.is-active .s-fashion-gate__panel       { flex: none; min-height: calc((100dvh - var(--sfg-nv, 0px)) / 2); }
    .s-fashion-gate.is-active .s-fashion-gate__panel.is-hovered { flex: none; min-height: calc((100dvh - var(--sfg-nv, 0px)) / 2); }
    .s-fashion-gate__title     { font-size: clamp(2.8rem, 14vw, 5rem); }
    .s-fashion-gate__body      { padding: 32px 28px; }
    .s-fashion-gate__divider   { flex-direction: row; top: 50%; }
    .s-fashion-gate__divider-line { width: 52px; height: 1px; }
}


/* ══════════════════════════════════════════════════════════════
   2. s-fashion-grid — Grille Produits Asymétrique
══════════════════════════════════════════════════════════════ */

.s-fashion-grid {
    padding: 72px 0 80px;
}

/* En-tête */
.s-fashion-grid__header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 28px;
}
.s-fashion-grid__eyebrow {
    font-size: 0.63rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--blk-text-muted, #6b7280);
    margin: 0 0 6px;
}
.s-fashion-grid__heading {
    font-size: clamp(1.5rem, 2.4vw, 2.4rem);
    font-weight: 300;
    letter-spacing: -0.03em;
    color: var(--blk-text, #111827);
    margin: 0;
    line-height: 1.1;
}
.s-fashion-grid__see-all {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--blk-text, #111827);
    text-decoration: none;
    border-bottom: 1px solid currentColor;
    padding-bottom: 2px;
    white-space: nowrap;
    transition: gap 0.2s ease, opacity 0.2s ease;
}
.s-fashion-grid__see-all:hover {
    gap: 14px;
    opacity: 0.7;
    color: var(--blk-text, #111827);
    text-decoration: none;
}

/* Grille — 3 colonnes, 2 lignes */
.s-fashion-grid__layout {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto;
    gap: 10px;
}

/* Carte 1 : grand portrait sur 2 lignes */
.s-fashion-grid__card:nth-child(1) { grid-column: 1; grid-row: 1 / 3; }
/* Cartes 2-5 : remplissent les cases */
.s-fashion-grid__card:nth-child(2) { grid-column: 2; grid-row: 1; }
.s-fashion-grid__card:nth-child(3) { grid-column: 3; grid-row: 1; }
.s-fashion-grid__card:nth-child(4) { grid-column: 2; grid-row: 2; }
.s-fashion-grid__card:nth-child(5) { grid-column: 3; grid-row: 2; }

/* Carte générique */
.s-fashion-grid__card {
    position: relative;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    background: #f0f0f0;
    display: block;
}
.s-fashion-grid__card:hover { text-decoration: none; }

/* Ratio d'image : 2/3 pour la grande, 4/5 pour les petites */
.s-fashion-grid__card:nth-child(1) .s-fashion-grid__img-wrap {
    aspect-ratio: unset;
    height: 100%;
    min-height: 480px;
}
.s-fashion-grid__card:not(:nth-child(1)) .s-fashion-grid__img-wrap {
    aspect-ratio: 4/5;
}

.s-fashion-grid__img-wrap {
    position: relative;
    overflow: hidden;
    width: 100%;
}
.s-fashion-grid__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}
.s-fashion-grid__card:hover .s-fashion-grid__img { transform: scale(1.06); }

/* Voile dégradé overlay */
.s-fashion-grid__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.62) 0%, rgba(0,0,0,0.0) 50%);
    opacity: 0.75;
    transition: opacity 0.35s ease;
}
.s-fashion-grid__card:hover .s-fashion-grid__overlay { opacity: 1; }

/* Informations — révélées au survol (hors card 1) */
.s-fashion-grid__info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 18px 20px;
    z-index: 2;
    color: #fff;
    transform: translateY(44px);
    opacity: 0;
    transition: transform 0.42s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.42s ease;
}
.s-fashion-grid__card:hover .s-fashion-grid__info {
    transform: translateY(0);
    opacity: 1;
}
/* Grande carte : toujours visible */
.s-fashion-grid__card:nth-child(1) .s-fashion-grid__info {
    opacity: 1;
    transform: translateY(0);
    padding: 28px 28px;
}

.s-fashion-grid__cat {
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    opacity: 0.7;
    margin-bottom: 4px;
}
.s-fashion-grid__name {
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.25;
}
.s-fashion-grid__price {
    font-size: 0.88rem;
    font-weight: 700;
    margin-top: 4px;
    opacity: 0.9;
}
.s-fashion-grid__price small {
    font-size: 0.72em;
    font-weight: 400;
    opacity: 0.75;
}

/* Pilule "Voir le produit" */
.s-fashion-grid__quickview {
    position: absolute;
    bottom: 18px;
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    background: rgba(255, 255, 255, 0.93);
    color: #111;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 8px 18px;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
    white-space: nowrap;
    z-index: 5;
    pointer-events: none;
}
.s-fashion-grid__card:hover .s-fashion-grid__quickview {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}
/* Masqué sur la grande carte (pas de pillule là) */
.s-fashion-grid__card:nth-child(1) .s-fashion-grid__quickview { display: none; }

/* Squelette */
.s-fashion-grid__skeleton {
    background: linear-gradient(90deg, #e8e8e8 25%, #f2f2f2 50%, #e8e8e8 75%);
    background-size: 800px 100%;
    animation: fashionShimmer 1.5s infinite linear;
    aspect-ratio: 4/5;
}
.s-fashion-grid__card:nth-child(1) .s-fashion-grid__skeleton {
    aspect-ratio: unset;
    height: 100%;
    min-height: 480px;
}

/* Mobile — 2 colonnes, card 1 en tête */
@media (max-width: 767px) {
    .s-fashion-grid__layout {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
    }
    .s-fashion-grid__card:nth-child(1) { grid-column: 1 / -1; grid-row: 1; }
    .s-fashion-grid__card:nth-child(2) { grid-column: 1; grid-row: 2; }
    .s-fashion-grid__card:nth-child(3) { grid-column: 2; grid-row: 2; }
    .s-fashion-grid__card:nth-child(4) { grid-column: 1; grid-row: 3; }
    .s-fashion-grid__card:nth-child(5) { grid-column: 2; grid-row: 3; }
    .s-fashion-grid__card:nth-child(1) .s-fashion-grid__img-wrap { min-height: 300px; }
    .s-fashion-grid__card:nth-child(1) .s-fashion-grid__skeleton { min-height: 300px; }
    /* Sur mobile, toujours afficher les infos */
    .s-fashion-grid__card .s-fashion-grid__info { transform: translateY(0); opacity: 1; }
}
@media (max-width: 575px) {
    .s-fashion-grid__header { flex-direction: column; align-items: flex-start; gap: 12px; }
}


/* ══════════════════════════════════════════════════════════════
   3. s-fashion-story — Story Saisonnière
══════════════════════════════════════════════════════════════ */

.s-fashion-story {
    position: relative;
    overflow: hidden;
    user-select: none;
}

.s-fashion-story__viewport {
    display: flex;
    overflow: hidden;
    width: 100%;
}

.s-fashion-story__chapter {
    flex: 0 0 100%;
    position: relative;
    min-height: 82dvh;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
}

/* Image d'arrière-plan */
.s-fashion-story__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
    display: block;
}
.s-fashion-story__chapter.is-active .s-fashion-story__bg {
    transform: scale(1.03);
}

/* Voile bas */
.s-fashion-story__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.75) 0%,
        rgba(0, 0, 0, 0.15) 50%,
        rgba(0, 0, 0, 0.0) 100%
    );
}

/* Contenu texte */
.s-fashion-story__content {
    position: relative;
    z-index: 2;
    padding: 64px 88px;
    color: #fff;
    max-width: 640px;
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.65s ease 0.18s, transform 0.65s ease 0.18s;
}
.s-fashion-story__chapter.is-active .s-fashion-story__content {
    opacity: 1;
    transform: translateY(0);
}

.s-fashion-story__index {
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    opacity: 0.55;
    margin: 0 0 18px;
    display: block;
}
.s-fashion-story__heading {
    font-size: clamp(2rem, 4vw, 3.4rem);
    font-weight: 200;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin: 0 0 18px;
}
.s-fashion-story__desc {
    font-size: 0.95rem;
    line-height: 1.75;
    opacity: 0.82;
    max-width: 460px;
    margin: 0 0 32px;
}
.s-fashion-story__link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    text-decoration: none;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.17em;
    text-transform: uppercase;
    border-bottom: 1px solid rgba(255, 255, 255, 0.45);
    padding-bottom: 3px;
    transition: gap 0.22s ease, border-color 0.22s ease;
}
.s-fashion-story__link:hover {
    gap: 16px;
    border-bottom-color: #fff;
    color: #fff;
    text-decoration: none;
}

/* Flèches de navigation */
.s-fashion-story__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 48px;
    height: 48px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    background: rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.22s ease, border-color 0.22s ease;
    padding: 0;
}
.s-fashion-story__nav:hover {
    background: rgba(0, 0, 0, 0.6);
    border-color: rgba(255, 255, 255, 0.8);
}
.s-fashion-story__nav--prev { left: 24px; }
.s-fashion-story__nav--next { right: 24px; }
.s-fashion-story__nav.hidden { opacity: 0; pointer-events: none; }

/* Points de pagination */
.s-fashion-story__dots {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 9px;
    z-index: 10;
}
.s-fashion-story__dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: background 0.25s ease, transform 0.25s ease;
    border: none;
    padding: 0;
    flex-shrink: 0;
}
.s-fashion-story__dot.active {
    background: #fff;
    transform: scale(1.4);
}

/* Barre de progression */
.s-fashion-story__progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 2px;
    background: rgba(255, 255, 255, 0.85);
    transition: width 0.55s ease;
    z-index: 10;
    width: 0;
}

@media (max-width: 767px) {
    .s-fashion-story__content { padding: 40px 28px; }
    .s-fashion-story__nav     { display: none; }
    .s-fashion-story__chapter { min-height: 65dvh; }
}


/* ══════════════════════════════════════════════════════════════
   4. s-fashion-trust — Barre Promesses Service
══════════════════════════════════════════════════════════════ */

.s-fashion-trust {
    padding: 36px 0;
    border-top: 1px solid var(--blk-border, #e5e5e5);
    border-bottom: 1px solid var(--blk-border, #e5e5e5);
}

.s-fashion-trust__row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.s-fashion-trust__item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 8px 32px;
    border-right: 1px solid var(--blk-border, #e5e5e5);
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.52s ease, transform 0.52s ease;
}
.s-fashion-trust__item:last-child { border-right: none; }
.s-fashion-trust__item.in-view   { opacity: 1; transform: translateY(0); }

/* Stagger de 100ms par item */
.s-fashion-trust__item:nth-child(2) { transition-delay: 0.1s; }
.s-fashion-trust__item:nth-child(3) { transition-delay: 0.2s; }
.s-fashion-trust__item:nth-child(4) { transition-delay: 0.3s; }

/* Icône SVG */
.s-fashion-trust__icon {
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    color: var(--blk-primary, #4f46e5);
}
.s-fashion-trust__icon svg {
    width: 100%;
    height: 100%;
}

.s-fashion-trust__text {
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.s-fashion-trust__title {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--blk-text, #111827);
    letter-spacing: -0.01em;
    line-height: 1.2;
}
.s-fashion-trust__sub {
    font-size: 0.72rem;
    color: var(--blk-text-muted, #6b7280);
    line-height: 1.4;
}

/* Mobile — 2 colonnes */
@media (max-width: 767px) {
    .s-fashion-trust__row { grid-template-columns: 1fr 1fr; }
    .s-fashion-trust__item {
        padding: 18px 22px;
        border-bottom: 1px solid var(--blk-border, #e5e5e5);
    }
    .s-fashion-trust__item:nth-child(2n) { border-right: none; }
    .s-fashion-trust__item:nth-child(3),
    .s-fashion-trust__item:nth-child(4) { border-bottom: none; }
}
@media (max-width: 400px) {
    .s-fashion-trust__row { grid-template-columns: 1fr; }
    .s-fashion-trust__item { border-right: none; }
    .s-fashion-trust__item:nth-child(4) { border-bottom: none; }
}


/* ══════════════════════════════════════════════════════════════
   5. s-fashion-newseason — Annonce Nouvelle Saison
══════════════════════════════════════════════════════════════ */

.s-fashion-newseason {
    background: #111;
    color: #fff;
    padding: 100px 0 108px;
    overflow: hidden;
    position: relative;
}

/* Texte décoratif géant en fond */
.s-fashion-newseason__bg-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: clamp(7rem, 20vw, 18rem);
    font-weight: 900;
    letter-spacing: -0.06em;
    color: rgba(255, 255, 255, 0.025);
    white-space: nowrap;
    pointer-events: none;
    user-select: none;
    line-height: 1;
}

/* Contenu principal */
.s-fashion-newseason__inner {
    position: relative;
    z-index: 2;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 44px;
}

.s-fashion-newseason__eyebrow {
    font-size: 0.63rem;
    font-weight: 700;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.45);
}

.s-fashion-newseason__headline {
    font-size: clamp(2.8rem, 7vw, 7rem);
    font-weight: 200;
    line-height: 0.96;
    letter-spacing: -0.04em;
    margin: 0;
    color: #fff;
}

.s-fashion-newseason__desc {
    font-size: 0.95rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.5);
    max-width: 500px;
}

/* ── Compte à rebours flip-board ── */
.s-fashion-newseason__countdown {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.s-fashion-newseason__unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.s-fashion-newseason__flip {
    position: relative;
    width: 76px;
    height: 88px;
    perspective: 500px;
}

.s-fashion-newseason__flip-num {
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.7rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.03em;
    color: #fff;
    border-radius: 3px;
    position: relative;
    overflow: hidden;
}

/* Ligne médiane effet tableau départ */
.s-fashion-newseason__flip-num::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: 1px;
    background: rgba(0, 0, 0, 0.35);
    pointer-events: none;
}

/* Animation de flip */
@keyframes nsFlip {
    0%   { transform: rotateX(0deg);   opacity: 1; }
    45%  { transform: rotateX(-90deg); opacity: 0.2; }
    55%  { transform: rotateX(90deg);  opacity: 0.2; }
    100% { transform: rotateX(0deg);   opacity: 1; }
}
.s-fashion-newseason__flip-num.is-flipping {
    animation: nsFlip 0.36s ease forwards;
}

.s-fashion-newseason__unit-label {
    font-size: 0.52rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.35);
}

/* Séparateur ":" entre les unités */
.s-fashion-newseason__sep {
    font-size: 2.4rem;
    font-weight: 200;
    color: rgba(255, 255, 255, 0.25);
    line-height: 1;
    padding-top: 16px; /* aligne visuellement avec les chiffres */
}

/* Bouton CTA */
.s-fashion-newseason__cta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    color: #fff;
    padding: 15px 40px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    text-decoration: none;
    transition: background 0.28s ease, border-color 0.28s ease, color 0.28s ease, gap 0.2s ease;
}
.s-fashion-newseason__cta:hover {
    background: #fff;
    color: #111;
    border-color: #fff;
    gap: 20px;
    text-decoration: none;
}

@media (max-width: 575px) {
    .s-fashion-newseason { padding: 72px 0 80px; }
    .s-fashion-newseason__flip  { width: 56px; height: 66px; }
    .s-fashion-newseason__flip-num { font-size: 2rem; }
    .s-fashion-newseason__countdown { gap: 10px; }
    .s-fashion-newseason__sep { font-size: 1.8rem; padding-top: 12px; }
    .s-fashion-newseason__cta { padding: 14px 28px; }
}


/* ══════════════════════════════════════════════════════════════
   10. s-fashion-cats — Cercles Catégories Luxe
══════════════════════════════════════════════════════════════ */

.s-fashion-cats {
    padding: 88px 0 96px;
    background: var(--blk-bg, #faf9f7);
}

.s-fashion-cats__header {
    text-align: center;
    margin-bottom: 64px;
}

.s-fashion-cats__eyebrow {
    display: block;
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 0.36em;
    text-transform: uppercase;
    color: #aaa;
    margin-bottom: 12px;
}

.s-fashion-cats__title {
    font-size: clamp(1.5rem, 2.4vw, 2.6rem);
    font-weight: 200;
    letter-spacing: -0.03em;
    color: var(--blk-text, #1a1a1a);
    margin: 0;
    line-height: 1.15;
}

.s-fashion-cats__row {
    display: flex;
    align-items: flex-start;
    gap: 44px;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: visible;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 8px;   /* room for the ring overflow */
}
.s-fashion-cats__row::-webkit-scrollbar { display: none; }

.s-fashion-cats__item { scroll-snap-align: start; flex-shrink: 0; }

.s-fashion-cats__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}
.s-fashion-cats__item:hover { text-decoration: none; }

/* Outer wrapper — holds circle + ring as siblings so ring can overflow */
.s-fashion-cats__wrap {
    position: relative;
    width: 200px;
    height: 200px;
    flex-shrink: 0;
}

/* Image container — clips the zoom */
.s-fashion-cats__circle {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    overflow: hidden;
}

.s-fashion-cats__img {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: top center;
    background-repeat: no-repeat;
    transition: transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
}

.s-fashion-cats__item:hover .s-fashion-cats__img {
    transform: scale(1.09);
}

/* Luxury expanding ring — sibling of circle so it can grow outward */
.s-fashion-cats__ring {
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    border: 1px solid transparent;
    pointer-events: none;
    transition:
        border-color 0.45s ease,
        inset 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.s-fashion-cats__item:hover .s-fashion-cats__ring {
    border-color: rgba(0, 0, 0, 0.2);
    inset: -16px;
}

/* Category name */
.s-fashion-cats__name {
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.26em;
    text-transform: uppercase;
    color: var(--blk-text, #1a1a1a);
    text-align: center;
    transition: color 0.25s ease;
}

/* "Explorer" — slides up on hover */
.s-fashion-cats__cta {
    font-size: 0.56rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #999;
    border-bottom: 1px solid currentColor;
    padding-bottom: 2px;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.38s ease 0.04s, transform 0.38s ease 0.04s;
}

.s-fashion-cats__item:hover .s-fashion-cats__cta {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 991px) {
    .s-fashion-cats__wrap { width: 156px; height: 156px; }
    .s-fashion-cats__row  { gap: 30px; }
}

@media (max-width: 767px) {
    .s-fashion-cats { padding: 64px 0 72px; }
    .s-fashion-cats__wrap { width: 118px; height: 118px; }
    .s-fashion-cats__row  { gap: 18px; }
    .s-fashion-cats__header { margin-bottom: 44px; }
}

@media (max-width: 480px) {
    .s-fashion-cats__wrap { width: 88px; height: 88px; }
    .s-fashion-cats__row  { gap: 12px; }
    .s-fashion-cats__name { font-size: 0.58rem; letter-spacing: 0.18em; }
    .s-fashion-cats__cta  { display: none; }
}

/* Skeleton state while loading from Odoo */
.s-fashion-cats__sk {
    background: linear-gradient(90deg, #efefef 25%, #f8f8f8 50%, #efefef 75%);
    background-size: 800px 100%;
    animation: fashionShimmer 1.5s infinite linear;
    border-radius: 50%;
    position: absolute;
    inset: 0;
}
.s-fashion-cats__sk-text {
    display: block;
    width: 60px;
    height: 10px;
    background: #efefef;
    border-radius: 4px;
}


/* ══════════════════════════════════════════════════════════════
   11. s-fashion-filter — Vitrine Produits par Catégorie
══════════════════════════════════════════════════════════════ */

.s-fashion-filter {
    padding: 80px 0 96px;
    background: var(--blk-bg, #fff);
}

/* Header row — title left, tabs right */
.s-fashion-filter__top {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 32px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.s-fashion-filter__heading {
    font-size: clamp(1.5rem, 2.4vw, 2.6rem);
    font-weight: 200;
    letter-spacing: -0.03em;
    color: var(--blk-text, #1a1a1a);
    margin: 0;
    line-height: 1.1;
    flex-shrink: 0;
}

/* Tab nav wrapper — holds tabs + sliding indicator */
.s-fashion-filter__nav {
    position: relative;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.s-fashion-filter__tabs {
    display: flex;
    gap: 0;
    overflow-x: auto;
    scrollbar-width: none;
}
.s-fashion-filter__tabs::-webkit-scrollbar { display: none; }

.s-fashion-filter__tab {
    background: none;
    border: none;
    padding: 12px 24px;
    font-size: 0.63rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #bbb;
    cursor: pointer;
    white-space: nowrap;
    transition: color 0.28s ease;
    position: relative;
}

.s-fashion-filter__tab.is-active,
.s-fashion-filter__tab:hover {
    color: var(--blk-text, #1a1a1a);
}

/* Sliding 1px underline indicator — positioned by JS */
.s-fashion-filter__indicator {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--blk-text, #1a1a1a);
    transition:
        left 0.45s cubic-bezier(0.16, 1, 0.3, 1),
        width 0.45s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
}

/* Product grid — 4 col, 2px gutter (luxury "tiled" seam) */
.s-fashion-filter__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2px;
    opacity: 1;
    transition: opacity 0.28s ease;
}

.s-fashion-filter__grid.is-loading {
    opacity: 0.3;
    pointer-events: none;
}

/* Product card */
.s-fashion-filter__card {
    display: block;
    text-decoration: none;
    color: inherit;
    overflow: hidden;
    background: var(--blk-bg, #f7f7f7);
}
.s-fashion-filter__card:hover { text-decoration: none; }

.s-fashion-filter__img-wrap {
    aspect-ratio: 3 / 4;
    overflow: hidden;
    position: relative;
    background: #efefef;
}

.s-fashion-filter__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
    transition: transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
}

.s-fashion-filter__card:hover .s-fashion-filter__img {
    transform: scale(1.06);
}

.s-fashion-filter__info {
    padding: 14px 16px 18px;
    background: #fff;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.s-fashion-filter__cat {
    font-size: 0.55rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #bbb;
}

.s-fashion-filter__name {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--blk-text, #1a1a1a);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.s-fashion-filter__price {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--blk-text, #1a1a1a);
}
.s-fashion-filter__price small {
    font-size: 0.72em;
    font-weight: 400;
    opacity: 0.6;
}

/* Skeleton card */
.s-fashion-filter__card--sk { pointer-events: none; }

.s-fashion-filter__sk {
    aspect-ratio: 3 / 4;
    background: linear-gradient(90deg, #efefef 25%, #f8f8f8 50%, #efefef 75%);
    background-size: 800px 100%;
    animation: fashionShimmer 1.5s infinite linear;
}

/* Empty state */
.s-fashion-filter__empty {
    grid-column: 1 / -1;
    padding: 64px;
    text-align: center;
    color: #bbb;
    font-size: 0.82rem;
    letter-spacing: 0.08em;
}

@media (max-width: 991px) {
    .s-fashion-filter__grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 767px) {
    .s-fashion-filter { padding: 60px 0 72px; }
    .s-fashion-filter__top { flex-direction: column; align-items: flex-start; gap: 20px; }
    .s-fashion-filter__nav { width: 100%; }
    .s-fashion-filter__grid { grid-template-columns: repeat(2, 1fr); }
    .s-fashion-filter__tab { padding: 10px 16px; font-size: 0.58rem; }
}

@media (max-width: 480px) {
    .s-fashion-filter__info { padding: 10px 12px 14px; }
    .s-fashion-filter__name { font-size: 0.72rem; }
}


/* ══════════════════════════════════════════════════════════════
   UNIFICATION TYPOGRAPHIQUE — Runway · Palette · Outfitter
   Les blocs étendus utilisent les utilitaires blocks-* d'avancy_blocks.
   On les ré-aligne ici sur la typographie légère/éditoriale du module
   Fashion pour que tous les blocs du même site aient un seul langage
   visuel (poids léger, espacement large, CTA en tiret bas).
══════════════════════════════════════════════════════════════ */

/* ── Eyebrow label — remplace la pastille colorée par un texte aéré ── */
.s-blocks-runway .blocks-label,
.s-blocks-palette .blocks-label,
.s-blocks-outfitter .blocks-label {
    background: none;
    color: var(--blk-text-muted, #6b7280);
    padding: 0;
    border-radius: 0;
    font-size: 0.63rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    margin-bottom: 10px;
    display: block;
}

/* ── Heading — poids léger éditorial au lieu du bold commercial ── */
.s-blocks-runway .blocks-heading,
.s-blocks-palette .blocks-heading,
.s-blocks-outfitter .blocks-heading {
    font-size: clamp(1.5rem, 2.4vw, 2.4rem);
    font-weight: 300;
    letter-spacing: -0.03em;
    line-height: 1.1;
    color: var(--blk-text, #111827);
    margin: 0 0 10px;
}

/* ── Accent span — italique éditorial au lieu de la couleur primaire ── */
.s-blocks-runway .blocks-heading span,
.s-blocks-palette .blocks-heading span,
.s-blocks-outfitter .blocks-heading span {
    color: inherit;
    font-style: italic;
}

/* ── Sous-titre ── */
.s-blocks-runway .blocks-subheading,
.s-blocks-palette .blocks-subheading,
.s-blocks-outfitter .blocks-subheading {
    font-size: 0.88rem;
    color: var(--blk-text-muted, #6b7280);
    margin: 0;
    line-height: 1.6;
}

/* ── CTA — lien souligné discret au lieu du bouton arrondi ── */
.s-blocks-runway .blocks-btn-outline,
.s-blocks-palette .blocks-btn-outline,
.s-blocks-outfitter .blocks-btn-outline {
    border: none;
    border-bottom: 1px solid currentColor;
    border-radius: 0;
    padding: 0 0 3px;
    background: none;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--blk-text, #111827);
    gap: 8px;
    transition: gap 0.2s ease, opacity 0.2s ease;
}
.s-blocks-runway .blocks-btn-outline:hover,
.s-blocks-palette .blocks-btn-outline:hover,
.s-blocks-outfitter .blocks-btn-outline:hover {
    background: none;
    color: var(--blk-text, #111827);
    opacity: 0.7;
    gap: 14px;
    text-decoration: none;
}

/* ── Section padding cohérent avec le reste du module Fashion ── */
.s-blocks-runway,
.s-blocks-editorial,
.s-blocks-palette,
.s-blocks-outfitter {
    font-family: inherit;
}
.s-blocks-palette.blocks-section,
.s-blocks-outfitter.blocks-section {
    padding: 72px 0;
}


/* ══════════════════════════════════════════════════════════════
   RUNWAY — En-tête éditorial différencié
   Le seul bloc qui brise la symétrie des autres en-têtes :
   heading oversized, numéro ghost en fond, trait supérieur.
══════════════════════════════════════════════════════════════ */

/* Trait de séparation en haut + espace généreux */
.s-blocks-runway {
    border-top: 1px solid var(--blk-border, #e5e5e5);
}

/* Conteneur de l'en-tête positionné pour le numéro décoratif */
.s-blocks-runway__header {
    position: relative;
    overflow: visible;
}

/* Numéro éditorial fantôme — accent typographique de fond */
.s-blocks-runway__header::before {
    content: '01';
    position: absolute;
    right: -8px;
    top: 50%;
    transform: translateY(-55%);
    font-size: clamp(5rem, 14vw, 11rem);
    font-weight: 800;
    font-style: italic;
    letter-spacing: -0.06em;
    line-height: 1;
    color: var(--blk-border, #e5e5e5);
    pointer-events: none;
    user-select: none;
    z-index: 0;
}

/* Contenu du header au-dessus du numéro */
.s-blocks-runway__header > * {
    position: relative;
    z-index: 1;
}

/* Heading plus imposant que palette / outfitter */
.s-blocks-runway .blocks-heading {
    font-size: clamp(2.4rem, 5vw, 4.5rem);
    font-weight: 200;
    letter-spacing: -0.05em;
    line-height: 1;
    margin: 0 0 12px;
}

/* Span : italique plus affirmé */
.s-blocks-runway .blocks-heading span {
    font-style: italic;
    font-weight: 100;
    opacity: 0.55;
}

/* Label avec tiret éditorial en préfixe */
.s-blocks-runway .blocks-label::before {
    content: '— ';
    opacity: 0.45;
    font-style: normal;
    letter-spacing: 0;
}

/* Sous-titre légèrement plus long et aéré */
.s-blocks-runway .blocks-subheading {
    font-size: 0.82rem;
    max-width: 340px;
    line-height: 1.7;
    letter-spacing: 0.01em;
}

/* Mobile — cache le numéro fantôme pour éviter le débordement */
@media (max-width: 575px) {
    .s-blocks-runway__header::before { display: none; }
    .s-blocks-runway .blocks-heading {
        font-size: clamp(2rem, 10vw, 3rem);
    }
}


/* ══════════════════════════════════════════════════════════════
   RUNWAY — Mise en page 5 cartes uniformes + expansion au survol
   Desktop : flex-fill sans défilement, toutes les cartes identiques.
   Mobile  : défilement horizontal conservé.
══════════════════════════════════════════════════════════════ */

@media (min-width: 768px) {
    /* Désactive le défilement — toutes les cartes tiennent en largeur */
    .s-blocks-runway .s-blocks-runway__track {
        overflow: visible;
        cursor: default;
        padding-bottom: 40px;
        scroll-snap-type: none;
        gap: 5px;
        align-items: stretch;
    }
    .s-blocks-runway .s-blocks-runway__track.is-dragging { cursor: default; }

    /* Flex égal + hauteur uniforme pour toutes les cartes */
    .s-blocks-runway .s-blocks-runway__card,
    .s-blocks-runway .s-blocks-runway__skeleton {
        flex: 1 1 0;
        min-width: 0;
        width: auto;
    }

    /* Même ratio portrait pour toutes les cartes */
    .s-blocks-runway .s-blocks-runway__card .s-blocks-runway__img-wrap,
    .s-blocks-runway .s-blocks-runway__skeleton {
        aspect-ratio: 2 / 3;
    }

    /* Transition fluide sur flex (+ keep opacity/transform d'origine) */
    .s-blocks-runway .s-blocks-runway__card {
        transition: flex 0.52s cubic-bezier(0.16, 1, 0.3, 1),
                    opacity 0.55s ease,
                    transform 0.55s ease;
    }

    /* Sur hover : supprime le délai de cascade pour ne pas ralentir l'expansion */
    .s-blocks-runway .s-blocks-runway__card:hover,
    .s-blocks-runway .s-blocks-runway__track:has(.s-blocks-runway__card:hover) .s-blocks-runway__card {
        transition-delay: 0s !important;
    }

    /* Expansion au survol — carte active grandit, les autres se serrent */
    .s-blocks-runway .s-blocks-runway__track:has(.s-blocks-runway__card:hover)
    .s-blocks-runway__card                        { flex: 0.72 1 0; }
    .s-blocks-runway .s-blocks-runway__card:hover { flex: 1.60 1 0; }
}

/* =============================================================
   FASHION BLOCKS — Runway · Editorial · Palette · Outfitter
   All colors derived from --blk-* tokens. No hardcoded palette.
   ============================================================= */

/* ── Portrait ratio token ────────────────────────────────────── */
:root {
  --blk-runway-w: 240px;
}


/* =============================================================
   Runway — Fashion Portrait Strip  (s_blocks_runway)
   Tall 2:3 cards, drag-scroll, hover image swap, stagger reveal
   ============================================================= */

.s-blocks-runway {
  padding: 72px 0 0;
}

.s-blocks-runway__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

/* Full-width strip — overflow handled by the track itself */
.s-blocks-runway__strip {
  position: relative;
  width: 100%;
}

.s-blocks-runway__track {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 0 max(24px, calc((100vw - 1320px) / 2 + 12px)) 56px;
  cursor: grab;
  user-select: none;
}
.s-blocks-runway__track::-webkit-scrollbar { display: none; }
.s-blocks-runway__track.is-dragging { cursor: grabbing; }

/* Portrait card — no border, no radius. Editorial clarity. */
.s-blocks-runway__card {
  flex: 0 0 var(--blk-runway-w);
  scroll-snap-align: start;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: 14px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.s-blocks-runway__card.in-view { opacity: 1; transform: translateY(0); }
.s-blocks-runway__card:hover { text-decoration: none; color: inherit; }

/* 2:3 portrait image wrap */
.s-blocks-runway__img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  background: color-mix(in srgb, var(--blk-border) 50%, white);
}

.s-blocks-runway__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.45s ease, transform 0.45s ease;
  backface-visibility: hidden;
}
.s-blocks-runway__img--primary { opacity: 1; transform: scale(1); z-index: 1; }
.s-blocks-runway__img--hover   { opacity: 0; transform: scale(1.05); z-index: 2; }

.s-blocks-runway__card--has-hover:hover .s-blocks-runway__img--primary {
  opacity: 0; transform: scale(1.05);
}
.s-blocks-runway__card--has-hover:hover .s-blocks-runway__img--hover {
  opacity: 1; transform: scale(1);
}

/* "NEW" label — top-left, sharp corners, no radius */
.s-blocks-runway__tag {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 3;
  background: var(--blk-text);
  color: #fff;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 4px 10px;
  pointer-events: none;
}

/* Wishlist ghost — fades in on hover */
.s-blocks-runway__wish {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 3;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.88);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  color: var(--blk-text);
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 0.22s, transform 0.22s;
  pointer-events: none;
}
.s-blocks-runway__card:hover .s-blocks-runway__wish {
  opacity: 1;
  transform: translateY(0);
}

/* Card text */
.s-blocks-runway__info { padding: 0 2px; }

.s-blocks-runway__cat {
  font-size: 0.63rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blk-text-muted);
  margin-bottom: 3px;
}

.s-blocks-runway__name {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--blk-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.s-blocks-runway__price {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--blk-text);
  margin-top: 4px;
}
.s-blocks-runway__price small { font-size: 0.72em; font-weight: 600; color: var(--blk-text-muted); }

/* Skeleton card — 2:3 shimmer */
.s-blocks-runway__skeleton {
  flex: 0 0 var(--blk-runway-w);
  aspect-ratio: 2 / 3;
  background: linear-gradient(
    90deg,
    var(--blk-border) 25%,
    color-mix(in srgb, var(--blk-border) 60%, white) 50%,
    var(--blk-border) 75%
  );
  background-size: 800px 100%;
  animation: blkShimmer 1.4s infinite linear;
}

@media (min-width: 1200px) { :root { --blk-runway-w: 260px; } }
@media (max-width: 991px)  { :root { --blk-runway-w: 200px; } }
@media (max-width: 575px)  {
  :root { --blk-runway-w: 148px; }
  .s-blocks-runway { padding: 48px 0 0; }
}


/* =============================================================
   Editorial CTA  (s_blocks_editorial)
   Asymmetric 2fr / 3fr grid. Light 300-weight headline.
   Signature: the accent tag slides in from off-screen left
   on scroll reveal — unmistakable motion anchor.
   ============================================================= */

.s-blocks-editorial { overflow: hidden; }

.s-blocks-editorial__layout {
  display: grid;
  grid-template-columns: 2fr 3fr;
  min-height: 580px;
}

/* ── Text panel ── */
.s-blocks-editorial__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px clamp(24px, 5vw, 72px);
  background: var(--blk-surface);
}

.s-blocks-editorial__season {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--blk-text-muted);
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.s-blocks-editorial__season::after {
  content: '';
  display: block;
  height: 1px;
  width: 36px;
  background: currentColor;
  flex-shrink: 0;
}

.s-blocks-editorial__headline {
  font-size: clamp(2.2rem, 3.8vw, 3.4rem);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: var(--blk-text);
  margin: 0 0 28px;
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.s-blocks-editorial__headline.in-view { opacity: 1; transform: translateY(0); }

.s-blocks-editorial__body {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--blk-text-muted);
  max-width: 360px;
  margin: 0 0 40px;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease 0.14s, transform 0.7s ease 0.14s;
}
.s-blocks-editorial__body.in-view { opacity: 1; transform: translateY(0); }

.s-blocks-editorial__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blk-text);
  text-decoration: none;
  border-bottom: 1.5px solid var(--blk-text);
  padding-bottom: 5px;
  width: max-content;
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity   0.7s ease 0.28s,
    transform 0.7s ease 0.28s,
    gap        0.22s,
    color      0.22s,
    border-color 0.22s;
}
.s-blocks-editorial__cta.in-view { opacity: 1; transform: translateY(0); }
.s-blocks-editorial__cta:hover {
  color: var(--blk-primary);
  border-color: var(--blk-primary);
  gap: 18px;
  text-decoration: none;
}

/* ── Image panel ── */
.s-blocks-editorial__image {
  position: relative;
  overflow: hidden;
}
.s-blocks-editorial__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.04);
  transition: transform 8s ease;
}
.s-blocks-editorial__image.in-view .s-blocks-editorial__img { transform: scale(1); }

/* ── Floating accent tag — the signature element ── */
/* Slides in horizontally from off-screen left on scroll reveal */
.s-blocks-editorial__accent {
  position: absolute;
  bottom: 40px;
  left: 0;
  background: var(--blk-surface);
  padding: 14px 28px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blk-text);
  box-shadow: 4px 4px 20px rgba(0, 0, 0, 0.10);
  z-index: 2;
  white-space: nowrap;
  transform: translateX(-105%);
  transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1) 0.45s;
}
.s-blocks-editorial__image.in-view .s-blocks-editorial__accent {
  transform: translateX(0);
}

/* Mobile */
@media (max-width: 767px) {
  .s-blocks-editorial__layout {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .s-blocks-editorial__image {
    aspect-ratio: 4 / 3;
    order: -1;
  }
  .s-blocks-editorial__text {
    padding: 48px clamp(16px, 5vw, 32px);
  }
  .s-blocks-editorial__accent {
    bottom: 14px;
    font-size: 0.6rem;
    padding: 10px 18px;
  }
}


/* =============================================================
   Color Palette Explorer  (s_blocks_palette)
   Large swatches from Odoo color attribute + portrait product grid.
   Grid re-renders with a soft fade on each swatch click.
   ============================================================= */

.s-blocks-palette__header {
  text-align: center;
  margin-bottom: 44px;
}

/* Swatch row */
.s-blocks-palette__swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin-bottom: 52px;
}

.s-blocks-palette__swatch {
  position: relative;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  cursor: pointer;
  border: 3px solid transparent;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.10);
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
  flex-shrink: 0;
  outline: none;
  appearance: none;
}
.s-blocks-palette__swatch:hover {
  transform: scale(1.18);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.18);
}
.s-blocks-palette__swatch.active {
  border-color: var(--blk-text);
  transform: scale(1.1);
}
.s-blocks-palette__swatch:focus-visible {
  outline: 2px solid var(--blk-primary);
  outline-offset: 3px;
}

.s-blocks-palette__swatch-label {
  position: absolute;
  bottom: -22px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--blk-text-muted);
  opacity: 0;
  transition: opacity 0.2s;
  pointer-events: none;
}
.s-blocks-palette__swatch:hover .s-blocks-palette__swatch-label,
.s-blocks-palette__swatch.active .s-blocks-palette__swatch-label { opacity: 1; }

/* Skeleton swatches */
.s-blocks-palette__swatch-sk {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  flex-shrink: 0;
  background: linear-gradient(
    90deg,
    var(--blk-border) 25%,
    color-mix(in srgb, var(--blk-border) 60%, white) 50%,
    var(--blk-border) 75%
  );
  background-size: 300px 100%;
  animation: blkShimmer 1.4s infinite linear;
}

/* Product grid */
.s-blocks-palette__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--blk-gap);
  transition: opacity 0.25s ease;
  min-height: 120px;
}
.s-blocks-palette__grid.is-loading {
  opacity: 0.4;
  pointer-events: none;
}

/* Palette cards — portrait, no border, editorial */
.s-blocks-palette__card {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: 10px;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.s-blocks-palette__card.in-view { opacity: 1; transform: translateY(0); }
.s-blocks-palette__card:hover { text-decoration: none; color: inherit; }

.s-blocks-palette__card-img-wrap {
  aspect-ratio: 2 / 3;
  overflow: hidden;
  background: color-mix(in srgb, var(--blk-border) 50%, white);
  position: relative;
}
.s-blocks-palette__card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.s-blocks-palette__card:hover .s-blocks-palette__card-img { transform: scale(1.04); }

.s-blocks-palette__card-info { display: flex; flex-direction: column; gap: 3px; }

.s-blocks-palette__card-cat {
  font-size: 0.63rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blk-text-muted);
}
.s-blocks-palette__card-name {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--blk-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.s-blocks-palette__card-price {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--blk-text);
}
.s-blocks-palette__card-price small { font-size: 0.72em; color: var(--blk-text-muted); }

/* Empty state */
.s-blocks-palette__empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 40px 20px;
  color: var(--blk-text-muted);
  font-size: 0.9rem;
}

@media (max-width: 991px) { .s-blocks-palette__grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 575px) {
  .s-blocks-palette__grid { grid-template-columns: repeat(2, 1fr); }
  .s-blocks-palette__swatch,
  .s-blocks-palette__swatch-sk { width: 40px; height: 40px; }
}


/* =============================================================
   Outfit Showcase  (s_blocks_outfitter)
   50/50 grid: editorial hero image left, product rows right.
   Rows stagger in from left on scroll. Row hover has background
   fill + arrow nudge.
   ============================================================= */

.s-blocks-outfitter__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

/* Hero image */
.s-blocks-outfitter__hero {
  position: relative;
  overflow: hidden;
}
.s-blocks-outfitter__hero-img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  display: block;
  transition: transform 0.65s ease;
}
.s-blocks-outfitter__hero:hover .s-blocks-outfitter__hero-img { transform: scale(1.025); }

.s-blocks-outfitter__hero-label {
  position: absolute;
  bottom: 24px;
  left: 0;
  padding-left: 24px;
}

/* Products side */
.s-blocks-outfitter__products {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding-top: 12px;
}

.s-blocks-outfitter__header {
  border-bottom: 1px solid var(--blk-border);
  padding-bottom: 24px;
}

.s-blocks-outfitter__list { display: flex; flex-direction: column; }

/* Individual product row */
.s-blocks-outfitter__row {
  display: grid;
  grid-template-columns: 76px 1fr 18px;
  gap: 16px;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--blk-border);
  text-decoration: none;
  color: inherit;
  transition: background 0.15s, padding-left 0.15s, padding-right 0.15s, border-radius 0.15s, margin 0.15s;
}
.s-blocks-outfitter__row:first-child { border-top: 1px solid var(--blk-border); }
.s-blocks-outfitter__row:hover {
  text-decoration: none;
  color: inherit;
  background: var(--blk-primary-light);
  padding-left: 10px;
  padding-right: 10px;
  margin-left: -10px;
  margin-right: -10px;
  border-radius: var(--blk-radius-sm);
  border-bottom-color: transparent;
}

.s-blocks-outfitter__row-img {
  width: 76px;
  height: 96px;
  overflow: hidden;
  flex-shrink: 0;
}
.s-blocks-outfitter__row-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.s-blocks-outfitter__row-body {
  display: flex;
  flex-direction: column;
  gap: 3px;
  overflow: hidden;
  min-width: 0;
}
.s-blocks-outfitter__row-cat {
  font-size: 0.63rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blk-primary);
}
.s-blocks-outfitter__row-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--blk-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.s-blocks-outfitter__row-price {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--blk-text);
}
.s-blocks-outfitter__row-price small { font-size: 0.72em; color: var(--blk-text-muted); }

.s-blocks-outfitter__row-arrow {
  font-size: 0.62rem;
  color: var(--blk-text-muted);
  justify-self: end;
  transition: transform 0.2s;
}
.s-blocks-outfitter__row:hover .s-blocks-outfitter__row-arrow { transform: translateX(3px); }

/* Skeleton rows — pseudo-element shimmer pattern */
.s-blocks-outfitter__row-sk {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--blk-border);
}
.s-blocks-outfitter__row-sk:first-child { border-top: 1px solid var(--blk-border); }
.s-blocks-outfitter__row-sk::before {
  content: '';
  width: 76px;
  height: 96px;
  background: linear-gradient(
    90deg,
    var(--blk-border) 25%,
    color-mix(in srgb, var(--blk-border) 60%, white) 50%,
    var(--blk-border) 75%
  );
  background-size: 400px 100%;
  animation: blkShimmer 1.4s infinite linear;
}
.s-blocks-outfitter__row-sk::after {
  content: '';
  height: 60px;
  align-self: start;
  background: linear-gradient(
    90deg,
    var(--blk-border) 25%,
    color-mix(in srgb, var(--blk-border) 60%, white) 50%,
    var(--blk-border) 75%
  );
  background-size: 400px 100%;
  animation: blkShimmer 1.4s infinite linear;
  border-radius: 4px;
}

.s-blocks-outfitter__footer { padding-top: 4px; }

@media (max-width: 991px) {
  .s-blocks-outfitter__layout { grid-template-columns: 1fr; gap: 36px; }
  .s-blocks-outfitter__hero-img { aspect-ratio: 4 / 3; }
}
