/* ============================================================
   STILURI MAGAZIN
   ============================================================ */
:root {
  --grad: linear-gradient(90deg, #f61e3c 0%, #d9245a 16%, #a72d8c 36%, #6d44b8 55%, #3a64d8 76%, #0b80e8 100%);
  --price: #e40d39;
  --blue: #0060c7;
  --blue-dark: #004c9e;
  --blue-soft: #e8f1fc;
  --bg: #f1f2f4;
  --card: #ffffff;
  --text: #1d2026;
  --muted: #697080;
  --border: #e2e5e9;
  --border-strong: #cfd4da;
  --star: #f5a300;
  --green: #0b8a3e;
  --orange: #ff7a00;
  --radius: 10px;
  --shadow: 0 1px 2px rgba(16, 24, 40, .06), 0 1px 3px rgba(16, 24, 40, .08);
  --shadow-lg: 0 12px 32px rgba(16, 24, 40, .16);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  font-size: 14px;
  line-height: 1.45;
  color: var(--text);
  background: var(--bg);
}
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
img, svg { display: block; }
.ico { flex: none; }
.container { max-width: 1280px; margin: 0 auto; padding: 0 16px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------------- HEADER ---------------- */
.site-header { background: #fff; position: sticky; top: 0; z-index: 50; }
.header-main { display: flex; align-items: center; gap: 24px; height: 72px; }
.logo { display: flex; align-items: center; gap: 9px; font-weight: 800; font-size: 25px; letter-spacing: -.5px; color: #1a1d2e; flex: none; }
.logo-mark { width: 38px; height: 38px; }
.logo span b { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.mobile-menu-btn { display: none; background: none; border: 0; padding: 6px; margin-left: -6px; color: var(--text); }

.search { flex: 1; max-width: 720px; position: relative; }
.search-box { display: flex; align-items: center; border: 1.5px solid var(--border-strong); border-radius: 26px; background: #fff; transition: border-color .15s, box-shadow .15s; }
.search-box:focus-within { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0, 96, 199, .12); }
.search input { flex: 1; border: 0; outline: 0; padding: 11px 18px; background: transparent; font-size: 15px; min-width: 0; }
.search button[type=submit] { border: 0; background: none; color: var(--text); padding: 8px 16px 8px 10px; display: flex; }
.search button[type=submit]:hover { color: var(--blue); }
.suggest { position: absolute; top: calc(100% + 6px); left: 0; right: 0; background: #fff; border-radius: 12px; box-shadow: var(--shadow-lg); padding: 8px 0; display: none; z-index: 60; max-height: 70vh; overflow: auto; }
.suggest.open { display: block; }
.suggest-label { font-size: 12px; text-transform: uppercase; letter-spacing: .5px; color: var(--muted); padding: 6px 16px; font-weight: 600; }
.suggest a { display: flex; align-items: center; gap: 12px; padding: 7px 16px; }
.suggest a:hover, .suggest a.active { background: var(--bg); }
.suggest a svg.thumb { width: 44px; height: 44px; }
.suggest .s-name { flex: 1; font-size: 13.5px; }
.suggest .s-price { font-weight: 700; color: var(--price); white-space: nowrap; font-size: 13.5px; }
.suggest mark { background: none; color: var(--blue); font-weight: 700; }

.header-actions { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.hdr-btn { display: flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 8px; font-weight: 500; position: relative; white-space: nowrap; }
.hdr-btn:hover { background: var(--bg); }
.hdr-btn .ico-wrap { position: relative; display: flex; }
.badge-count { position: absolute; top: -7px; right: -9px; background: var(--price); color: #fff; font-size: 11px; font-weight: 700; min-width: 18px; height: 18px; border-radius: 9px; display: grid; place-items: center; padding: 0 5px; border: 2px solid #fff; }
.badge-count:empty, .badge-count[data-n="0"] { display: none; }

/* ---------------- BARA COLORATĂ ---------------- */
.navbar { background: var(--grad); position: relative; }
.navbar-inner { display: flex; align-items: flex-end; height: 50px; gap: 6px; }
.nav-products { display: flex; align-items: center; gap: 10px; background: #fff; color: var(--text); border: 0; height: 42px; padding: 0 18px 0 14px; border-radius: 9px 9px 0 0; font-weight: 700; font-size: 16px; flex: none; }
.nav-products .ico { width: 22px; height: 22px; }
.nav-links { display: flex; align-items: center; list-style: none; margin: 0 0 0 4px; padding: 0; height: 50px; overflow-x: auto; scrollbar-width: none; flex: 1; }
.nav-links::-webkit-scrollbar { display: none; }
.nav-links a { display: flex; align-items: center; color: #fff; font-weight: 500; font-size: 15px; padding: 0 15px; height: 50px; white-space: nowrap; opacity: .97; }
.nav-links a:hover { text-decoration: underline; text-underline-offset: 5px; }
.nav-right { display: flex; align-items: center; gap: 10px; height: 50px; flex: none; }
.nav-help { display: flex; align-items: center; gap: 7px; color: #fff; font-weight: 500; font-size: 15px; padding: 0 10px; }
.nav-sell { display: flex; align-items: center; gap: 8px; color: #fff; font-weight: 500; font-size: 15px; padding: 7px 14px; border-radius: 22px; background: rgba(76, 44, 170, .75); border: 1px solid rgba(255, 255, 255, .22); }
.nav-sell:hover, .nav-help:hover { filter: brightness(1.1); text-decoration: underline; text-underline-offset: 4px; }

/* ---------------- MENIU CATEGORII ---------------- */
.mega { position: absolute; left: 0; right: 0; top: 100%; display: none; z-index: 55; }
.mega.open { display: block; }
.mega-backdrop { position: fixed; inset: 0; top: 0; background: rgba(15, 18, 30, .35); z-index: 40; display: none; }
.mega-backdrop.open { display: block; }
.mega .cat-panel { width: 290px; box-shadow: var(--shadow-lg); border-radius: 0 0 var(--radius) var(--radius); }

.cat-panel { background: #fff; position: relative; border-radius: var(--radius); }
.cat-menu { list-style: none; margin: 0; padding: 8px 0; }
.cat-menu > li > a { display: flex; align-items: center; gap: 12px; padding: 11px 16px; font-weight: 500; font-size: 14.5px; }
.cat-menu > li > a .ico:first-child { color: var(--muted); }
.cat-menu > li > a .chev { margin-left: auto; color: #b0b6bf; }
.cat-menu > li:hover > a { background: var(--blue-soft); color: var(--blue); }
.cat-menu > li:hover > a .ico { color: var(--blue); }
.cat-flyout { display: none; position: absolute; left: 100%; top: 0; min-height: 100%; width: min(860px, calc(100vw - 340px)); background: #fff; box-shadow: var(--shadow-lg); border-radius: 0 var(--radius) var(--radius) 0; padding: 22px 26px; z-index: 5; grid-template-columns: 1fr 1fr 1.25fr; gap: 26px; }
.cat-menu > li:hover > .cat-flyout { display: grid; }
.fly-col h4 { margin: 0 0 10px; font-size: 15px; }
.fly-col h4 a:hover { color: var(--blue); }
.fly-col ul { list-style: none; margin: 0; padding: 0; }
.fly-col li a { display: block; padding: 5px 0; color: #3b4150; }
.fly-col li a:hover { color: var(--blue); text-decoration: underline; }
.fly-col .see-all { color: var(--blue); font-weight: 600; margin-top: 6px; display: inline-flex; align-items: center; gap: 2px; }
.fly-prod { display: flex; gap: 10px; align-items: center; padding: 6px; border-radius: 8px; }
.fly-prod:hover { background: var(--bg); }
.fly-prod svg { width: 56px; height: 56px; flex: none; }
.fly-prod .fp-name { font-size: 13px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.fly-prod .fp-price { color: var(--price); font-weight: 700; font-size: 13.5px; }

/* ---------------- DRAWER MOBIL ---------------- */
.drawer { position: fixed; inset: 0; z-index: 100; display: none; }
.drawer.open { display: block; }
.drawer-bg { position: absolute; inset: 0; background: rgba(15, 18, 30, .45); }
.drawer-panel { position: absolute; top: 0; bottom: 0; left: 0; width: min(340px, 88vw); background: #fff; overflow-y: auto; animation: slideIn .2s ease-out; }
@keyframes slideIn { from { transform: translateX(-100%); } }
.drawer-head { background: var(--grad); color: #fff; display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; font-weight: 700; font-size: 17px; }
.drawer-head button { background: none; border: 0; color: #fff; display: flex; }
.drawer details { border-bottom: 1px solid var(--border); }
.drawer summary { list-style: none; display: flex; align-items: center; gap: 12px; padding: 14px 16px; font-weight: 600; cursor: pointer; }
.drawer summary::-webkit-details-marker { display: none; }
.drawer summary .chev { margin-left: auto; transition: transform .15s; color: var(--muted); }
.drawer details[open] summary .chev { transform: rotate(90deg); }
.drawer details a { display: block; padding: 10px 16px 10px 50px; color: #3b4150; }
.drawer details a.all { color: var(--blue); font-weight: 600; }
.drawer .drawer-links a { display: flex; gap: 12px; align-items: center; padding: 13px 16px; border-bottom: 1px solid var(--border); font-weight: 500; }

/* ---------------- GENERAL ---------------- */
main { min-height: 60vh; padding-bottom: 40px; }
.section { margin-top: 22px; }
.box { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); }
.section-head { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; flex-wrap: wrap; }
.section-head h2 { margin: 0; font-size: 21px; letter-spacing: -.2px; }
.section-head .see-all { margin-left: auto; color: var(--blue); font-weight: 600; display: inline-flex; align-items: center; gap: 2px; }
.section-head .see-all:hover { text-decoration: underline; }
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; padding: 14px 0 10px; font-size: 13px; color: var(--muted); }
.breadcrumb a:hover { color: var(--blue); text-decoration: underline; }
.breadcrumb .ico { width: 14px; height: 14px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 8px; padding: 11px 20px; font-weight: 600; font-size: 14.5px; transition: background .15s, transform .05s; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-dark); }
.btn-outline { background: #fff; color: var(--blue); border: 1.5px solid var(--blue); }
.btn-outline:hover { background: var(--blue-soft); }
.btn-ghost { background: var(--bg); color: var(--text); }
.btn-ghost:hover { background: #e5e7eb; }
.btn-lg { padding: 14px 24px; font-size: 16px; width: 100%; }
.link { color: var(--blue); font-weight: 600; background: none; border: 0; padding: 0; }
.link:hover { text-decoration: underline; }

/* ---------------- HOME ---------------- */
.home-top { display: grid; grid-template-columns: 290px 1fr; gap: 16px; margin-top: 16px; }
.home-top .cat-panel { box-shadow: var(--shadow); }
.hero { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 392px; box-shadow: var(--shadow); touch-action: pan-y; }
.slide { position: absolute; inset: 0; display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; padding: 34px 54px; color: #fff; opacity: 0; transition: opacity .6s; pointer-events: none; }
.slide.active { opacity: 1; pointer-events: auto; }
.slide .tag { display: inline-block; background: rgba(255, 255, 255, .18); border: 1px solid rgba(255, 255, 255, .3); padding: 5px 12px; border-radius: 20px; font-size: 13px; font-weight: 600; margin-bottom: 14px; }
.slide h2 { font-size: 40px; line-height: 1.08; margin: 0 0 12px; letter-spacing: -1px; }
.slide p { font-size: 17px; margin: 0 0 22px; opacity: .92; max-width: 440px; }
.slide .btn { background: #fff; color: #111; }
.slide .btn:hover { background: #f1f1f1; }
.slide > svg { width: 100%; max-height: 330px; filter: drop-shadow(0 20px 30px rgba(0, 0, 0, .35)); }
.hero-dots { position: absolute; left: 54px; bottom: 22px; display: flex; gap: 8px; z-index: 2; }
.hero-dots button { width: 10px; height: 10px; border-radius: 5px; border: 0; background: rgba(255, 255, 255, .45); padding: 0; transition: width .2s; }
.hero-dots button.active { background: #fff; width: 28px; }
.hero-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .9); color: #111; display: grid; place-items: center; z-index: 2; box-shadow: var(--shadow); opacity: 0; transition: opacity .2s; }
.hero:hover .hero-arrow { opacity: 1; }
.hero-arrow.prev { left: 12px; } .hero-arrow.next { right: 12px; }

.perks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 16px; }
.perk { display: flex; align-items: center; gap: 12px; background: #fff; padding: 14px 16px; border-radius: var(--radius); box-shadow: var(--shadow); }
.perk .p-ico { width: 42px; height: 42px; border-radius: 50%; background: var(--blue-soft); color: var(--blue); display: grid; place-items: center; flex: none; }
.perk b { display: block; font-size: 14px; }
.perk span { color: var(--muted); font-size: 12.5px; }

.cat-tiles { display: grid; grid-template-columns: repeat(7, 1fr); gap: 12px; }
.cat-tile { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 12px 10px 14px; text-align: center; transition: box-shadow .15s, transform .15s; }
.cat-tile:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.cat-tile svg { width: 100%; max-width: 120px; aspect-ratio: 1; margin: 0 auto 6px; }
.cat-tile b { font-size: 14px; font-weight: 600; }

.deals-head { background: linear-gradient(90deg, #f61e3c, #a72d8c); color: #fff; border-radius: var(--radius) var(--radius) 0 0; padding: 12px 18px; margin-bottom: 0 !important; }
.deals-head h2 { color: #fff; display: flex; align-items: center; gap: 8px; }
.deals-head .see-all { color: #fff; }
.countdown { display: inline-flex; align-items: center; gap: 6px; background: rgba(0, 0, 0, .25); padding: 5px 12px; border-radius: 20px; font-weight: 600; font-size: 13.5px; font-variant-numeric: tabular-nums; }
.deals-body { background: #fff; border-radius: 0 0 var(--radius) var(--radius); box-shadow: var(--shadow); padding: 12px; }

.row-wrap { position: relative; }
.row-scroll { display: grid; grid-auto-flow: column; grid-auto-columns: 224px; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 2px 2px 8px; scrollbar-width: thin; }
.row-scroll > * { scroll-snap-align: start; }
.row-arrow { position: absolute; top: 40%; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--border); background: #fff; display: grid; place-items: center; box-shadow: var(--shadow-lg); z-index: 3; color: var(--text); }
.row-arrow:hover { color: var(--blue); }
.row-arrow.prev { left: -14px; } .row-arrow.next { right: -14px; }

.brands { display: flex; flex-wrap: wrap; gap: 10px; }
.brands a { background: #fff; border-radius: 30px; padding: 10px 22px; font-weight: 700; font-size: 15px; letter-spacing: .3px; box-shadow: var(--shadow); color: #2a2f3a; }
.brands a:hover { color: var(--blue); box-shadow: var(--shadow-lg); }

/* ---------------- CARD PRODUS ---------------- */
.card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 12px 14px 14px; display: flex; flex-direction: column; position: relative; transition: box-shadow .15s; min-width: 0; }
.card:hover { box-shadow: var(--shadow-lg); }
.card-img { display: block; aspect-ratio: 1; margin: 4px 6px 8px; }
.card-img svg, .card-img img { width: 100%; height: 100%; object-fit: contain; transition: transform .25s; }
.card:hover .card-img svg { transform: scale(1.04); }
.card-badges { position: absolute; top: 12px; left: 12px; display: flex; flex-direction: column; gap: 4px; z-index: 1; }
.pbadge { font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 4px; color: #fff; width: fit-content; }
.pbadge.top { background: #0060c7; }
.pbadge.super { background: var(--orange); }
.pbadge.new { background: var(--green); }
.pbadge.bf { background: #111; color: #ff8a1f; letter-spacing: .3px; }
.pbadge.preorder { background: #5b21b6; }
.bonus-box { display: flex; gap: 8px; align-items: flex-start; background: #f5f3ff; border: 1px dashed #a78bfa; color: #4c1d95; border-radius: 8px; padding: 9px 11px; font-size: 13px; margin: 10px 0 4px; }
.bonus-box .ico { flex: none; margin-top: 1px; }
.bonus-line { display: flex; align-items: center; gap: 5px; color: #5b21b6; font-size: 12.5px; font-weight: 600; margin-top: 3px; }
.stock.preorder { color: #5b21b6; }
.pbadge.limited { background: #fff1e6; color: #c2410c; border: 1px solid #fdba74; }
.deals-head.bf { background: linear-gradient(90deg, #0d0d0d, #3a1600 55%, #ff7a00); }

/* ---------------- CAMPANIE BLACK FRIDAY & HALLOWEEN ---------------- */
.promo-bar { display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; background: #0d0d0d; color: #fff; padding: 9px 16px; font-size: 14px; text-align: center; }
.promo-bar:hover .pb-cta { text-decoration: underline; }
.pb-tag { color: #ff8a1f; font-weight: 800; letter-spacing: .5px; }
.pb-cta { display: inline-flex; align-items: center; gap: 2px; color: #ff8a1f; font-weight: 700; }
.bf-label { display: inline-block; background: #111; color: #ff8a1f; font-weight: 800; font-size: 12px; letter-spacing: .4px; padding: 4px 10px; border-radius: 6px; margin-bottom: 8px; text-transform: uppercase; }
.ref-note { color: var(--muted); font-size: 11.5px; margin-top: 4px; }
.ref-lbl { white-space: nowrap; }
.old-price { flex-wrap: wrap; }
.old-price s { text-decoration-color: var(--price); text-decoration-thickness: 2px; color: #6b7280; }
.fav-btn { position: absolute; top: 8px; right: 8px; width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .9); color: #6b7280; display: grid; place-items: center; z-index: 1; }
.fav-btn:hover { color: var(--price); background: #fff0f3; }
.fav-btn.on { color: var(--price); }
.fav-btn.on svg { fill: var(--price); }
.card-title { font-size: 13.5px; line-height: 1.38; height: 3.95em; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; margin-bottom: 6px; }
.card-title:hover { color: var(--blue); }
.rating { display: flex; align-items: center; gap: 5px; font-size: 12.5px; color: var(--muted); min-height: 18px; }
.rating b { color: var(--text); font-weight: 600; }
.stars { position: relative; display: inline-block; font-size: 14px; letter-spacing: 1px; color: #d4d8de; line-height: 1; }
.stars::before { content: '★★★★★'; }
.stars i { position: absolute; left: 0; top: 0; overflow: hidden; color: var(--star); white-space: nowrap; font-style: normal; }
.stars i::before { content: '★★★★★'; }
.stock { color: var(--green); font-size: 12.5px; font-weight: 600; margin-top: 4px; }
.price-block { margin-top: auto; padding-top: 8px; }
.old-price { font-size: 13px; color: var(--muted); display: flex; align-items: center; gap: 6px; min-height: 19px; }
.old-price s { text-decoration-thickness: 1px; }
.disc { background: var(--price); color: #fff; font-weight: 700; font-size: 11.5px; padding: 1px 6px; border-radius: 4px; }
.price { color: var(--price); font-weight: 800; font-size: 21px; letter-spacing: -.3px; line-height: 1.2; }
.price sup { font-size: .58em; top: -.62em; margin-left: 1px; }
.price .cur { font-size: .7em; font-weight: 700; }
.card .btn-cart { margin-top: 10px; width: 100%; padding: 9px 10px; font-size: 14px; }

/* ---------------- LISTARE / CATEGORIE ---------------- */
.listing-head { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-bottom: 4px; }
.listing-head h1 { font-size: 24px; margin: 0; letter-spacing: -.3px; }
.listing-head .count { color: var(--muted); }
.listing { display: grid; grid-template-columns: 264px 1fr; gap: 18px; align-items: start; }
.filters { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 4px 0; position: sticky; top: 136px; max-height: calc(100vh - 150px); overflow-y: auto; scrollbar-width: thin; }
.filters-mobile-head { display: none; }
.f-group { padding: 12px 16px; border-bottom: 1px solid var(--border); }
.f-group:last-child { border-bottom: 0; }
.f-group h4 { margin: 0 0 8px; font-size: 14.5px; }
.f-group label { display: flex; align-items: center; gap: 9px; padding: 4px 0; cursor: pointer; font-size: 13.5px; }
.f-group label:hover { color: var(--blue); }
.f-group label .n { color: var(--muted); margin-left: auto; font-size: 12px; }
.f-group input[type=checkbox], .f-group input[type=radio] { width: 17px; height: 17px; accent-color: var(--blue); margin: 0; flex: none; }
.f-group .sub-link { display: flex; justify-content: space-between; padding: 5px 0; font-size: 13.5px; }
.f-group .sub-link:hover, .f-group .sub-link.on { color: var(--blue); }
.f-group .sub-link.on { font-weight: 700; }
.f-group .sub-link .n { color: var(--muted); font-size: 12px; }
.price-range { display: flex; gap: 6px; align-items: center; margin-top: 8px; }
.price-range input { width: 100%; min-width: 0; padding: 7px 8px; border: 1px solid var(--border-strong); border-radius: 6px; }
.price-range button { padding: 7px 10px; border-radius: 6px; border: 0; background: var(--blue); color: #fff; font-weight: 600; }

.toolbar { display: flex; align-items: center; gap: 10px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 10px 14px; margin-bottom: 12px; flex-wrap: wrap; }
.toolbar label { color: var(--muted); font-size: 13.5px; }
.toolbar select { border: 1px solid var(--border-strong); border-radius: 6px; padding: 7px 10px; background: #fff; }
.toolbar .btn-filters { display: none; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; flex: 1; }
.chip { display: inline-flex; align-items: center; gap: 4px; background: var(--blue-soft); color: var(--blue); border: 0; border-radius: 16px; padding: 4px 8px 4px 12px; font-size: 12.5px; font-weight: 600; }
.chip:hover { background: #d6e6fb; }
.chip .ico { width: 14px; height: 14px; }
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.empty { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 50px 20px; text-align: center; color: var(--muted); }
.empty .ico { margin: 0 auto 12px; color: #b9c0ca; }
.empty h3 { color: var(--text); margin: 0 0 6px; font-size: 19px; }
.empty .btn { margin-top: 16px; }

/* ---------------- PAGINA PRODUS ---------------- */
.pdp { display: grid; grid-template-columns: 1.05fr 1fr 330px; gap: 26px; padding: 22px; }
.pdp-title { grid-column: 1 / -1; }
.pdp-title h1 { font-size: 23px; margin: 0 0 8px; line-height: 1.3; letter-spacing: -.2px; }
.pdp-meta { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; color: var(--muted); font-size: 13px; }
.pdp-meta .rating { font-size: 13.5px; }
.gallery { display: grid; grid-template-columns: 64px 1fr; gap: 12px; align-items: start; }
.thumbs { display: flex; flex-direction: column; gap: 8px; }
.thumbs button { border: 1.5px solid var(--border); border-radius: 8px; background: #fff; padding: 3px; aspect-ratio: 1; }
.thumbs button.on { border-color: var(--blue); }
.thumbs svg { width: 100%; height: 100%; }
.main-img { aspect-ratio: 1; background: radial-gradient(circle at 50% 45%, #fafbfc, #f0f2f5); border-radius: 12px; display: grid; place-items: center; position: relative; }
.main-img svg { width: 88%; height: 88%; }
.opt-group { margin-bottom: 18px; }
.opt-group .opt-label { font-size: 13.5px; margin-bottom: 8px; color: var(--muted); }
.opt-group .opt-label b { color: var(--text); }
.swatches { display: flex; gap: 8px; flex-wrap: wrap; }
.swatch { width: 38px; height: 38px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 1.5px var(--border-strong); padding: 0; }
.swatch.on { box-shadow: 0 0 0 2.5px var(--blue); }
.opts { display: flex; gap: 8px; flex-wrap: wrap; }
.opt { border: 1.5px solid var(--border-strong); background: #fff; border-radius: 8px; padding: 8px 14px; font-weight: 600; font-size: 13.5px; }
.opt:hover { border-color: var(--blue); }
.opt.on { border-color: var(--blue); background: var(--blue-soft); color: var(--blue); }
.key-specs { list-style: none; padding: 0; margin: 0; }
.key-specs li { display: flex; gap: 8px; padding: 6px 0; font-size: 13.5px; border-bottom: 1px dashed var(--border); }
.key-specs li span { color: var(--muted); min-width: 130px; }
.buy-box { border: 1px solid var(--border); border-radius: 12px; padding: 18px; align-self: start; position: sticky; top: 140px; }
.buy-box .price { font-size: 30px; }
.buy-box .old-price { font-size: 14px; }
.buy-box .stock { font-size: 14px; margin: 6px 0 14px; display: flex; align-items: center; gap: 6px; }
.buy-box .btn-lg + .btn { margin-top: 8px; width: 100%; }
.buy-info { list-style: none; padding: 0; margin: 16px 0 0; border-top: 1px solid var(--border); }
.buy-info li { display: flex; gap: 10px; padding: 10px 0 0; font-size: 13px; color: #3b4150; }
.buy-info li .ico { color: var(--blue); margin-top: 1px; }
.buy-info b { color: var(--text); }
.pdp-tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--border); padding: 0 22px; position: sticky; top: 122px; background: #fff; z-index: 2; border-radius: var(--radius) var(--radius) 0 0; overflow-x: auto; }
.pdp-tabs a { padding: 14px 16px; font-weight: 600; color: var(--muted); border-bottom: 3px solid transparent; white-space: nowrap; }
.pdp-tabs a:hover { color: var(--text); }
.pdp-tabs a.on { color: var(--blue); border-bottom-color: var(--blue); }
.pdp-section { padding: 22px; border-bottom: 1px solid var(--border); scroll-margin-top: 190px; }
.pdp-section:last-child { border-bottom: 0; }
.pdp-section h2 { font-size: 19px; margin: 0 0 14px; }
.pdp-section p { max-width: 900px; color: #353b47; font-size: 14.5px; line-height: 1.65; }
.spec-table { width: 100%; max-width: 900px; border-collapse: collapse; font-size: 13.5px; }
.spec-table tr:nth-child(odd) { background: #f7f8fa; }
.spec-table th { text-align: left; font-weight: 500; color: var(--muted); padding: 10px 14px; width: 38%; vertical-align: top; }
.spec-table td { padding: 10px 14px; }
.spec-groups { display: grid; gap: 22px; max-width: 900px; }
.spec-group h3 { margin: 0 0 8px; font-size: 13px; text-transform: uppercase; letter-spacing: .5px; color: var(--text); }
.spec-group .spec-table { max-width: none; }
.pdp-section .desc-text p:first-child { font-size: 15.5px; color: var(--text); }
.reviews-wrap { display: grid; grid-template-columns: 260px 1fr; gap: 30px; }
.rev-score { text-align: center; }
.rev-score .big { font-size: 46px; font-weight: 800; line-height: 1; }
.rev-score .stars { font-size: 22px; margin: 8px 0 4px; }
.rev-bars { margin-top: 12px; }
.rev-bar { display: grid; grid-template-columns: 42px 1fr 40px; align-items: center; gap: 8px; font-size: 12.5px; color: var(--muted); padding: 2px 0; }
.rev-bar .bar { height: 7px; background: var(--bg); border-radius: 4px; overflow: hidden; }
.rev-bar .bar i { display: block; height: 100%; background: var(--star); border-radius: 4px; }
.review { border-bottom: 1px solid var(--border); padding: 12px 0; }
.review .r-head { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); }
.review .r-head b { color: var(--text); }
.review p { margin: 6px 0 0; }
.verified { display: inline-flex; align-items: center; gap: 4px; background: #e6f6ec; color: var(--green); font-weight: 600; font-size: 12px; padding: 2px 9px; border-radius: 12px; white-space: nowrap; }
.rev-note { display: flex; gap: 6px; align-items: flex-start; font-size: 13px; color: #3b4150; }
.rev-note .ico { margin-top: 2px; flex: none; color: var(--green); }
.review-link { font-size: 12.5px; margin-left: 8px; white-space: nowrap; }
.review-form { background: #f7f8fa; border-radius: 10px; padding: 16px; margin-top: 10px; display: grid; gap: 10px; }
.star-pick { display: flex; gap: 2px; }
.star-pick button { background: none; border: 0; font-size: 26px; color: #cfd4da; padding: 0 2px; line-height: 1; }
.star-pick button.on { color: var(--star); }

/* ---------------- FORMULARE ---------------- */
.field { display: grid; gap: 5px; }
.field label { font-size: 13px; font-weight: 600; }
.field input, .field select, .field textarea { border: 1.5px solid var(--border-strong); border-radius: 8px; padding: 10px 12px; background: #fff; outline: 0; width: 100%; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0, 96, 199, .12); }
.field.err input, .field.err select { border-color: var(--price); }
.field .err-msg { color: var(--price); font-size: 12px; display: none; }
.field.err .err-msg { display: block; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-grid .full { grid-column: 1 / -1; }
.radio-card { display: flex; align-items: center; gap: 12px; border: 1.5px solid var(--border-strong); border-radius: 10px; padding: 13px 14px; cursor: pointer; }
.radio-card:has(input:checked) { border-color: var(--blue); background: var(--blue-soft); }
.radio-card input { accent-color: var(--blue); width: 18px; height: 18px; margin: 0; }
.radio-card .rc-text { flex: 1; }
.radio-card .rc-text small { display: block; color: var(--muted); }
.radio-card .rc-price { font-weight: 700; }
.radio-list { display: grid; gap: 10px; }

/* ---------------- COȘ / CHECKOUT ---------------- */
.page-title { font-size: 24px; margin: 18px 0 14px; letter-spacing: -.3px; }
.cart-layout { display: grid; grid-template-columns: 1fr 340px; gap: 18px; align-items: start; }
.cart-item { display: grid; grid-template-columns: 110px 1fr auto; gap: 16px; padding: 16px; border-bottom: 1px solid var(--border); }
.cart-item:last-child { border-bottom: 0; }
.cart-item > a svg { width: 110px; height: 110px; }
.ci-name { font-weight: 600; font-size: 14.5px; }
.ci-name:hover { color: var(--blue); }
.ci-variant { color: var(--muted); font-size: 13px; margin-top: 3px; }
.ci-right { text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 8px; min-width: 120px; }
.ci-right .price { font-size: 20px; }
.ci-old { color: var(--muted); font-size: 12.5px; }
.ci-fav { width: 34px; height: 34px; border-radius: 50%; border: 0; background: var(--bg); color: var(--text); display: grid; place-items: center; cursor: pointer; transition: background .15s, color .15s; }
.ci-fav:hover { background: #fde8ec; color: #e0245e; }
.ci-qty { display: inline-flex; align-items: center; gap: 6px; }
.ci-qty button { width: 30px; height: 30px; border-radius: 50%; border: 0; background: var(--bg); color: var(--text); display: grid; place-items: center; cursor: pointer; transition: background .15s; }
.ci-qty button:hover:not(:disabled) { background: var(--border); }
.ci-qty button:disabled { opacity: .4; cursor: default; }
.ci-fav svg, .ci-qty svg { width: 15px; height: 15px; }
.ci-qty span { min-width: 22px; text-align: center; font-weight: 700; font-size: 16px; }
.ci-remove { background: none; border: 0; padding: 0 0 1px; font-size: 13.5px; color: var(--text); border-bottom: 1px dashed currentColor; cursor: pointer; }
.ci-remove:hover { color: var(--blue); }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--border-strong); border-radius: 8px; overflow: hidden; }
.qty button { width: 34px; height: 34px; border: 0; background: #fff; display: grid; place-items: center; }
.qty button:hover { background: var(--bg); }
.qty span { min-width: 34px; text-align: center; font-weight: 700; }
.summary { padding: 18px; position: sticky; top: 140px; }
.summary h3 { margin: 0 0 14px; font-size: 18px; }
.sum-row { display: flex; justify-content: space-between; padding: 6px 0; color: #3b4150; }
.sum-row.total { border-top: 1px solid var(--border); margin-top: 8px; padding-top: 14px; color: var(--text); font-weight: 700; font-size: 16px; align-items: baseline; }
.sum-row.total .price { font-size: 24px; }
.sum-row .free { color: var(--green); font-weight: 600; }
.voucher { display: flex; gap: 6px; margin: 12px 0; }
.voucher input { flex: 1; min-width: 0; border: 1.5px solid var(--border-strong); border-radius: 8px; padding: 9px 10px; text-transform: uppercase; }
.voucher button { border-radius: 8px; border: 1.5px solid var(--blue); background: #fff; color: var(--blue); font-weight: 600; padding: 0 12px; }
.note { font-size: 12.5px; color: var(--muted); display: flex; gap: 6px; align-items: flex-start; margin-top: 10px; }
.checkout-block { padding: 20px; margin-bottom: 14px; }
.checkout-block h3 { margin: 0 0 14px; display: flex; align-items: center; gap: 10px; font-size: 17px; }
.step-n { width: 26px; height: 26px; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; font-size: 13px; }
.mini-item { display: flex; gap: 10px; align-items: center; padding: 6px 0; font-size: 13px; }
.mini-item svg { width: 48px; height: 48px; flex: none; }
.mini-item .mi-name { flex: 1; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mini-item .mi-price { font-weight: 700; white-space: nowrap; }
.success { text-align: center; padding: 40px 20px; }
.success .ok { width: 74px; height: 74px; border-radius: 50%; background: #e6f6ec; color: var(--green); display: grid; place-items: center; margin: 0 auto 16px; }
.success h1 { margin: 0 0 8px; font-size: 26px; }

/* ---------------- INFO ---------------- */
.info-hero { background: var(--grad); color: #fff; border-radius: var(--radius); padding: 40px; margin-top: 18px; }
.info-hero h1 { margin: 0 0 8px; font-size: 32px; letter-spacing: -.5px; }
.info-hero p { margin: 0; font-size: 16px; opacity: .92; max-width: 640px; }
.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 14px; }
.info-grid .box { padding: 20px; }
.info-grid .box .ico { color: var(--blue); margin-bottom: 8px; }
.info-grid h3 { margin: 0 0 6px; font-size: 16px; }
.info-grid p { margin: 0; color: var(--muted); }

/* ---------------- MODAL / TOAST ---------------- */
.modal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 16px; background: rgba(15, 18, 30, .5); animation: fade .15s; }
@keyframes fade { from { opacity: 0; } }
.modal-card { background: #fff; border-radius: 14px; width: min(560px, 100%); box-shadow: var(--shadow-lg); overflow: hidden; animation: pop .18s ease-out; }
@keyframes pop { from { transform: scale(.96); opacity: 0; } }
.modal-head { display: flex; align-items: center; gap: 10px; padding: 16px 18px; border-bottom: 1px solid var(--border); font-weight: 700; font-size: 16px; color: var(--green); }
.modal-head button { margin-left: auto; background: none; border: 0; color: var(--muted); display: flex; }
.modal-body { display: flex; gap: 14px; align-items: center; padding: 18px; }
.modal-body svg { width: 90px; height: 90px; flex: none; }
.modal-body .price { font-size: 19px; margin-top: 4px; }
.modal-foot { display: flex; gap: 10px; padding: 0 18px 18px; }
.modal-foot .btn { flex: 1; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%) translateY(20px); background: #1d2026; color: #fff; padding: 12px 18px; border-radius: 10px; font-weight: 500; opacity: 0; pointer-events: none; transition: all .25s; z-index: 300; display: flex; gap: 8px; align-items: center; max-width: calc(100vw - 32px); }
.toast.show { opacity: 1; transform: translateX(-50%); }

/* ---------------- FOOTER ---------------- */
.newsletter { background: #fff; margin-top: 30px; border-top: 1px solid var(--border); }
.newsletter .container { display: flex; align-items: center; gap: 20px; padding: 22px 16px; flex-wrap: wrap; }
.newsletter h3 { margin: 0; font-size: 18px; }
.newsletter p { margin: 2px 0 0; color: var(--muted); }
.newsletter form { display: flex; gap: 8px; margin-left: auto; flex: 1; max-width: 460px; min-width: 260px; }
.newsletter input { flex: 1; min-width: 0; border: 1.5px solid var(--border-strong); border-radius: 8px; padding: 10px 12px; }
footer.site-footer { background: #1b1e27; color: #c9ced8; }
.footer-cols { display: grid; grid-template-columns: repeat(4, 1fr) 1.2fr; gap: 24px; padding: 36px 16px 24px; }
.footer-cols h4 { color: #fff; margin: 0 0 12px; font-size: 15px; }
.footer-cols ul { list-style: none; margin: 0; padding: 0; }
.footer-cols li { padding: 4px 0; }
.footer-cols a:hover { color: #fff; text-decoration: underline; }
.footer-contact div { display: flex; gap: 8px; align-items: center; padding: 4px 0; }
.footer-bottom { border-top: 1px solid #2c303c; }
.footer-bottom .container { display: flex; align-items: center; gap: 16px; padding: 16px; flex-wrap: wrap; font-size: 13px; }
.footer-bottom .legal { margin-left: auto; display: flex; gap: 10px; flex-wrap: wrap; }
.footer-bottom .legal a { border: 1px solid #3a3f4d; padding: 6px 10px; border-radius: 6px; }
.footer-bottom .legal a:hover { border-color: #fff; color: #fff; }
.pay-icons { display: flex; gap: 6px; }
.pay-icons span { background: #fff; color: #1b1e27; font-weight: 800; font-size: 11px; padding: 4px 8px; border-radius: 4px; letter-spacing: .3px; }

/* ---------------- POZE REALE (aceleași dimensiuni ca desenele) ---------------- */
img.pimg { object-fit: contain; mix-blend-mode: multiply; }
.main-img img.pimg { width: 88%; height: 88%; }
.thumbs img.pimg { width: 100%; height: 100%; }
.gallery .thumbs { height: 0; min-height: 100%; overflow-y: auto; scrollbar-width: thin; padding-right: 2px; }
.thumbs button { flex: none; }
.g-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--border); background: rgba(255, 255, 255, .92); display: grid; place-items: center; color: var(--text); box-shadow: var(--shadow); opacity: .85; }
.g-nav:hover { opacity: 1; color: var(--blue); }
.g-nav.prev { left: 10px; } .g-nav.next { right: 10px; }
.g-count { position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%); background: rgba(29, 32, 38, .7); color: #fff; font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 12px; }
.hero-photo { background: #fff; border-radius: 22px; padding: 18px; aspect-ratio: 1; width: min(320px, 100%); justify-self: center; display: grid; place-items: center; box-shadow: 0 24px 48px rgba(0, 0, 0, .35); }
.hero-photo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.suggest a img.thumb { width: 44px; height: 44px; }
.fly-prod img.pimg { width: 56px; height: 56px; flex: none; }
.cat-tile img.pimg { width: 100%; max-width: 120px; aspect-ratio: 1; margin: 0 auto 6px; }
.slide > img.pimg { width: 100%; max-height: 330px; background: transparent; filter: drop-shadow(0 20px 30px rgba(0, 0, 0, .35)); }
.modal-body img.pimg { width: 90px; height: 90px; flex: none; }
.cart-item img.pimg { width: 110px; height: 110px; }
.mini-item img.pimg { width: 48px; height: 48px; flex: none; }

/* ---------------- RESPONSIVE ---------------- */
@media (max-width: 1180px) {
  .grid { grid-template-columns: repeat(3, 1fr); }
  .pdp { grid-template-columns: 1fr 1fr; }
  .buy-box { grid-column: 2; position: static; }
  .cat-tiles { grid-template-columns: repeat(4, 1fr); }
  .footer-cols { grid-template-columns: repeat(3, 1fr); }
  .nav-help span { display: none; }
}
@media (max-width: 960px) {
  .home-top { grid-template-columns: 1fr; }
  .home-top > .cat-panel { display: none; }
  .listing { grid-template-columns: 1fr; }
  .filters { display: none; position: fixed; inset: 0; top: 0; max-height: none; z-index: 120; border-radius: 0; padding-bottom: 80px; }
  .filters.open { display: block; }
  .filters-mobile-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; border-bottom: 1px solid var(--border); position: sticky; top: 0; background: #fff; z-index: 1; font-weight: 700; font-size: 17px; }
  .filters-mobile-head button { background: none; border: 0; display: flex; }
  .filters-apply { position: fixed; left: 0; right: 0; bottom: 0; padding: 12px 16px; background: #fff; border-top: 1px solid var(--border); }
  .toolbar .btn-filters { display: inline-flex; }
  .cart-layout { grid-template-columns: 1fr; }
  .summary { position: static; }
  .perks { grid-template-columns: repeat(2, 1fr); }
  .info-grid { grid-template-columns: 1fr 1fr; }
  .reviews-wrap { grid-template-columns: 1fr; }
  .nav-right { display: none; }
}
@media (min-width: 961px) { .filters-apply { display: none; } }
@media (max-width: 760px) {
  .header-main { flex-wrap: wrap; height: auto; padding-top: 10px; padding-bottom: 10px; gap: 10px 12px; }
  .mobile-menu-btn { display: flex; }
  .logo { font-size: 21px; }
  .logo-mark { width: 32px; height: 32px; }
  .search { order: 3; flex-basis: 100%; max-width: none; }
  .search input { padding: 9px 16px; }
  .hdr-btn { padding: 6px 8px; }
  .hdr-btn .lbl { display: none; }
  .nav-products { display: none; }
  .navbar-inner { height: 44px; }
  .nav-links { height: 44px; margin: 0; }
  .nav-links a { height: 44px; font-size: 14px; padding: 0 11px; }
  /* slide-urile stau suprapuse în aceeași celulă, ca bannerul să crească după cel mai lung text (butonul rămâne vizibil) */
  .hero { min-height: 0; display: grid; }
  .slide { position: relative; inset: auto; grid-area: 1 / 1; grid-template-columns: 1fr; padding: 22px 22px 46px; align-content: center; }
  .slide h2 { font-size: 26px; }
  .slide p { font-size: 14.5px; margin-bottom: 14px; }
  .cart-item img.pimg { width: 76px; height: 76px; }
  .gallery .thumbs { height: auto; min-height: 0; overflow-x: auto; overflow-y: hidden; padding: 0 0 4px; }
  .hero-photo { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); width: min(30%, 150px); padding: 6px; border-radius: 14px; }
  .slide > img.pimg { position: absolute; right: -10px; bottom: 10px; width: 46%; max-height: 180px; }
  .slide > svg { position: absolute; right: -10px; bottom: 10px; width: 46%; max-height: 180px; opacity: .95; }
  .slide .txt { max-width: 62%; position: relative; z-index: 1; }
  .hero-dots { left: 22px; bottom: 16px; }
  .hero-arrow { display: none; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .card { padding: 10px; }
  .price { font-size: 18px; }
  .row-scroll { grid-auto-columns: 172px; gap: 8px; }
  .row-arrow { display: none; }
  .cat-tiles { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .perks { grid-template-columns: 1fr 1fr; gap: 8px; }
  .perk { padding: 10px; gap: 8px; }
  .perk .p-ico { width: 34px; height: 34px; }
  .perk span { display: none; }
  .pdp { grid-template-columns: 1fr; padding: 14px; gap: 18px; }
  .buy-box { grid-column: auto; }
  .gallery { grid-template-columns: 1fr; }
  .thumbs { flex-direction: row; order: 2; }
  .thumbs button { width: 58px; }
  .pdp-title h1 { font-size: 19px; }
  .pdp-tabs { top: 108px; padding: 0 8px; }
  .pdp-section { padding: 16px 14px; }
  .key-specs li span { min-width: 110px; }
  .cart-item { grid-template-columns: 76px 1fr; gap: 12px; padding: 12px; }
  .cart-item > a svg { width: 76px; height: 76px; }
  .ci-right { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; align-items: center; }
  .form-grid { grid-template-columns: 1fr; }
  .info-grid { grid-template-columns: 1fr; }
  .info-hero { padding: 26px 20px; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .modal-foot { flex-direction: column; }
  .section-head h2 { font-size: 18px; }
}

/* ============================================================
   PAGINA HELP (stil eMAG help) – fără header/footer de magazin
   ============================================================ */
body.help-mode { background: #fff; }
body.help-mode #header, body.help-mode #promoBar, body.help-mode #footer { display: none !important; }
.help-page { min-height: 100vh; background: #fff; position: relative; padding-bottom: 40px; }
.help-top { display: flex; align-items: center; justify-content: space-between; max-width: 1160px; margin: 0 auto; padding: 22px 24px 0; }
.help-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.help-logo svg { width: 34px; height: 34px; }
.help-logo span { font-size: 27px; font-weight: 800; color: #a9a5f2; letter-spacing: -.5px; }
.help-actions { display: flex; align-items: center; gap: 14px; }
.help-pill { display: inline-flex; align-items: center; gap: 9px; background: #f1f2f8; color: var(--blue); font-weight: 600; font-size: 14px; padding: 8px 10px 8px 16px; border-radius: 999px; text-decoration: none; transition: background .15s; }
.help-pill:hover { background: #e7e9f5; }
.hp-go { width: 24px; height: 24px; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; font-size: 12px; line-height: 1; }
.help-burger { width: 44px; height: 44px; border-radius: 50%; border: none; background: var(--blue); color: #fff; display: grid; place-items: center; cursor: pointer; transition: background .15s; }
.help-burger:hover { background: var(--blue-dark); }
.help-menu { position: absolute; top: 78px; right: 24px; background: #fff; border: 1px solid var(--border); border-radius: 14px; box-shadow: var(--shadow-lg); padding: 8px; min-width: 270px; display: none; z-index: 60; }
.help-menu.open { display: block; }
.help-menu a, .help-menu button { display: flex; align-items: center; gap: 11px; width: 100%; padding: 10px 12px; border-radius: 10px; color: var(--text); font-size: 14.5px; font-weight: 500; text-decoration: none; background: none; border: none; cursor: pointer; text-align: left; font-family: inherit; }
.help-menu a:hover, .help-menu button:hover { background: var(--bg); }
.help-menu .hm-ico { color: var(--blue); display: grid; place-items: center; }
.help-menu .hm-admin { border-top: 1px solid var(--border); margin-top: 6px; padding-top: 13px; color: var(--muted); border-radius: 0 0 10px 10px; }
.help-hero { text-align: center; padding: 11vh 24px 34px; }
.help-salut { font-family: 'Caveat', cursive; font-size: 84px; line-height: 1; color: #37346b; transform: rotate(-3deg); }
.help-hero h1 { font-size: clamp(30px, 4.6vw, 52px); font-weight: 800; color: #171a3c; margin: 12px 0 36px; letter-spacing: -.8px; }
.help-search { max-width: 660px; margin: 0 auto; position: relative; }
.help-search input { width: 100%; height: 60px; border: none; border-radius: 999px; background: #f2f3f8; padding: 0 64px 0 28px; font: inherit; font-size: 16px; color: var(--text); outline: none; transition: background .15s, box-shadow .15s; }
.help-search input::placeholder { color: #8a8ea6; }
.help-search input:focus { background: #fff; box-shadow: 0 0 0 2px var(--blue), 0 10px 30px rgba(0, 96, 199, .14); }
.help-search button { position: absolute; right: 10px; top: 9px; width: 42px; height: 42px; border: none; background: transparent; color: #3d405e; cursor: pointer; display: grid; place-items: center; border-radius: 50%; }
.help-results { max-width: 660px; margin: 10px auto 0; background: #fff; border: 1px solid var(--border); border-radius: 18px; box-shadow: var(--shadow-lg); display: none; overflow: hidden; text-align: left; }
.help-results.open { display: block; }
.help-res { display: flex; align-items: center; gap: 12px; width: 100%; padding: 13px 18px; background: none; border: none; border-bottom: 1px solid #f0f1f6; cursor: pointer; font: inherit; color: var(--text); text-align: left; }
.help-res:last-child { border-bottom: none; }
.help-res:hover { background: #f6f7fc; }
.help-res .hr-ico { color: var(--blue); display: grid; place-items: center; }
.help-res .hr-txt { flex: 1; display: flex; flex-direction: column; font-weight: 600; }
.help-res .hr-txt small { color: var(--muted); font-size: 12.5px; font-weight: 500; }
.help-res svg:last-child { color: #b6bacb; }
.help-none { padding: 16px 18px; color: var(--text); font-size: 14.5px; }
.help-body { max-width: 780px; margin: 30px auto 40px; padding: 0 24px; text-align: center; }
.help-chips-label { color: var(--muted); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; margin-bottom: 14px; }
.help-chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.help-chips button { border: 1px solid var(--border-strong); background: #fff; color: var(--text); font: inherit; font-size: 14px; font-weight: 500; padding: 9px 18px; border-radius: 999px; cursor: pointer; transition: border-color .15s, color .15s; }
.help-chips button:hover { border-color: var(--blue); color: var(--blue); }
.help-chips button.chat { background: var(--blue); border-color: var(--blue); color: #fff; }
.help-chips button.chat:hover { background: var(--blue-dark); }

/* ============================================================
   SUPPORT LIVE – widget de chat (toate paginile)
   ============================================================ */
.chatw { position: fixed; right: 20px; bottom: 20px; z-index: 95; }
.chatw-fab { position: relative; width: 58px; height: 58px; border-radius: 50%; border: none; background: var(--blue); color: #fff; box-shadow: var(--shadow-lg); cursor: pointer; display: grid; place-items: center; transition: transform .15s, background .15s; }
.chatw-fab:hover { transform: scale(1.06); background: var(--blue-dark); }
.chatw-badge { position: absolute; top: -2px; right: -2px; min-width: 21px; height: 21px; border-radius: 999px; background: var(--price); color: #fff; font-size: 11px; font-weight: 700; display: grid; place-items: center; padding: 0 5px; border: 2px solid #fff; }
.chatw-panel { position: absolute; right: 0; bottom: 70px; width: 344px; max-width: calc(100vw - 28px); height: 470px; max-height: calc(100vh - 110px); background: #fff; border-radius: 16px; box-shadow: 0 18px 50px rgba(16, 24, 40, .3); display: none; flex-direction: column; overflow: hidden; }
.chatw.open .chatw-panel { display: flex; }
.chatw-head { display: flex; align-items: center; justify-content: space-between; background: var(--blue); color: #fff; padding: 12px 14px; flex: none; }
.chatw-title { display: flex; align-items: center; gap: 10px; }
.chatw-title b { display: block; font-size: 14.5px; }
.chatw-on { font-size: 11.5px; opacity: .85; display: block; }
.chatw-head button { background: none; border: none; color: #fff; cursor: pointer; padding: 4px; display: grid; place-items: center; }
.chatw-msgs { flex: 1; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 8px; background: #fafbfe; }
.chatw-hello { margin: auto; text-align: center; color: var(--muted); display: flex; flex-direction: column; gap: 6px; align-items: center; padding: 12px; font-size: 13.5px; }
.chatw-hello svg { color: var(--blue); }
.chatw-hello b { color: var(--text); font-size: 15px; }
.chatw-foot { border-top: 1px solid var(--border); background: #fff; flex: none; }
.chatw-input { display: flex; gap: 8px; padding: 10px; }
.chatw-input input { flex: 1; min-width: 0; border: 1px solid var(--border-strong); border-radius: 10px; padding: 9px 12px; font: inherit; }
.chatw-input input:focus { outline: none; border-color: var(--blue); }
.chatw-input button { border: none; background: var(--blue); color: #fff; border-radius: 10px; min-width: 42px; padding: 0 14px; font-size: 15px; cursor: pointer; font-weight: 600; }
.chatw-input button:hover { background: var(--blue-dark); }
.chatw-name { display: flex; flex-direction: column; gap: 8px; padding: 12px; }
.chatw-name input { border: 1px solid var(--border-strong); border-radius: 10px; padding: 10px 12px; font: inherit; }
.chatw-name input:focus { outline: none; border-color: var(--blue); }

/* bule de mesaje – comune vizitator și admin */
.cm { display: flex; flex-direction: column; max-width: 80%; }
.cm span { padding: 9px 13px; border-radius: 14px; font-size: 14px; line-height: 1.45; white-space: pre-wrap; word-break: break-word; }
.cm small { font-size: 10.5px; color: #9aa0b1; margin-top: 3px; padding: 0 4px; }
.cm.me { align-self: flex-end; align-items: flex-end; }
.cm.me span { background: var(--blue); color: #fff; border-bottom-right-radius: 4px; }
.cm.them { align-self: flex-start; align-items: flex-start; }
.cm.them span { background: #eceff6; color: var(--text); border-bottom-left-radius: 4px; }

/* ============================================================
   SUPPORT LIVE – panou admin (#/support-admin)
   ============================================================ */
.sup-live-note { color: var(--muted); font-size: 13px; display: inline-flex; align-items: center; gap: 6px; }
.sup-admin-grid { display: grid; grid-template-columns: 330px 1fr; gap: 16px; align-items: start; margin-top: 16px; }
.sup-list { padding: 8px !important; display: flex; flex-direction: column; gap: 2px; max-height: 580px; overflow-y: auto; }
.sup-conv { display: grid; grid-template-columns: 1fr auto; gap: 2px 8px; text-align: left; background: none; border: none; border-radius: 10px; padding: 10px 12px; cursor: pointer; font: inherit; }
.sup-conv:hover { background: var(--bg); }
.sup-conv.on { background: var(--blue-soft); }
.sc-name { font-weight: 600; color: var(--text); display: flex; align-items: center; gap: 7px; font-size: 14px; }
.sc-unread { background: var(--price); color: #fff; font-size: 11px; border-radius: 999px; padding: 1px 7px; font-weight: 700; }
.sc-time { color: var(--muted); font-size: 11.5px; }
.sc-last { grid-column: 1 / -1; color: var(--muted); font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sup-thread { padding: 16px; }
.sup-msgs { display: flex; flex-direction: column; gap: 8px; padding: 12px; background: #fafbfe; border-radius: 12px; max-height: 400px; overflow-y: auto; margin: 10px 0; }
.sup-empty { color: var(--muted); padding: 20px; text-align: center; margin: 0; }

/* link support live în footer */
.live-support-link { display: flex; align-items: center; gap: 8px; color: var(--text); text-decoration: none; margin-bottom: 8px; }
.live-support-link svg { color: var(--blue); flex: none; }
.live-support-link:hover b { text-decoration: underline; }

@media (max-width: 760px) {
  .help-top { padding: 14px 16px 0; }
  .help-logo svg { width: 28px; height: 28px; }
  .help-logo span { font-size: 21px; }
  .help-menu { right: 16px; min-width: 240px; }
  .help-hero { padding-top: 5vh; }
  .help-salut { font-size: 46px; }
  .help-search input { padding-left: 22px; }
  .sup-admin-grid { grid-template-columns: 1fr; }
  .chatw { right: 14px; bottom: 14px; }
  .chatw-panel { height: 420px; }
}

/* panoul de admin – ecran cu cod de acces */
.sup-pin { max-width: 380px; margin: 60px auto 0; padding: 34px 30px !important; text-align: center; display: flex; flex-direction: column; align-items: center; }
.sup-pin svg { color: var(--blue); }
.sup-pin-form { display: flex; gap: 8px; width: 100%; }
.sup-pin-form input { flex: 1; min-width: 0; border: 1px solid var(--border-strong); border-radius: 10px; padding: 10px 12px; font: inherit; text-align: center; letter-spacing: 2px; }
.sup-pin-form input:focus { outline: none; border-color: var(--blue); }
.sup-pin-err { color: var(--price); font-size: 13px; margin-top: 10px; font-weight: 600; }

.btn-continue { width: 100%; border: 0; cursor: pointer; font-family: inherit; position: relative; display: flex; align-items: center; height: 50px; margin-top: 14px; border-radius: 10px; overflow: hidden; background: linear-gradient(90deg, #2a5bd7, #0a84e8); color: #fff; font-size: 19px; text-decoration: none; transition: filter .15s, box-shadow .15s; }
.btn-continue:hover { filter: brightness(1.08); box-shadow: 0 4px 14px rgba(10,110,230,.35); color: #fff; }
.bc-badge { position: absolute; left: 0; top: 0; bottom: 0; width: 56px; display: grid; place-items: center; padding-right: 8px; background: #f2253a; clip-path: polygon(0 0, 100% 0, 78% 100%, 0 100%); }
.bc-text { font-weight: 500; flex: 1; text-align: center; padding-left: 40px; }
/* Pagina de plată */
.pay-wrap { max-width: 480px; padding-top: 20px; padding-bottom: 40px; }
.pay-back { display: inline-block; margin-bottom: 12px; font-size: 14px; }
.pay-box { padding: 22px; }
.pay-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 18px; }
.pay-label { color: var(--muted); font-size: 13px; }
.pay-amount .price, .pay-amount { font-size: 26px; font-weight: 800; }
.pay-secure { display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; color: #12893f; background: #e8f6ee; padding: 5px 10px; border-radius: 20px; white-space: nowrap; }
.pay-wallets { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.wallet-btn { height: 48px; border-radius: 10px; display: flex; align-items: center; justify-content: center; gap: 4px; font-size: 18px; font-weight: 600; cursor: pointer; font-family: inherit; transition: filter .15s; }
.wallet-btn:hover:not(:disabled) { filter: brightness(1.15); }
.wallet-btn.apple { background: #000; color: #fff; border: 0; }
.wallet-btn.google { background: #fff; color: #3c4043; border: 1.5px solid #dadce0; }
.wallet-btn.google:hover:not(:disabled) { filter: none; background: #f8f9fa; }
.wallet-btn:disabled, .btn-continue:disabled { opacity: .6; cursor: default; }
.pay-or { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 13px; margin: 18px 0 12px; }
.pay-or::before, .pay-or::after { content: ""; flex: 1; height: 1px; background: var(--border); }
#cardForm .field { margin-bottom: 12px; }
#cardForm label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 5px; }
#cardForm input { width: 100%; box-sizing: border-box; height: 44px; padding: 0 12px; border: 1.5px solid var(--border-strong); border-radius: 8px; font-size: 15px; font-family: inherit; letter-spacing: .5px; }
#cardForm input:focus { outline: 0; border-color: var(--blue); }
#cardForm .field.err input { border-color: #e0243a; }
#cardForm .field-err { display: none; color: #e0243a; font-size: 12px; margin-top: 4px; }
#cardForm .field.err .field-err { display: block; }
.card-input { position: relative; }
.cc-brand { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); font-size: 11px; font-weight: 800; padding: 3px 6px; border-radius: 4px; }
.cc-brand.visa { background: #1a1f71; color: #fff; }
.cc-brand.mastercard { background: #f79e1b; color: #fff; }
.pay-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.wallet-btn { position: relative; }
.wallet-btn.selected { outline: 3px solid var(--blue); outline-offset: 2px; }
.wallet-btn.selected::after { content: "✓"; position: absolute; top: -8px; right: -8px; width: 20px; height: 20px; border-radius: 50%; background: var(--blue); color: #fff; font-size: 12px; display: grid; place-items: center; }
#cardForm.wallet-on .field { opacity: .45; }
/* Statusul comenzii */
.ost-badge { display: inline-block; padding: 3px 10px; border-radius: 20px; font-size: 12.5px; font-weight: 700; color: var(--c); background: color-mix(in srgb, var(--c) 13%, #fff); white-space: nowrap; }
.ost-wrap { margin: 18px auto 6px; max-width: 720px; text-align: left; }
.ost-title { font-weight: 600; margin-bottom: 14px; display: flex; gap: 8px; align-items: center; }
.ost-track { display: flex; }
.ost-step { flex: 1; position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; font-size: 11.5px; color: var(--muted); }
.ost-step::before { content: ""; position: absolute; top: 10px; right: 50%; width: 100%; height: 3px; background: var(--border); z-index: 0; }
.ost-step:first-child::before { display: none; }
.ost-step.done::before, .ost-step.now::before { background: #16a34a; }
.ost-dot { position: relative; z-index: 1; width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 3px solid var(--border); display: grid; place-items: center; color: #fff; }
.ost-step.done .ost-dot, .ost-step.now .ost-dot { background: #16a34a; border-color: #16a34a; }
.ost-step.now .ost-dot { box-shadow: 0 0 0 4px #16a34a33; }
.ost-step.now .ost-lbl { color: var(--text); font-weight: 700; }
.ost-cancel { display: flex; gap: 10px; align-items: center; color: var(--muted); font-size: 14px; }
@media (max-width: 600px) { .ost-lbl { font-size: 10px; } }

/* Admin: comenzi */
.adm-filters { display: flex; gap: 8px; flex-wrap: wrap; margin: 16px 0; }
.adm-chip { border: 1.5px solid var(--border-strong); background: #fff; border-radius: 20px; padding: 6px 12px; font-size: 13px; cursor: pointer; font-family: inherit; }
.adm-chip b { color: var(--muted); margin-left: 3px; }
.adm-chip.on { background: var(--blue); border-color: var(--blue); color: #fff; }
.adm-chip.on b { color: #fff; }
.adm-order { padding: 14px 16px; margin-bottom: 10px; }
.ao-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; padding-bottom: 10px; border-bottom: 1px solid var(--border); }
.ao-head small { color: var(--muted); margin-left: 6px; }
.ao-status { display: flex; align-items: center; gap: 10px; }
.ao-status select { height: 36px; border: 1.5px solid var(--border-strong); border-radius: 8px; padding: 0 10px; font-family: inherit; font-size: 14px; background: #fff; cursor: pointer; }
.ao-body { display: grid; grid-template-columns: 1.1fr 1.6fr auto; gap: 16px; padding-top: 10px; font-size: 13.5px; }
.ao-client, .ao-total { display: flex; flex-direction: column; gap: 2px; }
.ao-client span, .ao-total span { color: var(--muted); }
.ao-total { text-align: right; }
.ao-total b { font-size: 16px; }
@media (max-width: 760px) { .ao-body { grid-template-columns: 1fr; } .ao-total { text-align: left; } }