/* ============================================================
   Mahbi Botanique — Boutique page dark-luxury theme
   Loaded only on boutique.html
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

/* ── CSS tokens (boutique-specific) ── */
:root {
  --shop-bg:       #0B2818;
  --shop-bg-deep:  #071a10;
  --shop-card:     #123324;
  --shop-card-alt: #0f2d1c;
  --neon:          #3DDC6E;
  --neon-dim:      rgba(61,220,110,.12);
  --neon-glow:     rgba(61,220,110,.3);
  --shop-text:     #F2F5F0;
  --shop-muted:    #7dac87;
  --shop-border:   rgba(61,220,110,.1);
}

/* ═══════════════════════════════════════════════════════
   PAGE FOUNDATION
══════════════════════════════════════════════════════ */
body.page-boutique {
  background: var(--shop-bg);
  color: var(--shop-text);
  font-family: 'Poppins', 'Inter', sans-serif;
}

/* Vignette overlay — corners darker */
body.page-boutique::after {
  content: '';
  position: fixed;
  inset: 0;
  background: radial-gradient(ellipse 75% 55% at 50% 42%, transparent 35%, rgba(0,0,0,.38) 100%);
  pointer-events: none;
  z-index: 1;
}

/* Keep content above vignette */
body.page-boutique .announcement-bar,
body.page-boutique .nav,
body.page-boutique main,
body.page-boutique .footer,
body.page-boutique #cart-drawer,
body.page-boutique #cart-overlay,
body.page-boutique #cookie-banner {
  position: relative;
  z-index: 2;
}

/* ── Announcement bar — neon accent ── */
body.page-boutique .announcement-bar {
  background: linear-gradient(90deg, #0a2416, #123324, #0a2416);
  border-bottom: 1px solid var(--shop-border);
  color: var(--neon);
}

/* ── Nav on dark ── */
body.page-boutique .nav {
  background: rgba(7,26,16,.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--shop-border);
}
body.page-boutique .nav-links a { color: rgba(242,245,240,.7); }
body.page-boutique .nav-links a:hover,
body.page-boutique .nav-links a.active { color: var(--neon); }
body.page-boutique .nav-links a.active::after { background: var(--neon); }
body.page-boutique .cart-btn { color: var(--shop-text); }
body.page-boutique .lang-btn { color: rgba(242,245,240,.55); }
body.page-boutique .lang-btn.active { color: var(--neon); }

/* ═══════════════════════════════════════════════════════
   HERO — 2-COLUMN FULL HEIGHT
══════════════════════════════════════════════════════ */
.shop-hero-wrap {
  background: linear-gradient(155deg, #071a10 0%, #0B2818 45%, #0d301d 100%);
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

/* Ambient spotlight behind product */
.shop-hero-wrap::before {
  content: '';
  position: absolute;
  top: 10%;
  right: 10%;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(61,220,110,.07) 0%, transparent 65%);
  pointer-events: none;
}

.shop-hero {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 60px;
  align-items: center;
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 140px var(--container-pad-lg) 100px;
}

/* Left column */
.shop-hero-left {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.shop-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--neon);
  margin-bottom: 22px;
}
.shop-hero-eyebrow::before {
  content: '';
  display: block;
  width: 28px;
  height: 2px;
  background: var(--neon);
  border-radius: 2px;
  flex-shrink: 0;
}

.shop-hero-title {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(3rem, 5.5vw, 5rem);
  font-weight: 800;
  line-height: 1.06;
  color: var(--shop-text);
  margin: 0 0 24px;
  letter-spacing: -.025em;
}
.shop-hero-title em {
  font-style: normal;
  color: var(--neon);
}

.shop-hero-sub {
  font-size: 15px;
  color: var(--shop-muted);
  line-height: 1.7;
  max-width: 420px;
  margin: 0 0 36px;
  font-weight: 300;
}

/* CTA pill button */
.shop-hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: var(--neon);
  color: #061510;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 14px;
  padding: 8px 24px 8px 8px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: transform .22s var(--ease), box-shadow .22s var(--ease);
  text-decoration: none;
  align-self: flex-start;
  margin-bottom: 40px;
}
.shop-hero-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(61,220,110,.38);
  color: #061510;
  text-decoration: none;
}
.shop-hero-cta-circle {
  width: 38px;
  height: 38px;
  background: rgba(6,21,16,.18);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Trust badges */
.shop-hero-trust {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12.5px;
  color: var(--shop-muted);
  font-weight: 400;
}
.shop-hero-stars {
  color: var(--neon);
  font-size: 16px;
  letter-spacing: 2px;
}

/* Right column */
.shop-hero-right {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 580px;
}

.shop-hero-product-img {
  position: relative;
  z-index: 2;
  max-height: min(72vh, 680px);
  max-width: 100%;
  width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 56px 80px rgba(0,0,0,.6));
  animation: heroFloat 7s ease-in-out infinite;
}

