:root {
  --bg: #F8F9FC;
  --white: #FFFFFF;
  --text: #1F2937;
  --text-secondary: #6B7280;
  --ink: #0b1220; /* culoare titluri — contrast puțin mai puternic decât --text */
  --accent: #2563eb; /* suprascris inline din layout, cf. setărilor admin */
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif; /* suprascris inline din layout */
  --radius: 20px; /* suprascris inline din layout */
  --radius-sm: 14px; /* suprascris inline din layout */
  --radius-lg: 28px;
  --section-spacing: 128px;

  /* ===== PALETĂ DERIVATĂ DIN ACCENT (funcționează cu orice culoare aleasă din admin) ===== */
  --accent-050: color-mix(in srgb, var(--accent) 6%, white);
  --accent-100: color-mix(in srgb, var(--accent) 12%, white);
  --accent-200: color-mix(in srgb, var(--accent) 24%, white);
  --accent-strong: color-mix(in srgb, var(--accent) 78%, black);
  --accent-soft-border: color-mix(in srgb, var(--accent) 18%, white);
  --accent-glow: color-mix(in srgb, var(--accent) 32%, transparent);
  --accent-glow-strong: color-mix(in srgb, var(--accent) 45%, transparent);
  --accent-gradient: linear-gradient(135deg, var(--accent) 0%, var(--accent-strong) 100%);

  /* ===== UMBRE STRATIFICATE (senzație de profunzime, nu doar umbră plată) ===== */
  --shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.05);
  --shadow-sm: 0 6px 16px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 12px 32px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 26px 64px rgba(15, 23, 42, 0.12);
  --shadow-accent: 0 16px 36px var(--accent-glow);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-family);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5, h6 { font-weight: 800; letter-spacing: -0.02em; color: var(--ink); }
p { margin: 0 0 1rem; }
a { color: var(--accent); text-decoration: none; }
img { max-width: 100%; }
.text-secondary-light { color: var(--text-secondary); }
.text-secondary-dark { color: #374151; }

::selection { background: var(--accent-200); color: var(--ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.btn-accent { background: var(--accent-gradient); border-color: var(--accent); color: #fff; }
.btn-accent:hover { filter: brightness(1.04); background: var(--accent-gradient); color: #fff; }
.btn-outline-dark:hover { background: var(--text); }

/* ================= MICRO-INTERACȚIUNI ================= */
.btn { transition: transform .2s cubic-bezier(.2,.8,.2,1), box-shadow .2s ease, filter .2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(0.97); }
.btn-accent { position: relative; overflow: hidden; box-shadow: var(--shadow-accent); }
.btn-accent:hover { box-shadow: 0 18px 40px var(--accent-glow-strong); }
/* efect discret de „licărire” la hover pe butoanele principale — o singură trecere, fără buclă */
.btn-accent::after {
  content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.35), transparent);
  transform: skewX(-20deg); transition: left .55s ease;
  pointer-events: none;
}
.btn-accent:hover::after { left: 130%; }
@media (prefers-reduced-motion: reduce) {
  .btn-accent::after { display: none; }
}

.feature-card, .testimonial-card, .review-card {
  transition: transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s ease, border-color .3s ease;
}
.feature-icon { transition: transform .3s cubic-bezier(.2,.8,.2,1); }
.feature-card:hover .feature-icon { transform: scale(1.1) rotate(-4deg); }
.testimonial-card:hover, .review-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.trust-item { transition: transform .25s ease; }
.trust-item i { transition: transform .25s ease; }
.trust-item:hover { transform: translateY(-4px); }
.trust-item:hover i { transform: scale(1.15); }

.hero-badge { transition: transform .2s ease, box-shadow .2s ease; }
.hero-badge:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }

.gallery-thumb { transition: transform .2s ease, border-color .2s ease; }
.gallery-thumb:hover { transform: translateY(-3px); }

.color-swatch { transition: transform .2s ease, box-shadow .2s ease; }
.color-swatch-label:hover .color-swatch { transform: scale(1.14); }

.slider-btn, .video-play-btn, .lightbox-nav, .lightbox-close, .social-icon {
  transition: transform .2s ease, background-color .2s ease;
}
.slider-btn:hover { transform: scale(1.08); }
.faq-question { transition: background-color .2s ease; }
.faq-question:hover { background: var(--accent-050); }

/* ================= ELEMENTE PREMIUM REUTILIZABILE ================= */
/* etichetă mică, cu majuscule, folosită deasupra titlurilor de secțiune pentru orientare ("eyebrow") */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12.5px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent-strong); margin-bottom: 14px;
}
.eyebrow::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent-gradient); flex-shrink: 0;
  box-shadow: 0 0 0 4px var(--accent-100);
}
.section-head { max-width: 640px; margin: 0 auto 48px; text-align: center; }
.section-head .section-subtitle { font-size: 16.5px; color: var(--text-secondary); margin-top: 12px; }
.section-head.text-start { margin-left: 0; text-align: left; }

