/* Christmas Bookshop 2026. Remove the homepage block with the seasonal section. */

.seasonal-christmas-2026 {
  padding: 28px 0 8px;
}

.seasonal-christmas-2026__panel {
  background:
    linear-gradient(180deg, rgba(247, 241, 230, 0.94), rgba(243, 230, 212, 0.96)),
    url("../assets/images/library-table.jpg") center/cover no-repeat;
  border: 1px solid #d7c4a4;
  border-radius: 16px;
  padding: 42px 36px;
  text-align: center;
  box-shadow: inset 0 0 0 1px rgba(166, 132, 74, 0.35);
}

.seasonal-christmas-2026__kicker {
  font-family: var(--ui-font);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #6e2433;
  margin-bottom: 10px;
}

.seasonal-christmas-2026 h2 {
  font-family: var(--hero-font);
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 500;
  line-height: 1.05;
  color: #2c2118;
  margin-bottom: 12px;
}

.seasonal-christmas-2026 p {
  max-width: 38rem;
  margin: 0 auto 22px;
  color: #3d342c;
}

/* Christmas Bookshop: an old-world bookshop in mulled wine and antique gold.
   Real, permitted jackets are the only pictures; wrapped gifts stand in for
   photographs we have no permission to show. */

/* The shelf edges (::before/::after) overhang by up to 18px; clip them at the
   viewport so phones never scroll sideways. Nothing visible changes. */
html:has(body.page-christmas) { overflow-x: clip; }

body.page-christmas {
  --wine-deep: #33101a;
  --wine: #521725;
  --mulled: #6b2131;
  --claret: #8a2c3f;
  --gold: #b48f55;
  --gold-light: #dcc08a;
  --gold-dark: #7d5f30;
  --ivory: #faf4ea;
  --paper: #fffaf2;
  --ink: #2b1a16;
  --green: #1f3b2f;
  --green-deep: #142a20;
  background: var(--ivory);
  color: var(--ink);
}

/* Hero: a candlelit bookshop window */
.shop-hero {
  position: relative;
  overflow: hidden;
  color: #f6ead6;
  background:
    radial-gradient(ellipse at 74% 46%, rgba(246, 196, 118, 0.30), transparent 48%),
    radial-gradient(ellipse at 6% 110%, rgba(18, 6, 9, 0.65), transparent 58%),
    linear-gradient(165deg, #4b1321 0%, #5f1b2b 46%, #3a0f1a 100%);
  border-bottom: 1px solid var(--gold);
  padding: 0;
}

/* Owner-approved Christmas Eve Chapter artwork: full composition, no
   regenerated scene. Baked title/tagline stay in the image; HTML copy is
   available to assistive tech only. Functional collection nav stays below. */
.shop-hero--artwork {
  background: #3a0f1a;
}

.shop-hero__artwork {
  position: relative;
  overflow: hidden;
  background: #3a0f1a;
  /* Crop only the baked nav strip at the bottom of the owner artwork so
     the real collection links are not duplicated underneath. Family scene,
     tree, fireplace and title stay in frame. */
  aspect-ratio: 1024 / 292;
}

.shop-hero__artwork-plate,
.shop-hero__artwork-panel > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #3a0f1a;
}

.shop-hero__artwork-plate {
  object-position: center top;
}

.shop-hero__artwork-mobile {
  display: none;
}

.shop-hero__sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.door__cover--artwork {
  width: clamp(140px, 18vw, 220px);
  aspect-ratio: 1024 / 341;
  object-fit: cover;
  object-position: 72% center;
  border-radius: 2px;
}

/* Mobile only: the approved file is a wide landscape. One tall cover-crop
   cannot keep title, fireplace, family and tree readable together. Present
   the same file as two focal panels; scale zooms past the baked nav strip.
   Desktop plate and aspect-ratio above stay untouched. */
@media (max-width: 700px) {
  .page-christmas--artwork-hero .shop-hero__artwork {
    aspect-ratio: unset;
    height: auto;
  }

  .page-christmas--artwork-hero .shop-hero__artwork-plate {
    display: none;
  }

  .page-christmas--artwork-hero .shop-hero__artwork-mobile {
    display: grid;
    grid-template-rows: minmax(200px, 36vh) minmax(280px, 52vh);
  }

  .page-christmas--artwork-hero .shop-hero__artwork-panel {
    overflow: hidden;
    background: #3a0f1a;
  }

  .page-christmas--artwork-hero .shop-hero__artwork-panel--place > img {
    object-position: 14% 10%;
    transform: scale(1.16);
    transform-origin: 18% 8%;
  }

  .page-christmas--artwork-hero .shop-hero__artwork-panel--scene > img {
    object-position: 70% 40%;
    transform: scale(1.28);
    transform-origin: 68% 36%;
  }
}


.shop-hero__garland {
  position: relative;
  z-index: 2;
  height: 6px;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold-light) 50%, var(--gold-dark));
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.3);
}

.shop-hero__inner {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 56px 0 34px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 36px;
  align-items: center;
}

.shop-hero__panel { max-width: 34rem; }

.shop-hero .shop-kicker { color: var(--gold-light); }
.shop-hero .shop-kicker::after { background: rgba(220, 192, 138, 0.6); }
.page-christmas .shop-hero h1 { color: #fbf3e4; }
.shop-hero .shop-lede { color: #f0dfc6; }

.shop-hero__invitation {
  font-family: var(--ui-font);
  font-size: 15px;
  letter-spacing: 0.02em;
  color: #dcc5a4;
}

.window {
  position: relative;
  padding: 34px 26px 0;
  border: 1px solid rgba(18, 6, 9, 0.8);
  border-radius: 999px 999px 4px 4px / 260px 260px 4px 4px;
  background:
    radial-gradient(ellipse at 50% 58%, rgba(255, 214, 150, 0.20), transparent 66%),
    rgba(24, 7, 11, 0.32);
  box-shadow:
    inset 0 0 0 6px rgba(51, 16, 26, 0.55),
    inset 0 0 0 7px rgba(220, 192, 138, 0.12),
    0 24px 48px rgba(0, 0, 0, 0.28);
}


.window__display {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  min-height: 250px;
  padding-top: 16px;
}

.window__cover {
  position: relative;
  width: clamp(88px, 9.5vw, 132px);
  height: auto;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  margin: 0 -10px;
  border-radius: 2px 4px 4px 2px;
  box-shadow: 0 20px 34px rgba(0, 0, 0, 0.5), inset 3px 0 0 rgba(255, 255, 255, 0.1);
  transform: rotate(var(--tilt, 0deg)) translateY(var(--lift, 0));
}

.window__display > :nth-child(1) { --tilt: -6deg; --lift: 12px; z-index: 1; }
.window__display > :nth-child(2) { --tilt: -2.5deg; --lift: 3px; z-index: 2; }
.window__display > :nth-child(3) { --tilt: 0deg; --lift: -6px; z-index: 3; }
.window__display > img:nth-child(3) { width: clamp(108px, 12vw, 168px); }
.window__display > :nth-child(4) { --tilt: 2.5deg; --lift: 3px; z-index: 2; }
.window__display > :nth-child(5) { --tilt: 6deg; --lift: 12px; z-index: 1; }
.window__display > img:only-child { --tilt: 0deg; --lift: 0; width: clamp(140px, 15vw, 196px); }

.window__gift {
  position: relative;
  width: clamp(96px, 10vw, 136px);
  margin: 0 6px;
  transform: rotate(var(--tilt, 0deg));
}

.window__gift .parcel { width: 100%; }
.window__gift .plate { width: 100%; padding: 12px 8px; }
.window__gift .plate__title { font-size: clamp(14px, 1.3vw, 18px); }
.window__display > .window__gift:first-child { --tilt: -4deg; }
.window__display > .window__gift:last-child { --tilt: 4deg; }

.window__cover[src*="-deluxe"] {
  padding: 5px;
  background: #fff;
  box-shadow: 0 0 0 1px var(--gold-light), 0 20px 34px rgba(0, 0, 0, 0.5);
}

.window__ledge {
  position: relative;
  z-index: 4;
  height: 14px;
  margin: 0 -26px;
  background: linear-gradient(180deg, #ecd39f 0%, #c39d60 40%, #8a6936 100%);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.45);
}

.shop-hero .shop-invite {
  position: relative;
  z-index: 1;
  justify-content: center;
  padding: 18px 20px 26px;
  margin: 0;
  background: rgba(28, 8, 13, 0.5);
  border-top: 1px solid rgba(220, 192, 138, 0.45);
}

.shop-hero .shop-invite a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding-bottom: 0;
  color: #f0dcae;
  border-bottom-color: rgba(220, 192, 138, 0.7);
}
.shop-hero .shop-invite a:hover { color: #fff; }

@media (min-width: 900px) {
  .shop-hero__inner {
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    padding: 76px 0 44px;
  }
  .window__display { min-height: 290px; }
}

/* Type */
.shop-kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--ui-font);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--claret);
  margin-bottom: 12px;
}

