/* ═══════════════════════════════════════════════════════════════
   BOMBOANA - CANDY  (stil unic pentru tot site-ul)
   Paletă: alb-roz, cerneală prună, accent zmeură + nuanțe pastel
   preluate din fotografiile produselor.
   Raze: carduri 24px, câmpuri 14px, butoane și pastile complet rotunjite.
═══════════════════════════════════════════════════════════════ */

:root {
  --bg: #fff5f8;
  --surface: #fffcfd;
  --ink: #2b1630;
  --ink-soft: #6a5570;
  --accent: #d1295f;
  --accent-strong: #a81f4c;
  --on-accent: #fffcfd;
  --line: #f1d9e2;
  --tint-peach: #ffe4d4;
  --tint-mint: #d8f2e5;
  --tint-lemon: #fff0b8;
  --tint-pink: #ffd9e5;
  --shadow: 0 18px 50px -20px rgba(120, 30, 70, 0.35);
  --shadow-sm: 0 8px 24px -14px rgba(120, 30, 70, 0.35);
  --r-card: 24px;
  --r-field: 14px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --display: 'Bricolage Grotesque', 'DM Sans', system-ui, sans-serif;
  --body: 'DM Sans', system-ui, sans-serif;

  /* nume vechi folosite încă în unele stiluri inline din pagini/JS */
  --muted: var(--ink-soft);
  --gold-dark: var(--accent);
  --gold-light: var(--line);
  --choco-light: var(--ink-soft);
}

:root { color-scheme: light; }
/* Modul întunecat: doar când îl alege vizitatorul (butonul 🌙 din antet, js/app.js) */
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #1d1020;
  --surface: #28172c;
  --ink: #fbeef4;
  --ink-soft: #cdb6d2;
  --accent: #ff6b98;
  --accent-strong: #ff8fb1;
  --on-accent: #1d1020;
  --line: #3e2744;
  --tint-peach: #3d2626;
  --tint-mint: #1d3530;
  --tint-lemon: #3a3320;
  --tint-pink: #40202f;
  --shadow: 0 18px 50px -20px rgba(0, 0, 0, 0.6);
  --shadow-sm: 0 8px 24px -14px rgba(0, 0, 0, 0.6);
}

/* ─── Bază ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, textarea, select { font: inherit; color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.08;
  text-wrap: balance;
}

h2 { font-size: clamp(1.9rem, 4vw, 3rem); }
h3 { font-size: 1.3rem; }
p { text-wrap: pretty; }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: var(--r-btn, 999px);
  text-decoration: none;
}
.skip-link:focus { top: 12px; }

main { display: block; }

/* Fundal: o pată pastel fixă, fără cost la scroll */
body::before {
  content: '';
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(40vw 40vw at 92% 8%, color-mix(in srgb, var(--tint-peach) 70%, transparent), transparent 70%),
    radial-gradient(36vw 36vw at 0% 60%, color-mix(in srgb, var(--tint-mint) 55%, transparent), transparent 70%);
}

/* ─── Butoane ──────────────────────────────────────────────── */
.btn-primary, .btn-ghost, .btn-secondary, .cta-btn, .btn-checkout, .btn-submit-enhanced {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 28px;
  border-radius: var(--r-btn, 999px); border: 2px solid transparent;
  font-family: var(--display); font-weight: 650; font-size: 1.02rem; letter-spacing: -0.01em;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: transform 0.35s var(--ease), background-color 0.25s, box-shadow 0.35s var(--ease), color 0.25s;
}

.btn-primary, .cta-btn, .btn-checkout, .btn-submit-enhanced {
  background: var(--accent); color: var(--on-accent);
  box-shadow: 0 10px 24px -12px var(--accent);
}
.btn-primary:hover, .cta-btn:hover, .btn-checkout:hover:not(:disabled), .btn-submit-enhanced:hover:not(:disabled) {
  background: var(--accent-strong); transform: translateY(-2px);
  box-shadow: 0 16px 30px -14px var(--accent);
}

.btn-ghost, .btn-secondary {
  background: transparent; color: var(--ink); border-color: var(--ink);
}
.btn-ghost:hover, .btn-secondary:hover { background: var(--ink); color: var(--bg); transform: translateY(-2px); }

.btn-primary:active, .btn-ghost:active, .btn-checkout:active, .btn-submit-enhanced:active, .btn-add-cart:active { transform: scale(0.97); }