/* numeral fantomă folosit pe carduri/blocuri editoriale (premium, discret) */
.ghost-index {
  position: absolute; top: -6px; right: 18px; font-size: 64px; font-weight: 800;
  color: var(--ink); opacity: 0.05; line-height: 1; pointer-events: none; user-select: none;
}

/* ================= HEADER ================= */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(255,255,255,0.82); backdrop-filter: blur(14px) saturate(160%);
  border-bottom: 1px solid rgba(15,23,42,0.05);
  transition: box-shadow .3s ease, background-color .3s ease;
}
.site-header.scrolled { box-shadow: var(--shadow-sm); background: rgba(255,255,255,0.94); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 80px; }
.site-logo { font-weight: 800; font-size: 21px; color: var(--ink); display: inline-flex; align-items: center; gap: 10px; letter-spacing: -0.01em; }
.site-logo::before {
  content: ""; width: 11px; height: 11px; border-radius: 4px;
  background: var(--accent-gradient); display: inline-block; flex-shrink: 0;
  box-shadow: 0 3px 10px var(--accent-glow);
}
.site-nav { align-items: center; gap: 32px; }
.nav-scroll-link { position: relative; color: var(--text); font-weight: 500; cursor: pointer; padding: 6px 0; }
.nav-scroll-link::after {
  content: ""; position: absolute; left: 50%; right: 50%; bottom: 0; height: 2px;
  background: var(--accent-gradient); border-radius: 2px; transition: left .25s ease, right .25s ease;
}
.nav-scroll-link:hover { color: var(--accent); }
.nav-scroll-link:hover::after, .nav-scroll-link.active::after { left: 0; right: 0; }
.nav-scroll-link.active { color: var(--accent-strong); font-weight: 600; }

.hamburger { background: none; border: none; width: 34px; height: 26px; position: relative; cursor: pointer; }
.hamburger span { display: block; position: absolute; height: 2px; width: 100%; background: var(--text); left: 0; transition: .25s; border-radius: 2px; }
.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2) { top: 12px; }
.hamburger span:nth-child(3) { top: 24px; }
.hamburger.open span:nth-child(1) { transform: translateY(12px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-12px) rotate(-45deg); }

