:root {
  --bg: #07080d;
  --bg-2: #0c0e16;
  --surface: #111420;
  --surface-2: #171b2b;
  --line: rgba(255, 255, 255, .07);
  --line-2: rgba(255, 255, 255, .13);
  --text: #eef0f7;
  --muted: #9aa1b6;
  --dim: #858ca3;
  --cyan: #22d3ee;
  --violet: #8b5cf6;
  --green: #34d399;
  --amber: #fbbf24;
  --red: #f87171;
  --grad: linear-gradient(100deg, var(--cyan), var(--violet));
  --radius: 16px;
  --shadow: 0 20px 60px -20px rgba(0, 0, 0, .7);
  --font: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --display: 'Space Grotesk', var(--font);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text); font: 16px/1.6 var(--font);
  -webkit-font-smoothing: antialiased; min-height: 100vh; display: flex; flex-direction: column;
}
body::before {
  content: ''; position: fixed; inset: 0; pointer-events: none; z-index: -1;
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(139, 92, 246, .16), transparent 60%),
    radial-gradient(700px 400px at -10% 10%, rgba(34, 211, 238, .10), transparent 60%);
}
main { flex: 1; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
h1, h2, h3 { font-family: var(--display); line-height: 1.15; letter-spacing: -.02em; margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; border-radius: 6px; }

.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.muted { color: var(--muted); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- Header */
.site-header {
  position: sticky; top: 0; z-index: 40; backdrop-filter: blur(14px) saturate(140%);
  background: rgba(7, 8, 13, .72); border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; gap: 28px; height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; font: 700 20px var(--display); letter-spacing: -.02em; }
.logo-mark {
  width: 32px; height: 32px; border-radius: 9px; background: var(--grad); display: grid; place-items: center;
}
.logo-mark svg { width: 18px; height: 18px; color: #07080d; }
.nav { display: flex; gap: 6px; }
.nav a { padding: 8px 14px; border-radius: 10px; color: var(--muted); font-size: 15px; font-weight: 500; transition: .15s; }
.nav a:hover, .nav a.active { color: var(--text); background: var(--surface); }
.header-actions { margin-left: auto; display: flex; gap: 10px; align-items: center; }
.cart-btn {
  position: relative; display: flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 12px;
  background: var(--surface); border: 1px solid var(--line); cursor: pointer; font-weight: 600; font-size: 15px; transition: .15s;
}
.cart-btn:hover { border-color: var(--line-2); }
.cart-btn svg { width: 18px; height: 18px; }
.cart-count {
  min-width: 20px; height: 20px; padding: 0 6px; border-radius: 99px; background: var(--grad); color: #07080d;
  font-size: 12px; font-weight: 800; display: grid; place-items: center;
}
.cart-count[data-n="0"] { display: none; }

/* ---------- Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; cursor: pointer;
  padding: 13px 22px; border-radius: 12px; font-weight: 700; font-size: 15px; background: var(--grad); color: #07080d;
  box-shadow: 0 6px 18px -8px rgba(0, 0, 0, .6); transition: transform .15s, box-shadow .15s, opacity .15s;
}
.btn:hover { transform: translateY(-1px); filter: brightness(1.08); }
.btn:active { transform: translateY(0); }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }
.btn-ghost { background: var(--surface); color: var(--text); border: 1px solid var(--line-2); box-shadow: none; }
.btn-ghost:hover { box-shadow: none; border-color: rgba(255, 255, 255, .25); }
.btn-sm { padding: 9px 14px; font-size: 14px; border-radius: 10px; }
.btn-block { width: 100%; }
.btn svg { width: 18px; height: 18px; }

/* ---------- Hero */
.hero { padding: 84px 0 64px; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 99px; font-size: 13px; font-weight: 600;
  background: rgba(52, 211, 153, .1); color: var(--green); border: 1px solid rgba(52, 211, 153, .25); margin-bottom: 22px;
}
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(52, 211, 153, .6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(52, 211, 153, 0); } 100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); } }
.hero h1 { font-size: clamp(40px, 5.6vw, 66px); font-weight: 700; }
.hero p.lead { font-size: 19px; color: var(--muted); margin: 22px 0 32px; max-width: 520px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 36px; margin-top: 44px; }
.hero-stats strong { display: block; font: 700 26px var(--display); }
.hero-stats span { color: var(--dim); font-size: 14px; }

