/* Tema magazinului. Culorile --accent, --cta si --ink vin din panou (Design → Magazin). */
@font-face { font-family: "Figtree"; font-style: normal; font-weight: 300 900; font-display: swap; src: url(fonts/figtree-latin-ext-wght-normal.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Figtree"; font-style: normal; font-weight: 300 900; font-display: swap; src: url(fonts/figtree-latin-wght-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Bricolage Grotesque"; font-style: normal; font-weight: 200 800; font-display: swap; src: url(fonts/bricolage-grotesque-latin-ext-wght-normal.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Bricolage Grotesque"; font-style: normal; font-weight: 200 800; font-display: swap; src: url(fonts/bricolage-grotesque-latin-wght-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --accent: #f28b00; --cta: #e5391d; --ink: #14263a;
  --paper: #fff; --mist: #f1f3f5; --line: #dde2e8; --birch: #f1e6d3; --soft: #5d6b7a;
  --ok: #1f7a4d; --bad: #b3261e;
  --band: #f1e6d3; --band-ink: #14263a;   /* banda de abonare din subsol (culoarea aleasa de proprietar) */
  --cut: 22px;                      /* coltul taiat: semnul temei, ca o piesa decupata la laser */
  --wrap: 1240px; --gap: 24px; --r: 10px;
  --side: 280px;                    /* latimea meniului de categorii (si a coloanei cu sigla) */
  --hero-h: 400px;                  /* inaltimea caruselului de pe prima pagina */
  --display: "Bricolage Grotesque", "Figtree", system-ui, sans-serif;
  --body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font: 400 16px/1.55 var(--body); color: var(--ink); background: var(--paper); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--cta); }
h1, h2, h3 { font-family: var(--display); font-weight: 650; line-height: 1.12; letter-spacing: -0.02em; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(1.75rem, 1.2rem + 2vw, 2.6rem); }
h2 { font-size: clamp(1.3rem, 1.1rem + .9vw, 1.75rem); }
h3 { font-size: 1.1rem; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; border-radius: 4px; }
[hidden] { display: none !important; }
.sr, .hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.hp { left: -9999px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: var(--r); }
.skip:focus { top: 12px; }
.wrap { width: min(100% - 32px, var(--wrap)); margin-inline: auto; }
.wrap.narrow { --wrap: 820px; }
.muted { color: var(--soft); font-weight: 400; }
.ico { flex: none; vertical-align: -0.2em; }
main { min-height: 50vh; padding-bottom: 56px; }
main > .wrap > h1:first-child { margin-top: 28px; }

/* ---------- butoane, campuri ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 20px; border: 1.5px solid transparent; border-radius: var(--r); font-weight: 650; text-decoration: none; background: var(--mist); color: var(--ink); transition: transform .08s, filter .15s; }
.btn:hover { filter: brightness(.94); color: inherit; }
.btn:active { transform: translateY(1px); }
.btn.cta { background: var(--cta); color: #fff; }
.btn.dark { background: var(--ink); color: #fff; }
.btn.ghost { background: transparent; border-color: var(--ink); }
.btn.ghost:hover { background: var(--ink); color: #fff; filter: none; }
.btn.small { min-height: 36px; padding: 0 14px; font-size: .9rem; }
.btn.big { min-height: 52px; font-size: 1.05rem; padding: 0 28px; }
.btn.block { display: flex; width: 100%; }
.btn.disabled { opacity: .45; pointer-events: none; }
.link { background: none; border: 0; padding: 0; text-decoration: underline; text-underline-offset: 3px; display: inline-flex; gap: 6px; align-items: center; }
.link:hover { color: var(--cta); }
.icon-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; background: none; border: 0; padding: 8px; border-radius: var(--r); text-decoration: none; position: relative; }
.icon-btn:hover { background: var(--mist); color: inherit; }
input[type=text], input[type=email], input[type=tel], input[type=password], input[type=number], input[type=search], input[type=date], select, textarea {
  width: 100%; min-height: 44px; padding: 9px 12px; border: 1.5px solid var(--line); border-radius: var(--r); background: #fff; }
textarea { resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--ink); outline-offset: 0; border-color: var(--ink); }
.field { margin-bottom: 14px; min-width: 0; }
.field label, fieldset > legend { display: block; font-weight: 600; margin-bottom: 5px; }
.field.bad input, .field.bad select, .field.bad textarea { border-color: var(--bad); }
.field-error { color: var(--bad); font-size: .9rem; margin: 5px 0 0; }
.field-help { color: var(--soft); font-size: .88rem; margin: 5px 0 0; }
.cols { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.cols.three { grid-template-columns: 1.4fr 1fr .8fr; }
.check { display: flex; gap: 10px; align-items: flex-start; margin: 8px 0; cursor: pointer; }
.check input { width: 18px; height: 18px; margin: 3px 0 0; accent-color: var(--ink); flex: none; }
.check.bad { color: var(--bad); }
fieldset { border: 0; padding: 0; margin: 0 0 28px; min-width: 0; }
.join { display: flex; gap: 8px; }
.notice { padding: 12px 16px; border-radius: var(--r); margin: 16px 0; border-left: 4px solid var(--soft); background: var(--mist); }
.notice.success { border-color: var(--ok); background: #e9f5ee; }
.notice.error { border-color: var(--bad); background: #fbeceb; }
.notice.info { border-color: var(--accent); background: #fff6e8; }
.notice p:last-child, .notice form { margin: 0; }
.notice form { margin-top: 10px; }
.hint { display: flex; gap: 8px; align-items: flex-start; color: var(--soft); font-size: .95rem; margin: 10px 0; }
.empty { text-align: center; padding: 56px 16px; max-width: 520px; margin-inline: auto; }
.empty p { color: var(--soft); }
.box { background: var(--mist); border-radius: 14px; padding: 22px; margin: 20px 0; }
.only-mobile { display: none; }

/* ---------- antet ---------- */
.hellobar { display: flex; justify-content: center; align-items: center; gap: 12px; padding: 8px 44px 8px 16px; font-size: .92rem; text-align: center; position: relative; }
.hellobar p { margin: 0; }
.hellobar a { font-weight: 700; color: inherit; margin-left: 6px; }
.hellobar button { position: absolute; right: 8px; top: 50%; translate: 0 -50%; background: none; border: 0; color: inherit; padding: 6px; }
.head-main .wrap { display: grid; grid-template-columns: var(--side) minmax(0, 1fr) auto; align-items: center; gap: 24px; padding-block: 18px; }
.logo { text-decoration: none; flex: none; }
.logo img { max-height: 44px; width: auto; }
.logo span { font: 750 1.55rem/1 var(--display); letter-spacing: -0.03em; }
.search { position: relative; display: flex; min-width: 0; }
.search input { border-radius: 999px; background: var(--mist); border-color: transparent; padding-inline: 20px 52px; }
.search input:focus { background: #fff; }
.search > button { position: absolute; right: 4px; top: 4px; width: 36px; height: 36px; border-radius: 50%; border: 0; background: var(--ink); color: #fff; display: grid; place-items: center; }
.search-drop { position: absolute; top: calc(100% + 6px); left: 0; right: 0; z-index: 40; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 18px 40px rgb(20 38 58 / .16); padding: 8px; max-height: 70vh; overflow: auto; }
.search-drop a { display: flex; gap: 12px; align-items: center; padding: 8px; border-radius: 8px; text-decoration: none; }
.search-drop a:hover, .search-drop a:focus-visible { background: var(--mist); color: inherit; }
.search-drop img { width: 48px; height: 48px; object-fit: contain; background: var(--mist); border-radius: 6px; }
.search-drop b { display: block; font-weight: 600; line-height: 1.25; }
.search-drop .all { justify-content: center; font-weight: 650; border-top: 1px solid var(--line); border-radius: 0 0 8px 8px; margin-top: 4px; }
.head-actions { display: flex; gap: 4px; margin-left: auto; }
.head-actions .icon-btn { flex-direction: column; gap: 2px; font-size: .78rem; padding: 6px 12px; }
.count { position: absolute; top: 0; right: 4px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 10px; background: var(--cta); color: #fff; font-size: .72rem; font-weight: 700; display: grid; place-items: center; }

/* linia 2: butonul „Produse” (meniul de categorii pe trei niveluri), al doilea meniu si mesajul scurt */
.head-bar { background: var(--accent); color: var(--ink); position: relative; z-index: 40; }
.head-bar .wrap { display: flex; align-items: stretch; gap: 24px; min-height: 50px; }
.cats { position: relative; flex: 0 0 var(--side); display: flex; }
.cats-btn { flex: 1; margin-top: -10px; display: flex; align-items: center; gap: 14px; padding: 0 22px; background: var(--ink); color: #fff; border: 0; border-radius: 10px 10px 0 0;
  font: 700 1rem/1 var(--display); letter-spacing: .05em; text-transform: uppercase; }
.cats.is-home .cats-btn { cursor: default; }
.cats-panel { display: none; position: absolute; left: 0; top: 100%; width: 100%; z-index: 45; background: #fff; border: 1.5px solid var(--ink); border-top: 0; border-radius: 0 0 12px 12px; padding: 4px 0; }
.cats.is-home .cats-panel, .cats.open .cats-panel { display: block; }
.cats.is-home .cats-panel { min-height: calc(var(--hero-h) + 16px); }
.cats:not(.is-home) .cats-panel { box-shadow: 0 18px 40px rgb(20 38 58 / .2); }
.cats-panel > ul > li > a { display: flex; align-items: center; gap: 12px; padding: 12px 14px 12px 20px; font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--line); line-height: 1.25; }
.cats-panel > ul > li:last-child > a { border-bottom: 0; }
.cats-panel > ul > li > a span { flex: 1; }
.cats-panel > ul > li > a img { width: 28px; height: 28px; object-fit: contain; }
.cats-panel > ul > li > a .ico { color: var(--soft); }
.cats-panel > ul > li:hover > a, .cats-panel > ul > li:focus-within > a, .cats-panel > ul > li.open > a { background: var(--mist); color: inherit; box-shadow: inset 4px 0 var(--accent); }
.cats-promo a { color: var(--cta); }
.cats-fly { display: none; position: absolute; left: 100%; top: 0; z-index: 46; min-height: 100%; width: calc(min(100vw - 56px, var(--wrap)) - var(--side)); background: #fff;
  border: 1.5px solid var(--ink); border-top: 0; border-radius: 0 0 12px 12px; padding: 22px 28px 12px; box-shadow: 14px 18px 40px rgb(20 38 58 / .16); }
.cats-panel > ul > li:hover > .cats-fly, .cats-panel > ul > li:focus-within > .cats-fly, .cats-panel > ul > li.open > .cats-fly { display: block; }
.cats-fly-title { font: 650 1.25rem/1.2 var(--display); margin: 0 0 16px; padding-bottom: 12px; border-bottom: 1.5px dashed var(--line); }
.cats-fly-title a { text-decoration: none; }
.cats-cols { columns: 3 200px; column-gap: 32px; }
.cats-cols > div { break-inside: avoid; padding-bottom: 18px; }
.cats-sub { display: block; font-weight: 700; text-decoration: none; margin-bottom: 4px; }
.cats-cols ul a { display: block; padding: 3px 0; color: var(--soft); text-decoration: none; font-size: .95rem; line-height: 1.35; }
.cats-cols a:hover { color: var(--cta); text-decoration: underline; }
.head-links { display: flex; flex-wrap: wrap; align-items: center; gap: 0 2px; flex: 1; min-width: 0; height: 50px; overflow: hidden; }
.head-links a { display: inline-flex; align-items: center; height: 36px; padding: 0 14px; font-weight: 650; text-decoration: none; border-radius: 8px; white-space: nowrap; }
.head-links a:hover { background: rgb(255 255 255 / .3); color: inherit; }
.head-note { margin: 0 0 0 auto; align-self: center; font-size: .92rem; font-weight: 600; white-space: nowrap; }

/* meniul de pe telefon (sertar); pe calculator nu se vede */
.nav { display: none; }
.nav li { position: relative; }
.nav .wrap > ul > li > a { display: block; font-weight: 600; text-decoration: none; }
.nav-promo a { color: var(--cta); }
.sub-toggle { position: absolute; right: 4px; top: 50%; translate: 0 -50%; background: none; border: 0; padding: 6px; }
.sub a { display: block; padding: 8px 10px; border-radius: 8px; text-decoration: none; }
.sub ul ul { padding-left: 12px; font-size: .93rem; color: var(--soft); }

/* ---------- prima pagina ---------- */
.home-top .wrap { display: grid; grid-template-columns: var(--side) minmax(0, 1fr); gap: 24px; padding-top: 16px; }
.home-menu-space { min-height: var(--hero-h); }   /* aici sta, pe calculator, meniul de categorii deschis din antet */
.home-hero { min-width: 0; display: grid; gap: 16px; }
.home-hero.with-side { grid-template-columns: minmax(0, 1fr) 230px; }
.carousel { position: relative; height: var(--hero-h); min-width: 0; }
.slider { display: flex; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; clip-path: polygon(0 0, calc(100% - 36px) 0, 100% 36px, 100% 100%, 0 100%); background: var(--mist); }
.slider::-webkit-scrollbar { display: none; }
.slide { flex: 0 0 100%; scroll-snap-align: start; }
.slide picture, .slide img { display: block; width: 100%; height: 100%; }
.slide img { object-fit: cover; }
.car-arrow { position: absolute; top: 50%; translate: 0 -50%; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgb(255 255 255 / .92); color: var(--ink); display: grid; place-items: center; box-shadow: 0 4px 14px rgb(20 38 58 / .22); }
.car-arrow:hover { background: #fff; }
.car-arrow.prev { left: 12px; }
.car-arrow.next { right: 12px; }
.slider-dots { position: absolute; left: 0; right: 0; bottom: 14px; display: flex; justify-content: center; gap: 8px; }
.slider-dots button { width: 28px; height: 6px; border: 0; border-radius: 3px; background: rgb(255 255 255 / .65); box-shadow: 0 0 0 1px rgb(20 38 58 / .25); padding: 0; }
.slider-dots button[aria-current=true] { background: var(--ink); }
.hero-card { height: var(--hero-h); background: var(--birch); display: grid; grid-template-columns: 1.15fr 1fr; gap: 24px; align-items: center; padding: clamp(24px, 3.4vw, 48px); clip-path: polygon(0 0, calc(100% - 36px) 0, 100% 36px, 100% 100%, 0 100%); overflow: hidden; }
.hero-card h1 { font-size: clamp(1.9rem, 1.1rem + 2.3vw, 3rem); font-weight: 700; margin-bottom: .35em; }
.hero-card p { font-size: 1.08rem; max-width: 42ch; }
.hero-side { display: grid; grid-template-rows: 1fr 1fr; gap: 16px; height: var(--hero-h); }
.hero-side > * { display: block; min-height: 0; overflow: hidden; border-radius: 12px; background: var(--mist); }
.hero-side img { width: 100%; height: 100%; object-fit: cover; }
.hero-stack { display: grid; grid-template-columns: repeat(3, 1fr); align-items: center; }
.hero-stack a { background: #fff; padding: 8px; box-shadow: 0 14px 30px rgb(20 38 58 / .16); }
.hero-stack a:nth-child(1) { rotate: -5deg; translate: 12% 6%; }
.hero-stack a:nth-child(2) { z-index: 1; scale: 1.12; }
.hero-stack a:nth-child(3) { rotate: 5deg; translate: -12% -4%; }
.hero-stack img { aspect-ratio: 1; object-fit: cover; }
.benefits ul { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 32px; padding-block: 20px; border-block: 1.5px dashed #b9c2cc; }
.benefits li { display: flex; gap: 12px; align-items: flex-start; }
.benefits .ico { color: var(--accent); margin-top: 2px; }
.benefits b { display: block; }
.benefits span { color: var(--soft); font-size: .92rem; }
.shelf, .voices { margin-top: 48px; }
.shelf-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 20px; }
.shelf-head h2 { margin: 0; }
.shelf-head a { font-weight: 600; white-space: nowrap; }
.voices ul { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.voices li { background: var(--mist); padding: 24px; border-radius: 14px; }
.voices blockquote { margin: 12px 0; font-size: 1.05rem; }

/* ---------- cartonas de produs ---------- */
.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px var(--gap); }
.grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.list-main .grid { grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); }
.card { position: relative; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.card-img { display: block; position: relative; background: var(--mist); aspect-ratio: 1; clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, 0 100%); margin-bottom: 6px; }
.card-img img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; transition: scale .25s; }
.card:hover .card-img img { scale: 1.04; }
.card.out .card-img img { opacity: .55; }
.no-img { display: grid; place-items: center; width: 100%; height: 100%; color: #b4bdc8; }
.card h3 { font: 600 1rem/1.3 var(--body); letter-spacing: 0; margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card h3 a { text-decoration: none; }
.grid:not(.scroll) .card h3 { min-height: 2.6em; }
.card h3 a::after { content: ""; position: absolute; inset: 0 0 auto 0; aspect-ratio: 1; }   /* toata imaginea duce la produs */
.card .btn { margin-top: auto; align-self: flex-start; position: relative; }
.card-note { color: var(--soft); font-size: .9rem; margin: auto 0 0; }
.price { display: inline-flex; flex-wrap: wrap; gap: 2px 8px; align-items: baseline; }
.price b { font: 700 1.1rem/1.2 var(--display); }
.price s { color: var(--soft); font-size: .9rem; }
.wish { position: absolute; z-index: 2; right: 8px; top: calc(var(--cut) + 6px); width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgb(255 255 255 / .92); display: grid; place-items: center; color: var(--ink); }
.wish[aria-pressed=true] { color: var(--cta); }
.wish[aria-pressed=true] svg, [data-wish][aria-pressed=true] svg { fill: currentColor; }
/* eticheta de cadou: marcajele promotionale */
.tag { position: absolute; z-index: 1; left: 0; top: 14px; padding: 4px 10px 4px 22px; font-size: .82rem; font-weight: 700; line-height: 1.3; background: var(--tag-bg, var(--cta)); color: var(--tag-fg, #fff);
  clip-path: polygon(0 50%, 12px 0, 100% 0, 100% 100%, 12px 100%); rotate: -3deg; transform-origin: left center; }
.tag::before { content: ""; position: absolute; left: 10px; top: 50%; width: 5px; height: 5px; border-radius: 50%; background: #fff; translate: 0 -50%; }
.tag.top-right { left: auto; right: var(--cut); rotate: 3deg; }
.tag.bottom-left, .tag.bottom-right { top: auto; bottom: 14px; }
.tag.bottom-right { left: auto; right: 0; }
.tag + .tag.top-left { top: 46px; }
/* pe ecran lat incap exact 5 produse intregi (sagetile muta cate un rand intreg); mai ingust: 200 px, cu urmatorul produs vazut pe jumatate */
.grid.scroll { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: max(200px, calc((100% - 4 * var(--gap)) / 5)); overflow-x: auto; scroll-snap-type: x proximity; padding-bottom: 12px; }
.grid.scroll > * { scroll-snap-align: start; }
/* sagetile randului (puse de tema.js): bara de derulare dispare doar cand exista sagetile */
.scroller { position: relative; }
.scroller > .grid.scroll { scrollbar-width: none; padding-bottom: 0; }
.scroller > .grid.scroll::-webkit-scrollbar { display: none; }
.row-arrow { position: absolute; top: 50%; translate: 0 -50%; z-index: 2; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--paper); color: var(--ink);
  display: grid; place-items: center; box-shadow: 0 4px 14px rgb(20 38 58 / .18); cursor: pointer; }
.row-arrow:hover { border-color: var(--ink); }
.row-arrow.prev { left: -14px; }
.row-arrow.next { right: -14px; }
.stars { display: inline-block; width: 5em; height: 1em; vertical-align: -0.12em; background: #cfd6dd; position: relative;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m12 2.500 2.900 6.100 6.600.900-4.800 4.600 1.200 6.600-5.900-3.200-5.900 3.200 1.200-6.600L2.500 9.500l6.600-.900z'/%3E%3C/svg%3E") 0 0 / 1em 1em repeat-x;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m12 2.500 2.900 6.100 6.600.900-4.800 4.600 1.200 6.600-5.900-3.200-5.900 3.200 1.200-6.600L2.500 9.500l6.600-.900z'/%3E%3C/svg%3E") 0 0 / 1em 1em repeat-x; }
.stars span { position: absolute; inset: 0 auto 0 0; background: var(--accent); }

/* ---------- listare ---------- */
.crumbs { margin: 18px 0 6px; font-size: .88rem; color: var(--soft); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 4px 8px; }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: #b4bdc8; }
.crumbs a { text-decoration: none; }
.list-head { margin: 10px 0 20px; }
.list-head h1 { margin-bottom: .3em; }
.intro { max-width: 75ch; color: var(--soft); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.chips a { display: block; padding: 7px 14px; border: 1.5px solid var(--line); border-radius: 999px; text-decoration: none; font-weight: 600; font-size: .93rem; }
.chips a:hover { border-color: var(--ink); color: inherit; }
.list-banner img { width: 100%; }
.list-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 40px; align-items: start; }
.list-layout.no-filters { grid-template-columns: minmax(0, 1fr); }
.filters fieldset { margin-bottom: 20px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.filters legend { font: 650 1rem var(--display); margin-bottom: 8px; }
.range { display: flex; align-items: center; gap: 8px; }
.filters-foot { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 20px; }
.toolbar p { margin: 0; color: var(--soft); }
.sort { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.sort label { color: var(--soft); white-space: nowrap; }
.sort select { min-height: 38px; width: auto; }
.pager { display: flex; justify-content: center; align-items: center; gap: 6px; margin-top: 40px; }
.pager a, .pager b, .pager span { min-width: 40px; height: 40px; display: grid; place-items: center; border-radius: var(--r); text-decoration: none; font-weight: 600; }
.pager a:hover { background: var(--mist); color: inherit; }
.pager b { background: var(--ink); color: #fff; }

/* ---------- produs ---------- */
.pd { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); margin-top: 12px; align-items: start; }
.gallery { position: sticky; top: 16px; }
.gallery-main { position: relative; background: var(--mist); aspect-ratio: 1; clip-path: polygon(0 0, calc(100% - 36px) 0, 100% 36px, 100% 100%, 0 100%); }
.gallery-main img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.gallery-main a { display: block; height: 100%; cursor: zoom-in; }
.thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; padding-bottom: 4px; }
.thumbs button { width: 76px; height: 76px; padding: 0; border: 2px solid transparent; background: var(--mist); flex: none; }
.thumbs button[aria-current=true] { border-color: var(--ink); }
.thumbs img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.pd-brand { font-weight: 600; color: var(--soft); margin: 0 0 4px; }
.pd-info h1 { font-size: clamp(1.6rem, 1.2rem + 1.5vw, 2.3rem); }
.pd-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: center; font-size: .92rem; }
.pd-meta a { text-decoration: none; }
.pd-price .price b { font-size: clamp(1.6rem, 1.3rem + 1vw, 2.1rem); }
.pd-price .price s { font-size: 1.05rem; }
.pd-short { color: var(--soft); }
.buy { margin: 22px 0; }
.variants > div { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { display: flex; flex-direction: column; padding: 8px 14px; border: 1.5px solid var(--line); border-radius: var(--r); text-decoration: none; font-weight: 600; min-width: 84px; }
.chip small { font-weight: 400; color: var(--soft); }
.chip:hover { border-color: var(--ink); color: inherit; }
.chip.on { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.chip.off { opacity: .55; }
.opt-list { display: grid; gap: 2px; }
.buy [data-total] { margin-left: 12px; padding-left: 12px; border-left: 1px solid rgb(255 255 255 / .55); }
.field-label { display: block; font-weight: 600; margin-bottom: 6px; }
.opt-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.opt-pill { position: relative; cursor: pointer; }
.opt-pill input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.opt-pill > span { display: block; padding: 9px 14px; border: 1.5px solid var(--line); border-radius: var(--r); font-weight: 600; line-height: 1.3; background: #fff; }
.opt-pill > span .muted { font-weight: 400; margin-left: 4px; }
.opt-pill:hover > span { border-color: var(--ink); }
.opt-pill input:checked + span { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); background: var(--mist); }
.opt-pill input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }
.services input[type=text] { margin: 4px 0 10px; }
.bundle { background: var(--mist); border-radius: var(--r); padding: 14px 16px; margin-bottom: 16px; }
.bundle ul { margin: 6px 0; padding-left: 18px; list-style: disc; }
.bundle p { margin: 6px 0 0; color: var(--ok); font-weight: 600; }
.buy-row { display: flex; gap: 12px; align-items: stretch; }
.buy-row .btn { flex: 1; }
.qty { display: inline-flex; border: 1.5px solid var(--line); border-radius: var(--r); overflow: hidden; background: #fff; flex: none; align-self: center; }
.buy-row .qty { align-self: stretch; }
.qty button { width: 40px; border: 0; background: none; font-size: 1.2rem; }
.qty button:hover { background: var(--mist); }
.qty input { width: 48px; min-height: 40px; border: 0; padding: 0; text-align: center; border-radius: 0; -moz-appearance: textfield; appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.pd-facts { display: grid; gap: 8px; padding-top: 18px; border-top: 1.5px dashed #b9c2cc; }
.pd-facts li { display: flex; gap: 8px; align-items: flex-start; }
.pd-facts .ico { margin-top: 3px; flex: none; }
.pd-facts a { text-decoration: none; display: inline-flex; gap: 8px; }
.pd-facts a:hover, .pd-facts .link { text-decoration: underline; }
.pd-body { max-width: 860px; margin-top: 56px; display: grid; gap: 44px; }
.prose { overflow-wrap: anywhere; }
.prose img { margin-block: 12px; }
.prose ul, .prose ol { padding-left: 22px; margin: 0 0 1em; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose table { border-collapse: collapse; max-width: 100%; display: block; overflow-x: auto; }
.prose td, .prose th { border: 1px solid var(--line); padding: 6px 10px; }
.prose iframe { max-width: 100%; aspect-ratio: 16 / 9; height: auto; }
.specs { border-collapse: collapse; width: 100%; }
.specs th, .specs td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.specs th { width: 38%; font-weight: 600; color: var(--soft); }
.files li { margin-bottom: 8px; }
.files a { display: inline-flex; gap: 8px; align-items: center; }
.reviews > li { padding: 16px 0; border-bottom: 1px solid var(--line); }
.review-head { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; margin-bottom: 6px; }
.verified { color: var(--ok); font-size: .88rem; display: inline-flex; gap: 4px; align-items: center; }
.reply { background: var(--mist); padding: 10px 14px; border-radius: var(--r); }
.review-form { margin-top: 20px; }
.review-form summary { list-style: none; display: inline-flex; }
.review-form summary::-webkit-details-marker { display: none; }
.review-form form { margin-top: 18px; max-width: 620px; }
.rate { display: flex; flex-direction: row-reverse; justify-content: flex-end; flex-wrap: wrap; gap: 2px; margin-bottom: 14px; }
.rate legend { width: 100%; }
.rate input { position: absolute; opacity: 0; }
.rate label { color: #cfd6dd; cursor: pointer; padding: 2px; }
.rate input:checked ~ label, .rate label:hover, .rate label:hover ~ label { color: var(--accent); }
.rate input:focus-visible + label { outline: 2px solid var(--ink); border-radius: 4px; }
.buy-bar { position: fixed; inset: auto 0 0 0; z-index: 50; background: #fff; box-shadow: 0 -6px 20px rgb(20 38 58 / .14); padding: 10px 16px; align-items: center; justify-content: space-between; gap: 12px; }
.buy-bar span { font: 700 1.15rem var(--display); }

/* ---------- cos, comanda ---------- */
.cart-layout, .checkout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 40px; align-items: start; margin-top: 8px; }
.lines > li { display: grid; grid-template-columns: 88px minmax(0, 1fr) auto 110px 36px; gap: 16px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.line-img { width: 88px; height: 88px; background: var(--mist); display: block; }
.line-img img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.line-name { font-weight: 650; text-decoration: none; display: inline-flex; gap: 6px; align-items: center; }
.line-opt, .line-unit { margin: 2px 0 0; color: var(--soft); font-size: .9rem; }
.line-unit .price b { font: 400 .9rem var(--body); }
.line-total { text-align: right; font: 700 1.05rem var(--display); }
.line.gift { background: #fff8ec; padding-inline: 10px; }
.pick { margin-top: 28px; }
.pick h2 { font-size: 1.15rem; }
.pick-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.pick-list button, .offer { display: flex; gap: 12px; align-items: center; text-align: left; padding: 10px; border: 1.5px dashed #b9c2cc; border-radius: var(--r); background: #fff; width: 100%; text-decoration: none; }
.pick-list button:hover, .offer:hover { border-color: var(--ink); border-style: solid; color: inherit; }
.pick-list img { width: 56px; height: 56px; object-fit: contain; background: var(--mist); }
.pick-list small, .offer small { display: block; color: var(--soft); }
.offer { flex-direction: column; align-items: flex-start; gap: 2px; margin-bottom: 12px; }
.summary { background: var(--mist); border-radius: 14px; padding: 24px; position: sticky; top: 16px; }
.summary h2 { font-size: 1.25rem; }
.sum-lines li { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; font-size: .95rem; }
.sum-lines b { white-space: nowrap; }
.totals { margin: 12px 0; }
.totals > div { display: flex; justify-content: space-between; gap: 12px; padding: 5px 0; }
.totals dd { margin: 0; white-space: nowrap; font-weight: 600; }
.totals .minus dd { color: var(--ok); }
.totals .grand { border-top: 1.5px dashed #9aa6b3; margin-top: 8px; padding-top: 12px; font: 700 1.3rem var(--display); }
.totals .grand dd { font-weight: 700; }
.voucher { margin: 16px 0; }
.voucher label { font-weight: 600; display: block; margin-bottom: 5px; }
.voucher .btn { min-height: 44px; }
.summary .btn.block { margin-top: 8px; }
.back { display: block; text-align: center; margin-top: 14px; }
.secure { display: flex; gap: 8px; font-size: .85rem; color: var(--soft); margin: 12px 0 0; }
.checkout-main > fieldset > legend, .choice > legend { font: 650 1.3rem var(--display); letter-spacing: -0.01em; margin-bottom: 14px; }
.choice label:not(.check):not([for]) { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: var(--r); margin-bottom: 10px; cursor: pointer; }
.choice label:has(input:checked) { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.choice input[type=radio] { width: 18px; height: 18px; accent-color: var(--ink); margin: 0; }
.choice small { display: block; color: var(--soft); }
.choice em { font-style: normal; font-weight: 650; white-space: nowrap; }
.thanks { text-align: center; padding: 40px 0 8px; }
.thanks-mark { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--ok); color: #fff; margin-bottom: 16px; }
.pairs > div { display: grid; grid-template-columns: 140px 1fr; gap: 12px; padding: 6px 0; }
.pairs dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }

/* ---------- cont, pagini ---------- */
.auth { display: grid; place-items: start center; padding-top: 40px; }
.auth-box { width: min(100%, 440px); }
.auth-alt { padding-top: 14px; border-top: 1px solid var(--line); }
.auth-alt { margin-top: 22px; color: var(--soft); font-size: .93rem; }
.auth-sent { display: flex; gap: 12px; align-items: flex-start; background: var(--mist); border-radius: var(--r); padding: 16px 18px; }
.auth-sent .ico { flex: none; margin-top: 2px; }
.auth-sent b { overflow-wrap: anywhere; }
.auth-again { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 20px; }
/* ---------- Contul de client ---------- */
.account { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 48px; align-items: start; padding-top: 32px; }
.account-main > h1 { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.1rem); }
.account-side { position: sticky; top: 16px; }
.account-who { display: flex; gap: 12px; align-items: center; margin: 0 0 16px; padding: 0 0 16px; border-bottom: 1px solid var(--line); min-width: 0; }
.account-who > span:last-child { min-width: 0; display: grid; }
.account-who small { color: var(--soft); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.account-initial { flex: none; width: 44px; height: 44px; display: grid; place-items: center; background: var(--birch); font: 700 1.2rem var(--display);
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 0 100%); }
.account-nav { display: grid; gap: 2px; }
.account-nav a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: var(--r); text-decoration: none; font-weight: 600; }
.account-nav a svg { flex: none; color: var(--soft); }
.account-nav a:hover { background: var(--mist); color: inherit; }
.account-nav a[aria-current] { background: var(--ink); color: #fff; }
.account-nav a[aria-current] svg { color: inherit; }
.account-nav .n { margin-left: auto; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: var(--accent); color: #fff; font-size: .78rem; display: grid; place-items: center; }
.account-nav form { padding: 12px 12px 0; margin-top: 8px; border-top: 1px solid var(--line); }
.acc-back { margin: 0 0 8px; }
.acc-back a { display: inline-flex; align-items: center; gap: 6px; }
.acc-block { margin: 36px 0 0; padding: 0; border: 0; min-width: 0; }
.acc-block > h2, .acc-block > legend { font: 650 1.25rem/1.2 var(--display); letter-spacing: -0.01em; margin: 0 0 12px; padding: 0; }
.acc-title { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; margin-bottom: 12px; }
.acc-title h2 { font: 650 1.25rem/1.2 var(--display); margin: 0; }
.small { font-size: .9rem; }

/* salutul de pe prima pagina a contului: o piesa decupata, ca restul temei */
.acc-hello { background: var(--birch); padding: 28px 32px 24px; clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, 0 100%); }
.acc-hello h1 { margin-bottom: 6px; }
.acc-hello > p { margin: 0 0 20px; max-width: 56ch; }
.acc-tiles { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px; }
.acc-tiles a { display: grid; min-width: 132px; padding: 12px 16px; background: var(--paper); border-radius: var(--r); text-decoration: none; }
.acc-tiles a:hover { color: inherit; box-shadow: 0 0 0 1.5px var(--ink); }
.acc-tiles b { font: 700 1.6rem/1.1 var(--display); }
.acc-tiles span { color: var(--soft); font-size: .9rem; }

.acc-todo, .acc-rows, .order-list, .order-items, .acc-reviews, .addresses { list-style: none; margin: 0; padding: 0; }
.acc-todo li { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.acc-todo .ico { width: 44px; height: 44px; border-radius: 50%; background: var(--mist); display: grid; place-items: center; color: var(--accent); }
.acc-todo p { margin: 0; color: var(--soft); font-size: .95rem; }
.acc-todo p b { display: block; color: var(--ink); font-size: 1rem; }
.acc-empty { background: var(--mist); border-radius: 14px; padding: 22px; }
.acc-empty p { margin: 0 0 14px; color: var(--soft); max-width: 60ch; }
.acc-empty p:last-child { margin-bottom: 0; }

/* comenzi */
.status { display: inline-block; padding: 3px 10px; border-radius: 999px; font: 600 .82rem var(--body); letter-spacing: 0; background: color-mix(in srgb, var(--st, #7a828c) 16%, #fff); color: color-mix(in srgb, var(--st, #7a828c) 70%, #000); vertical-align: middle; white-space: nowrap; }
.status.st-0 { --st: #3b82c4; } .status.st-1 { --st: #d98a00; } .status.st-2 { --st: #6f42c1; } .status.st-3 { --st: #1f7a4d; } .status.st-off { --st: #7a828c; }
.thumb { flex: none; width: 64px; height: 64px; background: var(--mist); display: grid; place-items: center; color: var(--soft); overflow: hidden;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 0 100%); }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.what { min-width: 0; display: grid; gap: 2px; }
.what small { color: var(--soft); overflow-wrap: anywhere; }
.what b a { text-decoration: none; }
.what b a:hover { text-decoration: underline; }
.order-list a { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto auto 20px; gap: 16px; align-items: center; padding: 14px 4px; border-bottom: 1px solid var(--line); text-decoration: none; }
.order-list a:hover { background: var(--mist); color: inherit; }
.order-list .what small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sum { white-space: nowrap; }
.order-box { border: 1.5px solid var(--line); border-radius: 14px; padding: 20px 22px; }
.order-top { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: baseline; margin: 0 0 4px; }
.order-top a { text-decoration: none; font-size: 1.1rem; }
.order-total { margin-left: auto; font-size: 1.1rem; }
.order-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 20px 0 0; }
.order-actions form { margin: 0; }
.steps { list-style: none; margin: 20px 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); font-size: .9rem; color: var(--soft); }
.steps li { position: relative; padding-top: 34px; text-align: center; }
.steps li::before { content: ""; position: absolute; top: 12px; left: -50%; width: 100%; height: 3px; background: var(--line); }
.steps li:first-child::before { display: none; }
.steps li.done::before { background: var(--ok); }
.steps .dot { position: absolute; top: 0; left: 50%; translate: -50% 0; width: 26px; height: 26px; border-radius: 50%; background: var(--paper); border: 3px solid var(--line); display: grid; place-items: center; color: #fff; z-index: 1; }
.steps li.done .dot { background: var(--ok); border-color: var(--ok); }
.steps li.now { color: var(--ink); font-weight: 700; }
.track { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: center; background: var(--mist); border-radius: var(--r); padding: 12px 16px; margin: 12px 0; }
.track > span { flex: 1; min-width: 200px; }
.account-main > h2 { margin-top: 32px; font-size: 1.25rem; }
.order-items li, .acc-rows li { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto auto; gap: 16px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.acc-rows li { grid-template-columns: 64px minmax(0, 1fr) auto; }
.acc-rows li > .what:first-child { grid-column: 1 / 3; }
.acc-rows form { margin: 0; }
.acc-rows + form, .acc-rows + p, .order-actions + p { margin-top: 16px; }
.order-items .q { color: var(--soft); white-space: nowrap; }
.mini { display: inline-flex; align-items: center; gap: 5px; font-size: .9rem; font-weight: 600; margin-top: 4px; width: fit-content; }
.mini.ok { color: var(--ok); font-weight: 400; }
.totals.narrow { max-width: 360px; margin-left: auto; }
.order-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--line); }
.order-facts h3 { margin-bottom: 6px; }
.order-facts p { margin: 0 0 8px; }

/* pareri, reduceri, adrese, siguranta */
.acc-reviews li { padding: 16px 0; border-bottom: 1px solid var(--line); }
.acc-reviews p { margin: 0 0 6px; }
.acc-reviews .top { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; }
.acc-reviews .reply { background: var(--mist); border-radius: var(--r); padding: 10px 14px; }
.acc-deal { display: flex; gap: 18px; align-items: center; background: var(--birch); padding: 20px 24px; margin: 0 0 8px; clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, 0 100%); }
.acc-deal > b { font: 700 2.2rem/1 var(--display); color: var(--cta); white-space: nowrap; }
.acc-deal p { margin: 0; flex: 1; }
.acc-deal strong { display: block; }
.acc-deal.soft { background: var(--mist); clip-path: none; border-radius: 14px; margin-top: 36px; flex-wrap: wrap; }
.acc-deal.soft svg { flex: none; color: var(--accent); }
code { font: 600 .95em ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; background: var(--mist); padding: 2px 6px; border-radius: 6px; }
.acc-deal code, .acc-rows code { background: var(--paper); border: 1px dashed #9aa6b3; }
.addresses { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.addresses li { background: var(--mist); border-radius: var(--r); padding: 16px; display: flex; flex-direction: column; gap: 8px; }
.addresses li.main { background: var(--paper); box-shadow: inset 0 0 0 1.5px var(--ink); }
.addresses p { margin: 0; }
.addresses .status { align-self: flex-start; }
.row-actions { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: auto; padding-top: 4px; }
.row-actions form { margin: 0; }
fieldset.acc-block { margin-bottom: 20px; }
.inline-form { display: flex; gap: 12px; align-items: flex-end; flex-wrap: wrap; }
.inline-form .field { flex: 1; min-width: 240px; margin-bottom: 0; }
.acc-danger summary { cursor: pointer; color: var(--bad); font-weight: 600; width: fit-content; }
.acc-danger form { margin-top: 14px; max-width: 420px; }
/* etapa 13: nivel de fidelitate, recomandari, lista de trimis, date importante, mesaje pe comanda, urmarirea comenzii */
.acc-level { margin: 0 0 18px; max-width: 460px; }
.acc-level p { margin: 0 0 8px; }
.acc-level small { color: var(--soft); }
.bar { height: 10px; background: color-mix(in srgb, var(--ink) 12%, transparent); border-radius: 5px; overflow: hidden; margin-bottom: 4px; }
.bar > span { display: block; height: 100%; background: var(--ok); border-radius: 5px; }
.acc-level.plain { max-width: 520px; }
a.acc-deal { text-decoration: none; }
a.acc-deal:hover { color: inherit; box-shadow: 0 0 0 1.5px var(--ink); }
.ref-teaser { margin-top: 36px; }
.copy-row { display: flex; gap: 10px; flex-wrap: wrap; margin: 0 0 12px; }
.copy-row input { flex: 1; min-width: 220px; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: var(--r); font: inherit; background: var(--mist); color: var(--ink); }
.copy-row .btn { display: inline-flex; align-items: center; gap: 8px; }
.share-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 0; }
.share-row .btn { display: inline-flex; align-items: center; gap: 6px; }
.share-row + .inline-form { margin-top: 20px; }
.acc-switch { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; background: var(--mist); border-radius: 14px; padding: 16px 20px; margin: 28px 0 0; }
.acc-switch > svg { flex: none; color: var(--accent); }
.acc-switch p { margin: 0; flex: 1; min-width: 200px; color: var(--soft); font-size: .95rem; }
.acc-switch p b { display: block; color: var(--ink); font-size: 1rem; }
.acc-block > .row-actions { margin-top: 14px; }
.thumb.day { grid-template-rows: auto auto; align-content: center; gap: 0; background: var(--birch); color: var(--ink); text-align: center; }
.thumb.day b { font: 700 1.35rem/1 var(--display); }
.thumb.day small { font-size: .78rem; }
.thread { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 10px; }
.thread li { max-width: 78%; padding: 12px 16px; border-radius: 14px; background: var(--mist); justify-self: start; }
.thread li.mine { background: var(--birch); justify-self: end; }
.thread p { margin: 0; overflow-wrap: anywhere; }
.thread .who { font-size: .82rem; color: var(--soft); margin-bottom: 4px; }
.narrow-page { max-width: 720px; padding-top: 32px; }
.narrow-page > h1 { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.1rem); }
.track-form { max-width: 420px; margin: 20px 0; }
.wish-head { padding: 32px 0 24px; max-width: 64ch; }
.wish-head .muted { display: flex; align-items: center; gap: 6px; margin: 0 0 4px; }
.card-flag { color: var(--ok); font-size: .88rem; font-weight: 600; margin: 0; }
.auth-perks { list-style: none; margin: 24px 0 0; padding: 20px 0 0; border-top: 1px solid var(--line); display: grid; gap: 10px; color: var(--soft); font-size: .95rem; }
.auth-perks li { display: flex; gap: 10px; align-items: flex-start; }
.auth-perks svg { flex: none; color: var(--accent); margin-top: 1px; }
.article h1 { margin-top: 8px; }
.article-img { width: 100%; margin: 16px 0 24px; }
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px var(--gap); }
.posts a { text-decoration: none; }
.posts img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; margin-bottom: 12px; clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, 0 100%); }
.posts h2 { font-size: 1.25rem; }
.more { margin-top: 40px; padding-top: 24px; border-top: 1.5px dashed #b9c2cc; }
.more li { margin-bottom: 8px; }
.contact { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 48px; }
.contact aside { background: var(--mist); border-radius: 14px; padding: 24px; align-self: start; }
.plain li { display: flex; gap: 8px; margin-bottom: 8px; align-items: flex-start; }
.plain .ico { margin-top: 4px; flex: none; }

/* ---------- subsol: banda de newsletter, sigla + suport, coloane, datele firmei ---------- */
.site-foot { --foot-line: rgb(255 255 255 / .16); --foot-soft: rgb(255 255 255 / .74); background: var(--ink); color: #fff; padding: 20px 0 22px; margin-top: 40px; }
.site-foot a { color: inherit; text-decoration: none; }
.site-foot a:hover { text-decoration: underline; }

.foot-band { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 28px 56px; align-items: center; background: var(--band); color: var(--band-ink); border-radius: 18px; padding: 30px 34px; }
.foot-band h2 { font-size: clamp(1.45rem, 1.1rem + 1.2vw, 1.9rem); margin: 0 0 .35em; color: inherit; }
.foot-band p { margin: 0; max-width: 46ch; }
.foot-band ul { display: flex; flex-wrap: wrap; gap: 8px 26px; margin: 16px 0 0; padding: 0; list-style: none; font-weight: 650; font-size: .93rem; }
.foot-band li { display: flex; align-items: center; gap: 8px; }
.foot-band label { display: block; font-weight: 700; font-size: .93rem; margin-bottom: 6px; }
.foot-band-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
.foot-band input[type=email] { background: #fff; border: 2px solid var(--band-ink); border-radius: 12px; min-height: 50px; padding-inline: 16px; }
.foot-band .btn { min-height: 50px; border-radius: 12px; padding-inline: 24px; }
.foot-band-note { font-size: .82rem; margin-top: 10px !important; max-width: none !important; }
.foot-band-note a, .foot-band a { text-decoration: underline; }
.foot-band .form-note { font-weight: 700; margin-top: 6px; }
.foot-band .form-note:empty { display: none; }

.foot-brand { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; padding: 26px 0 22px; border-bottom: 1px solid var(--foot-line); }
.foot-logo { display: inline-flex; align-items: center; background: #fff; color: var(--ink) !important; border-radius: 8px; padding: 9px 16px; text-decoration: none !important; }
.foot-logo img { max-height: 36px; width: auto; }
.foot-logo span { font: 750 1.4rem/1.1 var(--display); letter-spacing: -0.03em; }
.foot-support { display: flex; flex-wrap: wrap; gap: 8px 26px; margin: 0; padding: 0; list-style: none; font-size: .95rem; }
.foot-support li { display: flex; align-items: center; gap: 8px; }
.foot-support .ico { opacity: .75; flex: none; }

.foot-cols { display: grid; grid-template-columns: minmax(0, 1.55fr) repeat(4, minmax(0, 1fr)); gap: 32px 40px; padding: 30px 0 34px; border-bottom: 1px solid var(--foot-line); font-size: .93rem; }
.foot-cols h3 { font: 700 1rem/1.3 var(--body); letter-spacing: 0; margin: 0 0 14px; color: #fff; }
.foot-cols ul { margin: 0; padding: 0; list-style: none; }
.foot-cols li { margin-bottom: 9px; line-height: 1.35; }
.foot-cols nav a { color: var(--foot-soft); }
.foot-cols nav a:hover { color: #fff; }
.foot-about p { margin: 0 0 14px; max-width: 34ch; line-height: 1.55; }
.foot-about .foot-firm { font-size: .84rem; color: var(--foot-soft); }
.foot-about .foot-firm b { color: #fff; font-weight: 650; }
.social { display: flex; flex-wrap: wrap; gap: 6px 14px; }
.foot-base { margin: 18px 0 0; font-size: .84rem; color: var(--foot-soft); }

/* ---------- straturi: anunt, cookie, popup ---------- */
.scrim { position: fixed; inset: 0; z-index: 60; background: rgb(20 38 58 / .5); }
.toast { position: fixed; z-index: 90; left: 50%; bottom: 24px; translate: -50% 0; max-width: min(92vw, 460px); background: var(--ink); color: #fff; padding: 12px 18px; border-radius: var(--r); box-shadow: 0 12px 30px rgb(0 0 0 / .25); display: flex; gap: 14px; align-items: center; }
.toast a { color: #fff; font-weight: 700; white-space: nowrap; }
.toast.bad { background: var(--bad); }
.cookie { position: fixed; z-index: 80; left: 16px; bottom: 16px; max-width: 420px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 12px 30px rgb(20 38 58 / .18); padding: 16px; display: flex; gap: 14px; align-items: center; }
.cookie p { margin: 0; font-size: .9rem; }
.cookie .btn { white-space: nowrap; flex: none; }
.popup { position: fixed; inset: 0; z-index: 95; background: rgb(20 38 58 / .55); display: grid; place-items: center; padding: 16px; }
.popup-box { position: relative; background: #fff; width: min(100%, 520px); max-height: 90vh; overflow: auto; padding: 32px; clip-path: polygon(0 0, calc(100% - 32px) 0, 100% 32px, 100% 100%, 0 100%); }
.popup-close { position: absolute; right: 30px; top: 6px; }
.popup-box img { margin-bottom: 16px; }
.popup-box code { display: inline-block; padding: 8px 14px; border: 1.5px dashed var(--ink); font: 700 1.2rem var(--display); margin: 8px 0 14px; }

/* ---------- ecrane mici ---------- */
@media (max-width: 980px) {
  .only-mobile { display: inline-flex; }
  .head-main .wrap { display: flex; flex-wrap: wrap; gap: 8px 12px; padding-block: 10px; }
  .head-bar { display: none; }
  .home-top .wrap { display: block; padding-top: 12px; }
  .home-menu-space { display: none; }
  .home-hero.with-side { grid-template-columns: minmax(0, 1fr); }
  .carousel { height: auto; aspect-ratio: 16 / 9; max-height: 420px; }
  .hero-card { height: auto; min-height: 260px; }
  .hero-side { grid-template-rows: none; grid-template-columns: 1fr 1fr; height: auto; }
  .hero-side > * { aspect-ratio: 3 / 2; }
  .logo { margin-right: auto; }
  .search { order: 5; flex-basis: 100%; max-width: none; }
  .head-actions .icon-btn span { display: none; }
  .head-actions .icon-btn { padding: 8px; }
  .nav { display: block; position: fixed; inset: 0 auto 0 0; z-index: 70; width: min(86vw, 360px); background: #fff; border: 0; overflow-y: auto; translate: -100% 0; transition: translate .22s; visibility: hidden; }
  .nav.open { translate: 0 0; visibility: visible; }
  .nav .wrap { width: 100%; padding: 0 0 24px; }
  .nav-head { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; border-bottom: 1px solid var(--line); font: 650 1.1rem var(--display); }
  .nav .wrap > ul { display: block; }
  .nav .wrap > ul > li > a { padding: 14px 52px 14px 18px; border-bottom: 1px solid var(--line); }
  .nav .wrap > ul > li:hover > a, .nav .wrap > ul > li:focus-within > a { box-shadow: none; }
  .sub-toggle { top: 3px; right: 4px; translate: none; width: 46px; height: 46px; padding: 0; display: grid; place-items: center; }
  .nav .sub a { display: block; padding: 12px 8px; }
  .nav .sub ul ul a { padding-left: 22px; }
  .nav-head .icon-btn { min-width: 44px; min-height: 44px; }
  .sub { position: static; display: none; box-shadow: none; border: 0; border-radius: 0; background: var(--mist); padding: 6px 12px 10px; }
  .nav li:hover > .sub, .nav li:focus-within > .sub { display: none; }
  .nav li.open > .sub { display: block; }
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid.scroll { grid-auto-columns: minmax(180px, 38%); }
  .benefits ul { grid-template-columns: repeat(2, 1fr); }
  .nav-link a { color: var(--soft); }
  .list-layout { grid-template-columns: minmax(0, 1fr); }
  .filters { position: fixed; inset: 0 0 0 auto; z-index: 70; width: min(90vw, 380px); background: #fff; padding: 0 18px 24px; overflow-y: auto; translate: 100% 0; transition: translate .22s; visibility: hidden; }
  .filters.open { translate: 0 0; visibility: visible; }
  .filters-head { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; margin-bottom: 12px; border-bottom: 1px solid var(--line); font: 650 1.1rem var(--display); position: sticky; top: 0; background: #fff; z-index: 1; }
  .pd, .cart-layout, .checkout, .contact, .account, .hero-card { grid-template-columns: minmax(0, 1fr); }
  .gallery, .summary { position: static; }
  .account { gap: 20px; }
  .account-side { position: static; min-width: 0; }
  .account-who { display: none; }
  .account-nav { grid-auto-flow: column; overflow-x: auto; justify-content: start; gap: 6px; padding-bottom: 6px; scrollbar-width: thin; }
  .account-nav a { white-space: nowrap; background: var(--mist); padding: 8px 14px; }
  .account-nav a svg { display: none; }
  .account-nav form { border: 0; margin: 0; padding: 8px 6px; white-space: nowrap; }
  .foot-band { grid-template-columns: minmax(0, 1fr); padding: 26px 26px; }
  .foot-cols { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px 24px; }
  .foot-about { grid-column: 1 / -1; }
  .foot-about p { max-width: 70ch; }
  .voices ul, .posts { grid-template-columns: 1fr; }
  .hero-stack { max-width: 420px; margin-inline: auto; }
  .buy-bar { display: flex; }
  .page-product main { padding-bottom: 96px; }
}
@media (max-width: 600px) {
  :root { --gap: 14px; --cut: 16px; }
  .grid, .grid.three, .list-main .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px var(--gap); }
  .grid.scroll { grid-template-columns: none; grid-auto-columns: 46%; }
  .card .btn { align-self: stretch; padding: 0 8px; }
  .cols, .cols.three { grid-template-columns: minmax(0, 1fr); }
  .toolbar { flex-wrap: wrap; }
  .sort label { display: none; }
  .lines > li { grid-template-columns: 72px minmax(0, 1fr) 36px; grid-template-areas: "img main del" "img qty total"; gap: 8px 12px; }
  .line-img { width: 72px; height: 72px; grid-area: img; align-self: start; }
  .line-main { grid-area: main; }
  .lines .qty { grid-area: qty; justify-self: start; }
  .line-total { grid-area: total; grid-column: 2 / 4; align-self: center; }
  .line-del { grid-area: del; }
  .line.gift > span:empty { display: none; }
  .summary { padding: 18px; margin-inline: -4px; }
  .foot-band { padding: 22px 18px; border-radius: 14px; }
  .foot-band ul { flex-direction: column; gap: 8px; }
  .foot-band-row { grid-template-columns: minmax(0, 1fr); }
  .foot-brand { flex-direction: column; align-items: flex-start; }
  .foot-support { flex-direction: column; gap: 10px; }
  .foot-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 20px; }
  .foot-cols li { margin-bottom: 4px; }
  .foot-cols nav a { display: inline-block; padding-block: 6px; }   /* tinta de atingere mai inalta pe telefon */
  .pairs > div { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .order-list a { grid-template-columns: 52px minmax(0, 1fr) 20px; gap: 12px; }
  .order-list .status { grid-column: 2; justify-self: start; }
  .order-list .sum { grid-column: 2; }
  .order-list a > svg { grid-column: 3; grid-row: 1 / 4; }
  .order-list .thumb { grid-row: 1 / 4; align-self: start; }
  .thumb { width: 52px; height: 52px; }
  .order-items li { grid-template-columns: 52px minmax(0, 1fr) auto; gap: 4px 12px; }
  .order-items .q { grid-column: 2; }
  .order-items .sum { grid-column: 3; grid-row: 1; align-self: start; }
  .acc-rows li { grid-template-columns: 52px minmax(0, 1fr); gap: 8px 12px; }
  .acc-rows li > :last-child:not(.what) { grid-column: 1 / -1; justify-self: start; }
  .acc-rows li > .what:first-child { grid-column: 1 / -1; }
  .acc-todo li { grid-template-columns: 44px minmax(0, 1fr); }
  .acc-todo .btn { grid-column: 2; justify-self: start; }
  .acc-hello { padding: 22px 20px 20px; }
  .acc-tiles a { min-width: 0; flex: 1 1 40%; }
  .order-facts { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .steps { font-size: .78rem; }
  .totals.narrow { max-width: none; }
  .acc-deal { flex-wrap: wrap; padding: 18px; }
  .thread li { max-width: 92%; }
  .copy-row .btn { flex: 1; justify-content: center; }
  .cookie { left: 8px; right: 8px; bottom: 8px; max-width: none; }
  .buy-row { flex-wrap: wrap; }
  .slide img { aspect-ratio: 4 / 3; }
  .popup-box { padding: 24px 20px; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
  .card:hover .card-img img { scale: 1; }
}

/* ---------- Magazin in constructie ---------- */
.closed { min-height: 100vh; display: grid; place-items: center; padding: 24px 16px; background: var(--mist); }
.closed-box { width: min(100%, 520px); background: #fff; padding: 40px 32px; text-align: center; clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, 0 100%); }
.closed-logo { max-height: 56px; width: auto; margin: 0 auto 20px; }
.closed-name { font-family: var(--display); font-weight: 700; font-size: 1.3rem; margin: 0 0 16px; }
.closed h1 { margin: 0 0 10px; }
.closed p { color: var(--soft); margin: 0; }
.closed-form { margin-top: 28px; padding-top: 22px; border-top: 1px dashed var(--line); text-align: left; }
.closed-form label { display: block; font-weight: 600; margin-bottom: 6px; }
.closed-row { display: flex; gap: 8px; }
.closed-row input { flex: 1; min-width: 0; }
@media (max-width: 480px) { .closed-row { flex-direction: column; } .closed-box { padding: 32px 20px; } }

/* imagine care nu s-a incarcat: cadrul ramane, fara iconita de imagine rupta */
img.img-missing { visibility: hidden; }

/* pe telefon avantajele raman doar cu titlul, ca produsele sa urce mai sus pe ecran */
@media (max-width: 600px) {
  .benefits ul { gap: 12px 14px; padding-block: 14px; margin-top: 20px; }
  .benefits li { align-items: center; gap: 10px; }
  .benefits li span { display: none; }
  .benefits b { font-size: .95rem; line-height: 1.25; }
}

/* ---------- Etapa 7: pret anterior, livrare estimata, anunt stoc, poza clientului, previzualizare gravura, producator ---------- */
.pd-omnibus { margin: -6px 0 12px; font-size: 13px; }
.pd-delivery { color: var(--ink); }
.notify { margin: 14px 0 6px; padding: 14px; border: 1px solid var(--line); border-radius: var(--r, 10px); background: var(--soft, #faf7f2); }
.notify-title { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; }
.notify-row { display: flex; gap: 8px; }
.notify-row input { flex: 1 1 auto; min-width: 0; }
.notify-msg { margin: 8px 0 0; font-size: 14px; color: var(--ok, #2f6b2f); }
.notify-msg.bad { color: var(--bad, #b3261e); }
.upload input[type=file] { width: 100%; max-width: 100%; }
.upload-state { display: flex; align-items: center; gap: 10px; margin: 8px 0 0; font-size: 14px; }
.upload-state img { width: 64px; height: 64px; object-fit: cover; border-radius: 6px; border: 1px solid var(--line); }
.gallery-main { position: relative; }
.engrave { position: absolute; z-index: 2; display: flex; align-items: center; justify-content: center; pointer-events: none; overflow: hidden; text-align: center; transform-origin: center; }
.engrave span { display: block; max-width: 100%; line-height: 1.1; white-space: pre-wrap; overflow-wrap: anywhere; text-shadow: 0 1px 0 rgba(255,255,255,.25); }
.engrave.is-sample span { opacity: .45 !important; }
@media (max-width: 560px) { .notify-row { flex-direction: column; } }

/* descrierea metodei de plata (scrisa cu editorul din Apps): culorile si formatarea ei se pastreaza */
.pay-desc { display: block; font-size: .88rem; line-height: 1.45; color: var(--soft); margin-top: 3px; }
.pay-desc p { margin: 0 0 .35em; }
.pay-desc p:last-child { margin-bottom: 0; }
.pay-desc a { text-decoration: underline; }
.pay-desc img { max-width: 100%; height: auto; }
