:root {
    --bg: #f7f2ec;
    --paper: #fffdf9;
    --ink: #201c18;
    --muted: #756d65;
    --line: #e5ddd3;
    --accent: #a85d43;
    --soft: #ead9cc;
    --dark: #241f1b;
    --success: #476b58;
    --radius: 24px;
    --shadow: 0 18px 55px rgba(54, 42, 33, .08);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}

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

img {
    display: block;
    width: 100%;
}

button,
input,
select {
    font: inherit;
}

.shell {
    width: min(1160px, calc(100% - 32px));
    margin-inline: auto;
}

.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition:
        opacity 1.75s ease-out,
        transform 1.75s ease-out;
    will-change: opacity, transform;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {

    .reveal,
    .reveal.is-visible {
        opacity: 1;
        transform: none;
        transition: none;
    }
}


/* =====================================================
   HEADER
===================================================== */

.site-header {
    position: sticky;
    top: 0;
    z-index: 30;
    background: rgba(255, 253, 249, .92);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(229, 221, 211, .8);
}

.header-inner {
    height: 76px;
    display: flex;
    align-items: center;
    gap: 24px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 11px;
    min-width: 0;
}

.brand-mark {
    width: 110px;
    height: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.brand-mark img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.brand-copy {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.brand-copy strong {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 17px;
}

.brand-copy small {
    font-size: 10px;
    color: var(--muted);
    margin-top: 4px;
    letter-spacing: .04em;
}

.desktop-nav {
    margin-left: auto;
    display: flex;
    gap: 26px;
    font-size: 14px;
}

.desktop-nav a:hover,
.text-link:hover {
    color: var(--accent);
}

.cart-pill {
    display: flex;
    align-items: center;
    gap: 9px;
    border: 1px solid var(--line);
    padding: 9px 11px 9px 14px;
    border-radius: 999px;
    font-size: 13px;
}

.cart-pill strong {
    display: grid;
    place-items: center;
    min-width: 25px;
    height: 25px;
    border-radius: 50%;
    background: var(--dark);
    color: white;
    font-size: 11px;
}


/* =====================================================
   HERO
===================================================== */

.hero {
    padding: 52px 0 44px;
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 50px;
    align-items: center;
    min-height: 650px;
}

.eyebrow {
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: .14em;
    font-weight: 700;
    font-size: 10px;
    color: var(--accent);
    margin-bottom: 14px;
}

.hero h1,
.page-intro h1,
.product-info h1,
.status-page h1,
.login-card h1 {
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 500;
    letter-spacing: -.035em;
    line-height: 1.02;
    margin: 0;
}

.hero h1 {
    font-size: clamp(48px, 6vw, 82px);
    max-width: 760px;
}

.hero h1 em {
    font-weight: 400;
    color: var(--accent);
}

.hero-copy>p {
    max-width: 630px;
    color: var(--muted);
    font-size: 17px;
    margin: 24px 0;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.button {
    border: 0;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 22px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: .2s transform, .2s opacity;
}

.button:hover {
    transform: translateY(-1px);

}

.button-dark {
    background: var(--dark);
    color: #fff;
}

.button-light {
    background: #fff;
    color: var(--dark);
}

.button-muted {
    background: #d8d2cb;
    color: #7f7770;
    cursor: not-allowed;
}

.button-full {
    width: 100%;
}

.text-link {
    font-size: 14px;
    font-weight: 700;
}

.hero-points {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    color: var(--muted);
    font-size: 12px;
    margin-top: 34px;
}

.hero-visual {
    position: relative;
    min-height: 520px;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: var(--shadow);
    background: var(--bg);
}

.hero-photo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-label {
    position: absolute;
    right: 25px;
    bottom: 22px;
    color: white;
    font-size: 11px;
    letter-spacing: .12em;
    text-transform: uppercase;
}


/* =====================================================
   SECTIONS
===================================================== */

.section {
    padding: 78px 0;
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 30px;
}

.section h2,
.craft-copy h2 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(32px, 4vw, 50px);
    font-weight: 500;
    letter-spacing: -.03em;
    line-height: 1.08;
    margin: 0;
}


/* =====================================================
   PRODUITS
===================================================== */

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

.product-card {
    min-width: 0;
}

.product-image {
    position: relative;
    display: block;
    aspect-ratio: 4/5;
    border-radius: 10px;
    overflow: hidden;
    background: var(--bg);
}

.product-image img {
    height: 100%;
    object-fit: cover;
    transition: transform .4s;
}

.product-card:hover .product-image img {
    transform: scale(1.025);
}

.image-placeholder {
    height: 100%;
    min-height: 180px;
    background: linear-gradient(145deg, #eee4dc, #d3bbaa);
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center;
    justify-content: center;
    color: #6c5144;
}

.image-placeholder span {
    font-family: Georgia, serif;
    font-size: 58px;
}

.image-placeholder small {
    text-transform: uppercase;
    letter-spacing: .12em;
    font-size: 9px;
}

.image-placeholder.large {
    min-height: 620px;
}

.stock-badge {
    position: absolute;
    left: 12px;
    top: 12px;
    background: rgba(255, 253, 249, .92);
    backdrop-filter: blur(8px);
    padding: 7px 10px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 700;
}

.stock-badge.soldout {
    background: rgba(32, 28, 24, .86);
    color: white;
}

.product-card-body {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 3px;
}

.product-card-body h3 {
    font-family: Georgia, serif;
    font-size: 19px;
    font-weight: 500;
    margin: 2px 0;
}

.product-card-body>strong {
    white-space: nowrap;
    font-size: 14px;
}

.product-category {
    color: var(--muted);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: .1em;
}


/* =====================================================
   SAVOIR-FAIRE
===================================================== */

.craft-section {
    background: var(--bg);
    padding: 86px 0;
}

.craft-grid {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 70px;
    align-items: center;
}

.craft-visual {
    min-height: 430px;
    border-radius: 5px;
    position: relative;
    overflow: hidden;
    background: var(--bg);
}

.craft-photo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.craft-copy p {
    color: var(--muted);
    max-width: 640px;
}


/* =====================================================
   BLOC CONTACT LOSBI
===================================================== */

.contact-banner {
    position: relative;
    min-height: 355px;

    display: grid;
    grid-template-columns: 42% 33% 25%;
    align-items: center;

    overflow: hidden;
    border-radius: 5px;

    background-image: url('../images/contact-bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    box-shadow: 0 22px 60px rgba(69, 42, 27, .10);
}


/* TEXTE */

.contact-banner-copy {
    grid-column: 2;
    position: relative;
    z-index: 2;

    padding: 45px 20px 45px 10px;
}

.contact-banner .eyebrow {
    color: var(--accent);
    margin-bottom: 12px;
}

.contact-small-stitch {
    display: block;
    width: 48px;
    border-top: 2px dashed rgba(168, 93, 67, .7);
    margin-bottom: 18px;
}

.contact-banner h2 {
    font-family: Georgia, "Times New Roman", serif;

    font-size: clamp(35px, 3vw, 49px);
    font-weight: 500;

    letter-spacing: -.035em;
    line-height: 1.02;

    margin: 0;

    color: var(--ink);
}

.contact-banner p {
    color: var(--muted);

    font-size: 14px;
    line-height: 1.6;

    margin: 22px 0 0;

    max-width: 380px;
}


/* BOUTON */

.contact-banner-action {
    grid-column: 3;

    position: relative;
    z-index: 2;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 30px;
}

.contact-button {
    min-height: 68px;

    padding: 0 27px 0 21px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 16px;

    white-space: nowrap;

    border-radius: 999px;

    background: linear-gradient(180deg,
            #68402d 0%,
            #3e2519 100%);

    border: 2px solid #d4ae73;

    box-shadow:
        0 8px 18px rgba(52, 27, 16, .30),
        inset 0 1px 0 rgba(255, 255, 255, .16);

    color: #fff9f3;

    font-size: 15px;
    font-weight: 600;

    transition:
        transform .25s ease,
        box-shadow .25s ease;
}

.contact-button:hover {
    transform: translateY(-2px);

    box-shadow:
        0 12px 25px rgba(52, 27, 16, .36),
        inset 0 1px 0 rgba(255, 255, 255, .16);
}

.contact-button-icon {
    width: 26px;
    height: 26px;

    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;
}

.contact-button-icon svg {
    width: 24px;
    height: 24px;

    fill: none;

    stroke: #ddb77c;
    stroke-width: 1.4;
    stroke-linejoin: round;
}

.contact-button-separator {
    width: 1px;
    height: 31px;

    flex-shrink: 0;

    background: rgba(221, 183, 124, .65);
}


/* =====================================================
   TABLETTE
===================================================== */

@media(max-width:960px) {

    .contact-banner {
        grid-template-columns: 38% 38% 24%;
    }

    .contact-banner-copy {
        padding-left: 5px;
    }

    .contact-banner h2 {
        font-size: 38px;
    }

    .contact-banner-action {
        padding: 18px;
        min-width: 0;
    }

    .contact-button {
        width: 100%;
        max-width: 100%;
        min-height: 62px;

        padding: 0 14px;

        gap: 12px;

        font-size: 13px;
        white-space: normal;
    }
}


/* =====================================================
   MOBILE
===================================================== */

@media(max-width:760px) {

    .contact-banner {
        min-height: 0;

        display: grid;
        grid-template-columns: 1fr;
        align-items: start;

        border: 1px solid rgba(168, 93, 67, .18);
        border-radius: 22px;

        background:
            linear-gradient(145deg,
                rgba(255, 253, 249, .98) 0%,
                rgba(250, 243, 234, .98) 58%,
                rgba(242, 226, 211, .92) 100%);

        box-shadow: 0 18px 38px rgba(69, 42, 27, .08);
    }

    .contact-banner::after {
        content: "";

        position: absolute;

        top: 25px;
        right: 28px;
        bottom: auto;
        left: auto;

        width: 54px;
        height: 12px;

        border-top: 1px dashed rgba(168, 93, 67, .28);
        border-bottom: 1px dashed rgba(168, 93, 67, .18);

        background: none;
        pointer-events: none;

        transform: rotate(-5deg);
    }

    .contact-banner-copy {
        width: 100%;

        position: relative;
        z-index: 2;

        grid-column: 1;

        padding: 28px 28px 12px;
    }

    .contact-banner h2 {
        font-size: 36px;
        line-height: 1.04;

        max-width: 390px;
    }

    .contact-banner p {
        font-size: 14px;

        max-width: 340px;

        margin-top: 11px;
    }

    .contact-small-stitch {
        width: 42px;
        margin-bottom: 15px;
    }

    .contact-banner-action {
        width: 100%;

        position: relative;
        z-index: 2;

        grid-column: 1;

        padding: 0 28px 28px;
    }

    .contact-button {
        width: 100%;
        max-width: none;

        min-height: 60px;
        padding: 0 22px;
        gap: 16px;

        font-size: 15px;
        white-space: nowrap;
    }

    .contact-button span:last-child {
        min-width: 0;
        overflow-wrap: break-word;
    }
}


/* =====================================================
   PETITS MOBILES
===================================================== */

@media(max-width:420px) {

    .contact-banner {
        border-radius: 20px;
    }

    .contact-banner-copy {
        padding: 26px 22px 10px;
    }

    .contact-banner h2 {
        font-size: 34px;
    }

    .contact-banner p {
        font-size: 13px;
    }

    .contact-banner-action {
        padding: 0 22px 24px;
    }
}


/* =====================================================
   FOOTER LOSBI
===================================================== */

.site-footer {
    position: relative;
    overflow: hidden;

    margin-top: 70px;
    padding: 78px 0 28px;

    background:
        radial-gradient(circle at 15% 15%,
            rgba(232, 211, 194, .20),
            transparent 32%),
        #faf6f0;

    border-top: 1px solid #eee3d8;
}


/* =====================================================
   CONTENU PRINCIPAL
===================================================== */

.footer-main {
    display: grid;

    grid-template-columns:
        minmax(230px, 1.25fr) 1px minmax(150px, .75fr) minmax(150px, .75fr) minmax(230px, 1fr);

    gap: 55px;

    align-items: start;
}


/* =====================================================
   MARQUE / LOGO
===================================================== */

.footer-brand {
    min-width: 0;
}

.footer-logo-box {
    width: 100%;
    max-width: 280px;
    min-height: 210px;

    padding: 35px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px dashed rgba(168, 93, 67, .55);
    border-radius: 14px;

    background: rgba(255, 253, 249, .40);
}

.footer-logo {
    width: 100%;
    max-width: 170px;
    max-height: 120px;

    object-fit: contain;
}

.footer-tagline {
    margin: 28px 0 23px;

    color: var(--ink);

    font-size: 15px;
    line-height: 1.65;
}


/* =====================================================
   RÉSEAUX
===================================================== */

.footer-socials {
    display: flex;
    align-items: center;
    gap: 18px;
}

.footer-social-link {
    width: 34px;
    height: 34px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: var(--accent);

    transition:
        transform .2s ease,
        opacity .2s ease;
}

.footer-social-link:hover {
    transform: translateY(-2px);
    opacity: .75;
}

.footer-social-link svg {
    width: 24px;
    height: 24px;

    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
}


/* =====================================================
   SÉPARATEUR VERTICAL
===================================================== */

.footer-separator {
    width: 1px;
    height: 250px;

    background: #dccfc2;

    align-self: center;
}


/* =====================================================
   COLONNES
===================================================== */

.footer-column {
    padding-top: 15px;
}

.footer-title {
    display: block;

    margin-bottom: 35px;

    color: var(--accent);

    font-size: 11px;
    font-weight: 800;

    text-transform: uppercase;
    letter-spacing: .22em;
}

.footer-column nav {
    display: flex;
    flex-direction: column;

    align-items: flex-start;

    gap: 23px;
}

.footer-column nav a {
    position: relative;

    color: var(--ink);

    font-size: 14px;

    transition:
        color .2s ease,
        transform .2s ease;
}

.footer-column nav a:hover {
    color: var(--accent);
    transform: translateX(3px);
}


/* =====================================================
   CONTACT
===================================================== */

.footer-contact {
    position: relative;
}

.footer-contact-line {
    display: flex;
    align-items: flex-start;

    gap: 17px;

    margin-bottom: 25px;

    color: var(--ink);

    font-size: 14px;
    line-height: 1.55;
}

.footer-contact-line svg {
    width: 22px;
    height: 22px;

    flex-shrink: 0;

    fill: none;

    stroke: var(--accent);
    stroke-width: 1.5;

    stroke-linecap: round;
    stroke-linejoin: round;
}

.footer-contact-line a:hover {
    color: var(--accent);
}


/* =====================================================
   DÉCOR VÉGÉTAL
===================================================== */

.footer-contact::after {
    content: "❧";

    position: absolute;

    right: -15px;
    bottom: -110px;

    color: rgba(168, 93, 67, .08);

    font-family: Georgia, serif;

    font-size: 170px;
    line-height: 1;

    transform: rotate(-22deg);

    pointer-events: none;
}


/* =====================================================
   BAS DU FOOTER
===================================================== */

.footer-bottom {
    margin-top: 62px;
    padding-top: 25px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 25px;

    border-top: 1px solid #ddd0c4;

    font-size: 11px;
}

.footer-legal {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 8px;

    color: var(--muted);
}

.footer-legal a {
    color: var(--muted);
}

.footer-legal a:hover {
    color: var(--accent);
}

.footer-thanks {
    display: flex;
    align-items: center;

    gap: 10px;

    color: var(--accent);

    white-space: nowrap;
}

.footer-thanks span {
    font-family: Georgia, serif;
    font-size: 25px;
    line-height: 1;
}


/* =====================================================
   TABLETTE
===================================================== */

@media(max-width: 960px) {

    .footer-main {
        grid-template-columns: 1.2fr 1px 1fr 1fr;

        gap: 35px;
    }

    .footer-contact {
        grid-column: 3 / 5;

        margin-top: 15px;

        display: grid;
        grid-template-columns: repeat(3, 1fr);

        gap: 20px;
    }

    .footer-contact .footer-title {
        grid-column: 1 / -1;

        margin-bottom: 5px;
    }

    .footer-contact-line {
        margin-bottom: 0;
    }

    .footer-contact::after {
        display: none;
    }
}


/* =====================================================
   MOBILE
===================================================== */

@media(max-width: 760px) {

    .site-footer {
        margin-top: 20px;

        padding: 30px 0 calc(68px + env(safe-area-inset-bottom));
    }

    .footer-main {
        display: grid;

        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);

        gap: 24px 18px;
    }


    /* LOGO */

    .footer-brand {
        grid-column: 1 / -1;

        display: grid;
        grid-template-columns: 68px minmax(0, 1fr);
        align-items: center;
        gap: 13px;
    }

    .footer-logo-box {
        width: 68px;
        max-width: 68px;
        min-height: 68px;

        padding: 9px;

        border-radius: 14px;
    }

    .footer-logo {
        max-width: 52px;
        max-height: 52px;
    }

    .footer-tagline {
        margin: 0;

        font-size: 15px;
        line-height: 1.42;
    }

    .footer-socials {
        grid-column: 2;
        margin-top: 8px;
        gap: 12px;
    }

    .footer-social-link svg {
        width: 20px;
        height: 20px;
    }


    /* plus besoin du séparateur vertical */

    .footer-separator {
        display: none;
    }


    /* COLONNES */

    .footer-column {
        padding-top: 0;
    }

    .footer-title {
        margin-bottom: 10px;

        font-size: 15px;
        letter-spacing: .18em;
    }

    .footer-column nav {
        gap: 8px;
    }

    .footer-column nav a {
        font-size: 15px;
        line-height: 1.25;
    }


    /* CONTACT */

    .footer-contact {
        grid-column: 1 / -1;

        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 9px;

        margin-top: 0;

        padding-top: 16px;

        border-top: 1px solid #e2d5c9;
    }

    .footer-contact .footer-title {
        margin-bottom: 1px;
    }

    .footer-contact-line {
        align-items: center;

        gap: 10px;
        margin-bottom: 0;

        font-size: 15px;
        line-height: 1.35;
    }

    .footer-contact-line svg {
        width: 18px;
        height: 18px;
    }

    .footer-contact-line a,
    .footer-contact-line span {
        min-width: 0;
    }

    .footer-contact::after {
        display: none;
    }


    /* BAS */

    .footer-bottom {
        margin-top: 20px;
        padding-top: 14px;

        display: grid;
        gap: 7px;

        font-size: 9.5px;
    }

    .footer-legal {
        font-size: 15px;
        gap: 5px;
        line-height: 1.45;
        opacity: 1;
    }

    .footer-thanks {
        gap: 6px;
        margin-top: 0;

        font-size: 15px;
        opacity: 1;
    }

    .footer-thanks span {
        font-size: 18px;
    }
}


/* =====================================================
   PETITS TÉLÉPHONES
===================================================== */

@media(max-width: 420px) {

    .footer-main {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);

        gap: 20px 14px;
    }

    .footer-brand,
    .footer-contact {
        grid-column: 1 / -1;
    }

    .footer-brand {
        grid-template-columns: 62px minmax(0, 1fr);
        gap: 12px;
    }

    .footer-column {
        padding-bottom: 0;
    }

    .footer-logo-box {
        width: 62px;
        max-width: 62px;
        min-height: 62px;
        padding: 8px;
    }

    .footer-logo {
        max-width: 48px;
        max-height: 48px;
    }

    .footer-tagline {
        font-size: 11.5px;
    }

    .footer-column nav {
        gap: 7px;
    }

    .footer-contact {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
        padding-top: 14px;
    }

    .footer-contact .footer-title,
    .footer-contact-line:first-of-type {
        grid-column: 1 / -1;
    }

    .footer-bottom {
        margin-top: 16px;
        font-size: 9px;
    }
}

/* =====================================================
   CATALOGUE
===================================================== */

.page-intro {
    padding: 70px 0 26px;
}

.page-intro.compact {
    padding-bottom: 0;
}

.page-intro h1 {
    font-size: clamp(52px, 8vw, 88px);
}

.page-intro p {
    color: var(--muted);
    max-width: 580px;
}

.category-scroll {
    display: flex;
    gap: 9px;
    overflow-x: auto;
    scrollbar-width: none;
    padding-bottom: 22px;
}

.category-scroll::-webkit-scrollbar {
    display: none;
}

.chip {
    white-space: nowrap;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 9px 14px;
    font-size: 12px;
}

.chip.is-active {
    background: var(--dark);
    color: #fff;
    border-color: var(--dark);
}

.catalog-section {
    padding-top: 18px;
}


/* =====================================================
   FICHE PRODUIT
===================================================== */

.product-page {
    padding: 48px 0 86px;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(330px, .85fr);
    gap: 58px;
    align-items: start;
}

.product-gallery {
    display: grid;
    gap: 12px;

    position: sticky;
    top: 108px;
    align-self: start;
}

.gallery-main {
    aspect-ratio: 4/5;
    overflow: hidden;
    border-radius: 5px;
    background: var(--bg);
}

.gallery-item {
    width: 100%;
    height: 100%;
    padding: 0;
    display: block;
    overflow: hidden;
    border: 0;
    border-radius: inherit;
    background: var(--bg);
    cursor: zoom-in;
}

.gallery-item:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 4px;
}

.gallery-main img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform .35s ease;
}

.gallery-item:hover img {
    transform: scale(1.015);
}

.gallery-more {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.gallery-more .gallery-item {
    aspect-ratio: 1/1;
    border-radius: 5px;
}

.gallery-more img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform .35s ease;
}

.product-lightbox {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
    gap: 16px;
    padding: 22px clamp(18px, 4vw, 44px);
    background: rgba(24, 19, 16, .94);
    color: #fffaf5;
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease;
}

.product-lightbox.is-open {
    opacity: 1;
    pointer-events: auto;
}

.product-lightbox__close,
.product-lightbox__nav {
    border: 1px solid rgba(255, 250, 245, .22);
    border-radius: 999px;
    background: rgba(255, 250, 245, .08);
    color: #fffaf5;
    backdrop-filter: blur(14px);
    cursor: pointer;
}

.product-lightbox__close {
    justify-self: end;
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    font-size: 28px;
    line-height: 1;
}

.product-lightbox__stage {
    position: relative;
    min-width: 0;
    min-height: 0;
    display: grid;
    place-items: center;
    touch-action: pan-y;
}

.product-lightbox__image {
    max-width: min(100%, 1180px);
    max-height: calc(100vh - 150px);
    width: auto;
    height: auto;
    display: block;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 24px 70px rgba(0, 0, 0, .28);
}

.product-lightbox__nav {
    position: absolute;
    top: 50%;
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    font-size: 30px;
    transform: translateY(-50%);
}

.product-lightbox__nav--prev {
    left: 0;
}

.product-lightbox__nav--next {
    right: 0;
}

.product-lightbox__indicator {
    justify-self: center;
    color: rgba(255, 250, 245, .76);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .16em;
}

html.lightbox-open,
body.lightbox-open {
    overflow: hidden;
}

.product-info {
    position: static;
    padding: 20px 0;
}

.product-info h1 {
    font-size: clamp(44px, 5vw, 68px);
}

.product-price {
    font-size: 21px;
    font-weight: 800;
    margin: 18px 0 24px;
}

.product-description {
    color: var(--muted);
    font-size: 15px;
    margin-bottom: 26px;
}

.availability {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 14px 0;
    font-size: 12px;
    font-weight: 700;
    border-top: 1px solid var(--line);
}

.availability span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.availability.available span {
    background: #5b8a6d;
}

.availability.unavailable span {
    background: #a96c62;
}

.product-info form {
    margin-top: 8px;
}

.product-reassurance {
    margin-top: 28px;
    border-top: 1px solid var(--line);
}

.product-reassurance>div {
    padding: 15px 0;
    border-bottom: 1px solid var(--line);
    display: flex;
    justify-content: space-between;
    gap: 18px;
}

.product-reassurance strong {
    font-size: 12px;
}

.product-reassurance small {
    color: var(--muted);
    text-align: right;
    max-width: 230px;
}


/* =====================================================
   PANIER
===================================================== */

.cart-layout {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 44px;
    align-items: start;
}

.cart-items {
    border-top: 1px solid var(--line);
}

.cart-row {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 18px;
    padding: 20px 0;
    border-bottom: 1px solid var(--line);
}

.cart-thumb {
    aspect-ratio: 1/1;
    border-radius: 16px;
    overflow: hidden;
    background: var(--bg);
}

.cart-thumb img {
    height: 100%;
    object-fit: cover;
}

.cart-main {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.cart-title {
    display: flex;
    width: 100%;
    justify-content: space-between;
    gap: 15px;
}

.cart-title h3 {
    font-family: Georgia, serif;
    font-weight: 500;
    font-size: 21px;
    margin: 0;
}

.cart-title strong {
    white-space: nowrap;
}

.quantity-form {
    margin-top: 14px;
}

.quantity-form label {
    font-size: 11px;
    color: var(--muted);
}

.quantity-form select {
    margin-left: 8px;
    border: 1px solid var(--line);
    background: #fff;
    border-radius: 10px;
    padding: 6px;
}

.link-button {
    border: 0;
    background: transparent;
    padding: 10px 0 0;
    color: var(--accent);
    font-size: 11px;
    text-decoration: underline;
    cursor: pointer;
}

.cart-summary {
    position: sticky;
    top: 105px;
    background: var(--bg);
    border-radius: 24px;
    padding: 24px;
}

.summary-line {
    display: flex;
    justify-content: space-between;
    font-size: 18px;
    padding: 6px 0 16px;
    border-bottom: 1px solid #dbd2c8;
}

.summary-note,
.stripe-note {
    display: block;
    color: var(--muted);
    font-size: 11px;
}

.summary-note {
    margin: 16px 0;
}

.stripe-note {
    text-align: center;
    margin-top: 12px;
}


/* =====================================================
   ÉTATS / VIDE
===================================================== */

.empty-state {
    grid-column: 1/-1;
    border: 1px dashed var(--line);
    border-radius: 28px;
    padding: 60px 24px;
    text-align: center;
    background: #fff;
}

.empty-state span {
    font-size: 34px;
}

.empty-state h3 {
    font-family: Georgia, serif;
    font-size: 30px;
    font-weight: 500;
    margin: 10px 0 5px;
}

.empty-state p {
    color: var(--muted);
}

.empty-state.full {
    width: 100%;
    max-width: 650px;
    margin: 0 auto;
}

.status-page {
    min-height: 68vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 0;
}

.status-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #dceadf;
    color: var(--success);
    font-size: 30px;
    margin-bottom: 20px;
}

.status-icon.neutral {
    background: var(--bg);
    color: var(--muted);
}

.status-page h1 {
    font-size: clamp(42px, 6vw, 72px);
    max-width: 750px;
}

.status-page p {
    color: var(--muted);
    max-width: 560px;
}

.status-page .button {
    margin-top: 18px;
}


/* =====================================================
   CONNEXION ADMIN
===================================================== */

.login-page {
    min-height: 72vh;
    display: grid;
    place-items: center;
    padding: 54px 0;
}

.login-card {
    width: min(460px, 100%);
    padding: 32px;
    border: 1px solid var(--line);
    border-radius: 28px;
    box-shadow: var(--shadow);
}

.login-card h1 {
    font-size: 45px;
}

.login-card>p {
    color: var(--muted);
    font-size: 13px;
    margin-bottom: 24px;
}

.login-card label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    margin: 14px 0;
}

