/* =========================================================
   JUST LOVE — свещи и фигурки от соев восък
   Всички стилове на сайта. Един файл, подреден по секции.

   1.  Токени (цветове, шрифтове, размери)
   2.  Основа и типография
   3.  Помощни класове и бутони
   4.  Декор: зърно, сияние, лента за скрол, курсор, преход
   5.  Хедър, навигация, мобилно меню
   6.  Кошница (панел отстрани)
   7.  Hero и смяната на снимките
   8.  Секции и заглавия
   9.  Карти на категориите (ефект „изплуване на фокус“)
   10. Продукти
   11. Галерия и лайтбокс
   12. Табове и филтри
   13. Стъпки, предимства, отзиви
   14. Често задавани въпроси
   15. Форма за поръчка и контакти
   16. Текстови (информационни) страници
   17. Футър
   18. Бисквитки и съобщения
   19. Появяване при скрол
   20. Респонсив
   21. По-малко движение / печат
   ========================================================= */

/* ---------- 1. Токени ---------- */
:root {
  /* ЦВЕТОВЕТЕ НА САЙТА. Смениш ли тези редове, целият сайт се пребоядисва. */
  --bg:         #faf7fb;   /* основен фон — почти бяло с лилав оттенък */
  --bg-2:       #f2ecf7;   /* редуващи се секции */
  --surface:    #ffffff;   /* карти и полета */
  --surface-2:  #fbf8fd;
  --deep:       #2e1338;   /* тъмно лилаво — футър и акцентни ленти */
  --deep-2:     #3d1c4a;

  --plum:       #5b2a72;   /* основният лилав — бутони, връзки, акценти */
  --plum-2:     #47205a;   /* по-тъмно при посочване */
  --lilac:      #a87fd1;   /* светъл лилав — линии и детайли */
  --lilac-soft: rgba(168, 127, 209, .14);
  --gold:       #c98b2e;   /* топъл акцент — пламъче, звездички, малки детайли */
  --gold-soft:  rgba(240, 192, 120, .22);

  --txt:        #2a2230;   /* основен текст */
  --muted:      #6b6076;   /* вторичен текст */
  --line:       rgba(91, 42, 114, .14);
  --line-2:     rgba(91, 42, 114, .28);

  --ff-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --ff-body:    "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;

  --step--1: clamp(.8rem, .77rem + .16vw, .89rem);
  --step-0:  clamp(.97rem, .93rem + .22vw, 1.08rem);
  --step-1:  clamp(1.12rem, 1.04rem + .4vw, 1.35rem);
  --step-2:  clamp(1.45rem, 1.25rem + .95vw, 2.05rem);
  --step-3:  clamp(1.95rem, 1.5rem + 2.2vw, 3.2rem);
  --step-4:  clamp(2.5rem, 1.7rem + 4vw, 5rem);

  --gutter: clamp(1.1rem, 4vw, 3.5rem);
  --maxw: 1280px;
  --radius: 14px;
  --radius-sm: 8px;
  --ease: cubic-bezier(.22, .8, .28, 1);
  --ease-wipe: cubic-bezier(.76, 0, .18, 1);
  --shadow: 0 18px 48px rgba(46, 19, 56, .12);
  --shadow-lg: 0 30px 70px rgba(46, 19, 56, .18);
}

/* ---------- 2. Основа и типография ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--txt);
  font-family: var(--ff-body);
  font-size: var(--step-0);
  line-height: 1.72;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 {
  font-family: var(--ff-display);
  font-weight: 500;
  line-height: 1.12;
  margin: 0 0 .6em;
  color: var(--txt);
  letter-spacing: -.01em;
}
h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-2); }
h4 { font-size: var(--step-1); }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--plum); text-decoration-color: var(--line-2); text-underline-offset: .22em; }
a:hover { color: var(--plum-2); }

strong, b { font-weight: 700; }

::selection { background: var(--plum); color: #fff; }

:focus-visible {
  outline: 3px solid var(--plum);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- 3. Помощни класове и бутони ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  top: -100px; left: 1rem;
  z-index: 200;
  background: var(--plum);
  color: #fff;
  padding: .7rem 1.2rem;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  transition: top .25s var(--ease);
}
.skip-link:focus { top: 0; color: #fff; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-size: var(--step--1);
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--plum);
  font-weight: 700;
  margin-bottom: .9rem;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 1px;
  background: var(--lilac);
}

.lead { font-size: var(--step-1); color: var(--muted); line-height: 1.62; }
.muted { color: var(--muted); }
.center { text-align: center; }

.btn {
  --btn-bg: var(--plum);
  --btn-fg: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  padding: .95rem 1.8rem;
  border: 1px solid var(--btn-bg);
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font: 600 var(--step--1)/1 var(--ff-body);
  letter-spacing: .1em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .35s var(--ease), color .35s var(--ease);
}
.btn svg { width: 17px; height: 17px; flex: none; }
.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--plum-2);
  transform: translateY(101%);
  transition: transform .45s var(--ease);
}
.btn:hover { color: #fff; box-shadow: 0 12px 26px rgba(91, 42, 114, .28); }
.btn:hover::after { transform: translateY(0); }
.btn:active { transform: scale(.97); }
.btn[disabled] { opacity: .55; pointer-events: none; }

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--plum);
  border-color: var(--line-2);
}
.btn--ghost:hover { color: #fff; }
.btn--light {
  --btn-bg: #fff;
  --btn-fg: var(--plum);
  border-color: #fff;
}
.btn--light::after { background: var(--lilac); }
.btn--light:hover { color: var(--deep); }
.btn--sm { padding: .68rem 1.25rem; font-size: .74rem; }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  align-items: center;
}

.tag {
  display: inline-block;
  padding: .3rem .78rem;
  border-radius: 999px;
  background: var(--lilac-soft);
  color: var(--plum);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.tag--gold { background: var(--gold-soft); color: #8a5c14; }

/* ---------- 4. Декор ---------- */
.grain {
  position: fixed;
  inset: -120%;
  z-index: 90;
  pointer-events: none;
  opacity: .3;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='.35'/%3E%3C/svg%3E");
  animation: grain 7s steps(6) infinite;
  mix-blend-mode: multiply;
}
@keyframes grain {
  0%, 100% { transform: translate(0, 0); }
  20% { transform: translate(-4%, 3%); }
  40% { transform: translate(3%, -4%); }
  60% { transform: translate(-2%, -3%); }
  80% { transform: translate(4%, 2%); }
}

.glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(46% 52% at 18% 22%, rgba(168, 127, 209, .30), transparent 68%),
    radial-gradient(40% 44% at 84% 12%, rgba(240, 192, 120, .22), transparent 66%),
    radial-gradient(52% 48% at 62% 88%, rgba(91, 42, 114, .14), transparent 70%);
  filter: blur(6px);
}

.scroll-bar {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 100%;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--plum), var(--lilac), var(--gold));
  z-index: 120;
  pointer-events: none;
}

