/* 267: the December edition of the welcome page (2026-11-23, from the Christmas mock).
   Seasonal: everything here styles elements marked data-season="december"; season.js hides them after January 1.
   Restraint is the brief: one gold ribbon and bow, two ornaments, faint snow. No holiday discount anywhere. */

/* The hero keeps its product story; a ribbon is tied across it and a little snow falls behind. */
.home-hero { position: relative; isolation: isolate; overflow: clip; }
.dec-hero-snow, .dec-snow { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.dec-hero-snow::before, .dec-snow::before, .dec-hero-snow::after { content: ""; position: absolute; inset: -100% 0 0 0; opacity: .5;
  background-image: radial-gradient(1.5px 1.5px at 20px 30px, rgba(255, 244, 214, .9), transparent 60%), radial-gradient(1.2px 1.2px at 140px 90px, rgba(255, 244, 214, .7), transparent 60%), radial-gradient(1.8px 1.8px at 260px 160px, rgba(255, 236, 190, .8), transparent 60%), radial-gradient(1.3px 1.3px at 80px 210px, rgba(255, 255, 255, .7), transparent 60%);
  background-size: 300px 260px; }
.dec-hero-snow::after { opacity: .35; filter: blur(.4px);
  background-image: radial-gradient(2.4px 2.4px at 60px 50px, rgba(255, 236, 190, .55), transparent 60%), radial-gradient(2px 2px at 330px 240px, rgba(255, 255, 255, .45), transparent 60%);
  background-size: 420px 460px; }

.home-hero-visual { position: relative; }
.dec-wrap { position: absolute; inset: -34px -50vw auto -104px; height: 0; pointer-events: none; z-index: 1; }
.dec-band { position: absolute; left: 0; right: 0; top: 0; height: 10px; border-radius: 2px;
  background: linear-gradient(180deg, #f3d58a, #c99b3a 55%, #a37b25); box-shadow: 0 6px 18px rgba(0, 0, 0, .35);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 72px); mask-image: linear-gradient(90deg, transparent, #000 72px); }
.dec-bow { position: absolute; top: -22px; width: 88px; height: 52px; z-index: 2; }
.dec-wrap .dec-bow { left: calc(104px + min(56%, 330px)); transform: translateX(-50%); }
.dec-bow i { position: absolute; display: block; }
.dec-bow .lp { top: 4px; width: 40px; height: 30px; border: 6px solid #d9b354; border-radius: 55% 45% 50% 50% / 62% 62% 38% 38%; box-shadow: inset 0 2px 0 rgba(255, 240, 200, .5), 0 6px 14px rgba(0, 0, 0, .3); }
.dec-bow .lp.l { left: 0; transform: rotate(-16deg); }
.dec-bow .lp.r { right: 0; transform: rotate(16deg) scaleX(-1); }
.dec-bow .knot { left: 50%; top: 12px; width: 16px; height: 18px; margin-left: -8px; border-radius: 6px; background: linear-gradient(180deg, #f6dc94, #b88c2e); box-shadow: 0 3px 8px rgba(0, 0, 0, .35); }
.dec-bow .tail { top: 26px; width: 10px; height: 32px; background: linear-gradient(180deg, #d9b354, #a37b25); clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 82%, 0 100%); }
.dec-bow .tail.l { left: 32px; transform: rotate(14deg); }
.dec-bow .tail.r { right: 32px; transform: rotate(-14deg); }
.dec-orns { position: absolute; top: 4px; left: 14px; display: flex; gap: 12px; }
.dec-orn { position: relative; display: block; width: 30px; height: 30px; margin-top: 44px; border-radius: 50%; transform-origin: 50% -44px;
  box-shadow: inset -6px -8px 14px rgba(0, 0, 0, .35), 0 10px 22px rgba(0, 0, 0, .35); }
.dec-orn::before { content: ""; position: absolute; left: 50%; bottom: 100%; width: 1px; height: 44px; background: rgba(255, 227, 163, .5); }
.dec-orn::after { content: ""; position: absolute; left: 50%; top: -5px; width: 10px; height: 7px; margin-left: -5px; border-radius: 3px 3px 2px 2px; background: linear-gradient(90deg, #9c7a2c, #f3d58a, #9c7a2c); }
.dec-orn.is-gold { background: radial-gradient(circle at 34% 30%, #fff3c9 0, #e6c36a 22%, #b88a2c 58%, #6e4f14 100%); }
.dec-orn.is-pine { width: 36px; height: 36px; margin-top: 78px; transform-origin: 50% -78px; background: radial-gradient(circle at 34% 30%, #bfe3cf 0, #2f7a5a 26%, #134a36 64%, #06261a 100%); }
.dec-orn.is-pine::before { height: 78px; }

/* Your December, handled. */
.home-december { background: radial-gradient(70% 60% at 100% 0%, rgba(212, 173, 75, .14), transparent 62%), var(--g-canvas); }
.dec-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 32px; margin-bottom: 48px; }
.dec-head .home-heading { margin-bottom: 0; }
.dec-count { margin: 0; display: inline-flex; align-items: baseline; gap: 8px; padding: 10px 18px; border-radius: 999px; background: var(--g-card); box-shadow: inset 0 0 0 1px var(--g-line-strong); color: var(--g-text-2); font-size: 15px; line-height: 22px; white-space: nowrap; }
.dec-count b { color: var(--g-text); font-size: 22px; font-weight: 600; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }

.dec-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) repeat(2, minmax(0, 1fr)); grid-template-areas: "s g g" "s r e" "s c c"; gap: 16px; }
.dec-scene { grid-area: s; }
.dec-gift { grid-area: g; }
.dec-rush { grid-area: r; }
.dec-early { grid-area: e; }
.dec-closed { grid-area: c; }

/* The holiday-hours card hangs from the ribbon on a forest panel, and Glo answers on Christmas Day. */
.dec-scene { position: relative; isolation: isolate; overflow: hidden; margin: 0; min-height: 560px; padding: 72px 24px 24px; display: flex; flex-direction: column; justify-content: space-between; gap: 24px;
  border-radius: var(--g-radius-2xl); color: var(--g-on-dark);
  background: radial-gradient(90% 60% at 50% 0%, rgba(212, 173, 75, .22), transparent 62%), radial-gradient(70% 70% at 100% 100%, rgba(15, 107, 79, .34), transparent 66%), var(--g-forest); }
.dec-scene .dec-band { top: 34px; left: -24px; right: -24px; -webkit-mask-image: none; mask-image: none; }
.dec-scene .dec-bow { left: 50%; top: 12px; transform: translateX(-50%); }
.dec-hours { position: relative; z-index: 1; width: min(380px, 100%); margin: 0 auto; transform: rotate(-2deg); transform-origin: 50% -40px; }
.dec-hours::before, .dec-hours::after { content: ""; position: absolute; top: -28px; width: 1px; height: 30px; background: rgba(255, 227, 163, .6); }
.dec-hours::before { left: 22%; }
.dec-hours::after { right: 22%; }
.dec-hours-card { padding: 22px 22px 14px; border-radius: 18px; background: #fbf9f4; color: var(--g-text); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .6); }
.dec-hours-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.dec-hours-top p { margin: 0; }
.dec-hours-top small { color: var(--g-text-2); font-size: 13px; line-height: 18px; }
.dec-hours-top b { display: block; margin-top: 2px; font-size: 28px; line-height: 34px; font-weight: 600; letter-spacing: -.02em; }
.dec-hours ol { margin: 14px 0 0; padding: 0; list-style: none; }
.dec-hours li { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 10px 0; border-top: 1px solid var(--g-line); }
.dec-hours .d { font-size: 21px; font-weight: 600; letter-spacing: -.02em; line-height: 1; font-variant-numeric: tabular-nums; }
.dec-hours .d small { display: block; margin-top: 3px; color: var(--g-text-2); font-size: 11.5px; font-weight: 500; letter-spacing: 0; }
.dec-hours .n { font-size: 15px; line-height: 20px; min-width: 0; }
.dec-hours .s { color: var(--g-tint); font-size: 13px; font-weight: 600; text-align: right; }
.dec-hours .s.is-open { color: var(--g-gold-text); }
.dec-hours-foot { margin: 6px 0 0; padding-top: 10px; border-top: 1px solid var(--g-line); color: var(--g-text-2); font-size: 12.5px; line-height: 18px; }
.dec-glo { position: relative; z-index: 1; display: flex; align-items: flex-end; gap: 6px; }
.dec-glo picture { flex: none; }
.dec-glo img { display: block; width: 96px; height: 96px; filter: drop-shadow(0 14px 20px rgba(0, 0, 0, .5)); }
.dec-bubble { margin: 0 0 30px; padding: 12px 14px; border-radius: 16px 16px 16px 4px; background: var(--g-forest-2); color: var(--g-on-dark); font-size: 14px; line-height: 20px; box-shadow: inset 0 0 0 1px rgba(255, 227, 163, .25), 0 16px 30px -10px rgba(0, 0, 0, .6); }
.dec-bubble b { display: block; margin-bottom: 3px; color: var(--g-gold-on-dark); font-size: 12px; line-height: 16px; font-weight: 600; }

/* Four December days. */
.dec-cell { position: relative; overflow: hidden; min-height: 240px; padding: 24px; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px;
  border-radius: var(--g-radius-2xl); background: var(--g-card); box-shadow: 0 18px 40px -26px rgba(11, 26, 20, .4), 0 0 0 1px var(--g-line); }
.dec-cell h3 { margin: 0; font-size: 22px; line-height: 28px; font-weight: 600; letter-spacing: var(--g-track-title); }
.dec-cell h3 em { font-style: normal; }
.dec-cell > p:not(.dec-day) { margin: 0; max-width: 42ch; color: var(--g-text-2); font-size: 15.5px; line-height: 24px; }
.dec-day { position: absolute; top: 22px; left: 24px; margin: 0; color: var(--g-gold-text); font-size: 44px; line-height: 1; font-weight: 600; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.dec-day small { display: block; margin-top: 6px; color: var(--g-text-2); font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.dec-gift { background: linear-gradient(135deg, #fff7df, #f1e2b6); }
.dec-gift-card { position: absolute; right: 32px; top: 28px; width: 200px; padding: 16px 18px 18px; border-radius: 14px; transform: rotate(6deg); background: var(--g-forest); color: var(--g-on-dark); box-shadow: 0 22px 40px -16px rgba(11, 26, 20, .6); }
.dec-gift-card i { display: block; height: 8px; margin: -16px -18px 14px; border-radius: 14px 14px 0 0; background: linear-gradient(90deg, #a37b25, #f0cf7c, #a37b25); }
.dec-gift-card small { display: block; color: var(--g-on-dark-2); font-size: 11.5px; line-height: 16px; }
.dec-gift-card b { display: block; margin-top: 6px; color: #ffe3a3; font-size: 26px; line-height: 30px; font-weight: 600; letter-spacing: -.02em; }
.dec-gift-card > span { display: block; margin-top: 10px; color: var(--g-on-dark-2); font-size: 12px; line-height: 16px; }
.dec-gift > p:not(.dec-day) { max-width: 46ch; }
.dec-rush { background: var(--g-forest-2); color: var(--g-on-dark); box-shadow: none; }
.dec-rush .dec-day { color: var(--g-gold-on-dark); }
.dec-rush .dec-day small, .dec-rush > p:not(.dec-day) { color: var(--g-on-dark-2); }
.dec-closed { min-height: 200px; background: radial-gradient(60% 90% at 100% 0%, rgba(212, 173, 75, .22), transparent 62%), var(--g-forest); color: var(--g-on-dark); box-shadow: none; }
.dec-closed .dec-day { color: var(--g-gold-on-dark); }
.dec-closed .dec-day small, .dec-closed > p:not(.dec-day) { color: var(--g-on-dark-2); }
.dec-closed h3 em { color: var(--g-gold-on-dark); }
.dec-closed { padding-left: 128px; }
.dec-closed .dec-day { top: 50%; transform: translateY(-50%); }

@media (max-width: 1000px) {
  .dec-wrap { left: -24px; }
  .dec-wrap .dec-bow { left: calc(24px + min(50vw - var(--site-gutter, 24px), 280px)); }
  .dec-orns { display: none; }
  .dec-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-areas: "s s" "g g" "r e" "c c"; }
  .dec-scene { min-height: 0; }
}
@media (max-width: 640px) {
  .dec-wrap { top: -26px; }
  .dec-head { margin-bottom: 32px; }
  .dec-grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "s" "g" "r" "e" "c"; }
  .dec-scene { padding: 64px 16px 16px; }
  .dec-hours { transform: rotate(-1.2deg); }
  .dec-hours-card { padding: 18px 18px 12px; }
  .dec-hours-top b { font-size: 24px; line-height: 30px; }
  .dec-hours li { padding: 8px 0; }
  .dec-glo img { width: 84px; height: 84px; }
  .dec-bubble { margin-bottom: 24px; font-size: 13.5px; }
  /* 216e keeps the home page about 12 phone screens: on a phone the four days are a compact list, the number beside
     its text, and the gift card picture stays on wider screens. */
  .dec-grid { gap: 12px; }
  .dec-glo { margin-top: -8px; }
  .dec-bubble { margin-bottom: 16px; }
  .dec-cell, .dec-closed { min-height: 0; padding: 16px 18px; display: grid; grid-template-columns: 52px minmax(0, 1fr); align-content: start; gap: 4px 12px; }
  .dec-cell > :not(.dec-day) { grid-column: 2; }
  .dec-day, .dec-closed .dec-day { position: static; transform: none; grid-column: 1; grid-row: 1 / span 2; font-size: 30px; }
  .dec-day small { margin-top: 4px; font-size: 11px; }
  .dec-cell h3 { font-size: 18px; line-height: 24px; }
  .dec-cell > p:not(.dec-day) { font-size: 15px; line-height: 22px; }
  .dec-gift-card { display: none; }
}

@media (prefers-reduced-motion: no-preference) {
  .dec-hero-snow::before, .dec-snow::before { animation: dec-fall 34s linear infinite; }
  .dec-hero-snow::after { animation: dec-fall 56s linear infinite; }
  .dec-orn { animation: dec-sway 7s ease-in-out infinite; }
  .dec-orn.is-pine { animation-duration: 8.5s; animation-delay: -3s; }
}
@keyframes dec-fall { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-40px, 50%, 0); } }
@keyframes dec-sway { 0%, 100% { rotate: -3deg; } 50% { rotate: 3deg; } }

/* season.js marks the page when the season is over, so a page nobody cleaned up shows no Christmas. */
html[data-season-over] [data-season="december"] { display: none !important; }
