/* NAWA skin: section styles. Loaded only when the store's theme_key is "nawa" (theme.json "assets").
   Rules:
   - Colours and fonts come ONLY from the engine variables set in base.html (--color-primary, --color-secondary,
     --color-heading, --font-heading, --font-primary, --pdp-bg) and the "Apparence" variables (--sec-*).
   - Everything is scoped under .nw (section roots) or body.theme-nawa; vendor Unimart CSS is never edited.
   - Logical properties only (RTL). */

.nw{
  --nw-primary: var(--sec-button, var(--color-primary, #5b2a1c));
  --nw-accent: var(--color-secondary, #b3261e);
  --nw-heading: var(--sec-heading, var(--color-heading, #2b1d16));
  --nw-text: var(--sec-text, #2b1d16);
  --nw-muted: color-mix(in srgb, var(--nw-text) 62%, transparent);
  --nw-bg: var(--sec-bg, transparent);
  --nw-surface: #ffffff;
  --nw-sand: color-mix(in srgb, var(--color-primary, #5b2a1c) 10%, #f7f3ee);
  --nw-line: color-mix(in srgb, var(--color-primary, #5b2a1c) 16%, #ffffff);
  --nw-dark: color-mix(in srgb, var(--color-primary, #5b2a1c) 55%, #000000);
  --nw-display: var(--font-heading, "Cormorant Garamond", Georgia, serif);
  --nw-body: var(--font-primary, "Jost", system-ui, sans-serif);
  --nw-radius: 14px;
  font-family: var(--nw-body); color: var(--nw-text); background: var(--nw-bg);
}
body.theme-nawa{ background: var(--pdp-bg, #f7f3ee); font-family: var(--font-primary, "Jost", system-ui, sans-serif); }
.nw *, .nw *::before, .nw *::after{ box-sizing: border-box; }
.nw img{ max-width: 100%; display: block; }
.nw a:not(.nw-btn){ color: inherit; }
.nw-wrap{ max-width: 1180px; margin-inline: auto; padding-inline: 20px; }
.nw-sec{ padding-block: 64px; }
.nw-sec--tight{ padding-block: 36px; }
.nw-eyebrow{ display: block; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--nw-accent); font-weight: 600; }
.nw-title{ font-family: var(--nw-display); font-weight: 600; font-size: clamp(30px, 3.4vw, 44px); line-height: 1.05; margin: 6px 0 0; color: var(--nw-heading); text-wrap: balance; }
.nw-title em{ color: var(--nw-primary); }
.nw-lead{ color: var(--nw-muted); margin: 8px 0 0; max-width: 56ch; }
.nw-link{ color: var(--nw-primary); font-weight: 600; text-decoration: none; border-bottom: 1.5px solid currentColor; padding-bottom: 1px; }
.nw-sec-head{ display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 26px; flex-wrap: wrap; }
.nw-center{ text-align: center; margin-top: 32px; }
.nw-empty{ grid-column: 1 / -1; text-align: center; color: var(--nw-muted); padding: 32px; border: 1px dashed var(--nw-line); border-radius: var(--nw-radius); }

/* buttons */
.nw-btn{ display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 999px; padding: 13px 24px; font: 600 14px/1.2 var(--nw-body); letter-spacing: .05em; text-transform: uppercase; text-decoration: none; border: 1.5px solid var(--nw-primary); background: var(--nw-primary); color: #fff; cursor: pointer; transition: filter .2s, background .2s, color .2s; }
.nw-btn:hover{ filter: brightness(1.12); color: #fff; }
.nw-btn--ghost{ background: transparent; color: var(--nw-primary); }
.nw-btn--ghost:hover{ background: var(--nw-primary); color: #fff; filter: none; }
.nw-btn--light{ background: #fff; color: var(--nw-dark); border-color: #fff; }
.nw-btn--light:hover{ color: var(--nw-dark); }
.nw-btn--sm{ padding: 8px 14px; font-size: 12px; }
.nw-btn .nw-ico{ width: 18px; height: 18px; }
.nw-ico{ width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* header */
.nw-header-wrap.is-sticky{ position: sticky; top: 0; z-index: 50; }
.nw-announce{ background: var(--nw-primary); color: #fbefe6; text-align: center; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; padding: 8px 16px; }
.nw-header{ background: var(--nw-surface); border-bottom: 1px solid var(--nw-line); }
.nw-header-row{ display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: 64px; }
.nw-nav{ display: flex; gap: 22px; font-size: 13.5px; }
.nw-nav a{ text-decoration: none; color: var(--nw-muted); }
.nw-nav a:hover{ color: var(--nw-heading); }
.nw-logo{ font-family: var(--nw-display); font-size: 28px; letter-spacing: .32em; font-weight: 600; color: var(--nw-primary); text-decoration: none; text-transform: uppercase; padding-inline-start: .32em; }
.nw-logo img{ max-height: 40px; width: auto; }
.nw-header-icons{ display: flex; justify-content: flex-end; gap: 10px; }
.nw-icon-btn{ display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: none; border: 0; color: var(--nw-heading); cursor: pointer; text-decoration: none; position: relative; }
.nw-icon-btn:hover{ background: var(--nw-sand); }
.nw-cart-count{ position: absolute; top: 2px; inset-inline-end: 0; background: var(--nw-primary); color: #fff; font-size: 10px; min-width: 16px; height: 16px; border-radius: 9px; display: grid; place-items: center; padding: 0 4px; }
.nw-burger{ display: none; }
.nw-drawer{ position: fixed; inset: 0; z-index: 80; background: rgba(0,0,0,.4); }
.nw-drawer-panel{ background: var(--nw-surface); width: min(320px, 86vw); height: 100%; padding: 20px; display: flex; flex-direction: column; gap: 4px; }
.nw-drawer-panel a{ text-decoration: none; font-family: var(--nw-display); font-size: 26px; padding-block: 8px; border-bottom: 1px solid var(--nw-line); color: var(--nw-heading); }
.nw-drawer-close{ align-self: flex-end; font-size: 18px; }
@media (max-width: 860px){
  .nw-nav{ display: none; }
  .nw-burger{ display: grid; }
  .nw-header-row{ grid-template-columns: auto 1fr auto; }
  .nw-logo{ justify-self: center; font-size: 24px; }
}

/* hero */
.nw-hero{ position: relative; overflow: hidden; background: var(--nw-sand); }
.nw-hero-track{ display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.nw-hero-track::-webkit-scrollbar{ display: none; }
.nw-hero-slide{ position: relative; flex: 0 0 100%; scroll-snap-align: start; min-height: clamp(560px, 36vw, 720px); display: flex; align-items: center; }
.nw-hero--tall .nw-hero-slide{ min-height: 720px; }
.nw-hero-img{ position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% center; }
.nw-hero--full .nw-hero-slide::after{ content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, color-mix(in srgb, var(--pdp-bg, #f7f3ee) 95%, transparent) 0%, color-mix(in srgb, var(--pdp-bg, #f7f3ee) 70%, transparent) 34%, transparent 62%); }
[dir="rtl"] .nw-hero--full .nw-hero-slide::after{ background: linear-gradient(270deg, color-mix(in srgb, var(--pdp-bg, #f7f3ee) 95%, transparent) 0%, color-mix(in srgb, var(--pdp-bg, #f7f3ee) 70%, transparent) 34%, transparent 62%); }
[dir="rtl"] .nw-hero-img{ object-position: 30% center; }
.nw-hero--split .nw-hero-img{ inset-inline-start: 50%; width: 50%; }
.nw-hero-slide .nw-wrap{ position: relative; z-index: 1; width: 100%; }
.nw-hero-copy{ max-width: 520px; display: grid; gap: 16px; padding-block: 56px; }
.nw-hero-title{ font-family: var(--nw-display); font-weight: 600; font-size: clamp(52px, 7vw, 92px); line-height: .92; margin: 0; color: var(--nw-primary); }
.nw-hero-title em{ display: block; font-weight: 500; }
.nw-hero-text{ margin: 0; font-size: 17px; max-width: 40ch; color: var(--nw-text); }
.nw-hero-price{ margin: 0; color: var(--nw-muted); }
.nw-hero-price b{ color: var(--nw-heading); font-size: 20px; }
.nw-hero-ctas{ display: flex; gap: 10px; flex-wrap: wrap; }
.nw-hero-mini{ display: flex; gap: 16px; flex-wrap: wrap; font-size: 13px; color: var(--nw-muted); }
.nw-hero-badge{ color: var(--nw-heading); }
.nw-dots{ position: absolute; bottom: 16px; inset-inline: 0; display: flex; justify-content: center; gap: 8px; }
.nw-dots button{ width: 9px; height: 9px; border-radius: 50%; border: 0; background: color-mix(in srgb, var(--nw-primary) 30%, #fff); padding: 0; cursor: pointer; }
.nw-dots button[aria-current="true"]{ background: var(--nw-primary); width: 24px; border-radius: 5px; }
@media (max-width: 760px){
  .nw-hero-slide{ min-height: 0; flex-direction: column; align-items: stretch; background: var(--pdp-bg, #f7f3ee); }
  .nw-hero--tall .nw-hero-slide{ min-height: 0; }
  .nw-hero-img, [dir="rtl"] .nw-hero-img{ object-position: 30% center; }
.nw-hero-img{ position: relative; inset: auto; width: 100%; height: 340px; }
  .nw-hero--full .nw-hero-slide::after{ display: none; }
  .nw-hero-copy{ padding-block: 24px 36px; }
}

/* marquee */
.nw-marquee{ overflow: hidden; white-space: nowrap; padding-block: 14px; }
.nw-marquee--dark{ background: var(--nw-primary); color: #fbefe6; }
.nw-marquee--light{ background: var(--nw-sand); color: var(--nw-primary); border-block: 1px solid var(--nw-line); }
.nw-marquee-track{ display: inline-flex; gap: 44px; padding-inline-start: 44px; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; animation: nw-slide 32s linear infinite; }
.nw-marquee--slow .nw-marquee-track{ animation-duration: 50s; }
.nw-marquee--fast .nw-marquee-track{ animation-duration: 18s; }
.nw-marquee-item::after{ content: "✦"; margin-inline-start: 44px; opacity: .6; }
@keyframes nw-slide{ to{ transform: translateX(-50%); } }
[dir="rtl"] .nw-marquee-track{ animation-name: nw-slide-rtl; }
@keyframes nw-slide-rtl{ to{ transform: translateX(50%); } }
@media (prefers-reduced-motion: reduce){ .nw-marquee-track{ animation: none; } }

/* categories */
.nw-cats{ display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.nw-cats--2{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
.nw-cats--3{ grid-template-columns: repeat(3, minmax(0, 1fr)); }
.nw-cat{ position: relative; border-radius: var(--nw-radius); overflow: hidden; aspect-ratio: 3 / 4; display: block; text-decoration: none; color: #fff; background: var(--nw-sand); }
.nw-cat img{ width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.nw-cat:hover img{ transform: scale(1.04); }
.nw-cat::after{ content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(30,15,10,.65)); }
.nw-cat-label{ position: absolute; inset-inline: 16px; bottom: 14px; z-index: 1; display: flex; justify-content: space-between; align-items: flex-end; gap: 8px; }
.nw-cat-label b{ display: block; font-family: var(--nw-display); font-size: 28px; font-weight: 600; line-height: 1; }
.nw-cat-label small{ font-size: 12px; opacity: .9; }
.nw-cat-arrow{ width: 34px; height: 34px; border-radius: 50%; background: #fff; color: var(--nw-primary); display: grid; place-items: center; flex: none; }
.nw-cat-arrow .nw-ico{ width: 16px; height: 16px; }
[dir="rtl"] .nw-cat-arrow .nw-ico{ transform: scaleX(-1); }
@media (max-width: 860px){ .nw-cats, .nw-cats--3{ grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } .nw-cat-label b{ font-size: 22px; } }

/* products */
.nw-tabs{ display: flex; gap: 6px; flex-wrap: wrap; }
.nw-tab{ border: 1px solid var(--nw-line); background: var(--nw-surface); border-radius: 999px; padding: 8px 16px; font-size: 13.5px; text-decoration: none; color: var(--nw-text); }
.nw-tab.active, .nw-tab[aria-selected="true"]{ background: var(--nw-primary); color: #fff; border-color: var(--nw-primary); }
.nw-grid{ display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px 16px; }
.nw-grid--3{ grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 980px){ .nw-grid, .nw-grid--3{ grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 10px; } }
.nw-card{ display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.nw-card-ph{ position: relative; border-radius: 12px; overflow: hidden; background: var(--nw-sand); aspect-ratio: 4 / 5; display: block; }
.nw-card-ph img{ width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.nw-card:hover .nw-card-ph img{ transform: scale(1.035); }
.nw-tag{ position: absolute; top: 10px; inset-inline-start: 10px; background: var(--nw-accent); color: #fff; font-size: 11px; font-weight: 600; border-radius: 4px; padding: 3px 8px; }
.nw-card-name{ font-weight: 500; text-decoration: none; font-size: 15px; line-height: 1.3; color: var(--nw-heading); }
.nw-card-meta{ display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; }
.nw-card-price{ font-weight: 600; font-variant-numeric: tabular-nums; direction: ltr; }
.nw-card-price s{ color: var(--nw-muted); font-weight: 400; font-size: 13px; }

/* image + benefits */
.nw-split{ display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); border-radius: 18px; overflow: hidden; background: var(--nw-surface); border: 1px solid var(--nw-line); }
.nw-split--img-right .nw-split-img{ order: 2; }
.nw-split-img{ width: 100%; height: 100%; object-fit: cover; min-height: 420px; }
.nw-split-txt{ padding: 44px 40px; display: grid; gap: 18px; align-content: center; justify-items: start; }
.nw-split-txt .nw-title{ margin: 0; }
.nw-feats{ list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.nw-feats li{ display: grid; grid-template-columns: 42px 1fr; gap: 12px; align-items: start; }
.nw-feats .nw-ico{ width: 42px; height: 42px; padding: 10px; border-radius: 50%; background: var(--nw-sand); color: var(--nw-primary); }
.nw-feats b{ display: block; color: var(--nw-heading); }
.nw-feats span{ color: var(--nw-muted); font-size: 14px; }
@media (max-width: 860px){ .nw-split{ grid-template-columns: minmax(0, 1fr); } .nw-split--img-right .nw-split-img{ order: 0; } .nw-split-img{ min-height: 0; max-height: 360px; } .nw-split-txt{ padding: 26px 20px; } }

/* pack promo */
.nw-pack-box{ background: var(--nw-dark); color: #f4e8de; border-radius: 20px; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
.nw-pack-txt{ padding: 44px 40px; display: grid; gap: 16px; align-content: center; justify-items: start; }
.nw-pack .nw-eyebrow{ color: #e9b08f; }
.nw-pack .nw-title{ color: #fff; margin: 0; }
.nw-pack-txt p{ margin: 0; color: #d8c7ba; }
.nw-packs{ display: flex; gap: 10px; flex-wrap: wrap; }
.nw-pack-card{ border: 1px solid rgba(255,255,255,.18); border-radius: 12px; padding: 10px 16px; min-width: 120px; }
.nw-pack-card b{ display: block; font-size: 20px; color: #fff; direction: ltr; text-align: start; }
.nw-pack-card small{ color: #d8c7ba; }
.nw-clock{ display: flex; gap: 8px; }
.nw-clock div{ background: rgba(255,255,255,.08); border-radius: 10px; padding: 8px 10px; text-align: center; min-width: 58px; }
.nw-clock b{ display: block; font-size: 22px; color: #fff; font-variant-numeric: tabular-nums; }
.nw-clock small{ font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: #d8c7ba; }
.nw-pack-img{ width: 100%; height: 100%; object-fit: cover; min-height: 360px; }
@media (max-width: 860px){ .nw-pack-box{ grid-template-columns: minmax(0, 1fr); } .nw-pack-img{ min-height: 0; max-height: 300px; order: -1; } .nw-pack-txt{ padding: 26px 20px; } }

/* reviews */
.nw-reviews{ background: var(--nw-surface); border-block: 1px solid var(--nw-line); }
.nw-tiles{ display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.nw-tile{ border-radius: 12px; overflow: hidden; background: var(--pdp-bg, #f7f3ee); border: 1px solid var(--nw-line); display: flex; flex-direction: column; }
.nw-tile img{ width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.nw-tile-body{ padding: 10px 12px; font-size: 13px; }
.nw-tile-body p{ margin: 4px 0; }
.nw-tile-body small{ color: var(--nw-muted); }
.nw-stars{ color: #d9a441; letter-spacing: 2px; font-size: 13px; }
@media (max-width: 860px){ .nw-tiles{ grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* reassurance */
.nw-reass-grid{ display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px; }
.nw-reass-item{ display: flex; gap: 12px; align-items: center; background: var(--nw-surface); border: 1px solid var(--nw-line); border-radius: 12px; padding: 16px; }
.nw-reass-item .nw-ico{ width: 26px; height: 26px; color: var(--nw-primary); }
.nw-reass-item p{ margin: 0; }
.nw-reass-item b{ display: block; font-size: 14px; color: var(--nw-heading); }
.nw-reass-item span{ font-size: 12.5px; color: var(--nw-muted); }
.nw-reass--band{ background: var(--nw-primary); }
.nw-reass--band .nw-reass-item{ background: transparent; border-color: rgba(255,255,255,.2); color: #fff; }
.nw-reass--band .nw-reass-item .nw-ico, .nw-reass--band .nw-reass-item b{ color: #fff; }
.nw-reass--band .nw-reass-item span{ color: rgba(255,255,255,.8); }

/* footer */
.nw-footer{ background: var(--nw-dark); color: #d8c7ba; font-size: 14px; padding-block: 56px 0; }
.nw-footer-cols{ display: flex; flex-wrap: wrap; gap: 32px; }
.nw-footer-cols > div{ flex: 1 1 160px; min-width: 0; }
.nw-footer-cols > .nw-footer-about{ flex: 1.6 1 260px; }
.nw-footer h4{ color: #fff; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; margin: 0 0 14px; font-weight: 600; }
.nw-footer a:not(.nw-btn){ color: #d8c7ba; text-decoration: none; display: block; padding-block: 4px; }
.nw-footer a:not(.nw-btn):hover{ color: #fff; }
.nw-footer p{ margin: 0 0 12px; max-width: 36ch; }
.nw-logo--light{ color: #fff !important; display: inline-block !important; margin-bottom: 10px; padding-inline-start: 0; }
.nw-club{ margin-top: 18px; }
.nw-club .nw-btn{ display: inline-flex; }
.nw-socials{ display: flex; gap: 12px; flex-wrap: wrap; margin-top: 8px; }
.nw-footer-addr{ display: block; padding-block: 4px; }
.nw-footer-bottom{ border-top: 1px solid rgba(255,255,255,.1); margin-top: 40px; padding-block: 18px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 12.5px; }
.nw-pills{ display: flex; gap: 6px; flex-wrap: wrap; }
.nw-pills span{ border: 1px solid rgba(255,255,255,.18); border-radius: 5px; padding: 2px 8px; }
@media (max-width: 860px){ .nw-footer-cols > div{ flex-basis: 40%; } .nw-footer-cols > .nw-footer-about{ flex-basis: 100%; } }

/* hidden helper for engines that do not ship [hidden]{display:none} */
.nw [hidden]{ display: none !important; }

.nw-cart-count:empty{ display: none; }
.nw-header-icons .util-cart{ display: inline-flex; }
/* Le CSS du theme (a.rbt-product-nav) recolore le texte de l'onglet actif : on garde le blanc NAWA. */
.nw-tabs a.nw-tab.active, .nw-tabs a.nw-tab[aria-selected="true"], .nw-tabs a.nw-tab.active:hover { color: #fff !important; }
.nw-follow{ margin-top: 18px; }
.nw-footer .nw-socials--pills{ gap: 14px; margin-top: 10px; }
.nw-footer .nw-socials--pills a:not(.nw-btn){ display: flex; align-items: center; justify-content: center; width: 46px; height: 46px; padding: 0; line-height: 0; border: 1px solid currentColor; border-radius: 50%; box-sizing: border-box; }
.nw-footer .nw-socials--pills a svg{ display: block; width: 22px; height: 22px; margin: 0; flex: none; }
.nw-footer .nw-socials--pills a:not(.nw-btn):hover{ text-decoration: none; background: rgba(255,255,255,.12); }
