/* ============================================================
   EliteShop — style.css (v4) — Premium, Pixel Perfect
============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800;900&family=Nunito:wght@400;500;600;700&display=swap');

:root {
  --primary:       #1a2e4a;
  --primary-dark:  #0f1e33;
  --primary-light: #2a4a7a;
  --accent:        #e8501a;
  --accent-hover:  #c94010;
  --accent-light:  #fff2ee;
  --accent-dark:   #a93810;
  --gold:          #f5a623;
  --green:         #22c55e;
  --green-dark:    #16a34a;
  --blue:          #3b82f6;
  --red:           #ef4444;
  --purple:        #8b5cf6;
  --white:         #ffffff;
  --bg:            #f7f8fc;
  --bg2:           #eef0f7;
  --surface:       #ffffff;
  --border:        #e2e6f0;
  --text:          #1a1f36;
  --text-muted:    #6b7280;
  --text-light:    #9ca3af;
  --shadow-sm:     0 1px 4px rgba(0,0,0,.06);
  --shadow:        0 4px 20px rgba(0,0,0,.08);
  --shadow-lg:     0 12px 40px rgba(0,0,0,.14);
  --shadow-xl:     0 20px 60px rgba(0,0,0,.18);
  --radius-sm:     8px;
  --radius:        14px;
  --radius-lg:     22px;
  --radius-full:   999px;
  --transition:    .22s cubic-bezier(.4,0,.2,1);
  --font-display:  'Outfit', sans-serif;
  --font-body:     'Nunito', sans-serif;
  --header-h:      70px;
  --header-h-mob:  60px;
}

/* ── RESET ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font-family: inherit; font-size: inherit; }
button { cursor: pointer; border: none; background: none; }
h1,h2,h3,h4,h5 { font-family: var(--font-display); font-weight: 700; line-height: 1.2; }

input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
input[type="number"] { -moz-appearance: textfield; }

.container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 16px; }

/* ════════════════════════════════════════════════════════
   LOADER GLOBAL — cerc cu puncte rotative pe mijloc
═══════════════════════════════════════════════════════ */
.page-loader {
  position: fixed;
  inset: 0;
  background: rgba(15, 30, 51, 0.35);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .15s ease;
}

.page-loader.active {
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0s; /* apare INSTANT */
}

/* Cerc loader cu 8 puncte care se rotesc unul după altul */
.loader-circle {
  position: relative;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.loader-circle::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: rgba(255,255,255,0.95);
  box-shadow: 0 20px 60px rgba(0,0,0,0.25), 0 0 0 1px rgba(255,255,255,0.5);
  backdrop-filter: blur(10px);
}

.loader-circle span {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
  top: 50%;
  left: 50%;
  margin-top: -6px;
  margin-left: -6px;
  transform-origin: center;
  animation: loaderSpin 1.2s linear infinite;
  box-shadow: 0 2px 8px rgba(232,80,26,.4);
}

.loader-circle span:nth-child(1) { transform: rotate(0deg) translateX(28px); animation-delay: 0s; }
.loader-circle span:nth-child(2) { transform: rotate(45deg) translateX(28px); animation-delay: -0.15s; }
.loader-circle span:nth-child(3) { transform: rotate(90deg) translateX(28px); animation-delay: -0.30s; }
.loader-circle span:nth-child(4) { transform: rotate(135deg) translateX(28px); animation-delay: -0.45s; }
.loader-circle span:nth-child(5) { transform: rotate(180deg) translateX(28px); animation-delay: -0.60s; }
.loader-circle span:nth-child(6) { transform: rotate(225deg) translateX(28px); animation-delay: -0.75s; }
.loader-circle span:nth-child(7) { transform: rotate(270deg) translateX(28px); animation-delay: -0.90s; }
.loader-circle span:nth-child(8) { transform: rotate(315deg) translateX(28px); animation-delay: -1.05s; }

@keyframes loaderSpin {
  0%, 39%, 100% { opacity: 0.15; transform-origin: center; }
  40% { opacity: 1; }
}

/* Pentru fiecare punct, păstrăm rotația proprie + animația de opacitate */
.loader-circle span {
  animation:
    loaderFade 1.2s linear infinite,
    none;
}

@keyframes loaderFade {
  0%, 39%, 100% { opacity: 0.15; }
  40% { opacity: 1; }
}

/* ════════════════════════════════════════════════════════
   HEADER — fix pentru mobil (phone lângă coș)
═══════════════════════════════════════════════════════ */
#header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--primary);
  box-shadow: 0 2px 16px rgba(10,20,40,.2);
}

.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto auto auto;
  align-items: center;
  gap: 18px;
  height: var(--header-h);
}

.logo a {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 900;
  color: var(--white);
  letter-spacing: -.5px;
  white-space: nowrap;
}

.logo-icon {
  width: 36px; height: 36px;
  background: var(--accent);
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; color: #fff;
  box-shadow: 0 3px 12px rgba(232,80,26,.45);
  flex-shrink: 0;
}

.logo .logo-1 { color: var(--white); }
.logo .logo-2 { color: var(--accent); }

.header-search { position: relative; max-width: 520px; width: 100%; justify-self: center; }
.header-search input {
  width: 100%; height: 42px;
  border-radius: var(--radius-full);
  border: 2px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.08);
  color: var(--white);
  padding: 0 46px 0 18px;
  font-size: .9rem;
  transition: var(--transition);
  outline: none;
}
.header-search input::placeholder { color: rgba(255,255,255,.5); }
.header-search input:focus { border-color: var(--accent); background: rgba(255,255,255,.14); }
.header-search button {
  position: absolute; right: 4px; top: 50%;
  transform: translateY(-50%);
  width: 34px; height: 34px;
  border-radius: var(--radius-full);
  background: var(--accent); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: .85rem;
  transition: var(--transition);
}
.header-search button:hover { background: var(--accent-hover); }

/* Phone desktop — inline */
.header-phone {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  padding: 8px 14px;
  border-radius: var(--radius);
  transition: var(--transition);
  height: 48px;
}
.header-phone:hover { background: rgba(255,255,255,.06); }
.header-phone .phone-icon {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
  display: flex; align-items: center; justify-content: center;
  font-size: .95rem;
  flex-shrink: 0;
}
.header-phone .phone-txt { display: flex; flex-direction: column; line-height: 1.15; white-space: nowrap; }
.header-phone .phone-label { font-size: .66rem; color: rgba(255,255,255,.55); font-weight: 500; }
.header-phone .phone-number { font-family: var(--font-display); font-size: .95rem; font-weight: 700; color: var(--gold); }

/* Phone mobile — HIDDEN default, shown on mobile NEAR CART */
.header-phone-mobile {
  display: none;
  width: 42px; height: 42px;
  border-radius: var(--radius);
  background: rgba(232,80,26,.2);
  color: var(--gold);
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: var(--transition);
  flex-shrink: 0;
}
.header-phone-mobile:hover { background: var(--accent); color: #fff; }

/* Cart */
.header-cart a {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--accent);
  border-radius: var(--radius);
  padding: 0 14px;
  color: #fff;
  transition: var(--transition);
  position: relative;
  height: 48px;
}
.header-cart a:hover { background: var(--accent-hover); }
.cart-icon-wrap { position: relative; font-size: 1.05rem; display: flex; align-items: center; }
.cart-badge {
  position: absolute; top: -8px; right: -10px;
  background: var(--gold); color: #1a1a1a;
  font-size: .62rem; font-weight: 800;
  width: 18px; height: 18px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  line-height: 1;
}
.cart-info { display: flex; flex-direction: column; line-height: 1.15; }
.cart-info .cart-label { font-size: .64rem; opacity: .85; }
.cart-info .cart-total { font-family: var(--font-display); font-weight: 700; font-size: .9rem; margin-top: 2px; white-space: nowrap; }

