:root {
  --tc-green: #79b4ff;
  --tc-accent: #4770db;
  --tc-accent-dark: #2a4eae;
  --tc-deep: #0e1b4d;
  --tc-ink: #0e1b4d;
  --tc-text: #2c3d66;
  --tc-muted: #5c6d8a;
  --tc-line: #d7e2f2;
  --tc-soft: #f4f7fb;
  --tc-tint: #eaf6ff;
  --tc-border: #c5d7ef;
  --tc-yellow: #ffd23f;
  --tc-yellow-dark: #e2a51a;
  --tc-sale: #c8102e;
  --xmas-pine: #0e6b3c;
  --xmas-pine-deep: #083d28;
  --xmas-gold: #ffd23f;
  --font-display: "Archivo", "Segoe UI", sans-serif;
  --font-body: "Questrial", "Segoe UI", sans-serif;
  --chrome: 7.2rem;
  --rays:
    radial-gradient(circle at 12% 18%, rgba(255, 210, 63, 0.95) 0 1.6px, transparent 2.4px),
    radial-gradient(circle at 78% 12%, #fff 0 1.2px, transparent 2px),
    radial-gradient(circle at 90% 38%, rgba(255, 210, 63, 0.85) 0 1.5px, transparent 2.3px),
    radial-gradient(circle at 24% 72%, #fff 0 1px, transparent 1.8px),
    radial-gradient(circle at 68% 80%, rgba(255, 210, 63, 0.8) 0 1.4px, transparent 2.2px),
    radial-gradient(circle at 46% 8%, #fff 0 1px, transparent 1.7px);
  --green-glow:
    radial-gradient(circle at 12% 0%, rgba(28, 138, 78, 0.95) 0%, transparent 34%),
    radial-gradient(circle at 100% 100%, rgba(200, 16, 46, 0.45) 0%, transparent 32%),
    radial-gradient(circle at 50% 18%, #8ec0ff 0%, #24508f 46%, #0e1b4d 78%);
  --snow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='86' height='86' viewBox='0 0 86 86'%3E%3Cg fill='none' stroke='%23ffffff' stroke-width='1.3' stroke-linecap='round' opacity='.55'%3E%3Cpath d='M43 14v58M20 26l46 34M20 60l46-34'/%3E%3Cpath d='M43 22l-3.2-5.2M43 22l3.2-5.2M43 64l-3.2 5.2M43 64l3.2 5.2M26 32l-5-2M26 32l1.2-5.4M60 54l5 2M60 54l-1.2 5.4'/%3E%3C/g%3E%3C/svg%3E");
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  height: 100%;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  min-height: 100dvh;
  color: var(--tc-ink);
  font-family: var(--font-body);
  background-color: #0c4a30;
  background-image:
    radial-gradient(circle at 12% 18%, rgba(255, 255, 255, 0.16) 0 1px, transparent 1.6px),
    radial-gradient(circle at 78% 30%, rgba(255, 255, 255, 0.14) 0 1px, transparent 1.6px),
    radial-gradient(circle at 24% 74%, rgba(255, 210, 63, 0.2) 0 1.2px, transparent 1.8px),
    radial-gradient(ellipse at 50% 42%, rgba(255, 255, 255, 0.16), transparent 58%),
    linear-gradient(180deg, #146b45 0%, #083d28 100%);
  background-size: 140px 140px, 180px 180px, 220px 220px, auto, auto;
}

button, a { font-family: inherit; }

.topbar {
  display: flex;
  align-items: center;
  gap: 1rem;
  height: 4.4rem;
  padding: 0 1rem;
  background: #fff;
  border-bottom: 0;
  box-shadow: 0 4px 0 #c8102e, 0 8px 0 #ffd23f;
}

.topbar__brand {
  display: flex;
  align-items: center;
  flex: none;
}

.topbar__brand img {
  display: block;
  height: 3.6rem;
  width: auto;
  max-width: 4.2rem;
  object-fit: contain;
}

.topbar__title {
  flex: 1;
  margin: 0;
  text-align: center;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--xmas-pine-deep);
}

.topbar__shop {
  flex: none;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  background: var(--xmas-pine);
  color: #fff;
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
}

.topbar__shop:hover { background: var(--xmas-pine-deep); }

.topbar__pdf {
  display: inline-flex;
  align-items: center;
  flex: none;
  gap: 0.35rem;
  padding: 0.45rem 0.85rem;
  border: 2px solid var(--xmas-pine);
  border-radius: 999px;
  background: #fff;
  color: var(--xmas-pine-deep);
  font-size: 0.92rem;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
}

.topbar__pdf svg {
  flex: none;
  width: 1.05rem;
  height: 1.05rem;
}

.topbar__pdf:hover:not(:disabled) { background: var(--tc-tint); }

.topbar__pdf:focus-visible {
  outline: 2px solid var(--xmas-gold);
  outline-offset: 2px;
}

.topbar__pdf:disabled {
  opacity: 0.45;
  cursor: default;
}

#pdf-stage {
  position: fixed;
  top: 0;
  left: 0;
  width: 480px;
  height: 680px;
  overflow: hidden;
  z-index: 40;
  background: #fff;
  pointer-events: none;
}

#pdf-stage[hidden] { display: none !important; }

#pdf-stage .page {
  display: block !important;
  position: relative !important;
  left: auto !important;
  top: auto !important;
  width: 480px !important;
  height: 680px !important;
  transform: none !important;
  clip-path: none !important;
  -webkit-clip-path: none !important;
}

.pdf-wait {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 1rem;
  padding: 1.5rem;
  background: rgba(8, 61, 40, 0.94);
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-align: center;
  text-transform: uppercase;
}

.pdf-wait[hidden] { display: none !important; }

.pdf-wait p { margin: 0; }

.pdf-wait__spin {
  width: 2.4rem;
  height: 2.4rem;
  border: 3px solid rgba(255, 255, 255, 0.35);
  border-top-color: var(--tc-yellow);
  border-radius: 50%;
  animation: pdf-spin 0.8s linear infinite;
}

@keyframes pdf-spin { to { transform: rotate(360deg); } }

.app {
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.4rem;
  padding: 0.6rem 0.7rem 0;
}

.stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
}

.sizer {
  width: min(1040px, 100%);
  transition: transform 1s cubic-bezier(0.22, 1, 0.36, 1);
}

.sizer.is-closed { transform: translate3d(-25%, 0, 0); }

#book {
  width: 100%;
  border-radius: 3px;
}

