:root {
  --bg: #0b0a09;
  --bg-2: #13110f;
  --bg-3: #1b1815;
  --line: rgba(201, 164, 106, .22);
  --line-soft: rgba(255, 255, 255, .08);
  --gold: #c9a46a;
  --gold-2: #e6c88f;
  --gold-3: #9c7a45;
  --text: #ede7dd;
  --muted: #9a9286;
  --well: #d4cab9;
  /* fundalul pozelor de produs: bej-gri cald, ca produsele albe să se vadă (pozele au fundal transparent) */
  --well-bg: radial-gradient(120% 100% at 50% 30%, #e7e0d3 0%, #d4cab9 60%, #c3b7a3 100%);
  --radius: 14px;
  --header-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Montserrat", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
/* push the near-white JPEG backgrounds to pure white so multiply blends them into the well */
.cat__imgs img, .showcase__stage img, .card__media img, .modal__media img, .drawer__thumb img { filter: brightness(1.07) contrast(1.1); }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; }
:focus-visible { outline: 2px solid var(--gold-2); outline-offset: 3px; border-radius: 4px; }

/* lățimea paginii: marginile laterale sunt jumătate din cât ar fi la 1240px fix */
:root { --page-w: calc(50vw + 620px); }
.container { width: min(var(--page-w), 100% - 32px); margin-inline: auto; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.eyebrow {
  margin: 0 0 10px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; padding: 0 28px;
  border-radius: 8px;
  font-weight: 700; font-size: 15px; letter-spacing: .02em;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s, border-color .25s;
}
.btn--gold {
  background: linear-gradient(180deg, var(--gold-2), var(--gold) 55%, var(--gold-3));
  color: #17120b;
  box-shadow: 0 8px 30px -10px rgba(201, 164, 106, .55), inset 0 1px 0 rgba(255,255,255,.35);
}
.btn--gold:hover { transform: translateY(-2px); box-shadow: 0 14px 36px -12px rgba(201, 164, 106, .7), inset 0 1px 0 rgba(255,255,255,.35); }
.btn--ghost { border: 1px solid var(--line); color: var(--text); }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold-2); }
.btn--block { width: 100%; }