.shop-kicker::after {
  content: "";
  width: 44px;
  height: 1px;
  background: var(--gold);
}

.shop-hero h1,
.shop-section h2,
.shop-doors h2,
.shop-genres h2 {
  font-family: var(--hero-font);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--wine-deep);
}

.shop-hero h1 {
  font-size: clamp(46px, 7vw, 84px);
  line-height: 0.95;
  margin-bottom: 16px;
}

.shop-lede {
  font-family: var(--hero-font);
  font-style: italic;
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1.35;
  margin-bottom: 18px;
}

.shop-hero .shop-lede--intro {
  font-size: clamp(20px, 2.2vw, 26px);
  line-height: 1.4;
}

.shop-invite {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 20px;
}

.shop-invite a {
  font-family: var(--ui-font);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 3px;
}

.shop-disclosure-line {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 14px 0;
  border-bottom: 1px solid #e6d5bb;
  font-family: var(--ui-font);
  font-size: 14px;
  line-height: 1.5;
  color: #574538;
  text-align: center;
}

.shop-disclosure-line a,
.shop-disclosure a { color: var(--claret); }

.shop-disclosure {
  width: min(820px, calc(100% - 36px));
  margin: 64px auto 28px;
  padding: 18px 22px;
  border-top: 1px solid var(--gold);
  color: #574538;
  font-family: var(--ui-font);
  font-size: 14px;
  line-height: 1.6;
}

/* Sections */
.shop-section,
.shop-doors,
.shop-genres {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 60px 0 22px;
}

.shop-section h2,
.shop-doors h2,
.shop-genres h2 {
  font-size: clamp(34px, 4.6vw, 54px);
  line-height: 1.04;
  margin: 4px 0 12px;
}

.shop-section h3 {
  font-family: var(--hero-font);
  font-weight: 500;
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--wine-deep);
  margin: 4px 0 8px;
}

.shop-section__head { max-width: 62ch; margin-bottom: 22px; }

.shop-intro {
  color: #4a3a30;
  margin-bottom: 8px;
}

.shop-omission {
  font-family: var(--ui-font);
  font-size: 14px;
  color: #6a5747;
}

.shelf-more { margin-top: 18px; font-family: var(--ui-font); }

.shelf-more a {
  color: var(--claret);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid var(--gold);
}

/* Full-bleed mulled-wine bands for gifts, and a darker collector's cabinet */
.shop-section--wine,
.shop-section--cabinet {
  position: relative;
  margin-top: 48px;
  padding-bottom: 56px;
  box-shadow: 0 0 0 100vmax var(--band);
  clip-path: inset(0 -100vmax);
  background: var(--band);
  --band: var(--mulled);
}

.shop-section--cabinet {
  --band: var(--wine-deep);
  border-top: 1px solid var(--gold);
  border-bottom: 1px solid var(--gold);
}

.shop-section--wine::before,
.shop-section--cabinet::before {
  content: "";
  position: absolute;
  inset: 18px -12px;
  border: 1px solid rgba(220, 192, 138, 0.35);
  pointer-events: none;
}

