/* ============================================================
   Tasty Coffee × ivi — Advent Music Calendar 2027
   Design system copied from shop.tastycoffee.ru
   (tokens, fonts, radii, buttons, glass panels, dark advent theme)
   ============================================================ */

/* ---------- Fonts (original WOFF2 files from tastycoffee.ru) ---------- */
@font-face {
  font-display: swap;
  font-family: "Gotham Pro";
  font-style: normal;
  font-weight: 400;
  src: url("../fonts/GothamPro.woff2") format("woff2");
}
@font-face {
  font-display: swap;
  font-family: "Gotham Pro Medium";
  font-style: normal;
  font-weight: 500;
  src: url("../fonts/GothamPro-Medium.woff2") format("woff2");
}
@font-face {
  font-display: swap;
  font-family: "DIN Pro";
  font-style: normal;
  font-weight: 400;
  src: url("../fonts/DINPro-CondensedRegular.woff2") format("woff2");
}
@font-face {
  font-display: swap;
  font-family: "DIN Pro Light";
  font-style: normal;
  font-weight: 300;
  src: url("../fonts/DINPro-CondensedLight.woff2") format("woff2");
}
@font-face {
  font-display: swap;
  font-family: "DIN Pro Medium";
  font-style: normal;
  font-weight: 500;
  src: url("../fonts/DINPro-CondensedMedium.woff2") format("woff2");
}
@font-face {
  font-display: swap;
  font-family: "DIN Pro Black";
  font-style: normal;
  font-weight: 900;
  src: url("../fonts/DINPro-CondensedBlack.woff2") format("woff2");
}
/* metric-compatible fallbacks, same as the original site */
@font-face { font-family: "Gotham Pro Fallback"; src: local("Arial"); size-adjust: 111.6%; ascent-override: 100%; }
@font-face { font-family: "DIN Pro Fallback"; src: local("Arial"); size-adjust: 59.5%; ascent-override: 145%; }
@font-face { font-family: "DIN Pro Medium Fallback"; src: local("Arial"); size-adjust: 64.4%; ascent-override: 150%; }
@font-face { font-family: "DIN Pro Bold Fallback"; src: local("Arial Black"); size-adjust: 64.3%; ascent-override: 155%; }

