/* ==========================================================================
   LAICASHOP.HU – ADVENTI KALENDÁRIUM ÜNNEPI MÓDOSÍTÓ CSS
   --------------------------------------------------------------------------
   ========================================================================== */

/* --------------------------------------------------------------------------
   0. CSS HOUDINI @PROPERTY A FOLYAMATOSAN KÖRBEFUTÓ ARANY ÉLFÉNYHEZ
   -------------------------------------------------------------------------- */
@property --advent-border-angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

/* --------------------------------------------------------------------------
   1. ÜNNEPI KIEGÉSZÍTŐ VÁLTOZÓK (az admin színek mellé)
   -------------------------------------------------------------------------- */
body.advent-calendar {
  --advent-primary-fallback: #438300;
  --advent-secondary-fallback: #d95137;
  --advent-gold: #f5c55a;
  --advent-gold-light: #fff3c4;
  --advent-gold-deep: #c48a1e;
  --advent-cream: #fffdf8;
  --advent-ink: #1e2a24;
  --advent-glass-bg: rgba(255, 253, 248, 0.92);
  --advent-ease-spring: cubic-bezier(0.22, 1, 0.36, 1);
}

/* --------------------------------------------------------------------------
   2. ELŐTÉRBEN HULLÓ HÓESÉS (KÁRTYÁKON ÉS MOBILON IS LÁTHATÓ, KATTINTÁSBARÁT)
   -------------------------------------------------------------------------- */
body.advent-calendar::before,
body.advent-calendar::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 999;
  will-change: background-position;
}

/* 1. réteg: nagyobb, finoman csillogó hópelyhek (lassabb esés) */
body.advent-calendar::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='360' height='360' viewBox='0 0 360 360'%3E%3Cg fill='none' stroke-linecap='round'%3E%3Cg stroke='%23ffffff' stroke-opacity='0.92' stroke-width='1.5'%3E%3Cpath d='M52 38v14M45 45h14M47 40l10 10M57 40L47 50'/%3E%3Cpath d='M256 112v16M248 120h16M250 114l12 12M262 114l-12 12'/%3E%3Cpath d='M148 258v14M141 265h14M143 260l10 10M153 260l-10 10'/%3E%3Cpath d='M318 290v12M312 296h12M314 292l8 8M322 292l-8 8'/%3E%3C/g%3E%3Cg stroke='%239ec9e6' stroke-opacity='0.42' stroke-width='3'%3E%3Ccircle cx='52' cy='45' r='3'/%3E%3Ccircle cx='256' cy='120' r='3.5'/%3E%3Ccircle cx='148' cy='265' r='3'/%3E%3C/g%3E%3Ccircle cx='185' cy='48' r='3.2' fill='%23ffffff' fill-opacity='0.9'/%3E%3Ccircle cx='185' cy='48' r='5' fill='%23b7d8f0' fill-opacity='0.28'/%3E%3Ccircle cx='96' cy='156' r='2.8' fill='%23ffffff' fill-opacity='0.88'/%3E%3Ccircle cx='312' cy='188' r='3.4' fill='%23ffffff' fill-opacity='0.92'/%3E%3Ccircle cx='312' cy='188' r='5.2' fill='%23b7d8f0' fill-opacity='0.26'/%3E%3Ccircle cx='38' cy='298' r='2.6' fill='%23fff3c4' fill-opacity='0.88'/%3E%3Ccircle cx='226' cy='324' r='3' fill='%23ffffff' fill-opacity='0.85'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 360px 360px;
  animation: adventSnowFallSlow 20s linear infinite;
  opacity: 0.9;
}

/* 2. réteg: apróbb hópelyhek és meleg arany téli csillámok (gyorsabb, mélységhatás) */
body.advent-calendar::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260' viewBox='0 0 260 260'%3E%3Ccircle cx='28' cy='36' r='2.2' fill='%23ffffff' fill-opacity='0.92'/%3E%3Ccircle cx='28' cy='36' r='3.6' fill='%23a6cfe8' fill-opacity='0.3'/%3E%3Ccircle cx='124' cy='22' r='1.8' fill='%23f5c55a' fill-opacity='0.85'/%3E%3Ccircle cx='214' cy='76' r='2.4' fill='%23ffffff' fill-opacity='0.9'/%3E%3Ccircle cx='78' cy='118' r='2' fill='%23ffffff' fill-opacity='0.85'/%3E%3Ccircle cx='172' cy='152' r='2.5' fill='%23ffffff' fill-opacity='0.9'/%3E%3Ccircle cx='172' cy='152' r='4' fill='%23a6cfe8' fill-opacity='0.28'/%3E%3Ccircle cx='236' cy='204' r='1.8' fill='%23fff0bd' fill-opacity='0.88'/%3E%3Ccircle cx='46' cy='218' r='2.2' fill='%23ffffff' fill-opacity='0.88'/%3E%3Ccircle cx='132' cy='234' r='1.6' fill='%23f5c55a' fill-opacity='0.8'/%3E%3C/svg%3E");
  background-size: 260px 260px;
  animation: adventSnowFallFast 13s linear infinite;
  opacity: 0.82;
}

body.advent-calendar main.main-content {
  position: relative;
  overflow-x: clip;
  padding-top: 28px;
  padding-bottom: 56px;
}

/* --------------------------------------------------------------------------
   3. VÁSÁRLÓI VÉLEMÉNYEK DOBOZ (ÁRUKERESŐ WIDGET) ELREJTÉSE
   -------------------------------------------------------------------------- */
