:root {
  --cream: #fff7f7;
  --paper: #fffdfb;
  --blush: #f8dadd;
  --rose: #b9887d;
  --clay: #9a6a5c;
  --cocoa: #7b574b;
  --ink: #4b362f;
  --muted: #8f7168;
  --sage: #a99b8f;
  --plum: #7a5a61;
  --border: rgba(123, 87, 75, 0.18);
  --shadow: 0 24px 70px rgba(123, 87, 75, 0.12);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Inter", Arial, sans-serif;
}

/* 7 Days of Smut-mas */
.smutmas-page {
  background: #fffaf7;
}

.smutmas-hero {
  position: relative;
  min-height: clamp(560px, 72vw, 780px);
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: clamp(4rem, 9vw, 8rem) clamp(1rem, 6vw, 6rem);
  background: #5b382e url("images/smutmas-banner-desktop.png") center 54% / cover no-repeat;
}

.smutmas-hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(39, 20, 16, 0.78) 0%, rgba(39, 20, 16, 0.46) 48%, rgba(39, 20, 16, 0.08) 100%);
}

.smutmas-hero-copy {
  position: relative;
  z-index: 1;
  width: min(760px, 100%);
}

.smutmas-hero .eyebrow,
.smutmas-hero h1,
.smutmas-hero p {
  color: var(--paper);
}

.smutmas-hero h1 {
  max-width: 760px;
  font-size: clamp(4rem, 9vw, 8rem);
}

.smutmas-hero-copy > p:not(.eyebrow) {
  max-width: 630px;
  margin-top: 1.15rem;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  font-weight: 600;
}

.smutmas-hero .button {
  margin-top: 2rem;
  background: #9d2533;
}

.smutmas-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(340px, 0.9fr);
  align-items: start;
  gap: clamp(2rem, 6vw, 6rem);
}

.smutmas-copy {
  max-width: 760px;
}

.smutmas-copy h2,
.smutmas-shipping h2,
.smutmas-gifting h2 {
  margin-bottom: 1.5rem;
}

.smutmas-copy > p,
.smutmas-gifting p,
.smutmas-shipping-card > p {
  margin-top: 1rem;
  font-size: 1.05rem;
}

.smutmas-copy strong,
.smutmas-gifting strong,
.smutmas-shipping strong {
  color: var(--cocoa);
}

.smutmas-authors,
.smutmas-includes {
  display: grid;
  gap: 0.7rem;
  margin: 1.35rem 0;
  padding: 0;
  list-style: none;
}

.smutmas-authors li {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--ink);
  font-weight: 700;
}

.smutmas-authors li::before {
  content: "✦";
  color: #9d2533;
}

.smutmas-highlight {
  margin: 2rem 0;
  padding: clamp(1.35rem, 3vw, 2rem);
  border: 1px solid rgba(157, 37, 51, 0.22);
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(157, 37, 51, 0.08), rgba(185, 136, 125, 0.1));
}

.smutmas-highlight h3 {
  margin-top: 0.35rem;
  font-family: var(--serif);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
}

.smutmas-highlight p:last-child {
  margin-top: 0.75rem;
}

.smutmas-product-card {
  position: sticky;
  top: 7.3rem;
  scroll-margin-top: 7.3rem;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 28px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.smutmas-product-card > img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center;
}

.smutmas-product-copy {
  padding: clamp(1.35rem, 4vw, 2rem);
}

.smutmas-product-copy h2 {
  margin: 0.25rem 0 0.75rem;
  font-size: clamp(2.6rem, 5vw, 4rem);
}

.smutmas-includes li {
  display: grid;
  grid-template-columns: 1.7rem 1fr;
  color: var(--ink);
  font-weight: 600;
}

.smutmas-preorder-button {
  margin-top: 1.2rem;
  background: #9d2533;
}

.smutmas-preorder-button:disabled {
  opacity: 0.58;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.smutmas-square-note {
  margin-top: 0.7rem;
  text-align: center;
  font-size: 0.82rem;
}

.smutmas-gifting {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 7vw, 7rem);
  border-block: 1px solid var(--border);
  background: rgba(248, 218, 221, 0.28);
}

.smutmas-shipping {
  padding-top: clamp(3rem, 7vw, 6rem);
}

.smutmas-shipping-card {
  width: min(920px, 100%);
  margin-inline: auto;
  padding: clamp(1.5rem, 5vw, 3.5rem);
  border: 1px solid var(--border);
  border-radius: 28px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.smutmas-age-note {
  margin-top: 1.5rem !important;
  padding: 1rem 1.15rem;
  border-left: 4px solid #9d2533;
  background: rgba(157, 37, 51, 0.06);
}

.smutmas-shipping-card .button {
  margin-top: 1.5rem;
}

@media (max-width: 1050px) {
  .smutmas-intro {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.8fr);
    gap: 2rem;
  }

  .smutmas-product-card {
    top: 10rem;
  }
}

@media (max-width: 760px) {
  .smutmas-hero {
    min-height: 72svh;
    padding: 7rem 1.25rem 3rem;
    background: #5b382e url("images/smutmas-banner.png") 58% center / cover no-repeat;
  }

  .smutmas-hero-shade {
    background: linear-gradient(180deg, rgba(39, 20, 16, 0.1) 0%, rgba(39, 20, 16, 0.76) 68%, rgba(39, 20, 16, 0.9) 100%);
  }

  .smutmas-hero h1 {
    font-size: clamp(3.2rem, 16vw, 4.6rem);
  }

  .smutmas-intro,
  .smutmas-gifting {
    grid-template-columns: 1fr;
  }

  .smutmas-product-card {
    position: static;
    order: -1;
    scroll-margin-top: 6.5rem;
  }

  .smutmas-product-card > img {
    aspect-ratio: 1 / 1.18;
  }

  .smutmas-intro {
    padding-inline: 1.15rem;
  }

  .smutmas-gifting,
  .smutmas-shipping {
    padding-inline: 1.15rem;
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: var(--sans);
  line-height: 1.6;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(120deg, rgba(232, 185, 173, 0.20), transparent 28%),
    linear-gradient(240deg, rgba(123, 138, 117, 0.12), transparent 30%),
    var(--cream);
}

img,
svg {
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

p {
  margin: 0;
  color: var(--muted);
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--ink);
  line-height: 1;
}

h1,
h2 {
  font-family: var(--serif);
  font-weight: 700;
}

h1 {
  max-width: 820px;
  font-size: clamp(3.9rem, 9vw, 8.2rem);
  letter-spacing: 0;
}

h2 {
  font-size: clamp(2.2rem, 4.8vw, 4.4rem);
}

h3 {
  font-size: 1.08rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1rem clamp(1rem, 4vw, 4rem);
  border-bottom: 1px solid var(--border);
  background: rgba(251, 245, 235, 0.88);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: min(23rem, 50vw);
  height: 4.2rem;
  gap: 0;
  overflow: hidden;
  background: url("images/whisper-flame-header-logo-transparent.png") left center / contain no-repeat;
  font-weight: 700;
  color: var(--cocoa);
}

.brand > span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.brand-mark {
  display: grid;
  width: 3rem;
  height: 3rem;
  place-items: center;
  border: 1px solid rgba(123, 87, 75, 0.28);
  border-radius: 50%;
  background: var(--paper) url("images/whisper-flame-logo.png") center / 130% auto no-repeat;
  font-family: var(--serif);
  font-size: 0;
  box-shadow: 0 10px 26px rgba(123, 87, 75, 0.10);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.site-nav a {
  min-height: 2.55rem;
  padding: 0.6rem 0.9rem;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 700;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--cocoa);
  background: rgba(232, 185, 173, 0.25);
}

.nav-toggle {
  display: none;
  width: 2.7rem;
  height: 2.7rem;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--paper);
}

.nav-toggle span {
  display: block;
  width: 1.1rem;
  height: 2px;
  margin: 0.25rem auto;
  background: var(--cocoa);
}

.hero {
  position: relative;
  min-height: min(760px, calc(100vh - 40px));
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: clamp(5rem, 10vw, 9rem) clamp(1rem, 4vw, 4rem);
  border-bottom: 1px solid var(--border);
}

.hero-media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(47, 37, 33, 0.74) 0%, rgba(47, 37, 33, 0.42) 43%, rgba(47, 37, 33, 0.10) 100%),
    url("images/banner-whisper-flame.png") center / cover;
  transform: scale(1.02);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(720px, 100%);
}

.hero .eyebrow,
.hero h1,
.hero .hero-copy {
  color: var(--paper);
}

.hero-copy {
  max-width: 590px;
  margin-top: 1.2rem;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
}