.status {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  margin: 0;
  padding: 1rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.88);
  font-weight: 700;
}

.status[hidden] { display: none; }

.nav {
  width: 2.8rem;
  height: 2.8rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: var(--tc-accent-dark);
  font-size: 2rem;
  line-height: 1;
  box-shadow: 0 8px 18px rgba(18, 20, 23, 0.14);
  cursor: pointer;
}

.nav:hover:not(:disabled) { background: var(--tc-tint); }

.nav:disabled {
  opacity: 0.35;
  cursor: default;
  box-shadow: none;
}

.nav span {
  display: block;
  margin-top: -0.18rem;
}

.pager {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.8rem;
  height: 2.6rem;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.92rem;
}

.pager p { margin: 0; }

#pager-label {
  font-weight: 800;
  color: #fff;
}

.pager__hint { color: rgba(255, 255, 255, 0.72); }

.wa-cta {
  position: fixed;
  right: 1.2rem;
  bottom: 0.35rem;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1.1rem 0.45rem 0.8rem;
  border-radius: 999px;
  background: #25d366;
  color: #073016;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(14, 27, 77, 0.28);
  transition: transform 0.15s ease, background 0.15s ease;
}

.wa-cta[hidden] { display: none; }

.wa-cta:hover {
  background: #1ebe5b;
  transform: translateY(-2px);
}

.wa-cta svg {
  flex: none;
  width: 1.4rem;
  height: 1.4rem;
}

/* The flip library positions .page. Children fill that box. */
.page {
  background: #fff;
  color: var(--tc-ink);
  overflow: hidden;
}

