/* ============================================================
   SCHEMATIQUEMENT — Global Styles
   Pixel-perfect implementation — uses official vertical logo image
   ============================================================ */

/* -------- TOKENS -------- */
:root {
    --color-black: #000000;
    --color-white: #FFFFFF;
    --color-gray-light: #999999;
    --color-gray-mid: #5a5a5a;
    --color-off-white: #C6C6C6;

    --font-sans: "Instrument Sans", system-ui, -apple-system, sans-serif;
    /* Brand spec: bubble text on Contact + About uses "Little Kids Handwriting".
       That font file isn't provided yet — Patrick Hand loads now as a close
       hand-printed fallback so the live text renders until the real font is added. */
    --font-hand: "Little Kids Handwriting", "Patrick Hand", "Caveat", cursive;

    /* Brand spec : 100 character spacing across all-caps */
    --tracking-100: 0.1em;
}

/* -------- RESET -------- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html,
body {
    min-height: 100%;
    width: 100%;
}

/* Single-screen pages: lock scrolling */
body.page-landing,
body.page-menu {
    height: 100%;
    overflow: hidden;
}

body {
    font-family: var(--font-sans);
    font-weight: 400;
    color: var(--color-white);
    background: var(--color-black);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
}

/* ============================================================
   LANDING PAGE
   ============================================================ */
.landing {
    display: grid;
    grid-template-columns: 30% 70%;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
}

/* ---------- LEFT PANEL ---------- */
.landing__left {
    position: relative;
    background: var(--color-black);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4.5vh; /* breathing space between logo and MENU */
    padding: 4vh 0;
}

.landing__logo-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 60vh;
    cursor: pointer;
    /* Subtle breathing on the brand mark */
    animation: breath 4.2s ease-in-out infinite;
}

.landing__logo-img {
    height: 100%;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    user-select: none;
    -webkit-user-drag: none;
}

@keyframes breath {
    0%, 100% { opacity: 1; }
    50%      { opacity: 0.95; }
}

/* MENU link — placed directly below logo (no absolute positioning) */
.landing__menu-link {
    position: relative;
    color: var(--color-white);
    font-family: var(--font-sans);
    font-weight: 500;
    font-size: clamp(1.15rem, 1.6vh + 0.55rem, 1.5rem);
    letter-spacing: var(--tracking-100);
    text-transform: uppercase;

    padding: 0.3em 0.4em;
}

.landing__menu-link::after {
    content: "";
    position: absolute;
    left: 0.2em;
    right: 0.2em;
    bottom: 0.15em;
    height: 1px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.25s ease;
}

.landing__menu-link:hover::after {
    transform: scaleX(1);
}

.landing__menu-link:active {
    opacity: 0.6;
    transition: opacity 0.2s ease;
}

/* ---------- RIGHT PANEL ---------- */
.landing__right {
    position: relative;
    overflow: hidden;
    background: #E8E2D6; /* warm off-white wall tone */
}

.landing__hero {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

/* ============================================================
   MOBILE & TABLET  ( ≤ 1024 px )
   Full black screen, centered vertical logo, MENU at bottom
   ============================================================ */
@media (max-width: 1024px) {
    .landing {
        grid-template-columns: 1fr;
    }

    .landing__right {
        display: none;
    }

    .landing__left {
        width: 100vw;
        height: 100vh;
        height: 100dvh;
        justify-content: center;
        gap: 5vh;
        padding: 4vh 0;
    }

    .landing__logo-link {
        height: 55vh;
        max-height: 620px;
    }

    .landing__logo-img {
        max-width: 45%;
    }

    .landing__menu-link {
        font-size: 1.2rem;
    }
}

/* ============================================================
   MENU PAGE  (page 02)
   Full-black canvas — brand top-left, centered nav, EN bottom-right
   ============================================================ */
.page-menu {
    overflow: hidden;
}

.menu {
    position: relative;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    background: var(--color-black);
}

/* Brand mark (top-left) — clicking returns to landing */
.menu__brand {
    position: absolute;
    top: 5.5vh;
    left: 5vw;
    display: block;
    z-index: 2;
    transition: opacity 0.2s ease;
}

.menu__brand:hover { opacity: 0.85; }
.menu__brand:active { opacity: 0.6; }

.menu__brand-img {
    width: clamp(220px, 22vw, 380px);
    height: auto;
    user-select: none;
    -webkit-user-drag: none;
}

/* Primary navigation (vertically + horizontally centered) */
.menu__nav {
    position: absolute;
    inset: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: clamp(2.5rem, 6vw, 6rem);
    padding: 0 5vw;
}

.menu__nav-link {
    position: relative;
    color: var(--color-white);
    font-family: var(--font-sans);
    font-weight: 400;
    font-size: clamp(1rem, 1.6vh + 0.55rem, 1.45rem);
    letter-spacing: var(--tracking-100);
    text-transform: uppercase;
    padding: 0.4em 0.1em;
    transition: opacity 0.2s ease;
}

/* Hover/active underline animation (0.25s) */
.menu__nav-link::after {
    content: "";
    position: absolute;
    left: 0.1em;
    right: 0.1em;
    bottom: 0.25em;
    height: 1px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.25s ease;
}

.menu__nav-link:hover::after,
.menu__nav-link.is-active::after {
    transform: scaleX(1);
}

.menu__nav-link:active {
    opacity: 0.6;
}

/* Language switcher (bottom-right) */
.menu__lang {
    position: absolute;
    bottom: 5vh;
    right: 5vw;
    color: var(--color-white);
    font-family: var(--font-sans);
    font-weight: 400;
    font-size: clamp(0.85rem, 1.2vh + 0.45rem, 1.1rem);
    letter-spacing: var(--tracking-100);
    text-transform: uppercase;
    padding: 0.4em 0.4em;
    transition: opacity 0.2s ease;
}

.menu__lang:hover { opacity: 0.75; }
.menu__lang:active { opacity: 0.6; }

/* MENU page — tablet + mobile */
@media (max-width: 1024px) {
    .menu__brand {
        top: 4vh;
        left: 6vw;
    }
    .menu__brand-img {
        width: clamp(120px, 30vw, 220px);
    }
    .menu__nav {
        flex-direction: column;
        align-items: flex-end;          /* right-align the links (matches design) */
        justify-content: center;
        gap: clamp(0.85rem, 1.9vh, 1.4rem);
        padding: 0 10vw;
    }
    .menu__nav-link {
        font-size: clamp(1rem, 1.6vh + 0.4rem, 1.15rem);
    }
    /* extra space before the last item (CONTACT), as in the design */
    .menu__nav-link:last-child {
        margin-top: clamp(0.8rem, 1.9vh, 1.6rem);
    }
    .menu__lang {
        bottom: 4vh;
        right: 6vw;
    }
}

/* ============================================================
   SHARED — SITE HEADER (sticky) + SITE FOOTER
   Used on store, product, cart, contact, about, work, account pages
   ============================================================ */
.page-store,
.page-product,
.page-cart,
.page-contact,
.page-about,
.page-work,
.page-account {
    background: var(--color-white);
    color: var(--color-black);
    overflow-x: hidden;
    /* sticky footer: keep the footer pinned to the bottom even on short pages */
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    min-height: 100dvh;
}

/* main content grows to fill the space so the footer sits at the very bottom */
.page-store > .store,
.page-product > .product,
.page-cart > .cart,
.page-contact > .contact,
.page-about > .about,
.page-work > .work,
.page-account > .account {
    flex: 1 0 auto;
}

.site-footer {
    flex-shrink: 0;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 2rem;
    padding: 1.75rem clamp(2rem, 14vw, 15rem);
    background: var(--color-white);
}

.site-header__left,
.site-header__right {
    display: flex;
    align-items: center;
    gap: clamp(2.5rem, 6vw, 7rem);
}

.site-header__right {
    justify-content: flex-end;
}

.site-header__link {
    color: var(--color-black);
    font-family: var(--font-sans);
    font-weight: 400;
    font-size: 0.78rem;
    letter-spacing: var(--tracking-100);
    text-transform: uppercase;
    position: relative;
    padding: 0.3em 0;
    transition: opacity 0.2s ease;
}

.site-header__link::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.25s ease;
}

