/* Nestiky identity tokens — 2026-11-22. Do not introduce other hues. */
:root {
  --violet: #7956D8;
  --lavender: #F4F0FC;
  --ink: #171717;
  --muted: #8D899B;
  --paper: #FFFFFF;
  --cream: #F4F0FC;
  --line: rgba(121, 86, 216, 0.20);
  --gold: #7956D8;
  --gold-light: rgba(121, 86, 216, 0.35);
  --gold-soft: #F4F0FC;
  --gold-d: #7956D8;
  --brand-purple: #7956D8;
  --brand-mauve: #7956D8;
  --brand-rose: rgba(121, 86, 216, 0.35);
  --brand-gradient: #7956D8;
  --brand-violet: #7956D8;
  --text-price: #171717;
  --text-hours: #8D899B;
  --dark: #171717;
  --burgundy: #171717;
  --burgundy-deep: #171717;
  --burgundy-soft: #171717;
  --shadow: 0 10px 28px rgba(121, 86, 216, 0.10);
  --radius: 18px;
  --green: #16844b;
  --closed: #ea4335;
  --err: #9b2744;
  --ok: var(--green);
  --font-display: "Poppins", "IBM Plex Sans Arabic", "Tajawal", system-ui, sans-serif;
  --font-body: "Poppins", "IBM Plex Sans Arabic", "Tajawal", system-ui, sans-serif;
  --font-ar: "Poppins", "IBM Plex Sans Arabic", "Tajawal", system-ui, sans-serif;
  --font-wordmark: "Poppins", "IBM Plex Sans Arabic", "Tajawal", system-ui, sans-serif;
  --fs-title: 28px;
  --fw-title: 600;
  --fs-section: 22px;
  --fw-section: 500;
  --fs-card: 18px;
  --fw-card: 500;
  --fs-body: 14px;
  --fw-body: 400;
  --fs-secondary: 12px;
  --fw-secondary: 400;
}

/* NESTIKY boutique — mobile-first (360–414px first), RTL-aware */
:root {
  --shop-bg: #F4F0FC;
  --shop-ink: #171717;
  --shop-muted: #8D899B;
  --shop-gold: #7956D8;
  --shop-line: rgba(121, 86, 216, 0.20);
  --shop-accent: #7956D8;
  --shop-radius: 14px;
  --shop-tap: 44px;
}
.shop-main {
  background: var(--shop-bg);
  color: var(--shop-ink);
  min-height: 60vh;
  padding: 16px 0 48px;
}
.shop-hero, .shop-product, .shop-legal, .container.shop-filters {
  padding-left: 16px;
  padding-right: 16px;
}
.shop-hero h1, .shop-product h1, .shop-legal h1 {
  font-size: 1.55rem;
  line-height: 1.25;
  margin: 0 0 8px;
}
.shop-lead, .shop-desc, .shop-note { color: var(--shop-muted); margin: 0 0 16px; }
.shop-crumb { margin: 0 0 12px; font-size: .9rem; }
.shop-crumb a { color: var(--shop-accent); }
.eyebrow { letter-spacing: .08em; text-transform: uppercase; font-size: .75rem; color: var(--shop-gold); margin: 0 0 6px; }