.stf__item {
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.sizer.is-turning .stf__item {
  will-change: transform, clip-path;
}

.sheet {
  container-type: size;
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  min-height: 0;
  overflow: hidden;
  background: #fff;
}

/* Clicks must land on the <a>, not on a child, or the page-turn steals them. */
.page a * { pointer-events: none; }

/* ---------- Inner pages ---------- */

.sheet--products {
  background-color: #f4faf6;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='86' height='86' viewBox='0 0 86 86'%3E%3Cg fill='none' stroke='%23146b45' stroke-width='1.3' stroke-linecap='round' opacity='.28'%3E%3Cpath d='M43 14v58M20 26l46 34M20 60l46-34'/%3E%3Cpath d='M43 22l-3.2-5.2M43 22l3.2-5.2M43 64l-3.2 5.2M43 64l3.2 5.2'/%3E%3C/g%3E%3C/svg%3E"),
    radial-gradient(circle, rgba(14, 107, 60, 0.16) 1px, transparent 1.5px),
    linear-gradient(180deg, #fffdf8 0%, #e7f3ea 100%);
  background-size: 9cqw 9cqw, 2.6cqw 2.6cqw, 100% 100%;
}

.sheet--dark {
  background-color: #123a6e;
  background-image: var(--snow), var(--rays), var(--green-glow);
  background-size: 11cqw 11cqw, auto, auto;
}

.band {
  position: relative;
  display: flex;
  align-items: center;
  flex: none;
  gap: 3cqw;
  height: 11cqh;
  padding: 0 3cqw;
  background: linear-gradient(100deg, var(--xmas-pine-deep) 0%, var(--xmas-pine) 62%, #1c8a4e 100%);
  color: #fff;
  box-shadow: 0 0.5cqh 0 #c8102e;
}

.sheet--dark .band {
  background: transparent;
  box-shadow: 0 0.45cqh 0 #c8102e;
}

.band__logo {
  flex: none;
  height: 9.2cqh;
  width: auto;
  max-width: 22cqw;
  object-fit: contain;
  filter: drop-shadow(0 0.25cqh 0.2cqh rgba(0, 0, 0, 0.22));
}

.band__title {
  flex: 1;
  min-width: 0;
  margin: 0;
  color: var(--tc-yellow);
  font-family: var(--font-display);
  font-size: 5.4cqw;
  font-style: italic;
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.02em;
  text-align: right;
  text-transform: uppercase;
  text-shadow: 0 0.06em 0 var(--tc-deep);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.band__title small {
  display: block;
  margin-bottom: 0.3cqh;
  color: #fff;
  font-size: 0.42em;
  font-style: normal;
  letter-spacing: 0.24em;
  text-shadow: none;
}

.sheet__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: none;
  gap: 2cqw;
  height: 6cqh;
  padding: 0 3cqw;
  background: var(--tc-yellow);
  color: var(--tc-ink);
  font-size: 2.4cqw;
  font-weight: 800;
}

.sheet__foot span:first-child {
  flex: 1;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.sheet__store {
  padding: 0.3cqh 1.6cqw;
  border-radius: 4px;
  background: var(--tc-sale);
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.9em;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.sheet__num {
  flex: none;
  padding: 0.4cqh 1.8cqw;
  border-radius: 999px;
  background: var(--xmas-pine-deep);
  color: #fff;
  font-family: var(--font-display);
  font-size: 2.2cqw;
  font-weight: 800;
}

/* ---------- Layouts ---------- */

.layout {
  flex: 1;
  min-height: 0;
  display: grid;
  gap: 2.2cqw;
  padding: 2.8cqw;
}

.layout--solo {
  grid-template: minmax(0, 1fr) / minmax(0, 1fr);
  padding: 4cqw 7cqw;
}

.layout--duo { grid-template: minmax(0, 1fr) / repeat(2, minmax(0, 1fr)); }

.layout--hero {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: minmax(0, 1.15fr) minmax(0, 1fr);
}

.layout--hero > :first-child { grid-column: 1 / -1; }

.layout--rows { grid-template: repeat(3, minmax(0, 1fr)) / minmax(0, 1fr); }

.layout--quad { grid-template: repeat(2, minmax(0, 1fr)) / repeat(2, minmax(0, 1fr)); }

.layout--mosaic {
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  grid-template-rows: repeat(3, minmax(0, 1fr));
}

.layout--mosaic > :first-child { grid-row: 1 / 3; }

.layout--stack {
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr);
  grid-template-rows: repeat(3, minmax(0, 1fr));
}

.layout--stack > :first-child { grid-row: 1 / -1; }

.layout--tiles { grid-template: repeat(3, minmax(0, 1fr)) / repeat(2, minmax(0, 1fr)); }

/* ---------- Product card ---------- */

.deal {
  --fs: 2.3cqw;
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  border-radius: 14px;
  background: #fff;
  color: var(--tc-ink);
  font-size: var(--fs);
  text-decoration: none;
  box-shadow: 0 0.5cqh 1.6cqh rgba(14, 27, 77, 0.14);
}

.deal__media {
  position: relative;
  flex: 1;
  min-width: 0;
  min-height: 0;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 50% 45%, #fff 35%, var(--tc-tint) 100%);
}

.deal__media img {
  position: absolute;
  inset: 7%;
  width: 86%;
  height: 86%;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.deal__fallback {
  font-family: var(--font-display);
  font-size: 4em;
  font-weight: 900;
  color: var(--tc-accent);
}

.deal__badge {
  position: absolute;
  top: 0.6em;
  left: 0.6em;
  z-index: 1;
  padding: 0.25em 0.7em;
  border-radius: 999px;
  background: var(--tc-sale);
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.95em;
  font-weight: 900;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.deal__badge--top {
  background: var(--tc-yellow);
  color: var(--tc-ink);
}

.deal__body {
  display: flex;
  flex: none;
  flex-direction: column;
  gap: 0.3em;
  min-width: 0;
  min-height: 0;
  padding: 0.7em 0.9em 0.9em;
}

.deal__brand {
  margin: 0;
  color: var(--tc-accent);
  font-size: 0.8em;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.deal__name {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.3em;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.deal__desc {
  margin: 0;
  color: var(--tc-muted);
  font-size: 0.9em;
  font-weight: 600;
  line-height: 1.2;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.deal__specs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3em;
  max-height: 2.9em;
  margin: 0.1em 0 0;
  padding: 0;
  overflow: hidden;
  list-style: none;
}

.deal__specs li {
  padding: 0.12em 0.6em;
  border: 1px solid var(--tc-border);
  border-radius: 999px;
  background: var(--tc-tint);
  color: var(--tc-accent-dark);
  font-size: 0.78em;
  font-weight: 800;
  white-space: nowrap;
}

/* ---------- Price tag ---------- */

.tag {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  align-self: flex-end;
  gap: 0.2em;
  margin-top: auto;
  padding: 0.3em 0.35em 0.35em 0;
}

.tag__was {
  color: var(--tc-sale);
  font-family: var(--font-display);
  font-size: 0.95em;
  font-weight: 800;
  text-decoration-thickness: 0.14em;
}

.tag__box {
  padding: 0.12em 0.55em 0.08em;
  border-radius: 0.3em;
  background: var(--tc-yellow);
  box-shadow: 0.28em 0.28em 0 var(--tc-accent-dark);
  transform: skewX(-9deg);
}

.money {
  display: inline-flex;
  align-items: flex-start;
  color: var(--tc-ink);
  font-family: var(--font-display);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
  transform: skewX(9deg);
}

.money b {
  font-size: 2.5em;
  font-weight: 900;
}

.money small {
  margin: 0.25em 0 0 0.05em;
  font-size: 1.05em;
  font-weight: 900;
}

.tag__off {
  padding: 0.1em 0.55em;
  border-radius: 999px;
  background: var(--tc-sale);
  color: #fff;
  font-size: 0.72em;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.tag__ask {
  padding: 0.3em 0.7em;
  border-radius: 0.3em;
  background: var(--tc-accent);
  color: #fff;
  font-family: var(--font-display);
  font-size: 1em;
  font-weight: 800;
}

/* ---------- Card variants ---------- */

.deal--wide,
.deal--row,
.deal--mini,
.deal--cover { flex-direction: row; }

.deal--wide .deal__body,
.deal--row .deal__body,
.deal--mini .deal__body,
.deal--cover .deal__body {
  flex: 1;
  justify-content: center;
}

.deal--wide .tag,
.deal--row .tag,
.deal--mini .tag,
.deal--cover .tag { margin-top: 0.4em; }

.deal--wide {
  --fs: 3cqw;
  border: 0.5cqw solid var(--tc-yellow);
}

.deal--wide .deal__media { flex: 0 0 52%; }
.deal--wide .deal__name { -webkit-line-clamp: 3; font-size: 1.45em; }

.deal--tall { --fs: 2.8cqw; }
.deal--tall .deal__name { font-size: 1.4em; }

.layout--solo .deal--tall { --fs: 4cqw; }
.layout--duo .deal--tall { --fs: 2.6cqw; }

.deal--tall .deal__media::after {
  content: "";
  position: absolute;
  left: 12%;
  right: 12%;
  bottom: 4%;
  height: 5%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(14, 27, 77, 0.2), transparent);
}

.deal--row { --fs: 2.6cqw; }
.deal--row .deal__media {
  flex: 0 0 42%;
  background: radial-gradient(circle at 50% 50%, #fff 30%, #d9e8fb 100%);
}
.deal--flip { flex-direction: row-reverse; }
.deal--row .deal__body { padding-inline: 1.2em; }
.deal--row::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 42%;
  width: 0.6cqw;
  background: var(--tc-yellow);
}
.deal--flip::before {
  left: auto;
  right: 42%;
}

.deal--mini { --fs: 2.1cqw; }
.deal--mini .deal__media { flex: 0 0 44%; }
.deal--mini .deal__body { padding: 0.6em 0.7em 0.6em 0.4em; }
.deal--mini .deal__specs { max-height: 1.4em; }
.deal--mini .deal__badge { font-size: 0.8em; }
.deal--mini .money b { font-size: 2.15em; }
.deal--mini .money small { font-size: 0.95em; }

.deal--cover {
  --fs: 3.1cqw;
  flex: 1;
  border-radius: 18px;
  box-shadow: 0 1cqh 0 rgba(0, 0, 0, 0.18);
}

.deal--cover .deal__media { flex: 0 0 50%; }
.deal--cover .deal__name { -webkit-line-clamp: 3; font-size: 1.5em; }

/* ---------- Cover ---------- */

.sheet--cover {
  color: #fff;
  background-color: #123a6e;
  background-image: var(--snow), var(--rays), var(--green-glow);
  background-size: 12cqw 12cqw, auto, auto;
}

.cover__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 3cqw;
  flex: none;
  padding: 3cqh 4cqw 0;
}

.cover__logo {
  height: 16cqh;
  width: auto;
  max-width: 46cqw;
  object-fit: contain;
  filter: drop-shadow(0 0.5cqh 0.4cqh rgba(0, 0, 0, 0.22));
}

.cover__dates {
  margin: 0.6cqh 0 0;
  padding: 1cqh 2.4cqw;
  border-radius: 8px;
  background: var(--tc-yellow);
  color: var(--tc-ink);
  font-family: var(--font-display);
  font-size: 2.7cqw;
  font-weight: 900;
  text-transform: uppercase;
  white-space: nowrap;
  transform: rotate(4deg);
  box-shadow: 0 0.5cqh 0 var(--tc-yellow-dark);
}

.cover__hero {
  position: relative;
  flex: none;
  padding: 2.4cqh 4.5cqw 0;
}

.cover__kicker {
  margin: 0;
  color: var(--tc-yellow);
  font-family: "Caveat", cursive;
  font-size: 6.4cqw;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: none;
  line-height: 0.9;
}

.cover__title {
  max-width: 72cqw;
  margin: 0.4cqh 0 0;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.cover__title span { display: block; }

.cover__title span:first-child:not(:last-child) {
  color: #fff;
  font-size: 8cqw;
  text-shadow: 0 0.07em 0 var(--tc-deep);
}

.cover__title span:last-child {
  color: var(--tc-yellow);
  font-size: 12.5cqw;
  text-shadow:
    0 0.04em 0 var(--tc-yellow-dark),
    0 0.09em 0 var(--tc-deep),
    0 0.16em 0.3em rgba(0, 0, 0, 0.35);
}

.cover__burst {
  z-index: 5;
  position: absolute;
  top: 1.6cqh;
  right: 4cqw;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 23cqw;
  aspect-ratio: 1;
  margin: 0;
  background: var(--tc-sale);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 900;
  line-height: 0.95;
  text-align: center;
  text-transform: uppercase;
  transform: rotate(-10deg);
  filter: drop-shadow(0 0.6cqh 0 rgba(0, 0, 0, 0.2));
}

.cover__burst small {
  font-size: 2.3cqw;
  letter-spacing: 0.06em;
}

.cover__burst b {
  font-size: 7cqw;
  letter-spacing: -0.04em;
  color: var(--tc-yellow);
}

.cover__show {
  display: flex;
  flex: 1;
  min-height: 0;
  padding: 2.6cqh 4cqw 0;
}

.cover__notice {
  display: flex;
  flex: none;
  flex-direction: column;
  align-items: center;
  margin: 2.2cqh 16cqw 0 18cqw;
  padding: 1cqh 3cqw;
  border-radius: 10px;
  background: var(--tc-sale);
  color: #fff;
  text-align: center;
  box-shadow: 0 0.6cqh 0 rgba(0, 0, 0, 0.2);
  transform: rotate(-1.2deg);
}

.cover__notice strong {
  font-family: var(--font-display);
  font-size: 3.6cqw;
  font-style: italic;
  font-weight: 900;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}

.cover__notice span {
  margin-top: 0.2cqh;
  color: var(--tc-yellow);
  font-size: 2.5cqw;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.cover__perks {
  display: grid;
  grid-auto-columns: minmax(0, 1fr);
  grid-auto-flow: column;
  gap: 1.6cqw;
  flex: none;
  margin: 0;
  padding: 1.5cqh 15cqw 1.6cqh 14cqw;
  list-style: none;
}

.cover__perks li {
  display: flex;
  align-items: center;
  gap: 1.2cqw;
  padding: 1cqh 1.6cqw;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.14);
  font-size: 2.2cqw;
  font-weight: 800;
  line-height: 1.1;
}

.cover__perks li::before {
  content: "✓";
  flex: none;
  display: grid;
  place-items: center;
  width: 4.2cqw;
  height: 4.2cqw;
  border-radius: 50%;
  background: var(--tc-yellow);
  color: var(--tc-accent-dark);
  font-size: 2.4cqw;
  font-weight: 900;
}

.cover__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: none;
  gap: 2cqw;
  padding: 1.6cqh 4cqw;
  background: #c8102e;
  color: #fff;
  font-size: 2.6cqw;
  font-weight: 800;
}

.cover__foot strong {
  flex: none;
  padding: 0.6cqh 2.4cqw;
  border-radius: 999px;
  background: var(--tc-yellow);
  color: var(--xmas-pine-deep);
  font-family: var(--font-display);
  font-size: 2.6cqw;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ---------- Back cover ---------- */

.sheet--back { background: var(--tc-tint); }

.back__hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 4cqh 6cqw 3cqh;
  background-color: #123a6e;
  background-image: var(--snow), var(--rays), var(--green-glow);
  background-size: 12cqw 12cqw, auto, auto;
  color: #fff;
  text-align: center;
  box-shadow: 0 0.6cqh 0 #c8102e;
}

.back__hero img {
  width: min(62cqw, 100%);
  max-height: 22cqh;
  object-fit: contain;
  filter: drop-shadow(0 0.6cqh 0.4cqh rgba(0, 0, 0, 0.22));
}

.back__hero h2 {
  margin: 2cqh 0 0;
  color: var(--tc-yellow);
  font-family: var(--font-display);
  font-size: 7cqw;
  font-style: italic;
  font-weight: 900;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  text-shadow: 0 0.07em 0 var(--tc-deep);
}

.back__hero p {
  margin: 0.6cqh 0 0;
  font-size: 3cqw;
  font-weight: 700;
}

.back__hero .back__notice {
  margin-top: 1.6cqh;
  padding: 0.6cqh 2.6cqw;
  border-radius: 999px;
  background: var(--tc-sale);
  font-family: var(--font-display);
  font-size: 2.7cqw;
  font-weight: 900;
  text-transform: uppercase;
}

.back__list {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 1.2cqh;
  min-height: 0;
  margin: 0;
  padding: 3cqh 5cqw 2cqh;
  list-style: none;
}

.back__list a,
.back__list span {
  display: flex;
  flex-direction: column;
  padding: 1.2cqh 2.4cqw;
  border-left: 1cqw solid var(--tc-accent);
  border-radius: 12px;
  background: #fff;
  color: var(--tc-ink);
  font-size: 3.1cqw;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 0.4cqh 1.2cqh rgba(14, 27, 77, 0.1);
}

.back__list small {
  display: block;
  color: var(--tc-accent);
  font-size: 2.3cqw;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.back__wa {
  border-left: 0 !important;
  background: #25d366 !important;
  color: #073016 !important;
  text-align: center;
  font-family: var(--font-display);
  font-size: 3.6cqw !important;
  font-weight: 800 !important;
}

.back__wa small { color: #073016; }

.back__note {
  margin: 0;
  padding: 0 5cqw 1.4cqh;
  color: var(--tc-muted);
  font-size: 2.4cqw;
  font-weight: 600;
  text-align: center;
}

.back__vat {
  margin: 0;
  padding: 1.2cqh 4cqw 1.6cqh;
  background: var(--tc-deep);
  color: #fff;
  font-size: 2.5cqw;
  font-weight: 700;
  text-align: center;
}

.sheet--empty {
  align-items: center;
  justify-content: center;
  padding: 8cqw;
  text-align: center;
}

.sheet--empty h2 {
  margin: 0 0 1cqh;
  font-family: var(--font-display);
  font-size: 6cqw;
}

.sheet--empty p {
  margin: 0;
  color: var(--tc-text);
  font-size: 3.4cqw;
  font-weight: 700;
}

.stf__item.--simple {
  box-shadow: 0 16px 34px rgba(18, 20, 23, 0.2);
}

@container (max-width: 420px) {
  .deal--card { --fs: 2.65cqw; }
  .deal--mini { --fs: 2.5cqw; }
  .deal--mini .deal__specs { display: none; }
  .deal__brand { font-size: max(0.8em, 8px); }
  .deal__specs li { font-size: max(0.78em, 8px); }
  .band__title { font-size: 6cqw; }
  .sheet__foot { font-size: 2.8cqw; }
  .sheet__num { font-size: 2.6cqw; }
  .cover__perks li { font-size: 2.7cqw; }
  .cover__foot,
  .cover__foot strong { font-size: 3cqw; }
  .back__note { font-size: 2.8cqw; }
}

@media (max-width: 720px) {
  .topbar { height: 3.6rem; gap: 0.45rem; padding: 0 0.7rem; }
  .topbar__brand img { height: 2.8rem; max-width: 3.2rem; }
  .topbar__title { display: none; }
  .topbar__pdf { margin-left: auto; padding: 0.35rem 0.65rem; font-size: 0.82rem; }
  .topbar__shop { padding: 0.4rem 0.7rem; font-size: 0.82rem; }
  .pager__hint { display: none; }

  .app {
    position: relative;
    grid-template-columns: minmax(0, 1fr);
    padding: 0.4rem 0.3rem 0;
  }

  .stage { grid-column: 1; }

  /* Horizontal touch turns the page; vertical movement can still scroll. */
  .stage,
  .stage * {
    touch-action: pan-y;
  }

  .nav {
    position: absolute;
    bottom: -2.45rem;
    z-index: 5;
    width: 2.3rem;
    height: 2.3rem;
    font-size: 1.6rem;
  }

  .nav--prev { left: 0.8rem; }
  .nav--next { right: 0.8rem; }

  .pager {
    align-items: center;
    height: 2.9rem;
  }

  .wa-cta {
    position: static;
    flex: none;
    justify-content: center;
    padding: 0.75rem 1rem calc(0.75rem + env(safe-area-inset-bottom));
    border-radius: 0;
    font-size: 1rem;
    box-shadow: 0 -4px 14px rgba(14, 27, 77, 0.14);
  }

  .wa-cta:hover { transform: none; }
}

/* ---------- Babbo Natale e pupazzo di neve ---------- */

.cast {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
}

.cast img {
  position: absolute;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 0.45cqh 0.25cqh rgba(0, 0, 0, 0.28));
}

.sheet--cover .cast__santa {
  left: -1.4cqw;
  bottom: 9.2cqh;
  height: 17.5cqh;
}

.sheet--cover .cast__snow {
  right: -2.4cqw;
  bottom: 8.6cqh;
  height: 14cqh;
}

.sheet--products .cast__santa {
  left: 21cqw;
  top: 0;
  height: 10.8cqh;
}

.sheet--products .band__title { padding-left: 9cqw; }

.sheet--products .cast__snow {
  left: 0.4cqw;
  bottom: 0;
  height: 8.4cqh;
}

.sheet--products .sheet__foot span:first-child { padding-left: 11cqw; }

.sheet--back .cast__santa {
  left: 1.5cqw;
  top: 1.2cqh;
  height: 16cqh;
}

.sheet--back .cast__snow {
  right: 0.4cqw;
  top: 2.2cqh;
  height: 14cqh;
}

/* ---------- Christmas ornaments ---------- */

.band { z-index: 2; }

.band::before,
.band::after {
  content: "";
  position: absolute;
  bottom: -4.2cqh;
  width: 4.4cqw;
  height: 4.4cqw;
  border-radius: 50%;
  pointer-events: none;
}

.band::before {
  left: 47%;
  background:
    radial-gradient(circle at 32% 28%, rgba(255, 255, 255, 0.8) 0 2.5px, transparent 3px),
    radial-gradient(circle at 50% 55%, #ff6674 0%, #c8102e 58%, #7d1020 100%);
  box-shadow: 0 -0.9cqh 0 -1.35cqw #e2a51a;
}

.band::after {
  right: 7%;
  background:
    radial-gradient(circle at 32% 28%, rgba(255, 255, 255, 0.85) 0 2.5px, transparent 3px),
    radial-gradient(circle at 50% 55%, #ffe58a 0%, #e2a51a 60%, #a87410 100%);
  box-shadow: 0 -0.9cqh 0 -1.35cqw #c8102e;
}

.back__hero { position: relative; }

.festive {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.festive i { position: absolute; display: block; }

.festive__ball {
  width: 4.2rem;
  height: 4.2rem;
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 28%, rgba(255, 255, 255, 0.75) 0 0.35rem, transparent 0.4rem),
    radial-gradient(circle at 50% 58%, #ff6674, #c8102e 60%, #7d1020);
  box-shadow: 0 -0.7rem 0 -1.35rem #e2a51a, 0 10px 16px rgba(0, 0, 0, 0.18);
}

.festive__ball--red { top: 18%; left: 1.2%; }
.festive__ball--gold {
  top: 62%;
  right: 2%;
  background:
    radial-gradient(circle at 32% 28%, rgba(255, 255, 255, 0.8) 0 0.35rem, transparent 0.4rem),
    radial-gradient(circle at 50% 58%, #ffe58a, #e2a51a 62%, #a87410);
  box-shadow: 0 -0.7rem 0 -1.35rem #c8102e, 0 10px 16px rgba(0, 0, 0, 0.18);
}
.festive__ball--green {
  bottom: 16%;
  left: 3%;
  width: 3rem;
  height: 3rem;
  background:
    radial-gradient(circle at 32% 28%, rgba(255, 255, 255, 0.75) 0 0.28rem, transparent 0.34rem),
    radial-gradient(circle at 50% 58%, #3cb371, #0e6b3c 62%, #083d28);
  box-shadow: 0 -0.55rem 0 -1rem #ffd23f, 0 10px 16px rgba(0, 0, 0, 0.18);
}

.festive__gift,
.festive__gift--red {
  width: 3.4rem;
  height: 2.8rem;
  border-radius: 3px;
  background:
    linear-gradient(#ffd23f, #ffd23f) center / 0.7rem 100% no-repeat,
    linear-gradient(#ffd23f, #ffd23f) center / 100% 0.7rem no-repeat,
    #0e6b3c;
  top: 28%;
  right: 4%;
  transform: rotate(8deg);
}

.festive__gift--red {
  top: auto;
  right: auto;
  bottom: 22%;
  left: 6%;
  background:
    linear-gradient(#ffd23f, #ffd23f) center / 0.7rem 100% no-repeat,
    linear-gradient(#ffd23f, #ffd23f) center / 100% 0.7rem no-repeat,
    #c8102e;
  transform: rotate(-12deg);
}

.festive__tree {
  top: 46%;
  left: 2.5%;
  width: 0;
  height: 0;
  border-left: 1.5rem solid transparent;
  border-right: 1.5rem solid transparent;
  border-bottom: 2.5rem solid #1c8a4e;
  filter: drop-shadow(0 1.35rem 0 #0e6b3c) drop-shadow(0 2.5rem 0 #083d28);
}

.festive__star,
.festive__star--b {
  width: 1.6rem;
  height: 1.6rem;
  background: #ffd23f;
  clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
  top: 14%;
  right: 18%;
}

.festive__star--b {
  top: auto;
  right: auto;
  bottom: 12%;
  left: 18%;
  width: 1.2rem;
  height: 1.2rem;
}

.festive__cane {
  top: 38%;
  right: 1.5%;
  width: 1.15rem;
  height: 3.4rem;
  border: 0.38rem solid #c8102e;
  border-left-color: transparent;
  border-bottom: 0;
  border-radius: 1rem 1rem 0 0;
  background:
    repeating-linear-gradient(180deg, #fff 0 0.38rem, #c8102e 0.38rem 0.76rem);
  transform: rotate(16deg);
}

.festive__flake,
.festive__flake--b,
.festive__flake--c {
  color: rgba(255, 255, 255, 0.85);
  font-style: normal;
  font-size: 1.4rem;
  top: 22%;
  left: 16%;
}

.festive__flake::before,
.festive__flake--b::before,
.festive__flake--c::before { content: "❄"; }

.festive__flake--b { top: 70%; left: auto; right: 16%; font-size: 1.1rem; }
.festive__flake--c { top: 54%; left: auto; right: 22%; font-size: 1rem; }

@media (max-width: 900px) {
  .festive__tree,
  .festive__cane,
  .festive__gift,
  .festive__star,
  .festive__ball--green { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .sizer,
  .stf__item,
  .pdf-wait__spin { transition: none !important; animation: none; }
}