.hero-actions,
.section-heading.split,
.shop-bar,
.product-meta,
.quantity-row,
.newsletter {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.hero-actions {
  justify-content: flex-start;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  min-height: 3rem;
  align-items: center;
  justify-content: center;
  padding: 0.78rem 1.2rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  color: var(--paper);
  background: var(--clay);
  box-shadow: 0 14px 26px rgba(154, 106, 92, 0.24);
}

.button.ghost {
  border-color: rgba(255, 250, 243, 0.55);
  color: var(--paper);
  background: rgba(255, 250, 243, 0.12);
}

.purchase-panel .button.ghost,
.newsletter.narrow .button.ghost {
  border-color: var(--border);
  color: var(--cocoa);
  background: var(--paper);
}

.button.full {
  width: 100%;
}

.section {
  padding: clamp(4rem, 8vw, 7rem) clamp(1rem, 4vw, 4rem);
}

.home-page .section {
  padding-top: clamp(3rem, 6vw, 5rem);
  padding-bottom: clamp(3rem, 6vw, 5rem);
}

.section-heading {
  max-width: 840px;
  margin-bottom: 2rem;
}

.section-heading.split {
  max-width: none;
  align-items: end;
}

.eyebrow,
.product-kicker {
  margin-bottom: 0.65rem;
  color: var(--rose);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.intro-band {
  background: var(--paper);
}

.feature-grid,
.collection-grid,
.product-grid,
.review-grid,
.story-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.feature-grid article,
.collection-card,
.review-grid figure,
.story-card,
.filter-card,
.contact-card,
.purchase-panel,
details {
  margin: 0;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(255, 250, 243, 0.78);
  box-shadow: 0 12px 34px rgba(123, 87, 75, 0.08);
}

.feature-grid article,
.collection-card,
.review-grid figure,
.story-card,
.filter-card,
.contact-card {
  padding: 1.35rem;
}

.review-grid figure {
  display: flex;
  flex-direction: column;
}

.feature-icon {
  display: inline-flex;
  width: 2.2rem;
  height: 2.2rem;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
  border-radius: 50%;
  color: var(--paper);
  background: var(--plum);
  font-size: 0.78rem;
  font-weight: 800;
}

.feature-grid h3,
.story-card h2,
.contact-card h2,
.filter-card h2 {
  margin-bottom: 0.55rem;
  font-family: var(--serif);
  font-size: 1.65rem;
}

.text-link {
  color: var(--clay);
  font-weight: 800;
  border-bottom: 1px solid currentColor;
}

.collection-card {
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 1rem;
}

.collection-visual {
  position: relative;
  min-height: 210px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 8px;
}

.collection-photo {
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.blind-date-photo {
  background-image: url("images/blind-date-packages.png");
  background-position: center 38%;
}

.book-boxes-photo {
  background-image: url("images/curated-book-boxes.png");
  background-position: center 45%;
}


.kindle-cases-photo {
  background-image: url("images/kindle-cases.jpeg");
  background-position: center 50%;
}

.product-card {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.product-visual {
  position: relative;
  display: block;
  min-height: 290px;
  overflow: hidden;
  background: linear-gradient(140deg, #f1d6c8, #fff8ef);
}

.product-visual::before,
.product-visual::after,
.thumb::before,
.thumb::after {
  position: absolute;
  content: "";
}

.blind-date::before {
  width: 54%;
  height: 64%;
  left: 24%;
  top: 18%;
  border-radius: 6px;
  background: linear-gradient(135deg, #f8ead9, #d9ad98);
  box-shadow: 0 18px 35px rgba(91, 55, 45, 0.22);
  transform: rotate(-6deg);
}

.blind-date::after {
  width: 62%;
  height: 14px;
  left: 19%;
  top: 48%;
  background: var(--rose);
  box-shadow: 0 36px 0 rgba(91, 55, 45, 0.18);
  transform: rotate(-6deg);
}

.fantasy-box {
  background: linear-gradient(135deg, #ead4bf, #f9f2e8 48%, #8d7b90);
}

.fantasy-box::before {
  width: 55%;
  height: 45%;
  left: 24%;
  top: 30%;
  border-radius: 8px;
  background: linear-gradient(150deg, #704d61, #c59678);
  box-shadow: inset 0 0 0 12px rgba(255, 250, 243, 0.18);
}

.fantasy-box::after {
  width: 36%;
  height: 60%;
  left: 35%;
  top: 16%;
  border-radius: 4px;
  background: #fff6e8;
  transform: rotate(8deg);
}

.kindle-case {
  background: linear-gradient(135deg, #f7ded7, #fff8ef);
}

.kindle-case::before {
  width: 46%;
  height: 65%;
  left: 28%;
  top: 18%;
  border-radius: 20px;
  background: #dca99f;
  box-shadow: inset 0 0 0 9px rgba(91, 55, 45, 0.18), 0 18px 35px rgba(91, 55, 45, 0.18);
}

.kindle-case::after {
  width: 16px;
  height: 16px;
  left: calc(50% - 8px);
  top: 71%;
  border-radius: 50%;
  background: rgba(91, 55, 45, 0.26);
}

.dark-romance {
  background: linear-gradient(135deg, #efe1d7, #7a3f4f);
}

.dark-romance::before {
  width: 44%;
  height: 62%;
  left: 30%;
  top: 19%;
  border-radius: 4px;
  background: linear-gradient(135deg, #372934, #9b5b61);
  box-shadow: 0 20px 36px rgba(47, 37, 33, 0.28);
}

.dark-romance::after {
  width: 72%;
  height: 2px;
  left: 14%;
  top: 54%;
  background: rgba(255, 250, 243, 0.52);
}

.sage-case {
  background: linear-gradient(135deg, #dde3d5, #fff8ef);
}

.sage-case::before {
  width: 50%;
  height: 58%;
  left: 25%;
  top: 22%;
  border-radius: 18px;
  background: var(--sage);
  box-shadow: inset 0 0 0 8px rgba(255, 250, 243, 0.26);
}

.sweater {
  background: linear-gradient(135deg, #f3dfd5, #d9b8a9);
}

.sweater::before {
  width: 62%;
  height: 48%;
  left: 19%;
  top: 28%;
  border-radius: 34px 34px 12px 12px;
  background: #bd7c69;
}

.sweater::after {
  width: 20%;
  height: 18%;
  left: 40%;
  top: 24%;
  border-radius: 0 0 999px 999px;
  background: var(--cream);
}

.tote {
  background: linear-gradient(135deg, #fff4e5, #d9c7b5);
}

.tote::before {
  width: 52%;
  height: 58%;
  left: 24%;
  top: 28%;
  border-radius: 3px 3px 12px 12px;
  background: #f7e8d4;
  box-shadow: inset 0 -12px 0 rgba(168, 96, 76, 0.16);
}

.tote::after {
  width: 30%;
  height: 24%;
  left: 35%;
  top: 16%;
  border: 8px solid #a8604c;
  border-bottom: 0;
  border-radius: 999px 999px 0 0;
}

.bookmark {
  background: linear-gradient(135deg, #f8e7dc, #fff8ef);
}

.bookmark::before {
  width: 12%;
  height: 66%;
  left: 35%;
  top: 17%;
  border-radius: 999px 999px 6px 6px;
  background: var(--rose);
  box-shadow: 45px 0 0 var(--clay), 90px 0 0 var(--plum);
}

.reading-kit {
  background: linear-gradient(135deg, #e6c5ba, #fff8ef);
}

.reading-kit::before {
  width: 38%;
  height: 42%;
  left: 16%;
  top: 31%;
  border-radius: 50%;
  background: #f8ead9;
  box-shadow: inset 0 0 0 12px rgba(168, 96, 76, 0.14);
}

.reading-kit::after {
  width: 34%;
  height: 46%;
  right: 17%;
  top: 27%;
  border-radius: 6px;
  background: var(--sage);
  transform: rotate(9deg);
}

.product-info {
  padding: 1.2rem;
}

.product-info h3 a:hover {
  color: var(--clay);
}

.product-card-link {
  color: inherit;
  text-decoration: none;
}

.product-card-link h3 a {
  color: inherit;
  text-decoration: none;
}

.product-card-link:hover h3,
.product-card-link:focus-visible h3 {
  color: var(--clay);
}

.product-card-link .product-meta span:last-child {
  text-decoration: underline;
  text-underline-offset: 0.35rem;
}

.product-info p:not(.product-kicker) {
  min-height: 3rem;
  margin-top: 0.55rem;
}

.product-meta {
  margin-top: 1rem;
  color: var(--cocoa);
  font-weight: 800;
}

.mini-cart,
.filter-button {
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--paper);
  color: var(--cocoa);
  font-weight: 800;
  cursor: pointer;
}

.mini-cart {
  min-width: 3.2rem;
  padding: 0.42rem 0.72rem;
}

.add-to-cart-button {
  font: inherit;
  white-space: nowrap;
}

.add-to-cart-button:hover,
.add-to-cart-button:focus-visible {
  color: var(--paper);
  background: var(--clay);
}

.warm-section {
  background: #f7e1e4;
}

.market-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(380px, 1.15fr);
  gap: clamp(1.2rem, 4vw, 3rem);
  align-items: start;
}

.market-layout .section-heading {
  margin-bottom: 0;
}

.market-layout .section-heading p:not(.eyebrow) {
  max-width: 520px;
  margin-top: 1rem;
}

.market-schedule-link {
  display: inline-flex;
  margin-top: 1rem;
}

.market-list {
  display: grid;
  gap: 0.75rem;
}

.market-list article {
  display: grid;
  grid-template-columns: 5.5rem 1fr;
  gap: 1rem;
  align-items: center;
  padding: 1rem;
  border: 1px solid rgba(123, 87, 75, 0.16);
  border-radius: 8px;
  background: rgba(255, 250, 243, 0.74);
}

.market-list time {
  display: grid;
  min-height: 5rem;
  place-items: center;
  border-radius: 8px;
  color: var(--paper);
  background: var(--plum);
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 700;
  line-height: 1;
  text-align: center;
}

.market-list h3 {
  margin-bottom: 0.35rem;
  font-family: var(--serif);
  font-size: 1.65rem;
}

.market-map-link {
  display: inline-flex;
  width: fit-content;
  margin-top: 0.7rem;
  color: var(--clay);
  font-size: 0.9rem;
  font-weight: 800;
  border-bottom: 1px solid currentColor;
}

.market-loading {
  padding: 1rem;
  border: 1px solid rgba(123, 87, 75, 0.16);
  border-radius: 8px;
  background: rgba(255, 250, 243, 0.74);
}

.market-schedule-page .section-heading {
  max-width: none;
  margin-bottom: 1rem;
}

.market-schedule-page {
  padding-top: clamp(1.5rem, 4vw, 2.5rem);
}

.market-schedule-page .market-list {
  max-width: 980px;
}

.market-calendar {
  max-width: 980px;
  margin-bottom: 1.2rem;
  padding: clamp(1rem, 3vw, 1.4rem);
  border: 1px solid rgba(123, 87, 75, 0.16);
  border-radius: 8px;
  background: rgba(255, 250, 243, 0.78);
}

.market-calendar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.market-calendar-header h2 {
  font-size: clamp(1.9rem, 4vw, 3rem);
}

.market-calendar-header button,
.market-calendar-day {
  border: 1px solid rgba(123, 87, 75, 0.16);
  border-radius: 999px;
  background: var(--paper);
  color: var(--cocoa);
  font-weight: 800;
  cursor: pointer;
}

.market-calendar-header button {
  min-height: 2.5rem;
  padding: 0.55rem 1rem;
}

.market-calendar-weekdays,
.market-calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.45rem;
}

.market-calendar-weekdays {
  margin-bottom: 0.5rem;
  color: var(--rose);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
}

.market-calendar-day {
  min-height: 3.4rem;
  border-radius: 8px;
}

.market-calendar-day.empty {
  border: 0;
  background: transparent;
}

.market-calendar-day:disabled {
  color: rgba(123, 87, 75, 0.45);
  cursor: default;
}

.market-calendar-day.has-market {
  color: var(--paper);
  background: var(--plum);
}

.market-calendar-day.selected {
  outline: 3px solid rgba(232, 185, 173, 0.6);
  outline-offset: 2px;
}

.market-calendar-details {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(123, 87, 75, 0.14);
}

.market-calendar-details article + article {
  margin-top: 0.9rem;
}

.market-calendar-details h3 {
  font-family: var(--serif);
  font-size: 1.55rem;
}

.bestseller-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(123, 87, 75, 0.16);
  border-radius: 8px;
}

.bestseller-list a {
  display: flex;
  min-height: 9rem;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.2rem;
  background: var(--paper);
  font-weight: 800;
}

.bestseller-list strong {
  color: var(--clay);
}

.review-grid blockquote {
  margin: 0 0 1rem;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.45rem;
  line-height: 1.15;
}

.reviews {
  padding-top: clamp(2.8rem, 5vw, 4.6rem);
  padding-bottom: clamp(2.8rem, 5vw, 4.6rem);
}

.reviews .section-heading {
  margin-bottom: 1.45rem;
}

.reviews h2 {
  font-size: clamp(2.4rem, 4vw, 3.9rem);
}

.reviews .review-grid figure {
  padding: 1.1rem;
}

.reviews .review-grid blockquote {
  font-size: clamp(1.1rem, 1.45vw, 1.28rem);
  line-height: 1.18;
}

.review-grid figcaption {
  margin-top: auto;
  color: var(--rose);
  font-weight: 800;
}

.instagram-section {
  background: var(--paper);
}

.home-page .instagram-section {
  padding-top: clamp(2.25rem, 5vw, 4rem);
  padding-bottom: clamp(2.25rem, 5vw, 4rem);
}

.instagram-widget {
  overflow: visible;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(255, 250, 243, 0.78);
  box-shadow: 0 12px 34px rgba(123, 87, 75, 0.08);
}

.book-club-bubble {
  position: fixed;
  right: clamp(0.9rem, 2vw, 1.4rem);
  bottom: clamp(1.2rem, 2vw, 1.8rem);
  z-index: 999;
  display: inline-flex;
  flex-direction: column;
  gap: 0.12rem;
  max-width: 13rem;
  padding: 0.78rem 1rem;
  border: 1px solid rgba(255, 250, 243, 0.65);
  border-radius: 999px;
  color: var(--paper);
  background: var(--clay);
  box-shadow: 0 16px 42px rgba(75, 54, 47, 0.22);
}

.book-club-bubble span {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1;
  text-transform: uppercase;
  opacity: 0.82;
}

.book-club-bubble strong {
  font-size: 0.9rem;
  line-height: 1.15;
}

.book-club-bubble:hover {
  transform: translateY(-2px);
  background: var(--plum);
}

body.cart-is-open .book-club-bubble {
  display: none;
}

.instagram-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 0.85rem;
}

.instagram-tile {
  position: relative;
  min-height: 230px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(123, 87, 75, 0.10);
}

.instagram-tile.hero-tile {
  grid-row: span 2;
  min-height: 476px;
  background:
    linear-gradient(180deg, rgba(47, 37, 33, 0.08), rgba(47, 37, 33, 0.58)),
    url("images/banner-whisper-flame.png") center / cover;
}

.instagram-tile span {
  position: absolute;
  left: 0.85rem;
  right: 0.85rem;
  bottom: 0.85rem;
  z-index: 2;
  display: inline-flex;
  width: fit-content;
  max-width: calc(100% - 1.7rem);
  padding: 0.55rem 0.7rem;
  border-radius: 999px;
  color: var(--paper);
  background: rgba(47, 37, 33, 0.68);
  font-size: 0.82rem;
  font-weight: 800;
}

.newsletter {
  margin: clamp(1rem, 4vw, 4rem);
  padding: clamp(1.4rem, 4vw, 3rem);
  border-radius: 8px;
  color: var(--paper);
  background: linear-gradient(135deg, var(--plum), var(--cocoa));
}

.newsletter h2,
.newsletter .eyebrow {
  color: var(--paper);
}

.signup-form {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto;
  gap: 0.75rem;
  width: min(520px, 100%);
}

input,
select,
textarea {
  width: 100%;
  min-height: 3rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.8rem 0.9rem;
  color: var(--ink);
  background: var(--paper);
  font: inherit;
}

textarea {
  resize: vertical;
}

.form-note {
  grid-column: 1 / -1;
  min-height: 1.4rem;
  color: inherit;
  font-size: 0.9rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.site-footer {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 2rem;
  padding: 2rem clamp(1rem, 4vw, 4rem);
  border-top: 1px solid var(--border);
  background: var(--paper);
}

.site-footer p {
  margin-top: 0.8rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-weight: 800;
  color: var(--cocoa);
}

.page-hero {
  padding: clamp(5rem, 9vw, 8rem) clamp(1rem, 4vw, 4rem);
  border-bottom: 1px solid var(--border);
  background: linear-gradient(135deg, rgba(255, 250, 243, 0.9), rgba(232, 185, 173, 0.38));
}

.page-hero.compact {
  padding-bottom: clamp(3rem, 6vw, 5rem);
}

.quiz-hero {
  background-color: #6a5147;
  background-image:
    linear-gradient(90deg, rgba(47, 37, 33, 0.72), rgba(47, 37, 33, 0.28)),
    url("images/quiz-banner.png");
    background-position: center, 61% 42%;
    background-repeat: no-repeat;
    background-size: cover, auto 136%;
}

.quiz-hero h1,
.quiz-hero p,
.quiz-hero .eyebrow {
  color: var(--paper);
}

.page-hero p {
  max-width: 720px;
  margin-top: 1rem;
  font-size: 1.1rem;
}

.shop-category-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  max-width: 980px;
  margin-top: 1.5rem;
}

.shop-category-row .filter-button {
  width: auto;
  min-width: 8.5rem;
  text-align: center;
}

/* Shop landing banner, intro and category tiles */
.shop-banner {
  width: 100%;
  min-height: clamp(250px, 40vw, 620px);
  border-bottom: 1px solid var(--border);
  background: #5b382e url("images/banner-whisper-flame.png") center / cover no-repeat;
}

.shop-intro {
  padding-top: clamp(2.25rem, 5vw, 4rem);
  padding-bottom: clamp(2rem, 4vw, 3rem);
  text-align: center;
}

.shop-intro h1 {
  width: min(900px, 100%);
  margin: 0 auto 1.5rem;
  font-size: clamp(2.5rem, 6vw, 5.5rem);
}

.shop-category-section {
  padding-top: 0;
}

.shop-category-section .section-heading {
  text-align: center;
}

.shop-category-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.shop-category-card {
  min-height: 130px;
  padding: 1.2rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--cocoa);
  background: linear-gradient(135deg, rgba(255, 250, 243, 0.96), rgba(232, 185, 173, 0.45));
  box-shadow: var(--shadow);
  font-family: var(--serif);
  font-size: clamp(1.45rem, 2.8vw, 2.2rem);
  font-weight: 700;
  cursor: pointer;
}

.shop-category-card:hover,
.shop-category-card.active {
  color: var(--paper);
  background: var(--plum);
}

.button.is-disabled,
.button[aria-disabled="true"] {
  opacity: 0.55;
  cursor: not-allowed;
}

.combined-case-preview {
  width: min(620px, 100%);
  min-height: 0;
  aspect-ratio: 1 / 1;
  margin: 0 auto 1rem;
}

@media (max-width: 760px) {
  .shop-banner {
    min-height: 230px;
  }

  .shop-category-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.55rem;
  }

  .shop-category-card {
    min-height: 92px;
    padding: 0.7rem 0.45rem;
    font-size: clamp(1rem, 4.5vw, 1.3rem);
  }
}

.quiz-shell {
  display: grid;
  grid-template-columns: minmax(260px, 0.48fr) minmax(0, 1fr);
  gap: 1.25rem;
  align-items: start;
  padding: clamp(2rem, 4vw, 4rem);
}

.quiz-intro,
.quiz-card,
.quiz-result-card {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(255, 250, 243, 0.82);
  box-shadow: var(--shadow);
}

.quiz-intro {
  position: sticky;
  top: 5.5rem;
  padding: clamp(1.2rem, 3vw, 2rem);
}

.quiz-intro h2 {
  margin-bottom: 1rem;
  font-size: clamp(2rem, 3.4vw, 3.2rem);
}

.quiz-progress {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.4rem;
  margin-top: 1.5rem;
}

.quiz-progress span {
  height: 0.38rem;
  border-radius: 999px;
  background: rgba(123, 87, 75, 0.18);
}

.quiz-progress span.active,
.quiz-progress span:nth-child(2) {
  background: var(--clay);
}

.quiz-card {
  display: grid;
  gap: 1rem;
  padding: clamp(1rem, 3vw, 2rem);
}

.quiz-card fieldset {
  display: grid;
  gap: 0.8rem;
  margin: 0;
  padding: 1.1rem;
  border: 1px solid rgba(123, 87, 75, 0.14);
  border-radius: 8px;
  background: rgba(251, 245, 235, 0.58);
}

.quiz-card legend {
  padding: 0 0.45rem;
  color: var(--cocoa);
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 700;
}

.quiz-help {
  font-size: 0.96rem;
}

.option-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
}

.option-grid label {
  display: flex;
  min-height: 3.25rem;
  align-items: center;
  gap: 0.65rem;
  padding: 0.75rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--paper);
  color: var(--cocoa);
  font-weight: 800;
  cursor: pointer;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.option-grid input {
  width: 1rem;
  min-height: auto;
  flex: 0 0 auto;
  accent-color: var(--clay);
}

.option-grid label:has(input:checked) {
  border-color: var(--clay);
  background: rgba(232, 185, 173, 0.3);
  box-shadow: inset 0 0 0 1px var(--clay);
}

.option-grid label:focus-within {
  outline: 3px solid rgba(154, 106, 92, 0.32);
  outline-offset: 2px;
}

.option-grid input:focus-visible {
  outline: none;
}

.spice-options label {
  align-items: flex-start;
}

.spice-options label > span {
  display: grid;
  gap: 0.2rem;
}

.spice-options small {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 500;
  line-height: 1.45;
}

.quiz-card fieldset.quiz-group-invalid {
  border-color: var(--rose);
  box-shadow: 0 0 0 2px rgba(185, 136, 125, 0.2);
}

.quiz-card button:disabled {
  cursor: wait;
  opacity: 0.65;
}

.compact-options {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.quiz-text-label {
  display: grid;
  gap: 0.45rem;
  color: var(--cocoa);
  font-weight: 800;
}

.quiz-email-step {
  background: linear-gradient(135deg, rgba(232, 185, 173, 0.28), rgba(255, 250, 243, 0.9));
}

.quiz-message {
  color: var(--rose);
}

.quiz-result-section {
  display: grid;
  gap: 1.25rem;
  padding: 0 clamp(1rem, 4vw, 4rem) clamp(4rem, 8vw, 7rem);
}

.quiz-result-section[hidden] {
  display: none;
}

.quiz-result-card {
  display: grid;
  gap: 1.1rem;
  width: min(920px, 100%);
  margin: 0 auto;
  padding: clamp(1.4rem, 4vw, 3rem);
  background:
    linear-gradient(135deg, rgba(255, 250, 243, 0.92), rgba(232, 185, 173, 0.30)),
    var(--paper);
}

.quiz-result-card h2 {
  font-size: clamp(2.6rem, 5vw, 4.6rem);
}

.quiz-result-card:focus {
  outline: none;
}

.quiz-result-card:focus-visible {
  outline: 3px solid rgba(154, 106, 92, 0.34);
  outline-offset: 4px;
}

.match-rank {
  color: var(--cocoa);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.result-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.result-tags span {
  display: inline-flex;
  padding: 0.42rem 0.7rem;
  border-radius: 999px;
  color: var(--paper);
  background: var(--plum);
  font-size: 0.82rem;
  font-weight: 800;
}

.result-details {
  display: grid;
  gap: 0.65rem;
  padding-top: 0.6rem;
  border-top: 1px solid var(--border);
}

.quiz-result-card .button.ghost {
  border-color: var(--border);
  color: var(--cocoa);
  background: var(--paper);
}

.quiz-secondary-results {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  width: min(920px, 100%);
  margin: 0 auto;
}

.quiz-result-secondary {
  align-content: start;
  padding: clamp(1.25rem, 3vw, 2rem);
}

.quiz-result-secondary h3 {
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(2rem, 3.6vw, 3rem);
  line-height: 0.98;
}

.quiz-result-secondary .result-details {
  font-size: 0.92rem;
}

.quiz-result-secondary .hero-actions {
  margin-top: 0.4rem;
}

.shop-layout,
.product-detail,
.contact-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 1.25rem;
  padding: clamp(2rem, 4vw, 4rem);
}

.shop-sidebar {
  display: grid;
  align-content: start;
  gap: 1rem;
}

.filter-card {
  display: grid;
  gap: 0.7rem;
}

.reader-return-copy {
  display: grid;
  gap: 0.85rem;
  align-content: start;
}

.reader-return-copy p {
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.55;
}

.reader-return-copy strong {
  color: var(--cocoa);
}

.filter-button {
  width: 100%;
  padding: 0.72rem 1rem;
  text-align: left;
}

.filter-button.active,
.filter-button:hover {
  color: var(--paper);
  background: var(--clay);
}

.shop-results {
  min-width: 0;
}

.shop-bar {
  margin-bottom: 1rem;
  padding: 0.9rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(255, 250, 243, 0.72);
}

.shop-bar select {
  max-width: 220px;
}

.shop-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.empty-state {
  padding: 2rem;
  text-align: center;
}

.product-detail {
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  align-items: start;
}

.gallery-main {
  min-height: 620px;
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.product-photo-main {
  display: grid;
  place-items: center;
  padding: clamp(1rem, 3vw, 2rem);
  background:
    linear-gradient(135deg, rgba(255, 250, 243, 0.84), rgba(232, 185, 173, 0.36)),
    var(--paper);
}

.product-photo-card {
  width: min(520px, 82%);
  min-height: 480px;
  border: 1px solid rgba(123, 87, 75, 0.12);
  border-radius: 8px;
  box-shadow: 0 26px 60px rgba(123, 87, 75, 0.16);
}

.product-photo-main span {
  margin-top: 1rem;
  color: var(--rose);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.gallery-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-top: 0.75rem;
}

.thumb {
  position: relative;
  min-height: 112px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: linear-gradient(135deg, #f8e7dc, #fff8ef);
  cursor: pointer;
  overflow: hidden;
}

.purchase-panel {
  padding: clamp(1.3rem, 3vw, 2rem);
}

.purchase-panel h1 {
  font-size: clamp(3rem, 6vw, 5rem);
}

.rating {
  margin-top: 0.8rem;
}

.price {
  margin: 1.2rem 0;
  color: var(--clay);
  font-size: 1.5rem;
  font-weight: 800;
}

.tag-block {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 1rem;
}

.tag-block span {
  display: inline-flex;
  padding: 0.42rem 0.7rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--cocoa);
  background: rgba(255, 250, 243, 0.76);
  font-size: 0.8rem;
  font-weight: 800;
}

.trope-tags span {
  color: var(--paper);
  background: var(--plum);
}

.product-form {
  display: grid;
  gap: 0.85rem;
  margin-top: 1.4rem;
}

.product-form label,
.contact-form label {
  display: grid;
  gap: 0.45rem;
  color: var(--cocoa);
  font-weight: 800;
}

.product-option-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
}

.product-option-grid label {
  display: flex;
  min-height: 3rem;
  align-items: center;
  gap: 0.55rem;
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--paper);
}

.product-option-grid input {
  width: 1rem;
  min-height: auto;
  accent-color: var(--clay);
}

.quantity-control {
  display: inline-grid;
  grid-template-columns: 2.8rem 4rem 2.8rem;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 999px;
}

.quantity-control input {
  min-height: 2.75rem;
  border: 0;
  border-radius: 0;
  text-align: center;
}

.quantity-control button {
  border: 0;
  color: var(--cocoa);
  background: var(--paper);
  font-size: 1.1rem;
  font-weight: 800;
  cursor: pointer;
}

.promise-list {
  display: grid;
  gap: 0.6rem;
  margin: 1.3rem 0 0;
  padding: 0;
  color: var(--muted);
  list-style: none;
}

.promise-list li::before {
  display: inline-block;
  width: 0.55rem;
  height: 0.55rem;
  margin-right: 0.5rem;
  border-radius: 50%;
  background: var(--sage);
  content: "";
}

.product-copy {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 2rem;
  background: var(--paper);
}

.copy-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

.handpicked-section {
  background:
    linear-gradient(90deg, rgba(47, 37, 33, 0.70), rgba(47, 37, 33, 0.18)),
    url("images/banner-whisper-flame.png") center / cover;
}

.handpicked-content {
  width: min(760px, 100%);
}

.handpicked-content h2,
.handpicked-content p,
.handpicked-content .eyebrow {
  color: var(--paper);
}

.handpicked-content p:not(.eyebrow) {
  margin-top: 1rem;
  font-size: 1.08rem;
}

.included-section {
  background: var(--paper);
}

.included-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.included-grid article {
  padding: 1.2rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(251, 245, 235, 0.66);
}

.included-grid span {
  display: inline-grid;
  width: 2.4rem;
  height: 2.4rem;
  place-items: center;
  margin-bottom: 1rem;
  border-radius: 50%;
  color: var(--paper);
  background: var(--clay);
  font-size: 0.75rem;
  font-weight: 800;
}

.included-grid h3 {
  margin-bottom: 0.5rem;
  font-family: var(--serif);
  font-size: 1.45rem;
}

.product-reviews {
  background: linear-gradient(135deg, rgba(232, 185, 173, 0.22), rgba(255, 250, 243, 0.78));
}

.story-hero {
  padding-top: clamp(3rem, 6vw, 5rem);
  padding-bottom: clamp(3rem, 6vw, 5rem);
  background:
    linear-gradient(90deg, rgba(47, 37, 33, 0.70), rgba(47, 37, 33, 0.28)),
    url("images/about-hero-wide.png") center center / cover;
}

.story-hero h1,
.story-hero p,
.story-hero .eyebrow {
  color: var(--paper);
}

.founder-story {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: start;
  background: var(--paper);
}

.founder-copy h2 {
  max-width: 720px;
}

.founder-story-image {
  display: block;
  width: 100%;
  height: clamp(30rem, 36vw, 40rem);
  margin-top: 1.5rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  object-fit: cover;
  object-position: center;
  box-shadow: 0 18px 42px rgba(123, 87, 75, 0.12);
}

.founder-note {
  display: grid;
  gap: 1rem;
  padding: clamp(1.2rem, 3vw, 2rem);
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(251, 245, 235, 0.76);
  box-shadow: 0 14px 34px rgba(123, 87, 75, 0.08);
}

.story-grid {
  grid-template-columns: 1fr 1fr;
  gap: clamp(0.75rem, 1.5vw, 1.15rem);
  padding-top: clamp(1.5rem, 3vw, 2.5rem);
  padding-bottom: clamp(2rem, 4vw, 3rem);
}

.story-card {
  min-height: 210px;
  padding: clamp(1rem, 1.8vw, 1.25rem);
}

.story-card.accent {
  background: var(--plum);
}

.story-card.accent h2,
.story-card.accent p {
  color: var(--paper);
}

.values {
  background: var(--paper);
}

.about-closing {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr) auto;
  gap: clamp(0.75rem, 2.5vw, 1.4rem);
  align-items: center;
  background: #f7e1e4;
  padding-top: clamp(2rem, 4vw, 3rem);
  padding-bottom: clamp(2rem, 4vw, 3rem);
}

.about-closing h2 {
  font-size: clamp(2.8rem, 5.2vw, 4.8rem);
  line-height: 0.95;
}

.about-closing > p {
  max-width: 700px;
  font-size: clamp(1rem, 1.1vw, 1.1rem);
  line-height: 1.45;
}

.about-closing .button {
  white-space: nowrap;
  padding: 0.85rem 1.35rem;
}

.faq-list {
  display: grid;
  gap: 0.85rem;
  width: min(920px, calc(100% - 2rem));
  margin: 2rem auto 4rem;
}

details {
  padding: 1rem 1.2rem;
}

summary {
  color: var(--cocoa);
  font-weight: 800;
  cursor: pointer;
}

details p {
  margin-top: 0.8rem;
}

.newsletter.narrow {
  width: min(920px, calc(100% - 2rem));
  margin-inline: auto;
}

.contact-layout {
  grid-template-columns: minmax(0, 1fr) 360px;
  align-items: start;
}

.contact-form {
  display: grid;
  gap: 1rem;
  padding: clamp(1rem, 3vw, 2rem);
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(255, 250, 243, 0.82);
  box-shadow: var(--shadow);
}

.field-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.contact-card {
  position: sticky;
  top: 5.5rem;
}

.contact-card h3 {
  margin-bottom: 0.5rem;
}

.contact-card p + p {
  margin-top: 0.75rem;
}

.mini-divider {
  height: 1px;
  margin: 1.2rem 0;
  background: var(--border);
}

.toast {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 30;
  padding: 0.85rem 1rem;
  border-radius: 8px;
  color: var(--paper);
  background: var(--cocoa);
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(1rem);
  transition: 180ms ease;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

.cart-bubble {
  position: fixed;
  top: 6.75rem;
  right: 1rem;
  z-index: 45;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 0.9rem;
  border: 1px solid rgba(123, 87, 75, 0.2);
  border-radius: 999px;
  color: var(--paper);
  background: var(--clay);
  box-shadow: var(--shadow);
  font-weight: 800;
  cursor: pointer;
}

.cart-bubble-count {
  display: grid;
  min-width: 1.45rem;
  height: 1.45rem;
  place-items: center;
  border-radius: 999px;
  color: var(--cocoa);
  background: var(--paper);
  font-size: 0.82rem;
}

.cart-backdrop {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: rgba(61, 46, 41, 0.28);
  opacity: 0;
  pointer-events: none;
  transition: opacity 200ms ease;
}

.cart-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.cart-drawer {
  position: fixed;
  inset: 0 0 0 auto;
  z-index: 50;
  display: grid;
  width: min(390px, calc(100vw - 1.5rem));
  grid-template-rows: auto 1fr auto auto;
  gap: 1rem;
  padding: 1.2rem;
  overflow-y: auto;
  border-left: 1px solid var(--border);
  background: var(--paper);
  box-shadow: -18px 0 46px rgba(61, 46, 41, 0.18);
  transform: translateX(105%);
  transition: transform 240ms ease;
}

.cart-drawer.open {
  transform: translateX(0);
}

.cart-drawer-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid var(--border);
}

.cart-drawer-header h2 {
  font-size: clamp(2rem, 6vw, 2.8rem);
}

.cart-close,
.cart-line-actions button {
  border: 0;
  color: var(--clay);
  background: transparent;
  font: inherit;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 0.25rem;
  cursor: pointer;
}

.cart-items {
  display: grid;
  align-content: start;
  gap: 0.75rem;
}

.cart-line-item {
  display: grid;
  gap: 0.7rem;
  padding: 0.9rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fffaf3;
}

.cart-line-item h3 {
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.3;
}

.cart-line-item p {
  margin-top: 0.2rem;
  color: var(--muted);
  font-weight: 700;
}

.cart-line-options {
  margin-top: 0.45rem;
  font-size: 0.82rem;
  line-height: 1.35;
  font-weight: 600;
}

.cart-line-actions,
.cart-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.cart-line-actions a {
  color: var(--clay);
  font-weight: 800;
}

.cart-empty {
  align-self: start;
  padding: 1rem;
  border: 1px dashed var(--border);
  border-radius: 8px;
  color: var(--muted);
}

.cart-total {
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  color: var(--cocoa);
  font-weight: 800;
}

@media (max-width: 1050px) {
  .site-header {
    flex-wrap: wrap;
  }

  .brand {
    width: min(20rem, 48vw);
  }

  .site-nav {
    flex: 1 1 100%;
    flex-wrap: wrap;
    justify-content: center;
  }

  .site-nav a {
    padding: 0.55rem 0.72rem;
    font-size: 0.9rem;
  }

  .shop-layout,
  .product-detail,
  .contact-layout,
  .product-copy,
  .market-layout,
  .quiz-shell,
  .founder-story,
  .about-closing {
    grid-template-columns: 1fr;
  }

  .quiz-intro {
    position: static;
  }

  .compact-options {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .shop-sidebar {
    grid-template-columns: 1fr 1fr;
  }

  .shop-grid,
  .product-grid,
  .included-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .founder-story-image {
    height: clamp(24rem, 72vw, 34rem);
  }

  .gallery-main {
    min-height: 480px;
  }

  .product-photo-card {
    min-height: 390px;
  }

  .contact-card {
    position: static;
  }
}

@media (max-width: 760px) {
  body.mobile-nav-is-open .cart-bubble {
    display: none;
  }

  .cart-bubble {
    top: 6.9rem;
    right: 0.75rem;
    padding: 0.55rem 0.75rem;
    font-size: 0.82rem;
  }

  .cart-drawer {
    width: min(360px, calc(100vw - 1rem));
    padding: 1rem;
  }

  h1 {
    font-size: clamp(3.1rem, 17vw, 4.5rem);
  }

  .site-header {
    align-items: start;
  }

  .nav-toggle {
    display: block;
    flex: 0 0 auto;
  }

  .site-nav {
    position: absolute;
    left: 1rem;
    right: 1rem;
    top: 4.75rem;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 0.7rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--paper);
    box-shadow: var(--shadow);
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav a {
    border-radius: 8px;
  }

  .hero {
    min-height: 680px;
    align-items: end;
  }

  .hero-media {
    background:
      linear-gradient(180deg, rgba(47, 37, 33, 0.12), rgba(47, 37, 33, 0.80) 70%),
      url("images/banner-whisper-flame.png") center / cover;
  }

  .quiz-hero {
    min-height: 86svh;
    padding: 8.7rem 1.35rem 4.6rem;
    background-position: center, 74% 50%;
    background-size: cover, auto 118%;
  }

  .quiz-hero .eyebrow {
    max-width: 11rem;
    color: #d0a092;
    font-size: 0.78rem;
    line-height: 1.45;
  }

  .quiz-hero h1 {
    max-width: 7.6em;
    margin-top: 1.1rem;
    font-size: clamp(4rem, 17vw, 5.4rem);
    line-height: 0.9;
  }

  .quiz-hero p:not(.eyebrow) {
    max-width: 17rem;
    margin-top: 1.15rem;
    font-size: 1.12rem;
    line-height: 1.55;
  }

  .quiz-shell {
    padding-top: 1.4rem;
  }

  .quiz-secondary-results {
    grid-template-columns: 1fr;
  }

  .section-heading.split,
  .newsletter,
  .site-footer,
  .shop-bar,
  .quantity-row {
    align-items: stretch;
    flex-direction: column;
  }

  .feature-grid,
  .collection-grid,
  .product-grid,
  .story-grid,
  .shop-grid,
  .shop-sidebar,
  .copy-columns,
  .field-pair,
  .bestseller-list,
  .instagram-grid,
  .option-grid,
  .compact-options,
  .product-option-grid,
  .included-grid {
    grid-template-columns: 1fr;
  }

  .instagram-tile.hero-tile {
    grid-row: auto;
    min-height: 290px;
  }

  .market-list article {
    grid-template-columns: 1fr;
  }

  .home-page .warm-section {
    padding-top: 1rem;
    padding-bottom: 1.1rem;
  }

  .home-page .market-layout {
    gap: 0.7rem;
  }

  .home-page .market-layout .section-heading h2 {
    font-size: clamp(2rem, 9vw, 2.55rem);
  }

  .home-page .market-layout .section-heading p:not(.eyebrow) {
    max-width: none;
    margin-top: 0.45rem;
    font-size: 0.82rem;
    line-height: 1.35;
  }

  .home-page .market-schedule-link {
    margin-top: 0.45rem;
    font-size: 0.78rem;
  }

  .home-page .market-list {
    gap: 0.42rem;
  }

  .home-page .market-list article {
    grid-template-columns: 3.35rem 1fr;
    gap: 0.55rem;
    padding: 0.48rem;
  }

  .home-page .market-list time {
    min-height: 3.15rem;
    font-size: 0.9rem;
  }

  .home-page .market-list h3 {
    margin-bottom: 0.12rem;
    font-size: 1.08rem;
  }

  .home-page .market-list article p {
    margin: 0;
    font-size: 0.72rem;
    line-height: 1.22;
  }

  .home-page .market-map-link {
    margin-top: 0.22rem;
    font-size: 0.7rem;
  }

  .signup-form {
    grid-template-columns: 1fr;
  }

  .page-hero,
  .section,
  .shop-layout,
  .product-detail,
  .contact-layout,
  .quiz-shell {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .gallery-main {
    min-height: 360px;
  }

  .product-photo-card {
    width: 100%;
    min-height: 310px;
  }

  .product-visual {
    min-height: 250px;
  }

  .intro-band {
    padding-top: 2.2rem;
    padding-bottom: 2.2rem;
  }

  .intro-band .section-heading {
    margin-bottom: 1rem;
  }

  .intro-band h2 {
    font-size: clamp(1.95rem, 9.2vw, 2.45rem);
  }

  .collection-grid {
    gap: 0.58rem;
  }

  .collection-card {
    gap: 0.42rem;
    padding: 0.68rem;
  }

  .collection-visual {
    min-height: 118px;
  }

  .collection-card .product-kicker {
    margin-bottom: 0.22rem;
    font-size: 0.62rem;
  }

  .collection-card h3 {
    font-size: 1.18rem;
  }

  .collection-card p:not(.product-kicker) {
    font-size: 0.78rem;
    line-height: 1.28;
  }

  .collection-card .text-link {
    margin-top: 0;
    font-size: 0.78rem;
  }

  .shop-bar select {
    max-width: none;
  }

  .reviews {
    padding-top: 1.25rem;
    padding-bottom: 1.35rem;
  }

  .reviews .section-heading {
    margin-bottom: 0.6rem;
  }

  .reviews h2 {
    font-size: clamp(2rem, 9vw, 2.45rem);
  }

  .reviews .review-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }

  .reviews .review-grid figure {
    min-width: 0;
    padding: 0.9rem 0.95rem;
  }

  .reviews .review-grid blockquote {
    margin-bottom: 0.5rem;
    font-size: clamp(0.82rem, 3.75vw, 0.96rem);
    line-height: 1.22;
  }

  .reviews .review-grid figcaption {
    font-size: 0.86rem;
  }

  .home-page .instagram-section {
    padding-top: 1.8rem;
    padding-bottom: 2rem;
  }

  .instagram-section .section-heading {
    margin-bottom: 0.8rem;
  }

  .instagram-widget {
    max-height: none;
    overflow: visible;
  }

  .book-club-bubble {
    right: 0.8rem;
    bottom: 0.85rem;
    max-width: 11rem;
    padding: 0.62rem 0.82rem;
  }

  .book-club-bubble span {
    font-size: 0.58rem;
  }

  .book-club-bubble strong {
    font-size: 0.78rem;
  }
}

@media (max-width: 430px) {
  .brand {
    width: min(16rem, 62vw);
    height: 3.4rem;
  }

  .brand-mark {
    width: 2.6rem;
    height: 2.6rem;
  }

  .hero-actions .button,
  .newsletter .button {
    width: 100%;
  }

  .gallery-strip {
    grid-template-columns: 1fr;
  }
}


.blind-date-options {
  background: var(--paper);
  scroll-margin-top: 7rem;
}

.blind-date-option-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.blind-date-option-card {
  display: grid;
  align-content: start;
  gap: 1rem;
  padding: 1.35rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(255, 250, 243, 0.82);
  box-shadow: 0 12px 34px rgba(123, 87, 75, 0.08);
}

.blind-date-option-card h3 {
  font-family: var(--serif);
  font-size: 2rem;
}

.blind-date-option-card .price {
  margin: 0;
}

.dark-option {
  background: linear-gradient(135deg, rgba(255, 250, 243, 0.88), rgba(122, 90, 97, 0.12));
}

@media (max-width: 760px) {
  .blind-date-option-grid {
    grid-template-columns: 1fr;
  }
}


.blind-date-option-photo {
  min-height: 220px;
  margin-bottom: 0.25rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.original-blind-date-photo {
  background-image: url("images/blind-date-packages.png");
  background-position: center 42%;
}

.dark-blind-date-photo {
  background-image: url("images/dark-romance-blind-date.jpg");
  background-position: center 50%;
}


main > .blind-date-options:first-child {
  padding-top: clamp(3rem, 6vw, 5rem);
}


.product-form textarea {
  width: 100%;
  min-height: 7rem;
  resize: vertical;
  padding: 0.85rem 1rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--ink);
  background: var(--paper);
  font: inherit;
}

.product-form textarea::placeholder {
  color: var(--muted);
}

.blind-date-intro {
  border-bottom: 1px solid var(--border);
}

.blind-date-disclaimer {
  margin-top: 1rem;
  padding: 1.1rem 1.2rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(255, 250, 243, 0.82);
}

.blind-date-disclaimer p {
  color: var(--muted);
}


.blind-date-intro {
  grid-template-columns: minmax(220px, 0.55fr) minmax(320px, 1fr);
  gap: clamp(1.25rem, 3vw, 2.4rem);
  padding-top: clamp(2rem, 4vw, 3rem);
  padding-bottom: clamp(1.8rem, 4vw, 3rem);
}

.blind-date-intro .section-heading,
.blind-date-intro > div:first-child {
  margin-bottom: 0;
}

.blind-date-intro h2 {
  max-width: 520px;
  font-size: clamp(1.95rem, 3vw, 3.1rem);
}

.blind-date-description-copy {
  display: grid;
  align-content: start;
  gap: 0.55rem;
  max-width: 720px;
}

.blind-date-description-copy p {
  font-size: clamp(0.92rem, 1.25vw, 1.02rem);
  line-height: 1.45;
}

.blind-date-description-copy p:last-child {
  font-weight: 800;
  color: var(--cocoa);
}

@media (max-width: 900px) {
  .blind-date-intro {
    grid-template-columns: 1fr;
  }
}


/* Tighten Blind Date intro-to-options spacing */
.blind-date-intro {
  padding-bottom: clamp(0.75rem, 2vw, 1.5rem);
}

.blind-date-options {
  padding-top: clamp(1rem, 2.5vw, 2rem);
}

main > .blind-date-options:first-child {
  padding-top: clamp(1rem, 2.5vw, 2rem);
}


/* Taller option images on mobile */
@media (max-width: 760px) {
  .blind-date-option-photo {
    min-height: 430px;
  }
}

@media (max-width: 430px) {
  .blind-date-option-photo {
    min-height: 470px;
  }
}

/* Product page starts with options */
main > .blind-date-options:first-child {
  padding-top: clamp(2rem, 5vw, 4rem);
}


/* Compact shop hero */
.page-hero.compact {
  min-height: auto;
  padding-top: clamp(2.25rem, 5vw, 4rem);
  padding-bottom: clamp(2rem, 5vw, 3.5rem);
}

.page-hero.compact h1 {
  max-width: 760px;
  font-size: clamp(3rem, 7vw, 6rem);
}

.page-hero.compact p:not(.eyebrow) {
  max-width: 620px;
  font-size: clamp(0.98rem, 1.5vw, 1.08rem);
}

.page-hero.compact .shop-category-row {
  margin-top: 1.4rem;
}

@media (max-width: 760px) {
  .page-hero.compact {
    padding-top: 1.35rem;
    padding-bottom: 1.25rem;
  }

  .page-hero.compact .eyebrow {
    margin-bottom: 0.35rem;
    font-size: 0.68rem;
  }

  .page-hero.compact h1 {
    max-width: 22rem;
    font-size: clamp(1.95rem, 8.1vw, 2.45rem);
    line-height: 1.03;
  }

  .page-hero.compact p:not(.eyebrow) {
    margin-top: 0.62rem;
    font-size: 0.86rem;
    line-height: 1.45;
  }

  .page-hero.compact .shop-category-row {
    gap: 0.38rem;
    margin-top: 0.85rem;
  }

  .page-hero.compact .filter-button {
    min-height: 2.15rem;
    padding: 0.42rem 0.72rem;
    font-size: 0.74rem;
  }
}


/* Mobile shop order and Blind Date anchors */
.blind-date-option-card {
  scroll-margin-top: 7rem;
}

@media (max-width: 900px) {
  .shop-layout {
    display: flex;
    flex-direction: column;
  }

  .shop-grid {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  .shop-grid .product-card {
    display: grid;
    grid-template-rows: auto 1fr;
    width: 100%;
  }

  .shop-grid .product-visual {
    min-height: clamp(235px, 52vw, 360px);
  }

  .shop-grid .product-info {
    gap: 0.58rem;
    padding: 0.85rem 0.95rem 1rem;
  }

  .shop-grid .product-kicker {
    margin-bottom: 0.12rem;
    font-size: 0.72rem;
  }

  .shop-grid .product-info h3 {
    font-size: clamp(1.3rem, 5.3vw, 1.75rem);
  }

  .shop-grid .product-info p:not(.product-kicker) {
    min-height: 0;
    margin-top: 0;
    font-size: 0.92rem;
    line-height: 1.32;
  }

  .shop-grid .product-meta {
    margin-top: 0.45rem;
    gap: 0.65rem;
    font-size: 0.92rem;
  }

  .shop-grid .product-meta .mini-cart,
  .shop-grid .product-meta .buy-now-link {
    padding: 0.54rem 0.9rem;
    font-size: 0.88rem;
  }

  .shop-results {
    order: 1;
  }

  .shop-sidebar {
    order: 2;
  }
}


/* Blind Date choice cards */
.blind-date-choices {
  padding-top: clamp(2rem, 5vw, 4rem);
  padding-bottom: clamp(2rem, 5vw, 4rem);
  background: var(--cream);
}

.blind-date-choices .section-heading h1 {
  max-width: 900px;
  font-size: clamp(3rem, 7vw, 6rem);
}

.blind-date-choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.choice-photo {
  display: block;
  min-height: 330px;
  border-bottom: 1px solid var(--border);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.blind-date-choice-card {
  display: grid;
  overflow: hidden;
}

.blind-date-choice-card .product-info {
  display: grid;
  gap: 0.75rem;
}

.blind-date-choice-card .product-meta {
  margin-top: 0.25rem;
}

@media (max-width: 760px) {
  .blind-date-choice-grid {
    grid-template-columns: 1fr;
  }

  .blind-date-choices {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
  }

  .blind-date-choices .section-heading {
    margin-bottom: 1rem;
  }

  .blind-date-choices .section-heading h1 {
    font-size: clamp(2.35rem, 12vw, 3.25rem);
  }

  .choice-photo {
    min-height: 300px;
  }
}


/* Standalone Blind Date product pages */
.standalone-product-section {
  padding-top: clamp(2rem, 5vw, 4rem);
}

.standalone-product-grid {
  width: min(920px, 100%);
  margin: 1rem auto 0;
}

.standalone-option-card {
  padding: 1.35rem;
}

.standalone-option-card .blind-date-option-photo {
  min-height: 360px;
}

.back-link {
  display: inline-flex;
  margin-bottom: 0.5rem;
}

@media (max-width: 760px) {
  .standalone-product-section {
    padding-top: 1.25rem;
  }

  .standalone-option-card {
    padding: 1rem;
  }

  .standalone-option-card .blind-date-option-photo {
    min-height: 430px;
  }
}


/* Full-size standalone product photos */
.standalone-option-card .blind-date-option-photo {
  min-height: clamp(520px, 46vw, 760px);
  background-size: cover;
  background-position: center;
}

.standalone-product-grid {
  width: min(1120px, 100%);
}

@media (max-width: 760px) {
  .standalone-option-card .blind-date-option-photo {
    min-height: 520px;
  }
}

@media (max-width: 430px) {
  .standalone-option-card .blind-date-option-photo {
    min-height: 560px;
  }
}


/* Square standalone product photos */
.standalone-product-grid {
  width: min(760px, 100%);
}

.standalone-option-card .blind-date-option-photo {
  width: min(620px, 100%);
  aspect-ratio: 1 / 1;
  min-height: 0;
  margin-inline: auto;
  background-color: var(--paper);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

@media (max-width: 760px) {
  .standalone-product-grid {
    width: 100%;
  }

  .standalone-option-card .blind-date-option-photo {
    width: 100%;
    aspect-ratio: 1 / 1;
    min-height: 0;
  }
}

.product-recommendations {
  padding-top: 0;
}

.product-recommendations .section-heading,
.product-recommendations-grid {
  width: min(1120px, 100%);
  margin-inline: auto;
}

.product-recommendations .section-heading {
  margin-bottom: 1.2rem;
}

@media (max-width: 760px) {
  .product-recommendations {
    padding-top: 0.5rem;
  }

  .product-recommendations .section-heading {
    margin-bottom: 0.85rem;
  }

  .product-recommendations .section-heading h2 {
    font-size: clamp(2rem, 9vw, 2.6rem);
  }

  .product-recommendations-grid .product-visual {
    min-height: 220px;
  }
}


/* Book Box chooser and product pages */
.book-box-choices .section-heading h1 {
  max-width: 900px;
}

.dark-book-box-photo {
  background-image: url("images/curated-book-boxes.png");
  background-position: center 45%;
}


/* Smaller book box product headings */
.book-box-standalone-card h1 {
  font-size: clamp(2rem, 4vw, 3.25rem);
}

@media (max-width: 760px) {
  .book-box-standalone-card h1 {
    font-size: clamp(1.8rem, 9vw, 2.55rem);
  }
}


.product-disclaimer {
  padding: 0.95rem 1rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--muted);
  background: rgba(255, 250, 243, 0.78);
  font-size: 0.9rem;
  line-height: 1.5;
}

.product-disclaimer strong {
  color: var(--cocoa);
}


/* Align product card prices */
.product-card {
  display: grid;
  grid-template-rows: auto 1fr;
  height: 100%;
}

.product-info {
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  align-content: start;
  gap: 0.7rem;
  height: 100%;
}

.product-info .product-meta {
  align-self: end;
  margin-top: 0.5rem;
}

.shop-grid .product-card,
.product-grid .product-card {
  min-height: 100%;
}


/* Reader Essentials */
.essentials-hero h1 {
  max-width: 860px;
}

.essentials-section {
  background: var(--paper);
}

.section.essentials-section {
  padding-top: clamp(1.75rem, 4vw, 3rem);
}

.kindle-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-bottom: 1.3rem;
}

.kindle-tabs .filter-button {
  width: auto;
  min-width: 12rem;
  text-align: center;
}

.kindle-option-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.kindle-option-card {
  display: grid;
  grid-template-rows: auto auto auto 1fr auto;
  gap: 0.7rem;
  min-height: 100%;
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.kindle-option-card h3 {
  font-family: var(--serif);
  font-size: 1.6rem;
}

.kindle-design {
  position: relative;
  min-height: 210px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: linear-gradient(135deg, #f7ded7, #fff8ef);
}

.kindle-design::before {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 48%;
  height: 70%;
  border-radius: 18px;
  content: "";
  transform: translate(-50%, -50%) rotate(-3deg);
  box-shadow: inset 0 0 0 7px rgba(255, 250, 243, 0.28), 0 16px 34px rgba(91, 55, 45, 0.18);
}

.kindle-design::after {
  position: absolute;
  left: 50%;
  top: 75%;
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  content: "";
  transform: translateX(-50%);
  background: rgba(91, 55, 45, 0.25);
}

.blush-moon::before { background: linear-gradient(160deg, #f3c6bf, #fff6e8 52%, #d9a286); }
.midnight-cat { background: linear-gradient(135deg, #1f1b20, #8a6470); }
.midnight-cat::before { background: linear-gradient(160deg, #141218, #314329 54%, #c59655); }
.ivory-butterfly::before { background: linear-gradient(160deg, #fff7df, #f0dfb5 48%, #b6854f); }
.violet-arch::before { background: linear-gradient(160deg, #d8a3d9, #8e557e 52%, #2f2334); }
.sapphire-crystal::before { background: linear-gradient(160deg, #10233c, #1f4f83 54%, #6fb1e6); }
.rose-window::before { background: linear-gradient(160deg, #efad9f, #c47973 52%, #4b2d31); }
.forest-gold::before { background: linear-gradient(160deg, #29392f, #6d7a4d 52%, #d6ad54); }
.dusk-bloom::before { background: linear-gradient(160deg, #b9887d, #f4d3cd 54%, #7a5a61); }

@media (max-width: 1050px) {
  .kindle-option-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .kindle-tabs .filter-button {
    width: 100%;
  }

  .essentials-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem;
  }

  .essentials-tabs .filter-button {
    width: 100%;
    min-width: 0;
    min-height: 2.75rem;
    padding: 0.55rem 0.7rem;
    border-radius: 999px;
    font-size: 0.86rem;
    text-align: center;
  }

  .kindle-option-grid {
    grid-template-columns: 1fr;
  }

  .kindle-design {
    min-height: 260px;
  }
}


/* Grouped Kindle case shop sections */
.shop-grid.grouped-shop-grid {
  display: block;
}

.kindle-shop-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-bottom: 1.2rem;
}

.kindle-shop-tabs .filter-button {
  width: auto;
  min-width: 12rem;
  text-align: center;
}

.kindle-shop-section {
  scroll-margin-top: 7rem;
}

.kindle-shop-section + .kindle-shop-section {
  margin-top: 2rem;
}

.kindle-shop-heading {
  margin-bottom: 1rem;
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(255, 250, 243, 0.72);
}

.kindle-shop-heading h2 {
  font-size: clamp(2rem, 3vw, 3rem);
}

.kindle-section-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 1050px) {
  .kindle-section-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .kindle-shop-tabs .filter-button {
    width: 100%;
  }

  .kindle-section-grid {
    grid-template-columns: 1fr;
  }
}

/* Kindle size dropdowns */
.case-size-field {
  display: grid;
  gap: 0.45rem;
  color: var(--cocoa);
  font-weight: 800;
}

.case-size-field select {
  min-height: 2.75rem;
}

.kindle-option-card {
  scroll-margin-top: 7rem;
}

/* Reader Essentials case detail flow */
.essentials-tabs {
  margin-bottom: 1.5rem;
}

.compact-heading h2 {
  font-size: clamp(2rem, 3vw, 3rem);
}

.kindle-case-preview {
  display: grid;
  gap: 0.7rem;
}

.kindle-case-preview h3 {
  font-family: var(--serif);
  font-size: 1.6rem;
}

.reader-essential-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.reader-essential-card {
  display: grid;
  gap: 0.75rem;
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.reader-essential-card h3 {
  font-family: var(--serif);
  font-size: 1.7rem;
}

.reader-essential-card p:not(.product-kicker) {
  color: var(--muted);
}

.reader-essential-link {
  display: grid;
  gap: 0.75rem;
  height: 100%;
  color: inherit;
}

.reader-essential-clickable {
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.reader-essential-clickable:hover,
.reader-essential-clickable:focus-within {
  transform: translateY(-2px);
}

.collection-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.collection-tab {
  min-height: 8.5rem;
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(255, 250, 243, 0.95), rgba(232, 185, 173, 0.32));
  color: var(--cocoa);
  cursor: pointer;
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  font-weight: 700;
  text-align: left;
  box-shadow: var(--shadow);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.collection-tab.active,
.collection-tab:hover {
  border-color: rgba(123, 87, 75, 0.35);
  background: linear-gradient(135deg, rgba(232, 185, 173, 0.42), rgba(255, 250, 243, 0.98));
  transform: translateY(-2px);
}

.coming-soon-panel {
  padding: clamp(1.5rem, 4vw, 3rem);
  border: 1px solid var(--border);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(255, 250, 243, 0.96), rgba(232, 185, 173, 0.24));
  box-shadow: var(--shadow);
}

.coming-soon-panel h3 {
  margin-top: 0.3rem;
  font-family: var(--serif);
  font-size: clamp(2.4rem, 5vw, 4rem);
}

.coming-soon-panel p:not(.eyebrow) {
  max-width: 34rem;
  color: var(--muted);
}

.reader-essential-visual {
  min-height: 230px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: linear-gradient(135deg, #f7ded7, #fff8ef);
  box-shadow: inset 0 0 0 1px rgba(255, 250, 243, 0.35);
}

.kindle-insert-visual { background: linear-gradient(135deg, #f5dfd7, #fff7eb 48%, #c7b3a2); }
.bookmark-visual { background: linear-gradient(135deg, #fff6e8, #c9988f); }
.page-holder-visual { background: linear-gradient(135deg, #f8e9dc, #b99081); }
.bookend-visual { background: linear-gradient(135deg, #efe3d5, #80675f); }
.candle-visual { background: radial-gradient(circle at 50% 35%, #fff0c9 0 13%, transparent 14%), linear-gradient(135deg, #fff7ed, #d8aaa0); }
.sticker-visual { background: radial-gradient(circle at 28% 34%, #fff7ef 0 13%, transparent 14%), radial-gradient(circle at 68% 58%, #f0c8be 0 14%, transparent 15%), linear-gradient(135deg, #f9e5df, #fff8ef); }
.cosmic-visual { background: radial-gradient(circle at 35% 32%, #fff5d6 0 5%, transparent 6%), radial-gradient(circle at 70% 52%, #fff5d6 0 4%, transparent 5%), linear-gradient(135deg, #2f2334, #9f746f); }
.cosmic-guidance-photo {
  background: url("images/cosmic-guidance-bundle.jpeg") center / cover no-repeat;
}

.pilates-socks-photo {
  background: url("images/pilates-socks.jpeg") center 68% / cover no-repeat;
}
.annotation-visual { background: linear-gradient(90deg, #b68376 0 12%, transparent 12% 18%, #d8aaa0 18% 30%, transparent 30% 36%, #80675f 36% 48%, transparent 48%), linear-gradient(135deg, #fff8ef, #f4ddd5); }

@media (max-width: 1050px) {
  .reader-essential-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .collection-tabs {
    grid-template-columns: 1fr;
  }

  .collection-tab {
    min-height: 6.25rem;
    font-size: 2rem;
  }

  .reader-essential-grid {
    grid-template-columns: 1fr;
  }

  .reader-essential-visual {
    min-height: 210px;
  }
}

.kindle-case-detail {
  scroll-margin-top: 7rem;
  padding: 1.1rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.kindle-case-detail + .kindle-case-detail {
  margin-top: 1rem;
}

.case-back-button {
  margin-bottom: 1rem;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.kindle-case-detail-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) minmax(300px, 1fr);
  gap: 1.2rem;
  align-items: start;
}

.kindle-case-detail-grid .kindle-design {
  min-height: 420px;
}

.kindle-case-detail-copy {
  display: grid;
  gap: 1rem;
}

.kindle-case-detail-copy h2 {
  font-size: clamp(2.4rem, 4vw, 4rem);
}

@media (max-width: 760px) {
  .kindle-case-detail-grid {
    grid-template-columns: 1fr;
  }

  .kindle-case-detail-grid .kindle-design {
    min-height: 330px;
  }
}

/* Clickable Kindle case cards */
.kindle-preview-card,
[data-shop-card-link] {
  cursor: pointer;
}

.kindle-case-preview {
  height: 100%;
  color: inherit;
}

.kindle-preview-card:focus-within,
.kindle-preview-card:hover,
[data-shop-card-link]:hover {
  transform: translateY(-2px);
}

.kindle-preview-card,
[data-shop-card-link] {
  transition: transform 180ms ease, box-shadow 180ms ease;
}

/* Stary Moon Garden product image */
.stary-moon-photo {
  background-image: url("images/stary-moon-garden-1.jpg");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.stary-moon-photo::before,
.stary-moon-photo::after {
  display: none;
}

.choose-case-pill {
  width: fit-content;
  margin-top: 0.2rem;
}

/* Scrollable product photo gallery */
.case-photo-gallery {
  display: grid;
  grid-auto-columns: 100%;
  grid-auto-flow: column;
  gap: 0.85rem;
  width: min(620px, 100%);
  margin-inline: auto;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: inline mandatory;
  scrollbar-color: var(--rose) rgba(123, 87, 75, 0.12);
}

.case-gallery-slide {
  aspect-ratio: 1 / 1;
  min-height: 0;
  border: 1px solid var(--border);
  border-radius: 8px;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  scroll-snap-align: start;
}

.stary-moon-photo-two {
  background-image: url("images/stary-moon-garden-2.jpg");
}

.stary-moon-photo-three {
  background-image: url("images/stary-moon-garden-3.jpg");
}

/* Smaller Reader Essentials hero */
.page-hero.compact.essentials-hero {
  padding-top: clamp(1.5rem, 4vw, 2.75rem);
  padding-bottom: clamp(1.5rem, 4vw, 2.75rem);
}

.page-hero.compact.essentials-hero h1 {
  max-width: 34rem;
  font-size: clamp(2.1rem, 5vw, 4rem);
  line-height: 1;
}

.page-hero.compact.essentials-hero p:not(.eyebrow) {
  max-width: 34rem;
  font-size: clamp(0.9rem, 1.4vw, 1rem);
  line-height: 1.45;
}

@media (max-width: 760px) {
  .page-hero.compact.essentials-hero {
    display: none;
  }

  .page-hero.compact.essentials-hero h1 {
    max-width: 20rem;
    font-size: clamp(1.85rem, 9vw, 2.5rem);
    line-height: 1.05;
  }

  .page-hero.compact.essentials-hero p:not(.eyebrow) {
    margin-top: 0.55rem;
    max-width: 21rem;
    font-size: 0.88rem;
  }

  .section.essentials-section {
    padding-top: 1.35rem;
  }
}

@media (max-width: 760px) {
  .case-photo-gallery {
    width: 100%;
  }
}



/* Restored v57 shop, market and product appearance. */
.page-hero.compact.market-schedule-hero {
  display: grid;
  align-content: center;
  min-height: clamp(360px, 36vw, 520px);
  background-color: #5d493f;
  background-image:
    linear-gradient(90deg, rgba(47, 37, 33, 0.76), rgba(47, 37, 33, 0.22)),
    url("images/market-schedule-banner.jpg");
  background-position: center, center 58%;
  background-repeat: no-repeat;
  background-size: cover;
}

.market-schedule-hero h1,
.market-schedule-hero p,
.market-schedule-hero .eyebrow {
  color: var(--paper);
}

@media (max-width: 760px) {
  .page-hero.compact.market-schedule-hero {
    min-height: 360px;
    background-image:
      linear-gradient(90deg, rgba(47, 37, 33, 0.74), rgba(47, 37, 33, 0.34)),
      url("images/market-schedule-banner.jpg");
    background-position: center, 54% center;
  }
}


.whisper-flame-candle-photo {
  background: url("images/whisper-flame-candle.png") center 48% / cover no-repeat;
}

.floating-bookmark-photo {
  background: url("images/floating-bookmark-whisper-flame.jpg") center / cover no-repeat;
}

.floating-bookmark-product-photo {
  transition: background-image 180ms ease;
}

.metal-bookmark-visual {
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, 0.72) 48%, transparent 60%),
    linear-gradient(135deg, #b69882, #f4e6d5 48%, #7f6255);
}

.metal-bookmark-visual span {
  display: grid;
  place-items: center;
  width: 30%;
  aspect-ratio: 1 / 2.8;
  border: 2px solid rgba(80, 54, 45, 0.48);
  border-radius: 999px 999px 12px 12px;
  color: #5b4037;
  background: linear-gradient(135deg, #f7ead7, #b89079);
  font-family: var(--serif);
  font-size: clamp(1.4rem, 4vw, 2.3rem);
  box-shadow: 0 18px 36px rgba(63, 40, 32, 0.2);
}

.reader-essential-card-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.reader-essential-card-link .reader-essential-visual {
  margin-bottom: 1rem;
}

.essentials-bookmark-grid .product-visual {
  min-height: 0;
  aspect-ratio: 1.2 / 1;
}

[data-bookmark-buy-link][aria-disabled="true"] {
  pointer-events: none;
  opacity: 0.55;
}

/* Combined Kindle case and insert selectors */
.combined-kindle-option-grid {
  grid-template-columns: minmax(0, 520px);
}

.kindle-picker-placeholder {
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.kindle-case-picker-placeholder {
  background-image: url("images/kindle-cases.jpeg");
}

.kindle-insert-picker-placeholder {
  background-image: url("images/stary-moon-garden-1.jpg");
}

.kindle-picker-placeholder::before,
.kindle-picker-placeholder::after {
  display: none;
}

.kindle-design-picker-card h1 {
  font-size: clamp(2.6rem, 6vw, 4.8rem);
}

.kindle-design-picker-card [data-kindle-preview] {
  transition: background 220ms ease;
}

[data-kindle-buy-link][aria-disabled="true"],
.kindle-design-picker-card button:disabled {
  opacity: 0.52;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

@media (max-width: 760px) {
  .combined-kindle-option-grid {
    grid-template-columns: 1fr;
  }
}


.page-hero.compact.shop-hero {
  background-color: #6b5144;
  background-image:
    linear-gradient(90deg, rgba(47, 37, 33, 0.76), rgba(47, 37, 33, 0.38) 52%, rgba(47, 37, 33, 0.12)),
    url("images/shop-banner.jpg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.shop-hero h1,
.shop-hero > p,
.shop-hero .eyebrow {
  color: var(--paper);
}

@media (max-width: 760px) {
  .page-hero.compact.shop-hero {
    background-image:
      linear-gradient(90deg, rgba(47, 37, 33, 0.80), rgba(47, 37, 33, 0.42)),
      url("images/shop-banner.jpg");
    background-position: 56% center;
  }
}

.shop-all-button {
  margin-top: 1.75rem;
  font: inherit;
}

.shop-category-section {
  padding-top: clamp(2.5rem, 5vw, 4.5rem);
  padding-bottom: clamp(2.5rem, 5vw, 4.5rem);
  background: var(--paper);
}

.shop-category-section .section-heading {
  margin-bottom: 1.5rem;
}

.shop-category-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.shop-category-grid .filter-button {
  min-height: 5.5rem;
  padding: 1rem;
  text-align: center;
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2.4vw, 2rem);
}

@media (max-width: 760px) {
  .shop-all-button {
    margin-top: 1rem;
  }

  .shop-category-section {
    padding-top: 1.75rem;
    padding-bottom: 1.75rem;
  }

  .shop-category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
  }

  .shop-category-grid .filter-button {
    min-height: 4.35rem;
    padding: 0.7rem 0.55rem;
    font-size: 1.08rem;
  }
}



@media (min-width: 761px) { .shop-hero.standard-site-banner, .market-schedule-hero.standard-site-banner { min-height: clamp(560px, 72vw, 780px) !important; box-sizing: border-box; } }
.standalone-product-title { font-size: clamp(2.6rem, 6vw, 4.8rem); }
.shop-category-section .section-heading { text-align: left; }
/* Keep book-box previews to one line in the Shop; product pages retain full copy. */
.shop-grid .product-card:is([data-product-id="original-book-box"], [data-product-id="dark-romance-book-box"]),
.shop-grid .product-card:is([data-product-id="original-book-box"], [data-product-id="dark-romance-book-box"]) .product-info {
  min-width: 0;
}
.shop-grid .product-card:is([data-product-id="original-book-box"], [data-product-id="dark-romance-book-box"]) .product-info > p:not(.product-kicker) {
  display: block;
  min-height: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}


/* Shared banner dimensions: the Market Schedule desktop reference. */
@media (min-width: 761px) {
  .consistent-banner {
    box-sizing: border-box;
    height: clamp(560px, 72vw, 780px) !important;
    min-height: clamp(560px, 72vw, 780px) !important;
  }
  .page-hero.consistent-banner {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
  }
}

/* Match the three phone banners to Advent Calendar; allow room on short screens. */
@media (max-width: 760px) {
  .consistent-banner:is(.shop-hero, .market-schedule-hero, .smutmas-hero, .faq-hero, .contact-hero) {
    box-sizing: border-box;
    height: max(72svh, 34rem);
    min-height: max(72svh, 34rem);
  }
  .page-hero.consistent-banner:is(.shop-hero, .market-schedule-hero, .faq-hero, .contact-hero) {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
  }
}


/* Phone Shop framing: keep the reader and her stack of books in view. */
@media (max-width: 760px) {
  .page-hero.compact.shop-hero { background-position: 80% center; }
}

.smutmas-product-card.is-preorder-target { position: static; }
.smutmas-preorder-button { scroll-margin-bottom: 24px; }
.smutmas-product-copy.preorder-compact { padding: 1rem; }
.smutmas-product-copy.preorder-compact h2 { font-size: 2rem; }
.smutmas-product-copy.preorder-compact > p:not(.product-kicker) { font-size: 0.92rem; line-height: 1.4; }
.smutmas-product-copy.preorder-compact .smutmas-includes { gap: 0.4rem; margin: 0.85rem 0; }
.smutmas-product-copy.preorder-compact .smutmas-includes li { font-size: 0.88rem; line-height: 1.35; }
.smutmas-product-copy.preorder-compact .smutmas-preorder-button { margin-top: 0.65rem; }
