/* ==========================================================================
   LEADERFOAM Core Subpages — Shared Editorial System (Zilla Slab + Rethink Sans)
   Matches the redesigned homepage palette, typography, radii, and header/footer.
   ========================================================================== */

:root {
  --p-bg: #faf8f5;
  --p-surface: #f2ede6;
  --p-ink: #1f1b18;
  --p-muted: #5c534b;
  --p-accent: #8c5c39;
  --p-accent-ink: #faf8f5;
  --p-action: #8c5c39;
  --p-action-ink: #faf8f5;
  --p-inv-bg: #1f1b18;
  --p-inv-surface: #2c2824;
  --p-inv-ink: #faf8f5;
  --p-inv-muted: #c2bab1;

  --bg: var(--p-bg);
  --surface: var(--p-surface);
  --ink: var(--p-ink);
  --muted: var(--p-muted);
  --action: var(--p-action);
  --action-ink: var(--p-action-ink);
  --line: rgba(31, 27, 24, 0.12);
  --line-strong: rgba(31, 27, 24, 0.22);

  --font-display: "Zilla Slab", Georgia, serif;
  --font-text: "Rethink Sans", system-ui, -apple-system, sans-serif;

  --nav: 72px;
  --gut: 80px;
  --container: 1280px;
  --r-btn: 4px;
  --r-sm: 4px;
  --r-md: 8px;
  --r-lg: 10px;
  --btn-h: 44px;
  --s-1: 4px;
  --s-2: 8px;
  --s-3: 12px;
  --s-4: 16px;
  --s-5: 24px;
  --s-6: 32px;
  --s-7: 48px;
  --s-8: 64px;
}

@media (min-width: 640px) and (max-width: 1023px) {
  :root {
    --gut: 48px;
  }
}

@media (max-width: 639px) {
  :root {
    --nav: 56px;
    --gut: 24px;
  }
}

@media (min-width: 1280px) {
  html:has(body.theme-taste-subpage) {
    scrollbar-gutter: auto;
  }
}

body.theme-taste-subpage {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-text);
  padding-top: var(--nav);
  overflow-x: clip;
}

/* Accessibility skip link */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  padding: 10px 16px;
  background: var(--p-inv-bg);
  color: var(--p-inv-ink);
  font-size: 14px;
  font-weight: 500;
}
.skip-link:focus {
  left: 16px;
  top: 12px;
}

/* Shared editorial container helper used by header & closing footer */
body.theme-taste-subpage .taste-wrap {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gut));
  margin-inline: auto;
  padding-inline: var(--gut);
}

/* ---------------------------------------------------------------- Typography */
body.theme-taste-subpage h1,
body.theme-taste-subpage h2,
body.theme-taste-subpage .page-hero__title,
body.theme-taste-subpage .editorial-title,
body.theme-taste-subpage .specs-compact-title,
body.theme-taste-subpage .product-summary h1,
body.theme-taste-subpage .catalog-heading h1 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.02em;
}

body.theme-taste-subpage .catalog-heading h1 {
  font-size: clamp(32px, 2.2vw + 22px, 46px);
  line-height: 1.08;
  color: var(--ink);
}

body.theme-taste-subpage main h2 {
  font-size: clamp(26px, 1.4vw + 20px, 36px);
  line-height: 1.15;
  color: var(--ink);
}

/* ---------------------------------------------------------------- Shared Header (.home-nav) */
body.theme-taste-subpage .home-nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: var(--nav);
  background: var(--bg);
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}

body.theme-taste-subpage .home-nav__bar {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-5);
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gut));
  margin-inline: auto;
  padding-inline: var(--gut);
}

body.theme-taste-subpage .home-nav .nav__logo {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  padding: 0;
  flex: none;
  font-family: var(--font-text);
  text-decoration: none;
}

body.theme-taste-subpage .home-nav .mark--initial {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 4px;
  background: var(--action);
  color: var(--action-ink);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 15px;
  line-height: 1;
}

body.theme-taste-subpage .home-nav .primary-navigation {
  display: none;
  align-items: center;
  gap: 2px;
  font: 500 14px/1 var(--font-text);
  color: var(--ink);
}

body.theme-taste-subpage .home-nav .primary-navigation > a,
body.theme-taste-subpage .home-nav .primary-navigation > .dropdown > a {
  padding: 8px 10px;
  white-space: nowrap;
}

body.theme-taste-subpage .home-nav .header-actions {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  margin-left: auto;
  flex: none;
}