.text-link {
  font-weight: 600; color: var(--accent); text-decoration: underline;
  text-underline-offset: 4px; text-decoration-thickness: 2px;
}

/* ─── Bara promo + header ──────────────────────────────────── */
.promo-bar {
  background: var(--ink); color: var(--bg);
  font-size: 0.85rem; text-align: center; padding: 8px 16px;
}
.promo-bar strong { color: var(--tint-lemon); }
.promo-sep { opacity: 0.45; margin: 0 6px; }

.site-header {
  position: sticky; top: 0; z-index: 40;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  border-bottom: 1px solid var(--line);
}

.header-main {
  max-width: 1280px; margin: 0 auto; height: 68px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 0 24px;
}

.logo {
  font-family: var(--display); font-weight: 800; font-size: 1.7rem; letter-spacing: -0.045em;
  text-decoration: none; color: var(--ink); display: inline-flex; align-items: baseline;
}
.logo-dot {
  width: 0.36em; height: 0.36em; border-radius: 50%; margin-left: 2px;
  background: conic-gradient(var(--accent) 0 25%, #ffb347 0 50%, #6fd3a8 0 75%, #ffe066 0);
  animation: spin 6s linear infinite;
}

.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav-links a {
  display: inline-flex; align-items: center; height: 40px; padding: 0 16px; border-radius: var(--r-btn, 999px);
  text-decoration: none; font-weight: 500; color: var(--ink);
  transition: background-color 0.2s;
}
.nav-links a:hover, .nav-links a.active { background: var(--tint-pink); }

.dropdown { position: relative; }
.dropdown-toggle::after { content: ''; width: 7px; height: 7px; margin-left: 8px; border: solid currentColor; border-width: 0 2px 2px 0; transform: rotate(45deg) translateY(-3px); }
.dropdown-menu {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 210px;
  list-style: none; padding: 8px; border-radius: 20px;
  background: var(--surface); box-shadow: var(--shadow); border: 1px solid var(--line);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity 0.25s, transform 0.35s var(--ease), visibility 0.25s;
}
.dropdown-menu a { display: flex; width: 100%; }
.dropdown-divider { height: 1px; background: var(--line); margin: 6px 8px; }
.dropdown:hover .dropdown-menu, .dropdown:focus-within .dropdown-menu, .dropdown.dropdown-open .dropdown-menu {
  opacity: 1; visibility: visible; transform: none;
}

.header-actions { display: flex; align-items: center; gap: 8px; }

.cart-indicator {
  display: inline-flex; align-items: center; gap: 10px; height: 44px; padding: 0 8px 0 18px;
  border-radius: var(--r-btn, 999px); border: 2px solid var(--ink); background: transparent;
  font-weight: 600; cursor: pointer; transition: background-color 0.2s, color 0.2s;
}
.cart-indicator:hover { background: var(--ink); color: var(--bg); }
.cart-count {
  min-width: 30px; height: 30px; padding: 0 8px; border-radius: var(--r-btn, 999px);
  display: inline-grid; place-items: center;
  background: var(--accent); color: var(--on-accent); font-size: 0.9rem; font-weight: 700;
}
.cart-count.bump { animation: bump 0.5s var(--ease); }

.mobile-menu-btn {
  display: none; width: 44px; height: 44px; border-radius: 50%;
  border: 2px solid var(--ink); background: transparent; font-size: 1.1rem; cursor: pointer;
}

/* ─── Secțiuni comune ──────────────────────────────────────── */
.hero, .collections, .featured, .how, .real-photo, .products-section, .page-head,
.cta-band, .order-section-enhanced, .contact-section-enhanced, .faq-section, .legal-content {
  max-width: 1280px; margin-left: auto; margin-right: auto; padding-left: 24px; padding-right: 24px;
}

.tint-peach { background: var(--tint-peach); }
.tint-mint { background: var(--tint-mint); }
.tint-lemon { background: var(--tint-lemon); }
.tint-pink { background: var(--tint-pink); }

/* ─── Hero ─────────────────────────────────────────────────── */
.hero {
  display: grid; grid-template-columns: 1.15fr 0.85fr; align-items: center; gap: 48px;
  min-height: calc(100dvh - 110px); padding-top: 40px; padding-bottom: 56px;
}
.hero h1 { font-size: clamp(2.6rem, 5.6vw, 4.8rem); line-height: 1.02; letter-spacing: -0.045em; max-width: 13ch; }
.hero h1 em { font-style: italic; color: var(--accent); padding-right: 0.06em; }
.hero-sub { margin-top: 22px; font-size: 1.2rem; color: var(--ink-soft); max-width: 40ch; }
.hero-ctas { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }

.hero-visual { position: relative; justify-self: center; width: min(440px, 100%); aspect-ratio: 3 / 4; }
.hero-visual img {
  position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover;
  border-radius: 220px 220px 32px 32px; box-shadow: var(--shadow);
  transform: perspective(900px) rotateX(var(--ry, 0deg)) rotateY(var(--rx, 0deg));
  transition: transform 0.6s var(--ease);
}
.swirl {
  position: absolute; z-index: 0; width: 118%; aspect-ratio: 1; left: -9%; top: 6%;
  border-radius: 50%;
  background: repeating-conic-gradient(from 0deg, var(--tint-pink) 0 15deg, var(--tint-peach) 15deg 30deg, var(--tint-lemon) 30deg 45deg, var(--tint-mint) 45deg 60deg);
  mask: radial-gradient(circle, #000 0 58%, transparent 59% 62%, #000 63% 69%, transparent 70%);
  -webkit-mask: radial-gradient(circle, #000 0 58%, transparent 59% 62%, #000 63% 69%, transparent 70%);
  animation: spin 40s linear infinite;
}

/* ─── Marquee (singurul de pe pagină) ──────────────────────── */
.flavor-marquee {
  overflow: hidden; border-block: 2px solid var(--ink); background: var(--accent);
  color: var(--on-accent); padding: 18px 0; transform: rotate(-1.2deg); margin: 24px -12px 0;
}
.marquee-track { display: flex; width: max-content; gap: 48px; animation: marquee 38s linear infinite; }
.marquee-track span {
  font-family: var(--display); font-weight: 700; font-size: clamp(1.3rem, 2.6vw, 2rem);
  letter-spacing: -0.03em; white-space: nowrap; display: inline-flex; align-items: center; gap: 48px;
}
.marquee-track span::after {
  content: ''; width: 18px; height: 18px; border-radius: 50%;
  background: repeating-conic-gradient(var(--on-accent) 0 45deg, transparent 0 90deg);
}

/* ─── Colecții (bento) ─────────────────────────────────────── */
.collections { padding-top: 112px; padding-bottom: 40px; }
.collections h2 { margin-bottom: 36px; max-width: 16ch; }
.bento { display: grid; grid-template-columns: 1.3fr 1fr; grid-template-rows: 1fr 1fr; gap: 20px; min-height: 640px; }
.bento-cell {
  position: relative; overflow: hidden; border-radius: var(--r-card); text-decoration: none; color: var(--ink);
  display: flex; align-items: flex-end; isolation: isolate;
}
.bento-big { grid-row: span 2; }
.bento-cell img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1;
  transition: transform 0.9s var(--ease);
}
.bento-cell:hover img { transform: scale(1.06); }
.bento-copy {
  margin: 16px; padding: 16px 20px; border-radius: 18px;
  background: color-mix(in srgb, var(--surface) 86%, transparent);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  display: flex; flex-direction: column; gap: 2px;
}
.bento-copy h3 { font-size: 1.6rem; display: flex; align-items: center; gap: 10px; }
.bento-copy h3::after { content: '→'; font-family: var(--body); font-weight: 500; transition: transform 0.35s var(--ease); }
.bento-cell:hover .bento-copy h3::after { transform: translateX(6px); }
.bento-copy p { color: var(--ink-soft); font-size: 0.95rem; }

/* ─── Produse ──────────────────────────────────────────────── */
.featured { padding-top: 96px; padding-bottom: 24px; }
.featured-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 28px; }

.products-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; }