.shop-hero-glow {
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 280px;
  height: 36px;
  background: radial-gradient(ellipse at center, rgba(61,220,110,.28) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 1;
}

/* Floating product chips */
.shop-hero-chip {
  position: absolute;
  background: rgba(18,51,36,.88);
  backdrop-filter: blur(12px);
  border: 1px solid var(--shop-border);
  border-radius: 14px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 3;
  animation: chipFloat 8s ease-in-out infinite;
}
.shop-hero-chip:nth-child(2) { animation-delay: -3s; }
.shop-hero-chip-img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  border-radius: 8px;
}
.shop-hero-chip-name {
  font-size: 12px;
  font-weight: 600;
  color: var(--shop-text);
  line-height: 1.2;
}
.shop-hero-chip-price {
  font-size: 11px;
  color: var(--neon);
  font-weight: 700;
}

@keyframes heroFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  33%       { transform: translateY(-10px) rotate(1deg); }
  66%       { transform: translateY(-5px) rotate(-1deg); }
}
@keyframes chipFloat {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-6px); }
}

/* ── Free shipping strip ── */
.ship-strip {
  background: var(--shop-card);
  border-top: 1px solid var(--shop-border);
  border-bottom: 1px solid var(--shop-border);
  padding: 14px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 12.5px;
  color: var(--shop-muted);
  font-weight: 400;
}
.ship-strip svg { color: var(--neon); flex-shrink: 0; }

/* ═══════════════════════════════════════════════════════
   PRODUCTS SECTION — DARK
══════════════════════════════════════════════════════ */
.shop-section-dark {
  background: linear-gradient(180deg, #0B2818 0%, #091f14 100%);
  padding: 88px 0 100px;
  position: relative;
}

/* Thin neon top line */
.shop-section-dark::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 480px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--neon-glow), transparent);
}

.shop-section-label {
  display: block;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--neon);
  text-align: center;
  margin-bottom: 14px;
}
.shop-section-title {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(2rem, 3.8vw, 2.8rem);
  font-weight: 700;
  color: var(--shop-text);
  text-align: center;
  margin: 0 0 16px;
  letter-spacing: -.02em;
}
.shop-section-desc {
  font-size: 14.5px;
  color: var(--shop-muted);
  text-align: center;
  max-width: 500px;
  margin: 0 auto 52px;
  line-height: 1.7;
  font-weight: 300;
}

/* ── Filter tabs — neon style ── */
body.page-boutique .filter-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 52px;
  flex-wrap: wrap;
}
body.page-boutique .filter-tab {
  background: transparent;
  border: 1px solid rgba(61,220,110,.22);
  color: var(--shop-muted);
  padding: 9px 24px;
  border-radius: 999px;
  font-family: 'Poppins', sans-serif;
  font-size: 12.5px;
  font-weight: 500;
  cursor: pointer;
  transition: all .2s;
  letter-spacing: .02em;
}
body.page-boutique .filter-tab:hover {
  border-color: var(--neon);
  color: var(--neon);
}
body.page-boutique .filter-tab.active {
  background: var(--neon);
  border-color: var(--neon);
  color: #061510;
  font-weight: 700;
}

/* ── Product grid — 3 columns ── */
body.page-boutique .products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* ── Product cards — dark ── */
body.page-boutique .product-card {
  background: var(--shop-card);
  border: 1px solid rgba(61,220,110,.07);
  border-radius: 18px;
  overflow: hidden;
  color: var(--shop-text);
  box-shadow: 0 8px 40px rgba(0,0,0,.25);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
  cursor: pointer;
}
body.page-boutique .product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 60px rgba(0,0,0,.4);
  border-color: rgba(61,220,110,.3);
}
body.page-boutique .product-card:hover .product-media img {
  transform: scale(1.06);
}

