/* =========================================
   Douceur et Dentelles — E-commerce Catalog
   Elegant lingerie, mobile-first design
   ========================================= */

/* --- Variables --- */
:root {
  --rose: #c9a0a0;
  --rose-light: #f5e8e8;
  --rose-lighter: #faf4f4;
  --rose-dark: #8b6060;
  --rose-deep: #6b4545;
  --nude: #e8d5c4;
  --nude-light: #f7f0ea;
  --noir: #1c1c1c;
  --noir-light: #333;
  --blanc: #fefefe;
  --gris: #f8f5f3;
  --gris-medium: #e8e4e0;
  --gris-text: #777;
  --gris-dark: #555;
  --gold: #c9a96e;
  --whatsapp: #25D366;
  --shadow-sm: 0 1px 8px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.06);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.1);
  --radius: 12px;
  --radius-sm: 8px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-heading: 'Cormorant Garamond', 'Georgia', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --max-width: 1280px;
}

/* --- Reset --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--noir);
  background: var(--blanc);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

a {
  text-decoration: none;
  color: inherit;
}

/* --- Announcement Bar --- */
.announcement-bar {
  background: var(--noir);
  color: var(--blanc);
  text-align: center;
  padding: 0.5rem 1rem;
  font-size: 0.72rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* --- Header --- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(254,254,254,0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,0,0,0.04);
  padding: 0.8rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: box-shadow var(--transition);
}

.header.scrolled {
  box-shadow: var(--shadow-sm);
}

/* Logo */
.logo {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  text-decoration: none;
}

.logo-main {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--noir);
  letter-spacing: 1px;
}

.logo-amp {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-style: italic;
  color: var(--rose);
}

/* Navigation */
.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
  align-items: center;
}

.nav-links a {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--gris-dark);
  transition: color var(--transition);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--rose-dark);
  transition: width var(--transition);
}

.nav-links a:hover { color: var(--rose-dark); }
.nav-links a:hover::after { width: 100%; }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-wa {
  color: var(--gris-dark);
  transition: color var(--transition);
  display: flex;
  align-items: center;
}

.nav-wa:hover { color: var(--whatsapp); }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  z-index: 110;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--noir);
  transition: all var(--transition);
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(4px, -4px);
}

/* --- Hero --- */
.hero {
  background: linear-gradient(160deg, var(--gris) 0%, var(--rose-lighter) 40%, var(--rose-light) 100%);
  text-align: center;
  padding: 6rem 2rem 5rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,160,160,0.15) 0%, transparent 70%);
  pointer-events: none;
}

.hero-eyebrow {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--rose-dark);
  margin-bottom: 1.2rem;
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 300;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  color: var(--noir);
}

.hero h1 em {
  font-style: italic;
  font-weight: 400;
  color: var(--rose-dark);
}

.hero-sub {
  color: var(--gris-text);
  font-size: 1rem;
  max-width: 460px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 2.2rem;
  font-size: 0.78rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 2px;
  border-radius: 50px;
  transition: all var(--transition);
  border: 1.5px solid transparent;
  cursor: pointer;
  text-decoration: none;
  line-height: 1;
}

.btn-primary {
  background: var(--noir);
  color: var(--blanc);
  border-color: var(--noir);
}

.btn-primary:hover {
  background: var(--rose-dark);
  border-color: var(--rose-dark);
}

.btn-outline {
  background: transparent;
  border-color: var(--noir);
  color: var(--noir);
}

.btn-outline:hover {
  background: var(--noir);
  color: var(--blanc);
}

.btn-whatsapp {
  background: var(--whatsapp);
  color: white;
  border-color: var(--whatsapp);
  font-weight: 600;
}

.btn-whatsapp:hover {
  background: #1fa855;
  border-color: #1fa855;
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(37,211,102,0.3);
}

.btn-whatsapp svg {
  flex-shrink: 0;
}

/* --- Trust Bar --- */
.trust-bar {
  display: flex;
  justify-content: center;
  gap: 3rem;
  padding: 1.8rem 2rem;
  background: var(--blanc);
  border-bottom: 1px solid rgba(0,0,0,0.04);
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--gris-dark);
  font-size: 0.78rem;
  letter-spacing: 0.5px;
}

.trust-item svg {
  color: var(--rose);
  flex-shrink: 0;
}

/* --- Category Cards --- */
.categories-showcase {
  padding: 4rem 2rem 2rem;
  max-width: var(--max-width);
  margin: 0 auto;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 400;
  text-align: center;
  margin-bottom: 2.5rem;
  color: var(--noir);
}

.category-cards {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  padding: 0 0.5rem;
}

.category-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1.2rem 1.5rem;
  border: 1px solid var(--gris-medium);
  border-radius: var(--radius);
  background: var(--blanc);
  transition: all var(--transition);
  min-width: 120px;
  cursor: pointer;
}

.category-card:hover {
  border-color: var(--rose);
  box-shadow: var(--shadow-sm);
}

.category-card.active {
  background: var(--noir);
  border-color: var(--noir);
  color: var(--blanc);
}

.category-card.active .category-icon svg {
  stroke: var(--blanc);
}

.category-card.active small {
  color: rgba(255,255,255,0.6);
}

.category-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.category-icon svg {
  stroke: var(--rose-dark);
  transition: stroke var(--transition);
}

.category-card span {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.5px;
}

.category-card small {
  font-size: 0.68rem;
  color: var(--gris-text);
  transition: color var(--transition);
}

/* --- Products Toolbar --- */
.products-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1.5rem 2rem 0.5rem;
}

.product-count {
  font-size: 0.82rem;
  color: var(--gris-text);
}

.sort-group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.sort-group label {
  font-size: 0.78rem;
  color: var(--gris-text);
}