body.advent-calendar [id*="arukereso" i],
body.advent-calendar [class*="arukereso" i],
body.advent-calendar [id^="ak-"],
body.advent-calendar [id^="ak_"],
body.advent-calendar [class^="ak-"],
body.advent-calendar [class^="ak_"],
body.advent-calendar [class*=" ak-"],
body.advent-calendar [class*=" ak_"],
body.advent-calendar iframe[src*="arukereso.hu"],
body.advent-calendar > a[href*="arukereso.hu"],
body.advent-calendar > div:not(.layout-wrapper):not(.nanobar):has(a[href*="arukereso"], img[src*="arukereso"], iframe[src*="arukereso"]),
body.advent-calendar [id*="vasarloi-velemeny" i],
body.advent-calendar [class*="vasarloi-velemeny" i] {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* --------------------------------------------------------------------------
   4. FŐ KONTÉNER (FROSTED GLASS KÁRTYA) & TELJES SZÉLESSÉGŰ ELRENDEZÉS
   -------------------------------------------------------------------------- */
body.advent-calendar .main-container {
  position: relative;
  z-index: 2;
  background: var(--advent-glass-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 26px;
  border: 1.5px solid rgba(245, 197, 90, 0.45);
  box-shadow:
    0 24px 64px rgba(10, 26, 16, 0.22),
    0 4px 18px rgba(196, 138, 30, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  padding: 52px 36px 48px;
  overflow: clip;
}

/* Ünnepi arany-csillogó felső díszcsík a konténer tetején */
body.advent-calendar .main-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  border-radius: 26px 26px 0 0;
  background: linear-gradient(
    90deg,
    var(--advent-primary-fallback) 0%,
    var(--advent-gold) 25%,
    var(--advent-secondary-fallback) 50%,
    var(--advent-gold) 75%,
    var(--advent-primary-fallback) 100%
  );
  background-size: 200% 100%;
  animation: adventGoldShimmer 8s linear infinite;
}

/* Ha a jobb oldali oszlop üres, a kalendárium töltse ki a teljes szélességet */
body.advent-calendar .column-content.two-column-content:has(+ .column-right:empty) {
  flex: 0 0 100%;
  max-width: 100%;
  width: 100%;
}

body.advent-calendar .column-right:empty {
  display: none;
}

/* Morzsamenü finomítása */
body.advent-calendar .breadcrumb {
  font-family: "Poppins", sans-serif;
  font-size: 0.85rem;
  opacity: 0.8;
  margin-bottom: 1.25rem;
}

/* Üres bevezető blokk ne adjon felesleges térközt a címsor és a vissza gomb közé */
body.advent-calendar .information__introtext {
  margin: 0;
  padding: 0;
}

/* --------------------------------------------------------------------------
   5. ÜNNEPI FŐCÍM (.page-head > h1.page-head-title) & KÖZÉPRE RENDEZETT
      "VISSZA A FŐOLDALRA" GOMB
   -------------------------------------------------------------------------- */
body.advent-calendar .page-head {
  text-align: center;
  margin: 0 0 14px;
  padding: 0;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

body.advent-calendar .page-head h1.page-head-title,
body.advent-calendar #section-advent_calendar .module-head-title {
  font-family: "Berkshire Swash", serif;
  font-size: clamp(2.15rem, 3.8vw, 3.45rem);
  font-weight: 400;
  line-height: 1.18;
  letter-spacing: 0.02em;
  margin: 0 0 12px;
  text-align: center;
  color: var(--advent-primary-fallback);
  background: linear-gradient(
    135deg,
    color-mix(in srgb, var(--advent-primary-fallback) 88%, #0d1f00) 0%,
    var(--advent-primary-fallback) 42%,
    var(--advent-gold-deep) 68%,
    var(--advent-secondary-fallback) 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 3px 10px rgba(196, 138, 30, 0.16));
}

/* Admin szerkesztő ceruza ikon láthatóságának megőrzése a H1-ben */
body.advent-calendar .page-head h1.page-head-title .edit-link {
  -webkit-text-fill-color: #111111;
}

/* Dekoratív arany csillag-hópehely díszítés a H1 cím alatt */
body.advent-calendar .page-head::after {
  content: "✦  ❄  ✦";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  letter-spacing: 0.35em;
  text-indent: 0.35em;
  color: var(--advent-gold-deep);
  padding: 3px 26px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(245, 197, 90, 0.24) 50%,
    transparent 100%
  );
  border-radius: 999px;
}

/* "Vissza a főoldalra" gomb a főcímmel együtt középre rendezve */
body.advent-calendar .information__fulltext .back-home {
  position: relative;
  top: auto;
  left: auto;
  width: 100%;
  margin: 2px 0 26px;
}

body.advent-calendar .information__fulltext .back-home .container {
  border-bottom: none;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

body.advent-calendar .information__fulltext .back-home .back-home-link {
  font-family: "Poppins", sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--advent-ink);
  background: rgba(255, 255, 255, 0.9);
  border: 1.5px solid rgba(196, 138, 30, 0.4);
  border-radius: 999px;
  padding: 8px 20px;
  box-shadow: 0 5px 14px rgba(196, 138, 30, 0.1);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

body.advent-calendar .information__fulltext .back-home .back-home-link:hover {
  background: var(--advent-cream);
  color: var(--advent-secondary-fallback);
  border-color: var(--advent-gold);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(196, 138, 30, 0.2);
}

/* --------------------------------------------------------------------------
   6. TIPOGRÁFIAI HIERARCHIA & BEVEZETŐ SZÖVEG
   -------------------------------------------------------------------------- */
/* A Berkshire Swash marad a főcímen és a napszámokon; a törzsszöveg tiszta Poppins */
body.advent-calendar #section-advent_calendar .module-advent-calendar__description,
body.advent-calendar #section-advent_calendar .advent-door__name,
body.advent-calendar #section-advent_calendar .advent-door__desc,
body.advent-calendar #section-advent_calendar .advent-door__actions,
body.advent-calendar #section-advent_calendar .advent-door__actions *,
body.advent-calendar #section-advent_calendar .module-advent-calendar__hint {
  font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body.advent-calendar #section-advent_calendar :is(#advent-calendar-advent-2026, .module-advent-calendar) {
  padding-top: 4px;
}

body.advent-calendar #section-advent_calendar .module-advent-calendar__description {
  max-width: 720px;
  margin: 0 auto 38px;
  padding: 16px 24px;
  text-align: center;
  font-size: 1.03rem;
  line-height: 1.65;
  font-weight: 500;
  color: var(--advent-ink);
  background: linear-gradient(
    135deg,
    rgba(255, 250, 236, 0.95),
    rgba(255, 255, 255, 0.85)
  );
  border: 1px solid rgba(245, 197, 90, 0.42);
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(196, 138, 30, 0.08);
}

/* --------------------------------------------------------------------------
   7. KALENDÁRIUM RÁCS & 3D AJTÓ ALAPOK (#advent-calendar-advent-2026)
   -------------------------------------------------------------------------- */
body.advent-calendar #section-advent_calendar :is(#advent-calendar-advent-2026, .module-advent-calendar) .module-advent-calendar__grid {
  gap: 24px;
  padding: 8px 4px 16px;
}

