:root {
  --bg-pearl: #F4F1EC;
  --bg-mist: #E8E4DF;
  --surface: rgba(255, 255, 255, 0.78);
  --surface-solid: #FDFCFA;
  --text: #2A2830;
  --text-muted: #6E6A74;
  --accent-teal: #5B8A8A;
  --accent-teal-deep: #3D6B6B;
  --accent-coral: #C9897A;
  --accent-gold: #B8A07A;
  --accent-glow: #9BBFBF;
  --border: rgba(42, 40, 48, 0.08);
  --shadow: 0 8px 32px rgba(42, 40, 48, 0.08);
  --shadow-lg: 0 20px 60px rgba(42, 40, 48, 0.12);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Outfit', system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg-pearl);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}

/* Aurora animated background */
.aurora-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}
.aurora-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.45;
  animation: aurora-drift 18s ease-in-out infinite alternate;
}
.aurora-blob-1 {
  width: 55vw; height: 55vw;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  top: -15%; left: -10%;
}
.aurora-blob-2 {
  width: 45vw; height: 45vw;
  background: radial-gradient(circle, rgba(201, 137, 122, 0.35) 0%, transparent 70%);
  bottom: -10%; right: -5%;
  animation-delay: -6s;
  animation-duration: 22s;
}
.aurora-blob-3 {
  width: 35vw; height: 35vw;
  background: radial-gradient(circle, rgba(184, 160, 122, 0.25) 0%, transparent 70%);
  top: 40%; left: 35%;
  animation-delay: -12s;
  animation-duration: 26s;
}
@keyframes aurora-drift {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(4%, 6%) scale(1.08); }
}

/* Header */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(1rem, 4vw, 3rem);
  background: rgba(244, 241, 236, 0.82);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  z-index: 100;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.site-header.scrolled { box-shadow: var(--shadow); }
.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--text);
}
.logo-mark {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--accent-teal), var(--accent-coral));
  color: white;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  border-radius: 50%;
  animation: logo-pulse 4s ease-in-out infinite;
}
@keyframes logo-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(91, 138, 138, 0.3); }
  50% { box-shadow: 0 0 0 10px rgba(91, 138, 138, 0); }
}
.logo-text {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.main-nav {
  display: flex;
  gap: 2rem;
}
.main-nav a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  position: relative;
  transition: color 0.3s;
}
.main-nav a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--accent-teal);
  transition: width 0.35s var(--ease);
}
.main-nav a:hover, .main-nav a.active { color: var(--text); }
.main-nav a:hover::after, .main-nav a.active::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: 0.75rem; }
.lang-select {
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 0.4rem 0.6rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.8rem;
  cursor: pointer;
}
.cart-btn {
  position: relative;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text);
  padding: 0.5rem;
  transition: transform 0.3s var(--ease);
}
.cart-btn:hover { transform: scale(1.08); }
.cart-count {
  position: absolute;
  top: 0; right: 0;
  background: var(--accent-coral);
  color: white;
  font-size: 0.65rem;
  font-weight: 600;
  min-width: 18px; height: 18px;
  border-radius: 50%;
  display: grid; place-items: center;
  animation: pop-in 0.4s var(--ease);
}
@keyframes pop-in {
  0% { transform: scale(0); }
  70% { transform: scale(1.2); }
  100% { transform: scale(1); }
}
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}
.menu-toggle span {
  display: block;
  width: 22px; height: 2px;
  background: var(--text);
  transition: transform 0.3s;
}

