/* Nestiky identity tokens — 2026-11-22. Do not introduce other hues. */
:root {
  --violet: #7956D8;
  --lavender: #F4EDFF;
  --ink: #171717;
  --muted: #8D899B;
  --paper: #FFFFFF;
  --cream: #F4EDFF;
  --line: rgba(121, 86, 216, 0.20);
  --gold: #7956D8;
  --gold-light: rgba(121, 86, 216, 0.35);
  --gold-soft: #F4EDFF;
  --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, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Poppins", "IBM Plex Sans Arabic", "Tajawal", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-ar: "IBM Plex Sans Arabic", "Tajawal", "Poppins", system-ui, sans-serif;
  --font-wordmark: "Nestiky Display", "Poppins", 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 admin (mobile-first) */
:root {
  --shop-bg: #F4EDFF;
  --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;
}
/* 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 demandés + avis (2026-11-13) */
.shop-admin .shop-stars { color: var(--shop-gold); letter-spacing: 1px; }
.shop-admin .shop-oos-admin h4 { margin: 12px 0 6px; font-size: .95rem; }
.shop-admin .shop-oos-counters { line-height: 1.6; }
/* Photos produits (2026-11-15) */
.shop-admin .shop-thumbs { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0; }
.shop-admin .shop-thumb { width: 48px; height: 48px; object-fit: cover; border-radius: 8px; border: 1px solid var(--shop-line); vertical-align: middle; }
.shop-admin .shop-thumbs .shop-thumb { width: 64px; height: 64px; }
.shop-admin .err { color: #8a1f1f; }
.shop-admin [hidden] { display: none !important; }

/* État produit (2026-11-16) */
.shop-admin .shop-cond-badge {
  display: inline-block;
  margin: 0 0 0 4px;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: .75rem;
  font-weight: 600;
  background: #F4EDFF;
  color: #171717;
  border: 1px solid var(--shop-line);
  vertical-align: middle;
}
.shop-admin #p-cond-note { min-height: 72px; width: 100%; box-sizing: border-box; }
.shop-admin .shop-auth-badge { background: #F4EDFF; color: #171717; }

/* Salles de sport (23/11/2026) : cases à cocher activités */
.gym-admin .gym-acts { display: flex; flex-wrap: wrap; gap: 8px 16px; margin: 4px 0 12px; }
.gym-admin .gym-act { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 400; }
.gym-admin .gym-act input { width: auto; margin: 0; accent-color: #7956D8; }