.site-header__link:hover::after {
    transform: scaleX(1);
}

.site-header__link:active {
    opacity: 0.6;
}

.site-header__brand {
    display: block;
    line-height: 0;
    transition: opacity 0.2s ease;
}

.site-header__brand:hover { opacity: 0.85; }
.site-header__brand:active { opacity: 0.6; }

.site-header__brand-img {
    width: clamp(170px, 15vw, 250px);
    height: auto;
    user-select: none;
    -webkit-user-drag: none;
}

/* Hamburger — only shown on mobile (replaces the text nav) */
.site-header__burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    width: 26px;
    height: 18px;
    cursor: pointer;
}

.site-header__burger span {
    display: block;
    width: 100%;
    height: 1.5px;
    background: var(--color-black);
}

.site-header__cart-count {
    margin-left: 0.15em;
}

/* SITE FOOTER */
.site-footer {
    display: flex;
    flex-direction: column;
    gap: 2.25rem;
    padding: 2.75rem clamp(2rem, 6vw, 7rem) 2rem;
    background: var(--color-white);
    border-top: none;
}

.site-footer__links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.6rem clamp(1.5rem, 4vw, 3.5rem);
}

.site-footer__link {
    color: var(--color-black);
    font-family: var(--font-sans);
    font-weight: 400;
    font-size: 0.78rem;
    letter-spacing: var(--tracking-100);
    text-transform: uppercase;
    padding: 0.3em 0;
    position: relative;
    transition: opacity 0.2s ease;
}

.site-footer__link::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.25s ease;
}

.site-footer__link:hover::after {
    transform: scaleX(1);
}

/* bottom bar: copyright (left) + brand mark (right) */
.site-footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.site-footer__copy {
    margin: 0;
    color: var(--color-gray-light);
    font-family: var(--font-sans);
    font-weight: 400;
    font-size: 0.72rem;
    letter-spacing: var(--tracking-100);
    text-transform: uppercase;
}

.site-footer__brand {
    display: block;
    line-height: 0;
    flex-shrink: 0;
    transition: opacity 0.2s ease;
}

.site-footer__brand:hover { opacity: 0.85; }
.site-footer__brand:active { opacity: 0.6; }

.site-footer__brand-img {
    width: clamp(160px, 14vw, 230px);
    height: auto;
    user-select: none;
    -webkit-user-drag: none;
}

/* ============================================================
   STORE PAGE
   ============================================================ */
.store {
    padding: 3rem clamp(2rem, 6vw, 7rem) 4rem;
    max-width: 1700px;
    margin: 0 auto;
}

.product-grid {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(2rem, 4vw, 4rem) clamp(2rem, 5vw, 5rem);
}

.product-card {
    display: block;
}

.product-card__link {
    display: block;
    color: inherit;
}

.product-card__media {
    position: relative;
    background: transparent;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.product-card__img {
    width: 100%;
    height: auto;
    object-fit: contain;
    transition: opacity 0.3s ease;
}

/* hover swap: reveal the model-worn shot (product image #3) on hover */
.product-card__img--hover {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    opacity: 0;
}
.product-card__link:hover .product-card__img--hover,
.product-card__link:focus-visible .product-card__img--hover { opacity: 1; }
.product-card__link:hover .product-card__img--primary,
.product-card__link:focus-visible .product-card__img--primary { opacity: 0; }

/* name + price wrapper — centered block, price aligned to right of the block */
.product-card__info {
    margin: -4.5rem auto 0;
    display: inline-block;
    text-align: left;
    position: relative;
    z-index: 1;
}

.product-card__link {
    text-align: center;
}

.product-card__name {
    margin: 0 0 0.15rem;
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: var(--tracking-100);
    text-transform: uppercase;
    text-align: center;
}

.product-card__price {
    margin: 0;
    font-family: var(--font-sans);
    font-weight: 400;
    font-size: 0.85rem;
    letter-spacing: var(--tracking-100);
    text-align: right;
    color: var(--color-gray-mid);
}

/* ----- Header + Store responsive ----- */
@media (max-width: 1024px) {
    .site-header {
        grid-template-columns: 1fr auto 1fr;
        padding: 1rem 1.25rem;
        gap: 1rem;
        align-items: center;
    }
    .site-header__left,
    .site-header__right {
        gap: clamp(0.9rem, 2vw, 1.5rem);
    }
    /* Mobile header: hamburger (left) + logo (centre) + cart (right) only.
       Scoped to headers that actually contain a burger so other pages aren't affected. */
    .site-header__burger {
        display: flex;
    }
    .site-header:has(.site-header__burger) .site-header__left .site-header__link,
    .site-header:has(.site-header__burger) .site-header__right .site-header__link:not(.site-header__cart) {
        display: none;
    }
    .site-header__brand-img {
        width: clamp(140px, 36vw, 200px);
    }
    /* wider cards + smaller product labels so names fit on one line (matches design) */
    .store {
        padding: 2rem clamp(1.25rem, 4vw, 2rem) 3rem;
    }
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem 1.25rem;
    }
    .product-card__name {
        font-size: 0.72rem;
        letter-spacing: 0.05em;
    }
    .product-card__price {
        font-size: 0.72rem;
    }
}

@media (max-width: 560px) {
    .site-header {
        padding: 0.9rem 1.1rem;
    }
    .product-card__name {
        font-size: 0.66rem;
        letter-spacing: 0.04em;
    }
    .product-card__price {
        font-size: 0.68rem;
    }
    .site-footer {
        padding: 2rem 1.25rem 1.5rem;
        gap: 1.75rem;
    }
    /* links stack vertically on phones (matches mobile design) */
    .site-footer__links {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.9rem;
    }
    .site-footer__brand-img {
        width: 120px;
    }
}