.sort-group select {
  font-family: var(--font-body);
  font-size: 0.78rem;
  padding: 0.4rem 0.8rem;
  border: 1px solid var(--gris-medium);
  border-radius: var(--radius-sm);
  background: var(--blanc);
  color: var(--noir);
  cursor: pointer;
  outline: none;
}

.sort-group select:focus {
  border-color: var(--rose);
}

/* --- Product Grid --- */
.products-section {
  padding: 1.5rem 2rem 4rem;
  max-width: var(--max-width);
  margin: 0 auto;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.product-card {
  background: var(--blanc);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all var(--transition);
  cursor: pointer;
  border: 1px solid rgba(0,0,0,0.04);
  position: relative;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.product-card:hover .product-img-wrapper::after {
  opacity: 1;
}

.product-card:hover .product-voir {
  opacity: 1;
  transform: translateY(0);
}

/* Product Image */
.product-img-wrapper {
  position: relative;
  overflow: hidden;
  background: var(--gris);
  aspect-ratio: 1 / 1;
}

.product-img-wrapper::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.2) 0%, transparent 50%);
  opacity: 0;
  transition: opacity var(--transition);
  pointer-events: none;
}

.product-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-card:hover .product-img {
  transform: scale(1.03);
}

.product-voir {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: var(--blanc);
  color: var(--noir);
  padding: 0.55rem 1.8rem;
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  opacity: 0;
  transition: all var(--transition);
  z-index: 2;
  white-space: nowrap;
  box-shadow: 0 2px 10px rgba(0,0,0,0.15);
}

/* Product Tags */
.product-tag {
  position: absolute;
  top: 0.8rem;
  left: 0.8rem;
  z-index: 2;
  display: flex;
  gap: 0.3rem;
  flex-wrap: wrap;
}

.tag {
  font-size: 0.6rem;
  padding: 0.25rem 0.6rem;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(4px);
  border-radius: 50px;
  color: var(--noir-light);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  font-weight: 500;
}

/* Product Info */
.product-info {
  padding: 1rem 1rem 1.2rem;
}

.product-brand {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--rose-dark);
  margin-bottom: 0.25rem;
}

.product-name {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  line-height: 1.3;
  color: var(--noir);
}

.product-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.product-price {
  font-size: 1rem;
  font-weight: 600;
  color: var(--noir);
}

.product-colors {
  display: flex;
  gap: 0.3rem;
  align-items: center;
}

.color-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 1px solid rgba(0,0,0,0.1);
  transition: transform var(--transition);
}

.color-dot:hover {
  transform: scale(1.3);
}

.color-dot-more {
  font-size: 0.65rem;
  color: var(--gris-text);
  margin-left: 2px;
}

/* No Results */
.no-results {
  text-align: center;
  padding: 4rem 2rem;
  color: var(--gris-text);
  font-size: 0.95rem;
}

/* --- About Section --- */
.about-section {
  background: var(--gris);
  padding: 5rem 2rem;
}

.about-content {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-eyebrow {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--rose-dark);
  margin-bottom: 0.8rem;
}

.about-text h2 {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 400;
  margin-bottom: 1.5rem;
  color: var(--noir);
}

.about-text p {
  color: var(--gris-dark);
  font-size: 0.92rem;
  line-height: 1.8;
  margin-bottom: 1rem;
}

.about-address {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--gris-medium);
  font-size: 0.85rem;
  color: var(--noir-light);
}

.about-address svg {
  color: var(--rose);
  flex-shrink: 0;
}

.about-visual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

.about-stat-card {
  background: var(--blanc);
  border-radius: var(--radius);
  padding: 1.8rem 1.2rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0,0,0,0.03);
}

.stat-number {
  display: block;
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 500;
  color: var(--rose-dark);
  margin-bottom: 0.3rem;
}

.stat-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gris-text);
}

/* --- WhatsApp Banner --- */
.whatsapp-banner {
  background: linear-gradient(135deg, var(--noir) 0%, #2a2a2a 100%);
  padding: 4rem 2rem;
  text-align: center;
}

.wa-banner-content {
  max-width: 600px;
  margin: 0 auto;
}

.whatsapp-banner h2 {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 400;
  color: var(--blanc);
  margin-bottom: 0.8rem;
}

.whatsapp-banner p {
  color: rgba(255,255,255,0.6);
  font-size: 0.92rem;
  margin-bottom: 2rem;
  line-height: 1.7;
}

/* --- Footer --- */
.footer {
  background: var(--gris);
  border-top: 1px solid var(--gris-medium);
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 4rem 2rem 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-logo {
  display: flex;
  align-items: baseline;
  gap: 0.3rem;
  margin-bottom: 0.8rem;
}

.footer-logo .logo-main {
  font-size: 1.2rem;
}

.footer-tagline {
  font-size: 0.85rem;
  color: var(--gris-text);
  line-height: 1.7;
}

.footer-col h4 {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 1.2rem;
  color: var(--noir);
  font-weight: 600;
}

.footer-col p,
.footer-col a {
  display: block;
  font-size: 0.85rem;
  color: var(--gris-text);
  line-height: 2;
  transition: color var(--transition);
}

.footer-col a:hover {
  color: var(--rose-dark);
}

.footer-bottom {
  border-top: 1px solid var(--gris-medium);
  padding-top: 1.5rem;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.72rem;
  color: var(--gris-text);
  letter-spacing: 0.5px;
}

/* --- WhatsApp Float --- */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 56px;
  height: 56px;
  background: var(--whatsapp);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.35);
  z-index: 998;
  transition: all var(--transition);
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 25px rgba(37,211,102,0.45);
}

