/* A seasonal layer for Gift Guides only; the guide artwork stays untouched. */
.gift-guides-page .topline { background: var(--about-olive); }
.gift-guides-page .topline span:last-child { font-size: 12px; }
.gift-guides-page .collection-heading { align-items: center; }
.gift-guides-page .holiday-kicker {
  margin: 0 0 14px; color: var(--about-olive); font-family: Atelier, Georgia, serif;
  font-size: 14px; line-height: 1.5; letter-spacing: .09em; text-transform: uppercase;
}
.gift-guides-page .collection-heading .section-dek { margin-top: 24px; }
.gift-guides-page .collection-heading {
  position: relative; padding-block: 12px 24px;
}
.gift-guides-page .collection-heading::after {
  content: ""; position: absolute; bottom: -5px; left: 0; right: 0; height: 14px;
  background: url('/assets/sampler-edge.svg') repeat-x center / 48px 14px;
  opacity: .45; pointer-events: none;
}
.holiday-gift-wrap { flex: 0 0 205px; align-self: center; text-align: center; }
.holiday-gift {
  display: block; width: 100%; padding: 0; border: 0; background: none;
  color: var(--wine); touch-action: manipulation;
}
.holiday-gift:disabled { cursor: default; }
.holiday-parcels { display: block; width: 100%; height: auto; overflow: visible; }
.holiday-lid { transform-origin: 92px 74px; transition: transform 650ms cubic-bezier(.22,.8,.24,1); }
.holiday-cheer { opacity: 0; transform: translateY(28px); transition: opacity 400ms, transform 650ms ease; }
.holiday-gift.is-unwrapped .holiday-lid { transform: translate(-8px,-22px) rotate(-12deg); }
.holiday-gift.is-unwrapped .holiday-cheer { opacity: 1; transform: translateY(-4px); }
.holiday-card-gift { width: 40px; height: 40px; overflow: visible; }
.holiday-card-gift .parcel-bow { transform-origin: 24px 20px; }
.holiday-snow {
  position: fixed; inset: 0; z-index: 30; overflow: hidden; pointer-events: none;
  contain: strict; transition: opacity 350ms; user-select: none;
}
.holiday-flake {
  position: absolute; top: -20px; left: var(--left); width: var(--size); height: var(--size);
  background: #fffdf8; border-radius: 50%; color: #a9bdc5;
  box-shadow: 0 0 1px 1px #8c9ea72b; opacity: var(--opacity);
  animation: holiday-snowfall var(--duration) var(--delay) linear infinite;
}
.holiday-flake-stitch { background: none; box-shadow: none; border-radius: 0; }
.holiday-flake-stitch::before, .holiday-flake-stitch::after {
  content: ""; position: absolute; top: 45%; left: 0; width: 100%; height: 1.4px;
  border-radius: 1px; background: currentColor; transform: rotate(45deg);
}
.holiday-flake-stitch::after { transform: rotate(-45deg); }
.holiday-motion-toggle {
  position: fixed; right: 20px; bottom: max(18px,env(safe-area-inset-bottom)); z-index: 35;
  display: inline-flex; align-items: center; gap: 8px; max-width: calc(100vw - 32px);
  min-height: 44px; border: 1px solid #5c1b3b40; border-radius: 3px; padding: 8px 12px;
  background: var(--paper); color: var(--wine); font-family: Atelier, Georgia, serif;
  font-size: 14px; line-height: 1.4; box-shadow: 0 2px 9px #5c1b3b12;
}
.holiday-motion-toggle[hidden] { display: none; }
.holiday-motion-toggle svg { width: 18px; height: 18px; }
.holiday-paused .holiday-snow, .holiday-reduced .holiday-snow { opacity: 0; visibility: hidden; }
:is(.holiday-paused,.holiday-tab-hidden,.holiday-reduced) .holiday-flake { animation-play-state: paused; }
:is(.holiday-paused,.holiday-tab-hidden,.holiday-reduced) :is(.holiday-main-parcel,.holiday-small-parcel,.parcel-bow) { animation: none !important; }
:is(.holiday-paused,.holiday-reduced) :is(.holiday-lid,.holiday-cheer) { transition: none; }
@keyframes holiday-snowfall {
  from { transform: translate3d(0,-20px,0) rotate(0deg); }
  to { transform: translate3d(var(--drift),calc(100vh + 50px),0) rotate(150deg); }
}
@keyframes holiday-parcel-wiggle {
  0%,78%,100% { transform: rotate(0deg); }
  83% { transform: rotate(-3deg); } 89% { transform: rotate(3deg); } 95% { transform: rotate(-1deg); }
}
@keyframes holiday-bow-sway { 0%,100% { transform: rotate(0deg); } 35% { transform: rotate(-9deg); } 70% { transform: rotate(6deg); } }
@media (prefers-reduced-motion: no-preference) {
  .gift-guides-page[data-holiday-ready] .holiday-main-parcel { transform-origin: 92px 153px; animation: holiday-parcel-wiggle 8s 1s ease-in-out infinite; }
  .holiday-gift:is(:hover,:focus-visible,.is-unwrapped) .holiday-main-parcel { animation: none; }
  .gift-guides-page .field-entry-open:is(:hover,:focus-visible) .parcel-bow { animation: holiday-bow-sway 1.1s ease-in-out; }
}
@media (hover: hover) and (pointer: fine) {
  .holiday-gift:not(:disabled):hover .holiday-lid { transform: translate(-8px,-22px) rotate(-12deg); }
  .holiday-gift:not(:disabled):hover .holiday-cheer { opacity: 1; transform: translateY(-4px); }
}
@media (max-width: 700px) {
  .holiday-gift-wrap { flex-basis: 130px; }
  .gift-guides-page .holiday-kicker { font-size: 12px; margin-bottom: 10px; }
  .holiday-motion-toggle { right: 12px; bottom: max(12px,env(safe-area-inset-bottom)); }
  .gift-guides-page .footer-bottom { padding-bottom: 80px; }
}
@media (max-width: 480px) {
  .gift-guides-page .collection-heading { display: grid; grid-template-columns: minmax(0,1fr); gap: 8px; }
  .gift-guides-page .collection-heading>div:first-child { width: 100%; }
  .holiday-gift-wrap { width: 140px; justify-self: center; }
  .gift-guides-page .collection-heading .section-dek { margin-top: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .holiday-snow, .holiday-motion-toggle { display: none; }
  .holiday-gift *, .holiday-card-gift * { animation: none !important; transition: none !important; }
}