body.theme-taste-subpage .home-nav #langBtn {
  font-size: 14px;
  min-height: 44px;
  color: var(--muted);
}

body.theme-taste-subpage .home-nav .site-quote {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: var(--btn-h);
  min-width: 0;
  padding: 0 var(--s-4);
  font-size: 14px;
  font-weight: 500;
  border-radius: var(--r-btn);
  background: var(--action);
  color: var(--action-ink);
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 180ms cubic-bezier(.2, .8, .2, 1);
}

body.theme-taste-subpage .home-nav .site-quote:hover {
  background: #734b2e;
}

body.theme-taste-subpage .home-mobile-nav {
  display: block;
  position: static;
  border-top: 0;
  background: transparent;
}

body.theme-taste-subpage .home-mobile-nav > summary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 var(--s-4);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-btn);
  background: var(--bg);
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
  list-style: none;
  cursor: pointer;
}

body.theme-taste-subpage .home-mobile-nav > summary::-webkit-details-marker {
  display: none;
}

body.theme-taste-subpage .home-mobile-nav > nav {
  position: fixed;
  top: var(--nav);
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 49;
  max-height: none;
  overflow-y: auto;
  padding: var(--s-4) var(--gut) var(--s-8);
  background: var(--bg);
  border-top: 1px solid var(--line);
  box-shadow: none;
}

body.theme-taste-subpage .home-mobile-nav__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 48px;
  margin-top: var(--s-4);
  border-radius: var(--r-btn);
  background: var(--action) !important;
  color: var(--action-ink) !important;
  font-weight: 500;
  text-align: center;
}

@media (min-width: 1120px) {
  body.theme-taste-subpage .home-nav .primary-navigation {
    display: flex;
  }
  body.theme-taste-subpage .home-nav .header-actions {
    margin-left: 0;
  }
  body.theme-taste-subpage .home-mobile-nav {
    display: none;
  }
}

@media (max-width: 639px) {
  body.theme-taste-subpage .home-nav__bar {
    gap: var(--s-2);
  }
  body.theme-taste-subpage .home-nav .nav__logo span:not(.mark) {
    font-size: 15px;
    letter-spacing: 0.1em;
  }
  body.theme-taste-subpage .home-nav .site-quote {
    display: none;
  }
  body.theme-taste-subpage .home-nav #langBtn {
    min-width: 0;
    padding: 4px 6px;
    gap: 4px;
    font-size: 13px;
  }
  body.theme-taste-subpage .home-nav #langBtn > svg:first-child {
    display: none;
  }
  body.theme-taste-subpage .home-mobile-nav > summary {
    padding: 0 12px;
    font-size: 13px;
  }
}

/* ---------------------------------------------------------------- Page Hero (OEM / About / Contact) */
body.theme-taste-subpage .page-hero--standard {
  min-height: 380px;
  padding: 72px 0;
  background: var(--p-inv-bg);
  border-bottom: 1px solid var(--line);
}

body.theme-taste-subpage .page-hero--standard::before {
  background: linear-gradient(90deg, rgba(31, 27, 24, 0.78) 0%, rgba(31, 27, 24, 0.50) 52%, rgba(31, 27, 24, 0.18) 100%);
}

body.theme-taste-subpage .page-hero--standard .page-hero__content {
  max-width: calc(var(--container) + 2 * var(--gut));
  padding-inline: var(--gut);
}

body.theme-taste-subpage .page-hero--standard .page-hero__title {
  font-size: clamp(34px, 2.5vw + 24px, 56px);
  line-height: 1.06;
  font-weight: 400;
  letter-spacing: -0.02em;
  text-shadow: none;
  color: var(--p-inv-ink);
  max-width: 18ch;
}

body.theme-taste-subpage .page-hero--standard .page-hero__description {
  color: rgba(250, 248, 245, 0.86);
  font-size: 17px;
  line-height: 1.65;
  max-width: 58ch;
}

body.theme-taste-subpage .oem-hero-action {
  border-radius: var(--r-btn);
  border-color: rgba(250, 248, 245, 0.35);
  background: rgba(31, 27, 24, 0.85);
  color: var(--p-inv-ink);
  min-height: 48px;
  padding: 0 20px;
  font-weight: 500;
}

body.theme-taste-subpage .oem-hero-action--primary {
  border-color: var(--action);
  background: var(--action);
  color: var(--action-ink);
}

body.theme-taste-subpage .oem-hero-action--primary:hover {
  background: #734b2e;
  text-decoration: none;
}

