:root {
  --bg: #f6f4f0;
  --panel: #fbfaf7;
  --line: #e5e1d9;
  --text: #24313a;
  --muted: #7d847f;
  --accent: #8c9c8d;
  --accent-dark: #6e7d6f;
  --soft-green: #e8eee5;
  --star: #e0b53a;
  --danger: #b42318;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Roboto Condensed", "Arial Narrow", Arial, Helvetica, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.45;
}

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

button {
  font: inherit;
}

.container {
  width: min(1240px, calc(100% - 36px));
  margin: 0 auto;
}

.site-header {
  width: 100%;
  background: #f8f7f4;
  border-bottom: 1px solid var(--line);
}

.header-main {
  min-height: 104px;
  display: grid;
  grid-template-columns: 190px minmax(320px, 1fr) auto;
  align-items: center;
  gap: 28px;
}

.brand,
.footer-brand {
  display: flex;
  align-items: center;
}

.brand-logo {
  width: 146px;
  height: auto;
  display: block;
}

.purchase-progress {
  padding: 10px 0 8px;
}

.progress-copy {
  margin: 0 0 8px;
  color: #59645b;
  font-size: 0.95rem;
}

.progress-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: start;
  min-height: 52px;
  padding-top: 10px;
}

.progress-track::before {
  content: "";
  position: absolute;
  left: 36px;
  right: 36px;
  top: 20px;
  height: 4px;
  border-radius: 999px;
  background: #dfded5;
}

.progress-fill {
  position: absolute;
  left: 36px;
  top: 20px;
  width: 48%;
  max-width: calc(100% - 72px);
  height: 4px;
  border-radius: 999px;
  background: var(--accent);
}

.progress-step {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 0.8rem;
  text-align: center;
}

.step-icon {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  border: 1px solid #d6d3c9;
  background: #fff;
  color: var(--accent-dark);
  font-size: 0.72rem;
}

.progress-step.reached .step-icon {
  background: #e9eee4;
  border-color: #cbd7c4;
}