/* --- Chatbot Float --- */
.chatbot-float {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  width: 50px;
  height: 50px;
  background: var(--rose-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(139,96,96,0.3);
  z-index: 998;
  transition: all var(--transition);
  border: none;
  cursor: pointer;
}

.chatbot-float:hover {
  transform: scale(1.1);
  background: var(--rose-deep);
}

/* --- Modal --- */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.modal-overlay.active {
  display: flex;
}

.modal {
  background: var(--blanc);
  border-radius: var(--radius);
  max-width: 960px;
  width: 100%;
  max-height: 92vh;
  overflow-y: auto;
  padding: 2rem;
  position: relative;
  animation: modalIn 0.3s ease;
}

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

.modal-close {
  position: absolute;
  top: 0.8rem;
  right: 0.8rem;
  background: var(--blanc);
  border: none;
  font-size: 1.6rem;
  cursor: pointer;
  color: var(--gris-text);
  line-height: 1;
  transition: all var(--transition);
  z-index: 5;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.modal-close:hover {
  color: var(--noir);
  background: var(--gris);
}

.modal-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

/* ---- Modal Gallery ---- */
.modal-gallery {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  position: sticky;
  top: 0;
}

.modal-main-img-wrap {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius);
  background: linear-gradient(145deg, var(--gris) 0%, var(--rose-lighter) 100%);
  overflow: hidden;
  position: relative;
}

.modal-main-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.modal-main-img-wrap.img-loaded img {
  opacity: 1;
}

.modal-main-img-wrap.img-loaded .placeholder-fallback {
  display: none;
}

.modal-main-img-wrap.img-error .placeholder-fallback,
.modal-main-img-wrap:not(.img-loaded):not(.img-error) .placeholder-fallback {
  display: flex;
}

.placeholder-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: var(--rose);
}

.placeholder-fallback svg {
  opacity: 0.35;
}

.placeholder-fallback span {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--rose-dark);
  opacity: 0.5;
}

/* Thumbnails row */
.modal-thumbs {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding-bottom: 2px;
}

.modal-thumbs::-webkit-scrollbar {
  height: 3px;
}

.modal-thumbs::-webkit-scrollbar-thumb {
  background: var(--rose);
  border-radius: 10px;
}

.modal-thumb {
  width: 64px;
  height: 80px;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  opacity: 0.5;
  transition: all var(--transition);
  flex-shrink: 0;
  overflow: hidden;
  background: var(--gris);
}

.modal-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-thumb:hover {
  opacity: 0.8;
}

.modal-thumb.active {
  opacity: 1;
  border-color: var(--rose-dark);
}

/* ---- Modal Info (right side) ---- */
.modal-info {
  display: flex;
  flex-direction: column;
  gap: 0;
  min-height: 100%;
}

.modal-info-top {
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--gris-medium);
  margin-bottom: 1.2rem;
}

.modal-brand {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--rose-dark);
  margin-bottom: 0.3rem;
}

.modal-name {
  font-family: var(--font-heading);
  font-size: 1.7rem;
  font-weight: 400;
  margin-bottom: 0.5rem;
  line-height: 1.2;
}

.modal-tags {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
  margin-bottom: 0.6rem;
}

.modal-tag {
  font-size: 0.6rem;
  padding: 0.2rem 0.6rem;
  background: var(--rose-lighter);
  border-radius: 50px;
  color: var(--rose-dark);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  font-weight: 500;
}

.modal-price {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--noir);
  margin-bottom: 0.6rem;
}

.modal-desc {
  color: var(--gris-dark);
  font-size: 0.88rem;
  line-height: 1.7;
}

/* ---- Selectors (Color, Size, Qty) ---- */
.modal-selectors {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  margin-bottom: 1.2rem;
}

.modal-selector-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.modal-selector-label {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}

.selector-title {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--noir);
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.selector-value {
  font-size: 0.8rem;
  color: var(--gris-dark);
  font-weight: 400;
}

.selector-hint {
  font-size: 0.75rem;
  color: var(--rose-dark);
  font-style: italic;
}

/* Color picker dots */
.modal-color-picker {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  align-items: center;
}

.modal-color-dot {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid rgba(0,0,0,0.08);
  cursor: pointer;
  position: relative;
  transition: all var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: none;
}

.modal-color-dot.light-color {
  border-color: var(--gris-medium);
}

.modal-color-dot:hover {
  transform: scale(1.12);
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}

.modal-color-dot.active {
  border-color: var(--noir);
  box-shadow: 0 0 0 2px var(--blanc), 0 0 0 4px var(--noir);
}

.modal-color-dot.light-color.active {
  border-color: var(--noir);
}

.color-check {
  display: none;
  color: white;
}

.modal-color-dot.light-color .color-check {
  color: var(--noir);
}

.modal-color-dot.active .color-check {
  display: flex;
}

/* Size picker buttons */
.modal-size-picker {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.modal-size-btn {
  padding: 0.5rem 1rem;
  border: 1.5px solid var(--gris-medium);
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  font-family: var(--font-body);
  font-weight: 500;
  color: var(--noir);
  background: var(--blanc);
  cursor: pointer;
  transition: all var(--transition);
  letter-spacing: 0.3px;
  min-width: 48px;
  text-align: center;
}

.modal-size-btn:hover {
  border-color: var(--rose);
  background: var(--rose-lighter);
}

.modal-size-btn.active {
  background: var(--noir);
  border-color: var(--noir);
  color: var(--blanc);
}

/* Quantity picker */
.modal-quantity {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1.5px solid var(--gris-medium);
  border-radius: var(--radius-sm);
  overflow: hidden;
  width: fit-content;
}

.qty-btn {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--blanc);
  border: none;
  cursor: pointer;
  color: var(--noir);
  transition: all var(--transition);
  padding: 0;
}

.qty-btn:hover {
  background: var(--gris);
}

.qty-btn:active {
  background: var(--gris-medium);
}

.qty-value {
  width: 48px;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--noir);
  border-left: 1px solid var(--gris-medium);
  border-right: 1px solid var(--gris-medium);
  line-height: 40px;
  user-select: none;
}

/* ---- Modal Meta (material, ref) ---- */
.modal-meta {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: 0.8rem 0;
  border-top: 1px solid var(--gris-medium);
  margin-bottom: 1rem;
}

