/* ============================================
   MHAMDI PARFUMS v8 - Site simplifié Maroc
   ============================================ */

:root {
  --cream: #f8f4ed;
  --cream-soft: #f2ede1;
  --ink: #1a1814;
  --ink-soft: #4a4640;
  --ink-mute: #7a746a;
  --gold: #b8935a;
  --gold-dark: #8a6d3f;
  --gold-light: #d4b06b;
  --line: rgba(184, 147, 90, 0.2);
  --line-strong: rgba(184, 147, 90, 0.4);
  --wa-green: #25d366;
  --wa-green-dark: #128c7e;
}

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

html { scroll-behavior: smooth; }
body {
  font-family: 'Inter Tight', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
}

.container { max-width: 1280px; margin: 0 auto; padding: 0 1.5rem; }

/* === TOP BAR === */
.topbar {
  background: linear-gradient(135deg, #1a1814 0%, #2a2620 100%);
  color: var(--cream);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  padding: 0.55rem 1rem;
  text-align: center;
  border-bottom: 1px solid rgba(184, 147, 90, 0.3);
}
.topbar strong { color: var(--gold-light); }
.topbar a { color: var(--gold-light); text-decoration: none; margin: 0 0.5rem; }

/* === HEADER === */
.header {
  background: var(--cream);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--ink);
}
.logo-mark {
  width: 44px;
  height: 44px;
  border: 2px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px;
  color: var(--gold-dark);
  border-radius: 3px;
}
.logo-text { font-family: 'Cormorant Garamond', serif; font-size: 1.5rem; font-weight: 500; line-height: 1; }
.logo-sub { font-size: 0.65rem; letter-spacing: 0.28em; color: var(--gold-dark); margin-top: 4px; }
.nav-cta {
  background: var(--wa-green);
  color: white;
  padding: 0.7rem 1.4rem;
  border-radius: 4px;
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
}

/* === HERO === */
.hero {
  padding: 4rem 0 3rem;
  text-align: center;
  background: linear-gradient(180deg, var(--cream) 0%, var(--cream-soft) 100%);
}
.eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  color: var(--gold-dark);
  font-weight: 500;
  margin-bottom: 1rem;
}
h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}
h1 em { font-style: italic; color: var(--gold-dark); }
.hero p {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem;
  color: var(--ink-soft);
  max-width: 700px;
  margin: 0 auto 2rem;
  line-height: 1.6;
}
.hero-badges {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2rem;
}
.hero-badge {
  background: rgba(184, 147, 90, 0.1);
  border: 1px solid var(--line-strong);
  padding: 0.7rem 1.25rem;
  border-radius: 999px;
  font-size: 0.85rem;
  color: var(--ink-soft);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.hero-badge strong { color: var(--gold-dark); }

/* === CATALOGUE === */
.catalogue-section {
  padding: 3rem 0 6rem;
}
.section-header { text-align: center; margin-bottom: 2.5rem; }
.section-header h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 300;
}
.section-header h2 em { font-style: italic; color: var(--gold-dark); }
.section-header p { color: var(--ink-mute); margin-top: 0.5rem; }

/* === RECHERCHE === */
.search-bar {
  max-width: 640px;
  margin: 0 auto 1.5rem;
  position: relative;
}
.search-bar input {
  width: 100%;
  padding: 1rem 1.25rem 1rem 3rem;
  font-size: 1rem;
  border: 1.5px solid var(--line-strong);
  border-radius: 999px;
  background: white;
  font-family: inherit;
  color: var(--ink);
  transition: all 0.2s;
}
.search-bar input:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(184, 147, 90, 0.1);
}
.search-icon {
  position: absolute;
  left: 1.1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--ink-mute);
}

/* === FILTRES === */
.filters {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}
.filter-btn {
  background: white;
  border: 1.5px solid var(--line-strong);
  color: var(--ink-soft);
  padding: 0.6rem 1.2rem;
  border-radius: 999px;
  font-family: inherit;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: all 0.15s;
}
.filter-btn:hover { border-color: var(--gold); }
.filter-btn.active {
  background: var(--ink);
  color: var(--cream);
  border-color: var(--ink);
}
.count-badge {
  padding: 0.6rem 1rem;
  background: rgba(184, 147, 90, 0.1);
  border-radius: 999px;
  font-size: 0.75rem;
  color: var(--gold-dark);
  font-weight: 600;
}