@media (max-width: 639px) {
  body.theme-taste-subpage .page-hero--standard {
    min-height: 300px;
    padding: 48px 0;
  }
  body.theme-taste-subpage .page-hero--standard .page-hero__description {
    font-size: 15px;
  }
}

/* ---------------------------------------------------------------- Architectural Subpage Surfaces */
body.theme-taste-subpage .taste-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 20px;
  border-radius: var(--r-btn);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}

body.theme-taste-subpage .taste-btn--primary {
  background: var(--action);
  color: var(--action-ink);
  border: 1px solid var(--action);
}
body.theme-taste-subpage .taste-btn--primary:hover {
  background: #734b2e;
  border-color: #734b2e;
}

body.theme-taste-subpage .taste-btn--secondary {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line-strong);
}
body.theme-taste-subpage .taste-btn--secondary:hover {
  background: var(--surface);
  border-color: var(--ink);
}

body.theme-taste-subpage .taste-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
  text-decoration: underline;
  text-decoration-color: var(--line-strong);
  text-underline-offset: 4px;
}
body.theme-taste-subpage .taste-link:hover {
  color: var(--action);
  text-decoration-color: currentColor;
}

/* Open FAQ list matching homepage (no bouncy accordions) */
.taste-faq-list {
  border-top: 1px solid var(--line);
}
.taste-faq-item {
  display: grid;
  gap: 8px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.taste-faq-item h3 {
  font-family: var(--font-text);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.45;
  color: var(--ink);
  margin: 0;
}
.taste-faq-item p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--muted);
  margin: 0;
  max-width: 68ch;
}

/* ---------------------------------------------------------------- Catalog (/products/) */
body.theme-taste-subpage .catalog-heading {
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}

body.theme-taste-subpage .cat-btn {
  min-height: 40px;
  border-radius: var(--r-btn);
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--ink);
  font-weight: 500;
}

body.theme-taste-subpage .cat-btn[aria-pressed="true"] {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--p-inv-ink);
}

body.theme-taste-subpage .cat-btn[aria-pressed="false"]:hover {
  background: var(--surface);
}

body.theme-taste-subpage #catalog-search,
body.theme-taste-subpage #catalog-sort {
  min-height: 40px;
  border-radius: var(--r-btn);
  border: 1px solid var(--line-strong);
  background: #ffffff;
  color: var(--ink);
}

body.theme-taste-subpage .product-card-image {
  border-radius: var(--r-lg);
  background: var(--surface);
}

body.theme-taste-subpage .product-item h3 {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 400;
  line-height: 1.2;
  color: var(--ink);
}

body.theme-taste-subpage .catalog-specs {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 10px 0;
  color: var(--muted);
  font-size: 13px;
}

body.theme-taste-subpage .catalog-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 10px;
}

body.theme-taste-subpage .catalog-card-cta {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--line-strong);
  text-underline-offset: 4px;
}

body.theme-taste-subpage .catalog-card-cta:hover {
  color: var(--action);
  text-decoration-color: currentColor;
}

body.theme-taste-subpage .catalog-rfq-btn,
body.theme-taste-subpage .rfq-toggle-btn,
body.theme-taste-subpage .spec-print-btn,
body.theme-taste-subpage .product-pager-btn,
body.theme-taste-subpage .product-back-link {
  border-radius: var(--r-btn);
}

/* ---------------------------------------------------------------- Product Detail */
body.theme-taste-subpage .product-detail {
  padding-top: 32px;
}

body.theme-taste-subpage .product-summary h1 {
  font-size: clamp(32px, 2vw + 22px, 46px);
  line-height: 1.08;
  color: var(--ink);
}

body.theme-taste-subpage .product-buying-summary {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
}

body.theme-taste-subpage .inquiry-link {
  border-radius: var(--r-btn);
  background: var(--action);
  color: var(--action-ink);
  min-height: 48px;
}
body.theme-taste-subpage .inquiry-link:hover {
  background: #734b2e;
}

body.theme-taste-subpage .whatsapp-quick-link {
  border-radius: var(--r-btn);
  border-color: var(--line-strong);
  min-height: 44px;
}

body.theme-taste-subpage .product-tier-card,
body.theme-taste-subpage .specs-compact-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
}

body.theme-taste-subpage .editorial-section {
  border-top-color: var(--line);
}

body.theme-taste-subpage .product-detail img:not(.product-closeup img):not(.thumbnail-btn img) {
  border-radius: var(--r-lg);
}

