/* ═══════════════════════════════════════════════════════════════
   BOMBOANA - CARDURI „ETICHETĂ DE BOMBOANE DE ODINIOARĂ”
   Se încarcă după candy.css. Pagina rămâne pastel; doar cardurile
   primesc rame aurii cu filigran, ca etichetele vechi de confiserie.
   Regulă de formă: cardurile-etichetă au colțuri drepte (rama),
   butoanele și pastilele rămân rotunjite.
═══════════════════════════════════════════════════════════════ */

:root {
  --gold: #b8862f;
  --label: 'Yeseva One', Georgia, serif;
  --frame: url('../images/ornaments/frame.svg');
}
:root[data-theme="dark"] { --gold: #d4a64a; }

/* ─── Rama cu filigran ─────────────────────────────────────── */
.product-card, .bento-copy, .how-steps li, .cta-band, .order-cart-card, .order-form-card,
.contact-card-enhanced, .faq-item, .company-info, .form-box, .cookie-banner {
  border: 22px solid transparent;
  border-image: var(--frame) 40 / 22px / 0 stretch;
  border-radius: 0;
  background-clip: padding-box;
}

/* ─── Cardul de produs ca etichetă ─────────────────────────── */
.product-card { padding: 0; background-color: var(--surface); }
.product-card:hover { transform: translateY(-4px) rotate(-0.4deg); box-shadow: none; filter: drop-shadow(0 14px 22px rgba(120, 30, 70, 0.18)); }
.product-image { box-shadow: inset 0 0 0 1px var(--line); }
.product-badge {
  top: 10px; left: 10px; border-radius: 0; background: var(--accent); color: var(--on-accent);
  font-family: var(--label); font-weight: 400; font-size: 0.85rem; padding: 4px 12px 5px;
  box-shadow: inset 0 0 0 2px var(--accent), inset 0 0 0 3px var(--on-accent);
}
.product-body { text-align: center; align-items: center; padding: 16px 6px 6px; }
.product-category { font-style: italic; color: var(--gold); font-weight: 500; }
.product-title, .product-price, .bento-copy h3 {
  font-family: var(--label); font-weight: 400; font-synthesis: none; letter-spacing: 0;
}
.product-title { font-size: 1.45rem; }
.product-meta { width: 100%; border-top: 1px dashed var(--line); }
.product-price { color: var(--accent); font-size: 1.8rem; }
.product-actions { width: 100%; }
.food-info { text-align: left; width: 100%; }
.food-info summary { justify-content: center; width: 100%; }
.food-info summary::before { background: transparent; box-shadow: 0 0 0 1px var(--gold); color: var(--gold); }

/* ─── Celelalte carduri ────────────────────────────────────── */
.bento-copy {
  margin: 14px; padding: 4px 12px; background: var(--surface);
  backdrop-filter: none; -webkit-backdrop-filter: none; align-items: center; text-align: center;
}
.bento-copy h3 { font-size: 1.75rem; }
.bento-copy h3::after { content: none; }
.how-steps li { background: var(--surface); padding: 4px 8px; }
.how-steps li::before { box-shadow: 0 0 0 2px var(--surface), 0 0 0 3.5px var(--gold); }
.cta-band { background: var(--tint-lemon); padding: 30px 26px; }
.order-cart-card, .order-form-card, .contact-card-enhanced, .faq-item { padding: 8px 10px; }
.company-info { padding: 4px 12px; }
.cookie-banner { padding: 4px 12px; }

/* ─── Sigiliul din hero (medalion de etichetă) ─────────────── */
.seal { position: absolute; z-index: 2; width: 136px; height: 136px; right: -30px; bottom: 56px; color: var(--accent); }
.seal svg { width: 100%; height: 100%; animation: spin 26s linear infinite; }
.seal-core {
  position: absolute; inset: 30px; border-radius: 50%; display: grid; place-items: center; text-align: center;
  background: var(--accent); color: var(--on-accent); font-family: var(--label); font-size: 1.05rem; line-height: 1.05;
  box-shadow: inset 0 0 0 3px var(--accent), inset 0 0 0 4px var(--on-accent), var(--shadow-sm);
}

@media (max-width: 860px) {
  .seal { width: 104px; height: 104px; right: -12px; bottom: 40px; }
  .seal-core { inset: 23px; font-size: 0.85rem; }
}
@media (max-width: 640px) {
  .product-card, .bento-copy, .how-steps li, .cta-band, .order-cart-card, .order-form-card,
  .contact-card-enhanced, .faq-item, .company-info, .form-box, .cookie-banner {
    border-width: 16px; border-image-width: 16px;
  }
  .product-image { aspect-ratio: 1 / 1; }
}

/* ─── Brand Sofy's Sweets ──────────────────────────────────── */
.logo { gap: 10px; align-items: center; font-size: 1.45rem; }
.logo img { width: 44px; height: 44px; flex-shrink: 0; transition: transform 0.6s var(--ease); }
.logo:hover img { transform: rotate(-12deg) scale(1.06); }
.site-footer .logo img { width: 64px; height: 64px; }

.hero-visual img.seal-logo {
  position: absolute; z-index: 2; width: 170px; height: 170px; right: -46px; bottom: 36px;
  object-fit: contain; border-radius: 50%; box-shadow: none; border: 0;
  filter: drop-shadow(0 10px 18px rgba(120, 30, 70, 0.28));
  animation: seal-float 6s ease-in-out infinite;
}
@keyframes seal-float {
  0%, 100% { transform: rotate(-8deg) translateY(0); }
  50% { transform: rotate(4deg) translateY(-8px); }
}
@media (max-width: 860px) {
  .hero-visual img.seal-logo { width: 120px; height: 120px; right: -14px; bottom: 24px; }
}
@media (max-width: 640px) {
  .logo span { font-size: 1.2rem; }
  .logo img { width: 38px; height: 38px; }
}

/* ═══════════════════════════════════════════════════════════════
   HERO „ZĂPĂCIT”: stickere cu bomboane, ornamente, cuvinte care sar.
   --mx / --my vin din motion.js (poziția cursorului, -0.5 ... 0.5);
   fiecare element se mișcă proporțional cu adâncimea lui (--d).
═══════════════════════════════════════════════════════════════ */
:root { --mx: 0; --my: 0; --s1: #ff5c93; --s2: #ffad3b; --s3: #4fcf9c; --s4: #ffd447; --s5: #74bfff; --spring: cubic-bezier(0.34, 1.56, 0.64, 1); }

.hero-crazy { position: relative; isolation: isolate; --mx: 0; --my: 0; }

.sprinkles { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: clip; }
.sp {
  position: absolute; left: var(--x); top: var(--y); width: 32px; height: 11px; border-radius: 99px;
  background: var(--c); opacity: 0.9; rotate: var(--r);
  translate: calc(var(--mx) * var(--d) * 1.6px) calc(var(--my) * var(--d) * 1.6px);
  transition: translate 0.7s var(--ease);
  animation: sp-float var(--t) ease-in-out infinite;
}
.sp-dot { width: 16px; height: 16px; border-radius: 50%; }
@keyframes sp-float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-16px) rotate(30deg); }
}