/* Курсор — топло кръгче с пламъче, само на компютър */
.cursor {
  position: fixed;
  top: 0; left: 0;
  width: 34px; height: 34px;
  margin: -17px 0 0 -17px;
  border: 1px solid var(--lilac);
  border-radius: 50%;
  z-index: 130;
  pointer-events: none;
  opacity: 0;
  transition: width .3s var(--ease), height .3s var(--ease), margin .3s var(--ease), background .3s var(--ease), opacity .3s;
  display: none;
}
.cursor__dot {
  position: absolute;
  inset: 50% auto auto 50%;
  width: 4px; height: 4px;
  margin: -2px 0 0 -2px;
  border-radius: 50%;
  background: var(--plum);
}
.cursor.on { background: rgba(168, 127, 209, .16); width: 58px; height: 58px; margin: -29px 0 0 -29px; }
.cursor__label {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--plum);
  white-space: nowrap;
  opacity: 0;
  font-style: normal;
  transition: opacity .25s;
}
.cursor.on .cursor__label { opacity: 1; }
.cursor.on .cursor__dot { opacity: 0; }
@media (hover: hover) and (pointer: fine) {
  .cursor { display: block; opacity: 1; }
}

/* Преход между страниците — кратко и семпло избледняване */
.wax {
  position: fixed;
  inset: 0;
  z-index: 160;
  pointer-events: none;
  background: var(--bg);
  opacity: 0;
}
/* Базовото състояние е прозрачно — така страницата никога не остава скрита,
   дори ако анимациите не се изпълнят. */
.wax.is-closing { animation: waxIn .16s linear forwards; }
@keyframes waxIn { from { opacity: 0; } to { opacity: 1; } }
.wax__mark { display: none; }

/* ---------- 5. Хедър и навигация ---------- */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(250, 247, 251, .82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: transform .5s var(--ease), border-color .4s, background .4s, box-shadow .4s;
}
.header.is-stuck {
  border-bottom-color: var(--line);
  box-shadow: 0 8px 30px rgba(46, 19, 56, .07);
}
.header.is-hidden { transform: translateY(-100%); }

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 76px;
  padding-block: .5rem;
}

.brand { display: inline-flex; align-items: center; flex: none; }
.brand img {
  width: clamp(128px, 14vw, 168px);   /* логото е широко 1.93 : 1, с прозрачен фон */
  height: auto;
}

.nav { display: flex; align-items: center; gap: clamp(.5rem, 1.6vw, 1.4rem); }
.nav__link {
  position: relative;
  padding: .5rem .25rem;
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--txt);
  text-decoration: none;
  white-space: nowrap;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: .1rem;
  height: 1px;
  background: var(--plum);
  transform: scaleX(0);
  transform-origin: 100% 50%;
  transition: transform .4s var(--ease);
}
.nav__link:hover::after,
.nav__link[aria-current="page"]::after { transform: scaleX(1); transform-origin: 0 50%; }
.nav__link[aria-current="page"] { color: var(--plum); }

.has-sub { position: relative; }
.has-sub > .nav__link::before {
  content: "";
  display: inline-block;
  width: 6px; height: 6px;
  margin-right: .45rem;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  opacity: .55;
}
.sub {
  position: absolute;
  top: 100%; left: 50%;
  transform: translate(-50%, 8px);
  min-width: 268px;
  padding: .6rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
}
.has-sub:hover .sub,
.has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.sub a {
  display: block;
  padding: .6rem .9rem;
  border-radius: var(--radius-sm);
  font-size: var(--step--1);
  font-weight: 600;
  color: var(--txt);
  text-decoration: none;
  transition: background .25s, color .25s, padding-left .25s;
}
.sub a:hover { background: var(--lilac-soft); color: var(--plum); padding-left: 1.2rem; }

.header__cta { display: flex; align-items: center; gap: .55rem; flex: none; }

.icon-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px; height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  color: var(--plum);
  cursor: pointer;
  transition: background .3s, border-color .3s, transform .3s var(--ease);
}
.icon-btn svg { width: 19px; height: 19px; }
.icon-btn:hover { background: var(--lilac-soft); border-color: var(--lilac); transform: translateY(-2px); }
.icon-btn__count {
  position: absolute;
  top: -3px; right: -3px;
  min-width: 19px; height: 19px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--plum);
  color: #fff;
  font-size: .66rem;
  font-weight: 700;
  line-height: 19px;
  text-align: center;
  transform: scale(0);
  transition: transform .35s var(--ease);
}
.icon-btn__count.on { transform: scale(1); }
.icon-btn__count.pop { animation: countPop .5s var(--ease); }
@keyframes countPop { 40% { transform: scale(1.45); } to { transform: scale(1); } }

.header__social { display: flex; gap: .35rem; }
.header__social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border-radius: 50%;
  color: var(--muted);
  transition: color .3s, background .3s, transform .3s var(--ease);
}
.header__social a:hover { color: var(--plum); background: var(--lilac-soft); transform: translateY(-2px); }
.header__social svg { width: 18px; height: 18px; }

.burger {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  padding: 0;
  place-items: center;
}
.burger i {
  display: block;
  width: 18px; height: 1.6px;
  margin: 3px auto;
  background: var(--txt);
  transition: transform .4s var(--ease), opacity .3s;
}
.burger[aria-expanded="true"] i:nth-child(1) { transform: translateY(4.6px) rotate(45deg); }
.burger[aria-expanded="true"] i:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] i:nth-child(3) { transform: translateY(-4.6px) rotate(-45deg); }

/* Мобилно меню */
.menu {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--bg);
  padding: calc(76px + 2rem) var(--gutter) 2rem;
  overflow-y: auto;
  clip-path: inset(0 0 100% 0);
  transition: clip-path .6s var(--ease-wipe);
  visibility: hidden;
}
.menu.is-open { clip-path: inset(0 0 0 0); visibility: visible; }
.menu__list { display: flex; flex-direction: column; }
.menu__list a {
  padding: .7rem 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--ff-display);
  font-size: var(--step-2);
  color: var(--txt);
  text-decoration: none;
  opacity: 0;
  transform: translateY(14px);
}
.menu.is-open .menu__list a { animation: menuIn .5s var(--ease) forwards; animation-delay: var(--d, 0ms); }
@keyframes menuIn { to { opacity: 1; transform: none; } }
.menu__list a.menu__sub {
  font-family: var(--ff-body);
  font-size: var(--step-0);
  color: var(--muted);
  padding-left: 1rem;
}
.menu__foot {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: .5rem;
  font-size: var(--step--1);
  color: var(--muted);
}
.menu__social { display: flex; gap: 1rem; margin-top: 1.6rem; }
.menu__social a {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-size: var(--step--1);
  font-weight: 600;
  text-decoration: none;
}
.menu__social svg { width: 18px; height: 18px; }

/* ---------- 5б. Търсачка ---------- */
.search {
  position: fixed;
  inset: 0;
  z-index: 142;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s var(--ease), visibility .3s;
}
.search.is-open { opacity: 1; visibility: visible; }
.search__veil {
  position: absolute;
  inset: 0;
  border: 0;
  padding: 0;
  background: rgba(46, 19, 56, .5);
  backdrop-filter: blur(3px);
  cursor: pointer;
}
.search__panel {
  position: relative;
  width: min(680px, calc(100% - 1.6rem));
  margin: clamp(4rem, 9vh, 7rem) auto 0;
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transform: translateY(-14px);
  transition: transform .35s var(--ease);
}
.search.is-open .search__panel { transform: none; }