.modal-meta-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  color: var(--gris-dark);
}

.modal-meta-row svg {
  color: var(--rose);
  flex-shrink: 0;
}

/* ---- Modal Actions (WhatsApp CTA) ---- */
.modal-actions {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-top: auto;
}

.modal-card-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 1rem 1.5rem;
  background: linear-gradient(135deg, #c2185b, #d81b60);
  color: white;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all var(--transition);
  border: none;
  cursor: pointer;
  line-height: 1;
  width: 100%;
}
.modal-card-btn:hover {
  background: linear-gradient(135deg, #ad1457, #c2185b);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(194,24,91,0.35);
}
.modal-card-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.modal-card-btn svg {
  flex-shrink: 0;
}

.modal-wa-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 1rem 1.5rem;
  background: var(--whatsapp);
  color: white;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all var(--transition);
  border: none;
  text-decoration: none;
  line-height: 1;
}

.modal-wa-btn:hover {
  background: #1fa855;
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(37,211,102,0.35);
}

.modal-wa-btn svg {
  flex-shrink: 0;
}

.modal-wa-question {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem;
  background: transparent;
  color: var(--gris-dark);
  border: 1px solid var(--gris-medium);
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  letter-spacing: 0.5px;
  transition: all var(--transition);
  text-decoration: none;
}

.modal-wa-question:hover {
  border-color: var(--whatsapp);
  color: var(--whatsapp);
}

.modal-wa-question svg {
  flex-shrink: 0;
}

/* --- Mobile Nav Overlay --- */
.mobile-nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.3);
  z-index: 99;
}

.mobile-nav-overlay.active {
  display: block;
}

/* --- Placeholder Images --- */
.placeholder-img {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, var(--gris) 0%, var(--rose-lighter) 100%);
  color: var(--rose);
  gap: 0.5rem;
}

.placeholder-img svg {
  opacity: 0.4;
}

.placeholder-img span {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--rose-dark);
  opacity: 0.5;
}

/* =========================================
   RESPONSIVE
   ========================================= */