.header-actions {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.mini-cart-dropdown {
  position: absolute;
  top: calc(100% + 14px);
  right: 0;
  z-index: 40;
  width: 430px;
  display: none;
  padding: 48px 18px 18px;
  max-height: calc(100vh - 110px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 40px rgba(74, 91, 68, 0.18);
}

.mini-cart-dropdown::before {
  content: "";
  position: absolute;
  top: -9px;
  right: 46px;
  width: 16px;
  height: 16px;
  border-left: 1px solid var(--line);
  border-top: 1px solid var(--line);
  background: #fff;
  transform: rotate(45deg);
}

.mini-cart-dropdown::after {
  content: "";
  position: absolute;
  top: -18px;
  right: 0;
  width: 100%;
  height: 18px;
}

.header-actions.is-mini-cart-open .mini-cart-dropdown {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto auto;
}

.account-dropdown {
  position: absolute;
  top: calc(100% + 14px);
  right: 84px;
  z-index: 45;
  width: 230px;
  display: none;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 40px rgba(74, 91, 68, 0.18);
}

.account-dropdown::before {
  content: "";
  position: absolute;
  top: -9px;
  right: 30px;
  width: 16px;
  height: 16px;
  border-left: 1px solid var(--line);
  border-top: 1px solid var(--line);
  background: #fff;
  transform: rotate(45deg);
}

.header-actions.is-account-open .account-dropdown {
  display: grid;
  gap: 6px;
}

.account-dropdown a,
.account-dropdown button {
  min-height: 40px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 10px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: #4e5d50;
  font: inherit;
  font-weight: 700;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}

.account-dropdown a:hover,
.account-dropdown button:hover {
  background: #f5f3ed;
}

.account-dropdown-note {
  margin: 4px 8px 2px;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.4;
}

.mobile-account-section {
  display: none;
}

.mini-cart-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 999px;
  background: #f5f3ed;
  color: var(--text);
  cursor: pointer;
}

.mini-cart-items {
  display: grid;
  gap: 12px;
  min-height: 0;
  max-height: min(52vh, 430px);
  margin-bottom: 14px;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-right: 4px;
}

.mini-cart-item {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
}

.mini-cart-item.is-unavailable {
  padding: 8px;
  border: 1px solid #ead7b8;
  border-radius: 8px;
  background: #fffaf0;
}

.mini-cart-item img {
  width: 64px;
  height: 64px;
  border-radius: 8px;
  object-fit: cover;
}

.mini-cart-title {
  display: block;
  margin-bottom: 8px;
  font-weight: 700;
  line-height: 1.25;
}

.mini-cart-item .cart-builder-snapshot {
  margin: 7px 0 8px;
  padding: 0;
  border-radius: 0;
  background: transparent;
  font-size: 0.82rem;
}

.site-header .mini-cart-dropdown .cart-builder-snapshot {
  padding: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
}

.mini-cart-item .cart-builder-snapshot-group + .cart-builder-snapshot-group {
  margin-top: 6px;
}

.mini-cart-item .cart-builder-snapshot strong {
  display: block;
  margin-bottom: 3px;
}

.mini-cart-item .cart-builder-snapshot ul {
  margin: 0;
  padding-left: 16px;
}

.mini-cart-item .cart-builder-snapshot li {
  line-height: 1.35;
}

.mini-cart-controls {
  display: inline-flex;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
}

.mini-cart-controls button,
.mini-cart-controls span {
  width: 34px;
  height: 34px;
  border: 0;
  display: grid;
  place-items: center;
  background: transparent;
  color: var(--text);
}

.mini-cart-controls button {
  cursor: pointer;
}

.mini-cart-controls button:disabled {
  color: #9aa295;
  cursor: not-allowed;
  background: #f5f3ed;
}

.mini-cart-remove {
  color: var(--danger, #b42318) !important;
  border-left: 1px solid var(--line) !important;
}

.mini-cart-warning {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 8px;
  padding: 3px 8px;
  border-radius: 999px;
  background: #f7e7c5;
  color: #7a4d00;
  font-size: 0.76rem;
  font-weight: 700;
}

.mini-cart-price {
  display: grid;
  gap: 2px;
  justify-items: end;
  font-weight: 700;
  white-space: nowrap;
}

.mini-cart-price span {
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 600;
}

.mini-cart-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 0 14px;
  border-top: 1px solid var(--line);
}

.mini-cart-total {
  display: flex;
  flex: 1 1 auto;
  gap: 16px;
  font-weight: 700;
}

.mini-cart-total span {
  color: var(--muted);
}

.mini-cart-button {
  width: auto;
  flex: 0 0 auto;
  min-height: 46px;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid #95a98b;
  background: #95a98b;
  color: #fff !important;
  font-weight: 700;
  text-decoration: none;
}

.mini-cart-button:hover {
  border-color: #72846a;
  background: #72846a;
}

.free-shipping-progress {
  display: grid;
  gap: 12px;
  min-width: 0;
}

.free-shipping-progress--mini-cart {
  margin-bottom: 12px;
  padding: 12px;
  border: 1px solid #e6dbc2;
  border-radius: 8px;
  background: #fbf8ef;
}

.free-shipping-progress__copy {
  min-width: 0;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
}

.free-shipping-progress__copy strong,
.free-shipping-progress__copy span {
  overflow-wrap: anywhere;
}

.free-shipping-progress__copy strong {
  color: var(--text);
  line-height: 1.35;
}

.free-shipping-progress__copy span {
  color: var(--muted);
  font-weight: 700;
  white-space: nowrap;
}

.free-shipping-progress__bar {
  position: relative;
  height: 12px;
  overflow: visible;
  border-radius: 999px;
  background: #e5dcc9;
}

.free-shipping-progress__fill {
  display: block;
  height: 100%;
  max-width: 100%;
  border-radius: inherit;
  background: #72846a;
}

.free-shipping-progress__truck,
.free-shipping-progress__check {
  position: absolute;
  top: 50%;
  display: grid;
  place-items: center;
  transform: translate(-50%, -50%);
}

.free-shipping-progress__truck {
  width: 26px;
  height: 26px;
  font-size: 1rem;
}

.free-shipping-progress__check {
  right: 0;
  width: 24px;
  height: 24px;
  border: 2px solid #fff;
  border-radius: 999px;
  background: #72846a;
  color: #fff;
  font-size: 0.86rem;
  font-weight: 800;
  transform: translate(0, -50%);
}

.action-link {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: #4e5d50;
  font-weight: 700;
  font-size: 0.9rem;
}

.action-button {
  cursor: pointer;
}

.icon-action,
.action-button {
  position: relative;
}

.mobile-menu-button {
  display: none;
  min-width: 40px;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: #4e5d50;
  cursor: pointer;
}

.account-state {
  display: none;
}

.cart-badge {
  position: absolute;
  top: -8px;
  right: -5px;
  min-width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: #c9ad5f;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
}

.main-nav {
  background: #ebe8df;
  border-top: 1px solid var(--line);
}

.nav-inner {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.main-nav a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  border-radius: 999px;
  color: #5e685f;
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.main-nav a:hover {
  background: #f8f7f4;
  color: var(--text);
}

.nav-icon {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: #dfe8dc;
  color: var(--accent-dark);
  font-size: 0.8rem;
}

.product-page {
  font-family: "Segoe UI", Arial, Helvetica, sans-serif;
  background: linear-gradient(180deg, #edf2e7 0%, #f4f1ea 28%, #f7f4ed 100%);
  padding: 22px 0 20px;
}

.breadcrumb {
  padding: 0 0 14px;
  font-size: 0.82rem;
  color: #9aa09b;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.breadcrumb span:last-child {
  color: #8a6451;
  font-weight: 600;
}

.product-status {
  display: none;
}

.product-status.error {
  color: var(--danger);
  border-color: #f0b9b4;
}

.hero {
  display: grid;
  grid-template-columns: 1.02fr 1fr;
  gap: 34px;
  align-items: start;
  padding: 0 0 34px;
}

.product-page .card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
}

.product-gallery {
  padding: 20px;
}

.product-photo {
  aspect-ratio: 1 / 1;
  position: relative;
  overflow: hidden;
  border: 1px solid #ece6da;
  border-radius: 8px;
  background: linear-gradient(180deg, #eef1e8 0%, #ece3d5 100%);
}

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

.purchase-panel {
  padding: 22px;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
}

.purchase-panel > * {
  max-width: 100%;
  min-width: 0;
}

.card-product-title {
  font-family: "Roboto Condensed", "Arial Narrow", Arial, Helvetica, sans-serif;
  margin: 0 0 6px;
  font-size: clamp(24px, 2.5vw, 36px);
  line-height: 1.04;
  font-weight: 500;
  letter-spacing: 0;
}

.product-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.product-badges span {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  border: 1px solid #d9e2d4;
  border-radius: 999px;
  background: rgba(244, 248, 241, 0.95);
  color: #536052;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.rating-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 12px;
}

.stars {
  color: var(--star);
  display: inline-flex;
  gap: 4px;
}

.rating-value {
  color: var(--text);
}

.mini-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 18px;
  color: #6f766f;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.product-meta,
.lead,
.delivery-copy,
.faq-item p,
footer p,
footer li {
  color: var(--muted);
}

.product-meta {
  margin: 0 0 12px;
}

.lead {
  margin: 0 0 16px;
  font-size: 15px;
  line-height: 1.52;
}

.buy-row {
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  margin-bottom: 12px;
  max-width: 100%;
  min-width: 0;
}

.inline-price {
  color: var(--text);
  font-size: 34px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  min-width: 0;
}

.purchase-unavailable-note {
  margin: 0;
  padding: 12px 14px;
  border: 1px solid #ded5c4;
  border-radius: 10px;
  background: #f6f0e3;
  color: #6f5a35;
  font-weight: 700;
}

.qty {
  display: inline-flex;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
}

.qty[hidden] {
  display: none;
}

.qty button,
.qty span {
  width: 46px;
  height: 48px;
  border: 0;
  background: transparent;
  display: grid;
  place-items: center;
  color: var(--text);
  font-size: 1rem;
}

.qty button {
  cursor: pointer;
}

.primary-btn {
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid var(--accent);
  border-radius: 10px;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
}

.ghost-btn {
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: white;
  color: var(--text);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
}

.primary-btn:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
}

.primary-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.add-cart {
  flex: 1;
}

.product-unavailable {
  max-width: 760px;
  margin: 28px auto 0;
  padding: 32px;
  text-align: center;
}

.product-unavailable h1 {
  margin: 0 0 12px;
  font-size: clamp(2rem, 4vw, 3rem);
}

.product-unavailable p:not(.section-kicker) {
  margin: 0 auto 20px;
  max-width: 520px;
  color: var(--muted);
}

.bundle {
  padding: 14px;
  display: flex;
  gap: 14px;
  align-items: center;
  margin-bottom: 14px;
}

.bundle-thumb {
  width: 92px;
  height: 66px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: linear-gradient(180deg, #f6f3ee, #efebe3);
  position: relative;
  overflow: hidden;
  background-position: center;
  background-size: cover;
}

.bundle-thumb::before,
.bundle-thumb::after {
  display: none;
}

.bundle-copy {
  flex: 1;
}

.bundle-title {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 4px;
}

.bundle-sub {
  color: var(--muted);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.bundle-price {
  margin-top: 4px;
  font-weight: 600;
}

.bundle-price-unit {
  color: var(--muted);
  font-size: 0.8em;
  font-weight: 400;
  line-height: 1;
}

.compact-bundle {
  margin-bottom: 14px;
  background: #fcfaf4;
  max-width: 100%;
  min-width: 0;
}

.compact-bundle .bundle-copy {
  max-width: 220px;
  min-width: 0;
}

.compact-bundle .bundle-price {
  display: none;
}

.delivery-box,
.stock-box {
  padding: 14px 16px;
  border-radius: 16px;
  background: #fcfaf4;
}

.delivery-box {
  margin-top: 4px;
  margin-bottom: 14px;
  padding: 12px 14px;
  border: 1px solid #dbe5d6;
  background: linear-gradient(180deg, #eef4ea 0%, #f7f6ef 100%);
  max-width: 100%;
  min-width: 0;
}

.delivery-title,
.stock-box strong,
.feature-title {
  color: var(--text);
  font-weight: 700;
}

.delivery-title {
  margin-bottom: 4px;
  color: #324235;
  font-size: 0.98rem;
}

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

.related .section-heading {
  margin-bottom: 0;
}

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

.section-heading h2 {
  margin: 0;
  font-family: "Roboto Condensed", "Arial Narrow", Arial, Helvetica, sans-serif;
  font-size: clamp(1.05rem, 1.7vw, 1.35rem);
  font-weight: 500;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 0;
}

.icon-list,
.faq-list,
.related-list,
.references-list {
  display: grid;
  gap: 18px;
}

.icon-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #4f5c54;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.icon-pill span:first-child {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 1px solid #cfd8ca;
  border-radius: 999px;
  background: #dce5d7;
  font-size: 13px;
}

.faq-section {
  padding: 0 0 24px;
}

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

.faq-item {
  padding: 22px;
  border-color: #d9e4d5;
  border-radius: 16px;
  background: linear-gradient(180deg, #f3f7f1 0%, #eef4ec 100%);
  box-shadow: 0 12px 28px rgba(160, 179, 156, 0.12);
}

.faq-item h3 {
  margin: 0 0 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.faq-item h3 i {
  color: #90a58f;
  font-size: 0.95rem;
}

.faq-item p {
  margin: 0;
  line-height: 1.6;
}

.related {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  padding: 0 0 24px;
}

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

.related-card {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  align-items: start;
  gap: 14px;
  min-height: 0;
  padding: 14px;
  border-radius: 16px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.recommended-card:hover,
.recommended-card:focus-within {
  border-color: #bdc9b7;
  box-shadow: 0 16px 28px rgba(118, 132, 112, 0.12);
  transform: translateY(-2px);
}

.recommended-thumb-link,
.recommended-thumb {
  display: block;
}

.recommended-thumb {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(180deg, #f7f5f1, #efebe3);
}

.recommended-copy {
  min-width: 0;
}

.recommended-title {
  display: block;
  margin: 0 0 4px;
  font-family: "Roboto Condensed", "Arial Narrow", Arial, Helvetica, sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.25;
  text-transform: uppercase;
}

.related p {
  display: -webkit-box;
  margin: 0 0 10px;
  overflow: hidden;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.recommended-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.recommended-price {
  color: var(--text);
  font-size: 1rem;
}

.recommended-price-unit {
  color: var(--muted);
  font-size: 0.8em;
  font-weight: 400;
  line-height: 1;
}

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

.recommended-cart,
.recommended-cta {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border: 1px solid var(--accent);
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  white-space: nowrap;
}

.recommended-cart {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--text);
  cursor: pointer;
}

.recommended-cart:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.story-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  padding: 0 0 24px;
}

.story-panel {
  padding: 36px;
  background: #e7eee2;
}

.section-kicker {
  margin: 0 0 14px;
  color: #6d776f;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.story-panel h2 {
  margin: 0 0 22px;
  font-family: "Roboto Condensed", "Arial Narrow", Arial, Helvetica, sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  line-height: 1.1;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0;
}

.story-panel .icon-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 28px;
}

.story-copy p,
.ritual-step p {
  color: #5f695f;
}

.story-copy p {
  margin: 0 0 14px;
  font-size: 0.96rem;
  line-height: 1.65;
}

.story-copy p:last-child {
  margin-bottom: 0;
}

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

.ritual-step {
  padding-top: 16px;
  border-top: 1px solid #cfd8ca;
}

.ritual-step .num {
  display: block;
  margin-bottom: 8px;
  color: #516056;
  font-family: "Roboto Condensed", "Arial Narrow", Arial, Helvetica, sans-serif;
  font-size: 30px;
  font-weight: 400;
  line-height: 1;
}

.ritual-step h4 {
  margin: 0 0 8px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ritual-step p {
  margin: 0;
  font-size: 13px;
}

.reviews {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 24px;
  padding: 0;
}

.score-box,
.references-card {
  padding: 28px;
}

.score-box {
  text-align: center;
}

.score-box .label,
.review-meta,
.review-note {
  color: #667168;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.score {
  margin-bottom: 8px;
  font-family: "Roboto Condensed", "Arial Narrow", Arial, Helvetica, sans-serif;
  font-size: 68px;
  font-weight: 600;
  line-height: 1;
}

.score span {
  color: #b9bcb6;
  font-size: 28px;
  font-weight: 400;
}

.review-stars,
.reference-stars {
  display: inline-flex;
  gap: 3px;
  color: var(--star);
}

.review-stars {
  margin-bottom: 12px;
}

.review-note {
  margin-bottom: 20px;
}

.reference-summary {
  color: #556059;
  font-size: 0.95rem;
  line-height: 1.5;
}

.reference-score-action {
  margin-top: 22px;
}

.reference-score-action .ghost-btn {
  min-height: 40px;
  padding: 0 16px;
}

.references-card {
  align-content: start;
  display: grid;
}

.review-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.references-actions {
  display: none;
}

.reference-item {
  padding-top: 14px;
  border-top: 1px solid #e5dfd3;
}

.reference-item:first-child {
  padding-top: 0;
  border-top: 0;
}

.reference-stars {
  margin-bottom: 8px;
}

.references-list p {
  margin: 0;
  color: #556059;
  line-height: 1.6;
}

body:has(.product-page) .product-page .card-product-title {
  font-family: "Roboto Condensed", "Segoe UI", Arial, sans-serif !important;
  font-size: clamp(24px, 2.5vw, 36px) !important;
  font-weight: 500 !important;
  letter-spacing: 0 !important;
}

body:has(.product-page) .product-page .story-panel h2,
body:has(.product-page) .product-page .section-heading h2,
body:has(.product-page) .product-page .recommended-title {
  font-family: "Roboto Condensed", "Segoe UI", Arial, sans-serif !important;
  font-weight: 500 !important;
  letter-spacing: 0 !important;
}

body:has(.product-page) .product-page .section-heading h2 {
  font-size: clamp(1.05rem, 1.7vw, 1.35rem) !important;
}

body:has(.product-page) .product-page .story-panel h2 {
  font-size: clamp(26px, 3vw, 42px) !important;
}

body:has(.product-page) .product-page {
  padding-bottom: 20px !important;
}

body:has(.product-page) .product-page .purchase-panel {
  gap: 0 !important;
}

body:has(.product-page) .product-page .card-product-title {
  margin-bottom: 6px !important;
}

body:has(.product-page) .product-page .product-badges {
  margin-bottom: 14px !important;
}

body:has(.product-page) .product-page .rating-row {
  margin-bottom: 10px !important;
}

body:has(.product-page) .product-page .lead {
  margin: 0 0 16px !important;
  line-height: 1.52 !important;
}

body:has(.product-page) .product-page .compact-bundle {
  margin-bottom: 14px !important;
}

body:has(.product-page) .product-page .buy-row {
  gap: 14px !important;
  margin-bottom: 12px !important;
}

body:has(.product-page) .product-page .delivery-box {
  margin-top: 4px !important;
  margin-bottom: 14px !important;
}

body:has(.product-page) .product-page .stock-box.secondary-card {
  margin-top: 0 !important;
}

body:has(.product-page) .product-page .faq-section,
body:has(.product-page) .product-page .related,
body:has(.product-page) .product-page .story-grid {
  padding-bottom: 24px !important;
}

body:has(.product-page) .product-page .story-grid {
  padding-top: 0 !important;
}

body:has(.product-page) .product-page .related .section-heading {
  margin-bottom: 0 !important;
}

body:has(.product-page) .product-page .reviews {
  padding-bottom: 0 !important;
}

body:has(.product-page) .product-page .compact-bundle .bundle-thumb {
  border-radius: 10px !important;
  background-color: #f6f3ee !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  background-size: cover !important;
}

body:has(.product-page) .product-page .compact-bundle .bundle-thumb.has-bundle-image {
  background-image: var(--bundle-image) !important;
}

body:has(.product-page) .product-page .compact-bundle .bundle-thumb::before,
body:has(.product-page) .product-page .compact-bundle .bundle-thumb::after {
  content: none !important;
  display: none !important;
}

body:has(.product-page) .product-page .delivery-box .delivery-copy {
  display: none !important;
}

body:has(.product-page) .product-page .faq-item {
  border-color: #d9e4d5 !important;
  background: linear-gradient(180deg, #f3f7f1 0%, #eef4ec 100%) !important;
  box-shadow: 0 12px 28px rgba(160, 179, 156, 0.12) !important;
}

body:has(.product-page) .product-page .recommended-thumb {
  border-radius: 14px !important;
  object-fit: cover !important;
}

body:has(.product-page) .product-page .story-panel {
  background: #e7eee2 !important;
  background-color: #e7eee2 !important;
}

body:has(.product-page) .product-page .story-panel .icon-list .icon-pill {
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body:has(.product-page) .product-page .story-panel .icon-list .icon-pill span:first-child {
  border: 1px solid #cfd8ca !important;
  background: #dce5d7 !important;
}

body:has(.product-page) .product-page .score-box,
body:has(.product-page) .product-page .references-card {
  border-color: #e1dbce !important;
  background: rgba(255, 253, 250, 0.92) !important;
}

body:has(.product-page) .product-page .recommended-cart:hover,
body:has(.product-page) .product-page .recommended-cart:focus-visible {
  border-color: #99aa92;
  background: #eef4ea;
  color: #24312d;
}

body:has(.product-page) .product-page .recommended-cta:hover,
body:has(.product-page) .product-page .recommended-cta:focus-visible {
  border-color: #75866e;
  background: #75866e;
  color: #fff;
}

footer {
  margin-top: 50px;
  padding: 34px 0;
  border-top: 0;
  background: transparent;
}

body:has(.product-page) footer {
  margin-top: 50px !important;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr repeat(3, 1fr);
  gap: 24px;
}

.footer-brand .brand-logo {
  width: 118px;
}

footer h4 {
  margin: 0 0 14px;
}

footer p,
footer li {
  font-size: 0.92rem;
}

footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 6px;
}

@media (max-width: 1100px) {
  .header-main {
    grid-template-columns: 1fr;
  }

  .header-actions {
    justify-content: center;
  }
}

@media (max-width: 920px) {
  .hero,
  .story-grid,
  .reviews,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .faq-list,
  .related-list,
  .story-panel .icon-list,
  .ritual {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(1240px, calc(100% - 24px));
  }

  .site-header {
    position: sticky;
    top: 0;
    z-index: 30;
  }

  .site-header.is-menu-open {
    position: relative;
    top: auto;
  }

  .header-main {
    min-height: auto;
    grid-template-columns: auto 1fr;
    gap: 12px;
    padding: 12px 0;
  }

  .brand-logo {
    width: 76px;
  }

  .purchase-progress {
    grid-column: 1 / -1;
    order: 3;
    width: 100%;
    padding: 10px 0 4px;
  }

  .site-header.is-cart-empty .progress-track {
    display: none;
  }

  .site-header.is-cart-empty .purchase-progress {
    display: block;
  }

  .site-header.is-cart-empty .progress-copy {
    display: block;
    margin: 0;
    font-size: 0.82rem;
  }

  .header-actions {
    grid-column: auto;
    justify-content: flex-end;
    gap: 6px;
  }

  .action-link {
    min-height: 36px;
    padding: 0 8px;
    border-radius: 999px;
    font-size: 0.78rem;
  }

  .action-button {
    width: 40px;
    min-width: 40px;
    height: 40px;
    min-height: 40px;
    padding: 0;
    border-radius: 999px;
  }

  .action-button span,
  .account-icon {
    display: none;
  }

  .account-trigger,
  .account-dropdown {
    display: none !important;
  }

  .mobile-menu-button {
    display: inline-flex;
    width: 40px;
    height: 40px;
    padding: 0;
  }

  .mini-cart-dropdown {
    display: none !important;
  }

  .free-shipping-progress__copy {
    align-items: stretch;
    display: grid;
    grid-template-columns: 1fr;
  }

  .free-shipping-progress__copy span {
    white-space: normal;
  }

  .main-nav {
    display: none;
    position: static;
    width: 100%;
  }

  .site-header.is-menu-open .main-nav {
    display: block;
  }

  .nav-inner {
    min-height: auto;
    display: grid;
    grid-template-columns: 1fr;
    justify-content: stretch;
    gap: 4px;
    padding: 8px 0 12px;
  }

  .mobile-account-section {
    display: grid;
    gap: 4px;
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid var(--line);
  }

  .mobile-account-section a,
  .mobile-account-section button {
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: flex-start;
    min-height: 36px;
    padding: 0 8px;
    border: 0;
    border-radius: 7px;
    background: transparent;
    color: #4e5d50;
    font: inherit;
    font-size: 0.82rem;
    font-weight: 700;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
  }

  .mobile-account-section a:hover,
  .mobile-account-section button:hover {
    background: #f5f3ed;
  }

  .main-nav a {
    justify-content: flex-start;
    min-height: 36px;
    padding: 0 8px;
    font-size: 0.82rem;
  }

  .buy-row {
    align-items: flex-start;
    grid-template-columns: 1fr;
  }

  .buy-row .qty {
    width: min(100%, 220px);
    max-width: 220px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .buy-row .qty[hidden] {
    display: none;
  }

  .buy-row .qty button,
  .buy-row .qty span {
    width: 100%;
  }

  .buy-row .add-cart {
    width: 100%;
  }

  .product-gallery,
  .purchase-panel,
  .story-panel {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    padding: 18px;
  }

  .recommended-meta {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 760px) {
  body {
    padding-top: 190px;
  }

  body:has(.site-header.is-menu-open) {
    padding-top: 0;
  }

  .site-header {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1000;
    background: #f8f7f4;
    box-shadow: 0 10px 24px rgba(57, 75, 54, 0.08);
  }

  .site-header.is-menu-open {
    position: relative;
    top: auto;
    right: auto;
    left: auto;
    box-shadow: none;
  }
}

/* Phase A: soften supporting product-detail content around the main CTA. */
body:has(.product-page) .product-page .buy-row {
  gap: 12px;
  margin-bottom: 16px;
}

body:has(.product-page) .product-page .inline-price {
  font-size: 36px;
  line-height: 1.05;
}

body:has(.product-page) .product-page .compact-bundle,
body:has(.product-page) .product-page .delivery-box,
body:has(.product-page) .product-page .stock-box {
  border-color: #e5e1d9;
  background: rgba(255, 253, 250, 0.78);
  box-shadow: none;
}

body:has(.product-page) .product-page .compact-bundle {
  gap: 12px;
  padding: 12px;
}

body:has(.product-page) .product-page .bundle-title,
body:has(.product-page) .product-page .delivery-title {
  color: #405043;
}

body:has(.product-page) .product-page .bundle-sub,
body:has(.product-page) .product-page .delivery-copy {
  color: var(--muted);
}

body:has(.product-page) .product-page .ghost-btn {
  border-color: #ded9cf;
  background: #fffdfa;
  color: var(--muted);
  box-shadow: none;
}

/* Product button alignment regression fix. */
body:has(.product-page) .product-page .add-cart,
body:has(.product-page) .product-page .recommended-cart,
body:has(.product-page) .product-page .recommended-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 1.15;
}

body:has(.product-page) .product-page .add-cart {
  min-width: max-content;
}

body:has(.product-page) .product-page .recommended-cart,
body:has(.product-page) .product-page .recommended-cta {
  vertical-align: middle;
}

@media (min-width: 761px) {
  body:has(.product-page) .product-page .buy-row .add-cart {
    white-space: nowrap;
  }
}