/* ============================================================
   PRODUCT PAGE
   Two-column: scrollable photo stack (left) + sticky info (right)
   ============================================================ */
.product {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2rem, 5vw, 6rem);
    padding: 3rem clamp(2rem, 6vw, 7rem) 5rem;
    max-width: 1700px;
    margin: 0 auto;
    align-items: center;
}

.product__gallery {
    display: flex;
    align-items: center;
    justify-content: center;
}

.product__photo {
    margin: 0;
    width: 100%;
    max-width: 560px;
}

.product__img {
    width: 100%;
    height: auto;
    max-height: 78vh;
    object-fit: contain;
}

.product__info {
    position: sticky;
    top: 6.5rem;
}

.product__info-inner {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 600px;
}

/* Heading row : name + price */
.product__heading {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
}

.product__name {
    margin: 0;
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: var(--tracking-100);
    text-transform: uppercase;
}

.product__price {
    margin: 0;
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: var(--tracking-100);
}

/* Purchase block */
.product__purchase {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

/* Row: size pills (left) + "Sélectionner taille" boxed button (right) */
.product__size-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.product__sizes {
    display: flex;
    align-items: center;
    gap: clamp(1.75rem, 3.2vw, 3rem);
}

.product__size {
    appearance: none;
    background: transparent;
    border: none;
    color: var(--color-black);
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: var(--tracking-100);
    text-transform: uppercase;
    cursor: pointer;
    padding: 0.15em 0.1em;
    transition: opacity 0.2s ease;
}

.product__size:hover { opacity: 0.55; }

.product__size--current {
    font-weight: 700;
}

.product__cta {
    appearance: none;
    background: transparent;
    border: 1px solid var(--color-gray-light);
    color: var(--color-gray-light);
    font-family: var(--font-sans);
    font-weight: 400;
    font-size: 0.78rem;
    letter-spacing: var(--tracking-100);
    text-transform: uppercase;
    padding: 0.85em 1.2em;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
    flex-shrink: 0;
}

.product__cta:hover {
    border-color: var(--color-black);
    color: var(--color-black);
}

/* Mobile purchase row (size dropdown + add-to-cart) — hidden on desktop */
.product__buy-mobile {
    display: none;
    gap: 0.75rem;
}

.product__size-select {
    flex: 1 1 auto;
    min-width: 0;
    appearance: none;
    -webkit-appearance: none;
    background: transparent;
    border: 1px solid var(--color-gray-light);
    color: var(--color-black);
    font-family: var(--font-sans);
    font-weight: 400;
    font-size: 0.68rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 1.05em 1.9em 1.05em 0.9em;
    cursor: pointer;
    /* chevron */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='8' fill='none' stroke='%23000' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='1,1 7,7 13,1'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1em center;
    background-size: 9px auto;
}

.product__add {
    flex: 1 1 auto;
    appearance: none;
    background: var(--color-black);
    border: 1px solid var(--color-black);
    color: var(--color-white);
    font-family: var(--font-sans);
    font-weight: 500;
    font-size: 0.68rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 1.05em 0.9em;
    cursor: pointer;
    white-space: nowrap;
    transition: opacity 0.2s ease;
}

.product__add:hover { opacity: 0.85; }

/* Description */
.product__description {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    border-top: 1px solid var(--color-gray-light);
    padding-top: 1.4rem;
}

.product__description p {
    margin: 0;
    font-family: var(--font-sans);
    font-weight: 400;
    font-size: 0.78rem;
    letter-spacing: var(--tracking-100);
    text-transform: uppercase;
    line-height: 1.6;
}

/* Accordions */
.product__accordions {
    display: flex;
    flex-direction: column;
}

.product__accordion {
    border-top: 1px solid var(--color-gray-light);
}

.product__accordion:last-child {
    border-bottom: 1px solid var(--color-gray-light);
}

.product__accordion > summary {
    list-style: none;
    cursor: pointer;
    padding: 1.1rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-sans);
    font-weight: 500;
    font-size: 0.8rem;
    letter-spacing: var(--tracking-100);
    text-transform: uppercase;
    transition: opacity 0.2s ease;
}

.product__accordion > summary::-webkit-details-marker { display: none; }
.product__accordion > summary:hover { opacity: 0.7; }

.product__accordion-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 14px;
    height: 8px;
    transition: transform 0.25s ease;
}

.product__accordion-icon svg {
    width: 100%;
    height: 100%;
    display: block;
}

.product__accordion[open] .product__accordion-icon {
    transform: rotate(180deg);
}

.product__accordion-body {
    padding: 0 0 1.2rem;
}

.product__accordion-body p {
    margin: 0;
    font-family: var(--font-sans);
    font-weight: 400;
    font-size: 0.78rem;
    line-height: 1.6;
    letter-spacing: 0.03em;
}

/* Product responsive */
@media (max-width: 1024px) {
    .product {
        grid-template-columns: minmax(0, 1fr);
        gap: 2rem;
    }
    .product__gallery,
    .product__info {
        min-width: 0;
    }
    .product__info {
        position: static;
    }
    .product__info-inner {
        max-width: 100%;
        min-width: 0;
    }
    /* swap the desktop size pills for the mobile dropdown + add-to-cart */
    .product__size-row {
        display: none;
    }
    .product__buy-mobile {
        display: flex;
        min-width: 0;
    }
}

/* ============================================================
   CART PAGE
   Two-column: items list (left) + summary (right)
   ============================================================ */
.cart {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: clamp(2rem, 5vw, 6rem);
    padding: 3rem clamp(2rem, 6vw, 7rem) 5rem;
    max-width: 1700px;
    margin: 0 auto;
    align-items: start;
}

.cart__items {
    display: flex;
    flex-direction: column;
}

.cart-item {
    display: grid;
    grid-template-columns: clamp(120px, 14vw, 180px) 1fr;
    gap: clamp(1.5rem, 3vw, 3rem);
    padding: 2.5rem 0;
    border-bottom: 1px solid var(--color-gray-light);
}

.cart-item:first-child {
    padding-top: 0.5rem;
}

.cart-item:last-child {
    border-bottom: none;
}

.cart-item__media {
    display: block;
    line-height: 0;
}