/* Main content */
main { padding-top: var(--header-h); min-height: calc(100vh - 200px); }
.page { animation: page-in 0.6s var(--ease) both; }
@keyframes page-in {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Hero */
.hero {
  min-height: calc(100vh - var(--header-h));
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 3rem;
  padding: clamp(2rem, 6vw, 5rem);
  max-width: 1400px;
  margin: 0 auto;
}
.hero-content h1 {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 400;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}
.hero-content h1 em {
  font-style: italic;
  color: var(--accent-teal-deep);
}
.hero-sub {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 480px;
  margin-bottom: 2rem;
}
.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-visual {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.hero-visual img {
  width: 100%; height: 100%;
  object-fit: cover;
  animation: hero-zoom 12s ease-in-out infinite alternate;
}
@keyframes hero-zoom {
  from { transform: scale(1); }
  to { transform: scale(1.05); }
}
.hero-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(42,40,48,0.3));
}
.hero-badge {
  position: absolute;
  bottom: 1.5rem; left: 1.5rem;
  background: var(--surface);
  backdrop-filter: blur(12px);
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  animation: float 5s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.3s var(--ease), box-shadow 0.3s, background 0.3s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: linear-gradient(135deg, var(--accent-teal), var(--accent-teal-deep));
  color: white;
  box-shadow: 0 4px 20px rgba(91, 138, 138, 0.35);
}
.btn-secondary {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-coral {
  background: linear-gradient(135deg, var(--accent-coral), #B07060);
  color: white;
}
.btn-block { width: 100%; }
.btn-sm { padding: 0.5rem 1rem; font-size: 0.8rem; }

/* Sections */
.section {
  padding: clamp(3rem, 8vw, 6rem) clamp(1rem, 4vw, 3rem);
  max-width: 1400px;
  margin: 0 auto;
}
.section-header {
  text-align: center;
  margin-bottom: 3rem;
}
.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  margin-bottom: 0.75rem;
}
.section-header p { color: var(--text-muted); max-width: 560px; margin: 0 auto; }

/* Category pills */
.categories {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-bottom: 2.5rem;
}
.cat-pill {
  padding: 0.55rem 1.25rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.3s var(--ease);
}
.cat-pill:hover, .cat-pill.active {
  background: var(--accent-teal);
  color: white;
  border-color: var(--accent-teal);
  transform: translateY(-2px);
}

/* Product grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
}
.product-card {
  background: var(--surface-solid);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: transform 0.4s var(--ease), box-shadow 0.4s;
  animation: card-in 0.5s var(--ease) both;
  /* skip rendering off-screen cards in the 281-item grid */
  content-visibility: auto;
  contain-intrinsic-size: auto 340px;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
@keyframes card-in {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
.product-card-img {
  aspect-ratio: 1;
  background: radial-gradient(ellipse at 50% 80%, rgba(91, 138, 138, 0.12) 0%, transparent 65%),
              linear-gradient(180deg, rgba(255,255,255,0.5) 0%, transparent 100%);
  overflow: hidden;
  position: relative;
}
.product-card-img::before {
  content: '';
  position: absolute;
  bottom: 12%;
  left: 50%;
  transform: translateX(-50%);
  width: 55%;
  height: 8%;
  background: radial-gradient(ellipse, rgba(91, 138, 138, 0.25) 0%, transparent 70%);
  border-radius: 50%;
  animation: product-shadow 3s ease-in-out infinite;
  pointer-events: none;
}
@keyframes product-shadow {
  0%, 100% { opacity: 0.5; transform: translateX(-50%) scale(1); }
  50% { opacity: 0.8; transform: translateX(-50%) scale(1.08); }
}
.product-card-img img {
  width: 100%; height: 100%;
  object-fit: contain;
  padding: 1.25rem;
  transition: transform 0.6s var(--ease), filter 0.4s;
  animation: product-float 4s ease-in-out infinite;
  filter: drop-shadow(0 8px 16px rgba(42, 40, 48, 0.12));
  will-change: transform;
}
.product-card:nth-child(3n+1) .product-card-img img { animation-delay: 0s; }
.product-card:nth-child(3n+2) .product-card-img img { animation-delay: -1.3s; }
.product-card:nth-child(3n)   .product-card-img img { animation-delay: -2.6s; }
@keyframes product-float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-10px) rotate(0.6deg); }
}
.product-card:hover .product-card-img img {
  transform: translateY(-14px) scale(1.08) rotate(-1deg);
  filter: drop-shadow(0 16px 28px rgba(91, 138, 138, 0.25));
  animation-play-state: paused;
}
.product-volume-hint {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(0deg, rgba(42,40,48,0.85) 0%, transparent 100%);
  color: white;
  font-size: 0.68rem;
  padding: 2rem 0.75rem 0.6rem;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
  pointer-events: none;
  line-height: 1.5;
}
.product-card:hover .product-volume-hint {
  opacity: 1;
  transform: translateY(0);
}
.product-badge {
  position: absolute;
  top: 0.75rem; left: 0.75rem;
  background: var(--accent-coral);
  color: white;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.product-card-body { padding: 1.25rem; }
.product-card-body h3 {
  font-size: 0.95rem;
  font-weight: 500;
  margin-bottom: 0.35rem;
  line-height: 1.3;
}
.product-cat {
  font-size: 0.75rem;
  color: var(--accent-teal);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.5rem;
}
.product-price {
  font-size: 1.15rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--accent-teal-deep);
}
.product-price del {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 400;
  margin-right: 0.4rem;
}
.product-card-actions {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
}

