/* ===========================
   BOUTIQUE — La Touche Modale
   =========================== */

:root {
  --bg: #787f79;
  --bg-dark: #5c635e;
  --bg-card: rgba(255,255,255,0.09);
  --border: rgba(255,255,255,0.55);
  --text: rgba(255,255,255,0.88);
  --text-dim: rgba(255,255,255,0.55);
  --accent: #dcff8f;
  --radius: 16px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body.page-boutique {
  background-color: var(--bg);
  font-family: "Inter", system-ui, sans-serif;
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
}

/* === TITRE === */
.boutique-title-img {
  width: 250px; /* ajustez selon votre image */
  height: auto;
  display: block;
  margin-top: 2px;
  margin-bottom: -20px;
  opacity: 70%;
}

/* ── HEADER ── */
.boutique-header {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px 40px 0;
  position: relative;
}

 /* 2e CADRE */
.points-info-badge {
  position: absolute;
  top: 197px;
  right: 77px;
  width: 271px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(151, 150, 113, 0.5);
  border: 1.4px solid rgba(255,221,89,0.45);
  border-radius: 12px;
  padding: 20px 18px;
  text-align: center;
  font-size: 14px;
  color: rgba(255,255,255,0.8);
  line-height: 1.55;
  z-index: 2;
}
.points-info-icon {
  color: #ffe88d;
  flex-shrink: 0;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 16px;
}
.points-info-badge strong {
  color: #ffe88d;
}

 /* 3e CADRE */
.points-value-accordion {
  position: absolute;
  top: 313px;
  right: 23px;
  width: 224px;
  border: 1.4px solid rgba(255, 212, 163, 0.55);
  border-radius: 12px;
  background: rgba(158, 138, 114, 0.5);
  z-index: 2;
}
.points-value-toggle {
  width: 100%;
  padding: 20px 4px 4px;
  background: none;
  border: none;
  color: #ffcda5;
  font-size: 14px;
  font-weight: 600;
  font-family: "Inter", system-ui, sans-serif;
  text-align: center;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.points-value-toggle .points-info-icon {
  color: #ffcca5;
}
.toggle-top-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
}
.accordion-arrow {
  position: relative;
  bottom: -9.7px;
  width: 0;
  height: 0;
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-top: 10px solid #ffcca5;
  transition: transform 0.2s ease;
  flex-shrink: 0;
}
.points-value-toggle.open .accordion-arrow {
  transform: rotate(180deg);
}
.points-value-content {
  margin-top: 13px;
  padding: 0 16px 14px;
  font-size: 13.5px;
  color: rgba(255,255,255,0.9);
  line-height: 1.6;
  text-align: center;
}
.points-value-content.hidden {
  display: none;
}

 /* couleurs des points sur la page produits*/
.points-value {
  font-size: 16px;
  color: #ffee9d;
  font-weight: 600;
}

 /* couleurs de la phrase de connexion pour utiliser ses points sur la page commander*/
.points-login-prompt {
  text-align: center;
  font-size: 12px;
  color: var(--text-dim);
  margin-top: -8px;
  margin-bottom: 20px;
}



 /* couleur du slider de points du modale*/
#points-slider {
  accent-color: var(--accent);
}


.back-link {
  position: absolute;
  top: 12px;
  left: 40px;
  font-size: 14px;
  color: var(--text-dim);
  text-decoration: none;
  transition: color 0.2s;
}
.back-link:hover { color: var(--accent); }

.header-badge {
  display: inline-block;
  padding: 7px 22px;
  border-radius: 11px;
  border: 1.9px solid rgba(202,204,202,0.7);
  background: var(--bg-dark);
  color: rgba(255,255,255,0.82);
  font-size: 30px;
  font-weight: 733;
  box-shadow: 0 0 20px rgba(0,0,0,0.1);
}