/* === LISTE PARFUMS === */
.parfum-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  max-width: 900px;
  margin: 2rem auto 0;
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(26, 24, 20, 0.05);
}

/* === PARFUM ITEM v13 : lisibilité x3 === */
.parfum-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid rgba(184, 147, 90, 0.18);
  transition: background 0.15s;
  cursor: pointer;
}
.parfum-item:last-child { border-bottom: none; }
.parfum-item:hover { background: rgba(184, 147, 90, 0.06); }
.parfum-info { flex: 1; min-width: 0; }

/* Ligne 1 : CODE + BADGE GENRE */
.parfum-top {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.4rem;
  flex-wrap: wrap;
}
.parfum-code {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--gold-dark);
  letter-spacing: 0.04em;
}
.parfum-genre-badge {
  font-family: 'Inter Tight', sans-serif;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  padding: 0.15rem 0.55rem;
  border-radius: 3px;
  text-transform: uppercase;
}
.genre-femme   { background: #f6e2e8; color: #9a3e5c; }
.genre-homme   { background: #e0e8f1; color: #2d4a66; }
.genre-unisex  { background: #dfeee6; color: #276740; }
.genre-oriental{ background: #f4e4ce; color: #815319; }

/* Ligne 2 : NOM DU PARFUM — gros, lisible, contrasté */
.parfum-name {
  font-family: 'Inter Tight', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0.005em;
  line-height: 1.2;
  margin-bottom: 0.3rem;
  text-transform: none;
}

/* Ligne 3 : Inspiré de MARQUE · 50 ml */
.parfum-sub {
  font-family: 'Inter Tight', sans-serif;
  font-size: 0.85rem;
  color: var(--ink-soft);
  line-height: 1.4;
}
.parfum-sub em {
  font-style: italic;
  color: var(--ink-mute);
  font-size: 0.95em;
}
.parfum-sub strong {
  color: var(--gold-dark);
  font-weight: 600;
}

/* Colonne droite : PRIX + BOUTON AJOUTER */
.parfum-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.5rem;
  flex-shrink: 0;
}
.parfum-price {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  color: var(--ink);
  font-weight: 500;
  white-space: nowrap;
  line-height: 1;
}
.parfum-price span {
  font-size: 0.7em;
  color: var(--ink-mute);
  font-weight: 400;
  margin-left: 0.1em;
}
.add-btn {
  background: var(--ink);
  color: var(--cream);
  border: none;
  padding: 0.65rem 1.3rem;
  border-radius: 4px;
  font-family: 'Inter Tight', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  cursor: pointer;
  transition: all 0.15s;
  white-space: nowrap;
  box-shadow: 0 2px 6px rgba(26, 24, 20, 0.15);
}
.add-btn:hover { background: var(--gold-dark); transform: translateY(-1px); }
.add-btn.in-cart { background: var(--wa-green); }

/* === LOAD MORE === */
.load-more-wrap {
  padding: 2rem 0;
}
.load-more-btn {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--ink);
  padding: 1rem 2.5rem;
  font-family: inherit;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  cursor: pointer;
  border-radius: 4px;
  text-transform: uppercase;
  transition: all 0.15s;
}
.load-more-btn:hover { background: var(--ink); color: var(--cream); }

/* === EMPTY === */
.empty-state {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--ink-mute);
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  font-style: italic;
}

/* === PANIER FIXED === */
.cart {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--ink);
  color: var(--cream);
  z-index: 90;
  transform: translateY(100%);
  transition: transform 0.3s ease;
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.15);
}
.cart.visible { transform: translateY(0); }
.cart.expanded { transform: translateY(0); }