.login-card input {
    display: block;
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 13px 14px;
    margin-top: 7px;
    background: #fff;
}

.flash-wrap {
    padding-top: 14px;
}

.flash {
    border-radius: 14px;
    padding: 12px 15px;
    font-size: 12px;
}

.flash-success {
    background: #e6f1e9;
    color: #355743;
}

.flash-error {
    background: #f7e4e1;
    color: #8b443b;
}


/* =====================================================
   NAV MOBILE
===================================================== */

.mobile-nav {
    display: none;
}


/* =====================================================
   TABLETTE
===================================================== */

@media(max-width: 960px) {

    .product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .product-gallery,
    .cart-summary {
        position: static;
    }

    .hero {
        grid-template-columns: 1fr .8fr;
        gap: 30px;
        min-height: 580px;
    }

    .hero-visual {
        min-height: 430px;
    }

    .craft-grid {
        gap: 35px;
    }

    .cart-layout {
        grid-template-columns: 1fr 320px;
        gap: 24px;
    }

    .contact-banner-copy {
        padding: 45px 45px;
    }

    .contact-banner-action {
        padding: 35px 20px;
    }

    .contact-button {
        padding-left: 20px;
        padding-right: 24px;
        gap: 14px;
        font-size: 14px;
    }
}


/* =====================================================
   MOBILE
===================================================== */