.search__bar {
  display: flex;
  align-items: center;
  gap: .7rem;
  padding: .9rem 1.1rem;
  border-bottom: 1px solid var(--line);
}
.search__bar svg { width: 20px; height: 20px; color: var(--plum); flex: none; }
.search__bar input {
  flex: 1;
  border: 0;
  background: transparent;
  font: 400 var(--step-1)/1.4 var(--ff-body);
  color: var(--txt);
  padding: .2rem 0;
}
.search__bar input:focus { outline: none; }
.search__bar input::placeholder { color: #9b91a4; font-size: var(--step-0); }
.search__bar input::-webkit-search-cancel-button { display: none; }
.search__x {
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 1.05rem;
  cursor: pointer;
  padding: .3rem .4rem;
  border-radius: 50%;
  flex: none;
}
.search__x:hover { background: var(--lilac-soft); color: var(--plum); }

.search__body { max-height: min(62vh, 520px); overflow-y: auto; }
.search__group {
  padding: .7rem 1.1rem .3rem;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}
.search__hit {
  display: flex;
  align-items: center;
  gap: .85rem;
  padding: .6rem 1.1rem;
  color: var(--txt);
  text-decoration: none;
  border: 0;
  background: transparent;
  width: 100%;
  text-align: left;
  cursor: pointer;
  transition: background .2s;
}
.search__hit:hover, .search__hit:focus-visible { background: var(--lilac-soft); }
.search__hit img {
  width: 46px; height: 56px;
  object-fit: cover;
  border-radius: 6px;
  background: var(--bg-2);
  flex: none;
}
.search__hit b { display: block; font-size: .9rem; font-weight: 600; line-height: 1.3; }
.search__hit span { display: block; font-size: .76rem; color: var(--muted); }
.search__hit em {
  margin-left: auto;
  font-style: normal;
  font-size: .8rem;
  color: var(--plum);
  white-space: nowrap;
  font-family: var(--ff-display);
}
.search__ico {
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--lilac-soft);
  color: var(--plum);
  flex: none;
}
.search__ico svg { width: 20px; height: 20px; }
.search__empty { padding: 2rem 1.2rem; text-align: center; color: var(--muted); font-size: .9rem; }
.search__empty b { display: block; color: var(--txt); margin-bottom: .4rem; }
.search__tip { padding: 1.4rem 1.2rem; text-align: center; color: var(--muted); font-size: .86rem; }
.search__tags { display: flex; flex-wrap: wrap; gap: .4rem; justify-content: center; margin-top: .8rem; }
.search__tags button {
  padding: .4rem .8rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--plum);
  font: 600 .78rem/1 var(--ff-body);
  cursor: pointer;
}
.search__tags button:hover { background: var(--lilac-soft); border-color: var(--lilac); }

/* ---------- 6. Кошница ---------- */
.cart {
  position: fixed;
  top: 0; right: 0;
  z-index: 140;
  width: min(420px, 100%);
  height: 100%;
  background: var(--surface);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  transform: translateX(101%);
  transition: transform .55s var(--ease);
  visibility: hidden;
}
.cart.is-open { transform: none; visibility: visible; }
.cart__veil {
  position: fixed;
  inset: 0;
  z-index: 139;
  background: rgba(46, 19, 56, .5);
  opacity: 0;
  visibility: hidden;
  transition: opacity .45s, visibility .45s;
  border: 0;
  padding: 0;
  cursor: pointer;
}
.cart__veil.is-open { opacity: 1; visibility: visible; }
.cart__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.4rem 1.5rem;
  border-bottom: 1px solid var(--line);
}
.cart__head h2 { margin: 0; font-size: var(--step-1); }
.cart__body { flex: 1; overflow-y: auto; padding: 1.2rem 1.5rem; }
.cart__foot { padding: 1.2rem 1.5rem 1.6rem; border-top: 1px solid var(--line); background: var(--surface-2); }
.cart__empty { color: var(--muted); font-size: var(--step--1); text-align: center; padding: 2.5rem 0; }

.cart__item {
  display: grid;
  grid-template-columns: 62px 1fr auto;
  gap: .9rem;
  align-items: center;
  padding: .8rem 0;
  border-bottom: 1px solid var(--line);
}
.cart__item img { width: 62px; height: 78px; object-fit: cover; border-radius: var(--radius-sm); background: var(--bg-2); }
.cart__item b { display: block; font-size: var(--step--1); font-weight: 700; line-height: 1.35; }
.cart__item span { font-size: .78rem; color: var(--muted); }
.cart__qty { display: inline-flex; align-items: center; gap: .35rem; margin-top: .3rem; }
.cart__qty button {
  width: 24px; height: 24px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  color: var(--plum);
  font-size: .9rem;
  line-height: 1;
  cursor: pointer;
}
.cart__qty button:hover { background: var(--lilac-soft); }
.cart__qty i { font-style: normal; font-size: .8rem; min-width: 18px; text-align: center; }
.cart__del {
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 1rem;
  padding: .2rem .3rem;
  align-self: start;
}
.cart__del:hover { color: #a2263a; }
.cart__sum {
  display: flex;
  justify-content: space-between;
  font-size: var(--step--1);
  margin-bottom: .9rem;
}
.cart__sum b { font-size: var(--step-1); font-family: var(--ff-display); }
.cart__note { font-size: .76rem; color: var(--muted); margin-top: .8rem; line-height: 1.55; }

/* ---------- 7. Hero ---------- */
.hero {
  position: relative;
  padding: calc(76px + clamp(2.5rem, 7vw, 6rem)) 0 clamp(3rem, 7vw, 6rem);
  overflow: hidden;
}
.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.hero h1 { margin-bottom: .35em; }
.hero h1 em { font-style: italic; color: var(--plum); }
.hero__text > p { max-width: 46ch; }
.hero__marks {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.4rem;
  margin: 1.6rem 0 2rem;
  padding: 0;
  list-style: none;
  font-size: var(--step--1);
  color: var(--muted);
}
.hero__marks li { display: flex; align-items: center; gap: .45rem; }
.hero__marks svg { width: 16px; height: 16px; color: var(--plum); flex: none; }

/* --- смяната на снимките (ефектите от Site NANA C) --- */
.shot {
  position: relative;
  width: min(100%, 470px);
  margin-inline: auto;
  padding-left: clamp(1.3rem, 3vw, 2.1rem);
  padding-bottom: 2.6rem;
}
.shot__main {
  position: relative;
  margin: 0;
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--bg-2);
  box-shadow: var(--shadow-lg);
}
.shot__main picture { display: contents; }
.shot__main img,
.shot__side img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform-origin: 50% 45%;
}
/* новата снимка застава отгоре и се разкрива над старата — няма примигване */
.shot__main img.is-hidden,
.shot__side img.is-hidden { z-index: 0; }
.shot__main img:not(.is-hidden),
.shot__side img:not(.is-hidden) { z-index: 1; }

/* ЕФЕКТ 1 — голямата снимка: завеса отгоре надолу */
.shot__main img:not(.is-hidden) {
  animation: wipeDown 1.05s var(--ease-wipe) both;
}
@keyframes wipeDown {
  from { clip-path: inset(0 0 100% 0); }
  to   { clip-path: inset(0 0 0 0); }
}