.points-equivalent {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-dim);
}
.points-section {
  margin-top: -8px;
  margin-bottom: 20px;
  padding: 14px 14px 8px 14px;
  background: rgba(220,255,143,0.08);
  border: 1px solid rgba(220,255,143,0.25);
  border-radius: 10px;
}
.points-checkbox-label {
  display: block;
  font-size: 13px;
  color: var(--text);
}
.points-summary {
  font-size: 13px;
  color: var(--accent);
  font-weight: 600;
  margin-top: 2px;
}



/* ── HERO ── */
.boutique-hero {
  text-align: center;
  padding: 36px 20px 10px;
  margin-top: 13px;
}

.hero-tagline {
  font-family: "Inter", system-ui, sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: rgba(255,255,255,0.84);
  margin-bottom: 6px;
}

.hero-sub {
  font-size: 15px;
 color: rgba(255,255,255,0.5);
  margin-bottom: 24px;
  font-style: italic;
}


 /* 1er CADRE */
.hero-custom-banner {
  position: absolute;
left: 50%;
transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: rgba(140, 155, 128, 0.5);
  border: 1.4px solid rgba(220,255,143,0.45);
  border-radius: 12px;
  padding: 20px 20px;
  margin-top: 7.7px;
  max-width: 720px;
  text-align: center;
  font-size: 14px;
  color: rgba(255,255,255,0.8);
  line-height: 1.55;
  z-index: 1;
}
.banner-text { font-size:14px; }

.banner-icon { color: var(--accent); font-size: 16px; flex-shrink: 0; }
.hero-custom-banner strong { color: var(--accent); }
.hero-custom-banner em { opacity: 0.8; }

/* ── FILTRES ── */
.filter-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 28px 60px 10px;
  flex-wrap: wrap;
  margin-top: 70px;
  margin-bottom: -5px;
}

.filter-label { font-size: 13px; color: var(--text-dim); }
.filter-pills { display: flex; gap: 8px; }