.key-visual { position: relative; perspective: 1200px; }
.key-card {
  position: relative; border-radius: 22px; padding: 28px; background: linear-gradient(160deg, #161a2b, #0e1019);
  border: 1px solid var(--line-2); box-shadow: var(--shadow), 0 0 80px -20px rgba(139, 92, 246, .45);
  transform: rotateY(-8deg) rotateX(6deg); transition: transform .6s;
}
.key-visual:hover .key-card { transform: rotateY(0) rotateX(0); }
.key-card::before {
  content: ''; position: absolute; inset: -1px; border-radius: 22px; padding: 1px; background: var(--grad);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: .55;
}
.kc-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 26px; }
.kc-top .tile { width: 48px; height: 48px; font-size: 22px; border-radius: 13px; }
.kc-status { font-size: 13px; color: var(--green); display: flex; align-items: center; gap: 6px; font-weight: 600; }
.kc-label { font-size: 12px; text-transform: uppercase; letter-spacing: .12em; color: var(--dim); margin-bottom: 8px; }
.kc-key {
  font: 600 clamp(15px, 2vw, 19px) ui-monospace, 'JetBrains Mono', Menlo, monospace; letter-spacing: .06em; color: #5eead4;
  background: rgba(0, 0, 0, .35); border: 1px dashed rgba(94, 234, 212, .3); border-radius: 12px; padding: 16px; white-space: nowrap; overflow: hidden;
}
.kc-key .c { display: inline-block; min-width: .62em; }
.kc-foot { display: flex; justify-content: space-between; margin-top: 22px; font-size: 13px; color: var(--muted); }
.float-chip {
  position: absolute; padding: 10px 14px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--line-2);
  font-size: 13px; font-weight: 600; display: flex; align-items: center; gap: 8px; box-shadow: var(--shadow); animation: float 5s ease-in-out infinite;
}
.float-chip svg { width: 16px; height: 16px; color: var(--cyan); }
.chip-1 { top: -22px; right: 12px; }
.chip-2 { bottom: -20px; left: -16px; animation-delay: -2.5s; }
@keyframes float { 50% { transform: translateY(-8px); } }

/* ---------- Trust bar */
.trust { border-block: 1px solid var(--line); background: rgba(255, 255, 255, .015); }
.trust .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-item { display: flex; gap: 14px; align-items: center; padding: 24px 18px; }
.trust-item + .trust-item { border-left: 1px solid var(--line); }
.trust-ico { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--surface); border: 1px solid var(--line); flex: none; }
.trust-ico svg { width: 20px; height: 20px; color: var(--cyan); }
.trust-item strong { display: block; font-size: 15px; }
.trust-item span { font-size: 13px; color: var(--dim); }

/* ---------- Sections */
.section { padding: 88px 0; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 36px; flex-wrap: wrap; }
.section-head h2 { font-size: clamp(30px, 3.4vw, 42px); }
.section-head p { color: var(--muted); margin: 10px 0 0; }

.filters { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  padding: 9px 16px; border-radius: 99px; border: 1px solid var(--line-2); background: transparent; cursor: pointer;
  color: var(--muted); font-weight: 600; font-size: 14px; transition: .15s;
}
.chip:hover { color: var(--text); }
.chip.active { background: var(--text); color: var(--bg); border-color: var(--text); }

/* ---------- Product cards */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.card {
  position: relative; display: flex; flex-direction: column; border-radius: var(--radius); background: var(--surface);
  border: 1px solid var(--line); overflow: hidden; transition: transform .2s, border-color .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-4px); border-color: var(--line-2); box-shadow: var(--shadow); }
.card-media { position: relative; aspect-ratio: 16 / 10; display: grid; place-items: center; overflow: hidden; background: var(--bg-2); }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.card-discount {
  position: absolute; top: 12px; left: 12px; padding: 4px 10px; border-radius: 8px; font-size: 13px; font-weight: 800;
  background: var(--red); color: #1a0505;
}
.card-body { padding: 18px 18px 0; flex: 1; }
.card-body h3 { font-size: 19px; margin: 10px 0 6px; }
.card-body p { margin: 0; color: var(--muted); font-size: 14px; }
.card-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px; }
.price s { display: block; color: var(--dim); font-size: 13px; }
.price strong { font: 700 22px var(--display); }