.cart-item__img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.cart-item__info {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

/* Remove (×) icon — top-right of each item */
.cart-item__remove {
    position: absolute;
    top: 0;
    right: 0;
    width: 16px;
    height: 16px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--color-black);
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.cart-item__remove:hover { opacity: 0.55; }
.cart-item__remove svg { width: 100%; height: 100%; display: block; }

.cart-item__name {
    margin: 0;
    padding-right: 1.6rem;
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: var(--tracking-100);
    text-transform: uppercase;
}

.cart-item__size,
.cart-item__price {
    margin: 0;
    font-family: var(--font-sans);
    font-weight: 400;
    font-size: 0.85rem;
    letter-spacing: var(--tracking-100);
    text-transform: uppercase;
}

.cart-item__qty {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    margin-top: 0.4rem;
}

.cart-item__qty-btn {
    appearance: none;
    background: transparent;
    border: none;
    color: var(--color-black);
    font-family: var(--font-sans);
    font-weight: 400;
    font-size: 1rem;
    cursor: pointer;
    padding: 0.2em 0.4em;
    transition: opacity 0.2s ease;
}

.cart-item__qty-btn:hover { opacity: 0.6; }

.cart-item__qty-value {
    font-family: var(--font-sans);
    font-weight: 400;
    font-size: 0.95rem;
    min-width: 1.2em;
    text-align: center;
}

.cart-item__modifier {
    margin-top: 0.4rem;
    position: relative;
    align-self: flex-start;
}

.cart-item__modifier > summary {
    list-style: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-sans);
    font-weight: 500;
    font-size: 0.78rem;
    letter-spacing: var(--tracking-100);
    text-transform: uppercase;
    padding: 0.3em 0;
    transition: opacity 0.2s ease;
}

.cart-item__modifier > summary::-webkit-details-marker { display: none; }
.cart-item__modifier > summary:hover { opacity: 0.7; }

.cart-item__chevron {
    display: inline-flex;
    align-items: center;
    width: 12px;
    height: 7px;
    transition: transform 0.25s ease;
}

.cart-item__chevron svg {
    width: 100%;
    height: 100%;
    display: block;
}

.cart-item__modifier[open] .cart-item__chevron {
    transform: rotate(180deg);
}

.cart-item__size-list {
    list-style: none;
    margin: 0;
    padding: 1.2rem 1.5rem;
    background: var(--color-white);
    border: 1px solid var(--color-gray-light);
    min-width: 200px;
    width: max-content;
    position: absolute;
    left: 0;
    top: calc(100% + 0.5rem);
    z-index: 20;
}

.cart-item__size-option {
    appearance: none;
    background: transparent;
    border: none;
    color: var(--color-black);
    font-family: var(--font-sans);
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: var(--tracking-100);
    text-transform: uppercase;
    padding: 0.45em 0;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 2rem;
    width: 100%;
}

.cart-item__size-option:hover:not(:disabled) {
    font-weight: 700;
}

.cart-item__size-option:disabled {
    color: var(--color-gray-light);
    cursor: not-allowed;
}

.cart-item__size-option--current {
    font-weight: 700;
}

.cart-item__size-flag {
    color: var(--color-gray-light);
    font-weight: 400;
    font-size: 0.78rem;
}

/* ----- Summary (right column) ----- */
.cart__summary {
    display: flex;
    flex-direction: column;
    align-self: stretch;
    transform: translateY(-70px);
}

.cart__summary-info {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    padding-bottom: 23px;
}

.cart__shipping-note {
    line-height: 1.2;
}

.cart__summary .cart__checkout {
    margin-bottom: auto;
}

.cart__promo {
    display: inline-block;
    align-self: flex-start;
    color: var(--color-black);
    font-family: var(--font-sans);
    font-weight: 500;
    font-size: 0.85rem;
    letter-spacing: var(--tracking-100);
    text-transform: uppercase;
    border-bottom: 1px solid var(--color-black);
    padding-bottom: 0.15em;
    transition: opacity 0.2s ease;
}

.cart__promo:hover { opacity: 0.7; }

.cart__subtotal-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-top: 0.5rem;
}

.cart__subtotal-label {
    font-family: var(--font-sans);
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: var(--tracking-100);
    text-transform: uppercase;
}

.cart__subtotal-value {
    font-family: var(--font-sans);
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: var(--tracking-100);
}

.cart__shipping-note {
    margin: 0;
    color: var(--color-gray-mid);
    font-family: var(--font-sans);
    font-weight: 400;
    font-size: 0.78rem;
    letter-spacing: 0.03em;
}

.cart__checkout {
    appearance: none;
    background: transparent;
    border: 1px solid var(--color-black);
    color: var(--color-black);
    font-family: var(--font-sans);
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: var(--tracking-100);
    text-transform: uppercase;
    padding: 1.1em 1.5em;
    cursor: pointer;
    margin-top: 0.5rem;
    transition: background 0.2s ease, color 0.2s ease;
}

.cart__checkout:hover {
    background: var(--color-black);
    color: var(--color-white);
}

/* "Voir panier" — only shown on mobile, below checkout */
.cart__voir-panier {
    display: none;
    margin-top: 1rem;
    text-align: center;
    color: var(--color-black);
    font-family: var(--font-sans);
    font-weight: 500;
    font-size: 0.8rem;
    letter-spacing: var(--tracking-100);
    text-transform: uppercase;
    text-decoration: underline;
    text-underline-offset: 4px;
}

/* Cart responsive */
@media (max-width: 1024px) {
    .cart {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .cart-item {
        grid-template-columns: 140px 1fr;   /* larger product image */
        gap: 1.5rem;
        padding: 1.75rem 0;
    }
    /* summary flows under the items (drop the desktop alignment offset) */
    .cart__summary {
        transform: none;
    }
    .cart__summary-info {
        margin-top: 0;
        gap: 0.45rem;
        padding-bottom: 0;
    }
    /* line above the totals + smaller, tighter text */
    .cart__subtotal-row {
        border-top: 1px solid var(--color-gray-light);
        padding-top: 1.1rem;
        margin-top: 1.1rem;
    }
    .cart__subtotal-label,
    .cart__subtotal-value {
        font-size: 0.85rem;
    }
    .cart__shipping-note {
        font-size: 0.72rem;
        margin-top: 0.3rem;
        line-height: 1.25;
    }
    .cart__checkout {
        width: 100%;
        padding: 0.85em 1.5em;   /* shorter button */
        margin-top: 1.1rem;
    }
    .cart__voir-panier {
        display: block;
    }
    /* drawer-style design has no promo link on mobile */
    .cart__promo {
        display: none;
    }
}

@media (max-width: 560px) {
    .cart {
        padding: 2rem 2rem 3rem;   /* more side gap, matching the design */
    }
}

/* ============================================================
   CONTACT PAGE
   Three columns: details (left) | figure (center) | newsletter (right)
   ============================================================ */
.contact {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr) minmax(0, 1fr);
    align-items: center;
    gap: clamp(2rem, 4vw, 5rem);
    padding: 1.5rem clamp(2rem, 6vw, 7rem) 3rem;
    max-width: 1700px;
    margin: 0 auto;
}

.contact__details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact__block { display: block; }

.contact__label {
    margin: 0 0 0.5rem;
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: var(--tracking-100);
    text-transform: uppercase;
}

.contact__value {
    margin: 0;
    font-family: var(--font-sans);
    font-weight: 400;
    font-size: 0.85rem;
    letter-spacing: var(--tracking-100);
    text-transform: uppercase;
}