/* ЕФЕКТ 2 — малката снимка: завеса отдясно наляво */
.shot__side img:not(.is-hidden) {
  animation: wipeLeft .85s var(--ease-wipe) both;
}
@keyframes wipeLeft {
  from { clip-path: inset(0 0 0 100%); }
  to   { clip-path: inset(0 0 0 0); }
}

.shot__side {
  position: absolute;
  right: 0; bottom: 2.6rem;
  margin: 0;
  width: min(40%, 172px);
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: var(--radius-sm);
  border: 5px solid var(--bg);
  background: var(--bg-2);
  box-shadow: 0 18px 44px rgba(46, 19, 56, .22);
  transition: transform .8s var(--ease);
}
.shot:hover .shot__side { transform: translate(-8px, -8px); }

.shot__frame {
  position: absolute;
  inset: 14px;
  pointer-events: none;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, .3);
}
.shot__frame::before,
.shot__frame::after {
  content: "";
  position: absolute;
  width: 26px; height: 26px;
  border: 2px solid var(--gold);
}
.shot__frame::before { top: -1px; left: -1px; border-right: 0; border-bottom: 0; border-radius: 6px 0 0 0; }
.shot__frame::after { bottom: -1px; right: -1px; border-left: 0; border-top: 0; border-radius: 0 0 6px 0; }

.shot__dots {
  position: absolute;
  left: 50%; bottom: .7rem;
  transform: translateX(-50%);
  display: flex;
  gap: .4rem;
}
.shot__dots i {
  width: 22px; height: 2px;
  border-radius: 2px;
  background: var(--line-2);
  transition: background .5s var(--ease);
}
.shot__dots i.on { background: var(--plum); }

.shot__tag {
  position: absolute;
  left: 0; top: 44%;
  writing-mode: vertical-rl;
  transform: rotate(180deg) translateY(50%);
  font-size: .68rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
  background: var(--bg);
  padding-block: .8rem;
}

/* лентичка с обещания под hero-а */
.strip {
  border-block: 1px solid var(--line);
  background: var(--surface);
  overflow: hidden;
}
.strip__row {
  display: flex;
  gap: 3rem;
  width: max-content;
  padding: .9rem 0;
  animation: marquee 34s linear infinite;
}
.strip__row span {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-size: var(--step--1);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}
.strip__row span i {
  font-style: normal;
  font-size: 1.05em;
  line-height: 1;
  color: var(--gold);
}
.strip:hover .strip__row { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- 8. Секции и заглавия ---------- */
.section { position: relative; padding: clamp(3.2rem, 8vw, 6.5rem) 0; }
.section--alt { background: var(--bg-2); }
.section--deep { background: var(--deep); color: #efe6f7; }
.section--deep h2, .section--deep h3 { color: #fff; }
.section--deep .eyebrow { color: var(--lilac); }
.section--deep .eyebrow::before { background: var(--lilac); }
.section--deep p { color: rgba(239, 230, 247, .78); }

.sec-head {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(1rem, 4vw, 3rem);
  align-items: end;
  margin-bottom: clamp(2rem, 4vw, 3.4rem);
}
.sec-head h2 { margin-bottom: 0; }
.sec-head > p { color: var(--muted); margin: 0; }

/* Заглавие на вътрешна страница */
.phead {
  position: relative;
  padding: calc(76px + clamp(2.4rem, 6vw, 4.4rem)) 0 clamp(2rem, 5vw, 3.6rem);
  background: var(--bg-2);
  overflow: hidden;
}
.phead__inner { position: relative; max-width: 62ch; }
.phead h1 { font-size: var(--step-3); }
.phead p { color: var(--muted); margin-bottom: 0; }

.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  list-style: none;
  margin: 0 0 1.1rem;
  padding: 0;
  font-size: .78rem;
  color: var(--muted);
}
.crumbs li::after { content: "›"; margin-left: .45rem; opacity: .5; }
.crumbs li:last-child::after { display: none; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--plum); text-decoration: underline; }

/* ---------- 9. Карти на категориите ---------- */
.cats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(272px, 1fr));
  gap: clamp(.9rem, 2vw, 1.4rem);
}
.cat {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: clamp(300px, 38vw, 400px);
  padding: 1.6rem;
  border-radius: var(--radius);
  overflow: hidden;
  isolation: isolate;
  background: var(--bg-2);
  color: #fff;
  text-decoration: none;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.cat:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); color: #fff; }
.cat::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(46, 19, 56, 0) 28%, rgba(46, 19, 56, .78) 100%);
}
.cat__bg {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: -2;
  opacity: 0;
  transform-origin: 50% 45%;
}
.cat.has-bg .cat__bg { opacity: 1; }
.cat.has-bg .cat__bg.is-hidden { z-index: -3; }

/* ЕФЕКТ 3 — картите: изплуване на фокус с леко доближаване */
.cat.has-bg .cat__bg:not(.is-hidden) {
  animation: focusIn 1.15s var(--ease) both;
}
@keyframes focusIn {
  from { opacity: 0; transform: scale(1.14); filter: blur(10px) saturate(.72); }
  60%  { opacity: 1; }
  to   { opacity: 1; transform: scale(1); filter: blur(0) saturate(1); }
}

.cat__title { font-family: var(--ff-display); font-size: var(--step-2); color: #fff; margin: 0 0 .25rem; }
.cat__desc { font-size: var(--step--1); color: rgba(255, 255, 255, .82); margin: 0; line-height: 1.5; }
.cat__more {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  margin-top: .9rem;
  font-size: var(--step--1);
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #fff;
}
.cat__more svg { width: 16px; height: 16px; transition: transform .4s var(--ease); }
.cat:hover .cat__more svg { transform: translateX(5px); }
.cat__count {
  position: absolute;
  top: 1.1rem; right: 1.1rem;
  padding: .28rem .7rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, .18);
  backdrop-filter: blur(6px);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .06em;
}

/* ---------- 10. Продукти ---------- */
.grid-products {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(238px, 1fr));
  gap: clamp(1rem, 2.2vw, 1.7rem);
}

.pcard {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .4s;
}
.pcard:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--lilac); }

.pcard__media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--bg-2);
  display: block;
  cursor: pointer;
  border: 0;
  padding: 0;
  width: 100%;
}
.pcard__media img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease);
}
/* ЕФЕКТ 4 — втората снимка изплува при посочване */
.pcard__media img + img {
  opacity: 0;
  transform: scale(1.08);
  transition: opacity .7s var(--ease), transform 1.2s var(--ease);
}
.pcard:hover .pcard__media img:first-child { transform: scale(1.06); }
.pcard:hover .pcard__media img + img { opacity: 1; transform: scale(1); }

/* визьор — ъгловите скоби при посочване */
.pcard__view {
  position: absolute;
  inset: 10px;
  pointer-events: none;
  opacity: 0;
  transition: opacity .35s var(--ease);
}
.pcard:hover .pcard__view { opacity: 1; }
.pcard__view i {
  position: absolute;
  width: 18px; height: 18px;
  border: 1.5px solid rgba(255, 255, 255, .85);
}
.pcard__view i:nth-child(1) { top: 0; left: 0; border-right: 0; border-bottom: 0; }
.pcard__view i:nth-child(2) { top: 0; right: 0; border-left: 0; border-bottom: 0; }
.pcard__view i:nth-child(3) { bottom: 0; left: 0; border-right: 0; border-top: 0; }
.pcard__view i:nth-child(4) { bottom: 0; right: 0; border-left: 0; border-top: 0; }

