/* =====================================================================
   LES BELLES CAVES — feuille de style principale
   Les couleurs et polices sont des variables injectées depuis
   Administration › Design (thème provisoire tant que la charte n'est pas fournie).
   ===================================================================== */
:root {
  --bg: #F7F2EA; --surface: #FFFDF9; --ink: #1F1712; --muted: #6E6157; --line: #E4D9CA;
  --wood: #2A1A12; --accent: #A4622F; --accent-ink: #fff; --gold: #C9A57B; --radius: 4px;
  --f-head: 'Cormorant Garamond', 'Times New Roman', serif; --f-body: 'Jost', system-ui, sans-serif;
  --ivory: #F7F2EA;
  --ok: #3E7A4E; --warn: #A8741A; --ko: #A13D32; --info: #4D6A86;
  --shadow: 0 1px 2px rgba(31, 23, 18, .06), 0 8px 24px -12px rgba(31, 23, 18, .18);
  --wrap: 1240px; --gutter: clamp(16px, 4vw, 40px);
  --tabbar-h: 0px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--f-body); font-size: 16.5px; line-height: 1.6; font-weight: 400; padding-bottom: var(--tabbar-h); overflow-x: hidden; }
[dir="rtl"] body { font-family: 'Noto Naskh Arabic', var(--f-body); }
img, svg, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration-color: color-mix(in srgb, currentColor 35%, transparent); text-underline-offset: 3px; }
a:hover { color: var(--accent); }
h1, h2, h3, h4 { font-family: var(--f-head); font-weight: 500; line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.005em; }
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3 { font-family: 'Noto Naskh Arabic', var(--f-head); line-height: 1.4; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; inset-inline-start: 8px; top: -60px; background: var(--ink); color: #fff; padding: 10px 14px; z-index: 200; }
.skip:focus { top: 8px; }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: 780px; }
.kicker { font-family: var(--f-body); text-transform: uppercase; letter-spacing: .2em; font-size: .74rem; font-weight: 500; color: var(--accent); margin: 0 0 .9em; }
[dir="rtl"] .kicker { letter-spacing: 0; font-size: .85rem; }
.lead { font-size: clamp(1.08rem, 1.6vw, 1.25rem); color: var(--muted); max-width: 60ch; }
.intro { max-width: 68ch; color: var(--muted); }
.muted { color: var(--muted); }
.small { font-size: .88rem; }
.ic { flex: none; }
.inline { display: inline; }
.grow { flex: 1 1 220px; }
.hp { position: absolute; inset-inline-start: -9999px; }

/* ---------- Boutons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 46px; padding: .7em 1.35em; border-radius: var(--radius);
  background: var(--accent); color: var(--accent-ink); border: 1px solid var(--accent); font: 500 .95rem/1.2 var(--f-body); letter-spacing: .03em; text-decoration: none; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .2s; }
.btn:hover { background: color-mix(in srgb, var(--accent) 86%, #000); color: var(--accent-ink); }
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.btn-lg { min-height: 54px; padding: .85em 1.7em; font-size: 1rem; }
.btn-sm { min-height: 40px; padding: .5em 1em; font-size: .88rem; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: var(--surface); color: var(--ink); border-color: var(--ink); }
.btn-ghost-light { background: transparent; color: var(--ivory); border-color: rgba(247, 242, 234, .45); }
.btn-ghost-light:hover { background: rgba(247, 242, 234, .1); color: var(--ivory); border-color: var(--ivory); }
.btn-line { background: transparent; color: var(--accent); border-color: var(--accent); }
.btn-line:hover { background: var(--accent); color: var(--accent-ink); }
.btn-block { width: 100%; }
.btn-equal { min-width: 120px; background: var(--ink); border-color: var(--ink); color: #fff; }
.btn-equal:hover { background: #000; }
.btn-danger { background: var(--ko); border-color: var(--ko); }
.btn-icon { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; }
.btn-icon:hover { border-color: var(--accent); color: var(--accent); }
.linklike { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

/* ---------- Bandeaux ---------- */
.demo-banner { background: #3A2A1E; color: #EADBC6; text-align: center; font-size: .82rem; padding: 6px var(--gutter); letter-spacing: .02em; }
.flash { padding: 12px 0; font-size: .95rem; border-bottom: 1px solid var(--line); }
.flash-ok { background: #E8F1E8; color: #23472C; } .flash-error { background: #F6E3DF; color: #6B241B; } .flash-info { background: #E8EEF3; color: #2D4357; }
.demo-note, .draft-note, .notice { display: flex; gap: .6em; align-items: flex-start; background: #F3EADB; border: 1px solid #E3D2B5; color: #5A4228; padding: 12px 14px; border-radius: var(--radius); font-size: .92rem; margin: 0 0 1.2em; flex-wrap: wrap; }
.notice form { margin-inline-start: auto; }

/* ---------- En-tête ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--wood); color: var(--ivory); box-shadow: 0 1px 0 rgba(255, 255, 255, .06); }
.hdr { display: flex; align-items: center; gap: 18px; min-height: 68px; }
.brand img { height: 52px; width: auto; }
.main-nav { display: none; gap: 26px; margin-inline-start: 12px; }
.main-nav a { text-decoration: none; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(247, 242, 234, .82); padding: 6px 0; border-bottom: 1px solid transparent; }
[dir="rtl"] .main-nav a { letter-spacing: 0; font-size: .95rem; }
.main-nav a:hover, .main-nav a[aria-current] { color: var(--ivory); border-bottom-color: var(--gold); }
.hdr-tools { margin-inline-start: auto; display: flex; align-items: center; gap: 6px; }
.store-chip { display: none; align-items: center; gap: 6px; max-width: 210px; font-size: .8rem; color: rgba(247, 242, 234, .85); text-decoration: none; border: 1px solid rgba(247, 242, 234, .22); border-radius: 999px; padding: 6px 12px; }
.store-chip span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.store-chip:hover { color: var(--ivory); border-color: var(--gold); }
.hdr-btn { position: relative; display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; color: var(--ivory); background: none; border: 0; cursor: pointer; text-decoration: none; }
.hdr-btn:hover { background: rgba(255, 255, 255, .08); color: var(--ivory); }
.badge { position: absolute; top: 3px; inset-inline-end: 1px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--accent); color: #fff; font: 600 .68rem/18px var(--f-body); text-align: center; }
.badge[hidden] { display: none; }
.langs { display: flex; gap: 2px; margin-inline-start: 4px; }
.langs a { font-size: .72rem; letter-spacing: .08em; color: rgba(247, 242, 234, .6); text-decoration: none; padding: 6px 5px; }
.langs a[aria-current] { color: var(--gold); }
.site-search { background: var(--wood); border-top: 1px solid rgba(255, 255, 255, .08); padding: 14px 0 16px; }
.search-row { display: flex; align-items: center; gap: 10px; color: var(--ivory); }
.search-row input { flex: 1; min-width: 0; background: transparent; border: 0; border-bottom: 1px solid rgba(247, 242, 234, .35); color: var(--ivory); font: 400 1.15rem var(--f-body); padding: 10px 2px; }
.search-row input::placeholder { color: rgba(247, 242, 234, .5); }
.search-row input:focus { outline: none; border-bottom-color: var(--gold); }
.instant-results { list-style: none; margin: 6px 0 0; padding: 0; }
.instant-results:empty { display: none; }
.instant-results a { display: flex; justify-content: space-between; gap: 12px; padding: 10px 2px; color: var(--ivory); text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, .07); }
.instant-results a:hover, .instant-results a[aria-selected="true"] { color: var(--gold); }
.instant-results small { color: rgba(247, 242, 234, .55); }
@media (min-width: 720px) { .store-chip { display: inline-flex; } }
@media (min-width: 1100px) { .main-nav { display: flex; } }

/* ---------- Barre d'onglets mobile ---------- */
.tabbar { position: fixed; inset-inline: 0; bottom: 0; z-index: 60; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; background: rgba(255, 253, 249, .97); backdrop-filter: blur(10px); border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom); }
.tabbar a { position: relative; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 9px 4px 8px; font-size: .68rem; letter-spacing: .02em; color: var(--muted); text-decoration: none; }
.tabbar a[aria-current] { color: var(--accent); }
.tabbar .badge { top: 4px; inset-inline-end: calc(50% - 22px); }
body { --tabbar-h: calc(62px + env(safe-area-inset-bottom)); }
@media (min-width: 900px) { .tabbar { display: none; } body { --tabbar-h: 0px; } }
.hide-m { display: none !important; }
@media (min-width: 900px) { .hide-m { display: inline-grid !important; } }

/* ---------- Accueil ---------- */
.hero { position: relative; background: var(--wood); color: var(--ivory); overflow: hidden; }
.hero::after { content: ''; position: absolute; inset: auto 0 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(201, 165, 123, .5), transparent); }
.hero-grid { display: grid; gap: 32px; align-items: center; padding-block: clamp(40px, 8vw, 96px); }
.hero h1 { color: var(--ivory); font-weight: 400; max-width: 14ch; }
.hero .kicker { color: var(--gold); }
.hero .lead { color: rgba(247, 242, 234, .78); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 24px; }
.hero-search { display: flex; align-items: center; gap: 10px; max-width: 460px; border-bottom: 1px solid rgba(247, 242, 234, .3); color: rgba(247, 242, 234, .7); }
.hero-search input { flex: 1; min-width: 0; background: transparent; border: 0; color: var(--ivory); padding: 12px 0; font: 400 1rem var(--f-body); }
.hero-search input::placeholder { color: rgba(247, 242, 234, .5); }
.hero-search input:focus { outline: none; }
.hero-search:focus-within { border-bottom-color: var(--gold); }
.hero-visual { margin: 0; justify-self: center; width: min(520px, 100%); aspect-ratio: 1; border-radius: 2px; overflow: hidden; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .8); }
.hero-visual img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo { background: var(--wood) var(--hero) center/cover no-repeat; }
.hero-photo::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20, 12, 8, .82), rgba(20, 12, 8, .35) 70%, rgba(20, 12, 8, .2)); }
.hero-photo .hero-grid { position: relative; min-height: min(78vh, 720px); }
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1.1fr .9fr; } }

