/* Polices hébergées sur le site (Cormorant Garamond, Inter, Kaushan Script — licence SIL Open Font License).
   Jeux de caractères latin + latin étendu, polices variables : un fichier couvre toutes les graisses. */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/cormorant-garamond-italic-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/cormorant-garamond-italic-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/cormorant-garamond-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/cormorant-garamond-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/cormorant-garamond-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/cormorant-garamond-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/cormorant-garamond-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/cormorant-garamond-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(../fonts/inter-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(../fonts/inter-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/inter-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/inter-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/inter-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/inter-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/inter-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/inter-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Kaushan Script';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/kaushan-script-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Kaushan Script';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/kaushan-script-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ==========================================================================
   Céli'art — feuille de style principale
   Charte : logo #9d4040 · titres #692929 · gris #d4cfcf (bordures, bandeaux, pied de page)
   ========================================================================== */

:root {
    /* Couleurs de la charte */
    /* Couleurs de la charte */
    --brick: #9d4040;        /* couleur du logo : accents, boutons, prix, liens */
    --brick-dark: #692929;   /* couleur des titres, survols */
    --mist: #d4cfcf;         /* gris de la charte : bordures, bandeaux, pied de page */

    --paper: #f4f4f4;        /* fond du site */
    --mist-light: #ebe8e8;   /* gris de la charte éclairci : fonds d'images */
    --line: var(--mist);
    --field: #b5adad;        /* bordure des champs de formulaire (plus marquée pour rester visible) */
    --brick-soft: #f6eded;
    --white: #ffffff;
    --ink: #2a2424;
    --ink-soft: #645a5a;
    --success: #4d6b50;

    --font-script: 'Kaushan Script', cursive;
    --font-serif: 'Cormorant Garamond', Georgia, serif;
    --font-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

    --radius: 2px;
    --container: 1240px;
    --gutter: clamp(16px, 4vw, 40px);
    --ease: cubic-bezier(.2, .7, .2, 1);
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--font-sans);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.65;
    color: var(--ink);
    background: var(--paper);
    -webkit-font-smoothing: antialiased;
}

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

a { color: var(--brick); text-decoration: none; transition: color .2s; }
a:hover { color: var(--brick-dark); }

h1, h2, h3 { font-family: var(--font-serif); font-weight: 500; line-height: 1.15; margin: 0 0 .5em; color: var(--brick-dark); }

p { margin: 0 0 1em; }

button { font: inherit; }

:focus-visible { outline: 2px solid var(--brick); outline-offset: 3px; }

.sr-only, .hp {
    position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 100; }
.skip-link:focus { left: 8px; color: #fff; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 760px; }
.center { text-align: center; }

/* ---------- Logo ---------- */
.logo-mark {
    font-family: var(--font-script);
    color: var(--brick);
    font-size: 30px;
    line-height: 1;
    letter-spacing: .01em;
    white-space: nowrap;
    display: inline-block;
}
.logo-mark .logo-apos { margin: 0 .04em 0 .02em; }
.logo-mark .logo-art { display: inline-block; transform: translateY(.18em); }
.logo-mark--small { font-size: 24px; }
.logo-mark--large { font-size: clamp(48px, 7vw, 72px); margin-bottom: .3em; }
.logo { display: inline-flex; align-items: center; padding: 6px 0; }
.logo-img { height: 62px; width: auto; transition: opacity .2s; }
.logo:hover .logo-img { opacity: .8; }

/* ---------- Header ---------- */
.site-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(244, 244, 244, .94);
    backdrop-filter: saturate(1.4) blur(10px);
    -webkit-backdrop-filter: saturate(1.4) blur(10px);
    border-bottom: 1px solid transparent;
    transition: border-color .3s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 24px; }

.main-nav { display: flex; gap: 36px; }
.main-nav a {
    color: var(--ink); font-size: 13px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase;
    position: relative; padding: 6px 0;
}
.main-nav a::after {
    content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--brick);
    transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.main-nav a:hover, .main-nav a.is-active { color: var(--brick); }
.main-nav a:hover::after, .main-nav a.is-active::after { transform: scaleX(1); }

/* Menu déroulant « L'atelier » : survol, clic ou clavier */
.nav-dropdown { position: relative; display: flex; align-items: center; }
.nav-dropdown-toggle {
    display: inline-flex; align-items: center; gap: 7px; background: none; border: 0; cursor: pointer; position: relative;
    color: var(--ink); font: inherit; font-size: 13px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; padding: 6px 0;
}
.nav-dropdown-toggle::after {
    content: ''; position: absolute; left: 0; right: 17px; bottom: 0; height: 1px; background: var(--brick);
    transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.nav-dropdown-toggle:hover, .nav-dropdown-toggle.is-active, .nav-dropdown.is-open .nav-dropdown-toggle { color: var(--brick); }
.nav-dropdown-toggle.is-active::after, .nav-dropdown-toggle:hover::after { transform: scaleX(1); }
.nav-dropdown-chevron { transition: transform .25s var(--ease); }
.nav-dropdown-menu {
    position: absolute; top: 100%; left: 50%; z-index: 60; min-width: 210px; margin-left: -105px; padding-top: 14px;
    opacity: 0; visibility: hidden; transform: translateY(-4px); transition: opacity .2s, transform .2s var(--ease), visibility .2s;
}
.nav-dropdown-menu::before { content: ''; position: absolute; inset: 14px 0 0; background: var(--white); border: 1px solid var(--mist); box-shadow: 0 12px 28px rgba(42, 36, 36, .08); z-index: -1; }
.main-nav .nav-dropdown-menu a { display: block; padding: 12px 22px; font-size: 12px; letter-spacing: .12em; }
.main-nav .nav-dropdown-menu a::after { content: none; }
.main-nav .nav-dropdown-menu a:hover, .main-nav .nav-dropdown-menu a.is-active { color: var(--brick); background: var(--mist-light); }
.nav-dropdown.is-open .nav-dropdown-menu { opacity: 1; visibility: visible; transform: none; }
.nav-dropdown.is-open .nav-dropdown-chevron { transform: rotate(180deg); }
@media (hover: hover) and (min-width: 861px) {
    .nav-dropdown:hover .nav-dropdown-menu { opacity: 1; visibility: visible; transform: none; }
    .nav-dropdown:hover .nav-dropdown-chevron { transform: rotate(180deg); }
}

.header-actions { display: flex; align-items: center; gap: 12px; }
.cart-link { position: relative; color: var(--ink); display: inline-flex; padding: 8px; transition: color .2s; }
.cart-link:hover { color: var(--brick); }
.cart-count {
    position: absolute; top: 0; right: -2px; min-width: 18px; height: 18px; padding: 0 5px;
    border-radius: 9px; background: var(--brick); color: #fff; font-size: 11px; font-weight: 600;
    display: flex; align-items: center; justify-content: center;
}

/* Burger en SVG : traits vectoriels d'épaisseur identique sur tous les écrans */
.nav-toggle { display: none; background: none; border: 0; padding: 6px; margin-right: -6px; color: var(--ink); cursor: pointer; line-height: 0; }
.nav-toggle svg { display: block; }
.nav-toggle-line { transform-origin: 12px 12px; transition: transform .3s var(--ease); }
.nav-toggle[aria-expanded="true"] .nav-toggle-line--top { transform: rotate(45deg) translateY(3px); }
.nav-toggle[aria-expanded="true"] .nav-toggle-line--bottom { transform: rotate(-45deg) translateY(-3px); }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 15px 30px; border: 1px solid var(--brick); border-radius: var(--radius);
    font-size: 13px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase;
    cursor: pointer; transition: background .25s, color .25s, border-color .25s;
}
.btn-primary { background: var(--brick); color: #fff; }
.btn-primary:hover { background: var(--brick-dark); border-color: var(--brick-dark); color: #fff; }
.btn-ghost { background: transparent; color: var(--brick); }
.btn-ghost:hover { background: var(--brick); color: #fff; }
.btn-block { width: 100%; }

.link-btn { background: none; border: 0; padding: 0; color: var(--ink-soft); font-size: 13px; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.link-btn:hover { color: var(--brick-dark); }
.link-btn--danger { color: #a33; }

.link-arrow { font-size: 13px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; display: inline-flex; align-items: center; gap: 8px; }
.link-arrow::after { content: '→'; transition: transform .25s var(--ease); }
.link-arrow:hover::after { transform: translateX(4px); }
.link-arrow--back::after { content: none; }
.link-arrow--back::before { content: '←'; }
.cart-continue-top { margin-top: 4px; }

.eyebrow { font-size: 12px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--brick); margin-bottom: 14px; }

/* ---------- Flash ---------- */
.flashes { padding-top: 16px; }
.flash { padding: 14px 18px; border-radius: var(--radius); font-size: 14px; margin: 0 0 12px; border-left: 3px solid; }
.flash-success { background: #eef3ee; border-color: var(--success); color: #2f4632; }
.flash-error { background: var(--brick-soft); border-color: var(--brick); color: var(--brick-dark); }

/* ---------- Hero ---------- */
.hero { padding: clamp(32px, 6vw, 80px) 0 clamp(48px, 8vw, 110px); }
.hero-inner { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.hero-title { font-size: clamp(42px, 6.2vw, 84px); font-weight: 400; letter-spacing: -.01em; margin-bottom: 24px; }
.hero-title em { font-style: italic; color: var(--brick); }
.hero-lead { font-size: 17px; color: var(--ink-soft); max-width: 440px; margin-bottom: 36px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-media { position: relative; display: block; overflow: hidden; aspect-ratio: 4 / 5; background: var(--mist-light); }
.hero-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.hero-media:hover img { transform: scale(1.03); }
.hero-slide { position: absolute; inset: 0; display: block; opacity: 0; visibility: hidden; transition: opacity .9s var(--ease), visibility 0s .9s; }
.hero-slide.is-active { opacity: 1; visibility: visible; transition: opacity .9s var(--ease), visibility 0s; z-index: 1; }
.hero-slideshow .gallery-nav { z-index: 3; }
.hero-dots { position: absolute; left: 0; right: 0; bottom: 18px; z-index: 3; display: flex; justify-content: center; gap: 8px; pointer-events: none; }
.hero-dot { pointer-events: auto; width: 8px; height: 8px; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .65); box-shadow: 0 0 0 1px rgba(42, 36, 36, .15); cursor: pointer; transition: background .2s, transform .2s; }
.hero-dot:hover { background: #fff; }
.hero-dot.is-active { background: var(--brick); transform: scale(1.25); }
@media (hover: hover) and (min-width: 861px) {
    .hero-slideshow .gallery-nav { opacity: 0; }
    .hero-slideshow:hover .gallery-nav, .hero-slideshow .gallery-nav:focus-visible { opacity: .85; }
    .hero-slideshow:hover .gallery-nav:hover { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
    .hero-slide, .hero-slide.is-active { transition: none; }
}
.hero-caption {
    position: absolute; left: 20px; bottom: 20px; background: rgba(250, 248, 247, .94); color: var(--ink);
    font-size: 13px; padding: 10px 16px; letter-spacing: .02em;
}

/* ---------- Sections ---------- */
.section { padding: clamp(56px, 8vw, 110px) 0; }
.section--tight { padding-top: 16px; }
.section--tint { background: var(--mist); }
.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 40px; }
.section-title { font-size: clamp(30px, 3.6vw, 44px); margin-bottom: 40px; }
.section-head .section-title { margin: 0; }
.section-title--center { text-align: center; }

.page-head { padding: clamp(40px, 6vw, 80px) 0 32px; }
.page-title { font-size: clamp(38px, 5vw, 60px); font-weight: 400; }
.page-lead { font-size: 18px; color: var(--ink-soft); max-width: 620px; }
.center .page-lead { margin-left: auto; margin-right: auto; }

.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.chip {
    padding: 8px 18px; border: 1px solid var(--line); border-radius: 40px; color: var(--ink);
    font-size: 13px; letter-spacing: .04em; transition: all .2s; background: transparent;
}
.chip:hover { border-color: var(--brick); color: var(--brick); }
.chip.is-active { background: var(--brick-dark); border-color: var(--brick-dark); color: #fff; }

/* ---------- Product grid ---------- */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 44px) clamp(16px, 2.4vw, 32px); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card-link { display: block; color: var(--ink); }
.card-media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--mist-light); }
.card-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease), opacity .6s var(--ease); }
.card-img--alt { opacity: 0; }
.card-link:hover .card-img { transform: scale(1.04); }
.card-link:hover .card-img--alt { opacity: 1; }
.card-body { padding: 18px 2px 0; }
.card-cat { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-soft); margin: 0 0 6px; }
.card-title { font-size: 23px; margin: 0 0 4px; transition: color .2s; }
.card-title { color: var(--ink); }
.card-link:hover .card-title { color: var(--brick); }
.card-price { font-size: 15px; color: var(--brick); margin: 0; font-weight: 500; }
/* Œuvre vendue : image éclaircie par un voile (et non par l'opacité des images, qui laisserait voir la 2e photo en transparence) */
.is-sold .card-img { filter: grayscale(.4); }
.is-sold .card-media::after { content: ""; position: absolute; inset: 0; z-index: 1; background: var(--mist-light); opacity: .25; pointer-events: none; }
.is-sold .card-price { color: var(--ink-soft); font-weight: 400; }

.badge {
    position: absolute; top: 14px; left: 14px; z-index: 2; padding: 6px 12px; font-size: 11px;
    letter-spacing: .14em; text-transform: uppercase; background: var(--paper); color: var(--ink);
}
.badge--sold { background: var(--brick); color: #fff; }

/* ---------- Categories ---------- */
.categories { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(16px, 3vw, 32px); }
.category-tile { position: relative; display: block; aspect-ratio: 5 / 4; overflow: hidden; background: var(--mist); }
.category-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.category-tile::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(42, 36, 36, .55), transparent 55%); }
.category-tile:hover img { transform: scale(1.04); }
.category-name {
    position: absolute; left: 28px; bottom: 24px; z-index: 1; color: #fff;
    font-family: var(--font-serif); font-size: clamp(28px, 3.4vw, 40px); line-height: 1;
}

/* ---------- About teaser ---------- */
.about-teaser { display: grid; grid-template-columns: auto 1fr; gap: clamp(32px, 8vw, 120px); align-items: center; max-width: 1000px; }
.about-teaser-logo { width: clamp(150px, 20vw, 240px); height: auto; }
.about-teaser p { color: var(--ink-soft); font-size: 17px; }
.about-teaser .section-title { margin-bottom: 20px; }

/* ---------- Product page ---------- */
.breadcrumb { display: flex; gap: 10px; font-size: 13px; color: var(--ink-soft); padding: 28px 0; }
.breadcrumb a { color: var(--ink-soft); }
.breadcrumb a:hover { color: var(--brick); }

.product { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(32px, 6vw, 90px); align-items: start; }
.gallery { position: sticky; top: 100px; }
.gallery-stage { position: relative; }
.gallery-nav {
    position: absolute; top: 50%; z-index: 3; width: 44px; height: 44px; margin-top: -22px;
    display: flex; align-items: center; justify-content: center; padding: 0;
    border: 1px solid var(--mist); border-radius: 50%; background: rgba(255, 255, 255, .88); color: var(--ink);
    cursor: pointer; opacity: .85; transition: opacity .2s, background .2s, color .2s, border-color .2s;
}
.gallery-nav--prev { left: 14px; }
.gallery-nav--next { right: 14px; }
.gallery-nav:hover, .gallery-nav:focus-visible { opacity: 1; background: var(--brick); border-color: var(--brick); color: #fff; }
.gallery-counter {
    position: absolute; right: 14px; bottom: 14px; z-index: 3; padding: 4px 10px; border-radius: 12px;
    background: rgba(255, 255, 255, .88); color: var(--ink); font-size: 12px; letter-spacing: .04em; pointer-events: none;
}
@media (hover: hover) and (min-width: 861px) {
    .gallery-nav { opacity: 0; }
    .gallery-stage:hover .gallery-nav, .gallery-nav:focus-visible { opacity: .85; }
    .gallery-stage:hover .gallery-nav:hover { opacity: 1; }
}
.gallery-main { position: relative; display: block; width: 100%; padding: 0; border: 0; background: var(--mist-light); cursor: zoom-in; aspect-ratio: 4 / 5; overflow: hidden; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; transition: opacity .3s; }
.gallery-thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(76px, 1fr)); gap: 10px; margin-top: 12px; }
.gallery-thumb { padding: 0; border: 1px solid transparent; background: var(--mist-light); aspect-ratio: 1; cursor: pointer; opacity: .6; transition: opacity .2s, border-color .2s; }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumb:hover, .gallery-thumb.is-active { opacity: 1; border-color: var(--brick); }

.product-info { padding-top: 8px; }
.product-title { font-size: clamp(36px, 4.2vw, 54px); font-weight: 400; margin-bottom: 12px; }
.product-price { font-size: 22px; color: var(--brick); margin-bottom: 32px; }
.product-buy { margin-bottom: 12px; }
.product-note { font-size: 13px; color: var(--ink-soft); text-align: center; margin-bottom: 36px; }
.product-desc { font-size: 16px; color: var(--ink); padding: 28px 0; border-top: 1px solid var(--line); }
.specs { margin: 0 0 8px; border-top: 1px solid var(--line); }
.specs div { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.specs dt { color: var(--ink-soft); }
.specs dd { margin: 0; text-align: right; }
.accordion { border-bottom: 1px solid var(--line); }
.accordion summary {
    padding: 16px 0; cursor: pointer; font-size: 14px; font-weight: 500; list-style: none;
    display: flex; justify-content: space-between; align-items: center;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: '+'; font-size: 20px; font-weight: 300; color: var(--brick); transition: transform .3s; }
.accordion[open] summary::after { transform: rotate(45deg); }
.accordion p { font-size: 14px; color: var(--ink-soft); padding-bottom: 12px; }

.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(244, 244, 244, .97); display: flex; align-items: center; justify-content: center; padding: 40px; cursor: zoom-out; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 100%; max-height: 100%; object-fit: contain; }
.lightbox-close { position: absolute; top: 16px; right: 20px; background: none; border: 0; font-size: 40px; line-height: 1; color: var(--ink); cursor: pointer; font-weight: 300; }

/* ---------- Cart ---------- */
.cart { display: grid; grid-template-columns: 1fr 380px; gap: clamp(32px, 5vw, 72px); align-items: start; }
.cart-lines { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.cart-line { display: grid; grid-template-columns: 110px 1fr auto; gap: 24px; padding: 24px 0; border-bottom: 1px solid var(--line); align-items: start; }
.cart-thumb { display: block; aspect-ratio: 4 / 5; background: var(--mist-light); overflow: hidden; }
.cart-thumb img { width: 100%; height: 100%; object-fit: cover; }
.cart-line-title { font-family: var(--font-serif); font-size: 24px; color: var(--brick-dark); line-height: 1.2; }
.cart-line-title:hover { color: var(--brick); }
.cart-line-meta { font-size: 14px; color: var(--ink-soft); margin: 6px 0 14px; }
.cart-line-actions { display: flex; align-items: center; gap: 18px; }
.cart-line-actions select { padding: 6px 10px; border: 1px solid var(--field); background: #fff; font: inherit; font-size: 14px; }
.cart-line-total { font-weight: 500; margin: 0; }
.cart-summary { background: var(--white); padding: 32px; border: 1px solid var(--mist); position: sticky; top: 100px; }
.cart-summary h2 { font-size: 28px; margin-bottom: 20px; }
.cart-summary dl { margin: 0 0 24px; }
.cart-summary dl div { display: flex; justify-content: space-between; padding: 8px 0; font-size: 15px; }
.cart-summary dt { color: var(--ink-soft); }
.cart-summary dd { margin: 0; }
.cart-total { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 16px !important; font-size: 18px !important; }
.cart-total dt, .cart-total dd { color: var(--ink) !important; font-weight: 600; }
.secure-note { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 12px; color: var(--ink-soft); margin: 14px 0 20px; text-align: center; }
.cart-summary .link-arrow { display: flex; justify-content: center; }

.empty { text-align: center; padding: 60px 0; color: var(--ink-soft); }
.empty .btn { margin-top: 12px; }

/* ---------- Forms ---------- */
.form .field { margin-bottom: 22px; }
.form label { display: block; font-size: 13px; font-weight: 500; margin-bottom: 8px; letter-spacing: .02em; }
.form input[type=text], .form input[type=email], .form input[type=password], .form input[type=number], .form input[type=search], .form textarea, .form select {
    width: 100%; padding: 13px 14px; border: 1px solid var(--field); border-radius: var(--radius);
    background: var(--white); font: inherit; font-size: 15px; color: var(--ink); transition: border-color .2s, box-shadow .2s;
}
.form input:focus, .form textarea:focus, .form select:focus { outline: none; border-color: var(--brick); box-shadow: 0 0 0 3px var(--brick-soft); }

/* Menus déroulants : flèche dessinée, avec une marge à droite (la flèche native colle au bord) */
.form select, .cart-line-actions select {
    -webkit-appearance: none; -moz-appearance: none; appearance: none;
    padding-right: 42px;
    background-color: var(--white);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' fill='none' stroke='%23645a5a' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 12px 8px;
    cursor: pointer;
}
.cart-line-actions select { padding: 6px 34px 6px 12px; background-position: right 12px center; border-radius: var(--radius); }
.form select:focus { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' fill='none' stroke='%239d4040' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.form textarea { resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.optional { color: var(--ink-soft); font-weight: 400; }
.field-error { color: var(--brick); font-size: 13px; margin: 6px 0 0; }
.has-error input, .has-error textarea { border-color: var(--brick); }

/* ---------- Prose ---------- */
.prose h2 { font-size: 30px; margin-top: 1.6em; }
.prose p { color: var(--ink-soft); font-size: 17px; }
.prose .page-lead { color: var(--ink); font-size: 21px; font-family: var(--font-serif); line-height: 1.45; }
.notice { background: var(--brick-soft); color: var(--brick-dark) !important; padding: 12px 16px; font-size: 14px !important; }

/* ---------- Footer ---------- */
.site-footer { background: var(--mist); color: var(--ink); margin-top: 40px; }
.footer-inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-top: 64px; padding-bottom: 48px; }
.footer-logo { height: 72px; width: auto; margin-bottom: 18px; }
.footer-brand p { font-size: 14px; }
.footer-nav { display: flex; flex-direction: column; gap: 10px; }
.site-footer a { color: var(--ink); font-size: 14px; }
.site-footer a:hover { color: var(--brick); }
.footer-social { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.insta-link { display: inline-flex; align-items: center; gap: 10px; }
.footer-bottom { border-top: 1px solid rgba(42, 36, 36, .12); padding-top: 20px; padding-bottom: 28px; }
.footer-bottom p { font-size: 12px; margin: 0; color: #4f4646; }

/* ---------- Animations ---------- */
@media (prefers-reduced-motion: no-preference) {
    .reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
    .reveal.is-visible { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .grid--4 { grid-template-columns: repeat(2, 1fr); }
    .cart { grid-template-columns: 1fr; }
    .cart-summary { position: static; }
}

@media (max-width: 860px) {
    .nav-toggle { display: block; }
    /* Menu mobile : panneau plein écran sous l'en-tête. Positionné en absolu par rapport à l'en-tête
       (son backdrop-filter empêche un position: fixed relatif à l'écran). */
    .main-nav {
        position: absolute; top: 100%; left: 0; right: 0;
        height: calc(100vh - 76px); height: calc(100dvh - 76px);
        background: var(--paper); border-top: 1px solid var(--mist);
        flex-direction: column; align-items: center; justify-content: flex-start; padding-top: 48px; gap: 0;
        overflow-y: auto; overscroll-behavior: contain;
        opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
    }
    .main-nav a { width: min(320px, 80%); text-align: center; padding: 18px 0; border-bottom: 1px solid var(--mist); }
    .main-nav a::after { content: none; }
    .main-nav a.is-active { color: var(--brick); }
    .main-nav a { font-size: 16px; }
    .main-nav.is-open { opacity: 1; visibility: visible; }
    /* Mobile : « L'atelier » devient un intitulé, ses pages sont listées dessous */
    .nav-dropdown { flex-direction: column; width: min(320px, 80%); border-bottom: 1px solid var(--mist); padding: 18px 0 8px; }
    .nav-dropdown-toggle { pointer-events: none; font-size: 16px; padding: 0 0 6px; }
    .nav-dropdown-toggle::after, .nav-dropdown-chevron { display: none; }
    /* visibility: inherit (et non visible) : sinon ces liens restent cliquables quand le menu fermé est masqué */
    .nav-dropdown-menu { position: static; margin: 0; min-width: 0; width: 100%; padding: 0; opacity: 1; visibility: inherit; transform: none; }
    .nav-dropdown-menu::before { content: none; }
    .main-nav .nav-dropdown-menu a { width: 100%; border: 0; padding: 9px 0; font-size: 13px; color: var(--ink-soft); }
    .main-nav .nav-dropdown-menu a:hover, .main-nav .nav-dropdown-menu a.is-active { background: none; }
    body.nav-open { overflow: hidden; }

    .hero-inner { grid-template-columns: 1fr; }
    .hero-media { order: -1; aspect-ratio: 4 / 4.2; }
    .grid { grid-template-columns: repeat(2, 1fr); }
    .grid--home .card:last-child:nth-child(odd) { display: none; }
    .product { grid-template-columns: 1fr; }
    .gallery { position: static; }
    .about-teaser { grid-template-columns: 1fr; text-align: center; }
    .footer-inner { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
    .header-inner { height: 64px; }
    .main-nav { height: calc(100vh - 64px); height: calc(100dvh - 64px); }
    .logo-img { height: 50px; }
    .grid, .grid--4 { gap: 28px 14px; }
    .card-title { font-size: 19px; }
    .card-price { font-size: 14px; }
    .categories { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; gap: 0; }
    .cart-line { grid-template-columns: 84px 1fr; gap: 16px; }
    .cart-line-total { grid-column: 2; }
    .cart-summary { padding: 24px 20px; }
    .section-head { margin-bottom: 28px; }
    .hero-actions { flex-direction: column; }
    .hero-actions .btn { width: 100%; }
}

/* ---------- Contenu éditable ---------- */
.prose ul { padding-left: 1.2em; color: var(--ink-soft); font-size: 17px; margin: 0 0 1em; }
.prose li { margin-bottom: .3em; }
.prose h3 { font-size: 23px; margin-top: 1.4em; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.contact-intro { margin-bottom: 32px; }

/* ---------- Livraison point relais ---------- */
.cart-main { min-width: 0; }
.delivery { margin-top: 40px; }
.delivery-title { font-size: 28px; margin-bottom: 14px; }
.delivery-intro { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-soft); font-size: 15px; }
.delivery-icon { flex: none; color: var(--brick); margin-top: 2px; }
.relay-selected { background: var(--white); border: 1px solid var(--brick); padding: 18px 20px; margin: 18px 0; }
.relay-selected[hidden], .relay-picker[hidden], .checkout-hint[hidden] { display: none; }
.relay-selected-label { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--brick); margin: 0 0 6px; }
.relay-selected-address { margin: 0 0 10px; font-size: 15px; }
.relay-picker { margin-top: 18px; }
.relay-widget { background: var(--white); border: 1px solid var(--mist); min-height: 120px; }
.relay-widget .leaflet-container { font-family: var(--font-sans); }
.cart-summary dt small { font-size: 12px; color: var(--ink-soft); }
.free-shipping-note { font-size: 13px; color: var(--success); text-align: center; margin: -12px 0 18px; }
.checkout-hint { font-size: 13px; color: var(--ink-soft); text-align: center; margin: 10px 0 0; }
.cgv-check { margin: 0 0 14px; color: var(--ink-soft); }
.cgv-check a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.accordion-body p { font-size: 14px; color: var(--ink-soft); padding-bottom: 12px; }
.accordion-body a { text-decoration: underline; text-underline-offset: 3px; }

/* Œuvre vendue : message + action selon la catégorie */
.sold-box { margin-bottom: 36px; }
.sold-message { font-size: 15px; color: var(--ink-soft); margin-bottom: 16px; }
.stock-alert-form { display: flex; gap: 10px; }
.stock-alert-form input[type=email] { flex: 1; min-width: 0; }
.stock-alert-form .btn { flex: none; padding-left: 22px; padding-right: 22px; }
.stock-alert-note { font-size: 12px; color: var(--ink-soft); margin: 10px 0 0; }
@media (max-width: 560px) {
    .stock-alert-form { flex-direction: column; }
}

/* Images insérées dans le texte des pages ([image N]) */
.prose-figure { margin: 2em 0; }
.prose-figure img { display: block; max-width: 100%; height: auto; margin: 0 auto; }
.prose-figure figcaption { margin-top: 10px; font-size: 14px; font-style: italic; color: var(--ink-soft); text-align: center; }
.prose-figure--large { width: min(1100px, calc(100vw - 2 * var(--gutter))); position: relative; left: 50%; transform: translateX(-50%); }
.prose-figure--large img { width: 100%; }
/* Listes et encadrés à côté d'une image flottante : ne passent pas dessous */
.prose ul, .prose .notice { display: flow-root; }
.prose h2, .prose h3, .prose-figure--large, .prose-figure:not(.prose-figure--gauche):not(.prose-figure--droite) { clear: both; }
.prose::after { content: ""; display: table; clear: both; }
@media (min-width: 700px) {
    .prose-figure--gauche, .prose-figure--droite { width: 45%; max-width: 340px; margin-top: .4em; margin-bottom: 1.2em; }
    .prose-figure--gauche { float: left; margin-right: 2em; }
    .prose-figure--droite { float: right; margin-left: 2em; }
    .prose-figure--gauche figcaption, .prose-figure--droite figcaption { text-align: left; }
}

/* ---------- Avis clients (accueil) ---------- */
.reviews-section .section-head { align-items: center; }
.reviews-nav { display: flex; gap: 8px; }
.reviews-arrow { width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 50%; background: var(--white); color: var(--ink); cursor: pointer; transition: border-color .2s, color .2s, opacity .2s; }
.reviews-arrow:hover:not(:disabled) { border-color: var(--brick); color: var(--brick); }
.reviews-arrow:disabled { opacity: .35; cursor: default; }
.reviews-track { display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; overscroll-behavior-x: contain; scrollbar-width: none; padding: 4px 2px 8px; }
.reviews-track::-webkit-scrollbar { display: none; }
.reviews-track:focus-visible { outline: 2px solid var(--brick); outline-offset: 4px; }
.review-card { flex: 0 0 calc((100% - 48px) / 3); scroll-snap-align: start; margin: 0; display: flex; flex-direction: column; padding: 30px 28px 24px; background: var(--white); border: 1px solid var(--mist-light); }
.review-card-text { position: relative; margin: 0; padding-top: 30px; font-family: var(--font-serif); font-size: 19px; line-height: 1.5; color: var(--ink); }
.review-card-text::before { content: "“"; position: absolute; top: -14px; left: -4px; font-size: 64px; line-height: 1; color: var(--brick); opacity: .8; }
.review-card-text p { margin: 0; display: -webkit-box; -webkit-line-clamp: 7; -webkit-box-orient: vertical; overflow: hidden; }
.review-card.is-open .review-card-text p { display: block; -webkit-line-clamp: unset; }
.review-card-more { align-self: flex-start; margin-top: 8px; padding: 0; border: 0; background: none; color: var(--brick); font-size: 13px; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.review-card-foot { margin-top: auto; padding-top: 22px; display: flex; flex-direction: column; gap: 2px; }
.review-card-author { font-weight: 600; font-size: 15px; color: var(--ink); }
.review-card-meta { font-size: 12px; color: var(--ink-soft); }
.review-card-product { display: flex; align-items: center; gap: 12px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--mist-light); font-size: 13px; color: var(--ink-soft); }
a.review-card-product:hover { color: var(--brick); }
.review-card-product img { width: 44px; height: 55px; object-fit: cover; flex-shrink: 0; background: var(--mist-light); }
.reviews-note { margin: 18px 0 0; font-size: 12px; color: var(--ink-soft); }
@media (max-width: 960px) { .review-card { flex-basis: calc((100% - 24px) / 2); } }
@media (max-width: 640px) {
    .reviews-track { gap: 14px; }
    .review-card { flex-basis: 86%; padding: 26px 22px 20px; }
    .reviews-nav { display: none; }
}
@media (prefers-reduced-motion: reduce) { .reviews-track { scroll-behavior: auto; } }

/* Page « Votre avis » */
.review-intro { margin-bottom: 28px; }
.review-items { border: 0; padding: 0; margin: 0 0 22px; }
.review-items legend { font-size: 13px; font-weight: 500; margin-bottom: 10px; }
.review-item { display: flex !important; align-items: center; gap: 14px; padding: 10px 14px; border: 1px solid var(--line); background: var(--white); margin-bottom: 8px !important; font-size: 15px !important; font-weight: 400 !important; cursor: pointer; }
.review-item:has(input:checked) { border-color: var(--brick); box-shadow: 0 0 0 1px var(--brick); }
.review-item input { accent-color: var(--brick); }
.review-item img { width: 48px; height: 60px; object-fit: cover; }
.review-item--single { cursor: default; margin-bottom: 22px !important; }
.check-line { display: flex !important; align-items: flex-start; gap: 10px; font-weight: 400 !important; font-size: 14px !important; letter-spacing: 0 !important; cursor: pointer; }
.check-line input { width: 17px; height: 17px; margin-top: 2px; flex-shrink: 0; accent-color: var(--brick); }
.form-note { margin: 14px 0 0; font-size: 13px; color: var(--ink-soft); }
.review-thanks { margin: 24px 0; padding: 18px 22px; background: var(--white); border-left: 3px solid var(--brick); font-family: var(--font-serif); font-size: 19px; color: var(--ink); }

/* Formulaire de contact : photos jointes */
.photo-drop { position: relative; display: block !important; margin: 0 !important; padding: 18px 20px; border: 1.5px dashed var(--field); border-radius: var(--radius); background: var(--white); cursor: pointer; transition: border-color .2s, background .2s; }
.photo-drop:hover, .photo-drop.is-over { border-color: var(--brick); background: var(--brick-soft); }
.photo-drop input { position: absolute; inset: 0; width: 100%; opacity: 0; cursor: pointer; }
.photo-drop-text { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; font-size: 15px; font-weight: 400; color: var(--ink); letter-spacing: 0; }
.photo-drop-text svg { color: var(--brick); flex-shrink: 0; }
.photo-drop-text small { flex-basis: 100%; padding-left: 34px; font-size: 12px; color: var(--ink-soft); }
.photo-previews { display: flex; flex-wrap: wrap; gap: 10px; }
.photo-previews:not(:empty) { margin-top: 12px; }
.photo-preview { position: relative; width: 84px; }
.photo-preview img { display: block; width: 84px; height: 84px; object-fit: cover; background: var(--mist-light); }
.photo-preview span { display: block; margin-top: 4px; font-size: 11px; color: var(--ink-soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.photo-preview button { position: absolute; top: 4px; right: 4px; width: 24px; height: 24px; display: flex; align-items: center; justify-content: center; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .92); color: var(--ink); font-size: 16px; line-height: 1; cursor: pointer; }
.photo-preview button:hover { color: var(--brick); }
.has-error .photo-drop { border-color: var(--brick); }
.review-thanks-photos { display: flex; flex-wrap: wrap; gap: 10px; margin: -8px 0 24px; }
.review-thanks-photos img { width: 96px; height: 96px; object-fit: cover; }
.review-card-photos { display: flex; gap: 8px; margin-top: 16px; }
.review-card-photo { padding: 0; border: 0; background: var(--mist-light); cursor: zoom-in; line-height: 0; }
.review-card-photo img { width: 72px; height: 72px; object-fit: cover; transition: opacity .2s; }
.review-card-photo:hover img { opacity: .85; }
.review-card-photo:focus-visible { outline: 2px solid var(--brick); outline-offset: 2px; }
.form-note a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.private-banner { display: flex; align-items: center; gap: 10px; margin: 16px 0 0; padding: 12px 16px; background: var(--white); border: 1px solid var(--mist); font-size: 14px; color: var(--ink-soft); }
.private-banner svg { color: var(--brick); flex-shrink: 0; }

/* Panier : choix du mode de livraison */
.delivery-options { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 20px; }
.delivery-option { position: relative; display: flex; align-items: center; gap: 12px; padding: 16px 18px; border: 1px solid var(--line); background: var(--white); cursor: pointer; transition: border-color .2s, box-shadow .2s; }
.delivery-option:hover { border-color: var(--field); }
.delivery-option:has(input:checked) { border-color: var(--brick); box-shadow: 0 0 0 1px var(--brick); }
.delivery-option input { position: absolute; opacity: 0; pointer-events: none; }
.delivery-option:has(input:focus-visible) { outline: 2px solid var(--brick); outline-offset: 2px; }
.delivery-option-icon { color: var(--brick); flex-shrink: 0; line-height: 0; }
.delivery-option-text { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.delivery-option-text strong { font-size: 15px; font-weight: 600; color: var(--ink); }
.delivery-option-text small { font-size: 12px; color: var(--ink-soft); }
.delivery-option-price { font-size: 14px; font-weight: 500; color: var(--ink); white-space: nowrap; }
@media (max-width: 640px) { .delivery-options { grid-template-columns: 1fr; } }
.cart-line-reserved { margin: 6px 0 0; font-size: 13px; color: var(--brick-dark); }
.checkout-hint--alert { color: var(--brick-dark); }

/* Panier : code promo */
.cart-discount dd { color: var(--brick); }
.promo-box { margin: 4px 0 18px; padding-top: 14px; border-top: 1px solid var(--line); }
.promo-toggle > summary { list-style: none; cursor: pointer; font-size: 13px; color: var(--ink-soft); text-decoration: underline; text-underline-offset: 3px; }
.promo-toggle > summary::-webkit-details-marker { display: none; }
.promo-form { display: flex; gap: 8px; margin-top: 10px; }
.promo-form input[type=text] { flex: 1; min-width: 0; height: 44px; padding: 0 12px; text-transform: uppercase; letter-spacing: .06em; }
.promo-form .btn { height: 44px; padding: 0 16px; font-size: 12px; }
.promo-applied { padding: 10px 12px; background: var(--white); border: 1px dashed var(--brick); font-size: 13px; }
.promo-applied p { margin: 0 0 4px; }
.promo-applied--invalid { border-color: var(--field); color: var(--ink-soft); }
.promo-error { color: var(--brick-dark); }
.delivery-option-price small { display: block; font-size: 10px; font-weight: 400; color: var(--brick); text-align: right; }
.promo-message { margin: 8px 0 0; font-size: 13px; line-height: 1.4; }
.promo-form input[aria-invalid="true"] { border-color: var(--brick); }
.promo-success { color: #3b5a3e; font-weight: 600; }

/* Diaporama des pages ([diaporama 3, 5, 8]) : pleine largeur, images entières, agrandissement au clic */
#main { overflow-x: clip; }
.page-slideshow { --slide-h: clamp(260px, 62vh, 640px); position: relative; width: 100vw; margin: 2.2em calc(50% - 50vw); clear: both; }
.page-slideshow-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; outline: none; }
.page-slideshow-track::-webkit-scrollbar { display: none; }
.page-slideshow-track:focus-visible { box-shadow: inset 0 0 0 2px var(--brick); }
.page-slide { flex: 0 0 100%; margin: 0; scroll-snap-align: start; }
.page-slide-open { display: flex; align-items: center; justify-content: center; width: 100%; height: var(--slide-h); padding: 16px var(--gutter); border: 0; background: var(--mist-light); cursor: zoom-in; }
.page-slide-open img { display: block; max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.page-slide figcaption { padding: 12px var(--gutter) 0; text-align: center; font-size: 14px; color: var(--ink-soft); }
.page-slideshow-arrow { position: absolute; top: calc(var(--slide-h) / 2); transform: translateY(-50%); width: 46px; height: 46px; display: inline-flex; align-items: center; justify-content: center; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: rgba(255, 255, 255, .9); color: var(--ink); cursor: pointer; transition: border-color .2s, color .2s; }
.page-slideshow-arrow:hover { border-color: var(--brick); color: var(--brick); }
.page-slideshow-arrow--prev { left: var(--gutter); }
.page-slideshow-arrow--next { right: var(--gutter); }
.page-slideshow-dots { display: flex; justify-content: center; flex-wrap: wrap; gap: 4px; padding-top: 10px; }
.page-slideshow-dots button { width: 22px; height: 22px; padding: 0; border: 0; background: none; cursor: pointer; position: relative; }
.page-slideshow-dots button::before { content: ''; position: absolute; inset: 7px; border-radius: 50%; background: var(--field); transition: background .2s; }
.page-slideshow-dots button[aria-current="true"]::before { background: var(--brick); }
@media (max-width: 700px) {
    .page-slideshow { --slide-h: clamp(220px, 70vw, 420px); }
    .page-slideshow-arrow { width: 38px; height: 38px; }
}
.lightbox figcaption { position: absolute; left: 0; right: 0; bottom: 14px; text-align: center; font-size: 14px; color: var(--ink-soft); padding: 0 var(--gutter); }

/* Alignement du texte dans les pages : [centre] … [/centre], [droite] … [/droite] */
.text-align--centre { text-align: center; }
.text-align--droite { text-align: right; }
.text-align--justifie { text-align: justify; hyphens: auto; -webkit-hyphens: auto; }
.text-align--centre ul, .text-align--droite ul { list-style-position: inside; padding-left: 0; }

/* Lien vers un fichier à télécharger dans les pages */
.file-link { display: inline-flex; align-items: baseline; gap: 6px; }
.file-link::before { content: ''; flex-shrink: 0; width: .85em; height: .85em; align-self: center; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3v12m0 0l-5-5m5 5l5-5M4 19h16'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3v12m0 0l-5-5m5 5l5-5M4 19h16'/%3E%3C/svg%3E") center / contain no-repeat; }
