/* ===================================================================
   Classic Bow — SEASONAL Christmas theme (Nov–Dec 2026)
   "Pink Christmas": the brand's blush + cream, layered with pine green,
   antique gold and a soft snowfall. Everything is scoped to
   body.theme-christmas, so removing that class (and this file's <link>)
   returns the site to its everyday look.
   =================================================================== */

.theme-christmas {
  --pine:      #2F4A3C;
  --pine-deep: #213529;
  --pine-soft: #E6EDE7;
  --berry:     #B4434F;
}

/* ---------- Nav: festive "Christmas" link ---------- */
.theme-christmas .nav-holiday { color: var(--pine); font-weight: 600; }
.theme-christmas .nav-holiday::before { content: '✦ '; color: var(--gold); }

/* ---------- Marquees: pine strips with cream + gold type ---------- */
.theme-christmas .marquee { background: var(--pine); border-color: var(--pine-deep); }
/* Clean uppercase lettering with generous spacing between items. */
.theme-christmas .marquee { padding: 1.05rem 0; }
.theme-christmas .marquee-track { gap: 2.2rem; align-items: center; }
.theme-christmas .marquee-track span {
  font-family: var(--body); font-weight: 600; font-size: .92rem;
  letter-spacing: .18em; text-transform: uppercase; color: var(--cream);
}
.theme-christmas .marquee-track span:nth-child(even) { color: var(--gold); font-size: .8rem; letter-spacing: 0; }
.theme-christmas .marquee-track .mq-lead { color: #F4B6C0; font-weight: 800; }

/* ---------- Hero: deep pine wash over the video + falling snow ---------- */
.theme-christmas .hero-video .hero-overlay {
  background:
    radial-gradient(90% 70% at 50% 45%, rgba(33,53,41,.55) 0%, rgba(33,53,41,0) 75%),
    linear-gradient(180deg, rgba(33,53,41,.78) 0%, rgba(47,74,60,.70) 100%);
}
/* "Now taking holiday orders" is the focal point (pink, large); the headline supports it. */
.theme-christmas .hero-video h1 { color: var(--white); font-size: clamp(1.9rem, 4.2vw, 2.9rem); margin-bottom: 1.1rem; }
.theme-christmas .hero-video .eyebrow {
  color: #F4B6C0; font-weight: 800; font-size: clamp(1.3rem, 3.4vw, 2.1rem);
  letter-spacing: .14em; line-height: 1.25; margin-bottom: 1rem;
  text-shadow: 0 2px 18px rgba(0,0,0,.25);
}
.theme-christmas .hero-video .hero-lede { color: rgba(251,246,240,.88); }
.theme-christmas .hero-video .hero-note { color: rgba(251,246,240,.75); }
.theme-christmas .hero-video .btn-ghost { border-color: var(--cream); color: var(--cream); }
.theme-christmas .hero-video .btn-ghost:hover { background: var(--cream); color: var(--pine-deep); }

.hero-snow { display: none; }
.theme-christmas .hero-snow {
  display: block; position: absolute; inset: -40px 0 0; z-index: 1; pointer-events: none;
  background-image:
    radial-gradient(2.5px 2.5px at 20px 30px, rgba(255,255,255,.9), transparent 60%),
    radial-gradient(2px 2px at 90px 120px, rgba(255,255,255,.75), transparent 60%),
    radial-gradient(3px 3px at 160px 60px, rgba(255,255,255,.85), transparent 60%),
    radial-gradient(1.8px 1.8px at 230px 170px, rgba(255,255,255,.7), transparent 60%),
    radial-gradient(2.5px 2.5px at 50px 200px, rgba(255,255,255,.8), transparent 60%),
    radial-gradient(1.5px 1.5px at 130px 230px, rgba(255,255,255,.65), transparent 60%);
  background-size: 260px 260px;
  animation: snow-fall 18s linear infinite;
  opacity: .8;
}
.theme-christmas .hero-snow::after {
  content: ''; position: absolute; inset: 0;
  background-image:
    radial-gradient(1.5px 1.5px at 40px 80px, rgba(255,255,255,.7), transparent 60%),
    radial-gradient(2px 2px at 140px 20px, rgba(255,255,255,.6), transparent 60%),
    radial-gradient(1.2px 1.2px at 100px 150px, rgba(255,255,255,.6), transparent 60%);
  background-size: 180px 180px;
  animation: snow-fall-slow 26s linear infinite;
}
@keyframes snow-fall      { from { background-position: 0 0; }   to { background-position: 60px 520px; } }
@keyframes snow-fall-slow { from { background-position: 0 0; }   to { background-position: -40px 360px; } }
@media (prefers-reduced-motion: reduce) {
  .theme-christmas .hero-snow, .theme-christmas .hero-snow::after { animation: none; }
}
/* On reduced motion the video is hidden, so give the hero a solid pine ground. */
@media (prefers-reduced-motion: reduce) {
  .theme-christmas .hero-video { background: var(--pine-deep); }
}

/* ---------- The Christmas Collection ---------- */
.holiday {
  position: relative;
  background:
    radial-gradient(70% 60% at 85% 0%, rgba(246,222,224,.9) 0%, rgba(246,222,224,0) 60%),
    radial-gradient(60% 50% at 0% 100%, rgba(230,237,231,.9) 0%, rgba(230,237,231,0) 60%),
    var(--cream);
}
/* Any section with snow (added by main.js): snow layer behind, content above. */
.has-snow { position: relative; overflow: hidden; }
.has-snow > .container { position: relative; z-index: 1; }
.holiday-snow.snow-off .flake, .holiday-snow.snow-off .flake span { animation-play-state: paused; }

/* Falling pink & gold snowflakes behind the Christmas Collection (built in main.js).
   Outer .flake falls; inner span sways + spins. Shape is an SVG mask, so the colour is
   just background-color. */
.holiday-snow { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.holiday-snow .flake {
  position: absolute; top: -40px; left: var(--x);
  animation: flake-fall var(--dur) linear var(--delay) infinite;
  will-change: transform;
}
.holiday-snow .flake span {
  display: block; width: var(--size); height: var(--size);
  background: var(--c); opacity: var(--o);
  -webkit-mask: var(--shape) center / contain no-repeat; mask: var(--shape) center / contain no-repeat;
  animation: flake-sway var(--sway) ease-in-out var(--delay) infinite alternate;
}
.holiday-snow .flake.is-dot span { border-radius: 50%; -webkit-mask: none; mask: none; }
@keyframes flake-fall { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(0, var(--fall, 1400px), 0); } }
@keyframes flake-sway { from { transform: translateX(-18px) rotate(0deg); } to { transform: translateX(18px) rotate(160deg); } }
@media (prefers-reduced-motion: reduce) {
  .holiday-snow .flake, .holiday-snow .flake span { animation: none; }
  .holiday-snow .flake { top: var(--rest); }
}

.holiday .eyebrow { color: var(--berry); }
.holiday h2 { color: var(--pine-deep); }
.holiday .holiday-title { font-size: clamp(2.4rem, 6vw, 3.8rem); margin-bottom: .7rem; }
/* Video showcase: one basket video at a time + details panel */
.hshow {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 4vw, 3.5rem); align-items: center;
  max-width: 1080px; margin: 0 auto 3rem;
}
.hshow-stage { width: 100%; max-width: 500px; justify-self: end; }
.hshow-stage {
  position: relative; aspect-ratio: 3 / 4; border-radius: var(--radius); overflow: hidden;
  background: var(--cream-2);
  box-shadow: 0 0 0 1px var(--line), 0 26px 50px -28px rgba(33,53,41,.6);
}
.hshow-stage:focus-visible { outline: 2px solid var(--pine); outline-offset: 4px; }
.hshow-video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity .5s ease;
}
.hshow-video.is-active { opacity: 1; }

