/* New Year decorations v2. No selectors targeting product cards or cart. */
/* The garland has its own 52px high strip. Header stays below it. */
body { padding-top: 52px; }
.ny-garland {
  position: absolute; top: 0; left: 0; right: 0; height: 52px;
  z-index: 3; pointer-events: none; overflow: hidden;
  display: flex; justify-content: space-around; align-items: flex-start;
  padding: 0 12px;
}
.ny-garland::before {
  content: ""; position: absolute; top: -21px; left: -2%; width: 104%; height: 40px;
  border-bottom: 2px solid rgba(214, 173, 124, .65);
  border-radius: 0 0 50% 50%;
}
.ny-light {
  position: relative; flex: 0 0 auto; width: 8px; height: 13px;
  margin-top: 20px; border-radius: 50% 50% 46% 46%;
  background: var(--ny-bulb, #ffd78b);
  box-shadow: 0 0 7px 2px var(--ny-glow, #ffc36a), 0 0 15px 3px var(--ny-glow, #ffc36a);
  animation: ny-twinkle 3.1s ease-in-out infinite;
  animation-delay: var(--ny-delay, 0s);
}
.ny-light::before {
  content: ""; position: absolute; top: -5px; left: 2px;
  width: 5px; height: 6px; border-radius: 2px; background: #bba68e;
}
@keyframes ny-twinkle { 0%,100% { opacity: .72; filter: brightness(.85); } 50% { opacity: 1; filter: brightness(1.25); } }
/* Decorative PNG-like WebP: no layout effect on hero content. */
.hero { position: relative; }
.hero .ny-gift-art {
  position: absolute; z-index: 0; width: clamp(115px, 13vw, 185px); height: auto;
  bottom: 5px; pointer-events: none; user-select: none;
  filter: drop-shadow(0 12px 18px rgba(3,0,17,.4));
}
.hero .ny-gift-art-left { left: -24px; transform: rotate(-9deg); }
.hero .ny-gift-art-right { right: -24px; transform: scaleX(-1) rotate(-8deg); }
/* Keep text, badge and CTA in front of decorative images. */
.hero > :not(.ny-gift-art) { position: relative; z-index: 1; }
.hero > .hero-snow { position: absolute; }
@media (max-width: 1050px) {
  .hero .ny-gift-art { width: 115px; bottom: 6px; opacity: .92; }
  .hero .ny-gift-art-left { left: -10px; }
  .hero .ny-gift-art-right { right: -10px; }
}
@media (max-width: 650px) {
  body { padding-top: 43px; }
  .ny-garland { height: 43px; padding: 0 5px; }
  .ny-garland::before { top: -25px; }
  .ny-light { width: 6px; height: 10px; margin-top: 15px; }
  .ny-light::before { top: -4px; left: 1px; width: 4px; height: 5px; }
  .hero .ny-gift-art { width: 72px; bottom: 0; opacity: .8; }
  .hero .ny-gift-art-left { left: -5px; }
  .hero .ny-gift-art-right { right: -5px; }
}
@media (max-width: 390px) { .hero .ny-gift-art { display: none; } }
@media (prefers-reduced-motion: reduce) { .ny-light { animation: none; } }

/* v3: larger primary CTA; only hero button is affected. */
.hero .hero-cta { padding: 20px 32px; font-size: 17px; min-height: 64px; gap: 35px; border-radius: 16px; }
@media (max-width: 650px) { .hero .hero-cta { padding: 17px 24px; font-size: 15px; min-height: 56px; gap: 20px; } }

/* v4: smaller gifts beside the CTA, more breathing room before catalog. */
@media (min-width: 1051px) {
  .hero { padding-bottom: 140px; }
  .hero .ny-gift-art { width: clamp(100px, 9vw, 135px); bottom: 108px; }
  .hero .ny-gift-art-left { left: max(5%, calc(50% - 490px)); }
  .hero .ny-gift-art-right { right: max(5%, calc(50% - 490px)); }
}
@media (min-width: 651px) and (max-width: 1050px) {
  .hero { padding-bottom: 125px; }
  .hero .ny-gift-art { width: 100px; bottom: 94px; }
  .hero .ny-gift-art-left { left: 5%; }
  .hero .ny-gift-art-right { right: 5%; }
}
@media (max-width: 650px) {
  .hero { padding-bottom: 100px; }
  .hero .ny-gift-art { width: 58px; bottom: 68px; }
  .hero .ny-gift-art-left { left: 1%; }
  .hero .ny-gift-art-right { right: 1%; }
}


/* v5: gifts placed close to the central CTA, symmetric on desktop. */
@media (min-width: 1051px) {
  .hero .ny-gift-art-left { left: calc(50% - 340px); }
  .hero .ny-gift-art-right { right: calc(50% - 340px); }
}
@media (min-width: 651px) and (max-width: 1050px) {
  .hero .ny-gift-art-left { left: max(0px, calc(50% - 285px)); }
  .hero .ny-gift-art-right { right: max(0px, calc(50% - 285px)); }
}

/* v6: reduce empty space above catalog without moving gifts relative to CTA. */
@media (min-width: 1051px) {
  .hero { padding-bottom: 70px; }
  .hero .ny-gift-art { bottom: 38px; }
}
@media (min-width: 651px) and (max-width: 1050px) {
  .hero { padding-bottom: 65px; }
  .hero .ny-gift-art { bottom: 34px; }
}
@media (max-width: 650px) {
  .hero { padding-bottom: 65px; }
  .hero .ny-gift-art { bottom: 33px; }
}

/* v7: reduce space between navigation and hero heading. */
@media (min-width: 651px) { .hero { padding-top: 20px; } }
@media (max-width: 650px) { .hero { padding-top: 28px; } }