body.advent-calendar #section-advent_calendar :is(#advent-calendar-advent-2026, .module-advent-calendar) .advent-door {
  perspective: 1250px;
  min-height: 345px;
  animation: adventDoorReveal 0.6s var(--advent-ease-spring) backwards;
}

/* Finom lépcsőzetes beúszás betöltéskor */
body.advent-calendar #section-advent_calendar :is(#advent-calendar-advent-2026, .module-advent-calendar) .advent-door:nth-child(4n + 1) { animation-delay: 0.04s; }
body.advent-calendar #section-advent_calendar :is(#advent-calendar-advent-2026, .module-advent-calendar) .advent-door:nth-child(4n + 2) { animation-delay: 0.10s; }
body.advent-calendar #section-advent_calendar :is(#advent-calendar-advent-2026, .module-advent-calendar) .advent-door:nth-child(4n + 3) { animation-delay: 0.16s; }
body.advent-calendar #section-advent_calendar :is(#advent-calendar-advent-2026, .module-advent-calendar) .advent-door:nth-child(4n + 4) { animation-delay: 0.22s; }

body.advent-calendar #section-advent_calendar :is(#advent-calendar-advent-2026, .module-advent-calendar) .advent-door__btn {
  border-radius: 16px;
  box-shadow:
    0 12px 28px rgba(15, 32, 20, 0.16),
    0 2px 6px rgba(15, 32, 20, 0.08);
  transition: transform 0.35s var(--advent-ease-spring), box-shadow 0.35s ease;
}

body.advent-calendar #section-advent_calendar :is(#advent-calendar-advent-2026, .module-advent-calendar) .advent-door__btn:focus-visible {
  outline: 3px solid var(--advent-gold);
  outline-offset: 5px;
}

/* Alap sablon mintarétegének igazítása a kerekített sarkokhoz */
body.advent-calendar #section-advent_calendar :is(#advent-calendar-advent-2026, .module-advent-calendar) .advent-door.is-active-day:not(.is-open) .advent-door__btn::after,
body.advent-calendar #section-advent_calendar :is(#advent-calendar-advent-2026, .module-advent-calendar) .advent-door.is-locked .advent-door__btn::after {
  border-radius: 16px;
  pointer-events: none;
}

body.advent-calendar #section-advent_calendar :is(#advent-calendar-advent-2026, .module-advent-calendar) .advent-door__front,
body.advent-calendar #section-advent_calendar :is(#advent-calendar-advent-2026, .module-advent-calendar) .advent-door__back {
  border-radius: 16px;
  transition: transform 0.8s var(--advent-ease-spring), box-shadow 0.35s ease;
}

/* --------------------------------------------------------------------------
   8. AJTÓ ELŐLAP – AJÁNDÉKDOBOZ SZALAGGAL & SORSZÁMPONTOS ARANY MEDÁLLAL
   -------------------------------------------------------------------------- */
body.advent-calendar #section-advent_calendar :is(#advent-calendar-advent-2026, .module-advent-calendar) .advent-door__front {
  overflow: hidden;
  background-color: var(--front-bg, #438300);
  background-image:
    linear-gradient(
      90deg,
      transparent calc(50% - 11px),
      rgba(245, 197, 90, 0.18) calc(50% - 11px),
      rgba(255, 240, 189, 0.32) 50%,
      rgba(245, 197, 90, 0.18) calc(50% + 11px),
      transparent calc(50% + 11px)
    ),
    linear-gradient(
      180deg,
      transparent calc(50% - 11px),
      rgba(245, 197, 90, 0.18) calc(50% - 11px),
      rgba(255, 240, 189, 0.32) 50%,
      rgba(245, 197, 90, 0.18) calc(50% + 11px),
      transparent calc(50% + 11px)
    ),
    radial-gradient(
      circle at 30% 22%,
      color-mix(in srgb, var(--front-bg, #438300) 76%, #ffffff) 0%,
      var(--front-bg, #438300) 56%,
      color-mix(in srgb, var(--front-bg, #438300) 72%, #000000) 100%
    );
  border: 1.5px solid rgba(245, 197, 90, 0.48);
  box-shadow:
    inset 0 0 0 6px rgba(255, 255, 255, 0.06),
    inset 0 0 0 7px rgba(245, 197, 90, 0.28),
    inset 0 18px 32px rgba(255, 255, 255, 0.12);
}

/* Nap száma arany szegélyű díszmedálban – flex elrendezés a pont miatt */
body.advent-calendar #section-advent_calendar :is(#advent-calendar-advent-2026, .module-advent-calendar) .advent-door__number {
  font-family: "Berkshire Swash", serif;
  font-size: 2.5rem;
  font-weight: 400;
  line-height: 1;
  width: 96px;
  height: 96px;
  padding-left: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--front-fg, #ffffff);
  background: radial-gradient(
    circle at 32% 28%,
    rgba(255, 244, 212, 0.28),
    rgba(0, 0, 0, 0.16)
  );
  border: 2px solid rgba(245, 197, 90, 0.72);
  box-shadow:
    0 8px 20px rgba(0, 0, 0, 0.22),
    inset 0 1px 4px rgba(255, 255, 255, 0.45);
  text-shadow: 0 3px 10px rgba(0, 0, 0, 0.32);
  transition: transform 0.35s var(--advent-ease-spring), box-shadow 0.35s ease;
}

/* Sorszámpont a napszám végén (előlap + hátlap jobb felső sarok) */
body.advent-calendar #section-advent_calendar :is(#advent-calendar-advent-2026, .module-advent-calendar) .advent-door__number::after,
body.advent-calendar #section-advent_calendar :is(#advent-calendar-advent-2026, .module-advent-calendar) .advent-door__daynumber::after {
  content: ".";
}

/* --------------------------------------------------------------------------
   9. MAI AKTÍV ABLAK (ZÁRT) – 3 MP-ENKÉNTI RÁZKÓDÁS + KÖRBEFUTÓ ARANY ÉLFÉNY
   -------------------------------------------------------------------------- */
/* Régi szomszéd-szelektoros zöld keret-animáció teljes kikapcsolása */
body.advent-calendar #section-advent_calendar :is(#advent-calendar-advent-2026, .module-advent-calendar) .advent-door.is-open + .advent-door:not(.is-open):not(.is-locked) {
  padding: 0;
  overflow: visible;
}

body.advent-calendar #section-advent_calendar :is(#advent-calendar-advent-2026, .module-advent-calendar) .advent-door.is-open + .advent-door:not(.is-open):not(.is-locked) .advent-door__front {
  border-radius: 16px;
}

body.advent-calendar #section-advent_calendar .advent-door.is-open + .advent-door:not(.is-open):not(.is-locked)::before,
body.advent-calendar #section-advent_calendar .advent-door.is-open + .advent-door:not(.is-open):not(.is-locked)::after {
  content: none !important;
  display: none !important;
}