/* "New release" badge — gallery/category cards (top-left of the photo) and the showcase stage. */
.new-badge {
  position: absolute; top: .7rem; left: .7rem; z-index: 2;
  background: var(--berry, #B4434F); color: #fff;
  font-family: var(--body); font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  padding: .35rem .75rem; border-radius: 999px; box-shadow: 0 6px 16px -6px rgba(0,0,0,.45);
  pointer-events: none;
}
.hshow-new { top: 1rem; left: 1rem; font-size: .78rem; padding: .45rem .95rem; }
.hshow-nav, .hshow-toggle {
  position: absolute; z-index: 2; border: 0; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.88); color: var(--pine-deep);
  box-shadow: 0 8px 20px -8px rgba(0,0,0,.45);
  transition: background .2s ease, transform .15s ease;
}
.hshow-nav {
  top: 50%; transform: translateY(-50%);
  width: 46px; height: 46px; border-radius: 50%; font-size: 1.9rem; line-height: 1; padding-bottom: 3px;
}
.hshow-nav:hover { background: #fff; transform: translateY(-50%) scale(1.07); }
.hshow-prev { left: .8rem; }
.hshow-next { right: .8rem; }
.hshow-toggle { left: .8rem; bottom: 1.1rem; width: 36px; height: 36px; border-radius: 50%; }
.hshow-toggle:hover { background: #fff; }
.hshow-toggle svg { width: 16px; height: 16px; fill: currentColor; }
.hshow-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: rgba(255,255,255,.35); z-index: 2; }
.hshow-progress span { display: block; height: 100%; width: 0; background: var(--gold); transition: width .25s linear; }
/* Once the visitor takes control there's no countdown to the next video. */
.hshow.is-manual .hshow-progress { display: none; }

.hshow-info { background: rgba(251,246,240,.92); border-radius: var(--radius); padding: 1.8rem 1rem 1.8rem 1.4rem; }
.hshow-type { font-size: .9rem; letter-spacing: .24em; text-transform: uppercase; color: var(--berry); font-weight: 600; margin: 0 0 .6rem; }
.hshow-name { font-size: clamp(2.2rem, 3.6vw, 2.95rem); line-height: 1.05; color: var(--pine-deep); margin: 0 0 .7rem; }
.hshow-price { font-family: var(--display); font-size: clamp(1.5rem, 2.4vw, 2rem); color: var(--rose-deep); margin: 0 0 1.8rem; }
.hshow-dots { display: flex; gap: .6rem; margin: 0 0 2.2rem; }
.hshow-dot {
  width: 12px; height: 12px; padding: 0; border: 0; border-radius: 999px; cursor: pointer;
  background: var(--line); transition: width .25s ease, background .25s ease;
}
.hshow-dot.is-active { width: 36px; background: var(--rose); }
.hshow-actions { display: flex; flex-direction: column; align-items: flex-start; gap: .9rem; }
.hshow-actions .btn { min-width: 320px; text-align: center; font-size: 1.05rem; padding: 1rem 2.2rem; }
.hshow-more { border-color: var(--pine); color: var(--pine); }
.hshow-more:hover { background: var(--pine); border-color: var(--pine); color: var(--white); }

@media (max-width: 760px) {
  .hshow { grid-template-columns: 1fr; gap: 1.4rem; }
  .hshow-stage { max-width: 420px; margin: 0 auto; justify-self: center; }
  /* Soft cream backing so drifting snowflakes don't sit under the name/price on phones. */
  .hshow-info { text-align: center; padding: 1rem .4rem .4rem; }
  .hshow-dots { justify-content: center; margin-bottom: 1.6rem; }
  .hshow-price { margin-bottom: 1.3rem; }
  .hshow-actions { align-items: stretch; }
  .hshow-actions .btn { min-width: 0; }
}
.holiday-perks {
  list-style: none; margin: 0 auto; padding: 0; max-width: 980px;
  display: grid; gap: 1rem; grid-template-columns: repeat(3, minmax(0, 1fr));
}
.holiday-perks li {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.1rem 1.2rem; font-size: .9rem; color: var(--ink-soft); line-height: 1.55;
}
.holiday-perks li::before { content: '✦'; display: block; color: var(--gold); margin-bottom: .35rem; }
.holiday-perks strong { color: var(--pine-deep); font-weight: 600; }
.holiday-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

@media (max-width: 900px) {
  .holiday-perks { grid-template-columns: 1fr; max-width: 520px; }
}
@media (max-width: 560px) {
  .holiday-actions { flex-direction: column; }
  .holiday-actions .btn { width: 100%; text-align: center; }
}

/* ---------- Corporate holiday gifting ---------- */
.corporate { background: var(--pine); color: var(--cream); }
.corporate-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(1.8rem, 5vw, 4rem); align-items: center; }
.corporate-media img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius);
  box-shadow: 0 30px 60px -30px rgba(0,0,0,.6);
}
.corporate .corporate-title { color: var(--white); font-size: clamp(2.3rem, 5vw, 3.4rem); margin-bottom: .6rem; }
.corporate .corporate-sub { font-family: var(--display); font-size: clamp(1.1rem, 2vw, 1.35rem); color: var(--blush-2); margin: 0 0 1.2rem; }
.corporate-copy p { color: rgba(251,246,240,.82); max-width: 46ch; }
.corporate-copy p:not(.corporate-sub) { margin-bottom: 1.8rem; }
.corporate-list { list-style: none; margin: 0 0 1.8rem; padding: 0; }
.corporate-list li { position: relative; padding: .45rem 0 .45rem 1.6rem; color: var(--cream); border-bottom: 1px solid rgba(255,255,255,.12); }
.corporate-list li::before { content: '✦'; position: absolute; left: 0; color: var(--gold); }
@media (max-width: 820px) {
  .corporate-grid { grid-template-columns: 1fr; }
  .corporate-media { max-width: 440px; margin: 0 auto; }
}