/* ════════════════════════════════════════════════════════
   INFO BAR
═══════════════════════════════════════════════════════ */
.info-bar { background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%); position: relative; overflow: hidden; }
.info-bar::before { content: ''; position: absolute; top: -40px; right: -40px; width: 180px; height: 180px; background: rgba(232,80,26,.06); border-radius: 50%; }
.info-bar-inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; }
.info-bar-item { display: flex; align-items: center; gap: 11px; padding: 14px 18px; color: rgba(255,255,255,.92); font-size: .85rem; border-right: 1px solid rgba(255,255,255,.07); }
.info-bar-item:last-child { border-right: none; }
.info-bar-item .ib-icon { width: 38px; height: 38px; border-radius: 10px; background: linear-gradient(135deg, rgba(232,80,26,.22), rgba(232,80,26,.12)); display: flex; align-items: center; justify-content: center; font-size: 1rem; color: var(--accent); flex-shrink: 0; border: 1px solid rgba(232,80,26,.15); }
.info-bar-item .ib-text { min-width: 0; }
.info-bar-item .ib-text strong { display: block; font-family: var(--font-display); font-size: .9rem; font-weight: 700; color: #fff; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.info-bar-item .ib-text span { font-size: .72rem; color: rgba(255,255,255,.55); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }

/* ════════════════════════════════════════════════════════
   NAV CATEGORII
═══════════════════════════════════════════════════════ */
#nav-categorii {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: var(--header-h);
  z-index: 900;
  box-shadow: 0 2px 12px rgba(0,0,0,.04);
}
.nav-cats-wrap { position: relative; display: flex; align-items: center; }
.nav-cats-list { display: flex; align-items: center; gap: 4px; overflow-x: auto; scrollbar-width: none; flex: 1; scroll-behavior: smooth; -webkit-overflow-scrolling: touch; padding: 10px 4px; }
.nav-cats-list::-webkit-scrollbar { display: none; }
.nav-cats-list li a {
  display: flex; align-items: center; gap: 7px;
  padding: 8px 16px;
  font-family: var(--font-display);
  font-size: .84rem; font-weight: 600;
  color: var(--text); white-space: nowrap;
  border-radius: var(--radius-full);
  transition: var(--transition);
  background: var(--bg);
  border: 1.5px solid transparent;
}
.nav-cats-list li a:hover { background: var(--accent-light); color: var(--accent); border-color: rgba(232,80,26,.2); }
.nav-cats-list li a.active { background: var(--accent); color: #fff; border-color: var(--accent); box-shadow: 0 4px 12px rgba(232,80,26,.3); }
.nav-cats-list li a i { font-size: .78rem; opacity: .85; }
.nav-scroll-btn { width: 40px; height: 40px; background: var(--surface); border: 1.5px solid var(--border); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--primary); font-size: .8rem; position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; opacity: 0; pointer-events: none; transition: all .2s; box-shadow: var(--shadow-sm); }
.nav-scroll-btn.show { opacity: 1; pointer-events: auto; }
.nav-scroll-btn:hover { background: var(--accent); color: #fff; border-color: var(--accent); }
.nav-scroll-btn.prev { left: -5px; }
.nav-scroll-btn.next { right: -5px; }

/* ════════════════════════════════════════════════════════
   HERO — float cards fix mobile
═══════════════════════════════════════════════════════ */
.hero-section { background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, #1e3a5f 100%); padding: 48px 0; position: relative; overflow: hidden; }
.hero-section::before { content: ''; position: absolute; top: -80px; right: -80px; width: 420px; height: 420px; border-radius: 50%; background: rgba(232,80,26,.1); }
.hero-section::after { content: ''; position: absolute; bottom: -50px; left: -50px; width: 260px; height: 260px; border-radius: 50%; background: rgba(255,255,255,.04); }
.hero-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; position: relative; z-index: 1; }
.hero-badge { display: inline-flex; align-items: center; gap: 7px; background: rgba(232,80,26,.2); border: 1px solid rgba(232,80,26,.4); color: #ffb89a; font-size: .75rem; font-weight: 700; padding: 6px 14px; border-radius: var(--radius-full); margin-bottom: 16px; text-transform: uppercase; letter-spacing: .5px; }
.hero-text h1 { font-size: clamp(1.7rem, 4vw, 2.8rem); font-weight: 900; color: #fff; line-height: 1.15; margin-bottom: 16px; }
.hero-text p { font-size: 1rem; color: rgba(255,255,255,.72); line-height: 1.65; max-width: 440px; margin-bottom: 28px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 34px; }
.btn-hero-primary, .btn-hero-secondary { display: inline-flex; align-items: center; gap: 9px; height: 48px; padding: 0 24px; border-radius: var(--radius-full); font-family: var(--font-display); font-weight: 800; font-size: .95rem; transition: var(--transition); white-space: nowrap; }
.btn-hero-primary { background: var(--accent); color: #fff; box-shadow: 0 6px 20px rgba(232,80,26,.4); }
.btn-hero-primary:hover { background: var(--accent-hover); transform: translateY(-2px); }
.btn-hero-secondary { background: rgba(255,255,255,.1); color: #fff; border: 1.5px solid rgba(255,255,255,.25); }
.btn-hero-secondary:hover { background: rgba(255,255,255,.18); }
.hero-stats { display: flex; gap: 28px; flex-wrap: wrap; }
.hero-stat strong { display: block; font-family: var(--font-display); font-size: 1.35rem; font-weight: 900; color: var(--gold); }
.hero-stat span { font-size: .76rem; color: rgba(255,255,255,.55); }
.hero-visual { position: relative; min-height: 380px; display: flex; align-items: center; justify-content: center; }
.hero-blob { position: absolute; width: 460px; height: 460px; max-width: 100%; background: radial-gradient(circle at 30% 30%, rgba(232,80,26,.4) 0%, rgba(232,80,26,.15) 35%, rgba(26,46,74,0) 70%); filter: blur(40px); border-radius: 50%; animation: blobFloat 8s ease-in-out infinite; }
@keyframes blobFloat { 0%,100% { transform: scale(1) translate(0,0); } 33% { transform: scale(1.08) translate(10px,-10px); } 66% { transform: scale(.95) translate(-8px,14px); } }
.hero-img-wrap { position: relative; width: 100%; max-width: 440px; aspect-ratio: 1; border-radius: 40% 60% 55% 45% / 50% 45% 55% 50%; overflow: hidden; box-shadow: 0 30px 80px rgba(0,0,0,.35); border: 4px solid rgba(255,255,255,.08); animation: heroMorph 10s ease-in-out infinite; }
@keyframes heroMorph { 0%,100% { border-radius: 40% 60% 55% 45% / 50% 45% 55% 50%; } 50% { border-radius: 55% 45% 40% 60% / 45% 55% 50% 50%; } }
.hero-img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.hero-cards-float { position: absolute; inset: 0; pointer-events: none; z-index: 3; }
.hero-float-card {
  position: absolute;
  background: rgba(255,255,255,.98);
  border-radius: 14px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: .82rem;
  font-weight: 700;
  color: var(--primary);
  box-shadow: 0 12px 32px rgba(0,0,0,.2);
  white-space: nowrap;
  animation: cardFloat 3.5s ease-in-out infinite alternate;
  max-width: calc(100% - 20px);
}
.hero-float-card i { color: var(--accent); font-size: 1.1rem; width: 28px; height: 28px; background: var(--accent-light); border-radius: 8px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.hero-card-1 { top: 8%; left: -4%; animation-delay: 0s; }
.hero-card-2 { top: 45%; right: -4%; animation-delay: .8s; }
.hero-card-3 { bottom: 10%; left: 2%; animation-delay: 1.6s; }
@keyframes cardFloat { from { transform: translateY(0); } to { transform: translateY(-12px); } }

/* ════════════════════════════════════════════════════════
   SECTIONS
═══════════════════════════════════════════════════════ */
.section-header { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 24px; gap: 14px; flex-wrap: wrap; }
.section-title { font-family: var(--font-display); font-size: clamp(1.25rem, 2.5vw, 1.6rem); font-weight: 800; color: var(--primary); position: relative; padding-bottom: 10px; }
.section-title::after { content: ''; position: absolute; bottom: 0; left: 0; width: 44px; height: 4px; border-radius: 2px; background: var(--accent); }
.produse-count { font-size: .9rem; font-weight: 500; color: var(--text-muted); margin-left: 8px; }
.section-link { font-size: .85rem; font-weight: 600; color: var(--accent); display: inline-flex; align-items: center; gap: 5px; }
.section-link:hover { gap: 9px; }

/* Categorii slider */
.categorii-section { padding: 40px 0 30px; }
.categorii-slider-wrap { position: relative; }
.categorii-slider { display: flex; gap: 14px; overflow-x: auto; scroll-behavior: smooth; scrollbar-width: none; padding: 6px 2px 14px; -webkit-overflow-scrolling: touch; }
.categorii-slider::-webkit-scrollbar { display: none; }
.cat-card { flex: 0 0 150px; background: var(--surface); border-radius: var(--radius); overflow: hidden; border: 2px solid var(--border); text-align: center; transition: var(--transition); text-decoration: none; display: block; }
.cat-card:hover, .cat-card.active { border-color: var(--accent); transform: translateY(-3px); box-shadow: var(--shadow); }
.cat-card-img, .cat-card-img-ph { width: 100%; height: 100px; object-fit: cover; display: block; background: var(--bg2); }
.cat-card-img-ph { display: flex; align-items: center; justify-content: center; font-size: 1.8rem; background: linear-gradient(135deg, var(--bg2), var(--border)); }
.cat-card-name { font-family: var(--font-display); font-size: .78rem; font-weight: 700; color: var(--text); padding: 10px 8px; line-height: 1.3; min-height: 44px; display: flex; align-items: center; justify-content: center; }
.slider-btn { position: absolute; top: 50%; transform: translateY(-55%); z-index: 10; width: 40px; height: 40px; border-radius: 50%; background: var(--white); border: 2px solid var(--border); box-shadow: var(--shadow); display: flex; align-items: center; justify-content: center; font-size: .95rem; color: var(--primary); transition: var(--transition); }
.slider-btn:hover { background: var(--accent); color: #fff; border-color: var(--accent); }
.slider-btn.prev { left: -14px; }
.slider-btn.next { right: -14px; }
.slider-btn:disabled { opacity: .3; cursor: not-allowed; }

/* ════════════════════════════════════════════════════════
   PRODUSE GRID & CARD — PRET PE UN SINGUR RÂND
═══════════════════════════════════════════════════════ */
.produse-section { padding: 20px 0 60px; }
.produse-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }

.produs-card {
  background: var(--surface);
  border-radius: var(--radius);
  border: 1.5px solid var(--border);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.produs-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: rgba(232,80,26,.25); }
.produs-card-img-wrap { position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: var(--bg2); }
.produs-card-img-wrap a { display: block; height: 100%; }
.produs-card-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.produs-card:hover .produs-card-img-wrap img { transform: scale(1.06); }
.badge-reducere { position: absolute; top: 10px; left: 10px; background: var(--accent); color: #fff; font-family: var(--font-display); font-size: .75rem; font-weight: 800; padding: 4px 9px; border-radius: var(--radius-sm); box-shadow: 0 2px 8px rgba(232,80,26,.4); z-index: 2; }

.produs-card-body { padding: 12px 14px 14px; display: flex; flex-direction: column; flex: 1; gap: 6px; }
.produs-card-name { font-family: var(--font-display); font-size: .92rem; font-weight: 700; color: var(--text); line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.5em; }
.produs-card-name:hover { color: var(--accent); }
.produs-card-rating { display: flex; align-items: center; gap: 5px; }
.produs-card-rating .stele { font-size: .72rem; }
.produs-card-rating .rating-nr { font-size: .72rem; color: var(--text-muted); }

/* PREȚURI pe UN SINGUR RÂND */
.produs-card-preturi {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: nowrap;
  margin-top: auto;
  white-space: nowrap;
  overflow: hidden;
}
.pret-nou {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--accent);
  white-space: nowrap;
  flex-shrink: 0;
}
.pret-vechi {
  font-size: .78rem;
  color: var(--text-light);
  text-decoration: line-through;
  white-space: nowrap;
  flex-shrink: 1;
  overflow: hidden;
  text-overflow: ellipsis;
}

.btn-adauga-cos {
  margin-top: 8px; width: 100%; height: 38px;
  border-radius: var(--radius-sm);
  background: var(--primary); color: #fff;
  font-family: var(--font-display); font-size: .84rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  gap: 7px;
  transition: var(--transition);
}
.btn-adauga-cos:hover { background: var(--accent); box-shadow: 0 4px 14px rgba(232,80,26,.3); }
.btn-adauga-cos:disabled { opacity: .7; cursor: wait; }

.btn-mai-multe-wrap { text-align: center; margin-top: 36px; }
.btn-mai-multe { display: inline-flex; align-items: center; gap: 10px; padding: 13px 32px; border-radius: var(--radius-full); background: var(--primary); color: #fff; font-family: var(--font-display); font-size: .95rem; font-weight: 700; transition: var(--transition); }
.btn-mai-multe:hover { background: var(--accent); box-shadow: 0 6px 20px rgba(232,80,26,.3); transform: translateY(-2px); }

.produse-filtre select { height: 40px; padding: 0 36px 0 14px; border: 2px solid var(--border); border-radius: var(--radius-sm); font-size: .86rem; font-weight: 600; color: var(--text); background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236b7280' d='M6 8L1 3h10z'/%3E%3C/svg%3E") no-repeat right 12px center; appearance: none; cursor: pointer; outline: none; }

/* ════════════════════════════════════════════════════════
   ═══ PAGINA PRODUS — LANDING PREMIUM ═══
═══════════════════════════════════════════════════════ */
.produs-page { padding: 24px 0 48px; }

.produs-breadcrumb { font-size: .82rem; color: var(--text-muted); margin-bottom: 22px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.produs-breadcrumb a { color: var(--accent); }
.produs-breadcrumb i { font-size: .58rem; color: var(--text-light); }

/* TOP LAYOUT */
.produs-top {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 40px;
  align-items: start;
  margin-bottom: 48px;
}

/* ── MAIN IMAGE cu colțuri rotunjite și chenar alb ── */
.produs-main-wrap {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.produs-main-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #fff;
  aspect-ratio: 1;
  border: 6px solid #fff;
  box-shadow: var(--shadow-lg);
  position: relative;
  cursor: zoom-in;
}

.produs-main-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: calc(var(--radius-lg) - 6px);
  transition: opacity .4s ease-in-out;
}

/* Thumbnails sub main image — cele 5 poze mici */
.produs-main-thumbs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
}

.main-thumb {
  aspect-ratio: 1;
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid var(--border);
  cursor: pointer;
  transition: var(--transition);
  background: var(--bg2);
}

.main-thumb:hover { border-color: var(--accent); }
.main-thumb.active {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(232,80,26,.2);
}

.main-thumb img { width: 100%; height: 100%; object-fit: cover; }

/* DETALII DREAPTA */
.produs-detalii h1 {
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  color: var(--primary);
  line-height: 1.25;
  margin-bottom: 14px;
}

.produs-rating-row { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; font-size: .88rem; color: var(--text-muted); flex-wrap: wrap; }
.produs-rating-row .stele { font-size: 1rem; }

/* ── MARKETING BADGES (bar de urgență) ── */
.marketing-bar {
  background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
  border: 1.5px solid #ffb74d;
  border-radius: var(--radius);
  padding: 12px 16px;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: .88rem;
  color: #92400e;
}

.marketing-bar i { font-size: 1.1rem; color: #e65100; }
.marketing-bar strong { color: #bf360c; }

.stock-urgency {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .78rem;
  color: var(--red);
  font-weight: 700;
  background: #fee2e2;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  margin-bottom: 14px;
}

.stock-urgency::before {
  content: '';
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--red);
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .5; transform: scale(1.3); }
}

/* Beneficii */
.produs-beneficii {
  background: linear-gradient(135deg, #fff8f5, #fff2ee);
  border-radius: var(--radius);
  padding: 18px 20px;
  margin-bottom: 22px;
  border: 1.5px solid rgba(232,80,26,.15);
}
.produs-beneficii ul { display: flex; flex-direction: column; gap: 2px; }
.produs-beneficii li { display: flex; align-items: center; gap: 12px; font-size: .93rem; color: var(--text); padding: 9px 0; border-bottom: 1px dashed rgba(232,80,26,.2); }
.produs-beneficii li:last-child { border-bottom: none; }
.produs-beneficii li::before {
  content: '✓';
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--accent); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: .75rem; font-weight: 800;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(232,80,26,.35);
}

/* ── PREȚ REDESIGN ATRAGATOR ── */
.produs-pret-bloc {
  background: linear-gradient(135deg, #fff 0%, var(--bg) 100%);
  border-radius: var(--radius);
  padding: 18px 22px;
  margin-bottom: 18px;
  border: 2px solid var(--accent);
  position: relative;
  overflow: hidden;
}

.produs-pret-bloc::before {
  content: '';
  position: absolute;
  top: -30px; right: -30px;
  width: 100px; height: 100px;
  background: radial-gradient(circle, rgba(232,80,26,.1), transparent 70%);
  border-radius: 50%;
}

.pret-top-row {
  display: flex;
  align-items: baseline;
  gap: 14px;
  flex-wrap: wrap;
  position: relative;
}

.produs-pret-nou {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.3rem);
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
  white-space: nowrap;
}

.produs-pret-vechi {
  font-size: 1.05rem;
  color: var(--text-light);
  text-decoration: line-through;
  white-space: nowrap;
}

.produs-pret-save {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: .78rem;
  font-weight: 800;
  background: var(--green);
  color: #fff;
  border-radius: var(--radius-full);
  padding: 4px 12px;
  box-shadow: 0 2px 8px rgba(34,197,94,.3);
}

.pret-rate {
  margin-top: 10px;
  font-size: .82rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

.pret-rate strong { color: var(--primary); font-weight: 700; }

/* Action row: cantitate + buton */
.produs-action-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: stretch;
  margin-bottom: 14px;
}

.cantitate-ctrl {
  display: flex;
  align-items: center;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: #fff;
}

.cantitate-ctrl button {
  width: 42px; height: 54px;
  display: flex; align-items: center; justify-content: center;
  font-size: .95rem;
  color: var(--text);
  background: var(--bg2);
  transition: var(--transition);
}
.cantitate-ctrl button:hover { background: var(--primary); color: #fff; }

.cantitate-ctrl input {
  width: 52px; height: 54px;
  text-align: center;
  border: none;
  border-left: 1.5px solid var(--border);
  border-right: 1.5px solid var(--border);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  background: #fff;
  outline: none;
}

.btn-adauga-cos-lg {
  height: 54px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #fff;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  gap: 10px;
  transition: var(--transition);
  box-shadow: 0 8px 24px rgba(232,80,26,.4);
  position: relative;
  overflow: hidden;
}

.btn-adauga-cos-lg::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.3), transparent);
  transition: left .5s;
}

.btn-adauga-cos-lg:hover::before { left: 100%; }
.btn-adauga-cos-lg:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(232,80,26,.5); }
.btn-adauga-cos-lg:disabled { opacity: .7; cursor: wait; }

.produs-stoc-row {
  display: flex; align-items: center; gap: 18px;
  font-size: .85rem;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.produs-stoc-ok { color: var(--green); font-weight: 700; display: flex; align-items: center; gap: 6px; }
.produs-stoc-no { color: var(--red); font-weight: 700; display: flex; align-items: center; gap: 6px; }

.produs-livrare-inline {
  background: linear-gradient(135deg, #e0f2fe, #dbeafe);
  border: 1.5px solid #7dd3fc;
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: .88rem;
  color: #075985;
  display: flex; align-items: flex-start; gap: 10px;
  margin-bottom: 14px;
  line-height: 1.55;
}
.produs-livrare-inline i { font-size: 1.05rem; flex-shrink: 0; margin-top: 2px; color: #0284c7; }

/* TRUST pe 1 rând pe mobil */
.produs-trust {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg);
}

.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding: 12px 6px;
  font-size: .7rem;
  font-weight: 700;
  color: var(--text-muted);
  text-align: center;
  border-right: 1px solid var(--border);
}
.trust-item:last-child { border-right: none; }
.trust-item i { font-size: 1.1rem; color: var(--accent); }

/* ── DESCRIERE — paragraf + poză pe același rând (desktop) ── */
.produs-descriere-wrap { margin-bottom: 48px; }
.produs-descriere-wrap h2 {
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
  color: var(--primary);
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 3px solid var(--accent);
  display: inline-block;
}

.descriere-paragrafe { display: flex; flex-direction: column; gap: 36px; }

/* RÂND: paragraf + poză aliniate orizontal pe desktop */
.descriere-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  align-items: center;
}

.descriere-para {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  padding: 22px 26px;
  font-size: 1rem;
  color: var(--text);
  line-height: 1.8;
  box-shadow: var(--shadow-sm);
}

.descriere-para.alt {
  background: linear-gradient(135deg, var(--bg), var(--surface));
  border-left-color: var(--primary);
}

.descriere-img-side {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--bg2);
  border: 4px solid #fff;
}

.descriere-img-side img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: calc(var(--radius-lg) - 4px);
}

/* ── GALERIE 5 SLOT-URI cu SWAP rotativ ── */
.galerie-wrap { margin-bottom: 48px; }
.galerie-wrap h2 {
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
  color: var(--primary);
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 3px solid var(--accent);
  display: inline-block;
}

/* Desktop: 1fr 2fr 1fr — laterale au înălțimea = centrul */
.galerie-layout {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  gap: 12px;
  max-width: 900px;
  margin: 0 auto;
  align-items: stretch;
}

.gal-col-side {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Slot generic (thumb-uri laterale) */
.gal-slot {
  aspect-ratio: 1;
  border-radius: var(--radius);
  overflow: hidden;
  border: 2px solid var(--border);
  background: var(--bg2);
  cursor: pointer;
  transition: var(--transition);
  position: relative;
}

.gal-slot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity .35s ease-in-out;
  display: block;
}

.gal-slot:hover {
  border-color: var(--accent);
  transform: scale(1.02);
}

/* Slot care urmează să intre în centru — highlight */
.gal-slot.next-up {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(232,80,26,.18);
}

.gal-slot.next-up::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  background: var(--accent);
  animation: galSlotProgress 3s linear forwards;
}

@keyframes galSlotProgress {
  from { width: 0; }
  to { width: 100%; }
}

/* Slot CENTRU — mare, cu chenar alb */
.gal-slot-center {
  aspect-ratio: 1;
  border: 6px solid #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  cursor: zoom-in;
}

.gal-slot-center:hover {
  transform: none;
}

/* ── VIDEO YOUTUBE ── */
.produs-video-wrap { margin-bottom: 48px; }
.produs-video-wrap h2 {
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
  color: var(--primary);
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 3px solid var(--accent);
  display: inline-block;
}

.video-container {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  aspect-ratio: 16/9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  background: #000;
}

.video-container iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Specificații */
.produs-spec-wrap { margin-bottom: 48px; }
.produs-spec-wrap h2 { font-size: clamp(1.2rem, 2.5vw, 1.5rem); color: var(--primary); margin-bottom: 20px; padding-bottom: 10px; border-bottom: 3px solid var(--accent); display: inline-block; }

.spec-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1.5px solid var(--border);
  background: var(--surface);
}

