:root {
  --white: #fffdf8;
  --paper: #f8f6ee;
  --sage-900: #263a2a;
  --sage-800: #344c35;
  --sage-600: #66795c;
  --sage-200: #d7ddcf;
  --lavender: #c6b6cd;
  --marigold: #d99d3f;
  --terracotta: #b87959;
  --ink: #1f251f;
  --muted: #6d7068;
  --line: #ded8c9;
  --shadow: 0 18px 60px rgba(38, 58, 42, 0.14);
  --radius: 8px;
  --serif: "Newsreader", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(215, 221, 207, 0.22), rgba(255, 253, 248, 0) 480px),
    var(--white);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
}

body.cart-open,
body.menu-open {
  overflow: hidden;
}

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

button,
input {
  font: inherit;
}

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

.section-shell,
.site-footer {
  width: min(100% - 32px, 1220px);
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
  min-height: 76px;
  padding: 0 max(18px, calc((100vw - 1220px) / 2));
  background: rgba(255, 253, 248, 0.91);
  border-bottom: 1px solid rgba(222, 216, 201, 0.8);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--sage-900);
  font-family: var(--serif);
  font-size: clamp(25px, 2vw, 34px);
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  color: var(--sage-800);
}

.brand-mark svg,
.line-icon svg,
.icon-button svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.desktop-nav {
  display: flex;
  justify-content: center;
  gap: clamp(18px, 3vw, 42px);
  color: #2e372e;
  font-size: 13px;
  font-weight: 600;
}

.desktop-nav a {
  padding: 27px 0 25px;
  border-bottom: 2px solid transparent;
}

.desktop-nav a:hover {
  border-color: var(--sage-600);
}

.header-actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.icon-button,
.menu-button {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  color: var(--sage-900);
  background: transparent;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
}

.icon-button:hover,
.menu-button:hover {
  background: rgba(215, 221, 207, 0.45);
  border-color: var(--sage-200);
}

.icon-button svg {
  width: 23px;
  height: 23px;
}

.cart-count {
  position: absolute;
  top: 3px;
  right: 2px;
  display: grid;
  place-items: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  color: white;
  background: var(--sage-800);
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
}

.menu-button {
  display: none;
}

.menu-button span {
  width: 20px;
  height: 2px;
  background: currentColor;
}

.mobile-nav {
  display: none;
}

.hero {
  display: grid;
  grid-template-columns: minmax(300px, 0.78fr) minmax(420px, 1.22fr);
  align-items: center;
  gap: clamp(28px, 5vw, 80px);
  min-height: min(730px, calc(100svh - 110px));
  padding: clamp(30px, 5vw, 74px) 0 28px;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.hero-copy::after {
  content: "";
  position: absolute;
  left: -36px;
  bottom: -96px;
  width: 170px;
  height: 220px;
  opacity: 0.22;
  background:
    radial-gradient(circle at 50% 13%, transparent 0 5px, var(--sage-600) 5.5px 6.5px, transparent 7px),
    linear-gradient(110deg, transparent 48%, var(--sage-600) 49% 51%, transparent 52%);
  mask: linear-gradient(#000, transparent 92%);
  pointer-events: none;
}

.hero h1 {
  margin: 0;
  color: var(--sage-900);
  font-family: var(--serif);
  font-size: clamp(72px, 9vw, 148px);
  font-weight: 500;
  letter-spacing: 0;
  line-height: 0.88;
}

.hero p {
  max-width: 480px;
  margin: 26px 0 0;
  color: #313c32;
  font-size: clamp(22px, 2.3vw, 34px);
  line-height: 1.12;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

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

.button-primary {
  color: #fff;
  background: var(--sage-800);
}

.button-primary:hover {
  background: #243b27;
}

.button-quiet {
  color: var(--sage-800);
  background: rgba(255, 253, 248, 0.72);
  border-color: var(--sage-200);
}

.button-quiet:hover {
  background: #fff;
  border-color: var(--sage-600);
}

.hero-media {
  position: relative;
  min-width: 0;
}

.hero-media::before {
  content: "";
  position: absolute;
  inset: 7% 3% -4% 9%;
  background: rgba(102, 121, 92, 0.18);
  filter: blur(36px);
  z-index: -1;
}

.hero-media img {
  width: 100%;
  aspect-ratio: 1.9 / 1;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.scene-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding: 16px 0 clamp(58px, 7vw, 92px);
}

.scene-card {
  position: relative;
  min-height: 245px;
  overflow: hidden;
  border-radius: var(--radius);
  background: #d9d5c8;
  box-shadow: 0 1px 0 rgba(38, 58, 42, 0.08);
}

.scene-card img {
  width: 100%;
  height: 100%;
  min-height: 245px;
  object-fit: cover;
  transition: transform 600ms ease;
}

.scene-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(25, 26, 22, 0.56));
}

.scene-card span {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 20px;
  z-index: 1;
  color: white;
  font-family: var(--serif);
  font-size: clamp(28px, 3vw, 42px);
  line-height: 0.96;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.28);
}

