/*
Theme Name: Cosy Art London
Theme URI: https://cosyart.co.uk
Author: Cosy Art London
Description: A warm, literary WooCommerce theme for handmade candles, diffusers, refills, scent discovery, subscriptions, and reading rituals.
Version: 1.8.4
Requires at least: 6.4
Tested up to: 6.6
Requires PHP: 8.0
Text Domain: cosy-art-london
*/

:root {
  --ink: #1b120f;
  --muted: #7d6a5c;
  --paper: #fff8ea;
  --cream: #efe0c6;
  --sage: #66755f;
  --sage-dark: #273d32;
  --amber: #b8752f;
  --brass: #d1a34b;
  --burgundy: #4b1f22;
  --mahogany: #3a2017;
  --line: #e0c79e;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(32, 18, 10, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(90deg, rgba(58, 32, 23, 0.035) 1px, transparent 1px) 0 0/84px 84px,
    linear-gradient(0deg, rgba(58, 32, 23, 0.035) 1px, transparent 1px) 0 0/84px 84px,
    var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

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

img {
  display: block;
  height: auto;
  max-width: 100%;
}

.cal-serif,
h1,
h2,
h3,
.site-title {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  letter-spacing: 0;
}

.site-header {
  align-items: center;
  background: rgba(27, 18, 15, 0.92);
  border-bottom: 1px solid rgba(209, 163, 75, 0.28);
  display: flex;
  gap: 24px;
  justify-content: space-between;
  left: 0;
  padding: 18px clamp(18px, 4vw, 54px);
  position: sticky;
  right: 0;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
}

.site-title {
  color: var(--paper);
  font-size: clamp(1.45rem, 2vw, 2rem);
  line-height: 1;
}

.main-nav {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: flex-end;
}

.main-nav li {
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-nav a {
  color: rgba(255, 248, 234, 0.82);
  font-size: 0.91rem;
  font-weight: 700;
}

.button,
.wp-block-button__link,
.added_to_cart,
button,
input[type="submit"] {
  align-items: center;
  background: var(--burgundy);
  border: 1px solid var(--burgundy);
  border-radius: 8px;
  color: var(--white);
  cursor: pointer;
  display: inline-flex;
  font: 800 0.92rem/1 Inter, ui-sans-serif, system-ui, sans-serif;
  gap: 8px;
  justify-content: center;
  min-height: 46px;
  padding: 14px 18px;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.button:hover,
button:hover,
input[type="submit"]:hover {
  background: var(--amber);
  border-color: var(--amber);
  transform: translateY(-1px);
}

.button.secondary {
  background: transparent;
  border-color: rgba(209, 163, 75, 0.6);
  color: var(--ink);
}

.button.secondary:hover {
  background: var(--cream);
  border-color: var(--line);
}

.hero .button.secondary,
.quiz-section .button.secondary,
.london-rooms .button.secondary,
.magazine-hero .button.secondary {
  color: var(--paper);
}

.section {
  padding: clamp(58px, 8vw, 104px) clamp(18px, 5vw, 72px);
}

.section-inner {
  margin: 0 auto;
  max-width: 1180px;
}

.hero {
  background:
    linear-gradient(90deg, rgba(16, 10, 8, 0.96), rgba(35, 21, 15, 0.86) 43%, rgba(27, 18, 15, 0.42)),
    url("assets/images/homepage-library-candle-hero.jpg") center/cover no-repeat;
  color: var(--paper);
  display: grid;
  gap: clamp(30px, 5vw, 68px);
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.78fr);
  min-height: calc(100vh - 76px);
  padding-top: clamp(38px, 6vw, 74px);
  position: relative;
}

.hero::after {
  background: linear-gradient(90deg, transparent, rgba(209, 163, 75, 0.22), transparent);
  bottom: 0;
  content: "";
  height: 1px;
  left: 0;
  position: absolute;
  right: 0;
}

.eyebrow {
  color: var(--brass);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  margin: 0 0 18px;
  text-transform: uppercase;
}

.hero h1 {
  font-size: clamp(3.1rem, 8vw, 7.6rem);
  line-height: 0.9;
  margin: 0;
  max-width: 820px;
}

.hero-copy {
  color: rgba(255, 248, 234, 0.78);
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  margin: 28px 0;
  max-width: 680px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-proof {
  border-top: 1px solid rgba(209, 163, 75, 0.36);
  color: rgba(255, 248, 234, 0.72);
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 44px;
  max-width: 710px;
  padding-top: 22px;
}

.hero-proof strong {
  color: var(--paper);
  display: block;
  font-size: 1.16rem;
}

.hero-visual {
  align-self: stretch;
  background:
    linear-gradient(160deg, rgba(209, 163, 75, 0.2), rgba(75, 31, 34, 0.45)),
    linear-gradient(145deg, #301912 0%, #6a4028 52%, #140d0b 100%);
  border: 1px solid rgba(209, 163, 75, 0.32);
  border-radius: 8px;
  box-shadow: var(--shadow);
  display: block;
  min-height: 560px;
  overflow: hidden;
  padding: 0;
  position: relative;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.hero-visual::before {
  background:
    linear-gradient(90deg, rgba(27, 18, 15, 0.08), transparent 30%),
    url("assets/images/homepage-library-candle-hero.jpg") 54% center/cover;
  border-radius: 8px;
  content: "";
  inset: 0;
  opacity: 0.96;
  position: absolute;
}

.hero-visual:hover,
.hero-visual:focus-visible {
  border-color: rgba(209, 163, 75, 0.58);
  box-shadow: 0 22px 42px rgba(12, 8, 6, 0.28);
  transform: translateY(-2px);
}

.hero-note {
  display: none;
}

.hero-note h2 {
  font-size: 1.7rem;
  line-height: 1.05;
  margin: 0 0 8px;
}

.hero-note p {
  color: rgba(255, 248, 234, 0.72);
  margin: 0;
}

.band {
  background:
    linear-gradient(90deg, rgba(27, 18, 15, 0.05), transparent 18%, rgba(27, 18, 15, 0.06)),
    var(--cream);
}

.library-strip {
  background: var(--burgundy);
  color: var(--paper);
  display: grid;
  font-size: 0.82rem;
  font-weight: 900;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  letter-spacing: 0.06em;
  text-align: center;
  text-transform: uppercase;
}

.library-strip span {
  border-right: 1px solid rgba(255, 248, 234, 0.16);
  padding: 15px 12px;
}

.library-strip span:last-child {
  border-right: 0;
}

.section-heading {
  align-items: end;
  display: flex;
  gap: 24px;
  justify-content: space-between;
  margin-bottom: 30px;
}

.section-heading h2 {
  font-size: clamp(2.2rem, 4.6vw, 4.8rem);
  line-height: 0.96;
  margin: 0;
  max-width: 740px;
}

.section-heading p {
  color: var(--muted);
  margin: 0;
  max-width: 390px;
}

.category-grid,
.product-grid,
.article-grid,
.roadmap-grid {
  display: grid;
  gap: 18px;
}

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

.category-card,
.product-card,
.article-card,
.roadmap-card,
.quiz-card {
  background: rgba(255, 250, 242, 0.72);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.category-card {
  background: linear-gradient(180deg, rgba(255, 250, 242, 0.94), rgba(241, 229, 207, 0.9));
  display: flex;
  gap: 18px;
  justify-content: space-between;
  min-height: 210px;
  padding: 24px;
  position: relative;
  isolation: isolate;
  transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.category-card span {
  color: var(--amber);
  display: block;
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  margin-bottom: 18px;
  position: relative;
  z-index: 1;
}

.card-copy {
  display: flex;
  flex: 1 1 50%;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  z-index: 1;
}

.category-card h3,
.article-card h3,
.roadmap-card h3 {
  font-size: 1.55rem;
  line-height: 1.08;
  margin: 0 0 12px;
}

.category-card p,
.article-card p,
.roadmap-card p {
  color: var(--muted);
  margin: 0;
}

.category-card h3,
.category-card p {
  color: var(--ink);
  max-width: 15rem;
  position: relative;
  z-index: 1;
}

.category-card p {
  color: rgba(59, 45, 35, 0.82);
}

.category-card:hover,
.category-card:focus-visible {
  border-color: var(--brass);
  box-shadow: 0 18px 36px rgba(39, 23, 19, 0.08);
  transform: translateY(-2px);
}

.category-card.is-featured {
  min-height: 248px;
}

.category-card::before,
.shop-shelf-card::before {
  background:
    linear-gradient(90deg, rgba(255, 250, 242, 0.98) 0%, rgba(255, 250, 242, 0.93) 44%, rgba(255, 250, 242, 0.58) 66%, rgba(255, 250, 242, 0.18) 100%);
  content: "";
  inset: 0;
  position: absolute;
  z-index: 0;
}

.shelf-section {
  background:
    linear-gradient(180deg, rgba(75, 31, 34, 0.06), rgba(102, 117, 95, 0.08)),
    var(--paper);
}

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

.shop-shelf-card {
  background: linear-gradient(180deg, rgba(255, 250, 242, 0.96), rgba(246, 237, 221, 0.92));
  border: 1px solid var(--line);
  border-radius: 8px;
  display: flex;
  gap: 18px;
  justify-content: space-between;
  min-height: 190px;
  padding: 22px;
  position: relative;
  isolation: isolate;
  transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.shop-shelf-card:hover {
  border-color: var(--brass);
  box-shadow: 0 18px 36px rgba(39, 23, 19, 0.08);
  transform: translateY(-2px);
}

.shop-shelf-card.is-featured {
  min-height: 222px;
}

.shop-shelf-card span {
  color: var(--amber);
  display: block;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  margin-bottom: 16px;
}

.shop-shelf-card h3 {
  color: var(--ink);
  font-size: 1.32rem;
  line-height: 1.08;
  margin: 0 0 10px;
  position: relative;
  z-index: 1;
}

.shop-shelf-card p {
  color: rgba(59, 45, 35, 0.82);
  margin: 0;
  max-width: 14rem;
  position: relative;
  z-index: 1;
}

.shop-shelf-wrap {
  margin-bottom: 28px;
}

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

.shop-shelf-grid.compact .shop-shelf-card {
  min-height: 142px;
  padding: 16px;
}

.card-art {
  align-items: center;
  display: flex;
  flex: 0 0 38%;
  justify-content: center;
  min-width: 0;
  position: relative;
  z-index: 1;
}

.card-art::before {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(255, 248, 234, 0.28));
  border: 1px solid rgba(209, 163, 75, 0.18);
  border-radius: 8px;
  bottom: 0;
  content: "";
  left: 6%;
  position: absolute;
  right: 0;
  top: 6%;
}

.card-art img {
  display: block;
  filter: drop-shadow(0 14px 18px rgba(43, 28, 20, 0.18));
  height: 100%;
  max-height: 182px;
  max-width: 100%;
  object-fit: contain;
  position: relative;
  width: 100%;
}

.category-card.is-featured .card-art img,
.shop-shelf-card.is-featured .card-art img {
  max-height: 204px;
}

.shop-shelf-grid.compact .shop-shelf-card h3 {
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 0.98rem;
  line-height: 1.2;
}

.shop-shelf-grid.compact .shop-shelf-card p {
  font-size: 0.86rem;
  line-height: 1.45;
}

.shop-shelf-grid.compact .card-art {
  flex-basis: 34%;
}

.shop-shelf-grid.compact .card-art img {
  max-height: 124px;
}

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

.product-card {
  background: var(--white);
  display: flex;
  flex-direction: column;
}

.product-card > a {
  align-items: center;
  aspect-ratio: 1;
  background:
    linear-gradient(180deg, #fffdf7 0%, var(--paper) 100%),
    radial-gradient(circle at 50% 42%, rgba(209, 163, 75, 0.14), transparent 48%);
  display: flex;
  justify-content: center;
  overflow: hidden;
}

.london-rooms {
  background:
    linear-gradient(rgba(27, 18, 15, 0.9), rgba(27, 18, 15, 0.88)),
    radial-gradient(circle at 25% 10%, rgba(209, 163, 75, 0.24), transparent 34%),
    var(--mahogany);
  color: var(--paper);
}

.london-rooms .section-heading p {
  color: rgba(255, 248, 234, 0.74);
}

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

.room-card {
  background: rgba(255, 248, 234, 0.08);
  border: 1px solid rgba(209, 163, 75, 0.24);
  border-radius: 8px;
  min-height: 280px;
  padding: 24px;
}

.room-card h3 {
  color: var(--brass);
  font-size: 1.75rem;
  line-height: 1;
  margin: 0 0 14px;
}

.room-card p {
  color: rgba(255, 248, 234, 0.74);
  margin: 0 0 24px;
}

.room-card a {
  border-bottom: 1px solid var(--brass);
  color: var(--paper);
  font-weight: 900;
}

.product-card img,
.product-card .woocommerce-placeholder {
  height: auto;
  max-height: calc(100% - 36px);
  max-width: calc(100% - 36px);
  object-fit: contain;
  width: auto;
}

.product-card-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 10px;
  padding: 18px;
}

.product-card h3 {
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.25;
  margin: 0;
}

.product-meta {
  color: var(--muted);
  font-size: 0.88rem;
}

.price {
  color: var(--amber);
  font-weight: 900;
  margin-top: auto;
}

.subscription-section {
  background:
    linear-gradient(180deg, rgba(255, 250, 242, 0.92), rgba(239, 224, 198, 0.58)),
    var(--paper);
}

.chapter-club-section {
  background:
    linear-gradient(135deg, rgba(27, 18, 15, 0.96), rgba(39, 61, 50, 0.94)),
    var(--ink);
  color: var(--paper);
}

.subscription-grid,
.chapter-grid {
  align-items: center;
  display: grid;
  gap: clamp(24px, 4vw, 52px);
  grid-template-columns: minmax(0, 0.8fr) minmax(360px, 1fr);
}

.chapter-grid {
  grid-template-columns: minmax(360px, 1fr) minmax(0, 0.82fr);
}

.subscription-copy h2,
.chapter-copy h2 {
  font-size: clamp(2.8rem, 5.8vw, 6.5rem);
  line-height: 0.9;
  margin: 0 0 20px;
}

.subscription-copy > p,
.chapter-copy > p {
  color: var(--muted);
  font-size: 1.08rem;
  margin: 0 0 24px;
}

.chapter-copy > p {
  color: rgba(255, 248, 234, 0.74);
}

.membership-benefits {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 28px 0;
}

.membership-benefits span,
.chapter-benefit-list div {
  background: rgba(255, 250, 242, 0.78);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  padding: 14px 16px;
}

.membership-benefits span {
  font-size: 0.88rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.chapter-benefit-list {
  display: grid;
  gap: 12px;
  margin: 28px 0;
}

.chapter-benefit-list div {
  background: rgba(255, 248, 234, 0.08);
  border-color: rgba(209, 163, 75, 0.34);
  color: var(--paper);
}

.chapter-benefit-list strong,
.chapter-benefit-list span {
  display: block;
}

.chapter-benefit-list strong {
  color: var(--brass);
  font-size: 1.05rem;
}

.chapter-benefit-list span {
  color: rgba(255, 248, 234, 0.72);
  margin-top: 4px;
}

.membership-image {
  margin: 0;
}

.membership-image img {
  background: var(--paper);
  border: 1px solid rgba(209, 163, 75, 0.42);
  border-radius: 8px;
  box-shadow: var(--shadow);
  height: 100%;
  max-height: 780px;
  object-fit: cover;
  width: 100%;
}

.chapter-image img {
  border-color: rgba(255, 248, 234, 0.2);
}

.quiz-section {
  background: var(--ink);
  color: var(--paper);
}

.scent-quiz-page {
  background:
    linear-gradient(120deg, rgba(27, 18, 15, 0.94), rgba(75, 31, 34, 0.78)),
    url("assets/images/homepage-library-candle-hero.jpg") 55% center/cover no-repeat;
}

.quiz-layout {
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
}

.quiz-section .section-heading p,
.quiz-card p {
  color: rgba(255, 250, 242, 0.74);
}

.quiz-card {
  background: rgba(255, 250, 242, 0.08);
  border-color: rgba(255, 250, 242, 0.17);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.32);
  padding: clamp(22px, 4vw, 36px);
}

.quiz-helper-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.quiz-helper-list span {
  border: 1px solid rgba(255, 250, 242, 0.26);
  border-radius: 999px;
  color: rgba(255, 250, 242, 0.86);
  font-size: 0.86rem;
  font-weight: 800;
  padding: 9px 12px;
}

.quiz-options {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.quiz-options button {
  background: rgba(255, 250, 242, 0.08);
  border-color: rgba(255, 250, 242, 0.22);
  color: var(--paper);
  justify-content: flex-start;
  text-align: left;
}

.quiz-options button.is-selected,
.quiz-options button:hover {
  background: var(--brass);
  border-color: var(--brass);
  color: var(--ink);
}

.quiz-result {
  background: var(--paper);
  border-radius: 8px;
  color: var(--ink);
  margin-top: 20px;
  min-height: 130px;
  padding: 20px;
}

.quiz-result h3 {
  margin: 0 0 8px;
}

.quiz-result .button {
  margin-top: 16px;
}

.quiz-product-list {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 18px 0 4px;
}

.quiz-product-list a {
  background: rgba(255, 255, 255, 0.66);
  border: 1px solid rgba(209, 163, 75, 0.36);
  border-radius: 8px;
  display: grid;
  gap: 4px;
  padding: 12px;
}

.quiz-product-list strong {
  color: var(--ink);
  font-size: 0.95rem;
  line-height: 1.25;
}

.quiz-product-list span {
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.4;
}

.gift-finder-result .quiz-product-list a {
  background: rgba(255, 250, 242, 0.08);
  border-color: rgba(209, 163, 75, 0.34);
}

.gift-finder-result .quiz-product-list strong {
  color: var(--paper);
}

.gift-finder-result .quiz-product-list span {
  color: rgba(255, 250, 242, 0.68);
  font-size: 0.82rem;
  letter-spacing: 0;
  margin: 0;
  text-transform: none;
}

.article-grid {
  grid-template-columns: 1.15fr 0.85fr 0.85fr;
}

.article-card {
  padding: 26px;
}

.article-card:first-child {
  background: var(--sage-dark);
  color: var(--paper);
}

.article-card:first-child p {
  color: rgba(255, 250, 242, 0.78);
}

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

.roadmap-card {
  color: inherit;
  display: block;
  padding: 24px;
}

.magazine-hero {
  background:
    linear-gradient(90deg, rgba(27, 18, 15, 0.94), rgba(58, 32, 23, 0.8)),
    url("assets/images/homepage-library-candle-hero.jpg") center/cover no-repeat;
  color: var(--paper);
}

.magazine-hero-grid {
  align-items: end;
  display: grid;
  gap: clamp(28px, 6vw, 76px);
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.42fr);
}

.magazine-hero h1 {
  font-size: clamp(3.8rem, 9vw, 8rem);
  line-height: 0.9;
  margin: 0;
}

.editor-note,
.magazine-quote {
  background: rgba(255, 248, 234, 0.92);
  border: 1px solid rgba(209, 163, 75, 0.45);
  border-radius: 8px;
  color: var(--ink);
  padding: 24px;
}

.editor-note span,
.feature-story span,
.magazine-quote span {
  color: var(--amber);
  display: block;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  margin-bottom: 14px;
  text-transform: uppercase;
}

.editor-note h2,
.magazine-quote p {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1;
  margin: 0 0 12px;
}

.editor-note p,
.magazine-quote p {
  color: var(--muted);
}

.magazine-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: 1.2fr repeat(2, minmax(0, 0.9fr));
}

.feature-story {
  background:
    linear-gradient(rgba(39, 61, 50, 0.92), rgba(39, 61, 50, 0.9)),
    url("assets/images/homepage-library-candle-hero.jpg") center/cover no-repeat;
  border: 1px solid rgba(209, 163, 75, 0.4);
  border-radius: 8px;
  color: var(--paper);
  grid-row: span 2;
  min-height: 440px;
  padding: 30px;
}

.feature-story h2 {
  font-size: clamp(2.2rem, 4.2vw, 4.4rem);
  line-height: 0.96;
  margin: 0 0 20px;
}

.feature-story p {
  color: rgba(255, 248, 234, 0.78);
  margin: 0 0 26px;
}

.magazine-grid .article-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 210px;
}

.magazine-grid .article-card:first-child {
  background: rgba(255, 250, 242, 0.72);
  color: var(--ink);
}

.magazine-grid .article-card:first-child p {
  color: var(--muted);
}

.article-card a {
  color: var(--burgundy);
  font-weight: 900;
  margin-top: auto;
}

.magazine-split {
  align-items: center;
}

.reading-checklist {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.reading-checklist div {
  align-items: start;
  background: rgba(255, 250, 242, 0.76);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 14px;
  grid-template-columns: 44px 1fr;
  padding: 16px;
}

.reading-checklist strong {
  align-items: center;
  background: var(--burgundy);
  border-radius: 50%;
  color: var(--paper);
  display: inline-flex;
  height: 36px;
  justify-content: center;
  width: 36px;
}

.reading-checklist span {
  color: var(--muted);
}

.ritual-builder-section {
  background:
    linear-gradient(180deg, rgba(75, 31, 34, 0.06), rgba(102, 117, 95, 0.1)),
    var(--paper);
}

.ritual-builder {
  display: grid;
  gap: 22px;
  grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1.1fr);
}

.ritual-scene {
  background: var(--ink);
  border: 1px solid rgba(209, 163, 75, 0.42);
  border-radius: 8px;
  color: var(--paper);
  min-height: 560px;
  overflow: hidden;
  position: relative;
}

.ritual-scene-image {
  background:
    linear-gradient(180deg, transparent 40%, rgba(27, 18, 15, 0.9)),
    url("assets/images/homepage-library-candle-hero.jpg") center/cover no-repeat;
  inset: 0;
  position: absolute;
}

.ritual-scene-caption {
  bottom: 0;
  left: 0;
  padding: 28px;
  position: absolute;
  right: 0;
}

.ritual-scene-caption span,
.ritual-card span {
  color: var(--brass);
  display: block;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.ritual-scene-caption p {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 0.98;
  margin: 0;
  max-width: 520px;
}

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

.ritual-card {
  background: rgba(255, 250, 242, 0.82);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  min-height: 270px;
  padding: 24px;
}

.ritual-card h3 {
  font-size: 1.7rem;
  line-height: 1.05;
  margin: 0 0 12px;
}

.ritual-card p {
  color: var(--muted);
  margin: 0 0 18px;
}

.ritual-card a {
  color: var(--burgundy);
  font-weight: 900;
  margin-top: auto;
}

.ritual-mood-row {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 22px;
}

.ritual-mood-row a {
  background: var(--ink);
  border: 1px solid rgba(209, 163, 75, 0.28);
  border-radius: 8px;
  color: var(--paper);
  min-height: 126px;
  padding: 18px;
}

.ritual-mood-row strong {
  display: block;
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.ritual-mood-row span {
  color: rgba(255, 248, 234, 0.68);
  display: block;
  font-size: 0.92rem;
  line-height: 1.45;
}

.magazine-quote {
  background: var(--ink);
  color: var(--paper);
  min-height: 360px;
}

.magazine-quote p {
  color: var(--paper);
}

.magazine-shop-paths {
  padding-bottom: clamp(64px, 9vw, 112px);
}

.shop-note {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  margin-top: 22px;
  padding: 20px;
}

.split-section {
  background:
    linear-gradient(120deg, rgba(255, 248, 234, 0.94), rgba(239, 224, 198, 0.84)),
    var(--cream);
}

.split-layout {
  align-items: center;
  display: grid;
  gap: clamp(26px, 5vw, 64px);
  grid-template-columns: minmax(0, 0.95fr) minmax(300px, 0.75fr);
}

.split-layout h1,
.split-layout h2 {
  font-size: clamp(2.5rem, 5vw, 5.8rem);
  line-height: 0.94;
  margin: 0 0 18px;
}

.gift-steps,
.builder-panel {
  background: rgba(255, 250, 242, 0.86);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  padding: clamp(20px, 3vw, 32px);
}

.gift-steps {
  display: grid;
  gap: 14px;
}

.gift-steps div,
.builder-line {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 14px;
  grid-template-columns: 44px 1fr;
  padding: 14px 0;
}

.gift-steps div:last-child,
.builder-line:last-child {
  border-bottom: 0;
}

.gift-steps strong {
  align-items: center;
  background: var(--ink);
  border-radius: 999px;
  color: var(--paper);
  display: inline-flex;
  height: 34px;
  justify-content: center;
  width: 34px;
}

.builder-panel h2 {
  font-size: 2rem;
  line-height: 1;
  margin: 0 0 12px;
}

.builder-line {
  grid-template-columns: 130px 1fr;
}

.builder-line span {
  color: var(--muted);
}

.gift-builder-hero {
  background:
    linear-gradient(120deg, rgba(27, 18, 15, 0.88), rgba(75, 31, 34, 0.68)),
    url("https://cdn.shopify.com/s/files/1/0497/2154/0769/products/image_440acf2d-724e-4810-865c-3e0a1d07edea.jpg?v=1708602939") right center/contain no-repeat;
  color: var(--paper);
}

.gift-builder-hero .hero-copy {
  color: rgba(255, 248, 234, 0.78);
}

.gift-finder-section {
  background:
    linear-gradient(180deg, rgba(255, 248, 234, 0.94), rgba(239, 224, 198, 0.9)),
    var(--cream);
}

.gift-finder-grid {
  align-items: start;
  display: grid;
  gap: clamp(24px, 4vw, 48px);
  grid-template-columns: minmax(0, 0.7fr) minmax(320px, 1fr);
}

.gift-finder-copy h2 {
  font-size: clamp(2.2rem, 4vw, 4.6rem);
  line-height: 0.96;
  margin: 0 0 18px;
}

.gift-finder-copy p {
  color: var(--muted);
}

.gift-finder-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 18px;
  padding: clamp(18px, 3vw, 28px);
}

.gift-finder-options {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.gift-finder-options button {
  background: var(--paper);
  border-color: var(--line);
  color: var(--ink);
  justify-content: flex-start;
  min-height: 58px;
  text-align: left;
}

.gift-finder-options button.is-selected,
.gift-finder-options button:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

.gift-finder-result {
  background:
    linear-gradient(135deg, rgba(75, 31, 34, 0.92), rgba(27, 18, 15, 0.96)),
    var(--ink);
  border-radius: 8px;
  color: var(--paper);
  min-height: 250px;
  padding: clamp(20px, 3vw, 30px);
}

.gift-finder-result span {
  color: var(--brass);
  display: block;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  margin-bottom: 16px;
  text-transform: uppercase;
}

.gift-finder-result h3 {
  color: var(--paper);
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 0.98;
  margin: 0 0 12px;
}

.gift-finder-result p {
  color: rgba(255, 250, 242, 0.78);
  margin-bottom: 18px;
}

.reviews-section {
  background:
    linear-gradient(180deg, rgba(255, 250, 242, 0.94), rgba(239, 224, 198, 0.78)),
    var(--paper);
}

.reviews-hero {
  background:
    linear-gradient(120deg, rgba(27, 18, 15, 0.93), rgba(75, 31, 34, 0.72)),
    url("assets/images/homepage-library-candle-hero.jpg") center/cover no-repeat;
  color: var(--paper);
}

.reviews-hero .hero-copy {
  color: rgba(255, 250, 242, 0.78);
}

.review-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.review-card,
.review-score-panel {
  background: rgba(255, 250, 242, 0.86);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 50px rgba(32, 18, 10, 0.1);
  padding: clamp(20px, 3vw, 28px);
}

.review-card h3 {
  font-size: 1.42rem;
  line-height: 1.08;
  margin: 10px 0;
}

.review-card p {
  color: var(--muted);
  margin: 0 0 18px;
}

.review-card span {
  color: var(--amber);
  display: block;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.review-stars {
  color: var(--brass);
  font-size: 1.05rem;
  letter-spacing: 0.08em;
}

.reviews-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.review-score-panel {
  align-self: stretch;
  color: var(--ink);
}

.review-score-panel span {
  color: var(--amber);
  display: block;
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  margin-bottom: 18px;
  text-transform: uppercase;
}

.review-score-panel strong {
  color: var(--brass);
  display: block;
  font-size: clamp(2rem, 5vw, 4rem);
  letter-spacing: 0.08em;
  line-height: 1;
  margin-bottom: 18px;
}

.review-score-panel p {
  color: var(--muted);
  margin: 0;
}

.customer-review-wall-section,
.product-customer-reviews {
  background:
    linear-gradient(180deg, rgba(255, 250, 242, 0.94), rgba(239, 224, 198, 0.58)),
    var(--paper);
}

.product-customer-reviews {
  border-top: 1px solid var(--line);
  margin-top: clamp(36px, 6vw, 72px);
  padding-left: 0;
  padding-right: 0;
}

.product-customer-reviews.in-review-tab {
  background: transparent;
  border-top: 0;
  margin-top: 0;
  padding: 0;
}

.product-customer-reviews.in-review-tab .section-heading {
  margin-bottom: 20px;
}

.product-customer-reviews.in-review-tab .section-heading h2 {
  font-size: clamp(2.2rem, 4vw, 4rem);
}

.review-filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.review-filter-row button {
  background: var(--white);
  border-color: var(--line);
  color: var(--ink);
}

.review-filter-row button.is-selected,
.review-filter-row button:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

.customer-review-list {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.customer-review-card {
  background: rgba(255, 250, 242, 0.88);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 16px 45px rgba(32, 18, 10, 0.08);
  display: flex;
  flex-direction: column;
  min-height: 240px;
  padding: clamp(18px, 3vw, 24px);
}

.customer-review-card p {
  color: var(--muted);
  margin: 14px 0 22px;
}

.customer-review-card footer {
  align-items: center;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 12px;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 14px;
}

.customer-review-card strong {
  color: var(--ink);
}

.customer-review-card footer span,
.reviews-cta span {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.search-form {
  align-items: stretch;
  display: flex;
  gap: 10px;
  width: 100%;
}

.search-form label {
  flex: 1;
}

.search-field,
.input-text,
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="password"],
input[type="number"],
textarea,
select {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  font: 600 0.95rem/1.4 Inter, ui-sans-serif, system-ui, sans-serif;
  min-height: 46px;
  padding: 12px 14px;
  width: 100%;
}

.shop-tools {
  min-width: min(420px, 100%);
}

.ritual-strip {
  background: var(--ink);
  border-radius: 8px;
  color: var(--paper);
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 26px;
  overflow: hidden;
}

.ritual-strip a {
  background: rgba(255, 250, 242, 0.08);
  font-weight: 800;
  padding: 16px;
  text-align: center;
}

.shop-loop-head {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
  margin-bottom: 18px;
}

.woocommerce .woocommerce-ordering,
.woocommerce .woocommerce-result-count {
  color: var(--muted);
  float: none;
  margin: 0;
}

.woocommerce ul.products {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.woocommerce ul.products::before,
.woocommerce ul.products::after {
  display: none;
}

.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product,
.cosy-product-tile {
  float: none !important;
  margin: 0 !important;
  width: auto !important;
}

.cosy-product-tile {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.cosy-product-image {
  align-items: center;
  aspect-ratio: 1;
  background:
    linear-gradient(180deg, #fffdf7 0%, var(--paper) 100%),
    radial-gradient(circle at 50% 42%, rgba(209, 163, 75, 0.14), transparent 48%);
  display: flex;
  justify-content: center;
  overflow: hidden;
}

.cosy-product-image .woocommerce-placeholder,
.cosy-product-image img {
  height: auto;
  max-height: calc(100% - 36px);
  max-width: calc(100% - 36px);
  object-fit: contain;
  width: auto;
}

.cosy-product-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 10px;
  padding: 16px;
}

.woocommerce-loop-product__title {
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 1rem !important;
  font-weight: 800;
  line-height: 1.24;
  margin: 0;
  padding: 0 !important;
}

.woocommerce ul.products li.product .button {
  margin-top: auto;
  width: 100%;
}

.woocommerce div.product {
  display: grid;
  gap: clamp(24px, 5vw, 60px);
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 0.82fr);
}

.woocommerce div.product div.images,
.woocommerce div.product div.summary {
  float: none;
  width: auto;
}

.woocommerce div.product div.images img {
  background:
    linear-gradient(180deg, #fffdf7 0%, var(--paper) 100%),
    radial-gradient(circle at 50% 42%, rgba(209, 163, 75, 0.12), transparent 52%);
  border: 1px solid var(--line);
  border-radius: 8px;
  max-height: 680px;
  object-fit: contain;
  padding: clamp(12px, 2vw, 24px);
  width: 100%;
}

.cosy-subscription-gallery-image img,
.cosy-subscription-product-image {
  background:
    linear-gradient(180deg, #fffdf7 0%, var(--paper) 100%),
    radial-gradient(circle at 50% 40%, rgba(209, 163, 75, 0.18), transparent 54%);
}

.woocommerce div.product .product_title {
  font-size: clamp(2.4rem, 5vw, 5.4rem);
  line-height: 0.94;
}

.woocommerce div.product p.price,
.woocommerce div.product span.price {
  color: var(--amber);
  font-size: 1.4rem;
  font-weight: 900;
}

.woocommerce div.product form.cart {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.seo-landing-panel {
  background:
    linear-gradient(135deg, rgba(255, 253, 247, 0.98), rgba(239, 224, 198, 0.72)),
    var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: clamp(18px, 3vw, 28px);
  grid-template-columns: minmax(0, 1.25fr) minmax(240px, 0.75fr);
  margin: clamp(24px, 4vw, 44px) 0;
  padding: clamp(22px, 4vw, 38px);
}

.seo-landing-panel h2 {
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1;
  margin: 0 0 14px;
}

.seo-landing-panel p {
  color: var(--muted);
  font-size: 1.04rem;
  margin: 0;
  max-width: 780px;
}

.seo-keyword-card {
  background: rgba(255, 255, 255, 0.64);
  border: 1px solid rgba(209, 163, 75, 0.42);
  border-radius: 8px;
  padding: 18px;
}

.seo-keyword-card span {
  color: var(--amber);
  display: block;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.seo-keyword-card ul {
  margin: 0;
  padding-left: 18px;
}

.seo-keyword-card li {
  color: var(--ink);
  font-weight: 700;
  margin: 4px 0;
}

.seo-link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  grid-column: 1 / -1;
}

.seo-link-row a {
  border: 1px solid rgba(184, 117, 47, 0.48);
  border-radius: 999px;
  color: var(--mahogany);
  font-size: 0.9rem;
  font-weight: 900;
  padding: 9px 13px;
}

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

.subscription-choice {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(180px, 0.82fr) minmax(0, 1fr);
  padding: clamp(16px, 3vw, 24px);
}

.subscription-choice img {
  align-self: start;
  border: 1px solid rgba(209, 163, 75, 0.42);
  border-radius: 8px;
}

.subscription-choice h2 {
  font-size: clamp(1.8rem, 3vw, 3.2rem);
  line-height: 1;
  margin: 0 0 12px;
}

.subscription-choice p:not(.eyebrow) {
  color: var(--muted);
  margin: 0 0 18px;
}

.woocommerce .quantity .qty {
  max-width: 86px;
}

.product-ritual {
  border-top: 1px solid var(--line);
  margin-top: 56px;
  padding-top: 42px;
}

.product-ritual h2 {
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1;
  margin: 0 0 24px;
}

.product-story-panel {
  background:
    linear-gradient(135deg, rgba(255, 250, 242, 0.96), rgba(239, 224, 198, 0.76)),
    var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 55px rgba(32, 18, 10, 0.1);
  clear: both;
  grid-column: 1 / -1;
  margin: clamp(28px, 5vw, 58px) 0;
  padding: clamp(22px, 4vw, 42px);
}

.product-story-intro {
  max-width: 920px;
}

.product-story-intro h2 {
  font-size: clamp(2.2rem, 4vw, 4.4rem);
  line-height: 1;
  margin: 0 0 14px;
}

.product-story-intro p:last-child {
  color: var(--muted);
  font-size: 1.08rem;
  margin-bottom: 0;
}

.product-story-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 28px;
}

.product-story-grid article,
.policy-card,
.contact-panel {
  background: rgba(255, 253, 247, 0.78);
  border: 1px solid rgba(224, 199, 158, 0.9);
  border-radius: 8px;
  padding: clamp(18px, 2.5vw, 26px);
}

.product-story-grid span {
  color: var(--amber);
  display: block;
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.product-story-grid p,
.policy-card p,
.policy-card li,
.contact-panel p {
  color: var(--muted);
}

.product-story-grid p {
  margin: 0;
}

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

.policy-card h2 {
  font-size: clamp(2rem, 3vw, 3.2rem);
  line-height: 1;
  margin: 0 0 14px;
}

.policy-card ul {
  margin: 18px 0 0;
  padding-left: 20px;
}

.policy-card li + li {
  margin-top: 10px;
}

.contact-panel {
  align-items: center;
  display: flex;
  gap: 24px;
  justify-content: space-between;
}

.contact-panel h2 {
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1;
  margin: 0 0 12px;
}

.woocommerce-cart-form,
.cart-collaterals,
.woocommerce-checkout,
.woocommerce-order {
  background: rgba(255, 250, 242, 0.72);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(18px, 3vw, 28px);
}

.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

.site-footer {
  background: #17110f;
  color: var(--paper);
  padding: 46px clamp(18px, 5vw, 72px);
}

.footer-inner {
  align-items: flex-start;
  display: grid;
  gap: clamp(24px, 5vw, 72px);
  grid-template-columns: minmax(260px, 1fr) minmax(280px, 520px);
  margin: 0 auto;
  max-width: 1180px;
}

.footer-brand p {
  color: rgba(255, 248, 234, 0.72);
  margin: 8px 0 0;
  max-width: 460px;
}

.footer-brand .footer-legal {
  color: rgba(255, 248, 234, 0.58);
  font-size: 0.92rem;
  line-height: 1.55;
  margin-top: 18px;
}

.footer-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.footer-trust span {
  border: 1px solid rgba(209, 163, 75, 0.34);
  border-radius: 999px;
  color: #f1d9a5;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 8px 10px;
  text-transform: uppercase;
}

.footer-links {
  display: grid;
  gap: 10px 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.footer-links a {
  border-bottom: 1px solid rgba(255, 248, 234, 0.18);
  color: rgba(255, 248, 234, 0.82);
  font-weight: 800;
  padding-bottom: 8px;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: #f1d9a5;
}

.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  padding-bottom: 16px;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product .price {
  padding-left: 14px;
  padding-right: 14px;
}

@media (max-width: 980px) {
  .hero,
  .quiz-layout,
  .magazine-hero-grid,
  .ritual-builder,
  .gift-finder-grid,
  .subscription-grid,
  .chapter-grid,
  .subscription-choice-grid,
  .subscription-choice {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-visual {
    min-height: 460px;
  }

  .category-grid,
  .product-grid,
  .room-grid,
  .roadmap-grid,
  .shop-shelf-grid,
  .shop-shelf-grid.compact,
  .magazine-grid,
  .ritual-steps,
  .ritual-mood-row,
  .gift-finder-options,
  .review-grid,
  .customer-review-list,
  .product-story-grid,
  .seo-landing-panel,
  .membership-benefits,
  .policy-grid,
  .woocommerce ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feature-story {
    grid-row: auto;
    min-height: 360px;
  }

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

  .split-layout,
  .contact-panel,
  .woocommerce div.product {
    grid-template-columns: 1fr;
  }

  .contact-panel {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 680px) {
  body {
    background-size: 120px 120px;
  }

  .site-header,
  .section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-header {
    gap: 14px;
    padding: 14px 18px;
  }

  .brand {
    max-width: 100%;
  }

  .brand-mark {
    font-size: 0.95rem;
    line-height: 1.2;
  }

  .main-nav {
    display: grid;
    gap: 8px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
  }

  .main-nav a {
    border: 1px solid rgba(209, 163, 75, 0.28);
    border-radius: 999px;
    font-size: 0.75rem;
    justify-content: center;
    padding: 9px 8px;
    text-align: center;
  }

  .section {
    padding: 42px 16px;
  }

  .hero {
    gap: 22px;
    min-height: auto;
    padding-top: 38px;
  }

  .hero h1 {
    font-size: 3.05rem;
    line-height: 0.94;
    max-width: 11ch;
  }

  .hero-copy {
    font-size: 1rem;
    line-height: 1.62;
    margin: 20px 0;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }

  .hero-actions .button {
    justify-content: center;
    min-height: 48px;
    text-align: center;
    width: 100%;
  }

  .section-heading {
    gap: 12px;
    margin-bottom: 22px;
  }

  .section-heading h2 {
    font-size: 2.35rem;
    line-height: 1;
    max-width: 11ch;
  }

  .section-heading p {
    font-size: 1rem;
    line-height: 1.62;
    max-width: 100%;
  }

  .footer-inner,
  .footer-links {
    grid-template-columns: 1fr;
  }

  .main-nav {
    justify-content: flex-start;
  }

  .hero-proof,
  .library-strip,
  .category-grid,
  .product-grid,
  .room-grid,
  .quiz-product-list,
  .roadmap-grid,
  .shop-shelf-grid,
  .shop-shelf-grid.compact,
  .magazine-grid,
  .ritual-steps,
  .ritual-mood-row,
  .gift-finder-options,
  .review-grid,
  .customer-review-list,
  .product-story-grid,
  .membership-benefits,
  .policy-grid,
  .woocommerce ul.products,
  .ritual-strip {
    grid-template-columns: 1fr;
  }

  .hero-proof {
    gap: 10px;
    margin-top: 24px;
    padding-top: 16px;
  }

  .hero-proof div {
    background: rgba(255, 248, 234, 0.08);
    border: 1px solid rgba(209, 163, 75, 0.18);
    border-radius: 8px;
    padding: 12px;
  }

  .library-strip {
    text-align: left;
  }

  .library-strip span {
    border-bottom: 1px solid rgba(255, 248, 234, 0.14);
    border-right: 0;
    padding: 12px 18px;
  }

  .category-card,
  .shop-shelf-card {
    align-items: stretch;
    display: grid;
    gap: 12px;
    grid-template-columns: minmax(0, 1.1fr) minmax(112px, 0.72fr);
    min-height: 172px;
    padding: 18px;
  }

  .category-card.is-featured,
  .shop-shelf-card.is-featured {
    min-height: 184px;
  }

  .category-card h3,
  .shop-shelf-card h3,
  .article-card h3,
  .roadmap-card h3 {
    font-size: 1.25rem;
    line-height: 1.12;
  }

  .category-card p,
  .shop-shelf-card p {
    font-size: 0.92rem;
    line-height: 1.45;
    max-width: 100%;
  }

  .category-card span,
  .shop-shelf-card span {
    font-size: 0.68rem;
    margin-bottom: 10px;
  }

  .card-art {
    flex-basis: auto;
    min-height: 128px;
  }

  .card-art::before {
    left: 0;
    top: 12%;
  }

  .card-art img,
  .category-card.is-featured .card-art img,
  .shop-shelf-card.is-featured .card-art img {
    max-height: 132px;
    object-fit: contain;
  }

  .roadmap-card,
  .article-card,
  .quiz-card,
  .builder-panel,
  .product-story-grid article,
  .policy-card {
    padding: 22px;
  }

  .product-card img,
  .product-card .woocommerce-placeholder {
    height: 260px;
    object-fit: contain;
    padding: 14px;
  }

  .product-card-content {
    padding: 18px;
  }

  .subscription-grid,
  .chapter-grid,
  .split-layout {
    gap: 24px;
  }

  .membership-image img,
  .chapter-image img {
    aspect-ratio: 1 / 1;
    max-height: none;
    object-fit: cover;
    width: 100%;
  }

  .ritual-scene {
    min-height: 420px;
  }

  .hero-visual {
    min-height: 330px;
  }

  .hero-visual::before {
    background:
      linear-gradient(180deg, rgba(27, 18, 15, 0.04), transparent 45%),
      url("assets/images/homepage-library-candle-hero.jpg") 58% center/cover;
  }

  .hero-note {
    bottom: 18px;
    left: 18px;
    right: 18px;
  }
}

@media (max-width: 430px) {
  .main-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero h1 {
    font-size: 2.72rem;
  }

  .section-heading h2 {
    font-size: 2.08rem;
  }

  .category-card,
  .shop-shelf-card {
    grid-template-columns: minmax(0, 1fr);
  }

  .card-art {
    justify-content: flex-start;
    min-height: 142px;
  }

  .card-art::before {
    left: 0;
    right: 22%;
  }

  .card-art img,
  .category-card.is-featured .card-art img,
  .shop-shelf-card.is-featured .card-art img {
    max-height: 150px;
    max-width: 72%;
  }

  .product-card img,
  .product-card .woocommerce-placeholder {
    height: 230px;
  }
}

@media (max-width: 680px) {
  .site-header {
    align-items: stretch;
    display: block;
    padding: 12px 16px;
  }

  .site-title {
    display: block;
    font-size: 1.54rem;
    line-height: 1;
    margin-bottom: 10px;
    padding-right: 8px;
  }

  .main-nav {
    display: grid;
    gap: 8px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    overflow: visible;
    padding: 20px 0 0;
    position: relative;
    scrollbar-width: none;
    width: 100%;
  }

  .main-nav::-webkit-scrollbar {
    display: none;
  }

  .main-nav::before {
    color: rgba(255, 248, 234, 0.68);
    content: "Shop menu";
    font-size: 0.72rem;
    font-weight: 900;
    left: 2px;
    letter-spacing: 0.12em;
    line-height: 1;
    position: absolute;
    text-transform: uppercase;
    top: 0;
  }

  .main-nav a,
  .main-nav .button {
    align-items: center;
    background: rgba(255, 248, 234, 0.08);
    border: 1px solid rgba(209, 163, 75, 0.28);
    border-radius: 999px;
    color: rgba(255, 248, 234, 0.9);
    display: inline-flex;
    font-size: 0.78rem;
    font-weight: 800;
    justify-content: center;
    line-height: 1;
    min-height: 38px;
    padding: 10px 6px;
    text-align: center;
    white-space: nowrap;
    width: auto;
  }

  .main-nav a[href*="/reviews/"],
  .main-nav a[href*="/reading-corner/"],
  .main-nav a[href*="/my-account/"] {
    display: none;
  }

  .main-nav .button {
    background: var(--brass);
    border-color: var(--brass);
    color: var(--ink);
  }

  .main-nav a[href*="/scent-quiz/"] {
    font-size: 0;
  }

  .main-nav a[href*="/scent-quiz/"]::after {
    content: "Quiz";
    font-size: 0.78rem;
  }

  .main-nav a[href*="/gift-builder/"] {
    font-size: 0;
  }

  .main-nav a[href*="/gift-builder/"]::after {
    content: "Gift Finder";
    font-size: 0.72rem;
    line-height: 1.05;
    white-space: normal;
  }

  .section {
    padding: 48px 18px;
  }

  .hero {
    background:
      linear-gradient(180deg, rgba(16, 10, 8, 0.94), rgba(35, 21, 15, 0.88) 50%, rgba(27, 18, 15, 0.72)),
      url("assets/images/homepage-library-candle-hero.jpg") center top/cover no-repeat;
    gap: 24px;
    padding-bottom: 34px;
    padding-top: 42px;
  }

  .eyebrow {
    font-size: 0.74rem;
    line-height: 1.25;
    margin-bottom: 12px;
  }

  .hero h1 {
    font-size: clamp(3.1rem, 14vw, 4.4rem);
    line-height: 0.93;
    max-width: 8.5em;
  }

  .hero-copy {
    font-size: 1.04rem;
    line-height: 1.58;
    margin: 18px 0 20px;
    max-width: 100%;
  }

  .hero-actions {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .hero-actions .button {
    border-radius: 8px;
    font-size: 0.95rem;
    min-height: 50px;
  }

  .hero-proof {
    border-top: 0;
    display: grid;
    gap: 8px;
    margin-top: 18px;
    padding-top: 0;
  }

  .hero-proof div {
    background: rgba(255, 248, 234, 0.1);
    border-color: rgba(209, 163, 75, 0.24);
    color: rgba(255, 248, 234, 0.78);
    font-size: 0.9rem;
    line-height: 1.42;
    padding: 12px 14px;
  }

  .hero-proof strong {
    font-size: 1.02rem;
    margin-bottom: 2px;
  }

  .hero-visual {
    border-radius: 8px;
    min-height: 280px;
  }

  .section-heading {
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 20px;
  }

  .section-heading h2 {
    font-size: clamp(2.25rem, 10vw, 3.35rem);
    line-height: 1.02;
    max-width: 100%;
  }

  .section-heading p {
    font-size: 1rem;
    line-height: 1.58;
    max-width: 100%;
  }

  .category-grid,
  .shop-shelf-grid,
  .shop-shelf-grid.compact {
    gap: 14px;
  }

  .category-card,
  .shop-shelf-card {
    background: linear-gradient(180deg, rgba(255, 250, 242, 0.98), rgba(244, 232, 210, 0.96));
    display: grid;
    gap: 14px;
    grid-template-columns: minmax(0, 1fr);
    min-height: auto;
    padding: 16px;
  }

  .category-card.is-featured,
  .shop-shelf-card.is-featured {
    min-height: auto;
  }

  .category-card::before,
  .shop-shelf-card::before {
    background: linear-gradient(180deg, rgba(255, 250, 242, 0.2), rgba(255, 250, 242, 0.98) 72%);
  }

  .card-art {
    background: rgba(255, 255, 255, 0.58);
    border: 1px solid rgba(209, 163, 75, 0.18);
    border-radius: 8px;
    min-height: 174px;
    order: -1;
    overflow: hidden;
    padding: 10px;
  }

  .card-art::before {
    display: none;
  }

  .card-art img,
  .category-card.is-featured .card-art img,
  .shop-shelf-card.is-featured .card-art img,
  .shop-shelf-grid.compact .card-art img {
    filter: drop-shadow(0 12px 16px rgba(43, 28, 20, 0.18));
    height: 154px;
    max-height: none;
    max-width: 100%;
    object-fit: contain;
  }

  .card-copy {
    justify-content: flex-start;
  }

  .category-card span,
  .shop-shelf-card span {
    font-size: 0.72rem;
    line-height: 1.2;
    margin-bottom: 8px;
  }

  .category-card h3,
  .shop-shelf-card h3 {
    font-size: 1.55rem;
    line-height: 1.08;
    margin-bottom: 8px;
    max-width: 100%;
  }

  .category-card p,
  .shop-shelf-card p {
    font-size: 0.98rem;
    line-height: 1.48;
    max-width: 100%;
  }

  .roadmap-card,
  .article-card,
  .room-card,
  .quiz-card,
  .builder-panel,
  .product-story-grid article,
  .policy-card {
    padding: 20px;
  }

  .roadmap-card h3,
  .article-card h3,
  .room-card h3 {
    font-size: 1.45rem;
    line-height: 1.12;
  }

  .product-grid {
    gap: 14px;
  }

  .product-card {
    border-radius: 8px;
  }

  .product-card img,
  .product-card .woocommerce-placeholder {
    background: rgba(255, 255, 255, 0.52);
    height: 236px;
    object-fit: contain;
    padding: 16px;
  }

  .product-card h3 {
    font-size: 1.16rem;
    line-height: 1.22;
  }

  .subscription-copy h2,
  .chapter-copy h2,
  .split-copy h2,
  .quiz-card h3 {
    font-size: clamp(2.1rem, 9vw, 3rem);
    line-height: 1.02;
  }

  .membership-image img,
  .chapter-image img {
    border-radius: 8px;
  }
}

@media (max-width: 430px) {
  .hero h1 {
    font-size: clamp(2.85rem, 14vw, 3.55rem);
  }

  .section-heading h2 {
    font-size: clamp(2.05rem, 10vw, 2.65rem);
  }

  .main-nav a,
  .main-nav .button {
    font-size: 0.82rem;
    padding-left: 13px;
    padding-right: 13px;
  }

  .card-art img,
  .category-card.is-featured .card-art img,
  .shop-shelf-card.is-featured .card-art img {
    max-width: 100%;
  }
}

@media (max-width: 680px) {
  .shelf-section {
    display: none;
  }

  #categories {
    padding-bottom: 36px;
  }

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

  .category-card {
    gap: 10px;
    padding: 12px;
  }

  .category-card .card-art {
    min-height: 118px;
    padding: 8px;
  }

  .category-card .card-art img,
  .category-card.is-featured .card-art img {
    height: 108px;
  }

  .category-card span {
    font-size: 0.62rem;
    margin-bottom: 7px;
  }

  .category-card h3 {
    font-size: 1.18rem;
    line-height: 1.06;
    margin-bottom: 7px;
  }

  .category-card p {
    font-size: 0.82rem;
    line-height: 1.34;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .category-card .card-copy::after {
    border-top: 1px solid rgba(184, 117, 47, 0.28);
    color: var(--amber);
    content: "Shop now";
    display: block;
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    margin-top: 10px;
    padding-top: 8px;
    text-transform: uppercase;
  }

  .seo-route-section .roadmap-grid,
  .london-rooms .room-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .seo-route-section .roadmap-card,
  .london-rooms .room-card {
    min-height: auto;
    padding: 16px;
  }

  .seo-route-section .roadmap-card h3,
  .london-rooms .room-card h3 {
    font-size: 1.12rem;
    line-height: 1.12;
    margin-bottom: 8px;
  }

  .seo-route-section .roadmap-card p,
  .london-rooms .room-card p {
    font-size: 0.84rem;
    line-height: 1.4;
    margin-bottom: 12px;
  }

  .london-rooms .room-card a {
    font-size: 0.82rem;
  }

  .curated-products-section .product-grid {
    grid-template-columns: 1fr;
  }

  .curated-products-section .product-card {
    display: grid;
    grid-template-columns: minmax(118px, 38%) minmax(0, 1fr);
    min-height: 176px;
  }

  .curated-products-section .product-card > a {
    aspect-ratio: auto;
    min-height: 176px;
  }

  .curated-products-section .product-card img,
  .curated-products-section .product-card .woocommerce-placeholder {
    height: 148px;
    max-height: 148px;
    max-width: calc(100% - 18px);
    padding: 8px;
  }

  .curated-products-section .product-card-content {
    gap: 7px;
    padding: 14px;
  }

  .curated-products-section .product-meta {
    font-size: 0.7rem;
    line-height: 1.25;
  }

  .curated-products-section .product-card h3 {
    font-size: 0.96rem;
    line-height: 1.18;
  }

  .curated-products-section .product-card p {
    display: none;
  }

  .curated-products-section .price {
    font-size: 0.95rem;
  }

  .shop-note {
    font-size: 0.92rem;
    line-height: 1.45;
    margin-top: 16px;
    padding: 16px;
  }
}

@media (max-width: 430px) {
  .category-grid,
  .seo-route-section .roadmap-grid,
  .london-rooms .room-grid {
    gap: 10px;
  }

  .category-card h3 {
    font-size: 1.08rem;
  }

  .category-card p {
    font-size: 0.78rem;
  }

  .curated-products-section .product-card {
    grid-template-columns: minmax(112px, 38%) minmax(0, 1fr);
  }
}
