/* Bijuteria Eros — vitrina.
   Directia vizuala: cutia de bijuterii captusita cu catifea. Fundal prun inchis,
   hairline auriu, lumina calda in spatele clipurilor — asa cum o vitrina de
   bijutier e intunecata, iar piesele sunt singurele lucruri luminate.
   Culorile vin din magazinul real: caramida calda, tavile de catifea roz-visinie,
   candelabrul de cristal. Semnatura paginii: eticheta de pret a bijutierului. */

:root {
  --bg:        #1B0F15;
  --bg-2:      #251720;
  --bg-3:      #2E1D27;
  --pearl:     #F6EFE9;
  --muted:     #B9A0AA;
  --gold:      #D8B27C;
  --gold-lo:   #A9855A;
  --rose:      #D9A2B0;
  --line:      rgba(216, 178, 124, .22);
  --line-soft: rgba(246, 239, 233, .10);
  --tag-paper: #EFE2D0;
  --tag-ink:   #2E1922;

  --shell: 1240px;
  --gap: clamp(14px, 1.6vw, 22px);
  --radius: 3px;

  --display: "Bodoni Moda", "Didot", "Bodoni MT", Georgia, serif;
  --body: "Jost", "Avenir Next", "Segoe UI", system-ui, sans-serif;

  --ease: cubic-bezier(.22, .61, .36, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 92px; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--pearl);
  font-family: var(--body);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Lumina calda difuza, ca reflexia candelabrului pe catifea */
body::before {
  content: "";
  position: fixed;
  inset: -20% -10% auto;
  height: 70vh;
  background: radial-gradient(60% 70% at 70% 0%, rgba(216, 178, 124, .10), transparent 70%),
              radial-gradient(50% 60% at 15% 10%, rgba(217, 162, 176, .08), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

img, video, svg { display: block; max-width: 100%; }

h1, h2, h3 { font-family: var(--display); font-weight: 400; margin: 0; }

a { color: inherit; }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 8px;
  z-index: 100;
  background: var(--gold);
  color: var(--tag-ink);
  padding: 10px 18px;
}
.skip:focus { left: 8px; }

/* ---------- primitive ---------- */

.eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 18px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 13px 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--body);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .06em;
  text-decoration: none;
  cursor: pointer;
  transition: background .25s var(--ease), color .25s var(--ease),
              border-color .25s var(--ease), transform .25s var(--ease);
}
.btn--gold { background: var(--gold); color: var(--tag-ink); }
.btn--gold:hover { background: #E9C793; transform: translateY(-1px); }
.btn--ghost { border-color: var(--line); color: var(--pearl); }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn--sm { padding: 9px 16px; font-size: 13px; }

.ico { width: 17px; height: 17px; fill: currentColor; flex: none; }

/* Rama vitrinei: clipul 9:16 asezat pe catifea, cu un fir auriu in jur */
.frame {
  display: block;
  position: relative;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--bg-3);
  border: 1px solid var(--line-soft);
  box-shadow: 0 18px 40px -22px rgba(0, 0, 0, .9);
}
.frame img,
.frame video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.frame video {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .45s var(--ease);
}
.frame video.is-playing { opacity: 1; }

/* ---------- bara de sus ---------- */

.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(27, 15, 21, .86);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-soft);
}
.topbar__in {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 12px clamp(16px, 4vw, 40px);
  display: flex;
  align-items: center;
  gap: 24px;
}

.wordmark {
  display: grid;
  justify-items: center;
  line-height: .95;
  text-decoration: none;
  flex: none;
}
.wordmark__name {
  font-family: var(--display);
  font-size: 27px;
  letter-spacing: .16em;
  text-indent: .16em;
  color: var(--pearl);
}
.wordmark__sub {
  font-size: 9px;
  font-weight: 400;
  letter-spacing: .42em;
  text-indent: .42em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 4px;
}

.topnav { flex: 1; min-width: 0; }
.topnav ul {
  display: flex;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
  overflow-x: auto;
  scrollbar-width: none;
  justify-content: center;
}
.topnav ul::-webkit-scrollbar { display: none; }
.topnav a {
  display: block;
  padding: 7px 13px;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: .13em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--muted);
  white-space: nowrap;
  border-radius: 999px;
  transition: color .2s var(--ease), background .2s var(--ease);
}
.topnav a:hover { color: var(--pearl); background: var(--bg-2); }

/* ---------- hero ---------- */

.hero {
  position: relative;
  z-index: 1;
  max-width: var(--shell);
  margin: 0 auto;
  padding: clamp(48px, 8vw, 104px) clamp(16px, 4vw, 40px) clamp(56px, 8vw, 96px);
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(32px, 6vw, 88px);
  align-items: center;
}