/* ----- Center figure with speech bubble ----- */
.contact__figure {
    position: relative;
    margin: 0 auto;
    display: block;
    width: max-content;
    max-width: 100%;
}

.contact__figure-img {
    display: block;
    width: auto;
    max-width: 100%;
    max-height: 65vh;
    height: auto;
    user-select: none;
    -webkit-user-drag: none;
}

.contact__bubble {
    position: absolute;
    /* Centered inside the empty bubble shape (upper-left of figure image) */
    top: 24%;
    left: 31%;
    transform: translate(-50%, -50%) rotate(-7deg);
    font-family: var(--font-hand);
    font-weight: 400;
    font-size: clamp(1rem, 1.7vw, 1.5rem);
    color: var(--color-black);
    text-align: center;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    white-space: nowrap;
    pointer-events: none;
}

/* ----- Right newsletter form ----- */
.contact__newsletter {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.contact__newsletter-title {
    margin: 0 0 0.25rem;
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 1.05rem;
    letter-spacing: var(--tracking-100);
    text-transform: uppercase;
}

.contact__form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 420px;
}

.contact__input {
    appearance: none;
    background: transparent;
    border: 1px solid var(--color-gray-light);
    color: var(--color-black);
    font-family: var(--font-sans);
    font-weight: 400;
    font-size: 0.85rem;
    letter-spacing: var(--tracking-100);
    text-transform: uppercase;
    padding: 1em 1.2em;
    outline: none;
    transition: border-color 0.2s ease;
}

.contact__input::placeholder {
    color: var(--color-gray-light);
    text-transform: uppercase;
}

.contact__input:focus {
    border-color: var(--color-black);
}

.contact__submit {
    appearance: none;
    background: transparent;
    border: 1px solid var(--color-black);
    color: var(--color-black);
    font-family: var(--font-sans);
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: var(--tracking-100);
    text-transform: uppercase;
    padding: 1.05em 1.5em;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

.contact__submit:hover {
    background: var(--color-black);
    color: var(--color-white);
}

/* greyed-out, unworkable until a valid e-mail is entered (brand call-out) */
.contact__submit:disabled,
.contact__submit.is-disabled {
    border-color: var(--color-gray-light);
    color: var(--color-gray-light);
    background: transparent;
    cursor: not-allowed;
    pointer-events: none;
}

/* clickable contact details (mailto / Instagram) keep the same look */
.contact__value-link {
    color: inherit;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s ease;
}
.contact__value-link:hover { border-bottom-color: var(--color-black); }

/* Contact responsive */
@media (max-width: 1024px) {
    /* figure + details share one cell (details overlay the figure's empty lower-left);
       newsletter pinned to the bottom, centred — matching the design */
    .contact {
        grid-template-columns: 1fr;
        grid-template-areas:
            "stack"
            "news";
        grid-template-rows: auto 1fr;
        min-height: calc(100dvh - 6.5rem);
        row-gap: 1.5rem;
        text-align: left;
        padding: 1rem clamp(1.25rem, 5vw, 2.5rem) 2.5rem;
    }
    .contact__figure {
        grid-area: stack;
        margin: 0;
        width: 100%;
        justify-self: stretch;
    }
    .contact__figure-img {
        width: 100%;
        max-width: 100%;
        max-height: 55vh;
        margin: 0 auto;
    }
    .contact__details {
        grid-area: stack;
        align-self: end;
        justify-self: start;
        align-items: flex-start;
        gap: 1.2rem;
        margin-bottom: 2.5rem;   /* lift to the figure's lower-body level */
        z-index: 1;
    }
    .contact__label { font-size: 0.85rem; }
    .contact__value { font-size: 0.72rem; letter-spacing: 0.04em; }
    .contact__newsletter {
        grid-area: news;
        align-self: end;        /* pin to the bottom */
        text-align: center;     /* centre title + form */
    }
    .contact__form {
        margin: 0 auto;         /* centre the field + button */
        max-width: 17rem;       /* narrower mailing-list field, like design */
    }
    /* shorter mailing-list field + button, centred placeholder */
    .contact__input {
        padding: 0.7em 1.1em;
        text-align: center;
    }
    .contact__input::placeholder {
        text-align: center;
    }
    .contact__submit {
        padding: 0.8em 1.5em;
    }
}

/* ============================================================
   ABOUT PAGE
   Two columns: founder figure (left) | content accordions (right)
   ============================================================ */
.about {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
    gap: clamp(2rem, 5vw, 6rem);
    padding: 2rem clamp(2rem, 6vw, 7rem) 4rem;
    max-width: 1700px;
    margin: 0 auto;
    align-items: center;
}

.about__figure {
    margin: 0 auto;
    position: relative;
    width: fit-content;
    max-width: 100%;
}

.about__figure-img {
    display: block;
    width: auto;
    max-width: min(580px, 100%);
    height: auto;
    user-select: none;
    -webkit-user-drag: none;
}

/* live bubble text (handwriting font) over the empty bubble — translatable */
.about__bubble {
    position: absolute;
    top: 20%;
    left: 80%;
    transform: translate(-50%, -50%) rotate(-4deg);
    font-family: var(--font-hand);
    font-weight: 400;
    font-size: clamp(1rem, 1.6vw, 1.5rem);
    color: var(--color-black);
    text-align: center;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    white-space: nowrap;
    pointer-events: none;
}

/* live founder caption (translatable) over the cleaned figure */
.about__caption {
    position: absolute;
    top: 87%;
    left: 32%;
    transform: translate(-50%, -50%);
    text-align: center;
    line-height: 1.45;
    pointer-events: none;
}
.about__caption-name {
    display: block;
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 0.8rem;
    letter-spacing: var(--tracking-100);
    text-transform: uppercase;
    color: var(--color-black);
}
.about__caption-role {
    display: block;
    font-family: var(--font-sans);
    font-weight: 400;
    font-size: 0.72rem;
    letter-spacing: var(--tracking-100);
    text-transform: uppercase;
    color: var(--color-black);
}

.about__content {
    display: flex;
    flex-direction: column;
}

.about__accordion {
    border-top: 1px solid var(--color-gray-light);
}

.about__accordion:first-child {
    border-top: none;
}

.about__accordion > summary {
    list-style: none;
    cursor: pointer;
    padding: 1.25rem 0.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: var(--tracking-100);
    text-transform: uppercase;
    transition: opacity 0.2s ease;
}

.about__accordion > summary::-webkit-details-marker { display: none; }
.about__accordion > summary:hover { opacity: 0.7; }

.about__accordion-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 14px;
    height: 8px;
    transition: transform 0.25s ease;
    flex-shrink: 0;
}

.about__accordion-icon svg {
    width: 100%;
    height: 100%;
    display: block;
}

.about__accordion[open] .about__accordion-icon {
    transform: rotate(180deg);
}