/* ===== Header ===== */
.header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  background: rgba(11, 10, 9, .82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.header__inner {
  height: 100%;
  width: min(1320px, 100% - 32px); margin-inline: auto;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
}
.nav { display: flex; gap: 32px; font-size: 14px; font-weight: 500; }
.nav a { position: relative; padding: 6px 0; color: var(--text); transition: color .2s; }
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav a:hover { color: var(--gold-2); }
.nav a:hover::after { transform: scaleX(1); }

.logo { display: inline-flex; align-items: center; gap: 12px; color: var(--gold); }
.logo__mark { width: 34px; height: 34px; display: grid; place-items: center; border: 1.2px solid currentColor; border-radius: 50%; font-weight: 700; font-size: 16px; line-height: 1; }
.logo__text {
  white-space: nowrap;
  font-weight: 800; font-size: 26px; letter-spacing: .14em;
  background: linear-gradient(180deg, #f3dcab, var(--gold) 50%, #a37f48);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.logo__text--sm { font-size: 18px; }

.header__right { display: flex; justify-content: flex-end; align-items: center; gap: 22px; }
.header__phone { display: flex; flex-direction: column; align-items: flex-end; line-height: 1.25; font-size: 13px; }
.header__phone strong { color: var(--gold-2); font-weight: 600; }
.header__phone span { color: var(--muted); font-size: 12px; }
.cart-btn { position: relative; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; transition: background .2s; }
.cart-btn:hover { background: rgba(201,164,106,.12); }
.cart-btn svg { width: 24px; height: 24px; color: var(--text); }
.cart-btn__count {
  position: absolute; top: 2px; right: 0;
  min-width: 18px; height: 18px; padding: 0 5px;
  border-radius: 9px; background: var(--gold); color: #17120b;
  font-size: 11px; font-weight: 700; line-height: 18px; text-align: center;
}
.cart-btn__count.bump { animation: bump .4s var(--ease); }
@keyframes bump { 50% { transform: scale(1.35); } }

.burger { display: none; width: 40px; height: 40px; position: relative; }
.burger span { position: absolute; left: 9px; right: 9px; height: 1.5px; background: var(--text); transition: transform .3s var(--ease), top .3s var(--ease); }
.burger span:nth-child(1) { top: 15px; }
.burger span:nth-child(2) { top: 24px; }
.burger[aria-expanded="true"] span:nth-child(1) { top: 19.5px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { top: 19.5px; transform: rotate(-45deg); }

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: min(760px, calc(100vh - var(--header-h)));
  display: flex; align-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.hero__media { position: absolute; inset: 0 0 0 auto; width: 58%; }
.hero__media img {
  width: 100%; height: 100%; object-fit: cover; object-position: center;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 35%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 35%);
  animation: heroZoom 14s ease-out both;
}
@keyframes heroZoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse at 15% 40%, rgba(201,164,106,.10), transparent 55%);
}
.hero__content { position: relative; padding: 64px 0 72px; }
.hero__content > * { max-width: 520px; }
.hero__title {
  margin: 0;
  font-size: clamp(56px, 7.4vw, 100px); line-height: .95; font-weight: 800; letter-spacing: .04em;
  background: linear-gradient(180deg, #f6e2b5 0%, var(--gold) 55%, #8f6d3c 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__subtitle { margin: 14px 0 0; font-size: clamp(20px, 2.4vw, 30px); font-weight: 500; }
.hero__lead { margin: 18px 0 0; color: var(--muted); font-size: 16px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero__stats { display: flex; gap: 36px; margin: 48px 0 0; padding: 22px 0 0; list-style: none; border-top: 1px solid var(--line); }
.hero__stats strong { display: block; font-size: 28px; font-weight: 700; color: var(--gold-2); line-height: 1.1; }
.hero__stats span { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .12em; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* ===== Sections ===== */
.section { padding: 88px 0; }
.section--band { background: var(--bg-2); border-block: 1px solid var(--line); }
.section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 36px; }
.section__head--wrap { flex-wrap: wrap; }
.section__title { margin: 0; font-size: clamp(26px, 3.2vw, 40px); line-height: 1.15; font-weight: 600; letter-spacing: -.01em; }

/* ===== Categories ===== */
.cats { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.cat {
  display: grid; grid-template-rows: 1fr auto; height: 340px;
  border-radius: var(--radius); overflow: hidden; text-align: left;
  background: var(--bg-2); border: 1px solid var(--line-soft);
  transition: border-color .3s;
}
.cat:hover { border-color: var(--line); }
.cat__imgs { min-height: 0; display: flex; align-items: flex-end; justify-content: center; padding: 24px 20px 0; background: var(--well-bg); overflow: hidden; }
.cat__imgs img { height: 82%; width: auto; max-width: 34%; object-fit: contain; object-position: bottom; transition: transform .6s var(--ease); }
.cat__imgs img + img { margin-left: -4%; }
.cat__imgs img:nth-child(2) { height: 96%; }
.cat:hover .cat__imgs img { transform: translateY(-6px); }
.cat:hover .cat__imgs img:nth-child(2) { transform: translateY(-10px) scale(1.03); }
.cat__body { display: flex; flex-direction: column; gap: 2px; padding: 16px 20px 18px; }
.cat__name { font-size: 20px; font-weight: 700; display: flex; align-items: center; gap: 8px; }
.cat__name svg { width: 18px; height: 18px; color: var(--gold); transition: transform .3s var(--ease); }
.cat:hover .cat__name svg { transform: translateX(4px); }
.cat__meta { font-size: 13px; color: var(--gold); letter-spacing: .06em; }

/* ===== Carousel ===== */
.arrows { display: flex; gap: 10px; flex-shrink: 0; }
.arrow {
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--text); color: #111;
  transition: background .2s, transform .2s;
}
.arrow:hover { background: var(--gold-2); transform: scale(1.06); }
.arrow:disabled { opacity: .35; cursor: default; transform: none; }
.arrow svg { width: 18px; height: 18px; }
/* ===== Recomandate: vitrină cu un produs mare =====
   Totul e în auriul site-ului; culoarea produsului (--accent) dă doar o nuanță discretă luminii din spate */
.showcase {
  --accent: #c9a46a;
  --tint: color-mix(in srgb, var(--accent) 25%, #c9a46a);
  --glow: color-mix(in srgb, var(--tint) 24%, transparent);
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px);
  align-items: center;
  padding: clamp(20px, 3vw, 36px);
  border-radius: calc(var(--radius) * 1.5);
  border: 1px solid var(--line-soft);
  background:
    radial-gradient(70% 80% at 28% 50%, rgba(201, 164, 106, .06) 0%, transparent 70%),
    linear-gradient(180deg, #1b1814 0%, #110e0b 100%);
  transition: background .8s var(--ease);
}
.showcase__stage {
  position: relative; isolation: isolate;
  aspect-ratio: 1 / 1; width: 100%; max-width: 420px; justify-self: center;
  display: grid; place-items: center;
  cursor: zoom-in;
}
.showcase__glow {
  position: absolute; z-index: -1; inset: 20%;
  border-radius: 50%;
  background: radial-gradient(circle, var(--glow) 0%, transparent 66%);
  filter: blur(34px);
  animation: scBreathe 5s ease-in-out infinite;
  transition: background .8s var(--ease);
}
@keyframes scBreathe { 50% { transform: scale(1.05); opacity: .85; } }
.showcase__stage img {
  position: absolute; left: 11%; top: 8%; width: 78%; height: 78%; object-fit: contain;
  filter: drop-shadow(0 26px 30px rgba(0,0,0,.45));
  animation: scFloat 6s ease-in-out infinite;
}
@keyframes scFloat { 50% { transform: translateY(-10px); } }
.showcase__floor {
  position: absolute; z-index: -1; left: 50%; bottom: 7%; width: 44%; height: 22px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse, rgba(0,0,0,.7) 0%, transparent 70%);
}
/* intrarea fiecărui produs nou */
.showcase.is-in .showcase__stage img { animation: scIn .8s var(--ease) both, scFloat 6s ease-in-out .8s infinite; }
.showcase.is-in .showcase__info > :not(.showcase__picks):not(.showcase__progress) { animation: scText .6s var(--ease) both; }
.showcase.is-in .showcase__name { animation-delay: .05s; }
.showcase.is-in .showcase__desc { animation-delay: .1s; }
.showcase.is-in .showcase__price { animation-delay: .15s; }
.showcase.is-in .showcase__actions { animation-delay: .2s; }
@keyframes scIn { from { opacity: 0; transform: translateY(26px) scale(.94) rotate(-3deg); } }
@keyframes scText { from { opacity: 0; transform: translateY(12px); } }

.showcase__info { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.showcase__meta { font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.showcase__name { margin: 0; font-size: clamp(26px, 3.2vw, 42px); line-height: 1.1; letter-spacing: -.01em; }
.showcase__desc {
  margin: 0; color: var(--muted); font-size: 15px; line-height: 1.6; max-width: 46ch;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.showcase__price { font-size: 22px; font-weight: 700; color: var(--gold-2); }
.showcase__actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 4px; }
.showcase__actions .btn:disabled { opacity: .5; cursor: not-allowed; transform: none; box-shadow: none; }

.showcase__picks { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 10px; }
.showcase__pick {
  width: 58px; height: 58px; padding: 6px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center; overflow: hidden;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--line-soft);
  transition: transform .3s var(--ease), border-color .3s var(--ease), background .3s var(--ease);
}
.showcase__pick img { max-width: 100%; max-height: 100%; object-fit: contain; opacity: .7; transition: opacity .3s; }
.showcase__pick:hover { transform: translateY(-3px); }
.showcase__pick:hover img, .showcase__pick[aria-selected="true"] img { opacity: 1; }
.showcase__pick[aria-selected="true"] {
  border-color: var(--gold);
  background: rgba(201, 164, 106, .1);
}
.showcase__progress { height: 2px; border-radius: 2px; background: var(--line-soft); overflow: hidden; }
.showcase__progress span { display: block; height: 100%; width: 100%; background: var(--gold); transform-origin: left; transform: scaleX(0); }
.showcase__progress span.is-running { animation: scBar linear forwards; }
.showcase.is-paused .showcase__progress span { animation-play-state: paused; }
@keyframes scBar { to { transform: scaleX(1); } }

@media (max-width: 820px) {
  .showcase { grid-template-columns: 1fr; text-align: left; }
  .showcase__stage { max-width: 380px; margin: 0 auto; }
  .showcase__pick { width: 50px; height: 50px; }
}
@media (prefers-reduced-motion: reduce) {
  .showcase *, .showcase.is-in * { animation: none !important; }
}
.dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; box-shadow: 0 0 0 3px rgba(0,0,0,.06); }

/* ===== Catalog ===== */
.search {
  display: flex; align-items: center; gap: 10px;
  width: min(380px, 100%); height: 48px; padding: 0 16px;
  border: 1px solid var(--line); border-radius: 10px; background: var(--bg-2);
  transition: border-color .2s;
}
.search:focus-within { border-color: var(--gold); }
.search svg { width: 18px; height: 18px; color: var(--muted); flex-shrink: 0; }
.search input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: none; color: var(--text); font: inherit; font-size: 14px; }
.search input::placeholder { color: #6f685e; }

.chips { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 28px; }
.chip {
  height: 40px; padding: 0 18px; border-radius: 20px;
  border: 1px solid var(--line-soft); background: var(--bg-2);
  font-size: 14px; font-weight: 500; color: var(--muted);
  transition: all .2s;
}
.chip span { opacity: .6; margin-left: 4px; }
.chip:hover { color: var(--text); border-color: var(--line); }
.chip[aria-selected="true"] { background: var(--gold); border-color: var(--gold); color: #17120b; font-weight: 600; }

.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.card {
  display: flex; flex-direction: column;
  border-radius: var(--radius); overflow: hidden;
  background: var(--bg-2); border: 1px solid var(--line-soft);
  transition: border-color .3s, transform .4s var(--ease);
  animation: cardIn .5s var(--ease) both;
}
@keyframes cardIn { from { opacity: 0; transform: translateY(12px); } }
.card:hover { border-color: var(--line); transform: translateY(-4px); }
.card__media {
  position: relative; aspect-ratio: 1 / 1; background: var(--well-bg);
  display: grid; place-items: center; padding: 22px; cursor: pointer;
}
.card__media img { position: absolute; inset: 22px; width: calc(100% - 44px); height: calc(100% - 44px); object-fit: contain; transition: transform .5s var(--ease); }
.card:hover .card__media img { transform: scale(1.05); }
.card__badge {
  position: absolute; top: 12px; left: 12px;
  padding: 4px 10px; border-radius: 6px;
  background: #17120b; color: var(--gold-2);
  font-size: 11px; font-weight: 700; letter-spacing: .08em;
}
.card__body { padding: 16px 16px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card__cat { font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.card__name { margin: 0; font-size: 16px; font-weight: 600; line-height: 1.3; display: flex; align-items: center; gap: 8px; cursor: pointer; }
.card__meta { font-size: 12px; color: var(--muted); }
.card__foot { margin-top: auto; padding-top: 10px; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.card__price { font-size: 13px; color: var(--muted); }
.add {
  height: 38px; padding: 0 14px; border-radius: 8px;
  border: 1px solid var(--line); color: var(--gold-2);
  font-size: 13px; font-weight: 600;
  transition: all .2s;
}
.add:hover { background: var(--gold); border-color: var(--gold); color: #17120b; }
.add.is-added { background: rgba(201,164,106,.14); }
.add:disabled, .add:disabled:hover { opacity: .45; cursor: not-allowed; background: transparent; border-color: currentColor; color: inherit; }
.qty button:disabled, #mAdd:disabled { opacity: .4; cursor: not-allowed; }
.empty { color: var(--muted); text-align: center; padding: 40px 0; }

/* ===== Salon ===== */
.salon {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 0;
  border: 1px solid var(--line); border-radius: 20px; overflow: hidden;
  background: var(--bg-2);
}
.salon__media img { width: 100%; height: 100%; object-fit: cover; min-height: 360px; }
.salon__body { padding: clamp(28px, 5vw, 64px); }
.salon__body .section__title { margin-bottom: 28px; }
.perks { list-style: none; margin: 0 0 32px; padding: 0; display: grid; gap: 20px; }
.perks li { display: flex; gap: 18px; }
.perks__num { color: var(--gold); font-weight: 700; font-size: 14px; padding-top: 2px; min-width: 24px; }
.perks strong { font-weight: 600; }
.perks p { margin: 2px 0 0; color: var(--muted); font-size: 14px; }

/* ===== Contact ===== */
.contact { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; align-items: center; }
.contact .section__title { margin-bottom: 12px; }
.contact__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.contact__card {
  padding: 22px; border-radius: var(--radius);
  border: 1px solid var(--line-soft); background: var(--bg-2);
  display: flex; flex-direction: column; gap: 6px;
  transition: border-color .2s;
}
a.contact__card:hover { border-color: var(--gold); }
.contact__card span { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.contact__card strong { font-weight: 600; font-size: 15px; }

/* ===== Footer ===== */
.footer { border-top: 1px solid var(--line); padding: 28px 0; font-size: 13px; color: var(--muted); }
.footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer a:hover { color: var(--gold-2); }

/* ===== Modal ===== */
.modal, .drawer { position: fixed; inset: 0; z-index: 100; }
.modal[hidden], .drawer[hidden] { display: none; }
.modal__backdrop, .drawer__backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.7); backdrop-filter: blur(4px); animation: fade .3s both; }
@keyframes fade { from { opacity: 0; } }
.modal__dialog {
  position: relative; margin: 6vh auto; width: min(880px, 100% - 32px);
  max-height: 88vh; overflow: auto;
  display: grid; grid-template-columns: 1fr 1fr;
  background: var(--bg-2); border: 1px solid var(--line); border-radius: 20px;
  animation: pop .4s var(--ease) both;
}
@keyframes pop { from { opacity: 0; transform: translateY(20px) scale(.98); } }
.modal__close {
  position: absolute; top: 12px; right: 12px; z-index: 2;
  width: 40px; height: 40px; border-radius: 50%;
  font-size: 26px; line-height: 1; color: var(--text); background: rgba(0,0,0,.35);
}
.modal__close:hover { background: var(--gold); color: #17120b; }
.modal__media { background: var(--well-bg); display: grid; place-items: center; padding: 40px; min-height: 360px; }
.modal__media img { width: 100%; height: 420px; object-fit: contain; }
.modal__body { padding: 40px 32px 32px; display: flex; flex-direction: column; }
.modal__title { margin: 0 0 12px; font-size: 26px; line-height: 1.2; display: flex; align-items: center; gap: 10px; }
.specs { margin: 20px 0; display: grid; gap: 0; border-top: 1px solid var(--line-soft); }
.specs div { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--line-soft); font-size: 14px; }
.specs div[hidden] { display: none; }
.specs dt { color: var(--muted); }
.specs dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; }
.qty-row { display: flex; align-items: center; gap: 16px; margin: 4px 0 18px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 10px; }
.qty button { width: 42px; height: 42px; font-size: 20px; color: var(--gold-2); }
.qty button:hover { background: rgba(201,164,106,.12); }
.qty output { min-width: 34px; text-align: center; font-weight: 700; }
.qty--sm button { width: 32px; height: 32px; font-size: 16px; }
.qty--sm output { min-width: 26px; font-size: 14px; }
.qty__input { width: 56px; height: 42px; border: 0; background: transparent; color: inherit; font: inherit; font-weight: 700; text-align: center; -moz-appearance: textfield; appearance: textfield; }
.qty__input::-webkit-outer-spin-button, .qty__input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty__input:focus { outline: 1px solid var(--gold-2); outline-offset: -1px; }
.qty--sm .qty__input { width: 44px; height: 32px; font-size: 14px; }

/* ===== Drawer ===== */
.drawer__panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(420px, 100%);
  background: var(--bg-2); border-left: 1px solid var(--line);
  display: flex; flex-direction: column;
  animation: slideIn .4s var(--ease) both;
}
@keyframes slideIn { from { transform: translateX(100%); } }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 20px 20px 16px 24px; border-bottom: 1px solid var(--line-soft); }
.drawer__head h3 { margin: 0; font-size: 20px; }
.drawer__head .modal__close { position: static; }
.drawer__list { list-style: none; margin: 0; padding: 8px 24px; overflow: auto; flex: 1; }
.drawer__list li { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line-soft); }
.drawer__thumb { width: 64px; height: 64px; border-radius: 10px; background: var(--well-bg); display: flex; align-items: center; justify-content: center; padding: 6px; overflow: hidden; }
.drawer__thumb img { width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; }
.drawer__name { font-size: 14px; font-weight: 600; line-height: 1.3; }
.drawer__sub { font-size: 12px; color: var(--muted); }
.drawer__right { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.drawer__remove { font-size: 12px; color: var(--muted); text-decoration: underline; }
.drawer__remove:hover { color: var(--gold-2); }
.drawer__foot { padding: 20px 24px 24px; border-top: 1px solid var(--line-soft); display: grid; gap: 10px; }
.drawer__foot[hidden] { display: none; }
.drawer__total { display: flex; justify-content: space-between; align-items: baseline; }
.drawer__total strong { color: var(--gold-2); }
.drawer__foot .muted { margin: 0 0 6px; }

.modal__dialog--sm {
  width: min(460px, 100% - 32px);
  display: block; padding: 32px 28px 28px;
}
.order-form__sub { margin: 0 0 20px; }
.order-form { display: grid; gap: 14px; }
.field { display: grid; gap: 6px; }
.field__label { font-size: 13px; font-weight: 500; color: var(--text); }
.field__input {
  width: 100%; padding: 12px 14px; border-radius: 10px;
  border: 1px solid var(--line); background: var(--bg); color: var(--text);
  font: inherit; font-size: 14px; transition: border-color .2s;
}
.field__input::placeholder { color: var(--muted); opacity: .7; }
.field__input:focus { outline: none; border-color: var(--gold); }
.order-form__err { margin: 0; font-size: 13px; color: #f06a6a; }
.order-form .btn { margin-top: 6px; }

/* ===== Toast ===== */
.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 200;
  transform: translate(-50%, 140%);
  padding: 12px 20px; border-radius: 10px;
  background: var(--text); color: #17120b; font-weight: 600; font-size: 14px;
  box-shadow: 0 10px 40px rgba(0,0,0,.5);
  transition: transform .4s var(--ease);
  pointer-events: none; white-space: nowrap;
  opacity: 0; visibility: hidden;
  transition: transform .4s var(--ease), opacity .3s, visibility .3s;
}
.toast.is-on { transform: translate(-50%, 0); opacity: 1; visibility: visible; }

/* ===== Responsive ===== */
@media (max-width: 1080px) {
  .grid { grid-template-columns: repeat(3, 1fr); }
  .header__phone { display: none; }
  .contact { grid-template-columns: 1fr; }
}

@media (max-width: 820px) {
  :root { --header-h: 64px; }
  .burger { display: block; }
  .header__inner { grid-template-columns: auto 1fr auto; gap: 8px; }
  .header__right { gap: 8px; }
  .header__login { padding: 6px 10px; font-size: 12px; white-space: nowrap; }
  .logo { justify-self: center; }
  .logo { gap: 8px; }
  .logo__text { font-size: 18px; letter-spacing: .1em; }
  .logo__mark { width: 28px; height: 28px; font-size: 13px; }
  .nav {
    position: fixed; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; gap: 0; padding: 8px 16px 20px;
    background: rgba(11,10,9,.97); border-bottom: 1px solid var(--line);
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: all .3s var(--ease);
  }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav a { padding: 14px 0; font-size: 17px; border-bottom: 1px solid var(--line-soft); }
  .nav a::after { display: none; }

  .hero { min-height: 0; align-items: flex-end; }
  .hero__media { position: relative; inset: auto; width: 100%; height: 300px; }
  .hero { flex-direction: column; align-items: stretch; }
  .hero__media img { -webkit-mask-image: linear-gradient(180deg, #000 60%, transparent 100%); mask-image: linear-gradient(180deg, #000 60%, transparent 100%); }
  .hero__content { padding: 0 0 48px; margin-top: -16px; }
  .hero__stats { gap: 24px; margin-top: 36px; }

  .section { padding: 64px 0; }
  .salon { grid-template-columns: 1fr; }
  .salon__media img { min-height: 220px; max-height: 280px; }
  .modal__dialog { grid-template-columns: 1fr; margin: 0; width: 100%; max-height: 100%; height: 100%; border-radius: 0; }
  .modal__media { min-height: 0; padding: 48px 24px 24px; }
  .modal__media img { height: 260px; }
  .modal__body { padding: 24px 20px 28px; }
}

@media (max-width: 600px) {
  .grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .cats { grid-template-columns: 1fr 1fr; gap: 12px; }
  .cat { height: 240px; }
  .cat__body { padding: 12px 14px 14px; }
  .cat__name { font-size: 16px; }
  .cat__meta { font-size: 12px; }
  .card__media img { inset: 12px; width: calc(100% - 24px); height: calc(100% - 24px); }
  .card__body { padding: 12px 12px 14px; }
  .card__name { font-size: 14px; }
  .card__cat { font-size: 10px; letter-spacing: .08em; }
  .card__foot { flex-direction: column; align-items: stretch; }
  .card__price { display: none; }
  .add { width: 100%; }
  .section__head { flex-direction: column; align-items: stretch; }
  .section__head .arrows { display: none; }
  .search { width: 100%; }
  .chips { flex-wrap: nowrap; overflow-x: auto; margin-inline: -16px; padding-inline: 16px; scrollbar-width: none; }
  .chips::-webkit-scrollbar { display: none; }
  .chip { flex-shrink: 0; }
  .contact__cards { grid-template-columns: 1fr; }
  .hero__stats strong { font-size: 24px; }
  .footer__inner { justify-content: center; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ===== Language switcher ===== */
.lang { display: inline-flex; align-items: center; gap: 2px; padding: 3px; border: 1px solid var(--line); border-radius: 999px; }
.lang button {
  min-width: 34px; height: 28px; padding: 0 8px; border-radius: 999px;
  font-size: 12px; font-weight: 600; letter-spacing: .06em; color: var(--muted);
  transition: background .2s, color .2s;
}
.lang button:hover { color: var(--text); }
.lang button[aria-pressed="true"] { background: var(--gold); color: #17120b; }
.lang--nav { display: none; }

@media (max-width: 820px) {
  .lang--header { display: none; }
  .nav .lang--nav { display: inline-flex; align-self: flex-start; margin-top: 18px; }
  .nav .lang--nav button { min-width: 48px; height: 36px; font-size: 14px; }
}


/* ===== Brands dropdown (header) ===== */
.nav__dd { position: relative; display: flex; align-items: center; }
.nav__dd-btn { display: inline-flex; align-items: center; gap: 6px; padding: 6px 0; font-size: 14px; font-weight: 500; color: var(--text); transition: color .2s; }
.nav__dd-btn:hover, .nav__dd.is-open .nav__dd-btn { color: var(--gold-2); }
.nav__dd-btn svg { width: 14px; height: 14px; transition: transform .25s var(--ease); }
.nav__dd.is-open .nav__dd-btn svg { transform: rotate(180deg); }
.dd {
  position: absolute; top: calc(100% + 18px); left: -14px; z-index: 60;
  min-width: 240px; padding: 8px;
  background: var(--bg-2); border: 1px solid var(--line); border-radius: 12px;
  box-shadow: 0 20px 50px -10px rgba(0,0,0,.7);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .2s, transform .2s var(--ease), visibility .2s;
}
.nav__dd.is-open .dd { opacity: 1; visibility: visible; transform: none; }
.nav .dd a { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 10px 12px; border-radius: 8px; font-size: 14px; }
.nav .dd a::after { display: none; }
.nav .dd a:hover { background: rgba(201,164,106,.1); }
.nav .dd a[aria-current="true"] { color: var(--gold-2); }
.dd__count { font-size: 12px; color: var(--muted); }
.dd hr { border: 0; border-top: 1px solid var(--line-soft); margin: 6px 4px; }

/* ===== Brands section ===== */
.brands { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; }
.brand-card {
  display: flex; flex-direction: column; gap: 14px; min-height: 260px; padding: 28px;
  border-radius: var(--radius); border: 1px solid var(--line-soft);
  background: linear-gradient(160deg, var(--bg-3), var(--bg-2));
  transition: border-color .3s, transform .4s var(--ease);
}
.brand-card:hover { border-color: var(--gold); transform: translateY(-4px); }
.brand-card__logo { height: 44px; display: flex; align-items: center; }
.brand-card__logo img { max-height: 44px; width: auto; }
.brand-card__word {
  font-weight: 800; font-size: 28px; letter-spacing: .12em; text-transform: uppercase;
  background: linear-gradient(180deg, #f3dcab, var(--gold) 50%, #a37f48);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.brand-card__desc { margin: 0; color: var(--muted); font-size: 14px; }
.brand-card__thumbs { display: flex; gap: 8px; }
.brand-card__thumbs span { width: 52px; height: 52px; border-radius: 10px; background: var(--well-bg); display: flex; align-items: center; justify-content: center; padding: 5px; overflow: hidden; }
.brand-card__thumbs img { width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; }
.brand-card__foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--muted); }
.brand-card__cta { display: inline-flex; align-items: center; gap: 6px; color: var(--gold-2); font-weight: 600; }
.brand-card__cta svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.brand-card:hover .brand-card__cta svg { transform: translateX(4px); }

.section--tight { padding-top: 0; }

/* ===== Catalog filters ===== */
.catalog__desc { margin: 10px 0 0; max-width: 560px; }
.filters { display: grid; gap: 12px; margin-bottom: 28px; }
.filter-row { display: flex; align-items: center; gap: 16px; min-width: 0; }
.filter-row .chips { min-width: 0; }
.filter-row__label { flex: 0 0 92px; font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.filters .chips { margin-bottom: 0; }
.drawer__brand { font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
.link { color: var(--gold-2); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.link:hover { color: var(--text); }

@media (max-width: 820px) {
  .nav__dd { flex-direction: column; align-items: stretch; }
  .nav__dd-btn { justify-content: space-between; padding: 14px 0; font-size: 17px; border-bottom: 1px solid var(--line-soft); }
  .dd {
    position: static; min-width: 0; padding: 4px 0 8px 12px; border: 0; border-radius: 0; background: none; box-shadow: none;
    display: none; opacity: 1; visibility: visible; transform: none;
  }
  .nav__dd.is-open .dd { display: block; }
  .nav .dd a { padding: 12px 8px; font-size: 16px; border-bottom: 0; }
}
@media (max-width: 600px) {
  .filter-row { flex-direction: column; align-items: stretch; gap: 8px; }
  .filter-row__label { flex: none; }
  .brand-card { min-height: 0; padding: 22px; }
}

/* ===== Admin ===== */
.btn--sm { padding: 8px 14px; font-size: 13px; }
.admin-body { min-height: 100vh; }
.admin-login[hidden], #dashView[hidden] { display: none; }
.admin-login {
  min-height: 100vh; display: grid; place-items: center; padding: 24px 16px;
}
.admin-card {
  width: min(420px, 100%); padding: 32px 28px;
  background: var(--bg-2); border: 1px solid var(--line); border-radius: 20px;
}
.admin-login__logo { margin-bottom: 18px; display: inline-flex; }
.admin-card__title { margin: 0 0 6px; font-size: 22px; }
.admin-card > .muted { margin: 0 0 20px; }
.admin-login__back { display: inline-block; margin-top: 18px; }
.admin-badge {
  font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  padding: 3px 8px; border-radius: 999px; border: 1px solid var(--line); color: var(--gold-2);
  vertical-align: middle; margin-left: 6px;
}
.admin-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
.admin-main { padding-top: 36px; padding-bottom: 64px; }
.admin-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 24px; }
.admin-stats { display: flex; gap: 12px; flex-wrap: wrap; }
.admin-stat {
  padding: 12px 16px; border-radius: 12px; background: var(--bg-2); border: 1px solid var(--line-soft);
  display: grid; gap: 2px; min-width: 96px;
}
.admin-stat strong { font-size: 20px; color: var(--gold-2); }
.admin-stat span { font-size: 12px; color: var(--muted); }
.admin-toolbar { margin-bottom: 24px; }
.admin-search { max-width: 460px; }
.admin-groups { display: grid; gap: 24px; }
.org-group {
  background: var(--bg-2); border: 1px solid var(--line); border-radius: 18px; overflow: hidden;
}
.org-group--unknown { border-style: dashed; }
.org-group__head {
  padding: 18px 22px; border-bottom: 1px solid var(--line-soft);
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  background: rgba(201,164,106,.05);
}
.org-group--unknown .org-group__head { background: rgba(255,255,255,.02); }
.org-group__title { margin: 0 0 2px; font-size: 18px; color: var(--gold-2); }
.org-group--unknown .org-group__title { color: var(--text); }
.org-group__head .muted { margin: 0; }
.org-group__list { display: grid; gap: 12px; padding: 16px 22px 22px; }
.order-card {
  padding: 16px; border-radius: 12px; background: var(--bg); border: 1px solid var(--line-soft);
  display: grid; gap: 12px;
}
.order-card__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; }
.order-card__name { display: block; font-size: 15px; margin-bottom: 2px; }
.order-card__phone { font-size: 13px; color: var(--gold-2); }
.order-card__meta { display: flex; align-items: center; gap: 12px; }
.order-card__items { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; border-top: 1px solid var(--line-soft); padding-top: 10px; }
.order-card__items li { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; }
.order-card__foot {
  display: flex; justify-content: space-between; align-items: center;
  border-top: 1px solid var(--line-soft); padding-top: 10px; font-size: 13px;
}
.order-card__foot strong { color: var(--gold-2); }
.admin-tabs { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 24px; }
.stock-list { display: grid; gap: 12px; }
.stock-row {
  display: flex; justify-content: space-between; align-items: center; gap: 18px; flex-wrap: wrap;
  padding: 16px 20px; border-radius: 14px; background: var(--bg-2); border: 1px solid var(--line-soft);
}
.stock-row__info { display: grid; gap: 3px; min-width: 220px; flex: 1; }
.stock-row__fields { display: flex; align-items: flex-end; gap: 10px; flex-wrap: wrap; }
.stock-row__fields .field { width: 120px; }
.stock-row__fields .field__input { padding: 8px 10px; font-size: 13px; }
.stock-row__thumb { width: 56px; height: 56px; flex: none; border-radius: 10px; background: var(--well-bg); display: flex; align-items: center; justify-content: center; padding: 4px; overflow: hidden; }
.stock-row__thumb img { width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; }
.stock-row__tools { display: flex; gap: 6px; align-items: center; }

/* ===== Editor produs (admin) ===== */
.product-dialog { width: min(760px, 100% - 32px); }
.product-form__img { display: flex; gap: 16px; align-items: center; }
.product-form__thumb { width: 96px; height: 96px; flex: none; border-radius: 12px; background: var(--well-bg); display: flex; align-items: center; justify-content: center; padding: 6px; overflow: hidden; }
.product-form__thumb img { width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; }
.product-form__thumb img:not([src]), .product-form__thumb img[src=""] { display: none; }
.product-form__img .field { flex: 1; }
.product-form__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 14px; }
.product-form__wide { grid-column: 1 / -1; }
.product-form__color { display: flex; gap: 8px; align-items: center; }
.product-form__color input[type="color"] { width: 44px; height: 44px; flex: none; border: 1px solid var(--line); border-radius: 10px; background: var(--bg); padding: 3px; cursor: pointer; }
.product-form__check { display: flex; gap: 8px; align-items: center; font-size: 14px; }
.product-form__actions { display: flex; justify-content: flex-end; gap: 10px; }
.product-form__actions .btn { margin-top: 0; }
textarea.field__input { resize: vertical; }
@media (max-width: 600px) { .product-form__grid { grid-template-columns: 1fr; } }

/* Pozele încărcate din admin pot avea fundal alb: îl topim în fundalul cartonașului */
img[src*="/uploads/"] { mix-blend-mode: multiply; }