@media(max-width: 760px) {

    html,
    body {
        overflow-x: hidden;
    }

    body {
        padding-bottom: calc(68px + env(safe-area-inset-bottom));
    }

    .shell {
        width: min(100% - 20px, 1160px);
    }

    .site-header {
        position: sticky;
    }

    .header-inner {
        position: relative;
        height: 72px;
        justify-content: center;
    }

    .brand {
        position: absolute;
        left: 50%;
        top: 50%;
        height: 62px;
        justify-content: center;
        transform: translate(-50%, -50%);
    }

    .brand-mark {
        width: clamp(82px, 22vw, 95px);
        height: 58px;
        margin-left: 0;
    }

    .brand-copy,
    .desktop-nav,
    .cart-pill,
    .desktop-only {
        display: none;
    }

    .button {
        max-width: 100%;
        text-align: center;
        white-space: normal;
        line-height: 1.2;
    }


    /* HERO */

    .hero .eyebrow {
        order: 1;
        margin-bottom: 7px;
    }

    .hero {
        padding: 16px 0 24px;
        display: flex;
        flex-direction: column;
        min-height: auto;
        gap: 0;
    }

    .hero-copy {
        display: contents;
    }

    .hero-visual {
        order: 3;
        width: 100%;
        height: clamp(316px, 88vw, 350px);
        min-height: 0;
        margin-bottom: 14px;
        border-radius: 20px;
    }

    .hero h1 {
        order: 2;
        font-size: clamp(40px, 10.8vw, 43px);
        line-height: 1.03;
        letter-spacing: -.03em;
        margin-bottom: 12px;
        overflow-wrap: break-word;
    }

    .hero-copy>p {
        order: 4;
        font-size: 15px;
        margin: 0 0 13px;
    }

    .hero-actions {
        order: 5;
        gap: 9px;
    }

    .hero-actions .button {
        width: 100%;
        min-height: 48px;
    }

    .hero-actions .text-link {
        width: 100%;
        min-height: 32px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-size: 13px;
    }

    .hero-points {
        order: 6;
        color: var(--dark);
        font-size: 15px;
        font-weight: 500;
        flex-wrap: nowrap;
        justify-content: space-between;
        gap: 6px;
        margin-top: 10px;
        font-size: clamp(9.5px, 2.8vw, 11px);
        line-height: 1.2;
        white-space: nowrap;
    }

    .hero-points span {
        min-width: 0;
    }


    /* SECTIONS */

    .section {
        padding: 38px 0;
    }

    .hero+.section {
        padding-top: 22px;
    }

    .section-heading {
        margin-bottom: 18px;
    }


    /* PRODUITS */

    .product-grid {
        --product-grid-gap: 10px;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px var(--product-grid-gap);
    }

    .product-image {
        border-radius: 14px;
    }

    .product-card-body {
        height: 92px;
        display: grid;
        grid-template-rows: 1fr auto;
        gap: 7px;
        padding: 10px 2px 0;
    }

    .product-card-body>strong {
        display: block;
        margin-top: 0;
        font-size: 13px;
        line-height: 1.2;
        white-space: normal;
    }

    .product-card-body h3 {
        display: -webkit-box;
        overflow: hidden;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        overflow-wrap: anywhere;
        font-size: 16px;
        line-height: 1.15;
    }

    .product-grid .product-card:last-child:nth-child(odd) {
        grid-column: 1 / -1;
        justify-self: center;
        width: calc((100% - var(--product-grid-gap)) / 2);
    }

    .product-category {
        display: block;
        margin-bottom: 3px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .category-scroll {
        margin-inline: -10px;
        padding-inline: 10px;
        scroll-padding-inline: 10px;
    }

    .chip {
        flex: 0 0 auto;
    }

    .stock-badge {
        left: 8px;
        top: 8px;
        padding: 4px 6px;
        font-size: 7.5px;
        letter-spacing: .02em;
        background: rgba(255, 253, 249, .86);
    }


    /* SAVOIR-FAIRE */

    .craft-copy .eyebrow {
        margin-bottom: 6px;
    }

    .craft-section {
        padding: 34px 0;
    }

    .craft-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .craft-visual {
        min-height: 318px;
        border-radius: 20px;
    }

    .craft-copy {
        padding-left: 14px;
        border-left: 1px solid rgba(168, 93, 67, .22);
    }

    .craft-copy p {
        margin: 10px 0 0;
        font-size: 14px;
        line-height: 1.55;
    }


    /* CONTACT */

    .contact-banner-copy {
        padding: 28px 28px 12px;
    }

    .contact-banner-action {
        padding: 0 28px 28px;
    }

    .contact-button {
        padding: 0 22px;
        gap: 16px;
        font-size: 15px;
    }


    /* FOOTER */

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-links {
        flex-wrap: wrap;
    }

    .footer-contact-line {
        min-width: 0;
    }

    .footer-contact-line a,
    .footer-legal,
    .footer-credit {
        overflow-wrap: anywhere;
    }

    .footer-thanks {
        white-space: normal;
    }


    /* CATALOGUE */

    .page-intro {
        padding: 36px 0 16px;
    }

    .page-intro h1 {
        font-size: 50px;
        line-height: 1.04;
    }


    /* FICHE PRODUIT */

    .product-page {
        padding: 16px 0 50px;
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .gallery-main {
        aspect-ratio: 4 / 5;
        border-radius: 20px;
        max-height: 70vh;
    }

    .gallery-more {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .gallery-more .gallery-item {
        border-radius: 20px;
    }

    .gallery-item:hover img {
        transform: none;
    }

    .product-info {
        position: static;
        padding: 0;
    }

    .product-info h1 {
        font-size: 42px;
        line-height: 1.04;
        overflow-wrap: break-word;
    }

    .product-gallery {
        position: static;
    }

    .product-description {
        overflow-wrap: break-word;
    }

    .product-reassurance>div {
        display: block;
    }

    .product-reassurance small {
        display: block;
        text-align: left;
        margin-top: 3px;
    }

    .product-lightbox {
        gap: 10px;
        padding: max(12px, env(safe-area-inset-top)) 12px calc(18px + env(safe-area-inset-bottom));
    }

    .product-lightbox__close {
        width: 46px;
        height: 46px;
        font-size: 26px;
    }

    .product-lightbox__image {
        max-width: 100%;
        max-height: calc(100dvh - 116px);
        border-radius: 14px;
    }

    .product-lightbox__nav {
        display: none;
    }


    /* PANIER */

    .cart-layout {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .cart-row {
        grid-template-columns: 84px minmax(0, 1fr);
        gap: 14px;
    }

    .cart-summary {
        position: static;
        border-radius: 20px;
        padding: 22px;
    }

    .cart-title {
        display: block;
    }

    .cart-title h3 {
        font-size: 19px;
        overflow-wrap: anywhere;
    }

    .cart-title strong {
        display: block;
        margin-top: 6px;
    }

    .quantity-form label {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 8px;
    }

    .quantity-form select {
        margin-left: 0;
    }


    /* NAVIGATION MOBILE */

    .mobile-nav {
        position: fixed;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        z-index: 40;
        left: 0;
        right: 0;
        bottom: 0;
        min-height: 58px;
        padding: 4px 10px max(4px, env(safe-area-inset-bottom));
        background: rgba(255, 253, 249, .96);
        backdrop-filter: blur(15px);
        border-top: 1px solid var(--line);
        box-shadow: 0 -12px 28px rgba(54, 42, 33, .08);
    }

    .mobile-nav a {
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        min-height: 48px;
        gap: 1px;
        color: var(--muted);
    }

    .mobile-nav span {
        width: 28px;
        height: 25px;
        display: grid;
        place-items: center;
        color: var(--ink);
        font-size: 0;
        line-height: 1;
    }

    .mobile-nav span::before {
        content: "";
        display: block;
        width: 23px;
        height: 23px;
        background-position: center;
        background-repeat: no-repeat;
        background-size: contain;
    }

    .mobile-nav a:nth-child(1) span::before {
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23231c18' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 10.5 12 3l9 7.5'/%3E%3Cpath d='M5.5 9.5V21h13V9.5'/%3E%3Cpath d='M9.5 21v-6h5v6'/%3E%3C/svg%3E");
    }

    .mobile-nav a:nth-child(2) span::before {
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23231c18' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 10h16'/%3E%3Cpath d='M5 10l1-5h12l1 5'/%3E%3Cpath d='M6 10v10h12V10'/%3E%3Cpath d='M9 20v-5h6v5'/%3E%3C/svg%3E");
    }

    .mobile-nav a:nth-child(3) span::before {
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23231c18' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 8h12l-1 12H7L6 8Z'/%3E%3Cpath d='M9 8a3 3 0 0 1 6 0'/%3E%3C/svg%3E");
    }

    .mobile-nav small {
        font-size: 8px;
        font-weight: 700;
        letter-spacing: .03em;
        opacity: .78;
    }

    .mobile-cart b {
        position: absolute;
        top: 2px;
        left: calc(50% + 9px);
        min-width: 16px;
        height: 16px;
        display: grid;
        place-items: center;
        border-radius: 50%;
        background: var(--dark);
        color: #fff;
        font-size: 8px;
    }

    .image-placeholder.large {
        min-height: 360px;
    }
}


/* =====================================================
   PETITS MOBILES
===================================================== */

@media(max-width: 420px) {

    .hero h1 {
        font-size: clamp(40px, 10.5vw, 42px);
    }

    .hero-visual {
        height: clamp(310px, 88vw, 348px);
        min-height: 0;
    }

    .product-grid {
        --product-grid-gap: 9px;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px var(--product-grid-gap);
    }

    .product-card-body h3 {
        font-size: 15px;
    }

    .product-card-body>strong {
        font-size: 13px;
    }

    .stock-badge {
        font-size: 7.5px;
        padding: 4px 6px;
    }

    .section h2,
    .craft-copy h2 {
        font-size: 32px;
    }

    .page-intro h1 {
        font-size: 44px;
    }

    .product-info h1 {
        font-size: 38px;
    }

    .login-card {
        padding: 24px;
    }

    .login-card h1 {
        font-size: 40px;
    }

    /* CONTACT */

    .contact-banner-copy {
        padding: 26px 22px 10px;
    }

    .contact-banner-action {
        padding: 0 22px 24px;
    }

    .contact-button {
        min-height: 58px;
        padding: 0 18px;
        gap: 13px;
        font-size: 14px;
    }

}

@media(max-width: 340px) {

    .hero-points {
        gap: 4px;
        font-size: 9px;
    }

    .cart-row {
        grid-template-columns: 76px minmax(0, 1fr);
        gap: 11px;
    }

    .contact-button {
        min-height: 58px;
        font-size: 13px;
    }

    .contact-button-icon,
    .contact-button-separator {
        display: none;
    }

    .mobile-nav {
        padding-inline: 6px;
    }

    .footer-brand {
        grid-template-columns: 58px minmax(0, 1fr);
        gap: 10px;
    }

    .footer-logo-box {
        width: 58px;
        max-width: 58px;
        min-height: 58px;
    }

    .footer-column nav a,
    .footer-contact-line {
        font-size: 11.5px;
    }
}