/* Japan HealthCare — porcelain and plum palette with semantic stock colors. */
:root {
  --tg-bg: #f5f5f1;
  --tg-surface: #f8f8f4;
  --tg-text: #202720;
  --tg-muted: #777e75;
  --tg-blue: #536b5a;
  --tg-blue-dark: #405746;
  --tg-green: #67816d;
  --tg-yellow: #a98242;
  --tg-red: #a45f52;
  --tg-border: rgba(57, 67, 57, .14);
  --shadow: 0 24px 70px rgba(31, 39, 31, .16);
  --page-width: 1240px;
  --page-gutter: clamp(20px, 5vw, 72px);
  --stone: #efefe9;
  --stone-deep: #e9e9e1;
  --green-soft: #e9eee8;
}

html { scroll-behavior: smooth; }
body {
  background: var(--tg-bg);
  color: var(--tg-text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
  letter-spacing: -.012em;
}
button, input { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
button:focus-visible, input:focus-visible, [tabindex="-1"]:focus-visible {
  outline: 2px solid #718b75;
  outline-offset: 3px;
}
.app-shell {
  width: min(100%, var(--page-width));
  margin-inline: auto;
  padding: 14px var(--page-gutter) 80px;
}

/* A single restrained glass layer for the global controls. */
.topbar {
  position: sticky;
  top: 8px;
  z-index: 10;
  min-height: 60px;
  grid-template-columns: 48px 1fr 48px;
  gap: 14px;
  margin: 0 calc(-1 * var(--page-gutter));
  padding: 8px var(--page-gutter);
  border-radius: 18px;
  background: rgba(248, 248, 244, .78);
  border: 1px solid rgba(255, 255, 255, .76);
  box-shadow: 0 6px 22px rgba(37, 45, 37, .045);
  -webkit-backdrop-filter: blur(8px) saturate(125%);
  backdrop-filter: blur(8px) saturate(125%);
}
.topbar__title { justify-items: start; line-height: 1.15; }
.topbar__title span { font-size: 14px; font-weight: 650; letter-spacing: -.025em; }
.topbar__title small { margin-top: 4px; color: var(--tg-muted); font-size: 10px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; }
.icon-button {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: transparent;
  color: var(--tg-text);
  box-shadow: none;
  transition: background-color 160ms ease, color 160ms ease;
}
.icon-button:hover { background: rgba(75, 98, 79, .08); }
.icon-button svg { width: 19px; height: 19px; }
.cart-shortcut { color: var(--tg-blue-dark); }
.cart-shortcut__badge {
  top: 0; right: -1px; min-width: 17px; height: 17px;
  border: 2px solid #f7f7f2; background: #526c58; font-size: 9px;
}
.theme-toggle__icon { transition: opacity 150ms ease; transform: none; }
.theme-toggle__icon.is-active { transform: none; }

.catalog-intro {
  min-height: clamp(300px, 36vw, 450px);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  gap: clamp(28px, 7vw, 100px);
  margin: 26px 0 70px;
  padding: clamp(28px, 6vw, 72px) clamp(24px, 6vw, 76px);
  overflow: hidden;
  border-radius: 8px;
  background: linear-gradient(128deg, #fbfcf9 0%, #f1f5ef 54%, #eaf0e9 100%);
  position: relative;
  isolation: isolate;
}
.catalog-intro::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: radial-gradient(ellipse at 85% 16%, rgba(255,255,255,.76), transparent 42%), linear-gradient(90deg, rgba(248,250,246,.35), rgba(248,250,246,0));
  pointer-events: none;
}
.catalog-intro__copy { max-width: 590px; }
.catalog-intro__copy > span {
  display: inline-block;
  margin-bottom: 18px;
  color: #607463;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.catalog-intro h1 {
  max-width: 570px;
  margin: 0;
  color: #202720;
  font-size: clamp(38px, 6.2vw, 76px);
  font-weight: 560;
  letter-spacing: -.065em;
  line-height: .99;
}
.catalog-intro p { max-width: 380px; margin: 20px 0 0; color: #646c64; font-size: clamp(14px, 1.4vw, 17px); line-height: 1.55; }
.catalog-band.content-band {
  margin: 0;
  padding: 0;
  overflow: visible;
  background: transparent;
  border: 0;
  box-shadow: none;
}
.section-title { align-items: end; margin-bottom: 24px; }
.section-title h2 { margin: 0; font-size: clamp(26px, 3vw, 38px); font-weight: 560; letter-spacing: -.05em; line-height: 1.05; }
.section-title > span { color: var(--tg-muted); font-size: 12px; font-weight: 550; }
.catalog-tools {
  display: grid;
  grid-template-columns: minmax(210px, .8fr) minmax(0, 1.2fr);
  align-items: center;
  gap: 16px;
  margin: 0 0 26px;
}
.catalog-search {
  min-width: 0;
  min-height: 46px;
  gap: 12px;
  margin: 0;
  padding: 0 16px;
  border: 1px solid rgba(73, 85, 73, .08);
  border-radius: 13px;
  background: rgba(255,255,255,.48);
  transition: border-color 160ms ease, background-color 160ms ease;
}
.catalog-search:focus-within { border-color: rgba(77, 103, 81, .35); background: rgba(255,255,255,.78); box-shadow: none; }
.catalog-search__icon { width: 14px; height: 14px; border-width: 1.5px; color: #7b837b; }
.catalog-search__icon::after { width: 6px; height: 1.5px; background: #7b837b; }
.catalog-search input { font-size: 14px; font-weight: 450; }
.catalog-search input::placeholder { color: #858c84; }
.catalog-filters {
  width: fit-content;
  max-width: 100%;
  min-height: 46px;
  align-items: center;
  gap: 2px;
  margin: 0;
  padding: 4px;
  border: 1px solid rgba(255,255,255,.72);
  border-radius: 14px;
  background: rgba(255,255,255,.52);
  box-shadow: 0 4px 14px rgba(34, 44, 34, .035);
  -webkit-backdrop-filter: blur(7px) saturate(120%);
  backdrop-filter: blur(7px) saturate(120%);
}
.catalog-filter {
  min-height: 36px;
  padding: 0 13px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #6e776e;
  font-size: 12px;
  font-weight: 550;
  transition: background-color 150ms ease, color 150ms ease;
}
.catalog-filter.is-active { background: #526c58; color: #fff; box-shadow: none; }
.catalog-filter:focus-visible { outline-color: #526c58; }

.catalog-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 42px 24px; }
.catalog-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-content: initial;
  gap: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 4px;
  background: transparent;
  box-shadow: none;
  transition: transform 180ms ease;
}
.catalog-card.is-active { box-shadow: none; }
.catalog-card__main {
  min-width: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  padding: 0;
  position: relative;
  overflow: visible;
  background: transparent;
  color: inherit;
  text-align: left;
  border-radius: 4px;
}
.catalog-card__media {
  width: 100%;
  aspect-ratio: 1 / .88;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  border-radius: 5px;
  background: radial-gradient(ellipse at 50% 65%, rgba(211, 225, 208, .3), transparent 62%), linear-gradient(145deg, #fff 0%, #f2f5f0 100%);
}
.catalog-card__visual {
  width: min(83%, 230px);
  height: min(83%, 230px);
  position: relative;
  z-index: 1;
  object-fit: contain;
  border-radius: 0;
  background: transparent;
}
img.catalog-card__visual { filter: drop-shadow(0 12px 16px rgba(47, 55, 47, .14)); }
.availability-badge {
  max-width: calc(100% - 14px);
  left: 9px;
  bottom: 9px;
  gap: 6px;
  padding: 6px 9px;
  border: 0;
  border-radius: 8px;
  background: rgba(248, 249, 245, .88);
  color: #4f6d55;
  font-size: 10px;
  font-weight: 600;
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
.availability-badge .status-dot { width: 6px; height: 6px; box-shadow: none; animation: none; }
.availability-badge.availability--low-stock,
.availability-badge.availability--preorder { color: #4f6d55; }
.catalog-card__copy {
  min-height: 137px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  padding: 15px 0 7px;
  position: relative;
}
.catalog-card__copy strong {
  width: 100%;
  min-height: 40px;
  display: -webkit-box;
  padding: 0;
  overflow: hidden;
  color: #2b332b;
  font-size: 15px;
  font-weight: 590;
  letter-spacing: -.035em;
  line-height: 1.3;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.catalog-card__copy > b { color: #263028; font-size: 17px; font-weight: 620; letter-spacing: -.035em; font-variant-numeric: tabular-nums; }
.catalog-card__copy > small { color: #81877f; font-size: 11px; font-weight: 450; line-height: 1.3; }
.catalog-card__open { top: 12px; right: 12px; width: 28px; height: 28px; border: 0; border-radius: 9px; background: rgba(248,249,245,.82); color: #526c58; opacity: .9; }
.catalog-card__open svg { width: 14px; height: 14px; stroke-width: 1.5; }
.catalog-card__main:focus-visible { outline: 2px solid #526c58; outline-offset: 4px; border-radius: 4px; }
.catalog-card__footer {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 5px 0 0;
  border-top: 0;
}
.catalog-card__question { min-height: 38px; padding: 0 5px 0 0; border-radius: 0; color: #68756a; font-size: 11px; font-weight: 550; }
.catalog-card__question > span { width: auto; height: auto; display: inline; border: 0; border-radius: 0; font-size: inherit; }
.catalog-card__controls { min-width: 0; justify-content: flex-end; }
.catalog-card__add {
  min-width: 88px;
  min-height: 36px;
  padding: 0 12px;
  border-radius: 10px;
  background: #526c58;
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: -.01em;
  transition: background-color 140ms ease;
}
.catalog-card__add:hover { background: #405746; }
.catalog-card__stepper {
  height: 36px;
  min-width: 104px;
  display: grid;
  grid-template-columns: 34px minmax(28px, 1fr) 34px;
  align-items: stretch;
  overflow: hidden;
  border-radius: 10px;
  background: #e8ebe4;
}
.catalog-card__stepper button {
  width: 34px;
  height: 36px;
  display: grid;
  place-items: center;
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: #49614e;
  font-size: 17px;
  font-weight: 450;
  line-height: 1;
}
.catalog-card__stepper button:hover { background: rgba(77, 101, 80, .09); }
.catalog-card__stepper strong {
  min-width: 28px;
  display: grid;
  place-items: center;
  color: #263028;
  font-size: 12px;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.catalog-empty {
  gap: 14px;
  padding: 28px 0;
  border-top: 1px solid var(--tg-border);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.catalog-empty button { border-radius: 10px; background: #526c58; box-shadow: none; font-weight: 550; }

/* Product details share one mineral surface; hierarchy comes from spacing and type. */
.product-sheet, .ask-confirm, .order-confirm, .cart-modal { position: fixed; inset: 0; }
.cart-modal[hidden], .product-sheet[hidden], .ask-confirm[hidden], .order-confirm[hidden] { display: none !important; }
.cart-modal { z-index: 18; display: grid; place-items: center; padding: 18px; }
.cart-modal__backdrop, .product-sheet__backdrop, .ask-confirm__backdrop, .order-confirm__backdrop {
  position: absolute; inset: 0; background: rgba(22, 29, 23, .42); -webkit-backdrop-filter: none; backdrop-filter: none;
}
.cart-modal__panel {
  width: min(100%, 580px);
  max-height: min(88vh, 780px);
  overflow: auto;
  overscroll-behavior: contain;
  position: relative;
  padding: clamp(20px, 4vw, 36px);
  border: 1px solid rgba(255,255,255,.65);
  border-radius: 18px;
  background: #f6f6f1;
  box-shadow: 0 28px 90px rgba(21, 29, 22, .24);
}
.cart-modal .section-title { align-items: center; padding-right: 43px; margin-bottom: 22px; }
.cart-modal .section-title h2 { font-size: clamp(23px, 5vw, 31px); }
.cart-modal__close, .product-sheet__close, .ask-confirm__close, .order-confirm__close {
  width: 38px; height: 38px; display: grid; place-items: center; flex: 0 0 38px;
  border-radius: 11px; background: #e9ebe5; color: #36463a; font-size: 24px; font-weight: 400; line-height: 1;
}
.cart-modal__close { position: absolute; top: 0; right: 0; }
.clear-cart { padding: 8px 0; border-radius: 0; background: transparent; color: #7c6158; font-size: 11px; font-weight: 550; }
.clear-cart:disabled { opacity: .34; }
.clear-cart__icon { font-size: 16px; }
.order-box { gap: 12px; }
.notice { padding: 12px 14px; border-left: 2px solid #b19b70; border-radius: 0 9px 9px 0; background: #efeee7; color: #6e654f; box-shadow: none; font-size: 12px; font-weight: 500; }
.cart-list { gap: 8px; }
.cart-item { align-items: center; padding: 12px 0; border-bottom: 1px solid rgba(66, 76, 66, .12); border-radius: 0; background: transparent; }
.cart-item div:first-child { gap: 3px; }
.cart-item div:first-child strong { font-size: 13px; font-weight: 600; }
.cart-item span { font-size: 11px; font-weight: 450; }
.cart-item__controls { gap: 5px; }
.cart-item__controls button { width: 32px; height: 32px; border-radius: 9px; background: #e8ebe4; color: #49614e; font-size: 17px; line-height: 1; }
.cart-item__quantity { width: 35px; height: 32px; padding: 0; border: 0; border-radius: 8px; background: transparent; color: var(--tg-text); text-align: center; font: inherit; font-size: 13px; font-weight: 620; }
.empty-cart { gap: 10px; padding: 20px 0; background: transparent; border-bottom: 1px solid rgba(66, 76, 66, .12); border-radius: 0; }
.empty-cart strong { font-size: 15px; font-weight: 600; }
.empty-cart span { max-width: 390px; color: #777e75; font-size: 12px; font-weight: 450; }
.empty-cart button { min-height: 40px; margin-top: 4px; padding: 0 14px; border-radius: 10px; background: #526c58; color: #fff; font-size: 12px; font-weight: 600; }
.order-box > label { margin-top: 7px; color: #596259; font-size: 12px; font-weight: 550; }
.text-field { min-height: 48px; padding: 0 14px; border: 1px solid rgba(69, 82, 69, .13); border-radius: 10px; background: #f0f0ea; font-size: 15px; font-weight: 450; }
.text-field:focus { box-shadow: 0 0 0 3px rgba(82,108,88,.13); }
.text-field::placeholder { color: #939a91; font-weight: 400; }
.field-note { margin-top: -5px; font-size: 11px; font-weight: 450; }
.total-row { padding-top: 8px; border-top: 1px solid rgba(66, 76, 66, .14); }
.total-row span { color: #727970; font-size: 12px; font-weight: 500; }
.total-row strong { color: #273128; font-size: 20px; font-weight: 620; }
.order-submit, .ask-confirm__submit, .order-confirm__submit {
  min-height: 48px; border-radius: 10px; background: #526c58; color: #fff; font-size: 13px; font-weight: 600; box-shadow: none;
}

.product-sheet { z-index: 19; display: grid; align-items: end; padding: 18px; }
.product-sheet__panel {
  width: min(100%, 850px);
  max-height: min(92vh, 900px);
  border: 1px solid rgba(255,255,255,.72);
  border-radius: 18px;
  background: #f5f5f0;
  box-shadow: 0 28px 90px rgba(21,29,22,.24);
}
.product-sheet__header-wrap { padding: 20px 26px 0; }
.product-sheet__header { align-items: center; padding-bottom: 13px; border-bottom: 1px solid rgba(66,76,66,.12); }
.product-sheet__header span, .ask-confirm__header span, .order-confirm__header span { color: #667c68; font-size: 10px; font-weight: 600; letter-spacing: .12em; }
.product-sheet__header h2 { margin-top: 4px; font-size: 15px; font-weight: 570; }
.product-sheet__close { width: 36px; height: 36px; flex-basis: 36px; }
.product-sheet__scroll { gap: 0; padding: 18px 26px 28px; }
.product-detail-card,
.product-sheet .product-detail-card,
.product-sheet .price-panel,
.product-sheet .info-card,
.product-sheet .content-band {
  min-height: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--tg-text);
  box-shadow: none;
}
.product-sheet .product-detail-card {
  display: grid;
  grid-template-columns: minmax(220px, .86fr) minmax(0, 1fr);
  grid-template-areas: "photo status" "photo content";
  align-items: center;
  column-gap: clamp(28px, 6vw, 70px);
  padding: 6px 0 24px;
  border-bottom: 1px solid rgba(66,76,66,.12);
}
.product-sheet .product-detail-card__status {
  grid-area: status;
  position: static;
  width: fit-content;
  max-width: 100%;
  gap: 8px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #526c58;
  box-shadow: none;
  font-size: 11px;
  font-weight: 550;
}
.product-sheet .product-detail-card__status span:last-child {
  min-width: 0;
  overflow: visible;
  text-overflow: clip;
  white-space: normal;
  line-height: 1.35;
}
.status-dot { width: 7px; height: 7px; box-shadow: none; animation: none; }
.availability--low-stock .status-dot,
.availability--preorder .status-dot { background: #68866d; }
.detail-product-photo {
  position: static;
  width: 100%;
  aspect-ratio: 1;
  transform: none;
}
.product-sheet .detail-product-photo { grid-area: photo; max-width: 360px; margin: 0 auto; }
.detail-product-photo__image { border-radius: 0; }
img.detail-product-photo__image { filter: drop-shadow(0 16px 18px rgba(43,52,43,.15)); }
.product-sheet .product-detail-card__content { grid-area: content; align-self: start; margin: 0; padding-top: 15px; }
.product-sheet .product-detail-card h1 { max-width: 100%; margin: 0 0 11px; color: #262e27; font-size: clamp(27px, 4vw, 43px); font-weight: 560; letter-spacing: -.055em; line-height: 1.04; }
.product-sheet .product-detail-card p { margin: 0; color: #70776e; font-size: 14px; font-weight: 400; line-height: 1.55; }
.price-panel { display: flex; align-items: end; justify-content: space-between; gap: 12px; margin-top: 22px; padding: 15px 0 0; border-top: 1px solid rgba(66,76,66,.12); background: transparent; box-shadow: none; }
.price-panel small { color: #828980; font-size: 10px; font-weight: 550; }
.price-panel strong { margin-top: 5px; color: #273128; font-size: 28px; font-weight: 620; letter-spacing: -.045em; }
.price-panel > span { color: #778176; font-size: 10px; font-weight: 450; }
.product-sheet .quick-actions { grid-template-columns: minmax(0, 1fr) 120px; gap: 10px; margin: 18px 0 22px; }
.detail-cart-action { min-width: 0; }
.action-chip, .quantity-controls { height: 46px; border: 0; border-radius: 10px; background: #e9ebe5; color: #314034; box-shadow: none; font-size: 12px; font-weight: 600; }
.action-chip--primary { background: #526c58; color: #fff; }
.action-chip svg { width: 17px; height: 17px; }
.quantity-controls { padding: 0 5px; gap: 0; }
.quantity-controls strong { line-height: 1; font-size: 13px; font-weight: 620; }
.quantity-controls button { width: 36px; height: 36px; border-radius: 8px; background: transparent; color: #49614e; font-size: 18px; line-height: 1; }
.product-sheet .action-chip:not(.action-chip--primary) { height: 46px; background: transparent; border: 1px solid rgba(69,82,69,.14); box-shadow: none; }
.info-grid { grid-template-columns: repeat(3, minmax(0,1fr)); gap: 0; margin: 0 0 24px; padding: 0 0 22px; border-bottom: 1px solid rgba(66,76,66,.12); }
.product-sheet .info-card { min-height: 0; display: grid; align-content: start; gap: 7px; padding: 0 15px; border-right: 1px solid rgba(66,76,66,.1); }
.product-sheet .info-card:first-child { padding-left: 0; }
.product-sheet .info-card:last-child { padding-right: 0; border-right: 0; }
.product-sheet .info-card span { color: #858c83; font-size: 10px; font-weight: 550; }
.product-sheet .info-card strong { color: #303a31; font-size: 12px; font-weight: 560; line-height: 1.35; }
.product-sheet .content-band { margin: 0; }
.product-sheet .section-title { margin-bottom: 10px; }
.product-sheet .section-title h2 { font-size: 21px; font-weight: 570; }
.product-description { gap: 12px; }
.product-summary { gap: 14px; }
.product-desc-section { gap: 7px; }
.product-desc-section + .product-desc-section { padding-top: 14px; border-top: 1px solid rgba(66,76,66,.12); }
.product-desc-section__title { color: #637565; font-size: 10px; font-weight: 620; letter-spacing: .1em; }
.product-summary p, .product-desc-list { color: #646c63; font-size: 13px; line-height: 1.65; }

.ask-confirm, .order-confirm { z-index: 21; display: grid; place-items: center; padding: 18px; }
.ask-confirm__panel, .order-confirm__panel {
  width: min(100%, 440px); max-height: min(88vh, 720px); overflow: auto; position: relative;
  display: grid; gap: 14px; padding: 24px; border: 1px solid rgba(255,255,255,.7); border-radius: 16px;
  background: #f6f6f1; box-shadow: 0 28px 90px rgba(21,29,22,.24);
}
.ask-confirm__header, .order-confirm__header { align-items: center; }
.ask-confirm__header h2, .order-confirm__header h2 { margin: 4px 0 0; font-size: 24px; font-weight: 570; letter-spacing: -.04em; }
.ask-confirm__text, .order-confirm__panel p { margin: 0; color: #727970; font-size: 13px; font-weight: 400; }
.ask-confirm__product, .order-confirm-item, .order-confirm__meta, .order-confirm__total { padding: 12px 0; border-bottom: 1px solid rgba(66,76,66,.12); border-radius: 0; background: transparent; }
.ask-confirm__product { color: #303a31; font-size: 14px; font-weight: 570; }
.ask-confirm__submit, .ask-confirm__cancel, .order-confirm__submit, .order-confirm__edit { min-height: 46px; border-radius: 10px; font-size: 12px; font-weight: 600; }
.ask-confirm__cancel, .order-confirm__edit { background: #e9ebe5; color: #415444; }
.order-confirm__list { display: grid; gap: 0; }
.order-confirm__total { border: 0; background: #eceee8; padding: 14px; }
.order-confirm__total strong { color: #334a38; font-size: 20px; }

.bottom-bar { display: none !important; }
.toast { bottom: calc(24px + var(--safe-bottom)); width: max-content; max-width: min(90%, 440px); border: 1px solid rgba(255,255,255,.15); border-radius: 11px; background: rgba(39,49,40,.94); box-shadow: 0 10px 32px rgba(30,39,30,.18); font-size: 12px; font-weight: 500; }

:root[data-theme-resolved="dark"] {
  --tg-bg: #191d19;
  --tg-surface: #202520;
  --tg-text: #ecefe8;
  --tg-muted: #a3aa9f;
  --tg-blue: #809782;
  --tg-blue-dark: #a3b79f;
  --tg-green: #8ca58d;
  --tg-yellow: #cfaa6b;
  --tg-red: #c18173;
  --tg-border: rgba(235,239,230,.12);
  --stone: #242a24;
  --stone-deep: #2b322b;
  --green-soft: #29332b;
  color-scheme: dark;
}
:root[data-theme-resolved="dark"] body { background: var(--tg-bg); color: var(--tg-text); }
:root[data-theme-resolved="dark"] .topbar { background: rgba(32,37,32,.8); border-color: rgba(255,255,255,.08); }
:root[data-theme-resolved="dark"] .catalog-intro { background: #252b25; }
:root[data-theme-resolved="dark"] .catalog-intro::before { opacity: .42; }
:root[data-theme-resolved="dark"] .catalog-intro h1,
:root[data-theme-resolved="dark"] .catalog-card__copy strong,
:root[data-theme-resolved="dark"] .catalog-card__copy > b { color: #edf0e9; }
:root[data-theme-resolved="dark"] .catalog-intro p { color: #b0b8ad; }
:root[data-theme-resolved="dark"] .catalog-search,
:root[data-theme-resolved="dark"] .catalog-filters { background: rgba(255,255,255,.045); border-color: rgba(255,255,255,.08); }
:root[data-theme-resolved="dark"] .catalog-filter { color: #b0b8ad; }
:root[data-theme-resolved="dark"] .catalog-filter.is-active { background: #829782; color: #172019; }
:root[data-theme-resolved="dark"] .catalog-card__media { background: #252b25; }
:root[data-theme-resolved="dark"] .catalog-card,
:root[data-theme-resolved="dark"] .catalog-card--preorder { background: transparent; }
:root[data-theme-resolved="dark"] .catalog-card__footer { background: transparent; }
:root[data-theme-resolved="dark"] .catalog-card__controls .catalog-card__add {
  height: 34px; min-height: 34px; padding: 0 9px; border-radius: 10px;
  background: #829782; color: #172019; font-size: 10px; font-weight: 600; line-height: 1;
}
:root[data-theme-resolved="dark"] .catalog-card__controls .catalog-card__stepper button {
  width: 29px; height: 34px; padding: 0; border-radius: 0; background: transparent;
  color: #dce6da; font-size: 16px; font-weight: 450; line-height: 1;
}
:root[data-theme-resolved="dark"] .catalog-card__controls .catalog-card__stepper button:hover { background: rgba(255,255,255,.07); }
:root[data-theme-resolved="dark"] .cart-item,
:root[data-theme-resolved="dark"] .empty-cart,
:root[data-theme-resolved="dark"] .ask-confirm__product,
:root[data-theme-resolved="dark"] .order-confirm-item,
:root[data-theme-resolved="dark"] .order-confirm__meta { background: transparent; }
:root[data-theme-resolved="dark"] .cart-item__controls button { background: #303a31; color: #dce6da; }
:root[data-theme-resolved="dark"] .cart-item__quantity { background: transparent; color: #edf0e9; box-shadow: none; }
:root[data-theme-resolved="dark"] .product-sheet .quantity-controls button { background: transparent; color: #dce6da; box-shadow: none; }
:root[data-theme-resolved="dark"] .product-sheet .action-chip:not(.action-chip--primary) { background: transparent; box-shadow: none; }
:root[data-theme-resolved="dark"] .availability-badge { background: rgba(31,38,31,.88); color: #a4c0a4; }
:root[data-theme-resolved="dark"] .catalog-card__stepper { background: #303a31; }
:root[data-theme-resolved="dark"] .catalog-card__stepper strong { color: #edf0e9; }
:root[data-theme-resolved="dark"] .catalog-card__add,
:root[data-theme-resolved="dark"] .empty-cart button,
:root[data-theme-resolved="dark"] .order-submit,
:root[data-theme-resolved="dark"] .ask-confirm__submit,
:root[data-theme-resolved="dark"] .order-confirm__submit { background: #829782; color: #172019; }
:root[data-theme-resolved="dark"] .cart-modal__panel,
:root[data-theme-resolved="dark"] .product-sheet__panel,
:root[data-theme-resolved="dark"] .ask-confirm__panel,
:root[data-theme-resolved="dark"] .order-confirm__panel { background: #202520; border-color: rgba(255,255,255,.08); }
:root[data-theme-resolved="dark"] .cart-modal__close,
:root[data-theme-resolved="dark"] .product-sheet__close,
:root[data-theme-resolved="dark"] .ask-confirm__close,
:root[data-theme-resolved="dark"] .order-confirm__close,
:root[data-theme-resolved="dark"] .cart-item__controls button,
:root[data-theme-resolved="dark"] .action-chip:not(.action-chip--primary),
:root[data-theme-resolved="dark"] .quantity-controls,
:root[data-theme-resolved="dark"] .ask-confirm__cancel,
:root[data-theme-resolved="dark"] .order-confirm__edit { background: #303a31; color: #dce6da; }
:root[data-theme-resolved="dark"] .product-sheet .product-detail-card h1,
:root[data-theme-resolved="dark"] .price-panel strong,
:root[data-theme-resolved="dark"] .total-row strong,
:root[data-theme-resolved="dark"] .product-sheet .info-card strong { color: #edf0e9; }
:root[data-theme-resolved="dark"] .product-sheet .product-detail-card { background: transparent; background-image: none; }
:root[data-theme-resolved="dark"] .product-sheet .price-panel { background: transparent; box-shadow: none; }
:root[data-theme-resolved="dark"] .product-sheet .info-card,
:root[data-theme-resolved="dark"] .product-sheet .content-band { background: transparent; box-shadow: none; }
:root[data-theme-resolved="dark"] .product-sheet .product-detail-card__status { background: transparent; color: #a4c0a4; }
:root[data-theme-resolved="dark"] .notice { background: #302e26; color: #d1bd91; }
:root[data-theme-resolved="dark"] .text-field { background: #292f29; border-color: rgba(255,255,255,.1); color: #edf0e9; }
:root[data-theme-resolved="dark"] .order-confirm__total { background: #2c352d; }

@media (min-width: 1500px) {
  .catalog-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
@media (max-width: 1000px) {
  .catalog-grid { grid-template-columns: repeat(3, minmax(0,1fr)); gap: 34px 20px; }
  .catalog-intro { margin-bottom: 54px; }
}
@media (max-width: 700px) {
  :root { --page-gutter: 20px; }
  .app-shell { padding-top: 8px; padding-bottom: 48px; }
  .topbar { top: 5px; min-height: 54px; grid-template-columns: 42px 1fr 42px; gap: 9px; padding-block: 5px; border-radius: 15px; }
  .topbar__title { justify-items: center; }
  .topbar__title span { font-size: 12px; }
  .topbar__title small { font-size: 9px; }
  .icon-button { width: 38px; height: 38px; border-radius: 12px; }
  .catalog-intro {
    min-height: 0;
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
    margin: 18px 0 44px;
    padding: 30px 22px 26px;
    border-radius: 5px;
  }
  .catalog-intro__copy > span { margin-bottom: 14px; font-size: 9px; }
  .catalog-intro h1 { font-size: clamp(34px, 8.5vw, 52px); }
  .catalog-intro p { margin-top: 13px; font-size: 12px; }
  .section-title { margin-bottom: 17px; }
  .section-title h2 { font-size: 27px; }
  .catalog-tools { grid-template-columns: 1fr; gap: 10px; margin-bottom: 22px; }
  .catalog-search { min-height: 43px; }
  .catalog-filters { width: 100%; min-height: 42px; overflow-x: auto; }
  .catalog-filter { min-height: 32px; padding-inline: 11px; font-size: 11px; }
  .catalog-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 25px 13px; }
  .catalog-card__media { aspect-ratio: 1 / .86; border-radius: 4px; }
  .catalog-card__visual { width: 86%; height: 86%; }
  .catalog-card__copy { min-height: 132px; padding-top: 11px; gap: 5px; }
  .catalog-card__copy strong { min-height: 36px; font-size: 13px; line-height: 1.32; }
  .catalog-card__copy > b { font-size: 15px; }
  .catalog-card__copy > small { font-size: 10px; }
  .catalog-card__footer { min-height: 40px; gap: 4px; }
  .catalog-card__question { min-height: 36px; font-size: 10px; }
  .catalog-card__add { min-width: 75px; min-height: 34px; padding-inline: 9px; font-size: 10px; }
  .catalog-card__stepper { min-width: 88px; height: 34px; grid-template-columns: 29px minmax(24px,1fr) 29px; }
  .catalog-card__stepper button { width: 29px; height: 34px; }
  .catalog-card__stepper strong { min-width: 24px; font-size: 11px; }
  .cart-modal { place-items: end center; padding: 8px 8px calc(8px + var(--safe-bottom)); }
  .cart-modal__panel { width: 100%; max-height: min(92dvh, 820px); padding: 23px 19px calc(20px + var(--safe-bottom)); border-radius: 17px 17px 12px 12px; }
  .cart-modal .section-title { display: grid; grid-template-columns: minmax(0,1fr) 38px; grid-template-rows: auto auto; align-items: start; gap: 3px 12px; margin-bottom: 17px; padding-right: 0; }
  .cart-modal .section-title h2 { grid-column: 1; grid-row: 1; padding-right: 4px; }
  .cart-modal__close { top: 0; right: 0; }
  .cart-modal .clear-cart { grid-column: 1; grid-row: 2; justify-self: start; margin-top: 3px; }
  .cart-modal .clear-cart__icon { display: none; }
  .product-sheet { padding: 8px 8px calc(8px + var(--safe-bottom)); }
  .product-sheet__panel { width: 100%; max-height: 94dvh; border-radius: 16px 16px 12px 12px; }
  .product-sheet__header-wrap { padding: 16px 19px 0; }
  .product-sheet__scroll { padding: 14px 19px calc(22px + var(--safe-bottom)); }
  .product-sheet .product-detail-card { grid-template-columns: minmax(112px, .76fr) minmax(0, 1fr); column-gap: 17px; padding-bottom: 19px; }
  .product-sheet .product-detail-card__content { padding-top: 12px; }
  .product-sheet .product-detail-card h1 { font-size: clamp(21px, 6vw, 31px); }
  .product-sheet .product-detail-card p { font-size: 12px; }
  .price-panel { gap: 8px; margin-top: 15px; padding-top: 12px; }
  .price-panel strong { font-size: 23px; }
  .price-panel > span { font-size: 9px; }
  .product-sheet .quick-actions { grid-template-columns: minmax(0,1fr) 86px; gap: 8px; margin: 14px 0 18px; }
  .action-chip, .quantity-controls, .product-sheet .action-chip:not(.action-chip--primary) { height: 43px; }
  .quantity-controls button { width: 32px; height: 34px; }
  .info-grid { grid-template-columns: 1fr; gap: 0; margin-bottom: 18px; padding-bottom: 12px; }
  .product-sheet .info-card, .product-sheet .info-card:first-child, .product-sheet .info-card:last-child {
    min-height: 39px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 7px 0; border-right: 0; border-bottom: 1px solid rgba(66,76,66,.08);
  }
  .product-sheet .info-card:last-child { border-bottom: 0; }
  .product-sheet .info-card strong { text-align: right; }
  .product-sheet .section-title h2 { font-size: 19px; }
  .ask-confirm, .order-confirm { padding: 12px; }
  .ask-confirm__panel, .order-confirm__panel { padding: 21px; border-radius: 14px; }
}
@media (max-width: 370px) {
  :root { --page-gutter: 15px; }
  .catalog-intro { grid-template-columns: minmax(0,1fr); padding-inline: 17px; }
  .catalog-intro h1 { font-size: 32px; }
  .catalog-card__footer { align-items: flex-start; flex-direction: column; }
  .catalog-card__controls, .catalog-card__add, .catalog-card__stepper { width: 100%; }
  .catalog-card__stepper { grid-template-columns: 1fr 1fr 1fr; }
  .catalog-card__stepper button { width: 100%; }
}
@media (prefers-reduced-transparency: reduce) {
  .topbar, .catalog-filters, .availability-badge { -webkit-backdrop-filter: none; backdrop-filter: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* Final art direction: quiet white stone, even spacing, and a single botanical note. */
:root {
  --tg-bg: #f7f7f4;
  --tg-surface: #fff;
  --tg-text: #222923;
  --tg-muted: #747d74;
  --tg-blue: #55775d;
  --tg-blue-dark: #405e47;
  --tg-green: #66866b;
  --tg-border: rgba(54, 69, 55, .12);
  --stone: #f1f2ed;
  --stone-deep: #e9ece5;
  --green-soft: #e8eee8;
}

.catalog-intro {
  min-height: clamp(320px, 38vw, 470px);
  margin-top: 30px;
  padding-inline: clamp(28px, 6vw, 78px);
  border-radius: 16px;
  background: linear-gradient(128deg, #fff 0%, #f7f9f5 54%, #edf3eb 100%);
}
.catalog-intro::before { display: none; }
.catalog-intro__copy { max-width: 620px; }
.catalog-intro__copy > span { color: #5e7862; letter-spacing: .12em; }
.catalog-intro h1 { max-width: 590px; font-size: clamp(39px, 6vw, 72px); line-height: 1.01; }
.catalog-intro p { max-width: 420px; line-height: 1.65; }
.catalog-caption { margin: 8px 0 0; color: var(--tg-muted); font-size: 13px; line-height: 1.45; }
.catalog-band > .section-title { align-items: end; }
.catalog-band > .section-title > span { padding-bottom: 4px; }
.catalog-grid { gap: 38px 26px; }
.catalog-card { border-radius: 13px; }
.catalog-card__main { border-radius: 13px; }
.catalog-card__media {
  aspect-ratio: 1 / .92;
  border-radius: 13px;
  background-color: #fbfbf9;
  background-image: radial-gradient(ellipse at 50% 64%, rgba(211, 225, 208, .3), transparent 62%), linear-gradient(145deg, #fff 0%, #f2f5f0 100%);
  background-size: cover;
  background-position: center;
}
.catalog-card__visual { width: min(80%, 230px); height: min(80%, 230px); }
img.catalog-card__visual { filter: drop-shadow(0 15px 19px rgba(50, 57, 48, .12)); }
.availability-badge,
.availability-badge.availability--low-stock,
.availability-badge.availability--preorder {
  left: 12px;
  bottom: 12px;
  padding: 7px 10px;
  border-radius: 8px;
  background: rgba(250, 251, 247, .94);
  color: #4f7255;
  font-size: 10px;
  font-weight: 620;
}
.availability-badge .status-dot,
.availability--low-stock .status-dot,
.availability--preorder .status-dot { background: #6b8b70; }
.catalog-card__copy {
  min-height: 106px;
  gap: 5px;
  padding: 15px 2px 4px;
}
.catalog-card__copy strong {
  min-height: 38px;
  color: #252c26;
  font-size: 15px;
  font-weight: 590;
  line-height: 1.32;
}
.catalog-card__copy > small {
  min-height: 14px;
  color: #838a81;
  font-size: 11px;
}
.catalog-card__copy > b {
  margin-top: 4px;
  color: #263128;
  font-size: 18px;
  font-weight: 620;
  font-variant-numeric: tabular-nums;
}
.catalog-card__open { display: none; }
.catalog-card__main:focus-visible { outline-offset: 4px; border-radius: 13px; }
.catalog-card__footer {
  min-height: 44px;
  padding: 4px 2px 0;
  border-top: 1px solid rgba(54, 69, 55, .1);
}
.catalog-card__question {
  min-height: 38px;
  color: #65766a;
  font-size: 11px;
  font-weight: 560;
}
.catalog-card__add {
  min-width: 92px;
  min-height: 38px;
  border-radius: 10px;
  background: #55775d;
  color: #fff;
  font-size: 11px;
}
.catalog-card__controls .catalog-card__add {
  width: auto;
  min-width: 92px;
  height: 38px;
  min-height: 38px;
  padding: 0 12px;
  border: 0;
  border-radius: 10px;
  background: #55775d;
  box-shadow: none;
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
}
.catalog-card__stepper {
  min-width: 108px;
  height: 38px;
  grid-template-columns: 36px minmax(28px, 1fr) 36px;
  border-radius: 10px;
  background: #edf0ea;
}
.catalog-card__stepper button,
:root[data-theme-resolved="dark"] .catalog-card__controls .catalog-card__stepper button {
  width: 36px;
  height: 38px;
  min-height: 38px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: #526e57;
  font-size: 17px;
  font-weight: 450;
  line-height: 1;
}
.catalog-card__stepper strong {
  min-width: 28px;
  height: 38px;
  display: grid;
  place-items: center;
  padding: 0;
  color: #263128;
  font-size: 12px;
  font-weight: 620;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.catalog-card__stepper button:hover { background: rgba(77, 101, 80, .08); }
.catalog-card__controls button.is-plus-animated,
.catalog-card__controls button.is-minus-animated,
.cart-item__controls button.is-plus-animated,
.cart-item__controls button.is-minus-animated,
.quantity-controls button.is-plus-animated,
.quantity-controls button.is-minus-animated {
  animation: none !important;
  transform: none !important;
  box-shadow: none !important;
}

.product-sheet .product-detail-card,
.product-sheet .price-panel,
.product-sheet .info-card,
.product-sheet .content-band {
  background: transparent;
  background-image: none;
  border-color: rgba(58, 72, 58, .1);
  box-shadow: none;
}
.product-sheet .product-detail-card__status,
.product-sheet .product-detail-card__status.availability--low-stock,
.product-sheet .product-detail-card__status.availability--preorder {
  background: transparent;
  border: 0;
  color: #55775d;
}
.product-sheet .product-detail-card__status .status-dot,
.product-sheet .product-detail-card__status.availability--low-stock .status-dot,
.product-sheet .product-detail-card__status.availability--preorder .status-dot { background: #6b8b70; }
.product-sheet .info-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.product-sheet .info-card:first-child { padding-left: 0; }
.product-sheet .info-card:last-child { padding-right: 0; border-right: 0; }
.product-sheet .product-description,
.product-sheet .product-summary,
.product-sheet .product-desc-section { background: transparent; }

.cart-modal .clear-cart,
.cart-modal .clear-cart:visited {
  min-height: 34px;
  padding: 5px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: #68776a;
  font-size: 11px;
  font-weight: 570;
}
.cart-modal .clear-cart:disabled { opacity: .72; }
.notice { border-left-color: #78917b; background: #eef2ec; color: #526753; }
.empty-cart button,
.order-submit,
.ask-confirm__submit,
.order-confirm__submit { background: #55775d; }
.cart-modal__backdrop,
.product-sheet__backdrop,
.ask-confirm__backdrop,
.order-confirm__backdrop { -webkit-backdrop-filter: none; backdrop-filter: none; }

:root[data-theme-resolved="dark"] .catalog-intro { background: #202720; }
:root[data-theme-resolved="dark"] .catalog-intro { grid-template-columns: 1fr; }
:root[data-theme-resolved="dark"] .catalog-intro h1,
:root[data-theme-resolved="dark"] .catalog-card__copy strong,
:root[data-theme-resolved="dark"] .catalog-card__copy > b { color: #edf0e9; }
:root[data-theme-resolved="dark"] .catalog-caption { color: #a6afa3; }
:root[data-theme-resolved="dark"] .catalog-search,
:root[data-theme-resolved="dark"] .catalog-filters {
  border-color: rgba(235,239,230,.08);
  background: #252c25;
  box-shadow: none;
}
:root[data-theme-resolved="dark"] .catalog-filter {
  border-color: transparent;
  background: transparent;
  color: #c0c9bf;
}
:root[data-theme-resolved="dark"] .catalog-filter.is-active {
  border-color: transparent;
  background: #829782;
  color: #172019;
}
:root[data-theme-resolved="dark"] .catalog-card__media { background: transparent; }
:root[data-theme-resolved="dark"] .availability-badge,
:root[data-theme-resolved="dark"] .availability-badge.availability--low-stock,
:root[data-theme-resolved="dark"] .availability-badge.availability--preorder {
  background: rgba(35, 45, 36, .96);
  color: #b6cfb5;
}
:root[data-theme-resolved="dark"] .availability-badge .status-dot,
:root[data-theme-resolved="dark"] .availability-badge.availability--low-stock .status-dot,
:root[data-theme-resolved="dark"] .availability-badge.availability--preorder .status-dot,
:root[data-theme-resolved="dark"] .product-sheet .product-detail-card__status .status-dot,
:root[data-theme-resolved="dark"] .product-sheet .product-detail-card__status.availability--low-stock .status-dot,
:root[data-theme-resolved="dark"] .product-sheet .product-detail-card__status.availability--preorder .status-dot { background: #91b295; }
:root[data-theme-resolved="dark"] .catalog-card__copy > small { color: #aab2a8; }
:root[data-theme-resolved="dark"] .catalog-card__footer { border-color: rgba(235, 239, 230, .1); }
:root[data-theme-resolved="dark"] .catalog-card__stepper,
:root[data-theme-resolved="dark"] .catalog-card__controls .catalog-card__stepper { background: #303a31; }
:root[data-theme-resolved="dark"] .catalog-card__stepper strong { color: #edf0e9; }
:root[data-theme-resolved="dark"] .catalog-card__controls .catalog-card__add {
  width: auto;
  min-width: 92px;
  height: 38px;
  min-height: 38px;
  padding: 0 12px;
  background: #829782;
  color: #172019;
  font-size: 11px;
  font-weight: 600;
}
:root[data-theme-resolved="dark"] .catalog-card__stepper button,
:root[data-theme-resolved="dark"] .catalog-card__controls .catalog-card__stepper button { color: #c7d6c6; }
:root[data-theme-resolved="dark"] .catalog-card__stepper button:hover { background: rgba(255,255,255,.07); }
:root[data-theme-resolved="dark"] .product-sheet .product-detail-card,
:root[data-theme-resolved="dark"] .product-sheet .price-panel,
:root[data-theme-resolved="dark"] .product-sheet .info-card,
:root[data-theme-resolved="dark"] .product-sheet .content-band { background: transparent; background-image: none; box-shadow: none; }
:root[data-theme-resolved="dark"] .product-sheet .product-detail-card__status,
:root[data-theme-resolved="dark"] .product-sheet .product-detail-card__status.availability--low-stock,
:root[data-theme-resolved="dark"] .product-sheet .product-detail-card__status.availability--preorder { background: transparent; color: #b6cfb5; }
:root[data-theme-resolved="dark"] .cart-modal .clear-cart,
:root[data-theme-resolved="dark"] .cart-modal .clear-cart:disabled {
  background: transparent;
  box-shadow: none;
  color: #c5d1c4;
  opacity: 1;
}
:root[data-theme-resolved="dark"] .cart-modal .order-box > label,
:root[data-theme-resolved="dark"] .cart-modal .total-row span { color: #c0c9bf; }
:root[data-theme-resolved="dark"] .cart-modal .field-note,
:root[data-theme-resolved="dark"] .cart-modal .empty-cart span { color: #aab4a8; }
:root[data-theme-resolved="dark"] .notice { border-left-color: #78917b; background: #29332b; color: #c5d5c3; }

@media (max-width: 700px) {
  .catalog-intro {
    grid-template-columns: minmax(0, 1fr) minmax(105px, .55fr);
    gap: 8px;
    margin: 18px 0 43px;
    padding: 28px 20px 25px;
    border-radius: 14px;
  }
  .catalog-intro h1 { font-size: clamp(34px, 8.5vw, 50px); }
  .catalog-intro p { font-size: 12px; }
  .catalog-caption { margin-top: 6px; font-size: 11px; }
  .catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 14px; }
  .catalog-card__media { aspect-ratio: 1 / .9; border-radius: 11px; }
  .catalog-card__visual { width: 84%; height: 84%; }
  .catalog-card__copy { min-height: 101px; padding: 12px 1px 3px; gap: 4px; }
  .catalog-card__copy strong { min-height: 35px; font-size: 13px; }
  .catalog-card__copy > small { font-size: 10px; }
  .catalog-card__copy > b { margin-top: 3px; font-size: 16px; }
  .catalog-card__footer { min-height: 42px; gap: 5px; }
  .catalog-card__question { font-size: 10px; }
  .catalog-card__add,
  .catalog-card__controls .catalog-card__add { min-width: 75px; height: 36px; min-height: 36px; padding-inline: 9px; font-size: 10px; }
  .catalog-card__stepper,
  :root[data-theme-resolved="dark"] .catalog-card__controls .catalog-card__stepper { min-width: 88px; height: 36px; grid-template-columns: 29px minmax(24px, 1fr) 29px; }
  .catalog-card__stepper button,
  :root[data-theme-resolved="dark"] .catalog-card__controls .catalog-card__stepper button { width: 29px; height: 36px; min-height: 36px; }
  .catalog-card__stepper strong,
  :root[data-theme-resolved="dark"] .catalog-card__controls .catalog-card__stepper strong { min-width: 24px; height: 36px; font-size: 11px; }
  .product-sheet .info-grid { grid-template-columns: 1fr; }
  .product-sheet .info-card,
  .product-sheet .info-card:first-child,
  .product-sheet .info-card:last-child { min-height: 39px; padding: 7px 0; border-right: 0; border-bottom: 1px solid rgba(66,76,66,.08); }
  .product-sheet .info-card:last-child { border-bottom: 0; }
}
@media (max-width: 370px) {
  .catalog-card__footer { align-items: center; flex-direction: row; }
  .catalog-card__controls { width: auto; }
  .catalog-card__add, .catalog-card__stepper { width: auto; }
}

/* Final polish: quiet gradient surfaces, balanced mobile status rows, and light glass. */
.catalog-intro {
  grid-template-columns: minmax(0, 1fr);
  background: radial-gradient(ellipse at 92% 8%, rgba(255,255,255,.92), transparent 38%),
    linear-gradient(125deg, #fff 0%, #f7f9f5 56%, #eef3ec 100%);
}
.catalog-intro::before { display: none; }
.catalog-intro__copy { max-width: 660px; }
.catalog-intro h1 { max-width: 640px; }
.catalog-intro p { max-width: 460px; }
.catalog-card__media {
  background: radial-gradient(ellipse at 50% 62%, rgba(213, 226, 210, .24), transparent 60%),
    linear-gradient(145deg, #fff 0%, #f4f6f2 100%);
}
:root[data-theme-resolved="dark"] .catalog-intro {
  background: radial-gradient(ellipse at 90% 8%, rgba(114, 140, 113, .09), transparent 38%), #202520;
}
:root[data-theme-resolved="dark"] .catalog-card__media { background: transparent; }

@media (max-width: 700px) {
  .catalog-intro { grid-template-columns: minmax(0, 1fr); }
  .catalog-card__media { background: radial-gradient(ellipse at 50% 62%, rgba(213, 226, 210, .24), transparent 60%), linear-gradient(145deg, #fff 0%, #f4f6f2 100%); }
  .availability-badge,
  .availability-badge.availability--low-stock,
  .availability-badge.availability--preorder {
    left: 8px;
    right: 8px;
    bottom: 8px;
    width: auto;
    max-width: none;
    min-height: 29px;
    box-sizing: border-box;
    justify-content: center;
    padding: 6px 8px;
    border-radius: 9px;
    font-size: 9px;
    line-height: 1.1;
  }
  :root[data-theme-resolved="dark"] .availability-badge,
  :root[data-theme-resolved="dark"] .availability-badge.availability--low-stock,
  :root[data-theme-resolved="dark"] .availability-badge.availability--preorder {
    background: rgba(32, 37, 32, .76);
  }
}

/* Keep blur limited to the compact navigation and filter controls. */
.topbar {
  background: rgba(248, 250, 246, .72);
  -webkit-backdrop-filter: blur(8px) saturate(118%);
  backdrop-filter: blur(8px) saturate(118%);
}
.catalog-filters {
  background: rgba(255, 255, 255, .64);
  -webkit-backdrop-filter: blur(6px) saturate(112%);
  backdrop-filter: blur(6px) saturate(112%);
}
:root[data-theme-resolved="dark"] .topbar { background: rgba(32, 37, 32, .76); }
:root[data-theme-resolved="dark"] .catalog-filters { background: rgba(37, 44, 37, .78); }
@media (prefers-reduced-transparency: reduce) {
  .topbar, .catalog-filters {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    background: #f7f8f4;
  }
  :root[data-theme-resolved="dark"] .topbar,
  :root[data-theme-resolved="dark"] .catalog-filters { background: #252c25; }
}

/* Product cards: clear spacing, precise controls, and quiet tinted surfaces. */
body {
  background: linear-gradient(132deg, #f8f9f6 0%, #edf2e9 48%, #f6f5f0 100%);
}
.catalog-intro {
  background: radial-gradient(ellipse at 92% 8%, rgba(173, 197, 165, .38), transparent 42%),
    linear-gradient(118deg, #fff 0%, #f4f7f0 48%, #e4ede1 100%);
}
.catalog-card {
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(58, 73, 58, .09);
  border-radius: 19px;
  background: linear-gradient(155deg, #fff 0%, #fbfcf9 100%);
  box-shadow: 0 8px 24px rgba(40, 54, 40, .045);
}
.catalog-card__main { border-radius: inherit; }
.catalog-card__media {
  aspect-ratio: 1 / .9;
  border-radius: 0;
  background: radial-gradient(ellipse at 52% 59%, rgba(201, 218, 197, .35), transparent 58%),
    linear-gradient(145deg, #fff 0%, #f0f4ed 100%);
}
.catalog-card__copy {
  min-height: 112px;
  padding: 13px 15px 9px;
}
.catalog-card__copy strong { min-height: 38px; }
.catalog-card__footer {
  min-height: 52px;
  padding: 6px 13px 11px;
  border-top: 1px solid rgba(54, 69, 55, .09);
}
.catalog-card__question {
  width: 36px;
  min-width: 36px;
  height: 36px;
  min-height: 36px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 11px;
  background: transparent;
  color: #738176;
  transition: background-color 150ms ease, color 150ms ease;
}
.catalog-card__question:hover { background: rgba(80, 112, 84, .09); color: #456b4c; }
.catalog-card__question svg,
.question-icon-button svg { width: 19px; height: 19px; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.catalog-card__controls { display: flex; align-items: center; }
.catalog-card__controls .catalog-card__add {
  width: 38px;
  min-width: 38px;
  height: 38px;
  min-height: 38px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 12px;
  background: #55775d;
  box-shadow: none;
  color: #fff;
  font-size: 24px;
  font-weight: 400;
  line-height: 1;
  transition: background-color 140ms ease, transform 140ms ease;
}
.catalog-card__controls .catalog-card__add:hover { background: #45654d; transform: translateY(-1px); }
.catalog-card__stepper,
:root[data-theme-resolved="dark"] .catalog-card__controls .catalog-card__stepper {
  min-width: 100px;
  height: 38px;
  grid-template-columns: 32px minmax(28px, 1fr) 32px;
  border: 1px solid rgba(68, 91, 69, .1);
  border-radius: 12px;
  background: #edf1ea;
}
.catalog-card__stepper button,
:root[data-theme-resolved="dark"] .catalog-card__controls .catalog-card__stepper button {
  width: 32px;
  height: 36px;
  min-height: 36px;
}
.catalog-card__stepper strong,
:root[data-theme-resolved="dark"] .catalog-card__controls .catalog-card__stepper strong {
  height: 36px;
  display: grid;
  place-items: center;
  line-height: 1;
}

/* Keep each product's own availability badge compact in the image corner. */
.availability-badge,
.availability-badge.availability--low-stock,
.availability-badge.availability--preorder {
  top: auto;
  right: auto;
  bottom: 11px;
  left: 11px;
  width: max-content;
  max-width: calc(100% - 22px);
  min-height: 27px;
  box-sizing: border-box;
  justify-content: flex-start;
  gap: 7px;
  padding: 6px 10px;
  border: 1px solid rgba(255, 255, 255, .78);
  border-radius: 999px;
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 3px 10px rgba(23, 33, 43, .07);
  font-size: 10px;
  line-height: 1;
}
.availability--in-stock {
  --status-color: #4b9460;
  --status-halo: rgba(75, 148, 96, .22);
  color: #477e53;
}
.availability--low-stock {
  --status-color: #c58d22;
  --status-halo: rgba(197, 141, 34, .24);
  color: #946811;
}
.availability--preorder {
  --status-color: #bd5149;
  --status-halo: rgba(189, 81, 73, .21);
  color: #a64640;
}
.availability-badge.availability--in-stock { color: #477e53; }
.availability-badge.availability--low-stock { color: #946811; }
.availability-badge.availability--preorder { color: #a64640; }
.availability-badge .status-dot,
.product-detail-card__status .status-dot {
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  border-radius: 50%;
  background: var(--status-color);
  box-shadow: 0 0 0 2px var(--status-halo);
  animation: availability-pulse 2.5s ease-in-out infinite;
}
.availability-badge.availability--in-stock .status-dot,
.availability-badge.availability--low-stock .status-dot,
.availability-badge.availability--preorder .status-dot { background: var(--status-color); }
@keyframes availability-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .58; transform: scale(.86); }
}
.product-sheet .product-detail-card__status.availability--in-stock { --status-color: #4b9460; --status-halo: rgba(75,148,96,.22); color: #477e53; }
.product-sheet .product-detail-card__status.availability--low-stock { --status-color: #c58d22; --status-halo: rgba(197,141,34,.24); color: #946811; }
.product-sheet .product-detail-card__status.availability--preorder { --status-color: #bd5149; --status-halo: rgba(189,81,73,.21); color: #a64640; }
.product-sheet .product-detail-card__status.availability--in-stock .status-dot,
.product-sheet .product-detail-card__status.availability--low-stock .status-dot,
.product-sheet .product-detail-card__status.availability--preorder .status-dot { background: var(--status-color); }

.product-sheet .quick-actions { grid-template-columns: minmax(0, 1fr) 48px; }
.product-sheet .question-icon-button {
  width: 48px;
  min-width: 48px;
  height: 46px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(69, 82, 69, .13);
  border-radius: 12px;
  background: rgba(255, 255, 255, .42);
  color: #5e7562;
}
.ask-confirm__field { display: grid; gap: 8px; color: #505b51; font-size: 12px; font-weight: 600; }
.ask-confirm__field > span { display: flex; justify-content: space-between; gap: 12px; }
.ask-confirm__field small { color: #929990; font-size: 10px; font-weight: 450; }
.ask-confirm__textarea { width: 100%; min-height: 92px; padding: 12px 14px; resize: vertical; line-height: 1.45; }
.ask-confirm__product {
  padding: 12px 14px;
  border: 1px solid rgba(66, 76, 66, .1);
  border-radius: 12px;
  background: #f0f2ec;
  color: #303a31;
}

:root[data-theme-resolved="dark"] body {
  background: radial-gradient(ellipse at 88% 0%, rgba(113, 145, 107, .16), transparent 35%),
    linear-gradient(145deg, #171b17 0%, #202820 52%, #181d18 100%);
}
:root[data-theme-resolved="dark"] .catalog-intro {
  background: radial-gradient(ellipse at 92% 8%, rgba(126, 158, 118, .2), transparent 42%),
    linear-gradient(120deg, #202720 0%, #283329 53%, #202720 100%);
}
:root[data-theme-resolved="dark"] .catalog-card {
  border-color: rgba(235, 239, 230, .09);
  background: linear-gradient(150deg, #252d25 0%, #202620 76%, #1e241e 100%);
  box-shadow: 0 9px 26px rgba(0, 0, 0, .13);
}
:root[data-theme-resolved="dark"] .catalog-card__media { background: transparent; }
:root[data-theme-resolved="dark"] .catalog-card__copy { padding-inline: 15px; }
:root[data-theme-resolved="dark"] .catalog-card__copy strong,
:root[data-theme-resolved="dark"] .catalog-card__copy > b { color: #eef1e9; }
:root[data-theme-resolved="dark"] .catalog-card__copy > small { color: #a4aea2; }
:root[data-theme-resolved="dark"] .catalog-card__footer { border-color: rgba(235, 239, 230, .1); }
:root[data-theme-resolved="dark"] .catalog-card__question { color: #a9b8a8; }
:root[data-theme-resolved="dark"] .catalog-card__question:hover { background: rgba(155, 188, 151, .12); color: #d0e0cd; }
:root[data-theme-resolved="dark"] .catalog-card__controls .catalog-card__add {
  width: 38px;
  min-width: 38px;
  height: 38px;
  min-height: 38px;
  padding: 0;
  border-radius: 12px;
  background: #88a38a;
  color: #182119;
  font-size: 24px;
  font-weight: 400;
}
:root[data-theme-resolved="dark"] .catalog-card__stepper,
:root[data-theme-resolved="dark"] .catalog-card__controls .catalog-card__stepper { border-color: rgba(235, 239, 230, .09); background: rgba(255, 255, 255, .07); }
:root[data-theme-resolved="dark"] .catalog-card__stepper strong { color: #eef1e9; }
:root[data-theme-resolved="dark"] .cart-item {
  padding: 13px 14px;
  border: 1px solid rgba(235, 239, 230, .08);
  border-radius: 15px;
  background: #252c25;
}
:root[data-theme-resolved="dark"] .empty-cart {
  padding: 20px 16px;
  border: 1px solid rgba(235, 239, 230, .08);
  border-radius: 16px;
  background: #252c25;
}
:root[data-theme-resolved="dark"] .availability-badge,
:root[data-theme-resolved="dark"] .availability-badge.availability--low-stock,
:root[data-theme-resolved="dark"] .availability-badge.availability--preorder { background: rgba(29, 34, 29, .9); border-color: rgba(255,255,255,.1); }
:root[data-theme-resolved="dark"] .availability--in-stock { --status-color: #83c58d; --status-halo: rgba(131,197,141,.22); color: #9ad2a0; }
:root[data-theme-resolved="dark"] .availability--low-stock { --status-color: #e2bd63; --status-halo: rgba(226,189,99,.23); color: #e8c76e; }
:root[data-theme-resolved="dark"] .availability--preorder { --status-color: #e58178; --status-halo: rgba(229,129,120,.22); color: #ee9389; }
.availability-badge.availability--in-stock { --status-color: #4b9460; --status-halo: rgba(75,148,96,.22); }
.availability-badge.availability--low-stock { --status-color: #c58d22; --status-halo: rgba(197,141,34,.24); }
.availability-badge.availability--preorder { --status-color: #bd5149; --status-halo: rgba(189,81,73,.21); }
:root[data-theme-resolved="dark"] .availability-badge.availability--in-stock { --status-color: #83c58d; --status-halo: rgba(131,197,141,.22); color: #9ad2a0; }
:root[data-theme-resolved="dark"] .availability-badge.availability--low-stock { --status-color: #e2bd63; --status-halo: rgba(226,189,99,.23); color: #e8c76e; }
:root[data-theme-resolved="dark"] .availability-badge.availability--preorder { --status-color: #e58178; --status-halo: rgba(229,129,120,.22); color: #ee9389; }
:root[data-theme-resolved="dark"] .availability-badge.availability--in-stock .status-dot,
:root[data-theme-resolved="dark"] .availability-badge.availability--low-stock .status-dot,
:root[data-theme-resolved="dark"] .availability-badge.availability--preorder .status-dot { background: var(--status-color); }
:root[data-theme-resolved="dark"] .product-sheet .product-detail-card__status.availability--in-stock { --status-color: #83c58d; --status-halo: rgba(131,197,141,.22); color: #9ad2a0; }
:root[data-theme-resolved="dark"] .product-sheet .product-detail-card__status.availability--low-stock { --status-color: #e2bd63; --status-halo: rgba(226,189,99,.23); color: #e8c76e; }
:root[data-theme-resolved="dark"] .product-sheet .product-detail-card__status.availability--preorder { --status-color: #e58178; --status-halo: rgba(229,129,120,.22); color: #ee9389; }
:root[data-theme-resolved="dark"] .product-sheet .product-detail-card__status.availability--in-stock .status-dot,
:root[data-theme-resolved="dark"] .product-sheet .product-detail-card__status.availability--low-stock .status-dot,
:root[data-theme-resolved="dark"] .product-sheet .product-detail-card__status.availability--preorder .status-dot { background: var(--status-color); }
:root[data-theme-resolved="dark"] .product-sheet .question-icon-button { border-color: rgba(235,239,230,.1); background: rgba(255,255,255,.045); color: #c0d1c0; }
:root[data-theme-resolved="dark"] .ask-confirm__field { color: #d4ddd1; }
:root[data-theme-resolved="dark"] .ask-confirm__field small { color: #9ca69a; }
:root[data-theme-resolved="dark"] .ask-confirm__textarea { background: #292f29; border-color: rgba(255,255,255,.1); color: #edf0e9; }
:root[data-theme-resolved="dark"] .ask-confirm__product { border-color: rgba(235,239,230,.09); background: #293229; color: #edf0e9; }

@media (max-width: 700px) {
  .catalog-filters {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    width: 100%;
    gap: 4px;
    padding: 5px;
    overflow: visible;
  }
  .catalog-filter {
    min-width: 0;
    width: 100%;
    min-height: 38px;
    padding: 4px 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
    white-space: nowrap;
    font-size: clamp(8px, 2.35vw, 10px);
    line-height: 1;
  }
  .catalog-card__media { aspect-ratio: 1 / .9; }
  .catalog-card__copy { min-height: 108px; padding: 12px 12px 8px; }
  .catalog-card__footer { min-height: 50px; padding: 5px 10px 10px; }
  .catalog-card__controls .catalog-card__add { width: 36px; min-width: 36px; height: 36px; min-height: 36px; }
  :root[data-theme-resolved="dark"] .catalog-card__controls .catalog-card__add { width: 36px; min-width: 36px; height: 36px; min-height: 36px; }
  .availability-badge,
  .availability-badge.availability--low-stock,
  .availability-badge.availability--preorder { right: auto; bottom: 9px; left: 9px; width: max-content; max-width: calc(100% - 18px); min-height: 25px; padding: 5px 8px; font-size: 9px; }
}
@media (prefers-reduced-motion: reduce) {
  .availability-badge .status-dot,
  .product-detail-card__status .status-dot { animation: none; }
}

/* Continuous page atmosphere, with quiet gradients applied to complete surfaces. */
body {
  background: linear-gradient(132deg, #fafbf8 0%, #f2f5ef 45%, #f7f6f2 100%);
}
.app-shell { background: transparent; }
.catalog-intro,
:root[data-theme-resolved="dark"] .catalog-intro {
  background: transparent;
  border: 0;
  box-shadow: none;
}
.catalog-intro::before { display: none; }
.content-band.catalog-band,
:root[data-theme-resolved="dark"] .content-band.catalog-band {
  background: transparent;
  background-image: none;
  border: 0;
  box-shadow: none;
}
.catalog-card {
  background: linear-gradient(138deg, #fff 0%, #fbfcf9 55%, #f5f8f3 100%);
  border-color: rgba(58, 73, 58, .07);
  box-shadow: 0 7px 20px rgba(40, 54, 40, .035);
}
.catalog-card__media { background: transparent; }
.product-sheet .product-detail-card {
  padding: 18px;
  border: 0;
  border-radius: 0;
  background: radial-gradient(ellipse at 50% 48%, rgba(198, 215, 192, .2), transparent 82%);
}
.catalog-card__question svg,
.question-icon-button svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
:root[data-theme-resolved="dark"] body {
  background: linear-gradient(132deg, #171b17 0%, #202720 48%, #191e19 100%);
}
:root[data-theme-resolved="dark"] .catalog-card {
  border-color: rgba(235, 239, 230, .065);
  background: linear-gradient(138deg, #252c25 0%, #222922 56%, #202620 100%);
  box-shadow: 0 7px 20px rgba(0, 0, 0, .11);
}
:root[data-theme-resolved="dark"] .catalog-card__media { background: transparent; }
:root[data-theme-resolved="dark"] .product-sheet .product-detail-card {
  background: radial-gradient(ellipse at 50% 48%, rgba(132, 161, 127, .12), transparent 82%);
}

/* Static gradients and light shadows keep mobile paint work modest. */
@media (max-width: 700px), (prefers-reduced-transparency: reduce) {
  .catalog-card,
  :root[data-theme-resolved="dark"] .catalog-card,
  .product-sheet .product-detail-card,
  :root[data-theme-resolved="dark"] .product-sheet .product-detail-card {
    box-shadow: none;
  }
}
@media (max-width: 700px) {
  .topbar,
  .catalog-filters {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    background: rgba(249, 250, 247, .96);
  }
  :root[data-theme-resolved="dark"] .topbar,
  :root[data-theme-resolved="dark"] .catalog-filters {
    background: rgba(35, 41, 35, .97);
  }
  img.catalog-card__visual { filter: drop-shadow(0 6px 8px rgba(50, 57, 48, .08)); }
  img.detail-product-photo__image { filter: drop-shadow(0 7px 9px rgba(43, 52, 43, .09)); }
}

/* Soft color washes keep the page airy while giving the neutral surface depth. */
body {
  background-color: #f8faf6;
  background-image:
    radial-gradient(ellipse 43rem 36rem at 0% 0%, rgba(151, 201, 160, .56) 0%, rgba(190, 219, 183, .33) 38%, transparent 76%),
    radial-gradient(ellipse 42rem 49rem at 100% 100%, rgba(237, 198, 156, .5) 0%, rgba(244, 221, 190, .29) 43%, transparent 76%),
    radial-gradient(ellipse 27rem 29rem at 100% 0%, rgba(205, 190, 222, .29) 0%, transparent 77%),
    radial-gradient(ellipse 29rem 31rem at 0% 100%, rgba(169, 204, 215, .23) 0%, transparent 78%),
    linear-gradient(132deg, #f7faf5 0%, #f5f8f2 51%, #faf7f1 100%);
  background-repeat: no-repeat;
}
:root[data-theme-resolved="dark"] body {
  background-color: #181c18;
  background-image:
    radial-gradient(ellipse 43rem 36rem at 0% 0%, rgba(75, 128, 81, .3) 0%, rgba(63, 103, 69, .18) 40%, transparent 76%),
    radial-gradient(ellipse 42rem 49rem at 100% 100%, rgba(165, 119, 73, .23) 0%, rgba(115, 91, 64, .14) 43%, transparent 76%),
    radial-gradient(ellipse 27rem 29rem at 100% 0%, rgba(111, 88, 143, .17) 0%, transparent 77%),
    radial-gradient(ellipse 29rem 31rem at 0% 100%, rgba(63, 104, 126, .14) 0%, transparent 78%),
    linear-gradient(132deg, #171b18 0%, #1c221c 51%, #1d1d1a 100%);
}
.catalog-card__question {
  width: 42px;
  min-width: 42px;
  height: 42px;
  min-height: 42px;
  border-radius: 13px;
}
.catalog-card__question svg { width: 22px; height: 22px; }
.catalog-card__footer { min-height: 58px; padding-block: 7px; }
.catalog-card__controls .catalog-card__add { font-size: 0; }
.catalog-card__add-icon {
  width: 16px;
  height: 16px;
  display: block;
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.25;
  stroke-linecap: round;
  stroke-linejoin: round;
}
@media (max-width: 700px) {
  .catalog-card__footer { min-height: 56px; padding: 6px 10px; }
  .catalog-card__question { width: 42px; min-width: 42px; height: 42px; min-height: 42px; }
}

/* Quiet translucent cards borrow the filter bar's soft edge in light mode. */
.catalog-card {
  background: linear-gradient(145deg, rgba(255, 255, 255, .48), rgba(246, 249, 243, .34));
  border-color: rgba(255, 255, 255, .72);
  box-shadow: 0 4px 14px rgba(34, 44, 34, .035);
  transform: none;
  transition: background-color 160ms ease;
}
:root[data-theme-resolved="dark"] .catalog-card {
  background: linear-gradient(145deg, rgba(44, 52, 45, .4), rgba(35, 42, 36, .3));
  border-color: transparent;
  box-shadow: none;
}
.catalog-card.is-active {
  border-color: rgba(255, 255, 255, .72);
  box-shadow: 0 4px 14px rgba(34, 44, 34, .035);
}
:root[data-theme-resolved="dark"] .catalog-card.is-active {
  border-color: transparent;
  box-shadow: none;
}
@media (hover: hover) {
  .catalog-card:hover {
    transform: none;
    border-color: rgba(255, 255, 255, .86);
    box-shadow: 0 5px 16px rgba(34, 44, 34, .05);
  }
  :root[data-theme-resolved="dark"] .catalog-card:hover {
    border-color: transparent;
    box-shadow: none;
  }
  .catalog-card.is-active:hover {
    border-color: rgba(255, 255, 255, .86);
    box-shadow: 0 5px 16px rgba(34, 44, 34, .05);
  }
  :root[data-theme-resolved="dark"] .catalog-card.is-active:hover {
    border-color: transparent;
    box-shadow: none;
  }
}

/* A three-column stepper keeps the two signs and count on a shared optical axis. */
.catalog-card__stepper {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: 124px;
  min-width: 0;
  box-sizing: border-box;
}
.catalog-card__stepper,
:root[data-theme-resolved="dark"] .catalog-card__controls .catalog-card__stepper {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: 124px;
  min-width: 0;
}
.catalog-card__stepper button,
:root[data-theme-resolved="dark"] .catalog-card__controls .catalog-card__stepper button {
  width: 100%;
  min-width: 0;
  height: 100%;
  display: grid;
  place-items: center;
  line-height: 0;
}
.catalog-card__stepper strong,
:root[data-theme-resolved="dark"] .catalog-card__controls .catalog-card__stepper strong {
  width: 100%;
  min-width: 0;
  height: 100%;
  display: grid;
  place-items: center;
  flex: initial;
  padding: 0;
  line-height: 1;
  text-align: center;
}
.catalog-card__stepper-icon {
  display: block;
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  pointer-events: none;
}
:root[data-theme-resolved="dark"] .catalog-card__stepper,
:root[data-theme-resolved="dark"] .catalog-card__controls .catalog-card__stepper {
  background: rgba(225, 237, 221, .055);
  border-color: transparent;
}
@media (max-width: 700px) {
  .catalog-card__stepper,
  :root[data-theme-resolved="dark"] .catalog-card__controls .catalog-card__stepper { width: 108px; }
}
@media (max-width: 370px) {
  .catalog-card__stepper,
  :root[data-theme-resolved="dark"] .catalog-card__controls .catalog-card__stepper { width: 92px; }
}

/* In dark mode, product cards share the availability filter group's surface. */
:root[data-theme-resolved="dark"] .catalog-card {
  background: rgba(37, 44, 37, .78);
  background-image: none;
}
@media (prefers-reduced-transparency: reduce) {
  :root[data-theme-resolved="dark"] .catalog-card { background: #252c25; }
}
@media (max-width: 700px) {
  :root[data-theme-resolved="dark"] .catalog-card { background: rgba(35, 41, 35, .97); }
}
@media (prefers-reduced-motion: reduce) {
  .catalog-card { transition: none; }
}

/* Pearl, cacao and brushed champagne: warm, restrained premium surfaces. */
:root {
  --tg-bg: #f5f2ec;
  --tg-surface: #fffdfa;
  --tg-text: #29251f;
  --tg-muted: #7e776d;
  --tg-blue: #806747;
  --tg-blue-dark: #624f38;
  --tg-green: #5d855f;
  --tg-yellow: #b9873a;
  --tg-red: #b35f54;
  --tg-border: rgba(78, 65, 48, .12);
  --jhc-accent: #806747;
  --jhc-accent-strong: #685237;
  --jhc-accent-soft: rgba(128, 103, 71, .11);
  --jhc-dark-surface: rgba(42, 38, 33, .9);
  --jhc-ink: #29251f;
  --jhc-soft-surface: #f3eee5;
}
:root[data-theme-resolved="dark"] {
  --tg-bg: #191815;
  --tg-surface: #24211e;
  --tg-text: #f3efe8;
  --tg-muted: #b6ad9f;
  --tg-blue: #c8aa7d;
  --tg-blue-dark: #dfc79f;
  --tg-green: #8db394;
  --tg-yellow: #dfba70;
  --tg-red: #e18b7e;
  --tg-border: rgba(243, 235, 222, .1);
  --jhc-accent: #c8aa7d;
  --jhc-accent-strong: #dfc79f;
  --jhc-accent-soft: rgba(200, 170, 125, .13);
  --jhc-dark-surface: rgba(42, 38, 33, .9);
  --jhc-ink: #f3efe8;
  --jhc-soft-surface: #302b24;
}

body {
  background-color: #f5f2ec;
  background-image:
    radial-gradient(ellipse 42rem 36rem at 0% 0%, rgba(206, 180, 139, .24), transparent 74%),
    radial-gradient(ellipse 44rem 48rem at 100% 100%, rgba(220, 202, 177, .28), transparent 75%),
    radial-gradient(ellipse 25rem 27rem at 100% 0%, rgba(226, 211, 195, .14), transparent 76%),
    linear-gradient(132deg, #f7f5f0 0%, #f4f1ea 53%, #f8f5ef 100%);
  color: var(--tg-text);
}
:root[data-theme-resolved="dark"] body {
  background-color: #191815;
  background-image:
    radial-gradient(ellipse 42rem 36rem at 0% 0%, rgba(126, 99, 63, .2), transparent 74%),
    radial-gradient(ellipse 44rem 48rem at 100% 100%, rgba(105, 82, 55, .17), transparent 75%),
    radial-gradient(ellipse 25rem 27rem at 100% 0%, rgba(103, 79, 55, .11), transparent 76%),
    linear-gradient(132deg, #191815 0%, #201d19 53%, #1d1a17 100%);
}
.app-shell { background: transparent; }

.topbar {
  background: rgba(255, 253, 250, .78);
  border-color: rgba(255, 255, 255, .78);
  box-shadow: 0 5px 18px rgba(50, 40, 28, .045);
}
.topbar__title small,
.catalog-intro__copy > span { color: #8a704c; }
.icon-button:hover,
.catalog-card__question:hover { background: var(--jhc-accent-soft); color: var(--jhc-accent-strong); }
.cart-shortcut { color: var(--jhc-accent-strong); }
.cart-shortcut__badge { background: var(--jhc-accent); color: #fffdfa; }

.catalog-intro {
  background:
    radial-gradient(ellipse at 92% 7%, rgba(210, 184, 143, .24), transparent 44%),
    linear-gradient(128deg, rgba(255, 253, 250, .86) 0%, rgba(250, 247, 241, .78) 56%, rgba(246, 240, 230, .74) 100%);
}
.catalog-intro h1,
.catalog-card__copy strong,
.catalog-card__copy > b { color: var(--jhc-ink); }
.catalog-intro p,
.catalog-caption { color: var(--tg-muted); }
.catalog-search {
  border-color: rgba(78, 65, 48, .1);
  background: rgba(255, 253, 250, .62);
}
.catalog-search:focus-within {
  border-color: rgba(128, 103, 71, .36);
  background: rgba(255, 253, 250, .84);
}
.catalog-filters {
  border-color: rgba(255, 255, 255, .78);
  background: rgba(255, 253, 250, .72);
  box-shadow: 0 4px 14px rgba(50, 40, 28, .035);
}
.catalog-filter { color: #71695e; }
.catalog-filter.is-active,
.catalog-empty button,
.empty-cart button,
.order-submit,
.ask-confirm__submit,
.order-confirm__submit,
.action-chip--primary,
.catalog-card__controls .catalog-card__add {
  background: linear-gradient(140deg, #8b7352 0%, #755d3f 100%);
  color: #fffdfa;
}
.catalog-filter.is-active { box-shadow: none; }
.catalog-filter:focus-visible { outline-color: var(--jhc-accent); }

.catalog-card {
  background: linear-gradient(145deg, rgba(255, 253, 250, .74), rgba(250, 247, 241, .58));
  border-color: rgba(255, 255, 255, .76);
  box-shadow: 0 5px 18px rgba(50, 40, 28, .045);
}
.catalog-card__media {
  background:
    radial-gradient(ellipse at 50% 62%, rgba(204, 181, 148, .16), transparent 61%),
    linear-gradient(145deg, rgba(255, 253, 250, .72), rgba(244, 238, 228, .6));
}
.catalog-card__copy > small { color: #81786d; }
.catalog-card__footer { border-color: rgba(78, 65, 48, .09); }
.catalog-card__question { color: #796345; }
.catalog-card__add-icon { stroke: currentColor; }
.catalog-card__stepper,
:root[data-theme-resolved="dark"] .catalog-card__controls .catalog-card__stepper {
  border-color: rgba(128, 103, 71, .12);
  background: rgba(128, 103, 71, .075);
}
.catalog-card__stepper button,
:root[data-theme-resolved="dark"] .catalog-card__controls .catalog-card__stepper button {
  display: grid;
  place-items: center;
  padding: 0;
  color: var(--jhc-accent-strong);
  line-height: 1;
}
.catalog-card__stepper strong { color: #39332a; }
.catalog-card__stepper button:hover { background: var(--jhc-accent-soft); }

.product-sheet__panel,
.cart-modal__panel,
.ask-confirm__panel,
.order-confirm__panel { background: #fffdfa; }
.product-sheet .product-detail-card {
  background: radial-gradient(ellipse at 50% 48%, rgba(204, 181, 148, .15), transparent 82%);
}
.product-sheet .question-icon-button {
  border-color: rgba(128, 103, 71, .16);
  color: var(--jhc-accent-strong);
}
.product-sheet .action-chip:not(.action-chip--primary) {
  border-color: rgba(128, 103, 71, .16);
  background: rgba(128, 103, 71, .055);
  color: #70583a;
}
.product-sheet .quantity-controls { background: rgba(128, 103, 71, .08); color: #70583a; }
.ask-confirm__cancel,
.order-confirm__edit { background: rgba(128, 103, 71, .09); color: #70583a; }
.cart-modal__panel { --cart-inset-y: clamp(20px, 4vw, 36px); --cart-inset-x: clamp(20px, 4vw, 36px); }
.cart-modal .section-title { padding-right: 48px; }
.cart-modal__close,
.product-sheet__close,
.ask-confirm__close,
.order-confirm__close {
  background: rgba(128, 103, 71, .09);
  color: #67543c;
}
.cart-modal__close { top: var(--cart-inset-y); right: var(--cart-inset-x); }
.cart-modal__close:hover,
.product-sheet__close:hover,
.ask-confirm__close:hover,
.order-confirm__close:hover { background: rgba(128, 103, 71, .16); }
.cart-modal .clear-cart { color: #765f43; }
.cart-item__controls button,
.product-sheet .quantity-controls button {
  display: grid;
  place-items: center;
  padding: 0;
  background: rgba(128, 103, 71, .09);
  color: #70583a;
  line-height: 1;
}
.cart-item__controls button:hover,
.product-sheet .quantity-controls button:hover { background: rgba(128, 103, 71, .16); }
.cart-modal .section-title h2,
.cart-item strong,
.total-row strong { color: var(--jhc-ink); }
.cart-modal .cart-item,
.order-confirm-item {
  padding: 13px 14px;
  border: 0;
  border-radius: 14px;
  background: rgba(128, 103, 71, .055);
}
.cart-modal .empty-cart,
.order-confirm__meta {
  border: 1px solid rgba(78, 65, 48, .08);
  border-radius: 14px;
  background: rgba(128, 103, 71, .04);
}
.cart-modal .notice { border-left-color: #b29162; background: #f4eee4; color: #6c5b43; }
.cart-modal .text-field { background: #f7f4ee; border-color: rgba(78, 65, 48, .12); }
.cart-modal .text-field:focus { box-shadow: 0 0 0 3px rgba(128, 103, 71, .12); }
.cart-modal .order-box > label { color: #5f574c; }
.cart-modal .field-note,
.cart-modal .empty-cart span { color: #7b7368; }
.cart-modal .total-row { border-color: rgba(78, 65, 48, .12); }
.cart-modal .clear-cart {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 2px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: #8b8173;
  font-size: 11px;
  font-weight: 500;
  opacity: .78;
  transition: color .16s ease, opacity .16s ease;
}
.cart-modal .clear-cart:hover { color: #70583a; opacity: 1; }
.cart-modal .clear-cart:disabled { display: none; }
.cart-modal .clear-cart__icon {
  width: 14px;
  height: 14px;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.35;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.product-sheet__header span,
.ask-confirm__header span,
.order-confirm__header span { color: #8a704c; }
.ask-confirm__text { color: #7b7368; }
.ask-confirm__field { color: #5f574c; }
.ask-confirm__field small { color: #8b8173; }
.ask-confirm__textarea {
  border-color: rgba(78, 65, 48, .12);
  background: #f7f4ee;
  color: var(--tg-text);
}
.ask-confirm__textarea::placeholder { color: #8c8479; }
.ask-confirm__textarea:focus { box-shadow: 0 0 0 3px rgba(128, 103, 71, .12); }
.ask-confirm__product { border-color: rgba(78, 65, 48, .1); background: #f6f1e9; color: #39332a; }

:root[data-theme-resolved="dark"] .topbar {
  background: rgba(37, 33, 29, .86);
  border-color: rgba(243, 235, 222, .08);
  box-shadow: none;
}
:root[data-theme-resolved="dark"] .topbar__title small,
:root[data-theme-resolved="dark"] .catalog-intro__copy > span { color: #d0b58c; }
:root[data-theme-resolved="dark"] .product-sheet__header span,
:root[data-theme-resolved="dark"] .ask-confirm__header span,
:root[data-theme-resolved="dark"] .order-confirm__header span { color: #d0b58c; }
:root[data-theme-resolved="dark"] .ask-confirm__text { color: #b8b0a4; }
:root[data-theme-resolved="dark"] .ask-confirm__field { color: #e4dccf; }
:root[data-theme-resolved="dark"] .ask-confirm__field small { color: #b8b0a4; }
:root[data-theme-resolved="dark"] .ask-confirm__textarea {
  border-color: rgba(243, 235, 222, .11);
  background: #2c2823;
  color: #f3efe8;
}
:root[data-theme-resolved="dark"] .ask-confirm__textarea::placeholder { color: #a49b8e; }
:root[data-theme-resolved="dark"] .ask-confirm__textarea:focus { box-shadow: 0 0 0 3px rgba(200, 170, 125, .15); }
:root[data-theme-resolved="dark"] .icon-button:hover,
:root[data-theme-resolved="dark"] .catalog-card__question:hover { background: var(--jhc-accent-soft); color: #ecd6b2; }
:root[data-theme-resolved="dark"] .cart-shortcut { color: #dfc79f; }
:root[data-theme-resolved="dark"] .cart-shortcut__badge { border-color: #29241e; background: #c8aa7d; color: #211c16; }
:root[data-theme-resolved="dark"] .catalog-intro {
  background:
    radial-gradient(ellipse at 92% 7%, rgba(132, 103, 66, .2), transparent 44%),
    linear-gradient(128deg, rgba(43, 39, 34, .92) 0%, rgba(39, 35, 31, .88) 56%, rgba(43, 38, 32, .84) 100%);
}
:root[data-theme-resolved="dark"] .catalog-intro h1,
:root[data-theme-resolved="dark"] .catalog-card__copy strong,
:root[data-theme-resolved="dark"] .catalog-card__copy > b { color: #f3efe8; }
:root[data-theme-resolved="dark"] .catalog-intro p,
:root[data-theme-resolved="dark"] .catalog-caption,
:root[data-theme-resolved="dark"] .catalog-card__copy > small { color: #b6ad9f; }
:root[data-theme-resolved="dark"] .catalog-search,
:root[data-theme-resolved="dark"] .catalog-filters,
:root[data-theme-resolved="dark"] .catalog-card {
  border-color: rgba(243, 235, 222, .075);
  background: var(--jhc-dark-surface);
  box-shadow: none;
}
:root[data-theme-resolved="dark"] .catalog-search:focus-within { border-color: rgba(200, 170, 125, .42); }
:root[data-theme-resolved="dark"] .catalog-filter { color: #c9c0b3; }
:root[data-theme-resolved="dark"] .catalog-filter.is-active,
:root[data-theme-resolved="dark"] .catalog-empty button,
:root[data-theme-resolved="dark"] .empty-cart button,
:root[data-theme-resolved="dark"] .order-submit,
:root[data-theme-resolved="dark"] .ask-confirm__submit,
:root[data-theme-resolved="dark"] .order-confirm__submit,
:root[data-theme-resolved="dark"] .action-chip--primary,
:root[data-theme-resolved="dark"] .catalog-card__controls .catalog-card__add {
  background: linear-gradient(140deg, #d5bd98 0%, #bd9c6b 100%);
  color: #261f17;
}
:root[data-theme-resolved="dark"] .catalog-card,
:root[data-theme-resolved="dark"] .catalog-card.is-active,
:root[data-theme-resolved="dark"] .catalog-card:hover { border-color: transparent; box-shadow: none; }
:root[data-theme-resolved="dark"] .catalog-card__media { background: transparent; }
:root[data-theme-resolved="dark"] .catalog-card__footer { border-color: rgba(243, 235, 222, .08); }
:root[data-theme-resolved="dark"] .catalog-card__question { color: #d3bd98; }
:root[data-theme-resolved="dark"] .catalog-card__stepper,
:root[data-theme-resolved="dark"] .catalog-card__controls .catalog-card__stepper {
  border-color: rgba(243, 235, 222, .075);
  background: rgba(243, 235, 222, .055);
}
:root[data-theme-resolved="dark"] .catalog-card__stepper button,
:root[data-theme-resolved="dark"] .catalog-card__controls .catalog-card__stepper button { color: #dfc79f; }
:root[data-theme-resolved="dark"] .catalog-card__stepper strong { color: #f3efe8; }
:root[data-theme-resolved="dark"] .product-sheet__panel,
:root[data-theme-resolved="dark"] .cart-modal__panel,
:root[data-theme-resolved="dark"] .ask-confirm__panel,
:root[data-theme-resolved="dark"] .order-confirm__panel { background: #24211e; border-color: rgba(243, 235, 222, .08); }
:root[data-theme-resolved="dark"] .product-sheet .product-detail-card { background: radial-gradient(ellipse at 50% 48%, rgba(135, 105, 67, .14), transparent 82%); }
:root[data-theme-resolved="dark"] .product-sheet .question-icon-button { border-color: rgba(243, 235, 222, .1); background: rgba(243, 235, 222, .05); color: #dfc79f; }
:root[data-theme-resolved="dark"] .product-sheet .action-chip:not(.action-chip--primary) { border-color: rgba(243, 235, 222, .1); background: rgba(243, 235, 222, .055); color: #dfc79f; }
:root[data-theme-resolved="dark"] .product-sheet .quantity-controls { background: rgba(243, 235, 222, .075); color: #dfc79f; }
:root[data-theme-resolved="dark"] .ask-confirm__cancel,
:root[data-theme-resolved="dark"] .order-confirm__edit { background: rgba(243, 235, 222, .08); color: #dfc79f; }
:root[data-theme-resolved="dark"] .cart-modal__close,
:root[data-theme-resolved="dark"] .product-sheet__close,
:root[data-theme-resolved="dark"] .ask-confirm__close,
:root[data-theme-resolved="dark"] .order-confirm__close { background: rgba(243, 235, 222, .08); color: #e0c8a0; }
:root[data-theme-resolved="dark"] .cart-modal__close:hover,
:root[data-theme-resolved="dark"] .product-sheet__close:hover,
:root[data-theme-resolved="dark"] .ask-confirm__close:hover,
:root[data-theme-resolved="dark"] .order-confirm__close:hover { background: rgba(243, 235, 222, .14); }
:root[data-theme-resolved="dark"] .cart-modal .clear-cart { color: #b8b0a4; }
:root[data-theme-resolved="dark"] .cart-modal .clear-cart:hover { color: #dfc79f; }
:root[data-theme-resolved="dark"] .cart-item__controls button,
:root[data-theme-resolved="dark"] .product-sheet .quantity-controls button { background: rgba(243, 235, 222, .08); color: #dfc79f; }
:root[data-theme-resolved="dark"] .cart-modal .notice { border-left-color: #bda074; background: rgba(189, 156, 107, .1); color: #dfcba9; }
:root[data-theme-resolved="dark"] .cart-modal .text-field { background: #2c2823; border-color: rgba(243, 235, 222, .11); color: #f3efe8; }
:root[data-theme-resolved="dark"] .cart-modal .order-box > label,
:root[data-theme-resolved="dark"] .cart-modal .total-row span { color: #c9c0b3; }
:root[data-theme-resolved="dark"] .cart-modal .total-row { border-color: rgba(243, 235, 222, .1); }
:root[data-theme-resolved="dark"] .cart-modal .section-title h2,
:root[data-theme-resolved="dark"] .cart-item strong,
:root[data-theme-resolved="dark"] .cart-modal .total-row strong { color: #f3efe8; }
:root[data-theme-resolved="dark"] .cart-modal .cart-item,
:root[data-theme-resolved="dark"] .order-confirm-item {
  border: 0;
  background: rgba(243, 235, 222, .045);
}
:root[data-theme-resolved="dark"] .cart-modal .empty-cart,
:root[data-theme-resolved="dark"] .order-confirm__meta {
  border-color: rgba(243, 235, 222, .075);
  background: rgba(243, 235, 222, .035);
}
:root[data-theme-resolved="dark"] .cart-modal .field-note,
:root[data-theme-resolved="dark"] .cart-modal .empty-cart span { color: #b8b0a4; }
:root[data-theme-resolved="dark"] .ask-confirm__product { border-color: rgba(243, 235, 222, .08); background: #302b24; color: #f3efe8; }

button:focus-visible,
input:focus-visible,
[tabindex="-1"]:focus-visible { outline-color: var(--jhc-accent); }
.catalog-card__main:focus-visible { outline-color: var(--jhc-accent); }
@media (max-width: 700px) {
  .catalog-filters { background: rgba(255, 253, 250, .8); }
  .cart-modal__panel { --cart-inset-y: 23px; --cart-inset-x: 19px; }
  .cart-modal .section-title { padding-right: 48px; }
  .cart-modal__close { top: 23px; right: 19px; }
  :root[data-theme-resolved="dark"] .catalog-filters,
  :root[data-theme-resolved="dark"] .catalog-card { background: var(--jhc-dark-surface); }
}
@media (prefers-reduced-transparency: reduce) {
  .topbar, .catalog-filters { background: #fffdfa; -webkit-backdrop-filter: none; backdrop-filter: none; }
  :root[data-theme-resolved="dark"] .topbar { background: #25211d; }
  :root[data-theme-resolved="dark"] .catalog-filters,
  :root[data-theme-resolved="dark"] .catalog-card { background: #2a2621; }
}

/* Draw small controls as vectors so their visual center does not depend on font metrics. */
.icon-close,
.quantity-icon,
.catalog-card__stepper-icon,
.catalog-card__add-icon {
  display: block;
  flex: none;
  margin: auto;
  vertical-align: middle;
  pointer-events: none;
}
.icon-close,
.quantity-icon {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.icon-close { width: 16px; height: 16px; stroke-width: 1.65; }
.quantity-icon { width: 14px; height: 14px; stroke-width: 1.8; }
.cart-modal__close,
.product-sheet__close,
.ask-confirm__close,
.order-confirm__close {
  display: grid;
  place-items: center;
  padding: 0;
  font-size: 0;
  line-height: 0;
}
.cart-item__controls button,
.product-sheet .quantity-controls button,
.catalog-card__stepper button,
.catalog-card__add {
  display: grid;
  place-items: center;
  padding: 0;
  line-height: 0;
}