/* Shop toolbar */
.shop-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
}
.search-input {
  flex: 1;
  min-width: 200px;
  max-width: 400px;
  padding: 0.75rem 1.25rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  font-family: var(--font-body);
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.search-input:focus {
  border-color: var(--accent-teal);
  box-shadow: 0 0 0 3px rgba(91, 138, 138, 0.15);
}
.shop-meta { font-size: 0.85rem; color: var(--text-muted); }

/* Transform lab */
.transform-lab {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}
.persona-panel {
  background: var(--surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  padding: 1.5rem;
}
.persona-panel h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  margin-bottom: 1rem;
}
.persona-group { margin-bottom: 1.25rem; }
.persona-group label {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}
.persona-btns { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.persona-btn {
  padding: 0.5rem 0.9rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: white;
  font-size: 0.8rem;
  cursor: pointer;
  transition: all 0.3s var(--ease);
}
.persona-btn.active {
  background: var(--accent-teal);
  color: white;
  border-color: var(--accent-teal);
}
.treatment-select {
  width: 100%;
  padding: 0.65rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  font-family: var(--font-body);
  margin-top: 0.5rem;
}

.compare-stage {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 3/4;
  max-height: 70vh;
  box-shadow: var(--shadow-lg);
  user-select: none;
}
.compare-stage img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.compare-after {
  clip-path: inset(0 50% 0 0);
  transition: clip-path 0.05s linear;
}
.compare-slider {
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  width: 4px;
  background: white;
  cursor: ew-resize;
  z-index: 10;
  transform: translateX(-50%);
  box-shadow: 0 0 12px rgba(0,0,0,0.3);
}
.compare-slider::after {
  content: '⟷';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  background: white;
  width: 40px; height: 40px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 1rem;
  box-shadow: var(--shadow);
}
.compare-labels {
  position: absolute;
  top: 1rem;
  left: 1rem; right: 1rem;
  display: flex;
  justify-content: space-between;
  z-index: 5;
  pointer-events: none;
}
.compare-labels span {
  background: rgba(0,0,0,0.55);
  color: white;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.auto-play-btn {
  margin-top: 1rem;
  width: 100%;
}
.transform-info {
  margin-top: 1.5rem;
  padding: 1.25rem;
  background: var(--surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
}
.transform-info h4 { font-family: var(--font-display); font-size: 1.2rem; margin-bottom: 0.5rem; }

/* Product detail */
.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  max-width: 1100px;
  margin: 0 auto;
  padding: 3rem 2rem;
}
.product-detail-img {
  background: radial-gradient(ellipse at 50% 75%, rgba(91, 138, 138, 0.15) 0%, transparent 60%),
              var(--surface);
  border-radius: var(--radius-lg);
  padding: 2rem;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
}
.product-detail-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(155, 191, 191, 0.08) 50%, transparent 60%);
  animation: product-shine 5s ease-in-out infinite;
  pointer-events: none;
}
@keyframes product-shine {
  0%, 100% { transform: translateX(-100%); }
  50% { transform: translateX(100%); }
}
.product-detail-img img {
  max-width: 100%; max-height: 100%;
  object-fit: contain;
  animation: product-float-detail 5s ease-in-out infinite;
  filter: drop-shadow(0 12px 24px rgba(42, 40, 48, 0.15));
}
@keyframes product-float-detail {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-12px) scale(1.02); }
}
.volume-table {
  width: 100%;
  margin: 1.5rem 0;
  border-collapse: collapse;
  font-size: 0.9rem;
}
.volume-table th, .volume-table td {
  padding: 0.65rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
.volume-table th { color: var(--text-muted); font-weight: 500; font-size: 0.8rem; text-transform: uppercase; }
.qty-control {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 1.5rem 0;
}
.qty-control button {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: white;
  cursor: pointer;
  font-size: 1.1rem;
  transition: background 0.2s;
}
.qty-control button:hover { background: var(--bg-mist); }
.qty-control span { font-size: 1.2rem; font-weight: 600; min-width: 2rem; text-align: center; }

/* Checkout */
.checkout-page {
  max-width: 720px;
  margin: 0 auto;
  padding: 3rem 2rem;
}
.checkout-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 2rem;
  margin-bottom: 1.5rem;
}
.checkout-card h2 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
}
.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}
.form-group input, .form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  background: white;
}
.ref-box {
  background: linear-gradient(135deg, rgba(91,138,138,0.1), rgba(201,137,122,0.1));
  border: 2px dashed var(--accent-teal);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  text-align: center;
  margin: 1.5rem 0;
}
.ref-number {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  color: var(--accent-teal-deep);
  letter-spacing: 0.15em;
  animation: ref-glow 2s ease-in-out infinite alternate;
}
@keyframes ref-glow {
  from { text-shadow: 0 0 8px rgba(91,138,138,0.3); }
  to { text-shadow: 0 0 20px rgba(91,138,138,0.6); }
}
.bank-details {
  font-size: 0.9rem;
  line-height: 1.8;
  color: var(--text-muted);
}
.bank-details strong { color: var(--text); }
.order-success {
  text-align: center;
  padding: 3rem;
}
.order-success .check-icon {
  width: 64px; height: 64px;
  background: var(--accent-teal);
  color: white;
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 2rem;
  margin: 0 auto 1.5rem;
  animation: pop-in 0.6s var(--ease);
}

