/* =====================================================================
   Tannenglück — thème de la boutique
   Dans la logique des thèmes Shopify (Dawn) : grandes images, cartes sans cadre,
   boutons pilule, texte aéré, menu en tiroir. Aucune dépendance externe.
   ===================================================================== */

/* ---------- Police (Open Sans, hébergée sur le site, licence OFL) ---------- */
@font-face {
  font-family: "Open Sans";
  src: url("../fonts/open-sans-latin.woff") format("woff");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

/* ---------- Jetons ---------- */
:root {
  --fg: 18, 18, 18;
  --ink: rgb(var(--fg));
  --text: rgba(var(--fg), .75);
  --muted: rgba(var(--fg), .6);
  --line: rgba(var(--fg), .1);
  --line-2: rgba(var(--fg), .2);
  --field: rgba(var(--fg), .55);
  --bg: #fff;
  --bg-2: #f3f3f3;
  --beige: #ece9e4;
  --tile: #efedea;
  --footer: #333;
  --brand: #1f5c3c;
  --brand-2: #2e7d4f;
  --accent: #8cc49a;
  --sale: #b3261e;
  --ok: #1f7a45;
  --warn: #9a6300;
  --font: "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --logo-font: Georgia, "Times New Roman", serif;
  --ls: .06rem;
  --page: 1600px;
  --pad: 5rem;
  --gap-x: 10px;
  --gap-y: 36px;
  --section: 72px;
  --radius-btn: 40px;
  --radius-tile: 12px;
  --header-bottom: 0px;
  --ease: cubic-bezier(.2, .6, .3, 1);
}
@media (max-width: 989px) { :root { --pad: 2.4rem; --section: 56px; } }
@media (max-width: 749px) { :root { --pad: 1.5rem; --gap-x: 8px; --gap-y: 26px; --section: 44px; } }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
/* Comme Dawn : 1rem = 10px, les tailles de texte sont en px */
html { font-size: 62.5%; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; } }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.8; letter-spacing: var(--ls); color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
@media (max-width: 749px) { body { font-size: 15px; } }
img, svg, video { max-width: 100%; }
[hidden] { display: none !important; }
input[type="search"]::-webkit-search-cancel-button, input[type="search"]::-webkit-search-decoration { -webkit-appearance: none; appearance: none; }
img { height: auto; display: block; }
picture { display: block; }
h1, h2, h3, h4 { color: var(--ink); font-family: var(--font); font-weight: 700; letter-spacing: var(--ls); line-height: 1.3; margin: 0 0 .6em; text-wrap: balance; }
h1 { font-size: 40px; }
h2 { font-size: 32px; }
h3 { font-size: 20px; font-weight: 400; }
@media (max-width: 749px) { h1 { font-size: 30px; } h2 { font-size: 24px; } h3 { font-size: 18px; } }
p { margin: 0 0 1em; }
a { color: var(--ink); text-underline-offset: .3rem; text-decoration-thickness: .1rem; }
a:hover { text-decoration-thickness: .2rem; }
strong, b { color: var(--ink); font-weight: 700; }
small, .small { font-size: 13px; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2rem 0; }
:focus-visible { outline: 2px solid rgba(var(--fg), .5); outline-offset: 3px; box-shadow: 0 0 0 3px #fff, 0 0 0 5px rgba(var(--fg), .25); }
::selection { background: rgba(var(--fg), .15); }

.page-width, .wrap { max-width: calc(var(--page) + var(--pad) * 2); margin-inline: auto; padding-inline: var(--pad); }
.page-full { padding-inline: 1.8rem; }
@media (max-width: 749px) { .page-full { padding-inline: 1.5rem; } }
.narrow { max-width: 860px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: -9999px; top: 0; z-index: 100; background: var(--ink); color: #fff; padding: .7rem 1.2rem; }
.skip:focus { left: 1rem; top: 1rem; }
.hp { position: absolute; left: -9999px; }
.muted { color: var(--muted); }
.center { text-align: center; }
.pos { color: var(--ok); }
.neg { color: var(--sale); }
.num { text-align: right; font-variant-numeric: tabular-nums; }
.opt { color: var(--muted); font-weight: 400; font-size: .85em; }
.lead { font-size: 17px; max-width: 70ch; }
.eyebrow { font-size: 13px; letter-spacing: .13rem; text-transform: uppercase; color: var(--muted); margin-bottom: .6rem; }
.icon { width: 22px; height: 22px; flex: none; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 48px; padding: 0 3rem; border-radius: var(--radius-btn);
  font: inherit; font-size: 15px; letter-spacing: .1rem; line-height: 1.2; text-align: center; text-decoration: none;
  cursor: pointer; border: 0; position: relative; transition: box-shadow .1s ease, background .15s ease, color .15s ease;
  background: var(--ink); color: #fff; box-shadow: 0 0 0 1px var(--ink);
}
.btn:hover { box-shadow: 0 0 0 2px var(--ink); }
.btn:disabled, .btn[aria-disabled="true"] { opacity: .5; cursor: not-allowed; }
.btn-primary { background: var(--ink); color: #fff; }
.btn-secondary, .btn-ghost { background: transparent; color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.btn-secondary:hover, .btn-ghost:hover { box-shadow: 0 0 0 2px var(--ink); }
.btn-white { background: #fff; color: var(--ink); box-shadow: none; }
.btn-white:hover { box-shadow: 0 0 0 2px #fff; }
.btn-dark { background: #333; color: #fff; box-shadow: none; }
.btn-dark:hover { background: #222; box-shadow: none; }
.btn-light { background: #fff; color: var(--ink); box-shadow: none; }
.btn-outline-light { background: transparent; color: #fff; box-shadow: 0 0 0 1px #fff; }
.btn-block { width: 100%; }
.btn-lg { min-height: 54px; }
.btn-small { min-height: 38px; padding: 0 1.5rem; font-size: 14px; }
.btn.is-loading { color: transparent !important; }
.btn.is-loading::after { content: ""; position: absolute; width: 18px; height: 18px; border-radius: 50%; border: 2px solid currentColor; border-color: #fff #fff transparent transparent; animation: spin .7s linear infinite; }
.btn-secondary.is-loading::after { border-color: var(--ink) var(--ink) transparent transparent; }
@keyframes spin { to { transform: rotate(360deg); } }
.btn-row { display: flex; gap: 1rem; flex-wrap: wrap; }
.link-more { font-size: 15px; }
.link-danger { color: var(--sale); }

/* ---------- Champs ---------- */
input, select, textarea { font: inherit; letter-spacing: var(--ls); color: var(--ink); }
input[type="text"], input[type="email"], input[type="password"], input[type="tel"], input[type="number"], input[type="search"], input[type="url"], input[type="date"], select, textarea {
  width: 100%; min-height: 48px; padding: .8rem 1.5rem; background: #fff; border: 0; border-radius: 0;
  box-shadow: 0 0 0 1px var(--field); transition: box-shadow .1s ease; appearance: none; -webkit-appearance: none;
}
textarea { min-height: 120px; resize: vertical; line-height: 1.6; }
select { padding-right: 3rem; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23121212' stroke-width='1.3'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1.4rem center; background-size: 10px; cursor: pointer; }
input:hover, select:hover, textarea:hover { box-shadow: 0 0 0 2px var(--field); }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: none; box-shadow: 0 0 0 2px var(--ink); }
input[type="checkbox"], input[type="radio"] { accent-color: var(--ink); width: 17px; height: 17px; }
.form label, label.field-block { display: block; font-size: 14px; color: var(--ink); margin-bottom: 1.4rem; }
.form label > input, .form label > select, .form label > textarea { margin-top: .5rem; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1.6rem; }
.row3 { display: grid; grid-template-columns: 150px 1fr 190px; gap: 0 1.6rem; }
@media (max-width: 749px) { .row2, .row3 { grid-template-columns: 1fr; } }
.field-error { display: block; color: var(--sale); font-size: 13px; margin-top: .4rem; }
.check { display: flex; gap: .8rem; align-items: flex-start; font-size: 14px; margin: 1.2rem 0; }
.check input { margin-top: .35rem; flex: none; }
/* Champ à étiquette flottante (recherche, lettre d'information) */
.field { position: relative; display: flex; }
.field-input { padding: 2.2rem 5rem 1rem 1.5rem !important; min-height: 50px; }
.field-input::placeholder { color: transparent; }
.field-label { position: absolute; left: 1.5rem; top: 50%; transform: translateY(-50%); font-size: 15px; color: var(--muted); pointer-events: none; transition: top .1s ease, font-size .1s ease; }
.field-input:focus ~ .field-label, .field-input:not(:placeholder-shown) ~ .field-label { top: 1.1rem; transform: none; font-size: 11px; letter-spacing: .04rem; }
.field-button { position: absolute; right: 0; top: 0; bottom: 0; width: 50px; display: grid; place-items: center; background: none; border: 0; cursor: pointer; color: var(--ink); }
.field-button .icon { width: 20px; height: 20px; }

/* ---------- Messages ---------- */
.flash-zone { padding-top: 1.6rem; }
.alert { padding: 1.2rem 1.6rem; margin-bottom: 1.6rem; font-size: 15px; border-left: 3px solid; background: var(--bg-2); color: var(--ink); }
.alert-success { border-color: var(--ok); background: #eef6f0; }
.alert-error { border-color: var(--sale); background: #fbefee; }
.alert-info { border-color: var(--ink); }

/* =====================================================================
   En-tête
   ===================================================================== */
.announce { background: var(--beige); color: var(--ink); text-align: center; font-size: 14px; letter-spacing: .1rem; line-height: 1.5; }
.announce p { margin: 0 auto; padding-block: 1rem; }
.header-wrapper { position: sticky; top: 0; z-index: 40; background: var(--bg); border-bottom: 1px solid transparent; transition: transform .3s var(--ease), border-color .2s; }
.header-wrapper.is-scrolled { border-bottom-color: var(--line); }
.header-wrapper.is-hidden { transform: translateY(-100%); }
/* En-tête pleine largeur, comme la référence : burger au bord gauche, icônes au bord droit */
.site-header.page-width { max-width: none; padding-inline: 3rem; }
.site-header { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: 112px; }
.header-left, .header-right { display: flex; align-items: center; }
.header-right { justify-content: flex-end; }
.header-icon { width: 44px; height: 44px; display: inline-grid; place-items: center; position: relative; color: var(--ink); background: none; border: 0; padding: 0; cursor: pointer; text-decoration: none; }
.header-icon .icon { width: 24px; height: 24px; transition: transform .15s ease; }
.header-icon:hover .icon { transform: scale(1.07); }
.menu-toggle .icon-close { display: none; }
.menu-toggle[aria-expanded="true"] .icon-burger { display: none; }
.menu-toggle[aria-expanded="true"] .icon-close { display: block; }
.header-search-sm { display: none; }
.cart-bubble { position: absolute; bottom: 6px; left: 24px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 99px; background: var(--ink); color: #fff; font-size: 10px; letter-spacing: 0; line-height: 18px; text-align: center; font-weight: 700; }
.cart-bubble[hidden] { display: none; }
.logo { display: inline-flex; align-items: center; gap: .55rem; color: var(--brand); text-decoration: none; font-family: var(--logo-font); font-weight: 700; font-size: 26px; letter-spacing: 0; line-height: 1; white-space: nowrap; }
.logo .logo-mark { width: 26px; height: 30px; color: var(--brand-2); }
.logo:hover { text-decoration: none; opacity: .9; }
@media (max-width: 989px) {
  .site-header { min-height: 64px; }
  .site-header.page-width { padding-inline: 1rem; }
  .logo { font-size: 21px; } .logo .logo-mark { width: 21px; height: 25px; }
  .header-search-sm { display: inline-grid; }
  .header-search-lg { display: none; }
}

/* ----- Menu en tiroir ----- */
.menu-drawer {
  position: fixed; top: var(--header-bottom); left: 0; bottom: 0; z-index: 39;
  width: min(500px, 100vw); background: var(--bg); overflow: hidden;
  transform: translateX(-102%); visibility: hidden; transition: transform .3s var(--ease), visibility 0s .3s;
  border-right: 1px solid var(--line);
}
.menu-drawer.is-open { transform: none; visibility: visible; transition: transform .3s var(--ease); }
.menu-drawer-inner { height: 100%; display: flex; flex-direction: column; overflow-y: auto; overscroll-behavior: contain; position: relative; }
.menu-backdrop { position: fixed; inset: var(--header-bottom) 0 0 0; z-index: 38; background: rgba(var(--fg), .5); opacity: 0; transition: opacity .3s; }
.menu-backdrop.is-open { opacity: 1; }
.menu-list { list-style: none; margin: 0; padding: 2.8rem 0; }
.menu-link {
  display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 1.1rem 3.2rem;
  font: inherit; font-size: 22px; letter-spacing: var(--ls); color: var(--ink); text-align: left; text-decoration: none;
  background: none; border: 0; cursor: pointer;
}
.menu-link:hover { background: rgba(var(--fg), .04); text-decoration: none; }
.menu-link .icon-arrow { width: 18px; height: 18px; }
.menu-link-sm { font-size: 17px; color: var(--text); }
.submenu { position: absolute; inset: 0; background: var(--bg); transform: translateX(100%); visibility: hidden; transition: transform .3s var(--ease), visibility 0s .3s; overflow-y: auto; z-index: 2; }
.submenu.is-open { transform: none; visibility: visible; transition: transform .3s var(--ease); }
.submenu .menu-list { padding-top: .8rem; }
.submenu-back { display: flex; align-items: center; gap: 1rem; width: 100%; padding: 1.2rem 3.2rem; margin-top: 1.6rem; background: rgba(var(--fg), .04); border: 0; font: inherit; font-size: 15px; letter-spacing: var(--ls); color: var(--ink); text-align: left; cursor: pointer; }
.submenu-back .icon-arrow { width: 18px; height: 18px; }
.menu-utility { margin-top: auto; padding: 2.4rem 3.2rem 3rem; background: rgba(var(--fg), .03); display: grid; gap: .6rem; }
.menu-account { display: inline-flex; align-items: center; gap: 1rem; font-size: 15px; text-decoration: none; color: var(--ink); }
.menu-account:hover { text-decoration: underline; }
.menu-social, .footer-social { list-style: none; margin: .6rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem 1.6rem; }
.menu-social a { font-size: 14px; color: var(--text); }
@media (max-width: 749px) { .menu-link { padding-inline: 2rem; font-size: 18px; } .submenu-back, .menu-utility { padding-inline: 2rem; } }

/* ----- Recherche ----- */
.search-modal { position: absolute; inset: 0 0 auto 0; z-index: 3; background: var(--bg); min-height: 100%; border-bottom: 1px solid var(--line); box-shadow: 0 18px 40px -26px rgba(0, 0, 0, .25); }
.search-modal[hidden] { display: none; }
.search-modal-inner { display: flex; align-items: center; gap: 1.6rem; min-height: inherit; padding-block: 2.8rem; }
.header-wrapper > .search-modal { min-height: 112px; }
@media (max-width: 989px) { .header-wrapper > .search-modal { min-height: 64px; } .search-modal-inner { padding-block: 1rem; } }
.search-form { flex: 1; max-width: 760px; margin-inline: auto; position: relative; }
.predictive { position: absolute; top: calc(100% + 1px); left: 0; right: 0; background: var(--bg); box-shadow: 0 0 0 1px var(--field), 0 16px 36px -18px rgba(0, 0, 0, .3); max-height: 70vh; overflow-y: auto; z-index: 4; }
.predictive[hidden] { display: none; }
.predictive-head { margin: 0; padding: 1.4rem 2rem .6rem; font-size: 12px; letter-spacing: .13rem; text-transform: uppercase; color: var(--muted); border-bottom: 1px solid var(--line); }
.predictive ul { list-style: none; margin: 0; padding: .6rem 0; }
.predictive a { display: flex; align-items: center; gap: 1.4rem; padding: .8rem 2rem; text-decoration: none; color: var(--ink); line-height: 1.4; }
.predictive a:hover, .predictive a[aria-selected="true"] { background: rgba(var(--fg), .04); }
.predictive a img { width: 52px; height: 64px; object-fit: cover; background: var(--bg-2); flex: none; }
.predictive a span { display: grid; gap: .2rem; }
.predictive a small { color: var(--text); font-size: 14px; }
.predictive-all { border-top: 1px solid var(--line); font-size: 14px; }
.predictive-empty { padding: 1.6rem 2rem; margin: 0; font-size: 15px; }

/* =====================================================================
   Sections
   ===================================================================== */
.section { padding-block: var(--section) 0; }
.section:last-of-type { padding-bottom: var(--section); }
.section-tint { background: var(--bg-2); padding-bottom: var(--section); }
.section-head { text-align: center; margin-bottom: 3.2rem; }
.section-head h2 { margin-bottom: .5rem; }
.section-head p { margin: 0 auto; max-width: 60ch; font-size: 17px; }
.section-lead { font-size: 17px; }
@media (max-width: 749px) { .section-head { margin-bottom: 2rem; } .section-head p { font-size: 15px; } }

/* ----- Bannière ----- */
.banner { position: relative; display: flex; align-items: center; justify-content: center; min-height: 72rem; color: #fff; overflow: hidden; isolation: isolate; }
.banner-media { position: absolute; inset: 0; z-index: -2; }
.banner-media img, .banner-media picture { width: 100%; height: 100%; object-fit: cover; }
.banner::after { content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(ellipse 60% 55% at 50% 50%, rgba(0, 0, 0, .46), rgba(0, 0, 0, .22) 100%); }
@media (max-width: 749px) { .banner::after { background: rgba(0, 0, 0, .38); } }
.banner-content { text-align: center; padding-block: 8rem; }
.banner-title { color: #fff; font-size: 52px; font-weight: 400; text-transform: uppercase; letter-spacing: .1rem; line-height: 1.3; max-width: 22ch; margin: 0 auto 3.2rem; }
.banner-title strong { color: #fff; font-weight: 700; }
@media (max-width: 989px) { .banner { min-height: 56rem; } .banner-title { font-size: 40px; } }
@media (max-width: 749px) { .banner { min-height: 46rem; } .banner-title { font-size: 30px; margin-bottom: 2.4rem; } }

/* ----- Grilles de produits ----- */
.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap-y) var(--gap-x); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.grid-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
@media (max-width: 1199px) { .grid-5, .grid-6 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 750px) and (max-width: 1199px) { .shop-main .grid-4 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 989px) { .grid, .grid-4, .grid-5, .grid-6 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 749px) { .grid, .grid-3, .grid-4, .grid-5, .grid-6 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ----- Carte produit ----- */
.card { position: relative; display: flex; flex-direction: column; min-width: 0; }
.card-media { position: relative; display: block; aspect-ratio: 3 / 4; overflow: hidden; background: var(--bg-2); }
.card-media > picture, .card-media > img, .card-media-2 { position: absolute; inset: 0; width: 100%; height: 100%; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease), opacity .4s ease; }
.card-media-2 { opacity: 0; transition: opacity .4s ease; }
.card:hover .card-media > picture img, .card:hover .card-media > img { transform: scale(1.03); }
.card.has-second:hover .card-media-2 { opacity: 1; }
.card.has-second:hover .card-media > picture:first-child img { transform: none; }
.card-body { padding: 1.3rem .2rem 0; }
.card-title { font-size: 15px; font-weight: 400; line-height: 1.45; letter-spacing: var(--ls); margin: 0 0 .5rem; }
.card-title a { color: var(--ink); text-decoration: none; }
.card-title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.card:hover .card-title a { text-decoration: underline; text-underline-offset: .3rem; text-decoration-thickness: .1rem; }
.card-rating { margin: 0 0 .5rem; font-size: 13px; color: var(--muted); display: flex; align-items: center; gap: .5rem; }
.card-price { margin: 0; font-size: 17px; letter-spacing: .1rem; color: var(--ink); line-height: 1.5; }
.card-price s { color: var(--muted); font-size: 14px; margin-left: .4rem; }
.price-sale { color: var(--ink); }
.card.is-out .card-media img { opacity: .85; }
@media (max-width: 749px) { .card-title { font-size: 14px; } .card-price { font-size: 15px; } }
.badge { display: inline-block; padding: .4rem 1.3rem; border-radius: var(--radius-btn); font-size: 12px; letter-spacing: .1rem; line-height: 1.4; color: #fff; background: #333; white-space: nowrap; }
.card-media .badge { position: absolute; left: 1rem; bottom: 1rem; z-index: 2; }
.badge-sale { background: var(--sale); }
.badge-new { background: var(--brand); }
.badge-out { background: #333; }
.stars { color: var(--ink); letter-spacing: .12rem; font-size: 13px; }
.stars-off { color: rgba(var(--fg), .2); }

/* ----- Tuiles de rayons ----- */
.tile-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.2rem 4.4rem; max-width: 1590px; margin-inline: auto; }
.tile { display: flex; align-items: stretch; justify-content: space-between; gap: .8rem; min-height: 120px; background: var(--tile); border-radius: var(--radius-tile); overflow: hidden; text-decoration: none; color: var(--ink); transition: transform .25s var(--ease), box-shadow .25s; }
.tile:hover { transform: translateY(-3px); box-shadow: 0 14px 26px -20px rgba(0, 0, 0, .45); text-decoration: none; }
.tile-text { display: flex; flex-direction: column; justify-content: center; gap: .1rem; padding: 1.4rem 0 1.4rem 2.2rem; min-width: 0; flex: 1; }
.tile-eyebrow { font-size: 10px; letter-spacing: .04rem; color: var(--muted); overflow-wrap: anywhere; }
.tile-name { font-size: 18px; line-height: 1.3; color: var(--ink); overflow-wrap: anywhere; }
.tile-rule { width: 12px; height: 1px; background: var(--ink); margin-top: .5rem; opacity: .7; }
.tile-media { flex: none; width: 46%; max-width: 170px; display: block; }
.tile-media img, .tile-media picture { width: 100%; height: 100%; object-fit: cover; }
.tile-media .visual { object-fit: contain; padding: .4rem; }
@media (max-width: 1199px) { .tile-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem 2rem; } }
@media (max-width: 989px) { .tile-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 559px) { .tile-grid { grid-template-columns: 1fr; gap: .8rem; } .tile { min-height: 96px; } }

/* ----- Bandeau image et texte ----- */
.image-band { position: relative; margin-top: var(--section); min-height: 62rem; display: flex; align-items: center; color: #fff; overflow: hidden; isolation: isolate; }
.image-band-media { position: absolute; inset: 0; z-index: -2; }
.image-band-media img, .image-band-media picture { width: 100%; height: 100%; object-fit: cover; }
.image-band::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(0, 0, 0, .45), rgba(0, 0, 0, .1) 70%); }
.image-band-content { width: 100%; padding-block: 8rem; }
.image-band h2 { color: #fff; font-size: 54px; text-transform: uppercase; letter-spacing: .1rem; line-height: 1.2; max-width: 780px; margin-bottom: 2rem; }
.image-band p { font-size: 20px; max-width: 46ch; color: rgba(255, 255, 255, .9); margin: 0; }
@media (max-width: 989px) { .image-band { min-height: 48rem; } .image-band h2 { font-size: 40px; } }
@media (max-width: 749px) { .image-band { min-height: 40rem; } .image-band h2 { font-size: 30px; } .image-band p { font-size: 16px; } }

/* ----- Avantages ----- */
.advantages { list-style: none; margin-top: 0; margin-bottom: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 3rem 2rem; text-align: center; }
.advantages li { display: grid; justify-items: center; gap: 2rem; }
.advantages svg { width: 140px; height: 140px; }
.advantages b { font-size: 21px; line-height: 1.35; max-width: 14ch; }
@media (max-width: 989px) { .advantages { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 749px) { .advantages { grid-template-columns: repeat(2, minmax(0, 1fr)); } .advantages svg { width: 96px; height: 96px; } .advantages b { font-size: 16px; } }

/* ----- Image et texte (« à propos ») ----- */
.story { background: var(--beige); margin-top: var(--section); padding-block: 4.4rem; }
.story-inner { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 4.4rem 8rem; }
.story-media { aspect-ratio: 3 / 2; overflow: hidden; background: #ddd8d1; }
.story-media img, .story-media picture { width: 100%; height: 100%; object-fit: cover; }
.story-media .visual { object-fit: contain; }
.story-text h2 { font-size: 54px; text-transform: uppercase; letter-spacing: .1rem; line-height: 1.2; margin-bottom: 2.4rem; color: #333; }
.story-text p { font-size: 19px; margin-bottom: 3.2rem; max-width: 56ch; }
@media (max-width: 989px) { .story-inner { grid-template-columns: 1fr; } .story-text h2 { font-size: 38px; } .story-text p { font-size: 16px; } }

/* ----- Questions fréquentes ----- */
.faq-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 3.2rem 6rem; }
.faq-cols h3 { font-size: 22px; font-weight: 400; margin-bottom: 1.6rem; }
.faq-cols p { margin: 0; font-size: 17px; }
@media (max-width: 749px) { .faq-cols { grid-template-columns: 1fr; gap: 2.4rem; } .faq-cols h3 { font-size: 19px; } .faq-cols p { font-size: 15px; } }
/* Questions dépliables (page FAQ) */
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 1.6rem 0; font-size: 17px; color: var(--ink); list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 20px; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding-bottom: 1.4rem; margin: 0; }

/* =====================================================================
   Pages intérieures
   ===================================================================== */
.page-head { padding-block: 4rem 3.2rem; }
.page-head h1 { margin-bottom: .8rem; }
.page-head .lead { margin: 0; }
.page-head-tight { padding-bottom: 1.2rem; }
.crumbs { font-size: 13px; color: var(--muted); margin-bottom: 1.4rem; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.crumbs span { margin: 0 .3rem; }
.empty { text-align: center; padding: 6rem 1.5rem; }
.empty-title { font-size: 24px; color: var(--ink); margin-bottom: .8rem; }
.panel { background: var(--bg); box-shadow: 0 0 0 1px var(--line); padding: 2.6rem; margin-bottom: 2rem; }
.panel h2, .panel h3 { font-size: 20px; }
.panel h1 { font-size: 28px; }
@media (max-width: 749px) { .panel { padding: 1.8rem; } }
.prose { padding-bottom: 6rem; max-width: 820px; }
.prose h2 { font-size: 24px; margin-top: 3.2rem; }
.prose h3 { font-size: 19px; font-weight: 700; margin-top: 2.4rem; }
.prose ul, .prose ol { padding-left: 1.4rem; }
.prose li { margin-bottom: .4rem; }
.table-scroll { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: 15px; }
.table th { text-align: left; font-size: 12px; letter-spacing: .13rem; text-transform: uppercase; color: var(--muted); font-weight: 400; padding: 1rem; border-bottom: 1px solid var(--line); white-space: nowrap; }
.table th.num { text-align: right; }
.table td { padding: 1.2rem 1rem; border-bottom: 1px solid var(--line); vertical-align: middle; }
.status { display: inline-block; padding: .3rem 1rem; border-radius: var(--radius-btn); font-size: 12px; letter-spacing: .06rem; white-space: nowrap; background: var(--bg-2); color: var(--ink); }
.status-en_attente { background: #fdf1d4; color: #6b4e05; }
.status-payee { background: #e3f1e7; color: #17512f; }
.status-en_preparation { background: #e3ecf6; color: #1d476f; }
.status-expediee { background: #ebe6f6; color: #46327e; }
.status-livree { background: #1f5c3c; color: #fff; }
.status-annulee, .status-remboursee { background: #f7e3e2; color: #7c1f22; }
.specs { width: 100%; border-collapse: collapse; font-size: 15px; }
.specs th, .specs td { text-align: left; padding: .9rem 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.specs th { width: 38%; color: var(--muted); font-weight: 400; padding-right: 1.6rem; }
.checks { list-style: none; padding: 0; margin: 0 0 1.6rem; }
.checks li { padding-left: 2.2rem; position: relative; margin-bottom: .6rem; }
.checks li::before { content: ""; position: absolute; left: .2rem; top: .55em; width: 10px; height: 6px; border-left: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink); transform: rotate(-45deg); }
.timeline { list-style: none; padding: 0 0 0 1.8rem; border-left: 1px solid var(--line-2); margin: 1.6rem 0; }
.timeline li { position: relative; padding-bottom: 1.4rem; display: grid; }
.timeline li::before { content: ""; position: absolute; left: calc(-1.8rem - 5px); top: .6rem; width: 9px; height: 9px; border-radius: 50%; background: var(--ink); }
.auth { display: grid; grid-template-columns: 1fr 1fr; gap: 2.4rem; max-width: 980px; margin-inline: auto; padding-block: 5rem; align-items: start; }
@media (max-width: 749px) { .auth { grid-template-columns: 1fr; padding-block: 3rem; } }
.account-head { display: flex; justify-content: space-between; align-items: center; gap: 1.6rem; flex-wrap: wrap; }
.account { display: grid; grid-template-columns: 1.4fr .6fr; gap: 2.4rem; padding-bottom: 6rem; align-items: start; }
@media (max-width: 989px) { .account { grid-template-columns: 1fr; } }

/* =====================================================================
   Catalogue
   ===================================================================== */
.shop { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 4rem; padding-bottom: var(--section); align-items: start; }
.filters { position: sticky; top: calc(var(--header-h, 112px) + 2rem); }
.filters-head { display: none; }
.filters fieldset { border: 0; padding: 0 0 1.6rem; margin: 0 0 1.6rem; border-bottom: 1px solid var(--line); }
.filters legend { font-size: 14px; letter-spacing: .1rem; color: var(--ink); padding: 0; margin-bottom: 1rem; }
.radio { display: flex; align-items: center; gap: 1rem; font-size: 15px; padding: .3rem 0; cursor: pointer; color: var(--text); }
.radio:hover span { color: var(--ink); text-decoration: underline; text-underline-offset: .3rem; }
.radio input { margin: 0; flex: none; }
.radio input:checked + span { color: var(--ink); }
.radio small { margin-left: auto; color: var(--muted); font-size: 13px; }
.filters-apply { margin-top: .4rem; }
.js .filters-apply { display: none; }
.shop-bar { display: flex; align-items: center; gap: 2rem; justify-content: space-between; margin-bottom: 2.4rem; flex-wrap: wrap; }
.shop-bar p { margin: 0; font-size: 14px; color: var(--muted); order: 2; }
.sort { display: flex; align-items: center; gap: 1rem; font-size: 14px; }
.sort select { width: auto; min-height: 44px; }
.filters-toggle { display: none; }
.chips { display: flex; flex-wrap: wrap; gap: .8rem; margin: 0 0 2.4rem; align-items: center; }
.chip { display: inline-flex; gap: .8rem; align-items: center; padding: .5rem 1.4rem; border-radius: var(--radius-btn); box-shadow: 0 0 0 1px var(--line-2); color: var(--ink); text-decoration: none; font-size: 14px; }
.chip:hover { box-shadow: 0 0 0 1px var(--ink); text-decoration: none; }
.chip span { font-size: 11px; }
.chip-reset { font-size: 14px; margin-left: .4rem; }
.pagination { display: flex; gap: .4rem; justify-content: center; margin-top: 4.4rem; flex-wrap: wrap; }
.pagination a, .pagination span { min-width: 44px; height: 44px; display: inline-grid; place-items: center; text-decoration: none; font-size: 15px; color: var(--ink); }
.pagination a:hover { text-decoration: underline; }
.pagination .current { text-decoration: underline; text-underline-offset: .5rem; font-weight: 700; }
.filters-backdrop, .drawer-backdrop { position: fixed; inset: 0; z-index: 48; background: rgba(var(--fg), .5); opacity: 0; transition: opacity .25s; }
.filters-backdrop.is-open, .drawer-backdrop.is-open { opacity: 1; }
@media (max-width: 989px) {
  .shop { grid-template-columns: 1fr; gap: 0; }
  .filters { position: fixed; top: 0; bottom: 0; left: 0; z-index: 49; width: min(420px, 92vw); background: var(--bg); padding: 0 2rem 2rem; overflow-y: auto; transform: translateX(-102%); transition: transform .3s var(--ease); }
  .filters.is-open { transform: none; }
  .filters-head { display: flex; justify-content: space-between; align-items: center; padding: 1.6rem 0; margin-bottom: 1rem; border-bottom: 1px solid var(--line); position: sticky; top: 0; background: var(--bg); z-index: 1; }
  .filters-title { margin: 0; font-size: 18px; color: var(--ink); }
  .filters-toggle { display: inline-flex; }
  .js .filters-apply { display: flex; position: sticky; bottom: 0; }
}

/* =====================================================================
   Fiche produit
   ===================================================================== */
.product-crumbs { padding-top: 2.4rem; }
.product { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 4rem 6rem; padding-bottom: var(--section); align-items: start; }
.product-gallery { min-width: 0; }
.product-media { position: relative; background: var(--bg-2); overflow: hidden; }
.product-media img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; }
.product-media .badges { position: absolute; left: 1.4rem; top: 1.4rem; display: flex; gap: .6rem; z-index: 2; }
.gal-slide { display: none; }
.gal-slide.is-active { display: block; }
.thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 1rem; margin-top: 1rem; }
.thumb { padding: 0; border: 0; background: var(--bg-2); cursor: pointer; aspect-ratio: 4 / 5; overflow: hidden; box-shadow: 0 0 0 1px transparent; transition: box-shadow .1s; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb.is-active, .thumb:hover { box-shadow: 0 0 0 2px var(--ink); }
.product-info { position: sticky; top: calc(var(--header-h, 112px) + 2rem); }
.product-vendor { font-size: 13px; letter-spacing: .13rem; text-transform: uppercase; color: var(--muted); margin-bottom: 1rem; }
.product-title { font-size: 38px; font-weight: 400; line-height: 1.25; margin-bottom: 1.4rem; }
.rating-line { font-size: 14px; margin-bottom: 1.4rem; display: flex; gap: .8rem; align-items: center; }
.rating-line a { color: var(--text); }
.price-box { margin-bottom: 2rem; }
.price { display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap; margin: 0 0 .4rem; font-size: 20px; letter-spacing: .1rem; color: var(--ink); }
.price s { font-size: 16px; color: var(--muted); }
.price .badge[hidden] { display: none; }
.tax-note { font-size: 14px; margin: 0; }
.tax-note a { color: inherit; }
.variant-select-wrap { display: block; margin-bottom: 2rem; font-size: 14px; color: var(--ink); }
.variant-select-wrap select { margin-top: .6rem; }
.opt-groups { display: grid; gap: 1.6rem; margin-bottom: 2rem; }
.opt-groups[hidden] { display: none; }
.pills { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 1rem .8rem; }
.pills legend, .single-variant { width: 100%; font-size: 14px; color: var(--ink); margin: 0 0 1rem; padding: 0; }
.pills legend b, .single-variant b { font-weight: 400; color: var(--muted); margin-left: .4rem; }
.pill { position: relative; cursor: pointer; }
.pill input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pill span { display: inline-block; padding: 1rem 2rem; border-radius: var(--radius-btn); box-shadow: 0 0 0 1px var(--field); font-size: 14px; letter-spacing: .1rem; line-height: 1.2; color: var(--ink); background: var(--bg); transition: box-shadow .1s, background .1s, color .1s; }
.pill:hover span { box-shadow: 0 0 0 1px var(--ink); }
.pill input:checked + span { background: var(--ink); color: #fff; box-shadow: 0 0 0 1px var(--ink); }
.pill input:focus-visible + span { outline: 2px solid rgba(var(--fg), .5); outline-offset: 3px; }
.pill.is-out span { color: var(--muted); text-decoration: line-through; }
.pill.is-out input:checked + span { color: rgba(255, 255, 255, .8); }
.pill input:disabled + span { opacity: .35; cursor: not-allowed; }
.qty-label { font-size: 14px; color: var(--ink); margin-bottom: .8rem; }
.qty { display: inline-flex; align-items: stretch; box-shadow: 0 0 0 1px var(--field); background: var(--bg); width: 140px; min-height: 46px; }
.qty button { width: 46px; flex: none; border: 0; background: none; font-size: 18px; cursor: pointer; color: var(--ink); }
.qty button:hover { background: rgba(var(--fg), .04); }
.qty input { flex: 1; min-width: 0; width: auto; min-height: 0; padding: 0; border: 0; text-align: center; box-shadow: none !important; -moz-appearance: textfield; appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty-sm { width: 120px; min-height: 40px; }
.qty-sm button { width: 38px; font-size: 16px; }
.stock { font-size: 14px; margin: 1.4rem 0 1.6rem; display: flex; align-items: center; gap: .8rem; }
.stock::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; flex: none; }
.stock.in { color: var(--ok); }
.stock.low { color: var(--warn); }
.stock.out { color: var(--sale); }
.buy-buttons { display: grid; gap: 1rem; margin-bottom: 3rem; }
.buy-buttons .btn[hidden] { display: none; }
.product-desc { font-size: 16px; margin-bottom: 2.4rem; }
.product-desc p:last-child { margin-bottom: 0; }
.accordions { border-top: 1px solid var(--line); }
.accordion { border-bottom: 1px solid var(--line); }
.accordion summary { display: flex; align-items: center; gap: 1.2rem; padding: 1.6rem 0; cursor: pointer; list-style: none; font-size: 16px; color: var(--ink); }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: ""; width: 9px; height: 9px; margin-left: auto; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translate(-2px, -2px); transition: transform .2s; }
.accordion[open] summary::after { transform: rotate(-135deg) translate(-2px, -2px); }
.accordion summary .icon { width: 20px; height: 20px; }
.accordion-body { padding: 0 0 2rem; font-size: 15px; }
.accordion-body p:last-child { margin-bottom: 0; }
@media (max-width: 989px) {
  .product { grid-template-columns: 1fr; gap: 2.4rem; }
  .product-info { position: static; }
  .product-title { font-size: 28px; }
}
/* Avis */
.reviews { padding-block: var(--section) 0; border-top: 1px solid var(--line); }
.reviews h2 .muted { font-weight: 400; }
.reviews-grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: 4rem; align-items: start; margin-top: 2.4rem; }
@media (max-width: 989px) { .reviews-grid { grid-template-columns: 1fr; } }
.rating-big { font-size: 15px; display: flex; gap: 1rem; align-items: baseline; }
.rating-big strong { font-size: 36px; font-weight: 400; }
.review { border-bottom: 1px solid var(--line); padding-block: 1.6rem; }
.review p { margin-bottom: .5rem; }
.review-form summary { cursor: pointer; font-size: 17px; color: var(--ink); list-style: none; display: flex; justify-content: space-between; }
.review-form summary::-webkit-details-marker { display: none; }
.review-form summary::after { content: "+"; }
.review-form[open] summary { margin-bottom: 1.6rem; }
.review-form[open] summary::after { content: "−"; }
/* Barre d'achat mobile */
.sticky-buy { position: fixed; left: 0; right: 0; bottom: 0; z-index: 35; background: rgba(255, 255, 255, .97); backdrop-filter: blur(8px); border-top: 1px solid var(--line); padding-block: 1rem; padding-bottom: max(1rem, env(safe-area-inset-bottom)); }
.sticky-buy[hidden] { display: none; }
.sticky-buy-row { display: flex; justify-content: space-between; align-items: center; gap: 1.6rem; }
.sticky-buy p { margin: 0; line-height: 1.3; }
.sticky-name { color: var(--ink); font-size: 14px; }
.sticky-variant { font-size: 13px; }
.sticky-buy .btn { min-height: 44px; padding-inline: 2.4rem; }
@media (min-width: 990px) { .sticky-buy { display: none !important; } }

/* =====================================================================
   Panier (tiroir et page) et commande
   ===================================================================== */
.drawer { position: fixed; top: 0; right: 0; bottom: 0; z-index: 49; width: min(420px, 100vw); background: var(--bg); display: flex; flex-direction: column; transform: translateX(102%); transition: transform .3s var(--ease); box-shadow: -10px 0 40px -20px rgba(0, 0, 0, .3); }
.drawer.is-open { transform: none; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 2.4rem 3rem 1.6rem; }
.drawer-title { margin: 0; font-size: 26px; color: var(--ink); }
.drawer-close { width: 44px; height: 44px; display: grid; place-items: center; background: none; border: 0; cursor: pointer; color: var(--ink); margin-right: -1rem; }
.drawer-msg { margin: 0 3rem; font-size: 14px; }
.drawer-msg:empty { display: none; }
.drawer-msg.is-ok { padding: 1rem 1.4rem; background: #eef6f0; color: #174c30; margin-bottom: 1rem; }
.drawer-msg.is-error { padding: 1rem 1.4rem; background: #fbefee; color: #7c1f22; margin-bottom: 1rem; }
.drawer-body { flex: 1; overflow-y: auto; display: flex; flex-direction: column; }
.drawer-lines { list-style: none; margin: 0; padding: 0 3rem; flex: 1; border-top: 1px solid var(--line); }
.drawer-lines li { display: grid; grid-template-columns: 90px 1fr auto; gap: 1.6rem; padding: 2rem 0; border-bottom: 1px solid var(--line); align-items: start; }
.drawer-lines li.is-new { animation: flash-in .8s ease; }
@keyframes flash-in { from { background: #f4f8f5; } to { background: transparent; } }
.drawer-thumb { display: block; aspect-ratio: 4 / 5; background: var(--bg-2); overflow: hidden; }
.drawer-thumb img { width: 100%; height: 100%; object-fit: cover; }
.drawer-info { display: grid; gap: .3rem; font-size: 14px; line-height: 1.5; }
.drawer-name { color: var(--ink); text-decoration: none; font-size: 15px; }
.drawer-name:hover { text-decoration: underline; }
.drawer-price { color: var(--ink); }
.drawer-variant, .drawer-qty { color: var(--muted); }
.drawer-line-total { font-weight: 400; font-size: 14px; white-space: nowrap; }
.drawer-foot { padding: 2rem 3rem 2.4rem; border-top: 1px solid var(--line); background: var(--bg); position: sticky; bottom: 0; }
.drawer-total { display: flex; justify-content: space-between; align-items: baseline; font-size: 16px; color: var(--ink); margin-bottom: .4rem; }
.drawer-total strong { font-weight: 400; font-size: 18px; letter-spacing: .1rem; }
.drawer-note { font-size: 13px; text-align: center; margin: 0 0 1.6rem; }
.drawer-link { display: block; text-align: center; margin-top: 1.2rem; font-size: 14px; }
.drawer-empty { text-align: center; padding: 6rem 3rem; display: grid; gap: 2rem; justify-items: center; }
.drawer-empty p { font-size: 22px; color: var(--ink); margin: 0; }
.ship-meter { margin-bottom: 1.6rem; }
.ship-meter p { margin: 0 0 .6rem; font-size: 14px; }
.ship-meter span { display: block; height: 4px; background: var(--line); overflow: hidden; }
.ship-meter i { display: block; height: 100%; background: var(--ink); transition: width .4s; }
.ship-meter.is-done i { background: var(--ok); }

.steps { list-style: none; padding: 0; margin: 0 0 1.6rem; display: flex; gap: .4rem 1.2rem; flex-wrap: wrap; font-size: 13px; letter-spacing: .06rem; color: var(--muted); }
.steps li { display: flex; align-items: center; gap: 1.2rem; }
.steps li + li::before { content: "›"; color: var(--muted); }
.steps .is-current { color: var(--ink); }
.steps a { color: inherit; }
.cart { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 5rem; padding-bottom: var(--section); align-items: start; }
@media (max-width: 989px) { .cart { grid-template-columns: 1fr; gap: 2.4rem; } }
.cart-lines { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.cart-heads { display: grid; grid-template-columns: minmax(0, 1fr) 190px 110px; gap: 2.4rem; margin: 0; padding-bottom: 1.2rem; font-size: 11px; letter-spacing: .13rem; text-transform: uppercase; color: var(--muted); }
.cart-heads span:last-child { text-align: right; }
.cart-line { display: grid; grid-template-columns: 110px minmax(0, 1fr) 190px 110px; gap: 2.4rem; padding: 2.4rem 0; border-bottom: 1px solid var(--line); align-items: start; }
.cart-qty { display: flex; align-items: center; gap: 1.2rem; }
.cart-line .cart-total { text-align: right; }
.cart-thumb { display: block; aspect-ratio: 4 / 5; background: var(--bg-2); overflow: hidden; }
.cart-thumb img { width: 100%; height: 100%; object-fit: cover; }
.cart-info { display: grid; gap: .4rem; font-size: 14px; }
.cart-info .qty { margin-top: .8rem; }
.cart-name { color: var(--ink); text-decoration: none; font-size: 16px; }
.cart-name:hover { text-decoration: underline; }
.cart-total { font-weight: 400; font-size: 16px; color: var(--ink); white-space: nowrap; }
.cart-remove { display: grid; place-items: center; width: 3.6rem; height: 3.6rem; background: none; border: 0; padding: 0; color: var(--ink); cursor: pointer; flex: none; }
.cart-remove:hover { color: var(--sale); }
.cart-actions { display: flex; justify-content: space-between; align-items: center; gap: 1.6rem; margin-top: 2rem; flex-wrap: wrap; }
@media (max-width: 1199px) { .cart-heads { grid-template-columns: minmax(0, 1fr) 150px 90px; } .cart-line { grid-template-columns: 90px minmax(0, 1fr) 150px 90px; gap: 1.6rem; } }
@media (max-width: 749px) {
  .cart-heads { grid-template-columns: minmax(0, 1fr) auto; } .cart-heads span:nth-child(2) { display: none; }
  .cart-line { grid-template-columns: 80px minmax(0, 1fr) auto; gap: 1.2rem 1.6rem; }
  .cart-line > .cart-qty { grid-column: 2 / 4; grid-row: 2; }
  .cart-line > .cart-total { grid-column: 3; grid-row: 1; }
}
.summary { position: sticky; top: calc(var(--header-h, 112px) + 2rem); }
.summary h2 { font-size: 20px; }
.summary dl { display: grid; grid-template-columns: 1fr auto; gap: .8rem 0; margin: 0 0 1.6rem; font-size: 15px; }
.summary dt { color: var(--text); }
.summary dd { margin: 0; text-align: right; color: var(--ink); }
.summary .total, dl .total { font-size: 19px; color: var(--ink); padding-top: 1.2rem; margin-top: .4rem; border-top: 1px solid var(--line); }
.promo-box { margin-bottom: 1.6rem; }
.promo-box summary { cursor: pointer; font-size: 14px; text-decoration: underline; text-underline-offset: .3rem; margin-bottom: 1rem; }
.promo { display: flex; gap: .8rem; }
.promo .btn { min-height: 48px; padding-inline: 1.8rem; }
.promo-on { display: flex; justify-content: space-between; align-items: center; background: #eef6f0; padding: .8rem 1.2rem; margin-bottom: 1.6rem; font-size: 14px; }
.summary-back { margin: 1.2rem 0 0; text-align: center; }
/* Page de commande : présentation façon « checkout » */
.page-checkout .page-head { padding-bottom: 2rem; }
.checkout { display: grid; grid-template-columns: minmax(0, 1fr) 440px; gap: 0; padding-bottom: 0; align-items: stretch; border-top: 1px solid var(--line); }
.checkout-main { padding: 3.2rem 5rem 6rem 0; }
.checkout .panel.summary { position: relative; top: 0; background: #fafafa; border-left: 1px solid var(--line); border-bottom: 0; padding: 3.2rem 0 6rem 4rem; box-shadow: none; margin: 0; }
.checkout .summary > *, .checkout .summary-sticky > * { max-width: 380px; }
.checkout-main .panel { box-shadow: none; padding: 0 0 3.2rem; margin: 0 0 3.2rem; border-bottom: 1px solid var(--line); }
.checkout-main .panel:last-of-type { border-bottom: 0; }
.checkout .panel h2 { font-size: 20px; display: flex; align-items: center; gap: 1rem; margin-bottom: 2rem; }
.checkout .step { width: 26px; height: 26px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 13px; display: inline-grid; place-items: center; letter-spacing: 0; }
@media (max-width: 989px) {
  .checkout { grid-template-columns: 1fr; }
  .checkout-main { padding: 2.4rem 0; }
  .checkout .panel.summary { border-left: 0; border-top: 1px solid var(--line); padding: 2.4rem var(--pad) 4rem; margin-inline: calc(var(--pad) * -1); }
}
.choice, .form .choice { display: flex; gap: 1.2rem; align-items: flex-start; padding: 1.6rem 1.8rem; cursor: pointer; font-size: 15px; box-shadow: 0 0 0 1px var(--line-2); margin-bottom: -1px; position: relative; }
.form .choice { margin: 0 0 -1px; font-size: 15px; color: var(--text); }
.choice:first-of-type { border-radius: 5px 5px 0 0; }
.choice:last-of-type, .form .choice:last-of-type { border-radius: 0 0 5px 5px; margin-bottom: 1.6rem; }
.choice:has(input:checked) { box-shadow: 0 0 0 1px var(--ink); background: #f7f9f8; z-index: 1; }
.choice input { margin-top: .4rem; flex: none; }
.choice span { flex: 1; }
.choice small { display: block; color: var(--muted); font-size: 13px; }
.choice b { white-space: nowrap; font-weight: 400; }
.mini-lines { list-style: none; padding: 0; margin: 0 0 2rem; }
.mini-lines li { display: flex; align-items: center; justify-content: space-between; gap: 1.4rem; padding: .8rem 0; font-size: 14px; }
.mini-lines li > span:nth-child(2) { flex: 1; color: var(--ink); }
.mini-lines small { display: block; }
.mini-lines b { white-space: nowrap; font-weight: 400; }
.mini-thumb { position: relative; flex: none; }
.mini-thumb img { width: 64px; height: 64px; object-fit: cover; border-radius: 8px; background: #fff; box-shadow: 0 0 0 1px var(--line); }
.mini-thumb i { position: absolute; top: -8px; right: -8px; background: rgba(var(--fg), .6); color: #fff; font-style: normal; font-size: 12px; min-width: 22px; height: 22px; border-radius: 99px; display: grid; place-items: center; letter-spacing: 0; }
.confirm { padding-block: 4rem 6rem; }
.confirm-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* =====================================================================
   Lettre d'information et pied de page
   ===================================================================== */
.newsletter-section { padding-block: 6rem; text-align: center; border-top: 1px solid var(--line); }
.newsletter-inner { max-width: 640px; }
.newsletter-inner h2 { margin-bottom: 1rem; }
.newsletter-inner p { margin-bottom: 2.4rem; }
.newsletter { max-width: 440px; margin-inline: auto; }
.newsletter .field-input { border-radius: var(--radius-btn); padding-left: 2.4rem !important; }
.newsletter .field-label { left: 2.4rem; }
.newsletter .field-button { right: .6rem; }
.site-footer { background: var(--footer); color: rgba(255, 255, 255, .75); padding-top: 6rem; font-size: 17px; }
.site-footer a { color: rgba(255, 255, 255, .8); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4rem 3rem; }
.footer-col h2 { color: #fff; font-size: 21px; font-weight: 400; text-transform: uppercase; letter-spacing: .06rem; margin-bottom: 2.4rem; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 1.4rem; line-height: 1.45; }
.footer-mid { display: flex; align-items: center; gap: 3rem 6rem; flex-wrap: wrap; padding-block: 5rem 4rem; }
.footer-social { margin: 0; }
.footer-social a { font-size: 15px; letter-spacing: .1rem; }
.btn-withdraw { display: inline-flex; align-items: center; min-height: 52px; padding: 0 3rem; border-radius: 8px; background: var(--brand-2); color: #fff !important; font-weight: 700; font-size: 18px; letter-spacing: .06rem; text-decoration: none !important; transition: background .15s; }
.btn-withdraw:hover { background: var(--brand); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 2rem; flex-wrap: wrap; padding-block: 3rem 4rem; font-size: 13px; position: relative; }
.footer-bottom::before { content: ""; position: absolute; top: 0; left: var(--pad); right: var(--pad); border-top: 1px solid rgba(255, 255, 255, .12); }
.pay-list { list-style: none; margin: 0; padding: 0; display: flex; gap: .8rem; flex-wrap: wrap; }
.pay-list li { padding: .5rem 1.2rem; border-radius: 5px; background: #fff; color: #333; font-size: 12px; letter-spacing: .06rem; font-weight: 700; }
.copyright { margin: 0; }
@media (max-width: 989px) { .footer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } .site-footer { font-size: 15px; } }
@media (max-width: 559px) { .footer-cols { grid-template-columns: 1fr; gap: 3rem; } .footer-col h2 { font-size: 18px; margin-bottom: 1.4rem; } .footer-col li { margin-bottom: 1rem; } }

/* ----- Boutons flottants ----- */
.fab { position: fixed; right: max(18px, env(safe-area-inset-right)); bottom: max(18px, env(safe-area-inset-bottom)); z-index: 45; display: flex; flex-direction: column-reverse; align-items: flex-end; gap: .8rem; transition: bottom .25s ease; }
body.has-sticky-buy .fab { bottom: calc(86px + env(safe-area-inset-bottom)); }
body.no-scroll .fab { visibility: hidden; }
.fab-btn { position: relative; width: 52px; height: 52px; border-radius: 50%; border: 0; padding: 0; cursor: pointer; display: grid; place-items: center; text-decoration: none; box-shadow: 0 8px 22px -6px rgba(0, 0, 0, .35), 0 2px 6px rgba(0, 0, 0, .1); transition: transform .18s ease; }
.fab-btn svg { width: 25px; height: 25px; }
.fab-btn:hover { transform: translateY(-2px); }
.fab-wa { background: #1fa855; color: #fff; }
.fab-mail { background: #fff; color: var(--ink); box-shadow: 0 0 0 1px var(--line), 0 8px 22px -8px rgba(0, 0, 0, .3); }
.fab-top { width: 44px; height: 44px; background: var(--ink); color: #fff; animation: fab-in .22s ease-out; }
.fab-top svg { width: 20px; height: 20px; }
.fab-top[hidden] { display: none; }
@keyframes fab-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.fab-label { position: absolute; right: calc(100% + 10px); top: 50%; transform: translate(6px, -50%); white-space: nowrap; background: var(--ink); color: #fff; font-size: 13px; padding: .4rem .9rem; border-radius: 6px; opacity: 0; pointer-events: none; transition: opacity .18s, transform .18s; }
@media (hover: hover) and (min-width: 750px) { .fab-btn:hover .fab-label, .fab-btn:focus-visible .fab-label { opacity: 1; transform: translate(0, -50%); } }
@media (max-width: 749px) { .fab { right: 14px; bottom: 14px; } .fab-btn { width: 48px; height: 48px; } .fab-top { width: 42px; height: 42px; } }

/* ----- Page de rétractation ----- */
.withdraw { max-width: 820px; padding-top: 3rem; padding-bottom: 6rem; }
.withdraw .page-head { padding-top: 1rem; }
.withdraw-recap p { margin: 0 0 1.4rem; color: var(--ink); }
.withdraw-recap .withdraw-items { margin: 1.6rem 0 0; }
.withdraw-h2 { font-size: 20px; margin-top: 3.2rem; }
.withdraw-actions { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }
.withdraw-scope { border: 0; padding: 0; margin: 0 0 1.4rem; }
.withdraw-scope legend { font-size: 14px; color: var(--ink); padding: 0; margin-bottom: .6rem; }
.withdraw-note { margin: 2rem 0 0; }
@media print {
  .announce, .header-wrapper, .site-footer, .newsletter-section, .fab, .withdraw .btn-row, .crumbs { display: none !important; }
  .withdraw { padding: 0; max-width: none; }
}
.withdraw-recap { background: var(--bg-2); padding: 2rem 2.4rem; margin-bottom: 2.4rem; }
.withdraw-recap dl { display: grid; grid-template-columns: 200px 1fr; gap: .6rem 1.6rem; margin: 0; font-size: 15px; }
.withdraw-recap dt { color: var(--muted); }
.withdraw-recap dd { margin: 0; color: var(--ink); }
@media (max-width: 559px) { .withdraw-recap dl { grid-template-columns: 1fr; } }

/* ----- Facture (impression) ----- */
.invoice-body { background: #eee; }
.invoice { background: #fff; max-width: 820px; margin: 2rem auto; padding: 4rem; font-size: 14px; color: var(--ink); }
.invoice header { display: flex; justify-content: space-between; gap: 2rem; margin-bottom: 3rem; }
.invoice header p { margin: 0 0 .3rem; }
.invoice-meta { text-align: right; }
.invoice-meta h1 { font-size: 26px; }
.invoice h2 { font-size: 12px; text-transform: uppercase; letter-spacing: .13rem; color: var(--muted); font-weight: 400; }
.invoice-table { width: 100%; border-collapse: collapse; margin: 2rem 0; }
.invoice-table th { text-align: left; border-bottom: 1px solid var(--ink); padding: .6rem; font-size: 12px; }
.invoice-table th.num { text-align: right; }
.invoice-table td { border-bottom: 1px solid var(--line); padding: .8rem .6rem; }
.invoice-totals { display: grid; grid-template-columns: 1fr auto; gap: .5rem 3rem; max-width: 360px; margin-left: auto; }
.invoice-totals dd { margin: 0; text-align: right; }
@media print {
  .announce, .header-wrapper, .menu-drawer, .site-footer, .newsletter-section, .fab, .no-print, .sticky-buy { display: none !important; }
  body { font-size: 12px; }
  .invoice { margin: 0; padding: 0; }
  .invoice-body { background: #fff; }
}

/* ----- Rangées de l'accueil : défilement horizontal au doigt sur téléphone ----- */
@media (max-width: 749px) {
  .page-full > .grid { display: flex; gap: var(--gap-x); overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 1.5rem;
    margin-inline: -1.5rem; padding-inline: 1.5rem; padding-bottom: .4rem; scrollbar-width: none; }
  .page-full > .grid::-webkit-scrollbar { display: none; }
  .page-full > .grid > .card { flex: 0 0 44vw; scroll-snap-align: start; }
}

@media (max-width: 749px) { .announce { font-size: 12px; letter-spacing: .03rem; } }

/* ----- Retouches : avantages sur téléphone (le dernier, seul, est centré) ----- */
@media (max-width: 749px) {
  .advantages li:last-child:nth-child(odd) { grid-column: 1 / -1; }
}
/* Photos de l'accueil : apparition douce une fois chargées */
.banner-media img, .image-band-media img, .story-media img { animation: sb-fade .6s ease both; }
@keyframes sb-fade { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .banner-media img, .image-band-media img, .story-media img { animation: none; } }

/* Langue allemande : longs mots composés (« Weihnachtsbäume ») coupés proprement en fin de ligne */
html[lang="de"] .tile-name, html[lang="de"] .card-title, html[lang="de"] h1, html[lang="de"] h2, html[lang="de"] h3,
html[lang="de"] .menu-link, html[lang="de"] .footer-col a, html[lang="de"] .product-title { -webkit-hyphens: auto; hyphens: auto; }
html[lang="de"] .tile-name { overflow-wrap: normal; word-break: normal; font-size: 17px; }

/* ---------- v10 : navigation visible sur ordinateur, tuiles et galerie plus compactes sur mobile ---------- */
.desk-nav { display: none; border-top: 1px solid var(--line); }
.desk-nav ul { list-style: none; margin: 0 auto; display: flex; justify-content: center; flex-wrap: wrap; gap: 0 3rem; }
.desk-nav a { display: block; padding: 1.1rem 0; font-size: 14px; letter-spacing: .04rem; color: var(--ink); text-decoration: none; border-bottom: 2px solid transparent; }
.desk-nav a:hover, .desk-nav a[aria-current="page"] { border-bottom-color: var(--ink); }
@media (min-width: 990px) { .desk-nav { display: block; } }
@media (max-width: 559px) {
  .tile-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; }
  .tile { flex-direction: column-reverse; justify-content: flex-end; min-height: 0; gap: 0; }
  .tile-media { width: 100%; max-width: none; aspect-ratio: 4 / 3; }
  .tile-text { padding: 1rem 1.2rem 1.2rem; flex: none; }
  .tile-name, html[lang="de"] .tile-name { font-size: 15px; }
  .tile-rule { display: none; }
}
@media (max-width: 749px) {
  .thumbs { display: flex; gap: .8rem; overflow-x: auto; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; padding-bottom: .4rem; scrollbar-width: none; }
  .thumbs::-webkit-scrollbar { display: none; }
  .thumb { flex: 0 0 68px; scroll-snap-align: start; }
}

/* =====================================================================
   v11 : cartes (étiquettes, ajout rapide, photos détourées), filtres couleur, « Afficher plus »,
   galerie tactile + zoom, réassurance, récapitulatif de commande fixe
   ===================================================================== */
.card-top { position: relative; }
.card-media { background: #f3f1ec; }
.card-media picture.is-cutout img, .tile-media picture.is-cutout img { object-fit: contain; padding: 8%; mix-blend-mode: multiply; }
.card-media .card-badges { position: absolute; left: 1rem; top: 1rem; z-index: 2; display: flex; flex-direction: column; align-items: flex-start; gap: .5rem; }
.card-media .card-badges .badge { position: static; }
.quick-add { position: absolute; right: 1rem; bottom: 1rem; z-index: 3; display: inline-flex; align-items: center; gap: .6rem; height: 40px; min-width: 40px; padding: 0 1.1rem; border: 0; border-radius: 40px; background: #fff; color: var(--ink); font: inherit; font-size: 13px; letter-spacing: .04rem; text-decoration: none; cursor: pointer; box-shadow: 0 2px 10px rgba(0, 0, 0, .16); transition: background .2s, color .2s, opacity .2s, transform .2s; }
.quick-add svg { width: 18px; height: 18px; flex: none; }
.quick-add span { max-width: 0; overflow: hidden; white-space: nowrap; transition: max-width .25s var(--ease); }
.quick-add:hover, .quick-add:focus-visible { background: var(--ink); color: #fff; text-decoration: none; }
.quick-add:hover span, .quick-add:focus-visible span { max-width: 180px; }
.quick-add.is-loading { opacity: .6; pointer-events: none; }
@media (hover: hover) and (min-width: 990px) {
  .quick-add { opacity: 0; transform: translateY(6px); }
  .card:hover .quick-add, .quick-add:focus-visible { opacity: 1; transform: none; }
}
@media (max-width: 749px) { .quick-add { right: .6rem; bottom: .6rem; height: 36px; min-width: 36px; padding: 0 .9rem; } .quick-add span { display: none; } .card-media .card-badges { left: .6rem; top: .6rem; } .badge { font-size: 11px; padding: .3rem .9rem; } }

.swatches { display: flex; flex-wrap: wrap; gap: .9rem; margin: .4rem 0 1rem; }
.swatch { position: relative; cursor: pointer; }
.swatch input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.swatch > span:first-of-type { display: block; width: 30px; height: 30px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .18); }
.swatch input:checked + span { outline: 2px solid var(--ink); outline-offset: 3px; }
.swatch input:focus-visible + span { outline: 2px solid var(--brand); outline-offset: 3px; }

.load-more { text-align: center; padding: 3.2rem 0 1rem; }
.load-more p { margin: 0 0 1rem; font-size: 14px; }
.load-bar { width: 220px; max-width: 70%; height: 3px; margin: 0 auto 2rem; background: var(--line); border-radius: 3px; overflow: hidden; }
.load-bar i { display: block; height: 100%; background: var(--ink); transition: width .3s; }
.btn.is-loading { opacity: .6; pointer-events: none; }
.section-cta { margin: 3rem 0 0; }

.gal-slide[data-zoom] { cursor: zoom-in; }
.gal-tools { display: flex; justify-content: space-between; align-items: center; margin-top: .8rem; font-size: 13px; color: var(--muted); }
.gal-zoom { display: inline-flex; align-items: center; gap: .6rem; padding: .4rem 0; border: 0; background: none; font: inherit; color: var(--muted); cursor: pointer; }
.gal-zoom:hover { color: var(--ink); }
.gal-zoom svg { width: 18px; height: 18px; }
.gal-count { display: none; }
@media (max-width: 749px) {
  .product-media { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .product-media::-webkit-scrollbar { display: none; }
  .product-media .gal-slide { display: block; flex: 0 0 100%; scroll-snap-align: center; }
  .product-media .badges { position: absolute; }
  .gal-count { display: inline; }
}
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(18, 18, 18, .94); display: grid; place-items: center; }
.lightbox[hidden] { display: none; }
.lightbox-stage { width: 100%; height: 100%; display: grid; place-items: center; overflow: hidden; padding: 5.6rem 1.2rem 4.4rem; }
.lightbox-stage img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; cursor: zoom-in; transition: transform .25s var(--ease); background: #fff; }
.lightbox-stage img.is-zoomed { transform: scale(2.2); cursor: zoom-out; }
.lightbox-close, .lightbox-nav { position: absolute; z-index: 2; width: 46px; height: 46px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .14); color: #fff; font-size: 22px; line-height: 1; cursor: pointer; }
.lightbox-close:hover, .lightbox-nav:hover { background: rgba(255, 255, 255, .28); }
.lightbox-close { top: 1.4rem; right: 1.4rem; }
.lightbox-nav { top: 50%; margin-top: -23px; font-size: 30px; }
.lightbox-nav.prev { left: 1.4rem; }
.lightbox-nav.next { right: 1.4rem; }
.lightbox-count { position: absolute; bottom: 1.2rem; left: 0; right: 0; margin: 0; text-align: center; color: #fff; font-size: 13px; letter-spacing: .08rem; }
@media (max-width: 749px) { .lightbox-nav { display: none; } }

.trust { list-style: none; margin: 2rem 0 2.6rem; padding: 1.6rem 0 0; border-top: 1px solid var(--line); display: grid; gap: 1rem; font-size: 14px; color: var(--text); }
.trust li { display: flex; align-items: center; gap: 1.2rem; }
.trust svg { width: 22px; height: 22px; flex: none; color: var(--ink); }
.trust a { color: inherit; }

@media (min-width: 990px) {
  .checkout .summary-sticky { position: sticky; top: calc(var(--header-h, 112px) + 2rem); }
}

/* v12 — finitions */
.footer-bottom { padding-right: calc(var(--pad) + 5.5rem); }

/* ---------- Confirmation de commande : coche animée, touche de Noël ---------- */
.confirm-hero { position: relative; overflow: hidden; text-align: center; margin-bottom: 3rem; padding: 4.4rem 2.4rem 3.6rem; border-radius: 14px;
  background: radial-gradient(120% 90% at 50% 0%, #eef6f0 0%, #f7faf8 55%, #fff 100%); border: 1px solid #e2ece5; }
.confirm-hero h1 { position: relative; margin: .4rem auto 1.2rem; max-width: 30ch; }
.confirm-hero .lead { position: relative; margin: 0 auto; max-width: 52ch; }
.confirm-kicker { position: relative; margin: 0; font-size: 13px; font-weight: 700; letter-spacing: .14rem; text-transform: uppercase; color: var(--ok);
  animation: confirm-up .6s .55s both cubic-bezier(.2, .8, .2, 1); }
.confirm-hero h1 { animation: confirm-up .6s .7s both cubic-bezier(.2, .8, .2, 1); }
.confirm-hero .lead { animation: confirm-up .6s .85s both cubic-bezier(.2, .8, .2, 1); }
.confirm-wish { position: relative; display: inline-block; margin: 1.8rem auto 0; padding: .7rem 1.6rem; border-radius: 999px; background: #fff; border: 1px solid #e6d7a8;
  color: #6b5413; font-size: 14px; animation: confirm-up .6s 1.05s both cubic-bezier(.2, .8, .2, 1); }

.confirm-badge { position: relative; width: 76px; height: 76px; margin: 0 auto 1.8rem; }
.confirm-check { position: relative; z-index: 2; display: block; width: 76px; height: 76px; }
.confirm-check circle { fill: var(--ok); transform-origin: 32px 32px; animation: confirm-pop .5s both cubic-bezier(.3, 1.6, .5, 1); }
.confirm-check path { fill: none; stroke: #fff; stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 40; stroke-dashoffset: 40;
  animation: confirm-draw .4s .35s forwards ease-out; }
.confirm-halo { position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--ok); opacity: 0; animation: confirm-halo 1.1s .3s ease-out; }
.confirm-dot { position: absolute; left: 50%; top: 50%; width: 9px; height: 9px; margin: -4.5px 0 0 -4.5px; border-radius: 50%; opacity: 0;
  animation: confirm-burst .9s .45s cubic-bezier(.15, .7, .3, 1) forwards; }
.confirm-dot::after { content: ""; position: absolute; left: 3px; top: -2px; width: 3px; height: 2px; border-radius: 1px; background: #c9b37a; }
.dot-r { background: #c0392b; } .dot-g { background: #d4a72c; } .dot-v { background: var(--brand-2); }
.confirm-spark { position: absolute; left: 50%; top: 50%; width: 14px; height: 14px; margin: -7px 0 0 -7px; fill: #d4a72c; opacity: 0;
  transform: translate(var(--sx), var(--sy)) scale(.4); animation: confirm-twinkle 2.6s calc(1s + var(--sd)) ease-in-out infinite; }

.confirm-snow { position: absolute; inset: 0; pointer-events: none; }
.flake { position: absolute; top: -20px; left: var(--x); width: var(--sz); height: var(--sz); fill: none; stroke: #8aae9c; stroke-width: 1.7; stroke-linecap: round; opacity: .8;
  animation: confirm-fall var(--dur) var(--delay) linear infinite; }

@keyframes confirm-pop { from { transform: scale(0); } to { transform: scale(1); } }
@keyframes confirm-draw { to { stroke-dashoffset: 0; } }
@keyframes confirm-halo { 0% { opacity: .55; transform: scale(1); } 100% { opacity: 0; transform: scale(1.9); } }
@keyframes confirm-burst { 0% { opacity: 1; transform: rotate(var(--a)) translateY(0) scale(.6); } 70% { opacity: 1; } 100% { opacity: 0; transform: rotate(var(--a)) translateY(-64px) scale(1); } }
@keyframes confirm-twinkle { 0%, 100% { opacity: 0; transform: translate(var(--sx), var(--sy)) scale(.4) rotate(0deg); } 50% { opacity: 1; transform: translate(var(--sx), var(--sy)) scale(1) rotate(45deg); } }
@keyframes confirm-fall { 0% { transform: translate(0, 0) rotate(0deg); } 50% { transform: translate(14px, 280px) rotate(120deg); } 100% { transform: translate(-6px, 560px) rotate(240deg); } }
@keyframes confirm-up { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

@media (max-width: 749px) { .confirm-hero { padding: 3.6rem 1.6rem 3rem; border-radius: 10px; } .confirm-spark { display: none; } }
@media (prefers-reduced-motion: reduce) {
  .confirm-hero *, .confirm-hero { animation: none !important; }
  .confirm-check path { stroke-dashoffset: 0; }
  .confirm-dot, .confirm-halo, .flake, .confirm-spark { display: none; }
}

/* =====================================================================
 * Ambiance de Noël (v12.2) — tout est rattaché à body.is-xmas,
 * réglable dans Paramètres → Boutique → Ambiance de Noël.
 * ===================================================================== */

/* Bandeau : messages qui se relaient, flocons de part et d'autre */
.announce-rot { display: grid; }
.announce-msg { grid-area: 1 / 1; display: flex; align-items: center; justify-content: center; gap: 1rem; margin: 0; padding-block: 1rem;
  opacity: 0; visibility: hidden; transition: opacity .7s ease, visibility .7s; }
.announce-msg.is-on { opacity: 1; visibility: visible; }
.xflake { width: 13px; height: 13px; flex: none; }
.is-xmas .announce { background: #1f4d3a; color: #fff; }
.is-xmas .announce .xflake { color: #b9d8c5; }
@media (max-width: 749px) { .announce-msg { padding-inline: .4rem; text-wrap: balance; } .announce-msg .xflake { display: none; } }

/* Logo : l'étoile scintille de temps en temps */
.is-xmas .logo-star { transform-box: fill-box; transform-origin: center; animation: logo-twinkle 6s ease-in-out 1.5s infinite; }
@keyframes logo-twinkle { 0%, 72%, 100% { transform: scale(1) rotate(0); } 80% { transform: scale(1.55) rotate(45deg); } 88% { transform: scale(.85) rotate(80deg); } 94% { transform: scale(1.1) rotate(90deg); } }

/* Bannière d'accueil : neige légère */
.banner-content { position: relative; z-index: 1; }
.snowfall { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.snowfall i { position: absolute; top: -12px; left: var(--x); width: var(--s); height: var(--s); border-radius: 50%; opacity: var(--o);
  background: radial-gradient(circle, #fff 0%, rgba(255, 255, 255, .85) 45%, rgba(255, 255, 255, 0) 72%);
  animation: snow-fall var(--d) var(--t) linear infinite; will-change: transform; }
@keyframes snow-fall { 0% { transform: translate3d(0, 0, 0); } 50% { transform: translate3d(var(--w), 400px, 0); } 100% { transform: translate3d(0, 820px, 0); } }
@media (max-width: 749px) { .snowfall i:nth-child(even) { display: none; } }

/* Titres de section : petit ornement doré */
.is-xmas .section-head h2::after, .is-xmas .newsletter-inner h2::after {
  content: ""; display: block; width: 84px; height: 12px; margin: 1rem auto .4rem;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 84 12'%3E%3Cpath d='M0 6h32M52 6h32' stroke='%23c9a24a' stroke-width='1'/%3E%3Cpath d='M42 0l1.6 4.4L48 6l-4.4 1.6L42 12l-1.6-4.4L36 6l4.4-1.6z' fill='%23c9a24a'/%3E%3C/svg%3E") center / contain no-repeat; }

/* Pied de page : guirlande lumineuse */
.site-footer { position: relative; }
.is-xmas .site-footer { padding-top: 8rem; }
.xmas-lights { position: absolute; top: 0; left: 0; right: 0; height: 44px; display: flex; pointer-events: none; overflow: hidden; }
.xmas-lights i { flex: 1; position: relative;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 22' preserveAspectRatio='none'%3E%3Cpath d='M0 1Q50 27 100 1' fill='none' stroke='%23181818' stroke-width='1.4' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E") top / 100% 22px no-repeat; }
.xmas-lights i::before { content: ""; position: absolute; left: 50%; top: 12px; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 1px; background: #1a1a1a; }
.xmas-lights i::after { content: ""; position: absolute; left: 50%; top: 16px; width: 9px; height: 13px; margin-left: -4.5px; border-radius: 50% 50% 50% 50% / 42% 42% 58% 58%;
  background: var(--c); box-shadow: 0 0 10px 2px var(--c), 0 0 22px 4px var(--g); animation: bulb 2.6s ease-in-out infinite alternate; }
.xmas-lights i:nth-child(4n+1) { --c: #ff6b5e; --g: rgba(255, 107, 94, .35); }
.xmas-lights i:nth-child(4n+2) { --c: #ffd36b; --g: rgba(255, 211, 107, .35); }
.xmas-lights i:nth-child(4n+3) { --c: #5fd68f; --g: rgba(95, 214, 143, .3); }
.xmas-lights i:nth-child(4n+4) { --c: #8ec9ff; --g: rgba(142, 201, 255, .3); }
.xmas-lights i:nth-child(3n)::after { animation-delay: -.9s; }
.xmas-lights i:nth-child(3n+1)::after { animation-delay: -1.7s; }
.xmas-lights i:nth-child(5n)::after { animation-duration: 3.4s; }
@keyframes bulb { 0% { opacity: .5; filter: saturate(.7); } 100% { opacity: 1; filter: none; } }
@media (max-width: 749px) { .xmas-lights i:nth-child(n+17) { display: none; } }

/* Panier vide : petit sapin */
.empty-icon { display: inline-grid; place-items: center; width: 84px; height: 84px; border-radius: 50%; background: #eef5f0; color: var(--brand); margin-bottom: 1.6rem; }
.empty-icon .logo-mark { width: 40px; height: 45px; }
.drawer-empty .empty-icon { margin-bottom: -.4rem; }

/* Livraison offerte atteinte : jauge dorée qui brille */
.is-xmas .ship-meter.is-done i { background: linear-gradient(90deg, var(--ok) 0%, #c9a24a 50%, var(--ok) 100%); background-size: 200% 100%; animation: meter-shine 3s linear infinite; }
.is-xmas .ship-meter.is-done p::before { content: ""; display: inline-block; width: 13px; height: 13px; margin: 0 .6rem -.1rem 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M6 0l1.4 4.6L12 6 7.4 7.4 6 12 4.6 7.4 0 6l4.6-1.4z' fill='%23c9a24a'/%3E%3C/svg%3E") center / contain no-repeat; }
@keyframes meter-shine { to { background-position: -200% 0; } }

@media (prefers-reduced-motion: reduce) {
  .is-xmas .logo-star, .xmas-lights i::after, .is-xmas .ship-meter.is-done i { animation: none; }
  .snowfall { display: none; }
  .announce-msg { transition: none; }
}