.hero__title {
  font-size: clamp(52px, 8.5vw, 104px);
  line-height: .92;
  letter-spacing: -.01em;
  margin: 0 0 26px;
}
.hero__title em {
  font-style: italic;
  color: var(--gold);
}

.hero__lede {
  max-width: 46ch;
  color: var(--muted);
  margin: 0 0 32px;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 44px;
}

.facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin: 0;
  border-top: 1px solid var(--line-soft);
  padding-top: 22px;
}
.facts > div { padding-right: 32px; margin-right: 32px; border-right: 1px solid var(--line-soft); }
.facts > div:last-child { border-right: 0; margin-right: 0; padding-right: 0; }
.facts dt {
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 5px;
}
.facts dd {
  font-family: var(--display);
  font-size: 23px;
  color: var(--gold);
  margin: 0;
}

.hero__media { margin: 0; position: relative; }
.hero__media .frame { max-height: min(70vh, 620px); box-shadow: 0 40px 80px -40px #000, 0 0 90px -30px rgba(216, 178, 124, .22); }
.hero__media figcaption {
  margin-top: 16px;
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: center;
}

/* ---------- catalog ---------- */

.catalog { position: relative; z-index: 1; }

.shelf {
  max-width: var(--shell);
  margin: 0 auto;
  padding: clamp(40px, 6vw, 72px) clamp(16px, 4vw, 40px);
  border-top: 1px solid var(--line-soft);
}

.shelf__head {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-bottom: clamp(26px, 4vw, 44px);
}
.section__title,
.shelf__title {
  font-size: clamp(30px, 4.4vw, 46px);
  line-height: 1.05;
  letter-spacing: .01em;
}
.shelf__note {
  font-size: 13px;
  letter-spacing: .1em;
  text-transform: lowercase;
  color: var(--gold);
  margin: 0;
}
.shelf__count {
  margin: 0 0 0 auto;
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}

.grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: calc(var(--gap) * 1.6) var(--gap);
}

/* ---------- piesa ---------- */

.piece {
  position: relative;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.piece.is-in { opacity: 1; transform: none; }

.piece__media {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  transition: transform .4s var(--ease);
}
.piece__media .frame { transition: border-color .4s var(--ease), box-shadow .4s var(--ease); }
.piece:hover .piece__media { transform: translateY(-4px); }
.piece:hover .frame,
.piece__media:focus-visible .frame {
  border-color: var(--line);
  box-shadow: 0 26px 50px -26px #000, 0 0 46px -18px rgba(216, 178, 124, .35);
}

.piece__figure { position: relative; }

/* Semnatura: eticheta de pret prinsa de piesa, ca in vitrina magazinului */
.piece__tag {
  position: absolute;
  left: 12px;
  bottom: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 5px 12px 5px 8px;
  background: var(--tag-paper);
  color: var(--tag-ink);
  border-radius: 2px 8px 8px 2px;
  box-shadow: 0 6px 14px -6px rgba(0, 0, 0, .8);
  transform: translateY(52%) rotate(-2.5deg);
  transform-origin: left center;
  transition: transform .4s var(--ease);
}
.piece:hover .piece__tag { transform: translateY(52%) rotate(-5deg); }
.piece__tag::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--bg);
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, .6);
  flex: none;
}
.piece__price {
  font-family: var(--display);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: .02em;
  white-space: nowrap;
}
.piece__price--ask {
  font-family: var(--body);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.piece__body { padding: 22px 2px 0; }
.piece__name {
  font-size: 20px;
  line-height: 1.2;
  margin-bottom: 6px;
}
.piece__blurb {
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
  margin: 0 0 14px;
}

.piece__wa {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: border-color .25s var(--ease), color .25s var(--ease);
}
.piece__wa:hover { border-bottom-color: var(--gold); }
.piece__wa .ico { width: 14px; height: 14px; }

/* ---------- cum comanzi ---------- */

.steps {
  position: relative;
  z-index: 1;
  max-width: var(--shell);
  margin: 0 auto;
  padding: clamp(56px, 8vw, 96px) clamp(16px, 4vw, 40px);
  border-top: 1px solid var(--line-soft);
}
.steps__list {
  list-style: none;
  margin: clamp(28px, 4vw, 44px) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 4vw, 52px);
}
.steps__list li { position: relative; padding-top: 20px; border-top: 1px solid var(--line); }
.steps__no {
  font-family: var(--display);
  font-size: 13px;
  color: var(--gold);
  letter-spacing: .1em;
}
.steps__list h3 { font-size: 24px; margin: 8px 0 8px; }
.steps__list p { margin: 0; color: var(--muted); font-size: 15px; }
.steps__note {
  margin: clamp(28px, 4vw, 40px) 0 0;
  font-size: 13px;
  letter-spacing: .06em;
  color: var(--muted);
}