.pill, .cat-pill {
  padding: 6px 18px;
  border-radius: 20px;
  border: 1.4px solid var(--border);
  background: transparent;
  color: var(--text-dim);
  font-size: 13px;
  font-family: "Inter", sans-serif;
  cursor: pointer;
  transition: all 0.2s ease;
}
.pill:hover, .cat-pill:hover { background: rgba(255,255,255,0.1); color: var(--text); }
.pill.active, .cat-pill.active { background: var(--accent); color: #2a2e2a; border-color: var(--accent); font-weight: 600; }

.category-filters { display: flex; gap: 8px; flex-wrap: wrap; }
.category-filters.hidden { display: none; }

/* ── BOUTON CATEGORIE DISABLED ── */
.pill.disabled {
  background-color: rgba(153, 157, 149, 0.5);
  opacity: 0.6;
  cursor: default;
}
.pill.disabled:hover {
  background-color: rgba(153, 157, 149, 0.5);
  color: var(--text-dim);
  cursor: default;
}

/* ── MAIN ── */
.boutique-main {
  padding: 20px 60px 80px;
  max-width: 1060px;
  margin: 0 auto;
}
.boutique-main.hidden { display: none; }

/* ── DESIGN BLOCK ── */
.design-block {
  margin-bottom: 60px;
  border: 1.5px solid rgba(255,255,255,0.18);
  border-radius: 22px;
  overflow: hidden;
  background: rgba(0,0,0,0.08);
  transition: border-color 0.25s ease;
}
.design-block:hover { border-color: rgba(255,255,255,0.32); }

.design-hero-img {
  position: relative;
  width: 100%;
  height: 280px;
  overflow: hidden;
  background: var(--bg-dark);
}
.design-hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

/* ── COUlEUR DE FOND DE CHAQUE DESIGN  ── */
.db-2types      .design-hero-img { background: #ffffff; }
.db-prelude      .design-hero-img { background: #ffffff; }

.placeholder-design {
  background: linear-gradient(135deg, #5c635e 0%, #4a504b 100%);
}
.design-label-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 12px 18px;
  background: linear-gradient(to top, rgba(0,0,0,0) 0%, transparent 100%);
}
.design-title {
  font-family: "Inter", system-ui, sans-serif;
  font-style: italic;
  font-size: 20px;
  font-weight: 700;
  color: rgba(255, 255, 255, 1);
  text-shadow: 0 0px 3px rgba(0,0,0,0.5);
}

/* ── PRODUCT CARDS ── */
.design-products {
  display: flex;
  gap: 16px;
  padding: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.design-products.expanded {
  max-height: 2000px;
}

.voir-plus-btn {
  display: none;
  width: 100%;
  text-align: center;
  padding: 10px 0 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dim);
  cursor: pointer;
  background: none;
  border: none;
  font-family: "Inter", sans-serif;
  letter-spacing: 0.3px;
  transition: color 0.2s;
}
.voir-plus-btn:hover { color: var(--accent); }
.voir-plus-btn.visible { display: block; }

.product-card {
  flex: 0 0 auto;
  width: 180px;
  background: var(--bg-card);
  border: 1.4px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.22);
  border-color: var(--accent);
}

.product-img-wrap {
  width: 100%;
  height: 160px;
  overflow: hidden;
  background: rgba(0,0,0,0.1);
}
.product-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}
.product-card:hover .product-img-wrap img { transform: scale(1.05); }


/* ── HAUTEUR DES IMAGES PRODUIT ── */

.product-card[data-product="T-shirt"] .product-img-wrap img {
  object-position: center 18%;
}

.product-card[data-product="Sacoche"] .product-img-wrap img {
  object-position: center 65%;
}

.product-card[data-product="Bonnet"] .product-img-wrap img {
  object-position: center 64%;
}

.product-card[data-product="iPhone, Pixel & Samsung (coque)"] .product-img-wrap img {
  object-position: center 24%;
}

.product-card[data-product="Débardeur"] .product-img-wrap img {
  object-position: center 36%;
}

.product-card[data-product="Hoodie"] .product-img-wrap img {
  object-position: center 20%;
}



.modal-product-thumb[data-product="T-shirt"] {
  object-position: center 18%;
}
.modal-product-thumb[data-product="Sacoche"] {
  object-position: center 65%;
}
.modal-product-thumb[data-product="Bonnet"] {
  object-position: center 64%;
}
.modal-product-thumb[data-product="iPhone, Pixel & Samsung (coque)"] {
  object-position: center 24%;
}

.placeholder-img {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.15);
  color: var(--text-dim);
  font-size: 13px;
  font-weight: 500;
  width: 100%;
  height: 16x0px;
}

.product-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding: 10px 12px 8px;
}
.product-type {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  --lines: 2;
  max-height: calc(1.35em * var(--lines));
  min-height: calc(1.35em * var(--lines));
  line-height: 1.35;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-dim);
  letter-spacing: 0.5px;
  overflow: hidden;
  min-width: 0;
  text-transform: uppercase;
}
.product-type-text {
  display: -webkit-box;
  -webkit-line-clamp: var(--lines);
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-price {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
  white-space: nowrap;
  flex-shrink: 0;
  gap: 0;
}
.price-from {
  font-size: 9px;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0.2px;
  color: var(--accent);
  line-height: 1.2;
}
.price-amount {
  line-height: 1.4;
}

/* Hint au hover — overlay qui recouvre libellé + prix */
.card-hover-hint {
  position: absolute;
  top: 160px; /* hauteur fixe de .product-img-wrap */
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 11px;
  font-weight: 600;
  color: var(--accent);
  background: rgb(133,139,133);
  opacity: 0;
  transition: opacity 0.2s ease;
  letter-spacing: 0.3px;
  padding: 0 12px;
  z-index: 2;
}
.product-card:hover .card-hover-hint {
  opacity: 1;
}

/* phrase de connection a cote du prix dans le pop up de commande pour les non connectes */
.price-login-hint {
  font-size: 12px;
  font-weight: 400;
  color: var(--text-dim);
  margin-left: 8px;
}

/* ── VUE CATÉGORIE ── */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
}