/* Tablet */
@media (max-width: 1024px) {
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.2rem;
  }

  .about-content {
    gap: 3rem;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

/* Mobile Large */
@media (max-width: 768px) {
  /* Header */
  .header {
    padding: 0.8rem 1rem;
  }

  .hamburger {
    display: flex;
  }

  .nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 280px;
    height: 100vh;
    background: var(--blanc);
    z-index: 105;
    padding: 5rem 2rem 2rem;
    box-shadow: var(--shadow-lg);
    transform: translateX(-100%);
    transition: transform var(--transition);
  }

  .nav.active {
    display: block;
    transform: translateX(0);
  }

  .nav-links {
    flex-direction: column;
    gap: 0;
    align-items: flex-start;
  }

  .nav-links li {
    width: 100%;
    border-bottom: 1px solid var(--gris-medium);
  }

  .nav-links a {
    display: block;
    padding: 1rem 0;
    font-size: 0.9rem;
  }

  /* Hero */
  .hero {
    padding: 4rem 1.5rem 3.5rem;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .hero-sub {
    font-size: 0.9rem;
  }

  /* Trust */
  .trust-bar {
    gap: 1.5rem;
    padding: 1.2rem 1rem;
  }

  .trust-item span {
    font-size: 0.7rem;
  }

  /* Categories */
  .categories-showcase {
    padding: 3rem 1rem 1.5rem;
  }

  .section-title {
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
  }

  .category-cards {
    gap: 0.6rem;
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 0.5rem;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
  }

  .category-card {
    min-width: 100px;
    padding: 0.8rem 1rem;
    scroll-snap-align: start;
    flex-shrink: 0;
  }

  .category-icon svg {
    width: 24px;
    height: 24px;
  }

  .category-card span {
    font-size: 0.7rem;
  }

  /* Products */
  .products-toolbar {
    padding: 1rem 1rem 0.3rem;
  }

  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8rem;
  }

  .products-section {
    padding: 1rem 1rem 3rem;
  }

  .product-info {
    padding: 0.7rem 0.7rem 0.9rem;
  }

  .product-brand {
    font-size: 0.58rem;
  }

  .product-name {
    font-size: 0.88rem;
    margin-bottom: 0.3rem;
  }

  .product-price {
    font-size: 0.9rem;
  }

  .product-voir {
    display: none;
  }

  .product-tag {
    top: 0.5rem;
    left: 0.5rem;
  }

  .tag {
    font-size: 0.55rem;
    padding: 0.2rem 0.45rem;
  }

  .color-dot {
    width: 10px;
    height: 10px;
  }

  /* About */
  .about-section {
    padding: 3rem 1.5rem;
  }

  .about-content {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .about-text h2 {
    font-size: 1.8rem;
  }

  /* WhatsApp Banner */
  .whatsapp-banner {
    padding: 3rem 1.5rem;
  }

  .whatsapp-banner h2 {
    font-size: 1.6rem;
  }

  /* Modal */
  .modal {
    padding: 1.2rem;
    max-height: 95vh;
    border-radius: var(--radius) var(--radius) 0 0;
    margin-top: auto;
  }

  .modal-close {
    top: 0.5rem;
    right: 0.5rem;
    width: 32px;
    height: 32px;
    font-size: 1.4rem;
  }

  .modal-body {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }

  .modal-gallery {
    position: static;
  }

  .modal-main-img-wrap {
    aspect-ratio: 4 / 5;
    border-radius: var(--radius-sm);
  }

  .modal-thumb {
    width: 52px;
    height: 66px;
  }

  .modal-name {
    font-size: 1.3rem;
  }

  .modal-price {
    font-size: 1.25rem;
  }

  .modal-desc {
    font-size: 0.82rem;
  }

  .modal-color-dot {
    width: 28px;
    height: 28px;
  }

  .modal-size-btn {
    padding: 0.45rem 0.8rem;
    font-size: 0.75rem;
    min-width: 42px;
  }

  .modal-wa-btn {
    padding: 0.85rem 1rem;
    font-size: 0.8rem;
  }

  .modal-info-top {
    margin-bottom: 1rem;
    padding-bottom: 0.8rem;
  }

  .modal-selectors {
    gap: 1rem;
    margin-bottom: 1rem;
  }

  .modal-meta {
    padding: 0.6rem 0;
    margin-bottom: 0.8rem;
  }

  /* Footer */
  .footer-inner {
    padding: 3rem 1.5rem 1.5rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .footer-logo {
    justify-content: center;
  }

  /* Floats */
  .whatsapp-float {
    bottom: 1.5rem;
    right: 1.5rem;
    width: 52px;
    height: 52px;
  }

  .chatbot-float {
    bottom: 1.5rem;
    left: 1.5rem;
    width: 44px;
    height: 44px;
  }
}

/* Mobile Small */
@media (max-width: 480px) {
  .announcement-bar p {
    font-size: 0.62rem;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .trust-bar {
    gap: 1rem;
  }

  .trust-item {
    font-size: 0.65rem;
    gap: 0.4rem;
  }

  .trust-item svg {
    width: 18px;
    height: 18px;
  }

  .product-grid {
    gap: 0.6rem;
  }

  .product-info {
    padding: 0.6rem;
  }

  .product-name {
    font-size: 0.8rem;
  }

  .product-price {
    font-size: 0.85rem;
  }

  .modal {
    padding: 1rem;
  }

  .modal-name {
    font-size: 1.1rem;
  }

  .modal-price {
    font-size: 1.15rem;
  }

  .modal-color-dot {
    width: 26px;
    height: 26px;
  }

  .modal-size-btn {
    padding: 0.4rem 0.7rem;
    font-size: 0.72rem;
    min-width: 38px;
  }

  .qty-btn {
    width: 36px;
    height: 36px;
  }

  .qty-value {
    width: 40px;
    line-height: 36px;
    font-size: 0.85rem;
  }

  .modal-wa-btn {
    padding: 0.75rem 0.8rem;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
  }
}

/* Scrollbar styling for category overflow */
.category-cards::-webkit-scrollbar {
  height: 3px;
}

.category-cards::-webkit-scrollbar-track {
  background: transparent;
}

.category-cards::-webkit-scrollbar-thumb {
  background: var(--rose);
  border-radius: 10px;
}

/* Modal scrollbar */
.modal::-webkit-scrollbar {
  width: 4px;
}

.modal::-webkit-scrollbar-track {
  background: transparent;
}

.modal::-webkit-scrollbar-thumb {
  background: var(--gris-medium);
  border-radius: 10px;
}

.modal::-webkit-scrollbar-thumb:hover {
  background: var(--rose);
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}

/* Focus visible for keyboard navigation */
:focus-visible {
  outline: 2px solid var(--rose);
  outline-offset: 2px;
}

/* --- Guide des Tailles --- */
.size-guide-section {
  padding: 4rem 2rem;
  background: var(--gris);
}
.size-guide-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}
.section-title {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 500;
  text-align: center;
  margin-bottom: 0.5rem;
  color: var(--noir);
}
.section-subtitle {
  text-align: center;
  color: var(--gris-text);
  font-size: 0.9rem;
  margin-bottom: 2rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}
.size-guide-intro {
  text-align: center;
  color: var(--gris-text);
  font-size: 0.9rem;
  margin-bottom: 2rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}
.size-guide-tip {
  text-align: center;
  color: var(--gris-dark);
  font-size: 0.85rem;
  margin-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}
.size-guide-tip a {
  color: var(--whatsapp);
  font-weight: 600;
  text-decoration: underline;
}
.size-tabs {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}
.size-tab {
  padding: 0.6rem 1.4rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--gris-medium);
  background: var(--blanc);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--gris-dark);
  cursor: pointer;
  transition: var(--transition);
}
.size-tab.active {
  background: var(--rose);
  color: var(--blanc);
  border-color: var(--rose);
}
.size-tab:hover:not(.active) {
  border-color: var(--rose);
  color: var(--rose-dark);
}
.size-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.size-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--blanc);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.size-table th {
  background: var(--rose-light);
  color: var(--rose-deep);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 0.8rem 1rem;
  text-align: center;
}
.size-table td {
  padding: 0.7rem 1rem;
  text-align: center;
  font-size: 0.88rem;
  border-bottom: 1px solid var(--gris-medium);
  color: var(--noir-light);
}
.size-table tr:last-child td {
  border-bottom: none;
}
.size-table tr:hover td {
  background: var(--rose-lighter);
}
.size-tip {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
  font-size: 0.82rem;
  color: var(--gris-dark);
  justify-content: center;
}

/* --- Reassurance Section --- */
.reassurance-section {
  padding: 4rem 2rem;
  background: var(--blanc);
}
.reassurance-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}
.reassurance-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}
.reassurance-card {
  text-align: center;
  padding: 2rem 1.2rem;
  background: var(--gris);
  border-radius: var(--radius);
  transition: var(--transition);
}
.reassurance-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.reassurance-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--rose-light);
  color: var(--rose-dark);
  margin-bottom: 1rem;
}
.reassurance-card h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: var(--noir);
}
.reassurance-card p {
  font-size: 0.82rem;
  color: var(--gris-text);
  line-height: 1.6;
}

/* --- Boutique Section --- */
.boutique-section {
  padding: 4rem 2rem;
  background: var(--rose-lighter);
}
.boutique-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.boutique-eyebrow {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--rose);
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.boutique-text h2 {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 500;
  margin-bottom: 1rem;
  color: var(--noir);
}
.boutique-text > p {
  color: var(--gris-dark);
  font-size: 0.92rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}