/* Cart drawer */
.cart-drawer {
  position: fixed;
  inset: 0;
  z-index: 200;
  pointer-events: none;
}
.cart-drawer.open { pointer-events: auto; }
.cart-overlay {
  position: absolute;
  inset: 0;
  background: rgba(42, 40, 48, 0.4);
  opacity: 0;
  transition: opacity 0.4s;
}
.cart-drawer.open .cart-overlay { opacity: 1; }
.cart-drawer-inner {
  position: absolute;
  top: 0; right: 0;
  width: min(420px, 100vw);
  height: 100%;
  background: var(--surface-solid);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.45s var(--ease);
}
.cart-drawer.open .cart-drawer-inner { transform: translateX(0); }
.cart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  border-bottom: 1px solid var(--border);
}
.cart-header h2 { font-family: var(--font-display); font-size: 1.5rem; }
.close-btn {
  background: none; border: none;
  font-size: 1.5rem; cursor: pointer;
  color: var(--text-muted);
  line-height: 1;
}
.cart-items { flex: 1; overflow-y: auto; padding: 1rem 1.5rem; }
.cart-item {
  display: flex;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
  animation: card-in 0.4s var(--ease);
}
.cart-item-img {
  width: 64px; height: 64px;
  background: var(--bg-mist);
  border-radius: var(--radius-sm);
  overflow: hidden;
  flex-shrink: 0;
}
.cart-item-img img { width: 100%; height: 100%; object-fit: contain; }
.cart-item-info { flex: 1; }
.cart-item-info h4 { font-size: 0.9rem; margin-bottom: 0.25rem; }
.cart-item-price { color: var(--accent-teal-deep); font-weight: 600; }
.cart-item-remove {
  background: none; border: none;
  color: var(--accent-coral);
  cursor: pointer;
  font-size: 0.8rem;
}
.cart-empty {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--text-muted);
}
.cart-footer {
  padding: 1.5rem;
  border-top: 1px solid var(--border);
}
.cart-total {
  display: flex;
  justify-content: space-between;
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

/* Stats row */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin: 3rem 0;
}
.stat-card {
  text-align: center;
  padding: 1.5rem;
  background: var(--surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  animation: card-in 0.6s var(--ease) both;
}
.stat-card strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2.2rem;
  color: var(--accent-teal-deep);
}
.stat-card span { font-size: 0.8rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.06em; }