/* ── PANNEAU LATÉRAL ── */
.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  backdrop-filter: blur(3px);
  z-index: 800;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.drawer-overlay.visible { opacity: 1; }
.drawer-overlay.hidden { display: none; }

.product-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 820px;
  max-width: 95vw;
  height: 100vh;
  background: #232724;
  border-left: 1.5px solid rgba(255,255,255,0.1);
  z-index: 99999;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
}
.product-drawer.open { transform: translateX(0); }

.drawer-close {
  position: absolute;
  top: 18px;
  right: 22px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  color: rgba(255,255,255,0.6);
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.18s ease;
  z-index: 10;
  line-height: 1;
}
.drawer-close:hover { background: rgba(255,255,255,0.15); color: #fff; }

.drawer-inner {
  display: flex;
  height: 100%;
  min-height: 100vh;
}

/* Colonne image */
.drawer-img-col {
  width: 380px;
  flex-shrink: 0;
  background: #1a1d1a;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 30px;
}

.drawer-img-wrap {
  width: 100%;
  aspect-ratio: 3/4;
  border-radius: 14px;
  overflow: hidden;
  background: rgba(255,255,255,0.05);
  display: flex;
  align-items: center;
  justify-content: center;
}
.drawer-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.drawer-img-wrap .placeholder-img {
  width: 100%;
  height: 100%;
  font-size: 15px;
  color: rgba(255,255,255,0.3);
}

/* Colonne infos */
.drawer-info-col {
  flex: 1;
  padding: 36px 36px 40px;
  display: flex;
  flex-direction: column;
  gap: 0;
  overflow-y: auto;
}

.drawer-design-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--accent);
  margin-bottom: 8px;
}

.drawer-product-title {
  font-family: "Inter", system-ui, sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 10px;
}

.drawer-price {
  font-size: 22px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 28px;
}

.shipping-inline {
  font-size: 14px;
}
.drawer-shipping-footnote {
  font-size: 10px;
  color: var(--text-dim);
  line-height: 1.5;
  margin-top: -18px;
  margin-bottom: 18px;
}

.drawer-section {
  margin-bottom: 24px;
}

.drawer-section-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
   color: rgba(255,255,255,0.75);
  margin-bottom: 10px;
}

.color-note-inline {
  align-self: center;
  font-size: 12px;
  color: var(--text-dim);
}

/* Couleurs */
.color-options {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.color-btn {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 7px 14px;
  border-radius: 8px;
  border: 1.5px solid rgba(255,255,255,0.2);
  background: transparent;
  color: var(--text);
  font-size: 13px;
  font-family: "Inter", sans-serif;
  cursor: pointer;
  transition: all 0.18s ease;
}
.color-btn:hover { border-color: rgba(255,255,255,0.5); background: rgba(255,255,255,0.06); }
.color-btn.active { border-color: var(--accent); background: rgba(220,255,143,0.1); color: var(--accent); font-weight: 600; }

.color-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.3);
  flex-shrink: 0;
}