/* Aktív kártya: 3 mp-enként finoman megrázkódik, amíg fel nem fedik */
body.advent-calendar #section-advent_calendar :is(#advent-calendar-advent-2026, .module-advent-calendar) .advent-door.is-active-day:not(.is-open) {
  position: relative;
  z-index: 3;
  animation:
    adventDoorReveal 0.6s var(--advent-ease-spring) backwards,
    adventPeriodicShake 3s ease-in-out 1s infinite;
}

/* Hoverkor megáll a rázkódás és elegánsan kiemelkedik a kártya */
body.advent-calendar #section-advent_calendar :is(#advent-calendar-advent-2026, .module-advent-calendar) .advent-door.is-active-day:not(.is-open):hover {
  animation-play-state: paused;
}

body.advent-calendar #section-advent_calendar :is(#advent-calendar-advent-2026, .module-advent-calendar) .advent-door.is-active-day:not(.is-open) .advent-door__btn {
  box-shadow:
    0 0 0 1px rgba(245, 197, 90, 0.55),
    0 18px 38px rgba(15, 32, 20, 0.28);
}

/* KÜLSŐ, LÁGYAN KÖRBEFUTÓ ARANY GLÓRIA A KÁRTYA ÉLE KÖRÜL (ZÁRT + NYITOTT MAI KÁRTYÁN IS) */
body.advent-calendar #section-advent_calendar :is(#advent-calendar-advent-2026, .module-advent-calendar) .advent-door.is-active-day .advent-door__btn::before {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 20px;
  pointer-events: none;
  transform: translateZ(-2px);
  background: conic-gradient(
    from var(--advent-border-angle),
    rgba(245, 197, 90, 0.12) 0deg,
    rgba(245, 197, 90, 0.12) 235deg,
    rgba(245, 197, 90, 0.72) 295deg,
    rgba(255, 248, 214, 1) 342deg,
    rgba(245, 197, 90, 0.22) 360deg
  );
  filter: blur(8px);
  animation: adventBorderOrbit 2s linear infinite;
}

/* ÉLES, FOLYAMATOSAN KÖRBEFUTÓ ARANY FÉNYCSÍK KÖZVETLENÜL A KÁRTYA ÉLÉN (ELŐ- ÉS HÁTLAPON IS) */
body.advent-calendar #section-advent_calendar :is(#advent-calendar-advent-2026, .module-advent-calendar) .advent-door.is-active-day .advent-door__front,
body.advent-calendar #section-advent_calendar :is(#advent-calendar-advent-2026, .module-advent-calendar) .advent-door.is-active-day .advent-door__back {
  border-color: transparent;
}

