/* ==========================================================================
   scentdrop. — Every scent tells a story
   Șablon HTML / CSS / jQuery — site informativ
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  --cream:   #f8f1ea;
  --cream-2: #f3e9e0;
  --paper:   #fbf7f2;
  --blush:   #ecdbcf;
  --blush-2: #f2e4d9;
  --sand:    #e9d8c8;
  --ink:     #211b18;
  --ink-2:   #3b322d;
  --muted:   #7b6c62;
  --gold:    #b08a5b;
  --gold-2:  #d3b48a;
  --line:    rgba(33, 27, 24, .13);
  --line-2:  rgba(33, 27, 24, .24);

  --display: 'Cormorant Garamond', 'Times New Roman', Georgia, serif;
  --serif:   'EB Garamond', 'Times New Roman', Georgia, serif;
  --script:  'Pinyon Script', 'Snell Roundhand', cursive;

  --ease:     cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);

  --gutter: clamp(20px, 4vw, 60px);
  --container: 1440px;
  --header-h: 88px;
}

/* ---------- 2. Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.is-locked { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; background: none; border: 0; outline: 0; }
button { cursor: pointer; }
ul { list-style: none; }
::selection { background: var(--gold-2); color: var(--ink); }
:focus-visible { outline: 1px solid var(--gold); outline-offset: 3px; }

.container { width: min(var(--container), 100% - var(--gutter) * 2); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- 3. Elemente comune ---------- */
.eyebrow {
  display: flex; align-items: center; gap: 16px;
  font-size: 13px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.eyebrow::after { content: ""; width: 48px; height: 1px; background: var(--line-2); }

.ico-arrow { width: 16px; height: 16px; flex-shrink: 0; transition: transform .5s var(--ease-out); }

.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  padding: 14px 26px;
  font-size: 16px;
  background: var(--ink); color: #fff;
  overflow: hidden; isolation: isolate;
  transition: color .4s;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--gold);
  transform: translateY(101%);
  transition: transform .6s var(--ease-out);
}
.btn:hover::before { transform: none; }
.btn:hover .ico-arrow { transform: translateX(4px); }
.btn--block { width: 100%; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 16px;
  color: var(--ink);
}
.link-arrow span {
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
  padding-bottom: 2px;
  transition: background-size .6s var(--ease-out);
}
.link-arrow:hover span { background-size: 30% 1px; }
.link-arrow:hover .ico-arrow { transform: translateX(5px); }

.section-title {
  display: flex; align-items: center; gap: 28px;
  font-family: var(--display);
  font-size: clamp(26px, 2.5vw, 38px);
  font-weight: 500;
  line-height: 1.15;
  text-align: center;
}
.section-title::before, .section-title::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.section-title--short { justify-content: center; }
.section-title--short::before, .section-title--short::after { flex: 0 1 140px; }

.ph {
  background-color: var(--sand);
  background-image: linear-gradient(140deg, var(--g1, #f1e3d3), var(--g2, #d6b796));
  background-size: cover;
  background-position: center;
}
.bottle { overflow: visible; filter: drop-shadow(0 22px 22px rgba(90, 55, 25, .28)); }
.js-img-host.has-img .bottle { display: none; }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity 1s var(--ease), transform 1.2s var(--ease-out); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- 4. Preloader ---------- */
.preloader {
  position: fixed; inset: 0; z-index: 9999;
  display: grid; place-items: center;
  background: var(--cream);
  transition: opacity .5s var(--ease), visibility 0s linear .5s;
}
.is-loaded .preloader { opacity: 0; visibility: hidden; }
.preloader__logo {
  position: relative;
  width: clamp(190px, 26vw, 280px);
  opacity: 0; filter: blur(8px);
  animation: preLogo .55s var(--ease-out) forwards;
}
.preloader__logo svg { width: 100%; height: auto; --dot: transparent; }
.preloader__drop {
  position: absolute; right: 1.6%; top: -60px;
  width: 8px; height: 12px;
  background: var(--gold);
  border-radius: 50% 50% 50% 50% / 62% 62% 38% 38%;
  opacity: 0;
  animation: preDrop .4s cubic-bezier(.55, 0, 1, .45) .3s forwards;
}
.preloader__dot {
  position: absolute; right: .4%; bottom: 7%;
  width: 6.4%; aspect-ratio: 1; border-radius: 50%;
  background: var(--gold); transform: scale(0);
  animation: preDot .35s var(--ease-out) .7s forwards;
}
@keyframes preLogo { to { opacity: 1; filter: blur(0); } }
@keyframes preDrop { 15% { opacity: 1; } 100% { opacity: 1; transform: translateY(calc(60px + 55%)); } }
@keyframes preDot { 60% { transform: scale(1.35); } 100% { transform: scale(1); } }

/* ---------- 5. Header ---------- */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--header-h);
  transition: height .5s var(--ease), background .5s var(--ease), box-shadow .5s, transform .6s var(--ease-out);
}
.header.is-scrolled {
  height: 70px;
  background: rgba(248, 241, 234, .9);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line);
}
.header.is-hidden { transform: translateY(-100%); }
.header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 30px; }

.logo { display: block; width: 150px; color: var(--ink); flex-shrink: 0; }
.logo svg { width: 100%; height: auto; }
.logo-dot { fill: var(--dot, currentColor); transition: fill .4s; }
.logo:hover { --dot: var(--gold); }

.nav { display: flex; gap: clamp(22px, 2.6vw, 42px); }
.nav__link { position: relative; font-size: 15px; padding: 4px 0; }
.nav__link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px;
  background: var(--ink); transform: scaleX(0); transform-origin: right;
  transition: transform .6s var(--ease-out);
}
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); transform-origin: left; }

.header__actions { display: flex; align-items: center; gap: 4px; }
.icon-btn { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; transition: background .3s; }
.icon-btn:hover { background: rgba(33, 27, 24, .06); }
.icon-btn svg { width: 21px; height: 21px; }

.burger { display: none; width: 42px; height: 42px; position: relative; }
.burger span { position: absolute; left: 10px; right: 10px; height: 1px; background: var(--ink); transition: transform .5s var(--ease-out), top .5s var(--ease-out); }
.burger span:nth-child(1) { top: 17px; }
.burger span:nth-child(2) { top: 25px; }
.menu-open .burger span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.menu-open .burger span:nth-child(2) { top: 21px; transform: rotate(-45deg); }

.mmenu {
  position: fixed; inset: 0; z-index: 990;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: calc(var(--header-h) + 30px) var(--gutter) 36px;
  background: var(--blush-2);
  clip-path: circle(0 at calc(100% - 46px) 44px);
  transition: clip-path .9s var(--ease-out);
  visibility: hidden;
}
.menu-open .mmenu { clip-path: circle(150% at calc(100% - 46px) 44px); visibility: visible; }
.mmenu__nav a {
  display: block; padding: 12px 0;
  font-family: var(--display); font-size: clamp(34px, 9vw, 50px); font-weight: 400; line-height: 1.1;
  border-bottom: 1px solid var(--line);
  opacity: 0; transform: translateY(26px);
  transition: opacity .6s, transform .8s var(--ease-out);
}
.menu-open .mmenu__nav a { opacity: 1; transform: none; transition-delay: calc(.25s + var(--i) * .07s); }
.mmenu__foot { font-style: italic; font-size: 19px; color: var(--muted); }