.about__accordion-body {
    padding: 0 0.25rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.about__accordion-body p {
    margin: 0;
    font-family: var(--font-sans);
    font-weight: 400;
    font-size: 0.85rem;
    line-height: 1.55;
    letter-spacing: 0.02em;
}

/* About responsive */
@media (max-width: 1024px) {
    .about {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .about__figure-img {
        max-height: 50vh;
    }
}

/* ============================================================
   WORK / TRAVAUX PAGE
   Left category nav + right 4-column gallery grid
   ============================================================ */
.work {
    display: grid;
    grid-template-columns: minmax(180px, 1fr) minmax(0, 5fr);
    gap: clamp(2rem, 5vw, 5rem);
    padding: 3rem clamp(2rem, 6vw, 7rem) 4rem;
    max-width: 1700px;
    margin: 0 auto;
    align-items: center;
}

.work__nav {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: clamp(2.5rem, 4vw, 4rem);
}

/* Fixed pagination dots — clustered beside the middle item, vertically centred
   on the nav so they never move when the active category changes. */
.work__dots {
    position: absolute;
    left: -2.2rem;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 11px;
}

.work__dot {
    width: 5px;
    height: 5px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: var(--color-off-white);
    cursor: pointer;
    transition: background 0.2s ease;
}

.work__dot:hover {
    background: var(--color-gray-light);
}

/* Active dot is darker — same grey as the active label text */
.work__dot.is-active {
    background: var(--color-gray-light);
}

.work__nav-link {
    position: relative;
    color: var(--color-black);
    font-family: var(--font-sans);
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: var(--tracking-100);
    text-transform: uppercase;
    padding: 0.15em 0;
    cursor: pointer;
    transition: color 0.2s ease;
}

.work__nav-link:hover {
    color: var(--color-gray-mid);
}

/* Active (current) category is dimmed — "you are here" */
.work__nav-link.is-active {
    color: var(--color-gray-light);
}

/* Gallery container (right column).
   All galleries are stacked in one cell so the column height stays constant
   (= the tallest category). That keeps the left nav fixed when switching,
   and the active gallery is vertically centred in that constant space. */
.work__galleries {
    min-width: 0;
    display: grid;
    align-items: center;
}

/* Mobile gallery-overlay bar (title + close) — hidden on desktop */
.work__galleries-bar { display: none; }

.work__gallery {
    grid-area: 1 / 1;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(0.75rem, 1.5vw, 1.5rem);
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.work__gallery.is-active {
    visibility: visible;
    opacity: 1;
}

.work__item {
    margin: 0;
    overflow: hidden;
    background: #1a1a1a;
    position: relative;
}

.work__img {
    width: 100%;
    height: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease, opacity 0.3s ease;
}

.work__item:hover .work__img {
    transform: scale(1.03);
    opacity: 0.92;
}

/* Lookbook — editorial model shots shown in full on a light studio backdrop */
.work__gallery--lookbook .work__item {
    background: #ece9e4;
}

.work__gallery--lookbook .work__img {
    object-fit: contain;
    padding: 6%;
}

.work__gallery--lookbook .work__item:hover .work__img {
    transform: scale(1.02);
    opacity: 1;
}

/* Video items — play icon overlay */
.work__item--video::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 11px 0 11px 18px;
    border-color: transparent transparent transparent rgba(255, 255, 255, 0.95);
    filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.5));
    pointer-events: none;
    transition: transform 0.2s ease;
}

.work__item--video:hover::after {
    transform: translate(-50%, -50%) scale(1.12);
}

/* Work responsive — mobile is a 3-level flow:
   1) work page = category nav only (vertically centred, with the ⋮ dots)
   2) tapping a category opens a dark, full-screen, vertical-scroll gallery
   3) tapping an image opens the carousel (lightbox) */
@media (max-width: 1024px) {
    .work {
        grid-template-columns: 1fr;
        min-height: calc(100dvh - 6.5rem);
        align-content: center;
        padding: 2rem clamp(2rem, 6vw, 3rem) 2rem 3.75rem;
    }
    .work__nav {
        flex-direction: column;
        align-items: flex-start;
        gap: clamp(2.5rem, 5vh, 4rem);
    }
    .work__dots { display: flex; }   /* show the dot cluster, as in the design */

    /* category gallery overlay */
    .work__galleries {
        position: fixed;
        inset: 0;
        z-index: 950;
        display: block;
        background: #060606;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        transform: translateY(100%);
        visibility: hidden;
        transition: transform 0.35s ease, visibility 0s linear 0.35s;
    }
    .work__galleries.is-open {
        transform: translateY(0);
        visibility: visible;
        transition: transform 0.35s ease, visibility 0s linear 0s;
    }
    .work__galleries-bar {
        display: flex;
        position: sticky;
        top: 0;
        z-index: 2;
        align-items: center;
        justify-content: space-between;
        gap: 1rem;
        padding: 1.25rem;
        background: #060606;
    }
    .work__galleries-title {
        color: var(--color-white);
        font-family: var(--font-sans);
        font-weight: 500;
        font-size: 0.8rem;
        letter-spacing: var(--tracking-100);
        text-transform: uppercase;
    }
    .work__galleries-close {
        flex: 0 0 auto;
        width: 22px;
        height: 22px;
        padding: 0;
        border: 0;
        background: transparent;
        color: var(--color-white);
        cursor: pointer;
    }
    .work__galleries-close svg { width: 100%; height: 100%; display: block; }

    /* single-column vertical scroll inside the overlay */
    .work__gallery {
        grid-area: auto;
        display: none;
        grid-template-columns: 1fr;
        gap: 1.25rem;
        padding: 0.5rem 1.25rem 2.5rem;
        opacity: 1;
        visibility: visible;
    }
    .work__gallery.is-active {
        display: grid;
    }
}

.work__item { cursor: pointer; }

/* ============================================================
   WORK — LIGHTBOX / CAROUSEL  (opens on image click)
   ============================================================ */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    /* reserve space for the header (top) and caption (bottom) so the image never crowds them */
    padding: 9rem 0 5rem;
    background: #060606;
    color: var(--color-white);
}

.lightbox.is-open {
    display: flex;
}

/* Viewer right-aligns the image so its right edge meets the content margin
   (level with PANIER). Arrows are pinned (absolute) so they stay put for any image. */
.lightbox__viewer {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    width: 100%;
    padding-right: clamp(2rem, 14vw, 15rem);
}

/* Header (mirrors site header, inverted to white) */
.lightbox__header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 2rem;
    padding: 1.75rem clamp(2rem, 14vw, 15rem);
}

/* Mobile carousel category title (top-left) — hidden on desktop */
.lightbox__cat-title { display: none; }

.lightbox__top {
    display: flex;
    align-items: center;
    gap: clamp(2rem, 5vw, 6rem);
}

.lightbox__top:last-of-type { justify-content: flex-end; }