body.advent-calendar #section-advent_calendar :is(#advent-calendar-advent-2026, .module-advent-calendar) .advent-door.is-active-day .advent-door__front::before,
body.advent-calendar #section-advent_calendar :is(#advent-calendar-advent-2026, .module-advent-calendar) .advent-door.is-active-day .advent-door__back::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 16px;
  padding: 3.5px;
  pointer-events: none;
  z-index: 4;
  background: conic-gradient(
    from var(--advent-border-angle),
    rgba(245, 197, 90, 0.34) 0deg,
    rgba(245, 197, 90, 0.34) 245deg,
    #f5c55a 295deg,
    #fff4c2 334deg,
    #ffffff 348deg,
    #f5c55a 357deg,
    rgba(245, 197, 90, 0.34) 360deg
  );
  -webkit-mask:
    linear-gradient(#ffffff 0 0) content-box,
    linear-gradient(#ffffff 0 0);
  -webkit-mask-composite: xor;
  mask:
    linear-gradient(#ffffff 0 0) content-box,
    linear-gradient(#ffffff 0 0);
  mask-composite: exclude;
  animation: adventBorderOrbit 2s linear infinite;
}

/* Lebegő "MAI MEGLEPETÉS" CTA felirat az aktív kártya alján */
body.advent-calendar #section-advent_calendar :is(#advent-calendar-advent-2026, .module-advent-calendar) .advent-door.is-active-day:not(.is-open) .advent-door__front::after {
  content: "✦ MAI MEGLEPETÉS • NYISD KI! ✦";
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: max-content;
  max-width: calc(100% - 22px);
  padding: 6px 13px;
  border-radius: 999px;
  font-family: "Poppins", sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #3a2300;
  background: linear-gradient(135deg, var(--advent-gold-light), var(--advent-gold));
  box-shadow:
    0 6px 16px rgba(0, 0, 0, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.85);
  white-space: nowrap;
  pointer-events: none;
  z-index: 5;
}

body.advent-calendar #section-advent_calendar :is(#advent-calendar-advent-2026, .module-advent-calendar) .advent-door.is-active-day:not(.is-open):hover .advent-door__btn {
  transform: translateY(-7px) scale(1.025);
  box-shadow:
    0 0 0 1px var(--advent-gold-light),
    0 24px 44px rgba(15, 32, 20, 0.34);
}

body.advent-calendar #section-advent_calendar :is(#advent-calendar-advent-2026, .module-advent-calendar) .advent-door.is-active-day:not(.is-open):hover .advent-door__number {
  transform: translateZ(36px) scale(1.09);
  box-shadow:
    0 12px 26px rgba(0, 0, 0, 0.3),
    0 0 22px rgba(245, 197, 90, 0.65);
}

/* --------------------------------------------------------------------------
   10. JÖVŐBELI / ZÁRT ABLAKOK (DÉRCSÍPETT TÉLI STÍLUS)
   -------------------------------------------------------------------------- */
body.advent-calendar #section-advent_calendar :is(#advent-calendar-advent-2026, .module-advent-calendar) .advent-door.is-locked .advent-door__btn {
  filter: none;
  opacity: 0.92;
  box-shadow: 0 8px 18px rgba(15, 32, 20, 0.12);
}

body.advent-calendar #section-advent_calendar :is(#advent-calendar-advent-2026, .module-advent-calendar) .advent-door.is-locked .advent-door__front {
  background-color: color-mix(in srgb, var(--front-bg, #438300) 74%, #2b3c36);
  background-image:
    radial-gradient(
      circle at 80% 15%,
      rgba(255, 255, 255, 0.22) 0%,
      transparent 48%
    ),
    linear-gradient(
      145deg,
      color-mix(in srgb, var(--front-bg, #438300) 76%, #dceef8) 0%,
      color-mix(in srgb, var(--front-bg, #438300) 78%, #1d2d27) 100%
    );
  border: 1.5px solid rgba(255, 255, 255, 0.32);
  box-shadow:
    inset 0 0 0 6px rgba(255, 255, 255, 0.05),
    inset 0 0 24px rgba(220, 240, 255, 0.12);
}

body.advent-calendar #section-advent_calendar :is(#advent-calendar-advent-2026, .module-advent-calendar) .advent-door.is-locked .advent-door__number {
  opacity: 0.88;
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.1);
}

/* Finom lakat jelvény a zárt ablakok jobb felső sarkában */
body.advent-calendar #section-advent_calendar :is(#advent-calendar-advent-2026, .module-advent-calendar) .advent-door.is-locked .advent-door__front::before {
  content: "";
  position: absolute;
  top: 13px;
  right: 13px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.16);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='11' width='14' height='10' rx='2'/%3E%3Cpath d='M8 11V7a4 4 0 0 1 8 0v4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 14px 14px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  opacity: 0.85;
}

/* --------------------------------------------------------------------------
   11. KIEMELT ÜNNEPI NAPOK: MIKULÁS (6.) & SZENTESTE (24.)
   -------------------------------------------------------------------------- */
body.advent-calendar #section-advent_calendar :is(#advent-calendar-advent-2026, .module-advent-calendar) .advent-door[data-day="6"]:not(.is-active-day) .advent-door__front,
body.advent-calendar #section-advent_calendar :is(#advent-calendar-advent-2026, .module-advent-calendar) .advent-door[data-day="24"]:not(.is-active-day) .advent-door__front {
  border: 2px solid var(--advent-gold);
}

body.advent-calendar #section-advent_calendar :is(#advent-calendar-advent-2026, .module-advent-calendar) .advent-door[data-day="24"]:not(.is-open) .advent-door__front {
  background-image:
    linear-gradient(
      90deg,
      transparent calc(50% - 13px),
      rgba(245, 197, 90, 0.32) calc(50% - 13px),
      rgba(255, 244, 206, 0.52) 50%,
      rgba(245, 197, 90, 0.32) calc(50% + 13px),
      transparent calc(50% + 13px)
    ),
    linear-gradient(
      180deg,
      transparent calc(50% - 13px),
      rgba(245, 197, 90, 0.32) calc(50% - 13px),
      rgba(255, 244, 206, 0.52) 50%,
      rgba(245, 197, 90, 0.32) calc(50% + 13px),
      transparent calc(50% + 13px)
    ),
    radial-gradient(
      circle at 50% 35%,
      color-mix(in srgb, var(--back-bg, #d95137) 85%, var(--advent-gold)) 0%,
      var(--back-bg, #d95137) 55%,
      color-mix(in srgb, var(--back-bg, #d95137) 68%, #2a0400) 100%
    );
  box-shadow:
    inset 0 0 0 6px rgba(245, 197, 90, 0.16),
    inset 0 0 0 8px rgba(255, 240, 189, 0.45),
    0 14px 32px rgba(196, 138, 30, 0.28);
}

body.advent-calendar #section-advent_calendar :is(#advent-calendar-advent-2026, .module-advent-calendar) .advent-door[data-day="24"] .advent-door__number {
  border-width: 2.5px;
  border-color: var(--advent-gold-light);
  box-shadow:
    0 0 24px rgba(245, 197, 90, 0.55),
    0 8px 20px rgba(0, 0, 0, 0.25);
}

body.advent-calendar #section-advent_calendar :is(#advent-calendar-advent-2026, .module-advent-calendar) .advent-door[data-day="6"]:not(.is-active-day) .advent-door__front::after {
  content: "★ MIKULÁS ★";
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  font-family: "Poppins", sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--advent-gold-light);
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
}

body.advent-calendar #section-advent_calendar :is(#advent-calendar-advent-2026, .module-advent-calendar) .advent-door[data-day="24"]:not(.is-active-day) .advent-door__front::after {
  content: "✦ SZENTESTE ✦";
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  font-family: "Poppins", sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--advent-gold-light);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