.pcard__badge {
  position: absolute;
  top: .8rem; left: .8rem;
  z-index: 2;
}
.pcard__body { display: flex; flex-direction: column; flex: 1; padding: 1.1rem 1.15rem 1.25rem; }
.pcard__cat { font-size: .72rem; letter-spacing: .13em; text-transform: uppercase; color: var(--lilac); font-weight: 700; }
.pcard__name {
  font-family: var(--ff-display);
  font-size: var(--step-1);
  margin: .3rem 0 .45rem;
  line-height: 1.22;
}
.pcard__name a { color: inherit; text-decoration: none; }
.pcard__desc { font-size: .84rem; color: var(--muted); line-height: 1.55; margin: 0 0 1rem; }
.pcard__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: .7rem; }
.pcard__price { font-family: var(--ff-display); font-size: var(--step-1); color: var(--plum); white-space: nowrap; }
.pcard__price small { font-size: .72rem; color: var(--muted); font-family: var(--ff-body); display: block; letter-spacing: .04em; }

.add-btn {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .58rem 1rem;
  border: 1px solid var(--plum);
  border-radius: 999px;
  background: transparent;
  color: var(--plum);
  font: 700 .72rem/1 var(--ff-body);
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .3s, color .3s, transform .3s var(--ease);
}
.add-btn svg { width: 14px; height: 14px; }
.add-btn:hover { background: var(--plum); color: #fff; }
.add-btn.is-added { background: var(--plum); color: #fff; }

.empty-note {
  grid-column: 1 / -1;
  padding: 3rem 1rem;
  text-align: center;
  color: var(--muted);
  border: 1px dashed var(--line-2);
  border-radius: var(--radius);
  background: var(--surface-2);
}

/* ---------- 11. Галерия и лайтбокс ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  grid-auto-rows: 12px;
  gap: clamp(.6rem, 1.4vw, 1rem);
}
.gtile {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-sm);
  background: var(--bg-2);
  border: 0;
  padding: 0;
  cursor: pointer;
  opacity: 0;
  transform: translateY(20px) scale(.98);
  animation: tileIn .8s var(--ease) forwards;
  animation-delay: var(--d, 0ms);
}
@keyframes tileIn { to { opacity: 1; transform: none; } }
.gtile img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease), filter .6s var(--ease);
}
.gtile:hover img { transform: scale(1.07); filter: saturate(1.1); }
.gtile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(46, 19, 56, 0) 55%, rgba(46, 19, 56, .5));
  opacity: 0;
  transition: opacity .4s;
}
.gtile:hover::after { opacity: 1; }
.gtile__cap {
  position: absolute;
  left: .8rem; right: .8rem; bottom: .7rem;
  z-index: 2;
  font-size: .76rem;
  color: #fff;
  text-align: left;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .4s var(--ease), transform .4s var(--ease);
}
.gtile:hover .gtile__cap { opacity: 1; transform: none; }

.lb {
  position: fixed;
  inset: 0;
  z-index: 150;
  display: grid;
  place-items: center;
  background: rgba(30, 12, 38, .93);
  backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .4s, visibility .4s;
  padding: clamp(1rem, 4vw, 3rem);
}
.lb.is-open { opacity: 1; visibility: visible; }
.lb img {
  max-width: min(100%, 1100px);
  max-height: 78vh;
  width: auto;
  border-radius: var(--radius-sm);
  box-shadow: 0 40px 90px rgba(0, 0, 0, .5);
  animation: lbIn .55s var(--ease) both;
}
@keyframes lbIn { from { opacity: 0; transform: scale(.94); filter: blur(8px); } to { opacity: 1; transform: none; filter: none; } }
.lb__btn {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, .28);
  background: rgba(255, 255, 255, .08);
  color: #fff;
  width: 46px; height: 46px;
  border-radius: 50%;
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
  transition: background .3s, transform .3s var(--ease);
}
.lb__btn:hover { background: rgba(255, 255, 255, .2); transform: scale(1.08); }
.lb__close { top: 1.2rem; right: 1.2rem; }
.lb__prev { left: 1.2rem; top: 50%; margin-top: -23px; }
.lb__next { right: 1.2rem; top: 50%; margin-top: -23px; }
.lb__bar {
  position: absolute;
  left: 50%; bottom: 1.4rem;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 1rem;
  color: rgba(255, 255, 255, .8);
  font-size: .8rem;
}
.lb__cap {
  position: absolute;
  left: 50%; top: 1.4rem;
  transform: translateX(-50%);
  max-width: 70ch;
  text-align: center;
  color: rgba(255, 255, 255, .82);
  font-size: .82rem;
}

/* ---------- 12. Табове и филтри ---------- */
.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: clamp(1.4rem, 3vw, 2.4rem);
}
.tab {
  padding: .6rem 1.2rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font: 600 var(--step--1)/1 var(--ff-body);
  letter-spacing: .06em;
  cursor: pointer;
  transition: background .3s, color .3s, border-color .3s, transform .3s var(--ease);
}
.tab:hover { color: var(--plum); border-color: var(--lilac); transform: translateY(-2px); }
.tab.is-on { background: var(--plum); border-color: var(--plum); color: #fff; }

.fade-swap { animation: fadeSwap .45s var(--ease) both; }
@keyframes fadeSwap { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* ---------- 13. Стъпки, предимства, отзиви ---------- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: clamp(1rem, 2.4vw, 2rem); }
.step { position: relative; padding-top: 2.6rem; }
.step__n {
  position: absolute;
  top: 0; left: 0;
  font-family: var(--ff-display);
  font-size: var(--step-2);
  color: var(--lilac);
  line-height: 1;
}
.step::before {
  content: "";
  position: absolute;
  top: .9rem; left: 2.6rem; right: 0;
  height: 1px;
  background: var(--line);
}
.step h3 { font-size: var(--step-1); margin-bottom: .4rem; }
.step p { font-size: .88rem; color: var(--muted); margin: 0; }

.perks { display: grid; grid-template-columns: repeat(auto-fit, minmax(215px, 1fr)); gap: clamp(1rem, 2.4vw, 1.8rem); }
.perk {
  padding: 1.6rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.perk:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.perk__ico {
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  margin-bottom: 1rem;
  border-radius: 50%;
  background: var(--lilac-soft);
  color: var(--plum);
}
.perk__ico svg { width: 22px; height: 22px; }
.perk h3 { font-size: var(--step-1); margin-bottom: .35rem; }
.perk p { font-size: .88rem; color: var(--muted); margin: 0; }

/* карта със снимка вместо иконка */
.perk--shot { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.perk__img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--bg-2);
  transition: transform 1.1s var(--ease);
}
.perk--shot:hover .perk__img { transform: scale(1.05); }
.perk--shot h3 { margin: 1.1rem 1.2rem .35rem; }
.perk--shot p { margin: 0 1.2rem 1.3rem; }

.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(265px, 1fr)); gap: clamp(1rem, 2.4vw, 1.8rem); }
.quote {
  position: relative;
  padding: 2rem 1.6rem 1.6rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.quote::before {
  content: "”";
  position: absolute;
  top: -.1rem; left: 1.2rem;
  font-family: var(--ff-display);
  font-size: 4.5rem;
  line-height: 1;
  color: var(--lilac-soft);
}
.quote p { position: relative; font-size: .95rem; }
.quote__who { display: flex; align-items: center; gap: .7rem; margin-top: 1.1rem; }
.quote__av {
  display: grid;
  place-items: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--lilac-soft);
  color: var(--plum);
  font-weight: 700;
  font-size: .9rem;
}
.quote__who b { font-size: .88rem; display: block; }
.quote__who span { font-size: .76rem; color: var(--muted); }
.stars { color: var(--gold); letter-spacing: .1em; font-size: .85rem; }

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1.4rem;
  text-align: center;
}
.stat b {
  display: block;
  font-family: var(--ff-display);
  font-size: var(--step-3);
  color: var(--plum);
  line-height: 1;
}
.section--deep .stat b { color: var(--gold); }
.stat span { font-size: var(--step--1); color: var(--muted); }
.section--deep .stat span { color: rgba(239, 230, 247, .7); }