/* === CART HEADER v13 : panier plus visible === */
.cart-header {
  padding: 1.1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  max-width: 1280px;
  margin: 0 auto;
  transition: background 0.2s;
}
.cart-header:hover {
  background: rgba(184, 147, 90, 0.08);
}
.cart-header-left { display: flex; align-items: center; gap: 1rem; }
.cart-count-badge {
  background: var(--gold);
  color: var(--ink);
  min-width: 34px;
  height: 34px;
  padding: 0 0.5rem;
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: 0 2px 8px rgba(184, 147, 90, 0.4);
}
.cart-label {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  opacity: 0.75;
  font-weight: 600;
}
.cart-total {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--gold-light);
  line-height: 1.1;
}

/* NOUVEAU v13 : badge "VOIR LE PANIER" + chevron animé */
.cart-header-right {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}
.cart-see-btn {
  font-family: 'Inter Tight', sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  color: var(--gold-light);
  font-weight: 700;
  text-transform: uppercase;
  background: rgba(184, 147, 90, 0.18);
  padding: 0.5rem 0.9rem;
  border-radius: 4px;
  border: 1px solid rgba(184, 147, 90, 0.5);
  white-space: nowrap;
}
.cart.expanded .cart-see-btn { display: none; }

.cart-toggle-icon {
  width: 28px;
  height: 28px;
  transition: transform 0.3s;
  color: var(--gold-light);
  opacity: 0.9;
}
.cart.expanded .cart-toggle-icon { transform: rotate(180deg); }

/* Animation pulse pour attirer l'attention quand fermé */
.cart.visible:not(.expanded) .cart-toggle-icon {
  animation: cartBounce 2s ease-in-out infinite;
}
@keyframes cartBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

.cart-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.cart.expanded .cart-content { max-height: 70vh; }

.cart-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 1rem 1.5rem 1.5rem;
}
.cart-items {
  max-height: 40vh;
  overflow-y: auto;
  margin-bottom: 1rem;
}
.cart-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  gap: 1rem;
}
.cart-item-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem;
  color: var(--cream);
}
.cart-item-code {
  font-size: 0.7rem;
  color: var(--gold-light);
  letter-spacing: 0.08em;
  margin-bottom: 0.15rem;
}
.cart-item-actions { display: flex; align-items: center; gap: 0.5rem; }
.qty-btn {
  background: rgba(184, 147, 90, 0.15);
  color: var(--gold-light);
  border: none;
  width: 28px;
  height: 28px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.qty-value {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.05rem;
  min-width: 20px;
  text-align: center;
}
.cart-remove {
  color: rgba(248, 244, 237, 0.5);
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.3rem;
  padding: 0 0.3rem;
}

.cart-summary {
  padding-top: 1rem;
  border-top: 1px solid rgba(184, 147, 90, 0.3);
}
.summary-row {
  display: flex;
  justify-content: space-between;
  padding: 0.35rem 0;
  font-size: 0.9rem;
  opacity: 0.85;
}
.summary-row.total {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  color: var(--gold-light);
  border-top: 1px solid rgba(184, 147, 90, 0.3);
  margin-top: 0.5rem;
  padding-top: 0.75rem;
  opacity: 1;
}
.summary-row.shipping-free {
  color: var(--wa-green);
  font-weight: 600;
  opacity: 1;
}
.summary-row.shipping-free strong {
  color: var(--wa-green);
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem;
}
.shipping-hint {
  font-size: 0.85rem;
  color: var(--gold-light);
  padding: 0.6rem 0.85rem;
  background: rgba(184, 147, 90, 0.15);
  border: 1px dashed rgba(184, 147, 90, 0.4);
  border-radius: 4px;
  margin: 0.65rem 0;
  text-align: center;
}
.shipping-hint strong { color: white; font-weight: 600; }
.summary-box .shipping-hint {
  color: var(--gold-dark);
  background: rgba(184, 147, 90, 0.1);
  border-color: rgba(184, 147, 90, 0.3);
}
.summary-box .shipping-hint strong { color: var(--ink); }
.summary-box .summary-row.shipping-free { color: var(--wa-green-dark); }
.summary-box .summary-row.shipping-free strong { color: var(--wa-green-dark); }
.checkout-btn {
  display: block;
  width: 100%;
  background: linear-gradient(135deg, var(--wa-green) 0%, var(--wa-green-dark) 100%);
  color: white;
  border: none;
  padding: 1.15rem;
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  cursor: pointer;
  border-radius: 4px;
  text-transform: uppercase;
  margin-top: 1rem;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.25);
  transition: transform 0.15s;
}
.checkout-btn:hover { transform: translateY(-2px); }