/* ---------- Tokens (verbatim from tastycoffee.ru :root) ---------- */
:root {
  --black: #000;
  --black-80: #333;
  --black-50: gray;
  --black-49: #999;
  --black-30: #b3b3b3;
  --black-20: #dedede;
  --black-6: #e2e2e4;
  --black-5: #ebebed;
  --black-4: #f5f5f7;
  --black-16: #00000029;
  --opacity-50: #00000080;
  --opacity-white-50: #ffffff80;
  --opacity-white-40: #fff6;
  --opacity-white-10: #ffffff1a;
  --opacity-8: #00000014;
  --opacity-4: #0000000a;
  --white: #fff;
  --green: #62c400;
  --red: #f22;
  --yellow: #ffb526;
  --purple: #6700ea;
  --multicolor: radial-gradient(201.38% 174.28% at -111.16% 22.88%, #f4f1b9 0%, #bff3df 56.66%, #c8dcff 74.2%, #da8fdd 100%);
  --ts: .3s;

  /* dark "spec-advent-27" theme values taken from the product page */
  --accent: #e53935;
  --accent-hover: #ba3230;
  --glow: #5478ad;
  --glass: #ffffff0a;
  --glass-hover: #ffffff1a;
  --line: #ffffff14;

  --r-card: 24px;
  --r-tile: 12px;
  --r-chip: 12px;

  --container: 1440px;
  --pad: 50px;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; color-scheme: dark; scrollbar-gutter: stable; }
body {
  margin: 0;
  min-height: 100%;
  background: var(--black);
  color: var(--white);
  font-family: "Gotham Pro", "Gotham Pro Fallback", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
/* the two ambient light layers of the advent theme */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: conic-gradient(from 161deg at 8% -90%, #0000 1deg, #5478ad1a 2deg, #5478ad4d, #5478ad99, #5478adcc, #5478ade6, #5478ad 6deg, #5478ad 40deg, #5478adcc 60deg, #5478ad66 80deg, #5478ad1a 120deg, #0000 180deg);
  opacity: .55;
  z-index: -2;
  pointer-events: none;
}
body::after {
  content: "";
  position: fixed;
  left: -400px;
  top: -200px;
  width: 900px;
  height: 900px;
  background: radial-gradient(circle, #5478adb3 0, #0000 50%);
  filter: blur(20px);
  z-index: -2;
  pointer-events: none;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
::selection { background: var(--accent); color: #fff; }

.container {
  width: 100%;
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
  max-width: var(--container);
}

.icon { width: 24px; height: 24px; flex: 0 0 auto; }

/* ---------- Typography ---------- */
.h1 {
  font-family: "DIN Pro Black", "DIN Pro Bold Fallback", sans-serif;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .01em;
  line-height: .95;
  font-size: clamp(44px, 7.4vw, 118px);
  margin: 0;
}
.h1__year {
  font-family: "DIN Pro", "DIN Pro Fallback", sans-serif;
  font-weight: 400;
  letter-spacing: 0;
}
.h2 {
  font-family: "DIN Pro Black", "DIN Pro Bold Fallback", sans-serif;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .01em;
  line-height: 1.05;
  font-size: clamp(28px, 3.6vw, 48px);
}
.h3 {
  font-family: "Gotham Pro Medium", sans-serif;
  font-weight: 500;
  font-size: 20px;
  line-height: 1.3;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: "DIN Pro Medium", sans-serif;
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--opacity-white-50);
}
.muted { color: var(--opacity-white-50); }
.lead { font-size: clamp(16px, 1.35vw, 19px); line-height: 1.5; color: var(--opacity-white-50); }
.accent { color: var(--accent); }

/* ---------- Buttons (copied from .tc-btn) ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 10px 22px;
  border: 0;
  border-radius: var(--r-tile);
  font-family: "DIN Pro Medium", sans-serif;
  font-size: 17px;
  line-height: 1;
  letter-spacing: .04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform .2s, background-color .2s, color .2s, opacity .2s;
  will-change: transform;
  white-space: nowrap;
}
.btn:hover { transform: perspective(1px) scale(1.05); }
.btn:active { transform: scale(.99); }
.btn:focus-visible { outline: 2px solid var(--white); outline-offset: 3px; }
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-hover); }
.btn--ghost { background: var(--glass); color: #fff; backdrop-filter: blur(10px); }
.btn--ghost:hover { background: var(--glass-hover); }
.btn--white { background: var(--white); color: var(--black); }
.btn--white:hover { background: #ececef; }
.btn--block { width: 100%; }
.btn .icon { width: 20px; height: 20px; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  font-family: "DIN Pro Medium", sans-serif;
  font-size: 15px;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--opacity-white-50);
  transition: color var(--ts);
}
.link-arrow:hover { color: #fff; }
.link-arrow .icon { width: 18px; height: 18px; transition: transform var(--ts); }
.link-arrow:hover .icon { transform: translate(2px, -2px); }

/* ---------- Chips / tags (from .tc-tag) ---------- */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 6px 12px;
  border-radius: var(--r-chip);
  background: var(--glass);
  font-size: 14px;
  line-height: 1.1;
  color: #fff;
}
.chip--accent { background: var(--accent); }
.chip--outline { background: transparent; box-shadow: inset 0 0 0 1px var(--line); color: var(--opacity-white-50); }
.chip .icon { width: 16px; height: 16px; }

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: #ffffff05;
  border-bottom: 1px solid var(--line);
}
.header__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 76px;
}
.brand-collab {
  display: flex;
  align-items: center;
  gap: 16px;
}
.brand-tc svg { height: 34px; width: auto; color: #fff; }
.brand-ivi svg, .brand-ivi img { height: 26px; width: auto; }
.brand-x {
  font-family: "DIN Pro Light", sans-serif;
  font-size: 22px;
  line-height: 1;
  color: var(--opacity-white-50);
  padding-bottom: 2px;
}
.header__nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}
.nav-li {
  display: flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 9px;
  font-family: "DIN Pro Medium", sans-serif;
  font-size: 15px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--opacity-white-50);
  transition: background-color var(--ts), color var(--ts);
}
.nav-li:hover { background: var(--glass); color: #fff; }
.header__cta { margin-left: 12px; min-height: 44px; font-size: 15px; padding: 8px 18px; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 40px 0 8px; }
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: 56px;
  align-items: start;
}
.hero__info { display: flex; flex-direction: column; gap: 22px; padding-top: 8px; min-width: 0; }
.hero__badges { display: flex; flex-wrap: wrap; gap: 8px; }
.hero__rating {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 15px;
  color: var(--opacity-white-50);
}
.hero__rating b { color: #fff; font-weight: 500; }
.hero__rating a { color: var(--opacity-white-50); transition: color var(--ts); }
.hero__rating a:hover { color: #fff; }
.rating { display: inline-flex; align-items: center; gap: 6px; color: #fff; }
.rating .icon { width: 18px; height: 18px; color: var(--yellow); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; padding-top: 4px; }
.hero__note { font-size: 14px; color: var(--opacity-white-50); display: flex; align-items: center; gap: 8px; }
.hero__note .icon { width: 16px; height: 16px; }

/* ---------- Gallery ---------- */
.gallery { display: flex; flex-direction: column; gap: 12px; min-width: 0; }

/* ---------- carousel ---------- */
.carousel {
  position: relative;
  border-radius: var(--r-card);
  overflow: hidden;
  background: #efe3d4;
  box-shadow: 0 30px 80px #00000080;
  outline: none;
}
.carousel:focus-visible { box-shadow: 0 0 0 2px #fff, 0 30px 80px #00000080; }
.carousel__viewport { position: relative; aspect-ratio: 3 / 2; overflow: hidden; touch-action: pan-y; }
.carousel__track {
  display: flex;
  height: 100%;
  transform: translateX(0);
  transition: transform .75s cubic-bezier(.16, 1, .3, 1);
  will-change: transform;
}
.carousel__slide { flex: 0 0 100%; height: 100%; margin: 0; position: relative; }
.carousel__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: zoom-in;
  transition: transform 1.2s cubic-bezier(.16, 1, .3, 1);
}
.carousel__slide.is-portrait::before {
  content: "";
  position: absolute;
  inset: -8%;
  background-image: var(--slide-bg);
  background-size: cover;
  background-position: center;
  filter: blur(26px) saturate(1.15) brightness(.82);
  transform: scale(1.1);
}
.carousel__slide.is-portrait img { position: relative; object-fit: contain; }
.carousel:hover .carousel__slide img { transform: scale(1.04); }

.carousel__nav {
  position: absolute;
  top: 50%;
  margin-top: -22px;
  z-index: 4;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid #ffffff33;
  border-radius: 50%;
  background: #0000008c;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
  cursor: pointer;
  opacity: .8;
  transition: opacity .3s, background-color .3s, transform .3s;
}
.carousel:hover .carousel__nav,
.carousel:focus-within .carousel__nav { opacity: 1; }
.carousel__nav:hover { background: #000000d9; transform: scale(1.06); opacity: 1; }
.carousel__nav .icon { width: 20px; height: 20px; }
.carousel__nav--prev { left: 14px; }
.carousel__nav--next { right: 14px; }
.carousel__nav--prev .icon { transform: rotate(90deg); }
.carousel__nav--next .icon { transform: rotate(-90deg); }

.carousel__footer {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  background: linear-gradient(to top, #000000a6, #0000);
  pointer-events: none;
}
.carousel__dots { display: flex; gap: 6px; pointer-events: auto; }
.carousel__dot {
  width: 22px;
  height: 3px;
  padding: 0;
  border: 0;
  border-radius: 2px;
  background: #ffffff59;
  cursor: pointer;
  transition: background-color .35s, width .45s cubic-bezier(.16, 1, .3, 1);
}
.carousel__dot:hover { background: #ffffffa6; }
.carousel__dot.is-active { width: 40px; background: #fff; }
.carousel__counter {
  font-family: "DIN Pro Medium", sans-serif;
  font-size: 13px;
  letter-spacing: .12em;
  color: #ffffffcc;
  font-variant-numeric: tabular-nums;
}

.gallery__label {
  position: absolute;
  left: 16px;
  top: 16px;
  z-index: 4;
  padding: 6px 12px;
  border-radius: 999px;
  background: #000000a6;
  backdrop-filter: blur(8px);
  font-family: "DIN Pro Medium", sans-serif;
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #fff;
}

/* ---------- Specs ---------- */
.specs {
  display: grid;
  gap: 0;
  margin: 12px 0 0;
  border-top: 1px solid var(--line);
}
.specs__row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}
.specs__row dt { color: var(--opacity-white-50); }
.specs__row dd {
  margin: 0 0 0 auto;
  font-family: "DIN Pro Medium", sans-serif;
  font-size: 17px;
  letter-spacing: .03em;
  text-transform: uppercase;
  white-space: nowrap;
}

/* ---------- Marquee ---------- */
.marquee {
  margin-top: 56px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  padding: 14px 0;
}
.marquee__track {
  display: flex;
  gap: 40px;
  width: max-content;
  animation: marquee 38s linear infinite;
}
.marquee span {
  font-family: "DIN Pro Black", "DIN Pro Bold Fallback", sans-serif;
  font-size: clamp(22px, 2.6vw, 34px);
  letter-spacing: .02em;
  text-transform: uppercase;
  color: #ffffff14;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 40px;
}
.marquee span::after { content: "•"; color: var(--accent); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: 80px 0 0; }
.section__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 32px;
}
.section__head .h2 { max-width: 18ch; }

/* ---------- "Что внутри календаря" (как на карточке товара) ---------- */
.read { max-width: 100%; }
.read__inner { max-width: 780px; margin: 0 auto; }
.read__title {
  font-family: "DIN Pro Black", "DIN Pro Bold Fallback", sans-serif;
  font-size: clamp(38px, 5.6vw, 80px);
  line-height: 1.1;
  letter-spacing: .02em;
  text-transform: uppercase;
  max-width: 16ch;
}
.read__first {
  display: block;
  font-family: "DIN Pro", "DIN Pro Fallback", sans-serif;
  font-weight: 400;
}
.read__text {
  margin-top: 24px;
  padding: 24px;
  border-radius: 24px;
  background: var(--glass);
  border: 1px solid var(--line);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  max-width: 780px;
}
.read__text p { font-size: 16px; line-height: 1.6; color: #ffffffd9; }
.read__link { margin-top: 18px; }

.slides {
  display: flex;
  gap: 40px;
  max-width: var(--container);
  margin: 36px auto 0;
  padding: 8px var(--pad) 12px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--pad);
  scrollbar-width: none;
  cursor: grab;
}
.slides::-webkit-scrollbar { display: none; }
.slides.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.slide {
  flex: 0 0 368px;
  margin: 0;
  scroll-snap-align: start;
}
.slide img {
  width: 100%;
  height: 536px;
  object-fit: cover;
  border-radius: 16px;
  background: #efe3d4;
  cursor: zoom-in;
  transition: transform .7s cubic-bezier(.16, 1, .3, 1);
}
.slide:hover img { transform: scale(1.02); }
.slide__caption { margin-top: 24px; text-align: center; }
.slide__caption b {
  display: block;
  padding: 0 40px;
  font-family: "DIN Pro Black", "DIN Pro Bold Fallback", sans-serif;
  font-size: 24px;
  line-height: 1.2;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.slide__caption span {
  display: block;
  margin-top: 12px;
  padding: 12px;
  border-radius: 16px;
  background: var(--glass);
  font-size: 14px;
  line-height: 1.45;
  color: #ffffffbf;
}

/* ---------- Cassette / ivi block ---------- */
.ivi-block {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
  padding: 40px;
  border-radius: var(--r-card);
  background: linear-gradient(135deg, #ffffff0f, #ffffff03 60%);
  border: 1px solid var(--line);
  backdrop-filter: blur(10px);
  overflow: hidden;
}
.ivi-block__logo { height: 30px; width: auto; margin-bottom: 24px; }
.ivi-block .h2 { margin-bottom: 16px; }
.ivi-block p { color: var(--opacity-white-50); font-size: 16px; line-height: 1.6; max-width: 40ch; }
.ivi-block__actions { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.film-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  width: 100%;
  max-width: 396px;
  margin: 0 auto;
  align-self: center;
}
.film-card { display: block; text-decoration: none; color: inherit; }
.film-card__poster {
  position: relative;
  margin: 0;
  aspect-ratio: 2 / 3;
  border-radius: 12px;
  overflow: hidden;
  background: #1a1a1d;
  box-shadow: 0 20px 44px #00000073;
  transition: transform .5s cubic-bezier(.16, 1, .3, 1), box-shadow .5s;
}
.film-card__poster img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.16, 1, .3, 1); }
.film-card:hover .film-card__poster { transform: translateY(-4px); box-shadow: 0 26px 56px #000000a6; }
.film-card:hover .film-card__poster img { transform: scale(1.05); }
.film-card__rating {
  position: absolute;
  left: 7px;
  bottom: 7px;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 3px 6px 3px 5px;
  border-radius: 7px;
  background: #000000b3;
  backdrop-filter: blur(6px);
  font-family: "Gotham Pro Medium", sans-serif;
  font-size: 10px;
  line-height: 1;
  color: #fff;
}
.film-card__rating .icon { width: 10px; height: 10px; color: #f4f1b9; fill: currentColor; stroke: none; }
.film-card__play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: #00000066;
  opacity: 0;
  transition: opacity .35s;
}
.film-card__play .icon { width: 34px; height: 34px; color: #fff; filter: drop-shadow(0 4px 12px #00000059); }
.film-card:hover .film-card__play { opacity: 1; }
.ivi-block .film-card__title {
  margin-top: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-family: "Gotham Pro Medium", sans-serif;
  font-size: 12px;
  line-height: 1.3;
  color: #ffffffd9;
}
.ivi-block .film-card__meta { margin-top: 4px; font-size: 12px; line-height: 1.4; color: var(--opacity-white-50); }
@media (max-width: 767px) {
  /* на телефоне — горизонтальная лента, как в приложении ivi */
  .film-cards {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    padding-bottom: 4px;
  }
  .film-cards::-webkit-scrollbar { display: none; }
  .film-card { flex: 0 0 104px; scroll-snap-align: start; }
  .ivi-block .film-card__title { font-size: 11px; line-height: 1.25; }
  .ivi-block .film-card__meta { font-size: 11px; }
}

/* ---------- Day grid ---------- */
.days {
  display: grid;
  grid-template-columns: repeat(9, minmax(0, 1fr));
  gap: 8px;
}
.day {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 96px;
  padding: 12px;
  border-radius: var(--r-tile);
  background: var(--glass);
  border: 1px solid var(--line);
  transition: background-color var(--ts), border-color var(--ts), transform var(--ts);
}
.day:hover { background: #ffffff12; border-color: #ffffff33; transform: translateY(-2px); }
.day__dow {
  font-family: "DIN Pro Medium", sans-serif;
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--opacity-white-50);
}
.day__num {
  font-family: "DIN Pro Black", "DIN Pro Bold Fallback", sans-serif;
  font-size: 34px;
  line-height: .9;
  letter-spacing: .02em;
}
.day__meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: var(--opacity-white-50);
}
.day__meta .icon { width: 12px; height: 12px; }
.day--final { background: #e5393514; border-color: #e5393533; }
.day--final .day__num { color: #ff8b87; }
.days__legend { display: flex; gap: 20px; margin-top: 18px; font-size: 13px; color: var(--opacity-white-50); }
.days__legend span { display: inline-flex; align-items: center; gap: 7px; }
.days__legend .icon { width: 15px; height: 15px; }

/* ---------- CTA band ---------- */
.cta {
  margin-top: 80px;
  padding: 56px;
  border-radius: var(--r-card);
  background:
    radial-gradient(120% 160% at 0% 0%, #5478ad59 0%, #0000 55%),
    radial-gradient(90% 140% at 100% 100%, #e5393533 0%, #0000 60%),
    #ffffff08;
  border: 1px solid var(--line);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: center;
}
.cta .h2 { max-width: 20ch; }
.cta p { color: var(--opacity-white-50); margin-top: 14px; max-width: 52ch; }
.cta__actions { display: flex; flex-direction: column; gap: 12px; align-items: stretch; }

/* ---------- Footer ---------- */
.footer {
  margin-top: 96px;
  border-top: 1px solid var(--line);
  padding: 40px 0 28px;
  font-size: 14px;
  color: var(--opacity-white-50);
}
.footer__top {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}
.footer__nav { display: flex; flex-wrap: wrap; gap: 24px; margin-left: auto; }
.footer__nav a:hover, .footer__login:hover { color: #fff; }
.footer__login { padding: 0; border: 0; background: none; font: inherit; color: inherit; cursor: pointer; }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  padding-top: 24px;
  font-size: 13px;
}
.footer__bottom span:last-child { margin-left: auto; }

/* ---------- Snow ---------- */
.snow { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 1; opacity: .5; }

/* ============================================================
   Auth page (формат формы входа как на shop.tastycoffee.ru)
   ============================================================ */
.auth-page { padding: 0 0 80px; }

.auth-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 460px);
  gap: 56px;
  align-items: start;
  padding-top: 24px;
}

.auth-visual { position: sticky; top: 100px; }
.auth-visual__photo {
  position: relative;
  margin: 0;
  aspect-ratio: 4 / 3;
  border-radius: var(--r-card);
  overflow: hidden;
  background: #efe3d4;
  box-shadow: 0 30px 80px #00000080;
}
.auth-visual__photo img { width: 100%; height: 100%; object-fit: cover; }
.auth-visual__info { margin-top: 22px; }
.auth-visual__title {
  margin-top: 10px;
  font-family: "DIN Pro Black", "DIN Pro Bold Fallback", sans-serif;
  font-size: clamp(24px, 2.6vw, 34px);
  line-height: 1.05;
  letter-spacing: .01em;
  text-transform: uppercase;
}
.auth-visual__text {
  margin-top: 10px;
  max-width: 44ch;
  font-size: 15px;
  line-height: 1.55;
  color: var(--opacity-white-50);
}
.auth-visual__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }

.login-card {
  width: 100%;
  padding: 28px;
  border-radius: var(--r-card);
  background: var(--glass);
  border: 1px solid var(--line);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 30px 80px #00000059;
}
.login-card[hidden] { display: none; }
.login-card__title {
  font-family: "DIN Pro Black", "DIN Pro Bold Fallback", sans-serif;
  font-size: clamp(30px, 3vw, 40px);
  line-height: 1.1;
  letter-spacing: .01em;
  text-transform: uppercase;
}
.login-card__title--sm { font-size: clamp(24px, 2.4vw, 30px); }
.login-card__sub { margin-top: 10px; font-size: 15px; line-height: 1.5; color: var(--opacity-white-50); }

.login-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  margin-top: 22px;
  padding: 4px;
  border-radius: 12px;
  background: #ffffff0a;
}
.login-tab {
  padding: 10px 8px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  font-family: "DIN Pro Medium", sans-serif;
  font-size: 14px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--opacity-white-50);
  cursor: pointer;
  transition: background-color .3s, color .3s;
}
.login-tab:hover { color: #fff; }
.login-tab.is-active { background: #fff; color: #000; }

.login-card__fields { display: grid; gap: 12px; margin-top: 20px; }
.login-field { display: block; }
.login-field__label {
  display: block;
  margin-bottom: 6px;
  font-family: "Gotham Pro Medium", sans-serif;
  font-size: 13px;
  color: var(--opacity-white-50);
}
/* поля ввода */
.input {
  width: 100%;
  height: 48px;
  padding: 8px 14px;
  border: 1px solid transparent;
  border-radius: var(--r-tile);
  background: var(--glass);
  font-size: 16px;
  color: #fff;
  transition: background-color var(--ts), border-color var(--ts), box-shadow var(--ts);
}
.input::placeholder { color: #ffffff40; }
.input:hover { background: var(--glass-hover); }
.input:focus {
  outline: none;
  background: #ffffff14;
  border-color: #ffffff40;
  box-shadow: 0 0 0 4px #ffffff0d;
}
.input.is-invalid { border-color: var(--accent); background: #e5393514; }
.input--plain { padding-left: 14px; }

.field__wrap { position: relative; display: block; }
.field__wrap .input { padding-right: 52px; }
.field__toggle {
  position: absolute;
  right: 4px;
  top: 50%;
  margin-top: -20px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--opacity-white-50);
  cursor: pointer;
}
.field__toggle:hover { color: #fff; background: var(--glass); }
.field__toggle .icon { width: 20px; height: 20px; }
.field__error { display: none; margin-top: 6px; font-size: 12px; color: #ff8b87; }
.field__error.is-visible { display: block; }

.checkbox { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; font-size: 14px; color: var(--opacity-white-50); }
.checkbox input {
  appearance: none;
  position: relative;
  width: 20px;
  height: 20px;
  margin: 0;
  border: 1px solid #ffffff26;
  border-radius: 6px;
  background: var(--glass);
  cursor: pointer;
  transition: background-color var(--ts), border-color var(--ts);
}
.checkbox input:checked { background: var(--accent); border-color: var(--accent); }
.checkbox input:checked::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 2px;
  width: 5px;
  height: 10px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.checkbox:hover input { background: var(--glass-hover); }
.checkbox input:checked:hover { background: var(--accent-hover); }
.login-card__submit { margin-top: 4px; }
.login-card__links { display: flex; justify-content: flex-start; }
.login-link {
  padding: 0;
  border: 0;
  background: none;
  font-size: 14px;
  color: var(--opacity-white-50);
  border-bottom: 1px solid #ffffff26;
  cursor: pointer;
  transition: color .3s, border-color .3s;
}
.login-link:hover { color: #fff; border-color: #fff; }
.login-card__footer {
  display: grid;
  gap: 16px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.login-card__note {
  display: flex;
  gap: 10px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--opacity-white-50);
}
.login-card__note .icon { width: 18px; height: 18px; flex: 0 0 auto; margin-top: 1px; }
.login-back {
  padding: 0;
  margin-bottom: 16px;
  border: 0;
  background: none;
  font-size: 14px;
  color: var(--opacity-white-50);
  cursor: pointer;
  transition: color .3s;
}
.login-back:hover { color: #fff; }
.login-card__ok { display: grid; gap: 8px; }
.login-card__ok .icon { width: 44px; height: 44px; color: var(--green); margin-bottom: 10px; }
.login-card__ok b { font-family: "Gotham Pro Medium", sans-serif; font-size: 18px; font-weight: 500; }
.login-card__ok p { font-size: 15px; line-height: 1.55; color: var(--opacity-white-50); }

/* ---------- попап входа ---------- */
.modal { position: fixed; inset: 0; z-index: 95; display: grid; place-items: center; padding: 24px; }
.modal[hidden] { display: none; }
.modal__backdrop {
  position: absolute;
  inset: 0;
  background: #000000d9;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  opacity: 0;
  transition: opacity .3s;
}
.modal.is-open .modal__backdrop { opacity: 1; }
.modal__box {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 440px;
  opacity: 0;
  transform: translateY(16px) scale(.98);
  transition: transform .45s cubic-bezier(.16, 1, .3, 1), opacity .35s;
}
.modal.is-open .modal__box { opacity: 1; transform: none; }
.modal__close {
  position: absolute;
  top: -14px;
  right: -14px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid #ffffff26;
  border-radius: 50%;
  background: #0b0b0df2;
  color: #fff;
  cursor: pointer;
  transition: background-color .3s, transform .3s;
}
.modal__close:hover { background: #ffffff1f; transform: scale(1.06); }
.modal__close .icon { width: 18px; height: 18px; }

@media (max-width: 767px) {
  .modal { padding: 12px; }
  .modal__close { top: 8px; right: 8px; }
}

@media (max-width: 1023px) {
  .auth-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .auth-visual { position: static; order: 2; }
  .auth-col { order: 1; }
}
@media (max-width: 767px) {
  .login-card { padding: 20px; }
  .auth-page { padding-bottom: 56px; }
}

/* breadcrumb */
.crumb { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--opacity-white-50); padding: 18px 0 0; }
.crumb a:hover { color: #fff; }
.crumb__sep { width: 2px; height: 2px; border-radius: 50%; background: currentColor; }

/* ---------- Responsive ---------- */
@media (max-width: 1279px) {
  :root { --pad: 32px; }
  .hero__grid { gap: 40px; }
  .days { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .auth { grid-template-columns: 1fr; }
}
@media (max-width: 1023px) {
  .hero__grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .gallery { display: contents; }
  .carousel { order: 1; }
  .hero__info { order: 2; }
  .specs { order: 3; margin-top: 0; }
  .ivi-block { grid-template-columns: 1fr; gap: 32px; padding: 28px; }
  .cta { grid-template-columns: 1fr; padding: 32px; }
  .cta__actions { flex-direction: row; flex-wrap: wrap; }
  .header__nav .nav-li { display: none; }
}
@media (max-width: 767px) {
  :root { --pad: 16px; }
  .slide { flex: 0 0 324px; }
  .slide img { height: 471px; }
  .slides { gap: 24px; }
  .read__text { padding: 18px; border-radius: 18px; }
  .slide__caption b { padding: 0 12px; font-size: 21px; }
  .header__inner { min-height: 64px; gap: 12px; }
  .brand-tc svg { height: 28px; }
  .brand-ivi svg, .brand-ivi img { height: 21px; }
  .hero { padding-top: 24px; }
  .days { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .day { min-height: 84px; }
  .section { padding-top: 56px; }
  .section__head { flex-direction: column; align-items: flex-start; gap: 14px; }
  .cta { margin-top: 56px; }
  .footer__nav { margin-left: 0; gap: 16px; }
  .footer__bottom span:last-child { margin-left: 0; }
  .form-row { flex-wrap: wrap; }
}

/* ============================================================
   Motion, micro-interactions, lightbox
   ============================================================ */

/* ---------- scroll progress ---------- */
.progress { position: fixed; inset: 0 0 auto 0; height: 2px; z-index: 70; pointer-events: none; }
.progress__bar {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--accent), #ff8b87);
  box-shadow: 0 0 14px #e5393599;
  will-change: width;
}

/* ---------- header condense on scroll ---------- */
.header { transition: background-color .45s, border-color .45s; }
.header__inner { transition: min-height .45s cubic-bezier(.16, 1, .3, 1); }
.brand-tc svg, .brand-ivi img { transition: height .45s cubic-bezier(.16, 1, .3, 1); }
.header.is-scrolled { background: #000000b8; border-bottom-color: #ffffff26; }
.header.is-scrolled .header__inner { min-height: 62px; }
.header.is-scrolled .brand-tc svg { height: 28px; }
.header.is-scrolled .brand-ivi img { height: 21px; }

/* ---------- scroll reveal ---------- */
.js-anim [data-reveal] {
  opacity: 0;
  transform: translateY(30px);
  filter: blur(10px);
  will-change: opacity, transform;
}
.js-anim [data-reveal].is-in {
  opacity: 1;
  transform: none;
  filter: none;
  transition:
    opacity .9s cubic-bezier(.16, 1, .3, 1) var(--d, 0ms),
    transform .9s cubic-bezier(.16, 1, .3, 1) var(--d, 0ms),
    filter .9s ease var(--d, 0ms);
}

/* ---------- hero entrance ---------- */
.js-anim .hero__info > * { opacity: 0; animation: rise-in .95s cubic-bezier(.16, 1, .3, 1) forwards; }
.js-anim .hero__info > *:nth-child(1) { animation-delay: .06s; }
.js-anim .hero__info > *:nth-child(2) { animation-delay: .12s; }
.js-anim .hero__info > *:nth-child(3) { animation-delay: .18s; }
.js-anim .hero__info > *:nth-child(4) { animation-delay: .24s; }
.js-anim .hero__info > *:nth-child(5) { animation-delay: .30s; }
.js-anim .hero__info > *:nth-child(6) { animation-delay: .36s; }
.js-anim .hero__info > *:nth-child(7) { animation-delay: .42s; }
.js-anim .hero__info > *:nth-child(8) { animation-delay: .48s; }
.js-anim .carousel { opacity: 0; animation: media-in 1.15s cubic-bezier(.16, 1, .3, 1) .05s forwards; }
.js-anim .crumb { opacity: 0; animation: rise-in .8s cubic-bezier(.16, 1, .3, 1) forwards; }

@keyframes rise-in { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes media-in { from { opacity: 0; transform: scale(.965) translateY(20px); } to { opacity: 1; transform: none; } }

/* ---------- auth page entrance ---------- */
.js-anim #authForm > * { opacity: 0; animation: rise-in .85s cubic-bezier(.16, 1, .3, 1) forwards; }
.js-anim #authForm > *:nth-child(1) { animation-delay: .08s; }
.js-anim #authForm > *:nth-child(2) { animation-delay: .14s; }
.js-anim #authForm > *:nth-child(3) { animation-delay: .20s; }
.js-anim #authForm > *:nth-child(4) { animation-delay: .26s; }
.js-anim #authForm > *:nth-child(5) { animation-delay: .32s; }
.js-anim .auth-visual__photo { opacity: 0; animation: media-in 1.1s cubic-bezier(.16, 1, .3, 1) .05s forwards; }
.js-anim .auth-visual__info { opacity: 0; animation: rise-in .9s cubic-bezier(.16, 1, .3, 1) .25s forwards; }

/* ---------- gallery: product-card zoom ---------- */
.gallery__zoom {
  position: absolute;
  right: 16px;
  top: 16px;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 15px;
  border: 0;
  border-radius: 999px;
  background: #000000a6;
  backdrop-filter: blur(10px);
  font-family: "DIN Pro Medium", sans-serif;
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #fff;
  cursor: zoom-in;
  opacity: 1;
  transform: none;
  transition: opacity .4s, transform .5s cubic-bezier(.16, 1, .3, 1), background-color .3s;
}
.gallery__zoom .icon { width: 16px; height: 16px; }
.carousel:hover .gallery__zoom { background: #000000d9; }
.gallery__zoom:hover { background: #000;} 

/* ---------- film cards ---------- */
.ivi-block { transition: border-color .5s, background .5s; }
.ivi-block:hover { border-color: #ffffff29; }

/* ---------- day tiles ---------- */
.day { transition: background-color .4s, border-color .4s, transform .5s cubic-bezier(.16, 1, .3, 1), box-shadow .5s; }
.day:hover {
  background: #ffffff14;
  border-color: #ffffff33;
  transform: translateY(-6px) scale(1.015);
  box-shadow: 0 18px 40px #00000080;
}
.day:hover .day__num { color: var(--accent); transition: color .3s; }
.day--final:hover .day__num { color: #ff8b87; }

/* ---------- buttons: light sweep ---------- */
.btn { overflow: hidden; }
.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, #0000 32%, #ffffff3d 50%, #0000 68%);
  transform: translateX(-130%);
  transition: transform .75s cubic-bezier(.16, 1, .3, 1);
  pointer-events: none;
}
.btn:hover::after { transform: translateX(130%); }
.btn--white::after { background: linear-gradient(110deg, #0000 32%, #00000024 50%, #0000 68%); }

/* ---------- marquee pause on hover ---------- */
.marquee:hover .marquee__track { animation-play-state: paused; }

/* ---------- link arrow underline ---------- */
.link-arrow { position: relative; }
.link-arrow::after {
  content: "";
  position: absolute;
  left: 0;
  right: 22px;
  bottom: -3px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .5s cubic-bezier(.16, 1, .3, 1);
}
.link-arrow:hover::after { transform: scaleX(1); }

/* ---------- lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: #000000e6;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .35s, visibility .35s;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox__stage {
  margin: 0;
  max-width: min(1180px, 92vw);
  max-height: 84vh;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 40px 120px #000;
  transform: scale(.94);
  transition: transform .55s cubic-bezier(.16, 1, .3, 1);
}
.lightbox.is-open .lightbox__stage { transform: scale(1); }
.lightbox__stage img {
  max-width: min(1180px, 92vw);
  max-height: 84vh;
  width: auto;
  height: auto;
  cursor: zoom-in;
  transition: transform .55s cubic-bezier(.16, 1, .3, 1);
}
.lightbox__stage.is-zoomed img { transform: scale(2.4); cursor: zoom-out; }
.lightbox__stage.is-zoomed { cursor: move; }
.lightbox__btn {
  position: absolute;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border: 1px solid #ffffff26;
  border-radius: 50%;
  background: #ffffff0f;
  backdrop-filter: blur(10px);
  color: #fff;
  cursor: pointer;
  transition: background-color .3s, transform .3s, border-color .3s;
}
.lightbox__btn:hover { background: #ffffff26; border-color: #ffffff40; transform: scale(1.07); }
.lightbox__btn .icon { width: 22px; height: 22px; }
.lightbox__close { top: 24px; right: 24px; }
.lightbox__nav--prev { left: 24px; top: 50%; margin-top: -27px; }
.lightbox__nav--next { right: 24px; top: 50%; margin-top: -27px; }
.lightbox__nav--prev .icon { transform: rotate(90deg); }
.lightbox__nav--next .icon { transform: rotate(-90deg); }
.lightbox__counter {
  position: absolute;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  font-family: "DIN Pro Medium", sans-serif;
  font-size: 14px;
  letter-spacing: .14em;
  color: #ffffffb3;
}
body.is-locked { overflow: hidden; }

@media (max-width: 767px) {
  .lightbox { padding: 12px; }
  .lightbox__btn { width: 44px; height: 44px; }
  .lightbox__nav--prev { left: 8px; margin-top: -22px; }
  .lightbox__nav--next { right: 8px; margin-top: -22px; }
  .lightbox__close { top: 8px; right: 8px; }
  .gallery__zoom { opacity: 1; transform: none; }
  .carousel__nav { opacity: 1; }
}

@media (hover: none) {
  .carousel__nav { opacity: 1; }
  .gallery__zoom { opacity: 1; transform: none; }
}

/* ---------- countdown ---------- */
.countdown-wrap { padding-top: 56px; }
.countdown {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
  padding: 26px 30px;
  border-radius: var(--r-card);
  background: linear-gradient(120deg, #ffffff10, #ffffff04 60%);
  border: 1px solid var(--line);
  backdrop-filter: blur(10px);
}
.countdown__label .eyebrow { display: flex; margin-bottom: 10px; }
.countdown__date {
  font-family: "DIN Pro Black", "DIN Pro Bold Fallback", sans-serif;
  font-size: clamp(22px, 2.2vw, 30px);
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: .01em;
}
.countdown__clock { display: flex; gap: 10px; }
.countdown__unit {
  min-width: 88px;
  padding: 14px 12px 12px;
  border-radius: var(--r-tile);
  background: #00000059;
  border: 1px solid var(--line);
  text-align: center;
}
.countdown__unit b {
  display: block;
  font-family: "DIN Pro Black", "DIN Pro Bold Fallback", sans-serif;
  font-size: clamp(30px, 3.4vw, 44px);
  line-height: 1;
  font-variant-numeric: tabular-nums;
  letter-spacing: .02em;
}
.countdown__unit span {
  display: block;
  margin-top: 8px;
  font-family: "DIN Pro Medium", sans-serif;
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--opacity-white-50);
}
.countdown__unit b.is-tick { animation: tick .45s ease; }
@keyframes tick { 0% { opacity: .35; transform: translateY(-2px); } 100% { opacity: 1; transform: none; } }

/* ---------- sticky product bar ---------- */
.sticky-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 16px;
  z-index: 60;
  display: flex;
  justify-content: center;
  padding: 0 16px;
  opacity: 0;
  transform: translateY(140%);
  transition: transform .6s cubic-bezier(.16, 1, .3, 1), opacity .4s;
  pointer-events: none;
}
.sticky-bar.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.sticky-bar__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  width: 100%;
  max-width: 720px;
  padding: 10px 10px 10px 22px;
  border-radius: 20px;
  background: #0b0b0df2;
  border: 1px solid #ffffff1f;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 24px 60px #000000a6;
}
.sticky-bar__info { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.sticky-bar__info b {
  font-family: "DIN Pro Medium", sans-serif;
  font-size: 15px;
  letter-spacing: .03em;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sticky-bar__info span { font-size: 13px; color: var(--opacity-white-50); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sticky-bar .btn { margin-left: auto; min-height: 44px; font-size: 15px; padding: 8px 18px; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 8px; }
.faq__item {
  border: 1px solid var(--line);
  border-radius: var(--r-tile);
  background: var(--glass);
  transition: background-color .4s, border-color .4s;
}
.faq__item:hover { background: #ffffff0f; }
.faq__item[open] { background: #ffffff10; border-color: #ffffff29; }
.faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  cursor: pointer;
  list-style: none;
  font-family: "Gotham Pro Medium", sans-serif;
  font-size: 16px;
  line-height: 1.3;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q .icon { width: 20px; height: 20px; color: var(--opacity-white-50); transition: transform .4s cubic-bezier(.16, 1, .3, 1), color .3s; }
.faq__q:hover .icon { color: #fff; }
.faq__item[open] .faq__q .icon { transform: rotate(180deg); color: var(--accent); }
.faq__a {
  padding: 0 20px 20px;
  max-width: 78ch;
  font-size: 15px;
  line-height: 1.65;
  color: var(--opacity-white-50);
}
.faq__item[open] .faq__a { animation: fade-up .45s cubic-bezier(.16, 1, .3, 1) both; }

/* ---------- today in the advent grid ---------- */
.day.is-today {
  border-color: #e5393580;
  box-shadow: inset 0 0 0 1px #e5393540, 0 18px 40px #e539351f;
}
.day.is-today .day__num { color: #ff8b87; }
.day.is-today .day__dow { color: #ff8b87; }

@media (max-width: 767px) {
  .countdown { padding: 20px; gap: 18px; }
  .countdown__unit { min-width: 68px; padding: 10px 8px; }
  .countdown__unit b { font-size: 26px; }
  .countdown__unit span { font-size: 10px; margin-top: 6px; }
  .sticky-bar { bottom: 10px; padding: 0 10px; }
  .sticky-bar__inner { gap: 12px; padding: 8px 8px 8px 16px; border-radius: 16px; }
  .sticky-bar__info span { display: none; }
  .sticky-bar__info b { font-size: 13px; }
  .sticky-bar .btn { min-height: 40px; font-size: 14px; padding: 8px 14px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .marquee__track { animation: none; }
  .js-anim [data-reveal],
  .js-anim .hero__info > *,
  .js-anim .carousel,
  .js-anim .crumb,
  .js-anim #authForm > *,
  .js-anim .auth-visual__photo,
  .js-anim .auth-visual__info { opacity: 1 !important; transform: none !important; filter: none !important; }
  .carousel:hover .carousel__slide img { transform: none; }
  .lightbox__stage.is-zoomed img { transform: none; }
}