/* --------------------------------------------------------------------------
   12. AJTÓ HÁTLAP – ÜNNEPI KIBONTÁS, KUPONJEGY & AKCIÓGOMBOK
   -------------------------------------------------------------------------- */
body.advent-calendar #section-advent_calendar :is(#advent-calendar-advent-2026, .module-advent-calendar) .advent-door__back {
  background-color: var(--back-bg, #d95137);
  background-image:
    radial-gradient(
      circle at 50% 0%,
      rgba(255, 240, 189, 0.22) 0%,
      transparent 55%
    ),
    linear-gradient(
      165deg,
      color-mix(in srgb, var(--back-bg, #d95137) 92%, #ffffff) 0%,
      var(--back-bg, #d95137) 48%,
      color-mix(in srgb, var(--back-bg, #d95137) 78%, #1e0500) 100%
    );
  color: var(--back-fg, #ffffff);
  padding: 1.35rem 1.15rem 1.25rem;
  gap: 0.8rem;
  border: 2px solid rgba(245, 197, 90, 0.68);
  box-shadow:
    inset 0 0 0 5px rgba(255, 255, 255, 0.08),
    inset 0 12px 28px rgba(255, 240, 189, 0.12);
}

/* Mai, már kinyitott ablak ragyogó kiemelése */
body.advent-calendar #section-advent_calendar :is(#advent-calendar-advent-2026, .module-advent-calendar) .advent-door.is-active-day.is-open .advent-door__btn {
  box-shadow:
    0 0 0 1px color-mix(in srgb, var(--advent-gold) 55%, transparent),
    0 18px 42px rgba(196, 138, 30, 0.34),
    0 8px 20px rgba(0, 0, 0, 0.16);
}

/* Napszám pecsét a hátlap jobb felső sarkában – flex elrendezés a pont miatt */
body.advent-calendar #section-advent_calendar :is(#advent-calendar-advent-2026, .module-advent-calendar) .advent-door__daynumber {
  font-family: "Berkshire Swash", serif;
  top: 10px;
  right: 10px;
  width: 36px;
  height: 36px;
  padding-left: 2px;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #4a2d00;
  background: linear-gradient(135deg, var(--advent-gold-light), var(--advent-gold));
  border: 1.5px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.22);
  z-index: 3;
}

/* Képkeret (polaroid / prémium kártya hatás) */
body.advent-calendar #section-advent_calendar :is(#advent-calendar-advent-2026, .module-advent-calendar) .advent-door__image-wrap {
  border-radius: 12px;
  background: #ffffff;
  padding: 6px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.85);
}

body.advent-calendar #section-advent_calendar :is(#advent-calendar-advent-2026, .module-advent-calendar) .advent-door__image-wrap img {
  border-radius: 8px;
  width: 100%;
  object-fit: cover;
  transition: transform 0.45s var(--advent-ease-spring);
}

body.advent-calendar #section-advent_calendar :is(#advent-calendar-advent-2026, .module-advent-calendar) .advent-door.is-active-day.is-open:hover .advent-door__image-wrap img {
  transform: scale(1.045);
}

/* Ünnepi ajándék-placeholder a sima csíkos helyett */
body.advent-calendar #section-advent_calendar :is(#advent-calendar-advent-2026, .module-advent-calendar) .advent-door__image-placeholder {
  border-radius: 8px;
  background-color: #fdf6e6;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64' viewBox='0 0 24 24' fill='none' stroke='%23c48a1e' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='8' width='18' height='4' rx='1'/%3E%3Cpath d='M12 8v13'/%3E%3Cpath d='M19 12v7a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2v-7'/%3E%3Cpath d='M7.5 8a2.5 2.5 0 0 1 0-5C10 3 12 8 12 8'/%3E%3Cpath d='M16.5 8a2.5 2.5 0 0 0 0-5C14 3 12 8 12 8'/%3E%3C/svg%3E"),
    radial-gradient(circle at center, rgba(245, 197, 90, 0.22) 0%, rgba(253, 246, 230, 0.9) 70%);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 54px 54px, 100% 100%;
}

/* Kedvezmény jelvény (.discount) */
body.advent-calendar #section-advent_calendar .discount {
  font-family: "Poppins", sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  top: 12px;
  left: 12px;
  padding: 4px 11px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--front-bg, #438300), color-mix(in srgb, var(--front-bg, #438300) 75%, #000000));
  border: 1.5px solid var(--advent-gold);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.24);
  z-index: 3;
}

/* Kuponkód – ünnepi kuponjegy megjelenés */
body.advent-calendar #section-advent_calendar :is(#advent-calendar-advent-2026, .module-advent-calendar) .advent-door__code {
  width: 100%;
  justify-content: space-between;
  gap: 8px;
  background: var(--advent-cream);
  color: var(--advent-ink);
  border: 2px dashed var(--advent-gold-deep);
  border-radius: 11px;
  padding: 0.42rem 0.65rem;
  box-shadow:
    0 5px 14px rgba(0, 0, 0, 0.14),
    inset 0 0 0 2px rgba(245, 197, 90, 0.15);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

body.advent-calendar #section-advent_calendar :is(#advent-calendar-advent-2026, .module-advent-calendar) .advent-door__code code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--advent-ink);
  word-break: break-all;
}