/* ---------- 6. Hero ---------- */
.hero {
  position: relative;
  min-height: clamp(500px, 34vw, 640px);
  display: flex; align-items: center;
  overflow: hidden;
  background: #efe0d1;
}
.hero__bg {
  position: absolute; inset: -6% 0;
  background-color: #eddccb;
  background-size: cover;
  background-position: 48% center;
  will-change: transform;
}
.hero__bg:not(.has-img) {
  background-image:
    radial-gradient(ellipse at 72% 40%, rgba(255, 247, 236, .95), transparent 46%),
    linear-gradient(118deg, #f4e8db 0%, #e9d3bd 48%, #d9b999 100%);
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(246, 236, 226, .55) 0%, rgba(246, 236, 226, .25) 34%, rgba(246, 236, 226, 0) 52%);
  pointer-events: none;
}
.hero__mist { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; pointer-events: none; }
.hero__content { position: relative; z-index: 3; padding: calc(var(--header-h) + 10px) 0 50px; }
.hero__title {
  font-family: var(--display);
  font-size: clamp(54px, 7.2vw, 112px);
  font-weight: 500;
  line-height: .93;
  letter-spacing: -.02em;
  margin-bottom: 26px;
}
.hero__title .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
.hero__title .w > span { display: inline-block; transform: translateY(110%); transition: transform 1.2s var(--ease-out); }
.hero__lead {
  font-size: clamp(18px, 1.45vw, 22px);
  font-style: italic;
  line-height: 1.45;
  margin-bottom: 34px;
  opacity: 0; transform: translateY(16px);
  transition: opacity 1s ease .8s, transform 1.1s var(--ease-out) .8s;
}
.hero .btn { opacity: 0; transform: translateY(16px); transition: opacity 1s ease 1s, transform 1.1s var(--ease-out) 1s, color .4s; }
.hero.is-ready .hero__title .w > span { transform: none; }
.hero.is-ready .hero__lead, .hero.is-ready .btn { opacity: 1; transform: none; }

/* ---------- 7. Categorii ---------- */
.categories { padding: clamp(28px, 3vw, 44px) 0 clamp(20px, 2vw, 28px); }
.categories .section-title { margin-bottom: clamp(18px, 2vw, 26px); }
.cat-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: clamp(8px, .8vw, 12px); }
.cat-card {
  position: relative;
  aspect-ratio: 176 / 126;
  overflow: hidden;
  color: #fff;
  isolation: isolate;
}
.cat-card__img { position: absolute; inset: 0; z-index: -2; transition: transform 1.4s var(--ease-out); }
.cat-card::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(25, 16, 10, 0) 40%, rgba(25, 16, 10, .55) 100%);
}
.cat-card:hover .cat-card__img { transform: scale(1.08); }
.cat-card h3 {
  position: absolute; left: clamp(12px, 1.4vw, 20px); bottom: clamp(10px, 1.2vw, 16px); right: 10px;
  font-family: var(--display);
  font-size: clamp(18px, 1.55vw, 24px);
  font-weight: 500;
  line-height: 1.08;
  text-shadow: 0 1px 12px rgba(0, 0, 0, .25);
}
.cat-card h3 .ico-arrow { display: inline-block; vertical-align: middle; margin-left: 6px; width: 15px; }
.cat-card:hover h3 .ico-arrow { transform: translateX(6px); }

/* ---------- 8. Parfumul săptămânii ---------- */
.featured {
  display: grid;
  grid-template-columns: 45.5% 1fr 20%;
  margin-top: clamp(20px, 2vw, 28px);
}
.featured__media { position: relative; min-height: 560px; overflow: hidden; }
.featured__img { position: absolute; inset: 0; transition: transform 2s var(--ease-out); }
.featured__media:hover .featured__img { transform: scale(1.04); }
.featured__media .bottle { position: absolute; left: 50%; bottom: 22%; width: 26%; transform: translateX(-50%); }

.featured__content { padding: clamp(36px, 3.4vw, 56px) clamp(24px, 3vw, 46px); display: flex; flex-direction: column; justify-content: center; }
.featured__content .eyebrow { margin-bottom: 16px; }
.featured__name { font-family: var(--display); font-size: clamp(32px, 2.8vw, 46px); font-weight: 500; line-height: 1.05; }
.featured__tag { font-size: clamp(17px, 1.3vw, 20px); font-style: italic; color: var(--ink-2); margin: 6px 0 clamp(18px, 2vw, 28px); }
.featured__sub { font-size: clamp(17px, 1.3vw, 20px); font-weight: 500; margin-bottom: 8px; }
.featured__story { font-size: 16px; line-height: 1.55; color: var(--ink-2); margin-bottom: 16px; max-width: 520px; }
.featured__content > .link-arrow { align-self: flex-start; margin-bottom: clamp(18px, 2vw, 28px); }

.featured__specs { display: flex; align-items: center; padding: 40px clamp(16px, 2.2vw, 36px) 40px 0; }
.featured__specs .specs { border-left: 1px solid var(--line); padding-left: clamp(18px, 2vw, 30px); }

.specs li { display: flex; gap: 16px; padding: 10px 0; }
.specs svg { flex: 0 0 22px; width: 22px; height: 22px; color: var(--ink-2); margin-top: 2px; }
.specs strong { display: block; font-size: 15px; font-weight: 600; line-height: 1.25; }
.specs span { display: block; font-size: 15px; color: var(--ink-2); line-height: 1.3; }

/* bloc „Vreau să încerc” */
.try { background: var(--blush-2); padding: 18px 22px; }
.try__title { font-size: 16px; font-weight: 600; margin-bottom: 10px; }
.try__row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 14px; }
.try__label { font-size: 14px; color: var(--ink-2); }
.ml-group { display: flex; gap: 6px; }
.ml-btn {
  padding: 4px 10px;
  font-size: 14px;
  background: rgba(255, 255, 255, .55);
  border: 1px solid transparent;
  transition: border-color .3s, background .3s;
}
.ml-btn:hover { border-color: var(--line-2); }
.ml-btn.is-active { background: #fff; border-color: var(--line-2); font-weight: 600; }
.try .btn { margin-left: auto; padding: 11px 20px; font-size: 15px; }

/* ---------- 9. Jurnal ---------- */
.journal { padding: clamp(40px, 4vw, 60px) 0 clamp(36px, 3vw, 50px); }
.journal .section-title { margin-bottom: clamp(18px, 2vw, 26px); }
.j-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 clamp(24px, 2.4vw, 56px); }
.a-card { position: relative; }
.a-card + .a-card::before {
  content: ""; position: absolute; top: 0; bottom: 0;
  left: calc(clamp(24px, 2.4vw, 56px) / -2);
  width: 1px; background: var(--line);
}
.a-card__media { display: block; position: relative; aspect-ratio: 255 / 90; overflow: hidden; margin-bottom: 14px; }
.a-card__media .ph { position: absolute; inset: 0; transition: transform 1.4s var(--ease-out); }
.a-card:hover .a-card__media .ph { transform: scale(1.07); }
.a-card time { display: block; font-size: 13px; color: var(--ink-2); margin-bottom: 6px; }
.a-card h3 { font-family: var(--serif); font-size: clamp(17px, 1.35vw, 20px); font-weight: 400; line-height: 1.25; margin-bottom: 14px; }
.a-card h3 a { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .6s var(--ease-out); }
.a-card:hover h3 a { background-size: 100% 1px; }
.a-card .link-arrow { font-size: 15px; font-weight: 600; }