.shop-filters {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding-top: 8px;
  padding-bottom: 12px;
  scrollbar-width: thin;
}
.shop-filter {
  flex: 0 0 auto;
  min-height: var(--shop-tap);
  padding: 0 14px;
  border: 1px solid var(--shop-line);
  background: #fff;
  border-radius: 999px;
  color: var(--shop-ink);
  font: inherit;
  font-size: .9rem;
}
.shop-filter.is-on { background: var(--shop-accent); color: #fff; border-color: var(--shop-accent); }

.shop-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
.shop-card-link { text-decoration: none; color: inherit; display: block; }
.shop-card-link .salon-card { overflow: hidden; }
.shop-card-link .salon-card > img,
.shop-card-link .shop-media > img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center;
  background: #fff;
}
.shop-badge { display: inline-block; margin-top: 6px; font-size: .8rem; font-weight: 600; }
.shop-badge--out { color: #ea4335; }
.shop-empty {
  text-align: center;
  padding: 32px 16px 48px;
  background: #fff;
  border: 1px dashed var(--shop-line);
  border-radius: var(--shop-radius);
  margin: 8px 16px 0;
}
.shop-empty[hidden] { display: none !important; }

.shop-product-grid { display: flex; flex-direction: column; gap: 20px; }
.shop-gallery { display: flex; flex-direction: column; gap: 12px; }
.shop-gallery img, .shop-gallery .shop-photo-ph {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  max-width: 520px;
  object-fit: contain;
  object-position: center;
  margin: 0 auto;
  border-radius: var(--shop-radius);
  background: #fff;
  border: 1px solid var(--shop-line);
  box-sizing: border-box;
}
.shop-photo-ph { min-height: 200px; display: grid; place-items: center; color: var(--shop-muted); }
.shop-price { font-size: 1.25rem; margin: 8px 0 12px; }
.shop-brand { color: var(--shop-muted); margin: 0 0 4px; }

.shop-form, .shop-form--wide {
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: #fff;
  border: 1px solid var(--shop-line);
  border-radius: var(--shop-radius);
  padding: 16px;
}
.shop-field { display: flex; flex-direction: column; gap: 6px; font-size: .95rem; }
.shop-field input, .shop-field select, .shop-field textarea {
  min-height: var(--shop-tap);
  border: 1px solid var(--shop-line);
  border-radius: 10px;
  padding: 10px 12px;
  font: inherit;
  width: 100%;
  box-sizing: border-box;
  background: #fff;
}
.shop-field textarea { min-height: 96px; }
.shop-form .add-btn, .shop-empty .add-btn, .shop-hero .add-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--shop-tap);
  width: 100%;
  box-sizing: border-box;
}
.shop-pay, .shop-ship, .shop-total { margin: 0; font-size: .95rem; }
.shop-total { font-weight: 650; }
.shop-status { margin: 0; padding: 8px 10px; border-radius: 8px; }
.shop-status.is-ok { background: rgba(22, 132, 75, 0.12); color: #16844b; }
.shop-status.is-err { background: rgba(234, 67, 53, 0.12); color: #ea4335; }
.shop-alt { margin: 16px 0 0; text-align: center; }
.shop-turnstile { min-height: 0; }
.hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px; opacity: 0;
}
.shop-track { background: #fff; border: 1px solid var(--shop-line); border-radius: var(--shop-radius); padding: 16px; }
.shop-legal h2 { font-size: 1.1rem; margin: 1.4em 0 .4em; }
.shop-legal p { line-height: 1.55; }

.shop-sticky-bar {
  position: sticky;
  bottom: 0;
  background: #fff;
  border-top: 1px solid var(--shop-line);
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  display: none;
}
.shop-sticky-bar.is-on { display: block; }

/* Comfort at 414px still single column; tighten slightly at 360 */
@media (min-width: 520px) {
  .shop-grid { grid-template-columns: 1fr 1fr; }
  .shop-hero .add-btn, .shop-empty .add-btn, .shop-form .add-btn { width: auto; min-width: 200px; }
}
@media (min-width: 800px) {
  .shop-grid { grid-template-columns: 1fr 1fr 1fr; }
  .shop-product-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; }
  .shop-hero, .shop-product, .shop-legal { padding-left: 0; padding-right: 0; }
}

/* RTL (i18n.js sets html dir=rtl for AR) */
html[dir="rtl"] .shop-filters { flex-direction: row; }
html[dir="rtl"] .shop-form, html[dir="rtl"] .shop-field, html[dir="rtl"] .shop-hero,
html[dir="rtl"] .shop-product, html[dir="rtl"] .shop-legal, html[dir="rtl"] .shop-track { text-align: right; }
html[dir="rtl"] .shop-field input, html[dir="rtl"] .shop-field select, html[dir="rtl"] .shop-field textarea { text-align: right; }
html[dir="rtl"] .shop-crumb, html[dir="rtl"] .shop-alt { text-align: right; }

/* Admin boutique (loaded in admin SPA) */
.shop-admin { font-size: 15px; }
.shop-admin-tabs {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 0 0 14px;
  padding-bottom: 4px;
}
.shop-admin-tabs button {
  flex: 0 0 auto;
  min-height: var(--shop-tap);
  padding: 0 12px;
  border: 1px solid var(--shop-line);
  background: #fff;
  border-radius: 10px;
  font: inherit;
}
.shop-admin-tabs button.is-on { background: #171717; color: #fff; border-color: #171717; }
.shop-admin .item { padding: 12px; }
.shop-admin .shop-row-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.shop-admin .shop-row-actions button, .shop-admin .shop-row-actions a {
  min-height: var(--shop-tap);
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border-radius: 10px;
}
.shop-admin table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.shop-admin th, .shop-admin td { border-bottom: 1px solid var(--shop-line); padding: 8px 6px; text-align: start; }
.shop-admin .shop-form-grid { display: grid; gap: 10px; }
@media (max-width: 700px) {
  .shop-admin table { display: block; overflow-x: auto; }
  .shop-admin .salon-content { padding-bottom: 24px; }
}
@media (min-width: 720px) {
  .shop-admin .shop-form-grid { grid-template-columns: 1fr 1fr; }
}
body.nk-rtl .shop-admin, html[dir="rtl"] .shop-admin { text-align: right; }

/* Épuisés déjà demandés + avis clientes (2026-11-13) */
.shop-oos[hidden], .shop-reviews[hidden] { display: none !important; }
.shop-oos { padding: 28px 16px 0; }
.shop-oos h2, .shop-reviews h2, .shop-review-forms h2 { font-size: 1.25rem; margin: 0 0 6px; }
.shop-oos-list { display: grid; grid-template-columns: 1fr; gap: 14px; }
.shop-oos-card { overflow: hidden; }
.shop-oos-card h3 a { color: inherit; text-decoration: none; }
.shop-oos-media img { width: 100%; height: auto; display: block; aspect-ratio: 1 / 1; object-fit: cover; object-position: center; background: #fff; }
.shop-oos-counters { list-style: none; padding: 0; margin: 8px 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
.shop-oos-counters li {
  font-size: .85rem;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--lavender);
  color: var(--shop-accent);
}
.shop-oos-card .add-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--shop-tap);
  width: 100%;
  box-sizing: border-box;
  margin-top: 6px;
}
.shop-stars { color: var(--shop-gold); letter-spacing: 1px; }
.shop-rating { margin: 8px 0 4px; font-size: .92rem; }
.shop-review {
  margin: 8px 0 0;
  padding: 10px 12px;
  background: #fff;
  border: 1px solid var(--shop-line);
  border-radius: 10px;
  font-size: .92rem;
}
.shop-review p { margin: 4px 0; color: var(--shop-ink); }
.shop-review cite { font-style: normal; color: var(--shop-muted); font-size: .85rem; }
.shop-reviews { margin-top: 28px; }
.shop-review-forms { margin-top: 18px; display: flex; flex-direction: column; gap: 12px; }
.shop-review-form h3, .shop-review-done h3 { font-size: 1.02rem; margin: 0; }
.shop-review-done { padding: 12px 0; border-top: 1px solid var(--shop-line); }
.shop-stars-input { border: 0; padding: 0; margin: 0; }
.shop-stars-input legend { font-size: .95rem; margin-bottom: 4px; }
.shop-stars-pick { position: relative; display: inline-flex; flex-direction: row-reverse; gap: 2px; }
.shop-stars-pick input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.shop-stars-pick label {
  font-size: 2rem;
  line-height: 1;
  min-width: var(--shop-tap);
  min-height: var(--shop-tap);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #8D899B;
  cursor: pointer;
}
.shop-stars-pick input:checked ~ label,
.shop-stars-pick label:hover, .shop-stars-pick label:hover ~ label { color: var(--shop-gold); }
.shop-stars-pick input:focus-visible + label { outline: 2px solid var(--shop-accent); border-radius: 8px; }
@media (min-width: 520px) {
  .shop-oos-list { grid-template-columns: 1fr 1fr; }
  .shop-oos-card .add-btn { width: auto; }
}
@media (min-width: 800px) {
  .shop-oos { padding-left: 0; padding-right: 0; }
  .shop-oos-list { grid-template-columns: 1fr 1fr 1fr; }
}
html[dir="rtl"] .shop-oos, html[dir="rtl"] .shop-reviews, html[dir="rtl"] .shop-review-forms { text-align: right; }

/* État produit (2026-11-16) */
.shop-filters--cond { padding-top: 0; }
.shop-badge--cond {
  margin-right: 8px;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--lavender);
  color: #171717;
  border: 1px solid var(--shop-line);
  font-weight: 600;
}
.shop-condition {
  margin: 0 0 12px;
  font-size: .95rem;
}
.shop-condition-label {
  color: var(--shop-muted);
  margin-right: 6px;
}
.shop-condition-note {
  margin: 6px 0 0;
  color: var(--shop-muted);
  font-size: .9rem;
}
html[dir="rtl"] .shop-badge--cond { margin-right: 0; margin-left: 8px; }
html[dir="rtl"] .shop-condition-label { margin-right: 0; margin-left: 6px; }