.products-rail {
  grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: minmax(270px, 300px);
  overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px 4px 22px; scrollbar-width: thin;
}
.products-rail .product-card { scroll-snap-align: start; }

.product-card {
  display: flex; flex-direction: column; background: var(--surface);
  border-radius: var(--r-card); border: 1px solid var(--line); overflow: hidden;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }

.product-image { position: relative; aspect-ratio: 4 / 5; overflow: hidden; }
.product-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.product-card:hover .product-image img { transform: scale(1.05) rotate(-1.5deg); }
.product-icon { display: grid; place-items: center; height: 100%; font-size: 4rem; }
.product-badge {
  position: absolute; top: 14px; left: 14px; padding: 5px 12px; border-radius: var(--r-btn, 999px);
  background: var(--surface); color: var(--ink); font-size: 0.78rem; font-weight: 600;
  box-shadow: var(--shadow-sm);
}

.product-body { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px 20px; flex: 1; }
.product-category { font-size: 0.82rem; font-weight: 600; color: var(--accent); }
.product-title { font-size: 1.3rem; }
.product-desc { font-size: 0.93rem; color: var(--ink-soft); }
.product-meta { display: flex; align-items: baseline; justify-content: space-between; margin-top: auto; padding-top: 10px; }
.product-price { font-family: var(--display); font-weight: 750; font-size: 1.7rem; letter-spacing: -0.03em; }
.product-price small { font-size: 0.55em; font-weight: 500; color: var(--ink-soft); }
.product-weight { font-size: 0.88rem; color: var(--ink-soft); }