/* ProductSourcingHub architectural cards */
body.theme-taste-subpage .hub-card {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: #ffffff;
  transition: border-color 180ms ease;
}
body.theme-taste-subpage .hub-card:hover {
  border-color: var(--ink);
}
body.theme-taste-subpage .hub-card-media {
  border-radius: var(--r-md);
  background: var(--surface);
}
body.theme-taste-subpage .hub-cta-strip {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
}

/* ---------------------------------------------------------------- OEM / About / Contact refinements */
body.theme-taste-subpage .oem-purchase {
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

body.theme-taste-subpage .oem-cta-panel {
  background: var(--p-inv-bg);
  color: var(--p-inv-ink);
  border-radius: var(--r-lg);
}
body.theme-taste-subpage .oem-cta-panel h2 {
  color: var(--p-inv-ink);
}
body.theme-taste-subpage .oem-cta-panel p {
  color: var(--p-inv-muted);
}

body.theme-taste-subpage .brand-tint-card,
body.theme-taste-subpage .factory-map__info {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
}

body.theme-taste-subpage .about-entity-box {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
}

body.theme-taste-subpage .contact-form-panel {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: none;
}

body.theme-taste-subpage #inquiry-form input,
body.theme-taste-subpage #inquiry-form select,
body.theme-taste-subpage #inquiry-form textarea,
body.theme-taste-subpage #inquiry-form .koda-select-trigger,
body.theme-taste-subpage #inquiry-form button[type="submit"] {
  border-radius: var(--r-btn);
}

body.theme-taste-subpage #inquiry-form input:focus-visible,
body.theme-taste-subpage #inquiry-form select:focus-visible,
body.theme-taste-subpage #inquiry-form textarea:focus-visible {
  outline: 2px solid var(--action);
  outline-offset: 2px;
  border-color: var(--action);
}

body.theme-taste-subpage .inquiry-benefit {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
}

body.theme-taste-subpage .contact-map {
  border-color: var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
}

/* ---------------------------------------------------------------- Unified Dark Architectural Footer */
.taste-footer {
  background: var(--p-inv-bg);
  color: var(--p-inv-ink);
  border-top: 1px solid rgba(250, 248, 245, 0.14);
  padding-block: 72px 48px;
}

.taste-footer__cta {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px 48px;
  padding-bottom: 56px;
}

.taste-footer__cta h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(32px, 2.4vw + 20px, 52px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--p-inv-ink);
  margin: 0 0 12px;
}

.taste-footer__cta p {
  color: var(--p-inv-muted);
  font-size: 16px;
  line-height: 1.55;
  max-width: 50ch;
  margin: 0;
}

.taste-footer__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border-radius: var(--r-btn);
  background: var(--action);
  color: var(--action-ink);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 180ms ease;
}
.taste-footer__btn:hover {
  background: #734b2e;
}

.taste-footer__links {
  padding-top: 40px;
  border-top: 1px solid rgba(250, 248, 245, 0.14);
}

.taste-footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) repeat(3, minmax(0, 1fr));
  gap: 40px 32px;
}

.taste-footer__wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--p-inv-ink);
  text-decoration: none;
  margin-bottom: 12px;
}

.leaderfoam-mark {
  display: block;
  width: 30px;
  height: 24px;
  flex: none;
}

.taste-footer__lede {
  color: var(--p-inv-muted);
  font-size: 14px;
  line-height: 1.6;
  max-width: 34ch;
  margin: 0;
}

.taste-footer__col h3 {
  font-family: var(--font-text);
  font-size: 13px;
  font-weight: 500;
  color: var(--p-inv-muted);
  margin: 0 0 14px;
}

.taste-footer__col ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 14px;
}

.taste-footer__col a {
  color: var(--p-inv-ink);
  text-decoration: none;
  transition: color 150ms ease;
}

.taste-footer__col a:hover {
  color: #e8c7a6;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.taste-footer__col a:focus-visible,
.taste-footer__btn:focus-visible,
.taste-footer__wordmark:focus-visible {
  outline: 2px solid #e8c7a6;
  outline-offset: 4px;
}

.taste-footer__legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(250, 248, 245, 0.14);
  font-size: 13px;
  color: var(--p-inv-muted);
}

@media (max-width: 900px) {
  .taste-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 639px) {
  .taste-footer {
    padding-block: 56px 40px;
  }
  .taste-footer__cta {
    padding-bottom: 40px;
  }
  .taste-footer__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }
  .taste-footer__col a {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
  }
}