.practical { background: var(--surface); border-bottom: 1px solid var(--line); }
.practical-grid { display: grid; gap: 24px; padding-block: 28px; align-items: center; }
.practical-store h2 { font-size: 1.6rem; margin-bottom: .3em; }
.practical-store h2 a { text-decoration: none; }
.stats { display: flex; gap: clamp(20px, 5vw, 56px); margin: 0; flex-wrap: wrap; }
.stats div { display: flex; flex-direction: column-reverse; }
.stats dt { font: 400 2.6rem/1 var(--f-head); color: var(--accent); }
.stats dd { margin: 0 0 6px; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
@media (min-width: 900px) { .practical-grid { grid-template-columns: 1.4fr 1fr; } .stats { justify-content: flex-end; } }

.section { padding-block: clamp(48px, 8vw, 96px); }
.section-alt { background: var(--surface); border-block: 1px solid var(--line); }
.section-tight { padding-block: 40px; }
.sec-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 24px; margin-bottom: 28px; }
.sec-head .kicker { flex-basis: 100%; margin: 0; }
.sec-head h2 { margin: 0; }
.link-more { margin-inline-start: auto; display: inline-flex; align-items: center; gap: 6px; font-size: .85rem; letter-spacing: .06em; text-decoration: none; color: var(--accent); }
[dir="rtl"] .link-more .ic, [dir="rtl"] .ccard-arrow .ic { transform: scaleX(-1); }

/* Cartes de catégories */
.ccards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 14px; }
.ccard { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 190px; padding: 22px; border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--ivory);
  background: var(--tone); isolation: isolate; transition: transform .35s ease, box-shadow .35s ease; }
.ccard::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(120% 90% at 100% 0%, rgba(255, 255, 255, .14), transparent 55%), linear-gradient(0deg, rgba(0, 0, 0, .28), transparent 60%); }
.ccard:hover { color: var(--ivory); transform: translateY(-3px); box-shadow: var(--shadow); }
.ccard-ic { position: absolute; top: 20px; inset-inline-end: 20px; color: rgba(255, 255, 255, .72); }
.ccard-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.ccard-txt { display: flex; flex-direction: column; gap: 4px; }
.ccard-title { font: 500 1.65rem/1.1 var(--f-head); }
.ccard-sub { font-size: .85rem; color: rgba(247, 242, 234, .8); }
.ccard-arrow { position: absolute; bottom: 22px; inset-inline-end: 22px; opacity: 0; transform: translateX(-6px); transition: .3s; }
.ccard:hover .ccard-arrow { opacity: 1; transform: none; }