.product-actions { display: flex; gap: 10px; margin-top: 10px; }
.qty-control {
  display: flex; align-items: center; border: 1.5px solid var(--line); border-radius: var(--r-btn, 999px); overflow: hidden;
}
.qty-btn { width: 36px; height: 44px; border: 0; background: transparent; font-size: 1.15rem; cursor: pointer; }
.qty-btn:hover { background: var(--tint-pink); }
.qty-input {
  width: 34px; height: 44px; border: 0; background: transparent; text-align: center; font-weight: 600;
  -moz-appearance: textfield; appearance: textfield;
}
.qty-input::-webkit-outer-spin-button, .qty-input::-webkit-inner-spin-button { -webkit-appearance: none; }
.btn-add-cart {
  flex: 1; height: 46px; border-radius: var(--r-btn, 999px); border: 0; cursor: pointer;
  background: var(--ink); color: var(--bg); font-family: var(--display); font-weight: 650;
  transition: background-color 0.25s, transform 0.35s var(--ease);
}
.btn-add-cart:hover { background: var(--accent); color: var(--on-accent); }
.btn-add-cart.added { background: #2f9e6f; color: #fffcfd; }

.food-info { margin-top: 6px; font-size: 0.86rem; color: var(--ink-soft); }
.food-info summary {
  cursor: pointer; font-weight: 600; color: var(--ink); list-style: none;
  display: inline-flex; align-items: center; gap: 6px;
}
.food-info summary::-webkit-details-marker { display: none; }
.food-info summary::before { content: '+'; display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--tint-pink); font-weight: 700; }
.food-info[open] summary::before { content: '−'; }
.food-info dl, .food-info-missing {
  margin-top: 8px; padding: 12px 14px; border-radius: var(--r-field); background: var(--bg); line-height: 1.5;
}
.food-info dt { font-weight: 700; color: var(--ink); margin-top: 6px; }
.food-info dt:first-child { margin-top: 0; }
.food-info dd strong { color: var(--ink); }

.no-products-message { grid-column: 1 / -1; text-align: center; padding: 60px 20px; color: var(--ink-soft); }

/* ─── Cum comanzi ──────────────────────────────────────────── */
.how { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 28px; padding-top: 112px; padding-bottom: 40px; align-items: stretch; }
.how-deal { border-radius: var(--r-card); padding: 40px; display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; min-height: 380px; position: relative; overflow: hidden; }
.how-deal::before {
  content: ''; position: absolute; width: 260px; aspect-ratio: 1; right: -70px; top: -70px; border-radius: 50%;
  background: repeating-conic-gradient(var(--accent) 0 20deg, transparent 0 40deg); opacity: 0.18;
  animation: spin 30s linear infinite;
}
.how-kicker { font-weight: 600; }
.how-price { font-family: var(--display); font-weight: 800; font-size: clamp(3rem, 7vw, 5.2rem); letter-spacing: -0.05em; line-height: 1; }
.how-price s { font-size: 0.42em; font-weight: 500; color: var(--ink-soft); margin-right: 8px; }
.how-steps { padding: 12px 8px; display: flex; flex-direction: column; justify-content: center; }
.how-steps ol { list-style: none; margin-top: 28px; display: grid; gap: 14px; counter-reset: s; }
.how-steps li {
  counter-increment: s; display: grid; grid-template-columns: 52px 1fr; gap: 16px; align-items: center;
  padding: 18px 20px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); font-size: 1.05rem;
}
.how-steps li::before {
  content: counter(s); width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--display); font-weight: 800; font-size: 1.3rem;
  background: var(--ink); color: var(--bg);
}