/* Product image area — dark studio bg */
body.page-boutique .product-media {
  background: linear-gradient(180deg, #1a4a33 0%, var(--shop-card) 100%);
  aspect-ratio: 3 / 4;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
body.page-boutique .product-media img {
  max-height: 88%;
  max-width: 88%;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 20px 36px rgba(0,0,0,.5));
  transition: transform .4s var(--ease);
}
/* Ground shadow under product */
body.page-boutique .product-media::after {
  content: '';
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 65%;
  height: 18px;
  background: radial-gradient(ellipse at center, rgba(0,0,0,.42) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

/* Quick add button */
body.page-boutique .quick-add {
  background: var(--neon);
  color: #061510;
  border: none;
  font-weight: 700;
  font-size: 12px;
  font-family: 'Poppins', sans-serif;
}
body.page-boutique .quick-add:hover {
  background: #55e882;
}

/* Badge — circle top-right */
body.page-boutique .product-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  left: auto;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 8.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
  text-align: center;
  line-height: 1.25;
  z-index: 3;
  padding: 6px;
}
body.page-boutique .product-badge.bestseller {
  background: var(--neon);
  color: #061510;
}
body.page-boutique .product-badge.new {
  background: var(--gold);
  color: #fff;
}

/* Product info area */
body.page-boutique .product-info {
  padding: 18px 20px 16px;
}
body.page-boutique .product-cat {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--neon);
  margin-bottom: 6px;
}
body.page-boutique .product-name {
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--shop-text);
  margin: 0 0 6px;
  line-height: 1.3;
}
body.page-boutique .product-desc {
  font-size: 12px;
  color: var(--shop-muted);
  line-height: 1.55;
  margin: 0 0 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-weight: 300;
}
body.page-boutique .product-rating-v2 {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 14px;
}
body.page-boutique .product-rating-v2 .stars {
  color: var(--neon);
  font-size: 11px;
}
body.page-boutique .product-rating-v2 .rating-count {
  font-size: 11px;
  color: var(--shop-muted);
}

/* Price + Add to cart row */
body.page-boutique .product-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 12px;
  border-top: 1px solid rgba(61,220,110,.08);
}
body.page-boutique .product-price {
  font-family: 'Poppins', sans-serif;
  font-size: 21px;
  font-weight: 700;
  color: var(--shop-text);
  display: flex;
  align-items: baseline;
  gap: 2px;
}
body.page-boutique .price-cur {
  font-size: 13px;
  font-weight: 500;
  color: var(--shop-muted);
  margin-right: 1px;
}
body.page-boutique .product-price > span:last-child {
  font-size: 11px;
  color: var(--shop-muted);
  font-weight: 400;
}
body.page-boutique .add-cart {
  background: var(--neon);
  color: #061510;
  border: none;
  border-radius: 999px;
  font-family: 'Poppins', sans-serif;
  font-size: 11.5px;
  font-weight: 700;
  padding: 8px 15px;
  cursor: pointer;
  transition: transform .2s, box-shadow .2s;
  white-space: nowrap;
}
body.page-boutique .add-cart:hover {
  transform: scale(1.06);
  box-shadow: 0 6px 20px rgba(61,220,110,.4);
}

/* ═══════════════════════════════════════════════════════
   BUNDLE SECTION — dark luxury
══════════════════════════════════════════════════════ */
body.page-boutique .shop-bundle-section {
  background: linear-gradient(180deg, #091f14 0%, #0B2818 100%);
  padding: 0 0 100px;
}
body.page-boutique .bundle-wrap {
  background: linear-gradient(135deg, #0d2d1c 0%, #123324 45%, #1a4530 100%);
  border: 1px solid rgba(61,220,110,.14);
  box-shadow: 0 20px 60px rgba(0,0,0,.35);
  margin-top: 0;
}

/* ═══════════════════════════════════════════════════════
   REASSURANCE BAR
══════════════════════════════════════════════════════ */
body.page-boutique .shop-promises-section {
  background: #071a10;
  border-top: 1px solid var(--shop-border);
  padding: 64px 0;
}
body.page-boutique .promise-item .promise-icon {
  background: var(--neon-dim);
  border: 1px solid var(--shop-border);
  color: var(--neon);
}
body.page-boutique .promise-item .promise-title {
  color: var(--shop-muted);
}

/* ═══════════════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════════════ */
body.page-boutique .footer {
  background: #071a10;
  border-top: 1px solid var(--shop-border);
}

/* ═══════════════════════════════════════════════════════
   TAX NOTE
══════════════════════════════════════════════════════ */
body.page-boutique .tax-note-strip {
  background: #071a10;
  padding: 20px 0;
  border-top: 1px solid var(--shop-border);
}

/* ── Reveal animation ── */
body.page-boutique .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .55s var(--ease), transform .55s var(--ease);
}
body.page-boutique .reveal.in {
  opacity: 1;
  transform: none;
}

/* ═══════════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════════ */
@media (max-width: 960px) {
  .shop-hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 100px 24px 60px;
    text-align: center;
    gap: 48px;
  }
  .shop-hero-eyebrow  { justify-content: center; }
  .shop-hero-sub      { margin: 0 auto 36px; }
  .shop-hero-cta      { align-self: center; }
  .shop-hero-trust    { justify-content: center; }
  .shop-hero-right    { min-height: 280px; order: -1; }
  .shop-hero-product-img { max-height: 280px; }
  body.page-boutique .products-grid { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 560px) {
  body.page-boutique .products-grid { grid-template-columns: 1fr; }
  .shop-hero-title { font-size: 2.4rem; }
}