/* Разказ „за нас“ */
.split-media {
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  gap: clamp(1.6rem, 4vw, 3.6rem);
  align-items: start;      /* текстът тръгва наравно със снимката */
}
.split-media > .prose > .eyebrow:first-child { margin-top: 0; }
.split-media__img {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 5;
  background: var(--bg-2);
}
.split-media__img img { width: 100%; height: 100%; object-fit: cover; }
.sign {
  font-family: var(--ff-display);
  font-style: italic;
  font-size: var(--step-1);
  color: var(--plum);
  margin-top: 1.2rem;
}

/* Лента с призив */
.cta-band {
  position: relative;
  overflow: hidden;
  padding: clamp(3rem, 7vw, 5.5rem) 0;
  background: linear-gradient(135deg, var(--deep), var(--plum));
  color: #fff;
  text-align: center;
}
.cta-band h2 { color: #fff; max-width: 20ch; margin-inline: auto; }
.cta-band p { color: rgba(255, 255, 255, .8); max-width: 55ch; margin-inline: auto; }
.cta-band .btn-row { justify-content: center; margin-top: 1.8rem; }

/* ---------- 14. ЧЗВ ---------- */
.faq { max-width: 860px; margin-inline: auto; }
.faq__item {
  border-bottom: 1px solid var(--line);
}
.faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 0;
  border: 0;
  background: transparent;
  color: var(--txt);
  font: 500 var(--step-1)/1.4 var(--ff-display);
  text-align: left;
  cursor: pointer;
}
.faq__q i {
  flex: none;
  position: relative;
  width: 20px; height: 20px;
}
.faq__q i::before, .faq__q i::after {
  content: "";
  position: absolute;
  inset: 50% 0 auto 0;
  height: 1.6px;
  background: var(--plum);
  transition: transform .4s var(--ease);
}
.faq__q i::after { transform: rotate(90deg); }
.faq__item.is-open .faq__q i::after { transform: rotate(0); }
.faq__a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .45s var(--ease);
}
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }
.faq__a > div { overflow: hidden; }
.faq__a p { color: var(--muted); padding-bottom: 1.2rem; margin: 0; }