/* Map couleur → hex */
.color-dot[data-color="Blanc"]          { background: #ffffff; }
.color-dot[data-color="Noir"]          { background: #000000; }
.color-dot[data-color="Mauve"]          { background: #cab3e8; }
.color-dot[data-color="Turquoise"]          { background: #9de3e6; }
.color-dot[data-color="Rouge carmin"]          { background: #bc0000; }
.color-dot[data-color="Argent massif V1"]    { background: #c0c0c0; }
.color-dot[data-color="Argent massif V2"]    { background: #c0c0c0; }
.color-dot[data-color="Plaqué or V1"]      { background: #e8c766; }
.color-dot[data-color="Plaqué or V2"]      { background: #e8c766; }
.color-dot[data-color="Acier inoxydable V1"]  { background: #c0c0c0; }
.color-dot[data-color="Acier inoxydable V2"]  { background: #c0c0c0; }
.color-dot[data-color="Turquoise éléctrique"]          { background: #0df1e4; }
.color-dot[data-color="Jaune doré"]          { background: #f1b90a; }
.color-dot[data-color="Rose laser"]          { background: #f62df0; }
.color-dot[data-color="Rouge et gris"]          { background: #c82423; }
.color-dot[data-color="Noir et blanc"]          { background: #000000; }
.color-dot[data-color="Blanc et gris"]          { background: #ffffff; }
.color-dot[data-color="Jaune et bleu"]          { background: #ffaf1c; }
.color-dot[data-color="Terre cuite"]          { background: #96625f; }
.color-dot[data-color="Bleu ardoise"]          { background: #627B96; }
.color-dot[data-color="Mauve brume"]          { background: #867396; }
.color-dot[data-color="Vert céladon"]          { background: #6e9d98; }
.color-dot[data-color="Gris graphite"]          { background: #7e7e7e; }
.color-dot[data-color="Vert sauge"]          { background: #a0b385; }
.color-dot[data-color="Vert mousse"]          { background: #618560; }
.color-dot[data-color="iPhone 17 - Noir mate/Rose"]          { background: #f62df0; }
.color-dot[data-color="S26 - Noir brillant/Jaune"]          { background: #f1b90a; }
.color-dot[data-color="Pixel 9 - Noir mate/Turquoise"]          { background: #0df1e4; }
.color-dot[data-color="iPhone 17 - Mauve brume"]          { background: #867396; }
.color-dot[data-color="S26 - Blanc"]          { background: #ffffff; }
.color-dot[data-color="Pixel 9 - Vert céladon"]          { background: #6e9d98; }
.color-dot[data-color="iPhone 16 Pro - Bleu ardoise"]          { background: #627B96; }
.color-dot[data-color="Bleu céladon"]          { background: #8eb9bd; }
.color-dot[data-color="Gris clair"]          { background: #B7B7B7; }
.color-dot[data-color="Rouge ancien"]          { background: #B97B7E; }
.color-dot[data-color="Rose poudré"]          { background: #e1c4cf; }
.color-dot[data-color="Ivoire"]          { background: #fff7e9; }
.color-dot[data-color="Beige lin"]          { background: #E8DACD; }
.color-dot[data-color="Blanc chiné"]          { background: #f3f3f3; }
.color-dot[data-color="Vert olive"]          { background: #737A5F; }
.color-dot[data-color="Sable rosé"]          { background: #D6C0AB; }
.color-dot[data-color="Pixel 9 - Gris sauge"]          { background: #BFBBAF; }
.color-dot[data-color="iPhone 17 - Vert brume"]          { background: #D7D9C9; }
.color-dot[data-color="Gris glace"]          { background: #e9dddc; }
.color-dot[data-color="Gris charbon"]          { background: #74716b; }
.color-dot[data-color="Jaune marguerite"]          { background: #ffc946; }
.color-dot[data-color="Bleu indigo chiné"]          { background: #677b90; }
.color-dot[data-color="Bleu ciel"]          { background: #bdd0e9; }
.color-dot[data-color="Beige sable"]          { background: #d8c5a9; }
.color-dot[data-color="Bleu gris"]          { background: #89A2B3; }
.color-dot[data-color="Gris ardoise"]          { background: #888888; }
.color-dot[data-color="Rouge terre"]          { background: #8c605c; }
.color-dot[data-color="Pixel 9 - Bleu gris"]          { background: #89A2B3; }
.color-dot[data-color="iPhone 17 - Gris ardoise"]          { background: #888888; }
.color-dot[data-color="S26 - Rouge terre"]          { background: #8c605c; }
.color-dot[data-color="Rose porcelaine"]          { background: #DECCCC; }
.color-dot[data-color="Rose antique"]          { background: #8F616A; }
.color-dot[data-color="Vert eucalyptus"]          { background: #5C685E; }
.color-dot[data-color="Bleu minéral"]          { background: #76999F; }
.color-dot[data-color="Acier inoxydable (sans revêtement)"]          { background: #B8BCC0; }
.color-dot[data-color="Revêtement PVD or rose 18 carats"]          { background: #ffcfbe; }
.color-dot[data-color="Revêtement PVD or 18 carats"]          { background: #ffdf75; }
.color-dot[data-color="Revêtement PVD arc-en-ciel irisé"]          { background: #8A6BBE; }
.color-dot[data-color="Bleu lagon"]          { background: #B8DFEA; }
.color-dot[data-color="Blanc chiné/turquoise"]          { background: #ffffff; }
.color-dot[data-color="Rose pétale"]          { background: #FFD4D5; }
.color-dot[data-color="Noir/rose"]          { background: #000000; }
.color-dot[data-color="Rose mauve"]          { background: #D4AEC2; }
.color-dot[data-color="Bleu lavande"]          { background: #A7B6CE; }
.color-dot[data-color="Mauve lilas"]          { background: #C6AAD1; }
.color-dot[data-color="Blanc/turquoise"]          { background: #ffffff; }
.color-dot[data-color="Rose"]          { background: #DDA0A7; }
.color-dot[data-color="Vert"]          { background: #185a42; }
.color-dot[data-color="Noir/jaune"]          { background: #000000; }
.color-dot[data-color="Jaune/violet"]          { background: #ffb516; }
.color-dot[data-color="Blanc/bleu"]          { background: #ffffff; }
.color-dot[data-color="S26 - Bleu gris"]          { background: #89A2B3; }
.color-dot[data-color="Pixel 9 - Sable rosé"]          { background: #D6C0AB; }
.color-dot[data-color="iPhone 16 Pro - Blanc/turquoise"]          { background: #ffffff; }
.color-dot[data-color="iPhone 17 - Noir mate/rose"]          { background: #000000; }
.color-dot[data-color="Howlite"]          { background: #E9E7E1; }
.color-dot[data-color="Amazonite"]          { background: #83C7B5; }
.color-dot[data-color="Onyx"]          { background: #202020; }
.color-dot[data-color="Jaspe paysage"]          { background: #A88B6A; }
.color-dot[data-color="Sodalite"]          { background: #3F5685; }
.color-dot[data-color="Quartz rose"]          { background: #E7B8BC; }
.color-dot[data-color="Gris chiné"]          { background: #888888; }
.color-dot[data-color="Blanc vintage"]          { background: #fdfcf3; }
.color-dot[data-color="Ivoire chiné"]          { background: #fbf2e1; }
.color-dot[data-color="Gris/bleu"]          { background: #959595; }





/* Tailles */
.size-options {
  display: flex;
  gap: 8px;
}

.size-btn {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  border: 1.5px solid rgba(255,255,255,0.2);
  background: transparent;
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  font-family: "Inter", sans-serif;
  cursor: pointer;
  transition: all 0.18s ease;
}
.size-btn:hover { border-color: rgba(255,255,255,0.5); background: rgba(255,255,255,0.06); }
.size-btn.active { border-color: var(--accent); background: rgba(220,255,143,0.1); color: var(--accent); }

.drawer-desc {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.65;
  white-space: pre-line;
}

/* Actions */
.drawer-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: auto;
  padding-top: 0px;
}

.drawer-btn-commander {
  padding: 14px;
  border-radius: 11px;
  border: none;
  background: var(--accent);
  color: #2a2e2a;
  font-size: 15px;
  font-weight: 700;
  font-family: "Inter", sans-serif;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}
.drawer-btn-commander:hover { background: #c8f070; transform: scale(1.02); }

.drawer-btn-custom {
  padding: 13px;
  border-radius: 11px;
  border: 1.5px solid rgba(255,255,255,0.25);
  background: transparent;
  color: var(--text-dim);
  font-size: 14px;
  font-weight: 600;
  font-family: "Inter", sans-serif;
  cursor: pointer;
  transition: all 0.18s ease;
}
.drawer-btn-custom:hover { border-color: rgba(255,255,255,0.5); color: var(--text); background: rgba(255,255,255,0.05); }


.boutique-teaser {
  margin-top: 20px;
  margin-bottom: -7px;
  font-size: 22px;
  font-weight: 610;
  color: rgba(0, 0, 0, 0.40);
  text-align: center;
  font-style: italic;
 }

/* ── MODALES ── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999999;
}
.modal-overlay.hidden { display: none; }

.modal-box {
  background: #2a2e2a;
  border: 1.5px solid rgba(255,255,255,0.15);
  border-radius: 20px;
  padding: 36px 32px 32px;
  width: 620px;
  max-width: 94vw;
  position: relative;
  box-shadow: 0 24px 60px rgba(0,0,0,0.5);
  animation: modalIn 0.28s ease;
}

@keyframes modalIn {
  from { transform: scale(0.93) translateY(10px); opacity: 0; }
  to   { transform: scale(1) translateY(0); opacity: 1; }
}

.modal-close {
  position: absolute;
  top: 14px; right: 18px;
  background: none;
  border: none;
  color: rgba(255,255,255,0.45);
  font-size: 22px;
  cursor: pointer;
  transition: color 0.15s;
}
.modal-close:hover { color: rgba(255,255,255,0.9); }

.modal-title {
  font-family: "Inter", system-ui, sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 7px;
}

.modal-title-2 {
  margin-bottom: 27px;
}

.modal-product-name {
  font-size: 13px;
  color: rgba(255,255,255,0.75);
  font-weight: 600;
  margin-bottom: 22px;
  letter-spacing: 0.3px;
  max-width: calc(100% - 135px);
}

.modal-product-price {
  font-size: 18px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 23px;
}

.modal-design-part {
  font-style: italic;
}

.modal-help-text {
  text-align: center;
  font-size: 12px;
  color: var(--text-dim);
  margin-top: 20px;
}
.modal-help-link {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
}
.modal-help-link:hover {
  text-decoration: underline;
}

.modal-cgv-text {
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  text-align: center;
  margin: 1px 0 -10px;
  line-height: 1.5;
}
.modal-cgv-text a {
  color: #dcff8f;
  text-decoration: none;
}
.modal-cgv-text a:hover {
  text-decoration: underline;
}


.modal-product-thumb {
  position: absolute;
  top: 21px;
  right: 47px;
  width: 112px;
  height: 112px;
  object-fit: cover;
  border-radius: 10px;
  border: 1.5px solid rgba(255,255,255,0.15);
}

.form-group { margin-bottom: 16px; }

.form-row {
  display: flex;
  gap: 14px;
}
.form-row .form-group {
  flex: 1;
  min-width: 0;
}
.form-row-3 .form-group:first-child {
  flex: 0 0 30%;
}

.form-group label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 10px 14px;
  background: rgba(255,255,255,0.07);
  border: 1.4px solid rgba(255,255,255,0.2);
  border-radius: 10px;
  color: #fff;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s;
  resize: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--accent); }

.btn-submit {
  width: 100%;
  padding: 13px;
  margin-top: 8px;
  background: var(--accent);
  color: #2a2e2a;
  border: none;
  border-radius: 11px;
  font-size: 15px;
  font-weight: 700;
  font-family: "Inter", sans-serif;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}
.btn-submit:hover { background: #c8f070; transform: scale(1.02); }

/* ── CONFIRMATION ── */
.modal-confirm { text-align: center; padding: 20px 0 4px; }
.modal-confirm .confirm-icon { font-size: 42px; margin-bottom: 12px; }
.modal-confirm p { font-size: 15px; color: rgba(255,255,255,0.8); line-height: 1.6; }
