/* Pro PC — stiluri site public */

:root {
  --navy: #0b1f3a;
  --navy-2: #12284a;
  --blue: #1f6bff;
  --blue-text: #1553d6;
  --blue-soft: #e6eefe;
  --bg: #ffffff;
  --paper: #f3f5f8;
  --surface: #ffffff;
  --line: #dde3ec;
  --line-strong: #bcc6d6;
  --text: #0a0f1a;
  --muted: #566178;
  --ok: #107a4a;
  --ok-bg: #e3f6ec;
  --warn: #8f5300;
  --warn-bg: #fff1d6;
  --err: #b42318;
  --err-bg: #fde8e6;
  --grid: rgba(11, 31, 58, .06);
  --radius: 10px;
  --shadow: 0 1px 2px rgba(11, 31, 58, .06), 0 10px 30px rgba(11, 31, 58, .07);
  --font-head: "Bahnschrift", "DIN Alternate", "Segoe UI Variable Display", "Avenir Next", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, "SF Mono", "Cascadia Mono", Menlo, Consolas, monospace;
  color-scheme: light;
}

:root[data-theme="dark"] {
  --bg: #0a1426;
  --paper: #0e1a31;
  --surface: #112040;
  --line: #1f3153;
  --line-strong: #34486d;
  --text: #e8eef8;
  --muted: #9dabc4;
  --blue: #4d8dff;
  --blue-text: #86b0ff;
  --blue-soft: #14284d;
  --ok: #4fd18f;
  --ok-bg: #0f2c22;
  --warn: #f1b44c;
  --warn-bg: #33270d;
  --err: #ff8a7d;
  --err-bg: #3a1714;
  --grid: rgba(150, 180, 230, .07);
  --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 10px 30px rgba(0, 0, 0, .35);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 1rem/1.6 var(--font-body); -webkit-font-smoothing: antialiased;
  display: flex; flex-direction: column; min-height: 100vh;
}
main { flex: 1 0 auto; }
img, svg { max-width: 100%; }
img { display: block; }
a { color: var(--blue-text); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 700; line-height: 1.12; letter-spacing: -.015em; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2.35rem, 5.2vw, 3.9rem); letter-spacing: -.025em; }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.45rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2rem 0; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 4px; }
::selection { background: var(--blue); color: #fff; }

.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 100; }
.skip-link:focus { top: 12px; }
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.wrap-narrow { max-width: 760px; }
.section { padding: clamp(56px, 8vw, 100px) 0; }
.section-tint { background: var(--paper); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: clamp(28px, 4vw, 44px); flex-wrap: wrap; }
.section-head h2 { margin: 0; max-width: 24ch; }
.section-head p { margin: 8px 0 0; color: var(--muted); max-width: 56ch; }
.lead { font-size: 1.18rem; color: var(--muted); max-width: 54ch; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.mono { font-family: var(--font-mono); }
.icon { flex: none; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: none; }
.link-arrow:hover { text-decoration: underline; }

/* ---------- Butoane ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 0 22px; border-radius: 8px; border: 1.5px solid transparent;
  font: 600 1rem/1 var(--font-body); text-decoration: none; cursor: pointer;
  background: var(--blue); color: #fff; transition: background-color .15s, border-color .15s, transform .1s;
}
.btn:hover { background: #1558d4; text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .5; cursor: not-allowed; }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { background: var(--navy-2); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line-strong); }
.btn-ghost:hover { background: var(--paper); border-color: var(--text); }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: #e9f0ff; }
.btn-sm { min-height: 38px; padding: 0 14px; font-size: .9rem; }
.btn-block { width: 100%; }
.btn-danger { background: var(--err); }
.btn-danger:hover { background: #8f1c12; }
.btn-text { background: none; border: 0; padding: 0; color: var(--blue-text); font: inherit; font-weight: 600; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.btn-text.danger { color: var(--err); }

/* ---------- Antet ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 94%, transparent); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.header-in { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font: 700 1.2rem/1 var(--font-head); letter-spacing: -.01em; }
.brand:hover { text-decoration: none; }
.brand svg { color: var(--blue); }
.nav { display: flex; gap: 4px; margin-left: 16px; }
.nav a { position: relative; padding: 10px 12px; color: var(--text); text-decoration: none; font-weight: 500; font-size: .98rem; border-radius: 6px; }
.nav a:hover { background: var(--paper); }
.nav a[aria-current="page"] { font-weight: 650; }
.nav a[aria-current="page"]::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 2px; background: var(--blue); border-radius: 2px; }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.icon-btn { position: relative; display: inline-flex; align-items: center; gap: 8px; min-height: 42px; min-width: 42px; justify-content: center; padding: 0 10px; border-radius: 8px; border: 0; background: none; color: var(--text); font: 500 .95rem var(--font-body); text-decoration: none; cursor: pointer; }
.icon-btn:hover { background: var(--paper); text-decoration: none; }
.cart-count { position: absolute; top: 2px; right: 0; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 10px; background: var(--blue); color: #fff; font: 700 .72rem/19px var(--font-body); text-align: center; }
.cart-count[hidden] { display: none; }
.theme-toggle .icon-moon { display: none; }
:root[data-theme="dark"] .theme-toggle .icon-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .icon-moon { display: inline; }
.menu-toggle { display: none; }

@media (max-width: 920px) {
  .menu-toggle { display: inline-flex; }
  .account-label { display: none; }
  .nav {
    position: fixed; inset: 68px 0 0 0; background: var(--bg); flex-direction: column; margin: 0; padding: 16px 20px; gap: 2px;
    transform: translateX(100%); visibility: hidden; transition: transform .22s ease, visibility 0s .22s; overflow-y: auto;
  }
  body.nav-open .nav { transform: none; visibility: visible; transition: transform .22s ease; }
  body.nav-open { overflow: hidden; }
  .nav a { padding: 16px 8px; font-size: 1.15rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav a[aria-current="page"]::after { left: 8px; right: auto; width: 28px; bottom: 8px; }
}

/* ---------- Mesaje ---------- */
.flashes { padding-top: 20px; display: grid; gap: 10px; }
.flash { display: flex; gap: 12px; align-items: flex-start; padding: 13px 16px; border-radius: 8px; border: 1px solid; font-size: .98rem; }
.flash-ok { background: var(--ok-bg); border-color: color-mix(in srgb, var(--ok) 35%, transparent); color: var(--ok); }
.flash-err { background: var(--err-bg); border-color: color-mix(in srgb, var(--err) 35%, transparent); color: var(--err); }
.flash-info { background: var(--blue-soft); border-color: color-mix(in srgb, var(--blue) 30%, transparent); color: var(--blue-text); }
.flash a { color: inherit; font-weight: 600; }

/* ---------- Erou ---------- */
.hero {
  position: relative; background-color: var(--paper); border-bottom: 1px solid var(--line); overflow: hidden;
  background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 44px 44px; background-position: -1px -1px;
}
.hero::after { content: ""; position: absolute; inset: auto 0 0 0; height: 90px; background: linear-gradient(transparent, var(--paper)); pointer-events: none; }
.hero-in { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(32px, 6vw, 88px); align-items: center; padding: clamp(48px, 7vw, 96px) 20px clamp(56px, 8vw, 104px); position: relative; z-index: 1; }
.hero h1 { margin-bottom: 20px; max-width: 14ch; }
.hero .lead { margin-bottom: 30px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 30px; }
.hero-points { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; max-width: 520px; }
.hero-points li { display: flex; gap: 10px; align-items: center; font-weight: 500; font-size: .98rem; }
.hero-points .icon { color: var(--blue); }

/* Fișa de service: elementul memorabil al paginii */
.ticket { position: relative; background: var(--surface); border: 1px solid var(--line-strong); border-radius: 16px; box-shadow: var(--shadow); max-width: 440px; margin-left: auto; width: 100%; transform: rotate(1.2deg); }
.ticket-top { padding: 22px 26px 18px; }
.ticket-bottom { padding: 18px 26px 24px; }
.ticket-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 14px; }
.ticket-title { font: 700 1.05rem var(--font-head); }
.ticket-code { font: 500 .8rem var(--font-mono); color: var(--muted); }
.ticket-row { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-bottom: 1px dashed var(--line); font-size: .95rem; }
.ticket-row:last-child { border-bottom: 0; }
.ticket-row span:last-child { font-variant-numeric: tabular-nums; white-space: nowrap; }
.ticket-perf { position: relative; height: 0; border-top: 2px dashed var(--line-strong); margin: 0 18px; }
.ticket-perf::before, .ticket-perf::after { content: ""; position: absolute; top: -13px; width: 24px; height: 24px; border-radius: 50%; background: var(--paper); border: 1px solid var(--line-strong); }
.ticket-perf::before { left: -31px; clip-path: inset(0 0 0 50%); }
.ticket-perf::after { right: -31px; clip-path: inset(0 50% 0 0); }
.ticket-total { display: flex; justify-content: space-between; align-items: baseline; font: 700 1.5rem var(--font-head); }
.ticket-total small { font: 500 .85rem var(--font-body); color: var(--muted); }
.ticket-note { margin: 12px 0 0; font-size: .85rem; color: var(--muted); }
.ticket-steps { list-style: none; display: flex; justify-content: space-between; margin: 16px 0 0; position: relative; }
.ticket-steps::before { content: ""; position: absolute; left: 8px; right: 8px; top: 7px; height: 2px; background: var(--line-strong); }
.ticket-steps li { position: relative; z-index: 1; display: grid; justify-items: center; gap: 6px; font-size: .78rem; color: var(--muted); }
.ticket-steps i { width: 16px; height: 16px; border-radius: 50%; background: var(--surface); border: 2px solid var(--line-strong); }
.ticket-steps .done i { background: var(--blue); border-color: var(--blue); }
.ticket-steps .done { color: var(--text); font-weight: 600; }