/* ─── Fotografie reală ─────────────────────────────────────── */
.real-photo { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 56px; align-items: center; padding-top: 112px; padding-bottom: 112px; }
.real-photo figure { border-radius: var(--r-card); overflow: hidden; box-shadow: var(--shadow); transform: rotate(-2deg); }
.real-photo img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.real-copy p { margin: 18px 0 28px; color: var(--ink-soft); font-size: 1.12rem; max-width: 46ch; }

/* ─── Pagini interioare ────────────────────────────────────── */
.page-head { padding-top: 64px; padding-bottom: 32px; }
.page-head h1 { font-size: clamp(2.4rem, 5.5vw, 4.2rem); letter-spacing: -0.045em; }
.page-head p { margin-top: 12px; font-size: 1.15rem; color: var(--ink-soft); max-width: 56ch; }
.category-pills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.pill {
  height: 42px; padding: 0 20px; display: inline-flex; align-items: center; border-radius: var(--r-btn, 999px);
  border: 1.5px solid var(--line); background: var(--surface); text-decoration: none; font-weight: 600;
  transition: background-color 0.2s, border-color 0.2s;
}
.pill:hover { border-color: var(--ink); }
.pill.is-active { background: var(--ink); border-color: var(--ink); color: var(--bg); }

.products-section { padding-bottom: 40px; }

.cta-band {
  margin-top: 64px; margin-bottom: 96px; padding-top: 56px; padding-bottom: 56px;
  max-width: 1232px; border-radius: var(--r-card); background: var(--tint-lemon);
  display: grid; grid-template-columns: 1fr auto; grid-template-areas: 't b' 'p b'; column-gap: 32px; align-items: center;
  padding-left: 48px; padding-right: 48px;
}
.cta-band h2 { grid-area: t; }
.cta-band p { grid-area: p; color: var(--ink-soft); margin-top: 8px; }
.cta-band .btn-primary { grid-area: b; }