.mobile-menu {
  max-height: 0; overflow: hidden; background: #fff; transition: max-height .3s ease;
  display: flex; flex-direction: column; padding: 0 20px;
}
.mobile-menu.open { max-height: 400px; padding: 16px 20px; }
.mobile-menu a { padding: 12px 0; color: var(--text); font-weight: 500; border-bottom: 1px solid #eee; }

/* ================= SECTIONS ================= */
.section-block { padding: var(--section-spacing) 0; }
.section-block.bg-alt, .bg-alt { background: var(--white); }
.section-title { font-size: clamp(28px, 3.2vw, 38px); margin-bottom: 0; line-height: 1.15; }

/* offset pentru ancore, ca titlul secțiunii să nu fie acoperit de header-ul sticky
   (relevant mai ales când se navighează de pe altă pagină direct la /#sectiune) */
#hero, #produs, #beneficii, #testimoniale, #faq, #galerie, #video { scroll-margin-top: 96px; }

/* ================= HERO ================= */
.hero-section {
  position: relative;
  padding: 76px 0 var(--section-spacing);
  background: linear-gradient(180deg, #eef2ff 0%, var(--bg) 62%, var(--bg) 100%);
  overflow: hidden;
}
.hero-section::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(560px 360px at 12% -8%, var(--accent-glow), transparent 70%),
    radial-gradient(480px 320px at 100% 0%, color-mix(in srgb, var(--accent) 14%, transparent), transparent 65%);
  opacity: 0.9;
}
.hero-section .container { position: relative; z-index: 1; }
.hero-heading-row { text-align: center; max-width: 780px; margin: 0 auto 44px; }
.hero-heading-row .hero-title { margin: 14px 0 12px; }
.hero-heading-row .hero-subtitle { margin: 0 auto; }
.badge-pill { display: inline-flex; align-items: center; gap: 6px; background: #fff; padding: 7px 16px; border-radius: 999px; font-size: 13px; font-weight: 600; box-shadow: var(--shadow-xs); border: 1px solid rgba(15,23,42,0.05); }
.hero-title { font-size: clamp(32px, 2.2rem + 2.2vw, 58px); line-height: 1.08; letter-spacing: -0.03em; margin: 16px 0; }
.hero-subtitle { font-size: 18.5px; color: var(--text-secondary); max-width: 520px; }
.price-block { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.price-old { text-decoration: line-through; color: var(--text-secondary); font-size: 20px; }
.price-new { font-size: 38px; font-weight: 800; letter-spacing: -0.02em; color: var(--ink); }
.discount-badge { background: #fee2e2; color: #dc2626; padding: 4px 12px; border-radius: 20px; font-weight: 700; font-size: 13px; }
.price-reference-note { font-size: 12px; color: var(--text-secondary); margin: -8px 0 8px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-badge { background: #fff; padding: 8px 14px; border-radius: 999px; font-size: 13px; font-weight: 500; box-shadow: var(--shadow-xs); border: 1px solid rgba(15,23,42,0.05); }
.hero-badge i { color: #16a34a; margin-right: 4px; }

/* ================= OFFER NOTICE (bară deasupra header-ului) ================= */
.offer-notice { background: var(--accent-gradient); color: #fff; padding: 11px 0; font-size: 13px; font-weight: 600; }
.offer-notice-inner { position: relative; display: flex; align-items: center; justify-content: center; text-align: center; }
.offer-notice-text { padding: 0 32px; }
.offer-notice-close {
  position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,0.2); border: none; color: #fff;
  width: 22px; height: 22px; border-radius: 50%; font-size: 15px; line-height: 1;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: background .2s ease;
}
.offer-notice-close:hover { background: rgba(255,255,255,0.35); }

/* ================= SCROLL PROGRESS BAR ================= */
.scroll-progress-bar {
  position: fixed; top: 0; left: 0; height: 3px; width: 0%;
  background: var(--accent-gradient); z-index: 1150; transition: width .1s linear;
}

/* ================= MOBILE STICKY CTA ================= */
.mobile-sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 1080;
  background: rgba(255,255,255,0.92); backdrop-filter: blur(14px);
  box-shadow: 0 -8px 30px rgba(15,23,42,0.1);
  padding: 12px 16px; transform: translateY(100%); transition: transform .3s ease;
  display: none;
  border-top: 1px solid rgba(15,23,42,0.05);
}
.mobile-sticky-cta.show { transform: translateY(0); }
.mobile-sticky-cta.hide-for-modal { transform: translateY(100%) !important; }
.mobile-sticky-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; max-width: 480px; margin: 0 auto; }
.mobile-sticky-price { display: flex; flex-direction: column; line-height: 1.2; }
.mobile-sticky-price-label { font-size: 11px; color: var(--text-secondary); }
.mobile-sticky-price strong { font-size: 18px; color: var(--ink); }
@media (max-width: 992px) {
  .mobile-sticky-cta { display: block; }
}
.hero-image-wrap { border-radius: var(--radius-lg); overflow: hidden; }
.hero-image { width: 100%; border-radius: var(--radius-lg); display: block; }

/* ================= HERO BLOB DECORATIV ================= */
.hero-image-col { position: relative; }
.hero-blob {
  position: absolute;
  top: 50%; left: 50%;
  width: 115%; height: 115%;
  transform: translate(-50%, -50%);
  background: linear-gradient(135deg, var(--accent) 0%, transparent 70%);
  opacity: 0.22;
  border-radius: 62% 38% 55% 45% / 48% 45% 55% 52%;
  filter: blur(40px);
  z-index: 0;
  animation: heroBlobMorph 12s ease-in-out infinite alternate;
}
.hero-image-wrap { position: relative; z-index: 1; box-shadow: var(--shadow-lg); }
@keyframes heroBlobMorph {
  0%   { border-radius: 62% 38% 55% 45% / 48% 45% 55% 52%; }
  50%  { border-radius: 40% 60% 45% 55% / 55% 40% 60% 45%; }
  100% { border-radius: 55% 45% 62% 38% / 45% 55% 42% 58%; }
}
@media (max-width: 992px) {
  .hero-blob { width: 90%; height: 90%; opacity: 0.16; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-blob { animation: none; }
}

/* card-uri „plutitoare” peste imaginea din Hero — semnal de încredere, stil glass, discret */
.hero-float-card {
  position: absolute; z-index: 2;
  display: flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,0.85); backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.6);
  border-radius: var(--radius-sm); padding: 12px 16px;
  box-shadow: var(--shadow-lg);
  animation: floatCard 5s ease-in-out infinite;
}
.hero-float-card-icon {
  width: 38px; height: 38px; border-radius: 12px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; font-size: 17px;
  background: var(--accent-gradient); color: #fff;
}
.hero-float-card strong { display: block; font-size: 15px; color: var(--ink); line-height: 1.2; }
.hero-float-card span { display: block; font-size: 11.5px; color: var(--text-secondary); }
.hero-float-card--rating { top: 8%; right: -6%; }
.hero-float-card--discount { bottom: 10%; left: -6%; animation-delay: 1.4s; }
.hero-float-card--discount .hero-float-card-icon { background: linear-gradient(135deg, #dc2626, #f87171); }
@media (max-width: 992px) {
  .hero-float-card--rating { top: 4%; right: 2%; }
  .hero-float-card--discount { bottom: 4%; left: 2%; }
  .hero-float-card { padding: 9px 12px; gap: 8px; }
  .hero-float-card-icon { width: 32px; height: 32px; font-size: 14px; }
  .hero-float-card strong { font-size: 13px; }
}
@media (max-width: 576px) {
  .hero-float-card { display: none; }
}
@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-float-card { animation: none; }
}

/* ================= TRUST BAR ================= */
.trust-bar { background: var(--white); padding: 44px 0; border-top: 1px solid #eee; border-bottom: 1px solid #eee; }
.trust-item i {
  font-size: 22px; color: var(--accent); margin-bottom: 12px;
  width: 52px; height: 52px; border-radius: 14px; background: var(--accent-100);
  display: flex; align-items: center; justify-content: center; margin-left: auto; margin-right: auto;
}
.trust-item h6 { margin: 0 0 4px; font-size: 15px; color: var(--ink); }
.trust-item p { margin: 0; font-size: 13px; color: var(--text-secondary); }
.trust-item-tooltip { cursor: help; }

/* ================= FEATURES ================= */
.feature-card {
  position: relative; overflow: hidden;
  background: var(--white); border-radius: var(--radius); padding: 32px 22px 26px; text-align: center; height: 100%;
  box-shadow: var(--shadow-sm); border: 1px solid rgba(15,23,42,0.04);
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--accent-soft-border); }
.feature-card .ghost-index { font-size: 52px; }
.feature-icon { position: relative; width: 56px; height: 56px; border-radius: 16px; background: var(--accent-100); display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; }
.feature-icon i { font-size: 24px; color: var(--accent); }
.feature-card h6 { font-size: 16px; margin-bottom: 6px; position: relative; }
.feature-card p { font-size: 13.5px; color: var(--text-secondary); margin: 0; position: relative; }

/* ================= GALLERY ================= */
.gallery-wrap { max-width: 700px; margin: 0 auto; }
.gallery-main-wrap { border-radius: var(--radius-lg); overflow: hidden; cursor: zoom-in; box-shadow: var(--shadow-md); }
.gallery-main { width: 100%; aspect-ratio: 1/1; object-fit: cover; transition: transform .3s ease; }
.gallery-main-wrap:hover .gallery-main { transform: scale(1.08); }
.gallery-thumbs { display: flex; gap: 10px; margin-top: 16px; overflow-x: auto; padding-bottom: 4px; }
.gallery-thumb { width: 80px; height: 80px; object-fit: cover; border-radius: var(--radius-sm); cursor: pointer; border: 2px solid transparent; flex-shrink: 0; }
.gallery-thumb.active, .gallery-thumb:hover { border-color: var(--accent); }
/* Miniaturile cu variantă WebP/AVIF sunt randate ca <picture><img class="gallery-thumb">
   — elementul flex e atunci <picture>, nu <img>-ul direct, deci "flex-shrink: 0"
   de mai sus (setat pe .gallery-thumb) nu-l mai atinge pe el. Fără rândul de mai
   jos, miniaturile s-ar putea micșora sub 80px când sunt multe, în loc să
   rămână la dimensiune fixă cu derulare orizontală (comportamentul dorit). */
.gallery-thumbs picture { flex-shrink: 0; }

/* ================= ZOOM CU LUPĂ (doar desktop, cu mouse real) ================= */
.zoom-lens {
  position: absolute;
  width: 170px; height: 170px;
  border: 3px solid #fff;
  border-radius: 50%;
  box-shadow: 0 6px 24px rgba(0,0,0,0.35);
  pointer-events: none;
  display: none;
  background-repeat: no-repeat;
  z-index: 5;
}
.gallery-main-wrap { cursor: zoom-in; }
@media (hover: none), (pointer: coarse) {
  .zoom-lens { display: none !important; }
}

/* ================= SKELETON LOADING (puls discret cât se încarcă imaginea) ================= */
.img-skeleton {
  position: relative;
  overflow: hidden;
  background: linear-gradient(90deg, #e9ecef 25%, #f4f5f7 37%, #e9ecef 63%);
  background-size: 400% 100%;
  animation: skeletonPulse 1.5s ease-in-out infinite;
}
.img-skeleton img[data-skeleton-img] {
  opacity: 0;
  transition: opacity .35s ease;
}
.img-skeleton.img-loaded {
  animation: none;
  background: none;
}
.img-skeleton.img-loaded img[data-skeleton-img] {
  opacity: 1;
}
@keyframes skeletonPulse {
  0% { background-position: 100% 50%; }
  100% { background-position: 0 50%; }
}
@media (prefers-reduced-motion: reduce) {
  .img-skeleton { animation: none; }
}

/* ================= LIGHTBOX GALERIE ================= */
.lightbox {
  position: fixed; inset: 0; z-index: 1100; display: none;
  align-items: center; justify-content: center;
  background: rgba(10, 10, 15, 0.94);
}
.lightbox.show { display: flex; }
.lightbox-image {
  max-width: 90vw; max-height: 85vh; border-radius: 10px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  animation: lightboxZoomIn .25s ease;
}
@keyframes lightboxZoomIn { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: scale(1); } }
.lightbox-close {
  position: absolute; top: 20px; right: 24px; background: rgba(255,255,255,0.08); border: none;
  color: #fff; font-size: 28px; width: 44px; height: 44px; border-radius: 50%; cursor: pointer;
  display: flex; align-items: center; justify-content: center; line-height: 1; transition: background .2s ease;
}
.lightbox-close:hover { background: rgba(255,255,255,0.2); }
.lightbox-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,0.1); border: none; color: #fff;
  width: 52px; height: 52px; border-radius: 50%; font-size: 18px; cursor: pointer;
  display: flex; align-items: center; justify-content: center; transition: background .2s ease, transform .2s ease;
}
.lightbox-nav:hover { background: rgba(255,255,255,0.25); transform: translateY(-50%) scale(1.08); }
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }
.lightbox-counter { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); color: #fff; font-size: 13px; opacity: .75; }
@media (max-width: 576px) {
  .lightbox-nav { width: 42px; height: 42px; font-size: 15px; }
  .lightbox-prev { left: 8px; } .lightbox-next { right: 8px; }
}

/* ================= BENEFITS ================= */
.benefit-block { position: relative; }
.benefit-index {
  font-size: 15px; font-weight: 700; color: var(--accent);
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 14px;
}
.benefit-index::after { content: ""; width: 34px; height: 2px; background: var(--accent-gradient); border-radius: 2px; }
.check-list { list-style: none; padding: 0; margin: 18px 0; }
.check-list li { padding: 7px 0; display: flex; align-items: flex-start; gap: 10px; }
.check-list li i { width: 22px; height: 22px; border-radius: 50%; background: #dcfce7; color: #16a34a !important; display: flex; align-items: center; justify-content: center; font-size: 12px; flex-shrink: 0; margin-top: 2px; }
.benefit-image-wrap { position: relative; }
.benefit-image-wrap::before {
  content: ""; position: absolute; inset: -18px; z-index: 0;
  background: var(--accent-gradient); opacity: 0.08; border-radius: var(--radius-lg);
}
.benefit-image { position: relative; z-index: 1; width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }

/* ================= STATIC PAGES (Termeni, Contact, etc.) ================= */
.static-page-section { padding: 60px 0 var(--section-spacing); }
.static-page-content { max-width: 800px; }
.static-page-body { font-size: 16px; color: #374151; line-height: 1.8; }
.static-page-body h2, .static-page-body h3 { margin-top: 28px; }
.static-page-body ul { padding-left: 20px; }

/* ================= FORMULAR RETUR ================= */
.return-form-section { margin-top: 48px; padding-top: 32px; border-top: 1px solid #e5e7eb; }
.return-form textarea { resize: vertical; }

/* ================= HONEYPOT (câmp-capcană anti-bot) ================= */
.honeypot-field {
  position: absolute; left: -9999px; top: -9999px;
  width: 1px; height: 1px; overflow: hidden;
  opacity: 0; pointer-events: none;
}

/* ================= LIVRARE LA LOCKER (checkout) ================= */
.ecolet-locality-results {
  position: relative; z-index: 20; background: #fff; border: 1px solid #e5e7eb;
  border-radius: 8px; margin-top: 4px; max-height: 200px; overflow-y: auto;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}
.ecolet-locality-results:empty { border: none; box-shadow: none; }
.ecolet-locality-item { padding: 8px 12px; cursor: pointer; font-size: 14px; border-bottom: 1px solid #f1f5f9; }
.ecolet-locality-item:last-child { border-bottom: none; }
.ecolet-locality-item:hover { background: #f8fafc; }
.locker-list-view { display: flex; flex-direction: column; gap: 8px; max-height: 260px; overflow-y: auto; }
.locker-card {
  border: 1px solid #e5e7eb; border-radius: 10px; padding: 10px 12px; cursor: pointer;
  transition: border-color .15s ease, background .15s ease; font-size: 14px;
}
.locker-card:hover { background: #f8fafc; }
.locker-card.selected { border-color: var(--accent); background: #f8fafc; }
.locker-map-view { border-radius: 12px; overflow: hidden; }

/* ================= VIDEO ================= */
.video-thumb-wrap { position: relative; max-width: 720px; margin: 0 auto; border-radius: var(--radius-lg); overflow: hidden; cursor: pointer; box-shadow: var(--shadow-md); }
.video-thumb { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.video-play-btn {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 76px; height: 76px; background: rgba(255,255,255,0.92); backdrop-filter: blur(6px); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-size: 30px; color: var(--accent);
  transition: transform .2s ease; box-shadow: var(--shadow-md);
}
.video-thumb-wrap:hover .video-play-btn { transform: translate(-50%, -50%) scale(1.08); }

/* ================= TESTIMONIALS ================= */
.testimonial-slider { position: relative; }
.testimonial-track { display: flex; gap: 20px; overflow-x: auto; scroll-behavior: smooth; padding: 4px 4px 12px; scroll-snap-type: x mandatory; }
.testimonial-card { position: relative; background: var(--white); border-radius: var(--radius); padding: 28px 24px 24px; min-width: 300px; max-width: 340px; box-shadow: var(--shadow-sm); border: 1px solid rgba(15,23,42,0.04); scroll-snap-align: start; flex-shrink: 0; }
.testimonial-quote-mark {
  position: absolute; top: 14px; right: 20px; font-size: 46px; font-weight: 800;
  color: var(--accent); opacity: 0.12; line-height: 1; font-family: Georgia, serif; pointer-events: none;
}
.testimonial-top { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
  width: 42px; height: 42px; border-radius: 50%; flex-shrink: 0;
  background: var(--accent-gradient); color: #fff; font-weight: 700; font-size: 15px;
  display: flex; align-items: center; justify-content: center;
}
.testimonial-name-col { min-width: 0; }
.testimonial-name-col strong { display: block; color: var(--ink); }
.verified-badge { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 600; color: #2563eb; margin-top: 2px; }
.verified-badge i { font-size: 13px; }
.stars { color: #f59e0b; letter-spacing: 2px; }
.testimonial-nav { display: flex; justify-content: center; gap: 10px; margin-top: 16px; }
.testimonial-dots { display: flex; justify-content: center; gap: 8px; margin-top: 12px; }
.testimonial-dot {
  width: 8px; height: 8px; border-radius: 50%; background: #d1d5db; border: none;
  padding: 0; cursor: pointer; transition: background .2s ease, transform .2s ease;
}
.testimonial-dot.active { background: var(--accent); transform: scale(1.35); }
.slider-btn { width: 42px; height: 42px; border-radius: 50%; border: 1px solid #e5e7eb; background: #fff; cursor: pointer; box-shadow: var(--shadow-xs); }
.slider-btn:hover { background: var(--accent); color: #fff; border-color: var(--accent); }
/* ================= CARD "LASĂ O RECENZIE" ================= */
.review-form-card {
  background: var(--white); border-radius: var(--radius-sm);
  border: 1px solid rgba(15,23,42,0.04); box-shadow: var(--shadow-sm);
  overflow: hidden; transition: border-color .2s ease, box-shadow .2s ease;
}
.review-form-card.open { border-color: var(--accent-soft-border); box-shadow: var(--shadow-md); }
.review-form-toggle-btn {
  width: 100%; display: flex; align-items: center; gap: 16px;
  background: none; border: none; padding: 20px 22px; cursor: pointer;
  text-align: left; transition: background-color .2s ease;
}
.review-form-toggle-btn:hover { background: var(--accent-050); }
.review-toggle-icon {
  flex-shrink: 0; width: 44px; height: 44px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--accent-100); color: var(--accent-strong); font-size: 17px;
  transition: background-color .2s ease, color .2s ease, transform .2s ease;
}
.review-form-card.open .review-toggle-icon { background: var(--accent); color: #fff; transform: rotate(-8deg); }
.review-toggle-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.review-toggle-text strong { color: var(--ink); font-size: 16px; }
.review-toggle-text small { color: var(--text-secondary); font-weight: 400; }
.review-toggle-chevron { flex-shrink: 0; color: var(--text-secondary); transition: transform .25s ease; }
.review-form-card.open .review-toggle-chevron { transform: rotate(180deg); color: var(--accent); }

.review-form-body { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.review-form-body-inner { padding: 4px 22px 24px; }
.review-form { max-width: 560px; }

.review-stars-picker { display: flex; align-items: center; gap: 2px; margin-bottom: 10px; flex-wrap: wrap; }
.review-stars-picker .star-btn {
  background: none; border: none; padding: 4px; cursor: pointer; font-size: 26px;
  line-height: 1; color: #d1d5db; transition: color .15s ease, transform .15s ease;
}
.review-stars-picker .star-btn:hover, .review-stars-picker .star-btn:focus-visible { transform: scale(1.12); }
.review-stars-picker .star-btn.active { color: #f59e0b; }
.review-stars-label { margin-left: 6px; font-size: 14px; font-weight: 600; color: var(--text-secondary); }

.review-form-footer { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.review-form-footer .hint { flex: 1; min-width: 200px; margin: 0; }
.hint { font-size: 12px; color: var(--text-secondary); }

/* ================= FAQ ================= */
.faq-accordion { max-width: 760px; margin: 0 auto; }
.faq-item { background: var(--white); border-radius: var(--radius-sm); margin-bottom: 12px; overflow: hidden; border: 1px solid rgba(15,23,42,0.04); transition: border-color .2s ease, box-shadow .2s ease; }
.faq-item.open { border-color: var(--accent-soft-border); box-shadow: var(--shadow-sm); }
.faq-question { width: 100%; text-align: left; background: none; border: none; padding: 18px 22px; font-weight: 600; color: var(--ink); display: flex; justify-content: space-between; align-items: center; gap: 16px; cursor: pointer; }
.faq-icon {
  flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%; background: var(--accent-100);
  font-size: 17px; color: var(--accent); display: flex; align-items: center; justify-content: center;
  transition: transform .25s ease, background .25s ease;
}
.faq-item.open .faq-icon { transform: rotate(135deg); background: var(--accent); color: #fff; }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-answer-inner { padding: 0 22px 20px; color: var(--text-secondary); }

/* ================= ORDER MODAL ================= */
.order-modal-content { border-radius: var(--radius-lg); border: none; box-shadow: var(--shadow-lg); }
.order-modal-img { width: 100%; border-radius: var(--radius); }
.color-swatch-label input { position: absolute; opacity: 0; }
.color-swatch { display: inline-block; width: 36px; height: 36px; border-radius: 50%; border: 2px solid #e5e7eb; cursor: pointer; }
.color-swatch-label input:checked + .color-swatch { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent); }
.color-swatch-label { position: relative; display: inline-block; }
.color-swatch-disabled .color-swatch { opacity: 0.35; cursor: not-allowed; }
.color-swatch-disabled:hover .color-swatch { transform: none; }
.color-swatch-x {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  color: #dc2626; font-size: 16px; font-weight: 700; pointer-events: none;
}
.qty-selector { display: flex; align-items: center; width: fit-content; border: 1px solid #e5e7eb; border-radius: 10px; overflow: hidden; }
.qty-btn { background: var(--bg); border: none; width: 40px; height: 40px; font-size: 18px; cursor: pointer; }
.qty-selector input { width: 60px; text-align: center; border: none; border-left: 1px solid #e5e7eb; border-right: 1px solid #e5e7eb; height: 40px; }
.payment-option { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border: 1px solid #e5e7eb; border-radius: var(--radius-sm); cursor: pointer; margin-bottom: 8px; transition: border-color .2s ease, background .2s ease; }
.payment-option:hover { border-color: var(--accent-soft-border); background: var(--accent-050); }
.order-total-box { background: var(--bg); border-radius: var(--radius-sm); padding: 16px; }
.stock-warning { color: #d97706; font-weight: 600; font-size: 13px; }
.privacy-notice { font-size: 12px; color: var(--text-secondary); line-height: 1.5; }
.privacy-notice a { text-decoration: underline; }
.terms-checkbox-row { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; cursor: pointer; padding: 10px; border-radius: var(--radius-sm); transition: background .2s ease; }
.terms-checkbox-row input { margin-top: 3px; width: 16px; height: 16px; flex-shrink: 0; }
.terms-checkbox-row.terms-error { background: #fee2e2; animation: shake .3s; }
.terms-link-btn { display: inline-block; font-weight: 600; color: var(--accent); text-decoration: underline; }
@keyframes shake { 0%,100% { transform: translateX(0); } 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }

/* ================= STATUS PAGES ================= */
.status-page { padding: 80px 0; }
.status-box { max-width: 560px; }
.status-icon {
  width: 76px; height: 76px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 32px; margin: 0 auto 18px; color: #fff;
}
.status-success { background: #16a34a; animation: statusIconPop .55s cubic-bezier(.34,1.56,.64,1); }
.status-error { background: #dc2626; animation: statusIconShake .5s ease; }
.not-found-code {
  font-size: 96px; font-weight: 800; line-height: 1; color: var(--accent);
  opacity: 0.9; margin-bottom: 8px; letter-spacing: -2px;
}
@media (max-width: 576px) { .not-found-code { font-size: 64px; } }
@keyframes statusIconPop {
  0% { transform: scale(0); opacity: 0; }
  60% { transform: scale(1.15); opacity: 1; }
  100% { transform: scale(1); }
}
@keyframes statusIconShake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-8px); }
  40% { transform: translateX(8px); }
  60% { transform: translateX(-5px); }
  80% { transform: translateX(5px); }
}
@media (prefers-reduced-motion: reduce) {
  .status-success, .status-error { animation: none; }
}

.order-summary-card {
  background: var(--white); border: 1px solid #e5e7eb; border-radius: var(--radius);
  padding: 20px 24px; margin: 24px 0; text-align: left;
}
.order-summary-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 8px 0; border-bottom: 1px solid #f1f5f9; font-size: 15px;
}
.order-summary-row:last-child { border-bottom: none; }
.order-summary-row span { color: var(--text-secondary); }

/* ================= CONFETTI (efect discret pe pagina de succes) ================= */
.confetti-layer { position: fixed; inset: 0; pointer-events: none; z-index: 1200; overflow: hidden; }
.confetti-piece {
  position: absolute; top: -20px; width: 9px; height: 14px; border-radius: 2px; opacity: 0.9;
  animation-name: confettiFall; animation-timing-function: cubic-bezier(.25,.46,.45,.94); animation-fill-mode: forwards;
}
@keyframes confettiFall {
  0% { transform: translateY(0) rotate(0deg); opacity: 1; }
  100% { transform: translateY(105vh) rotate(var(--rot, 360deg)); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .confetti-layer { display: none; }
}

/* ================= FOOTER ================= */
.site-footer { background: #0b0f19; color: #d1d5db; margin-top: 40px; position: relative; }
.site-footer::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--accent-gradient); }
.footer-logo { font-weight: 800; color: #fff; font-size: 20px; display: inline-flex; align-items: center; gap: 10px; }
.footer-logo::before { content: ""; width: 10px; height: 10px; border-radius: 3px; background: var(--accent-gradient); display: inline-block; }
.footer-heading { color: #fff; font-weight: 700; margin-bottom: 16px; font-size: 14px; letter-spacing: 0.03em; text-transform: uppercase; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: #9ca3af; transition: color .2s ease, padding-left .2s ease; }
.footer-links a:hover { color: #fff; padding-left: 3px; }
.social-icon { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,0.06); display: flex; align-items: center; justify-content: center; color: #fff; border: 1px solid rgba(255,255,255,0.08); }
.social-icon:hover { background: var(--accent); border-color: var(--accent); }
.footer-bottom { background: #05070d; }
.footer-payment-row { border-top: 1px solid rgba(255,255,255,0.08); margin-top: 32px; padding-top: 24px; }

/* ================= PAYMENT BADGES ================= */
.payment-badges { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.payment-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px; border-radius: 20px; font-size: 12px; font-weight: 600;
  background: var(--bg); color: var(--text-secondary); border: 1px solid #e5e7eb;
}
.payment-badge i { font-size: 14px; }
.payment-badge-secure { color: #16a34a; border-color: #bbf7d0; background: #f0fdf4; }
/* variantă pe fundal închis (footer) */
.footer-payment-row .payment-badge {
  background: rgba(255,255,255,0.06); color: #d1d5db; border-color: rgba(255,255,255,0.1);
}
.footer-payment-row .payment-badge-secure { background: rgba(22,163,74,0.15); color: #4ade80; border-color: rgba(74,222,128,0.25); }

/* ================= COOKIE BANNER ================= */
.cookie-banner {
  position: fixed; left: 0; right: 0; bottom: -220px; z-index: 1090;
  background: #111827; color: #e5e7eb; padding: 18px 20px;
  transition: bottom .35s ease; box-shadow: 0 -4px 20px rgba(0,0,0,0.15);
}
.cookie-banner.show { bottom: 0; }
.cookie-banner-inner { max-width: 1140px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.cookie-banner-inner p { margin: 0; font-size: 14px; flex: 1; min-width: 240px; }
.cookie-banner-inner a { color: #93c5fd; text-decoration: underline; }
.cookie-banner-actions { display: flex; gap: 10px 12px; flex-shrink: 0; flex-wrap: wrap; align-items: center; }
@media (max-width: 480px) {
  /* Pe telefoane înguste, cele 3 elemente (link + 2 butoane) nu mai încap
     pe un singur rând — fără flex-wrap mai sus, "Accept toate" ieșea complet
     în afara ecranului în loc să treacă pe rândul următor. */
  .cookie-banner-actions { width: 100%; justify-content: flex-start; }
  .cookie-banner-inner { row-gap: 12px; }
}
.cookie-banner-actions .btn-link { color: #cbd5e1; }
.cookie-banner-actions .btn-link:hover { color: #fff; }

/* ================= MODAL PREFERINȚE COOKIE ================= */
.cookie-pref-row {
  display: flex; justify-content: space-between; align-items: flex-start; gap: 16px;
  padding: 14px 0; border-bottom: 1px solid #f1f5f9;
}
.cookie-pref-row:last-child { border-bottom: none; }
.cookie-pref-row .form-check-input { width: 42px; height: 24px; cursor: pointer; flex-shrink: 0; margin-top: 2px; }
.cookie-pref-row .form-check-input:checked { background-color: var(--accent); border-color: var(--accent); }

@media (max-width: 992px) {
  :root { --section-spacing: 76px; }
  .hero-title { font-size: 34px; }
  .section-head { margin-bottom: 36px; }
}

/* ================= ANIMAȚII LA SCROLL (fade-in / slide-up) ================= */
[data-aos] {
  opacity: 0;
  transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1);
  will-change: opacity, transform;
}
[data-aos="fade-up"] { transform: translateY(28px); }
[data-aos="fade-left"] { transform: translateX(28px); }
[data-aos="zoom-in"] { transform: scale(0.94); }
[data-aos].aos-visible { opacity: 1; transform: translate(0, 0) scale(1); }

@media (prefers-reduced-motion: reduce) {
  [data-aos] { opacity: 1 !important; transform: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