@media (max-width: 860px) {
  .hero-in { grid-template-columns: 1fr; }
  .hero h1 { max-width: none; }
  .ticket { margin: 0 auto; transform: none; }
}
@media (prefers-reduced-motion: no-preference) {
  .ticket { animation: ticket-in .7s cubic-bezier(.2, .7, .2, 1) both; }
  @keyframes ticket-in { from { opacity: 0; transform: translateY(18px) rotate(3deg); } to { opacity: 1; transform: rotate(1.2deg); } }
}

/* ---------- Bandă de încredere ---------- */
.trust-band { background: var(--navy); color: #fff; }
.trust-in { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-item { display: flex; gap: 14px; align-items: center; padding: 22px 20px; border-left: 1px solid rgba(255, 255, 255, .12); }
.trust-item:first-child { border-left: 0; padding-left: 0; }
.trust-item .icon { color: #7fadff; width: 28px; height: 28px; }
.trust-item strong { display: block; font: 650 1rem var(--font-head); }
.trust-item span { font-size: .875rem; color: #b6c4dc; }
@media (max-width: 860px) {
  .trust-in { grid-template-columns: 1fr 1fr; }
  .trust-item:nth-child(3) { border-left: 0; padding-left: 0; }
  .trust-item:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .12); }
}
@media (max-width: 520px) {
  .trust-in { grid-template-columns: 1fr; }
  .trust-item { border-left: 0; padding-left: 0; border-top: 1px solid rgba(255, 255, 255, .12); }
  .trust-item:first-child { border-top: 0; }
}

/* ---------- Servicii (listă pe rânduri) ---------- */
.svc-list { list-style: none; border-top: 1px solid var(--line-strong); }
.svc { display: grid; grid-template-columns: 44px minmax(0, 1fr) 150px 170px; gap: 8px 24px; align-items: start; padding: 24px 8px; border-bottom: 1px solid var(--line); transition: background-color .15s; }
.svc:hover { background: var(--paper); }
.svc-icon { width: 44px; height: 44px; border-radius: 10px; background: var(--blue-soft); color: var(--blue-text); display: grid; place-items: center; }
.svc h3 { margin: 0 0 6px; font-size: 1.2rem; }
.svc p { margin: 0; color: var(--muted); max-width: 62ch; }
.svc-meta { color: var(--muted); font-size: .92rem; display: flex; align-items: center; gap: 6px; padding-top: 4px; }
.svc-price { text-align: right; }
.svc-price strong { display: block; font: 700 1.2rem var(--font-head); }
.svc-price small { color: var(--muted); font-size: .8rem; }
.svc-price a { display: inline-block; margin-top: 6px; font-weight: 600; font-size: .92rem; }
@media (max-width: 820px) {
  .svc { grid-template-columns: 44px 1fr; }
  .svc-meta, .svc-price { grid-column: 2; text-align: left; padding: 0; }
}
.svc-list.compact { display: grid; grid-template-columns: 1fr 1fr; column-gap: 40px; }
.svc-list.compact .svc { grid-template-columns: 44px 1fr auto; padding: 18px 4px; }
.svc-list.compact .svc-meta { display: none; }
.svc-list.compact .svc p { display: none; }
.svc-list.compact .svc h3 { margin: 0; }
.svc-list.compact .svc-price { padding-top: 2px; }
.svc-list.compact .svc-price a { display: none; }
@media (max-width: 760px) { .svc-list.compact { grid-template-columns: 1fr; } }

/* ---------- Pachete ---------- */
.period-switch { display: inline-flex; padding: 4px; border: 1px solid var(--line-strong); border-radius: 10px; background: var(--surface); margin-bottom: 28px; }
.period-switch button { border: 0; background: none; color: var(--text); font: 600 .95rem var(--font-body); padding: 9px 18px; border-radius: 7px; cursor: pointer; }
.period-switch button[aria-pressed="true"] { background: var(--navy); color: #fff; }
.period-switch .save { font-weight: 500; font-size: .8rem; color: #8fe0b4; margin-left: 6px; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; padding: 32px 28px 28px; background: var(--surface); border: 1px solid var(--line-strong); border-radius: 18px; }
.plan h3 { font-size: 1.5rem; margin-bottom: 4px; }
.plan .tagline { color: var(--muted); min-height: 3em; margin-bottom: 18px; }
.plan-price { display: flex; align-items: baseline; gap: 6px; margin-bottom: 4px; font-family: var(--font-head); }
.plan-price strong { font-size: 2.7rem; line-height: 1; letter-spacing: -.02em; }
.plan-price span span { color: var(--muted); font-family: var(--font-body); font-size: 1rem; }
.plan-sub { min-height: 1.5em; font-size: .88rem; color: var(--muted); margin-bottom: 20px; }
.plan-feats { list-style: none; display: grid; gap: 11px; margin: 4px 0 28px; padding-top: 22px; border-top: 1px solid var(--line); flex: 1; }
.plan-feats li { display: flex; gap: 10px; align-items: flex-start; font-size: .96rem; }
.plan-feats .icon { color: var(--blue); margin-top: 2px; }
.plan-featured { background: var(--navy); color: #fff; border-color: var(--navy); box-shadow: 0 24px 60px rgba(11, 31, 58, .28); }
.plan-featured .tagline, .plan-featured .plan-price span span, .plan-featured .plan-sub { color: #b6c4dc; }
.plan-featured .plan-feats { border-color: rgba(255, 255, 255, .16); }
.plan-featured .plan-feats .icon { color: #7fadff; }
.plan-featured .btn { background: #fff; color: var(--navy); }
.plan-featured .btn:hover { background: #e2ebff; }
.plan-flag { position: absolute; top: 18px; right: 18px; background: var(--blue); color: #fff; font: 600 .8rem var(--font-body); padding: 5px 11px; border-radius: 20px; }
[data-period="lunar"] .only-anual, [data-period="anual"] .only-lunar { display: none; }
@media (max-width: 960px) { .plans { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; } .plan .tagline { min-height: 0; } }

.callout { display: flex; gap: 20px; align-items: center; justify-content: space-between; flex-wrap: wrap; padding: 26px 30px; border: 1px solid var(--line-strong); border-radius: 14px; background: var(--surface); margin-top: 28px; }
.callout h3 { margin: 0 0 4px; }
.callout p { margin: 0; color: var(--muted); }

/* ---------- Proces ---------- */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: step; position: relative; }
.step { position: relative; padding: 0 24px 0 0; }
.step::before { content: counter(step); counter-increment: step; position: relative; z-index: 1; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--navy); color: #fff; font: 700 1.05rem var(--font-head); margin-bottom: 18px; }
.step::after { content: ""; position: absolute; top: 19px; left: 40px; right: 0; height: 2px; background: repeating-linear-gradient(90deg, var(--line-strong) 0 6px, transparent 6px 12px); }
.step:last-child::after { display: none; }
.step h3 { font-size: 1.12rem; margin-bottom: 6px; }
.step p { color: var(--muted); font-size: .96rem; margin: 0; }
@media (max-width: 820px) {
  .steps { grid-template-columns: 1fr; gap: 28px; }
  .step { padding: 0 0 0 58px; }
  .step::before { position: absolute; left: 0; top: 0; margin: 0; }
  .step::after { top: 40px; left: 19px; right: auto; bottom: -28px; width: 2px; height: auto; background: repeating-linear-gradient(var(--line-strong) 0 6px, transparent 6px 12px); }
}

/* ---------- Statistici și testimoniale ---------- */
.stats { display: flex; flex-wrap: wrap; gap: 24px 64px; }
.stat strong { display: block; font: 700 clamp(2.4rem, 5vw, 3.6rem)/1 var(--font-head); letter-spacing: -.03em; }
.stat span { color: var(--muted); }
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.quote { margin: 0; padding: 26px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; display: flex; flex-direction: column; gap: 16px; }
.quote blockquote { margin: 0; font-size: 1.05rem; flex: 1; }
.quote figcaption { font-size: .92rem; color: var(--muted); }
.quote figcaption strong { color: var(--text); display: block; }
.stars { display: inline-flex; gap: 2px; color: #e7a400; }
.stars .off { color: var(--line-strong); }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line-strong); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 4px; font: 600 1.1rem var(--font-head); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 12px; height: 12px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-3px); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(-135deg) translateY(-2px); }
.faq .answer { padding: 0 4px 22px; color: var(--muted); max-width: 70ch; }

/* ---------- Bandă de apel la acțiune ---------- */
.cta-band { background: var(--navy); color: #fff; background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px); background-size: 44px 44px; }
.cta-in { display: flex; justify-content: space-between; align-items: center; gap: 28px 48px; flex-wrap: wrap; padding: clamp(40px, 6vw, 72px) 20px; }
.cta-in h2 { margin: 0 0 8px; max-width: 20ch; }
.cta-in p { margin: 0; color: #b6c4dc; max-width: 48ch; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.cta-band .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .4); }
.cta-band .btn-ghost:hover { background: rgba(255, 255, 255, .1); border-color: #fff; }

/* ---------- Produse ---------- */
.page-head { padding: clamp(36px, 5vw, 60px) 0 clamp(24px, 3vw, 36px); border-bottom: 1px solid var(--line); background: var(--paper); }
.page-head h1 { font-size: clamp(2rem, 4.2vw, 3rem); margin-bottom: 10px; }
.page-head p { margin: 0; color: var(--muted); max-width: 60ch; font-size: 1.08rem; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; font-size: .88rem; color: var(--muted); margin-bottom: 14px; }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--line-strong); }
.crumbs a { color: var(--muted); }
.shop { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 40px; padding-top: 36px; padding-bottom: 72px; }
.filters { position: sticky; top: 92px; align-self: start; display: grid; gap: 24px; }
.filters h2 { font: 650 .95rem var(--font-head); margin: 0 0 10px; letter-spacing: 0; }
.cat-list { list-style: none; display: grid; gap: 2px; }
.cat-list a { display: flex; justify-content: space-between; gap: 8px; padding: 8px 12px; border-radius: 8px; color: var(--text); text-decoration: none; font-size: .96rem; }
.cat-list a:hover { background: var(--paper); }
.cat-list a[aria-current="true"] { background: var(--navy); color: #fff; font-weight: 600; }
.cat-list .count { color: var(--muted); font-size: .85rem; }
.cat-list a[aria-current="true"] .count { color: #b6c4dc; }
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 22px; flex-wrap: wrap; }
.toolbar form { display: flex; gap: 8px; flex-wrap: wrap; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(236px, 1fr)); gap: 24px 20px; }
.product { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; transition: border-color .15s, box-shadow .15s; }
.product:hover, .product:focus-within { border-color: var(--line-strong); box-shadow: var(--shadow); }
.product-img { display: block; aspect-ratio: 4 / 3; background: var(--paper); overflow: hidden; }
.product-img img { width: 100%; height: 100%; object-fit: cover; }
.product-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.product-cat { font-size: .82rem; color: var(--muted); }
.product h3 { font-size: 1.05rem; margin: 0; line-height: 1.25; }
.product h3 a { color: inherit; text-decoration: none; }
.product h3 a::after { content: ""; position: absolute; inset: 0; }
.product { position: relative; }
.product-short { margin: 0; color: var(--muted); font-size: .9rem; flex: 1; }
.price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; font-family: var(--font-head); }
.price strong { font-size: 1.3rem; letter-spacing: -.01em; }
.price s { color: var(--muted); font-size: .95rem; font-family: var(--font-body); }
.price .off { font: 600 .78rem var(--font-body); color: var(--ok); background: var(--ok-bg); padding: 2px 8px; border-radius: 12px; }
.product form { position: relative; z-index: 2; margin-top: 10px; }
.stock { font-size: .86rem; display: inline-flex; align-items: center; gap: 6px; }
.stock::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); }
.stock.low::before { background: #e7a400; }
.stock.out::before { background: var(--err); }
.pager { display: flex; gap: 6px; justify-content: center; margin-top: 40px; flex-wrap: wrap; }
.pager a, .pager span { min-width: 42px; height: 42px; display: grid; place-items: center; padding: 0 12px; border: 1px solid var(--line); border-radius: 8px; color: var(--text); text-decoration: none; font-weight: 500; }
.pager a:hover { border-color: var(--text); }
.pager [aria-current="page"] { background: var(--navy); color: #fff; border-color: var(--navy); }
.empty { padding: 56px 24px; text-align: center; border: 1px dashed var(--line-strong); border-radius: 14px; color: var(--muted); }
.empty h2, .empty h3 { color: var(--text); font-size: 1.3rem; }
@media (max-width: 900px) {
  .shop { grid-template-columns: 1fr; gap: 24px; }
  .filters { position: static; }
  .cat-list { display: flex; flex-wrap: wrap; gap: 8px; }
  .cat-list a { border: 1px solid var(--line); }
}

/* Pagina de produs */
.pdp { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(28px, 5vw, 64px); padding: 36px 0 64px; }
.gallery-main { aspect-ratio: 4 / 3; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.gallery-main img { width: 100%; height: 100%; object-fit: contain; }
.gallery-thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.gallery-thumbs button { width: 76px; height: 60px; padding: 0; border: 2px solid var(--line); border-radius: 8px; overflow: hidden; background: var(--paper); cursor: pointer; }
.gallery-thumbs button[aria-current="true"] { border-color: var(--blue); }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pdp h1 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); }
.pdp .price strong { font-size: 2rem; }
.buy-box { display: flex; gap: 12px; align-items: end; margin: 22px 0; flex-wrap: wrap; }
.facts { list-style: none; display: grid; gap: 12px; border-top: 1px solid var(--line); padding-top: 20px; margin-top: 8px; }
.facts li { display: flex; gap: 12px; align-items: flex-start; font-size: .96rem; }
.facts .icon { color: var(--blue); margin-top: 2px; }
.prose { max-width: 70ch; }
.prose h2 { font-size: 1.5rem; margin-top: 2em; }
.prose h3 { margin-top: 1.6em; }
.prose p, .prose li { color: color-mix(in srgb, var(--text) 88%, var(--muted)); }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1em; display: grid; gap: 6px; }
.spec { width: 100%; max-width: 560px; border-collapse: collapse; margin-top: 12px; }
.spec th, .spec td { text-align: left; padding: 10px 0; border-bottom: 1px solid var(--line); font-weight: 400; }
.spec th { color: var(--muted); width: 38%; }
@media (max-width: 860px) { .pdp { grid-template-columns: 1fr; } }

/* ---------- Formulare ---------- */
.field { display: grid; gap: 6px; margin-bottom: 18px; }
.field label, .label { font-weight: 600; font-size: .94rem; }
.field .hint { font-size: .85rem; color: var(--muted); }
.input, select.input, textarea.input {
  width: 100%; min-height: 46px; padding: 10px 14px; border: 1.5px solid var(--line-strong); border-radius: 8px;
  background: var(--surface); color: var(--text); font: inherit; transition: border-color .15s, box-shadow .15s;
}
textarea.input { min-height: 140px; resize: vertical; line-height: 1.5; }
.input:hover { border-color: var(--muted); }
.input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px color-mix(in srgb, var(--blue) 25%, transparent); }
.is-invalid { border-color: var(--err) !important; }
.field-error { color: var(--err); font-size: .88rem; font-weight: 500; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.field-row.three { grid-template-columns: 1.4fr 1fr 1fr; }
@media (max-width: 620px) { .field-row, .field-row.three { grid-template-columns: 1fr; } }
.check { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 14px; font-size: .94rem; cursor: pointer; }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--blue); flex: none; }
.check.error span { color: var(--err); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.qty { width: 84px; min-height: 42px; text-align: center; }
.pw-meter { height: 4px; background: var(--line); border-radius: 2px; overflow: hidden; }
.pw-meter i { display: block; height: 100%; width: 0; background: var(--err); transition: width .2s, background-color .2s; }

.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: clamp(24px, 4vw, 40px); }
.form-card h2 { font-size: 1.5rem; }
.auth { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: start; padding: clamp(36px, 6vw, 72px) 0; }
.auth-aside h1 { font-size: clamp(2rem, 4vw, 2.8rem); }
.auth-aside ul { list-style: none; display: grid; gap: 14px; margin-top: 24px; }
.auth-aside li { display: flex; gap: 12px; }
.auth-aside .icon { color: var(--blue); margin-top: 3px; }
.auth-single { max-width: 520px; margin: clamp(36px, 6vw, 72px) auto; }
@media (max-width: 860px) { .auth { grid-template-columns: 1fr; } }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(28px, 5vw, 72px); padding: clamp(36px, 5vw, 64px) 0 80px; }
.contact-list { list-style: none; display: grid; gap: 20px; margin: 0 0 28px; }
.contact-list li { display: flex; gap: 14px; }
.contact-list .icon { color: var(--blue); margin-top: 3px; }
.contact-list strong { display: block; }
.contact-list a { color: var(--text); }
.map { aspect-ratio: 16 / 10; width: 100%; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } }

/* ---------- Coș și comandă ---------- */
.cart { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(24px, 4vw, 56px); align-items: start; padding: 36px 0 72px; }
.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; }
.table th { text-align: left; font-size: .85rem; color: var(--muted); font-weight: 600; padding: 10px 12px; border-bottom: 1px solid var(--line-strong); white-space: nowrap; }
.table td { padding: 16px 12px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.cart-item { display: flex; gap: 14px; align-items: center; min-width: 220px; }
.cart-item img, .cart-item .ph { width: 72px; height: 56px; object-fit: cover; border-radius: 8px; background: var(--paper); border: 1px solid var(--line); flex: none; }
.cart-item .ph { display: grid; place-items: center; color: var(--blue); }
.cart-item a { color: var(--text); font-weight: 600; text-decoration: none; }
.cart-item a:hover { text-decoration: underline; }
.summary { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 26px; position: sticky; top: 92px; }
.summary h2 { font-size: 1.25rem; margin-bottom: 16px; }
.sum-row { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; font-variant-numeric: tabular-nums; }
.sum-row.total { border-top: 1px solid var(--line-strong); margin-top: 8px; padding-top: 16px; font: 700 1.4rem var(--font-head); }
.summary .btn { margin-top: 18px; }
.pay-options { display: grid; gap: 10px; margin-bottom: 18px; }
.pay-option { display: flex; gap: 14px; align-items: flex-start; padding: 16px; border: 1.5px solid var(--line-strong); border-radius: 10px; cursor: pointer; background: var(--surface); }
.pay-option:has(input:checked) { border-color: var(--blue); background: var(--blue-soft); }
.pay-option input { margin-top: 4px; accent-color: var(--blue); }
.pay-option strong { display: block; }
.pay-option span { color: var(--muted); font-size: .9rem; }
@media (max-width: 900px) { .cart { grid-template-columns: 1fr; } .summary { position: static; } }
.fieldset { border: 0; padding: 0; margin: 0 0 32px; }
.fieldset legend { font: 700 1.2rem var(--font-head); margin-bottom: 18px; padding: 0; }

/* ---------- Cont client ---------- */
.account { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); padding: 36px 0 80px; align-items: start; }
.account-nav { display: grid; gap: 2px; position: sticky; top: 92px; }
.account-nav a { padding: 10px 14px; border-radius: 8px; color: var(--text); text-decoration: none; font-weight: 500; }
.account-nav a:hover { background: var(--paper); }
.account-nav a[aria-current="page"] { background: var(--navy); color: #fff; }
.account-nav form { margin-top: 14px; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 24px 26px; margin-bottom: 24px; }
.panel h2 { font-size: 1.25rem; margin-bottom: 16px; }
.panel-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 14px; }
.panel-head h2 { margin: 0; }
.badge { display: inline-block; padding: 3px 11px; border-radius: 14px; font: 600 .8rem var(--font-body); background: var(--paper); color: var(--text); white-space: nowrap; }
.badge-noua { background: var(--blue-soft); color: var(--blue-text); }
.badge-in_procesare, .badge-expirat { background: var(--warn-bg); color: var(--warn); }
.badge-finalizata, .badge-activ { background: var(--ok-bg); color: var(--ok); }
.badge-anulata, .badge-ascuns { background: var(--err-bg); color: var(--err); }
.pkg-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.pkg-row:last-child { border-bottom: 0; }
.addr { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.addr:last-child { border-bottom: 0; }
.timeline { list-style: none; display: grid; gap: 0; margin: 8px 0; }
.timeline li { position: relative; padding: 0 0 22px 32px; color: var(--muted); }
.timeline li::before { content: ""; position: absolute; left: 0; top: 4px; width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--line-strong); background: var(--surface); }
.timeline li::after { content: ""; position: absolute; left: 6px; top: 20px; bottom: 0; width: 2px; background: var(--line); }
.timeline li:last-child { padding-bottom: 0; }
.timeline li:last-child::after { display: none; }
.timeline li.done { color: var(--text); }
.timeline li.done::before { background: var(--blue); border-color: var(--blue); }
.timeline li.current { font-weight: 650; color: var(--text); }
.timeline li.cancelled::before { background: var(--err); border-color: var(--err); }
@media (max-width: 860px) { .account { grid-template-columns: 1fr; } .account-nav { position: static; display: flex; flex-wrap: wrap; gap: 6px; } .account-nav a { border: 1px solid var(--line); } }