/* ---------- vizita ---------- */

.visit {
  position: relative;
  z-index: 1;
  background: var(--bg-2);
  border-top: 1px solid var(--line-soft);
}
.visit__in {
  max-width: var(--shell);
  margin: 0 auto;
  padding: clamp(56px, 8vw, 96px) clamp(16px, 4vw, 40px);
}
.visit__addr {
  font-family: var(--display);
  font-style: normal;
  font-size: clamp(24px, 3.4vw, 34px);
  line-height: 1.35;
  margin: 24px 0 18px;
}
.visit__note { color: var(--muted); max-width: 46ch; margin: 0 0 30px; }
.visit__links { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- footer ---------- */

.foot {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--line-soft);
}
.foot__in {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 48px clamp(16px, 4vw, 40px) 120px;
  display: grid;
  gap: 18px;
  justify-items: start;
}
.wordmark--sm .wordmark__name { font-size: 21px; }
.foot__fine, .foot__meta {
  margin: 0;
  font-size: 12.5px;
  color: var(--muted);
  max-width: 62ch;
}
.foot__meta a { color: var(--gold); text-decoration: none; }
.foot__meta a:hover { text-decoration: underline; }

.noscript {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 40px clamp(16px, 4vw, 40px);
  color: var(--muted);
}

/* ---------- buton flotant ---------- */

.fab {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 45;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 20px;
  border-radius: 999px;
  background: var(--gold);
  color: var(--tag-ink);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .08em;
  text-decoration: none;
  box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .9);
  transition: transform .25s var(--ease);
}
.fab:hover { transform: translateY(-2px); }

/* ---------- lightbox ---------- */

.lb {
  border: 0;
  padding: 0;
  max-width: min(880px, 92vw);
  width: 100%;
  background: var(--bg-2);
  color: var(--pearl);
  border-radius: var(--radius);
  box-shadow: 0 40px 100px -30px #000;
  overflow: visible;
}
.lb::backdrop { background: rgba(12, 6, 9, .86); backdrop-filter: blur(6px); }
.lb[open] {
  display: grid;
  grid-template-columns: minmax(0, 300px) 1fr;
  gap: clamp(20px, 4vw, 40px);
  padding: clamp(20px, 3vw, 32px);
}
.lb__media { min-width: 0; }
.lb__info { align-self: center; min-width: 0; }
.lb__info h2 { font-size: clamp(28px, 4vw, 40px); line-height: 1.1; margin-bottom: 14px; }
.lb__blurb { color: var(--muted); margin: 0 0 18px; }
.lb__price {
  font-family: var(--display);
  font-size: 26px;
  color: var(--gold);
  margin: 0 0 26px;
}
.lb__close {
  position: absolute;
  top: -14px;
  right: -14px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--bg-3);
  color: var(--pearl);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  transition: background .2s var(--ease);
}
.lb__close:hover { background: var(--bg); color: var(--gold); }

/* ---------- responsive ---------- */

@media (max-width: 1080px) {
  .grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 900px) {
  html { scroll-padding-top: 124px; }
  .hero { grid-template-columns: 1fr; padding-top: 40px; }
  .hero__media { max-width: 320px; margin: 0 auto; }

  /* Categoriile trec pe un al doilea rand, derulabil lateral —
     pe telefon sunt singurul mod de a sari intre secțiuni. */
  .topbar__in { flex-wrap: wrap; gap: 10px 16px; padding-bottom: 8px; }
  .topnav { order: 3; flex-basis: 100%; }
  .topnav ul { justify-content: flex-start; }
  .steps__list { grid-template-columns: 1fr; gap: 28px; }
  .lb[open] { grid-template-columns: 1fr; max-height: 88vh; overflow-y: auto; }
  .lb__media { max-width: 240px; margin: 0 auto; }
  .lb__info { text-align: center; }
  .lb__close { top: 6px; right: 6px; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 26px 12px; }
  .piece__name { font-size: 17px; }
  .piece__blurb { font-size: 13px; margin-bottom: 10px; }
  .piece__body { padding-top: 18px; }
  .piece__wa { font-size: 11px; letter-spacing: .08em; }
  .facts { display: grid; grid-template-columns: repeat(3, 1fr); }
  .facts > div { padding-right: 10px; margin-right: 10px; }
  .facts dt { font-size: 10px; letter-spacing: .1em; }
  .facts dd { font-size: 17px; }
  .fab span { display: none; }
  .fab { padding: 15px; }
  .foot__in { padding-bottom: 100px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
  .piece { opacity: 1; transform: none; }
}