/* ---------------------------------------------------------------- Unified Dark CTA Panel (.brand-panel) */
body.theme-taste-subpage .brand-panel {
  background: var(--p-inv-bg);
  color: var(--p-inv-ink);
  border-radius: var(--r-lg);
}

body.theme-taste-subpage .brand-panel h2 {
  color: var(--p-inv-ink);
}

body.theme-taste-subpage .brand-panel p {
  color: var(--p-inv-muted);
}

body.theme-taste-subpage .brand-panel-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: var(--r-btn);
  background: var(--action);
  color: var(--action-ink);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  box-shadow: none;
  transition: background-color 180ms ease;
}

body.theme-taste-subpage .brand-panel-action:hover {
  background: #734b2e;
}

/* ---------------------------------------------------------------- Customization Page */
body.theme-taste-subpage.customization-page {
  --custom-header-height: var(--nav);
  --custom-chapters-height: 50px;
}

body.theme-taste-subpage.customization-page .customization-chapters {
  background: rgba(250, 248, 245, 0.96);
  border-bottom: 1px solid var(--line);
}

body.theme-taste-subpage .customization-actions a {
  border-radius: var(--r-btn);
  min-height: 48px;
  padding: 0 20px;
  font-weight: 500;
}

body.theme-taste-subpage .customization-action-primary {
  background: var(--action);
  color: var(--action-ink);
  border-color: var(--action);
}

body.theme-taste-subpage .customization-action-primary:hover {
  background: #734b2e;
}

body.theme-taste-subpage .customization-action-secondary {
  border-color: rgba(250, 248, 245, 0.38) !important;
  background: rgba(31, 27, 24, 0.72);
  color: var(--p-inv-ink);
}

body.theme-taste-subpage .catalog-swatch,
body.theme-taste-subpage .layout-drawing,
body.theme-taste-subpage .taste-media-frame {
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: none;
}

body.theme-taste-subpage .catalog-swatch figcaption {
  background: var(--surface);
  border-top: 1px solid var(--line);
}

body.theme-taste-subpage .catalog-swatch h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 400;
}

/* ---------------------------------------------------------------- Logistics & Calculator */
body.theme-taste-subpage .calc-shell {
  border-color: var(--line-strong);
  border-radius: var(--r-lg);
}

body.theme-taste-subpage .calc-topbar {
  background: var(--surface);
  border-bottom-color: var(--line);
}

body.theme-taste-subpage .calc-container-toggle,
body.theme-taste-subpage .calc-container-btn,
body.theme-taste-subpage .calc-chip-btn {
  border-radius: var(--r-btn);
}

/* ---------------------------------------------------------------- Solutions & Guides Index / Detail */
body.theme-taste-subpage .taste-hero-band {
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}

body.theme-taste-subpage .taste-directory-band {
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  padding-block: 48px 40px;
}

@media (max-width: 639px) {
  body.theme-taste-subpage .taste-directory-band {
    padding-block: 36px 28px;
  }
}

body.theme-taste-subpage .solution-filter-btn,
body.theme-taste-subpage .guide-filter-btn {
  min-height: 40px;
  padding: 0 16px;
  border-radius: var(--r-btn);
  font-size: 13px;
  font-weight: 500;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease;
}

body.theme-taste-subpage .solution-filter-btn:hover,
body.theme-taste-subpage .guide-filter-btn:hover {
  background: var(--bg);
  border-color: var(--ink);
}

body.theme-taste-subpage .solution-filter-btn.is-active,
body.theme-taste-subpage .guide-filter-btn.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--p-inv-ink);
}

body.theme-taste-subpage .solution-card,
body.theme-taste-subpage .guide-card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: border-color 180ms ease;
}

body.theme-taste-subpage .solution-card:hover,
body.theme-taste-subpage .guide-card:hover {
  border-color: var(--ink);
}

body.theme-taste-subpage .solution-card h2,
body.theme-taste-subpage .guide-card h2 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 400;
  line-height: 1.25;
}

body.theme-taste-subpage .taste-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: var(--r-btn);
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--action);
  font-size: 12px;
  font-weight: 500;
}

body.theme-taste-subpage .taste-card-box {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: #ffffff;
}

body.theme-taste-subpage .taste-surface-box {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
}

body.theme-taste-subpage .guide-prose h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(24px, 1.2vw + 18px, 30px);
  letter-spacing: -0.02em;
}

body.theme-taste-subpage .guide-prose table {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
}

body.theme-taste-subpage .guide-prose thead th {
  background: var(--surface);
}