/* === MODAL COMMANDE === */
.modal {
  position: fixed;
  inset: 0;
  background: rgba(26, 24, 20, 0.75);
  backdrop-filter: blur(4px);
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.modal.open { display: flex; }
.modal-content {
  background: var(--cream);
  max-width: 500px;
  width: 100%;
  border-radius: 8px;
  padding: 2rem;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
}
.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--ink-mute);
  width: 32px;
  height: 32px;
}
.modal-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem;
  font-weight: 300;
  margin-bottom: 0.5rem;
}
.modal-title em { font-style: italic; color: var(--gold-dark); }
.modal-subtitle { color: var(--ink-mute); font-size: 0.9rem; margin-bottom: 1.5rem; }

.form-group { margin-bottom: 1rem; }
.form-group label {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: var(--ink-mute);
  margin-bottom: 0.4rem;
  font-weight: 500;
}
.form-group input, .form-group textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  font-size: 1rem;
  border: 1.5px solid var(--line-strong);
  border-radius: 4px;
  background: white;
  font-family: inherit;
  color: var(--ink);
  transition: all 0.2s;
}
.form-group textarea { resize: vertical; min-height: 60px; }
.form-group input:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(184, 147, 90, 0.1);
}
.form-hint { font-size: 0.72rem; color: var(--ink-mute); margin-top: 0.25rem; font-style: italic; }

.summary-box {
  background: rgba(26, 24, 20, 0.95);
  color: var(--cream);
  padding: 1rem 1.25rem;
  border-radius: 4px;
  margin: 1rem 0;
}
.summary-box .summary-row { color: var(--cream); }
.summary-box .summary-row.total { color: var(--gold-light); }

/* === FEATURES === */
.features {
  padding: 4rem 0;
  background: var(--cream-soft);
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  max-width: 1000px;
  margin: 2rem auto 0;
}
.feature {
  text-align: center;
  padding: 1rem;
}
.feature-icon { font-size: 2rem; margin-bottom: 1rem; }
.feature h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.35rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}
.feature p { color: var(--ink-soft); font-size: 0.9rem; }

/* === SEO SECTIONS === */
.seo-section {
  padding: 4rem 0;
}
.seo-content {
  max-width: 800px;
  margin: 0 auto;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--ink-soft);
}
.seo-content h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  font-weight: 300;
  color: var(--ink);
  margin: 2rem 0 1rem;
}
.seo-content h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--ink);
  margin: 1.5rem 0 0.75rem;
}
.seo-content p { margin-bottom: 1rem; }
.seo-content ul { margin: 1rem 0 1rem 1.5rem; }
.seo-content li { margin-bottom: 0.5rem; }
.seo-content strong { color: var(--ink); font-weight: 500; }

/* === FOOTER === */
.footer {
  background: var(--ink);
  color: var(--cream);
  padding: 3rem 0 1rem;
  padding-bottom: 8rem; /* Space for fixed cart */
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.footer-col h4 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem;
  color: var(--gold-light);
  margin-bottom: 1rem;
  font-weight: 500;
}
.footer-col a {
  color: rgba(248, 244, 237, 0.7);
  text-decoration: none;
  display: block;
  padding: 0.3rem 0;
  font-size: 0.9rem;
  transition: color 0.15s;
}
.footer-col a:hover { color: var(--gold-light); }
.footer-bottom {
  max-width: 1280px;
  margin: 2rem auto 0;
  padding: 1.5rem 1.5rem 0;
  border-top: 1px solid rgba(184, 147, 90, 0.2);
  text-align: center;
  font-size: 0.8rem;
  color: rgba(248, 244, 237, 0.5);
}