/* Ha egy naphoz nincs kuponkód (pl. automatikus ajándék), ne jelenjen meg üres doboz */
body.advent-calendar #section-advent_calendar .advent-door[data-code=""] .advent-door__code:has(code:empty) {
  display: none;
}

/* Kupon másoló gomb */
body.advent-calendar #section-advent_calendar .coupon-copy-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  padding: 0;
  border-radius: 8px;
  background: rgba(245, 197, 90, 0.22);
  border: 1px solid rgba(196, 138, 30, 0.35);
  color: var(--advent-ink);
  transition: background-color 0.2s ease, transform 0.2s ease;
}

body.advent-calendar #section-advent_calendar .coupon-copy-btn:hover {
  background: var(--advent-gold);
  transform: scale(1.08);
}

body.advent-calendar #section-advent_calendar .coupon-copy-btn:active {
  transform: scale(0.95);
}

/* Ajánlat neve & leírása */
body.advent-calendar #section-advent_calendar :is(#advent-calendar-advent-2026, .module-advent-calendar) .advent-door__name {
  font-size: 0.94rem;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.01em;
  color: var(--back-fg, #ffffff);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

body.advent-calendar #section-advent_calendar :is(#advent-calendar-advent-2026, .module-advent-calendar) .advent-door__desc {
  font-size: 0.82rem;
  line-height: 1.45;
  opacity: 0.94;
}

/* Akciógombok & Információk tooltip gomb */
body.advent-calendar #section-advent_calendar .advent-door__actions {
  gap: 8px;
  margin-top: 2px;
}

body.advent-calendar #section-advent_calendar .advent-door__actions .btn,
body.advent-calendar #section-advent_calendar .advent-door__name .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 7px 15px;
  border-radius: 999px;
  text-decoration: none;
  color: var(--advent-ink);
  background: var(--advent-cream);
  border: 1.5px solid var(--advent-gold);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.16);
  transition: transform 0.22s ease, background-color 0.22s ease, box-shadow 0.22s ease;
}

body.advent-calendar #section-advent_calendar .advent-door__actions .btn:hover,
body.advent-calendar #section-advent_calendar .advent-door__name .btn:hover {
  background: var(--advent-gold-light);
  color: #3a2300;
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.22);
}

body.advent-calendar #section-advent_calendar .advent-door__actions .btn-link {
  color: var(--back-fg, #ffffff);
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(4px);
}

body.advent-calendar #section-advent_calendar .advent-door__actions .btn-link:hover {
  background: rgba(255, 255, 255, 0.92);
  color: var(--advent-ink);
}

/* --------------------------------------------------------------------------
   13. KORÁBBI, MÁR LEJÁRT NAPOK (OPACITY: 0.2)
   -------------------------------------------------------------------------- */
body.advent-calendar #section-advent_calendar :is(#advent-calendar-advent-2026, .module-advent-calendar) .advent-door.is-open:not(.is-active-day) {
  filter: grayscale(0.85);
  opacity: 0.2;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

/* Finom "Lejárt" pecsét a korábbi napok bal felső sarkában */
body.advent-calendar #section-advent_calendar :is(#advent-calendar-advent-2026, .module-advent-calendar) .advent-door.is-open:not(.is-active-day) .advent-door__back::before {
  content: "Lejárt";
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 2px 9px;
  border-radius: 999px;
  font-family: "Poppins", sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #ffffff;
  background: rgba(20, 20, 20, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.35);
  z-index: 4;
}

/* --------------------------------------------------------------------------
   14. ANIMÁCIÓK (KEYFRAMES)
   -------------------------------------------------------------------------- */
@keyframes adventSnowFallSlow {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 100px 720px;
  }
}

@keyframes adventSnowFallFast {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: -80px 520px;
  }
}

@keyframes adventGoldShimmer {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 200% 50%;
  }
}