/* Titlul: fiecare cuvânt sare pe rând, apoi se zgâlțâie la hover */
.hero-crazy h1 .w {
  display: inline-block;
  animation: word-pop 0.9s var(--spring) both;
  animation-delay: calc(var(--i) * 90ms + 150ms);
}
.hero-crazy h1 .w:hover { animation: word-wobble 0.6s ease-in-out; }
.hero-crazy h1 .wiggle {
  text-decoration: underline wavy var(--accent);
  text-decoration-thickness: 3px; text-underline-offset: 12px; text-decoration-skip-ink: none;
}
@keyframes word-pop {
  0% { opacity: 0; transform: translateY(46px) rotate(-10deg) scale(0.6); }
  60% { opacity: 1; transform: translateY(-8px) rotate(3deg) scale(1.06); }
  100% { opacity: 1; transform: none; }
}
@keyframes word-wobble {
  0%, 100% { transform: rotate(0); }
  25% { transform: rotate(-6deg) scale(1.08); }
  50% { transform: rotate(5deg) scale(1.08); }
  75% { transform: rotate(-3deg); }
}

/* Spirala din spate: mentă roz-albă, mai vie */
.hero-crazy .swirl {
  width: 135%; left: -17%; top: 0;
  background: repeating-conic-gradient(from 0deg, color-mix(in srgb, var(--s1) 55%, transparent) 0 12deg, color-mix(in srgb, var(--surface) 80%, transparent) 12deg 24deg);
  -webkit-mask: radial-gradient(circle, #000 0 62%, transparent 63%);
  mask: radial-gradient(circle, #000 0 62%, transparent 63%);
  opacity: 0.55;
}

/* Stickerele cu alte bomboane */
.hero-sticker {
  position: absolute; z-index: 1; width: 36%; aspect-ratio: 3 / 4; display: block;
  border: 6px solid var(--surface); border-radius: 18px; overflow: hidden;
  box-shadow: var(--shadow);
  translate: calc(var(--mx) * var(--d) * 1px) calc(var(--my) * var(--d) * 1px);
  transition: translate 0.7s var(--ease), scale 0.35s var(--spring);
  animation: sticker-bob 7s ease-in-out infinite;
}
.hero-sticker img, .hero-visual .hero-sticker img {
  width: 100%; height: 100%; object-fit: cover;
  border: 0; border-radius: 0; box-shadow: none; transform: none;
}
.hero-sticker:hover { scale: 1.1; z-index: 4; }
.hs-1 { left: -24%; top: 4%; rotate: -14deg; }
.hs-2 { right: -26%; top: -6%; rotate: 13deg; animation-delay: -2.4s; width: 30%; }
.hs-3 { left: -18%; bottom: 2%; rotate: 9deg; animation-delay: -4.6s; width: 32%; }
@keyframes sticker-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}
.hero-visual img.hero-main { position: relative; z-index: 2; }
.hero-visual img.seal-logo { z-index: 3; }

@media (max-width: 860px) {
  .hero-sticker { width: 30%; border-width: 4px; border-radius: 14px; }
  .hs-1 { left: -12%; }
  .hs-2 { right: -12%; width: 26%; }
  .hs-3 { left: -8%; width: 28%; }
  .sp:nth-child(3n) { display: none; }
  .sp { opacity: 0.5; }
  .hero-visual img.seal-logo { right: 0; bottom: 18px; }
}

/* Textul din hero apare la încărcare, fără să aștepte scroll-ul */
.pop-in { animation: rise-in 0.8s var(--ease) both; animation-delay: calc(var(--i) * 90ms + 200ms); }
@keyframes rise-in { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }


/* ═══════════════════════════════════════════════════════════════
   TOT SITE-UL „NEBUNESC DRĂGUȚ” (în stilul hero-ului)
═══════════════════════════════════════════════════════════════ */

/* Ornamente în orice secțiune marcată cu data-sprinkles */
[data-sprinkles] { position: relative; isolation: isolate; }
[data-sprinkles] > .sprinkles .sp { opacity: 0.7; }

/* Titluri care sar cuvânt cu cuvânt când intră în ecran */
[data-bounce] .w { display: inline-block; }
.js [data-bounce]:not(.is-in) .w { opacity: 0; transform: translateY(30px) rotate(-8deg) scale(0.7); }
[data-bounce].is-in .w {
  animation: word-pop 0.85s var(--spring) both;
  animation-delay: calc(var(--i) * 80ms);
}
[data-bounce] .w:hover { animation: word-wobble 0.6s ease-in-out; }
h1 .wiggle, h2 .wiggle {
  font-style: italic; color: var(--accent);
  text-decoration: underline wavy var(--accent);
  text-decoration-thickness: 3px; text-underline-offset: 10px; text-decoration-skip-ink: none;
  padding-bottom: 4px;
}

/* Capetele paginilor: stickere cu bomboane în dreapta */
.crazy-head { position: relative; padding-right: 380px; min-height: 300px; }
.head-stickers { position: absolute; right: 24px; top: 30px; width: 340px; height: 280px; }
.head-stickers .hero-sticker { width: 150px; }
.ph-1 { left: 30px; top: 6px; rotate: -10deg; }
.ph-2 { right: 10px; top: 40px; rotate: 12deg; animation-delay: -2.6s; }
.ph-3 { left: 120px; top: 120px; rotate: -4deg; animation-delay: -4.8s; width: 130px !important; }

/* Carduri care se zgâlțâie la hover */
.product-card:hover { animation: card-jiggle 0.55s var(--spring); }
.product-card:hover .product-image img { transform: scale(1.08) rotate(-5deg); }
@keyframes card-jiggle {
  0% { transform: translateY(0) rotate(0); }
  35% { transform: translateY(-8px) rotate(-1.6deg); }
  65% { transform: translateY(-5px) rotate(1.2deg); }
  100% { transform: translateY(-4px) rotate(-0.4deg); }
}

.bento-cell:nth-child(1) { rotate: -0.8deg; }
.bento-cell:nth-child(2) { rotate: 1deg; }
.bento-cell:nth-child(3) { rotate: -1.2deg; }
.bento-cell { transition: rotate 0.5s var(--spring), scale 0.5s var(--spring); }
.bento-cell:hover { rotate: 0deg; scale: 1.02; }

.how-steps li:nth-child(odd) { rotate: -0.8deg; }
.how-steps li:nth-child(even) { rotate: 0.8deg; }
.how-steps li { transition: rotate 0.4s var(--spring), scale 0.4s var(--spring); }
.how-steps li:hover { rotate: 0deg; scale: 1.03; }
.how-steps li.is-in::before { animation: medal-pop 0.7s var(--spring) both; animation-delay: calc(var(--i, 0) * 90ms + 150ms); }
@keyframes medal-pop { 0% { transform: scale(0) rotate(-90deg); } 100% { transform: none; } }

.how-price { display: inline-block; animation: price-wobble 4s ease-in-out infinite; transform-origin: left bottom; }
@keyframes price-wobble {
  0%, 82%, 100% { transform: rotate(0); }
  86% { transform: rotate(-4deg) scale(1.05); }
  90% { transform: rotate(3deg) scale(1.05); }
  94% { transform: rotate(-1deg); }
}

/* Fotografia reală, lipită cu bandă adezivă roz */
.real-photo figure { position: relative; overflow: visible; transition: rotate 0.5s var(--spring); }
.real-photo figure:hover { rotate: 2deg; }
.real-photo figure::before {
  content: ''; position: absolute; z-index: 2; top: -14px; left: 50%; width: 120px; height: 30px;
  translate: -50% 0; rotate: -4deg;
  background: repeating-linear-gradient(45deg, color-mix(in srgb, var(--s1) 55%, transparent) 0 8px, color-mix(in srgb, var(--surface) 60%, transparent) 8px 16px);
}
.real-photo figure img { border-radius: 14px; }

/* Contact și FAQ: aceleași înclinări jucăușe */
.contact-card-enhanced:nth-child(1) { rotate: -1deg; }
.contact-card-enhanced:nth-child(3) { rotate: 1deg; }
.contact-card-enhanced { transition: rotate 0.4s var(--spring); }
.contact-card-enhanced:hover { rotate: 0deg; }

/* Butoane cu arc */
.btn-primary, .btn-ghost, .cta-btn, .btn-checkout, .btn-add-cart, .pill {
  transition: transform 0.45s var(--spring), background-color 0.25s, color 0.25s, box-shadow 0.35s var(--ease);
}
.btn-primary:hover, .btn-ghost:hover, .pill:hover { transform: translateY(-3px) rotate(-1.5deg); }
.btn-add-cart:hover { transform: scale(1.05) rotate(-1deg); }

/* Confetti la „Adaugă” */
.burst {
  position: fixed; z-index: 95; width: 12px; height: 5px; border-radius: 99px; pointer-events: none;
  background: var(--c); rotate: var(--r);
  animation: burst-out 0.75s cubic-bezier(0.2, 0.8, 0.3, 1) forwards;
}
.burst-dot { width: 8px; height: 8px; border-radius: 50%; }
@keyframes burst-out {
  0% { transform: translate(-50%, -50%) scale(0.4); opacity: 1; }
  100% { transform: translate(calc(-50% + var(--tx)), calc(-50% + var(--ty) + 30px)) scale(1); opacity: 0; }
}

/* Footer cu ornamente */
.site-footer { position: relative; isolation: isolate; overflow: hidden; }

@media (max-width: 1024px) {
  .crazy-head { padding-right: 24px; min-height: 0; }
  .head-stickers { position: relative; right: auto; top: auto; width: 300px; height: 200px; margin-top: 20px; }
  .head-stickers .hero-sticker { width: 120px; }
}
@media (max-width: 640px) {
  .crazy-head { padding-right: 16px; }
  .head-stickers { display: none; }
  .bento-cell:nth-child(n) { rotate: 0deg; }
}

/* ─── Pictograma ANPC SAL (ca pe 82design / zemos) ─────────────
   Ordinul ANPC 449/2022, modificat prin Ordinul 270/2026: pictograma SAL
   250 x 50 px, cu link spre https://reclamatiisal.anpc.ro. Pictograma SOL
   nu se mai afișează (platforma SOL/ODR a fost închisă la 20 iulie 2025).
   Desenul oficial are raportul ~4:1; îl păstrăm nedeformat în caseta 250 x 50. */
.anpc-compliance { line-height: 0; }
.anpc-compliance__link {
  display: inline-block; border-radius: 10px;
  transition: transform 200ms ease, filter 200ms ease;
}
.anpc-compliance__link:hover { transform: translateY(-1px); filter: brightness(1.04); }
.anpc-compliance__img {
  display: block; width: 250px; height: 50px; max-width: none;
  object-fit: contain; object-position: left center;
}
@media (max-width: 640px) {
  .anpc-compliance { justify-content: center; }
  .anpc-compliance__img { object-position: center; }
}

/* ─── Date de facturare în formularul de comandă ───────────── */
.billing-box { padding: 18px 18px 6px; border-radius: var(--r-field, 14px); background: var(--bg); border: 1.5px dashed var(--line); }
.billing-title { font-family: var(--display); font-weight: 700; font-size: 1.1rem; margin-bottom: 10px; }
.billing-toggle { display: flex; align-items: flex-start; gap: 12px; cursor: pointer; font-weight: 600; }
.billing-toggle input { width: 22px; height: 22px; margin-top: 1px; accent-color: var(--accent); flex-shrink: 0; }
.billing-toggle small { font-weight: 400; color: var(--ink-soft); }
.billing-same { margin: 8px 0 12px 34px; font-size: 0.92rem; color: var(--ink-soft); }
.billing-fields { margin-top: 16px; animation: billing-open 0.45s var(--ease) both; }
@keyframes billing-open { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.billing-type { display: inline-flex; gap: 6px; padding: 5px; border-radius: 999px; background: var(--surface); border: 1.5px solid var(--line); margin-bottom: 16px; flex-wrap: wrap; }
.billing-type-opt { position: relative; cursor: pointer; }
.billing-type-opt input { position: absolute; opacity: 0; pointer-events: none; }
.billing-type-opt span { display: inline-flex; align-items: center; height: 40px; padding: 0 18px; border-radius: 999px; font-weight: 600; transition: background-color 0.25s, color 0.25s; }
.billing-type-opt input:checked + span { background: var(--accent); color: var(--on-accent); }
.billing-type-opt input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
.billing-grid { margin-bottom: 12px; }
[data-for][hidden] { display: none !important; }
@media (max-width: 640px) {
  .billing-type { display: flex; border-radius: 18px; }
  .billing-type-opt { flex: 1; }
  .billing-type-opt span { width: 100%; justify-content: center; padding: 0 10px; }
}

/* ═══════════════════════════════════════════════════════════════
   POZE REALE: hero cu acadeaua decupată + secțiunea „Din atelier”
   (inspirat de compoziția „titlu în centru, poze împrăștiate în jur”)
═══════════════════════════════════════════════════════════════ */
.hero-visual img.hero-main.is-cutout {
  object-fit: contain; padding: 34px 48px 0;
  background:
    radial-gradient(circle at 50% 28%, #fffcfd 0, var(--tint-pink) 42%, var(--tint-peach) 100%);
}
.hero-sticker.is-cutout, .snap.is-cutout { background: var(--tint-mint); }
.hero-sticker.is-cutout img, .snap.is-cutout img { object-fit: contain !important; padding: 10px; }

.atelier {
  position: relative; isolation: isolate; max-width: 1280px; min-height: 900px;
  margin: 56px auto 0; padding: 120px 24px; display: grid; place-items: center;
}
.atelier::before {
  content: ''; position: absolute; inset: 0 12px; z-index: -2; border-radius: 44px;
  background:
    radial-gradient(60% 50% at 20% 20%, color-mix(in srgb, var(--tint-peach) 80%, transparent), transparent 70%),
    radial-gradient(60% 60% at 85% 80%, color-mix(in srgb, var(--tint-mint) 70%, transparent), transparent 70%),
    var(--tint-pink);
}
.atelier-copy { position: relative; z-index: 2; max-width: 540px; text-align: center; }
.atelier-copy h2 { font-size: clamp(2.3rem, 5vw, 4rem); line-height: 1.05; }
.atelier-copy p { margin: 18px auto 28px; color: var(--ink-soft); font-size: 1.15rem; max-width: 44ch; }

.snap {
  position: absolute; z-index: 1; margin: 0; overflow: hidden;
  border: 6px solid var(--surface); border-radius: 22px; background: var(--tint-peach);
  box-shadow: var(--shadow);
  translate: calc(var(--mx) * var(--d) * 1px) calc(var(--my) * var(--d) * 1px);
  transition: translate 0.7s var(--ease), scale 0.4s var(--spring);
  animation: sticker-bob 8s ease-in-out infinite;
}
.snap:hover { scale: 1.06; z-index: 3; }
.snap img, .snap video { display: block; width: 100%; height: 100%; object-fit: cover; }
.s1 { left: 2%; top: 5%; width: 200px; aspect-ratio: 576 / 944; rotate: -7deg; }
.s2 { right: 3%; top: 3%; width: 230px; aspect-ratio: 3 / 4; rotate: 6deg; animation-delay: -2s; }
.s3 { left: 7%; bottom: 5%; width: 270px; aspect-ratio: 4 / 3; rotate: 5deg; animation-delay: -4s; }
.s4 { right: 5%; bottom: 4%; width: 190px; aspect-ratio: 576 / 960; rotate: -5deg; animation-delay: -1s; }
.s5 { left: 25%; top: 1%; width: 170px; aspect-ratio: 1; rotate: 9deg; animation-delay: -3s; }
.s6 { right: 25%; bottom: 0; width: 170px; aspect-ratio: 1; rotate: -9deg; animation-delay: -5s; }

@media (max-width: 1100px) {
  .s5, .s6 { display: none; }
  .s1 { width: 170px; } .s2 { width: 190px; } .s3 { width: 220px; } .s4 { width: 160px; }
}
@media (max-width: 860px) {
  .atelier { min-height: 0; padding: 56px 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; place-items: stretch; }
  .atelier::before { inset: 0 8px; border-radius: 30px; }
  .atelier-copy { grid-column: 1 / -1; margin-bottom: 16px; }
  .snap { position: relative; inset: auto; width: auto !important; translate: none; }
  .s5, .s6 { display: block; }
  .snap:nth-child(odd) { rotate: -2deg; }
  .snap:nth-child(even) { rotate: 2deg; }
}

/* ─── Funcția de retragere din contract ────────────────────── */
.withdraw-section .order-cart-card { order: 2; }
.field-help { display: block; color: var(--ink-soft); font-size: 0.85rem; line-height: 1.45; }
.hp-field { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.withdraw-summary { display: grid; grid-template-columns: max-content 1fr; gap: 8px 18px; margin: 4px 0 22px; padding: 18px; border-radius: var(--r-field, 14px); background: var(--bg); }
.withdraw-summary dt { color: var(--ink-soft); }
.withdraw-summary dd { margin: 0; font-weight: 700; white-space: pre-line; overflow-wrap: anywhere; }
.withdraw-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.withdraw-actions .btn-submit-enhanced { flex: 1 1 240px; width: auto; }
.withdraw-done { text-align: center; padding: 24px 6px; }
.withdraw-done h2 { font-size: 1.8rem; margin-bottom: 12px; }
.withdraw-done p { color: var(--ink-soft); margin-bottom: 22px; }
.withdraw-done strong { color: var(--ink); }
.withdraw-info ul { padding-left: 18px; display: grid; gap: 10px; font-size: 0.95rem; }
.withdraw-info a, .withdraw-alt a { color: var(--accent); font-weight: 600; }
.withdraw-alt { margin-top: 14px; font-size: 0.9rem; color: var(--ink-soft); }
.withdraw-cta { margin: 14px 0 20px; padding: 20px 22px; border-radius: 20px; background: var(--tint-pink); }
.withdraw-cta p { margin-bottom: 14px; }
.legal-content .withdraw-cta a.btn-primary { color: var(--on-accent); }
@media (max-width: 640px) {
  .withdraw-summary { grid-template-columns: 1fr; gap: 2px; }
  .withdraw-summary dd { margin-bottom: 8px; }
}
.form-group-enhanced[hidden], .billing-fields[hidden], #wStep1[hidden], #wStep2[hidden], #wDone[hidden] { display: none !important; }

/* ═══════════════════════════════════════════════════════════════
   CORECTURI DIN AUDIT (accesibilitate, contrast, robustețe)
═══════════════════════════════════════════════════════════════ */
:root { --gold-text: #8a6420; --ok: #1f7a52; --field-border: #b98ea0; }
:root[data-theme="dark"] { --gold-text: #d4a64a; --ok: #6fd3a8; --field-border: #7a5f80; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}

/* Antetul fix nu mai acoperă elementele la care se sare cu Tab sau cu ancore */
html { scroll-padding-top: 88px; }

/* Contrast (WCAG AA) */
.product-category { color: var(--gold-text); }
.cart-summary-row.discount, .cart-item-discount-badge, .order-discount { color: var(--ok); }
.btn-add-cart.added { background: var(--ok); color: #fffcfd; }
.order-message.error a, .highlight-box a, .withdraw-cta p a, .tint-pink a:not(.btn-primary) { color: var(--accent-strong); }
.form-group-enhanced input::placeholder, .form-group-enhanced textarea::placeholder { opacity: 1; }
.form-group-enhanced input, .form-group-enhanced textarea, .qty-control, .cart-qty-control, .billing-type { border-color: var(--field-border); }
.price-original { color: var(--ink-soft); }
.unit-price { display: block; font-size: 0.78rem; color: var(--ink-soft); text-align: right; }
.order-empty { color: var(--ink-soft); font-style: italic; }
.order-empty a { color: var(--accent); font-weight: 600; }
.food-info summary { min-height: 28px; }

/* Coșul închis nu mai poate primi focus și nu intră sub bannerul de cookies */
.cart-sidebar { visibility: hidden; bottom: calc(10px + var(--cc-banner-height, 0px)); transition: transform 0.55s var(--ease), visibility 0s linear 0.55s; }
.cart-sidebar.active { visibility: visible; transition: transform 0.55s var(--ease), visibility 0s; }
body.cart-open .cc__fab { display: none; }

/* Butonul „Oprește animațiile” din bara de sus */
.motion-toggle {
  margin-left: 12px; padding: 2px 10px; border-radius: 999px; border: 1px solid color-mix(in srgb, var(--bg) 55%, transparent);
  background: transparent; color: var(--bg); font: inherit; font-size: 0.78rem; cursor: pointer; white-space: nowrap;
}
.motion-toggle:hover { background: color-mix(in srgb, var(--bg) 15%, transparent); }
.motion-toggle:focus-visible { outline: 2px solid var(--tint-lemon); outline-offset: 2px; }
.paused *, .paused *::before, .paused *::after { animation-play-state: paused !important; }
.paused .hero-sticker, .paused .snap, .paused .sp { transition: none !important; }

/* Dacă motion.js nu se încarcă, nimic nu rămâne invizibil (apare după 3 s) */
@keyframes reveal-fallback { to { opacity: 1; transform: none; } }
.js [data-reveal]:not(.is-in), .js [data-bounce]:not(.is-in) .w { animation: reveal-fallback 0.4s ease 3s forwards; }

/* Bifa din fereastra de succes e vizibilă și fără animații */
@media (prefers-reduced-motion: reduce) {
  .check-circle, .check-path { stroke-dashoffset: 0 !important; }
}
.paused .check-circle, .paused .check-path { stroke-dashoffset: 0 !important; }

@media (max-width: 640px) {
  .motion-toggle { display: block; margin: 6px auto 0; }
}
.promo-bar { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 4px 12px; }
.promo-bar p { margin: 0; }
.motion-toggle { margin-left: 0; }
@media (max-width: 640px) { .motion-toggle { margin: 0; } }

/* ─── Formularul de contact ────────────────────────────────── */
.contact-form-section { max-width: 880px; margin: 56px auto 0; padding: 0 24px; }
.form-group-enhanced select {
  width: 100%; min-height: 50px; padding: 12px 16px; border-radius: var(--r-field, 14px);
  border: 1.5px solid var(--field-border); background: var(--surface); color: var(--ink); font: inherit;
}
.form-group-enhanced select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 22%, transparent); }
.contact-form-card .order-privacy-note { font-size: 0.88rem; color: var(--ink-soft); margin: 14px 0 18px; }
.contact-form-card .order-privacy-note a { color: var(--accent); font-weight: 600; }
@media (max-width: 640px) { .contact-form-section { padding: 0 16px; } }

/* ─── Semnătura 82design în subsol ─────────────────────────── */
.footer-credit { max-width: 1232px; margin: 14px auto 0; text-align: center; font-size: 0.85rem; }
.footer-credit a {
  display: inline-flex; align-items: center; gap: 6px; padding: 7px 16px; border-radius: 999px;
  color: var(--ink-soft); text-decoration: none; background: color-mix(in srgb, var(--surface) 75%, transparent);
  border: 1.5px dashed rgba(209, 41, 95, 0.35);
  transition: transform 0.25s cubic-bezier(.34,1.56,.64,1), color 0.2s, border-color 0.2s, box-shadow 0.25s;
}
.footer-credit strong { color: #d1295f; letter-spacing: 0.3px; }
.footer-credit a:hover, .footer-credit a:focus-visible {
  transform: translateY(-2px) rotate(-2deg); color: var(--ink, #2b1630);
  border-color: #d1295f; box-shadow: 0 6px 16px rgba(209, 41, 95, 0.18);
}
.footer-credit .fc-candy { display: inline-block; transition: transform 0.5s cubic-bezier(.34,1.56,.64,1); }
.footer-credit a:hover .fc-candy, .footer-credit a:focus-visible .fc-candy { transform: rotate(360deg) scale(1.2); }
.footer-credit .fc-heart { display: inline-block; animation: fcBeat 1.8s ease-in-out infinite; }
@keyframes fcBeat { 0%, 100% { transform: scale(1); } 15% { transform: scale(1.25); } 30% { transform: scale(1); } }
html.paused .footer-credit .fc-heart { animation: none; }
@media (prefers-reduced-motion: reduce) {
  .footer-credit .fc-heart { animation: none; }
  .footer-credit a, .footer-credit .fc-candy { transition: none; }
}

/* ─── Butonul zi / noapte din antet ────────────────────────── */
.theme-toggle {
  width: 42px; height: 42px; flex: 0 0 auto; display: inline-grid; place-items: center; cursor: pointer;
  border-radius: 50%; border: 1.5px solid var(--line); background: var(--surface); color: var(--ink);
  font-size: 1.15rem; line-height: 1;
  transition: transform 0.35s cubic-bezier(.34,1.56,.64,1), border-color 0.2s, box-shadow 0.25s;
}
.theme-toggle:hover { transform: rotate(-18deg) scale(1.08); border-color: var(--accent); box-shadow: 0 6px 16px -6px rgba(209, 41, 95, 0.35); }
.theme-toggle:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.theme-toggle .tt-icon { display: block; transition: transform 0.5s cubic-bezier(.34,1.56,.64,1); }
.theme-toggle.spin .tt-icon { transform: rotate(360deg); }
@media (prefers-reduced-motion: reduce) { .theme-toggle, .theme-toggle .tt-icon { transition: none; } }
@media (max-width: 640px) { .theme-toggle { width: 38px; height: 38px; font-size: 1rem; } }
.cart-indicator { color: var(--ink); }
.logo span { white-space: nowrap; }
@media (max-width: 420px) {
  .header-main { gap: 8px; padding: 0 14px; }
  .logo { gap: 7px; }
  .logo span { font-size: 1.05rem; }
  .logo img { width: 34px; height: 34px; }
  .header-actions { gap: 6px; }
  .cart-indicator { gap: 7px; padding: 0 6px 0 12px; }
}