/* Comandă */
.order-section-enhanced { padding-bottom: 96px; }
.order-container-enhanced { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 28px; align-items: start; }
.order-cart-card, .order-form-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); padding: 28px;
}
.order-cart-card { position: sticky; top: 92px; order: 2; }
.order-form-card { order: 1; }
.order-cart-card-title { font-size: 1.3rem; margin-bottom: 16px; }
.order-cart-item { display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 0.95rem; }
.order-item-left { display: flex; align-items: center; gap: 12px; }
.order-item-img { width: 48px; height: 48px; object-fit: cover; border-radius: 12px; }
.order-discount { color: #2f9e6f; font-weight: 600; }
.order-cart-total { display: flex; justify-content: space-between; padding-top: 14px; font-family: var(--display); font-weight: 750; font-size: 1.4rem; }
.order-form-header h2 { font-size: 1.6rem; }
.order-form-header p { color: var(--ink-soft); margin: 6px 0 22px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group-enhanced { display: flex; flex-direction: column; gap: 8px; }
.form-group-enhanced.full-width { grid-column: 1 / -1; }
.form-group-enhanced label { font-weight: 600; font-size: 0.95rem; }
.required { color: var(--accent); }
.form-group-enhanced input, .form-group-enhanced textarea {
  width: 100%; min-height: 50px; padding: 12px 16px; border-radius: var(--r-field);
  border: 1.5px solid var(--line); background: var(--bg); color: var(--ink);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-group-enhanced textarea { min-height: 110px; resize: vertical; }
.form-group-enhanced input::placeholder, .form-group-enhanced textarea::placeholder { color: var(--ink-soft); opacity: 0.85; }
.form-group-enhanced input:focus, .form-group-enhanced textarea:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 22%, transparent);
}
.field-invalid { border-color: var(--accent) !important; }
.payment-note-box { display: flex; flex-direction: column; padding: 16px 18px; border-radius: var(--r-field); background: var(--tint-mint); }
.payment-note-box span { color: var(--ink-soft); font-size: 0.93rem; }
.gdpr-check-enhanced { display: flex; gap: 12px; align-items: flex-start; margin-top: 22px; }
.gdpr-check-enhanced input { width: 22px; height: 22px; margin-top: 2px; accent-color: var(--accent); flex-shrink: 0; }
.gdpr-check-enhanced a, .order-privacy-note a { color: var(--accent); font-weight: 600; }
.btn-submit-enhanced { width: 100%; font-size: 1.1rem; }
.btn-submit-enhanced:disabled { opacity: 0.6; cursor: progress; }
.order-message { margin-top: 18px; }
.order-message.error, .order-message.success { padding: 16px 18px; border-radius: var(--r-field); }
.order-message.error { background: var(--tint-pink); border: 1.5px solid var(--accent); }
.order-message.success { background: var(--tint-mint); }
.order-message a { color: var(--accent); font-weight: 600; }

/* Contact */
.contact-section-enhanced { padding-bottom: 24px; }
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.contact-card-enhanced { padding: 28px; border-radius: var(--r-card); background: var(--surface); border: 1px solid var(--line); }
.contact-card-enhanced:nth-child(1) { background: var(--tint-peach); border-color: transparent; }
.contact-card-enhanced:nth-child(2) { background: var(--tint-mint); border-color: transparent; }
.contact-card-enhanced h3 { margin-bottom: 10px; }
.contact-card-enhanced a { font-family: var(--display); font-weight: 700; font-size: 1.25rem; text-decoration: none; }
.contact-card-enhanced small { display: block; margin-top: 6px; color: var(--ink-soft); font-size: 0.92rem; }
.faq-section { padding-top: 80px; padding-bottom: 112px; max-width: 880px; }
.faq-section .section-title { margin-bottom: 24px; }
.faq-container { display: grid; gap: 12px; }
.faq-item { border-radius: 20px; background: var(--surface); border: 1px solid var(--line); }
.faq-question {
  cursor: pointer; list-style: none; padding: 20px 24px; font-family: var(--display); font-weight: 650; font-size: 1.12rem;
  display: flex; justify-content: space-between; gap: 16px;
}
.faq-question::-webkit-details-marker { display: none; }
.faq-question::after { content: '+'; font-size: 1.4rem; line-height: 1; transition: transform 0.35s var(--ease); }
.faq-item[open] .faq-question::after { transform: rotate(45deg); }
.faq-answer { padding: 0 24px 22px; color: var(--ink-soft); }
.faq-answer a { color: var(--accent); font-weight: 600; }

/* Pagini legale */
.legal-content { max-width: 820px; padding-top: 56px; padding-bottom: 112px; }
.legal-content h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); letter-spacing: -0.04em; }
.legal-content .last-updated { color: var(--ink-soft); margin: 8px 0 32px; }
.legal-content h2 { font-size: 1.6rem; margin: 44px 0 14px; }
.legal-content h3 { font-size: 1.2rem; margin: 26px 0 10px; }
.legal-content p, .legal-content li { color: var(--ink); margin-bottom: 10px; }
.legal-content ul, .legal-content ol { padding-left: 22px; margin-bottom: 14px; }
.legal-content a { color: var(--accent); font-weight: 600; }
.company-info, .highlight-box, .success-box, .warning-box, .step-box, .form-box {
  padding: 22px 24px; border-radius: 20px; margin: 18px 0; border: 1px solid var(--line); background: var(--surface);
}
.company-info { background: var(--tint-peach); border-color: transparent; }
.company-info p { margin-bottom: 4px; }
.highlight-box { background: var(--tint-pink); border-color: transparent; }
.success-box { background: var(--tint-mint); border-color: transparent; }
.warning-box { background: var(--tint-lemon); border-color: transparent; }
.form-box { border-style: dashed; border-width: 2px; }
.data-table, .cookie-table { width: 100%; border-collapse: collapse; margin: 16px 0 22px; font-size: 0.95rem; overflow: hidden; border-radius: 16px; }
.data-table th, .cookie-table th { background: var(--ink); color: var(--bg); text-align: left; padding: 12px 14px; font-weight: 600; }
.data-table td, .cookie-table td { padding: 12px 14px; background: var(--surface); border-bottom: 1px solid var(--line); vertical-align: top; }
.cookie-reset-btn {
  min-height: 46px; padding: 0 22px !important; border-radius: var(--r-btn, 999px) !important; border: 2px solid var(--ink) !important;
  background: transparent !important; color: var(--ink) !important; font-weight: 600; cursor: pointer;
}