.boutique-details {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}
.boutique-detail {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.88rem;
  color: var(--noir-light);
}
.boutique-detail svg {
  color: var(--rose);
  flex-shrink: 0;
}
.boutique-map iframe {
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}

/* --- Responsive additions --- */
@media (max-width: 768px) {
  .reassurance-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  .boutique-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .boutique-map iframe {
    height: 240px;
  }
  .size-tabs {
    flex-direction: column;
    align-items: center;
  }
  .size-tab {
    width: 100%;
    max-width: 280px;
    text-align: center;
  }
}
@media (max-width: 480px) {
  .reassurance-grid {
    grid-template-columns: 1fr;
  }
  .section-title {
    font-size: 1.6rem;
  }
}

/* --- Cross-Selling in Modal --- */
.modal-cross-sell {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--beige-border, #e8e0d8);
}
.cross-sell-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--noir);
  margin-bottom: 1rem;
}
.cross-sell-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}
.cross-sell-card {
  cursor: pointer;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--beige-border, #e8e0d8);
  transition: transform 0.2s, box-shadow 0.2s;
  background: #fff;
}
.cross-sell-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}
.cross-sell-img {
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--beige-lighter, #f8f5f2);
  display: flex;
  align-items: center;
  justify-content: center;
}
.cross-sell-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cross-sell-info {
  padding: 0.5rem 0.6rem;
}
.cross-sell-name {
  display: block;
  font-size: 0.75rem;
  color: var(--noir-light, #555);
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cross-sell-price {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--rose, #c9a0a0);
  margin-top: 0.2rem;
}
@media (max-width: 480px) {
  .cross-sell-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
  }
}

/* === CHATBOT SOPHIE === */
.chatbot-toggle {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #c2185b, #d81b60);
  color: #fff;
  border: none;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(194, 24, 91, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9998;
  transition: all 0.2s ease;
}
.chatbot-toggle:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 32px rgba(194, 24, 91, 0.5);
}
.chatbot-panel {
  position: fixed;
  bottom: 100px;
  right: 24px;
  width: 380px;
  max-width: calc(100vw - 32px);
  height: 560px;
  max-height: calc(100vh - 140px);
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.18);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  z-index: 9999;
  transform: translateY(20px) scale(0.95);
  opacity: 0;
  pointer-events: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  font-family: system-ui, -apple-system, sans-serif;
}
.chatbot-panel.open {
  transform: translateY(0) scale(1);
  opacity: 1;
  pointer-events: auto;
}
.chatbot-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: linear-gradient(135deg, #c2185b, #d81b60);
  color: #fff;
}
.chatbot-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.chatbot-title {
  flex: 1;
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}
.chatbot-title strong {
  font-size: 1rem;
}
.chatbot-title span {
  font-size: 0.75rem;
  opacity: 0.85;
}
.chatbot-close {
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  font-size: 1.2rem;
  padding: 4px 10px;
  border-radius: 6px;
  transition: background 0.15s;
}
.chatbot-close:hover {
  background: rgba(255, 255, 255, 0.15);
}
.chatbot-body {
  flex: 1;
  overflow-y: auto;
  padding: 18px;
  background: #fdfafa;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.chatbot-msg {
  max-width: 85%;
  padding: 12px 16px;
  border-radius: 14px;
  line-height: 1.45;
  font-size: 0.92rem;
  word-wrap: break-word;
  animation: chatbotIn 0.25s ease;
}
@keyframes chatbotIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.chatbot-msg.bot {
  align-self: flex-start;
  background: #fff;
  color: #3a3a3a;
  border: 1px solid #f4e1ea;
  border-bottom-left-radius: 4px;
}
.chatbot-msg.user {
  align-self: flex-end;
  background: linear-gradient(135deg, #c2185b, #d81b60);
  color: #fff;
  border-bottom-right-radius: 4px;
}
.chatbot-msg p {
  margin: 0 0 6px;
}
.chatbot-msg p:last-child {
  margin-bottom: 0;
}
.chatbot-msg.typing {
  display: flex;
  gap: 4px;
  padding: 14px 18px;
}
.chatbot-msg.typing .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #c2185b;
  animation: chatbotDot 1.2s infinite;
}
.chatbot-msg.typing .dot:nth-child(2) { animation-delay: 0.15s; }
.chatbot-msg.typing .dot:nth-child(3) { animation-delay: 0.3s; }
@keyframes chatbotDot {
  0%, 60%, 100% { opacity: 0.3; transform: scale(0.85); }
  30% { opacity: 1; transform: scale(1); }
}
.chatbot-suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}
.suggest-btn {
  background: #fff;
  border: 1px solid #f4e1ea;
  color: #c2185b;
  padding: 8px 14px;
  border-radius: 16px;
  font-size: 0.8rem;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.15s;
}
.suggest-btn:hover {
  background: #fdf2f8;
  border-color: #c2185b;
}
.chatbot-input-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 16px;
  border-top: 1px solid #f4e1ea;
  background: #fff;
}
.chatbot-input-row input {
  flex: 1;
  border: 1px solid #f4e1ea;
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 0.92rem;
  color: #3a3a3a;
  outline: none;
  transition: border-color 0.15s;
  font-family: inherit;
}
.chatbot-input-row input:focus {
  border-color: #c2185b;
}
.chatbot-input-row button {
  background: #c2185b;
  color: #fff;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.15s;
}
.chatbot-input-row button:hover {
  background: #ad1457;
}
.chatbot-footer-note {
  font-size: 0.7rem;
  color: #999;
  text-align: center;
  padding: 8px 12px;
  background: #fff;
  border-top: 1px solid #f9eef3;
}
.chatbot-footer-note a {
  color: #c2185b;
  text-decoration: none;
}

/* Remove old WhatsApp styles by overriding them safely */
.whatsapp-banner, .whatsapp-float, .nav-wa, .modal-wa-btn, .modal-wa-question, .btn-whatsapp { display: none !important; }