/* ---------- Confirmare comandă ---------- */
.confirm { max-width: 640px; margin: 0 auto; padding: clamp(36px, 6vw, 72px) 0; }
.confirm-mark { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--ok-bg); color: var(--ok); margin-bottom: 18px; }
.confirm .ticket { transform: none; max-width: none; margin: 28px 0; animation: none; }

/* ---------- Subsol ---------- */
.site-footer { background: var(--navy); color: #c9d5ea; padding: 56px 0 28px; margin-top: auto; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.site-footer h2 { font: 650 .95rem var(--font-head); color: #fff; margin: 0 0 14px; letter-spacing: 0; }
.site-footer a { color: #c9d5ea; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer ul { list-style: none; display: grid; gap: 8px; font-size: .94rem; }
.site-footer .brand { color: #fff; margin-bottom: 14px; }
.site-footer .brand svg { color: #7fadff; }
.footer-about { font-size: .94rem; max-width: 34ch; margin-bottom: 0; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap; margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .14); font-size: .84rem; color: #9fb0cc; }
.footer-bottom nav { display: flex; gap: 8px 22px; flex-wrap: wrap; }
.legal-id { font-size: .88rem; line-height: 1.7; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Butoane plutitoare și cookie ---------- */
.float-wa { position: fixed; right: 18px; bottom: 18px; z-index: 40; width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: #1faa59; color: #fff; box-shadow: 0 6px 20px rgba(0, 0, 0, .25); }
.float-wa:hover { background: #178a48; }
.float-call { display: none; position: fixed; left: 18px; bottom: 18px; z-index: 40; height: 54px; padding: 0 20px; border-radius: 27px; align-items: center; gap: 8px; background: var(--navy); color: #fff; text-decoration: none; font-weight: 600; box-shadow: 0 6px 20px rgba(0, 0, 0, .25); }
@media (max-width: 720px) { .float-call { display: inline-flex; } }
.cookie { position: fixed; left: 50%; bottom: 18px; transform: translateX(-50%); z-index: 60; width: min(680px, calc(100% - 24px)); background: var(--navy); color: #e4ecfa; padding: 18px 20px; border-radius: 14px; box-shadow: 0 12px 40px rgba(0, 0, 0, .35); display: flex; gap: 16px; align-items: center; flex-wrap: wrap; font-size: .92rem; }
.cookie[hidden] { display: none; }
.cookie p { margin: 0; flex: 1 1 300px; }
.cookie a { color: #9fc0ff; }
.cookie .btn { background: #fff; color: var(--navy); }
body.has-cookie .float-wa, body.has-cookie .float-call { bottom: 120px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
@media print {
  .site-header, .site-footer, .float-wa, .float-call, .cookie, .cta-band { display: none !important; }
}

/* Tema întunecată: elementele „active" folosesc albastrul, nu bleumarinul (invizibil pe fundal închis) */
:root[data-theme="dark"] .period-switch button[aria-pressed="true"],
:root[data-theme="dark"] .cat-list a[aria-current="true"],
:root[data-theme="dark"] .pager [aria-current="page"],
:root[data-theme="dark"] .account-nav a[aria-current="page"] { background: var(--blue); border-color: var(--blue); color: #fff; }
:root[data-theme="dark"] .btn-dark { background: #1d3a6b; }
.period-switch .save { color: #0f7a46; }
.period-switch button[aria-pressed="true"] .save { color: #8fe0b4; }