.scene-card:hover img {
  transform: scale(1.035);
}

.shop-section {
  padding: clamp(56px, 7vw, 92px) 0;
  border-top: 1px solid var(--line);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(260px, 0.7fr) minmax(280px, 0.55fr);
  align-items: end;
  gap: 32px;
  margin-bottom: 26px;
}

.section-heading h2,
.bundle-copy h2,
.safety-copy h2 {
  margin: 0;
  color: var(--sage-900);
  font-family: var(--serif);
  font-size: clamp(42px, 5vw, 74px);
  font-weight: 500;
  letter-spacing: 0;
  line-height: 0.95;
}

.section-heading p,
.bundle-copy p,
.safety-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}

.filter-button {
  min-height: 38px;
  padding: 0 14px;
  color: var(--sage-900);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.filter-button.active,
.filter-button:hover {
  color: #fff;
  background: var(--sage-800);
  border-color: var(--sage-800);
}

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

.product-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 14px;
  background: rgba(255, 253, 248, 0.86);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.product-card:hover,
.product-card:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(102, 121, 92, 0.55);
  box-shadow: 0 14px 34px rgba(38, 58, 42, 0.1);
  outline: 0;
}

.product-art {
  position: relative;
  display: grid;
  place-items: end center;
  height: 186px;
  margin-bottom: 16px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 253, 248, 0.4), rgba(215, 221, 207, 0.32)),
    #f2eee4;
  border-radius: 6px;
}

.product-photo {
  place-items: stretch;
  background: #f2eee4;
}