/* ---------- 15. Форма и контакти ---------- */
.contact {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: clamp(1.6rem, 4vw, 3.2rem);
  align-items: start;
}
.form {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.3rem, 3vw, 2.2rem);
  box-shadow: var(--shadow);
}
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; }
.field { margin-bottom: .9rem; }
.field label {
  display: block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: .35rem;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: .85rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface-2);
  color: var(--txt);
  font: 400 var(--step-0)/1.5 var(--ff-body);
  transition: border-color .3s, box-shadow .3s, background .3s;
}
.field textarea { min-height: 132px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--plum);
  background: var(--surface);
  box-shadow: 0 0 0 4px var(--lilac-soft);
}
.field input::placeholder, .field textarea::placeholder { color: #9b91a4; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b6076' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; background-size: 17px; padding-right: 2.6rem; }

.check {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  font-size: .82rem;
  color: var(--muted);
  margin: .4rem 0 1.2rem;
  line-height: 1.55;
  cursor: pointer;
}
.check input { margin-top: .25rem; accent-color: var(--plum); width: 17px; height: 17px; flex: none; }

.form-note {
  margin: .9rem 0 0;
  font-size: .85rem;
  color: var(--plum);
  min-height: 1.3em;
}
.form-note.is-err { color: #a2263a; }

/* Избор на офис на Еконт */
.office-list {
  margin-top: .5rem;
  max-height: 290px;
  overflow-y: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  box-shadow: var(--shadow);
}
.office-row {
  display: block;
  width: 100%;
  padding: .65rem .9rem;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  text-align: left;
  cursor: pointer;
  transition: background .2s;
}
.office-row:last-child { border-bottom: 0; }
.office-row:hover, .office-row:focus-visible { background: var(--lilac-soft); }
.office-row b { display: block; font-size: .86rem; color: var(--txt); font-weight: 700; }
.office-row span { display: block; font-size: .76rem; color: var(--muted); line-height: 1.4; }
.office-row__aps {
  display: inline-block;
  margin-left: .35rem;
  padding: .1rem .45rem;
  border-radius: 999px;
  background: var(--gold-soft);
  color: #8a5c14;
  font-size: .64rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.office-list__empty { margin: 0; padding: 1rem; font-size: .84rem; color: var(--muted); }
.office-picked {
  margin: .5rem 0 0;
  font-size: .82rem;
  font-weight: 600;
  color: var(--plum);
}

.order-summary {
  border: 1px dashed var(--line-2);
  border-radius: var(--radius-sm);
  background: var(--surface-2);
  padding: 1rem 1.1rem;
  margin-bottom: 1.1rem;
  font-size: .85rem;
}
.order-summary h3 { font-size: var(--step-0); margin-bottom: .5rem; font-family: var(--ff-body); font-weight: 700; }
.order-summary ul { margin: 0; padding-left: 1.1rem; color: var(--muted); }
.order-summary li { margin-bottom: .2rem; }

.info {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.info__row {
  display: grid;
  grid-template-columns: 118px 1fr;
  gap: 1rem;
  padding: 1rem 1.2rem;
  border-bottom: 1px solid var(--line);
  font-size: .9rem;
  align-items: baseline;
}
.info__row:last-child { border-bottom: 0; }
.info__row > span:first-child {
  font-size: .74rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
}
.info__row a { font-weight: 600; text-decoration: none; }
.info__row a:hover { text-decoration: underline; }

.social-row { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.2rem; }
.social-row a {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .7rem 1.15rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  font-size: .82rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--txt);
  transition: background .3s, color .3s, border-color .3s, transform .3s var(--ease);
}
.social-row a:hover { background: var(--plum); color: #fff; border-color: var(--plum); transform: translateY(-2px); }
.social-row svg { width: 18px; height: 18px; }

/* ---------- 16. Текстови страници ---------- */
.prose { max-width: 78ch; }
.prose h2 em,
.split-media h2 em {
  font-family: var(--ff-display);
  font-style: italic;
  color: var(--plum);
}
.prose h2 { font-size: var(--step-2); margin-top: 2.4rem; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: var(--step-1); margin-top: 1.8rem; }
.prose ul, .prose ol { padding-left: 1.3rem; margin: 0 0 1.2rem; }
.prose li { margin-bottom: .5rem; }
.prose li::marker { color: var(--lilac); }

.note {
  display: flex;
  gap: .9rem;
  padding: 1.15rem 1.3rem;
  margin: 1.6rem 0;
  border-radius: var(--radius);
  background: var(--lilac-soft);
  border-left: 3px solid var(--plum);
  font-size: .92rem;
}
.note--warn { background: var(--gold-soft); border-left-color: var(--gold); }
.note svg { width: 22px; height: 22px; flex: none; color: var(--plum); margin-top: .15rem; }
.note--warn svg { color: #8a5c14; }
.note p { margin: 0; }
.note p + p { margin-top: .5rem; }

.table-wrap { overflow-x: auto; margin: 1.4rem 0; }
table.tbl {
  width: 100%;
  border-collapse: collapse;
  font-size: .9rem;
  min-width: 420px;
}
table.tbl th, table.tbl td {
  padding: .85rem 1rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
table.tbl th {
  font-size: .74rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  background: var(--bg-2);
}
table.tbl tr:last-child td { border-bottom: 0; }

.safety {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.2rem;
  margin: 1.8rem 0;
}
.safety__item {
  padding: 1.4rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.safety__item b {
  display: flex;
  align-items: center;
  gap: .6rem;
  margin-bottom: .5rem;
  font-family: var(--ff-display);
  font-size: var(--step-1);
  font-weight: 500;
}
.safety__item b em {
  font-style: normal;
  display: grid;
  place-items: center;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--plum);
  color: #fff;
  font-size: .82rem;
  font-family: var(--ff-body);
  font-weight: 700;
  flex: none;
}
.safety__item p { font-size: .88rem; color: var(--muted); margin: 0; }

/* Карта на сайта (HTML версията) */
.sitemap-cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(1.2rem, 3vw, 2.4rem);
}
.sitemap-cols h2 { font-size: var(--step-1); padding-bottom: .6rem; border-bottom: 1px solid var(--line); }
.sitemap-cols ul { list-style: none; padding: 0; margin: 0; }
.sitemap-cols li { margin-bottom: .55rem; }
.sitemap-cols a { text-decoration: none; font-weight: 600; }
.sitemap-cols a:hover { text-decoration: underline; }
.sitemap-cols small { display: block; color: var(--muted); font-weight: 400; font-size: .78rem; }

/* ---------- 16б. „Направи си свещ“ ---------- */
.builder {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  gap: clamp(1.4rem, 3.5vw, 3rem);
  align-items: start;
}

.builder__stage { position: sticky; top: 96px; }
.preview {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.preview svg { width: 100%; height: auto; display: block; }
.preview.is-swap svg { animation: previewIn .34s var(--ease) both; }
@keyframes previewIn { from { opacity: .35; transform: scale(.985); } to { opacity: 1; transform: none; } }
.preview .flame { transform-origin: 50% 100%; animation: flicker 1.7s ease-in-out infinite; }
@keyframes flicker {
  0%, 100% { transform: scale(1) rotate(0); opacity: 1; }
  25% { transform: scale(1.06, .96) rotate(-2deg); opacity: .92; }
  60% { transform: scale(.95, 1.06) rotate(2deg); opacity: 1; }
}

.builder__bar {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  margin-top: 1rem;
}
.builder__sum {
  margin-top: 1rem;
  padding: 1.1rem 1.3rem;
  border: 1px dashed var(--line-2);
  border-radius: var(--radius-sm);
  background: var(--surface-2);
  font-size: .85rem;
}
.builder__sum ul { margin: 0; padding-left: 1.1rem; color: var(--muted); }
.builder__sum li { margin-bottom: .22rem; }

.opt { margin-bottom: 1.6rem; }
.opt > h3 {
  display: flex;
  align-items: baseline;
  gap: .6rem;
  font-family: var(--ff-body);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: .7rem;
}
.opt > h3 em {
  font-style: normal;
  font-size: .7rem;
  letter-spacing: .02em;
  text-transform: none;
  color: var(--lilac);
  font-weight: 600;
}

.chips { display: flex; flex-wrap: wrap; gap: .45rem; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .55rem 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--txt);
  font: 600 .82rem/1.2 var(--ff-body);
  cursor: pointer;
  transition: background .25s, color .25s, border-color .25s, transform .25s var(--ease);
}
.chip small { color: var(--muted); font-weight: 500; font-size: .72rem; }
.chip:hover { border-color: var(--lilac); transform: translateY(-2px); }
.chip.is-on { background: var(--plum); border-color: var(--plum); color: #fff; }
.chip.is-on small { color: rgba(255, 255, 255, .72); }
.chip[data-group="decor"]::before {
  content: "+";
  font-weight: 700;
  color: var(--lilac);
}
.chip[data-group="decor"].is-on::before { content: "✓"; color: #fff; }

.swatches { display: flex; flex-wrap: wrap; gap: .5rem; }
.swatch {
  position: relative;
  width: 40px; height: 40px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 50%;
  background: var(--c, #fff);
  box-shadow: inset 0 0 0 1px var(--line);
  cursor: pointer;
  transition: transform .25s var(--ease), border-color .25s;
}
.swatch span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.swatch:hover { transform: scale(1.12); }
.swatch.is-on { border-color: var(--plum); transform: scale(1.1); }
.swatch.is-on::after {
  content: "";
  position: absolute;
  inset: 50% auto auto 50%;
  width: 9px; height: 9px;
  margin: -4.5px 0 0 -4.5px;
  border-radius: 50%;
  background: var(--plum);
  box-shadow: 0 0 0 2px #fff;
}
.swatch--none {
  background: var(--surface);
  color: var(--muted);
}
.swatch--none::before {
  content: "";
  position: absolute;
  inset: 50% auto auto 50%;
  width: 26px; height: 1.6px;
  margin: -1px 0 0 -13px;
  background: var(--line-2);
  transform: rotate(-45deg);
}

.color-pick {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  margin-top: .7rem;
  font-size: .8rem;
  color: var(--muted);
}
.color-pick input[type="color"] {
  width: 40px; height: 40px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: none;
  cursor: pointer;
}
.color-pick input[type="color"]::-webkit-color-swatch-wrapper { padding: 3px; }
.color-pick input[type="color"]::-webkit-color-swatch { border: none; border-radius: 50%; }

.opt__row { display: grid; grid-template-columns: 1fr 130px; gap: .8rem; align-items: end; }
.opt .field { margin-bottom: 0; }

.cart__spec {
  display: block;
  font-size: .72rem !important;
  color: var(--muted);
  line-height: 1.45;
  margin-top: .2rem;
}

/* ---------- 17. Футър ---------- */
.footer {
  background: var(--deep);
  color: rgba(239, 230, 247, .74);
  padding: clamp(2.6rem, 6vw, 4.5rem) 0 1.6rem;
  font-size: .89rem;
}
.footer a { color: rgba(239, 230, 247, .74); text-decoration: none; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer__top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: clamp(1.4rem, 3vw, 2.6rem);
  padding-bottom: 2.2rem;
  border-bottom: 1px solid rgba(239, 230, 247, .14);
}
.footer__brand img { width: 186px; margin-bottom: 1rem; }
.footer h3 {
  font-family: var(--ff-body);
  font-size: .76rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--lilac);
  margin-bottom: 1rem;
}
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: .5rem; }
.footer__social { display: flex; gap: .55rem; margin-top: 1.1rem; }
.footer__social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  border: 1px solid rgba(239, 230, 247, .2);
  border-radius: 50%;
  transition: background .3s, border-color .3s, transform .3s var(--ease);
}
.footer__social a:hover { background: var(--plum); border-color: var(--plum); transform: translateY(-3px); }
.footer__social svg { width: 18px; height: 18px; }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem 1.6rem;
  justify-content: space-between;
  padding-top: 1.4rem;
  font-size: .78rem;
  color: rgba(239, 230, 247, .5);
}
.footer__legal { display: flex; flex-wrap: wrap; gap: .4rem 1.1rem; }

/* ---------- 18. Бисквитки и съобщения ---------- */
.cookies {
  position: fixed;
  left: 50%; bottom: 1.2rem;
  transform: translate(-50%, 160%);
  z-index: 145;
  width: min(720px, calc(100% - 2rem));
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 1.3rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  font-size: .84rem;
  color: var(--muted);
  transition: transform .6s var(--ease);
}
.cookies.is-on { transform: translate(-50%, 0); }
.cookies p { flex: 1 1 280px; margin: 0; line-height: 1.5; }
.cookies .btn-row { flex: none; }

.toast {
  position: fixed;
  left: 50%; bottom: 1.5rem;
  transform: translate(-50%, 200%);
  z-index: 155;
  padding: .8rem 1.4rem;
  border-radius: 999px;
  background: var(--deep);
  color: #fff;
  font-size: .85rem;
  box-shadow: var(--shadow-lg);
  transition: transform .5s var(--ease);
  max-width: calc(100% - 2rem);
  text-align: center;
}
.toast.on { transform: translate(-50%, 0); }

/* ---------- 19. Появяване при скрол ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .5s var(--ease), transform .5s var(--ease);
  transition-delay: var(--d, 0ms);
}
[data-reveal].in { opacity: 1; transform: none; }

.split .word { display: inline-block; overflow: hidden; vertical-align: bottom; }
.split .word > span {
  display: inline-block;
  transform: translateY(105%);
  transition: transform .55s var(--ease);
  transition-delay: var(--d, 0ms);
}
.split.in .word > span { transform: none; }

html:not(.js) [data-reveal],
html:not(.js) .split .word > span { opacity: 1; transform: none; }

/* ---------- 20. Респонсив ---------- */
@media (max-width: 1080px) {
  .footer__top { grid-template-columns: 1fr 1fr; }
  .contact { grid-template-columns: 1fr; }
  .sec-head { grid-template-columns: 1fr; align-items: start; }
}

@media (max-width: 900px) {
  /* ефекти, които струват скъпо на телефон */
  .grain { display: none; }
  .glow { filter: none; opacity: .7; }
  .header { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(250, 247, 251, .96); }
  .search__veil { backdrop-filter: none; }
  .lb { backdrop-filter: none; }
  .cursor { display: none; }

  .nav { display: none; }
  .burger { display: grid; }
  .header__social { display: none; }
  .hero__inner { grid-template-columns: 1fr; gap: 1.4rem; }
  /* същият ред на четене като на компютър: първо заглавието, после снимката */
  .shot { max-width: 340px; padding-left: 0; margin: .5rem auto 0; }
  .shot__tag { display: none; }
  .split-media__img { margin-inline: auto; }
  .split-media { grid-template-columns: 1fr; gap: 1.2rem; }
  /* снимката се смалява, за да се вижда текстът веднага под нея */
  .split-media__img { max-width: 260px; margin-inline: 0; }
  .builder { grid-template-columns: 1fr; }
  .builder__stage { position: static; max-width: 460px; margin-inline: auto; }
}

@media (max-width: 620px) {
  /* ---- на телефон блоковете също са по два в редица, както на компютър ---- */
  .cats,
  .perks,
  .steps,
  .safety,
  .stats,
  .sitemap-cols,
  .quotes {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .7rem;
  }
  .footer__top { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.4rem; }
  .footer__brand { grid-column: 1 / -1; }

  /* картите стават по-ниски и по-стегнати, за да се събират две */
  .cat { min-height: 216px; padding: 1rem .9rem; }
  .cat__title { font-size: 1.02rem; line-height: 1.15; }
  .cat__desc {
    font-size: .74rem;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .cat__more { font-size: .68rem; margin-top: .55rem; gap: .3rem; }
  .cat__more svg { width: 13px; height: 13px; }
  .cat__count { top: .6rem; right: .6rem; padding: .2rem .5rem; font-size: .62rem; }

  .perk { padding: 1rem .9rem; }
  .perk__ico { width: 36px; height: 36px; margin-bottom: .6rem; }
  .perk__ico svg { width: 18px; height: 18px; }
  .perk h3 { font-size: 1rem; }
  .perk p { font-size: .78rem; line-height: 1.45; }

  .step { padding-top: 2.1rem; }
  .step__n { font-size: 1.5rem; }
  .step h3 { font-size: 1rem; }
  .step p { font-size: .78rem; line-height: 1.45; }

  .safety__item { padding: 1rem .9rem; }
  .safety__item b { font-size: 1rem; gap: .45rem; }
  .safety__item b em { width: 26px; height: 26px; font-size: .74rem; }
  .safety__item p { font-size: .78rem; }

  .stat b { font-size: 1.9rem; }
  .stat span { font-size: .72rem; }

  /* снимките стават още по-малки, за да остава място за текста */
  .shot { max-width: 250px; }
  .split-media__img { max-width: 176px; }

  .sitemap-cols h2 { font-size: 1rem; }
  .sitemap-cols li { margin-bottom: .45rem; font-size: .84rem; }
  .sitemap-cols small { font-size: .7rem; }

  /* бутонът за поръчка остава видим и на телефон, само по-компактен */
  .header__cta .btn { padding: .6rem .85rem; font-size: .68rem; letter-spacing: .06em; }
  .brand img { width: 112px; }
  .header__cta .btn svg { display: none; }
  .icon-btn { width: 38px; height: 38px; }
  .burger { width: 38px; height: 38px; }
  .header__cta { gap: .35rem; }
  .form .row { grid-template-columns: 1fr; }
  /* футърът остава на две колони и на телефон */
  .info__row { grid-template-columns: 1fr; gap: .25rem; }
  .lb__prev { left: .5rem; }
  .lb__next { right: .5rem; }
  .grid-products { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
  .gallery { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
  .cart { width: 100%; }
  .step::before { display: none; }
}

/* ---------- 21. По-малко движение / печат ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  [data-reveal], .split .word > span, .gtile { opacity: 1 !important; transform: none !important; }
  .grain { display: none; }
}

@media print {
  .header, .menu, .footer__social, .cookies, .cart, .cart__veil, .lb, .grain, .cursor, .scroll-bar, .wax, .btn { display: none !important; }
  body { background: #fff; color: #000; }
  a::after { content: " (" attr(href) ")"; font-size: .8em; }
}