/* Footer */
.site-footer {
  background: var(--text);
  color: rgba(255,255,255,0.7);
  padding: 3rem 2rem 2rem;
  margin-top: 4rem;
}
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-brand .logo-text {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: white;
  display: block;
  margin-bottom: 0.5rem;
}
.footer-links {
  display: flex;
  gap: 2rem;
  margin: 1.5rem 0;
}
.footer-links a { color: rgba(255,255,255,0.6); text-decoration: none; font-size: 0.9rem; }
.footer-links a:hover { color: white; }
.footer-disclaimer { font-size: 0.75rem; margin: 1rem 0; opacity: 0.6; }
.footer-copy { font-size: 0.8rem; opacity: 0.5; }

.offline-badge {
  position: fixed;
  bottom: 1rem; left: 50%;
  transform: translateX(-50%);
  background: var(--text);
  color: white;
  padding: 0.5rem 1.25rem;
  border-radius: 999px;
  font-size: 0.8rem;
  z-index: 150;
  animation: float 3s ease-in-out infinite;
}

/* Responsive */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .hero-visual { max-height: 400px; }
  .transform-lab { grid-template-columns: 1fr; }
  .product-detail { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .main-nav {
    position: fixed;
    top: var(--header-h); left: 0; right: 0;
    background: var(--surface-solid);
    flex-direction: column;
    padding: 1.5rem;
    gap: 1rem;
    transform: translateY(-120%);
    transition: transform 0.4s var(--ease);
    border-bottom: 1px solid var(--border);
  }
  .main-nav.open { transform: translateY(0); }
  .menu-toggle { display: flex; }
}
/* ═══════════════ Professional access gate ═══════════════ */
.access-gate {
  position: fixed; inset: 0; z-index: 1000;
  display: none; align-items: center; justify-content: center;
  padding: 1.5rem;
  background: rgba(42, 40, 48, 0.55);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.access-gate.open { display: flex; }
body.gate-locked { overflow: hidden; }
.gate-card {
  position: relative;
  max-width: 480px; width: 100%;
  background: var(--surface-solid);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 4vw, 2.75rem);
  text-align: center;
  box-shadow: var(--shadow-lg);
  animation: gate-in 0.6s var(--ease);
}
@keyframes gate-in { from { opacity: 0; transform: translateY(24px) scale(0.97); } }
.gate-langs { position: absolute; top: 1rem; right: 1rem; display: flex; gap: 2px; }
.gate-langs button {
  padding: 5px 8px; font-size: 0.68rem; letter-spacing: 0.06em;
  color: var(--text-muted); background: none; border: 1px solid transparent; border-radius: 6px;
  cursor: pointer; transition: all 0.25s var(--ease);
}
.gate-langs button:hover, .gate-langs button.active { color: var(--accent-teal-deep); border-color: var(--border); }
.gate-mark {
  display: inline-grid; place-items: center;
  width: 54px; height: 54px; margin-bottom: 1.1rem;
  font-family: var(--font-display); font-size: 1.9rem; color: white;
  background: linear-gradient(135deg, var(--accent-teal), var(--accent-teal-deep));
  border-radius: 16px;
}
.gate-kicker {
  font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--accent-teal-deep); margin-bottom: 0.9rem;
}
.gate-card h2 {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(1.3rem, 3vw, 1.6rem); line-height: 1.3; margin-bottom: 0.75rem;
}
.gate-sub { color: var(--text-muted); font-size: 0.92rem; margin-bottom: 1.5rem; }
.gate-actions { display: flex; flex-direction: column; gap: 0.6rem; margin-bottom: 1.1rem; }
.gate-fine { font-size: 0.72rem; color: var(--text-muted); line-height: 1.5; }

/* Visitor ribbon */
.visitor-ribbon {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  display: none; align-items: center; justify-content: center; gap: 1rem; flex-wrap: wrap;
  padding: 0.7rem 1.25rem;
  background: rgba(42, 40, 48, 0.92); color: #F4F1EC;
  backdrop-filter: blur(10px);
  font-size: 0.85rem;
}
.visitor-ribbon button {
  background: var(--accent-gold); color: #2A2830; border: none;
  padding: 0.4rem 0.9rem; border-radius: 999px; font-size: 0.78rem;
  font-weight: 600; cursor: pointer; font-family: inherit;
}
.visitor-ribbon button:hover { filter: brightness(1.08); }