.lightbox__top-link {
    color: var(--color-white);
    font-family: var(--font-sans);
    font-size: 0.78rem;
    letter-spacing: var(--tracking-100);
    text-transform: uppercase;
    opacity: 0.9;
    transition: opacity 0.2s ease;
}

.lightbox__top-link:hover { opacity: 0.55; }

.lightbox__brand {
    display: block;
    line-height: 0;
}

.lightbox__brand img {
    width: clamp(150px, 12vw, 190px);
    height: auto;
    filter: invert(1);
}

/* Left category nav (white, active dimmed) */
.lightbox__cats {
    position: absolute;
    left: clamp(2rem, 6vw, 7rem);
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: clamp(2.5rem, 4vw, 4rem);
}

.lightbox__cat {
    position: relative;
    color: var(--color-white);
    font-family: var(--font-sans);
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: var(--tracking-100);
    text-transform: uppercase;
    cursor: pointer;
    transition: color 0.2s ease;
}

.lightbox__cat:hover { color: var(--color-gray-light); }
.lightbox__cat.is-active { color: var(--color-gray-mid); }

.lightbox__dots {
    position: absolute;
    left: -2.2rem;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 11px;
}

.lightbox__dot {
    width: 5px;
    height: 5px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: var(--color-gray-mid);
    cursor: pointer;
    transition: background 0.2s ease;
}

.lightbox__dot:hover { background: var(--color-gray-light); }
.lightbox__dot.is-active { background: var(--color-white); }

/* Image stage — image stacked above its caption, both right-aligned to the image edge */
.lightbox__stage {
    margin: 0;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    max-width: 52vw;
}

.lightbox__imgwrap {
    position: relative;
    display: block;
    line-height: 0;
}

.lightbox__img {
    max-width: 52vw;
    max-height: calc(100vh - 18rem);
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

/* Lookbook images sit on a light studio card so the cut-out models read as
   intentional editorial shots rather than floating on black */
.lightbox__stage.is-product .lightbox__imgwrap {
    background: #ece9e4;
    padding: clamp(1.25rem, 3vw, 3rem);
}

.lightbox__stage.is-product .lightbox__img {
    max-height: calc(100vh - 24rem);
}

/* Play icon — only for vidéographie items */
.lightbox__play { display: none; }

.lightbox__stage.is-video .lightbox__play {
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 16px 0 16px 27px;
    border-color: transparent transparent transparent rgba(255, 255, 255, 0.95);
    filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.6));
    pointer-events: none;
}

/* Prev / next arrows — pinned at fixed positions (same for every image) */
.lightbox__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    width: 40px;
    height: 56px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--color-white);
    cursor: pointer;
    opacity: 0.8;
    transition: opacity 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox__arrow:hover { opacity: 1; }
.lightbox__arrow svg { width: 18px; height: 32px; }
/* prev flanks the image's left edge; next sits in the right margin past the image */
.lightbox__arrow--prev { left: clamp(9rem, 30vw, 32rem); }
.lightbox__arrow--next { right: clamp(2rem, 6vw, 6rem); }

/* Lookbook (studio cards): centred in the area to the right of the nav, with the
   arrows in-flow flanking the card. Reserving the nav zone shifts the whole block right. */
.lightbox.is-lookbook .lightbox__viewer {
    justify-content: center;
    padding-left: clamp(2rem, 16vw, 16rem);
    padding-right: clamp(2rem, 4vw, 4rem);
    gap: clamp(1rem, 3vw, 3rem);
}

.lightbox.is-lookbook .lightbox__arrow {
    position: static;
    transform: none;
    flex: 0 0 auto;
}

/* Caption — directly below the image, right-aligned to its edge */
.lightbox__caption {
    margin: 1rem 0 0;
    align-self: flex-end;
    text-align: right;
    color: var(--color-white);
    font-family: var(--font-sans);
    font-size: 0.82rem;
    letter-spacing: var(--tracking-100);
    text-transform: uppercase;
}

/* Close */
.lightbox__close {
    position: absolute;
    top: 1.4rem;
    right: 1.4rem;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--color-white);
    cursor: pointer;
    opacity: 0.85;
    transition: opacity 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.lightbox__close:hover { opacity: 1; }
.lightbox__close svg { width: 22px; height: 22px; }

/* Lightbox responsive — mobile carousel (page_14): category title top-left,
   close top-right, image centred, caption right, arrows ‹ › centred below the image */
@media (max-width: 1024px) {
    .lightbox { padding: 4.5rem 0 3rem; }

    .lightbox__cats { display: none; }
    .lightbox__top { display: none; }
    .lightbox__brand { display: none; }
    .lightbox__header {
        display: flex;
        justify-content: flex-start;
        align-items: center;
        padding: 1.4rem clamp(1.25rem, 5vw, 2rem);
    }
    .lightbox__cat-title {
        display: block;
        color: var(--color-white);
        font-family: var(--font-sans);
        font-weight: 500;
        font-size: 0.8rem;
        letter-spacing: var(--tracking-100);
        text-transform: uppercase;
    }

    /* image + caption centred; arrows row pinned below with a clear gap */
    .lightbox__viewer,
    .lightbox.is-lookbook .lightbox__viewer {
        position: relative;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 0 0 5rem;
        gap: 0;
    }
    .lightbox__arrow,
    .lightbox.is-lookbook .lightbox__arrow {
        position: absolute;
        top: auto;
        bottom: 0;
        transform: none;
        width: auto;
        height: auto;
        border-radius: 0;
        background: transparent;
    }
    .lightbox__arrow svg { width: 16px; height: 28px; }
    .lightbox__arrow--prev,
    .lightbox.is-lookbook .lightbox__arrow--prev { left: 50%; right: auto; margin-left: -2.75rem; }
    .lightbox__arrow--next,
    .lightbox.is-lookbook .lightbox__arrow--next { left: 50%; right: auto; margin-left: 2.75rem; }

    .lightbox__stage { max-width: 86vw; }
    .lightbox__img { max-width: 86vw; max-height: calc(100vh - 17rem); }
    .lightbox__stage.is-product { max-width: 82vw; }
    .lightbox__stage.is-product .lightbox__imgwrap { padding: clamp(0.6rem, 2.5vw, 1.25rem); }
    .lightbox__stage.is-product .lightbox__img { max-width: 82vw; max-height: calc(100vh - 18rem); }

    .lightbox__caption {
        font-size: 0.72rem;
        align-self: flex-end;
        text-align: right;
    }
}

/* ============================================================
   ACCOUNT PAGE
   ============================================================ */
.account {
    display: grid;
    grid-template-columns: max-content 1fr;
    grid-template-areas:
        "title content"
        "nav   content";
    grid-template-rows: auto 1fr;
    column-gap: calc(clamp(2rem, 4vw, 4.5rem) + 20px);
    row-gap: 1.6rem;
    padding: clamp(2.5rem, 6vw, 5rem) clamp(2rem, 14vw, 15rem) clamp(4rem, 8vw, 7rem);
    align-items: start;
}