/* ---------------------------------------------------------------- Unboxing Steps & Privacy Terms */
body.theme-taste-subpage .taste-steps-list {
  border-top: 1px solid var(--line);
  margin: 0;
  padding: 0;
  list-style: none;
}

body.theme-taste-subpage .taste-steps-item {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 8px 16px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

body.theme-taste-subpage .taste-steps-num {
  font-size: 13px;
  font-weight: 600;
  color: var(--action);
  padding-top: 4px;
  font-variant-numeric: tabular-nums;
}

body.theme-taste-subpage .taste-steps-item h2 {
  font-size: 22px;
  margin: 0 0 6px;
}

body.theme-taste-subpage .taste-steps-item p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
  margin: 0;
}

/* ---------------------------------------------------------------- Subpage Micro-Interactions & View Transitions */
@view-transition {
  navigation: auto;
}

:root {
  --sb-ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --sb-ease-enter: cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes sb-hero-enter {
  from {
    opacity: 0.01;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media screen and (prefers-reduced-motion: no-preference) {
  ::view-transition-old(root),
  ::view-transition-new(root) {
    animation-duration: 180ms;
    animation-timing-function: var(--sb-ease);
  }

  html:not([data-motion="off"]) body.theme-taste-subpage :is(
    .page-hero--standard .page-hero__content,
    .taste-hero-band > div
  ) {
    animation: sb-hero-enter 450ms var(--sb-ease-enter) both;
  }

  html:not([data-motion="off"]) body.theme-taste-subpage :is(
    .solution-card img,
    .guide-card img,
    .catalog-swatch img,
    .hub-card-media img,
    .taste-media-frame img
  ) {
    transition: transform 500ms var(--sb-ease);
    will-change: transform;
  }

  html:not([data-motion="off"]) body.theme-taste-subpage .hub-card-media {
    overflow: hidden;
  }

  html:not([data-motion="off"]) body.theme-taste-subpage :is(
    .solution-card,
    .guide-card,
    .hub-card,
    .catalog-swatch
  ) {
    transition: transform 180ms var(--sb-ease), border-color 180ms var(--sb-ease), box-shadow 180ms var(--sb-ease);
  }

  html:not([data-motion="off"]) body.theme-taste-subpage .taste-btn {
    transition: background-color 150ms var(--sb-ease), border-color 150ms var(--sb-ease), color 150ms var(--sb-ease), transform 90ms var(--sb-ease);
  }

  html:not([data-motion="off"]) body.theme-taste-subpage .taste-btn:active {
    transform: translateY(1px) scale(0.985);
  }

  @media (hover: hover) and (pointer: fine) {
    html:not([data-motion="off"]) body.theme-taste-subpage :is(
      .solution-card,
      .guide-card,
      .hub-card
    ):hover {
      transform: translateY(-2px);
      box-shadow: 0 12px 26px -18px rgb(31 27 24 / 0.24);
    }

    html:not([data-motion="off"]) body.theme-taste-subpage :is(
      .solution-card:hover img,
      .guide-card:hover img,
      .catalog-swatch:hover img,
      .hub-card:hover .hub-card-media img,
      .taste-media-frame:hover img
    ) {
      transform: scale(1.03);
    }

    html:not([data-motion="off"]) body.theme-taste-subpage .taste-btn:hover {
      transform: translateY(-1px);
    }
  }

  /* Below-the-fold architectural scroll settle (opt-in via subpage-motion.js only) */
  html:not([data-motion="off"]) body.theme-taste-subpage .sb-reveal {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 350ms var(--sb-ease-enter), transform 350ms var(--sb-ease-enter);
  }

  html:not([data-motion="off"]) body.theme-taste-subpage .sb-reveal.is-revealed {
    opacity: 1;
    transform: none;
  }
}

body.theme-taste-subpage .section-jumps a {
  transition: color 150ms ease, border-color 150ms ease;
}

@media (prefers-reduced-motion: reduce) {
  body.theme-taste-subpage :is(.page-hero--standard .page-hero__content, .taste-hero-band > div) {
    animation: none !important;
  }
  body.theme-taste-subpage .sb-reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  body.theme-taste-subpage :is(
    .solution-card,
    .guide-card,
    .hub-card,
    .catalog-swatch,
    .taste-btn,
    .solution-card img,
    .guide-card img,
    .catalog-swatch img,
    .hub-card-media img,
    .taste-media-frame img
  ) {
    transform: none !important;
    transition-property: color, background-color, border-color, opacity !important;
  }
}