body.visitor-mode .visitor-ribbon { display: flex; }

/* Visitor mode — hide every purchasing affordance */
body.visitor-mode [data-add],
body.visitor-mode .cart-btn,
body.visitor-mode #checkout-btn,
body.visitor-mode .product-card-actions .btn-primary,
body.visitor-mode #add-product,
body.visitor-mode .product-detail .qty-control,
body.visitor-mode .add-to-cart,
body.visitor-mode .cart-drawer { display: none !important; }
body.visitor-mode .product-card-actions { justify-content: flex-start; }
body.visitor-mode main { padding-bottom: 3rem; }

/* ═══════════════ Transformation lab (rebuilt) ═══════════════ */
.lab-wrap {
  display: grid; grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(1.25rem, 3vw, 2.5rem);
  max-width: 1200px; margin: 0 auto; align-items: start;
}
.lab-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: clamp(1rem, 2vw, 1.5rem);
}
/* before/after stage */
.ba-stage {
  position: relative; border-radius: var(--radius-md); overflow: hidden;
  aspect-ratio: 3/4; box-shadow: var(--shadow); user-select: none;
  touch-action: none; cursor: ew-resize; background: var(--bg-mist);
}
.ba-stage .ba-layer { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; pointer-events: none; }
#ba-after-base { clip-path: inset(0 0 0 50%); }
.ba-divider { position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; background: white; box-shadow: 0 0 12px rgba(0,0,0,0.35); z-index: 4; transform: translateX(-50%); }
.ba-handle {
  position: absolute; top: 50%; left: 50%; z-index: 5;
  width: 46px; height: 46px; border-radius: 50%;
  background: white; color: var(--accent-teal-deep);
  display: grid; place-items: center; font-size: 1.1rem;
  transform: translate(-50%, -50%); box-shadow: var(--shadow); cursor: ew-resize;
}
.ba-tag {
  position: absolute; top: 0.85rem; z-index: 3;
  background: rgba(42,40,48,0.6); color: white;
  padding: 0.3rem 0.7rem; border-radius: 999px;
  font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase;
}
.ba-tag-before { left: 0.85rem; }
.ba-tag-after { right: 0.85rem; }
.lab-hint { text-align: center; font-size: 0.78rem; color: var(--text-muted); margin-top: 0.6rem; }

/* model thumbnails */
.lab-models { margin-top: 1rem; }
.lab-models .lab-label, .lab-protocol .lab-label {
  font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text-muted); margin-bottom: 0.55rem; display: block;
}
.model-groups { display: flex; flex-direction: column; gap: 0.75rem; }
.model-group { display: flex; align-items: center; gap: 0.75rem; }
.mg-label { font-size: 0.66rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); min-width: 62px; flex-shrink: 0; }
.model-thumbs { display: flex; gap: 0.55rem; flex-wrap: wrap; }
.model-thumb {
  width: 52px; height: 52px; border-radius: 50%; overflow: hidden; padding: 0;
  border: 2px solid transparent; background: var(--bg-mist); cursor: pointer;
  opacity: 0.62; transition: all 0.3s var(--ease); position: relative;
}
.model-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; }
.model-thumb:hover { opacity: 0.9; transform: translateY(-2px); }
.model-thumb.active { opacity: 1; border-color: var(--accent-teal); box-shadow: 0 0 0 3px rgba(91,138,138,0.18); }

