/* NaturaFLAME — a quiet, scroll-led story. Scoped to the homepage hero. */
.nf-story {
  --nf-paper: var(--paper);
  --nf-ink: #32271f;
  --nf-muted: #736456;
  --nf-light: #fbf5ec;
  --nf-accent: #8b643c;
  --nf-gutter: clamp(24px, 6.6vw, 112px);
  --nf-header: 100px;
  --nf-bottom: 120px;
  --nf-ease: cubic-bezier(.22, 1, .36, 1);
  position: relative;
  background: var(--nf-paper);
  color: var(--nf-ink);
  isolation: isolate;
}
body.nf-story-home, body.nf-story-home #continut { overflow-x: clip; }
.nf-story.nf-story--ready { height: 480svh; }
.nf-story--static .nf-story__stage { position: relative; }
.nf-story__stage {
  position: sticky;
  top: 0;
  height: 100svh;
  min-height: 660px;
  overflow: clip;
  background: var(--nf-paper);
  isolation: isolate;
}
.nf-story__scene {
  position: absolute;
  inset: 0;
  background: var(--nf-paper);
  opacity: 0;
  pointer-events: none;
  overflow: hidden;
}
.nf-story__scene.is-active { opacity: 1; pointer-events: auto; }
.nf-story__visual {
  position: absolute;
  inset: 0 0 0 37%;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 24%);
  mask-image: linear-gradient(90deg, transparent, #000 24%);
}
.nf-story__visual picture { display: block; width: 100%; height: 100%; }
.nf-story__photo {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: 52% 60%;
  transform: scale(1.035);
}
.nf-story__visual::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(250,245,236,.38), transparent 25%, transparent 72%, rgba(250,245,236,.9));
}
.nf-story__copy {
  position: absolute;
  z-index: 2;
  left: var(--nf-gutter);
  top: 50%;
  width: min(53%, 760px);
  transform: translateY(-44%);
}
.nf-story .nf-story__title {
  margin: 0;
  max-width: none;
  color: var(--nf-ink);
  font-family: var(--font-display);
  font-size: clamp(58px, 6.55vw, 112px);
  font-weight: 340;
  line-height: 1.045;
  letter-spacing: -.055em;
}
.nf-story__title em { color: var(--nf-accent); font-weight: 400; letter-spacing: -.06em; }
.nf-story__description {
  margin: 28px 0 30px;
  max-width: 370px;
  color: var(--nf-muted);
  font-size: clamp(13px, 1.08vw, 16px);
  line-height: 1.85;
}
.nf-story__button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  min-height: 52px;
  padding: 14px 24px;
  border: 1px solid var(--nf-ink);
  background: var(--nf-ink);
  color: var(--nf-light);
  border-radius: 2px;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: .03em;
  transition: background-color .2s, color .2s, transform .2s;
}
.nf-story__button > span { font-size: 21px; line-height: 1; }
.nf-story__button:hover { color: var(--nf-ink); background: var(--nf-light); transform: translateY(-2px); }
.nf-story a:focus-visible, .nf-story button:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }
.nf-story__signature {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 36px;
  color: var(--nf-muted);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .13em;
}
.nf-story__signature i { width: 3px; height: 3px; border-radius: 50%; background: currentColor; }
.nf-story__detail { margin: 30px 0 0; max-width: 420px; color: var(--nf-muted); font-size: 13px; line-height: 1.8; letter-spacing: .02em; }
.nf-story__detail > span { padding: 0 7px; opacity: .45; }
.nf-story__caption {
  position: absolute;
  z-index: 2;
  right: var(--nf-gutter);
  bottom: calc(var(--nf-bottom) + 4px);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  color: var(--nf-ink);
}
.nf-story__caption > span:first-child { font-size: 11px; font-weight: 500; letter-spacing: .16em; }
.nf-story__caption > span:last-child { font-family: var(--font-display); font-size: 32px; font-weight: 400; font-style: italic; }

.nf-story__scene--prestige { --nf-paper: var(--paper); }
.nf-story__scene--onyx { --nf-paper: var(--paper); }
.nf-story__scene--wax { --nf-paper: var(--paper); }
.nf-story__scene--accessories { --nf-paper: var(--paper); }
.nf-story__scene--onyx .nf-story__photo { object-position: 55% center; }
.nf-story__scene--wax .nf-story__photo { object-position: 61% center; }
.nf-story__scene--accessories .nf-story__photo { object-position: 53% center; }
.nf-story__bottom {
  position: absolute;
  bottom: 18px;
  left: var(--nf-gutter);
  right: var(--nf-gutter);
  z-index: 5;
  min-height: 96px;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(18px, 2.5vw, 44px);
  border: 0;
  border-radius: 0;
  background: transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  box-shadow: none;
  color: var(--nf-ink);
}
.nf-story__scroll, .nf-story__skip {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 44px;
  padding: 4px 7px 4px 19px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .04em;
  white-space: nowrap;
  text-decoration: none;
  transition: background-color .25s, border-color .25s;
}
.nf-story__scroll > span:last-child, .nf-story__skip > span {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--nf-ink);
  color: var(--nf-light);
  font-size: 17px;
  transition: background-color .25s;
}
.nf-story__scroll:hover, .nf-story__skip:hover { background: rgba(139,100,60,.08); }
.nf-story__scroll:hover > span:last-child, .nf-story__skip:hover > span { background: var(--nf-accent); }

