.christmas-collection {
  --xmas-plum: #4f233b;
  --xmas-ink: #2e2226;
  --xmas-red: #9e2540;
  --xmas-paper: url("/assets/riddle-desk-paper.webp") center top / 690px auto;
}
.christmas-collection-hero {
  position: relative;
  isolation: isolate;
  background: var(--xmas-paper), #f7e6cc;
}
.christmas-collection-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0 0 0 auto;
  width: min(79%, 1180px);
  background: url("/assets/collections/christmas-timberline.webp") right bottom / 100% auto no-repeat;
  opacity: .46;
  pointer-events: none;
}
.christmas-collection-opening {
  display: grid;
  grid-template-columns: minmax(0,.83fr) minmax(0,1.17fr);
  grid-template-areas: "ornament copy";
  align-items: center;
  gap: clamp(20px,3.6vw,56px);
  min-height: 480px;
  padding-block: clamp(24px,3.3vw,46px);
}
.christmas-collection-ornament {
  grid-area: ornament;
  width: min(100%, 428px);
  height: auto;
  justify-self: center;
  pointer-events: none;
}
.christmas-collection-copy { grid-area: copy; }
.christmas-collection-back {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  color: #594037;
  font-weight: 700;
  text-underline-offset: .2em;
}
.christmas-collection-copy h1 {
  max-width: 12ch;
  margin: .12em 0 .17em;
  color: var(--xmas-plum);
  font: 800 clamp(2.7rem,6.2vw,6rem)/.92 var(--font-editorial);
  letter-spacing: -.062em;
}
.christmas-collection-copy h1 span {
  display: table;
  margin: 0 0 .26em;
  padding: .18em .47em .22em;
  background: #f1d7af;
  border: 1px solid #d0a67a;
  border-radius: 13px 5px 8px 3px;
  box-shadow: 2px 3px #8f695436;
  text-transform: none;
  font: italic 700 .43em/.95 var(--font-editorial);
  letter-spacing: -.035em;
  transform: rotate(-3deg);
}
.christmas-collection-copy p {
  max-width: 44ch;
  margin: 0 0 17px;
  color: var(--xmas-ink);
  font-size: clamp(.98rem,1.34vw,1.14rem);
  line-height: 1.43;
}
.christmas-rebus-link { color: var(--xmas-plum); font-weight: 700; text-underline-offset: .16em; }
.christmas-collection-actions, .christmas-card-actions {
  display: flex;
  align-items: stretch;
  flex-wrap: wrap;
  gap: 8px;
}
.christmas-collection .btn-primary {
  background: var(--xmas-red);
  color: #fff7e7;
  box-shadow: 0 3px 0 #6d2638;
  border-color: #841c34;
}
.christmas-collection .btn-secondary {
  border-color: #6a3443;
  color: #3f2532;
  background: #fff4e2d0;
}
.christmas-collection-actions .btn, .christmas-card-actions .btn {
  min-height: 44px;
  border-radius: 21px;
  white-space: normal;
}
.christmas-collection-actions .btn { padding-inline: clamp(13px,1.45vw,22px); }
.christmas-collection-actions .btn-primary svg,
.christmas-card-actions .btn-primary svg { fill: currentColor; }
.christmas-collection :focus-visible { outline: 2px solid #704127; outline-offset: 4px; }

.christmas-collection-featured {
  position: relative;
  padding: clamp(20px,3vw,44px) 0 clamp(53px,7vw,118px);
  background:
    url("/assets/collections/christmas-timberline.webp") center bottom / min(100%,1080px) auto no-repeat,
    var(--xmas-paper), #f8ead3;
  border-top: 1px solid #b397673b;
}
.christmas-collection-featured h2, .christmas-collection-more h2 {
  margin: 0 0 .55em;
  color: var(--xmas-plum);
  font: 800 clamp(1.75rem,4.7vw,3.3rem)/1.03 var(--font-editorial);
  letter-spacing: -.045em;
}
.christmas-collection-featured h2 { text-align: center; }
.christmas-collection-featured h2::after {
  content: "";
  display: block;
  width: min(57%,240px);
  height: 6px;
  margin: 9px auto 19px;
  border-radius: 78% 100% 14% 36%;
  background: #a53c45;
  transform: rotate(-1.5deg);
}
.christmas-feature-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: clamp(12px,2.6vw,34px); }
.christmas-feature-card {
  display: grid;
  grid-template-rows: auto 1fr auto;
  justify-items: center;
  gap: 13px;
  min-width: 0;
  padding: clamp(12px,2vw,23px);
  border: 1px solid #a88357;
  border-radius: 17px 9px 14px 8px;
  background: var(--xmas-paper), #fff3d9;
  box-shadow: 3px 5px #7952323b, inset 0 0 0 4px #ecd5a7a6;
}
.christmas-feature-card h3 {
  align-self: center;
  margin: 0;
  color: var(--xmas-plum);
  font: 700 clamp(1.45rem,2.8vw,2.35rem)/1.02 var(--font-editorial);
  text-align: center;
}
.christmas-feature-card h3 a { color: inherit; text-decoration: none; }
.christmas-feature-card h3 a:hover { text-decoration: underline; }
.christmas-card-grid {
  display: grid;
  grid-template-columns: repeat(7,minmax(0,1fr));
  align-self: center;
  min-width: 0;
  width: min(100%,230px);
  gap: 4px;
  padding: 13px 9px;
  border: 1px solid #b49a6b;
  border-radius: 8px 3px 10px 3px;
  background: #fff4df;
  box-shadow: 3px 5px #8a6d433e;
  color: #282016;
  transform: rotate(-3deg);
  font: 700 clamp(.66rem,1.5vw,1.22rem)/1.12 system-ui,sans-serif;
  text-align: center;
  pointer-events: none;
}
.christmas-feature-card:nth-child(2) { border-color: #6d7651; }
.christmas-feature-card:nth-child(2) .christmas-card-grid { background: #ecedcf; transform: rotate(2deg); }
.christmas-feature-card:nth-child(3) .christmas-card-grid { background: #f3ded1; transform: rotate(-1deg); }
.christmas-card-actions { justify-content: center; }
.christmas-card-actions .btn { padding-inline: clamp(9px,1.55vw,16px); gap: 5px; }

.christmas-collection-more { background: var(--xmas-paper), #f8ecd5; }
.christmas-collection-more .puzzle-card { background: #fff5df; border-color: #c1a787; border-radius: 18px 8px 16px 10px; }
.christmas-collection-more .card-body h3 { color: var(--xmas-plum); }
.christmas-season-links { margin-block: 0 24px; }
.christmas-season-links a { text-decoration: underline; text-underline-offset: .2em; }

@media (max-width: 850px) {
  .christmas-collection-opening { min-height: 0; gap: 17px; }
  .christmas-feature-grid { grid-template-columns: minmax(0,1fr); }
  .christmas-feature-card {
    grid-template: "grid title actions" / minmax(98px,.7fr) minmax(0,1.2fr) auto;
    gap: 8px 13px;
    align-items: center;
    justify-items: stretch;
  }
  .christmas-feature-card h3 { grid-area: title; font-size: clamp(1.15rem,3.1vw,1.85rem); text-align: left; }
  .christmas-feature-card .christmas-card-grid { grid-area: grid; }
  .christmas-feature-card .christmas-card-actions { grid-area: actions; flex-direction: column; }
  .christmas-collection-actions .btn { width: min(100%,365px); }
}
@media (max-width: 560px) {
  .christmas-collection-opening {
    grid-template: "ornament" "copy" / minmax(0,1fr);
    justify-items: center;
    text-align: center;
    padding-block: 10px 22px;
    gap: 0;
  }
  .christmas-collection-ornament { width: min(62%,213px); }
  .christmas-collection-copy { width: min(100%,410px); }
  .christmas-collection-copy h1 { font-size: clamp(2.45rem,11vw,3.4rem); margin-inline: auto; }
  .christmas-collection-copy h1 span { margin-inline: auto; }
  .christmas-collection-copy p { margin-inline: auto; margin-bottom: 11px; }
  .christmas-collection-actions { justify-content: center; }
  .christmas-collection-actions .btn { width: 100%; }
  .christmas-collection-featured { padding-bottom: 52px; padding-top: 20px; }
  .christmas-feature-card {
    grid-template: "grid title" "grid actions" / minmax(76px,.58fr) minmax(0,1.42fr);
    gap: 2px 11px;
    padding: 11px 9px;
  }
  .christmas-feature-card .christmas-card-actions { flex-direction: row; justify-content: flex-start; gap: 5px; }
  .christmas-card-grid { font-size: clamp(.61rem,2.25vw,.78rem); padding: 8px 5px; gap: 2px; }
}


.christmas-pack-options { max-width: 100%; }
.christmas-pack-options summary { list-style: none; cursor: pointer; }
.christmas-pack-options summary::-webkit-details-marker { display: none; }
.christmas-pack-options summary::after { content: "▾"; margin-inline-start: .35em; }
.christmas-pack-options[open] summary::after { content: "▴"; }
.christmas-pack-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}
.christmas-pack-links a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding-inline: 8px;
  font-weight: 700;
}
.christmas-rebus-print a { font-weight: 700; }
@media (max-width: 620px) {
  .christmas-pack-options { width: min(100%,365px); }
}