/* protocol chips */
.lab-protocol { margin-top: 1.25rem; }
.proto-chips { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.proto-chip {
  padding: 0.5rem 0.9rem; border-radius: 999px; border: 1px solid var(--border);
  background: white; font-size: 0.78rem; cursor: pointer; font-family: inherit;
  color: var(--text); transition: all 0.25s var(--ease);
}
.proto-chip.active { background: var(--accent-teal); color: white; border-color: var(--accent-teal); }
.lab-caption { margin-top: 0.9rem; font-size: 0.86rem; color: var(--text-muted); line-height: 1.55; min-height: 2.4em; }

/* treatment zone map */
.map-face-wrap { position: relative; border-radius: var(--radius-md); overflow: hidden; aspect-ratio: 3/4; box-shadow: var(--shadow); }
.map-face-wrap img { width: 100%; height: 100%; object-fit: cover; display: block; }
.map-dot {
  position: absolute; width: 30px; height: 30px; transform: translate(-50%, -50%);
  border: 0; background: none; cursor: pointer; padding: 0;
}
.map-dot .core {
  position: absolute; inset: 50% auto auto 50%; width: 12px; height: 12px;
  transform: translate(-50%, -50%); border-radius: 50%;
  background: var(--accent-teal); border: 2px solid white; box-shadow: 0 1px 4px rgba(0,0,0,0.4);
  transition: background 0.25s;
}
.map-dot .ring {
  position: absolute; inset: 50% auto auto 50%; width: 12px; height: 12px;
  transform: translate(-50%, -50%); border-radius: 50%;
  border: 2px solid var(--accent-teal); animation: dot-pulse 2.4s ease-out infinite;
}
@keyframes dot-pulse { 0% { opacity: 0.7; transform: translate(-50%,-50%) scale(0.6); } 70%,100% { opacity: 0; transform: translate(-50%,-50%) scale(2.6); } }
.map-dot.active .core, .map-dot:hover .core { background: var(--accent-coral); }
.map-info { margin-top: 1rem; padding-top: 0.9rem; border-top: 1px solid var(--border); min-height: 70px; }
.map-zone { font-size: 0.74rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-teal-deep); margin-bottom: 0.3rem; }
.map-reco { font-family: var(--font-display); font-size: 1.15rem; line-height: 1.4; }
.map-link { display: inline-block; margin-top: 0.5rem; font-size: 0.78rem; letter-spacing: 0.06em; color: var(--accent-coral); cursor: pointer; }
.map-products { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.85rem; }

/* timeline */
.lab-timeline { margin-top: 1.5rem; }
.tl-track { position: relative; height: 3px; background: var(--border); border-radius: 2px; margin: 2.2rem 0 0.4rem; }
.tl-fill { position: absolute; inset: 0 auto 0 0; width: 0; background: linear-gradient(90deg, var(--accent-glow), var(--accent-teal)); border-radius: 2px; transition: width 2s var(--ease); }
.tl-steps { display: flex; justify-content: space-between; }
.tl-step { font-size: 0.68rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; }
.lab-disclaimer { font-size: 0.72rem; color: var(--text-muted); margin-top: 1.25rem; line-height: 1.5; }

@media (max-width: 900px) {
  .lab-wrap { grid-template-columns: 1fr; }
}

/* ═══════════════ WhatsApp direct line ═══════════════ */
.whatsapp-fab {
  position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 95;
  display: flex; align-items: center; gap: 0.5rem;
  background: #25D366; color: white; text-decoration: none;
  padding: 0.8rem 1.1rem; border-radius: 999px;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  font-size: 0.88rem; font-weight: 600;
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}
.whatsapp-fab:hover { transform: translateY(-3px) scale(1.03); box-shadow: 0 12px 32px rgba(37, 211, 102, 0.5); }
.whatsapp-fab svg { flex-shrink: 0; }
/* keep clear of the visitor ribbon */
body.visitor-mode .whatsapp-fab { bottom: 4.6rem; }
@media (max-width: 640px) {
  .whatsapp-fab-label { display: none; }
  .whatsapp-fab { padding: 0.85rem; }
}

/* footer contact block */
.footer-contact { display: flex; flex-direction: column; gap: 0.45rem; }
.footer-contact-title {
  font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--text-muted); margin-bottom: 0.15rem;
}
.footer-contact-line {
  display: inline-flex; align-items: center; gap: 0.45rem;
  color: rgba(244, 241, 236, 0.85); text-decoration: none; font-size: 0.88rem;
}
.footer-contact-line:hover { color: var(--accent-glow); text-decoration: underline; }

/* WhatsApp order button on checkout success */
.btn-whatsapp {
  background: #25D366; color: white !important; border: none;
}
.btn-whatsapp:hover { filter: brightness(1.05); }