/* Tile = "logo" generat pe categorie */
/* tile: umbră neutră de elevație */
.tile {
  box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .7);
  width: 84px; height: 84px; border-radius: 22px; display: grid; place-items: center; font: 700 38px var(--display);
  color: #fff; position: relative;
}
.tile-windows { background: linear-gradient(135deg, #0ea5e9, #2563eb); }
.tile-office { background: linear-gradient(135deg, #f97316, #dc2626); }
.tile-autocad { background: linear-gradient(135deg, #ef4444, #9f1239); }
.tile-pachete { background: linear-gradient(135deg, #0ea5e9 0%, #2563eb 48%, #f97316 52%, #dc2626 100%); }
.tile-server { background: linear-gradient(135deg, #64748b, #1e293b); }
.tile-altele { background: var(--grad); }
.media-windows { background: radial-gradient(circle at 50% 120%, rgba(14, 165, 233, .25), var(--bg-2) 70%); }
.media-office { background: radial-gradient(circle at 50% 120%, rgba(249, 115, 22, .22), var(--bg-2) 70%); }
.media-autocad { background: radial-gradient(circle at 50% 120%, rgba(239, 68, 68, .22), var(--bg-2) 70%); }
.media-pachete { background: radial-gradient(circle at 30% 120%, rgba(14, 165, 233, .22), transparent 60%), radial-gradient(circle at 70% 120%, rgba(249, 115, 22, .2), var(--bg-2) 60%); }
.media-server { background: radial-gradient(circle at 50% 120%, rgba(100, 116, 139, .28), var(--bg-2) 70%); }
.media-altele { background: radial-gradient(circle at 50% 120%, rgba(139, 92, 246, .25), var(--bg-2) 70%); }

.badge { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 99px; }
.badge svg { width: 13px; height: 13px; }
.b-instant { color: var(--green); background: rgba(52, 211, 153, .1); }
.b-manual { color: var(--amber); background: rgba(251, 191, 36, .1); }
.b-account { color: #a78bfa; background: rgba(139, 92, 246, .12); }
.b-out { color: var(--red); background: rgba(248, 113, 113, .1); }

/* ---------- Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: s; }
.step { padding: 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); position: relative; }
.step::before {
  counter-increment: s; content: '0' counter(s); font: 700 15px var(--display); display: inline-grid; place-items: center;
  width: 42px; height: 42px; border-radius: 12px; background: var(--grad); color: #07080d; margin-bottom: 18px;
}
.step h3 { font-size: 20px; margin-bottom: 8px; }
.step p { margin: 0; color: var(--muted); }

/* ---------- FAQ */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { border-radius: 14px; background: var(--surface); border: 1px solid var(--line); padding: 0 22px; transition: border-color .2s; }
.faq details[open] { border-color: var(--line-2); }
.faq summary { cursor: pointer; padding: 20px 0; font-weight: 600; font-size: 17px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 22px; line-height: 1; color: var(--cyan); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 20px; color: var(--muted); }

/* ---------- CTA band */
.cta-band {
  border-radius: 24px; padding: 56px; text-align: center; position: relative; overflow: hidden;
  background: linear-gradient(135deg, rgba(34, 211, 238, .12), rgba(139, 92, 246, .18)); border: 1px solid var(--line-2);
}
.cta-band h2 { font-size: clamp(28px, 3.4vw, 40px); margin-bottom: 12px; }
.cta-band p { color: var(--muted); margin: 0 0 28px; }

/* ---------- Footer */
.site-footer { border-top: 1px solid var(--line); padding: 48px 0 28px; margin-top: 40px; color: var(--muted); font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
.site-footer h4 { color: var(--text); font-size: 14px; margin: 0 0 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a:hover { color: var(--text); }
.legal-badges { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.legal-badges a { padding: 8px 12px; border: 1px solid var(--line-2); border-radius: 10px; font-size: 12px; font-weight: 600; }
.footer-bottom { margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--dim); font-size: 13px; }
.pay-icons { display: flex; gap: 8px; }
.pay-icons span { padding: 4px 9px; border-radius: 6px; background: var(--surface); border: 1px solid var(--line); font-weight: 700; font-size: 11px; color: var(--muted); }

/* ---------- Cart drawer */
.overlay { position: fixed; inset: 0; background: rgba(0, 0, 0, .6); backdrop-filter: blur(4px); z-index: 60; opacity: 0; pointer-events: none; transition: opacity .25s; }
.overlay.open { opacity: 1; pointer-events: auto; }
.drawer {
  position: fixed; top: 0; right: 0; height: 100%; width: min(420px, 100%); background: var(--bg-2); border-left: 1px solid var(--line-2);
  z-index: 61; transform: translateX(100%); transition: transform .3s cubic-bezier(.2, .8, .2, 1); display: flex; flex-direction: column;
}
.drawer.open { transform: none; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 20px 22px; border-bottom: 1px solid var(--line); }
.drawer-head h3 { font-size: 20px; }
.icon-btn { width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); cursor: pointer; display: grid; place-items: center; }
.icon-btn svg { width: 18px; height: 18px; }
.drawer-body { flex: 1; overflow-y: auto; padding: 8px 22px; }
.drawer-foot { padding: 20px 22px; border-top: 1px solid var(--line); }
.line-item { display: grid; grid-template-columns: 52px 1fr auto; gap: 14px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.line-item .tile { width: 52px; height: 52px; font-size: 22px; border-radius: 13px; box-shadow: none; }
.line-item h4 { margin: 0 0 4px; font-size: 15px; }
.line-item .lp { font-weight: 700; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line-2); border-radius: 10px; overflow: hidden; }
.qty button { width: 30px; height: 30px; border: 0; background: transparent; cursor: pointer; font-size: 16px; color: var(--muted); }
.qty button:hover { color: var(--text); background: var(--surface); }
.qty span { min-width: 26px; text-align: center; font-weight: 700; font-size: 14px; }
.sum-row { display: flex; justify-content: space-between; margin-bottom: 8px; color: var(--muted); }
.sum-row.total { color: var(--text); font: 700 22px var(--display); margin: 14px 0 18px; }
.empty { text-align: center; padding: 60px 10px; color: var(--muted); }
.empty svg { width: 46px; height: 46px; margin: 0 auto 14px; color: var(--dim); }

/* ---------- Product page */
.crumbs { padding: 28px 0 0; color: var(--dim); font-size: 14px; }
.crumbs a:hover { color: var(--text); }
.pdp { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; padding: 28px 0 40px; align-items: start; }
.pdp-media { border-radius: 24px; aspect-ratio: 1; display: grid; place-items: center; border: 1px solid var(--line); overflow: hidden; position: sticky; top: 96px; }
.pdp-media .tile { width: 160px; height: 160px; font-size: 76px; border-radius: 40px; }
.pdp-media img { width: 100%; height: 100%; object-fit: cover; }
.pdp h1 { font-size: clamp(32px, 4vw, 46px); margin: 14px 0 12px; }
.pdp .brand { color: var(--dim); font-weight: 600; font-size: 14px; text-transform: uppercase; letter-spacing: .1em; }
.pdp-price { display: flex; align-items: baseline; gap: 14px; margin: 24px 0; }
.pdp-price strong { font: 700 42px var(--display); }
.pdp-price s { color: var(--dim); font-size: 18px; }
.save { color: var(--green); font-weight: 700; font-size: 15px; }
.buy-row { display: flex; gap: 12px; align-items: center; margin-bottom: 26px; }
.buy-row .qty button { width: 42px; height: 48px; }
.buy-row .qty span { min-width: 34px; }
.buy-row .btn { flex: 1; padding: 15px 22px; }
.perks { display: grid; gap: 12px; padding: 22px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); margin-bottom: 28px; }
.perk { display: flex; gap: 12px; align-items: center; font-size: 15px; }
.perk svg { width: 20px; height: 20px; color: var(--green); flex: none; }
.pdp-section h3 { font-size: 20px; margin: 28px 0 12px; }
.pdp-section p, .guide { color: var(--muted); margin: 0; white-space: pre-line; }
.guide { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; line-height: 1.9; }
.stock-warn { color: var(--amber); font-weight: 600; font-size: 14px; margin: -14px 0 22px; }

/* ---------- Forms / checkout */
.page-title { padding: 44px 0 24px; }
.page-title h1 { font-size: clamp(32px, 4vw, 44px); }
.checkout { display: grid; grid-template-columns: 1.3fr .9fr; gap: 32px; align-items: start; padding-bottom: 40px; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 28px; }
.panel h2 { font-size: 20px; margin-bottom: 18px; display: flex; align-items: center; gap: 10px; }
.panel h2 .n { width: 28px; height: 28px; border-radius: 8px; background: var(--grad); color: #07080d; font-size: 14px; display: grid; place-items: center; }
.panel + .panel { margin-top: 20px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 600; color: var(--muted); }
.field small { color: var(--dim); font-size: 13px; }
.input {
  width: 100%; padding: 13px 14px; border-radius: 12px; background: var(--bg-2); border: 1px solid var(--line-2); outline: none; transition: border-color .15s, box-shadow .15s;
}
.input:focus { border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(34, 211, 238, .15); }
textarea.input { min-height: 110px; resize: vertical; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--muted); cursor: pointer; }
.check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--cyan); flex: none; }
.check a { color: var(--cyan); }
.toggle-row { display: flex; gap: 8px; margin-bottom: 18px; }
.callout { display: flex; gap: 12px; padding: 14px 16px; border-radius: 12px; font-size: 14px; background: rgba(139, 92, 246, .1); border: 1px solid rgba(139, 92, 246, .3); color: #c4b5fd; margin-bottom: 16px; }
.callout svg { width: 20px; height: 20px; flex: none; }
.error-box { padding: 14px 16px; border-radius: 12px; background: rgba(248, 113, 113, .1); border: 1px solid rgba(248, 113, 113, .35); color: #fca5a5; font-size: 14px; margin-bottom: 16px; }
.summary { position: sticky; top: 96px; }
.secure-note { display: flex; gap: 8px; justify-content: center; align-items: center; color: var(--dim); font-size: 13px; margin-top: 14px; }
.secure-note svg { width: 15px; height: 15px; }

/* ---------- Order page */
.order-hero { text-align: center; padding: 56px 0 32px; }
.order-hero .big-ico { width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 22px; }
.order-hero .big-ico svg { width: 36px; height: 36px; }
.ok-ico { background: rgba(52, 211, 153, .12); color: var(--green); }
.wait-ico { background: rgba(34, 211, 238, .1); color: var(--cyan); }
.order-hero h1 { font-size: clamp(30px, 4vw, 42px); margin-bottom: 10px; }
.order-items { max-width: 760px; margin: 0 auto; display: grid; gap: 16px; padding-bottom: 40px; }
.oi { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 22px; }
.oi-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.oi-head h3 { font-size: 18px; }
.keybox { display: flex; gap: 10px; align-items: stretch; }
.keybox code {
  flex: 1; font: 600 17px ui-monospace, Menlo, monospace; letter-spacing: .05em; color: #5eead4; background: var(--bg-2);
  border: 1px dashed rgba(94, 234, 212, .35); border-radius: 12px; padding: 14px 16px; word-break: break-all; white-space: pre-wrap;
}
.oi details { margin-top: 14px; }
.oi summary { cursor: pointer; color: var(--cyan); font-weight: 600; font-size: 14px; }
.oi .guide { margin-top: 12px; }
.pending-note { color: var(--amber); font-size: 15px; display: flex; gap: 10px; align-items: center; }
.pending-note svg { width: 18px; height: 18px; flex: none; }
.spinner { width: 36px; height: 36px; border-radius: 50%; border: 3px solid var(--line-2); border-top-color: var(--cyan); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Toast */
.toast {
  position: fixed; bottom: 24px; left: 50%; transform: translate(-50%, 120px); z-index: 80; padding: 13px 20px; border-radius: 12px;
  background: var(--surface-2); border: 1px solid var(--line-2); box-shadow: var(--shadow); font-weight: 600; font-size: 15px;
  display: flex; gap: 10px; align-items: center; transition: transform .3s cubic-bezier(.2, .8, .2, 1);
}
.toast.show { transform: translate(-50%, 0); }
.toast svg { width: 18px; height: 18px; color: var(--green); }

.skeleton { border-radius: var(--radius); background: linear-gradient(90deg, var(--surface) 25%, var(--surface-2) 50%, var(--surface) 75%); background-size: 200% 100%; animation: sh 1.4s infinite; height: 340px; }
@keyframes sh { to { background-position: -200% 0; } }

/* ---------- Responsive */
@media (max-width: 960px) {
  .hero .wrap, .pdp, .checkout { grid-template-columns: 1fr; }
  .hero { padding: 48px 0 40px; }
  .key-visual { max-width: 460px; margin: 20px auto 0; width: 100%; }
  .trust .wrap { grid-template-columns: 1fr 1fr; }
  .trust-item:nth-child(3) { border-left: 0; }
  .trust-item:nth-child(n+3) { border-top: 1px solid var(--line); }
  .steps { grid-template-columns: 1fr; }
  .pdp-media { position: static; aspect-ratio: 16 / 10; }
  .summary { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .nav { display: none; }
  .section { padding: 60px 0; }
  .trust .wrap { grid-template-columns: 1fr; }
  .trust-item + .trust-item { border-left: 0; border-top: 1px solid var(--line); }
  .form-grid { grid-template-columns: 1fr; }
  .cta-band { padding: 36px 22px; }
  .hero-stats { gap: 22px; }
  .panel { padding: 22px; }
  .keybox { flex-direction: column; }
  .chip-2 { left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- Rânduri pe categorii (homepage) */
.row-section { padding: 56px 0 0; }
.row-section + .row-section { padding-top: 40px; }
.row-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 20px; flex-wrap: wrap; }
.row-head h2 { font-size: clamp(24px, 2.6vw, 32px); }
.row-actions { display: flex; align-items: center; gap: 8px; }
.row-actions .icon-btn { font-size: 22px; line-height: 1; color: var(--muted); }
.row-actions .icon-btn:hover { color: var(--text); border-color: var(--line-2); }
.see-all { font-size: 14px; font-weight: 600; color: var(--cyan); padding: 8px 12px; border-radius: 10px; }
.see-all:hover { background: var(--surface); }
.rail {
  display: grid; grid-auto-flow: column; grid-auto-columns: 250px; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory;
  scroll-padding: 0 2px; padding: 4px 2px 14px; scrollbar-width: thin; scrollbar-color: var(--line-2) transparent;
}
.rail > * { scroll-snap-align: start; }
.rail .card:hover { transform: translateY(-2px); }
.rail .card-body h3 { font-size: 16px; }
.rail .skeleton { height: 320px; }

/* Banner pachete */
.promo {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 32px; padding: 32px 40px; border-radius: 24px;
  background: linear-gradient(110deg, rgba(14, 165, 233, .14), rgba(139, 92, 246, .12) 50%, rgba(249, 115, 22, .14));
  border: 1px solid var(--line-2); transition: border-color .2s;
}
.promo:hover { border-color: rgba(255, 255, 255, .25); }
.promo-art { display: flex; align-items: center; gap: 10px; }
.promo-art .tile { width: 64px; height: 64px; font-size: 30px; border-radius: 18px; }
.promo-plus { font: 700 28px var(--display); color: var(--muted); }
.promo-text h2 { font-size: clamp(24px, 2.8vw, 34px); margin-bottom: 6px; }
.promo-text p { margin: 0; color: var(--muted); }
.promo-text strong { color: var(--green); }

/* Autodesk: subcategorii în stânga */
.row-split { display: grid; grid-template-columns: 210px 1fr; gap: 20px; align-items: start; }
.side-cats { display: grid; gap: 8px; }
.side-cats button {
  text-align: left; padding: 11px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface);
  color: var(--muted); font-weight: 600; font-size: 14px; cursor: pointer; transition: .15s;
}
.side-cats button:hover { color: var(--text); border-color: var(--line-2); }
.side-cats button.active { background: var(--text); color: var(--bg); border-color: var(--text); }
.row-split .rail { min-width: 0; }

@media (max-width: 860px) {
  .promo { grid-template-columns: 1fr; text-align: center; padding: 28px 22px; gap: 18px; justify-items: center; }
  .row-split { grid-template-columns: 1fr; }
  .side-cats { display: flex; overflow-x: auto; gap: 8px; padding-bottom: 4px; }
  .side-cats button { white-space: nowrap; flex: none; border-radius: 99px; padding: 9px 14px; }
}
@media (max-width: 640px) {
  .rail { grid-auto-columns: 78%; }
  .row-actions .icon-btn { display: none; }
}

.price strong { white-space: nowrap; }
.rail .price strong { font-size: 20px; }
.toast:not(.show) { visibility: hidden; transition: transform .3s, visibility 0s .3s; }