.nf-story__chapters {
  display: none;
  align-items: center;
  flex: 1;
  gap: clamp(12px, 1.6vw, 26px);
  width: auto;
  max-width: 600px;
}
.nf-story--ready .nf-story__chapters { display: flex; }
.nf-story__chapters button {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 5px;
  min-width: 0;
  min-height: 64px;
  padding: 3px 0;
  border: 0;
  background: transparent;
  color: var(--nf-muted);
  cursor: pointer;
  transition: color .25s;
}
.nf-story__chapter-number {
  font-family: var(--font-body);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: .16em;
  line-height: 1.2;
}
.nf-story__chapters button > span:last-child {
  font-family: var(--font-display);
  font-size: clamp(12px, 1.15vw, 17px);
  font-weight: 400;
  letter-spacing: -.02em;
  line-height: 1.3;
}
.nf-story__chapters button[aria-current], .nf-story__chapters button:hover { color: var(--nf-accent); }
.nf-story__chapter-track {
  display: block;
  order: 3;
  position: relative;
  width: 100%;
  height: 2px;
  margin-top: 4px;
  background: rgba(139,100,60,.18);
}
.nf-story__chapter-track i {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--nf-accent);
  transform: scaleX(0);
  transform-origin: left;
}
.nf-story__chapters button[aria-current] .nf-story__chapter-track::after {
  content: "";
  position: absolute;
  top: -2px;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--nf-accent);
  box-shadow: 0 0 0 3px rgba(139,100,60,.1);
}