/* === TOAST === */
/* ⚠️ FIX v12 : pointer-events: none pour éviter que le toast bloque les clics
   sur le bouton "COMMANDER SUR WHATSAPP" (bug mobile où seule l'icône était cliquable) */
.toast {
  position: fixed;
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--ink);
  color: var(--cream);
  padding: 0.85rem 1.5rem;
  border-radius: 4px;
  font-size: 0.9rem;
  z-index: 300;
  opacity: 0;
  transition: all 0.3s;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  pointer-events: none;
}
.toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* === MOBILE === */
@media (max-width: 768px) {
  .container { padding: 0 1rem; }
  .hero { padding: 2.5rem 0 2rem; }
  h1 { font-size: 2.2rem; }
  .hero p { font-size: 1.05rem; }
  .hero-badges { gap: 0.75rem; }
  .hero-badge { font-size: 0.75rem; padding: 0.6rem 1rem; }
  
  .parfum-item { padding: 1rem 1rem; gap: 0.75rem; }
  .parfum-code { font-size: 0.9rem; }
  .parfum-genre-badge { font-size: 0.55rem; padding: 0.12rem 0.45rem; }
  .parfum-name { font-size: 1.02rem; }
  .parfum-sub { font-size: 0.78rem; }
  .parfum-price { font-size: 1.2rem; }
  .add-btn { font-size: 0.65rem; padding: 0.55rem 0.9rem; letter-spacing: 0.1em; }

  .filters { gap: 0.35rem; }
  .filter-btn { padding: 0.5rem 0.9rem; font-size: 0.7rem; }

  .cart-header { padding: 0.95rem 1rem; }
  .cart-count-badge { min-width: 30px; height: 30px; font-size: 0.9rem; }
  .cart-total { font-size: 1.2rem; }
  .cart-see-btn { font-size: 0.62rem; padding: 0.4rem 0.65rem; letter-spacing: 0.1em; }
  .cart-header-right { gap: 0.5rem; }
  .cart-toggle-icon { width: 22px; height: 22px; }
  .cart-inner { padding: 0.75rem 1rem 1.25rem; }
  .checkout-btn { padding: 1rem; font-size: 0.82rem; }
  
  .modal-content { padding: 1.5rem; }
  .modal-title { font-size: 1.5rem; }
}

/* === PACKAGING SHOWCASE (v12) === */
.packaging {
  padding: 5rem 0;
  background: linear-gradient(180deg, var(--cream) 0%, var(--cream-soft) 100%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.packaging-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 3.5rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}
.packaging-image {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 20px 48px rgba(26, 24, 20, 0.18), 0 0 0 1px rgba(184, 147, 90, 0.2);
  aspect-ratio: 4 / 3;
}
.packaging-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}
.packaging-image:hover img {
  transform: scale(1.03);
}
.packaging-content .eyebrow {
  margin-bottom: 1rem;
}
.packaging-content h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.015em;
  margin-bottom: 1.25rem;
  color: var(--ink);
}
.packaging-content h2 em {
  font-style: italic;
  color: var(--gold-dark);
}
.packaging-content > p {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  color: var(--ink-soft);
  margin-bottom: 2rem;
  line-height: 1.6;
}
.packaging-features {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.pkg-feature {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-family: 'Inter Tight', sans-serif;
  font-size: 0.92rem;
  color: var(--ink);
  padding: 0.6rem 1rem;
  background: rgba(184, 147, 90, 0.08);
  border-left: 2px solid var(--gold);
  border-radius: 0 4px 4px 0;
}
.pkg-icon {
  font-size: 1.35rem;
  flex-shrink: 0;
}
.pkg-feature strong {
  color: var(--gold-dark);
  font-weight: 600;
}

@media (max-width: 768px) {
  .packaging { padding: 3rem 0; }
  .packaging-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .packaging-image { aspect-ratio: 4 / 3; }
  .packaging-content h2 { font-size: 1.9rem; }
  .packaging-content > p { font-size: 1.05rem; }
}