.account__title { grid-area: title; }
.account__nav   { grid-area: nav; }
.account__content { grid-area: content; }

/* Mobile-only elements — hidden on desktop */
.account__retour,
.account__section-title,
.account__dots { display: none; }

.account__nav {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 1.6rem;
}

.account__title {
    margin: 0 0 1.2rem;
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: var(--tracking-100);
    text-transform: uppercase;
    color: var(--color-black);
}

.account__nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
}

.account__nav-link {
    display: inline-block;
    color: var(--color-black);
    font-family: var(--font-sans);
    font-weight: 400;
    font-size: 0.82rem;
    letter-spacing: var(--tracking-100);
    text-transform: uppercase;
    padding: 0.15em 0;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s ease, opacity 0.2s ease;
}

.account__nav-link:hover {
    border-bottom-color: var(--color-black);
}

.account__nav-link.is-active {
    border-bottom-color: var(--color-black);
}

.account__content {
    min-height: 60vh;
    /* align the content's first line with the first sub-nav item (DÉTAILS DU COMPTE),
       i.e. one row below the COMPTE heading */
    margin-top: 4rem;
}

.account__panel {
    display: none;
    max-width: 820px;
}

.account__panel.is-active {
    display: block;
}

.account__panel p {
    margin: 0 0 0.85rem;
    font-family: var(--font-sans);
    font-weight: 400;
    font-size: 0.95rem;
    line-height: 1.55;
    color: var(--color-black);
}

.account__inline-link {
    color: var(--color-black);
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* Account form */
.account-form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.account-form__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: clamp(2rem, 5vw, 4rem);
    row-gap: 1.6rem;
}

.account-form__grid--password {
    align-items: end;
}

.account-form__col {
    display: flex;
    flex-direction: column;
    gap: 1.6rem;
}

.account-form__col--submit {
    justify-content: flex-end;
    align-items: flex-start;
}

.account-form__field {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.account-form__label {
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 0.78rem;
    letter-spacing: var(--tracking-100);
    text-transform: uppercase;
    color: var(--color-black);
}

.account-form__input {
    appearance: none;
    width: 100%;
    height: 42px;
    padding: 0 0.8rem;
    background: transparent;
    border: 1px solid var(--color-black);
    border-radius: 0;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    color: var(--color-black);
    transition: border-color 0.2s ease;
}

.account-form__input:focus {
    outline: none;
    border-color: var(--color-black);
    box-shadow: inset 0 0 0 1px var(--color-black);
}

.account-form__heading {
    margin: 0.5rem 0 0;
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 0.82rem;
    letter-spacing: var(--tracking-100);
    text-transform: uppercase;
    color: var(--color-black);
}

.account-form__submit {
    display: inline-block;
    padding: 0.9rem 1.5rem;
    background: transparent;
    color: var(--color-black);
    border: 1px solid var(--color-black);
    border-radius: 0;
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 0.78rem;
    letter-spacing: var(--tracking-100);
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
    text-decoration: none;
}

.account-form__submit:hover {
    background: var(--color-black);
    color: var(--color-white);
}

.account-form__submit--link {
    display: inline-block;
}

/* Account responsive — mobile drill-down:
   LANDING (page_15): COMPTE (centred) + welcome (centred) + nav list (with ⋮ dots)
   SECTION (page_16): RETOUR + section title + that section's content */
@media (max-width: 900px) {
    .account {
        grid-template-columns: 1fr;
        grid-template-areas:
            "title"
            "content"
            "nav";
        grid-template-rows: auto auto auto;
        row-gap: 1.75rem;
        padding: 1.5rem clamp(1.25rem, 6vw, 3rem) 4rem;
        text-align: center;
    }
    .account__title {
        text-align: center;
        font-size: 1rem;
        margin: 0;
    }
    .account__content {
        min-height: 0;
        margin-top: 0;
    }
    .account__panel { margin: 0 auto; max-width: 100%; }
    /* landing welcome = short uppercase greeting (design); hide the long description */
    .account__greeting {
        text-transform: uppercase;
        font-weight: 500;
    }
    .account__intro { display: none; }

    /* nav list = centred block, left-aligned items, with the dot cluster beside it */
    .account__nav { align-items: center; }
    .account__nav-list {
        position: relative;
        flex-direction: column;
        align-items: flex-start;
        gap: 1.6rem;
        width: max-content;
        margin: 0 auto;
    }
    /* larger, bold nav labels to match the design */
    .account__nav-link {
        font-size: 0.98rem;
        font-weight: 600;
    }
    /* tight cluster of 4 dots beside the nav list (same formula as work page),
       vertically centred on the list; the active section's dot is dark.
       Clickable shortcuts that drill into the same sections as the labels. */
    .account__dots {
        display: flex;
        position: absolute;
        left: -2.2rem;
        top: 50%;
        transform: translateY(-50%);
        flex-direction: column;
        align-items: center;
        gap: 11px;
    }
    .account__dot {
        width: 5px;
        height: 5px;
        border-radius: 50%;
        background: var(--color-off-white);
        cursor: pointer;
    }
    .account__dot.is-active {
        background: var(--color-black);
    }
    .account-form__grid { grid-template-columns: 1fr; }

    /* Détails form submit = filled dark button, same width as the form fields, centred */
    .account-form__col--submit { align-items: stretch; }
    .account-form .account-form__submit {
        display: block;
        width: 100%;
        margin-top: 0.5rem;
        background: var(--color-black);
        color: var(--color-white);
        text-align: center;
    }

    /* ---- Section (drill-down) view ---- */
    .account.is-section {
        grid-template-areas:
            "retour"
            "content";
        grid-template-rows: auto auto;
        text-align: left;
    }
    .account.is-section .account__title,
    .account.is-section .account__nav { display: none; }

    .account.is-section .account__retour {
        display: inline-block;
        grid-area: retour;
        justify-self: start;
        color: var(--color-black);
        font-family: var(--font-sans);
        font-weight: 500;
        font-size: 0.8rem;
        letter-spacing: var(--tracking-100);
        text-transform: uppercase;
        cursor: pointer;
    }
    .account.is-section .account__content { text-align: left; }
    .account.is-section .account__panel { margin: 0; max-width: 100%; }
    /* stub sections (Commandes / Adresses / Déconnexion) are centred;
       the Détails form keeps its left-aligned labels */
    .account.is-section .account__panel[data-panel="orders"],
    .account.is-section .account__panel[data-panel="addresses"],
    .account.is-section .account__panel[data-panel="logout"] {
        text-align: center;
    }
    .account.is-section .account__section-title {
        display: block;
        margin: 0.5rem 0 2rem;
        text-align: center;
        font-family: var(--font-sans);
        font-weight: 600;
        font-size: 1.1rem;
        letter-spacing: var(--tracking-100);
        text-transform: uppercase;
        color: var(--color-gray-light);
    }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
    .landing__logo-link {
        animation: none !important;
    }
}