/* ─── Footer ───────────────────────────────────────────────── */
.site-footer {
  margin: 0 12px 12px; padding: 72px 36px 28px; border-radius: 32px;
  background: var(--tint-pink); color: var(--ink);
}
.footer-grid { max-width: 1232px; margin: 0 auto; display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand p { margin: 12px 0 18px; color: var(--ink-soft); max-width: 34ch; }
.site-footer h3 { font-size: 1rem; margin-bottom: 14px; }
.site-footer ul { list-style: none; display: grid; gap: 8px; }
.site-footer ul a { text-decoration: none; }
.site-footer ul a:hover { text-decoration: underline; text-underline-offset: 3px; }
.social-links { display: flex; flex-wrap: wrap; gap: 8px; }
.social-links a {
  height: 38px; padding: 0 16px; display: inline-flex; align-items: center; border-radius: var(--r-btn, 999px);
  border: 1.5px solid var(--ink); text-decoration: none; font-weight: 600; font-size: 0.9rem;
}
.social-links a:hover { background: var(--ink); color: var(--tint-pink); }

.footer-legal {
  max-width: 1232px; margin: 48px auto 0; padding-top: 28px; border-top: 1px solid color-mix(in srgb, var(--ink) 15%, transparent);
  display: flex; flex-wrap: wrap; gap: 14px; align-items: center;
}
.legal-link {
  display: inline-flex; align-items: center; justify-content: center; text-decoration: none;
  width: 250px; height: 50px; border-radius: 10px; background: #fffcfd; overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.legal-link img { height: 50px; width: auto; }
.legal-sal { flex-direction: row; gap: 10px; background: #1f4e96; color: #fffcfd; }
.legal-sal .legal-text { font-family: var(--display); font-weight: 800; font-size: 1.4rem; letter-spacing: 0.04em; }
.legal-sal small { font-size: 0.7rem; line-height: 1.15; max-width: 130px; }
.footer-legal-text { max-width: 1232px; margin: 18px auto 0; font-size: 0.85rem; color: var(--ink-soft); }
.footer-copyright { max-width: 1232px; margin: 6px auto 0; font-size: 0.85rem; color: var(--ink-soft); }

/* ─── Coș lateral ──────────────────────────────────────────── */
.cart-overlay {
  position: fixed; inset: 0; z-index: 60; background: rgba(43, 22, 48, 0.45);
  opacity: 0; visibility: hidden; transition: opacity 0.35s, visibility 0.35s;
}
.cart-overlay.active { opacity: 1; visibility: visible; }
.cart-sidebar {
  position: fixed; top: 10px; right: 10px; bottom: 10px; z-index: 70; width: min(440px, calc(100vw - 20px));
  display: flex; flex-direction: column; background: var(--surface); border-radius: 28px; box-shadow: var(--shadow);
  transform: translateX(calc(100% + 24px)); transition: transform 0.55s var(--ease);
}
.cart-sidebar.active { transform: none; }
.cart-header { display: flex; justify-content: space-between; align-items: center; padding: 22px 24px; border-bottom: 1px solid var(--line); }
.cart-title { font-size: 1.5rem; }
.cart-close { width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--tint-pink); cursor: pointer; font-size: 1rem; }
.cart-items { flex: 1; overflow-y: auto; padding: 12px 24px; }
.cart-empty { text-align: center; padding: 48px 0; color: var(--ink-soft); }
.cart-item { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.cart-item-image img { width: 64px; height: 64px; object-fit: cover; border-radius: 14px; }
.cart-item-name { font-weight: 700; }
.cart-item-meta { font-size: 0.85rem; color: var(--ink-soft); }
.cart-item-discount-badge { font-size: 0.8rem; font-weight: 600; color: #2f9e6f; }
.cart-item-actions { display: flex; align-items: center; gap: 10px; margin-top: 6px; }
.cart-qty-control { display: flex; align-items: center; border: 1.5px solid var(--line); border-radius: var(--r-btn, 999px); }
.cart-qty-btn { width: 30px; height: 30px; border: 0; background: transparent; cursor: pointer; }
.cart-qty-value { min-width: 22px; text-align: center; font-weight: 600; }
.cart-item-remove { border: 0; background: none; color: var(--ink-soft); text-decoration: underline; cursor: pointer; font-size: 0.85rem; }
.cart-item-price { font-weight: 700; text-align: right; }
.price-original { color: var(--ink-soft); text-decoration: line-through; font-weight: 400; font-size: 0.85rem; }
.cart-discount-progress { margin-top: 14px; padding: 14px; border-radius: var(--r-field); background: var(--tint-lemon); font-size: 0.9rem; }
.cart-footer { padding: 18px 24px 24px; border-top: 1px solid var(--line); }
.cart-summary-row { display: flex; justify-content: space-between; padding: 4px 0; color: var(--ink-soft); }
.cart-summary-row.discount { color: #2f9e6f; font-weight: 600; }
.cart-summary-row.total { color: var(--ink); font-family: var(--display); font-weight: 750; font-size: 1.35rem; padding-top: 10px; }
.payment-note { font-size: 0.88rem; color: var(--ink-soft); margin: 12px 0 14px; }
.btn-checkout { width: 100%; }
.btn-checkout:disabled { opacity: 0.45; cursor: not-allowed; box-shadow: none; }

/* ─── Mesaj stocare ────────────────────────────────────────── */
.cookie-banner {
  position: fixed; left: 16px; bottom: 16px; z-index: 50; width: min(420px, calc(100vw - 32px));
  padding: 20px 22px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line);
  box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(16px);
  transition: opacity 0.35s, transform 0.5s var(--ease), visibility 0.35s;
}
.cookie-banner.active { opacity: 1; visibility: visible; transform: none; }
.cookie-divider { display: none; }
.cookie-header { display: flex; align-items: center; gap: 10px; }
.cookie-title { font-size: 1.1rem; }
.cookie-text { font-size: 0.9rem; color: var(--ink-soft); margin: 8px 0 14px; }
.cookie-text a { color: var(--accent); font-weight: 600; }
.cookie-btn { height: 44px; padding: 0 22px; border-radius: var(--r-btn, 999px); border: 0; background: var(--ink); color: var(--bg); font-weight: 600; cursor: pointer; }

/* ─── Popup-uri (validare + succes) ajustări ───────────────── */
.success-popup, .validation-popup { color: #2b1630; }

/* ─── Animații ─────────────────────────────────────────────── */
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes bump { 0% { transform: scale(1); } 40% { transform: scale(1.35); } 100% { transform: scale(1); } }

.js [data-reveal] {
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.9s var(--ease);
  transition-delay: calc(var(--i, 0) * 90ms);
}
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* Spirala din hero se rotește și cu scroll-ul, unde browserul permite */
@supports (animation-timeline: scroll()) {
  .swirl { animation: spin linear both; animation-timeline: scroll(root); animation-range: 0 120vh; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
  .marquee-track { flex-wrap: wrap; width: auto; justify-content: center; row-gap: 8px; }
  .marquee-track span[aria-hidden] { display: none; }
}

/* ─── Responsive ───────────────────────────────────────────── */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .order-container-enhanced { grid-template-columns: 1fr; }
  .order-cart-card { position: static; order: 0; }
}

@media (max-width: 860px) {
  .mobile-menu-btn { display: inline-grid; place-items: center; }
  .site-header nav { position: absolute; top: 100%; left: 0; right: 0; }
  .nav-links {
    flex-direction: column; align-items: stretch; gap: 2px; padding: 12px 16px 20px;
    background: var(--surface); border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    display: none;
  }
  .nav-links.mobile-open { display: flex; }
  .nav-links a { height: 48px; }
  .dropdown-menu { position: static; box-shadow: none; border: 0; padding: 0 0 0 12px; display: none; opacity: 1; visibility: visible; transform: none; }
  .dropdown.dropdown-open .dropdown-menu { display: block; }

  .hero { grid-template-columns: 1fr; min-height: 0; gap: 32px; padding-top: 28px; }
  .hero-visual { width: min(340px, 86%); }
  .bento { grid-template-columns: 1fr; grid-template-rows: none; min-height: 0; }
  .bento-cell { min-height: 360px; }
  .bento-big { grid-row: auto; min-height: 460px; }
  .how, .real-photo { grid-template-columns: 1fr; gap: 32px; }
  .collections, .featured, .how, .real-photo { padding-top: 72px; }
  .real-photo { padding-bottom: 72px; }
  .contact-grid { grid-template-columns: 1fr; }
  .cta-band { grid-template-columns: 1fr; grid-template-areas: 't' 'p' 'b'; padding: 36px 24px; margin-left: 16px; margin-right: 16px; }
  .cta-band .btn-primary { margin-top: 20px; justify-self: start; }
}

@media (max-width: 640px) {
  .header-main, .hero, .collections, .featured, .how, .real-photo, .products-section, .page-head,
  .order-section-enhanced, .contact-section-enhanced, .faq-section, .legal-content { padding-left: 16px; padding-right: 16px; }
  .header-main { gap: 12px; }
  .promo-bar { font-size: 0.78rem; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .site-footer { padding: 48px 20px 24px; margin: 0 8px 8px; border-radius: 24px; }
  .how-deal { padding: 28px; min-height: 300px; }
  .order-cart-card, .order-form-card { padding: 20px; }
  .data-table, .cookie-table { display: block; overflow-x: auto; }
}