/* ---------- Occasion cards: Christmas card is "in season" ---------- */
.occasion-badge { display: none; }
.theme-christmas .occasion-card--season {
  position: relative;
  background: linear-gradient(160deg, var(--pine) 0%, var(--pine-deep) 100%);
  border-color: var(--pine-deep);
}
.theme-christmas .occasion-card--season h3,
.theme-christmas .occasion-card--season.is-clickable:hover h3 { color: var(--white); }
.theme-christmas .occasion-card--season .occasion-icon,
.theme-christmas .occasion-card--season:hover .occasion-icon { color: var(--gold); }
.theme-christmas .occasion-card--season.is-clickable::after { color: var(--blush-2); opacity: 1; transform: none; }
.theme-christmas .occasion-badge {
  display: inline-block; position: absolute; top: 1rem; right: 1rem;
  background: var(--gold); color: var(--white);
  font-size: .64rem; letter-spacing: .14em; text-transform: uppercase;
  padding: .25rem .7rem; border-radius: 999px;
}

/* ---------- How It Works: pine instead of plum for the season ---------- */
.theme-christmas .section-dark { background: var(--pine-deep); }
.theme-christmas .section-dark .eyebrow { color: var(--gold); }

/* ---------- Gallery: highlight the Christmas chip ---------- */
.theme-christmas .filter-chip[data-cat="christmas"]:not(.active) { border-color: var(--pine); color: var(--pine); }
.theme-christmas .filter-chip[data-cat="christmas"].active { background: var(--pine); border-color: var(--pine); }

/* ---------- Request form holiday note ---------- */
.holiday-note { display: none; }
.theme-christmas .holiday-note {
  display: block; max-width: 520px; margin: -0.6rem auto 1.4rem;
  background: var(--pine-soft); color: var(--pine-deep);
  border-radius: 999px; padding: .55rem 1.2rem; font-size: .9rem;
}
