/* Christmas shopping hero — homepage, under the site header */
.xmas-shop {
  --xmas-ink: #f4efe6;
  --xmas-mute: rgba(244, 239, 230, 0.72);
  --xmas-pine: #0f241c;
  --xmas-pine-deep: #081510;
  --xmas-gold: #efb100;
  --xmas-berry: #c45c48;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin: 0 0 1.25rem;
  color: var(--xmas-ink);
  background:
    radial-gradient(ellipse 70% 55% at 88% 18%, rgba(239, 177, 0, 0.18), transparent 58%),
    radial-gradient(ellipse 55% 50% at 8% 80%, rgba(61, 220, 151, 0.1), transparent 55%),
    linear-gradient(165deg, #16352a 0%, var(--xmas-pine) 48%, var(--xmas-pine-deep) 100%);
  min-height: clamp(22rem, 52vw, 28rem);
  display: grid;
  align-items: end;
}

.xmas-shop__visual {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.xmas-shop__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
}

.xmas-shop__glow--warm {
  width: min(42vw, 420px);
  height: min(42vw, 420px);
  right: -4%;
  top: -12%;
  background: rgba(239, 177, 0, 0.22);
  animation: xmas-glow-drift 14s ease-in-out infinite alternate;
}

.xmas-shop__glow--pine {
  width: min(36vw, 340px);
  height: min(36vw, 340px);
  left: -6%;
  bottom: -18%;
  background: rgba(61, 220, 151, 0.14);
  animation: xmas-glow-drift 18s ease-in-out infinite alternate-reverse;
}

.xmas-shop__scene {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.95;
}

.xmas-shop__spark {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 18% 22%, rgba(255, 255, 255, 0.55) 0 1px, transparent 2px),
    radial-gradient(circle at 72% 28%, rgba(243, 230, 200, 0.45) 0 1px, transparent 2px),
    radial-gradient(circle at 44% 64%, rgba(255, 255, 255, 0.35) 0 1px, transparent 2px),
    radial-gradient(circle at 86% 70%, rgba(239, 177, 0, 0.4) 0 1.5px, transparent 3px);
  opacity: 0.55;
  animation: xmas-spark-twinkle 6s ease-in-out infinite;
}

.xmas-shop__inner {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 3.4rem) 0 clamp(1.75rem, 4vw, 2.6rem);
  max-width: 36rem;
  justify-self: start;
  animation: xmas-rise 0.75s ease both;
}

.xmas-shop__brand {
  margin: 0;
  font-family: var(--font-display, Outfit, sans-serif);
  font-size: clamp(3rem, 9vw, 5rem);
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 0.9;
  color: #fff;
}

.xmas-shop__title {
  margin: 0.55rem 0 0;
  font-family: var(--font-display, Outfit, sans-serif);
  font-size: clamp(1.45rem, 3.4vw, 2rem);
  font-weight: 650;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: rgba(244, 239, 230, 0.92);
}

.xmas-shop__lede {
  margin: 0.75rem 0 0;
  max-width: 34ch;
  font-size: clamp(0.98rem, 2.2vw, 1.08rem);
  line-height: 1.45;
  color: var(--xmas-mute);
}

.xmas-shop__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.25rem;
}

.xmas-shop__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.65rem 1.2rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.xmas-shop__btn:active {
  transform: scale(0.98);
}

.xmas-shop__btn--primary {
  background: var(--xmas-gold);
  color: #1a1406;
}

.xmas-shop__btn--primary:hover {
  background: #ffc933;
}

.xmas-shop__btn--ghost {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(244, 239, 230, 0.28);
  color: var(--xmas-ink);
}

.xmas-shop__btn--ghost:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(244, 239, 230, 0.45);
}

@keyframes xmas-rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

@keyframes xmas-glow-drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(12px, 18px, 0) scale(1.06); }
}

@keyframes xmas-spark-twinkle {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 0.7; }
}

@media (max-width: 720px) {
  .xmas-shop {
    min-height: 20rem;
  }
  .xmas-shop__inner {
    max-width: none;
    padding-top: 1.75rem;
  }
  .xmas-shop__lede {
    max-width: none;
  }
  .xmas-shop__btn {
    flex: 1 1 auto;
  }
  .xmas-shop__scene {
    opacity: 0.7;
  }
}

@media (prefers-reduced-motion: reduce) {
  .xmas-shop__glow--warm,
  .xmas-shop__glow--pine,
  .xmas-shop__spark,
  .xmas-shop__inner {
    animation: none;
  }
}