/* Carte du réseau (accueil) */
.home-stores { display: grid; gap: 20px; }
.map { position: relative; background: #E9E1D4; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); z-index: 0; }
.map-home { height: clamp(300px, 50vw, 460px); }
.map-full { height: 60vh; min-height: 340px; }
.map-small { height: 240px; margin-top: 20px; }
.map-pick { height: 320px; margin-top: 16px; }
.map .leaflet-tile-pane { filter: grayscale(.85) sepia(.18) contrast(.95) brightness(1.03); }
.map-fallback { position: absolute; inset: 0; display: grid; place-items: center; padding: 20px; text-align: center; color: var(--muted); font-size: .9rem; }
.bc-marker { width: 30px; height: 30px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--accent); border: 2px solid #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, .35); }
.bc-marker.is-closed { background: #7B6B60; }
.bc-marker.is-me { background: #3B6FA0; border-radius: 50%; transform: none; width: 18px; height: 18px; }
.leaflet-popup-content { font-family: var(--f-body); }
.leaflet-popup-content strong { display: block; font: 500 1.1rem var(--f-head); }
.mini-stores { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.mini-stores li { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 6px 12px; padding: 14px 4px; border-bottom: 1px solid var(--line); }
.mini-stores a { text-decoration: none; display: flex; flex-direction: column; }
.mini-stores strong { font: 500 1.2rem var(--f-head); }
.mini-stores span { font-size: .85rem; color: var(--muted); }
@media (min-width: 900px) { .home-stores { grid-template-columns: 1.6fr 1fr; } }

/* Statut ouvert/fermé */
.open { display: inline-flex; align-items: center; gap: 7px; font-size: .86rem; color: var(--muted); }
.open i { width: 8px; height: 8px; border-radius: 50%; background: #9A8C80; flex: none; }
.open b { font-weight: 500; color: var(--ink); }
.open-open i { background: var(--ok); box-shadow: 0 0 0 3px rgba(62, 122, 78, .18); }
.open-closed i { background: var(--ko); }
.open-unknown b { color: var(--warn); }
.open-unknown i { background: var(--warn); }

/* Maison */
.house-grid { display: grid; gap: 36px; align-items: center; }
.house-visual { margin: 0; border-radius: var(--radius); overflow: hidden; }
@media (min-width: 900px) { .house-grid { grid-template-columns: 1fr 1fr; } }
.prose { max-width: 70ch; }
.prose h2 { font-size: 1.8rem; margin-top: 1.4em; } .prose h3 { margin-top: 1.2em; }
.prose ul, .prose ol { padding-inline-start: 1.2em; } .prose li { margin-bottom: .3em; }
.prose blockquote { margin: 1.2em 0; padding: 10px 16px; border-inline-start: 3px solid var(--gold); background: var(--surface); color: var(--muted); }

/* Adhésion */
.member-teaser { background: var(--wood); color: var(--ivory); }
.member-teaser .kicker, .hero-member .kicker { color: var(--gold); }
.member-teaser h2 { color: var(--ivory); }
.member-teaser p { color: rgba(247, 242, 234, .8); max-width: 56ch; }
.member-grid { display: grid; gap: 40px; align-items: center; }
.member-card-visual { position: relative; width: min(380px, 100%); aspect-ratio: 85.6 / 54; border-radius: 14px; padding: 18px 20px; justify-self: center;
  background: linear-gradient(135deg, #3A2418, #22140D 60%, #2E1C12); border: 1px solid rgba(201, 165, 123, .45); box-shadow: 0 24px 50px -24px rgba(0, 0, 0, .9); display: flex; flex-direction: column; justify-content: space-between; }
.member-card-visual img { width: 52%; border-radius: 4px; }
.member-card-visual.big { width: min(440px, 100%); transform: rotate(-3deg); }
.mc-num { font: 400 1.25rem var(--f-body); letter-spacing: .14em; color: var(--gold); }
.mc-label { font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: rgba(247, 242, 234, .7); }
@media (min-width: 900px) { .member-grid { grid-template-columns: 1fr 1.2fr; } .hero-member .member-grid { grid-template-columns: 1.2fr 1fr; } }
.hero-member .member-grid { padding-block: clamp(48px, 8vw, 96px); }
.muted-light { color: rgba(247, 242, 234, .65); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); counter-reset: s; }
.steps li { padding-top: 18px; border-top: 1px solid var(--ink); }
.steps span { font: 400 2.4rem/1 var(--f-head); color: var(--accent); }
.steps h3 { margin: 10px 0 6px; }
.steps p { color: var(--muted); font-size: .95rem; }
.facts { list-style: none; padding: 0; display: grid; gap: 10px; }
.facts li { padding: 12px 0; border-bottom: 1px solid var(--line); }

/* Articles */
.articles { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.acard { display: flex; flex-direction: column; gap: 6px; padding: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; }
.acard:hover { border-color: var(--gold); }
.acard img { border-radius: var(--radius); aspect-ratio: 16/9; object-fit: cover; margin-bottom: 10px; }
.acard h2, .acard h3 { font-size: 1.45rem; margin: 0; }
.acard p { color: var(--muted); margin: 0; flex: 1; }
.acard span { display: inline-flex; gap: 6px; align-items: center; color: var(--accent); font-size: .85rem; }
.article { padding-block: 24px 56px; }
.article-img { border-radius: var(--radius); margin: 20px 0; }

/* ---------- En-têtes de page ---------- */
.page-head { padding: 28px 0 30px; border-bottom: 1px solid var(--line); background: var(--surface); }
.page-head h1 { margin-bottom: .2em; }
.page-head .lead { margin: 0; }
.page-head .intro { margin: .8em 0 0; }
.page-head-cat { position: relative; background: var(--tone); color: var(--ivory); border-bottom: 0; }
.page-head-cat::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0, 0, 0, .35), rgba(0, 0, 0, .05)); }
.page-head-cat .wrap { position: relative; }
.page-head-cat h1, .page-head-cat .lead, .page-head-cat .intro, .page-head-cat .crumbs a, .page-head-cat .crumbs li { color: var(--ivory); }
.page-head-cat .lead, .page-head-cat .intro { opacity: .9; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0 0 16px; font-size: .8rem; color: var(--muted); }
.crumbs li + li::before { content: '/'; margin-inline-end: 6px; opacity: .5; }
.crumbs a { text-decoration: none; }

/* ---------- Catalogue ---------- */
.chips { display: flex; gap: 8px; overflow-x: auto; padding-block: 16px; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, #000 92%, transparent); }
.chips::-webkit-scrollbar { display: none; }
.chips a { flex: none; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; font-size: .85rem; text-decoration: none; background: var(--surface); white-space: nowrap; }
.chips a[aria-current] { background: var(--ink); color: var(--ivory); border-color: var(--ink); }
.cat-layout { display: grid; gap: 28px; padding-bottom: 56px; }
.filters { display: none; }
.filters-head { display: flex; justify-content: space-between; align-items: center; }
.filters-head h2 { font-size: 1.5rem; margin: 0; }
.filters-head .btn-icon { display: none; }
.filters form { display: grid; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field > span, .field > label, .field legend, fieldset.field > legend { font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
[dir="rtl"] .field > span, [dir="rtl"] .field > label { letter-spacing: 0; font-size: .9rem; }
input, select, textarea { font: inherit; color: var(--ink); }
.field input, .field select, .field textarea, .s-field input { width: 100%; min-height: 46px; padding: 10px 12px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 18%, transparent); }
.field small, .help { font-size: .8rem; color: var(--muted); }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.price-range { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 8px; }
.price-range legend { grid-column: 1 / -1; margin-bottom: 6px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .93rem; line-height: 1.45; cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 1px 0 0; flex: none; accent-color: var(--accent); }
.filters-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 16px; }
.toolbar .count { margin: 0; margin-inline-end: auto; color: var(--muted); }
.toolbar .count strong { color: var(--ink); font-weight: 500; }
.sort select { min-height: 40px; padding: 6px 10px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.active-filters { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0 0 16px; }
.active-filters a { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; background: #EFE6D8; border-radius: 999px; font-size: .82rem; text-decoration: none; }
body.filters-open { overflow: hidden; }
body.filters-open .filters { display: block; position: fixed; inset: 0; z-index: 90; background: var(--bg); padding: 20px var(--gutter) calc(20px + env(safe-area-inset-bottom)); overflow-y: auto; }
body.filters-open .filters-head .btn-icon { display: inline-grid; }
@media (min-width: 980px) {
  .cat-layout { grid-template-columns: 260px 1fr; }
  .filters { display: block; position: sticky; top: 92px; align-self: start; max-height: calc(100vh - 110px); overflow-y: auto; padding-inline-end: 6px; }
  .js-filters-open { display: none; }
}
.disclaimer { display: flex; gap: 8px; align-items: flex-start; font-size: .82rem; color: var(--muted); margin-top: 22px; }

/* Grille produits */
.pgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 640px) { .pgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; } }
@media (min-width: 1240px) { .pgrid:not(.pgrid-3) { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.pcard { position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: border-color .25s, box-shadow .25s; }
.pcard:hover { border-color: #D5C5AE; box-shadow: var(--shadow); }
.pcard-link { text-decoration: none; display: flex; flex-direction: column; flex: 1; }
.pcard-visual { position: relative; aspect-ratio: 4 / 5; background: #F2EBE0; }
.pcard-body { padding: 14px 14px 6px; }
.pcard-title { font: 500 1.18rem/1.2 var(--f-head); margin: 0 0 4px; }
.pcard-meta { font-size: .78rem; color: var(--muted); margin: 0; }
.pcard-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; padding: 6px 14px 14px; padding-inline-end: 56px; min-height: 40px; }
.pcard-add { position: absolute; bottom: 10px; inset-inline-end: 10px; }
.price { font-weight: 500; font-size: .95rem; }
.demo-tag { position: absolute; top: 10px; inset-inline-start: 10px; background: rgba(31, 23, 18, .78); color: #F1E5D3; font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; padding: 3px 7px; border-radius: 2px; }
.pv-img { width: 100%; height: 100%; object-fit: contain; padding: 10%; mix-blend-mode: multiply; }
.pv-ph { position: absolute; inset: 0; display: grid; place-items: center; color: var(--tone); background: radial-gradient(70% 60% at 50% 45%, color-mix(in srgb, var(--tone) 10%, #F6F0E6), #EFE7DA); }
.pv-ph .pv-ic { opacity: .7; stroke-width: 1.1; }
.pv-note { position: absolute; bottom: 10px; inset-inline: 0; text-align: center; font-size: .64rem; letter-spacing: .14em; text-transform: uppercase; color: color-mix(in srgb, var(--tone) 50%, #8A7B6E); }
.pv-sm { position: relative; inset: auto; width: 100%; height: 100%; }
.pv-sm .pv-note { display: none; }
.avail { display: inline-flex; align-items: center; gap: 6px; font-size: .76rem; color: var(--muted); }
.avail i { width: 7px; height: 7px; border-radius: 50%; flex: none; }
.avail-available i { background: var(--ok); } .avail-limited i { background: var(--warn); } .avail-check i { background: #A9A097; border: 1px solid #8D8379; } .avail-unavailable i { background: var(--ko); }
.avail-available { color: #2F5E3B; } .avail-unavailable { color: #7E2F26; }
.empty { text-align: center; padding: 48px 20px; border: 1px dashed var(--line); border-radius: var(--radius); background: var(--surface); }
.empty h3 { font-size: 1.5rem; }
.empty p { color: var(--muted); }
.pager { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 28px; }
.pager a, .pager span { min-width: 40px; height: 40px; display: inline-grid; place-items: center; padding: 0 10px; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; background: var(--surface); font-size: .9rem; }
.pager .cur { background: var(--ink); color: #fff; border-color: var(--ink); }

/* Fiche produit */
.product-grid { display: grid; gap: 28px; padding-bottom: 32px; }
.product-visual { position: relative; aspect-ratio: 4 / 5; background: #F2EBE0; border-radius: var(--radius); overflow: hidden; max-height: 640px; }
.product-info h1 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: .2em; }
.product-sub { color: var(--muted); }
.product-price { font-size: 1.5rem; font-family: var(--f-head); margin: 18px 0 4px; }
.product-price span { font: 400 .74rem var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-inline-end: 8px; }
.product-info .disclaimer { margin-top: 0; }
.my-avail { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; padding: 12px 14px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); font-size: .9rem; margin: 16px 0; }
.product-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 20px 0; }
.add-form { display: flex; gap: 10px; flex-wrap: wrap; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); height: 46px; }
.qty button { width: 40px; height: 100%; display: grid; place-items: center; background: none; border: 0; cursor: pointer; color: var(--ink); }
.qty input { width: 46px; height: 100%; text-align: center; border: 0; background: transparent; -moz-appearance: textfield; }
.qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.specs { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); gap: 0 24px; margin: 24px 0 0; border-top: 1px solid var(--line); }
.specs div { display: flex; justify-content: space-between; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: .9rem; }
.specs dt { color: var(--muted); } .specs dd { margin: 0; text-align: end; }
.product-more { display: grid; gap: 36px; padding-block: 24px; border-top: 1px solid var(--line); }
.avail-list { list-style: none; padding: 0; margin: 0; }
.avail-list li { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 8px; border-bottom: 1px solid var(--line); }
.avail-list li.is-mine { background: #F3EADB; }
.avail-list a { text-decoration: none; display: flex; flex-direction: column; }
.avail-list small { color: var(--muted); }
.hint { display: flex; gap: 8px; font-size: .9rem; margin-top: 14px; }
@media (min-width: 900px) { .product-grid { grid-template-columns: 1fr 1fr; gap: 56px; padding-top: 8px; } .product-more { grid-template-columns: 1.2fr 1fr; gap: 56px; } }
.pgrid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 900px) { .pgrid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* ---------- Magasins ---------- */
.stores-layout { display: grid; gap: 24px; padding-block: 24px 56px; }
.stores-map { order: -1; }
.stores-tools { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end; margin-bottom: 12px; }
.stores-tools .field { flex: 1 1 200px; }
.store-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.store-item { display: grid; grid-template-columns: 96px 1fr; gap: 14px; padding: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.store-item.is-active { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.store-item[hidden] { display: none; }
.store-item-visual { aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; }
.store-item-visual img { width: 100%; height: 100%; object-fit: cover; }
.store-item h2 { font-size: 1.4rem; margin: 0 0 2px; }
.store-item h2 a { text-decoration: none; }
.store-item p { margin: 4px 0; }
.dist { margin-inline-start: 8px; color: var(--accent); font-weight: 500; }
.store-item-foot { display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; align-items: center; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line); }
.actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0; }
.actions-compact { margin: 10px 0 0; }
.actions-compact .btn { min-height: 38px; padding: .4em .85em; font-size: .82rem; }
.mine { display: inline-flex; align-items: center; gap: 6px; font-size: .85rem; color: var(--ok); }
.store-ph { position: relative; width: 100%; height: 100%; min-height: 96px; display: grid; place-items: center; background: repeating-linear-gradient(90deg, #3A2418 0 22px, #34200F 22px 23px), #3A2418; color: var(--gold); }
.store-ph-mono { font: 400 2.6rem/1 var(--f-head); }
.store-ph-note { position: absolute; bottom: 8px; inset-inline: 6px; text-align: center; font-size: .56rem; letter-spacing: .1em; text-transform: uppercase; color: rgba(247, 242, 234, .6); }
@media (min-width: 980px) {
  .stores-layout { grid-template-columns: minmax(380px, 1fr) 1.2fr; align-items: start; }
  .stores-map { order: 0; position: sticky; top: 92px; }
  .map-full { height: calc(100vh - 130px); }
}
@media (max-width: 979px) { .map-full { height: 46vh; } }
.store-item { grid-template-columns: 84px 1fr; }
@media (min-width: 480px) { .store-item { grid-template-columns: 110px 1fr; } }

.store-hero { display: grid; gap: 24px; padding-bottom: 32px; }
.store-gallery { display: grid; gap: 6px; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 120px; border-radius: var(--radius); overflow: hidden; }
.store-gallery > :first-child { grid-column: 1 / -1; grid-row: span 2; }
.store-gallery img { width: 100%; height: 100%; object-fit: cover; }
.store-gallery .store-ph { grid-column: 1 / -1; grid-row: span 2; }
.store-head h1 { margin-bottom: .25em; }
.exceptional { display: flex; gap: 6px; font-size: .9rem; color: var(--warn); margin: 8px 0 0; }
.store-cols { display: grid; gap: 36px; padding-block: 28px 16px; border-top: 1px solid var(--line); }
.info-list { margin: 0; }
.info-list div { display: grid; grid-template-columns: 150px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.info-list dt { display: flex; gap: 8px; align-items: center; color: var(--muted); font-size: .9rem; }
.info-list dd { margin: 0; }
.services { list-style: none; padding: 0; display: grid; gap: 6px; }
.services li { display: flex; gap: 8px; align-items: center; }
.services .ic { color: var(--accent); }
.hours { width: 100%; border-collapse: collapse; }
.hours th, .hours td { text-align: start; padding: 10px 6px; border-bottom: 1px solid var(--line); font-weight: 400; }
.hours tr.today { background: #F3EADB; }
.hours tr.today th { font-weight: 500; }
.closures { padding-inline-start: 1.1em; }
@media (min-width: 900px) { .store-hero { grid-template-columns: 1.3fr 1fr; align-items: center; } .store-cols { grid-template-columns: 1fr 1fr; gap: 56px; } }
@media (max-width: 520px) { .info-list div { grid-template-columns: 1fr; gap: 2px; } }

/* ---------- Ma sélection ---------- */
.sel-layout { display: grid; gap: 28px; padding-block: 28px 56px; }
.sel-list { list-style: none; margin: 0; padding: 0; }
.sel-item { display: grid; grid-template-columns: 72px 1fr; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.sel-visual { position: relative; aspect-ratio: 4/5; background: #F2EBE0; border-radius: var(--radius); overflow: hidden; }
.sel-body { display: flex; flex-direction: column; gap: 3px; }
.sel-name { font: 500 1.2rem var(--f-head); text-decoration: none; }
.sel-qty { grid-column: 2; display: flex; align-items: center; gap: 14px; }
.sel-qty .qty { height: 40px; }
.sel-form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; align-self: start; display: grid; gap: 14px; }
.stack { display: grid; gap: 14px; }
.form-error { background: #F6E3DF; color: #6B241B; padding: 10px 12px; border-radius: var(--radius); font-size: .92rem; margin: 0; }
.form-ok { background: #E8F1E8; color: #23472C; padding: 10px 12px; border-radius: var(--radius); font-size: .92rem; }
.legal-note { font-size: .8rem; color: var(--muted); margin: 0; }
@media (min-width: 640px) { .sel-item { grid-template-columns: 84px 1fr auto; align-items: center; } .sel-qty { grid-column: auto; flex-direction: column; align-items: flex-end; gap: 6px; } }
@media (min-width: 980px) { .sel-layout { grid-template-columns: 1.4fr 1fr; gap: 48px; } .sel-form { position: sticky; top: 92px; } }
.center-page { text-align: center; padding-block: 64px; }
.center-page .lead { margin-inline: auto; }
.big-ic { display: inline-grid; place-items: center; width: 76px; height: 76px; border-radius: 50%; background: #E8F1E8; color: var(--ok); margin-bottom: 16px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; gap: 40px; padding-block: 32px 56px; }
.contact-stores { list-style: none; padding: 0; margin: 0 0 24px; }
.contact-stores li { padding: 16px 0; border-bottom: 1px solid var(--line); }
.contact-stores li.is-mine { background: #F3EADB; padding-inline: 12px; }
.contact-stores h3 { margin: 0 0 4px; }
.contact-stores h3 a { text-decoration: none; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1fr; gap: 64px; } }

/* ---------- Compte ---------- */
.auth-wrap { display: grid; gap: 28px; padding-block: 40px 64px; max-width: 1000px; }
.auth-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 4vw, 40px); }
.auth-card h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); }
.auth-side { padding: clamp(8px, 3vw, 32px); align-self: center; }
@media (min-width: 900px) { .auth-wrap { grid-template-columns: 1.2fr 1fr; } .auth-wrap:has(.wide) { grid-template-columns: 1fr; max-width: 820px; } }
.grid-form { display: grid; gap: 16px; }
@media (min-width: 640px) { .grid-form { grid-template-columns: 1fr 1fr; } .span2 { grid-column: 1 / -1; } }
.consents { display: grid; gap: 12px; padding-top: 6px; }
.consents legend { font: 500 1.15rem var(--f-head); margin-bottom: 8px; }
.acc-layout { display: grid; gap: 24px; padding-block: 28px 56px; }
.acc-nav { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.acc-nav a, .acc-nav .linklike { flex: none; display: flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); text-decoration: none; font-size: .88rem; }
.acc-nav form { flex: none; }
.acc-nav a[aria-current] { background: var(--ink); color: var(--ivory); border-color: var(--ink); }
@media (min-width: 900px) {
  .acc-layout { grid-template-columns: 230px 1fr; gap: 48px; }
  .acc-nav { flex-direction: column; overflow: visible; }
  .acc-nav a, .acc-nav .linklike { border: 0; background: none; border-radius: var(--radius); padding: 10px 12px; }
  .acc-nav a[aria-current] { background: var(--surface); color: var(--ink); box-shadow: inset 3px 0 0 var(--accent); }
}
.acc-main h2 { font-size: 1.6rem; margin-top: 1.4em; }
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 190px), 1fr)); gap: 12px; }
.tile { display: flex; flex-direction: column; gap: 4px; padding: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; }
.tile .ic { color: var(--accent); margin-bottom: 6px; }
.tile strong { font-weight: 500; }
.tile span { color: var(--muted); font-size: .88rem; }
.notes { list-style: none; padding: 0; }
.notes a { display: grid; gap: 2px; padding: 12px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.notes .unread strong::before { content: '•'; color: var(--accent); margin-inline-end: 6px; }
.notes span, .notes time { font-size: .85rem; color: var(--muted); }
.req-list { list-style: none; padding: 0; }
.req { display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.req-status { font-size: .8rem; padding: 4px 10px; border-radius: 999px; background: #EFE6D8; white-space: nowrap; }
.req-card { padding: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 16px; }
.req-card header { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.req-card h2 { margin: 0 !important; font-size: 1.4rem !important; }
.timeline { list-style: none; display: flex; gap: 4px; padding: 0; margin: 14px 0; flex-wrap: wrap; }
.timeline li { flex: 1 1 90px; font-size: .72rem; color: var(--muted); padding-top: 8px; border-top: 3px solid var(--line); }
.timeline li.done { color: var(--ink); border-top-color: var(--accent); }

/* Carte numérique */
.card-page { display: grid; gap: 32px; align-items: start; }
@media (min-width: 900px) { .card-page { grid-template-columns: 400px 1fr; } }
.dcard { background: linear-gradient(140deg, #3A2418, #22140D 55%, #2E1C12); color: var(--ivory); border-radius: 18px; padding: 22px; display: grid; gap: 16px; border: 1px solid rgba(201, 165, 123, .45); box-shadow: 0 24px 50px -24px rgba(0, 0, 0, .7); max-width: 400px; }
.dcard-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.dcard-top img { width: 130px; height: auto; border-radius: 4px; }
.dcard-status { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; border: 1px solid rgba(201, 165, 123, .6); color: var(--gold); }
.dcard-active .dcard-status { background: rgba(62, 122, 78, .3); border-color: #6FA67E; color: #CFE8D5; }
.dcard-expired .dcard-status, .dcard-suspended .dcard-status { background: rgba(161, 61, 50, .3); border-color: #C77B70; color: #F3D3CD; }
.dcard-qr { background: #fff; border-radius: 12px; padding: 10px; justify-self: center; }
.dcard-info { display: grid; gap: 2px; font-size: .9rem; color: rgba(247, 242, 234, .8); }
.dcard-name { font: 500 1.45rem var(--f-head); color: var(--ivory); }
.dcard-num { letter-spacing: .1em; color: var(--gold); }
.dcard-note { font-size: .8rem; color: rgba(247, 242, 234, .7); margin: 0; border-top: 1px solid rgba(255, 255, 255, .1); padding-top: 10px; }
.small-steps { padding-inline-start: 1.2em; }
.small-steps li { margin-bottom: 6px; }
.narrow-form { max-width: 440px; }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--wood); color: rgba(247, 242, 234, .78); padding: 56px 0 24px; margin-top: 0; font-size: .9rem; }
.foot-grid { display: grid; gap: 32px; grid-template-columns: 1fr; }
.foot-brand img { width: 180px; border-radius: 3px; margin-bottom: 16px; }
.foot-brand p { max-width: 40ch; font-size: .85rem; color: rgba(247, 242, 234, .65); }
.site-footer h2 { font: 500 .74rem var(--f-body); letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin: 0 0 14px; }
.site-footer h2:not(:first-child) { margin-top: 26px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a, .site-footer .linklike { color: rgba(247, 242, 234, .82); text-decoration: none; }
.site-footer a:hover, .site-footer .linklike:hover { color: var(--ivory); }
.site-footer small { color: rgba(247, 242, 234, .45); margin-inline-start: 4px; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: .78rem; color: rgba(247, 242, 234, .5); }
@media (min-width: 720px) { .foot-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }

/* ---------- Contrôle d'âge ---------- */
body.gated { overflow: hidden; }
.gate { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: 20px; background: rgba(22, 13, 8, .92); backdrop-filter: blur(6px); }
.gate-card { width: min(520px, 100%); background: var(--wood); color: var(--ivory); border: 1px solid rgba(201, 165, 123, .4); border-radius: 6px; padding: clamp(24px, 5vw, 44px); text-align: center; box-shadow: 0 30px 80px rgba(0, 0, 0, .6); }
.gate-card img { width: min(300px, 80%); margin: 0 auto 18px; border-radius: 3px; }
.gate-card h2 { color: var(--ivory); font-size: 2rem; }
.gate-card p { color: rgba(247, 242, 234, .82); }
.gate-age { white-space: nowrap; color: var(--gold); }
.gate-actions { display: flex; flex-direction: column; gap: 10px; margin: 24px 0 18px; }
.gate-actions .btn-ghost { color: var(--ivory); border-color: rgba(247, 242, 234, .3); }
.gate-note { font-size: .78rem; color: rgba(247, 242, 234, .55) !important; margin: 0; }
@media (min-width: 480px) { .gate-actions { flex-direction: row; justify-content: center; } }

/* ---------- Cookies ---------- */
.cookies { position: fixed; inset-inline: 0; bottom: var(--tabbar-h); z-index: 80; background: var(--surface); border-top: 1px solid var(--line); box-shadow: 0 -10px 30px -18px rgba(0, 0, 0, .35); }
.cookies[hidden] { display: none; }
.cookies-in { display: grid; gap: 12px; padding-block: 16px; }
.cookies-in p { margin: 0; font-size: .88rem; }
.cookies-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.cookies-custom { display: grid; gap: 8px; }
.cookies-custom[hidden] { display: none; }
@media (min-width: 900px) { .cookies-in { grid-template-columns: 1fr auto; align-items: center; } .cookies-custom { grid-column: 1 / -1; } }

/* ---------- Impression ---------- */
@media print {
  .site-header, .tabbar, .site-footer, .cookies, .gate, .demo-banner, .pcard-add, .product-actions, .acc-nav { display: none !important; }
  body { background: #fff; padding: 0; }
}

/* Ajustements après revue visuelle */
.main-nav { gap: 22px; } .main-nav a { white-space: nowrap; }
.stats dd { white-space: nowrap; }
@media (max-width: 639px) {
  .ccards { grid-template-columns: 1fr 1fr; gap: 10px; }
  .ccard { min-height: 132px; padding: 14px; }
  .ccard-title { font-size: 1.25rem; }
  .ccard-sub { display: none; }
  .ccard-ic { top: 12px; inset-inline-end: 12px; }
  .ccard-ic .ic { width: 30px; height: 30px; }
  .hero-visual { width: min(260px, 70%); }
}
.grid-form { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .grid-form { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.check { min-width: 0; overflow-wrap: anywhere; }
p > .ic, li > .ic, span > .ic, a > .ic, label > .ic, button > .ic, dt > .ic, td > .ic, .disclaimer > .ic { display: inline-block; vertical-align: -.2em; }
.store-item-visual .store-ph-note { display: none; }
.store-item-visual .store-ph { min-height: 0; }
@media (max-width: 979px) { .map-full { height: 38vh; min-height: 260px; } }


/* =====================================================================
   HABILLAGE « CAVE VOÛTÉE » (site public)
   Noyer, laiton et arcs outrepassés : la cave comme une niche éclairée.
   Activable/désactivable dans Administration › Design (« Habillage bois »).
   ===================================================================== */
.theme-wood {
  --noyer: #1C120C; --chene: #3B2517; --laiton: #C8A15A; --laiton-clair: #E2C487;
  --bordeaux: #6E1F2B; --liege: #EADBC2; --liege-ombre: #B59C7E;
  --bg: var(--noyer); --surface: rgba(28, 18, 12, .82); --ink: var(--liege); --muted: var(--liege-ombre);
  --line: rgba(234, 219, 194, .14); --line-strong: rgba(200, 161, 90, .42);
  --accent: var(--laiton); --accent-ink: var(--noyer); --gold: var(--laiton);
  --ok: #8CC79A; --warn: #E3B55E; --ko: #E8917F;
  --radius: 3px; --arch: 999px 999px 0 0;
  --wood-img: url('/static/img/wood-texture.jpg');
  background: var(--noyer) var(--wood-img) center top / 1254px auto repeat;
  color: var(--ink);
  font-size: 17px;
}
.theme-wood main { background: linear-gradient(rgba(16, 10, 6, .66), rgba(16, 10, 6, .66)); }
.theme-wood ::selection { background: var(--laiton); color: var(--noyer); }
.theme-wood a:hover { color: var(--laiton-clair); }
.theme-wood :focus-visible { outline-color: var(--laiton-clair); }

/* Typographie : le Didone des étiquettes de vin */
.theme-wood h1, .theme-wood h2, .theme-wood h3 { font-weight: 400; letter-spacing: -.012em; color: #F3E7D3; font-optical-sizing: auto; }
.theme-wood h1 { font-size: clamp(2.4rem, 5.2vw, 4.2rem); line-height: 1.04; }
.theme-wood h2 { font-size: clamp(1.9rem, 3.4vw, 2.9rem); line-height: 1.08; }
.theme-wood h3 { font-size: 1.4rem; line-height: 1.2; }
.theme-wood .kicker { font-family: var(--f-head); font-style: italic; text-transform: none; letter-spacing: 0; font-size: 1.05rem; font-weight: 400; color: var(--laiton); }
.theme-wood .lead { color: var(--liege-ombre); font-size: clamp(1.1rem, 1.5vw, 1.28rem); line-height: 1.55; }
.theme-wood .muted, .theme-wood .intro, .theme-wood .help, .theme-wood .field small { color: var(--muted); }
.theme-wood .prose { line-height: 1.7; }
[dir="rtl"].theme-wood h1, [dir="rtl"].theme-wood h2, [dir="rtl"].theme-wood h3, [dir="rtl"] .theme-wood h1, [dir="rtl"] .theme-wood h2 { font-family: 'Amiri', 'Noto Naskh Arabic', serif; letter-spacing: 0; line-height: 1.35; }

/* Boutons : laiton plein, filets liège */
.theme-wood .btn { background: var(--laiton); border-color: var(--laiton); color: var(--noyer); font-weight: 500; letter-spacing: .01em; border-radius: var(--radius); }
.theme-wood .btn:hover { background: var(--laiton-clair); border-color: var(--laiton-clair); color: var(--noyer); }
.theme-wood .btn-ghost, .theme-wood .btn-ghost-light { background: transparent; color: var(--liege); border-color: rgba(234, 219, 194, .34); }
.theme-wood .btn-ghost:hover, .theme-wood .btn-ghost-light:hover { background: rgba(234, 219, 194, .07); color: #fff; border-color: var(--liege); }
.theme-wood .btn-line { background: transparent; color: var(--laiton); border-color: var(--line-strong); }
.theme-wood .btn-line:hover { background: var(--laiton); color: var(--noyer); border-color: var(--laiton); }
.theme-wood .btn-equal { background: rgba(234, 219, 194, .1); border-color: rgba(234, 219, 194, .34); color: var(--liege); }
.theme-wood .btn-equal:hover { background: rgba(234, 219, 194, .18); }
.theme-wood .btn-icon { background: rgba(16, 10, 6, .7); border-color: var(--line-strong); color: var(--laiton); }
.theme-wood .btn-icon:hover { background: var(--laiton); color: var(--noyer); }
.theme-wood .link-more { color: var(--laiton); font-size: .95rem; letter-spacing: 0; text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 6px; }
.theme-wood .link-more:hover { text-decoration-color: currentColor; }

/* En-tête */
.theme-wood .demo-banner { background: var(--bordeaux); color: #F5DEDF; font-size: .8rem; }
.theme-wood .site-header { background: linear-gradient(rgba(14, 9, 5, .86), rgba(14, 9, 5, .86)), var(--wood-img) center / 1254px auto; box-shadow: 0 1px 0 var(--line-strong); }
.brand { flex: none; display: block; line-height: 0; }
.brand img { height: 50px; width: auto; max-width: none; filter: drop-shadow(0 1px 1px rgba(0, 0, 0, .6)); }
.theme-wood .main-nav a { text-transform: none; letter-spacing: 0; font-size: .95rem; color: rgba(234, 219, 194, .8); border-bottom: 1px solid transparent; }
.theme-wood .main-nav a:hover, .theme-wood .main-nav a[aria-current] { color: #fff; border-bottom-color: var(--laiton); }
.theme-wood .store-chip { border-color: var(--line-strong); color: var(--liege); }
.theme-wood .langs a { letter-spacing: .04em; }
.theme-wood .langs a[aria-current] { color: var(--laiton); }
.theme-wood .badge { background: var(--bordeaux); color: #fff; }
.theme-wood .site-search { background: rgba(14, 9, 5, .97); }
.theme-wood .search-row input { font-family: var(--f-head); font-size: 1.5rem; }
@media (max-width: 1480px) { .main-nav { gap: 18px; margin-inline-start: 4px; } .store-chip { max-width: 160px; } }
@media (min-width: 1100px) and (max-width: 1280px) { .store-chip { display: none; } }

/* ---------- Accueil : la fenêtre en arc ---------- */
.theme-wood .hero { background:
    radial-gradient(60% 70% at 78% 30%, rgba(226, 170, 96, .2), transparent 62%),
    linear-gradient(180deg, rgba(14, 9, 5, .35), rgba(14, 9, 5, .72)),
    var(--wood-img) center / 1254px auto; }
.theme-wood .hero::after { background: linear-gradient(90deg, transparent, var(--line-strong), transparent); }
.theme-wood .hero-grid { padding-block: clamp(40px, 7vw, 92px) clamp(28px, 4vw, 48px); gap: clamp(28px, 5vw, 72px); }
@media (min-width: 900px) { .theme-wood .hero-grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); } }
.hero-place { font-family: var(--f-head); font-style: italic; font-size: 1.15rem; color: var(--laiton); margin: 0 0 1.1rem; }
.theme-wood .hero-title { font-size: clamp(2.9rem, 7.4vw, 6.4rem); line-height: .98; letter-spacing: -.025em; max-width: 11ch; margin-bottom: .32em; color: #F6EBD8; text-wrap: balance; }
.theme-wood .hero .lead { max-width: 44ch; color: rgba(234, 219, 194, .78); }
.theme-wood .hero-cta { margin: 32px 0 26px; }
.theme-wood .hero-search { max-width: 520px; border-bottom-color: rgba(234, 219, 194, .28); }
.theme-wood .hero-search input { font-size: 1.05rem; }

.arch-window { position: relative; margin: 0; justify-self: center; width: min(400px, 100%); aspect-ratio: 400 / 560; border-radius: 50% 50% 0 0 / 35.7% 35.7% 0 0; overflow: hidden; display: grid; place-items: center; isolation: isolate;
  background: radial-gradient(90% 55% at 50% 30%, rgba(236, 184, 112, .34), transparent 70%), linear-gradient(180deg, rgba(10, 6, 3, .2), rgba(10, 6, 3, .78)), var(--wood-img) 30% center / 900px auto;
  box-shadow: inset 0 0 0 1px rgba(200, 161, 90, .25), inset 0 -60px 80px -40px rgba(0, 0, 0, .8), 0 40px 80px -40px rgba(0, 0, 0, .9); }
.arch-window img { position: relative; z-index: 2; width: 86%; height: auto; filter: drop-shadow(0 8px 12px rgba(0, 0, 0, .6)) drop-shadow(0 1px 1px rgba(0, 0, 0, .8)); animation: logo-in 1.1s .5s cubic-bezier(.2, .7, .2, 1) both; }
.arch-line { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; fill: none; stroke: var(--laiton); stroke-width: 1.4; }
.arch-line path { stroke-dasharray: 1400; stroke-dashoffset: 0; animation: arch-draw 1.8s cubic-bezier(.6, .05, .2, 1) both; }
.arch-line .arch-line-in { stroke-opacity: .45; animation-delay: .25s; }
.arch-glow { position: absolute; inset: 8% 15% 45%; z-index: 0; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 206, 140, .38), transparent); filter: blur(10px); animation: glow-in 2.4s .3s ease-out both; }
@keyframes arch-draw { from { stroke-dashoffset: 1400; } }
@keyframes logo-in { from { opacity: 0; transform: translateY(10px) scale(.98); } }
@keyframes glow-in { from { opacity: 0; } }
@media (max-width: 899px) { .arch-window { order: -1; width: min(300px, 78%); aspect-ratio: 400 / 470; border-radius: 50% 50% 0 0 / 42.5% 42.5% 0 0; } .arch-line { display: none; } .arch-window { box-shadow: inset 0 0 0 1px var(--line-strong), 0 30px 60px -30px rgba(0, 0, 0, .9); } }

.hero-foot { position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 32px; padding-block: 20px 26px; border-top: 1px solid var(--line); }
.network-line { margin: 0; font-family: var(--f-head); font-size: clamp(1.1rem, 1.6vw, 1.35rem); color: var(--liege-ombre); }
.network-line b { font-weight: 500; color: var(--laiton-clair); }
.hero-store { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; font-size: .95rem; }
.hero-store-label { color: var(--liege-ombre); }
.hero-store a { font-family: var(--f-head); font-size: 1.15rem; text-decoration: none; }
a.hero-store-pick { color: var(--laiton); text-decoration: none; border-bottom: 1px solid var(--line-strong); padding-bottom: 2px; }

/* Sections */
.theme-wood .section { padding-block: clamp(56px, 9vw, 112px); }
.theme-wood .section-alt { background: rgba(8, 5, 3, .46); border-block: 1px solid var(--line); }
.theme-wood .sec-head { margin-bottom: clamp(26px, 4vw, 44px); align-items: flex-end; }

/* Univers : des niches en arc, comme les alvéoles d'un mur de cave */
.niches { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(14px, 2.2vw, 28px) clamp(12px, 2vw, 26px); }
@media (min-width: 720px) { .niches { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.niche { display: flex; flex-direction: column; align-items: center; text-align: center; text-decoration: none; color: var(--ink); }
.niche-arch { position: relative; width: 100%; aspect-ratio: 3 / 3.6; border-radius: var(--arch); display: grid; place-items: center; overflow: hidden; color: color-mix(in srgb, var(--laiton) 70%, var(--tone));
  background: radial-gradient(80% 60% at 50% 22%, color-mix(in srgb, var(--tone) 55%, transparent), transparent 75%), linear-gradient(180deg, color-mix(in srgb, var(--tone) 28%, #120B07), #0E0805 85%);
  box-shadow: inset 0 0 0 1px rgba(200, 161, 90, .3), inset 0 18px 40px -20px rgba(255, 210, 150, .25), inset 0 -40px 50px -30px rgba(0, 0, 0, .8);
  transition: box-shadow .4s ease, transform .4s ease; }
.niche-arch::after { content: ''; position: absolute; inset: 9px 9px 0; border-radius: var(--arch); border: 1px solid rgba(200, 161, 90, .16); border-bottom: 0; pointer-events: none; }
.niche-arch img { width: 100%; height: 100%; object-fit: cover; }
.niche-arch .ic { width: clamp(36px, 4vw, 52px); height: auto; stroke-width: 1.1; transition: transform .4s ease, color .4s; }
.niche-name { margin-top: 14px; font: 400 clamp(1.15rem, 1.8vw, 1.5rem)/1.15 var(--f-head); color: #F3E7D3; }
.niche-sub { margin-top: 4px; font-size: .86rem; color: var(--liege-ombre); max-width: 26ch; }
.niche:hover { color: var(--ink); }
.niche:hover .niche-arch { box-shadow: inset 0 0 0 1px var(--laiton), inset 0 30px 60px -20px rgba(255, 210, 150, .35), inset 0 -40px 50px -30px rgba(0, 0, 0, .8); }
.niche:hover .ic { transform: translateY(-4px); color: var(--laiton-clair); }
.niche:focus-visible { outline: none; }
.niche:focus-visible .niche-arch { outline: 2px solid var(--laiton-clair); outline-offset: 4px; }
@media (max-width: 719px) { .niche-sub { display: none; } }

/* Réseau */
.theme-wood .map { border: 1px solid var(--line-strong); background: rgba(8, 5, 3, .55); border-radius: var(--radius); }
.theme-wood .map .leaflet-tile-pane { filter: grayscale(1) sepia(.55) brightness(.62) contrast(1.15); }
.theme-wood .map-fallback { color: var(--muted); }
.theme-wood .bc-marker { background: var(--laiton); border-color: var(--noyer); }
.theme-wood .bc-marker.is-closed { background: #8C7A68; }
.theme-wood .leaflet-popup-content-wrapper, .theme-wood .leaflet-popup-tip { background: var(--liege); color: var(--noyer); }
.theme-wood .leaflet-popup-content a { color: var(--bordeaux); }
.theme-wood .mini-stores li { border-bottom-color: var(--line); padding: 18px 2px; }
.theme-wood .mini-stores strong { font-size: 1.35rem; font-weight: 400; color: #F3E7D3; }
.theme-wood .open { color: var(--muted); }
.theme-wood .open b { color: var(--ink); }
.theme-wood .open-unknown b { color: var(--warn); }

/* La maison : une page typographique */
.theme-wood .house-grid { align-items: start; gap: clamp(24px, 5vw, 80px); }
.theme-wood .house-title { font-size: clamp(2.4rem, 5vw, 4.4rem); line-height: 1; letter-spacing: -.02em; margin: 0; max-width: 12ch; }
.theme-wood .house .prose { font-size: 1.08rem; color: rgba(234, 219, 194, .86); margin-bottom: 1.6em; }
@media (min-width: 900px) { .theme-wood .house-grid { grid-template-columns: 1.1fr 1fr; } }

/* Adhésion : velours bordeaux */
.theme-wood .member-teaser { background: radial-gradient(70% 90% at 15% 50%, rgba(160, 60, 70, .35), transparent 70%), linear-gradient(rgba(56, 14, 22, .9), rgba(40, 9, 15, .94)); border-block: 1px solid rgba(200, 161, 90, .3); }
.theme-wood .member-teaser p { color: rgba(245, 222, 223, .82); }
.member-card-visual { background: linear-gradient(rgba(20, 12, 7, .2), rgba(20, 12, 7, .55)), url('/static/img/wood-texture.jpg') center / 900px auto; border: 1px solid rgba(200, 161, 90, .55); transform: rotate(-4deg); box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .9); }
.member-card-visual img { width: 58%; background: none; border-radius: 0; filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .6)); }
.theme-wood .mc-label { text-transform: none; letter-spacing: 0; font-family: var(--f-head); font-style: italic; font-size: .95rem; }
.theme-wood .mc-num { color: var(--laiton-clair); }

/* Guides : lignes éditoriales */
.guide-rows { display: grid; border-top: 1px solid var(--line-strong); }
.guide-row { display: grid; gap: 6px 48px; padding: 26px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.guide-row h3 { margin: 0; font-size: clamp(1.4rem, 2.4vw, 1.9rem); transition: color .25s; }
.guide-row p { margin: 0; color: var(--muted); max-width: 60ch; }
.guide-row:hover h3 { color: var(--laiton-clair); }
@media (min-width: 900px) { .guide-row { grid-template-columns: 1fr 1fr; align-items: baseline; } }

/* ---------- Pages intérieures ---------- */
.theme-wood .page-head { background: linear-gradient(180deg, rgba(8, 5, 3, .5), rgba(8, 5, 3, .2)); border-bottom: 1px solid var(--line-strong); padding: clamp(28px, 5vw, 56px) 0 clamp(26px, 4vw, 44px); }
.theme-wood .page-head h1 { font-size: clamp(2.4rem, 5.4vw, 4.4rem); letter-spacing: -.02em; }
.theme-wood .page-head-cat { background: radial-gradient(70% 120% at 85% 0%, color-mix(in srgb, var(--tone) 55%, transparent), transparent 70%), linear-gradient(180deg, color-mix(in srgb, var(--tone) 22%, rgba(8, 5, 3, .7)), rgba(8, 5, 3, .4)); }
.theme-wood .page-head-cat::before { display: none; }
.theme-wood .crumbs ol { color: var(--muted); }
.theme-wood .chips a { background: transparent; border-color: var(--line-strong); color: var(--liege); }
.theme-wood .chips a:hover { border-color: var(--laiton); color: #fff; }
.theme-wood .chips a[aria-current], .theme-wood .pager .cur, .theme-wood .acc-nav a[aria-current] { background: var(--laiton); color: var(--noyer); border-color: var(--laiton); }
.theme-wood .pager a, .theme-wood .pager span { background: transparent; border-color: var(--line); }
.theme-wood .active-filters a, .theme-wood .req-status { background: rgba(200, 161, 90, .16); color: var(--liege); }
.theme-wood .field > span, .theme-wood .field > label, .theme-wood .field legend { text-transform: none; letter-spacing: 0; font-size: .88rem; color: var(--liege-ombre); }
.theme-wood .filters-head h2 { font-size: 1.7rem; }

/* Fiches produit : chaque bouteille dans sa niche */
.theme-wood .pcard { background: transparent; border: 0; border-radius: 0; overflow: visible; }
.theme-wood .pcard:hover { box-shadow: none; }
.theme-wood .pcard-visual { border-radius: var(--arch); overflow: hidden; background: radial-gradient(70% 50% at 50% 30%, rgba(236, 184, 112, .16), transparent 70%), linear-gradient(180deg, rgba(40, 26, 17, .9), rgba(12, 7, 4, .95)); box-shadow: inset 0 0 0 1px rgba(200, 161, 90, .22); transition: box-shadow .35s; }
.theme-wood .pcard:hover .pcard-visual { box-shadow: inset 0 0 0 1px var(--laiton), inset 0 30px 60px -30px rgba(255, 210, 150, .3); }
.theme-wood .pcard-body { padding: 14px 2px 4px; text-align: center; }
.theme-wood .pcard-title { font-size: 1.22rem; font-weight: 400; color: #F3E7D3; }
.theme-wood .pcard-meta { color: var(--muted); }
.theme-wood .pcard-foot { justify-content: center; padding: 2px 2px 8px; }
.theme-wood .pcard-add { top: 12px; bottom: auto; inset-inline-end: 12px; }
.theme-wood .price { color: var(--laiton-clair); font-family: var(--f-head); font-size: 1.1rem; font-weight: 400; }
.theme-wood .demo-tag { top: auto; bottom: 12px; inset-inline-start: 50%; transform: translateX(-50%); background: rgba(110, 31, 43, .85); color: #F5DEDF; text-transform: none; letter-spacing: .02em; font-size: .72rem; border-radius: 999px; padding: 2px 10px; }
[dir="rtl"] .theme-wood .demo-tag { transform: translateX(50%); }
.theme-wood .pv-ph { background: none; color: color-mix(in srgb, var(--tone) 45%, #E6CFA8); }
.theme-wood .pv-note { color: rgba(234, 219, 194, .45); text-transform: none; letter-spacing: 0; font-size: .74rem; bottom: 40px; }
.theme-wood .pv-img { mix-blend-mode: normal; }
.theme-wood .product-visual { border-radius: var(--arch); background: radial-gradient(70% 45% at 50% 28%, rgba(236, 184, 112, .2), transparent 70%), linear-gradient(180deg, rgba(40, 26, 17, .9), rgba(12, 7, 4, .95)); box-shadow: inset 0 0 0 1px var(--line-strong); }
.theme-wood .sel-visual { border-radius: var(--arch); background: rgba(40, 26, 17, .9); }
.theme-wood .product-info h1 { font-size: clamp(2.2rem, 4.4vw, 3.6rem); }
.theme-wood .product-price { color: var(--laiton-clair); font-size: 1.9rem; }
.theme-wood .product-price span { text-transform: none; letter-spacing: 0; font-family: var(--f-body); font-size: .85rem; }
.theme-wood .specs { border-top-color: var(--line-strong); }

/* Surfaces génériques */
.theme-wood .store-item, .theme-wood .acard, .theme-wood .tile, .theme-wood .auth-card, .theme-wood .sel-form, .theme-wood .req-card, .theme-wood .empty, .theme-wood .my-avail {
  background: var(--surface); border-color: var(--line); backdrop-filter: blur(3px); }
.theme-wood .store-item.is-active { border-color: var(--laiton); box-shadow: 0 0 0 1px var(--laiton); }
.theme-wood .store-item h2 { font-weight: 400; }
.theme-wood .store-item-visual { border-radius: var(--arch); }
.theme-wood .store-ph { background: radial-gradient(70% 50% at 50% 25%, rgba(236, 184, 112, .2), transparent 70%), linear-gradient(rgba(14, 9, 5, .4), rgba(14, 9, 5, .75)), var(--wood-img) center / 700px auto; color: var(--laiton); }
.theme-wood .store-ph-note { text-transform: none; letter-spacing: 0; font-size: .72rem; }
.theme-wood .store-gallery { border-radius: var(--radius); }
.theme-wood .dist { color: var(--laiton); }
.theme-wood .acard:hover { border-color: var(--line-strong); }
.theme-wood .pcard-visual, .theme-wood .sel-visual { background-color: rgba(40, 26, 17, .9); }

/* Champs */
.theme-wood .field input, .theme-wood .field select, .theme-wood .field textarea, .theme-wood .sort select, .theme-wood .qty {
  background: rgba(8, 5, 3, .6); border-color: rgba(234, 219, 194, .2); color: var(--ink); }
.theme-wood .field input:focus, .theme-wood .field select:focus, .theme-wood .field textarea:focus { border-color: var(--laiton); box-shadow: 0 0 0 3px rgba(200, 161, 90, .18); }
.theme-wood .field input::placeholder, .theme-wood .field textarea::placeholder { color: rgba(181, 156, 126, .65); }
.theme-wood select option { background: var(--noyer); color: var(--liege); }
.theme-wood .qty button { color: var(--ink); }
.theme-wood .check input { accent-color: var(--laiton); }

/* États et messages */
.theme-wood .avail-available { color: var(--ok); } .theme-wood .avail-unavailable { color: var(--ko); } .theme-wood .avail-limited { color: var(--warn); }
.theme-wood .mine { color: var(--ok); }
.theme-wood .hours tr.today, .theme-wood .avail-list li.is-mine, .theme-wood .contact-stores li.is-mine { background: rgba(200, 161, 90, .12); }
.theme-wood .hours th, .theme-wood .hours td, .theme-wood .info-list div, .theme-wood .specs div, .theme-wood .avail-list li { border-bottom-color: var(--line); }
.theme-wood .demo-note, .theme-wood .draft-note, .theme-wood .notice { background: rgba(227, 181, 94, .1); border-color: rgba(227, 181, 94, .32); color: #F1DDB4; }
.theme-wood .flash-ok, .theme-wood .form-ok { background: rgba(140, 199, 154, .15); color: #D2EDD8; }
.theme-wood .flash-error, .theme-wood .form-error { background: rgba(232, 145, 127, .15); color: #F7D3CC; }
.theme-wood .flash-info { background: rgba(140, 170, 200, .15); color: #D6E3EF; }
.theme-wood .big-ic { background: rgba(140, 199, 154, .15); color: var(--ok); }
.theme-wood .prose blockquote { background: rgba(8, 5, 3, .5); border-inline-start-color: var(--laiton); font-family: var(--f-head); font-size: 1.2rem; font-style: italic; }
.theme-wood .timeline li.done { border-top-color: var(--laiton); }
.theme-wood .steps li { border-top-color: var(--line-strong); }
.theme-wood .steps span { color: var(--laiton); }
.theme-wood .dcard { background: linear-gradient(rgba(20, 12, 7, .3), rgba(20, 12, 7, .6)), var(--wood-img) center / 1254px auto; border-color: rgba(200, 161, 90, .55); }
.theme-wood .dcard-status { text-transform: none; letter-spacing: .02em; }
.dcard-top img { background: none; border-radius: 0; filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .6)); }

/* Pied de page */
.theme-wood .site-footer { background: linear-gradient(rgba(9, 6, 3, .9), rgba(9, 6, 3, .94)), var(--wood-img) center / 1254px auto; border-top: 1px solid var(--line-strong); color: rgba(234, 219, 194, .75); }
.foot-brand img { width: 210px; height: auto; border-radius: 0; filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .6)); }
.theme-wood .site-footer h2 { font-family: var(--f-head); font-style: italic; font-size: 1.15rem; letter-spacing: 0; text-transform: none; color: var(--laiton); font-weight: 400; }
.theme-wood .site-footer a, .theme-wood .site-footer .linklike { color: rgba(234, 219, 194, .8); }
.theme-wood .site-footer a:hover { color: #fff; }

/* Barre mobile, cookies, contrôle d'âge */
.theme-wood .tabbar { background: rgba(14, 9, 5, .95); border-top-color: var(--line-strong); }
.theme-wood .tabbar a { color: rgba(234, 219, 194, .62); }
.theme-wood .tabbar a[aria-current] { color: var(--laiton); }
.theme-wood .cookies { background: rgba(14, 9, 5, .97); border-top-color: var(--line-strong); }
.theme-wood .gate { background: rgba(10, 6, 3, .9); backdrop-filter: blur(8px); }
.theme-wood .gate-card { position: relative; border-radius: 260px 260px 4px 4px; padding-top: clamp(48px, 9vw, 76px); border-color: var(--line-strong);
  background: radial-gradient(70% 45% at 50% 12%, rgba(236, 184, 112, .3), transparent 70%), linear-gradient(rgba(14, 9, 5, .3), rgba(14, 9, 5, .7)), var(--wood-img) center / 1254px auto; }
.theme-wood .gate-card h2 { font-size: clamp(1.8rem, 4vw, 2.4rem); }
.gate-card img { border-radius: 0; filter: drop-shadow(0 3px 6px rgba(0, 0, 0, .6)); }
.theme-wood .gate-age { color: var(--laiton-clair); }

/* Mobile */
@media (max-width: 639px) {
  .theme-wood { font-size: 16.5px; }
  .theme-wood .hero-grid { padding-top: 28px; }
  .theme-wood .hero-cta .btn { flex: 1 1 100%; }
  .hero-foot { padding-block: 16px 22px; }
  .theme-wood .sec-head { gap: 8px 16px; }
}
/* Ajustements après revue */
.niche-arch { aspect-ratio: 3 / 3.3; background: radial-gradient(85% 70% at 50% 18%, color-mix(in srgb, var(--tone) 62%, transparent), transparent 78%), linear-gradient(180deg, color-mix(in srgb, var(--tone) 30%, #140C07), color-mix(in srgb, var(--tone) 12%, #0E0805)); }
.niche-arch .ic { width: clamp(44px, 5vw, 64px); }
.theme-wood .pv-ph .pv-ic { width: 34%; height: auto; opacity: .85; }
.theme-wood .pcard-add { top: auto; bottom: 2px; inset-inline-end: 0; }
.theme-wood .pcard-add .btn-icon { width: 36px; height: 36px; }
.theme-wood .pcard-foot { padding-inline: 40px; }
.theme-wood .store-item h2 { font-size: clamp(1.3rem, 2vw, 1.6rem); line-height: 1.15; }
.theme-wood .acard h2, .theme-wood .acard h3 { font-size: 1.5rem; }
.theme-wood .req-card h2 { font-size: 1.4rem !important; }
.theme-wood .acc-main h2 { font-size: 1.7rem; }
.theme-wood .practical-store h2, .theme-wood .contact-stores h3 { font-size: 1.5rem; }
.theme-wood .empty h3 { font-size: 1.6rem; }
.theme-wood .auth-card h1 { font-size: clamp(2rem, 4vw, 2.8rem); }
.theme-wood .store-head h1 { font-size: clamp(2.2rem, 4.6vw, 3.8rem); }

/* ---------- Rubriques en photo (catalogue) ---------- */
.rubriques { border-bottom: 1px solid var(--line); }
.rubriques-track { display: flex; gap: clamp(12px, 1.6vw, 20px); overflow-x: auto; padding-block: 22px 18px; scroll-snap-type: x proximity; scrollbar-width: thin; scrollbar-color: rgba(200, 161, 90, .4) transparent;
  -webkit-mask-image: linear-gradient(90deg, #000 94%, transparent); mask-image: linear-gradient(90deg, #000 94%, transparent); }
.rubrique { flex: none; width: clamp(96px, 9vw, 128px); display: flex; flex-direction: column; align-items: center; gap: 8px; text-decoration: none; text-align: center; scroll-snap-align: start; color: var(--muted); }
.rubrique-arch { position: relative; width: 100%; aspect-ratio: 4 / 5; border-radius: 999px 999px 0 0; overflow: hidden; display: grid; place-items: center;
  background: linear-gradient(180deg, color-mix(in srgb, var(--tone, #3B2517) 35%, #140C07), #0E0805); box-shadow: inset 0 0 0 1px rgba(200, 161, 90, .28); color: var(--gold); }
.rubrique-arch img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.9) brightness(.86); transition: transform .5s ease, filter .3s; }
.rubrique-all .rubrique-arch { background: radial-gradient(80% 60% at 50% 30%, rgba(236, 184, 112, .28), transparent 70%), var(--wood-img, #2A1A12) center / 600px auto; }
.rubrique-all .rubrique-arch img { width: 78%; height: auto; object-fit: contain; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .7)); }
.rubrique-arch::after { content: ''; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 -30px 30px -20px rgba(0, 0, 0, .55); pointer-events: none; }
.rubrique-name { font-size: .84rem; line-height: 1.25; }
.rubrique:hover { color: var(--ink); }
.rubrique:hover .rubrique-arch img { transform: scale(1.06); filter: none; }
.rubrique[aria-current] { color: var(--ink); }
.rubrique[aria-current] .rubrique-arch { box-shadow: inset 0 0 0 2px var(--gold), 0 8px 24px -10px rgba(0, 0, 0, .8); }
.rubrique[aria-current] .rubrique-name { font-weight: 500; color: var(--gold); }
.rubrique:focus-visible { outline: none; } .rubrique:focus-visible .rubrique-arch { outline: 2px solid var(--gold); outline-offset: 3px; }
.theme-wood .rubrique-name { font-family: var(--f-head); font-size: .98rem; }


/* Photo dans la niche d'accueil */
.niche-arch img { filter: saturate(.92) brightness(.82); transition: transform .6s ease, filter .4s; }
.niche:hover .niche-arch img { transform: scale(1.05); filter: none; }
.niche-arch:has(img)::before { content: ''; position: absolute; inset: 0; z-index: 1; border-radius: inherit; background: linear-gradient(180deg, transparent 55%, rgba(10, 6, 3, .55)); pointer-events: none; }

/* En-tête de rubrique avec photo */
.page-head-photo { position: relative; overflow: hidden; }
.page-head-photo::after { content: ''; position: absolute; inset: 0 0 0 auto; width: min(52%, 640px); background: var(--cat-img) center / cover no-repeat;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 45%); mask-image: linear-gradient(90deg, transparent, #000 45%); opacity: .85; z-index: 0; }
.page-head-photo .wrap { position: relative; z-index: 1; }
.page-head-photo h1, .page-head-photo .lead, .page-head-photo .intro { max-width: 30ch; }
.page-head-photo .intro { max-width: 52ch; }
[dir="rtl"] .page-head-photo::after { inset: 0 auto 0 0; -webkit-mask-image: linear-gradient(270deg, transparent, #000 45%); mask-image: linear-gradient(270deg, transparent, #000 45%); }
@media (max-width: 719px) { .page-head-photo::after { width: 100%; opacity: .35; -webkit-mask-image: none; mask-image: none; } }

/* Arabe : titres plus compacts (lignes plus courtes en écriture arabe), plages horaires lues de gauche à droite */
[dir="rtl"] .theme-wood .hero-title { font-size: clamp(2.4rem, 5.4vw, 4.8rem); max-width: 13ch; line-height: 1.25; }
[dir="rtl"] .theme-wood .house-title { line-height: 1.25; }
[dir="rtl"] .hours td, [dir="rtl"] .pcard-meta, [dir="rtl"] .product-sub { unicode-bidi: plaintext; }
[dir="rtl"] .hours td { text-align: right; }
@media (max-width: 639px) { [dir="rtl"] .theme-wood .hero-title { font-size: 2.3rem; } }
.photo-credit { position: absolute; bottom: 6px; inset-inline-end: 8px; font-size: .62rem; color: var(--muted, #8a7f74); opacity: .8; }
.product-visual .pv-img { object-fit: contain; }
.theme-wood .pcard-visual .pv-img { padding: 12% 14% 6%; background: transparent; filter: drop-shadow(0 14px 18px rgba(0,0,0,.45)); }
.theme-wood .product-visual .pv-img { padding: 8% 18% 4%; filter: drop-shadow(0 22px 26px rgba(0,0,0,.5)); }
/* Demande de carte d'adhérent (QR) */
.adhesion-form .grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 560px) { .adhesion-form .grid-2 { grid-template-columns: 1fr; } }
.adhesion-done { text-align: center; padding-block: 48px 64px; }
.adhesion-ok { width: 76px; height: 76px; margin: 0 auto 18px; border-radius: 50%; display: grid; place-items: center; background: color-mix(in srgb, var(--accent, #A4622F) 18%, transparent); color: var(--accent, #A4622F); }
.adhesion-rdv { font-size: 1.35rem; line-height: 1.4; margin: 10px auto 26px; max-width: 30ch; }
.theme-wood .adhesion-rdv { color: var(--laiton-clair, #E6C88F); font-family: var(--f-head, Georgia, serif); }
.adhesion-store { padding: 18px; border: 1px solid var(--line, #E4D9CA); border-radius: 10px; margin: 0 auto 22px; max-width: 460px; }
.adhesion-store h2 { margin: 0 0 6px; font-size: 1.3rem; }
.adhesion-ref { display: grid; justify-items: center; gap: 6px; }
.adhesion-qr { background: #fff; padding: 10px; border-radius: 8px; line-height: 0; }
.code-block { white-space: pre; overflow-x: auto; background: #1F1712; color: #F1E5D3; padding: 12px; border-radius: 6px; font-size: .78rem; }
.help-box { margin-top: 14px; }
.help-box summary { cursor: pointer; font-weight: 600; }
.foot-social { display: flex; gap: 18px; margin-top: 14px; }
.foot-social a { display: inline-flex; align-items: center; gap: 8px; color: inherit; text-decoration: none; opacity: .85; }
.foot-social a:hover { opacity: 1; color: var(--laiton-clair, #E2C487); }