.shop-section--wine h2,
.shop-section--cabinet h2,
.shop-section--cabinet h3 { color: #fbf3e4; }
.shop-section--wine .shop-kicker,
.shop-section--cabinet .shop-kicker { color: var(--gold-light); }
.shop-section--wine .shop-intro,
.shop-section--wine .shop-omission,
.shop-section--cabinet .shop-intro,
.shop-section--cabinet .shop-omission { color: #ead9bf; }
.shop-section--wine .shelf-more a,
.shop-section--cabinet .shelf-more a { color: #f0dcae; }

.shop-section--page { padding-top: 40px; }

/* Shelves of tiles */
.shop-shelf {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.shop-shelf--scroll {
  grid-auto-flow: column;
  grid-template-columns: none;
  grid-auto-columns: minmax(190px, 64%);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain;
  padding: 2px 2px 14px;
  scrollbar-width: thin;
  scrollbar-color: var(--gold) transparent;
}

.shop-shelf--scroll > .tile { scroll-snap-align: start; }

@media (min-width: 700px) {
  .shop-shelf,
  .shop-shelf--scroll {
    grid-auto-flow: row;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-columns: auto;
    overflow: visible;
    padding: 0;
    gap: 18px;
  }
}

@media (min-width: 1000px) {
  .shop-shelf,
  .shop-shelf--scroll { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
/* Genre shelves: a brass plaque that opens onto a swipeable shelf */
.genre-rows {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
  margin-top: 26px;
}

.genre-row { scroll-margin-top: 80px; }

.genre-row__plaque {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) 28px;
  grid-template-areas: "minis title open" "minis count open" "minis intro open";
  column-gap: 14px;
  align-items: center;
  min-height: 76px;
  padding: 12px 14px;
  cursor: pointer;
  list-style: none;
  background: linear-gradient(180deg, #fbf3e2, #f3e6cf);
  border: 1px solid var(--gold);
  box-shadow: inset 0 0 0 4px #fbf3e2, inset 0 0 0 5px rgba(180, 143, 85, 0.45);
  transition: box-shadow 0.2s ease;
}

.genre-row__plaque::-webkit-details-marker { display: none; }
.genre-row__plaque:hover { box-shadow: inset 0 0 0 4px #fbf3e2, inset 0 0 0 5px var(--claret); }

.genre-row__minis { grid-area: minis; display: flex; align-items: flex-end; min-width: 30px; padding-right: 12px; }
.genre-row__mini {
  width: 34px;
  height: auto;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  margin-right: -10px;
  box-shadow: 0 4px 8px rgba(43, 26, 22, 0.3);
}
.genre-row__mini:nth-child(2) { transform: translateY(-3px); z-index: 1; }
.genre-row__minis:empty::before {
  content: "";
  width: 30px;
  height: 10px;
  background: url(../christmas/ornaments/sprig.svg) center / contain no-repeat;
}

.page-christmas .genre-row__plaque h3 {
  grid-area: title;
  font-family: var(--hero-font);
  font-weight: 500;
  font-size: clamp(22px, 2.6vw, 28px);
  line-height: 1.05;
  color: var(--wine-deep);
  margin: 0;
}

.genre-row__count {
  grid-area: count;
  font-family: var(--ui-font);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-dark);
}

.genre-row__intro {
  grid-area: intro;
  font-size: 14.5px;
  line-height: 1.45;
  color: #4a3a30;
  margin-top: 2px;
}

.genre-row__open {
  grid-area: open;
  justify-self: end;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  background:
    linear-gradient(var(--claret), var(--claret)) center / 12px 1.5px no-repeat,
    linear-gradient(var(--claret), var(--claret)) center / 1.5px 12px no-repeat;
}

.genre-row__details[open] .genre-row__open {
  background: linear-gradient(var(--claret), var(--claret)) center / 12px 1.5px no-repeat;
}

.genre-row__details[open] > .shop-shelf { margin-top: 14px; }
.genre-row__details > .shelf-more { margin: 4px 0 18px; }

.shop-shelf.shop-shelf--row {
  grid-auto-flow: column;
  grid-template-columns: none;
  grid-auto-columns: minmax(190px, 64%);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 2px 2px 14px;
  gap: 14px;
}

.shop-shelf--row > .tile { scroll-snap-align: start; }
.shop-shelf--row .shop-buy { font-size: 13.5px; padding-inline: 6px; white-space: nowrap; }
.shop-shelf--row .tile h3 { font-size: 21px; }

@media (min-width: 700px) {
  .shop-shelf.shop-shelf--row { grid-auto-columns: 214px; }
}

@media (min-width: 900px) {
  .genre-rows { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-flow: row dense; gap: 14px 22px; }
  .genre-row:has(details[open]) { grid-column: 1 / -1; }
  .genre-row__plaque { padding: 14px 18px; }
  .genre-row__mini { width: 42px; }
}

@media (min-width: 1100px) {
  .shop-shelf.shop-shelf--row { grid-auto-columns: 204px; }
}

.tile {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: var(--paper);
  border: 1px solid #e2cfae;
  padding: 0 16px 16px;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset, 0 8px 22px rgba(51, 16, 26, 0.08);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.tile:hover { box-shadow: 0 20px 36px rgba(51, 16, 26, 0.18); transform: translateY(-3px); }

.tile__visual {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  aspect-ratio: 5 / 6;
  margin: 0 -16px 6px;
  padding: 22px 18px 16px;
  background:
    radial-gradient(ellipse at 50% 96%, rgba(120, 40, 55, 0.20), transparent 62%),
    radial-gradient(ellipse at 50% 20%, rgba(255, 240, 214, 0.9), transparent 70%),
    #efe2cc;
  border-bottom: 2px solid var(--gold);
  overflow: hidden;
}

.tile__body { flex: 1 0 auto; margin-bottom: 12px; }

.tile__cover {
  display: block;
  height: 100%;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 12px 16px rgba(43, 26, 22, 0.3));
}

.tile__credit {
  font-family: var(--ui-font);
  font-size: 12px;
  color: #7a6656;
  text-align: center;
  margin-bottom: 10px;
}

.tile__theme {
  font-family: var(--ui-font);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--claret);
  margin-bottom: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.tile h3 {
  font-family: var(--hero-font);
  font-weight: 500;
  font-size: 24px;
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: var(--wine-deep);
  margin: 0 0 4px;
}

.tile__author {
  font-family: var(--ui-font);
  font-size: 14px;
  color: var(--claret);
  margin-bottom: 6px;
}

.tile__features {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  list-style: none;
  margin: 4px 0 8px;
  padding: 0;
}

.tile__features li {
  font-family: var(--ui-font);
  font-size: 12px;
  font-weight: 600;
  color: var(--gold-dark);
  border: 1px solid var(--gold);
  background: #fbf1dc;
  padding: 2px 7px;
}

.tile__more {
  font-family: var(--ui-font);
  font-size: 13px;
  color: #574538;
  margin: 2px 0 10px;
}

.tile__more summary,
.buy-options summary {
  display: flex;
  align-items: center;
  min-height: 44px;
  cursor: pointer;
  color: var(--claret);
  font-weight: 600;
  list-style: none;
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-underline-offset: 3px;
}

.tile__more summary::-webkit-details-marker,
.buy-options summary::-webkit-details-marker { display: none; }
.tile__more[open] summary { margin-bottom: 4px; }
.tile__more { margin: 0; font-size: 14px; }

/* Choose edition · where to buy */
.buy-options {
  font-family: var(--ui-font);
  font-size: 14px;
  border-top: 1px dashed rgba(180, 143, 85, 0.6);
  margin-top: 6px;
}

.buy-options summary { justify-content: space-between; gap: 8px; text-decoration: none; }
.buy-options summary::after {
  content: "";
  flex: none;
  width: 8px;
  height: 8px;
  border-right: 1.5px solid var(--claret);
  border-bottom: 1.5px solid var(--claret);
  transform: rotate(45deg) translateY(-3px);
}
.buy-options[open] summary::after { transform: rotate(-135deg); }

.buy-options__count {
  margin-left: auto;
  font-size: 12px;
  font-weight: 600;
  color: var(--gold-dark);
}

.buy-options__panel { padding: 2px 0 10px; container-type: inline-size; }
.buy-options__where { font-size: 13px; color: #574538; }
.collector__copy .buy-options__where { color: #ead9bf; }

.buy-options__head {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin: 8px 0 4px;
}

.buy-options__list { list-style: none; margin: 0; padding: 0; }

.buy-options__list li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas: "format link" "title link";
  column-gap: 10px;
  align-items: center;
  padding: 6px 0;
  border-bottom: 1px solid #eadbc3;
}

.buy-options__format { grid-area: format; font-size: 12px; font-weight: 600; color: var(--claret); }
.buy-options__title { grid-area: title; font-family: var(--hero-font); font-size: 17px; line-height: 1.15; color: var(--ink); }

.buy-options__link {
  grid-area: link;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--wine-deep);
  text-decoration: none;
  border: 1px solid var(--gold);
  background: #fbf1dc;
}

.buy-options__link::after { content: "\2192"; margin-left: 6px; color: var(--gold-dark); }
.buy-options__link:hover { background: var(--wine); color: #fff; }

@container (max-width: 280px) {
  .buy-options__list li { grid-template-columns: minmax(0, 1fr); grid-template-areas: "format" "title" "link"; row-gap: 4px; }
  .buy-options__link { justify-self: start; margin-top: 4px; }
}

.buy-options__note { font-size: 12.5px; line-height: 1.45; color: #6a5747; margin-top: 8px; }

.collector__copy .buy-options { border-top-color: rgba(220, 192, 138, 0.4); max-width: 420px; }
.collector__copy .buy-options summary,
.collector__copy .buy-options__count,
.collector__copy .buy-options__head { color: var(--gold-light); }
.collector__copy .buy-options summary::after { border-color: var(--gold-light); }
.collector__copy .buy-options__list li { border-bottom-color: rgba(220, 192, 138, 0.25); }
.collector__copy .buy-options__title { color: #f7e9cf; }
.collector__copy .buy-options__format { color: #e9c9a4; }
.collector__copy .buy-options__note { color: #d8c3a4; }

.tile__rec {
  font-family: var(--body-font, Georgia, serif);
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink);
  margin-bottom: 8px;
}

.tile__evidence {
  font-size: 12.5px;
  line-height: 1.45;
  background: #f6ead8;
  border-left: 2px solid var(--gold);
  padding: 6px 9px;
  margin-bottom: 8px;
}

.tile__evidence span {
  display: block;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--claret);
}

.tile__edition { font-size: 12px; line-height: 1.45; margin-bottom: 6px; }

.tile__affiliate {
  font-family: var(--ui-font);
  font-size: 12px;
  letter-spacing: 0.02em;
  color: #6f5c4d;
  text-align: center;
  margin: 6px 0 4px;
}

.shop-buy {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  background: linear-gradient(180deg, var(--claret), var(--mulled) 60%, var(--wine));
  color: #fdf5e6;
  text-decoration: none;
  font-family: var(--ui-font);
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: 10px 12px;
  text-align: center;
  border: 1px solid var(--gold-dark);
  box-shadow: inset 0 0 0 3px var(--mulled), inset 0 0 0 4px rgba(220, 192, 138, 0.6), 0 4px 10px rgba(51, 16, 26, 0.18);
  transition: background 0.2s ease, box-shadow 0.2s ease;
}

.shop-buy::after {
  content: "\2192";
  color: var(--gold-light);
  transition: transform 0.2s ease;
}

.shop-buy:hover,
.shop-buy:focus-visible {
  background: linear-gradient(180deg, var(--mulled), var(--wine-deep));
  color: #fff;
  box-shadow: inset 0 0 0 3px var(--wine-deep), inset 0 0 0 4px var(--gold-light), 0 6px 14px rgba(51, 16, 26, 0.28);
}

.shop-buy:hover::after { transform: translateX(3px); }

.collector__copy .shop-buy {
  background: linear-gradient(180deg, #e6c98f, var(--gold) 70%, #9c7a43);
  color: var(--wine-deep);
  border-color: #6d5228;
  box-shadow: inset 0 0 0 3px #d2b273, inset 0 0 0 4px rgba(255, 246, 222, 0.6), 0 4px 12px rgba(0, 0, 0, 0.3);
}

.collector__copy .shop-buy::after { color: var(--wine); }

.tile__proposed {
  font-family: var(--ui-font);
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  background: var(--claret);
  padding: 3px 8px;
  margin: 10px 0 0;
}

/* Wrapped gifts: velvet paper, satin ribbon, an ivory tag */
.parcel {
  --wrap: var(--mulled);
  --ribbon: #d8b878;
  --ribbon-dark: #9a7840;
  position: relative;
  width: 76%;
  aspect-ratio: 5 / 6;
  border-radius: 3px;
  background:
    linear-gradient(90deg, transparent 44%, var(--ribbon-dark) 44%, var(--ribbon) 47%, var(--ribbon) 53%, var(--ribbon-dark) 56%, transparent 56%),
    linear-gradient(180deg, transparent 36%, var(--ribbon-dark) 36%, var(--ribbon) 39%, var(--ribbon) 43%, var(--ribbon-dark) 46%, transparent 46%),
    radial-gradient(ellipse at 30% 20%, rgba(255, 255, 255, 0.10), transparent 60%),
    var(--pattern, none),
    var(--wrap);
  box-shadow: 0 14px 22px rgba(43, 26, 22, 0.32), inset 0 -10px 18px rgba(0, 0, 0, 0.16);
}

.parcel::before,
.parcel::after {
  content: "";
  position: absolute;
  top: 25%;
  width: 26%;
  height: 15%;
  border: 5px solid var(--ribbon);
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px var(--ribbon-dark), 0 2px 4px rgba(0, 0, 0, 0.2);
}

.parcel::before { right: 50%; transform: rotate(18deg); transform-origin: right center; }
.parcel::after { left: 50%; transform: rotate(-18deg); transform-origin: left center; }

.parcel--1 {
  --wrap: var(--green);
  --pattern: repeating-linear-gradient(45deg, rgba(220, 192, 138, 0.07) 0 2px, transparent 2px 12px);
}

.parcel--2 {
  --wrap: #f3e7d1;
  --ribbon: #7a2535;
  --ribbon-dark: #521725;
  --pattern: radial-gradient(circle at 50% 50%, rgba(138, 44, 63, 0.10) 1.5px, transparent 2px) 0 0 / 14px 14px;
}

.parcel--3 {
  --wrap: var(--wine);
  --pattern: repeating-linear-gradient(90deg, rgba(250, 244, 234, 0.07) 0 1px, transparent 1px 9px);
}

.parcel__tag {
  position: absolute;
  right: -8%;
  bottom: 12%;
  max-width: 82%;
  padding: 5px 10px 5px 18px;
  background: #fffaf0;
  color: var(--wine-deep);
  font-family: var(--hero-font);
  font-style: italic;
  font-size: 15px;
  line-height: 1.1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  clip-path: polygon(12px 0, 100% 0, 100% 100%, 12px 100%, 0 50%);
  transform: rotate(-6deg);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.25);
}

.parcel__tag::before {
  content: "";
  position: absolute;
  left: 9px;
  top: 50%;
  width: 5px;
  height: 5px;
  margin-top: -2.5px;
  border-radius: 50%;
  background: var(--gold);
}

/* Collection doors: arched shopfronts */
.door-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.door {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  text-decoration: none;
  padding: 22px 14px 20px;
  border-radius: 999px 999px 3px 3px / 150px 150px 3px 3px;
  background:
    radial-gradient(ellipse at 50% 40%, rgba(246, 196, 118, 0.26), transparent 62%),
    linear-gradient(170deg, var(--mulled), var(--wine-deep));
  border: 1px solid var(--gold);
  box-shadow: inset 0 0 0 5px rgba(51, 16, 26, 0.7), inset 0 0 0 6px rgba(220, 192, 138, 0.35);
  color: #fbf3e4;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.door:hover,
.door:focus-visible {
  transform: translateY(-3px);
  box-shadow: inset 0 0 0 5px rgba(51, 16, 26, 0.7), inset 0 0 0 6px var(--gold-light), 0 18px 32px rgba(51, 16, 26, 0.3);
}

.door__fan {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  height: 128px;
  width: 100%;
  margin: 26px 0 14px;
  border-bottom: 8px solid #b48f55;
  box-shadow: 0 10px 0 -6px rgba(0, 0, 0, 0.3);
}

.door__cover,
.door__gift {
  width: 38%;
  max-width: 96px;
  margin: 0 -9px;
}

.door__cover {
  height: auto;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  box-shadow: 0 12px 18px rgba(0, 0, 0, 0.45);
}

.door__fan > :nth-child(1) { transform: rotate(-5deg); }
.door__fan > :nth-child(2) { transform: translateY(-6px); z-index: 1; width: 42%; max-width: 108px; }
.door__fan > :nth-child(3) { transform: rotate(5deg); }
.door__fan > :only-child { transform: none; width: 40%; max-width: 104px; }

.door__gift .parcel { width: 100%; }
.door__gift .parcel__tag { display: none; }

.door__name {
  font-family: var(--hero-font);
  font-size: clamp(21px, 2.2vw, 27px);
  line-height: 1.1;
}

.door__count {
  font-family: var(--ui-font);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin: 4px 0 12px;
}

.door__cta {
  font-family: var(--ui-font);
  font-size: 13px;
  font-weight: 600;
  color: #f0dcae;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 2px;
}

@media (min-width: 760px) {
  .door-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
  .door__fan { height: 190px; }
  .door__cover, .door__gift { max-width: 112px; }
  .door__fan > :nth-child(2) { max-width: 128px; }
  .door__fan > :only-child { max-width: 132px; }
}

/* Browse by genre */
.shop-genres { border-top: 1px solid #e3cfae; margin-top: 40px; }

.genre-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}

.genre-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 20px 12px 18px;
  text-decoration: none;
  text-align: center;
  color: var(--ink);
  background:
    radial-gradient(ellipse at 50% 30%, rgba(180, 143, 85, 0.20), transparent 70%),
    var(--paper);
  border: 1px solid #dcc59e;
  box-shadow: inset 0 0 0 4px var(--paper), inset 0 0 0 5px rgba(180, 143, 85, 0.45);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.genre-tile:hover,
.genre-tile:focus-visible {
  transform: translateY(-2px);
  box-shadow: inset 0 0 0 4px var(--paper), inset 0 0 0 5px var(--claret), 0 12px 24px rgba(51, 16, 26, 0.14);
}

.genre-tile__fan {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  height: 112px;
  width: 100%;
  margin-bottom: 10px;
}

.genre-tile__cover {
  width: 60px;
  height: auto;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  margin: 0 -9px;
  box-shadow: 0 10px 16px rgba(43, 26, 22, 0.3);
}

.genre-tile__fan > :nth-child(1) { transform: rotate(-6deg); }
.genre-tile__fan > :nth-child(2) { transform: translateY(-6px); z-index: 1; }
.genre-tile__fan > :nth-child(3) { transform: rotate(6deg); }
.genre-tile__fan > :only-child { transform: none; }

.genre-tile__gift { width: 66px; margin: 0 -4px; }
.genre-tile__gift .parcel { width: 100%; }
.genre-tile__gift .parcel__tag { display: none; }

.genre-tile__name {
  font-family: var(--hero-font);
  font-size: 22px;
  line-height: 1.1;
}

.genre-tile__count {
  font-family: var(--ui-font);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--claret);
}

@media (min-width: 760px) {
  .genre-nav { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (min-width: 1040px) {
  .genre-nav { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}

/* Window dressing: a fir swag across the arch and soft candle bokeh */
.window__garland {
  position: absolute;
  z-index: 5;
  top: -14px;
  left: 50%;
  width: min(86%, 520px);
  aspect-ratio: 600 / 96;
  transform: translateX(-50%);
  background: url(../christmas/ornaments/garland.svg) center / contain no-repeat;
  filter: drop-shadow(0 6px 6px rgba(0, 0, 0, 0.35));
  pointer-events: none;
}

.window__lights {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  overflow: hidden;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 30%, rgba(255, 214, 150, 0.32) 0 3px, transparent 14px),
    radial-gradient(circle at 30% 18%, rgba(255, 214, 150, 0.22) 0 2px, transparent 11px),
    radial-gradient(circle at 70% 16%, rgba(255, 214, 150, 0.26) 0 2px, transparent 12px),
    radial-gradient(circle at 84% 32%, rgba(255, 214, 150, 0.30) 0 3px, transparent 15px),
    radial-gradient(circle at 12% 56%, rgba(255, 214, 150, 0.16) 0 2px, transparent 18px),
    radial-gradient(circle at 90% 58%, rgba(255, 214, 150, 0.16) 0 2px, transparent 18px);
}

/* Section kickers carry a small fir sprig */
.shop-section .shop-kicker::before,
.shop-doors .shop-kicker::before,
.shop-genres .shop-kicker::before {
  content: "";
  flex: none;
  width: 46px;
  height: 15px;
  background: url(../christmas/ornaments/sprig.svg) center / contain no-repeat;
}

/* Gilt corners on the hero frame and the dark bands */
.shop-hero::after {
  background:
    url(../christmas/ornaments/corner-tl.svg) left -5px top -5px / 42px no-repeat,
    url(../christmas/ornaments/corner-tr.svg) right -5px top -5px / 42px no-repeat,
    url(../christmas/ornaments/corner-bl.svg) left -5px bottom -5px / 42px no-repeat,
    url(../christmas/ornaments/corner-br.svg) right -5px bottom -5px / 42px no-repeat;
}

.shop-section--wine::after,
.shop-section--cabinet::after {
  content: "";
  position: absolute;
  height: 42px;
  pointer-events: none;
  top: 12px;
  left: -18px;
  right: -18px;
  width: auto;
  background:
    url(../christmas/ornaments/corner-tl.svg) left top / 42px no-repeat,
    url(../christmas/ornaments/corner-tr.svg) right top / 42px no-repeat;
}

/* Ex-libris bookplates stand in for covers we cannot show */
.plate {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 72%;
  aspect-ratio: 2 / 3;
  padding: 16px 12px;
  text-align: center;
  background:
    radial-gradient(ellipse at 50% 30%, #fffdf6, #f6ead2 80%);
  border: 1px solid var(--gold);
  box-shadow:
    inset 0 0 0 5px #fbf3e2,
    inset 0 0 0 6px var(--gold),
    inset 0 0 0 8px #fbf3e2,
    inset 0 0 0 9px rgba(180, 143, 85, 0.5),
    0 14px 22px rgba(43, 26, 22, 0.26);
}

.tile:nth-child(3n+2) .plate {
  background: radial-gradient(ellipse at 50% 30%, #6b2131, #3f111c 85%);
  border-color: var(--gold);
  box-shadow:
    inset 0 0 0 5px #4a1422,
    inset 0 0 0 6px var(--gold),
    inset 0 0 0 8px #4a1422,
    inset 0 0 0 9px rgba(220, 192, 138, 0.45),
    0 14px 22px rgba(43, 26, 22, 0.3);
}

.tile:nth-child(3n) .plate {
  background: radial-gradient(ellipse at 50% 30%, #2c4a3c, #17291f 85%);
  box-shadow:
    inset 0 0 0 5px #1d3328,
    inset 0 0 0 6px var(--gold),
    inset 0 0 0 8px #1d3328,
    inset 0 0 0 9px rgba(220, 192, 138, 0.45),
    0 14px 22px rgba(43, 26, 22, 0.3);
}

.tile:nth-child(3n+2) .plate__title,
.tile:nth-child(3n) .plate__title { color: #fbf0dc; }
.tile:nth-child(3n+2) .plate__ex,
.tile:nth-child(3n) .plate__ex,
.tile:nth-child(3n+2) .plate__author,
.tile:nth-child(3n) .plate__author { color: var(--gold-light); }
.tile:nth-child(3n) .plate::before { filter: brightness(1.8) saturate(0.6); }

.plate::before {
  content: "";
  width: 40px;
  height: 13px;
  background: url(../christmas/ornaments/sprig.svg) center / contain no-repeat;
}

.plate__ex {
  font-family: var(--ui-font);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-dark);
}

.plate__title {
  font-family: var(--hero-font);
  font-size: clamp(17px, 1.6vw, 21px);
  line-height: 1.1;
  color: var(--wine-deep);
}

.plate__author {
  font-family: var(--hero-font);
  font-style: italic;
  font-size: 14px;
  color: var(--claret);
}

/* Varied parcel shapes so the stand-ins never read as one repeated graphic */
.parcel--tall { width: 60%; aspect-ratio: 3 / 4; }
.parcel--wide { width: 86%; aspect-ratio: 6 / 5; }

/* Special Editions: one collector's piece on a velvet plinth, the rest in a cabinet */
.collector {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 22px;
}

.collector__feature {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
  padding: 26px 20px 24px;
  color: #f4e6cc;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(255, 220, 160, 0.20), transparent 55%),
    linear-gradient(170deg, #4a1422, #2a0c14);
  border: 1px solid var(--gold);
  box-shadow: inset 0 0 0 6px #2a0c14, inset 0 0 0 7px rgba(220, 192, 138, 0.45), 0 26px 50px rgba(0, 0, 0, 0.35);
}

.collector__feature::before,
.collector__feature::after {
  content: "";
  position: absolute;
  top: 12px;
  width: 42px;
  height: 42px;
  pointer-events: none;
}

.collector__feature::before { left: 12px; background: url(../christmas/ornaments/corner-tl.svg) no-repeat; }
.collector__feature::after { right: 12px; background: url(../christmas/ornaments/corner-tr.svg) no-repeat; }

.collector__plinth {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  padding: 26px 0 0;
  background: radial-gradient(ellipse at 50% 30%, rgba(255, 226, 170, 0.28), transparent 62%);
}

.collector__plinth::after {
  content: "";
  position: absolute;
  left: 12%;
  right: 12%;
  bottom: -12px;
  height: 16px;
  background: linear-gradient(180deg, #e8cf9b, #a8833f 55%, #6d5228);
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.5);
}

.collector__cover {
  position: relative;
  z-index: 1;
  width: min(62%, 250px);
  height: auto;
  margin-bottom: 6px;
  padding: 8px;
  background: #fff;
  box-shadow:
    0 0 0 1px var(--gold-light),
    0 0 0 7px #3a0f1a,
    0 0 0 8px var(--gold),
    0 26px 40px rgba(0, 0, 0, 0.55);
}

.collector__feature .tile__credit { color: #cdb592; margin: 22px 0 0; }

.collector__label {
  font-family: var(--ui-font);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 6px;
}

.collector__copy .tile__theme { color: #e9c9a4; }
.collector__copy .tile__author { color: #e9c9a4; font-size: 16px; }

.page-christmas .collector__copy h3 {
  font-family: var(--hero-font);
  font-weight: 500;
  font-size: clamp(36px, 4.4vw, 54px);
  line-height: 1;
  color: #fff6e6;
  margin: 2px 0 6px;
}

.collector__features {
  list-style: none;
  margin: 14px 0;
  padding: 12px 0;
  border-top: 1px solid rgba(220, 192, 138, 0.4);
  border-bottom: 1px solid rgba(220, 192, 138, 0.4);
  display: grid;
  gap: 6px;
}

.collector__features li {
  position: relative;
  padding-left: 22px;
  font-family: var(--hero-font);
  font-size: 18px;
  color: #f7e9cf;
}

.collector__features li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.5em;
  width: 7px;
  height: 7px;
  background: var(--gold-light);
  transform: rotate(45deg);
}

.collector__rec {
  font-family: var(--body-font, Georgia, serif);
  font-size: 15.5px;
  line-height: 1.55;
  color: #ead9bf;
  margin-bottom: 16px;
  max-width: 46ch;
}

.collector__copy .shop-buy { max-width: 320px; }
.collector__copy .tile__affiliate { color: #cdb592; text-align: left; }
.collector__copy .tile__more { color: #ead9bf; }
.collector__copy .tile__more summary { color: var(--gold-light); }
.collector__copy .tile__evidence { background: rgba(0, 0, 0, 0.22); color: #ead9bf; }
.collector__copy .tile__evidence span { color: var(--gold-light); }

.collector__cabinet {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.collector__cabinet .tile {
  background: linear-gradient(180deg, #fffaf1, #f7ecd9);
  border-color: var(--gold);
}

.collector__cabinet .tile__visual {
  background:
    radial-gradient(ellipse at 50% 20%, rgba(255, 226, 170, 0.35), transparent 65%),
    linear-gradient(180deg, #5a1a29, #36101a);
  border-bottom-color: var(--gold);
}

.collector__cabinet .tile__credit { margin-top: 2px; }

@media (min-width: 760px) {
  .collector__feature {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: center;
    gap: 34px;
    padding: 40px 40px 36px;
  }
  .collector__cabinet { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
}

.collector__stage { display: flex; flex-direction: column; align-items: center; }

/* Publisher 3D renders sit on white; let the shelf colour show through */
.tile__cover[src*="-deluxe"] { mix-blend-mode: multiply; filter: none; }

/* Gift table: one wrapped still life beside a list of gifts */
.gift-table {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 22px;
  margin-top: 18px;
}

.gift-table__still {
  position: relative;
  display: none;
  justify-content: center;
  align-items: flex-end;
  gap: 0;
  height: 210px;
  padding: 0 10%;
  background: radial-gradient(ellipse at 50% 70%, rgba(255, 214, 150, 0.25), transparent 65%);
}

.gift-table__still .parcel { flex: none; margin: 0 -10px; }
.gift-table__still .parcel:nth-child(1) { width: 128px; transform: rotate(-4deg); }
.gift-table__still .parcel:nth-child(2) { width: 104px; z-index: 1; transform: translateY(6px); }
.gift-table__still .parcel:nth-child(3) { width: 140px; transform: rotate(3deg); }
.gift-table__still .parcel__tag { font-size: 14px; max-width: none; right: -14%; }
.gift-table__still .parcel:nth-child(1) .parcel__tag { display: none; }

.gift-table__aside { display: grid; gap: 30px; align-content: start; }
.gift-table__aside > .tile { max-width: 300px; justify-self: center; width: 100%; }

.gift-table__ledge {
  position: absolute;
  left: 4%;
  right: 4%;
  bottom: -10px;
  height: 12px;
  background: linear-gradient(180deg, #ecd39f, #b48f55 50%, #7d5f30);
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.4);
}

.gift-table__list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
}

.gift-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 16px 18px 14px;
  background: linear-gradient(180deg, var(--paper), #f6ead6);
  border: 1px solid var(--gold);
  box-shadow: inset 0 0 0 4px var(--paper), inset 0 0 0 5px rgba(180, 143, 85, 0.4), 0 8px 18px rgba(0, 0, 0, 0.16);
}

.gift-card::after {
  content: "";
  position: absolute;
  top: -1px;
  right: 22px;
  width: 14px;
  height: 30px;
  background: linear-gradient(90deg, #9a7840, #e2c584 50%, #9a7840);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 78%, 0 100%);
}

.gift-card__no {
  font-family: var(--hero-font);
  font-style: italic;
  font-size: 15px;
  color: var(--gold-dark);
  margin-bottom: 2px;
}

.page-christmas .gift-card h3 {
  font-family: var(--hero-font);
  font-weight: 500;
  font-size: 23px;
  line-height: 1.1;
  color: var(--wine-deep);
  margin: 0 30px 4px 0;
  flex: 1 0 auto;
}

.gift-card__maker {
  font-family: var(--ui-font);
  font-size: 13.5px;
  color: var(--claret);
  margin-bottom: 4px;
}

.gift-card .shop-buy { margin-top: 10px; }
.gift-card .tile__more { margin: 6px 0 0; }

@media (min-width: 700px) {
  .gift-table__list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
}

@media (min-width: 1000px) {
  .gift-table { grid-template-columns: 330px minmax(0, 1fr); gap: 34px; align-items: start; }
  .gift-table__aside { position: sticky; top: 90px; }
  .gift-table__still { display: flex; height: 240px; padding: 0 4px; margin-bottom: 12px; }
}

@media (min-width: 1160px) {
  .gift-table__list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* Genre tiles without a cover show a gilt monogram */
.genre-tile__monogram {
  display: grid;
  place-items: center;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  font-family: var(--hero-font);
  font-size: 44px;
  line-height: 1;
  color: var(--gold-light);
  background:
    radial-gradient(circle at 50% 35%, var(--mulled), var(--wine-deep));
  box-shadow: inset 0 0 0 3px var(--wine-deep), inset 0 0 0 4px var(--gold), 0 8px 16px rgba(51, 16, 26, 0.25);
  position: relative;
}

.genre-tile__monogram::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -8px;
  width: 58px;
  height: 18px;
  transform: translateX(-50%);
  background: url(../christmas/ornaments/sprig.svg) center / contain no-repeat;
}

/* Who are you shopping for? */
.finder-strip {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 50px 0 10px;
}

.page-christmas .finder-strip h2 {
  font-family: var(--hero-font);
  font-weight: 500;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.05;
  color: var(--wine-deep);
  margin: 4px 0 16px;
}

.finder-strip__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.finder-strip__chip,
.finder-chip span {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  font-family: var(--ui-font);
  font-size: 14.5px;
  font-weight: 600;
  color: var(--wine-deep);
  text-decoration: none;
  white-space: nowrap;
  background: var(--paper);
  border: 1px solid var(--gold);
  border-radius: 999px;
  box-shadow: inset 0 0 0 3px var(--paper), inset 0 0 0 4px rgba(180, 143, 85, 0.35);
  transition: background 0.2s ease, color 0.2s ease;
}

.finder-strip__chip:hover,
.finder-strip__chip:focus-visible { background: var(--wine); color: #fff; box-shadow: none; }

/* Gift finder page */
.finder-filters {
  display: grid;
  gap: 4px;
  margin-bottom: 18px;
  padding: 16px 18px 12px;
  background: linear-gradient(180deg, #fbf3e2, #f3e6cf);
  border: 1px solid var(--gold);
  box-shadow: inset 0 0 0 4px #fbf3e2, inset 0 0 0 5px rgba(180, 143, 85, 0.45);
}

.finder-group { border: 0; margin: 0; padding: 0; min-width: 0; }

.finder-group legend {
  font-family: var(--ui-font);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-dark);
  padding: 6px 0 6px;
}

.finder-group__chips {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 2px 2px 8px;
  scrollbar-width: thin;
  scrollbar-color: var(--gold) transparent;
}

.finder-chip { position: relative; flex: none; }
.finder-chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.finder-chip input:checked + span { background: var(--wine); color: #fdf5e6; box-shadow: inset 0 0 0 3px var(--wine), inset 0 0 0 4px rgba(220, 192, 138, 0.6); }
.finder-chip input:focus-visible + span { outline: 2px solid var(--claret); outline-offset: 2px; }

.finder-note { font-family: var(--ui-font); font-size: 12.5px; color: #6a5747; margin-top: 4px; }

.finder-count {
  font-family: var(--hero-font);
  font-style: italic;
  font-size: 20px;
  color: var(--wine-deep);
  margin-bottom: 12px;
}

.finder-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
}

.finder-card {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 14px;
  padding: 14px;
  background: var(--paper);
  border: 1px solid #e2cfae;
  box-shadow: 0 6px 16px rgba(51, 16, 26, 0.07);
}

.finder-card[hidden] { display: none; }

.finder-card__thumb {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 10px 6px;
  background:
    radial-gradient(ellipse at 50% 20%, rgba(255, 240, 214, 0.9), transparent 70%),
    #efe2cc;
  align-self: start;
}

.finder-card__cover { width: 100%; height: auto; box-shadow: 0 8px 12px rgba(43, 26, 22, 0.3); }
.finder-card__cover[src*="-deluxe"] { mix-blend-mode: multiply; box-shadow: none; }
.finder-card__thumb .plate { width: 100%; padding: 8px 4px; gap: 4px; }
.finder-card__thumb .plate::before { width: 26px; height: 9px; }
.finder-card__thumb .plate__ex { font-size: 8px; letter-spacing: 0.16em; }
.finder-card__thumb .plate__title { font-size: 13px; }
.finder-card__thumb .plate__author { display: none; }
.finder-card__thumb .parcel { width: 100%; }
.finder-card__thumb .parcel__tag { display: none; }
.finder-card:nth-child(3n+2) .plate { background: radial-gradient(ellipse at 50% 30%, #6b2131, #3f111c 85%); box-shadow: inset 0 0 0 3px #4a1422, inset 0 0 0 4px var(--gold); }
.finder-card:nth-child(3n) .plate { background: radial-gradient(ellipse at 50% 30%, #2c4a3c, #17291f 85%); box-shadow: inset 0 0 0 3px #1d3328, inset 0 0 0 4px var(--gold); }
.finder-card:nth-child(3n+2) .plate__title,
.finder-card:nth-child(3n) .plate__title { color: #fbf0dc; }
.finder-card:nth-child(3n+2) .plate__ex,
.finder-card:nth-child(3n) .plate__ex { color: var(--gold-light); }

.page-christmas .finder-card h3 {
  font-family: var(--hero-font);
  font-weight: 500;
  font-size: 22px;
  line-height: 1.1;
  color: var(--wine-deep);
  margin: 0 0 2px;
}

.finder-card__buy {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 12px;
  margin-top: 8px;
}

.finder-card__buy .shop-buy { min-height: 44px; padding: 8px 14px; font-size: 14px; }
.finder-card__buy .tile__affiliate { margin: 0; text-align: left; }
.finder-card__credit { font-family: var(--ui-font); font-size: 12px; color: #7a6656; margin-top: 6px; }

.finder-empty { font-family: var(--hero-font); font-size: 20px; color: var(--wine-deep); padding: 24px 0; }

.finder-prompt {
  font-family: var(--hero-font);
  font-size: clamp(20px, 2.4vw, 24px);
  color: var(--wine-deep);
  margin: 0 0 10px;
}

.finder-more { max-width: 420px; margin: 4px auto 0; }

.finder-browse { text-align: center; margin-top: 14px; }

.finder-browse__button {
  min-height: 44px;
  padding: 8px 16px;
  font-family: var(--ui-font);
  font-size: 15px;
  color: var(--wine-deep);
  background: none;
  border: 0;
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-underline-offset: 4px;
  cursor: pointer;
}

@media (min-width: 760px) {
  .finder-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .finder-card { grid-template-columns: 110px minmax(0, 1fr); }
}

@media (min-width: 1100px) {
  .finder-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.show-all {
  display: block;
  width: 100%;
  min-height: 48px;
  margin-top: 12px;
  font-family: var(--ui-font);
  font-size: 15px;
  font-weight: 600;
  color: var(--wine-deep);
  background: linear-gradient(180deg, #e6c98f, var(--gold) 70%, #9c7a43);
  border: 1px solid #6d5228;
  box-shadow: inset 0 0 0 3px #d2b273, inset 0 0 0 4px rgba(255, 246, 222, 0.6);
  cursor: pointer;
}

.gift-card[hidden] { display: none; }

.page-christmas .site-footer { margin-top: 12px; }

@media (max-width: 700px) {
  .shop-hero__inner { padding: 40px 0 26px; }
  .shop-hero__panel { text-align: center; margin: 0 auto; }
  .shop-hero .shop-kicker { justify-content: center; }
  .shop-hero .shop-kicker::after { display: none; }
  .shop-hero h1 { font-size: 46px; }
  .window { padding: 26px 16px 0; border-radius: 999px 999px 4px 4px / 170px 170px 4px 4px; }
  .window__display { min-height: 0; padding-top: 30px; }
  .window__cover { width: 17vw; margin: 0 -7px; }
  .window__display > img:nth-child(3) { width: 24vw; }
  .window__display > img:only-child { width: 36vw; }
  .window__gift { width: 22vw; }
  .window__ledge { margin: 0 -16px; }
  .shop-hero .shop-invite { gap: 0 16px; padding: 8px 12px 14px; }
  .seasonal-christmas-2026__panel { padding: 28px 18px; }
  .tile h3 { font-size: 19px; }
  .tile .shop-buy { font-size: 13px; letter-spacing: 0; gap: 4px; padding-inline: 8px; line-height: 1.2; }
  .parcel__tag { font-size: 13px; max-width: 112%; padding-right: 8px; }
  .window__garland { top: -10px; width: 92%; }
  .gift-table__still { height: 160px; }
  .gift-table__still .parcel:nth-child(1) { width: 96px; }
  .gift-table__still .parcel:nth-child(2) { width: 80px; }
  .gift-table__still .parcel:nth-child(3) { width: 106px; }
  .gift-table__still .parcel__tag { font-size: 12px; }
  .gift-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    column-gap: 12px;
    padding: 12px 14px 10px;
  }
  .gift-card > * { grid-column: 1 / -1; }
  .gift-card > .tile__affiliate { grid-column: 1; text-align: left; margin: 6px 0 0; }
  .gift-card > .tile__more { grid-column: 2; margin: 6px 0 0; text-align: right; }
  .gift-card > .tile__more[open] { grid-column: 1 / -1; text-align: left; }
  .gift-card__no { margin: 0; font-size: 14px; }
  .page-christmas .gift-card h3 { font-size: 20px; }
  .gift-card .shop-buy { margin-top: 6px; min-height: 44px; }
  .gift-table__list { gap: 10px; }
  .collector__feature { padding: 30px 16px 22px; }
  .collector__copy { text-align: center; }
  .collector__features { justify-items: center; }
  .collector__copy .shop-buy { margin: 0 auto; }
  .collector__copy .tile__affiliate { text-align: center; }
  .collector__cabinet {
    grid-auto-flow: column;
    grid-template-columns: none;
    grid-auto-columns: minmax(190px, 64%);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 2px 2px 14px;
  }
  .collector__cabinet > .tile { scroll-snap-align: start; }
  .finder-strip { padding-top: 40px; }
  .finder-strip__chips { flex-wrap: nowrap; overflow-x: auto; padding: 2px 2px 10px; margin-right: -16px; }
  .finder-strip__chip { flex: none; }
  .genre-nav { display: none; }
  .genre-row__intro { display: none; }
  .genre-row__plaque { min-height: 64px; padding: 10px 12px; grid-template-areas: "minis title open" "minis count open"; }
  .finder-filters { padding: 12px 12px 8px; margin-inline: -4px; }
  .finder-card { grid-template-columns: 78px minmax(0, 1fr); gap: 12px; padding: 12px; }
  .page-christmas .finder-card h3 { font-size: 20px; }
  .shop-section, .shop-doors, .shop-genres { padding-top: 44px; }
}

.shop-shelf--row .plate__title { font-size: 16px; overflow-wrap: anywhere; }

/* Amazon AU search (#245): beneath the curated collections. */
.amazon-search {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 56px 0 28px;
}

.amazon-search__panel {
  position: relative;
  max-width: 920px;
  margin: 0 auto;
  padding: clamp(28px, 5vw, 52px) clamp(22px, 5vw, 56px);
  background: var(--wine);
  border-radius: 4px;
  color: var(--ivory);
}

.amazon-search__panel::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(220, 192, 138, 0.45);
  pointer-events: none;
}

.amazon-search .shop-kicker { color: var(--gold-light); }
.amazon-search .shop-kicker::after { background: rgba(220, 192, 138, 0.6); }

.page-christmas .amazon-search h2 {
  font-family: var(--hero-font);
  font-weight: 500;
  font-size: clamp(30px, 4.2vw, 46px);
  line-height: 1.06;
  letter-spacing: -0.02em;
  color: #fbf3e4;
  margin: 0 0 12px;
}

.amazon-search__intro {
  font-family: var(--ui-font);
  font-size: 17px;
  line-height: 1.5;
  color: #f0dfc6;
  max-width: 620px;
  margin: 0 0 24px;
}

.amazon-search__form {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  align-items: end;
}

.amazon-search__field { display: grid; gap: 6px; }

.amazon-search__field label {
  font-family: var(--ui-font);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-light);
}

.amazon-search__field input,
.amazon-search__field select {
  width: 100%;
  min-height: 52px;
  padding: 0 14px;
  font-family: var(--ui-font);
  font-size: 17px;
  color: var(--ink);
  background: var(--ivory);
  border: 1px solid var(--gold);
  border-radius: 3px;
}

.amazon-search__field input::placeholder { color: #7a6656; }

.amazon-search__field input:focus-visible,
.amazon-search__field select:focus-visible,
.amazon-search__submit:focus-visible {
  outline: 3px solid var(--gold-light);
  outline-offset: 2px;
}

.amazon-search__submit {
  min-height: 52px;
  padding: 0 24px;
  font-family: var(--ui-font);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--wine-deep);
  background: var(--gold-light);
  border: 1px solid var(--gold-light);
  border-radius: 3px;
  cursor: pointer;
}

.amazon-search__submit:hover { background: #e8d2a6; }

.amazon-search__new-tab {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.amazon-search__message {
  margin: 0;
  font-family: var(--ui-font);
  font-size: 15px;
  font-weight: 600;
  color: var(--gold-light);
}

.amazon-search__disclosure {
  position: relative;
  margin: 22px 0 0;
  font-family: var(--ui-font);
  font-size: 14px;
  line-height: 1.5;
  color: #ead9bf;
}

.amazon-search__disclosure a { color: var(--gold-light); }

@media (min-width: 760px) {
  .amazon-search__form { grid-template-columns: minmax(0, 1fr) 220px auto; }
  .amazon-search__message { grid-column: 1 / -1; }
}

/* Bookshop search (#297): the catalogue first, Amazon AU only when nothing matches. */
.shop-search {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 56px 0 28px;
}

.shop-search [hidden] { display: none !important; }

.shop-search__panel {
  position: relative;
  max-width: 920px;
  margin: 0 auto;
  padding: clamp(28px, 5vw, 52px) clamp(22px, 5vw, 56px);
  background: var(--paper);
  border: 1px solid rgba(180, 143, 85, 0.55);
  border-radius: 4px;
  box-shadow: 0 18px 40px -28px rgba(51, 16, 26, 0.55);
  color: var(--ink);
}

.shop-search__panel::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(180, 143, 85, 0.35);
  pointer-events: none;
}

.page-christmas .shop-search h2 {
  font-family: var(--hero-font);
  font-weight: 500;
  font-size: clamp(30px, 4.2vw, 46px);
  line-height: 1.06;
  letter-spacing: -0.02em;
  color: var(--wine);
  margin: 0 0 12px;
}

.shop-search__intro {
  font-family: var(--ui-font);
  font-size: 17px;
  line-height: 1.5;
  max-width: 620px;
  margin: 0 0 24px;
}

.shop-search__form { position: relative; display: grid; gap: 6px; }

.shop-search__form label {
  font-family: var(--ui-font);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--wine);
}

.shop-search__row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; }

.shop-search__form input {
  width: 100%;
  min-height: 52px;
  padding: 0 14px;
  font-family: var(--ui-font);
  font-size: 17px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--gold);
  border-radius: 3px;
}

.shop-search__form input::placeholder { color: #7a6656; }

.shop-search__submit {
  min-height: 52px;
  padding: 0 26px;
  font-family: var(--ui-font);
  font-size: 16px;
  font-weight: 700;
  color: var(--ivory);
  background: var(--wine);
  border: 1px solid var(--wine);
  border-radius: 3px;
  cursor: pointer;
}

.shop-search__submit:hover { background: var(--wine-deep); }

.shop-search__form input:focus-visible,
.shop-search__submit:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}

.shop-search__status {
  position: relative;
  margin: 16px 0 0;
  font-family: var(--ui-font);
  font-size: 15px;
  font-weight: 600;
  color: var(--wine);
}

.shop-search__status:empty { display: none; }

.shop-search__results {
  position: relative;
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr));
  gap: 14px;
}

.shop-search__result {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 12px;
  background: #fff;
  border: 1px solid rgba(180, 143, 85, 0.4);
  border-radius: 3px;
}

.shop-search__thumb { width: 76px; }
.shop-search__thumb img { display: block; width: 100%; height: auto; border-radius: 2px; box-shadow: 0 6px 14px -8px rgba(43, 26, 22, 0.6); }
.shop-search__thumb .plate { width: 100%; padding: 10px 6px; }
.shop-search__thumb .plate__title { font-size: 12px; overflow-wrap: anywhere; }
.shop-search__thumb .parcel { width: 100%; }

.page-christmas .shop-search__body h3 {
  font-family: var(--hero-font);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.15;
  margin: 2px 0 4px;
}

.shop-search__author { font-family: var(--ui-font); font-size: 14px; margin: 0 0 10px; color: #5c463b; }
.shop-search__body .shop-buy { display: inline-flex; }
.shop-search__body .tile__affiliate { margin-top: 6px; }

.shop-search .amazon-search { width: auto; padding: 16px 0 0; }
.page-christmas .shop-search .amazon-search h3 {
  font-family: var(--hero-font);
  font-weight: 500;
  font-size: clamp(26px, 3.4vw, 36px);
  line-height: 1.1;
  color: #fbf3e4;
  margin: 0 0 10px;
}

/* Give Booknium: prepaid Pro gift cards. Owner preview only until gifting is
   approved for sale; the purchase control stays disabled until then. */
.gift-membership {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 56px;
}

.gift-membership__panel {
  position: relative;
  max-width: 1040px;
  margin: 0 auto;
  padding: clamp(28px, 5vw, 56px) clamp(20px, 5vw, 56px);
  background:
    radial-gradient(120% 80% at 100% 0%, rgba(220, 192, 138, 0.14), transparent 60%),
    var(--paper);
  border: 1px solid #d9c49c;
  border-radius: 4px;
  color: var(--ink);
  text-align: center;
}

.gift-membership__panel::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(180, 143, 85, 0.45);
  pointer-events: none;
}

.page-christmas .gift-membership h2 {
  font-family: var(--hero-font);
  font-weight: 500;
  font-size: clamp(32px, 4.6vw, 52px);
  line-height: 1.04;
  letter-spacing: -0.02em;
  color: var(--wine-deep);
  margin: 0 0 12px;
}

.gift-membership__intro {
  font-family: var(--ui-font);
  font-size: 17px;
  line-height: 1.55;
  color: #4a3a30;
  max-width: 640px;
  margin: 0 auto 30px;
}

.gift-membership__cards {
  list-style: none;
  margin: 0 auto 30px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(12px, 2.4vw, 24px);
  max-width: 900px;
}

.pro-card {
  position: relative;
  aspect-ratio: 1.586;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 2px;
  padding: 18px 20px;
  border-radius: 12px;
  text-align: left;
  color: var(--ivory);
  box-shadow: 0 14px 30px rgba(51, 16, 26, 0.22), inset 0 0 0 1px rgba(220, 192, 138, 0.55);
  overflow: hidden;
}

.pro-card::before {
  content: "";
  position: absolute;
  inset: 7px;
  border: 1px solid rgba(220, 192, 138, 0.5);
  border-radius: 8px;
  pointer-events: none;
}

.pro-card::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  right: 18%;
  width: 14px;
  background: linear-gradient(90deg, #9a7840, #e3c88f 45%, #b48f55);
  box-shadow: 0 0 0 1px rgba(51, 16, 26, 0.18);
}

.pro-card--green { background: linear-gradient(150deg, #2b5141, var(--green-deep)); }
.pro-card--wine { background: linear-gradient(150deg, var(--mulled), var(--wine-deep)); }
.pro-card--ivory { background: linear-gradient(150deg, #fbf3e4, #ecdcbf); color: var(--wine-deep); }

.pro-card > span { position: relative; z-index: 1; }

.pro-card__brand {
  position: absolute !important;
  top: 18px;
  left: 20px;
  font-family: var(--hero-font);
  font-size: 20px;
  letter-spacing: 0.04em;
}

.pro-card__term {
  font-family: var(--hero-font);
  font-size: clamp(26px, 3.2vw, 36px);
  line-height: 1;
}

.pro-card__plan {
  font-family: var(--ui-font);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-light);
}

.pro-card--ivory .pro-card__plan { color: var(--gold-dark); }

.pro-card__line {
  font-family: var(--ui-font);
  font-size: 13px;
  line-height: 1.35;
  opacity: 0.88;
  max-width: 70%;
}

.gift-membership__steps {
  counter-reset: gift-step;
  list-style: none;
  margin: 0 auto 28px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  max-width: 960px;
  font-family: var(--ui-font);
  font-size: 14px;
  line-height: 1.4;
  color: #4a3a30;
}

.gift-membership__steps li {
  counter-increment: gift-step;
  padding-top: 40px;
  position: relative;
}

.gift-membership__steps li::before {
  content: counter(gift-step);
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  font-family: var(--hero-font);
  font-size: 18px;
  line-height: 28px;
  color: var(--wine);
}

.gift-membership__action { display: grid; justify-items: center; gap: 10px; }

.gift-membership__buy {
  min-height: 48px;
  padding: 0 28px;
  border: 0;
  border-radius: 999px;
  background: var(--wine);
  color: var(--ivory);
  font-family: var(--ui-font);
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.gift-membership__buy:disabled {
  background: #e6d9c3;
  color: #6b5a4c;
  cursor: not-allowed;
}

.gift-membership__status,
.gift-membership__terms {
  font-family: var(--ui-font);
  font-size: 14px;
  line-height: 1.5;
  color: #5b4a3e;
  max-width: 560px;
  margin: 0 auto;
}

.gift-membership__terms { margin-top: 18px; font-size: 13px; color: #7a6656; }

@media (max-width: 760px) {
  .gift-membership__cards { grid-template-columns: 1fr; max-width: 340px; }
  .gift-membership__steps { grid-template-columns: 1fr; text-align: left; max-width: 340px; }
  .gift-membership__steps li { padding: 4px 0 4px 44px; }
  .gift-membership__steps li::before { left: 0; top: 0; transform: none; }
}


/* E-readers, Listening & Reading Tech: categories still being researched (#66, 21 Nov 2026). */
.reading-tech-soon__list { list-style: none; margin: 0 0 14px; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.reading-tech-soon__item { border: 1px solid var(--gold); border-radius: 6px; padding: 14px 16px; background: rgba(255, 250, 242, 0.7); }
.page-christmas .reading-tech-soon__item h3 { font-family: var(--hero-font); font-size: 20px; margin: 0 0 4px; color: var(--wine-deep); }
.reading-tech-soon__line { font-family: var(--ui-font); font-size: 14px; color: #4a3a30; margin: 0; }

/* Sparse sections (#66, 21 Nov 2026): neighbouring sections with one or two products share a row on wider
   screens, so a single card never sits beside an empty page width. Each section keeps its own heading and
   cards, and each card keeps the normal shelf column width. Phones keep the usual stacked layout. */
.shop-sparse-row > .shop-sparse-cell > .shop-section { width: auto; }
@media (min-width: 700px) {
  .shop-sparse-row {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: 18px;
    align-items: start;
  }
  .shop-sparse-cell--2 { grid-column: span 2; }
  .shop-sparse-cell > .shop-section { margin: 0; }
  .shop-sparse-cell--1 .shop-shelf { grid-template-columns: minmax(0, 1fr); }
  .shop-sparse-cell--2 .shop-shelf { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1000px) {
  .shop-sparse-row { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* Membership offers (#66): shown only once the owner records an official affiliate link. */
.membership-offers { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.membership-offer { background: var(--ivory, #fffaf2); border: 1px solid var(--gold, #c9a25a); padding: 20px; display: flex; flex-direction: column; gap: 12px; }
.membership-offer h3 { margin: 0; }
.membership-offer .shop-buy { margin-top: auto; }