/* New question button (modal) */
.modal-question-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem;
  background: transparent;
  color: #6b6b6b;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 0.78rem;
  cursor: pointer;
  margin-top: 8px;
  width: 100%;
  font-family: inherit;
  transition: all 0.15s;
}
.modal-question-btn:hover {
  border-color: #c2185b;
  color: #c2185b;
}

/* Inline link button (size guide) */
.link-btn {
  background: none;
  border: none;
  color: #c2185b;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
  font-size: inherit;
  font-family: inherit;
  text-decoration: underline;
}
.link-btn:hover { color: #ad1457; }

.footer-link-btn {
  background: none;
  border: none;
  color: inherit;
  cursor: pointer;
  padding: 0;
  font-size: inherit;
  font-family: inherit;
  text-align: left;
  display: block;
}
.footer-link-btn:hover { color: #c2185b; }

/* Mobile chatbot adjustments */
@media (max-width: 480px) {
  .chatbot-panel {
    bottom: 90px;
    right: 12px;
    left: 12px;
    width: auto;
    max-width: none;
  }
  .chatbot-toggle {
    bottom: 18px;
    right: 18px;
    width: 56px;
    height: 56px;
  }
}


/* === CART DRAWER === */
.cart-toggle {
  position: relative;
  background: none;
  border: none;
  color: #3a3a3a;
  cursor: pointer;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.15s;
}
.cart-toggle:hover { color: #c2185b; }
.cart-badge {
  position: absolute;
  top: 0;
  right: 0;
  background: #c2185b;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 5px;
}

.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
  z-index: 9997;
}
.cart-overlay.open { opacity: 1; pointer-events: auto; }

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 420px;
  max-width: 100vw;
  height: 100vh;
  background: #fff;
  box-shadow: -8px 0 32px rgba(0,0,0,0.12);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 9998;
  font-family: system-ui, -apple-system, sans-serif;
}
.cart-drawer.open { transform: translateX(0); }

.cart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid #f4e1ea;
}
.cart-header h3 {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 600;
  color: #3a3a3a;
}
.cart-close-btn {
  background: none;
  border: none;
  font-size: 1.3rem;
  color: #999;
  cursor: pointer;
  padding: 4px 10px;
  border-radius: 6px;
}
.cart-close-btn:hover { background: #fdf2f8; color: #c2185b; }

.cart-shipping {
  padding: 0 24px;
}
.cart-shipping-bar {
  height: 6px;
  background: #f4e1ea;
  border-radius: 3px;
  overflow: hidden;
  margin: 16px 0 8px;
}
.cart-shipping-bar .bar-inner {
  height: 100%;
  background: linear-gradient(90deg, #c2185b, #d81b60);
  border-radius: 3px;
  transition: width 0.4s ease;
}
.cart-shipping-bar.free .bar-inner {
  background: linear-gradient(90deg, #22c55e, #16a34a);
}
.cart-shipping-msg {
  margin: 0 0 12px;
  font-size: 0.82rem;
  color: #6b6b6b;
  text-align: center;
}
.cart-shipping-msg strong { color: #c2185b; }
.cart-shipping-bar.free + .cart-shipping-msg strong { color: #16a34a; }

.cart-body {
  flex: 1;
  overflow-y: auto;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cart-empty {
  text-align: center;
  padding: 60px 20px;
  color: #999;
}
.cart-empty p { margin-top: 16px; font-size: 0.95rem; }

.cart-item {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid #f9eef3;
  position: relative;
}
.cart-item:last-child { border-bottom: none; }
.cart-item-img {
  width: 80px;
  height: 80px;
  border-radius: 8px;
  overflow: hidden;
  background: #fdfafa;
}
.cart-item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cart-item-imgph {
  width: 100%;
  height: 100%;
  background: #fdf2f8;
}
.cart-item-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.cart-item-name {
  font-weight: 600;
  font-size: 0.92rem;
  color: #3a3a3a;
  line-height: 1.3;
  margin-bottom: 4px;
}
.cart-bundle-badge {
  display: inline-block;
  background: #c2185b;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  margin-left: 6px;
  vertical-align: middle;
}
.cart-item-meta {
  font-size: 0.75rem;
  color: #999;
  margin-bottom: 8px;
}
.cart-item-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
}
.cart-qty {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fdf2f8;
  border-radius: 6px;
  padding: 2px 6px;
}
.cart-qty button {
  background: none;
  border: none;
  color: #c2185b;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  padding: 2px 8px;
  border-radius: 4px;
}
.cart-qty button:hover { background: #fce4ec; }
.cart-qty span {
  min-width: 20px;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 600;
  color: #3a3a3a;
}
.cart-item-price {
  font-weight: 700;
  color: #c2185b;
  font-size: 0.92rem;
}
.cart-item-remove {
  background: none;
  border: none;
  color: #ccc;
  cursor: pointer;
  font-size: 0.9rem;
  padding: 4px 8px;
  border-radius: 4px;
  align-self: flex-start;
}
.cart-item-remove:hover { color: #ef4444; background: #fef2f2; }

.cart-footer {
  padding: 20px 24px;
  border-top: 1px solid #f4e1ea;
  background: #fff;
}
.cart-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  font-size: 1.05rem;
  font-weight: 600;
  color: #3a3a3a;
}
.cart-total-amount {
  color: #c2185b;
  font-size: 1.3rem;
  font-weight: 700;
}
.cart-checkout-btn {
  width: 100%;
  padding: 16px;
  background: linear-gradient(135deg, #c2185b, #d81b60);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.2s;
}
.cart-checkout-btn:hover:not(:disabled) {
  background: linear-gradient(135deg, #ad1457, #c2185b);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(194,24,91,0.35);
}
.cart-checkout-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.cart-secure-note {
  text-align: center;
  font-size: 0.7rem;
  color: #999;
  margin: 10px 0 0;
}

/* Cart toast notification */
.cart-toast {
  position: fixed;
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: #18181b;
  color: #fff;
  padding: 14px 20px;
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(0,0,0,0.25);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  font-weight: 500;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s;
  z-index: 10000;
  max-width: 90vw;
}
.cart-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.cart-toast svg {
  color: #22c55e;
  flex-shrink: 0;
}

@media (max-width: 480px) {
  .cart-drawer { width: 100vw; }
}

/* Add to cart button (modal) */
.modal-add-cart-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 1rem 1.5rem;
  background: #fff;
  color: #c2185b;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all var(--transition);
  border: 2px solid #c2185b;
  cursor: pointer;
  line-height: 1;
  width: 100%;
  margin-top: 8px;
}
.modal-add-cart-btn:hover {
  background: #fdf2f8;
  transform: translateY(-1px);
}


/* === BUNDLE UI === */
.product-original-price {
  display: inline-block;
  font-size: 0.75rem;
  color: #999;
  text-decoration: line-through;
  margin-left: 8px;
  font-weight: 400;
}
.modal-original-price {
  display: inline-block;
  font-size: 0.95rem;
  color: #999;
  text-decoration: line-through;
  margin-left: 12px;
  font-weight: 400;
}
.tag-bundle {
  background: linear-gradient(135deg, #c2185b, #d81b60) !important;
  color: #fff !important;
  font-weight: 700 !important;
  letter-spacing: 1.5px !important;
}


/* === BUNDLE SUGGEST IN MODAL === */
.bundle-suggest {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  margin-top: 16px;
  background: linear-gradient(135deg, #fdf2f8, #fce4ec);
  border: 1px solid #f4b5d0;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s;
}
.bundle-suggest:hover {
  background: linear-gradient(135deg, #fce4ec, #f8bbd0);
  border-color: #c2185b;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(194,24,91,0.2);
}
.bundle-suggest-img {
  width: 64px;
  height: 64px;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  flex-shrink: 0;
}
.bundle-suggest-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.bundle-suggest-info {
  flex: 1;
  min-width: 0;
}
.bundle-suggest-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #c2185b;
  font-weight: 700;
  margin-bottom: 4px;
}
.bundle-suggest-name {
  font-size: 0.92rem;
  font-weight: 600;
  color: #3a3a3a;
  margin-bottom: 4px;
  line-height: 1.3;
}
.bundle-suggest-price {
  font-size: 0.95rem;
  font-weight: 700;
  color: #c2185b;
}
.bundle-suggest-old {
  font-size: 0.78rem;
  font-weight: 400;
  color: #999;
  text-decoration: line-through;
  margin-left: 6px;
}
.bundle-suggest-save {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  color: #fff;
  background: #22c55e;
  padding: 2px 8px;
  border-radius: 10px;
  margin-left: 6px;
  vertical-align: middle;
}
.bundle-suggest-arrow {
  font-size: 1.4rem;
  color: #c2185b;
  font-weight: 700;
  flex-shrink: 0;
}

/* =========================================
   WhatsApp Order Button in Modal
   ========================================= */
.modal-whatsapp-order {
  margin-top: 0.8rem;
}

.modal-wa-order-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 1rem 1.5rem;
  background: var(--whatsapp);
  color: white;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all var(--transition);
  border: none;
  text-decoration: none;
  line-height: 1;
  width: 100%;
  cursor: pointer;
}

.modal-wa-order-btn:hover {
  background: #1fa855;
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(37,211,102,0.35);
  color: white;
}

.modal-wa-order-btn svg {
  flex-shrink: 0;
}

/* =========================================
   Cross-Sell in Modal — "Vous aimerez aussi"
   ========================================= */
.modal-crosssell {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--gris-medium);
}

.modal-crosssell-title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--noir);
  margin-bottom: 1rem;
}

.modal-crosssell-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

.modal-crosssell-item {
  cursor: pointer;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.06);
  transition: all 0.25s ease;
  background: var(--blanc);
}

.modal-crosssell-item:hover {
  border-color: var(--rose);
  box-shadow: 0 4px 16px rgba(201,160,160,0.2);
  transform: translateY(-2px);
}

.modal-crosssell-img {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--gris);
  position: relative;
}

.modal-crosssell-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.modal-crosssell-item:hover .modal-crosssell-img img {
  transform: scale(1.05);
}

.modal-crosssell-img .placeholder-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--gris-text);
  font-size: 0.7rem;
}

.modal-crosssell-img.img-error .placeholder-fallback {
  display: flex;
}

.modal-crosssell-info {
  padding: 0.5rem 0.6rem;
}

.modal-crosssell-name {
  display: block;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--noir);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 0.2rem;
}

.modal-crosssell-price {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--rose-dark);
}

/* =========================================
   Scroll Reveal Animation for Product Cards
   ========================================= */
.reveal-item {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal-item.reveal-visible {
  opacity: 1;
  transform: translateY(0);
}

/* =========================================
   Enhanced Product Card Hover Effects
   ========================================= */
.product-card {
  transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.12);
}

.product-card:hover .product-brand {
  color: var(--rose-dark);
}

.product-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--rose), var(--rose-dark));
  transform: scaleX(0);
  transition: transform 0.35s ease;
  border-radius: 0 0 var(--radius) var(--radius);
}

.product-card:hover::after {
  transform: scaleX(1);
}

/* =========================================
   Mobile Refinements for Cross-Sell
   ========================================= */
@media (max-width: 768px) {
  .modal-crosssell-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
  }

  .modal-crosssell-name {
    font-size: 0.65rem;
  }

  .modal-crosssell-price {
    font-size: 0.68rem;
  }

  .modal-crosssell-info {
    padding: 0.4rem 0.5rem;
  }

  .modal-crosssell-title {
    font-size: 1.1rem;
  }

  .modal-wa-order-btn {
    font-size: 0.8rem;
    padding: 0.85rem 1rem;
  }
}