@media (min-width: 1700px) { .nf-story__copy { width: 52%; } .nf-story__visual { left: 42%; } }
@media (max-width: 1100px) and (min-width: 701px) {
  .nf-story { --nf-gutter: 36px; }
  .nf-story__copy { width: 59%; }
  .nf-story .nf-story__title { font-size: clamp(54px, 7vw, 77px); }
  .nf-story__visual { left: 34%; }
  .nf-story__chapters { gap: 12px; width: 50%; }
  .nf-story__scroll { gap: 8px; }
  .nf-story__skip { display: none; }
}
@media (max-width: 700px) {
  .nf-story { --nf-gutter: 24px; --nf-header: 88px; --nf-bottom: 120px; }
  .nf-story.nf-story--ready { height: 370svh; }
  .nf-story__stage { height: 100svh; min-height: 720px; }
  .nf-story__visual {
    inset: 39% 0 28px;
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 22%, #000 81%, transparent);
    mask-image: linear-gradient(180deg, transparent 0%, #000 22%, #000 81%, transparent);
  }
  .nf-story__photo { object-position: center 61%; }
  .nf-story__visual::after { background: linear-gradient(180deg, transparent 60%, var(--nf-paper)); }
  .nf-story__copy {
    top: calc(var(--nf-header) + 34px);
    left: var(--nf-gutter);
    right: var(--nf-gutter);
    width: auto;
    transform: none;
  }
  .nf-story .nf-story__title { font-size: clamp(46px, 10.2vw, 65px); line-height: 1.035; letter-spacing: -.05em; }
  .nf-story__description { font-size: 12px; line-height: 1.7; margin: 17px 0 19px; }
  .nf-story__button { min-height: 46px; padding: 11px 18px; font-size: 10px; gap: 28px; }
  .nf-story__button > span { font-size: 18px; }
  .nf-story__signature, .nf-story__detail { display: none; }
  .nf-story__caption { right: 24px; bottom: var(--nf-bottom); gap: 3px; }
  .nf-story__caption > span:first-child { font-size: 9px; letter-spacing: .1em; }
  .nf-story__caption > span:last-child { font-size: 25px; }
  .nf-story__bottom { gap: 0; flex-wrap: wrap; align-content: center; min-height: var(--nf-bottom); }
  .nf-story__scroll { font-size: 10px; min-height: 44px; gap: 8px; }
  .nf-story__skip { font-size: 10px; min-height: 44px; margin-left: auto; }
  .nf-story__chapters { order: -1; width: 100%; gap: 12px; }
  .nf-story__chapters button { min-height: 44px; padding: 8px 0; }
  .nf-story__chapters button > span:last-child { display: none; }
}
@media (max-width: 700px) and (max-height: 740px) {
  .nf-story__stage { min-height: 640px; }
  .nf-story__copy { top: 101px; }
  .nf-story .nf-story__title { font-size: 43px; }
  .nf-story__description { margin: 13px 0 14px; }
  .nf-story__visual { top: 43%; }
}
@media (min-width: 701px) and (max-height: 700px) {
  .nf-story__stage { min-height: 600px; }
  .nf-story__copy { transform: translateY(-35%); }
  .nf-story .nf-story__title { font-size: 66px; }
  .nf-story__description { margin-block: 20px; }
  .nf-story__signature, .nf-story__detail { margin-top: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .nf-story.nf-story--ready { height: auto; }
  .nf-story__stage { position: relative; }
  .nf-story__chapters { display: none !important; }
  .nf-story__photo, .nf-story__button:hover { transform: none !important; }
}

/* Keep the shared header clear while the product story is pinned. */
body.nf-story-header-transparent .site-header.is-scrolled {
  background: transparent;
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

@media (min-width: 701px) and (max-width: 1100px) {
  .nf-story { --nf-bottom: 156px; }
  .nf-story__bottom { min-height: 132px; padding: 8px 16px; gap: 8px; flex-wrap: wrap; }
  .nf-story__chapters { order: -1; flex: 0 0 100%; max-width: none; gap: 18px; }
  .nf-story__chapters button { min-height: 58px; }
  .nf-story__scroll, .nf-story__skip { display: inline-flex; font-size: 10px; padding-left: 14px; gap: 10px; }
  .nf-story__skip { margin-left: auto; }
}
@media (max-width: 700px) {
  .nf-story { --nf-bottom: 156px; }
  .nf-story__bottom { left: 16px; right: 16px; bottom: 12px; min-height: 132px; padding: 10px 14px; gap: 8px; flex-wrap: wrap; align-content: center; }
  .nf-story__chapters { order: -1; flex: 0 0 100%; max-width: none; gap: 8px; }
  .nf-story__chapters button { min-height: 58px; padding: 2px 0; gap: 5px; }
  .nf-story__chapters button > span:last-child { display: block; font-size: clamp(9px, 2.35vw, 12px); }
  .nf-story__chapter-number { font-size: 8px; }
  .nf-story__scroll, .nf-story__skip { font-size: 9px; gap: 7px; padding: 3px 5px 3px 10px; }
  .nf-story__scroll > span:last-child, .nf-story__skip > span { width: 27px; height: 27px; font-size: 15px; }
  .nf-story__skip { margin-left: auto; }
}
@media (max-width: 360px) {
  .nf-story__scroll, .nf-story__skip { font-size: 8px; gap: 5px; padding: 3px 4px 3px 8px; }
  .nf-story__scroll > span:last-child, .nf-story__skip > span { width: 24px; height: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  .nf-story__bottom a, .nf-story__bottom a > span, .nf-story__chapters button { transition: none; }
}

/* Mobile editorial hero: one native horizontal photo row, normal page scroll. */
.nf-mobile-hero { display: none; }
@media (max-width: 700px) {
  .nf-story, .nf-story.nf-story--ready { display: none; height: auto; }
  .nf-mobile-hero { display: block; padding: 99px 0 26px; color: var(--ink); background: var(--paper); overflow: hidden; }
  .nf-mobile-hero__intro { padding: 0 24px; text-align: center; }
  .nf-mobile-hero__eyebrow { margin: 0 0 16px; font: 500 10px/1.5 var(--font-body); letter-spacing: .2em; color: var(--gold-dim); }
  .nf-mobile-hero h1 { margin: 0; font: 400 clamp(42px, 11vw, 68px)/1.03 var(--font-display); letter-spacing: -.045em; }
  .nf-mobile-hero h1 em { color: var(--gold-dim); font-weight: 400; }
  .nf-mobile-hero__description { margin: 18px auto 0; max-width: 360px; font-size: 13px; line-height: 1.65; color: var(--ink-soft); }
  .nf-mobile-hero__cta { display: inline-flex; align-items: center; justify-content: center; gap: 18px; min-height: 44px; margin-top: 20px; padding: 10px 22px; border: 1px solid var(--gold); border-radius: 999px; color: var(--ink); font-size: 12px; text-decoration: none; }
  .nf-mobile-hero__cta:hover { background: var(--gold-light); }
  .nf-mobile-hero__rail { display: flex; gap: 14px; margin-top: 26px; padding: 0 24px 14px; overflow-x: auto; scroll-snap-type: x proximity; scroll-padding-inline: 24px; scrollbar-width: thin; scrollbar-color: var(--gold) transparent; }
  .nf-mobile-hero__card { flex: 0 0 clamp(210px, 65vw, 300px); scroll-snap-align: start; }
  .nf-mobile-hero__end { display: flex; flex-direction: column; align-items: center; gap: 16px; margin-top: 14px; padding: 0 20px; font-size: 14px; font-weight: 700; color: #57402f; }
  .nf-mobile-hero__end a { display: inline-flex; align-items: center; gap: 18px; min-height: 40px; color: var(--gold-dim); font-size: 11px; text-decoration: none; }
  .nf-mobile-hero :is(a, .nf-mobile-hero__rail):focus-visible { outline: 2px solid var(--gold-dim); outline-offset: -3px; }
  #categorii { scroll-margin-top: 100px; }
}
@media (max-width: 700px) and (prefers-reduced-motion: no-preference) {
  .nf-mobile-hero__intro { animation: nf-mobile-reveal .65s ease-out both; }
  .nf-mobile-hero__rail { animation: nf-mobile-reveal .8s .12s ease-out both; }
}
@keyframes nf-mobile-reveal { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
/* Mobile categories live in the hero; desktop keeps its category section. */
@media (max-width: 700px) {
  #categorii { display: none; }
  .nf-mobile-hero__intro, .nf-mobile-hero__rail { animation: none; }
  .nf-mobile-hero__line { display: block; overflow: hidden; padding-bottom: .12em; margin-bottom: -.12em; }
  .nf-mobile-hero__line > :is(span, em) { display: block; }
  #cele-mai-vandute { scroll-margin-top: 100px; }
}
@media (max-width: 700px) and (prefers-reduced-motion: no-preference) {
  .nf-mobile-hero__line > :is(span, em) { animation: nf-mobile-line-rise .8s cubic-bezier(.22,1,.36,1) both; }
  .nf-mobile-hero__eyebrow .nf-mobile-hero__line > span { animation-delay: .08s; }
  .nf-mobile-hero h1 .nf-mobile-hero__line:nth-child(1) > span { animation-delay: .18s; }
  .nf-mobile-hero h1 .nf-mobile-hero__line:nth-child(2) > em { animation-delay: .3s; }
  .nf-mobile-hero__description .nf-mobile-hero__line:nth-child(1) > span { animation-delay: .42s; }
  .nf-mobile-hero__description .nf-mobile-hero__line:nth-child(2) > span { animation-delay: .52s; }
  .nf-mobile-hero__cta { animation: nf-mobile-reveal .7s .62s both; }
  .nf-mobile-hero__card { animation: nf-mobile-card-rise .85s cubic-bezier(.22,1,.36,1) both; }
  .nf-mobile-hero__card:nth-child(1) { animation-delay: .42s; }
  .nf-mobile-hero__card:nth-child(2) { animation-delay: .56s; }
  .nf-mobile-hero__card:nth-child(3) { animation-delay: .7s; }
  .nf-mobile-hero__card:nth-child(4) { animation-delay: .84s; }
}
@keyframes nf-mobile-line-rise { from { opacity: 0; transform: translateY(110%); } to { opacity: 1; transform: translateY(0); } }
@keyframes nf-mobile-card-rise { from { opacity: 0; transform: translateY(36px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 700px) {
  .nf-mobile-hero h1 .nf-mobile-hero__line:last-child { font-size: .7em; line-height: 1.25; margin-top: .12em; }
  .nf-mobile-hero__end { text-align: center; line-height: 1.6; }
}
@media (max-width: 700px) and (prefers-reduced-motion: no-preference) {
  .nf-mobile-hero h1 .nf-mobile-hero__line:nth-child(3) > span { animation-delay: .4s; }
  .nf-mobile-hero__description .nf-mobile-hero__line:nth-child(1) > span { animation-delay: .5s; }
  .nf-mobile-hero__description .nf-mobile-hero__line:nth-child(2) > span { animation-delay: .6s; }
}
/* Emphasize the title word once the entrance reveal has finished. */
@media (max-width: 700px) {
  .nf-mobile-hero__word-zoom { display: inline-block; transform-origin: center; }
  .nf-mobile-hero h1 .nf-mobile-hero__line:nth-child(2) { padding-block: .28em; margin-block: -.28em; }
}
@media (max-width: 700px) and (prefers-reduced-motion: no-preference) {
  .nf-mobile-hero__word-zoom { animation: nf-mobile-word-zoom 1.4s 1.5s cubic-bezier(.22,1,.36,1) both; }
}
@keyframes nf-mobile-word-zoom { 0%, 100% { transform: scale(1); } 45% { transform: scale(1.25); } }