.shop-badge--auth {
  margin-right: 8px;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--lavender);
  color: #171717;
  border: 1px solid var(--shop-line);
  font-weight: 600;
}
.shop-origin {
  margin: 6px 0 0;
  color: var(--shop-muted);
  font-size: .95rem;
}
html[dir="rtl"] .shop-badge--auth { margin-right: 0; margin-left: 8px; }

/* Stock sur la photo, épuisé grisé, « Redemander cet article » (2026-11-16) */
.shop-card-link[hidden] { display: none !important; }
.shop-card-link .salon-card { display: flex; flex-direction: column; height: 100%; }
.shop-card-main { display: block; color: inherit; text-decoration: none; flex: 1 1 auto; }
.shop-media { position: relative; display: block; overflow: hidden; }
.shop-media > img { transition: filter .25s ease, opacity .25s ease; }
.shop-stock {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  max-width: calc(100% - 20px);
  padding: 5px 11px 5px 9px;
  border-radius: 999px;
  font-size: .76rem;
  font-weight: 650;
  letter-spacing: .02em;
  line-height: 1.2;
  white-space: nowrap;
  color: #171717;
  background: rgba(255, 255, 255, .9);
  border: 1px solid color-mix(in srgb, var(--violet) 90%, transparent);
  box-shadow: 0 4px 14px rgba(23, 23, 23, .14);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  pointer-events: none;
}
.shop-stock::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex: 0 0 auto;
  background: #16844b;
  box-shadow: 0 0 0 3px rgba(22, 132, 75, .18);
}
.shop-stock--low { color: #8D899B; border-color: color-mix(in srgb, var(--violet) 70%, transparent); }
.shop-stock--low::before { background: var(--violet); box-shadow: 0 0 0 3px color-mix(in srgb, var(--violet) 20%, transparent); }
.shop-stock--out {
  color: #fff;
  background: rgba(23, 23, 23, .88);
  border-color: rgba(255, 255, 255, .25);
  text-transform: uppercase;
  letter-spacing: .08em;
}
.shop-stock--out::before { background: color-mix(in srgb, var(--violet) 35%, transparent); box-shadow: none; }
.shop-product .shop-media { max-width: 520px; margin: 0 auto; width: 100%; }
.shop-product .shop-stock { top: 12px; left: 12px; font-size: .82rem; }

/* Épuisé : photo désaturée, texte atténué, commande désactivée */
.is-soldout .shop-media > img,
.is-soldout .shop-media > .shop-photo-ph { filter: grayscale(1) contrast(.92); opacity: .62; }
.shop-card-link.is-soldout .salon-card { background: var(--lavender); }
.shop-card-link.is-soldout .salon-card__body,
.shop-oos-card.is-soldout .salon-card__body h3,
.shop-oos-card.is-soldout .salon-card__body .price { color: #8D899B; }
.shop-card-link.is-soldout .salon-card__body h3,
.shop-card-link.is-soldout .price,
.shop-card-link.is-soldout .price strong { color: #8D899B !important; }
.shop-card-link.is-soldout .shop-badge--cond,
.shop-card-link.is-soldout .shop-badge--auth { opacity: .65; }
.shop-product.is-soldout .shop-gallery > img { filter: grayscale(1); opacity: .62; }
.shop-product.is-soldout .shop-price { color: #8D899B; }
.shop-card-cta { padding: 0 16px 16px; }
.shop-card-cta:empty { display: none; }
.add-btn.shop-redemand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: var(--shop-tap);
  box-sizing: border-box;
  text-align: center;
  text-decoration: none;
}
.add-btn.shop-redemand::before { content: "↻"; font-size: 1.05em; line-height: 1; }
.shop-soldout-box {
  margin: 4px 0 14px;
  padding: 14px;
  border-radius: var(--shop-radius);
  background: var(--lavender);
  border: 1px solid color-mix(in srgb, var(--violet) 22%, transparent);
}
.shop-soldout-note { margin: 0 0 10px; color: #8D899B; font-size: .95rem; line-height: 1.45; }
.shop-oos-wait { margin: 8px 0 0; text-align: center; font-size: .9rem; }
.shop-oos-wait a { color: var(--shop-accent); }
.shop-prefill {
  margin: 0 0 14px;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--lavender);
  border: 1px solid color-mix(in srgb, var(--violet) 22%, transparent);
  color: #171717;
  font-size: .93rem;
  line-height: 1.45;
}
.shop-prefill[hidden] { display: none !important; }
@media (min-width: 520px) {
  .add-btn.shop-redemand { width: 100%; }
}
html[dir="rtl"] .shop-stock { left: auto; right: 10px; padding: 5px 9px 5px 11px; }
html[dir="rtl"] .shop-product .shop-stock { left: auto; right: 12px; }
html[dir="rtl"] .shop-stock--out { letter-spacing: 0; text-transform: none; }
html[dir="rtl"] .add-btn.shop-redemand::before { transform: scaleX(-1); }
html[dir="rtl"] .shop-prefill, html[dir="rtl"] .shop-soldout-box { text-align: right; }

/* Vignettes / liste + retour boutique + palette app (2026-11-21) */
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/poppins-400-latin.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/poppins-500-latin.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/poppins-600-latin.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans Arabic"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/plex-400-arabic.woff2") format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+FB50-FDFF, U+FE70-FEFF; }
@font-face { font-family: "IBM Plex Sans Arabic"; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/plex-500-arabic.woff2") format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+FB50-FDFF, U+FE70-FEFF; }
@font-face { font-family: "IBM Plex Sans Arabic"; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/plex-600-arabic.woff2") format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+FB50-FDFF, U+FE70-FEFF; }
.shop-main {
  --nk-violet: #7956D8;
  --nk-lav: #F4F0FC;
  --nk-line: rgba(121, 86, 216, 0.22);
  --nk-ink: #171717;
  font-family: "Poppins", "IBM Plex Sans Arabic", "Tajawal", system-ui, sans-serif;
  color: var(--nk-ink);
  background: var(--lavender);
}
html[dir="rtl"] .shop-main { font-family: "Poppins", "IBM Plex Sans Arabic", "Tajawal", system-ui, sans-serif; }
.shop-main h1, .shop-main h2, .shop-main h3 { font-family: inherit; color: var(--nk-ink); }
.shop-main .shop-lead, .shop-main .shop-desc, .shop-main .shop-brand, .shop-main .location { color: var(--nk-ink); }
.shop-filter { border-color: var(--nk-line); font-family: inherit; color: var(--nk-ink); min-height: 38px; font-size: .85rem; }
.shop-filter.is-on { background: var(--nk-violet); border-color: var(--nk-violet); color: #fff; }

/* Barre vignettes / liste */
.shop-products { padding-left: 16px; padding-right: 16px; }
.shop-viewbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 2px 0 10px; }
.shop-count { margin: 0; font-size: .85rem; font-weight: 500; color: var(--nk-ink); }
.shop-view-toggle { display: inline-flex; padding: 3px; gap: 2px; border: 1px solid var(--nk-line); border-radius: 12px; background: #fff; }
.shop-view-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 32px; border: 0; border-radius: 9px;
  background: transparent; color: var(--nk-ink); cursor: pointer; padding: 0;
}
.shop-view-btn.is-on { background: var(--nk-lav); color: var(--nk-violet); }
.shop-view-btn:focus-visible { outline: 2px solid var(--nk-violet); outline-offset: 1px; }

/* Vignettes (par défaut) : 2 colonnes, photos carrées compactes */
.shop-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.shop-card-link .salon-card {
  background: #fff; border: 1px solid var(--nk-line); border-radius: 14px;
  box-shadow: none !important; overflow: hidden; margin: 0; padding: 0;
}
.shop-card-link .shop-media > img { aspect-ratio: 1 / 1; width: 100%; height: auto; object-fit: cover; border-radius: 0; }
.shop-card-link .salon-card__body { padding: 9px 10px 0; }
.shop-card-link .salon-card__body h3 {
  font-size: .86rem; font-weight: 500; line-height: 1.3; margin: 0 0 2px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.shop-card-link .location { font-size: .74rem; font-weight: 400; margin: 0 0 3px; }
.shop-card-link .price { font-size: .78rem; font-weight: 400; color: var(--nk-ink); margin: 0 0 6px; }
.shop-card-link .price strong { font-weight: 600; color: var(--nk-ink); font-size: .9rem; }
.shop-card-link .shop-badge--cond, .shop-card-link .shop-badge--auth {
  font-size: .68rem; font-weight: 500; padding: 1px 7px; margin: 0 4px 4px 0;
  background: var(--nk-lav); border-color: var(--nk-line); color: var(--nk-ink);
}
.shop-card-link .shop-stock { top: 8px; left: 8px; font-size: .68rem; padding: 4px 9px 4px 7px; font-weight: 500; box-shadow: none; }
.shop-card-cta { padding: 12px 10px 10px; }
.shop-card-cta:empty { display: none; }
.shop-main .shop-card-cta .add-btn,
.shop-main .shop-oos-card .add-btn.shop-redemand,
.shop-main .shop-soldout-box .add-btn.shop-redemand {
  background: var(--nk-violet) !important; color: #fff !important;
  border: 0; box-shadow: none !important;
  min-height: 36px; padding: 0 12px; border-radius: 10px;
  font-family: inherit; font-weight: 500; font-size: .8rem; letter-spacing: 0;
  width: 100%; display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  white-space: nowrap; text-decoration: none;
}
.shop-main .shop-card-cta .add-btn.shop-order-btn {
  background: var(--nk-lav) !important; color: var(--nk-ink) !important; border: 1px solid var(--nk-line);
}
.shop-card-link.is-soldout .salon-card { background: var(--lavender); }
.shop-card-link.is-soldout .salon-card__body h3,
.shop-card-link.is-soldout .price, .shop-card-link.is-soldout .price strong,
.shop-card-link.is-soldout .location { color: #8D899B !important; }

/* Espace net entre « Redemander » et les pastilles Neuf / Original */
.shop-card-cta .shop-redemand, .shop-oos-card .shop-redemand { margin-top: 0; }
.shop-card-link .salon-card__body > .shop-badge:last-child { margin-bottom: 0; }
.shop-main .shop-soldout-box { margin-top: 14px; }
.shop-main .shop-soldout-box .add-btn.shop-redemand { min-height: 42px; font-size: .9rem; margin-top: 4px; }
.shop-condition { margin-bottom: 14px; }

/* Liste : petite photo arrondie à gauche, infos au centre, bouton à droite */
.shop-grid.is-list { grid-template-columns: 1fr; gap: 10px; }
.shop-grid.is-list .salon-card {
  display: grid; grid-template-columns: 84px minmax(0, 1fr) auto;
  grid-template-rows: auto auto; column-gap: 12px; row-gap: 4px;
  align-items: center; padding: 10px; height: auto;
}
.shop-grid.is-list .shop-card-main, .shop-grid.is-list .shop-media { display: contents; }
.shop-grid.is-list .shop-media > img {
  grid-column: 1; grid-row: 1 / 3; width: 84px; height: 84px; aspect-ratio: 1 / 1;
  border-radius: 12px; align-self: center;
}
.shop-grid.is-list .salon-card__body { grid-column: 2; grid-row: 1; padding: 0; align-self: end; }
.shop-grid.is-list .salon-card__body h3 { font-size: .9rem; -webkit-line-clamp: 2; }
.shop-grid.is-list .price { margin-bottom: 2px; }
.shop-grid.is-list .shop-badge--cond, .shop-grid.is-list .shop-badge--auth { margin-bottom: 2px; }
.shop-grid.is-list .shop-stock {
  position: static; grid-column: 2; grid-row: 2; justify-self: start; align-self: start;
  margin-top: 6px; background: var(--nk-lav); border-color: var(--nk-line);
  -webkit-backdrop-filter: none; backdrop-filter: none;
}
.shop-grid.is-list .shop-stock--out { background: rgba(23, 23, 23, .88); }
.shop-grid.is-list .shop-card-cta { grid-column: 3; grid-row: 1 / 3; padding: 0; align-self: center; }
.shop-grid.is-list .shop-card-cta .add-btn { width: auto; min-width: 92px; padding: 0 12px; }

/* Déjà demandés : format liste compact */
.shop-oos-list { gap: 10px; }
.shop-oos-card.salon-card {
  display: grid; grid-template-columns: 84px minmax(0, 1fr); column-gap: 12px;
  padding: 10px; border: 1px solid var(--nk-line, color-mix(in srgb, var(--violet) 22%, transparent)); border-radius: 14px; background: #fff; box-shadow: none !important;
}
.shop-oos-card .shop-oos-media { grid-column: 1; align-self: start; }
.shop-oos-card .shop-oos-media img { width: 84px; height: 84px; border-radius: 12px; }
.shop-oos-card .shop-oos-media .shop-stock { top: 4px; left: 4px; font-size: .6rem; padding: 3px 6px; box-shadow: none; }
.shop-oos-card .shop-oos-media .shop-stock::before { display: none; }
.shop-oos-card .salon-card__body { padding: 0; min-width: 0; }
.shop-oos-card .salon-card__body h3 { font-size: .9rem; font-weight: 500; margin: 0 0 2px; }
.shop-oos-card .salon-card__body > p:has(.shop-redemand) { margin: 12px 0 0; }
.shop-oos-card .shop-redemand { margin-top: 12px; }

/* Barre retour boutique (collante, visible sans défiler) */
.shop-backbar {
  position: sticky; top: 0; z-index: 40;
  display: flex; align-items: center; gap: 10px;
  padding: 8px 16px; margin: -16px 0 12px;
  background: rgba(255, 255, 255, .94);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--nk-line, color-mix(in srgb, var(--violet) 22%, transparent));
}
.shop-back {
  flex: 0 0 auto; display: inline-flex; align-items: center; gap: 4px;
  min-height: 38px; padding: 0 14px 0 10px; border-radius: 999px;
  background: var(--lavender); color: #171717; text-decoration: none;
  font-family: "Poppins", "IBM Plex Sans Arabic", "Tajawal", system-ui, sans-serif; font-weight: 500; font-size: .86rem;
  border: 1px solid color-mix(in srgb, var(--violet) 22%, transparent);
}
.shop-back svg { color: var(--violet); }
.shop-back:focus-visible { outline: 2px solid var(--violet); outline-offset: 2px; }
.shop-backbar__crumb {
  margin: 0; min-width: 0; font-size: .8rem; color: #171717;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.shop-backbar__crumb a { color: var(--violet); text-decoration: none; }
.shop-backbar__sep { margin: 0 6px; color: var(--violet); }
html[dir="rtl"] .shop-back { padding: 0 10px 0 14px; }
html[dir="rtl"] .shop-back svg { transform: scaleX(-1); }

@media (min-width: 800px) {
  .shop-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .shop-grid.is-list { grid-template-columns: 1fr 1fr; }
  .shop-products { padding-left: 0; padding-right: 0; }
}
@media (min-width: 1100px) {
  .shop-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
html[dir="rtl"] .shop-card-link .shop-stock { left: auto; right: 8px; }
html[dir="rtl"] .shop-card-link .shop-badge--cond, html[dir="rtl"] .shop-card-link .shop-badge--auth { margin: 0 0 4px 4px; }
html[dir="rtl"] .shop-grid.is-list .shop-stock { right: auto; }
html[dir="rtl"] .shop-oos-card .shop-oos-media .shop-stock { left: auto; right: 4px; }
/* Liste : ajustements compacts */
.shop-grid.is-list .salon-card { grid-template-columns: 76px minmax(0, 1fr) auto; column-gap: 10px; }
.shop-grid.is-list .shop-media > img { width: 76px; height: 76px; }
.shop-grid.is-list .price [data-i18n="card.from"] { display: none; }
.shop-grid.is-list .price { font-size: .74rem; }
.shop-grid.is-list .shop-stock { max-width: none; font-size: .66rem; margin-top: 4px; }
.shop-grid.is-list .shop-badge--cond, .shop-grid.is-list .shop-badge--auth { font-size: .64rem; padding: 0 6px; }
.shop-grid.is-list .shop-card-cta .add-btn { min-width: 0; min-height: 32px; padding: 0 10px; font-size: .74rem; border-radius: 9px; }

/* Hide public-site chrome (footer + website header) when opened inside the Nestiky app. */
html.zgo-in-app header.nav,
html.zgo-in-app .nav-toggle,
html.zgo-in-app .mobile-nav-panel,
html.zgo-in-app .mobile-nav-backdrop,
html.zgo-in-app .install-app-banner,
html.zgo-in-app #zgo-install-banner,
html.zgo-in-app .app-install-bar,
html.zgo-in-app footer,
html.zgo-in-app .footer,
body.zgo-in-app header.nav,
body.zgo-in-app .nav-toggle,
body.zgo-in-app .mobile-nav-panel,
body.zgo-in-app .mobile-nav-backdrop,
body.zgo-in-app .install-app-banner,
body.zgo-in-app #zgo-install-banner,
body.zgo-in-app .app-install-bar,
body.zgo-in-app footer,
body.zgo-in-app .footer {
  display: none !important;
}
html.zgo-in-app, body.zgo-in-app { padding-top: 0 !important; }
