/* Site-ul Zent: prima pagină, magazinul, coșul, comanda și contul. Culorile vin din aplicație (theme.js): albastrul
   Zent, iar tema întunecată e cea din aplicație. Tema o pune /theme.js pe <html data-theme="light|dark">.
   Titlurile sunt scrise normal (nu cu majuscule), iar textul are rânduri scurte, ca să se citească ușor. */

:root {
  --blue: #2DA1FF;
  --blue-deep: #1E8FEA;
  --link: #1677D0;
  --blue-soft: #D8EEFF;
  --tint: #EEF6FD;
  --bg: #FFFFFF;
  --bg-soft: #F3F8FD;
  --surface: #FFFFFF;
  --surface-2: #F3F8FD;
  --ink: #0B1220;
  --ink-soft: #4A5361;
  --muted: #7C8696;
  --line: #E1E9F2;
  --success: #1E9E5A;
  --success-soft: #E6FAEF;
  --danger: #D93A30;
  --danger-soft: #FFECEB;
  --warn: #B26A00;
  --warn-soft: #FFF1E0;
  --violet: #5B3FD9;
  --violet-soft: #EEE9FF;
  --star: #FFB020;
  --star-empty: #C9D3DE;
  --nav-bg: rgba(255, 255, 255, .78);
  --card-shadow: 0 1px 2px rgba(11, 18, 32, .04), 0 18px 40px -26px rgba(11, 59, 102, .35);
  --lift-shadow: 0 1px 2px rgba(11, 18, 32, .05), 0 30px 60px -30px rgba(11, 59, 102, .45);
  --phone-shadow: 0 40px 80px -36px rgba(11, 59, 102, .55);
  /* Gradientul de pe Welcome din aplicație (theme.js → gradients.hero) */
  --sky: linear-gradient(180deg, #2DA1FF 0%, #6AC2FF 30%, #C2ECFF 65%, #FFFFFF 92%);
  --media-blind: radial-gradient(80% 80% at 50% 30%, #F2FAFF, #CDEBFF);
  --media-light: radial-gradient(80% 80% at 50% 35%, #FFFBEF, #FFE2A0);
  --media-other: radial-gradient(80% 80% at 50% 35%, #FFFFFF, #DCE7F2);

  --display: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;
  --gutter: clamp(20px, 4vw, 40px);
  --ease: cubic-bezier(.2, .8, .2, 1);
  color-scheme: light;
}

:root[data-theme="dark"] {
  --blue: #3AA8FF;
  --blue-deep: #3AA8FF;
  --link: #6BBEFF;
  --blue-soft: #173450;
  --tint: #142638;
  --bg: #0B121B;
  --bg-soft: #0F1823;
  --surface: #17212E;
  --surface-2: #1C2735;
  --ink: #F2F5F9;
  --ink-soft: #B8C2CF;
  --muted: #8592A3;
  --line: #253549;
  --success: #3BD083;
  --success-soft: #12301F;
  --danger: #FF6B61;
  --danger-soft: #3A1B1B;
  --warn: #FFB84D;
  --warn-soft: #3A2E14;
  --violet: #A894FF;
  --violet-soft: #2A2348;
  --star-empty: #3A4A5E;
  --nav-bg: rgba(11, 18, 27, .78);
  --card-shadow: 0 0 0 1px rgba(255, 255, 255, .05), 0 18px 40px -26px rgba(0, 0, 0, .7);
  --lift-shadow: 0 0 0 1px rgba(255, 255, 255, .07), 0 30px 60px -30px rgba(0, 0, 0, .8);
  --phone-shadow: 0 40px 80px -30px rgba(0, 0, 0, .85);
  --sky: linear-gradient(180deg, #0E4A80 0%, #103A63 30%, #0E1D2E 65%, #0B121B 92%);
  --media-blind: radial-gradient(80% 80% at 50% 30%, #1D3F63, #132A43);
  --media-light: radial-gradient(80% 80% at 50% 35%, #4A3D1C, #2A2416);
  --media-other: radial-gradient(80% 80% at 50% 35%, #26364A, #1A2533);
  color-scheme: dark;
}

/* ---------- Baza ---------- */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { max-width: 100%; }
a { color: var(--link); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
[hidden] { display: none !important; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
html.has-drawer { overflow: hidden; }

.container { width: min(1160px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.section { padding-block: clamp(64px, 9vw, 112px); }
.section--soft { background: var(--bg-soft); }
.section--flush { padding-top: 0; }

/* Titlurile: scrise normal, strânse puțin */
.display, h1, h2, h3 { font-family: var(--display); letter-spacing: -.02em; }
.display { margin: 0; font-weight: 800; line-height: 1.08; font-size: clamp(2rem, 4.4vw, 3.2rem); text-wrap: balance; }
p, li { text-wrap: pretty; }
h1.display { font-size: clamp(2.3rem, 5vw, 3.7rem); line-height: 1.05; }
.lead { margin: 18px 0 0; max-width: 34em; font-size: clamp(17px, 1.6vw, 19px); line-height: 1.6; color: var(--ink-soft); }

/* Eticheta mică de deasupra unui titlu */
.label { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 14px; font: 700 14px/1.2 var(--body); letter-spacing: 0; color: var(--link); }
.label .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--success); }
.section-head { max-width: 680px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .lead { margin-inline: auto; }

.muted { color: var(--ink-soft); }
.mono { font-family: var(--mono); letter-spacing: .02em; }

/* ---------- Butoane ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 24px; border: 0; border-radius: 999px;
  font: 600 16px/1 var(--body); text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: transform .25s var(--ease), background-color .2s, box-shadow .2s, color .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.btn--blue, .btn--primary { background: var(--blue); color: #fff; box-shadow: 0 12px 26px -14px rgba(45, 161, 255, .9); }
.btn--blue:hover, .btn--primary:hover { background: var(--blue-deep); }
.btn--dark { background: var(--ink); color: var(--bg); }
.btn--line, .btn--secondary { background: var(--surface); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.btn--line:hover, .btn--secondary:hover { box-shadow: inset 0 0 0 1px var(--blue); }
.btn--small { height: 42px; padding: 0 18px; font-size: 15px; }
.btn--big { height: 58px; padding: 0 30px; font-size: 17px; }
.btn--full { width: 100%; }
button.btn:disabled { opacity: .55; cursor: default; transform: none; }
.link-btn { padding: 0; border: 0; background: none; color: var(--link); font: 600 14px/1.2 var(--body); cursor: pointer; }
.link-btn--danger { color: var(--danger); }

/* ---------- Meniul de sus ---------- */

.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; gap: 12px;
  height: 68px; padding-inline: max(var(--gutter), calc((100% - 1160px) / 2));
  color: var(--ink);
  transition: background-color .3s, box-shadow .3s;
}
.nav.is-scrolled, .nav--solid {
  background: var(--nav-bg);
  box-shadow: 0 1px 0 var(--line);
  -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4);
}
.nav__logo { display: inline-flex; align-items: center; gap: 9px; margin-right: auto; color: inherit; text-decoration: none; }
.nav__logo svg { width: 14px; height: 24px; fill: currentColor; }
.nav__logo span { font: 900 25px/1 var(--display); letter-spacing: -.03em; margin-top: -3px; }
.nav__links { display: flex; gap: 2px; margin-right: 8px; }
.nav__links a { padding: 9px 14px; border-radius: 999px; color: inherit; font: 600 15px/1 var(--body); text-decoration: none; opacity: .85; transition: background-color .2s, opacity .2s; }
.nav__links a:hover { opacity: 1; background: rgba(127, 160, 200, .16); }
.nav__actions { display: flex; align-items: center; gap: 6px; }
.nav__cta { margin-left: 4px; }

.nav-icon {
  position: relative; display: inline-grid; place-items: center; flex: 0 0 auto;
  width: 42px; height: 42px; padding: 0; border: 0; border-radius: 50%;
  background: transparent; color: inherit; cursor: pointer; text-decoration: none;
  transition: background-color .2s;
}
.nav-icon:hover { background: rgba(127, 160, 200, .18); }
.nav-icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.nav-badge {
  position: absolute; top: 2px; right: 0; min-width: 18px; height: 18px; padding: 0 5px;
  border-radius: 999px; background: var(--blue); color: #fff;
  font: 700 11px/18px var(--body); text-align: center; box-shadow: 0 0 0 2px var(--bg);
}
.nav-badge.is-bump { animation: bump .5s var(--ease); }
@keyframes bump { 40% { transform: scale(1.45); } }
.nav-account { display: flex; }

/* Meniul pe telefon: butonul cu trei linii deschide legăturile */
.nav__menu { display: none; position: relative; }
.nav__menu summary { list-style: none; }
.nav__menu summary::-webkit-details-marker { display: none; }
.nav__menu[open] .nav__menu-panel { display: grid; }
.nav__menu-panel {
  display: none; position: absolute; top: calc(100% + 10px); right: 0; z-index: 60;
  width: min(280px, calc(100vw - 32px)); padding: 8px; gap: 2px;
  border-radius: 20px; background: var(--surface); box-shadow: 0 0 0 1px var(--line), 0 30px 60px -20px rgba(11, 59, 102, .35);
}
.nav__menu-panel a { padding: 13px 14px; border-radius: 12px; color: var(--ink); font-weight: 600; text-decoration: none; }
.nav__menu-panel a:hover { background: var(--tint); }

/* Contul în meniu (site-auth.js): „Intră în cont” sau poza și numele */
.account-chip {
  display: inline-flex; align-items: center; gap: 9px; height: 42px; padding: 0 14px 0 5px;
  border: 0; border-radius: 999px; background: none; color: inherit; cursor: pointer;
  font: 600 15px/1 var(--body); text-decoration: none; box-shadow: inset 0 0 0 1px currentColor;
  transition: background-color .2s;
}
.account-chip:hover { background: rgba(127, 160, 200, .16); }
.account-chip__avatar { display: grid; place-items: center; flex: 0 0 32px; width: 32px; height: 32px; overflow: hidden; border-radius: 50%; background: var(--blue-soft); color: var(--link); }
.account-chip__avatar img { width: 100%; height: 100%; object-fit: cover; }
.account-chip__avatar svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.account-chip__name { max-width: 16ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.account-chip__chevron { width: 16px; height: 16px; margin-left: -2px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s var(--ease); }
.account-chip[aria-expanded="true"] .account-chip__chevron { transform: rotate(180deg); }
.account-menu-wrap { position: relative; }
.account-menu {
  position: absolute; z-index: 60; top: calc(100% + 10px); right: 0; width: 270px; padding: 8px;
  border-radius: 20px; background: var(--surface); color: var(--ink);
  box-shadow: 0 0 0 1px var(--line), 0 30px 60px -20px rgba(11, 59, 102, .35);
  transform-origin: top right; animation: menu-in .2s var(--ease);
}
.account-menu__head { display: flex; align-items: center; gap: 12px; margin-bottom: 6px; padding: 12px; border-radius: 14px; background: linear-gradient(135deg, #2DA1FF, #1E7FE0); color: #fff; }
.account-menu__avatar { display: grid; place-items: center; flex: 0 0 42px; width: 42px; height: 42px; overflow: hidden; border-radius: 50%; background: rgba(255, 255, 255, .25); box-shadow: 0 0 0 2px rgba(255, 255, 255, .7); }
.account-menu__avatar img { width: 100%; height: 100%; object-fit: cover; }
.account-menu__avatar svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.account-menu__who { display: grid; gap: 3px; min-width: 0; }
.account-menu__who b { overflow: hidden; font: 700 15px/1.2 var(--body); text-overflow: ellipsis; white-space: nowrap; }
.account-menu__who span { overflow: hidden; font-size: 12px; opacity: .9; text-overflow: ellipsis; white-space: nowrap; }
.account-menu__item { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 12px; color: var(--ink); font: 500 15px/1.2 var(--body); text-decoration: none; }
.account-menu__item:hover, .account-menu__item:focus-visible { background: var(--tint); outline: none; }
.account-menu__item svg { flex: 0 0 20px; width: 20px; height: 20px; fill: none; stroke: var(--link); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.account-menu__item--admin { font-weight: 700; }
.account-menu__line { height: 1px; margin: 6px 8px; background: var(--line); }
@keyframes menu-in { from { opacity: 0; transform: translateY(-6px) scale(.97); } }

/* ---------- Cerul din aplicație, în capul paginilor (sky.js) ---------- */

.sky-hero { position: relative; isolation: isolate; margin-top: -68px; padding-top: 68px; background: var(--sky); overflow: hidden; }
.sky-hero__sky { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
/* Stelele se sting spre partea de jos a cerului, ca să nu se termine brusc */
.sky-hero__sky .stars { display: block; width: 100%; height: 100%; -webkit-mask-image: linear-gradient(180deg, #000 45%, transparent 96%); mask-image: linear-gradient(180deg, #000 45%, transparent 96%); }
.sky-hero__sky .clouds { display: none; position: absolute; inset: -30px; transition: transform 1.4s cubic-bezier(.2, .7, .3, 1); }
:root[data-theme="light"] .sky-hero__sky .stars { display: none; }
:root[data-theme="light"] .sky-hero__sky .clouds { display: block; }
.cloud {
  position: absolute; left: 0; top: var(--y);
  width: calc(var(--s) * clamp(110px, 15vw, 230px)); aspect-ratio: 2 / 1;
  fill: #fff; opacity: var(--o);
  animation: cloud var(--d) linear infinite; animation-delay: calc(var(--d) * var(--off) * -1);
}
@keyframes cloud { from { transform: translateX(-110%); } to { transform: translateX(calc(100vw + 60px)); } }
/* Fiecare nor: înălțimea, mărimea, cât îi ia să treacă, de unde pornește și cât e de alb (ca în aplicație) */
.cloud:nth-child(1) { --y: 6%; --s: 1; --d: 160s; --off: .15; --o: .8; }
.cloud:nth-child(2) { --y: 18%; --s: .65; --d: 220s; --off: .55; --o: .65; }
.cloud:nth-child(3) { --y: 32%; --s: .85; --d: 185s; --off: .85; --o: .7; }
.cloud:nth-child(4) { --y: 45%; --s: .55; --d: 250s; --off: .35; --o: .55; }
.cloud:nth-child(5) { --y: 56%; --s: .7; --d: 200s; --off: .7; --o: .5; }

/* ---------- Prima pagină ---------- */

.hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: center; gap: clamp(32px, 5vw, 72px); padding-block: clamp(40px, 7vw, 88px) clamp(56px, 8vw, 104px); }
.hero__copy .lead { color: var(--ink); opacity: .82; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
/* Pe cerul albastru, butonul principal e alb; noaptea rămâne albastru */
.sky-hero .btn--primary { background: #fff; color: var(--ink); box-shadow: 0 16px 34px -18px rgba(6, 40, 80, .7); }
.sky-hero .btn--primary:hover { background: #F2F8FF; }
:root[data-theme="dark"] .sky-hero .btn--primary { background: var(--blue); color: #fff; }
.sky-hero .btn--secondary { background: rgba(255, 255, 255, .35); color: var(--ink); box-shadow: inset 0 0 0 1px rgba(11, 18, 32, .16); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
:root[data-theme="dark"] .sky-hero .btn--secondary { background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18); }
.trust { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 28px 0 0; padding: 0; list-style: none; font-weight: 600; font-size: 15px; }
.trust li { display: inline-flex; align-items: center; gap: 8px; }
.trust svg { flex: 0 0 18px; width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; color: var(--success); }
.sky-hero .trust svg { color: inherit; }
.price-hint { margin: 14px 0 0; font-size: 15px; color: var(--ink); opacity: .75; }

.hero__visual { position: relative; display: grid; place-items: center; }
/* Cartonașele care plutesc lângă telefon: ce face Zent singur */
.float-card {
  position: absolute; display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 12px;
  border-radius: 18px; background: var(--surface); color: var(--ink); box-shadow: var(--lift-shadow);
  font-size: 14px; line-height: 1.3; animation: float 7s ease-in-out infinite;
}
.float-card b { display: block; font-size: 15px; }
.float-card span { color: var(--ink-soft); }
.float-card i { display: grid; place-items: center; flex: 0 0 40px; height: 40px; border-radius: 12px; background: var(--tint); color: var(--link); font-style: normal; }
.float-card i svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.float-card--a { left: max(0px, calc(50% - 300px)); top: 40%; }
.float-card--b { right: max(0px, calc(50% - 300px)); bottom: 9%; animation-delay: -3.5s; }
@keyframes float { 50% { transform: translateY(-10px); } }

/* Trei motive */
.benefits { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.benefit { padding: 30px; border-radius: 24px; background: var(--surface); box-shadow: var(--card-shadow); }
.benefit__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--tint); color: var(--link); }
.benefit__icon svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.benefit h3 { margin: 22px 0 8px; font-size: 22px; line-height: 1.2; }
.benefit p { margin: 0; font-size: 16.5px; color: var(--ink-soft); }

/* Pașii */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 0; padding: 0; list-style: none; counter-reset: step; }
.steps li { position: relative; padding: 28px 28px 30px; border-radius: 24px; background: var(--surface); box-shadow: var(--card-shadow); counter-increment: step; }
.steps li::before {
  content: counter(step); display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 18px;
  border-radius: 50%; background: var(--blue); color: #fff; font: 800 18px/1 var(--display);
}
.steps h3 { margin: 0 0 8px; font-size: 21px; line-height: 1.25; }
.steps p { margin: 0; color: var(--ink-soft); font-size: 16.5px; }

.ticks { display: grid; gap: 10px; margin: 22px 0 0; padding: 0; list-style: none; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; font-size: 16.5px; }
.ticks svg { flex: 0 0 20px; width: 20px; height: 20px; margin-top: 3px; fill: none; stroke: var(--success); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

/* Produsele pe prima pagină */
.offer { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.offer__card { display: grid; grid-template-rows: auto 1fr; overflow: hidden; border-radius: 28px; background: var(--surface); box-shadow: var(--card-shadow); color: inherit; text-decoration: none; transition: transform .3s var(--ease), box-shadow .3s; }
.offer__card:hover { transform: translateY(-3px); box-shadow: var(--lift-shadow); }
.offer__media { display: grid; place-items: center; aspect-ratio: 16 / 10; background: var(--media-blind); }
.offer__card--light .offer__media { background: var(--media-light); }
.offer__media img { width: 52%; height: auto; }
.offer__body { display: flex; flex-direction: column; gap: 6px; padding: 26px 28px 28px; }
.offer__body h3 { margin: 0; font-size: 26px; line-height: 1.15; }
.offer__body p { margin: 0; color: var(--ink-soft); }
.offer__foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: auto; padding-top: 18px; }

/* Întrebări */
.faq { max-width: 820px; margin-inline: auto; display: grid; gap: 12px; }
.faq details { border-radius: 20px; background: var(--surface); box-shadow: var(--card-shadow); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 24px; cursor: pointer; list-style: none; font: 700 18px/1.35 var(--display); letter-spacing: -.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: 0 0 22px; height: 22px; border-radius: 50%; background: var(--tint)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232DA1FF' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M12 7v10M7 12h10'/%3E%3C/svg%3E") center/14px no-repeat;
  transition: transform .25s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0; padding: 0 24px 22px; max-width: 46em; font-size: 16.5px; color: var(--ink-soft); }

/* Îndemnul de la final */
.cta { position: relative; overflow: hidden; padding: clamp(40px, 6vw, 72px); border-radius: 36px; text-align: center; color: #fff; background: linear-gradient(140deg, #2DA1FF 0%, #1E7FE0 55%, #145FB0 100%); }
.cta::after {
  content: ""; position: absolute; right: -40px; bottom: -70px; width: 200px; height: 350px; opacity: .12; transform: rotate(-8deg);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 46 80' fill='white'%3E%3Cpath d='M0 0 46 18.7V38.6H0Z'/%3E%3Cpath d='M0 41.9H46V80L0 61.1Z'/%3E%3C/svg%3E") center/contain no-repeat;
}
.cta .display { color: #fff; }
.cta p { max-width: 32em; margin: 16px auto 0; font-size: 18px; color: rgba(255, 255, 255, .9); }
.cta__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 30px; }
.cta .btn--primary { background: #fff; color: #0B1220; box-shadow: 0 16px 34px -18px rgba(6, 40, 80, .7); }
.cta .btn--secondary { background: rgba(255, 255, 255, .14); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .45); }

/* ---------- Magazinul ---------- */

.shop-hero { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 24px 48px; padding-block: clamp(28px, 5vw, 64px) clamp(120px, 14vw, 170px); }
.shop-hero .display { font-size: clamp(2.8rem, 6.4vw, 5rem); }
.shop-hero .lead { color: var(--ink); opacity: .82; }
.shop-hero .label { color: var(--ink); opacity: .75; }
.s-products { margin-top: clamp(-130px, -11vw, -90px); padding-bottom: clamp(56px, 8vw, 96px); position: relative; }
.products { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 24px; }
.shop-status { padding: 60px 0; text-align: center; color: var(--ink-soft); font-size: 17px; }
.products > .shop-status { grid-column: 1 / -1; border-radius: 28px; background: var(--surface); box-shadow: var(--card-shadow); }

.pcard { position: relative; display: flex; flex-direction: column; overflow: hidden; border-radius: 28px; background: var(--surface); box-shadow: var(--card-shadow); transition: box-shadow .3s, transform .3s var(--ease); }
.pcard:hover { box-shadow: var(--lift-shadow); transform: translateY(-3px); }
.pcard__media { position: relative; display: grid; place-items: center; aspect-ratio: 16 / 11; background: var(--media-blind); }
.product--light .pcard__media, .product--light.pp__stage, .product--light.line__media, .product--light.mini-media { background: var(--media-light); }
.product--other .pcard__media, .product--other.pp__stage, .product--other.line__media, .product--other.mini-media { background: var(--media-other); }
.pcard__float { display: block; width: 58%; transition: transform .5s var(--ease); }
.pcard:hover .pcard__float { transform: translateY(-6px) scale(1.02); }
.pcard__float svg, .pcard__float img { display: block; width: 100%; height: auto; }
.pcard__float img { aspect-ratio: 1; object-fit: cover; border-radius: 20px; }
.pcard__glare { display: none; }
.pcard__badge { position: absolute; top: 18px; left: 18px; padding: 8px 12px; border-radius: 999px; background: var(--danger); color: #fff; font: 700 14px/1 var(--body); }
.pcard__heart, .pp__heart {
  display: grid; place-items: center; width: 46px; height: 46px; padding: 0; border: 0; border-radius: 50%;
  background: var(--surface); color: var(--ink); cursor: pointer; box-shadow: var(--card-shadow);
  transition: transform .25s var(--ease), color .2s;
}
.pcard__heart { position: absolute; top: 16px; right: 16px; z-index: 2; }
.pcard__heart svg, .pp__heart svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.pcard__heart:hover, .pp__heart:hover { transform: scale(1.08); }
.pcard__heart.is-on, .pp__heart.is-on { color: #FF4B6E; }
.pcard__heart.is-on svg, .pp__heart.is-on svg { fill: currentColor; }
.is-pop { animation: pop .45s var(--ease); }
@keyframes pop { 40% { transform: scale(1.3); } }
.pcard__body { display: flex; flex-direction: column; flex: 1; padding: 24px 26px 26px; }
.pcard__kind { margin: 0 0 6px; color: var(--link); font: 700 14px/1.2 var(--body); }
.pcard__name { margin: 0; font-size: 28px; line-height: 1.15; }
.pcard__name a { color: inherit; text-decoration: none; }
.pcard__name a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.pcard .rating-line { position: relative; z-index: 2; margin-top: 8px; }
.pcard__tagline { margin: 10px 0 0; font-size: 16.5px; color: var(--ink-soft); }
.pcard__foot { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: auto; padding-top: 22px; }
.pcard .stock { position: relative; z-index: 2; }

/* Prețul și stelele */
.price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; }
.price__now { font: 800 26px/1 var(--display); letter-spacing: -.02em; }
.price__old { color: var(--muted); font-size: 15px; }
.price__off { padding: 4px 8px; border-radius: 999px; background: var(--success-soft); color: var(--success); font: 700 13px/1 var(--body); }
.price__soon { color: var(--ink-soft); font-weight: 600; }
.price--big .price__now { font-size: 44px; }
.price--big .price__old { font-size: 18px; }
.stars { display: inline-flex; gap: 2px; }
.star { width: 17px; height: 17px; stroke-width: 1.5; stroke-linejoin: round; }
.star--full { fill: var(--star); stroke: var(--star); }
.star--half { fill: #FFE2A0; stroke: var(--star); }
.star--empty { fill: none; stroke: var(--star-empty); }
.rating-line { display: inline-flex; align-items: center; gap: 8px; color: var(--ink-soft); font-size: 14px; text-decoration: none; }
a.rating-line:hover span { text-decoration: underline; }
.rating-line--empty { color: var(--link); }

/* Stocul */
.stock { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; font: 600 14px/1.2 var(--body); color: var(--success); }
.stock i { position: relative; flex: 0 0 8px; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.stock--last { color: var(--warn); }
.stock--last i::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; background: currentColor; opacity: .35; animation: stock-pulse 1.6s ease-out infinite; }
.stock--out { color: var(--danger); }
@keyframes stock-pulse { from { transform: scale(.6); opacity: .5; } to { transform: scale(1.8); opacity: 0; } }

/* De ce Zent, pe scurt */
.why { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.why__item h3 { margin: 16px 0 6px; font-size: 19px; line-height: 1.25; }
.why__item p { margin: 0; color: var(--ink-soft); font-size: 15.5px; }

/* Livrare și plată */
.s-delivery__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 16px; }
.dtile { padding: 26px; border-radius: 24px; background: var(--surface); box-shadow: var(--card-shadow); }
.dtile__icon, .why__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 15px; background: var(--tint); color: var(--link); }
.dtile__icon svg, .why__icon svg, .pp__perks svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.dtile h3 { margin: 18px 0 6px; font-size: 19px; line-height: 1.25; }
.dtile p { margin: 0; color: var(--ink-soft); font-size: 15.5px; }

/* Pagina produsului */
.pp { padding-block: 24px clamp(64px, 9vw, 104px); }
.pp__back { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 20px; color: var(--ink-soft); font-weight: 600; text-decoration: none; }
.pp__back:hover { color: var(--ink); }
.pp__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 32px clamp(32px, 5vw, 64px); align-items: start; }
.pp__gallery { position: sticky; top: 92px; }
.pp__stage { position: relative; aspect-ratio: 1; overflow: hidden; border-radius: 32px; background: var(--media-blind); cursor: grab; }
.pp__stage:active { cursor: grabbing; }
.pp__stage--photo { cursor: default; }
.pp__stage--photo img { width: 100%; height: 100%; object-fit: cover; }
.scene__fallback { position: absolute; inset: 0; display: grid; place-items: center; }
.pp__stage .scene__fallback svg { width: 64%; }
.scene canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.pp__hint { margin: 12px 0 0; text-align: center; color: var(--muted); font-size: 14px; }
.pp__thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; padding-bottom: 4px; }
.thumb { flex: 0 0 76px; height: 76px; padding: 0; overflow: hidden; border: 0; border-radius: 16px; background: var(--surface); cursor: pointer; opacity: .6; transition: opacity .2s, box-shadow .2s; }
.thumb img, .thumb svg { width: 100%; height: 100%; object-fit: cover; }
.thumb.is-active, .thumb:hover { opacity: 1; box-shadow: inset 0 0 0 2px var(--blue); }
.pp__info .label { margin-bottom: 8px; }
.pp__name { font-size: clamp(2.2rem, 4.4vw, 3.4rem); }
.pp__info [data-rating-top] { margin-top: 12px; }
.pp__tagline { margin: 14px 0 0; font-size: 19px; line-height: 1.5; color: var(--ink-soft); }
.pp__buy { margin-top: 26px; padding: 26px; border-radius: 26px; background: var(--surface); box-shadow: var(--card-shadow); }
.pp__save { margin: 10px 0 0; color: var(--success); font-weight: 700; }
.pp__vat { margin: 4px 0 0; color: var(--muted); font-size: 14px; }
.pp__buy .stock { margin-top: 14px; }
.pp__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 20px; }
.pp__add { flex: 1; min-width: 200px; height: 56px; font-size: 17px; }
.pp__add.is-done { background: var(--success); }
.pp__perks { display: grid; gap: 14px; margin: 22px 0 0; padding: 0; list-style: none; }
.pp__perks li { display: flex; gap: 14px; align-items: flex-start; color: var(--ink-soft); font-size: 15.5px; }
.pp__perks svg { flex: 0 0 24px; color: var(--link); }
.pp__perks b { display: block; color: var(--ink); }
.pp__description { margin-top: 30px; padding-top: 26px; border-top: 1px solid var(--line); }
.pp__description p { margin: 0 0 16px; font-size: 17px; line-height: 1.7; }
.pp__specs { margin-top: 24px; }
.pp__specs h2 { margin: 0 0 8px; font-size: 24px; }
.pp__specs dl { margin: 0; }
.pp__specs dl > div { display: grid; grid-template-columns: minmax(110px, 34%) 1fr; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.pp__specs dt { color: var(--ink-soft); font-size: 15px; font-weight: 600; }
.pp__specs dd { margin: 0; font-size: 15px; }

.stepper { display: inline-flex; align-items: center; height: 48px; border-radius: 999px; background: var(--tint); }
.stepper button { display: grid; place-items: center; width: 44px; height: 48px; padding: 0; border: 0; border-radius: 999px; background: none; color: var(--ink); cursor: pointer; }
.stepper button:disabled { opacity: .35; cursor: default; }
.stepper svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
.stepper__value { min-width: 28px; text-align: center; font-weight: 700; font-variant-numeric: tabular-nums; }

/* Recenziile */
.reviews { margin-top: clamp(64px, 9vw, 104px); }
.reviews .s-head { margin-bottom: 28px; }
.reviews__wrap { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 32px; align-items: start; }
.reviews__summary { position: sticky; top: 92px; padding: 28px; border-radius: 24px; background: var(--surface); box-shadow: var(--card-shadow); }
.reviews__avg { margin: 0; font: 800 64px/1 var(--display); letter-spacing: -.03em; }
.reviews__summary .star { width: 22px; height: 22px; }
.reviews__count { margin: 8px 0 20px; color: var(--ink-soft); }
.reviews__bars { display: grid; gap: 8px; }
.bar { display: grid; grid-template-columns: 34px 1fr 24px; gap: 10px; align-items: center; font-size: 13px; color: var(--ink-soft); }
.bar i { height: 8px; border-radius: 4px; background: var(--tint); overflow: hidden; }
.bar b { display: block; height: 100%; border-radius: 4px; background: var(--star); transition: width .8s var(--ease); }
.reviews__main { display: grid; gap: 14px; }
.reviews__empty { margin: 0; color: var(--ink-soft); }
.review-login, .review-form { padding: 24px; border-radius: 22px; background: var(--tint); }
.review-login p { margin: 0 0 14px; font-weight: 600; }
.review-form h3 { margin: 0 0 12px; font-size: 21px; }
.review-form__actions { display: flex; gap: 10px; }
.star-picker { display: flex; gap: 4px; margin-bottom: 14px; }
.star-picker button { padding: 2px; border: 0; background: none; cursor: pointer; }
.star-picker svg { width: 34px; height: 34px; fill: none; stroke: var(--star-empty); stroke-width: 1.4; stroke-linejoin: round; transition: transform .2s, fill .2s, stroke .2s; }
.star-picker button.is-on svg { fill: var(--star); stroke: var(--star); }
.star-picker button:hover svg { transform: scale(1.15); }
.review { padding: 22px; border-radius: 22px; background: var(--surface); box-shadow: var(--card-shadow); }
.review--own { box-shadow: inset 0 0 0 2px var(--blue); }
.review__head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.review__head b { display: block; }
.review__avatar { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--blue-soft); color: var(--link); font-weight: 800; }
.review__date { color: var(--muted); font-size: 13px; }
.review__verified { display: inline-flex; align-items: center; gap: 5px; margin-left: auto; padding: 6px 10px; border-radius: 999px; background: var(--success-soft); color: var(--success); font-size: 12px; font-weight: 700; }
.review__verified svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.4; }
.review__title { margin: 12px 0 4px; font-size: 17px; }
.review__body { margin: 8px 0 0; color: var(--ink-soft); white-space: pre-line; }
.review__own { display: flex; gap: 16px; margin-top: 14px; }

/* Sertarul coșului */
.drawer { position: fixed; inset: 0; z-index: 90; pointer-events: none; }
.drawer.is-open { pointer-events: auto; }
.drawer__backdrop { position: absolute; inset: 0; background: rgba(6, 13, 26, .45); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); opacity: 0; transition: opacity .35s; }
.drawer.is-open .drawer__backdrop { opacity: 1; }
.drawer__panel { position: absolute; top: 0; right: 0; bottom: 0; display: flex; flex-direction: column; width: min(440px, 100%); background: var(--bg); color: var(--ink); box-shadow: -30px 0 80px -30px rgba(6, 13, 26, .5); transform: translateX(105%); transition: transform .45s var(--ease); }
.drawer.is-open .drawer__panel { transform: none; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 20px 24px; border-bottom: 1px solid var(--line); }
.drawer__head h2 { margin: 0; font-size: 24px; }
.drawer__count { color: var(--muted); }
.drawer__close { display: grid; place-items: center; width: 42px; height: 42px; padding: 0; border: 0; border-radius: 50%; background: var(--surface-2); color: var(--ink); cursor: pointer; }
.drawer__close svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.drawer__list { flex: 1; overflow-y: auto; padding: 8px 24px; }
.drawer__empty { display: grid; justify-items: center; gap: 12px; padding: 60px 0; color: var(--ink-soft); }
.drawer__empty-icon { width: 54px; height: 54px; fill: none; stroke: var(--muted); stroke-width: 1.4; }
.drawer__foot { padding: 18px 24px 24px; border-top: 1px solid var(--line); background: var(--surface); }
.drawer__note { margin: 10px 0 16px; color: var(--muted); font-size: 14px; }
.drawer__checkout { width: 100%; }
.drawer__checkout[disabled] { opacity: .55; cursor: not-allowed; }
.line { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.line__media, .mini-media { flex: 0 0 84px; height: 84px; display: grid; place-items: center; overflow: hidden; border-radius: 18px; background: var(--media-blind); }
.line__media svg, .mini-media svg { width: 78%; height: 78%; }
.line__media img, .mini-media img { width: 100%; height: 100%; object-fit: cover; }
.line__info { flex: 1; min-width: 0; display: grid; gap: 6px; }
.line__name { color: var(--ink); font-weight: 700; text-decoration: none; }
.line .price__now { font-size: 19px; }
.line__row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.line .stepper { height: 38px; }
.line .stepper button { width: 36px; height: 38px; }
.line__remove { padding: 0; border: 0; background: none; color: var(--muted); font-size: 14px; cursor: pointer; text-decoration: underline; }
.line__warn { margin: 4px 0 6px; color: var(--danger); font-size: 13px; font-weight: 600; }
.sum-row { display: flex; justify-content: space-between; gap: 12px; padding: 5px 0; color: var(--ink-soft); }
.sum-row--save { color: var(--success); font-weight: 600; }
.sum-row--total { margin-top: 6px; padding-top: 12px; border-top: 1px solid var(--line); color: var(--ink); font-weight: 800; font-size: 18px; }
.sum-row--vat { padding-top: 0; font-size: 13px; color: var(--muted); }

/* Notificări mici */
.toast { position: fixed; left: 50%; bottom: 28px; z-index: 100; padding: 14px 20px; border-radius: 999px; background: var(--ink); color: var(--bg); font-weight: 600; box-shadow: 0 20px 40px -18px rgba(6, 13, 26, .6); transform: translate(-50%, 30px); opacity: 0; pointer-events: none; transition: transform .35s var(--ease), opacity .35s; }
.toast.is-on { transform: translate(-50%, 0); opacity: 1; }

/* Formulare */
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 16px; }
.field > span { color: var(--ink-soft); font-size: 14px; font-weight: 600; }
.field small { color: var(--muted); font-size: 13px; }
.field input, .field textarea, .field select { width: 100%; padding: 14px 15px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); color: var(--ink); font: 400 16px/1.4 var(--body); transition: border-color .2s, box-shadow .2s; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(45, 161, 255, .18); }
.field.is-invalid input, .field.is-invalid select { border-color: var(--danger); }
.fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 0 14px; }
.check { display: flex; align-items: flex-start; gap: 10px; margin: 6px 0 16px; font-weight: 500; line-height: 1.45; cursor: pointer; }
.check input { flex: 0 0 20px; width: 20px; height: 20px; margin-top: 1px; accent-color: var(--blue); }
.message { margin: 0 0 14px; padding: 12px 14px; border-radius: 14px; font-weight: 600; }
.message--error { background: var(--danger-soft); color: var(--danger); }
.message--ok { background: var(--success-soft); color: var(--success); }

/* ---------- Coșul, comanda, contul ---------- */

.page-wrap { width: min(1160px, 100% - 2 * var(--gutter)); margin-inline: auto; padding-block: clamp(28px, 5vw, 56px) clamp(64px, 9vw, 104px); }
.page-head { margin-bottom: 30px; }
.page-head .display { font-size: clamp(2.2rem, 5vw, 3.4rem); }
.steps-line { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 0; padding: 0; list-style: none; counter-reset: step; }
.steps-line li { counter-increment: step; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px 8px 8px; border-radius: 999px; background: var(--surface); color: var(--muted); font-weight: 600; font-size: 14px; box-shadow: inset 0 0 0 1px var(--line); }
.steps-line li::before { content: counter(step); display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--tint); color: var(--ink-soft); font-size: 12px; }
.steps-line li.is-done::before { content: "✓"; background: var(--success); color: #fff; }
.steps-line li.is-on { color: var(--ink); box-shadow: inset 0 0 0 2px var(--blue); }
.steps-line li.is-on::before { background: var(--blue); color: #fff; }

.checkout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 400px); gap: 28px; align-items: start; }
.ck-form { display: grid; gap: 18px; }
.ck-card, .ck-summary, .acct-card, .empty-box { border-radius: 26px; background: var(--surface); box-shadow: var(--card-shadow); }
.ck-card { padding: 28px; }
.ck-card h2 { display: flex; align-items: center; gap: 12px; margin: 0 0 20px; font-size: 24px; }
.ck-num { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--blue); color: #fff; font: 700 15px/1 var(--body); }
.ck-link { display: inline-block; margin-top: -6px; font-weight: 600; }
.opts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 12px; margin-bottom: 18px; }
.opt { position: relative; display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: 18px; background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line); cursor: pointer; transition: box-shadow .2s, background-color .2s; }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt:has(input:checked) { background: var(--tint); box-shadow: inset 0 0 0 2px var(--blue); }
.opt:has(input:focus-visible) { outline: 3px solid var(--blue); outline-offset: 2px; }
.opt__icon { display: grid; place-items: center; flex: 0 0 46px; height: 46px; border-radius: 14px; background: var(--surface); color: var(--link); box-shadow: var(--card-shadow); }
.opt__icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.opt__text { flex: 1; display: grid; gap: 3px; }
.opt__text span { color: var(--ink-soft); font-size: 14px; line-height: 1.4; }
.opt__price { font: 800 19px/1 var(--display); }
.segmented { display: inline-flex; gap: 4px; margin-bottom: 16px; padding: 4px; border-radius: 999px; background: var(--tint); }
.segmented label { cursor: pointer; }
.segmented input { position: absolute; opacity: 0; }
.segmented span { display: block; padding: 10px 16px; border-radius: 999px; font-weight: 600; font-size: 14px; color: var(--ink-soft); }
.segmented input:checked + span { background: var(--surface); color: var(--ink); box-shadow: 0 4px 12px -6px rgba(11, 59, 102, .4); }

.ck-summary { position: sticky; top: 92px; padding: 28px; }
.ck-summary h2 { margin: 0 0 18px; font-size: 24px; }
.ck-lines { display: grid; gap: 12px; margin-bottom: 16px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.ck-line { display: grid; grid-template-columns: 60px 1fr auto; gap: 12px; align-items: center; }
.ck-line .mini-media { position: relative; flex: none; width: 60px; height: 60px; border-radius: 16px; overflow: visible; }
.ck-line .mini-media > svg, .ck-line .mini-media > img { border-radius: 16px; }
.ck-line__qty { position: absolute; top: -6px; right: -6px; display: grid; place-items: center; min-width: 22px; height: 22px; padding: 0 5px; border-radius: 999px; background: var(--ink); color: var(--bg); font-size: 12px; }
.ck-line__name { font-weight: 600; line-height: 1.3; }
.ck-line__name small { color: var(--success); font-weight: 700; }
.ck-line__price { font-weight: 700; white-space: nowrap; }
.ck-summary .check { margin-top: 16px; font-size: 14px; }
.ck-submit { width: 100%; height: 56px; margin-top: 8px; font-size: 17px; }
.ck-secure { display: flex; gap: 10px; align-items: flex-start; margin: 14px 0 0; color: var(--muted); font-size: 13px; line-height: 1.45; }
.ck-secure svg { flex: 0 0 18px; width: 18px; height: 18px; fill: none; stroke: var(--success); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ck-summary .message { margin-top: 14px; }

.empty-box { display: grid; justify-items: center; gap: 10px; padding: 64px 24px; text-align: center; }
.empty-box h2 { margin: 6px 0 0; font-size: 28px; }
.empty-box p { margin: 0 0 8px; color: var(--ink-soft); }
.empty-box__icon { width: 56px; height: 56px; fill: none; stroke: var(--muted); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }

.order-head { display: grid; gap: 4px; justify-items: start; }
.order-head .label { margin: 0; }
.order-thanks { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; padding: 14px 20px 14px 14px; border-radius: 999px; background: var(--success-soft); color: var(--success); font-weight: 700; animation: pop .6s var(--ease); }
.order-thanks p { margin: 0; }
.order-thanks__check { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--success); color: #fff; }
.order-thanks__check svg, .pay-ok svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.status { display: inline-block; margin-top: 10px; padding: 7px 12px; border-radius: 999px; background: var(--tint); color: var(--link); font: 700 13px/1 var(--body); }
.status--pending_payment { background: var(--warn-soft); color: var(--warn); }
.status--paid, .status--delivered { background: var(--success-soft); color: var(--success); }
.status--shipped { background: var(--violet-soft); color: var(--violet); }
.status--cancelled { background: var(--danger-soft); color: var(--danger); }
.progress-line { display: grid; grid-template-columns: repeat(5, 1fr); margin: 0 0 28px; padding: 0; list-style: none; }
.progress-line li { position: relative; display: grid; justify-items: center; gap: 8px; color: var(--muted); font-size: 13px; font-weight: 600; text-align: center; }
.progress-line li::before { content: ""; position: absolute; top: 11px; left: -50%; right: 50%; height: 3px; background: var(--line); }
.progress-line li:first-child::before { display: none; }
.progress-line li.is-done::before, .progress-line li.is-on::before { background: var(--blue); }
.progress-line i { position: relative; z-index: 1; width: 24px; height: 24px; border-radius: 50%; background: var(--surface); box-shadow: inset 0 0 0 3px var(--line); }
.progress-line li.is-done i { background: var(--blue); box-shadow: none; }
.progress-line li.is-on i { box-shadow: inset 0 0 0 3px var(--blue), 0 0 0 6px rgba(45, 161, 255, .18); }
.progress-line li.is-done, .progress-line li.is-on { color: var(--ink); }
.addr { margin: 10px 0; line-height: 1.6; }
.bank { display: grid; gap: 10px; margin: 16px 0 0; padding: 18px; border-radius: 18px; background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line); }
.bank > div { display: grid; grid-template-columns: 120px 1fr; gap: 12px; }
.bank dt { color: var(--ink-soft); font-size: 14px; }
.bank dd { margin: 0; font-weight: 700; word-break: break-all; }
.pay-ok { display: flex; align-items: center; gap: 10px; color: var(--success); font-weight: 700; }

/* Contul meu: gradientul din aplicație sus, apoi cardurile */
body.acct-page { background: linear-gradient(180deg, #2DA1FF 0, #6AC2FF 260px, #C2ECFF 520px, var(--bg) 760px) no-repeat, var(--bg); }
:root[data-theme="dark"] body.acct-page { background: linear-gradient(180deg, #0E4A80 0, #103A63 260px, #0E1D2E 520px, var(--bg) 760px) no-repeat, var(--bg); }
.acct { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; margin-bottom: 30px; }
.acct__avatar { display: grid; place-items: center; width: 96px; height: 96px; overflow: hidden; border-radius: 50%; background: rgba(255, 255, 255, .25); color: #fff; box-shadow: 0 0 0 4px rgba(255, 255, 255, .85), 0 20px 40px -20px rgba(11, 59, 102, .6); }
.acct__avatar img { width: 100%; height: 100%; object-fit: cover; }
.acct__avatar svg { width: 54px; height: 54px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; }
.acct__text { flex: 1; min-width: 220px; }
.acct__text .label { margin-bottom: 6px; color: inherit; opacity: .85; }
.acct__text .display { font-size: clamp(2.2rem, 4.6vw, 3.4rem); }
.acct__email { margin: 8px 0 0; opacity: .85; }
.acct__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.tabs { display: flex; gap: 6px; width: max-content; max-width: 100%; margin-bottom: 20px; padding: 6px; overflow-x: auto; scrollbar-width: none; border-radius: 999px; background: var(--nav-bg); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: var(--card-shadow); }
.tabs::-webkit-scrollbar { display: none; }
.tabs button { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 8px; height: 44px; padding: 0 18px; border: 0; border-radius: 999px; background: none; color: var(--ink-soft); font: 600 15px/1 var(--body); cursor: pointer; }
.tabs button[aria-selected="true"] { background: var(--blue); color: #fff; }
.tabs__n { display: grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: rgba(127, 160, 200, .22); font-size: 12px; }
.acct-body { min-height: 320px; }
.olist { display: grid; gap: 10px; }
.orow { display: grid; grid-template-columns: minmax(0, 1.3fr) auto minmax(0, .8fr) auto 20px; gap: 16px; align-items: center; padding: 18px 22px; border-radius: 20px; background: var(--surface); color: inherit; text-decoration: none; box-shadow: var(--card-shadow); transition: transform .25s var(--ease), box-shadow .25s; }
.orow:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1px var(--blue), var(--card-shadow); }
.orow > div { display: grid; gap: 4px; }
.orow .status { margin: 0; }
.orow__items { color: var(--ink-soft); font-size: 14px; }
.orow__total { font-size: 17px; }
.orow__go { color: var(--link); font-weight: 700; }
.wlist { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 14px; }
.wcard { display: flex; gap: 16px; padding: 16px; border-radius: 22px; background: var(--surface); box-shadow: var(--card-shadow); }
.wcard__info { display: grid; gap: 8px; align-content: start; }
.wcard__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.acct-settings { display: grid; gap: 18px; }
.acct-card { padding: 26px; }
.acct-card h2 { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 6px; font-size: 22px; }
.acct-card__lead { margin: 0 0 18px; color: var(--ink-soft); font-size: 14px; }
.acct-profile { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 28px; align-items: start; margin-top: 18px; }
.acct-profile__fields { display: grid; gap: 4px; }
.acct-profile__fields .btn { justify-self: start; }
.acct-photo { position: relative; padding: 0; border: 0; border-radius: 50%; background: none; cursor: pointer; }
.acct-photo .acct__avatar { width: 112px; height: 112px; box-shadow: 0 0 0 4px var(--surface), var(--card-shadow); }
.acct-photo .acct__avatar--empty { background: var(--blue-soft); color: var(--link); }
.acct-photo__edit { position: absolute; bottom: -6px; left: 50%; padding: 6px 11px; border-radius: 999px; background: var(--ink); color: var(--bg); font: 600 12px/1 var(--body); transform: translateX(-50%); }
.acct-photo:hover .acct-photo__edit { background: var(--blue); color: #fff; }
.saddr-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 12px; }
.saddr { display: grid; align-content: start; gap: 8px; padding: 18px; border-radius: 18px; background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line); }
.saddr--default { background: var(--surface); box-shadow: inset 0 0 0 2px var(--blue); }
.saddr__head { display: flex; align-items: center; gap: 10px; }
.saddr__badge { padding: 4px 8px; border-radius: 999px; background: var(--blue-soft); color: var(--link); font: 700 12px/1 var(--body); }
.saddr__lines { margin: 0; color: var(--ink-soft); font-size: 14px; line-height: 1.5; white-space: pre-line; }
.saddr__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.saddr-form { grid-column: 1 / -1; display: grid; gap: 4px; margin: 6px 0 16px; padding: 20px; border-radius: 18px; background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line); }
.saddr-form .segmented { margin-bottom: 12px; }
.saddr-form__actions { display: flex; gap: 10px; margin-top: 8px; }
.dlist { display: grid; gap: 12px; }
.dcard { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 16px 20px; border-radius: 22px; background: var(--surface); box-shadow: var(--card-shadow); }
.dcard__icon { display: grid; place-items: center; width: 64px; height: 64px; overflow: hidden; border-radius: 18px; background: var(--media-blind); }
.dcard--light .dcard__icon { background: var(--media-light); }
.dcard__icon svg { width: 100%; height: 100%; }
.dcard__info { display: grid; gap: 4px; min-width: 0; }
.dcard__name { font-size: 17px; }
.dcard__sub { display: flex; align-items: center; gap: 8px; color: var(--ink-soft); font-size: 14px; }
.dcard__sub .dot { flex: 0 0 8px; width: 8px; height: 8px; border-radius: 50%; background: #B7C2CF; }
.dcard__sub .dot--online { background: #2FBF71; box-shadow: 0 0 0 4px rgba(47, 191, 113, .18); }
.dcard__sub .dot--checking { background: #F5B300; }
.dcard__sub .dot--power_saving { background: #6AC2FF; }
.dcard__fw { color: var(--muted); font: 500 12px/1.3 var(--mono); }
.dcard__status { color: var(--link); font-size: 13px; font-weight: 600; }
.dcard__status.done { color: var(--success); }
.dcard__status.failed { color: var(--danger); }
.dcard__shared { color: var(--muted); font-size: 13px; }
.dlist__note { margin: 8px 4px 0; color: var(--ink-soft); font-size: 13px; line-height: 1.5; }

/* Comenzile de pe card și panoul unui dispozitiv (devices.js) */
.dcard__icon { padding: 0; border: 0; cursor: pointer; }
.dcard__name { padding: 0; border: 0; background: none; color: inherit; font: 700 17px/1.25 var(--body); text-align: left; cursor: pointer; }
.dcard__name:hover { color: var(--link); }
.dcard__state { color: var(--ink); font-size: 15px; font-weight: 600; }
.dcard__actions { display: grid; justify-items: end; gap: 10px; }
.dcard__more { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 8px; }
.dquick { display: flex; gap: 8px; }
.dbtn { display: grid; place-items: center; flex: 0 0 auto; width: 46px; height: 46px; padding: 0; border: 0; border-radius: 50%; background: var(--surface-2); color: var(--ink); cursor: pointer; box-shadow: inset 0 0 0 1px var(--line); transition: background-color .2s, color .2s, transform .2s var(--ease); }
.dbtn:hover { background: var(--blue); color: #fff; box-shadow: none; }
.dbtn:active { transform: scale(.94); }
.dbtn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.dbtn--small { width: 36px; height: 36px; }
.dbtn--small svg { width: 17px; height: 17px; stroke-width: 2; }
.dbtn--danger:hover { background: var(--danger); }

.dpanel { position: fixed; inset: 0; z-index: 92; pointer-events: none; }
.dpanel.is-open { pointer-events: auto; }
.dpanel__backdrop { position: absolute; inset: 0; background: rgba(6, 13, 26, .45); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); opacity: 0; transition: opacity .35s; }
.dpanel.is-open .dpanel__backdrop { opacity: 1; }
.dpanel__sheet { position: absolute; top: 0; right: 0; bottom: 0; width: min(560px, 100%); overflow-y: auto; overscroll-behavior: contain; background: var(--bg); color: var(--ink); box-shadow: -30px 0 80px -30px rgba(6, 13, 26, .5); transform: translateX(105%); transition: transform .45s var(--ease); }
.dpanel.is-open .dpanel__sheet { transform: none; }
.dpanel__body { display: grid; gap: 16px; padding: 0 22px 32px; }
.dpanel__head { position: sticky; top: 0; z-index: 3; display: flex; align-items: center; gap: 14px; margin: 0 -22px; padding: 14px 22px; background: var(--nav-bg); border-bottom: 1px solid var(--line); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.dpanel__head .dcard__icon { flex: 0 0 52px; width: 52px; height: 52px; }
.dpanel__head h2 { margin: 0; font-size: 22px; line-height: 1.2; }
.dpanel__head p { margin: 2px 0 0; color: var(--ink-soft); font-size: 14px; }
.dpanel__head .drawer__close { margin-left: auto; }
.dpanel__foot { padding: 4px 8px; text-align: center; }
.dcontrol { display: grid; justify-items: center; gap: 4px; padding: 26px 22px 22px; border-radius: 26px; background: var(--sky); text-align: center; }
.dvisual { width: 170px; container-type: inline-size; }
.dvisual .app__window { width: 100%; margin: 0; }
.dvisual--light { --l: 0; width: 190px; }
.dvisual--light .app__bulb { width: 100%; margin: 0; }
.dcontrol__state { margin: 14px 0 0; font: 800 26px/1.15 var(--display); letter-spacing: -.02em; }
.dcontrol__sub { margin: 0; color: var(--ink-soft); font-size: 14px; font-weight: 600; }
.dcontrol__buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 14px; }
.dcontrol__buttons .btn--line { background: var(--surface); }
.dcontrol .dnote { max-width: 30em; margin-top: 10px; }
.drange { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px; width: 100%; margin-top: 12px; color: var(--ink-soft); font-size: 14px; font-weight: 600; }
.drange input { width: 100%; accent-color: var(--blue); }
.drange__value { min-width: 5.5em; color: var(--ink); text-align: right; font-variant-numeric: tabular-nums; }
.dnote { margin: 0; color: var(--ink-soft); font-size: 14px; line-height: 1.5; }
.dset { padding: 22px; border-radius: 22px; background: var(--surface); box-shadow: var(--card-shadow); }
.dset h3 { margin: 0 0 12px; font-size: 19px; }
.dform { display: grid; gap: 10px; }
.dform .field { margin-bottom: 4px; }
.dform > .btn { justify-self: start; }
.dform__label { margin: 6px 0 0; color: var(--ink-soft); font-size: 14px; font-weight: 700; }
.dform__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.dform .segmented { flex-wrap: wrap; justify-self: start; margin: 0; border-radius: 20px; }
.dsched { display: grid; gap: 8px; margin-bottom: 12px; }
.dsched__row { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 16px; background: var(--surface-2); }
.dsched__row.is-off .dsched__text { opacity: .55; }
.dsched__text { flex: 1; min-width: 0; display: grid; gap: 2px; }
.dsched__text b { font-size: 15px; line-height: 1.35; }
.dsched__text span { color: var(--ink-soft); font-size: 13px; }
.dsched__form { margin-top: 4px; padding: 16px; border-radius: 18px; background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line); }
.dsched__form h4 { margin: 0; font-size: 17px; }
.dsched__form .segmented { background: var(--surface); }
.dsched__form .segmented input:checked + span { background: var(--blue); color: #fff; }
.ddays { display: flex; flex-wrap: wrap; gap: 6px; }
.ddays button { width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%; background: var(--surface); color: var(--ink-soft); font: 700 14px/1 var(--body); cursor: pointer; box-shadow: inset 0 0 0 1px var(--line); }
.ddays .is-on { background: var(--blue); color: #fff; box-shadow: none; }
.dswitch { position: relative; display: inline-block; flex: 0 0 46px; width: 46px; height: 28px; }
.dswitch input { position: absolute; inset: 0; z-index: 1; margin: 0; opacity: 0; cursor: pointer; }
.dswitch input:disabled { cursor: default; }
.dswitch i { position: absolute; inset: 0; border-radius: 999px; background: var(--line); transition: background-color .2s; }
.dswitch i::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, .2); transition: transform .2s var(--ease); }
.dswitch input:checked + i { background: var(--success); }
.dswitch input:checked + i::after { transform: translateX(18px); }
.dswitch input:focus-visible + i { outline: 3px solid var(--blue); outline-offset: 2px; }
.dtoggle { display: flex; align-items: center; justify-content: space-between; gap: 16px; cursor: pointer; }
.dtoggle > span:first-child { display: grid; gap: 4px; }
.dtoggle > span:first-child > span { color: var(--ink-soft); font-size: 14px; line-height: 1.5; }
.dmodes { margin: 12px 0 0; }
.dmodes .opt { padding: 14px; }
.dshares { display: grid; gap: 10px; margin: 12px 0; }
.dshares__row { display: flex; align-items: center; gap: 12px; }
.dshares__row > div { flex: 1; min-width: 0; display: grid; }
.dshares__row > div span { color: var(--ink-soft); font-size: 13px; }
.dshares__add { grid-template-columns: minmax(0, 1fr) auto; align-items: center; }
.dshares__add input { min-width: 0; padding: 11px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); color: var(--ink); font: 400 16px/1.3 var(--body); }
.acct-page .acct { color: #fff; }
:root[data-theme="light"] .acct-page .nav:not(.is-scrolled) { color: var(--ink); }

/* Apariția la derulare (doar cu JavaScript; fără el totul se vede) */
[data-reveal] { transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js [data-reveal]:not(.is-in) { opacity: 0; transform: translateY(24px); }

/* ---------- Butonul „Temă” ---------- */

.theme-pill {
  display: inline-flex; align-items: center; gap: 7px; flex: 0 0 auto;
  height: 40px; padding: 0 14px 0 11px; border: 0; border-radius: 999px; cursor: pointer;
  background: rgba(255, 255, 255, .55); color: inherit; box-shadow: inset 0 0 0 1.5px currentColor;
  font: 700 14px/1 var(--body); transition: background-color .2s, transform .2s var(--ease);
}
:root[data-theme="dark"] .theme-pill { background: rgba(255, 255, 255, .08); }
.theme-pill:hover { transform: translateY(-1px); background: var(--surface); }
.theme-pill svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.theme-pill .i-sun, :root[data-theme="dark"] .theme-pill .i-moon { display: none; }
:root[data-theme="dark"] .theme-pill .i-sun { display: block; }

/* ---------- iPhone 17 Pro, desenat în CSS (tot ce e în el se scalează cu lățimea, --w) ---------- */

.iphone {
  --w: 300px;
  position: relative; flex: none; width: var(--w); height: calc(var(--w) * 2.07);
  padding: calc(var(--w) * .03); border-radius: calc(var(--w) * .17);
  background: linear-gradient(140deg, #8a919c 0%, #3b4048 16%, #24282e 45%, #3b4048 78%, #8a919c 100%);
  box-shadow: inset 0 0 0 calc(var(--w) * .004) rgba(255, 255, 255, .45), inset 0 0 0 calc(var(--w) * .009) rgba(0, 0, 0, .35), var(--phone-shadow);
}
/* Butoanele: Action și volumul în stânga, cel lateral în dreapta */
.iphone::before, .iphone::after { content: ""; position: absolute; width: calc(var(--w) * .012); background: linear-gradient(90deg, #2b3036, #5b626c); }
.iphone::before { left: calc(var(--w) * -.009); top: calc(var(--w) * .38); height: calc(var(--w) * .07); border-radius: 3px 0 0 3px; box-shadow: 0 calc(var(--w) * .13) 0 0 #3b4048, 0 calc(var(--w) * .26) 0 0 #3b4048; }
.iphone::after { right: calc(var(--w) * -.009); top: calc(var(--w) * .56); height: calc(var(--w) * .2); border-radius: 0 3px 3px 0; }
.iphone__screen { position: relative; height: 100%; overflow: hidden; border-radius: calc(var(--w) * .14); background: var(--app-bg); box-shadow: 0 0 0 calc(var(--w) * .011) #000; container-type: inline-size; }
.iphone__island { position: absolute; z-index: 9; top: calc(var(--w) * .03); left: 50%; width: calc(var(--w) * .29); height: calc(var(--w) * .086); border-radius: 999px; background: #000; transform: translateX(-50%); }
.iphone--hero { --w: min(310px, 72vw); }

/* Culorile aplicației (theme.js din aplicație), după tema site-ului */
.iphone, .dvisual {
  --app-bg: #F3F8FD; --app-sky: linear-gradient(180deg, #6AC2FF 0%, #BFE5FF 30%, #F3F8FD 56%); --app-ink: #111;
  --app-soft: #4A5361; --app-muted: #8A94A3; --app-card: #fff; --app-tint: #E4F4FF; --app-cloud: rgba(255, 255, 255, .8);
  --app-frame: #8A8A7E; --app-pane: linear-gradient(180deg, #9ED8FF, #F4FBFF); --app-hill: #BFE6A8; --app-hill2: #9FD67F;
}
:root[data-theme="dark"] .iphone, :root[data-theme="dark"] .dvisual {
  --app-bg: #0B121B; --app-sky: linear-gradient(180deg, #0E4A80 0%, #103A63 30%, #0B121B 58%); --app-ink: #F2F5F9;
  --app-soft: #B8C2CF; --app-muted: #7F8B9B; --app-card: #17212E; --app-tint: #142638; --app-cloud: rgba(255, 255, 255, .1);
  --app-frame: #5C5C54; --app-pane: linear-gradient(180deg, #0F1F3D, #28406B); --app-hill: #2E5A3A; --app-hill2: #25492F;
}

/* ---------- Ecranele aplicației (în cqw: procente din lățimea ecranului) ---------- */

.app { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; padding: 13.5cqw 6cqw 6cqw; overflow: hidden; background: var(--app-sky); color: var(--app-ink); font-family: var(--body); transition: opacity .45s var(--ease), transform .45s var(--ease); }
.app p { margin: 0; text-wrap: initial; }
.story .app:not(.is-on) { opacity: 0; transform: scale(.96); }
.app__status { position: absolute; top: 0; left: 0; right: 0; z-index: 2; display: flex; justify-content: space-between; align-items: center; height: 12.4cqw; padding: 1.6cqw 8cqw 0 11cqw; font: 700 4.4cqw/1 var(--body); }
.app__icons { display: flex; gap: 1.3cqw; align-items: center; }
.app__icons svg { height: 3.4cqw; width: 5.2cqw; fill: currentColor; }
.app__icons svg:last-child { width: 7.4cqw; height: 3.6cqw; }
.app__cloud { position: absolute; width: 26cqw; height: 13cqw; fill: var(--app-cloud); }
.app__cloud--a { top: 15cqw; left: 6cqw; }
.app__cloud--b { top: 24cqw; right: -4cqw; width: 20cqw; height: 10cqw; }
.app__bar { position: relative; display: flex; justify-content: space-between; width: 100%; margin-bottom: 2.4cqw; }
.app__round { display: grid; place-items: center; width: 11cqw; height: 11cqw; border-radius: 50%; background: var(--app-card); box-shadow: 0 1.2cqw 3cqw rgba(11, 59, 102, .12); }
.app__round svg { width: 5.4cqw; height: 5.4cqw; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.app__title { position: relative; font: 900 8.6cqw/1.05 var(--display); letter-spacing: -.03em; text-align: center; }
.app__title--left { align-self: stretch; text-align: left; }
.app__sub { position: relative; display: flex; align-items: center; gap: 2.2cqw; margin-top: 2.4cqw !important; color: var(--app-soft); font: 600 3.8cqw/1 var(--body); }
.app__sub--left { align-self: flex-start; }
.app__online { display: inline-flex; align-items: center; gap: 1.2cqw; padding: 1.6cqw 2.8cqw; border-radius: 999px; background: var(--app-card); color: #2FBF71; font-weight: 700; }
.app__online::before { content: ""; width: 1.8cqw; height: 1.8cqw; border-radius: 50%; background: currentColor; }

/* Fereastra cu ruloul: pânza coboară după --p (0 = deschis, 1 = închis) */
.app__window { width: 62cqw; aspect-ratio: .68; margin-top: 4.5cqw; padding: 2.8cqw; border-radius: 4.6cqw; background: var(--app-frame); box-shadow: 0 3cqw 8cqw -3cqw rgba(11, 40, 80, .4); }
.app__pane { position: relative; height: 100%; overflow: hidden; border-radius: 2.4cqw; background: var(--app-pane); }
.app__hill { position: absolute; bottom: -9%; left: -22%; width: 88%; height: 30%; border-radius: 50%; background: var(--app-hill); }
.app__hill--front { left: auto; right: -28%; bottom: -13%; width: 100%; height: 34%; background: var(--app-hill2); }
.app__tube { position: absolute; top: 0; left: 0; right: 0; height: 9%; background: linear-gradient(180deg, #F7F9FB, #D3DBE3 55%, #9AA7B4); }
.app__fabric {
  position: absolute; top: 7%; left: 0; right: 0; height: calc(var(--p, 0) * 86%);
  background: repeating-linear-gradient(180deg, rgba(255, 255, 255, .15) 0 1px, transparent 1px 2.4cqw), linear-gradient(180deg, #5BBDFF, #38A6F2);
}
.app__fabric::after { content: ""; position: absolute; left: -2%; right: -2%; bottom: -1.2cqw; height: 1.8cqw; border-radius: 1cqw; background: #1E8FEA; }
.app__fabric i { position: absolute; left: 50%; bottom: -5.6cqw; width: 2.8cqw; height: 2.8cqw; border: .6cqw solid #1E8FEA; border-radius: 50%; transform: translateX(-50%); }
.app__fabric--closed { --p: 1; }
.app__state { margin-top: 5cqw !important; font: 900 6.2cqw/1 var(--display); letter-spacing: -.02em; }
.app__pct { margin-top: 1.6cqw !important; color: var(--app-muted); font-size: 3.8cqw; font-variant-numeric: tabular-nums; }
.app__controls { display: flex; justify-content: space-around; align-items: center; width: 56cqw; height: 15cqw; margin-top: 5cqw; border-radius: 999px; background: var(--app-card); box-shadow: 0 2cqw 6cqw -2cqw rgba(11, 59, 102, .3); }
.app__controls svg { width: 6.4cqw; height: 6.4cqw; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.app__hint { margin-top: 4cqw !important; color: var(--app-muted); font-size: 3.2cqw; text-align: center; }

/* Ecranul principal */
.app--home, .app--light { align-items: stretch; }
.app__hello { position: relative; margin-top: 2cqw !important; color: var(--app-soft); font: 600 4cqw/1.2 var(--body); }
.app--home .app__title { font-size: 9.4cqw; }
.app__chips { display: flex; gap: 2cqw; margin-top: 4cqw; }
.app__chips span { padding: 2.3cqw 3.6cqw; border-radius: 999px; background: var(--app-card); font: 700 3.4cqw/1 var(--body); }
.app__chips .is-on { background: var(--app-ink); color: var(--app-bg); }
.app__section { margin: 5cqw 0 2.4cqw !important; font: 800 4.4cqw/1 var(--display); }
.app__scenes, .app__cards { display: grid; grid-template-columns: 1fr 1fr; gap: 2.6cqw; }
.app__scene { display: flex; align-items: center; gap: 2cqw; padding: 2.6cqw; border-radius: 4cqw; background: var(--app-card); font: 700 3.3cqw/1.15 var(--body); transition: background-color .35s, color .35s, transform .35s var(--ease); }
.app__scene i { display: grid; place-items: center; flex: 0 0 8cqw; height: 8cqw; border-radius: 2.6cqw; background: var(--app-tint); color: #2DA1FF; }
.app__scene svg { width: 4.6cqw; height: 4.6cqw; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.app__scene.is-on { background: #2DA1FF; color: #fff; transform: scale(1.04); }
.app__scene.is-on i { background: rgba(255, 255, 255, .22); color: #fff; }
.app__card { padding: 2.8cqw; border-radius: 4.6cqw; background: var(--app-card); box-shadow: 0 1.5cqw 5cqw -2cqw rgba(11, 59, 102, .2); }
.app__card b { display: block; margin-top: 2.4cqw; font: 800 3.5cqw/1.15 var(--body); }
.app__card small { display: block; margin-top: .8cqw; color: var(--app-muted); font-size: 3cqw; }
.app__mini { aspect-ratio: 1.3; padding: 1.3cqw; border-radius: 2.4cqw; background: var(--app-frame); }
.app__mini .app__pane { border-radius: 1.2cqw; }
.app__mini .app__fabric { background: repeating-linear-gradient(180deg, rgba(255, 255, 255, .15) 0 1px, transparent 1px 1.4cqw), linear-gradient(180deg, #5BBDFF, #38A6F2); }
.app__mini .app__fabric::after { height: 1cqw; bottom: -.6cqw; }
.app__mini .app__fabric i { display: none; }
.app__minibulb { --l: .8; position: relative; display: grid; place-items: center; aspect-ratio: 1.3; overflow: hidden; border-radius: 2.6cqw; background: var(--app-tint); }
.app__minibulb::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle, rgba(255, 201, 77, .75), transparent 62%); opacity: var(--l); }
.app__minibulb svg { position: relative; width: 9cqw; height: 9cqw; fill: #FFC94D; }
.app__minibulb--off { --l: 0; }
.app__minibulb--off svg { fill: var(--app-muted); opacity: .5; }

/* Ecranul becului: strălucirea și bara după --l (0–1) */
.app--light { --l: .4; }
.app__bulb { position: relative; display: grid; place-items: center; width: 56cqw; aspect-ratio: 1; margin: 8cqw auto 0; }
.app__glow { position: absolute; border-radius: 50%; background: #FFC94D; }
.app__glow--1 { inset: 21%; opacity: calc(.18 + .5 * var(--l)); }
.app__glow--2 { inset: 10%; opacity: calc(.06 + .22 * var(--l)); }
.app__glow--3 { inset: 0; opacity: calc(.03 + .14 * var(--l)); }
.app__bulb svg { position: relative; width: 22cqw; height: 22cqw; fill: #FFB020; opacity: calc(.55 + .45 * var(--l)); }
.app__big { margin-top: 3cqw !important; text-align: center; font: 900 13cqw/1 var(--display); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.app--light .app__hint { margin-top: 1.6cqw !important; }
.app__slider { margin-top: auto; padding: 4cqw; border-radius: 5cqw; background: var(--app-card); box-shadow: 0 2cqw 6cqw -2cqw rgba(11, 59, 102, .2); }
.app__track { position: relative; height: 9cqw; border-radius: 999px; background: var(--app-tint); }
.app__fill { position: absolute; left: 1cqw; top: 1cqw; bottom: 1cqw; width: calc(7cqw + (100% - 9cqw) * var(--l)); border-radius: 999px; background: #FFC94D; }
.app__knob { position: absolute; top: 1cqw; left: calc(1cqw + (100% - 9cqw) * var(--l)); width: 7cqw; height: 7cqw; border-radius: 50%; background: #fff; box-shadow: 0 .6cqw 2cqw rgba(0, 0, 0, .2); }
.app__levels { display: flex; gap: 1.4cqw; margin-top: 3cqw; }
.app__levels span { flex: 1; padding: 2.6cqw 0; border-radius: 999px; background: var(--app-tint); text-align: center; font: 700 3.1cqw/1 var(--body); transition: background-color .25s, color .25s; }
.app__levels .is-on { background: #FFC94D; color: #111; }

/* Indiciul de sub telefonul din cap */
.hero__hint { display: flex; align-items: center; gap: 8px; margin: 22px 0 0; color: var(--ink); opacity: .7; font: 500 12px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.hero__hint i { position: relative; width: 16px; height: 24px; border-radius: 10px; box-shadow: inset 0 0 0 1.5px currentColor; }
.hero__hint i::after { content: ""; position: absolute; left: 50%; top: 5px; width: 2px; height: 5px; border-radius: 1px; background: currentColor; transform: translateX(-50%); animation: wheel 1.6s ease-in-out infinite; }
@keyframes wheel { 60% { transform: translate(-50%, 7px); opacity: 0; } }
.hero__visual { flex-direction: column; }

/* ---------- Aplicația: telefonul stă pe loc, textul trece pe lângă el ---------- */

.story__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); }
.story__step { display: flex; align-items: center; min-height: 92vh; }
.story__card { max-width: 30em; opacity: .3; transform: translateY(12px); transition: opacity .45s var(--ease), transform .45s var(--ease); }
.story__step.is-on .story__card { opacity: 1; transform: none; }
.story__card h3 { margin: 0; font-size: clamp(1.8rem, 3.2vw, 2.5rem); line-height: 1.1; }
.story__card p { margin: 14px 0 0; font-size: 17.5px; color: var(--ink-soft); }
.story__card .label { margin: 0 0 12px; }
.story__phone { position: sticky; top: calc(50vh - 300px + 34px); align-self: start; display: grid; justify-items: center; padding-block: 40px; }
.story .iphone { --w: 290px; }

/* Pașii: bara care se umple la derulare și cercurile care se aprind pe rând */
.steps__bar { height: 4px; margin: -12px 0 28px; border-radius: 4px; background: var(--line); overflow: hidden; }
.steps__bar i { display: block; height: 100%; border-radius: inherit; background: var(--blue); transform-origin: left; transform: scaleX(var(--progress, 0)); }
.steps li::before { background: var(--line); color: var(--ink-soft); transition: background-color .3s, color .3s, transform .3s var(--ease); }
.steps li.is-done::before { background: var(--blue); color: #fff; transform: scale(1.08); }

/* ---------- Subsolul (ca înainte): cuvântul mare „zent” și rândul cu legături ---------- */

.footer { padding: 4vh var(--gutter) 30px; overflow: hidden; color: rgba(234, 243, 252, .7); background: #060D1A; }
.footer__word {
  margin: 0 0 3vh; font: 900 31vw/.78 var(--display); letter-spacing: -.05em; text-align: center;
  color: transparent; background: linear-gradient(180deg, var(--blue) 10%, rgba(45, 161, 255, 0) 92%); -webkit-background-clip: text; background-clip: text;
}
.footer__row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding-top: 22px; border-top: 1px solid rgba(234, 243, 252, .12); font: 500 12px/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.footer__row a { color: #8BD2FF; text-decoration: none; }
.footer__row a:hover { text-decoration: underline; }

/* ---------- Căutarea ---------- */

.search { position: fixed; inset: 0; z-index: 95; display: none; }
.search.is-open { display: block; }
.search__backdrop { position: absolute; inset: 0; background: rgba(6, 13, 26, .45); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); animation: fade .2s; }
.search__panel { position: relative; width: min(640px, calc(100% - 24px)); margin: max(12px, 9vh) auto 0; border-radius: 24px; background: var(--surface); color: var(--ink); box-shadow: 0 40px 80px -30px rgba(6, 13, 26, .6); overflow: hidden; animation: menu-in .22s var(--ease); }
.search__bar { display: flex; align-items: center; gap: 12px; padding: 8px 10px 8px 20px; border-bottom: 1px solid var(--line); }
.search__bar > svg { flex: 0 0 22px; width: 22px; height: 22px; fill: none; stroke: var(--muted); stroke-width: 2; stroke-linecap: round; }
.search__bar input { flex: 1; min-width: 0; height: 52px; border: 0; background: none; color: var(--ink); font: 500 18px/1 var(--body); outline: none; }
.search__bar input::-webkit-search-cancel-button { display: none; }
.search__close { display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%; background: var(--surface-2); color: var(--ink); cursor: pointer; }
.search__close svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
.search__results { max-height: min(60vh, 520px); overflow-y: auto; padding: 10px; }
.search__label { margin: 8px 10px 6px; color: var(--muted); font-size: 13px; font-weight: 700; }
.search__item { display: flex; align-items: center; gap: 14px; padding: 10px; border-radius: 16px; color: inherit; text-decoration: none; }
.search__item:hover, .search__item.is-active { background: var(--tint); }
.search__item .mini-media { flex: 0 0 60px; width: 60px; height: 60px; border-radius: 14px; }
.search__item b { display: block; font-size: 16px; }
.search__item small { color: var(--ink-soft); font-size: 14px; }
.search__item .price { margin-left: auto; }
.search__item .price__now { font-size: 18px; }
.search__empty { margin: 0; padding: 26px 14px; text-align: center; color: var(--ink-soft); }
.shop-search {
  display: flex; align-items: center; gap: 12px; width: min(380px, 100%); height: 56px; padding: 0 12px 0 18px;
  border: 0; border-radius: 999px; background: var(--surface); color: var(--muted); cursor: pointer; text-align: left;
  font: 500 16px/1 var(--body); box-shadow: var(--lift-shadow); transition: transform .2s var(--ease);
}
.shop-search:hover { transform: translateY(-1px); }
.shop-search svg { flex: 0 0 22px; width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.shop-search span { flex: 1; }
.shop-search kbd { padding: 5px 9px; border-radius: 8px; background: var(--surface-2); color: var(--ink-soft); font: 600 13px/1 var(--mono); }
@keyframes fade { from { opacity: 0; } }

/* Stoc epuizat: butonul e roșu */
.btn--soldout { background: #E5392F; color: #fff; cursor: not-allowed; box-shadow: 0 12px 26px -16px rgba(229, 57, 47, .9); }
.btn--soldout:hover { transform: none; }

/* ---------- Ecrane mai mici ---------- */

@media (max-width: 1020px) {
  .nav__links { display: none; }
  .nav__menu { display: block; }
  .why { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; text-align: center; }
  .hero__copy .lead { margin-inline: auto; }
  .hero__actions, .hero .trust { justify-content: center; }
  .float-card--a { left: 0; }
  .float-card--b { right: 0; }
  .benefits, .steps { grid-template-columns: 1fr; }
  .offer { grid-template-columns: 1fr; }
  /* Aplicația pe telefon: telefonul rămâne sus, cartonașele cu text urcă peste partea lui de jos */
  .story__grid { grid-template-columns: 1fr; gap: 0; }
  .story__phone { order: -1; top: 70px; z-index: 0; padding-block: 0 8px; }
  .story .iphone { --w: min(170px, 44vw); }
  .story__steps { position: relative; z-index: 1; margin-top: -24px; }
  .story__step { align-items: flex-end; min-height: 72vh; padding-bottom: 3vh; }
  .story__step:first-child { min-height: 46vh; }
  .story__card { width: 100%; padding: 20px; border-radius: 22px; background: var(--surface); box-shadow: var(--lift-shadow); opacity: .6; }
  .story__card h3 { font-size: 1.5rem; }
  .story__card p { font-size: 15.5px; }
  .story__card .ticks { display: none; }
  .shop-hero { grid-template-columns: 1fr; }
  .pp__grid, .reviews__wrap, .checkout { grid-template-columns: 1fr; }
  .pp__gallery, .reviews__summary, .ck-summary { position: static; }
  .orow { grid-template-columns: 1fr auto; }
  .orow__items, .orow__go { display: none; }
}
@media (max-width: 640px) {
  .nav { height: 62px; gap: 6px; }
  .sky-hero { margin-top: -62px; padding-top: 62px; }
  .nav__cta { display: none; }
  .account-chip { padding: 0 4px; box-shadow: none; }
  .account-chip__name, .account-chip__chevron { display: none; }
  .account-menu { position: fixed; top: 66px; right: 12px; width: min(300px, calc(100vw - 24px)); }
  .nav-icon { width: 38px; height: 38px; }
  .theme-pill { height: 36px; padding: 0 11px 0 9px; font-size: 13px; }
  .float-card { display: none; }
  .why { grid-template-columns: 1fr; }
  .pcard__foot { flex-wrap: wrap; }
  .pcard__foot .btn { flex: 1; }
  .faq summary { padding: 18px 20px; font-size: 17px; }
  .faq details p { padding: 0 20px 20px; }
  .tabs { display: grid; grid-template-columns: 1fr 1fr; width: 100%; border-radius: 22px; }
  .tabs button { justify-content: center; height: 42px; padding: 0 10px; font-size: 14px; }
  .acct__avatar { width: 76px; height: 76px; }
  .acct-card { padding: 20px; }
  .acct-profile { grid-template-columns: 1fr; justify-items: start; }
  .dcard { grid-template-columns: 52px minmax(0, 1fr); }
  .dcard__icon { width: 52px; height: 52px; }
  .dcard__actions { grid-column: 1 / -1; justify-items: stretch; }
  .dquick .dbtn { flex: 1; border-radius: 16px; }
  .dcontrol__buttons { flex-wrap: nowrap; width: 100%; }
  .dcontrol__buttons .btn { flex: 1; padding: 0 10px; }
  .dquick .btn { flex: 1; }
  .dcard__more { justify-content: flex-start; }
}

@media (max-width: 480px) {
  .nav { gap: 2px; padding-inline: 14px; }
  .nav__actions { gap: 2px; }
  .nav-icon--wish { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__hint i::after { animation: none; }
  .float-card, .stock--last i::after { animation: none; }
  .cloud { animation-play-state: paused; }
  .js [data-reveal]:not(.is-in) { opacity: 1; transform: none; }
  .pcard, .pcard__float, .offer__card, .btn { transition: none; }
}