.product-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pouch {
  position: relative;
  width: 104px;
  height: 148px;
  margin-bottom: 13px;
  background: linear-gradient(90deg, #ccb086, #ead7b8 18% 82%, #c4a478);
  border: 1px solid rgba(99, 75, 45, 0.25);
  border-radius: 7px 7px 12px 12px;
  box-shadow: 0 12px 18px rgba(69, 48, 29, 0.14);
}

.pouch::before {
  content: "Twelve\A Blooms";
  white-space: pre;
  position: absolute;
  top: 29px;
  left: 0;
  right: 0;
  color: #27362a;
  font-family: var(--serif);
  font-size: 17px;
  line-height: 0.9;
  text-align: center;
}

.pouch::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 35px;
  height: 35px;
  background:
    radial-gradient(circle at 18% 42%, var(--marigold) 0 3px, transparent 4px),
    radial-gradient(circle at 75% 28%, var(--lavender) 0 3px, transparent 4px),
    radial-gradient(circle at 42% 70%, #7a9567 0 3px, transparent 4px),
    linear-gradient(135deg, rgba(73, 94, 50, 0.65), rgba(213, 160, 63, 0.45));
  border: 1px solid rgba(64, 70, 49, 0.22);
}

.pouch.mix-gold::after {
  background:
    radial-gradient(circle at 20% 30%, #e9b342 0 4px, transparent 5px),
    radial-gradient(circle at 72% 58%, #ca8535 0 3px, transparent 4px),
    radial-gradient(circle at 48% 72%, #ece3b3 0 3px, transparent 4px),
    #c99232;
}

.pouch.mix-lavender::after {
  background:
    radial-gradient(circle at 21% 33%, #87659b 0 3px, transparent 4px),
    radial-gradient(circle at 64% 38%, #c78698 0 4px, transparent 5px),
    radial-gradient(circle at 45% 74%, #d6bb62 0 3px, transparent 4px),
    #7d8d64;
}

.pouch.mix-chick::after {
  background:
    radial-gradient(circle at 34% 36%, #d7a04c 0 2px, transparent 3px),
    radial-gradient(circle at 74% 64%, #8a9b6a 0 2px, transparent 3px),
    #a7a56d;
}

.pouch.mix-patio::after {
  background:
    radial-gradient(circle at 22% 52%, #c99b54 0 2px, transparent 3px),
    radial-gradient(circle at 72% 38%, #6e7653 0 3px, transparent 4px),
    repeating-linear-gradient(35deg, #9d7948 0 3px, #5e6848 3px 6px);
}

.pouch.mix-paws::after {
  background:
    radial-gradient(circle at 20% 58%, #d69d3c 0 3px, transparent 4px),
    radial-gradient(circle at 58% 32%, #bb7b93 0 3px, transparent 4px),
    radial-gradient(circle at 78% 70%, #6e8b63 0 3px, transparent 4px),
    #9aa877;
}

.botanical-scatter {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 11px;
  height: 16px;
  opacity: 0.8;
  background:
    radial-gradient(circle at 18% 65%, var(--marigold) 0 4px, transparent 5px),
    radial-gradient(circle at 35% 34%, #8d9d74 0 3px, transparent 4px),
    radial-gradient(circle at 58% 50%, var(--lavender) 0 3px, transparent 4px),
    radial-gradient(circle at 72% 67%, var(--terracotta) 0 3px, transparent 4px),
    radial-gradient(circle at 84% 42%, #657b58 0 3px, transparent 4px);
}

.product-meta {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-card h3 {
  min-height: 50px;
  margin: 0 0 8px;
  color: var(--sage-900);
  font-size: 18px;
  line-height: 1.06;
}

.product-type {
  min-height: 36px;
  margin: 0 0 11px;
  color: var(--sage-600);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.25;
}

.ingredients {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.38;
}

.card-foot {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: auto;
}

.price {
  color: var(--ink);
  font-size: 15px;
  font-weight: 800;
}

.details-link {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  color: var(--sage-800);
  font-size: 12px;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.add-button {
  min-height: 42px;
  color: #fff;
  background: var(--sage-800);
  border: 0;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.add-button:hover {
  background: #243b27;
}

.product-card.is-hidden {
  display: none;
}

.detail-page,
.cart-page,
.checkout-page {
  padding: clamp(44px, 7vw, 92px) 0;
}

.detail-hero,
.cart-page,
.checkout-page {
  display: grid;
  grid-template-columns: minmax(300px, 0.88fr) minmax(320px, 1fr);
  gap: clamp(28px, 6vw, 82px);
  align-items: start;
}

.detail-hero {
  align-items: center;
}

.detail-gallery {
  display: grid;
  gap: 12px;
}

.detail-main-image,
.detail-thumb img {
  width: 100%;
  object-fit: cover;
  border-radius: var(--radius);
  background: #f2eee4;
}

.detail-main-image {
  aspect-ratio: 4 / 5;
  box-shadow: var(--shadow);
}

.detail-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.detail-thumb {
  padding: 0;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
}

.detail-thumb.active,
.detail-thumb:focus-visible {
  border-color: var(--sage-800);
  box-shadow: inset 0 0 0 1px var(--sage-800);
}

.detail-thumb img {
  aspect-ratio: 1;
}

.back-link {
  display: inline-block;
  margin-bottom: 22px;
  color: var(--sage-600);
  font-size: 13px;
  font-weight: 800;
}

.detail-hero h1,
.cart-page h1,
.checkout-form h1 {
  margin: 0 0 14px;
  color: var(--sage-900);
  font-family: var(--serif);
  font-size: clamp(56px, 7vw, 104px);
  font-weight: 500;
  line-height: 0.92;
}

.detail-price {
  margin: 18px 0;
  color: var(--sage-900);
  font-size: 24px;
  font-weight: 800;
}

.page-copy {
  max-width: 620px;
  color: var(--muted);
  font-size: 16px;
}

.detail-panels {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 44px;
}

.detail-panels article,
.form-panel,
.order-summary,
.cart-row,
.empty-state {
  background: rgba(255, 253, 248, 0.86);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.detail-panels article,
.form-panel,
.order-summary,
.empty-state {
  padding: 24px;
}

.detail-panels h2,
.form-panel h2,
.order-summary h2 {
  margin: 0 0 10px;
  color: var(--sage-900);
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 500;
}

.detail-panels p,
.order-summary p {
  margin: 0;
  color: var(--muted);
}

.detail-panels ul {
  display: grid;
  gap: 7px;
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}

.cart-page-items {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.cart-row {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 16px;
}

.cart-row h2 {
  margin: 0 0 4px;
  color: var(--sage-900);
  font-size: 20px;
}

.cart-row p {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 13px;
}

.cart-row .cart-swatch {
  width: 72px;
  height: 72px;
}

.order-summary {
  position: sticky;
  top: 100px;
}

.summary-line {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.summary-line.total {
  color: var(--sage-900);
  font-size: 22px;
}

.order-summary .button {
  width: 100%;
  margin: 22px 0 14px;
}

.checkout-form {
  display: grid;
  gap: 16px;
}

.form-panel {
  display: grid;
  gap: 14px;
}

.form-panel label {
  display: grid;
  gap: 7px;
  color: var(--sage-900);
  font-size: 13px;
  font-weight: 800;
}

.form-panel input {
  height: 46px;
  padding: 0 12px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

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

.check-row {
  grid-template-columns: auto 1fr !important;
  align-items: start;
  font-weight: 600 !important;
  line-height: 1.45;
}

.check-row input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
}

.checkout-success {
  margin: 0;
  padding: 14px;
  color: var(--sage-900);
  background: rgba(215, 221, 207, 0.48);
  border: 1px solid var(--sage-200);
  border-radius: var(--radius);
  font-weight: 800;
}

.checkout-status {
  margin: 0;
  padding: 14px;
  color: var(--sage-900);
  background: rgba(215, 221, 207, 0.36);
  border: 1px solid var(--sage-200);
  border-radius: var(--radius);
  font-weight: 800;
}

.checkout-status[data-type="warning"] {
  color: #6f4a13;
  background: rgba(217, 157, 63, 0.15);
  border-color: rgba(217, 157, 63, 0.42);
}

.checkout-status[data-type="error"] {
  color: #81351f;
  background: rgba(184, 121, 89, 0.14);
  border-color: rgba(184, 121, 89, 0.44);
}

.confirmation-page {
  display: block;
}

.confirmation-page .empty-state {
  max-width: 720px;
}

.ritual-section {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  align-items: stretch;
  gap: clamp(24px, 5vw, 74px);
  padding: clamp(56px, 7vw, 96px) 0;
  border-top: 1px solid var(--line);
}

.bundle-visual {
  display: grid;
  align-items: center;
  min-height: 410px;
  overflow: hidden;
  border-radius: var(--radius);
}

.bundle-visual img {
  width: 100%;
  height: 100%;
  min-height: 410px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: 0 18px 48px rgba(38, 58, 42, 0.12);
}

.bundle-copy {
  align-self: center;
}

.bundle-copy p {
  max-width: 560px;
  margin-top: 18px;
}

.bundle-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 30px 0 22px;
}

.bundle-option {
  min-height: 140px;
  padding: 18px;
  text-align: left;
  background: rgba(255, 253, 248, 0.82);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
}

.bundle-option strong {
  display: block;
  margin-bottom: 8px;
  color: var(--sage-900);
  font-size: 16px;
}

.bundle-option span {
  color: var(--muted);
  font-size: 13px;
}

.bundle-option.active {
  background: #fff;
  border-color: var(--sage-600);
  box-shadow: inset 0 0 0 1px var(--sage-600);
}

.safety-section {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: clamp(28px, 5vw, 72px);
  padding: clamp(60px, 7vw, 98px) 0;
  border-top: 1px solid var(--line);
}

.safety-copy p {
  max-width: 520px;
  margin-top: 18px;
}

.safety-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  align-self: center;
  background: rgba(215, 221, 207, 0.28);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.safety-list article {
  padding: 28px;
}

.safety-list article + article {
  border-left: 1px solid var(--line);
}

.line-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 18px;
  color: var(--sage-800);
}

.safety-list h3 {
  margin: 0 0 8px;
  color: var(--sage-900);
  font-size: 18px;
}

.safety-list p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.site-footer {
  display: grid;
  grid-template-columns: 1.1fr 0.8fr 1fr;
  gap: 48px;
  padding: 46px 0;
  color: #f7f4ec;
  background: var(--sage-900);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

footer::before {
  content: "";
  position: absolute;
}

.site-footer {
  width: 100%;
  padding-inline: max(18px, calc((100vw - 1220px) / 2));
}

.footer-brand {
  color: #fff;
  font-size: 30px;
}

.site-footer p {
  max-width: 260px;
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 13px;
}

.footer-links {
  display: grid;
  gap: 10px;
  align-content: start;
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
}

.newsletter label {
  display: block;
  margin-bottom: 12px;
  color: #fff;
  font-weight: 700;
}

.newsletter div {
  display: flex;
  gap: 8px;
}

.newsletter input {
  min-width: 0;
  flex: 1;
  height: 44px;
  padding: 0 13px;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 4px;
}

.newsletter input::placeholder {
  color: rgba(255, 255, 255, 0.54);
}

.newsletter button {
  height: 44px;
  padding: 0 16px;
  color: var(--sage-900);
  background: #f8f0d7;
  border: 0;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.cart-drawer {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  justify-content: flex-end;
  background: rgba(31, 37, 31, 0.34);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

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

.cart-panel {
  display: flex;
  flex-direction: column;
  width: min(100%, 430px);
  height: 100%;
  padding: 22px;
  background: var(--white);
  box-shadow: -18px 0 48px rgba(31, 37, 31, 0.22);
  transform: translateX(100%);
  transition: transform 220ms ease;
}

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

.cart-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.cart-head h2 {
  margin: 0;
  color: var(--sage-900);
  font-family: var(--serif);
  font-size: 36px;
  font-weight: 500;
}

.cart-items {
  display: grid;
  gap: 12px;
  padding: 18px 0;
  overflow: auto;
}

.cart-line {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 12px;
  background: rgba(215, 221, 207, 0.22);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.cart-swatch {
  width: 48px;
  height: 48px;
  border-radius: 6px;
  background: var(--swatch, var(--sage-200));
}

.cart-thumb {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 6px;
  background: #f2eee4;
}

.cart-line h3 {
  margin: 0 0 2px;
  font-size: 14px;
}

.cart-line span {
  color: var(--muted);
  font-size: 12px;
}

.qty-control {
  display: flex;
  align-items: center;
  gap: 7px;
}

.qty-control button {
  width: 28px;
  height: 28px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fff;
  cursor: pointer;
}

.cart-empty {
  display: none;
  margin: auto;
  color: var(--muted);
  text-align: center;
}

.cart-empty.visible {
  display: block;
}

.cart-foot {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.cart-total {
  display: flex;
  justify-content: space-between;
  margin-bottom: 14px;
  font-size: 15px;
}

.cart-total strong {
  color: var(--sage-900);
  font-size: 19px;
}

.cart-foot .button {
  width: 100%;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 22px;
  z-index: 90;
  max-width: min(92vw, 420px);
  padding: 13px 16px;
  color: #fff;
  background: var(--sage-900);
  border-radius: 999px;
  box-shadow: 0 12px 30px rgba(31, 37, 31, 0.22);
  opacity: 0;
  transform: translate(-50%, 18px);
  transition: opacity 180ms ease, transform 180ms ease;
  pointer-events: none;
  font-size: 13px;
  font-weight: 700;
}

.toast.visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

@media (max-width: 1120px) {
  .desktop-nav {
    display: none;
  }

  .site-header {
    grid-template-columns: 1fr auto;
  }

  .menu-button {
    display: inline-grid;
  }

  .mobile-nav {
    position: fixed;
    inset: 76px 0 auto;
    z-index: 35;
    display: grid;
    gap: 0;
    padding: 10px 18px 18px;
    background: rgba(255, 253, 248, 0.98);
    border-bottom: 1px solid var(--line);
    transform: translateY(-125%);
    transition: transform 200ms ease;
  }

  .mobile-nav.open {
    transform: translateY(0);
  }

  .mobile-nav a {
    padding: 15px 0;
    border-bottom: 1px solid var(--line);
    color: var(--sage-900);
    font-size: 16px;
    font-weight: 700;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-media {
    order: -1;
  }

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

  .ritual-section,
  .safety-section {
    grid-template-columns: 1fr;
  }

  .site-footer {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 760px) {
  .section-shell {
    width: min(100% - 24px, 1220px);
  }

  .site-header {
    min-height: 68px;
  }

  .brand {
    font-size: 25px;
  }

  .brand-mark {
    width: 27px;
    height: 27px;
  }

  .mobile-nav {
    inset: 68px 0 auto;
  }

  .hero {
    gap: 22px;
    padding-top: 18px;
  }

  .hero-media img {
    aspect-ratio: 1.1 / 1;
  }

  .hero h1 {
    font-size: clamp(64px, 18vw, 86px);
  }

  .hero p {
    font-size: 24px;
  }

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

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

  .scene-card,
  .scene-card img {
    min-height: 210px;
  }

  .section-heading {
    grid-template-columns: 1fr;
    align-items: start;
  }

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

  .product-card {
    display: grid;
    grid-template-columns: 128px 1fr;
    gap: 14px;
  }

  .product-art {
    height: 100%;
    min-height: 190px;
    margin-bottom: 0;
  }

  .product-card h3 {
    min-height: 0;
  }

  .bundle-options,
  .safety-list {
    grid-template-columns: 1fr;
  }

  .safety-list article + article {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }

  .newsletter div {
    flex-direction: column;
  }

  .detail-hero,
  .cart-page,
  .checkout-page,
  .detail-panels {
    grid-template-columns: 1fr;
  }

  .order-summary {
    position: static;
  }

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

@media (max-width: 440px) {
  .product-card {
    grid-template-columns: 1fr;
  }

  .product-art {
    min-height: 220px;
  }

  .cart-row {
    grid-template-columns: 52px 1fr;
  }

  .cart-row .qty-control {
    grid-column: 2;
  }
}

@media (max-width: 760px) {
  body {
    background: #fffdf8;
  }

  .section-shell {
    width: min(100% - 28px, 520px);
  }

  .site-header {
    min-height: 58px;
    padding: 0 14px;
    gap: 10px;
    background: rgba(255, 253, 248, 0.96);
  }

  .brand {
    font-size: 24px;
  }

  .brand-mark {
    width: 24px;
    height: 24px;
  }

  .icon-button,
  .menu-button {
    width: 38px;
    height: 38px;
  }

  .mobile-nav {
    inset: 58px 0 auto;
    padding: 22px 28px 28px;
    box-shadow: 0 18px 44px rgba(38, 58, 42, 0.14);
  }

  .mobile-nav a {
    padding: 16px 0;
    font-size: 18px;
  }

  .hero {
    display: flex;
    flex-direction: column;
    gap: 18px;
    width: 100%;
    padding: 0 0 28px;
  }

  .hero-media {
    width: 100%;
    order: -1;
  }

  .hero-media::before,
  .hero-copy::after {
    display: none;
  }

  .hero-media img {
    width: 100%;
    aspect-ratio: 1.15 / 1;
    border-radius: 0 0 8px 8px;
    box-shadow: none;
  }

  .hero-copy {
    width: min(100% - 28px, 520px);
    margin-inline: auto;
  }

  .hero h1 {
    font-size: clamp(60px, 18vw, 86px);
    line-height: 0.9;
  }

  .hero p {
    max-width: 330px;
    margin-top: 14px;
    font-size: 22px;
    line-height: 1.18;
  }

  .hero-actions {
    margin-top: 22px;
  }

  .button {
    min-height: 50px;
  }

  .button-quiet {
    display: none;
  }

  .scene-strip {
    display: flex;
    width: min(100% - 28px, 520px);
    gap: 10px;
    margin-inline: auto;
    padding: 0 0 30px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
  }

  .scene-card {
    flex: 0 0 31%;
    min-height: 142px;
    scroll-snap-align: start;
  }

  .scene-card img {
    min-height: 142px;
  }

  .scene-card span {
    left: 10px;
    right: 10px;
    bottom: 10px;
    font-size: 20px;
    line-height: 0.98;
  }

  .shop-section,
  .ritual-section,
  .safety-section {
    padding: 34px 0;
  }

  .section-heading {
    gap: 10px;
    margin-bottom: 18px;
  }

  .section-heading h2,
  .bundle-copy h2,
  .safety-copy h2 {
    font-size: 34px;
    line-height: 0.98;
  }

  .section-heading p,
  .bundle-copy p,
  .safety-copy p,
  .page-copy {
    font-size: 14px;
  }

  .filter-row {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .filter-button {
    flex: 0 0 auto;
  }

  .product-grid {
    gap: 10px;
  }

  .product-card {
    grid-template-columns: 116px 1fr;
    gap: 12px;
    min-height: 0;
    padding: 10px;
  }

  .product-art {
    min-height: 142px;
  }

  .product-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .product-card h3 {
    margin-bottom: 4px;
    font-size: 18px;
  }

  .product-type {
    min-height: 0;
    margin-bottom: 8px;
    font-size: 11px;
  }

  .ingredients {
    margin-bottom: 8px;
    font-size: 11px;
  }

  .card-foot {
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 8px;
  }

  .details-link {
    display: none;
  }

  .add-button {
    min-width: 64px;
    min-height: 38px;
    padding: 0 12px;
  }

  .bundle-visual,
  .bundle-visual img {
    min-height: 210px;
  }

  .ritual-section {
    gap: 18px;
  }

  .bundle-options {
    gap: 0;
    margin: 20px 0;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
  }

  .bundle-option {
    min-height: 76px;
    border: 0;
    border-radius: 0;
    border-bottom: 1px solid var(--line);
  }

  .bundle-option:last-child {
    border-bottom: 0;
  }

  .safety-list {
    background: #f6f3eb;
  }

  .safety-list article {
    display: grid;
    grid-template-columns: 40px 1fr;
    column-gap: 14px;
    padding: 18px;
  }

  .safety-list .line-icon {
    grid-row: span 2;
    margin: 0;
  }

  .site-footer {
    gap: 26px;
    padding-top: 34px;
    padding-bottom: 34px;
  }

  .detail-page,
  .cart-page,
  .checkout-page {
    width: min(100% - 28px, 520px);
    padding: 22px 0 44px;
  }

  .detail-hero {
    gap: 20px;
  }

  .detail-main-image {
    aspect-ratio: 1 / 1;
  }

  .detail-thumbs {
    gap: 8px;
  }

  .detail-hero h1,
  .cart-page h1,
  .checkout-form h1 {
    font-size: 50px;
  }

  .detail-price {
    margin: 12px 0;
    font-size: 24px;
  }

  .detail-hero .button,
  .checkout-form > .button {
    width: 100%;
  }

  .detail-panels {
    gap: 0;
    margin-top: 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
  }

  .detail-panels article {
    border: 0;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    padding: 18px;
  }

  .detail-panels article:last-child {
    border-bottom: 0;
  }

  .detail-panels h2,
  .form-panel h2,
  .order-summary h2 {
    font-size: 25px;
  }

  .cart-page {
    gap: 22px;
  }

  .cart-page-items {
    gap: 12px;
  }

  .cart-row {
    grid-template-columns: 92px 1fr;
    gap: 14px;
    padding: 12px;
  }

  .cart-row .cart-swatch,
  .cart-thumb {
    width: 92px;
    height: 108px;
  }

  .cart-row .qty-control {
    grid-column: 2;
    justify-self: start;
  }

  .order-summary {
    padding: 20px;
    box-shadow: 0 16px 44px rgba(38, 58, 42, 0.1);
  }

  .summary-link {
    display: block;
    margin: 0 0 14px;
    color: var(--sage-800);
    font-weight: 800;
    text-align: center;
    text-decoration: underline;
    text-underline-offset: 3px;
  }

  .checkout-page {
    gap: 18px;
  }

  .checkout-form {
    gap: 14px;
  }

  .form-panel {
    gap: 12px;
    padding: 18px;
  }

  .form-panel input {
    height: 50px;
  }

  .check-row {
    font-size: 13px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