.spec-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  font-size: .92rem;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  gap: 12px;
}

.spec-item:nth-child(odd) { border-right: 1px solid var(--border); }
.spec-item:nth-last-child(-n+2) { border-bottom: none; }
.spec-item:nth-child(2n) { background: var(--bg); }

.spec-key { color: var(--text-muted); font-weight: 600; display: flex; align-items: center; gap: 9px; }
.spec-key i { color: var(--accent); font-size: .85rem; }
.spec-val { color: var(--primary); font-weight: 800; font-family: var(--font-display); text-align: right; }

/* Recenzii */
.recenzii-wrap { margin-bottom: 48px; }
.recenzii-wrap h2 { font-size: clamp(1.2rem, 2.5vw, 1.5rem); color: var(--primary); margin-bottom: 20px; padding-bottom: 10px; border-bottom: 3px solid var(--accent); display: inline-block; }

.recenzii-sumar {
  background: linear-gradient(135deg, var(--bg) 0%, var(--surface) 100%);
  border-radius: var(--radius);
  padding: 24px 28px;
  margin-bottom: 24px;
  border: 1.5px solid var(--border);
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.recenzie-scor-big {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
  padding-right: 24px;
  border-right: 2px solid var(--border);
}

.recenzii-sumar-info .stele { font-size: 1.1rem; }
.recenzii-sumar-info p { font-size: .88rem; color: var(--text-muted); margin-top: 6px; }
.recenzii-verify { display: inline-flex; align-items: center; gap: 6px; font-size: .75rem; background: #d1fae5; color: #065f46; padding: 3px 10px; border-radius: var(--radius-full); font-weight: 700; margin-top: 8px; }

/* ═══ GRID RECENZII — 3 pe rând cu auto-balansare (poze pătrate) ═══
   Folosim CSS columns care echilibrează automat conținutul,
   indiferent dacă o recenzie are poză sau nu.
*/
.recenzii-grid {
  column-count: 3;
  column-gap: 18px;
  align-items: start;
}

.recenzie-card {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  transition: var(--transition);
  /* IMPORTANT pentru column layout — fiecare card pe o singură coloană */
  break-inside: avoid;
  page-break-inside: avoid;
  -webkit-column-break-inside: avoid;
  margin-bottom: 18px;
  display: block;
  width: 100%;
  /* Folosim un wrapper interior pentru flex layout */
}

/* Container interior — pentru spațiere între elemente */
.recenzie-card > * {
  margin-bottom: 12px;
}
.recenzie-card > *:last-child {
  margin-bottom: 0;
}
.recenzie-card:hover { box-shadow: var(--shadow); border-color: rgba(232,80,26,.2); }
.recenzie-header { display: flex; align-items: center; gap: 12px; margin: 0; }

.recenzie-avatar-ph {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800;
  font-family: var(--font-display);
  flex-shrink: 0;
  font-size: 1.1rem;
  box-shadow: var(--shadow-sm);
}

.recenzie-meta { flex: 1; min-width: 0; }
.recenzie-meta strong {
  display: block;
  font-size: .9rem;
  color: var(--text);
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.recenzie-meta .stele { font-size: .78rem; }
.recenzie-data { font-size: .7rem; color: var(--text-muted); margin-top: 2px; }

.recenzie-badge {
  margin-left: auto;
  font-size: .68rem;
  background: #d1fae5;
  color: #065f46;
  padding: 2px 7px;
  border-radius: var(--radius-full);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}

.recenzie-text {
  font-size: .88rem;
  line-height: 1.65;
  color: var(--text);
  margin: 0;
}

/* Poză recenzie — PĂTRATĂ */
.recenzie-poza-wrap {
  border-radius: 10px;
  overflow: hidden;
  background: var(--bg2);
  border: 1.5px solid var(--border);
  aspect-ratio: 1 / 1;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.recenzie-poza {
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: zoom-in;
  transition: transform .3s ease;
  display: block;
}

.recenzie-poza:hover { transform: scale(1.03); }

/* RESPONSIVE */
@media (max-width: 1024px) {
  .recenzii-grid { column-count: 2; }
}

@media (max-width: 600px) {
  .recenzii-grid { column-count: 1; }
}

/* ═══ TEXT BOLD în descriere — design premium ═══ */
.hl-bold {
  font-weight: 800;
  color: var(--primary);
  background: linear-gradient(180deg,
    transparent 0%,
    transparent 65%,
    rgba(232, 80, 26, 0.18) 65%,
    rgba(232, 80, 26, 0.28) 90%,
    transparent 100%);
  padding: 0 4px;
  border-radius: 3px;
  position: relative;
  display: inline;
  transition: all 0.25s ease;
  text-shadow: 0 0 0 transparent;
}

.hl-bold:hover {
  color: var(--accent);
  background: linear-gradient(180deg,
    transparent 0%,
    transparent 60%,
    rgba(232, 80, 26, 0.35) 60%,
    rgba(255, 152, 0, 0.4) 100%);
}

/* ═══ TITLU PER PARAGRAF — design profesional ═══ */
.paragraf-titlu {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 14px;
  line-height: 1.3;
  position: relative;
  padding-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.paragraf-titlu::before {
  content: '';
  display: block;
  width: 6px;
  height: 28px;
  background: linear-gradient(180deg, var(--accent) 0%, var(--primary) 100%);
  border-radius: 3px;
  flex-shrink: 0;
}

.paragraf-titlu::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 16px;
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), transparent);
  border-radius: 2px;
}

.paragraf-text {
  color: var(--text);
  line-height: 1.75;
  font-size: 1rem;
}

/* Pe paragraful 3 (full width fără poză) — titlu centrat și mai mare */
.descriere-para-full {
  background: linear-gradient(135deg, var(--bg2) 0%, transparent 100%);
  padding: 24px 28px;
  border-radius: 14px;
  border-left: 4px solid var(--accent);
  margin-top: 18px;
}

.descriere-para-full .paragraf-titlu {
  font-size: clamp(1.2rem, 2.2vw, 1.55rem);
}

/* Vechiul "descriere-titlu-mare" rămâne pentru compatibilitate */
.descriere-titlu-mare {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 1.85rem);
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 22px;
  line-height: 1.3;
  text-align: center;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Hint pentru deblocare sunet YouTube */
.yt-unmute-hint {
  position: absolute;
  bottom: 14px;
  left: 14px;
  background: rgba(0,0,0,.78);
  color: #fff;
  padding: 8px 14px;
  border-radius: var(--radius-full);
  font-size: .82rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  z-index: 10;
  transition: var(--transition);
  box-shadow: 0 4px 16px rgba(0,0,0,.4);
}

.yt-unmute-hint:hover {
  background: var(--accent);
  transform: scale(1.05);
}

.yt-unmute-hint i { font-size: 1rem; }

/* FAQ */
.faq-wrap { margin-bottom: 48px; }
.faq-wrap h2 { font-size: clamp(1.2rem, 2.5vw, 1.5rem); color: var(--primary); margin-bottom: 20px; padding-bottom: 10px; border-bottom: 3px solid var(--accent); display: inline-block; }

.faq-item { background: var(--surface); border: 1.5px solid var(--border); border-radius: var(--radius); margin-bottom: 12px; overflow: hidden; transition: var(--transition); }
.faq-item:hover { border-color: rgba(232,80,26,.3); }
.faq-item.open { border-color: var(--accent); box-shadow: var(--shadow); }

.faq-question { width: 100%; display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; font-family: var(--font-display); font-size: .96rem; font-weight: 700; color: var(--text); text-align: left; gap: 14px; transition: var(--transition); }
.faq-item.open .faq-question { color: var(--accent); background: var(--accent-light); }

.faq-q-icon { width: 28px; height: 28px; border-radius: 50%; background: var(--accent-light); color: var(--accent); display: flex; align-items: center; justify-content: center; font-size: .75rem; flex-shrink: 0; transition: var(--transition); }
.faq-item.open .faq-q-icon { background: var(--accent); color: #fff; transform: rotate(180deg); }

.faq-answer { display: none; padding: 0 20px 18px 62px; font-size: .92rem; color: var(--text-muted); line-height: 1.7; }
.faq-item.open .faq-answer { display: block; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; background: rgba(0,0,0,.92); z-index: 9999; display: none; align-items: center; justify-content: center; padding: 20px; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 92vw; max-height: 88vh; border-radius: var(--radius); object-fit: contain; }
.lightbox-close { position: absolute; top: 20px; right: 20px; width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,.15); color: #fff; font-size: 1.1rem; display: flex; align-items: center; justify-content: center; }
.lightbox-close:hover { background: var(--accent); }

/* ════════════════════════════════════════════════════════
   COS
═══════════════════════════════════════════════════════ */
.cos-page { padding: 28px 0 60px; }
.cos-page h1 { font-size: clamp(1.4rem, 3vw, 1.9rem); margin-bottom: 24px; color: var(--primary); display: flex; align-items: center; gap: 12px; }
.cos-page h1 i { color: var(--accent); }
.cos-layout { display: grid; grid-template-columns: 1fr 360px; gap: 28px; align-items: start; }

.banner-livrare { background: linear-gradient(135deg, var(--primary) 0%, #1e3a5f 100%); border-radius: var(--radius); padding: 16px 22px; margin-bottom: 20px; color: #fff; }
.banner-livrare.success { background: linear-gradient(135deg, #065f46, #047857); }
.banner-livrare-top { display: flex; align-items: center; gap: 14px; margin-bottom: 10px; font-size: .9rem; }
.banner-livrare-top i { font-size: 1.3rem; color: var(--gold); }
.banner-livrare-top strong { color: var(--gold); }
.banner-livrare.success .banner-livrare-top i,
.banner-livrare.success .banner-livrare-top strong { color: #6ee7b7; }
.banner-progress { background: rgba(255,255,255,.2); border-radius: var(--radius-full); height: 6px; overflow: hidden; }
.banner-progress-bar { height: 100%; background: var(--gold); border-radius: var(--radius-full); transition: width .5s ease; }
.banner-livrare.success .banner-progress-bar { background: #6ee7b7; }

.cos-table-wrap { background: var(--surface); border-radius: var(--radius); border: 1.5px solid var(--border); overflow: hidden; }
.cos-table { width: 100%; border-collapse: collapse; }
.cos-table thead { background: var(--primary); color: #fff; }
.cos-table thead th { padding: 13px 16px; font-family: var(--font-display); font-size: .82rem; font-weight: 700; text-align: left; }
.cos-table tbody tr { border-bottom: 1px solid var(--border); transition: var(--transition); }
.cos-table tbody tr:last-child { border-bottom: none; }
.cos-table tbody tr:hover { background: var(--bg); }
.cos-table td { padding: 14px 16px; vertical-align: middle; font-size: .9rem; }
.cos-produs-info { display: flex; align-items: center; gap: 12px; }
.cos-produs-img { width: 64px; height: 64px; border-radius: var(--radius-sm); object-fit: cover; background: var(--bg2); flex-shrink: 0; }
.cos-produs-name { font-family: var(--font-display); font-size: .9rem; font-weight: 700; color: var(--text); }
.cos-pret { font-weight: 700; white-space: nowrap; }
.cos-total { font-family: var(--font-display); font-weight: 800; color: var(--accent); white-space: nowrap; }
.cos-cant-ctrl { display: flex; align-items: center; border: 2px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; width: fit-content; }
.cos-cant-ctrl button { width: 32px; height: 36px; background: var(--bg2); color: var(--text); font-size: .8rem; transition: var(--transition); }
.cos-cant-ctrl button:hover { background: var(--primary); color: #fff; }
.cos-cant-ctrl input { width: 44px; height: 36px; text-align: center; border: none; border-left: 1.5px solid var(--border); border-right: 1.5px solid var(--border); font-family: var(--font-display); font-weight: 700; background: #fff; outline: none; }
.btn-sterge-cos { width: 34px; height: 34px; border-radius: 50%; background: #fee2e2; color: var(--red); display: flex; align-items: center; justify-content: center; transition: var(--transition); }
.btn-sterge-cos:hover { background: var(--red); color: #fff; }
.cos-table-footer { display: flex; justify-content: space-between; padding: 14px 18px; border-top: 1.5px solid var(--border); background: var(--bg); gap: 12px; flex-wrap: wrap; }

.cos-rezumat { background: var(--surface); border-radius: var(--radius); border: 1.5px solid var(--border); padding: 24px; position: sticky; top: calc(var(--header-h) + 14px); }
.cos-rezumat h3 { font-size: 1.05rem; color: var(--primary); margin-bottom: 18px; padding-bottom: 12px; border-bottom: 2px solid var(--border); display: flex; align-items: center; gap: 8px; }
.cos-rezumat h3 i { color: var(--accent); }
.rezumat-row { display: flex; justify-content: space-between; padding: 9px 0; font-size: .9rem; border-bottom: 1px dashed var(--border); gap: 8px; }
.rezumat-row:last-of-type { border-bottom: none; }
.rezumat-row > span:last-child { white-space: nowrap; text-align: right; }
.badge-gratuit { background: var(--green); color: #fff; font-size: .62rem; font-weight: 800; padding: 2px 7px; border-radius: var(--radius-full); margin-left: 4px; }
.rezumat-total { display: flex; justify-content: space-between; margin-top: 14px; padding-top: 14px; border-top: 2px solid var(--primary); gap: 8px; }
.rezumat-total span:first-child { font-family: var(--font-display); font-weight: 800; color: var(--primary); }
.rezumat-total span:last-child { font-family: var(--font-display); font-weight: 900; font-size: 1.3rem; color: var(--accent); white-space: nowrap; }

.btn-continua { width: 100%; height: 50px; margin-top: 18px; border-radius: var(--radius); background: var(--accent); color: #fff; font-family: var(--font-display); font-weight: 800; display: flex; align-items: center; justify-content: center; gap: 9px; transition: var(--transition); box-shadow: 0 6px 20px rgba(232,80,26,.3); }
.btn-continua:hover { background: var(--accent-hover); transform: translateY(-2px); }
.btn-inapoi-cumparaturi { display: inline-flex; align-items: center; gap: 7px; font-family: var(--font-display); font-size: .87rem; font-weight: 700; color: var(--primary); }
.btn-inapoi-cumparaturi:hover { color: var(--accent); gap: 10px; }
.btn-goleste-cos { display: inline-flex; align-items: center; gap: 6px; font-size: .85rem; font-weight: 600; color: var(--red); background: #fee2e2; padding: 8px 14px; border-radius: var(--radius-sm); }
.btn-goleste-cos:hover { background: var(--red); color: #fff; }

/* ════════════════════════════════════════════════════════
   COMANDA
═══════════════════════════════════════════════════════ */
.comanda-page { padding: 28px 0 60px; }
.comanda-page h1 { font-size: clamp(1.4rem, 3vw, 1.9rem); margin-bottom: 22px; color: var(--primary); display: flex; align-items: center; gap: 12px; }
.comanda-page h1 i { color: var(--accent); }
.comanda-layout { display: grid; grid-template-columns: 1fr 380px; gap: 28px; align-items: start; }
.comanda-form-wrap { background: var(--surface); border-radius: var(--radius); border: 1.5px solid var(--border); padding: 24px; }

.form-section { margin-bottom: 22px; }
.form-section-title { font-family: var(--font-display); font-size: .98rem; font-weight: 800; color: var(--primary); margin-bottom: 14px; padding-bottom: 8px; border-bottom: 2px solid var(--border); display: flex; align-items: center; gap: 9px; }
.form-section-title i { color: var(--accent); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.form-row.full { grid-template-columns: 1fr; }
.form-group { display: flex; flex-direction: column; gap: 5px; }
.form-group label { font-size: .78rem; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: .3px; }
.form-group label.req::after { content: ' *'; color: var(--accent); }
.form-group input, .form-group select { height: 46px; border-radius: var(--radius-sm); border: 2px solid var(--border); padding: 0 14px; font-size: .93rem; background: var(--bg); outline: none; transition: var(--transition); }
.form-group input:focus, .form-group select:focus { border-color: var(--accent); background: #fff; box-shadow: 0 0 0 3px rgba(232,80,26,.1); }
.form-group input.error { border-color: var(--red); background: #fef2f2; }
.form-hint { font-size: .72rem; color: var(--text-muted); }

.livrare-data-estimare { display: flex; align-items: center; gap: 12px; background: #f0f9ff; border: 1.5px solid #bae6fd; border-radius: var(--radius-sm); padding: 12px 16px; font-size: .9rem; color: #0369a1; margin-top: 6px; }
.livrare-data-estimare i { font-size: 1.2rem; }
.livrare-data-estimare strong { display: block; font-size: .78rem; opacity: .75; }
.livrare-data-estimare span { font-weight: 700; font-size: 1rem; }

.plata-optiuni { display: flex; flex-direction: column; gap: 10px; }
.plata-optiune { display: flex; align-items: center; gap: 14px; border: 2px solid var(--border); border-radius: var(--radius); padding: 14px 18px; cursor: pointer; transition: var(--transition); }
.plata-optiune:hover { border-color: var(--accent); background: var(--accent-light); }
.plata-optiune.selected { border-color: var(--accent); background: var(--accent-light); }
.plata-optiune input[type="radio"] { display: none; }
.radio-custom { width: 22px; height: 22px; border-radius: 50%; border: 2.5px solid var(--border); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.plata-optiune.selected .radio-custom { border-color: var(--accent); background: var(--accent); }
.plata-optiune.selected .radio-custom::after { content: ''; width: 8px; height: 8px; border-radius: 50%; background: #fff; }
.plata-icon { font-size: 1.4rem; color: var(--primary); }
.plata-info strong { display: block; font-family: var(--font-display); font-size: .95rem; color: var(--text); }
.plata-info span { font-size: .82rem; color: var(--text-muted); display: block; margin-top: 2px; }
.form-check { display: flex; align-items: flex-start; gap: 10px; font-size: .87rem; line-height: 1.55; cursor: pointer; margin-top: 16px; }
.form-check input { width: 18px; height: 18px; accent-color: var(--accent); margin-top: 1px; }
.form-check a { color: var(--accent); font-weight: 600; }

.comanda-rezumat { background: var(--surface); border-radius: var(--radius); border: 1.5px solid var(--border); padding: 24px; position: sticky; top: calc(var(--header-h) + 14px); }
.comanda-rezumat h3 { font-size: 1.05rem; color: var(--primary); margin-bottom: 16px; }
.rezumat-produs-row { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--border); }
.rezumat-produs-row img { width: 48px; height: 48px; border-radius: var(--radius-sm); object-fit: cover; background: var(--bg2); flex-shrink: 0; }
.rp-name { flex: 1; font-size: .85rem; font-weight: 600; line-height: 1.35; }
.rp-qty { background: var(--bg2); border-radius: var(--radius-full); padding: 1px 7px; font-size: .7rem; color: var(--text-muted); margin-left: 4px; font-weight: 700; }
.rp-pret { font-family: var(--font-display); font-weight: 800; color: var(--accent); font-size: .9rem; white-space: nowrap; }

.btn-trimite { width: 100%; height: 54px; margin-top: 18px; border-radius: var(--radius); background: var(--accent); color: #fff; font-family: var(--font-display); font-weight: 800; font-size: 1rem; display: flex; align-items: center; justify-content: center; gap: 10px; box-shadow: 0 6px 20px rgba(232,80,26,.3); transition: var(--transition); }
.btn-trimite:hover { background: var(--accent-hover); transform: translateY(-2px); }
.btn-trimite:disabled { opacity: .7; cursor: wait; }
.fara-griji { margin-top: 14px; background: var(--bg); border-radius: var(--radius-sm); padding: 12px 14px; font-size: .8rem; color: var(--text-muted); text-align: center; line-height: 1.5; }
.fara-griji i { color: var(--green); }

.comanda-pasi { display: flex; align-items: center; justify-content: center; margin-bottom: 28px; }
.pas { display: flex; flex-direction: column; align-items: center; gap: 5px; }
.pas i { width: 38px; height: 38px; border-radius: 50%; background: var(--bg2); color: var(--text-muted); display: flex; align-items: center; justify-content: center; font-size: .9rem; border: 2px solid var(--border); }
.pas span { font-size: .72rem; font-weight: 700; color: var(--text-muted); }
.pas.done i { background: var(--green); color: #fff; border-color: var(--green); }
.pas.active i { background: var(--accent); color: #fff; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(232,80,26,.15); }
.pas.active span { color: var(--accent); }
.pas-linie { width: 60px; height: 2px; background: var(--border); margin: 0 6px 22px; }
.pas-linie.done { background: var(--green); }

.alert-error { background: #fee2e2; border: 1.5px solid #fca5a5; color: #991b1b; border-radius: var(--radius); padding: 14px 18px; margin-bottom: 18px; display: flex; gap: 12px; font-size: .88rem; }
.alert-error i { font-size: 1.2rem; flex-shrink: 0; margin-top: 2px; }
.alert-error ul { padding-left: 18px; margin-top: 4px; }

/* Confirmare */
.confirmare-page { padding: 48px 0 60px; }
.confirmare-card { background: var(--surface); border-radius: var(--radius-lg); border: 1.5px solid var(--border); padding: 40px 32px; text-align: center; max-width: 820px; margin: 0 auto; box-shadow: var(--shadow-lg); }
.confirmare-icon { width: 86px; height: 86px; border-radius: 50%; background: #d1fae5; display: flex; align-items: center; justify-content: center; margin: 0 auto 22px; font-size: 2.4rem; color: var(--green); box-shadow: 0 0 0 14px rgba(34,197,94,.08); animation: popIn .5s cubic-bezier(.175,.885,.32,1.275); }
@keyframes popIn { from { transform: scale(0); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.confirmare-card h1 { font-size: clamp(1.4rem, 3vw, 1.9rem); color: var(--primary); margin-bottom: 10px; }
.confirmare-sub { color: var(--text-muted); margin-bottom: 24px; max-width: 500px; margin-left: auto; margin-right: auto; line-height: 1.65; font-size: .95rem; }
.confirmare-id { display: inline-flex; align-items: center; gap: 10px; background: var(--accent-light); border: 1.5px solid rgba(232,80,26,.2); border-radius: var(--radius); padding: 11px 22px; margin-bottom: 30px; font-size: .85rem; color: var(--text-muted); }
.confirmare-id strong { font-family: var(--font-display); font-size: 1.1rem; color: var(--accent); font-weight: 800; letter-spacing: 1.5px; }
.confirmare-rezumat { text-align: left; background: var(--bg); border-radius: var(--radius); padding: 22px; margin-bottom: 22px; }
.conf-row { display: flex; justify-content: space-between; padding: 9px 0; font-size: .9rem; border-bottom: 1px dashed var(--border); gap: 8px; }
.conf-row:last-child { border-bottom: none; }
.conf-row > span:last-child { white-space: nowrap; }
.conf-total { font-family: var(--font-display); font-weight: 900; font-size: 1.15rem; color: var(--accent); padding-top: 12px; border-top: 2px solid var(--primary); margin-top: 6px; border-bottom: none; }

/* ════════════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════════ */
#footer { background: var(--primary-dark); color: rgba(255,255,255,.8); padding: 50px 0 0; margin-top: 60px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1.2fr 1fr; gap: 48px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.08); align-items: start; }
.footer-brand .logo a { font-size: 1.35rem; }
.footer-desc { font-size: .88rem; line-height: 1.7; color: rgba(255,255,255,.55); margin: 14px 0 20px; max-width: 320px; }
.footer-contact-item { display: flex; align-items: center; gap: 10px; margin-bottom: 9px; font-size: .88rem; }
.footer-contact-item i { color: var(--accent); width: 18px; text-align: center; }
.footer-contact-item a { color: var(--accent); font-weight: 600; }
.footer-contact-item a:hover { text-decoration: underline; }
.footer-social { display: flex; gap: 9px; margin-top: 18px; }
.footer-social a { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.08); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.7); transition: var(--transition); border: 1.5px solid rgba(255,255,255,.08); font-size: .9rem; }
.footer-social a:hover { background: var(--accent); color: #fff; border-color: var(--accent); transform: translateY(-2px); }
.footer-col h4 { font-size: .95rem; color: #fff; margin-bottom: 16px; padding-bottom: 9px; border-bottom: 2px solid var(--accent); width: fit-content; }
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-links a { font-size: .86rem; color: rgba(255,255,255,.6); display: flex; align-items: center; gap: 7px; transition: var(--transition); }
.footer-links a::before { content: '›'; color: var(--accent); font-size: 1rem; }
.footer-links a:hover { color: #fff; gap: 10px; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; padding: 18px 0; font-size: .82rem; color: rgba(255,255,255,.35); gap: 12px; flex-wrap: wrap; }
.footer-payments { display: flex; gap: 12px; font-size: 1.7rem; color: rgba(255,255,255,.3); align-items: center; }
.footer-payments i { transition: var(--transition); }
.footer-payments i:hover { color: #fff; }

/* Cookies & Toast — dreapta SUS */
.cookies-banner { position: fixed; bottom: 20px; left: 20px; right: 20px; max-width: 560px; background: var(--primary-dark); border-radius: var(--radius-lg); padding: 22px 26px; box-shadow: 0 20px 60px rgba(0,0,0,.35); z-index: 9999; border: 1.5px solid rgba(255,255,255,.1); display: none; }
.cookies-banner.show { display: block; }
.cookies-banner h3 { font-size: .98rem; color: #fff; margin-bottom: 8px; display: flex; align-items: center; gap: 10px; }
.cookies-banner h3 i { color: var(--gold); }
.cookies-banner p { font-size: .82rem; color: rgba(255,255,255,.65); line-height: 1.55; margin-bottom: 16px; }
.cookies-banner p a { color: var(--accent); }
.cookies-btns { display: flex; gap: 10px; }
.btn-cookies-accept { flex: 1; height: 42px; border-radius: var(--radius-sm); background: var(--accent); color: #fff; font-weight: 700; font-size: .88rem; }
.btn-cookies-accept:hover { background: var(--accent-hover); }
.btn-cookies-refuse { flex: 1; height: 42px; border-radius: var(--radius-sm); background: rgba(255,255,255,.1); color: rgba(255,255,255,.7); font-weight: 600; font-size: .88rem; border: 1.5px solid rgba(255,255,255,.15); }
.btn-cookies-refuse:hover { background: rgba(255,255,255,.18); color: #fff; }

.toast-wrap { position: fixed; top: calc(var(--header-h) + 16px); right: 20px; z-index: 99999; display: flex; flex-direction: column; gap: 10px; align-items: flex-end; pointer-events: none; max-width: 360px; }
.toast { background: var(--primary); color: #fff; border-radius: var(--radius); padding: 13px 18px; font-size: .88rem; font-weight: 600; box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 10px; min-width: 240px; animation: toastInRight .3s cubic-bezier(.175,.885,.32,1.275); border-left: 4px solid var(--accent); pointer-events: auto; }
.toast.success { border-left-color: var(--green); }
.toast.error { border-left-color: var(--red); }
@keyframes toastInRight { from { transform: translateX(120%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }

.empty-state { text-align: center; padding: 60px 20px; }
.empty-state i { font-size: 3rem; color: var(--border); margin-bottom: 16px; }
.empty-state h3 { font-size: 1.15rem; color: var(--text-muted); margin-bottom: 8px; }
.empty-state p { font-size: .88rem; color: var(--text-light); margin-bottom: 20px; }

.stele { display: flex; gap: 2px; color: var(--gold); }

.search-suggestions { position: absolute; top: calc(100% + 6px); left: 0; right: 0; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); border: 1.5px solid var(--border); z-index: 999; display: none; max-height: 340px; overflow-y: auto; }
.search-suggestions.open { display: block; }
.suggestion-item { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-bottom: 1px solid var(--border); color: var(--text); }
.suggestion-item:last-child { border-bottom: none; }
.suggestion-item:hover { background: var(--bg); }
.suggestion-item img { width: 40px; height: 40px; border-radius: var(--radius-sm); object-fit: cover; background: var(--bg2); flex-shrink: 0; }
.suggestion-item .sug-name { font-size: .88rem; font-weight: 600; }
.suggestion-item .sug-pret { font-family: var(--font-display); font-size: .85rem; font-weight: 800; color: var(--accent); margin-left: auto; white-space: nowrap; }

.modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.55); z-index: 99998; opacity: 0; pointer-events: none; transition: opacity .2s; }
.modal-overlay.open { opacity: 1; pointer-events: auto; }
.modal-box { position: fixed; top: 50%; left: 50%; transform: translate(-50%,-60%); background: #fff; border-radius: var(--radius-lg); padding: 28px 30px; width: 90%; max-width: 420px; box-shadow: 0 24px 60px rgba(0,0,0,.3); z-index: 99999; opacity: 0; pointer-events: none; transition: all .25s cubic-bezier(.175,.885,.32,1.275); }
.modal-box.open { opacity: 1; pointer-events: auto; transform: translate(-50%,-50%); }
.modal-box .modal-icon { width: 56px; height: 56px; border-radius: 50%; background: var(--accent-light); color: var(--accent); display: flex; align-items: center; justify-content: center; font-size: 1.4rem; margin: 0 auto 14px; }
.modal-box h3 { font-size: 1.1rem; color: var(--text); text-align: center; margin-bottom: 8px; }
.modal-box p { font-size: .92rem; color: var(--text-muted); text-align: center; line-height: 1.6; margin-bottom: 20px; }
.modal-buttons { display: flex; gap: 10px; }
.modal-buttons button { flex: 1; height: 44px; border-radius: var(--radius-sm); font-family: var(--font-display); font-weight: 700; font-size: .92rem; }
.modal-btn-cancel { background: var(--bg2); color: var(--text); }
.modal-btn-confirm { background: var(--accent); color: #fff; }
.modal-btn-cancel:hover { background: var(--border); }
.modal-btn-confirm:hover { background: var(--accent-hover); }

.text-accent { color: var(--accent); }

/* ════════════════════════════════════════════════════════
   RESPONSIVE — PERFECT PE MOBIL
═══════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .produse-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 900px) {
  :root { --header-h: var(--header-h-mob); }

  .container { padding: 0 14px; }

  /* Header pe mobil: Logo | (spacer flex) | PHONE | CART */
  .header-inner {
    grid-template-columns: auto 1fr auto auto;
    gap: 8px;
    height: var(--header-h-mob);
  }

  .logo a { font-size: 1.15rem; gap: 7px; }
  .logo-icon { width: 30px; height: 30px; font-size: .85rem; }

  /* Phone desktop ASCUNS */
  .header-phone { display: none !important; }

  /* Search ascuns pe mobil — ocupă spațiul flex (1fr) */
  .header-search {
    display: block !important;
    visibility: hidden;
    pointer-events: none;
    width: 0;
    max-width: 0;
    padding: 0;
    margin: 0;
  }

  /* Phone mobile — DUPĂ search, ÎNAINTE de cart = DREAPTA */
  .header-phone-mobile {
    display: flex !important;
    order: 3;
  }

  .header-cart {
    order: 4;
  }

  .header-cart a { height: 42px; padding: 0 12px; gap: 7px; }
  .cart-info .cart-label { font-size: .58rem; }
  .cart-info .cart-total { font-size: .78rem; }
  .cart-icon-wrap { font-size: .95rem; }

  /* Hero */
  .hero-section { padding: 34px 0; }
  .hero-inner { grid-template-columns: 1fr; gap: 28px; }
  .hero-visual { min-height: 240px; order: -1; }
  .hero-img-wrap { max-width: 250px; }

  /* Hero float cards — fix ca să nu iasă din ecran */
  .hero-float-card {
    font-size: .72rem;
    padding: 7px 10px;
    max-width: 170px;
  }
  .hero-float-card i { width: 24px; height: 24px; font-size: .85rem; }
  .hero-card-1 { top: 0; left: 0; }
  .hero-card-2 { top: auto; bottom: 20%; right: 0; }
  .hero-card-3 { bottom: 0; left: 10%; }

  /* Info bar */
  .info-bar-inner { grid-template-columns: repeat(2, 1fr); }
  .info-bar-item { padding: 10px 12px; gap: 8px; border-right: 1px solid rgba(255,255,255,.07); border-bottom: 1px solid rgba(255,255,255,.07); }
  .info-bar-item:nth-child(2n) { border-right: none; }
  .info-bar-item:nth-last-child(-n+2) { border-bottom: none; }
  .info-bar-item .ib-icon { width: 32px; height: 32px; font-size: .85rem; }
  .info-bar-item .ib-text strong { font-size: .78rem; }
  .info-bar-item .ib-text span { font-size: .66rem; }

  /* PAGINA PRODUS — mobile */
  .produs-top { grid-template-columns: 1fr; gap: 20px; }

  /* Galerie mobile: 2 sus | 1 mare | 2 jos */
  .galerie-layout {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto auto;
    grid-template-areas:
      "top1 top2"
      "main main"
      "bot1 bot2";
    max-width: 100%;
  }
  .gal-col-side { display: contents; }
  .gal-col-side:first-of-type .gal-slot:nth-child(1) { grid-area: top1; }
  .gal-col-side:first-of-type .gal-slot:nth-child(2) { grid-area: top2; }
  .gal-col-side:last-of-type .gal-slot:nth-child(1)  { grid-area: bot1; }
  .gal-col-side:last-of-type .gal-slot:nth-child(2)  { grid-area: bot2; }
  .gal-slot-center { grid-area: main; }

  /* Main image thumbs */
  .produs-main-thumbs { grid-template-columns: repeat(5, 1fr); gap: 6px; }

  /* Cantitate mai mică */
  .cantitate-ctrl button { width: 38px; height: 48px; }
  .cantitate-ctrl input { width: 46px; height: 48px; font-size: .9rem; }
  .btn-adauga-cos-lg { height: 48px; font-size: .92rem; }

  /* TRUST pe 1 rând — toate 3 iconițele */
  .produs-trust { grid-template-columns: repeat(3, 1fr); }
  .trust-item { padding: 10px 4px; font-size: .62rem; gap: 3px; }
  .trust-item i { font-size: .95rem; }

  /* ═══ COS pe mobil — card profesional ═══ */
  .cos-table-wrap {
    background: transparent;
    border: none;
    box-shadow: none;
    overflow: visible;
    padding: 0;
  }

  .cos-table thead { display: none; }
  .cos-table, .cos-table tbody { display: block; width: 100%; }

  /* Card produs */
  .cos-table tbody tr {
    display: grid;
    grid-template-columns: 80px 1fr;
    grid-template-rows: auto auto auto;
    column-gap: 12px;
    row-gap: 6px;
    padding: 12px;
    background: var(--surface);
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 10px;
    box-shadow: var(--shadow-sm);
    position: relative;
  }

  .cos-table tbody tr:last-child { margin-bottom: 0; }

  .cos-table tbody td {
    display: block;
    padding: 0;
    border: none;
    min-width: 0;
  }

  /* ── POZA: stânga, ocupă toate cele 3 rânduri ── */
  .cos-table tbody td:nth-child(1) {
    grid-column: 1;
    grid-row: 1 / span 3;
    align-self: start;
  }

  .cos-produs-info { display: block; }

  .cos-produs-img {
    width: 80px;
    height: 80px;
    border-radius: 10px;
    object-fit: cover;
    border: 1.5px solid var(--border);
  }

  .cos-produs-info .cos-produs-name { display: none; }

  /* ── RÂND 1: Nume produs (cu trei puncte ...) ── */
  .cos-table tbody td:nth-child(2) {
    grid-column: 2;
    grid-row: 1;
    padding-right: 38px; /* loc pentru iconul șterge */
    overflow: hidden;
    font-size: 0; /* ascundem prețul unitar — îl folosim doar ca "container" pentru data attribute */
  }

  .cos-table tbody td:nth-child(2)::before {
    content: attr(data-product-name);
    display: block;
    font-family: var(--font-display);
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--text);
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 3px;
  }

  /* Prețul unitar mic sub nume */
  .cos-table tbody td:nth-child(2)::after {
    content: "Preț: " attr(data-pret-unitar);
    display: block;
    font-size: 0.74rem;
    font-weight: 600;
    color: var(--text-muted);
    white-space: nowrap;
    font-family: var(--font-body);
  }

  /* ── RÂND 2: Cantitate (stânga) + Total (dreapta) ── */
  .cos-table tbody td:nth-child(3) {
    grid-column: 2;
    grid-row: 2;
    align-self: center;
    margin-top: 6px;
  }

  .cos-table tbody td:nth-child(4) {
    grid-column: 2;
    grid-row: 2;
    align-self: center;
    margin-top: 6px;
    justify-self: end;
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 800;
    color: var(--accent);
    white-space: nowrap;
  }

  /* Eticheta "Total:" mică în fața prețului */
  .cos-table tbody td:nth-child(4)::before {
    content: "Total ";
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.72rem;
    margin-right: 4px;
    font-family: var(--font-body);
  }

  /* ── BUTONUL ȘTERGE: colț dreapta sus ── */
  .cos-table tbody td:nth-child(5) {
    position: absolute;
    top: 10px;
    right: 10px;
  }

  .btn-sterge-cos {
    width: 30px;
    height: 30px;
    background: var(--bg);
    color: var(--text-muted);
    border: 1.5px solid var(--border);
    font-size: 0.74rem;
  }

  .btn-sterge-cos:hover {
    background: #fee2e2;
    color: var(--red);
    border-color: #fecaca;
  }

  /* Cantitate compactă */
  .cos-cant-ctrl {
    border: 1.5px solid var(--border);
    border-radius: 10px;
  }
  .cos-cant-ctrl button {
    width: 30px;
    height: 32px;
    font-size: 0.7rem;
  }
  .cos-cant-ctrl input {
    width: 36px;
    height: 32px;
    font-size: 0.85rem;
  }

  /* ═══ FOOTER: Continuă + Golește pe ACELAȘI RÂND ═══ */
  .cos-table-footer {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    background: var(--surface);
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    padding: 12px;
    margin-top: 10px;
  }

  .cos-table-footer .btn-inapoi-cumparaturi,
  .cos-table-footer .btn-goleste-cos {
    width: 100%;
    justify-content: center;
    padding: 10px 8px;
    font-size: 0.78rem;
    white-space: nowrap;
  }

  .cos-table-footer .btn-inapoi-cumparaturi {
    background: var(--bg);
    border-radius: 8px;
  }

  .cos-table-footer .btn-goleste-cos {
    border-radius: 8px;
  }

  /* Cos & comanda layout */
  .cos-layout, .comanda-layout { grid-template-columns: 1fr; }
  .cos-rezumat, .comanda-rezumat { position: static; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }

  .recenzii-grid { column-count: 1; }

  /* Descriere pe mobil — paragraf SUS, poza JOS (indiferent de reverse) */
  .descriere-row {
    grid-template-columns: 1fr !important;
    grid-template-areas: "para" "img" !important;
    gap: 16px;
  }
  .descriere-row .descriere-para { grid-area: para; }
  .descriere-row .descriere-img-side { grid-area: img; }
  .descriere-img-side img {
    width: 100%;
    height: auto;
    display: block;
  }

/* ════════════════════════════════════════════════════════
   (Spațiu rezervat — cardurile mobile s-au eliminat,
    tabelul .cos-table se transformă pe mobil prin media query)
═══════════════════════════════════════════════════════ */

  .toast-wrap { top: calc(var(--header-h-mob) + 10px); right: 10px; max-width: calc(100% - 20px); }
  .toast { min-width: 0; width: 100%; font-size: .82rem; padding: 11px 14px; }
}

@media (max-width: 560px) {
  .produse-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .spec-list { grid-template-columns: 1fr; }
  .spec-item { border-right: none !important; }
  .spec-item:nth-last-child(-n+2) { border-bottom: 1px solid var(--border); }
  .spec-item:last-child { border-bottom: none; }

  .form-row { grid-template-columns: 1fr; }
  .pas-linie { width: 30px; }
  .pas span { font-size: .65rem; }
  .hero-text h1 { font-size: 1.55rem; }
  .hero-actions { flex-direction: column; }
  .btn-hero-primary, .btn-hero-secondary { justify-content: center; width: 100%; }

  .recenzii-sumar { flex-direction: column; align-items: flex-start; gap: 16px; }
  .recenzie-scor-big { padding-right: 0; border-right: none; border-bottom: 2px solid var(--border); padding-bottom: 12px; }
  .descriere-para { padding: 16px 18px; font-size: .92rem; }

  /* Preț card pe mobil mai compact */
  .pret-nou { font-size: .95rem; }
  .pret-vechi { font-size: .72rem; }
}

@media (max-width: 400px) {
  .logo a { font-size: 1rem; }
  .logo-icon { width: 26px; height: 26px; }
  .cart-info { display: none; }
  .header-cart a { padding: 0 10px; }
  .cat-card { flex: 0 0 130px; }
  .hero-text h1 { font-size: 1.4rem; }
  .produse-grid { grid-template-columns: 1fr; }
}
/* ═══ SELECTOR CULOARE PRODUS ═══ */
.produs-culori-bloc {
  margin: 14px 0 18px;
  padding: 14px 16px;
  background: var(--bg2, #f7f8fc);
  border-radius: 12px;
  border: 1px solid var(--border, #e5e7eb);
}

.culori-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .9rem;
  color: var(--text, #1f2937);
  margin-bottom: 12px;
}

.culori-label i { color: var(--accent, #e8501a); }
.culori-label strong { color: var(--accent, #e8501a); font-weight: 800; }

.culori-selector {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.culoare-bila {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 2.5px solid transparent;
  cursor: pointer;
  padding: 0;
  position: relative;
  transition: all .2s;
  box-shadow: 0 2px 6px rgba(0,0,0,.12);
}

.culoare-bila:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(0,0,0,.2);
}

.culoare-bila.active {
  border-color: var(--accent, #e8501a);
  box-shadow: 0 0 0 3px rgba(232,80,26,.2), 0 4px 12px rgba(0,0,0,.18);
  transform: scale(1.08);
}

.culoare-bila.active::after {
  content: '✓';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 900;
  font-size: 1.05rem;
  text-shadow: 0 0 4px rgba(0,0,0,0.5);
}

/* ═══ TAG CULOARE ÎN COȘ ═══ */
.cos-culoare-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
  padding: 3px 8px;
  background: var(--bg2, #f7f8fc);
  border-radius: 10px;
  font-size: .76rem;
  color: var(--text-muted, #6b7280);
  font-weight: 600;
}

.cos-culoare-bila {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 1px solid rgba(0,0,0,.15);
}

/* ═══════════════════════════════════════════════
   PAGINA COMANDĂ (CHECKOUT)
   ═══════════════════════════════════════════════ */
.comanda-page {
  padding: 24px 0 60px;
  background: linear-gradient(180deg, #f7f8fc 0%, #ffffff 100%);
  min-height: 70vh;
}

.comanda-page h1 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Outfit', sans-serif;
  font-size: 1.6rem;
  color: #0b1d3a;
  margin-bottom: 22px;
}

.comanda-page h1 i { color: #e8501a; }

/* Pași */
.comanda-pasi {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 24px 0 32px;
  flex-wrap: nowrap;
}
.pas {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: .75rem;
  font-weight: 700;
  color: #6b7280;
  min-width: 70px;
  flex-shrink: 0;
}
.pas i {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #e5e7eb;
  color: #6b7280;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .95rem;
  transition: all .2s;
}
.pas.done i { background: #10b981; color: white; }
.pas.done span { color: #10b981; }
.pas.active i {
  background: linear-gradient(135deg, #e8501a, #d44615);
  color: white;
  box-shadow: 0 4px 12px rgba(232,80,26,.35);
}
.pas.active span { color: #e8501a; }
.pas-linie {
  width: 60px;
  height: 2px;
  background: #e5e7eb;
  margin-bottom: 18px;
  flex-shrink: 1;
  min-width: 18px;
}
.pas-linie.done { background: #10b981; }

/* Pe mobil — păstrăm cei 3 pași pe un singur rând */
@media (max-width: 540px) {
  .comanda-pasi {
    gap: 4px;
    padding: 0 4px;
  }
  .pas {
    min-width: 0;
    flex: 0 0 auto;
    font-size: .68rem;
  }
  .pas i {
    width: 32px;
    height: 32px;
    font-size: .82rem;
  }
  .pas span {
    white-space: nowrap;
  }
  .pas-linie {
    width: auto;
    flex: 1 1 0;
    min-width: 12px;
    max-width: 50px;
    margin-bottom: 16px;
  }
}

/* Erori */
.comanda-erori {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: #fee2e2;
  border: 1.5px solid #fca5a5;
  border-radius: 12px;
  padding: 14px 18px;
  margin-bottom: 22px;
  color: #b91c1c;
}
.comanda-erori i { font-size: 1.2rem; margin-top: 2px; }
.comanda-erori ul { margin: 0; padding-left: 18px; }

/* Grid 2 coloane */
.comanda-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 24px;
  align-items: start;
}

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

/* Carduri */
.comanda-card {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 22px 24px;
  margin-bottom: 16px;
  box-shadow: 0 2px 6px rgba(0,0,0,.04);
}

.comanda-card h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Outfit', sans-serif;
  font-size: 1.1rem;
  color: #0b1d3a;
  margin-bottom: 18px;
  font-weight: 700;
}

.comanda-card h2 i {
  color: #e8501a;
  background: linear-gradient(135deg, #fff5f0, #ffe6dc);
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .95rem;
}

/* Form */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 12px;
}
.form-row:last-child { margin-bottom: 0; }
.form-group.full { grid-column: 1 / -1; }

@media (max-width: 600px) {
  .form-row { grid-template-columns: 1fr; }
}

.form-group { display: flex; flex-direction: column; }

.form-group label {
  font-size: .78rem;
  font-weight: 700;
  color: #374151;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: .4px;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="number"],
.form-group select,
.form-group textarea {
  padding: 11px 14px;
  border: 1.5px solid #e5e7eb;
  border-radius: 9px;
  font-size: .92rem;
  font-family: inherit;
  background: white;
  color: #1f2937;
  transition: all .15s;
  width: 100%;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #e8501a;
  box-shadow: 0 0 0 3px rgba(232,80,26,.12);
}

.form-group textarea { resize: vertical; min-height: 60px; }

/* Plată options */
.plata-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.plata-option {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  cursor: pointer;
  transition: all .2s;
  background: white;
}

.plata-option:hover:not(.disabled) {
  border-color: #fcd9c8;
  background: #fffaf7;
}

.plata-option.selected {
  border-color: #e8501a;
  background: #fff5f0;
  box-shadow: 0 4px 12px rgba(232,80,26,.12);
}

.plata-option.disabled {
  opacity: .55;
  background: #f3f4f6;
  cursor: not-allowed;
  border-color: #d1d5db;
}

.plata-option input[type="radio"] {
  width: 18px;
  height: 18px;
  accent-color: #e8501a;
  cursor: pointer;
  flex-shrink: 0;
}

.plata-option.disabled input[type="radio"] {
  cursor: not-allowed;
}

.plata-content {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1;
}

.plata-content > i {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: linear-gradient(135deg, #fff5f0, #ffe6dc);
  color: #e8501a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
}

.plata-option.disabled .plata-content > i {
  background: #e5e7eb;
  color: #9ca3af;
}

.plata-content strong {
  display: block;
  font-size: .95rem;
  color: #1f2937;
  font-weight: 700;
}

.plata-content span {
  display: block;
  font-size: .8rem;
  color: #6b7280;
  margin-top: 2px;
}

/* SUMAR COMANDĂ (sticky pe desktop) */
.comanda-summary-col {
  position: sticky;
  top: 20px;
}

@media (max-width: 900px) {
  .comanda-summary-col { position: static; }
}

.comanda-summary {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 22px 22px;
  box-shadow: 0 6px 20px rgba(0,0,0,.06);
}

.comanda-summary h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Outfit', sans-serif;
  font-size: 1.1rem;
  color: #0b1d3a;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1.5px dashed #e5e7eb;
}
.comanda-summary h2 i { color: #e8501a; }

.summary-produse {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1.5px dashed #e5e7eb;
}

.summary-item {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  gap: 12px;
  align-items: center;
}

.summary-item img {
  width: 48px !important;
  height: 48px !important;
  object-fit: cover;
  border-radius: 8px;
  background: #f3f4f6;
}

.summary-item-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.summary-nume {
  font-size: .85rem;
  font-weight: 600;
  color: #1f2937;
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
}

.summary-qty {
  font-size: .72rem;
  color: #6b7280;
  margin-top: 2px;
}

.summary-pret {
  font-weight: 700;
  color: #e8501a;
  font-size: .9rem;
  white-space: nowrap;
}

.summary-totaluri {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.summary-rand {
  display: flex;
  justify-content: space-between;
  font-size: .88rem;
  color: #374151;
}

.summary-rand.small { font-size: .8rem; color: #6b7280; }

.summary-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'Outfit', sans-serif;
  font-size: 1.2rem;
  font-weight: 800;
  color: #0b1d3a;
  margin-top: 10px;
  padding-top: 12px;
  border-top: 2px dashed #e5e7eb;
}
.summary-total span:last-child { color: #e8501a; }

.summary-livrare-info {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  border-radius: 10px;
  padding: 10px 14px;
  font-size: .82rem;
  color: #0369a1;
  margin-top: 16px;
}
.summary-livrare-info i { font-size: 1rem; }

/* Checkbox linie */
.checkbox-line {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .85rem;
  color: #374151;
  cursor: pointer;
  line-height: 1.5;
}

.checkbox-line input[type="checkbox"] {
  margin-top: 2px;
  width: 18px;
  height: 18px;
  accent-color: #e8501a;
  flex-shrink: 0;
}

.checkbox-line a { color: #e8501a; text-decoration: underline; }
.checkbox-line a:hover { text-decoration: none; }

/* Buton finalizare */
.btn-finalizare {
  width: 100%;
  margin-top: 18px;
  padding: 14px 20px;
  background: linear-gradient(135deg, #e8501a, #d44615);
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 800;
  font-family: 'Outfit', sans-serif;
  cursor: pointer;
  transition: all .2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  letter-spacing: .3px;
  box-shadow: 0 6px 16px rgba(232,80,26,.3);
}

.btn-finalizare:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(232,80,26,.4);
}

.btn-finalizare:active { transform: translateY(0); }

/* ═══════════════════════════════════════════════
   PAGINA CONFIRMARE COMANDĂ
   ═══════════════════════════════════════════════ */
.confirmare-page {
  padding: 40px 0 60px;
  background: linear-gradient(180deg, #f7f8fc 0%, #ffffff 100%);
  min-height: 70vh;
}

.confirmare-card {
  background: white;
  border-radius: 18px;
  padding: 40px 30px;
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
  box-shadow: 0 10px 40px rgba(0,0,0,.08);
}

.confirmare-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, #10b981, #059669);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.4rem;
  margin: 0 auto 18px;
  box-shadow: 0 10px 25px rgba(16,185,129,.3);
  animation: bounce-in .5s cubic-bezier(.34,1.56,.64,1);
}

@keyframes bounce-in {
  0% { transform: scale(0); }
  60% { transform: scale(1.1); }
  100% { transform: scale(1); }
}

.confirmare-card h1 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.6rem;
  color: #0b1d3a;
  margin-bottom: 10px;
}

.confirmare-sub {
  color: #6b7280;
  font-size: .95rem;
  line-height: 1.6;
  margin-bottom: 22px;
}

.confirmare-id {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  background: #f7f8fc;
  border: 2px dashed #e8501a;
  border-radius: 12px;
  padding: 14px 28px;
  margin: 0 auto 24px;
}

.confirmare-id span {
  font-size: .72rem;
  text-transform: uppercase;
  color: #6b7280;
  font-weight: 700;
  letter-spacing: .5px;
}

.confirmare-id strong {
  font-family: monospace;
  font-size: 1.2rem;
  color: #e8501a;
  margin-top: 4px;
}

.confirmare-rezumat {
  background: #f7f8fc;
  border-radius: 12px;
  padding: 20px 22px;
  margin-bottom: 22px;
  text-align: left;
}

.conf-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .9rem;
  color: #374151;
  padding: 5px 0;
  flex-wrap: wrap;
  gap: 8px;
}

.conf-row.conf-total {
  margin-top: 10px;
  padding-top: 12px;
  border-top: 2px dashed #e5e7eb;
  font-family: 'Outfit', sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
  color: #0b1d3a;
}

.conf-row.conf-total span:last-child { color: #e8501a; }

.btn-continua {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 24px;
  background: linear-gradient(135deg, #e8501a, #d44615);
  color: white;
  text-decoration: none;
  border-radius: 12px;
  font-weight: 700;
  transition: all .2s;
}
.btn-continua:hover { transform: translateY(-1px); box-shadow: 0 8px 18px rgba(232,80,26,.3); }

/* ═══════════════════════════════════════════════
   MODAL LEGAL (POPUP-uri Politica/Termeni/Livrare)
   ═══════════════════════════════════════════════ */
.legal-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  opacity: 0;
  transition: opacity .25s;
}
.legal-modal.show { opacity: 1; }

.legal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(11,29,58,.6);
  backdrop-filter: blur(4px);
  cursor: pointer;
}

.legal-dialog {
  position: relative;
  background: white;
  border-radius: 18px;
  max-width: 720px;
  width: 92%;
  max-height: 85vh;
  overflow: hidden;
  z-index: 2;
  transform: translateY(20px);
  transition: transform .25s cubic-bezier(.34,1.56,.64,1);
  box-shadow: 0 30px 80px rgba(0,0,0,.4);
  display: flex;
  flex-direction: column;
}

.legal-modal.show .legal-dialog { transform: translateY(0); }

.legal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,.95);
  color: #1f2937;
  cursor: pointer;
  font-size: 1.05rem;
  z-index: 10;
  transition: all .15s;
  box-shadow: 0 4px 12px rgba(0,0,0,.15);
  display: flex;
  align-items: center;
  justify-content: center;
}
.legal-close:hover {
  background: #dc2626;
  color: white;
  transform: rotate(90deg);
}

.legal-header {
  padding: 24px 28px 18px;
  background: linear-gradient(135deg, #0b1d3a, #142b52);
  color: white;
}
.legal-header h2 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.35rem;
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
}
.legal-header h2 i { color: #e8501a; }

.legal-body {
  padding: 24px 28px;
  overflow-y: auto;
  flex: 1;
  color: #374151;
  font-size: .92rem;
  line-height: 1.7;
}
.legal-body h3 {
  font-family: 'Outfit', sans-serif;
  color: #0b1d3a;
  font-size: 1.05rem;
  margin: 18px 0 8px;
  font-weight: 700;
}
.legal-body h3:first-child { margin-top: 0; }
.legal-body p { margin-bottom: 12px; }
.legal-body ul { padding-left: 22px; margin-bottom: 12px; }
.legal-body li { margin-bottom: 4px; }
.legal-body strong { color: #0b1d3a; }
.legal-body code {
  background: #f3f4f6;
  padding: 1px 6px;
  border-radius: 4px;
  font-size: .85rem;
}
.legal-nota {
  background: #fef3c7;
  border-left: 3px solid #f59e0b;
  padding: 10px 14px;
  border-radius: 6px;
  font-size: .85rem;
  margin-top: 16px;
}

/* ═══════════════════════════════════════════════
   FOOTER ADMIN LACĂT
   ═══════════════════════════════════════════════ */
.footer-admin-lock {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(255,255,255,.05);
  color: rgba(255,255,255,.25);
  font-size: .7rem;
  transition: all .25s;
  margin-left: 12px;
  text-decoration: none;
}
.footer-admin-lock:hover {
  background: rgba(255,255,255,.15);
  color: rgba(255,255,255,.7);
  transform: scale(1.1);
}

.logo-img {
  max-height: 50px;
  width: auto;
  object-fit: contain;
}

/* Logo cu imagine în loc de icon, dar TEXTUL rămâne */
.logo-img-mini {
  width: 38px;
  height: 38px;
  object-fit: contain;
  border-radius: 8px;
  flex-shrink: 0;
}

/* Footer 3 coloane — coloana de contact */
.footer-contact-col .footer-contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 0;
}

.footer-contact-col .footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: rgba(255,255,255,.75);
  font-size: .88rem;
  line-height: 1.5;
}

.footer-contact-col .footer-contact-item i {
  color: var(--accent);
  font-size: .85rem;
  margin-top: 4px;
  flex-shrink: 0;
}

.footer-contact-col .footer-contact-item a {
  color: rgba(255,255,255,.85);
  text-decoration: none;
  transition: color .15s;
}

.footer-contact-col .footer-contact-item a:hover {
  color: var(--accent);
}

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr !important; gap: 32px; }
}

/* ═══ Nota informativă livrare în coș ═══ */
.livrare-info-note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  background: linear-gradient(135deg, rgba(59,130,246,.08), rgba(59,130,246,.02));
  border: 1px solid rgba(59,130,246,.25);
  border-radius: 10px;
  padding: 10px 12px;
  margin: 8px 0 14px;
  font-size: .78rem;
  line-height: 1.5;
  color: #1e40af;
}

.livrare-info-note > i {
  color: #3b82f6;
  font-size: .95rem;
  margin-top: 1px;
  flex-shrink: 0;
}

.livrare-info-note strong {
  color: #0b1d3a;
  font-weight: 700;
}