/* ---------- 10. Despre mine ---------- */
.about { display: grid; grid-template-columns: 45.5% 1fr; background: linear-gradient(100deg, #eedcd0, #e8d2c5); overflow: hidden; }
.about__media { position: relative; min-height: clamp(380px, 30vw, 480px); overflow: hidden; }
.about__img { position: absolute; inset: -8% 0; background-position: 72% center; will-change: transform; }
.about__content {
  position: relative;
  padding: clamp(40px, 4vw, 70px) clamp(24px, 5vw, 80px) clamp(40px, 4vw, 70px) clamp(24px, 2vw, 34px);
  display: flex; flex-direction: column; justify-content: center;
}
.about__content h2 { display: flex; align-items: center; gap: 22px; font-family: var(--display); font-size: clamp(30px, 2.6vw, 42px); font-weight: 500; margin-bottom: 14px; }
.about__content h2::after { content: ""; width: 90px; height: 1px; background: var(--line-2); }
.about__content p { font-size: 16.5px; line-height: 1.6; color: var(--ink-2); max-width: min(560px, 100% - clamp(150px, 15vw, 230px)); }
.about__content p + p { margin-top: 12px; }
.about__content .link-arrow { margin-top: 24px; align-self: flex-start; font-weight: 600; }
.signature {
  position: absolute; right: clamp(20px, 4vw, 60px); top: 50%;
  width: clamp(150px, 15vw, 230px);
  color: var(--gold);
  transform: translateY(-62%) rotate(-10deg);
}
.signature text { font-family: var(--script); font-size: 64px; fill: transparent; stroke: currentColor; stroke-width: .8; stroke-dasharray: 900; stroke-dashoffset: 900; }
.signature path { fill: none; stroke: currentColor; stroke-width: 1.3; stroke-linecap: round; stroke-dasharray: 300; stroke-dashoffset: 300; }
.signature.in text { animation: sign 3s var(--ease) forwards; }
.signature.in path { animation: draw 1.6s var(--ease) 2s forwards; }
@keyframes sign { 70% { fill: transparent; } to { stroke-dashoffset: 0; fill: currentColor; } }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* ---------- 11. Footer ---------- */
.footer { background: var(--cream-2); }
.footer__top { display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: 30px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.footer__top .logo { width: 116px; }
.footer__text { font-size: 15px; text-align: right; }
.news { display: flex; width: min(400px, 100%); position: relative; }
.news input { flex: 1; min-width: 0; padding: 12px 16px; font-size: 14px; background: #fff; border: 1px solid var(--line); }
.news input::placeholder { color: #a5978d; }
.news .btn { padding: 12px 24px; font-size: 15px; font-weight: 600; }
.news.is-error input { border-color: #b4553f; animation: shake .45s; }
.news__msg { position: absolute; left: 0; top: calc(100% + 6px); font-size: 13px; font-style: italic; color: var(--muted); }
@keyframes shake { 25%, 75% { transform: translateX(-5px); } 50% { transform: translateX(5px); } }
.socials { display: flex; gap: 4px; }
.socials a { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; transition: background .3s, color .3s; }
.socials a:hover { background: var(--ink); color: #fff; }
.socials svg { width: 19px; height: 19px; }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding: 16px 0 22px; font-size: 13.5px; }
.footer__nav { display: flex; flex-wrap: wrap; align-items: center; }
.footer__nav a + a::before { content: "|"; margin: 0 16px; color: var(--muted); }
.footer__nav a:hover { color: var(--gold); }

/* ---------- 12. Panouri laterale (categorie / parfum / formular) ---------- */
.panel { position: fixed; inset: 0; z-index: 1100; visibility: hidden; }
.panel.is-open { visibility: visible; }
.panel__overlay { position: absolute; inset: 0; background: rgba(33, 27, 24, .42); opacity: 0; transition: opacity .6s var(--ease); }
.panel.is-open .panel__overlay { opacity: 1; }
.panel__box {
  position: absolute; top: 0; right: 0; bottom: 0;
  width: min(1120px, 100%);
  background: var(--cream);
  overflow-y: auto; overscroll-behavior: contain;
  transform: translateX(100%);
  transition: transform .85s var(--ease-out);
}
.panel--narrow .panel__box { width: min(560px, 100%); }
.panel.is-open .panel__box { transform: none; }
.panel__close {
  position: sticky; top: 16px; float: right; margin: 16px 16px 0 0; z-index: 5;
  width: 46px; height: 46px; display: grid; place-items: center;
  background: var(--paper); border-radius: 50%;
  box-shadow: 0 6px 18px rgba(33, 27, 24, .1);
  transition: transform .5s var(--ease-out);
}
.panel__close:hover { transform: rotate(90deg); }
.panel__close svg { width: 18px; }

/* listă categorie */
.list { padding: clamp(40px, 5vw, 70px) clamp(20px, 4vw, 60px) 60px; }
.list__head { margin-bottom: 26px; }
.list__head h2 { font-family: var(--display); font-size: clamp(38px, 4vw, 60px); font-weight: 500; line-height: 1; margin: 12px 0 10px; }
.list__head p { font-size: 18px; font-style: italic; color: var(--ink-2); max-width: 560px; }
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin-bottom: 34px; padding-bottom: 4px; }
.chips::-webkit-scrollbar { display: none; }
.chip { padding: 7px 16px; font-size: 14px; border: 1px solid var(--line-2); border-radius: 40px; white-space: nowrap; transition: background .3s, color .3s, border-color .3s; }
.chip:hover { border-color: var(--ink); }
.chip.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }
.p-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 22px; transition: opacity .3s; }
.p-grid.is-fading { opacity: 0; }
.p-card { cursor: pointer; }
.p-card__media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; margin-bottom: 14px; }
.p-card__img { position: absolute; inset: 0; transition: transform 1.4s var(--ease-out); }
.p-card__media .bottle { position: absolute; left: 50%; bottom: 17%; width: 34%; transform: translateX(-50%); transition: transform .9s var(--ease-out); z-index: 1; }
.p-card__media:not(.has-img)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 20%;
  background: linear-gradient(180deg, rgba(255,255,255,.55), rgba(255,255,255,0) 18%), linear-gradient(180deg, #efe6dc, #dcccbd);
}
.p-card:hover .p-card__img { transform: scale(1.06); }
.p-card:hover .bottle { transform: translateX(-50%) translateY(-8px); }
.p-card .brand { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.p-card h3 { font-family: var(--display); font-size: 26px; font-weight: 500; line-height: 1.05; margin: 4px 0; }
.p-card p { font-size: 16px; font-style: italic; color: var(--ink-2); }
.empty { grid-column: 1 / -1; font-size: 20px; font-style: italic; color: var(--muted); padding: 30px 0; }

/* pagina parfumului */
.detail { display: grid; grid-template-columns: 1fr 1fr; }
.detail__media { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.detail__img { position: absolute; inset: 0; }
.detail__media .bottle { position: absolute; left: 50%; bottom: 26%; width: 34%; transform: translateX(-50%); z-index: 1; }
.detail__media:not(.has-img)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 28%;
  background: linear-gradient(180deg, rgba(255,255,255,.55), rgba(255,255,255,0) 14%), linear-gradient(180deg, #efe6dc, #d8c8b9);
}
.detail__info { padding: clamp(50px, 6vw, 90px) clamp(22px, 4vw, 64px) 60px; }
.detail__brand { font-size: 13px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.detail__name { font-family: var(--display); font-size: clamp(44px, 4.6vw, 70px); font-weight: 500; line-height: .98; margin: 8px 0 6px; }
.detail__tag { font-size: 22px; font-style: italic; color: var(--ink-2); }
.detail__h { font-size: 13px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); font-weight: 500; margin: 38px 0 14px; }
.detail__story { font-size: 20px; font-style: italic; line-height: 1.6; color: var(--ink-2); }
.pyramid { display: grid; gap: 6px; justify-items: center; }
.pyramid__row { width: var(--w); padding: 12px 18px; text-align: center; background: rgba(255, 255, 255, .5); border: 1px solid var(--line); }
.pyramid__row:nth-child(2) { background: rgba(236, 219, 207, .55); }
.pyramid__row:nth-child(3) { background: rgba(225, 200, 180, .55); }
.pyramid__row small { display: block; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.pyramid__row span { font-size: 17px; font-style: italic; }
.detail .specs li + li { border-top: 1px dashed var(--line); }
.detail .try { margin-top: 34px; }
.detail__nav { display: flex; justify-content: space-between; gap: 20px; margin-top: 50px; padding-top: 22px; border-top: 1px solid var(--line); }
.detail__nav button { font-size: 18px; font-style: italic; transition: color .3s; }
.detail__nav button:hover { color: var(--gold); }

/* formular „Vreau să încerc” */
.form-wrap { padding: clamp(50px, 6vw, 70px) clamp(22px, 4vw, 48px) 50px; }
.form-wrap h2 { font-family: var(--display); font-size: clamp(36px, 3.4vw, 48px); font-weight: 500; line-height: 1.02; margin: 12px 0 10px; }
.form-wrap > p { font-size: 17px; font-style: italic; color: var(--ink-2); margin-bottom: 26px; }
.form-pick { display: flex; gap: 16px; align-items: center; padding: 14px; background: var(--blush-2); margin-bottom: 26px; }
.form-pick__thumb { width: 64px; height: 76px; flex-shrink: 0; position: relative; overflow: hidden; }
.form-pick__thumb .ph { position: absolute; inset: 0; }
.form-pick__thumb .bottle { position: absolute; left: 50%; top: 50%; width: 30px; transform: translate(-50%, -50%); filter: drop-shadow(0 4px 4px rgba(90, 55, 25, .25)); }
.form-pick small { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.form-pick strong { display: block; font-family: var(--display); font-size: 24px; font-weight: 500; line-height: 1.1; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 14px; margin-bottom: 6px; color: var(--ink-2); }
.field label i { color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 12px 14px;
  font-size: 16px;
  background: #fff;
  border: 1px solid var(--line);
  transition: border-color .3s;
}
.field textarea { resize: vertical; min-height: 92px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--gold); }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23211b18'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
.field.has-error input, .field.has-error select { border-color: #b4553f; }
.field__err { display: none; font-size: 13px; font-style: italic; color: #b4553f; margin-top: 4px; }
.field.has-error .field__err { display: block; }
.field--row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field--row .field { margin-bottom: 16px; }
.form-ml { display: flex; gap: 8px; }
.form-ml label { position: relative; flex: 1; margin: 0; cursor: pointer; }
.form-ml input { position: absolute; left: 0; top: 0; width: 1px; height: 1px; margin: 0; opacity: 0; pointer-events: none; }
.form-ml span { display: block; text-align: center; padding: 11px 6px; font-size: 15px; background: #fff; border: 1px solid var(--line); transition: border-color .3s, background .3s, color .3s; }
.form-ml input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--ink-2); margin: 6px 0 20px; cursor: pointer; }
.check input { width: 16px; height: 16px; margin-top: 3px; accent-color: var(--ink); flex-shrink: 0; }
.check.has-error { color: #b4553f; }
.hp { position: absolute; left: -9999px; }
.form-done { text-align: center; padding: 50px 10px; }
.form-done .drop { width: 18px; height: 26px; margin: 0 auto 24px; background: var(--gold); border-radius: 50% 50% 50% 50% / 62% 62% 38% 38%; animation: dropIn .8s var(--ease-out); }
.form-done h3 { font-family: var(--display); font-size: 40px; font-weight: 500; margin-bottom: 10px; }
.form-done p { font-size: 18px; font-style: italic; color: var(--ink-2); margin-bottom: 26px; }
@keyframes dropIn { from { transform: translateY(-40px); opacity: 0; } }
.btn.is-loading { pointer-events: none; opacity: .7; }

/* ---------- 13. Căutare ---------- */
.search { position: fixed; inset: 0; z-index: 1200; background: rgba(248, 241, 234, .97); opacity: 0; visibility: hidden; transition: opacity .5s, visibility 0s .5s; }
.search.is-open { opacity: 1; visibility: visible; transition: opacity .5s; }
.search__inner { width: min(860px, 100% - var(--gutter) * 2); margin: 0 auto; padding-top: 16vh; }
.search__close { position: absolute; top: 22px; right: 22px; width: 46px; height: 46px; display: grid; place-items: center; }
.search__close svg { width: 22px; }
.search__field { display: flex; align-items: center; gap: 16px; border-bottom: 1px solid var(--ink); padding-bottom: 12px; }
.search__field svg { width: 26px; flex-shrink: 0; }
.search__field input { flex: 1; min-width: 0; font-family: var(--display); font-size: clamp(30px, 4.6vw, 54px); font-style: italic; }
.search__field input::placeholder { color: #bcac9f; }
.search__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.search__results { margin-top: 26px; max-height: 50vh; overflow-y: auto; }
.s-result { display: flex; align-items: center; gap: 18px; width: 100%; padding: 12px; text-align: left; transition: background .3s; }
.s-result:hover { background: var(--blush-2); }
.s-result .bottle { width: 26px; filter: none; }
.s-result small { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.s-result strong { display: block; font-family: var(--display); font-size: 26px; font-weight: 500; line-height: 1.1; }
.s-result em { margin-left: auto; color: var(--muted); }
.search__none { font-size: 20px; font-style: italic; color: var(--muted); padding: 16px 12px; }

/* ---------- 14. Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 26px; z-index: 1400;
  max-width: calc(100% - 32px);
  padding: 13px 22px;
  background: var(--ink); color: #f3e9dd;
  font-style: italic;
  transform: translate(-50%, calc(100% + 60px));
  visibility: hidden;
  transition: transform .7s var(--ease-out), visibility 0s .7s;
}
.toast.is-show { transform: translate(-50%, 0); visibility: visible; transition: transform .7s var(--ease-out); }

/* ==========================================================================
   15. Responsive
   ========================================================================== */
@media (max-width: 1180px) {
  .featured { grid-template-columns: 1fr 1fr; }
  .featured__media { grid-row: span 2; }
  .featured__specs { padding: 0 clamp(24px, 3vw, 46px) 40px; }
  .featured__specs .specs { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); padding-top: 12px; width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
  .footer__top { grid-template-columns: auto 1fr; }
  .footer__text { grid-column: 1 / -1; text-align: left; order: 3; }
  .news { order: 4; }
  .footer__top .socials { order: 2; justify-self: end; }
}

@media (max-width: 1000px) {
  :root { --header-h: 74px; }
  .nav { display: none; }
  .burger { display: block; }
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
  .j-grid { grid-template-columns: repeat(2, 1fr); gap: 34px 40px; }
  .a-card:nth-child(odd)::before { display: none; }
  .a-card + .a-card::before { left: -20px; }
  .detail { grid-template-columns: 1fr; }
  .detail__media { position: relative; height: 56vh; }
  .p-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 820px) {
  .hero { flex-direction: column; align-items: stretch; min-height: 0; background: var(--cream); }
  .hero::before { display: none; }
  .hero__content { order: 1; padding-bottom: 30px; }
  .hero__bg { order: 2; position: relative; inset: auto; height: 66vw; background-position: 66% center; transform: none !important; }
  .hero__mist { top: auto; bottom: 0; height: 66vw; }
  .featured { grid-template-columns: 1fr; }
  .featured__media { min-height: 62vw; grid-row: auto; }
  .featured__specs { padding-top: 0; }
  .about { grid-template-columns: 1fr; }
  .about__media { min-height: 64vw; }
  .about__content { padding: 40px var(--gutter) 50px; }
  .about__content p { max-width: none; }
  .signature { position: static; transform: rotate(-8deg); margin: 0 0 10px auto; width: 160px; }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .logo { width: 124px; }
  .hero__title { font-size: clamp(48px, 14vw, 64px); }
  .hero__lead br { display: none; }
  .hero .btn { width: 100%; }
  .section-title { gap: 14px; font-size: 24px; }
  .section-title::before, .section-title::after { min-width: 18px; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .cat-card h3 { font-size: 19px; }
  .featured__media { min-height: 78vw; }
  .featured__specs .specs { grid-template-columns: 1fr; }
  .try .btn { margin-left: 0; width: 100%; }
  .j-grid { grid-template-columns: 1fr; gap: 34px; }
  .a-card::before { display: none; }
  .a-card__media { aspect-ratio: 16 / 7; }
  .footer__top { grid-template-columns: 1fr; gap: 20px; }
  .footer__top .socials { justify-self: start; order: 5; }
  .news { width: 100%; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .footer__nav a + a::before { margin: 0 10px; }
  .p-grid { gap: 30px 12px; }
  .p-card h3 { font-size: 21px; }
  .p-card p { font-size: 14px; }
  .field--row { grid-template-columns: 1fr; gap: 0; }
  .panel__close { margin: 12px 12px 0 0; }
  .pyramid__row { width: 100% !important; }
  .s-result em { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}


/* ---------- preloader rapid: fără preloader la vizitele repetate ---------- */
.no-preload .preloader { display: none; }

/* ---------- parfumurile categoriei, deschise sub carduri ---------- */
.cat-card.is-current::after { content: ""; position: absolute; inset: 0; border: 2px solid var(--gold); pointer-events: none; }
.cat-card.is-current h3 { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
.cat-results { overflow: hidden; background: var(--paper); border-block: 1px solid var(--line); }
.cat-results .container { padding: clamp(40px, 5vw, 64px) 0 clamp(50px, 6vw, 80px); }
.cat-results__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; margin-bottom: 22px; }
.cat-results__head h2 { font-family: var(--display); font-size: clamp(32px, 3.4vw, 50px); font-weight: 500; line-height: 1.05; margin: 10px 0 8px; }
.cat-results__head p:not(.eyebrow) { font-size: 18px; font-style: italic; color: var(--ink-2); max-width: 560px; }
.cat-results__close { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; font-size: 14px; border: 1px solid var(--line-2); border-radius: 30px; transition: background .3s, color .3s; flex-shrink: 0; }
.cat-results__close:hover { background: var(--ink); color: #fff; }
.cat-results__close svg { width: 14px; height: 14px; }
.cat-results .p-grid { grid-template-columns: repeat(4, 1fr); }
.p-card__more { display: inline-flex; align-items: center; gap: 8px; margin-top: 8px; font-size: 14px; color: var(--ink); }
.p-card__more .ico-arrow { width: 14px; }
.p-card:hover .p-card__more .ico-arrow { transform: translateX(4px); }
.journal__more { text-align: center; margin-top: 34px; }
@media (max-width: 1000px) { .cat-results .p-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px)  { .cat-results .p-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px)  { .cat-results__head { flex-direction: column; } }

/* ==========================================================================
   Pagini secundare: jurnal.html + articol.html
   ========================================================================== */
.subpage .header { background: rgba(248, 241, 234, .94); box-shadow: 0 1px 0 var(--line); }
.container--narrow { width: min(760px, 100% - var(--gutter) * 2); margin-inline: auto; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; letter-spacing: .04em; color: var(--muted); margin-bottom: 18px; }
.crumbs a { color: var(--ink-2); border-bottom: 1px solid var(--line-2); }
.crumbs a:hover { color: var(--gold); }

/* listă */
.page-hero { padding: calc(var(--header-h) + 60px) 0 40px; text-align: center; }
.page-hero .crumbs { justify-content: center; }
.page-title { font-family: var(--display); font-size: clamp(44px, 6vw, 86px); font-weight: 500; line-height: 1; }
.page-title em { color: var(--gold); }
.page-lead { font-size: 20px; font-style: italic; color: var(--ink-2); max-width: 620px; margin: 16px auto 0; }
.blog { padding-bottom: clamp(60px, 8vw, 110px); transition: opacity .25s; }
.blog.is-fading { opacity: 0; }
.blog__bar { display: flex; align-items: center; justify-content: space-between; gap: 20px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 14px 0; margin-bottom: 40px; }
.blog__bar .chips { margin: 0; padding: 0; }
.blog__count { font-size: 14px; font-style: italic; color: var(--muted); white-space: nowrap; }
.b-feat { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; margin-bottom: 60px; }
.b-feat__media { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; }
.b-feat__media .ph, .b-card__media .ph, .post__cover .ph { position: absolute; inset: 0; transition: transform 1.4s var(--ease-out); }
.b-feat:hover .b-feat__media .ph, .b-card:hover .b-card__media .ph { transform: scale(1.05); }
.b-feat h2 { font-family: var(--display); font-size: clamp(30px, 3vw, 44px); font-weight: 500; line-height: 1.08; margin: 12px 0 10px; }
.b-feat__ex { font-size: 18px; color: var(--ink-2); margin: 14px 0 26px; }
.blog__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 50px 32px; }
.b-card__media { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; margin-bottom: 16px; }
.b-card__meta { font-size: 13px; color: var(--muted); }
.b-card h3 { font-size: 22px; font-weight: 500; line-height: 1.22; margin: 6px 0 8px; }
.b-card h3 a, .b-feat h2 a { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .6s var(--ease-out); }
.b-card:hover h3 a, .b-feat:hover h2 a { background-size: 100% 1px; }
.b-card__ex { font-size: 16px; color: var(--ink-2); margin-bottom: 14px; }
.btn--dark { background: var(--ink); color: #fff; }

/* articol */
.post__head { padding: calc(var(--header-h) + 56px) 0 36px; text-align: center; }
.post__head .crumbs { justify-content: center; }
.post__meta { font-size: 14px; color: var(--muted); }
.post__meta span { display: inline-block; margin-right: 10px; padding: 3px 12px; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--ink); border: 1px solid var(--line-2); border-radius: 20px; }
.post__title { font-family: var(--display); font-size: clamp(40px, 5.4vw, 72px); font-weight: 500; line-height: 1.02; margin: 18px 0 18px; }
.post__lead { font-size: clamp(19px, 1.6vw, 23px); font-style: italic; line-height: 1.5; color: var(--ink-2); }
.post__cover { position: relative; width: min(1200px, 100% - var(--gutter) * 2); margin: 0 auto 60px; aspect-ratio: 2.2; overflow: hidden; }
.post__body { font-size: 19px; line-height: 1.75; color: var(--ink-2); }
.post__body > p:first-child::first-letter { float: left; font-family: var(--display); font-size: 4.2em; line-height: .85; padding: 6px 10px 0 0; color: var(--gold); }
.post__body p + p { margin-top: 18px; }
.post__body h2 { font-family: var(--display); font-size: clamp(26px, 2.4vw, 34px); font-weight: 500; line-height: 1.15; color: var(--ink); margin: 48px 0 14px; }
.post__body blockquote { margin: 28px 0; padding: 6px 0 6px 26px; border-left: 2px solid var(--gold); font-family: var(--display); font-size: 27px; font-style: italic; line-height: 1.35; color: var(--ink); }
.post__body figure { margin: 40px 0; }
.post__body figure img { width: 100%; height: auto; }
.post__body figcaption { margin-top: 10px; font-size: 15px; font-style: italic; color: var(--muted); text-align: center; }
.post__body a { color: var(--ink); border-bottom: 1px solid var(--gold); }
.post__soon { margin-top: 26px; padding: 18px 22px; background: var(--blush-2); font-style: italic; }
.post__perfumes { margin: 56px 0 0; padding: 26px; background: var(--blush-2); }
.post__perfumes .eyebrow { margin-bottom: 16px; }
.pp { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pp__item { display: flex; gap: 14px; align-items: center; padding: 10px; background: rgba(255, 255, 255, .65); transition: background .3s, transform .4s var(--ease-out); }
.pp__item:hover { background: #fff; transform: translateY(-2px); }
.pp__img { width: 62px; height: 72px; flex-shrink: 0; background-size: cover; background-position: center; }
.pp__item small { display: block; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.pp__item strong { display: block; font-family: var(--display); font-size: 22px; font-weight: 500; line-height: 1.1; }
.pp__item em { font-size: 14px; color: var(--gold); }
.post__author { display: grid; grid-template-columns: 160px 1fr; gap: 24px; align-items: center; margin-top: 56px; padding-top: 30px; border-top: 1px solid var(--line); }
.post__author p { font-size: 17px; font-style: italic; color: var(--ink-2); }
.post__sig { width: 160px; color: var(--gold); }
.post__sig text { font-family: var(--script); font-size: 62px; fill: currentColor; }
.post__share { display: flex; flex-wrap: wrap; gap: 10px 20px; align-items: center; margin: 30px 0 80px; font-size: 14px; }
.post__share span { color: var(--muted); }
.post__share a { border-bottom: 1px solid var(--line-2); }
.post__share a:hover { color: var(--gold); border-color: var(--gold); }
.related { padding: 70px 0 90px; background: var(--paper); border-top: 1px solid var(--line); }
.related .section-title { margin-bottom: 40px; }
.read-progress { position: fixed; left: 0; top: 0; z-index: 1001; width: 100%; height: 2px; background: var(--gold); transform-origin: left; transform: scaleX(0); }

@media (max-width: 1000px) {
  .blog__grid { grid-template-columns: 1fr 1fr; }
  .b-feat { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .blog__grid { grid-template-columns: 1fr; gap: 40px; }
  .blog__bar { flex-direction: column; align-items: flex-start; }
  .post__body { font-size: 17.5px; }
  .post__cover { aspect-ratio: 1.5; margin-bottom: 40px; }
  .pp { grid-template-columns: 1fr; }
  .post__author { grid-template-columns: 1fr; gap: 6px; }
}


/* ==========================================================================
   MENIU NOU — bară sticky, mai mare și mai vizibilă
   ========================================================================== */
:root { --header-h: 100px; }
.header,
.header.is-scrolled,
.subpage .header {
  height: var(--header-h);
  background: rgba(248, 241, 234, .96);
  -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2);
  box-shadow: 0 1px 0 rgba(176, 138, 91, .35);
  transform: none !important;
}
.header.is-scrolled { --header-h: 78px; box-shadow: 0 1px 0 rgba(176, 138, 91, .35), 0 10px 30px -18px rgba(33, 27, 24, .25); }
.header__inner { gap: clamp(20px, 3vw, 48px); }

.header .logo { width: 188px; transition: width .5s var(--ease); }
.header.is-scrolled .logo { width: 156px; }

.nav { gap: clamp(26px, 3.2vw, 54px); margin-left: auto; }
.nav__link {
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink);
  padding: 10px 0;
  transition: color .3s;
}
.nav__link::after { bottom: 2px; height: 2px; background: var(--gold); }
.nav__link::before {
  content: ""; position: absolute; left: 50%; top: -4px;
  width: 5px; height: 5px; border-radius: 50%; background: var(--gold);
  transform: translateX(-50%) scale(0); transition: transform .4s var(--ease-out);
}
.nav__link:hover { color: var(--gold); }
.nav__link.is-active::before { transform: translateX(-50%) scale(1); }

.header__actions { gap: 6px; margin-left: clamp(10px, 2vw, 30px); }
.header .icon-btn { width: 46px; height: 46px; border: 1px solid rgba(33, 27, 24, .14); }
.header .icon-btn:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.header .icon-btn svg { width: 20px; height: 20px; }
.header__cta {
  display: inline-flex; align-items: center;
  height: 46px; padding: 0 24px; margin-left: 6px;
  font-family: var(--serif); font-size: 14px; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase;
  color: #fff; background: var(--ink);
  transition: background .4s, color .4s;
  white-space: nowrap;
}
.header__cta:hover { background: var(--gold); color: var(--ink); }

/* conținutul începe sub bară */
.hero { margin-top: var(--header-h); }
.hero__content { padding-top: 40px; }
.page-hero { padding-top: calc(100px + 60px); }
.post__head { padding-top: calc(100px + 56px); }

/* burger mai mare, cu etichetă */
.burger { width: auto; height: 46px; padding: 0 14px 0 46px; border: 1px solid rgba(33, 27, 24, .14); font-family: var(--serif); font-size: 14px; letter-spacing: .14em; text-transform: uppercase; }
.burger::after { content: "Meniu"; }
.menu-open .burger::after { content: "Închide"; }
.burger span { left: 14px; right: auto; width: 22px; }
.burger span:nth-child(1) { top: 18px; }
.burger span:nth-child(2) { top: 26px; }
.menu-open .burger span:nth-child(1), .menu-open .burger span:nth-child(2) { top: 22px; }
.mmenu { padding-top: calc(var(--header-h) + 34px); }
.mmenu__foot .btn { margin-top: 18px; }

@media (max-width: 1240px) {
  .header__cta { display: none; }
  .nav { gap: 28px; }
  .nav__link { font-size: 14px; letter-spacing: .12em; }
}
@media (max-width: 1000px) {
  :root { --header-h: 80px; }
  .header.is-scrolled { --header-h: 70px; }
  .header .logo { width: 150px; }
  .header.is-scrolled .logo { width: 136px; }
  .header__actions { margin-left: auto; }
  .page-hero { padding-top: calc(80px + 40px); }
  .post__head { padding-top: calc(80px + 40px); }
}
@media (max-width: 600px) {
  .header .logo, .header.is-scrolled .logo { width: 128px; }
  .header .icon-btn { width: 42px; height: 42px; }
  .header .icon-btn[aria-label="Instagram"] { display: none; }
  .burger { height: 42px; padding: 0 12px 0 42px; font-size: 13px; }
  .burger span { left: 12px; width: 20px; }
  .burger span:nth-child(1) { top: 16px; }
  .burger span:nth-child(2) { top: 24px; }
  .menu-open .burger span:nth-child(1), .menu-open .burger span:nth-child(2) { top: 20px; }
}
.nav__link { white-space: nowrap; letter-spacing: .11em; }
.nav { gap: clamp(22px, 2.6vw, 44px); }
@media (max-width: 1340px) { .header__cta { display: none; } }
@media (max-width: 1140px) { .nav__link { font-size: 13.5px; letter-spacing: .08em; } .nav { gap: 22px; } }
.mmenu__foot .btn { font-style: normal; }


/* ==========================================================================
   VARIANTA 2 — pe prima pagină meniul stă transparent peste hero
   (devine bară crem la scroll; pe celelalte pagini rămâne bara plină)
   ========================================================================== */
.home .header:not(.is-scrolled) {
  background: linear-gradient(180deg, rgba(20, 10, 6, .55) 0%, rgba(20, 10, 6, .18) 70%, rgba(20, 10, 6, 0) 100%);
  -webkit-backdrop-filter: none; backdrop-filter: none;
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, .22);
}
.home .header:not(.is-scrolled) .logo { color: #fff; --dot: #E9C9A6; }
.home .header:not(.is-scrolled) .nav__link { color: #fff; text-shadow: 0 1px 14px rgba(0, 0, 0, .25); }
.home .header:not(.is-scrolled) .nav__link:hover { color: #F1D7B6; }
.home .header:not(.is-scrolled) .nav__link::after,
.home .header:not(.is-scrolled) .nav__link::before { background: #F1D7B6; }
.home .header:not(.is-scrolled) .icon-btn { color: #fff; border-color: rgba(255, 255, 255, .45); }
.home .header:not(.is-scrolled) .icon-btn:hover { background: #fff; color: var(--ink); border-color: #fff; }
.home .header:not(.is-scrolled) .header__cta { background: #fff; color: var(--ink); }
.home .header:not(.is-scrolled) .header__cta:hover { background: var(--gold); color: #fff; }
.home .header:not(.is-scrolled) .burger { color: #fff; border-color: rgba(255, 255, 255, .5); }
.home .header:not(.is-scrolled) .burger span { background: #fff; }
.home.menu-open .header { background: var(--blush-2) !important; box-shadow: none; }
.home.menu-open .header .logo, .home.menu-open .header .burger, .home.menu-open .header .icon-btn { color: var(--ink); border-color: rgba(33, 27, 24, .14); }
.home.menu-open .header .burger span { background: var(--ink); }

/* hero pe tot ecranul, cu text deschis peste fotografia caldă */
.home .hero {
  margin-top: 0;
  min-height: 100vh; min-height: 100svh;
  align-items: flex-end;
  background: #2a120a;
}
.home .hero__bg { background-position: 60% center; }
.home .hero::before {
  background:
    linear-gradient(90deg, rgba(24, 10, 5, .72) 0%, rgba(24, 10, 5, .42) 38%, rgba(24, 10, 5, 0) 66%),
    linear-gradient(0deg, rgba(24, 10, 5, .55) 0%, rgba(24, 10, 5, 0) 40%);
}
.home .hero__content { padding: calc(var(--header-h) + 60px) 0 clamp(70px, 11vh, 130px); color: #fff; }
.home .hero__title { color: #FFF8F1; }
.home .hero__lead { color: rgba(255, 244, 232, .9); }
.home .hero .btn--dark, .home .hero .btn { background: #FFF8F1; color: var(--ink); }
.home .hero .btn:hover { background: var(--gold); color: #fff; }
.home .hero__eyebrow { display: block; margin-bottom: 22px; font-family: var(--serif); font-size: 13px; letter-spacing: .3em; text-transform: uppercase; color: #F1D7B6; }
.home .hero__scroll { position: absolute; z-index: 3; right: max(var(--gutter), (100% - var(--container)) / 2); bottom: 40px; display: flex; flex-direction: column; align-items: center; gap: 12px; font-family: var(--serif); font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: rgba(255, 244, 232, .8); writing-mode: vertical-rl; }
.home .hero__scroll::after { content: ""; width: 1px; height: 56px; background: linear-gradient(rgba(255, 244, 232, .8), transparent); animation: scrollHint 2.2s ease-in-out infinite; }
@keyframes scrollHint { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

@media (max-width: 900px) {
  .home .hero { flex-direction: row; align-items: flex-end; min-height: 100svh; background: #2a120a; }
  .home .hero::before { display: block; background: linear-gradient(0deg, rgba(24, 10, 5, .85) 0%, rgba(24, 10, 5, .45) 45%, rgba(24, 10, 5, .15) 75%, rgba(24, 10, 5, .35) 100%); }
  .home .hero__bg { position: absolute; inset: 0; height: auto; order: 0; background-position: center; }
  .home .hero__mist { top: 0; height: 100%; }
  .home .hero__content { order: 0; padding: 0 0 56px; }
  .home .hero__scroll { display: none; }
}
.nav { gap: clamp(20px, 2.2vw, 38px); }
.nav__link { letter-spacing: .1em; }
.header__cta { padding: 0 20px; }
@media (max-width: 900px) {
  .home .hero__bg { background-size: cover; background-position: center top; }
  .home .hero::before { background: linear-gradient(0deg, rgba(24, 10, 5, .92) 0%, rgba(24, 10, 5, .6) 42%, rgba(24, 10, 5, 0) 68%, rgba(24, 10, 5, .3) 100%); }
}

/* ==========================================================================
   v4 — Universul parfumurilor: 5 categorii + subcategorii, Despre mine
   ========================================================================== */
.categories .section-title { max-width: 900px; margin-left: auto; margin-right: auto; }
.cat-grid--5 { grid-template-columns: repeat(5, 1fr); }
.cat-grid--5 .cat-card { aspect-ratio: 4 / 3.4; }
.cat-grid--5 .cat-card h3 { font-size: clamp(20px, 1.8vw, 28px); }
.cat-card__count {
  position: absolute; top: clamp(10px, 1.1vw, 16px); left: clamp(12px, 1.4vw, 20px);
  font-size: 11px; letter-spacing: .18em; text-transform: uppercase;
  padding: 4px 10px; border: 1px solid rgba(255, 255, 255, .55); border-radius: 30px;
  background: rgba(25, 16, 10, .18); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
}

/* filele categoriilor din panou */
.cat-tabs { display: flex; gap: clamp(16px, 2.4vw, 34px); border-bottom: 1px solid var(--line); margin-bottom: 20px; overflow-x: auto; scrollbar-width: none; }
.cat-tabs::-webkit-scrollbar { display: none; }
.cat-tab {
  position: relative; padding: 10px 0 12px; white-space: nowrap;
  font-family: var(--display); font-size: clamp(17px, 1.5vw, 21px); font-weight: 500; color: var(--muted);
  transition: color .3s;
}
.cat-tab::first-letter { text-transform: uppercase; }
.cat-tab::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease-out); }
.cat-tab:hover { color: var(--ink); }
.cat-tab.is-active { color: var(--ink); }
.cat-tab.is-active::after { transform: none; }

/* subcategoriile — pe mai multe rânduri, cu numărul de parfumuri */
.chips--wrap { flex-wrap: wrap; overflow: visible; }
.chip i { font-style: normal; font-size: 12px; opacity: .55; margin-left: 2px; }
.chip.is-empty { color: var(--muted); border-style: dashed; }

/* popup parfum: fraza de deschidere, descrierea lungă, unde se încadrează */
.detail__lead { margin-top: 22px; padding-left: 18px; border-left: 2px solid var(--gold); font-family: var(--display); font-size: clamp(21px, 1.9vw, 26px); font-style: italic; line-height: 1.35; color: var(--ink); }
.detail__story--long { font-size: 17.5px; font-style: normal; line-height: 1.7; }
.detail__story p + p { margin-top: 14px; }
.detail__story--long p:last-child { font-style: italic; color: var(--ink); }
.where { display: grid; border-top: 1px solid var(--line); }
.where__row { display: grid; grid-template-columns: 150px 1fr; gap: 14px; align-items: baseline; padding: 12px 0; border-bottom: 1px solid var(--line); }
.where__row small { font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.where__row small::first-letter { text-transform: uppercase; }
.where__row div { display: flex; flex-wrap: wrap; gap: 6px; }
.where__tag { padding: 4px 12px; font-size: 14px; border: 1px solid var(--line-2); border-radius: 30px; transition: background .3s, color .3s, border-color .3s; }
.where__tag:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.detail .try { margin-top: 34px; }

/* Despre mine */
.about__lead { font-family: var(--display); font-size: clamp(20px, 1.7vw, 25px) !important; font-style: italic; color: var(--gold) !important; margin: -6px 0 16px; }
.about__more p { margin-top: 12px; }
.about__end { font-family: var(--display); font-size: 20px !important; font-style: italic; color: var(--ink) !important; }
.about__content button.link-arrow { font: inherit; font-weight: 600; color: inherit; cursor: pointer; }

@media (max-width: 1000px) {
  .cat-grid--5 { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 600px) {
  .cat-grid--5 { grid-template-columns: repeat(2, 1fr); }
  .cat-grid--5 .cat-card:last-child { grid-column: 1 / -1; aspect-ratio: 2 / 1; }
  .where__row { grid-template-columns: 1fr; gap: 6px; }
}
@media (max-width: 600px) {
  .cat-tabs { flex-wrap: wrap; column-gap: 18px; overflow: visible; }
  .cat-tab { padding: 8px 0; }
}

/* ==========================================================================
   v5 — pagina separată pentru fiecare parfum, carduri cu descriere scurtă
   ========================================================================== */

/* carduri parfum (acum sunt linkuri) */
a.p-card { display: block; color: inherit; }
.p-card__family { font-size: 15px !important; font-style: italic; color: var(--gold) !important; margin-bottom: 6px; }
.p-card__short {
  font-size: 15px !important; font-style: normal !important; line-height: 1.5; color: var(--ink-2);
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; overflow: hidden;
}
.p-badge {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  padding: 4px 10px; font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink); background: rgba(255, 255, 255, .78); border-radius: 30px;
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
}
.p-badge--inline { position: static; display: inline-block; vertical-align: middle; margin-left: 8px; font-style: normal; background: var(--blush-2); border: 1px solid var(--line-2); }
.featured__name a { color: inherit; }
.featured__name a:hover { color: var(--gold); }
a.featured__media { display: block; }

/* pagina parfumului */
.pf { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); margin-top: 78px; }
.pf__media { position: sticky; top: 78px; height: calc(100vh - 78px); height: calc(100svh - 78px); overflow: hidden; align-self: start; }
.pf__img { position: absolute; inset: 0; }
.pf__media .bottle { position: absolute; left: 50%; bottom: 24%; width: min(30%, 190px); transform: translateX(-50%); z-index: 1; filter: drop-shadow(0 18px 24px rgba(90, 55, 25, .25)); }
.pf__media:not(.has-img)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 26%;
  background: linear-gradient(180deg, rgba(255,255,255,.55), rgba(255,255,255,0) 14%), linear-gradient(180deg, #efe6dc, #d8c8b9);
}
.pf__info { padding: clamp(40px, 5vw, 80px) clamp(22px, 5vw, 80px) clamp(50px, 6vw, 80px); max-width: 760px; }
.pf__brand { font-size: 13px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.pf__name { font-family: var(--display); font-size: clamp(42px, 5vw, 76px); font-weight: 500; line-height: .98; margin: 8px 0 12px; overflow-wrap: break-word; }
.pf__meta { font-size: 14px; letter-spacing: .06em; color: var(--muted); margin-bottom: 6px; }
.pf__family { font-size: clamp(19px, 1.6vw, 22px); font-style: italic; color: var(--ink-2); }
.pf .detail__lead { margin-top: 26px; }
.pf .try { margin-top: 30px; }
.pf__story { font-size: 18px; line-height: 1.75; color: var(--ink-2); }
.pf__story p + p { margin-top: 16px; }
.pf__story p:last-child { font-family: var(--display); font-size: 22px; font-style: italic; line-height: 1.45; color: var(--ink); }
.pf .specs { border-top: 1px solid var(--line); }
.pf .specs li { padding: 14px 0; }
.pf .specs li + li { border-top: 1px dashed var(--line); }
.pf .specs span { font-size: 16px; line-height: 1.45; }
.pf__sub { font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); font-weight: 500; margin: 30px 0 12px; }
.pf__notes { padding: 16px 18px; background: rgba(255, 255, 255, .55); border: 1px solid var(--line); font-size: 17px; font-style: italic; line-height: 1.5; }
.pf__note { margin-top: 18px; padding: 16px 18px; background: var(--blush-2); border-left: 2px solid var(--ink-2); }
.pf__note--gold { border-left-color: var(--gold); }
.pf__note small { display: block; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.pf__note p { font-size: 16px; font-style: italic; line-height: 1.55; color: var(--ink-2); }
.pf__arts { display: grid; gap: 10px; }
.pf__arts .link-arrow { align-self: flex-start; }
.detail__nav a { font-size: 18px; font-style: italic; transition: color .3s; }
.detail__nav a:hover { color: var(--gold); }
.pf-similar .p-grid { grid-template-columns: repeat(4, 1fr); }

/* mobil: bara fixă „Vreau să-l încerc” */
.trybar { display: none; }

/* articol: subtitlul fiecărui parfum, final, caseta cu linkul către parfum */
.post__body .post__sub { margin-top: -6px; font-family: var(--display); font-size: 21px; font-style: italic; color: var(--gold); }
.post__body .post__final { font-family: var(--display); font-size: 25px; font-style: italic; line-height: 1.4; color: var(--ink); margin-top: 28px; }
.post__body .post__sign { font-style: italic; color: var(--muted); }
.post__pf {
  display: flex; align-items: center; gap: 16px; margin: 26px 0 8px; padding: 12px 18px 12px 12px;
  background: var(--blush-2); border: 1px solid var(--line); transition: background .3s, transform .4s var(--ease-out);
}
.post__pf:hover { background: #fff; transform: translateY(-2px); }
.post__pf small { display: block; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.post__pf strong { display: block; font-family: var(--display); font-size: 24px; font-weight: 500; line-height: 1.1; }
.post__pf em { font-size: 14px; color: var(--ink-2); }
.post__pf-go { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; font-size: 15px; color: var(--ink); white-space: nowrap; }
.post__pf-go .ico-arrow { width: 14px; }
.pp__img--bottle { position: relative; background: linear-gradient(160deg, var(--g1), var(--g2)); }
.pp__img--bottle .bottle { position: absolute; left: 50%; top: 50%; width: 28px; transform: translate(-50%, -50%); }

@media (max-width: 1100px) {
  .pf-similar .p-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .pf { grid-template-columns: 1fr; margin-top: 70px; }
  .pf__media { position: relative; top: 0; height: auto; aspect-ratio: 4 / 4.2; max-height: 70vh; }
  .pf__info { max-width: none; padding-top: 30px; }
  .pf-similar .p-grid { grid-template-columns: repeat(2, 1fr); }

  .trybar {
    display: flex; align-items: center; gap: 12px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 900;
    padding: 10px var(--gutter); padding-bottom: calc(10px + env(safe-area-inset-bottom));
    background: rgba(248, 241, 234, .96); box-shadow: 0 -1px 0 var(--line), 0 -10px 30px -18px rgba(33, 27, 24, .3);
    -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
    transform: translateY(110%); transition: transform .45s var(--ease-out);
  }
  .show-trybar .trybar { transform: none; }
  .trybar div { min-width: 0; }
  .trybar small { display: block; font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .trybar strong { display: block; font-family: var(--display); font-size: 19px; font-weight: 500; line-height: 1.1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .trybar .btn { margin-left: auto; flex-shrink: 0; padding: 12px 16px; font-size: 14px; }
  .menu-open .trybar, .is-locked .trybar { transform: translateY(110%); }
}
@media (max-width: 600px) {
  .pf__media { aspect-ratio: 1 / 1.05; }
  .pf__story { font-size: 17px; }
  .pf .specs li { gap: 12px; }
  .p-card__short { font-size: 14px !important; -webkit-line-clamp: 4; line-clamp: 4; }
  .p-badge { top: 8px; left: 8px; font-size: 9.5px; padding: 3px 8px; letter-spacing: .08em; }
  .post__pf { flex-wrap: wrap; }
  .post__pf-go { margin-left: 78px; }
}
@media (max-width: 600px) {
  .p-badge--inline { display: table; margin: 10px 0 0; }
}