@keyframes adventDoorReveal {
  0% {
    opacity: 0;
    transform: translateY(18px) scale(0.97);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* 3 másodpercenkénti figyelemfelkeltő rázkódás (kb. 2.4 mp nyugalmi fázis + 0.6 mp rázkódás) */
@keyframes adventPeriodicShake {
  0%, 78%, 100% {
    transform: translate3d(0, 0, 0) rotate(0deg);
  }
  81% {
    transform: translate3d(-4px, -2px, 0) rotate(-2.4deg);
  }
  85% {
    transform: translate3d(4px, -2px, 0) rotate(2.4deg);
  }
  89% {
    transform: translate3d(-3px, -1px, 0) rotate(-1.7deg);
  }
  93% {
    transform: translate3d(3px, -1px, 0) rotate(1.7deg);
  }
  96% {
    transform: translate3d(-1.5px, 0, 0) rotate(-0.8deg);
  }
}

/* Folyamatosan körbefutó arany élfény */
@keyframes adventBorderOrbit {
  0% {
    --advent-border-angle: 0deg;
  }
  100% {
    --advent-border-angle: 360deg;
  }
}

/* --------------------------------------------------------------------------
   15. RESZPONZÍV FINOMHANGOLÁS (TABLET & MOBIL)
   -------------------------------------------------------------------------- */
@media (max-width: 992px) {
  body.advent-calendar .main-container {
    padding: 36px 22px 34px;
    border-radius: 20px;
  }

  body.advent-calendar #section-advent_calendar :is(#advent-calendar-advent-2026, .module-advent-calendar) .module-advent-calendar__grid {
    gap: 18px;
  }
}

@media (max-width: 576px) {
  /* Mobilon sűrűbb, jól látható előtér-hóesés a kártyák felett */
  body.advent-calendar::before {
    background-size: 250px 250px;
    opacity: 0.92;
  }

  body.advent-calendar::after {
    background-size: 180px 180px;
    opacity: 0.85;
  }

  body.advent-calendar main.main-content {
    padding-top: 12px;
    padding-bottom: 32px;
  }

  body.advent-calendar .main-container {
    padding: 26px 12px 28px;
    border-radius: 16px;
  }

  body.advent-calendar .information__fulltext .back-home {
    margin: 2px 0 18px;
  }

  body.advent-calendar #section-advent_calendar .module-advent-calendar__description {
    font-size: 0.9rem;
    padding: 12px 14px;
    margin-bottom: 24px;
  }

  body.advent-calendar #section-advent_calendar :is(#advent-calendar-advent-2026, .module-advent-calendar) .advent-door {
    min-height: 270px;
  }

  body.advent-calendar #section-advent_calendar :is(#advent-calendar-advent-2026, .module-advent-calendar) .module-advent-calendar__grid {
    gap: 12px;
  }

  body.advent-calendar #section-advent_calendar :is(#advent-calendar-advent-2026, .module-advent-calendar) .advent-door__number {
    width: 72px;
    height: 72px;
    font-size: 1.9rem;
    padding-left: 3px;
  }

  body.advent-calendar #section-advent_calendar :is(#advent-calendar-advent-2026, .module-advent-calendar) .advent-door.is-active-day:not(.is-open) .advent-door__front::after {
    content: "✦ NYISD KI! ✦";
    bottom: 12px;
    font-size: 0.62rem;
    padding: 5px 10px;
  }

  body.advent-calendar #section-advent_calendar :is(#advent-calendar-advent-2026, .module-advent-calendar) .advent-door__back {
    padding: 14px 10px 12px;
    gap: 0.55rem;
  }

  body.advent-calendar #section-advent_calendar :is(#advent-calendar-advent-2026, .module-advent-calendar) .advent-door__daynumber {
    width: 30px;
    height: 30px;
    font-size: 0.84rem;
    top: 7px;
    right: 7px;
  }

  body.advent-calendar #section-advent_calendar :is(#advent-calendar-advent-2026, .module-advent-calendar) .advent-door__code {
    padding: 0.3rem 0.45rem;
  }

  body.advent-calendar #section-advent_calendar :is(#advent-calendar-advent-2026, .module-advent-calendar) .advent-door__code code {
    font-size: 0.74rem;
  }

  body.advent-calendar #section-advent_calendar :is(#advent-calendar-advent-2026, .module-advent-calendar) .advent-door__name {
    font-size: 0.8rem;
  }
}

/* --------------------------------------------------------------------------
   16. AKADÁLYMENTESSÉG (REDUCED MOTION)
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  body.advent-calendar::before,
  body.advent-calendar::after,
  body.advent-calendar .main-container::before,
  body.advent-calendar #section-advent_calendar :is(#advent-calendar-advent-2026, .module-advent-calendar) .advent-door,
  body.advent-calendar #section-advent_calendar :is(#advent-calendar-advent-2026, .module-advent-calendar) .advent-door.is-active-day,
  body.advent-calendar #section-advent_calendar :is(#advent-calendar-advent-2026, .module-advent-calendar) .advent-door.is-active-day .advent-door__btn::before,
  body.advent-calendar #section-advent_calendar :is(#advent-calendar-advent-2026, .module-advent-calendar) .advent-door.is-active-day .advent-door__front::before,
  body.advent-calendar #section-advent_calendar :is(#advent-calendar-advent-2026, .module-advent-calendar) .advent-door.is-active-day .advent-door__back::before {
    animation: none !important;
  }

  body.advent-calendar #section-advent_calendar :is(#advent-calendar-advent-2026, .module-advent-calendar) .advent-door__btn,
  body.advent-calendar #section-advent_calendar :is(#advent-calendar-advent-2026, .module-advent-calendar) .advent-door__front,
  body.advent-calendar #section-advent_calendar :is(#advent-calendar-advent-2026, .module-advent-calendar) .advent-door__back,
  body.advent-calendar #section-advent_calendar :is(#advent-calendar-advent-2026, .module-advent-calendar) .advent-door__number,
  body.advent-calendar #section-advent_calendar :is(#advent-calendar-advent-2026, .module-advent-calendar) .advent-door__image-wrap img {
    transition: none !important;
  }
}

/* --------------------------------------------------------------------------
   SCROLLHOZ KÖTÖTT HÓESÉS OFFSET (PARALLAXIS + FOLYAMATOS HULLÁS)
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: scroll()) {
    body.advent-calendar::before,
    body.advent-calendar::after {
      /* Túllógatás, hogy görgetés közben se látszódjon a réteg széle */
      inset: -600px 0;
      will-change: background-position, transform;
    }

    body.advent-calendar::before {
      animation-name: adventSnowFallSlow, adventSnowScrollSlow;
      animation-duration: 20s, auto;
      animation-timing-function: linear, linear;
      animation-iteration-count: infinite, 1;
      animation-fill-mode: none, both;
      animation-timeline: auto, scroll(root);
    }

    body.advent-calendar::after {
      animation-name: adventSnowFallFast, adventSnowScrollFast;
      animation-duration: 13s, auto;
      animation-timing-function: linear, linear;
      animation-iteration-count: infinite, 1;
      animation-fill-mode: none, both;
      animation-timeline: auto, scroll(root);
    }

    @keyframes adventSnowScrollSlow {
      from {
        transform: translate3d(0, 0, 0);
      }
      to {
        transform: translate3d(0, -320px, 0);
      }
    }

    @keyframes adventSnowScrollFast {
      from {
        transform: translate3d(0, 0, 0);
      }
      to {
        transform: translate3d(0, -560px, 0);
      }
    }
  }
}

/* ÁTMENETES HÁTTÉR */

body.advent-calendar {
  --advent-glass-bg: linear-gradient(
    to bottom,
  rgba(255, 253, 248, 0.99) 0%,
  rgba(255, 253, 248, 0.50) 25%,
  rgba(255, 253, 248, 0.01) 100%
  );
}