/* Navigation: search selectors, then read their media rules before editing.
   Materials: .materials-page .materials-card; catalog surface/spacing below.
   Shared hero: Tea FM hero; mobile <=920px; Desktop homepage refinements >=921px.
   Research cards: Научные результаты; alpha-wave; Original MRI.
   Catalog/products: Каталог и товарная иерархия; All product pages.
   Keep related changes in existing rules rather than appending new overrides. */
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("assets/fonts/manrope-cyrillic-400-700.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+20BD, U+2116;
}

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("assets/fonts/manrope-latin-400-700.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308,
    U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

html {
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
}

body {
  --page-gutter: clamp(20px, 4vw, 32px);
  --space-2: 2px;
  --space-4: 4px;
  --space-6: 6px;
  --space-8: 8px;
  --space-10: 10px;
  --space-12: 12px;
  --space-16: 16px;
  --space-20: 20px;
  --space-24: 24px;
  --space-28: 28px;
  --space-32: 32px;
  --space-48: 48px;

  --image-radius: 20px;
  --island-radius: 28px;
  --island-padding: var(--space-32);
  --content-max: 1120px;
  --island-width: 100%;
  --island-content-max: var(--content-max);
  --island-inline-padding: max(var(--page-gutter), calc((100% - var(--island-content-max)) / 2));

  margin: 0;

  font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  overflow-x: hidden;
}

button,
a {
  font: inherit;
}

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

.header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 0 var(--island-inline-padding);
  border: 0;
  background: transparent;
  pointer-events: none;
}

main {
  display: grid;
  grid-template-columns: minmax(0, 1fr);

}

.logo {
  margin-left: -19.12px;

  letter-spacing: 0;
}

.logo img {
  display: block;
  width: 110px;
  height: auto;
  transform: translateY(1px);
}

.cart-toggle,
.button,
.product button,
.cart-head button,
.qty button,
.checkout-form input,
.checkout-form textarea {
  border: 1px solid #111;
  background: #fff;
}

.cart-toggle,
.button,
.product button,
.cart-head button,
.qty button {
  cursor: pointer;
}

.cart-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  min-height: 42px;
  padding: 0;
  border-color: #dedede;
  border-radius: 999px;
  background: #fff;
}

.cart-toggle span {
  position: absolute;
  top: -5px;
  right: -5px;
  display: grid;
  min-width: 20px;
  height: 20px;
  place-items: center;
  padding: 0 var(--space-4);
  border: 1px solid #fff;
  border-radius: 999px;
  background: #111;
  color: #fff;
  font-size: 12px;
  line-height: 1;
  text-align: center;
}

.cart-icon {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: #111;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
}

.product-detail-page {
  width: 100%;
  margin: 0;
}

.hero {

  grid-template-columns: minmax(0, 1fr);
  gap: clamp(var(--space-32), 4vw, var(--space-48));

}

.hero-copy {
  min-width: 0;

}

.china-tea-section {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  grid-template-areas: "copy graphic";
  gap: 12px 28px;
}

.china-tea-section .china-tea-map {
  grid-area: graphic;
  min-width: 0;
  align-self: center;
  margin: 0;
}

.china-tea-map {
  width: 100%;
  max-width: var(--island-content-max);
  margin: 0 auto;
}

.china-tea-map picture,
.china-tea-map img {
  display: block;
  width: 100%;
  height: auto;
}

.china-tea-map img {
  border-radius: 24px;
}

h1,
h2,
p {
  margin-top: 0;
}

.hero p {
  max-width: 100%;

  font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;

  font-weight: 400;
  line-height: 1.5;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0 var(--space-16);
  border-radius: var(--button-radius);
  background: #111;
  color: #fff;
}

.promo-strip {
  width: min(100%, 480px);
  position: relative;
  display: block;
  margin: var(--space-16) 0 0;
  padding: var(--space-20) var(--space-20) var(--space-24);
  border: 0;

  overflow: hidden;
}

.promo-strip::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(68, 31, 25, .94), rgba(116, 46, 32, .82) 54%, rgba(130, 52, 33, .34));
  pointer-events: none;
}

.promo-copy {
  position: relative;
  z-index: 1;
  display: grid;
  width: 100%;
  align-content: center;
  gap: 0;
}

.promo-copy strong {
  display: block;
  margin-bottom: var(--space-10);
  color: #fffaf4;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.15;
}

.promo-copy > span {
  display: block;
  color: #fffaf4;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.45;
}

.promo-copy-code {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  margin: 2px 3px;
  padding: 4px 10px;
  border: 1px solid rgba(255, 250, 244, .82);
  border-radius: 9px;
  background: #fff7e9;

  font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: inherit;
  font-weight: 700;
  letter-spacing: 0;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 140ms ease, color 140ms ease, transform 140ms ease;
}

.promo-copy-code:hover { background: #fff; color: #54271e; }
.promo-copy-code:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.promo-copy-code.is-copied { background: #d9ead2; color: #254b2d; }

.promo-copy-status {
  display: inline-block;
  margin-left: 5px;
  color: #fffaf4;
  font-size: 13px;
  font-weight: 700;
  vertical-align: middle;
}

.promo-copy-status:empty { display: none; }

.snackbar {
  position: fixed;
  left: 50%;
  bottom: 18px;
  z-index: 100;
  width: fit-content;
  max-width: calc(100% - 40px);
  transform: translateX(-50%);
  padding: var(--space-8) var(--space-10);
  background: rgba(34, 34, 34, 0.86);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.25;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.14);
}

.snackbar[hidden] {
  display: none;
}

.catalog {
  padding-top: var(--space-32);
  padding-bottom: var(--space-48);
  scroll-margin-top: 78px;
}

.catalog > .promo-strip {
  width: 100%;
  margin: 0 0 var(--space-32);
}

.section-title {
  margin-bottom: var(--space-16);
}

.section-title h2 {
  margin-bottom: var(--space-6);
}

.section-title p {
  margin-bottom: 0;
  color: #666;
  font-size: 16px;
  line-height: 1.45;
}

.catalog .section-title p {
  color: #111;
}

.catalog .section-title {
  margin-bottom: var(--space-20);
}

.simple-section {
  padding-top: var(--space-48);
  padding-bottom: var(--space-48);
}

.simple-section h2 {
  margin-bottom: var(--space-12);
}

.simple-section p {
  max-width: 720px;
  margin: 0 0 var(--space-8);
  color: #555;
  font-size: 16px;
  line-height: 1.5;
}

.simple-section > h2 + p {
  margin-bottom: var(--space-48);
  color: #111;
}

.experience-section > h2 + p {
  margin-bottom: var(--space-32);
}

.simple-section a {
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.simple-section .section-subtitle {
  max-width: 720px;
  color: #111;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
}

.ozon-proof {
  margin: 0 0 var(--space-32);
}

.ozon-proof-title {
  margin: 0 0 var(--space-10);
}

.partners-title {
  margin: 0 0 var(--space-20);
}

.ozon-proof-grid {
  display: grid;
  gap: var(--space-12);
  max-width: 480px;
}

.ozon-proof-grid img {
  display: block;
  width: 100%;
  height: auto;
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-16);
  margin-top: 0;
}

.partner-card {
  min-width: 0;
}

.partner-card img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.partner-card h3 {
  margin: var(--space-10) 0 0;
  color: #111;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.2;
}

.about {
  padding-top: var(--space-48);
  padding-bottom: var(--space-48);
}

.about-head {
  max-width: 760px;
  margin-bottom: var(--space-20);
}

.about-head h2 {
  margin-bottom: var(--space-8);
}

.about-head p {
  margin-bottom: 0;
  color: #555;
  font-size: 16px;
  line-height: 1.5;
}

.about-principles {
  display: grid;
  gap: var(--space-16);
  max-width: 720px;
  margin: 0;
  padding: 0;
  counter-reset: principle;
  color: #444;
  font-size: 16px;
  line-height: 1.5;
  list-style: none;
}

.about-principles li {
  display: grid;
  min-height: var(--space-32);
  grid-template-columns: var(--space-32) minmax(0, 1fr);
  gap: var(--space-16);
  align-items: center;
  counter-increment: principle;
}

.about-principles li::before {
  content: counter(principle, decimal-leading-zero);
  display: grid;
  width: var(--space-32);
  height: var(--space-32);
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .78);
  border-radius: 8px;

  color: #fff;
  font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: var(--text-2-font-size);
  font-weight: 600;
  line-height: 1;
}

.about-principles li > div {
  min-width: 0;
}

.about-principles li strong {
  display: block;
  color: #222;
  font-weight: 700;
}

.about-principles li p {
  margin: 4px 0 0;
  color: #666;
  font-size: .9em;
  line-height: 1.45;
}

.sources {
  padding-top: var(--space-48);
  padding-bottom: var(--space-48);
}

.sources h2 {
  margin-bottom: var(--space-8);
}

.sources p {
  max-width: 760px;
  margin-bottom: var(--space-8);
  color: #666;
  font-size: 16px;
  line-height: 1.45;
}

.sources-all-link {
  display: inline-block;
  margin-bottom: var(--space-16);
  color: #333;
  font-size: 16px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.source-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-10);
  max-width: 560px;
}

.source-grid-final {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 420px;
}

.source-link {
  min-width: 0;
  display: grid;
  gap: var(--space-10);
  align-content: start;
  color: #333;
  font-size: 14px;
  line-height: 1.25;
  text-align: center;
}

.source-mark {
  display: grid;
  height: 72px;
  place-items: center;
  border: 0;
  background: transparent;
  color: #111;
  font-size: 15px;
  font-weight: 700;
}

.source-mark img {
  display: block;
  max-width: 100%;
  max-height: 72px;
  object-fit: contain;
}

.source-mark-image {
  background: transparent;
}

.source-link span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
}

.source-note {
  max-width: 680px;
  margin-top: var(--space-16);
  margin-bottom: 0;
  color: #777;
  font-size: 12px;
}

.source-list-section {
  display: grid;
  gap: var(--space-16);
  max-width: 760px;
}

.sources-page {
  counter-reset: source-number;
}

.source-list-section h2 {
  margin: 0;
  font-size: 32px;
  line-height: 1.08;
}

.source-list-intro {
  max-width: 680px;
  margin: 0;
  color: #555;
  font-size: 16px;
  line-height: 1.45;
}

.source-list {
  display: grid;
  gap: var(--space-16);
}

.source-list-item {
  display: grid;
  gap: var(--space-6);
  color: inherit;
  counter-increment: source-number;
}

.source-list-item strong {
  font-size: 18px;
  line-height: 1.25;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.source-list-item h3 {
  margin: 0;
}

.source-list-item h3 a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.sources-page .source-list-item h3 a::before {
  color: var(--terracotta-800);
  content: counter(source-number) ". ";
  font-weight: 700;
  text-decoration: none;
}

.source-list-section > h4 {
  margin: 0;
  font-weight: 400 !important;
}

.source-list-item span {
  color: #555;
  font-size: 16px;
  line-height: 1.45;
}

.grid {
  display: grid;

}

.product {

  min-width: 0;

}

.product-link {
  display: block;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}

.image-placeholder {
  display: grid;
  width: 100%;
  aspect-ratio: 3 / 4;
  place-items: center;
  border: 1px dashed #777;
  color: #777;
}

.product-image {
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  aspect-ratio: 3 / 4;
  object-fit: contain;
  background: #fff;
}


/* Only the photo fades; the page already provides the glass underneath. */
.tea-photo {
  --tea-photo-radius: 24%;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: var(--tea-photo-radius);
}


.tea-photo > .tea-photo-image {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  border-radius: inherit;
  -webkit-mask-image: url("assets/tea/photo-mask.svg");
  mask-image: url("assets/tea/photo-mask.svg");
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}

.product h3 {

  font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 20px;
  font-weight: 700;

  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.product-subtitle {
  display: block;
  overflow: hidden;
  margin: -2px 0 var(--space-8);
  color: #777;
  font-size: 13px;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.product p {
  display: -webkit-box;
  overflow: hidden;
  margin-bottom: var(--space-10);

  font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;

  line-height: 1.4;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.product-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-6);
  min-height: 22px;
  margin: 0 0 var(--space-10);
}

.product-tags span {

  white-space: nowrap;
}

.product-meta {
  margin-top: auto;
  margin-bottom: var(--space-10);
  color: #333;
  font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  font-weight: 700;
}

.product h3 + .product-meta {
  margin-top: 0;
}

.product-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-12);
  min-height: 40px;
  margin-top: auto;
}

.product-bottom .add-button {
  width: 100%;
  min-height: 44px;
  border: 1px solid #111;
  border-radius: var(--button-radius);
  background: #111;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
}

.product-content {

  min-height: 0;
}

.product-content > .product-link {

  flex: 0 0 auto;
  flex-direction: column;
}

.product-detail-page {
  padding: var(--space-32) 0 var(--space-48);
}

.product-detail-head {
  margin-bottom: var(--space-24);
}

.product-detail-card {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
  gap: var(--space-28);
  align-items: stretch;
  padding-top: var(--island-padding);
  padding-bottom: var(--island-padding);
}

@media (min-width: 761px) {
  .product-detail-page .product-detail-card {
    padding-top: calc(var(--island-padding) + 64px) !important;
  }
}

.product-detail-image {
  align-self: start;
  min-height: 0;
  height: auto;
  aspect-ratio: 1;
}

.product-detail-content {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.product-detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-8);
  margin-bottom: var(--space-12);
  color: #666;
  font-size: 13px;
}

.product-detail-meta span + span::before {
  content: "·";
  margin-right: var(--space-8);
}

.product-detail-content h1 {
  margin-bottom: var(--space-8);
  font-size: 44px;
}

.product-detail-content > .product-subtitle {
  margin: 0 0 var(--space-10);
  color: #666;
  font-size: 16px;
}

.product-detail-content p {
  max-width: 520px;
  margin-bottom: var(--space-12);
  color: #444;
  font-size: 17px;
  line-height: 1.45;
}

.product-detail-content > .product-tags {
  max-width: 520px;
  margin-bottom: var(--space-12);
}

.product-detail-content > .product-tags span {
  min-height: 24px;
  padding: var(--space-4) var(--space-8);
  font-size: 16px;
}

.product-detail-price {
  margin-bottom: var(--space-4);
  color: #333;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.15;
}

.product-detail-delivery {
  margin-bottom: var(--space-12);
  color: #777;
  font-size: 15px;
  line-height: 1.35;
}

.product-detail-content .product-bottom {
  justify-content: flex-start;
  max-width: 260px;
  flex-wrap: wrap;
  margin-bottom: var(--space-20);
}

.product-cart-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--terracotta-800) !important;
  font-size: 14px;
  font-weight: 700;
  text-underline-offset: 4px;
}

.product-cart-link:focus-visible { outline: 3px solid var(--terracotta-700); outline-offset: 3px; }

.product-detail-content .product-bottom .add-button,
.product-detail-content .product-bottom .inline-qty {
  min-height: 52px;
  font-size: 17px;
}

.product-detail-content .product-bottom .inline-qty {
  grid-template-columns: 52px minmax(0, 1fr) 52px;
}

.product-detail-content .product-bottom .inline-qty strong,
.product-detail-content .product-bottom .inline-qty button {
  min-height: 50px;
}

.product-detail-content .product-bottom .inline-qty strong {
  font-size: 20px;
}

.detail-list {
  display: grid;
  gap: 0;
  margin: auto 0 0;
  padding-top: var(--space-8);
}

.detail-list div {
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr);
  gap: var(--space-16);
  padding: var(--space-8) 0;
  border-bottom: 1px solid #eee;
}

.detail-list div:last-child {
  border-bottom: 0;
}

.detail-list dt,
.detail-list dd {
  margin: 0;
  font-size: 17px;
  line-height: 1.45;
}

.detail-list dt {
  color: #777;
}

.detail-list dt.detail-use-case,
.detail-list dt.detail-use-case + dd {
  color: var(--terracotta-700) !important;
  font-weight: 700 !important;
  font-size: 16px !important;
}

.detail-list dd {
  color: #222;
}

.product-faq {
  width: 100%;
  max-width: 840px;
  grid-column: 1 / -1;
  justify-self: center;
  margin-top: 0;
  padding-top: var(--space-20);
  border-top: 1px solid #eee;
}

.product-faq h2 {
  margin-bottom: var(--space-10);
  font-size: 22px;
  line-height: 1.2;
}

.product-faq details {
  border-bottom: 1px solid #eee;
}

.product-faq summary {
  display: flex;
  min-height: 44px;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-16);
  color: #222;
  cursor: pointer;
  font-size: 17px;
  font-weight: 600;
  list-style: none;
}

.product-faq summary::-webkit-details-marker {
  display: none;
}

.product-faq summary::after {
  content: "";
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  border-right: 1.5px solid #777;
  border-bottom: 1.5px solid #777;
  transform: rotate(45deg) translateY(-2px);
  transform-origin: center;
}

.product-faq details[open] summary::after {
  transform: rotate(225deg) translateY(-2px);
}

.product-faq p {
  max-width: 520px;
  margin: 0 0 var(--space-12);
  color: #555;
  font-size: 15px;
  line-height: 1.45;
}

.info-value {
  display: inline;
  max-width: 100%;
}

.info-popover-wrap {
  position: relative;
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  margin-left: var(--space-6);
  vertical-align: 0;
}

.info-button {
  display: inline-grid;
  width: 16px;
  height: 16px;
  min-height: 16px;
  place-items: center;
  padding: 0;
  border: 1px solid #d6d6d0;
  border-radius: 999px;
  background: #fff;
  color: #777;
  cursor: pointer;
  font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
}

.info-button:hover,
.info-button:focus-visible,
.info-button[aria-expanded="true"] {
  border-color: #111;
  color: #111;
  outline: none;
  background: #f7f7f5;
}

.info-popover {
  position: absolute;
  right: 0;
  bottom: calc(100% + 8px);
  z-index: 20;
  display: grid;
  gap: var(--space-10);
  width: min(300px, calc(100vw - 40px));
  padding: var(--space-12) var(--space-12);
  border: 1px solid #dedede;
  background: #fff;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
  color: #333;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.45;
}

.info-popover.is-fixed {
  position: fixed;
  right: auto;
  bottom: auto;
  left: var(--info-left, 20px);
  top: var(--info-top, 96px);
  max-height: calc(100vh - 40px);
  overflow: auto;
}

.info-popover[hidden] {
  display: none;
}

.info-source {
  display: block;
  color: #777;
  font-size: 13px;
}

.info-source a {
  color: #333;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.info-map {
  display: block;
  width: 100%;
  max-height: 140px;
  object-fit: contain;
}

.related-catalog {
  margin-top: var(--space-12);
  padding-top: var(--island-padding);
  padding-bottom: var(--island-padding);
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-6);
  margin: 0 0 var(--space-16);
  color: #777;
  font-size: 13px;
}

.category-page > .breadcrumbs,
.guide-page > .breadcrumbs {
  padding-left: var(--island-inline-padding);
  padding-right: var(--island-inline-padding);
}

.breadcrumbs a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.breadcrumbs span + span::before {
  content: "/";
  margin-right: var(--space-6);
  color: #aaa;
}

.seo-copy,
.category-page,
.guide-page,
.index-seo {
  width: 100%;
  margin: 0;
}

.seo-copy {
  padding: var(--space-48) 0 0;
}

.seo-copy-grid,
.category-intro,
.guide-layout {
  display: grid;
  grid-template-columns: minmax(220px, 0.72fr) minmax(0, 1.28fr);
  gap: var(--space-32);
  align-items: start;
}

.seo-copy h2,
.seo-copy h3,
.category-page h1,
.category-page h2,
.guide-page h1,
.guide-page h2,
.index-seo h2 {
  margin-bottom: var(--space-12);
}

.seo-copy p,
.seo-copy li,
.category-page p,
.guide-page p,
.guide-page li,
.index-seo p {
  color: #444;
  line-height: 1.5;
}

.seo-copy ul,
.guide-page ul,
.guide-page ol {
  margin: 0;
  padding-left: var(--space-20);
}

.seo-copy section,
.guide-page section {
  margin-bottom: var(--space-28);
}

.category-page,
.guide-page {
  gap: var(--space-12);
  padding: var(--space-12) 0 var(--space-48);
}

.materials-head {
  margin-bottom: 0;
  padding-top: var(--island-padding);
  padding-bottom: var(--island-padding);
}

.materials-head h1 {
  margin-bottom: var(--space-12);
}

.materials-head p {
  color: #555;
}

.sources-page .materials-head {
  display: grid;
  justify-content: start;
  gap: var(--space-8);
}

.sources-page .materials-head h1,
.sources-page .materials-head p {
  margin: 0;
}

.sources-page .materials-head p a,
.sources-page .sources-hero .hero-copy p a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.sources-page .source-list-section[id] {
  scroll-margin-top: 78px;
}

.category-intro {
  padding-top: var(--island-padding);
  padding-bottom: var(--island-padding);
  border-bottom: 0;
}

.category-intro p {
  max-width: 680px;
}

.category-products,
.guide-links,
.index-seo {
  padding-top: var(--island-padding);
  padding-bottom: var(--island-padding);
}

.guide-layout,
.source-list-section,
.seo-copy {
  padding-top: var(--island-padding);
  padding-bottom: var(--island-padding);
}

.text-link-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-12);
}

.text-link {
  display: grid;
  gap: var(--space-8);
  min-height: 122px;
  border: 1px solid #ddd;
  padding: var(--space-12);
  background: #fff;
}

.text-link strong {
  font-size: 17px;
}

.text-link span {
  color: #555;
  font-size: 14px;
  line-height: 1.4;
}

.materials-catalog {
  display: grid;
  gap: var(--space-32);
  padding-top: var(--island-padding);
  padding-bottom: var(--island-padding);
}

.materials-catalog-head,
.materials-list {
  width: 100%;
  max-width: 760px;
}

.materials-catalog-head h1 {
  margin: 0 0 var(--space-12);
}

.materials-catalog-head p {
  margin: 0;
  color: #555;
  line-height: 1.5;
}

.materials-list {
  gap: var(--space-24);
}

.materials-list .source-list-item strong {
  text-decoration: none;
}

.materials-list .source-list-item i {
  margin-top: var(--space-4);
  color: #333;
  font-size: 13px;
  font-style: normal;
  font-weight: 600;
}

.materials-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: var(--space-24);
}

.guide-links {
  display: grid;
  gap: clamp(var(--space-48), 7vw, var(--space-48));
}

.materials-group {
  display: grid;
  gap: var(--space-20);
}

.materials-group-head {
  display: grid;
  grid-template-columns: minmax(180px, 0.6fr) minmax(0, 1.4fr);
  gap: var(--space-28);
  align-items: baseline;
  padding-bottom: var(--space-16);
  border-bottom: 1px solid #ddd;
}

.materials-group-head h2,
.materials-group-head p {
  margin: 0;
}

.materials-group-head h2 {
  font-size: 22px;
}

.materials-group-head p {
  max-width: 560px;
  color: #666;
  font-size: 14px;
  line-height: 1.5;
}

.materials-guide-grid .text-link-featured {
  grid-column: span 2;
}

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

.guide-links .text-link {
  position: relative;
  align-content: start;
  min-height: 176px;
  gap: var(--space-12);
  padding: var(--space-20);
  border-radius: var(--button-radius);
  background: #fafaf8;
  transition: border-color 160ms ease, background-color 160ms ease;
}

.guide-links .text-link:hover {
  border-color: #aaa;
  background: #fff;
}

.guide-links .text-link:focus-visible {
  outline: 2px solid #111;
  outline-offset: 3px;
}

.guide-links .text-link small {
  color: #777;
  font-size: 12px;
}

.guide-links .text-link strong {
  max-width: 620px;
  font-size: 18px;
  line-height: 1.3;
}

.guide-links .text-link-featured strong {
  max-width: 680px;
  font-size: clamp(22px, 2.5vw, 30px);
  letter-spacing: -0.025em;
  line-height: 1.15;
}

.guide-links .text-link i {
  align-self: end;
  margin-top: auto;
  padding-top: var(--space-8);
  color: #333;
  font-size: 13px;
  font-style: normal;
  font-weight: 600;
}

/* Материалы: редакционная витрина и лонгрид */
.materials-head-editorial {
  min-height: 430px;
  display: grid;
  align-content: end;
  background: #dbe6cf;
}

.eyebrow,
.materials-head-editorial .eyebrow {
  margin: 0 0 var(--space-20);
  color: #526348;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.materials-head-editorial h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(54px, 8vw, 96px);
  font-weight: 500;
  letter-spacing: -0.065em;
  line-height: 0.92;
}

.materials-head-editorial > p:last-child {
  max-width: 620px;
  margin: var(--space-32) 0 0;
  color: #33402d;
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.45;
}

.materials-feature {
  padding-top: var(--island-padding);
  padding-bottom: var(--island-padding);
}

.materials-feature-card {
  display: grid;
  grid-template-columns: minmax(260px, 0.82fr) minmax(360px, 1.18fr);
  gap: clamp(var(--space-28), 5vw, var(--space-48));
}

.materials-feature-visual {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  border-radius: 22px;
  background: #dce2d4;
}

.materials-feature-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 450ms ease;
}

.materials-feature-card:hover .materials-feature-visual img {
  transform: scale(1.025);
}

.materials-feature-visual > span {
  position: absolute;
  top: 20px;
  left: 20px;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  font-size: 13px;
  font-weight: 700;
}

.materials-feature-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--space-28) 0;
}

.materials-feature-copy > strong {
  max-width: 680px;
  margin: var(--space-20) 0;
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1.06;
}

.materials-feature-copy > span:not(.article-meta, .article-read) {
  max-width: 570px;
  color: #545b50;
  font-size: 17px;
  line-height: 1.6;
}

.article-read {
  align-self: flex-start;
  margin-top: var(--space-32);
  padding-bottom: var(--space-4);
  border-bottom: 1px solid;
  font-size: 14px;
  font-weight: 700;
}

.article-breadcrumbs {
  padding-left: var(--island-inline-padding);
  padding-right: var(--island-inline-padding);
}

.article-hero {

  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);

  gap: clamp(var(--space-32), 7vw, var(--space-48));
  align-items: center;

}

.article-lead {

  margin: 0;

}

.article-hero-image {
  height: min(55vw, 500px);
  margin: 0;
  overflow: hidden;
  border-radius: 200px 200px 24px 24px;
  background: #ccd6c4;
}

.article-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-shell {
  display: grid;

  justify-content: center;

}

.article-toc {
  position: sticky;
  top: 90px;
  align-self: start;
  display: grid;
  gap: var(--space-12);
}

.article-toc p {
  margin: 0 0 var(--space-8);
  color: #777;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.article-toc a {
  color: #687063;
  font-size: 13px;
  line-height: 1.35;
}

.article-body p {
  margin: 0 0 var(--space-24);
}

.article-body section {
  scroll-margin-top: 90px;

}

.article-body h2 {
  margin: 0 0 var(--space-32);

}

.article-body sup a,
.article-notes a {
  color: var(--article-green);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.article-body blockquote {

  line-height: 1.35;
}

.article-callout > span,
.question-card > span {
  display: block;
  margin-bottom: var(--space-12);

  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.article-callout p {
  margin: 0;

  line-height: 1.55;
}

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

}

.taste-grid > div {

  border: 1px solid #e3e3de;

}

.taste-grid span {
  color: #778071;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.taste-grid h3 {

  letter-spacing: -0.025em;
}

.taste-grid p {
  margin: 0;
  color: #545953;
  font-size: 15px;
  line-height: 1.55;
}

.question-card ul {
  display: grid;
  gap: var(--space-12);
  margin: 0;
  padding-left: var(--space-20);
}

.question-card li {
  font-size: 18px;
  line-height: 1.5;
}

.cheatsheet dl {
  margin: 0;
}

.cheatsheet dl > div {
  display: grid;
  grid-template-columns: minmax(150px, 0.75fr) minmax(0, 1.25fr);
  gap: var(--space-24);
  padding: var(--space-16) 0;
  border-top: 1px solid rgba(56, 72, 49, 0.22);
}

.cheatsheet dt {
  font-weight: 700;
}

.cheatsheet dd {
  margin: 0;
  color: #485341;
  line-height: 1.5;
}

.article-notes {
  padding-top: var(--space-48);
  border-top: 1px solid #deded8;
}

.article-notes h2 {
  font-size: 24px;
}

.article-notes ol {
  display: grid;
  gap: var(--space-16);
  padding-left: var(--space-20);
}

.article-notes li {
  color: #60645e;
  font-size: 13px;
  line-height: 1.65;
}

.article-back {
  display: inline-flex;
  gap: var(--space-10);
  margin-top: var(--space-48);
  font-size: 14px;
  font-weight: 700;
}

.price {
  font-weight: 700;
}

.product button {
  min-height: 38px;
  padding: 0 var(--space-10);
}

.inline-qty {
  display: none;
  align-items: center;
  justify-content: space-between;
  width: 100%;

  border-radius: var(--button-radius);

}

.inline-qty.active {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 44px;
}

.inline-qty strong {
  display: grid;

  place-items: center;
  color: #111;
  font-size: 17px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.inline-qty button {
  width: auto;
  height: auto;
  min-height: 42px;
  padding: 0;
  border: 0;
  background: #111;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
}

.add-button.hidden {
  display: none;
}

.footer {
  margin: var(--space-12) 0 0;
  padding-top: var(--space-28);
  padding-bottom: var(--space-32);

  font-size: 13px;
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(130px, 0.7fr) minmax(170px, 0.9fr) minmax(220px, 1fr);
  gap: var(--space-28);
}

.footer p {
  margin: var(--space-6) 0 0;

}

.footer-section {
  display: grid;
  align-content: start;
  gap: var(--space-10);
}

.footer-section h2,
.footer-section h3 {

  color: #111;
  font-size: var(--h3-font-size) !important;
  font-weight: 600 !important;
  line-height: 1.25;
}

.footer-section a {
  color: #000;
  text-decoration: none;
}

.footer-socials {
  display: flex;
  gap: var(--space-8);
  margin-top: var(--space-4);
}

.footer-socials a {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 0;
  color: #333;
  text-decoration: none;
}

.footer-socials img {
  width: auto;
  height: 32px;
  display: block;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-8) var(--space-12);
  margin-top: var(--space-32);

}

.footer-legal-name {
  flex-basis: 100%;

}

.page {
  margin-top: var(--space-12);
  margin-bottom: 0;
  padding-top: var(--island-padding);
  padding-bottom: var(--island-padding);
}

.page h1 {
  max-width: 12ch;
  margin-bottom: var(--space-28);
}

.page section {
  margin-bottom: var(--space-28);
  border: 0;
  background: transparent;
  padding: 0;
}

.page section h2 {
  margin-bottom: var(--space-12);
  font-size: 24px;
}

.page section p {
  margin-bottom: var(--space-12);
  color: #444;
  line-height: 1.5;
}

.page section p:last-child {
  margin-bottom: 0;
}

/* The fixed header occupies no flow space; content before the footer fills a viewport. */
body > main,
body > .first-screen-stage {
  min-height: 100vh;
  min-height: 100lvh;
}

.first-screen-stage {
  padding-top: var(--space-12);
}

.feedback-page {
  display: block;
  min-height: 0;
  margin-top: 0;
}

.feedback-page h1 {
  max-width: none;
  margin-bottom: var(--space-12);
}

.feedback-form {
  display: grid;
  gap: var(--space-32);
}

.feedback-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.feedback-form textarea {
  width: 100%;
  min-height: 280px;
  resize: none;
  padding: var(--space-16);
  border: 1px solid #d8d8d8;
  border-radius: 18px;
  outline: none;
  background: var(--page-bg);
  color: #111;
  font: 400 16px/1.5 "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

.feedback-form textarea:focus {
  border-color: #111;
}

.feedback-form textarea::placeholder {
  color: #777;
}

.feedback-submit {
  width: 200px;
  min-height: 46px;
  padding: 0 var(--space-16);
  border: 0;
  border-radius: var(--button-radius);
  background: #111;
  color: #fff;
  cursor: pointer;
  font: 400 16px/1 "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

.feedback-submit:disabled {
  cursor: wait;
  opacity: 0.7;
}

.feedback-actions {
  display: grid;
  justify-items: start;
  gap: var(--space-12);
}

.feedback-error {
  max-width: 620px;
  margin: 0;

  font-size: 14px;
  line-height: 1.45;
}

.feedback-error a {
  color: inherit;
  font-weight: 700;
  text-decoration: underline;
}

.feedback-toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 30;
  min-width: 180px;
  max-width: calc(100% - 40px);
  padding: var(--space-12) var(--space-20);
  border-radius: 999px;
  background: #111;
  color: #fff;
  font-size: 16px;
  line-height: 1.2;
  text-align: center;
  opacity: 0;
  transform: translate(-50%, 12px);
  transition: opacity 180ms ease, transform 180ms ease;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.16);
}

.feedback-toast[data-status="error"] {
  background: var(--red-500);
}

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

.cart {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: none;
  justify-content: flex-end;
  background: rgba(0, 0, 0, 0.35);
}

.cart.open {
  display: flex;
}

.cart-panel {
  width: min(420px, 100%);
  height: 100%;
  display: flex;
  flex-direction: column;
  border-left: 1px solid #111;
  background: #fff;
}

.cart-head,
.cart-footer {
  padding: var(--space-16);
  border-bottom: 1px solid #111;
}

.cart-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cart-head h2 {
  font-size: 28px;
}

.cart-head button {
  width: 36px;
  height: 36px;
  border-radius: var(--button-radius);
  font-size: 24px;
  line-height: 1;
}

.cart-list {
  max-height: 28vh;
  overflow: auto;
  padding: 0 var(--space-16);
}

.cart-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--space-12);
  padding: var(--space-16) 0;
  border-bottom: 1px solid #ddd;
}

.cart-item strong,
.cart-item span {
  display: block;
}

.cart-item span {
  margin-top: var(--space-4);
  color: #555;
}

.qty {
  display: grid;
  grid-template-columns: 44px 3ch 44px;
  align-items: center;
  gap: var(--space-8);
}

.qty strong {
  display: grid;
  width: 3ch;
  min-width: 3ch;
  place-items: center;
  text-align: center;
  font-variant-numeric: tabular-nums;
}

.qty button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  min-height: 44px;
  padding: 0;
  border: 0;
  border-radius: var(--button-radius);
  font-family: inherit;
  font-size: 20px !important;
  line-height: 1;
  transition: background-color .15s ease;
}

.qty button:focus-visible {
  outline: 3px solid var(--terracotta-700);
  outline-offset: 3px;
}

.empty {
  display: none;
  padding: var(--space-16);
  color: #555;
}

.empty.visible {
  display: block;
}

.cart-empty {
  display: none;
  padding: 0;
}

.cart-empty.visible {
  display: grid;
  justify-items: start;
  gap: var(--space-8);
}

.cart-empty strong {
  font-size: 18px;
  line-height: 1.3;
}

.cart-empty p {
  margin: 0;
  color: #555;
  font-size: 14px;
  line-height: 1.45;
}

.cart-empty .button {
  width: min(100%, 240px);
  margin-top: var(--space-12);
}

.cart-footer {
  border-top: 1px solid #111;
  border-bottom: 0;
}

.checkout-form {
  flex: 1;
  overflow: auto;
  padding: var(--space-16);
  border-top: 1px solid #111;
}

.checkout-form h3 {
  margin: 0 0 var(--space-12);
}

.checkout-form label {
  display: grid;
  gap: var(--space-6);
  margin-bottom: var(--space-10);
  color: #333;
  font-size: 13px;
}

.checkout-form input,
.checkout-form textarea {
  width: 100%;
  padding: var(--space-8);
  border-radius: var(--button-radius);
}

.checkout-form .check {
  grid-template-columns: auto 1fr;
  align-items: start;
  line-height: 1.35;
}

.checkout-form .check input {
  width: auto;
  margin-top: var(--space-2);
}

.checkout-form p {
  margin-bottom: 0;
  color: #444;
  font-size: 13px;
  line-height: 1.4;
}

.total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-12);
}

.full {
  width: 100%;
}

.cart-page {
  margin-top: var(--space-12);
  margin-bottom: 0;
  min-height: calc(100svh - 62px);
  padding-top: var(--island-padding);
  padding-bottom: var(--island-padding);
  overflow-x: hidden;
}

.first-screen-stage > .cart-page {
  min-height: 0;
  margin-top: 0;
}

.first-screen-stage > .checkout-page {
  padding-bottom: var(--island-padding);
}

.cart-page-head {
  margin-bottom: var(--space-24);
}

.checkout-page-head {
  margin-bottom: var(--space-16);
}

.back-link {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  border: 1px solid #ddd;
  padding: 0 var(--space-12);
  color: #333;
  background: #fff;
}

.back-link-quiet {
  min-height: auto;
  border: 0;
  padding: 0;
  color: #777;
  background: transparent;
  font-size: 13px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cart-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  gap: var(--space-32);
  align-items: start;
}

.cart-card,
.one-click-card {
  min-width: 0;
  border: 0;
  background: transparent;
  padding: 0;
}

.cart-section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-16);
  margin-bottom: var(--space-16);
}

.cart-section-head span {
  color: #666;
  font-size: 14px;
}

.cart-card h2,
.one-click-card h2 {
  margin: 0;
  font-size: 22px;
  line-height: 1.2;
}

.cart-page-list {
  display: grid;
  min-width: 0;
}

.cart-page-item {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr) 9ch auto;
  gap: var(--space-12);
  align-items: center;
  padding: var(--space-12) 0;
  border-bottom: 1px solid #ddd;
}

.cart-page-item:first-child {
  border-top: 1px solid #ddd;
}

.cart-item-image {
  display: block;
  width: 70px;
  height: 70px;
  padding: 0;
  border-radius: var(--tea-photo-radius, 12px);
  object-fit: contain;
  background: transparent;
}

.cart-item-placeholder {
  display: grid;
  place-items: center;
  border: 1px dashed #aaa;
  color: #777;
  font-size: 10px;
}

.cart-item-main,
.cart-item-price {
  min-width: 0;
}

.cart-item-main > strong {
  font-size: 16px;
  line-height: 1.25;
}

.cart-item-main span,
.cart-item-price span {
  display: block;
  margin-top: var(--space-4);
  color: #555;
  font-size: 13px;
  line-height: 1.4;
}

.cart-item-price {
  grid-column: 3;
  grid-row: 1;
  width: 9ch;
  text-align: right;
  white-space: nowrap;
}

.cart-page-item > .qty {
  grid-column: 4;
  grid-row: 1;
  justify-self: end;
}

.cart-item-price strong {
  font-size: 16px;
  line-height: 1.25;
}

.cart-page-item.is-unavailable .cart-item-image,
.cart-page-item.is-unavailable .cart-item-main > strong,
.cart-page-item.is-unavailable .cart-item-main > span,
.cart-page-item.is-unavailable .cart-item-price {
  opacity: 0.42;
}

.cart-page-item.is-unavailable .cart-item-image {
  filter: grayscale(1);
}

.cart-page-item.is-unavailable [data-cart-item-quantity],
.cart-page-item.is-limited [data-cart-item-quantity] {
  opacity: 0.42;
}

.cart-item-availability {
  display: block;
  margin-top: var(--space-6);
  color: #9a3f00;
  font-size: 13px;
  line-height: 1.35;
}

.cart-item-main .cart-item-availability span {
  display: inline;
  margin: 0;
  color: inherit;
  font-size: inherit;
  line-height: inherit;
}

.cart-item-availability button {
  border: 0;
  padding: 0;
  color: #111;
  background: transparent;
  font: inherit;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.qty button:disabled,
.inline-qty button:disabled,
.add-button:disabled {
  border-color: #ddd;
  color: #aaa;
  cursor: not-allowed;
  opacity: 0.45;
}

.cart-total-discounted {
  color: #111;
  font-weight: 700;
}

.cart-summary .cart-total-discounted span,
.cart-summary .cart-total-discounted strong {
  color: #111;
  font-size: 18px;
  font-weight: 700;
}

.cart-summary {
  display: grid;
  width: 100%;
  max-width: 420px;
  gap: var(--space-8);
  margin: 0 0 0 auto;
}

.cart-summary-line {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-16);
  color: #555;
  font-size: 14px;
}

.cart-summary-line strong {
  color: #111;
  font-size: 14px;
  white-space: nowrap;
}

.cart-summary p {
  margin: 0;
  color: #555;
  font-size: 14px;
  line-height: 1.4;
}

.cart-summary .cart-summary-note {
  color: #666;
  font-size: 13px;
  line-height: 1.35;
}

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

.unified-checkout .checkout-methods {
  margin-bottom: 0;
}

.unified-checkout .checkout-method-copy > span {
  font-size: 14px;
  line-height: 1.5;
}

.unified-checkout .checkout-contact {
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}

.unified-checkout .checkout-contact legend {
  font-weight: 600;
  margin-bottom: 6px;
}

.unified-checkout .contact-methods {
  margin-top: 12px;
}

.unified-checkout .cart-promo summary {
  cursor: pointer;
  font-size: 14px;
}

.unified-checkout .cart-promo[open] summary {
  margin-bottom: 10px;
}

.checkout-methods {
  display: grid;
  gap: 0;
  min-width: 0;
  margin: 0 0 var(--space-12);
  border: 0;
  padding: 0;
}

.checkout-methods h2 {
  margin-bottom: var(--space-16);
  padding: 0;
  color: #111;
  font-size: var(--h2-font-size) !important;
  font-weight: 600 !important;
  line-height: 1.2;
}

.cart-delivery-intro .checkout-method-fixed {
  max-width: 680px;
}

.checkout-method {
  position: relative;
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr) auto;
  gap: var(--space-10);
  align-items: center;
  min-height: 60px;
  border: 1px solid #d5d5d5;
  border-radius: 14px;
  padding: var(--space-10) var(--space-12);
  cursor: pointer;
}

.checkout-method-fixed {
  grid-template-columns: minmax(0, 1fr) auto;
  border: 0;
  padding: 0;
  box-shadow: none;
  cursor: default;
}

.checkout-method-fixed.is-unavailable {
  border-color: #d5d5d5;
  box-shadow: none;
  cursor: not-allowed;
  opacity: 0.55;
}

.checkout-method:has(input:checked) {
  border-color: #111;
  box-shadow: inset 0 0 0 1px #111;
}

.checkout-method:has(input:focus-visible) {
  outline: 2px solid #111;
  outline-offset: 2px;
}

.checkout-method:has(input:disabled) {
  cursor: not-allowed;
  opacity: 0.55;
}

.checkout-method input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.checkout-method-mark {
  display: grid;
  width: 18px;
  height: 18px;
  place-items: center;
  border: 1px solid #888;
  border-radius: 50%;
}

.checkout-method:has(input:checked) .checkout-method-mark::after {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #111;
  content: "";
}

.checkout-method-copy {
  display: grid;
  min-width: 0;
  gap: 2px;
}

.checkout-method-copy strong {
  color: #111;
  font-size: 14px;
  line-height: 1.25;
}

.checkout-method-copy > span {
  color: #666;
  font-size: 12px;
  line-height: 1.3;
}

.checkout-method-status {
  color: #777;
  font-size: 11px;
  line-height: 1.2;
  text-align: right;
}

.cart-availability-alert {
  display: grid;
  gap: var(--space-4);
  margin: calc(-1 * var(--space-4)) 0 var(--space-12);
  border-radius: 12px;
  padding: var(--space-10) var(--space-12);
  border: 1px solid var(--red-border);
  color: var(--red-900);
  background: var(--red-100);
  font-size: 13px;
  line-height: 1.35;
}

.cart-availability-alert[hidden] {
  display: none;
}

.cart-availability-alert strong,
.cart-availability-alert span {
  color: inherit;
  font-size: inherit;
  line-height: inherit;
}

.cart-promo {
  display: grid;
  gap: var(--space-8);
  margin-bottom: var(--space-8);
}

.cart-promo input {
  width: 100%;
  min-height: 46px;
  border: 1px solid #ccc;
  border-radius: var(--button-radius);
  padding: 0 var(--space-12);
  font: inherit;
  font-size: 16px;
  font-weight: 400;
}

.cart-promo input:focus {
  outline: 2px solid #111;
  outline-offset: 1px;
}

.cart-promo .promo-status {
  color: #666;
  font-size: 13px;
  line-height: 1.35;
}

.cart-promo .promo-status:empty {
  display: none;
}

.cart-discount-line strong,
.promo-status[data-status="success"] {
  color: #333;
}

.cart-summary .checkout-link {
  margin-top: var(--space-8);
}

.promo-status[data-status="error"] {
  color: var(--red-700);
}

.checkout-link.disabled {
  pointer-events: none;
  opacity: 0.45;
}

.one-click-card label {
  display: grid;
  gap: var(--space-6);
  margin-bottom: var(--space-12);
  color: #444;
  font-size: 14px;
  font-weight: 700;
}

.hp-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.one-click-card input,
.one-click-card textarea {
  width: 100%;
  border: 1px solid #ccc;
  border-radius: var(--button-radius);
  padding: var(--space-12);
  font: inherit;
  font-weight: 400;
}

.one-click-card .consent-line {
  display: flex;
  align-items: flex-start;
  gap: var(--space-8);
  color: #444;
  font-size: 13px;
  line-height: 1.35;
  font-weight: 500;
}

.one-click-card .consent-line input {
  width: auto;
  margin-top: var(--space-2);
  accent-color: #111;
}

.checkout-form-card .consent-line:last-child {
  margin-bottom: 0;
}

.one-click-card fieldset {
  margin: 0 0 var(--space-12);
  border: 0;
  padding: 0;
}

.one-click-card legend {
  margin-bottom: var(--space-8);
  color: #444;
  font-size: 14px;
  font-weight: 700;
}

.contact-methods {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: var(--space-8);
}

.contact-methods.compact {
  grid-template-columns: repeat(5, minmax(44px, 1fr));
  gap: var(--space-6);
}

.contact-methods label {
  min-width: 0;
  min-height: 72px;
  display: grid;
  align-items: center;
  align-content: center;
  justify-content: center;
  gap: var(--space-6);
  margin: 0;
  border: 1px solid #ccc;
  border-radius: var(--button-radius);
  background: #fff;
  color: #333;
  font-size: 12px;
  font-weight: 400;
  text-align: center;
  cursor: pointer;
}

.contact-methods.compact label {
  min-height: 54px;
  gap: var(--space-4);
  font-size: 11px;
}

.contact-methods input {
  position: absolute;
  width: auto;
  opacity: 0;
  pointer-events: none;
}

.contact-methods svg {
  width: 24px;
  height: 24px;
  margin: 0 auto;
}

.contact-methods img {
  display: block;
  width: 24px;
  height: 24px;
  margin: 0 auto;
  object-fit: contain;
}

.contact-methods svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.contact-methods.compact svg,
.contact-methods.compact img {
  width: 20px;
  height: 20px;
}

.contact-methods input:checked + svg,
.contact-methods label:has(input:checked) {
  border-color: #111;
  color: #111;
  background: #f6f6f6;
}

.one-click-card p {
  margin: var(--space-12) 0 0;
  color: #555;
  font-size: 13px;
  line-height: 1.4;
}

.form-status {
  min-height: 18px;
}

.form-status[data-status="success"] {
  color: #1f7a3a;
}

.form-status[data-status="error"] {
  color: var(--red-500);
}

.one-click-card a {
  text-decoration: underline;
}

.one-click-card.disabled {
  opacity: 0.5;
}

.checkout-page {
  min-height: calc(100svh - 62px);
  padding-bottom: var(--space-48);
}

.checkout-page-success {
  display: grid;
  align-items: center;
  padding-top: var(--space-48);
  padding-bottom: var(--space-48);
}

.checkout-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.82fr) minmax(320px, 1fr);
  gap: var(--space-32);
  align-items: start;
}

.checkout-summary,
.checkout-form-card {
  min-width: 0;
}

.checkout-summary {
  display: grid;
  gap: var(--space-12);
}

.checkout-summary-compact {
  align-self: start;
  gap: var(--space-8);
  padding-top: var(--space-2);
}

.checkout-selected-flow,
.checkout-order-reference {
  display: grid;
  gap: var(--space-4);
  margin-bottom: var(--space-4);
  border-bottom: 1px solid #ddd;
  padding-bottom: var(--space-12);
}

.checkout-selected-flow[hidden],
.checkout-order-reference[hidden] {
  display: none;
}

.checkout-selected-flow strong,
.checkout-order-reference h2 {
  margin: 0;
  color: #111;
  font-size: 16px !important;
  font-weight: 700 !important;
  line-height: 1.3;
}

.checkout-selected-flow p,
.checkout-order-reference p {
  margin: 0;
  color: #555 !important;
  font-size: 13px !important;
  font-weight: 400 !important;
  line-height: 1.4;
}

.checkout-summary-line {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-16);
  padding-bottom: var(--space-2);
  color: #555;
  font-size: 14px;
  line-height: 1.35;
}

.checkout-summary-line span {
  color: inherit;
  font-weight: 600;
}

.checkout-summary-line strong {
  white-space: nowrap;
  color: #333;
  font-size: 14px;
  font-weight: 700;
}

.checkout-total-line {
  color: #111;
  font-weight: 700;
}

.checkout-total-line span,
.checkout-total-line strong {
  color: #111;
  font-size: 18px;
  font-weight: 700;
}

.checkout-summary-note {
  margin: 0;
  border-bottom: 1px solid #ddd;
  padding-bottom: var(--space-12);
  color: #666;
  font-size: 13px;
  line-height: 1.35;
}

.checkout-summary-list {
  display: grid;
  border-top: 1px solid #ddd;
}

.checkout-summary-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: var(--space-12);
  padding: var(--space-10) 0;
  border-bottom: 1px solid #ddd;
  font-size: 14px;
}

.checkout-summary-item span {
  min-width: 0;
}

.checkout-summary-item strong {
  white-space: nowrap;
}

.checkout-form-card textarea {
  min-height: 74px;
  height: 74px;
  resize: vertical;
}

.checkout-actions {
  display: grid;
  gap: 10px;
}

.checkout-form-card .form-status:empty {
  display: none;
}

.checkout-form-card .form-status:empty + .consent-line {
  margin-top: var(--space-16);
}

.checkout-form-card .form-status[data-status="error"],
.unified-checkout .form-status[data-status="error"] {
  min-height: 0;
  margin: var(--space-12) 0 var(--space-16);
  border: 1px solid var(--red-border);
  border-radius: var(--button-radius);
  padding: var(--space-10) var(--space-12);
  background: var(--red-100);
  color: var(--red-900) !important;
  font-size: var(--text-2-font-size) !important;
  font-weight: 600 !important;
  line-height: 1.45;
}

.payment-fallback-button,
.payment-check-button {
  border: 1px solid #cfcfcf;
  background: #fff;
  color: #111;
}

.payment-result-page {
  display: grid;
  align-content: center;
  justify-items: start;
  min-height: calc(100svh - 62px);
  padding-top: 64px;
  padding-bottom: 96px;
}

.payment-result-mark {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  margin-bottom: 22px;
  border: 1px solid #111;
  border-radius: 50%;
  font-size: 20px;
  font-weight: 700;
}

.payment-result-kicker {
  margin: 0 0 10px;
  color: #666;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.payment-result-page h1 {
  max-width: 760px;
  margin: 0 0 16px;
  font-size: clamp(36px, 5.4vw, 64px);
  line-height: 1.02;
}

.payment-result-copy {
  max-width: 620px;
  margin: 0;
  color: #555;
  font-size: 16px;
  line-height: 1.5;
}

.payment-result-order {
  margin: 20px 0 0;
  font-size: 14px;
  font-weight: 700;
}

.payment-result-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.checkout-success {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.86fr);
  gap: var(--space-48);
  align-items: start;
  width: 100%;
}

.success-mark {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  margin-bottom: var(--space-24);
  border: 1px solid #111;
  border-radius: 50%;
}

.success-mark svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.success-hero h1 {
  max-width: 560px;
  margin-bottom: var(--space-12);
  font-size: 48px;
}

.success-hero p {
  max-width: 520px;
  margin: 0;
  color: #555;
  font-size: 16px;
  line-height: 1.45;
}

.success-panel {
  min-width: 0;
  border: 1px solid #ddd;
  padding: var(--space-20);
  background: #fff;
}

.success-details {
  display: grid;
  gap: 0;
  margin: 0 0 var(--space-24);
  border-top: 1px solid #ddd;
}

.success-details div {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
  gap: var(--space-16);
  border-bottom: 1px solid #ddd;
  padding: var(--space-12) 0;
}

.success-details dt,
.success-details dd {
  margin: 0;
  min-width: 0;
  font-size: 14px;
}

.success-details dt {
  color: #666;
}

.success-details dd {
  color: #111;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.success-next {
  margin-bottom: var(--space-28);
}

.success-next h2 {
  margin-bottom: var(--space-12);
  font-size: 20px;
}

.success-next ol {
  display: grid;
  gap: var(--space-8);
  margin: 0;
  padding-left: var(--space-20);
  color: #444;
  line-height: 1.45;
}

.checkout-success-mode .cart-toggle {
  visibility: hidden;
}

/* Единая сущность острова: ширина, фон, скругление и горизонтальная посадка. */
.island {
  min-width: 0;
  width: var(--island-width);
  max-width: none;
  margin-left: 0;
  margin-right: 0;
  padding-left: var(--island-inline-padding);
  padding-right: var(--island-inline-padding);
  border-radius: var(--island-radius);
  background: #fff;
}

/* Первый остров продолжает шапку единым белым полотном. */
main.island,
main > .island:first-child,
main > :first-child > .island:first-child {
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

/* У первого острова нет серого зазора между ним и шапкой. */
.header + main {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

.header + .first-screen-stage {
  padding-top: 0 !important;
}

.header + .first-screen-stage > main:first-child {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

.header + .first-screen-stage > main.cart-page:not(.payment-result-page):first-child {
  padding-top: var(--space-32) !important;
}

.header + .first-screen-stage > main.payment-result-page:first-child {
  padding-top: 64px !important;
}

@media (max-width: 760px) {
  body {
    --page-gutter: 20px;
    --island-radius: 28px;
    --island-padding: var(--space-32);
  }

  .island {
    width: 100%;
    max-width: 100%;
    padding-left: var(--page-gutter);
    padding-right: var(--page-gutter);
  }

  .catalog {
    padding-left: var(--space-16);
    padding-right: var(--space-16);
  }

  .hero {
    min-height: 300px;
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-28);
    align-items: start;
    padding-top: var(--space-48);
    padding-bottom: var(--space-32);
  }

  .hero-actions {
    width: 100%;
    display: grid;
    gap: var(--space-8);
  }

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

  .hero-actions > .sources-all-link {
    display: flex;
    width: 100%;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0 var(--space-16);
    box-sizing: border-box;
    border: 1px solid #d7dfda;
    border-radius: var(--button-radius);
    color: var(--primary-text-color);
    text-decoration: none;
  }

  h1 {
    font-size: 40px;
  }

  .promo-strip {
    width: 100%;
    margin-top: var(--space-16);
    padding: var(--space-20) var(--space-20) var(--space-24);
  }

  .promo-copy strong {
    font-size: 20px;
  }

  .promo-copy span {
    font-size: 16px;
  }

  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: var(--space-16);
    row-gap: var(--space-32);
  }

  .about {
    padding-bottom: var(--space-48);
  }

  .simple-section {
    padding-bottom: var(--space-48);
  }

  .ozon-proof-grid {
    max-width: none;
  }

  .partners-grid {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: min(68vw, 270px);
    gap: var(--space-10);
    overflow-x: auto;
    overscroll-behavior-x: contain;
    padding-bottom: var(--space-6);
    scroll-snap-type: x proximity;
    touch-action: pan-x pan-y;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .partners-grid::-webkit-scrollbar {
    display: none;
  }

  .partner-card {
    scroll-snap-align: start;
  }

  .partner-card h3 {
    font-size: 16px;
    line-height: 1.15;
  }

  .about-head {
    margin-bottom: var(--space-16);
  }

  .product {
    gap: var(--space-10);
    padding: 0;
  }

  .product-detail-head {
    margin-bottom: var(--space-16);
  }

  .product-detail-card {
    grid-template-columns: 1fr;
    gap: var(--space-12);
    padding-top: 14px;
    padding-bottom: 20px;
  }

  .product-detail-page {
    padding-top: 12px;
  }

  .product-detail-image {
    width: 100%;
    height: clamp(220px, 64vw, 260px);
    aspect-ratio: auto;
    object-fit: contain;
    border-radius: 18px;
    background: rgba(255, 255, 255, .36);
  }

  .product-detail-content h1 {
    font-size: 34px;
  }

  .product-detail-price {
    font-size: 27px;
  }

  .product-use {
    margin-top: var(--space-8);
    margin-bottom: var(--space-6);
    font-size: 14px;
  }

  .product-detail-content p {
    font-size: 15px;
  }

  .product-detail-content .product-bottom {
    max-width: none;
    margin-top: 2px;
    margin-bottom: 4px;
  }

  .product-detail-content > .product-tags {
    min-height: 0;
    margin-top: 4px;
    margin-bottom: 4px;
  }

  .product-detail-content > .product-tags span {
    min-height: 24px;
    padding: 3px 9px;
    font-size: 16px !important;
  }

  .detail-list {
    padding-top: var(--space-12);
  }

  .detail-list div {
    grid-template-columns: minmax(92px, 0.42fr) minmax(0, 1fr);
    gap: var(--space-12);
    padding: var(--space-8) 0;
  }

  .detail-list dt,
  .detail-list dd {
    font-size: 15px;
  }

  .product-faq {
    margin-top: 0;
    padding-top: var(--space-16);
  }

  .product-faq h2 {
    font-size: 20px;
  }

  .product-faq summary {
    min-height: 42px;
    font-size: 15px;
  }

  .seo-copy-grid,
  .category-intro,
  .guide-layout,
  .text-link-grid {
    grid-template-columns: 1fr;
    gap: var(--space-16);
  }

  .category-page,
  .guide-page {
    padding-top: var(--space-28);
  }

  .seo-copy {
    padding-top: var(--space-28);
  }

  .text-link {
    min-height: auto;
  }

  .image-placeholder {
    aspect-ratio: 1 / 1;
  }

  .product h3 {
    display: block;
    font-size: clamp(14px, 5.1vw, 20px);
    line-height: 1.2;
    letter-spacing: -0.01em;
    text-overflow: ellipsis;
    white-space: nowrap;
    -webkit-line-clamp: 1;
  }

  .product p {
    font-size: 13px;
    -webkit-line-clamp: 2;
  }

  .product-meta {
    font-size: 16px;
  }

  .product-bottom {
    gap: var(--space-8);
  }

  .product button:not(.add-button):not([data-minus]):not([data-plus]) {
    min-height: 34px;
    padding: 0 var(--space-8);
    font-size: 12px;
  }

  .inline-qty button {
    font-size: 18px;
  }

  .cart-page {
    padding-top: var(--space-28);
  }

  .cart-layout {
    grid-template-columns: 1fr;
    gap: var(--space-28);
  }

  .cart-summary {
    max-width: none;
    margin-left: 0;
    padding-top: 0;
  }

  .cart-page-item {
    grid-template-columns: 64px minmax(0, 1fr) auto;
    gap: var(--space-8) var(--space-10);
    padding: var(--space-16) 0;
  }

  .cart-item-image {
    width: 64px;
    height: 64px;
  }

  .cart-item-price {
    grid-column: 2 / -1;
    width: 9ch;
    text-align: left;
  }

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

  .contact-methods.compact {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .contact-methods.compact label {
    min-height: 50px;
    font-size: 11px;
  }

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

  .source-detail-grid {
    grid-template-columns: 1fr;
  }

  .checkout-layout {
    grid-template-columns: 1fr;
    gap: var(--space-24);
  }

  .checkout-summary {
    gap: var(--space-8);
  }

  .checkout-page-success {
    align-items: start;
    padding-top: var(--space-32);
    padding-bottom: var(--space-48);
  }

  .checkout-success {
    grid-template-columns: 1fr;
    gap: var(--space-28);
  }

  .success-hero h1 {
    font-size: 36px;
  }

  .success-panel {
    border: 0;
    padding: 0;
  }

  .success-details div {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }

  .checkout-summary-item {
    padding: var(--space-8) 0;
    font-size: 13px;
  }

  .payment-result-page {
    align-content: start;
    padding-top: 44px !important;
    padding-bottom: 80px;
  }

  .payment-result-actions {
    display: grid;
    width: 100%;
  }

  .payment-result-actions .button {
    width: 100%;
  }

  .footer {
    display: grid;
  }

  .footer-main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-32) var(--space-16);
  }

  .footer-contact {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    display: flex;
    gap: var(--space-8) var(--space-12);
  }

  .footer-bottom span {
    flex-basis: 100%;
    margin-bottom: var(--space-2);
  }

  .footer-bottom a {
    width: auto;
  }

  .feedback-form textarea {
    min-height: 240px;
  }

  .feedback-submit {
    width: 100%;
  }

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

/* Typography system: H1, H2, H3, Text 1, Text 2, Text 3 */
body {
  --h1-font-size: 48px;
  --h2-font-size: 32px;
  --h3-font-size: 20px;
  --h4-font-size: 16px;
  --text-1-font-size: 16px;
  --text-2-font-size: 13px;
  --text-3-font-size: 11px;

  --font-letter-spacing: 0;

  font-size: var(--text-1-font-size);
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: var(--font-letter-spacing);
}

body *,
body *::before,
body *::after {
  letter-spacing: var(--font-letter-spacing) !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin-top: 0;
  color: var(--primary-text-color) !important;
  font-weight: 600 !important;
}

h1,
.type-h1 {
  color: var(--primary-text-color) !important;
  font-size: var(--h1-font-size) !important;
  font-weight: 600 !important;
  line-height: 1.08;
}

h2,
.type-h2 {
  color: var(--primary-text-color) !important;
  font-size: var(--h2-font-size) !important;
  font-weight: 600 !important;
  line-height: 1.15;
}

h3,
h5,
h6,
.product h3,
.partner-card h3,
.materials-card strong,
.cart-line-title,
.type-h3 {
  color: var(--primary-text-color) !important;
  font-size: var(--h3-font-size) !important;
  line-height: 1.25;
  font-weight: 600 !important;
}

h4,
.type-h4 {
  color: var(--primary-text-color) !important;
  font-size: var(--h4-font-size) !important;
  line-height: 1.25;
  font-weight: 600 !important;
}

p,
li,
button,
input,
textarea,
select,
.button,
.product button {
  font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

p,
li,
.type-text-1 {
  color: var(--primary-text-color) !important;
  font-size: var(--text-1-font-size) !important;
  font-weight: 400;
  line-height: 1.5;
}

button,
input,
textarea,
select,
.button,
.product button {
  font-size: var(--text-1-font-size) !important;
}

.product p,
.materials-card-copy > span,
.section-subtitle,
.hero p,
.simple-section > p,
.article-body p,
.article-body li {
  color: var(--primary-text-color);
  font-size: var(--text-1-font-size) !important;
}

.eyebrow,
.product-meta,
.product-detail-delivery,
.cart-line-meta,
.cart-summary-note,
.checkout-summary-note,
.field-hint,
.form-status,
.footer,
.footer a,
.type-text-2 {
  color: var(--secondary-text-color) !important;
  font-size: var(--text-2-font-size) !important;
  font-weight: 400;
  line-height: 1.45;
}

.cart-toggle span,
.footer-legal-name,
.product-card-badge,
.microcopy,
.type-text-3 {
  color: var(--secondary-text-color) !important;
  font-size: var(--text-3-font-size) !important;
  font-weight: 400;
  line-height: 1.35;
}

.logo {
  color: var(--primary-text-color);
  font-size: var(--h3-font-size) !important;
  font-weight: 700;
}

.footer h4 {
  color: var(--primary-text-color) !important;
  font-size: var(--h4-font-size) !important;
  line-height: 1.25;
}

main :where(p, li, a, span, strong, label, legend, dt, dd) {
  color: var(--primary-text-color) !important;
}

main .promo-strip .promo-copy strong,
main .promo-strip .promo-copy > span {
  color: #fffaf4 !important;
}

.eyebrow,
.product-meta,
.product-detail-delivery,
.cart-line-meta,
.cart-summary-note,
.checkout-summary-note,
.field-hint,
.form-status,
.footer,
.footer a,
.footer-legal-name,
.product-card-badge,
.microcopy {
  color: var(--secondary-text-color) !important;
}

.button,
.button *,
.product button,
.product button *,
.product-bottom .add-button,
.product-bottom .add-button *,
.inline-qty button,
.inline-qty button *,
.feedback-submit,
.feedback-toast,
.snackbar,
.cart-toggle span,
.question-card,
.question-card * {
  color: #fff !important;
}

.feedback-error,
.feedback-error * {
  color: var(--red-500) !important;
}

input,
textarea,
select {
  color: var(--primary-text-color) !important;
}

input::placeholder,
textarea::placeholder {
  color: var(--secondary-text-color) !important;
  opacity: 1;
}

@media (max-width: 760px) {
  body {
    --h1-font-size: 32px;
  }
}

/* Materials catalog: continuous white page and responsive article cards. */

.materials-page .guide-page {
  gap: 0;
  padding: 0;

}

.materials-page .materials-catalog-head {
  width: 100%;
  max-width: 760px;
}

.materials-page .materials-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-32) var(--space-20);
  width: 100%;
  max-width: none;
}

.materials-page .materials-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: var(--space-16);
  color: #111;
  text-decoration: none;
}

.materials-page .materials-card img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 20px;
  background: var(--page-bg);
  transition: transform 180ms ease;
}

.materials-page .materials-card-copy {
  display: grid;
  gap: var(--space-8);
}

.materials-page .materials-card strong {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.materials-page .materials-card-copy > span {
  color: #555;
  font-size: 14px;
  line-height: 1.45;
}

.materials-page .footer {
  margin-top: 0;
  border-top: 1px solid #e8e8e6;
  border-radius: 0;
}

@media (hover: hover) and (pointer: fine) {
  .materials-page .materials-card:hover img {
    transform: translateY(-3px);
  }
}

@media (min-width: 560px) {
  .materials-page .materials-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 900px) {
  .materials-page .materials-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1200px) {
  .materials-page .materials-list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  .materials-page .materials-card img {
    transition: none;
  }
}

@media (min-width: 1280px) {
  .grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

@media (min-width: 761px) and (max-width: 880px) {
  .hero {
    min-height: 300px;
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-28);
    align-items: start;
  }

}

@media (min-width: 761px) and (max-width: 1020px) {
  .grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

button:not(.info-button):not(.promo-copy-code):not(.cart-item-availability-action),
.button,
.back-link:not(.back-link-quiet) {
  height: 46px !important;
  min-height: 46px !important;
  font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 16px !important;
  font-weight: 400 !important;
}

.cart-item-availability .cart-item-availability-action {
  display: inline-block;
  height: auto !important;
  min-height: 0 !important;
  font-size: var(--text-2-font-size) !important;
  line-height: 1.35;
  vertical-align: baseline;
}

.inline-qty,
.inline-qty.active {
  height: 46px !important;
  min-height: 46px !important;
}

.inline-qty strong,
.product-detail-content .product-bottom .inline-qty strong {
  min-height: 44px;
}

/* Материалы используют базовую дизайн-систему сайта. */
.article-page {
  padding: var(--space-12) 0 var(--space-48);
}

.article-hero {
  display: block;
  min-height: 0;
  padding-top: var(--island-padding);
  padding-bottom: var(--island-padding);

}

.article-hero-copy {
  max-width: 760px;
}

.article-hero h1 {
  margin: var(--space-12) 0 var(--space-12);
  font-size: clamp(38px, 5vw, 56px);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.05;
}

.article-lead {
  max-width: 680px;
  color: #555;
  font-size: 18px;
  line-height: 1.5;
}

.article-meta {
  color: #777;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}

.article-shell {
  grid-template-columns: 200px minmax(0, 680px);
  gap: var(--space-48);
  padding-top: var(--island-padding);
  padding-bottom: var(--island-padding);
}

.article-body p,
.article-body li {
  color: #444;
  font-size: 16px;
  line-height: 1.6;
}

.article-opening {
  font-size: 20px !important;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.5 !important;
}

.article-body section {
  margin-top: var(--space-48);
}

.article-body h2 {
  margin-bottom: var(--space-16);
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.article-body blockquote {
  margin: var(--space-28) 0 var(--space-16);
  padding-left: var(--space-16);
  border-left: 2px solid #bbb;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.article-callout,
.question-card,
.cheatsheet {
  margin: var(--space-28) 0;
  padding: var(--space-20);
  border: 1px solid #ddd;
  border-radius: var(--button-radius);

  color: #111;
}

.article-callout > span,
.question-card > span,
.cheatsheet .eyebrow {
  color: #666;
}

.article-callout p {
  font-size: 16px;
}

.taste-grid {
  gap: var(--space-12);
  margin: var(--space-28) 0;
}

.taste-grid > div {
  min-height: 0;
  padding: var(--space-16);
  border-radius: var(--button-radius);

}

.taste-grid h3 {
  margin: var(--space-16) 0 var(--space-8);
  font-size: 18px;
}

.cheatsheet {
  margin-left: 0;
  margin-right: 0;
}

.cheatsheet dl > div {
  border-color: #ddd;
}

@media (max-width: 760px) {
  .materials-head-editorial { min-height: 390px; }
  .materials-head-editorial h1 { font-size: 52px; }
  .materials-feature-card,
  .article-hero,
  .article-shell { grid-template-columns: 1fr; }
  .materials-feature-visual { min-height: 320px; }
  .materials-feature-copy { padding: var(--space-8) 0 var(--space-20); }
  .article-breadcrumbs { white-space: nowrap; overflow: hidden; }
  .article-hero { gap: var(--space-32); min-height: auto; }
  .article-hero h1 { font-size: 46px; }
  .article-hero-image { order: -1; height: 90vw; max-height: 460px; }
  .article-shell { gap: 0; }
  .article-toc { display: none; }
  .article-body p,
  .article-body li { font-size: 17px; line-height: 1.7; }
  .article-body section { margin-top: var(--space-48); }
  .taste-grid { grid-template-columns: 1fr; }
  .taste-grid > div { min-height: 190px; }
  .cheatsheet { margin-left: 0; margin-right: 0; padding: var(--space-28) var(--space-20); }
  .cheatsheet dl > div { grid-template-columns: 1fr; gap: var(--space-6); }
  .materials-head {
    align-items: start;
  }
  .materials-group-head {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }
  .materials-guide-grid .text-link-featured {
    grid-column: auto;
  }
  .materials-category-grid {
    grid-template-columns: 1fr;
  }
  .guide-links .text-link {
    min-height: 158px;
  }
  .guide-links .text-link-featured strong {
    font-size: 21px;
  }
}

/* Spacing system */
main {
  gap: clamp(20px, 2vw, 28px) !important;
}

.island {
  padding-top: var(--space-32) !important;
  padding-bottom: var(--space-32) !important;
}

main > section,
main > .island,
.guide-page > section {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

.footer {
  margin-top: clamp(20px, 2vw, 28px) !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin-bottom: var(--space-16);
}

.footer h4 {
  margin-bottom: var(--space-4);
}

.hero h1 {
  margin-bottom: var(--space-16);
}

.hero p {
  margin-bottom: var(--space-20);
}

/* Catalog card typography */
.product h3 {
  margin-bottom: var(--space-4);
}

.product .product-meta {
  margin-bottom: var(--space-10);

}

.product .product-link > p {
  color: var(--secondary-text-color) !important;
  font-size: var(--text-2-font-size) !important;
  font-weight: 400;
  line-height: 1.45;
}

/* Warm room palette */
body {

  --success-color: #58714d;
  --success-background: #edf2e8;
  --success-border: #cad7bd;
  --orange-900: #70422f;
  --orange-700: #ae6543;
  --orange-500: #d4875b;
  --orange-300: #edc9a8;
  --orange-100: #fff1e3;
  --orange-gradient: linear-gradient(135deg, #fff8ed 0%, #f1d1b1 56%, #d99570 100%);
  --red-500: #b42318;
  --red-700: #8a2d2d;
  --red-900: #8f2d24;
  --red-100: #fff3f1;
  --red-border: #e8b4ae;
  --red-glass-gradient: linear-gradient(145deg, rgba(190, 65, 43, .72), rgba(137, 39, 34, .52));
  --button-radius: 14px;
  --badge-background: #f1e0d2;
  --badge-radius: 999px;

  background: var(--page-bg);
}

.island,
.footer,
.cart-panel {
  background: var(--surface-color);
}

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

.button,
.product-bottom .add-button,
.inline-qty button,
.feedback-submit,
.checkout-link {
  border-color: #111 !important;
  background: #111 !important;
}

@media (hover: hover) and (pointer: fine) {
  .button:hover,
  .product-bottom .add-button:hover,
  .inline-qty button:hover,
  .feedback-submit:hover,
  .checkout-link:hover {
    border-color: #292929 !important;
    background: #292929 !important;
  }
}

.cart-toggle {
  border-color: #d7dfda;
  background: var(--surface-color);
}

.cart-toggle span,
.feedback-toast,
.snackbar {
  background: #111;
}

.promo-strip {
  border-radius: 22px;
  background-color: #a64832;
  background-image: url("assets/banner/orange-cha-dao-ornament-v4.png");
  background-position: center right;
  background-size: cover;
  box-shadow: 0 12px 28px rgba(111, 49, 34, .16);
}

.promo-copy-code { color: #733b2c !important; }

.product > .product-link:first-child,
.product .product-image,
.materials-page .materials-card img,
.ozon-proof-grid img,
.partner-card img {
  border-radius: var(--image-radius);
}

/* Badge: Text 2 Regular on the shared green pill. */
.product-tags span,
.product-detail-content > .product-tags .badge,
.tag,
.badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 32px;
  padding: var(--space-4) var(--space-16) var(--space-6);
  border-radius: var(--badge-radius);
  background: var(--badge-background);
  color: var(--primary-text-color) !important;
  font-family: inherit;
  font-size: var(--text-2-font-size) !important;
  font-weight: 400 !important;
  line-height: 1.5;
}

.question-card {
  border-color: var(--orange-900);
  background: linear-gradient(145deg, var(--orange-900), var(--orange-700));
}

.question-card > span {
  color: var(--orange-300) !important;
}

input,
textarea,
select,
.contact-methods label {
  border-color: #cfd9d3 !important;
  background: var(--surface-color);
}

input:focus,
textarea:focus,
select:focus,
.cart-promo input:focus,
.feedback-form textarea:focus {
  border-color: var(--orange-500) !important;
  outline: 2px solid rgba(143, 189, 57, 0.24) !important;
  outline-offset: 1px;
}

.contact-methods label:has(input:checked) {
  border-color: var(--orange-500) !important;
  background: var(--orange-100);
  color: var(--orange-900) !important;
}

.one-click-card .consent-line input,
input[type="checkbox"],
input[type="radio"] {
  accent-color: var(--orange-500);
}

.product-link:focus-visible,
a:focus-visible,
button:focus-visible {
  outline-color: var(--orange-500);
}

.cart-promo .promo-status[data-status="success"],
.promo-status[data-status="success"] {
  color: var(--orange-700) !important;
}

.article-callout,
.cheatsheet,
.taste-grid > div {
  border-color: #dce5e0;
  background: var(--surface-muted-color);
}

/* Product quantity control */
.inline-qty,
.inline-qty.active {
  gap: var(--space-8);
  border: 0 !important;
  background: transparent;
  overflow: visible;
}

.inline-qty strong,
.product-detail-content .product-bottom .inline-qty strong {
  border: 0;
  background: transparent;
}

.inline-qty button,
.inline-qty button * {
  border: 0 !important;
  border-radius: var(--button-radius) !important;
  background: var(--surface-muted-color) !important;
  color: #000 !important;
  font-family: inherit;
  font-size: var(--text-1-font-size) !important;
  font-weight: 400 !important;
  line-height: 1;
}

@media (hover: hover) and (pointer: fine) {
  .inline-qty button:hover {
    background: #e6e6e6 !important;
  }
}

/* Text 1, Text 2 and Text 3 always use Regular. */
p,
li,
button,
input,
textarea,
select,
.button,
.product button,
.product-meta,
.materials-card-copy > span,
.eyebrow,
.product-detail-delivery,
.cart-line-meta,
.cart-summary-note,
.checkout-summary-note,
.field-hint,
.form-status,
.footer,
.footer a,
.footer-legal-name,
.microcopy,
.type-text-1,
.type-text-2,
.type-text-3 {
  font-weight: 400 !important;
}

/* Unified footer typography */
.footer-section h2,
.footer-section h3 {
  margin: 0;
}

.footer-section > a {
  color: var(--primary-text-color) !important;
  font-size: var(--text-1-font-size) !important;
  font-weight: 400 !important;
  line-height: 1.5;
  text-decoration: none;
}

.footer-bottom,
.footer-bottom a,
.footer-legal-name {

  font-size: var(--text-2-font-size) !important;
  font-weight: 400 !important;
  line-height: 1.45;
}

.footer-bottom {
  padding-top: 0;
  border-top: 0;
}

.footer-bottom a {
  text-decoration: none;
}

/* Cart page: keep its typography and spacing on the shared design scale. */
.cart-page {
  font-size: var(--text-1-font-size);
  line-height: 1.5;
  gap: var(--space-24) !important;
}

.cart-page > .cart-delivery-intro {
  margin-bottom: 0;
}

.cart-delivery-intro .checkout-method-copy {
  gap: var(--space-4);
}

.cart-delivery-intro .checkout-method-copy strong {
  font-size: var(--h3-font-size) !important;
  line-height: 1.35;
}

.cart-delivery-intro .checkout-method-copy > span {
  font-size: var(--text-1-font-size) !important;
  line-height: 1.45;
}

.cart-delivery-intro .checkout-method-status {
  font-size: var(--text-3-font-size) !important;
  line-height: 1.35;
}

.cart-item-main > strong,
.cart-item-price strong {
  font-size: var(--text-1-font-size) !important;
  line-height: 1.35;
}

.cart-item-main > span,
.cart-item-price span {
  font-size: var(--text-2-font-size) !important;
  line-height: 1.4;
}

.unified-checkout {
  gap: var(--space-12);
}

.unified-checkout .checkout-contact legend {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.unified-checkout .checkout-contact > p {
  margin: var(--space-4) 0 0;
  font-size: var(--text-1-font-size) !important;
  line-height: 1.45;
}

.unified-checkout .contact-validation-error {
  color: var(--red-500) !important;
  font-size: var(--text-2-font-size) !important;
}

.unified-checkout .contact-validation-error[hidden] {
  display: none !important;
}

.unified-checkout .checkout-contact input[aria-invalid="true"] {
  border-color: var(--red-500) !important;
}

.unified-checkout .contact-methods {
  margin-top: var(--space-8);
}

.unified-checkout > label:not(.consent-line):not(.hp-field),
.unified-checkout .checkout-contact > label,
.unified-checkout .cart-promo label {
  margin: 0;
  gap: 0;
  color: var(--primary-text-color);
  font-size: var(--text-1-font-size);
  font-weight: 400;
}

.unified-checkout > label:not(.consent-line):not(.hp-field) input,
.unified-checkout .checkout-contact > label input,
.unified-checkout .cart-promo input {
  min-height: 48px;
  font-size: var(--text-1-font-size) !important;
  line-height: 1.4;
}

.unified-checkout .cart-promo {
  gap: var(--space-4);
  margin: var(--space-4) 0 0;
}

.unified-checkout .cart-promo .promo-status {
  margin: 0 !important;
  font-size: var(--text-2-font-size) !important;
  line-height: 1.4;
}

.unified-checkout .cart-totals,
.unified-checkout .cart-consents {
  display: grid;
  gap: var(--space-8);
}

.unified-checkout .cart-summary-line {
  font-size: var(--text-1-font-size) !important;
  line-height: 1.4;
}

.unified-checkout .cart-summary-line strong {
  font-size: var(--text-1-font-size) !important;
  line-height: 1.35;
}

.unified-checkout .cart-total-discounted span {
  font-size: var(--text-1-font-size) !important;
  line-height: 1.4;
}

.unified-checkout .cart-summary-note {
  margin: 0 !important;
  font-size: var(--text-2-font-size) !important;
  line-height: 1.4;
}

.unified-checkout .consent-line {
  margin: 0;
  font-size: var(--text-2-font-size) !important;
  line-height: 1.4;
}

.unified-checkout .form-status:empty {
  display: none;
}

.unified-checkout .form-status[data-status="error"] {
  margin: 0 0 var(--space-4);
}

@media (max-width: 980px) {
  .cart-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-24);
  }

  .cart-summary {
    max-width: none;
    margin-inline: 0;
    padding-top: 0;
  }
}

@media (max-width: 760px) {
  .cart-page {
    padding-top: var(--space-24);
  }

  .cart-layout {
    gap: var(--space-24);
  }

  .cart-page-item {
    --cart-item-image-size: 72px;
    grid-template-columns: var(--cart-item-image-size) minmax(0, 1fr) auto;
    grid-template-rows: auto auto;
    row-gap: var(--space-4);
    align-items: start;
    padding-top: var(--space-4);
    padding-bottom: var(--space-4);
  }

  .cart-item-image {
    grid-column: 1;
    grid-row: 1 / 3;
    width: var(--cart-item-image-size);
    height: var(--cart-item-image-size);
  }

  .cart-item-main {
    grid-column: 2;
    grid-row: 1;
  }

  .cart-item-main > strong {
    display: block;
  }

  .cart-item-main > span {
    margin-top: var(--space-2);
  }

  .cart-page-item > .qty {
    grid-column: 3;
    grid-row: 1 / 3;
    justify-self: end;
    align-self: center;
  }

  .cart-page-item > .qty button {
    min-height: 44px;
    height: 44px;
  }

  .cart-item-price {
    grid-column: 2;
    grid-row: 2;
    width: auto;
    align-self: start;
    text-align: left;
  }

}

@media (max-width: 380px) {
  .cart-page-item {
    --cart-item-image-size: 64px;
  }
}

@media (max-width: 340px) {
  .cart-page-item {
    --cart-item-image-size: 56px;
  }

  .cart-page-item > .qty {
    grid-template-columns: 44px 2ch 44px;
    gap: var(--space-4);
  }

  .cart-page-item > .qty strong {
    width: 2ch;
    min-width: 2ch;
  }
}

@media (min-width: 560px) and (max-width: 760px) {
  .footer-main {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0 var(--space-16);
  }

  .footer-contact {
    grid-column: auto;
  }
}

/* Tea FM hero: keep copy clear while the illustration dissolves into its surface. */
.hero {
  position: relative;
  display: flex;
  min-height: min(780px, calc(100svh - 62px));
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  padding-top: clamp(48px, 8vh, 88px);
  padding-bottom: clamp(48px, 8vh, 88px);
  background: var(--surface-color);
}

.hero-image {
  position: absolute;
  z-index: -1;
  inset: 0 0 0 auto;
  width: 80%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: 58% center;
}

.hero::before {
  position: absolute;
  z-index: 0;
  inset: 0;
  background:
    linear-gradient(90deg, rgb(var(--surface-color-rgb)) 0%, rgba(var(--surface-color-rgb), .97) 18%, rgba(var(--surface-color-rgb), .78) 34%, rgba(var(--surface-color-rgb), 0) 65%),
    linear-gradient(0deg, rgb(var(--surface-color-rgb)) 0%, rgba(var(--surface-color-rgb), .82) 8%, rgba(var(--surface-color-rgb), .4) 20%, rgba(var(--surface-color-rgb), 0) 38%);
  content: "";
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 1;
  width: min(46%, 560px);
  max-width: 560px;
}

/* Sources hero: page-specific height and spacing. */
.sources-page .sources-hero {
  min-height: min(780px, 100svh);
  padding-top: clamp(48px, 8vh, 88px) !important;
  padding-bottom: clamp(48px, 8vh, 88px) !important;
}

@media (max-width: 920px) {
  .hero {
    min-height: 0;
    align-items: flex-start;
    padding-top: calc(clamp(324px, 45vw, 420px) + 64px) !important;
    padding-bottom: var(--space-32) !important;
  }

  .home-page .hero,
  .sources-page .sources-hero {
    background: rgba(255, 250, 244, .66);
  }

  .sources-page .sources-hero {
    min-height: 0;
    padding-top: calc(clamp(324px, 45vw, 420px) + 64px) !important;
    padding-bottom: 72px !important;
  }

  .hero-image {
    inset: 0 0 auto;
    width: 100%;
    height: calc(clamp(324px, 45vw, 420px) + 64px);
    object-position: 55% 45%;
    -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 78%, transparent 100%);
    mask-image: linear-gradient(to bottom, #000 0%, #000 78%, transparent 100%);
  }

  .hero::before {
    inset: 0 0 auto;
    height: calc(clamp(324px, 45vw, 420px) + 64px);
    background: linear-gradient(180deg, transparent 64%, rgba(var(--surface-color-rgb), .18) 82%, transparent 100%);
  }

  .hero-copy {
    width: 100%;
    max-width: none;
  }
}

/* On the homepage the header overlays the hero artwork. */
.home-page .hero {
  min-height: min(780px, 100svh);
}

@media (max-width: 760px) {
  .home-page .hero {
    min-height: 0;
  }

  .sources-page {
    padding-top: 0 !important;
  }

  .sources-page .sources-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    min-height: 0;
    padding: 0 0 var(--space-32) !important;
  }

  .sources-page .sources-hero .hero-image {
    position: relative;
    z-index: 0;
    inset: auto;
    width: 100%;
    height: calc(clamp(324px, 45vw, 420px) + 64px);
    object-position: 55% 42%;
    -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 68%, transparent 100%);
    mask-image: linear-gradient(to bottom, #000 0%, #000 68%, transparent 100%);
  }

  .sources-page .sources-hero::before {
    display: none;
  }

  .sources-page .sources-hero .hero-copy {
    width: auto;
    max-width: none;
    margin: -28px var(--island-inline-padding) 0;
  }
}

@media (min-width: 761px) and (max-width: 920px) {
  .home-page .hero {
    min-height: 0;
  }
}

/* Warm room application across shared pages and controls. */

body.materials-page {
  background-color: var(--page-bg);
}

.materials-page .guide-page {
  background-color: transparent;
}

.article-hero {
  background: var(--surface-color);
}

.materials-page .footer {
  border-top-color: var(--warm-border);
}

.article-page {
  --article-green: var(--terracotta-800);
  --article-pale: var(--surface-muted-color);
}

.article-callout,
.article-page .question-card,
.article-page .cheatsheet,
.taste-grid > div {
  border-color: var(--warm-border);
  background: var(--surface-muted-color);
  color: var(--primary-text-color);
}

.article-page .question-card {
  border-color: #754338;
  background: linear-gradient(145deg, #90503b, #684238);
  color: #fff;
}

.article-page .question-card > span {
  color: #f5d8bf;
}

.about-principles li::before {
  border-color: rgba(255, 255, 255, .65);
  background: linear-gradient(145deg, #bd7253, #91432f);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .4), 0 3px 8px rgba(91, 55, 39, .1);
}

.button,
.product-bottom .add-button,
.feedback-submit,
.checkout-link,
.payment-check-button {
  border-color: var(--terracotta-700) !important;
  background: var(--terracotta-700) !important;
  color: #fff !important;
}

@media (hover: hover) and (pointer: fine) {
  .button:hover,
  .product-bottom .add-button:hover,
  .feedback-submit:hover,
  .checkout-link:hover,
  .payment-check-button:hover {
    border-color: var(--terracotta-800) !important;
    background: var(--terracotta-800) !important;
  }
}

.cart-toggle span,
.feedback-toast,
.snackbar {
  background: var(--terracotta-800);
}

.cart-panel {
  border-left-color: var(--warm-border-strong);
  background: var(--surface-color);
}

.cart-head,
.cart-footer,
.checkout-form,
.cart-item,
.cart-page-item,
.checkout-selected-flow,
.checkout-order-reference,
.checkout-summary-note,
.checkout-summary-list,
.checkout-summary-item {
  border-color: var(--warm-border);
}

.cart-page-item:first-child,
.checkout-summary-list {
  border-top-color: var(--warm-border);
}

.back-link,
.payment-fallback-button {
  border-color: var(--warm-border-strong);
  color: var(--primary-text-color);
  background: var(--surface-color);
}

.cart-item-placeholder,
.product > .product-link:first-child,
.product .product-image,
.image-placeholder {
  background: var(--surface-muted-color);
}

.checkout-method {
  border-color: var(--warm-border-strong);
}

.checkout-method:has(input:checked) {
  border-color: var(--terracotta-700);
  box-shadow: inset 0 0 0 1px var(--terracotta-700);
}

.checkout-method:has(input:focus-visible) {
  outline-color: var(--terracotta-700);
}

.checkout-method:has(input:checked) .checkout-method-mark::after {
  background: var(--terracotta-700);
}

input,
textarea,
select,
.contact-methods label,
.one-click-card input,
.one-click-card textarea {
  border-color: var(--warm-border-strong) !important;
  background: var(--surface-color);
}

input:focus,
textarea:focus,
select:focus,
.cart-promo input:focus,
.feedback-form textarea:focus {
  border-color: var(--terracotta-700) !important;
  outline: 2px solid var(--focus-ring) !important;
}

.contact-methods label:has(input:checked) {
  border-color: var(--terracotta-700) !important;
  background: var(--terracotta-soft);
  color: var(--terracotta-800) !important;
}

.one-click-card .consent-line input,
input[type="checkbox"],
input[type="radio"] {
  accent-color: var(--terracotta-700);
}

.product-link:focus-visible,
a:focus-visible,
button:focus-visible {
  outline-color: var(--terracotta-700);
}

.form-status[data-status="success"],
.cart-promo .promo-status[data-status="success"],
.promo-status[data-status="success"] {
  color: var(--success-color) !important;
}

.form-status[data-status="success"] {
  border-color: var(--success-border);
  background: var(--success-background);
}

.form-status[data-status="error"],
.promo-status[data-status="error"],
.cart-item-availability,
.unified-checkout .contact-validation-error {
  color: var(--red-500) !important;
}

.checkout-form-card .form-status[data-status="error"],
.unified-checkout .form-status[data-status="error"] {
  border-color: var(--red-border);
  background: var(--red-100);
  color: var(--red-900) !important;
}

.unified-checkout .checkout-contact input[aria-invalid="true"] {
  border-color: var(--red-500) !important;
}

.footer {
  border-top: 1px solid var(--warm-border);
  background: linear-gradient(180deg, var(--surface-color), #f7efe6);
  color: var(--secondary-text-color) !important;
}

.footer p,
.footer-bottom,
.footer-bottom a,
.footer-legal-name {
  color: var(--secondary-text-color) !important;
}

/* Чай FM: тёплая комната со стеклянными поверхностями. */
html {
  background: #f4ece3;
}

body {
  --page-bg: #f4ece3;
  --surface-color: #fffaf4;
  --surface-muted-color: #f4e9df;
  --surface-color-rgb: 255, 250, 244;
  --primary-text-color: #352821;
  --secondary-text-color: #66554b;
  --warm-border: #e8d8ca;
  --warm-border-strong: #d8c1af;
  --terracotta-700: #a64832;
  --terracotta-800: #873b2b;
  --terracotta-soft: #f5e1d6;
  --terracotta-border: #e7c4b4;
  --focus-ring: rgba(166, 72, 50, .32);
  --glass-surface: rgba(255, 250, 244, .94);
  --glass-highlight: rgba(255, 255, 255, .84);
  --glass-shadow: 0 18px 46px rgba(88, 53, 36, .10);
  color: var(--primary-text-color);
  position: relative;
  isolation: isolate;
  background-color: transparent;
  background-image: none;
}

/* Static fallback; the shared script supplies the moving layer when motion is allowed. */
body::before,
.page-background {
  content: "";
  position: fixed;
  z-index: -1;
  inset: 0;
  width: 100%;
  height: 100vh;
  height: 100lvh;
  background-image: url("assets/tea-fm-backgrounds/chai-fm-desktop-v2.webp");
  background-position: center top;
  background-repeat: no-repeat;
  background-size: cover;
  pointer-events: none;
}

body.has-background-parallax::before {
  display: none;
}

body.has-native-background-parallax .page-background {
  animation: background-pan linear both;
  animation-timeline: scroll(root block);
  animation-range: 0px var(--background-scroll-range, 1px);
}

@keyframes background-pan {
  from { background-position-y: 0%; }
  to { background-position-y: 100%; }
}

@media (max-width: 560px) {
  body::before,
  .page-background {
    background-image: url("assets/tea-fm-backgrounds/chai-fm-mobile-v2.webp");
  }
}

@media (prefers-reduced-motion: reduce) {
  body.has-background-parallax::before {
    display: block;
  }

  .page-background {
    display: none;
  }
}

.header {
  width: 100%;
  height: 64px;
  min-height: 64px;
  gap: 12px;
  padding-inline: max(var(--page-gutter), calc((100vw - var(--content-max)) / 2));
  color: var(--primary-text-color);
}

.header .logo {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  min-width: 44px;
  min-height: 44px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  pointer-events: auto;
}

.header-actions {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  margin-left: auto;
  pointer-events: auto;
}

.header .header-choose-link {
  order: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  margin-left: 0;
  padding: 0 16px;
  border: 1px solid var(--terracotta-700);
  border-radius: 12px;
  background: var(--terracotta-700);
  color: #fffaf5;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgb(74 34 22 / 12%);
  pointer-events: auto;
}

.header .header-choose-link:hover {
  border-color: var(--terracotta-800);
  background: var(--terracotta-800);
  color: #fffaf5;
}

.header .header-choose-link::after { content: " →"; }

.header .header-choose-link:focus-visible,
.header .logo:focus-visible,
.header .cart-toggle:focus-visible {
  outline: 3px solid var(--terracotta-700);
  outline-offset: 3px;
}

.header .cart-toggle {
  display: inline-flex;
  order: 1;
  flex: 0 0 auto;
  position: relative;
  width: 48px;
  min-width: 48px;
  height: 48px;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-left: 0;
  padding: 0;
  border: 1px solid var(--terracotta-700);
  border-radius: var(--button-radius);
  background: var(--terracotta-700);
  color: #fffaf5;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  pointer-events: auto;
}

.header .cart-toggle:hover {
  border-color: var(--terracotta-800);
  background: var(--terracotta-800);
}

.header .cart-toggle[hidden] { display: none !important; }

.header .cart-toggle span {
  position: absolute;
  top: -4px;
  right: -4px;
  display: grid;
  min-width: 20px;
  height: 20px;
  place-items: center;
  margin: 0;
  padding: 0 4px;
  border: 1px solid var(--glass-surface);
  border-radius: 999px;
  background: #fffaf5;
  color: var(--terracotta-800) !important;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
}

.header .cart-toggle svg {
  display: block;
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8px;
}

body:not(.home-page):not(.catalog-page) > main:not(.sources-page):first-of-type > .island:first-child,
body:not(.home-page):not(.catalog-page) > main:not(.sources-page):first-of-type > :first-child > .island:first-child {
  padding-top: calc(var(--island-padding) + 64px) !important;
}

.header + main.page.island,
.header + .first-screen-stage > main.page.island:not(.cart-page):not(.payment-result-page):first-child {
  padding-top: calc(var(--island-padding) + 64px) !important;
}

.header + main.guide-page:has(> .breadcrumbs:first-child) {
  padding-top: 64px !important;
}

.header + main.category-page:has(> .breadcrumbs:first-child) {
  padding-top: 64px !important;
}

/* Materials catalog surface and spacing: keep page overrides together. */
.materials-page .materials-catalog {
  display: grid;
  gap: var(--space-32);
  margin: 0;
  padding: clamp(var(--space-32), 5vw, var(--space-48)) var(--island-inline-padding) clamp(var(--space-48), 8vw, var(--space-48));
  padding-top: calc(clamp(var(--space-32), 5vw, var(--space-48)) + 64px) !important;
  border: 1px solid rgba(255, 255, 255, .86);
  border-radius: var(--island-radius);
  background: rgba(255, 250, 244, .66);
  box-shadow: inset 0 1px 0 var(--glass-highlight), var(--glass-shadow);
}

@media (max-width: 760px) {
  .materials-page .materials-catalog {
    border-radius: 0;
  }
}

.island:not(.hero),
.footer,
.cart-panel,
.article-hero,
.cart-card,
.one-click-card,
.checkout-form-card {
  border: 1px solid rgba(255, 255, 255, .86);
  background: rgba(255, 250, 244, .66);
  box-shadow: inset 0 1px 0 var(--glass-highlight), var(--glass-shadow);
}

.product {
  border: 1px solid rgba(255, 255, 255, .9);

}

.product > .product-link:first-child,
.product .product-image,
.image-placeholder {
  background: transparent;
}

.product > .product-link:first-child { border-color: transparent; }
.product .product-image,
.product-detail-image { background: transparent !important; mix-blend-mode: normal; }

.button,
.product-bottom .add-button,
.inline-qty button,
.qty button,
.feedback-submit,
.checkout-link {
  border-color: var(--terracotta-700) !important;
  background: var(--terracotta-700) !important;
  color: #fff !important;
}

@media (hover: hover) and (pointer: fine) {
  .button:hover,
  .product-bottom .add-button:hover,
  .inline-qty button:hover,
  .qty button:hover:not(:disabled),
  .feedback-submit:hover,
  .checkout-link:hover {
    border-color: var(--terracotta-800) !important;
    background: var(--terracotta-800) !important;
  }
}

.cart-toggle span,
.feedback-toast,
.snackbar {
  background: var(--primary-text-color);
}

.cart-promo input,
.checkout-contact input,
.checkout-contact textarea,
.feedback-form input,
.feedback-form textarea {
  background-color: rgba(255, 253, 250, .96);
}

.footer {
  border-top-color: var(--warm-border);
  background-image: linear-gradient(180deg, rgba(255, 250, 244, .9), rgba(247, 237, 226, .94));
}

@media (max-width: 380px) {
  .header {
    gap: 4px;
  }

  .header .logo img { width: 92px; }

  .header-actions { gap: 8px; }

  .header .header-choose-link {
    min-width: 44px;
    padding-inline: 10px;
    font-size: 13px;
  }

  .header .cart-toggle {
    margin-left: 0;
    font-size: 13px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .header {
    transition: none;
  }

  .feedback-toast {
    transition: none;
    transform: translateX(-50%);
  }

  .feedback-toast.is-visible {
    transform: translateX(-50%);
  }
}

/* Каталог и товарная иерархия */
.catalog-heading,
.catalog-page-list,
.catalog-after,
.research,
.catalog-transition,
.catalog-final-cta {
  min-width: 0;
}

.catalog-heading.hero {
  min-height: min(780px, 100svh);
  padding-top: clamp(48px, 8vh, 88px) !important;
  padding-bottom: clamp(48px, 8vh, 88px) !important;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--terracotta-800);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .1em;
  line-height: 1.4;
}

.catalog-heading h1 {
  max-width: 760px;
  margin: 0 0 14px;
  font-size: clamp(40px, 6vw, 68px);
  line-height: .99;
}

.catalog-heading .hero-copy > p:last-child {
  max-width: 680px;
  margin: 0;
  color: var(--secondary-text-color);
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.5;
}

.catalog-page-list > .promo-strip {
  margin: 0 0 40px;
}

@media (max-width: 920px) {
  .catalog-page .catalog-heading.hero {
    min-height: 0;
    align-items: flex-start;
    padding-top: calc(clamp(324px, 45vw, 420px) + 64px) !important;
    padding-bottom: var(--space-32) !important;

  }

    .catalog-page .catalog-heading.hero {
      background: rgba(255, 250, 244, .66);

    }

  .catalog-page .catalog-heading.hero .hero-image {
    object-position: 78% 45%;
  }
}

.catalog-page-list .section-title {
  margin-bottom: 28px;
}

#catalog-list-title {
  scroll-margin-top: 80px;
}

.catalog-page-list .section-title p {
  max-width: 640px;
}

.grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 20px;
  row-gap: 24px;
  align-items: stretch;
}

.product {
  min-height: 0;
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 14px;
  padding: 12px;
  border-radius: 24px;
  background: rgba(255, 250, 244, .76);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), 0 8px 24px rgba(88, 53, 36, .045);
}

.product > .product-link:first-child {
  display: block;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  overflow: visible;
}

.product .product-image {
  width: 100%;
  aspect-ratio: 1;
  border-radius: var(--tea-photo-radius);
  object-fit: contain;
  background: transparent;
  mix-blend-mode: normal;
  transform: none;
}

.product-content {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.product-content > .product-link {
  display: block;
}

.product h3 {
  display: block;
  overflow: visible;
  margin: 0 0 8px;
  color: var(--primary-text-color);
  --h3-font-size: clamp(19px, 2vw, 22px);
  line-height: 1.2;
  overflow-wrap: anywhere;
  white-space: normal;
}

.product .product-use-case,
.product .product-tasting-notes {
  display: block;
  overflow: visible;
  margin: 0;
  -webkit-line-clamp: unset;
}

.product .product-link > .product-use-case {
  width: 100%;
  max-width: 100%;
  margin-bottom: 6px;
  padding: 0 0 0 10px;
  border: 0;
  border-left: 2px solid var(--terracotta-700);
  border-radius: 0;
  background: transparent;
  color: #633a2b !important;
  font-size: 15px !important;
  font-weight: 700;
  line-height: 1.35;
}

.product .product-tasting-notes {
  color: var(--secondary-text-color) !important;
  font-size: 14px !important;
  line-height: 1.4;
}

.product .product-meta {
  margin: auto 0 0;
  padding-top: 4px;
  color: var(--primary-text-color) !important;
  font-size: 17px !important;
  font-weight: 700;
  line-height: 1.35;
}

.product .product-bottom {
  margin-top: 0;
}

.product-bottom .add-button,
.product-bottom .inline-qty,
.inline-qty button {
  min-height: 48px;
}

.product-bottom .inline-qty {
  grid-template-columns: 48px minmax(44px, 1fr) 48px;
  min-width: 144px;
}

.product-bottom .inline-qty button {
  min-width: 44px;
}

.product-link:focus-visible {
  outline: 3px solid var(--terracotta-700);
  outline-offset: 3px;
}

.catalog-after {
  display: grid;
  gap: 14px;
}

.catalog-after h2,
.catalog-after p {
  max-width: 720px;
  margin: 0;
}

.catalog-after .button {
  width: fit-content;
}

/* Научные результаты показаны отдельными островами. */
.research-sequence {
  display: grid;
  gap: clamp(28px, 2.5vw, 40px);
  min-width: 0;
  scroll-margin-top: 80px;
}

.attention-statistics {
  display: grid;
  gap: clamp(22px, 3vw, 36px);
  padding-block: clamp(24px, 4vw, 44px);
  padding-inline: var(--island-inline-padding);
}

.attention-statistics-head {
  display: grid;
  gap: 10px;
}

.attention-statistics h2 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(26px, 3.4vw, 38px);
  line-height: 1.08;
}

.attention-statistics-head p {
  max-width: 720px;
  margin: 0;
  color: var(--secondary-text-color);
  font-size: 15px;
  line-height: 1.45;
}

.attention-statistics-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: clamp(12px, 1.6vw, 20px);
}

.attention-stat {
  display: grid;
  align-content: start;
  gap: 16px;
  min-width: 0;
  padding: clamp(18px, 2.2vw, 28px);
  border: 1px solid var(--warm-border);
  border-radius: var(--island-radius);
  background: rgba(255, 251, 245, .66);
}

.attention-stat-callout {
  display: grid;
  align-content: start;
  gap: 10px;
  min-height: 0;
}

.attention-stat .attention-stat-value {
  --primary-text-color: var(--terracotta-700);
  --text-1-font-size: clamp(58px, 6.2vw, 84px);
  margin: 0;
  color: var(--terracotta-700);
  font-size: clamp(58px, 6.2vw, 84px);
  font-weight: 750;
  letter-spacing: -.075em;
  line-height: .9;
  white-space: nowrap;
}

.attention-stat-value small {
  font-size: .32em;
  letter-spacing: -.02em;
}

.attention-stat:nth-child(2) .attention-stat-value {
  --text-1-font-size: clamp(58px, 5.2vw, 70px);
  font-size: clamp(58px, 5.2vw, 70px);
}

.attention-stat-callout h3 {
  --h3-font-size: clamp(22px, 2.1vw, 30px);
  --primary-text-color: var(--terracotta-800);
  max-width: 310px;
  margin: 0;
  color: var(--terracotta-800);
  font-size: clamp(22px, 2.1vw, 30px);
  font-weight: 700;
  letter-spacing: -.035em;
  line-height: 1.04;
}

.attention-stat > p:not(.attention-stat-value) {
  max-width: 440px;
  margin: 0;
  color: var(--secondary-text-color);
  font-size: 14px;
  line-height: 1.5;
}

@media (max-width: 900px) {
  .attention-statistics-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }

  .attention-stat {
    gap: 12px;
    padding: 20px;
  }

  .attention-stat .attention-stat-value {
    --text-1-font-size: clamp(60px, 15vw, 76px);
    font-size: clamp(60px, 15vw, 76px);
  }

  .attention-stat-callout h3 {
    --h3-font-size: clamp(23px, 6vw, 30px);
    max-width: none;
    font-size: clamp(23px, 6vw, 30px);
  }
}

.research-note {
  width: var(--island-width);
  max-width: var(--content-max);
  margin: 0 auto;
  padding-inline: var(--page-gutter);
  color: var(--secondary-text-color);
  font-size: 14px;
  line-height: 1.45;
}

.study-card {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  grid-template-rows: auto auto auto 1fr auto;
  grid-template-areas:
    "kicker graphic"
    "title graphic"
    "summary graphic"
    "limit graphic"
    "source graphic";
  gap: 10px 28px;
  padding-top: clamp(24px, 4vw, 38px);
  padding-bottom: clamp(24px, 4vw, 38px);
  border-radius: var(--island-radius);
  scroll-margin-top: 80px;
}

.study-card--comparison {
  grid-template-rows: auto auto auto auto;
  grid-template-areas:
    "kicker graphic"
    "title graphic"
    "limit graphic"
    "source graphic";
}

.study-card--forest,
.study-card--gaba {
  grid-template-rows: auto;
  grid-template-areas: "copy graphic";
  gap: 12px 28px;
}

.study-copy {
  grid-area: copy;
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-self: start;
  gap: var(--space-16);
}

.study-copy > :is(h2, h3, p) {
  margin: 0;
}

.study-card--forest .study-summary {
  max-width: 780px;
}

.study-card--forest .study-graphic {
  padding: clamp(16px, 2.5vw, 28px);
  border: 1px solid var(--warm-border);
  border-radius: 20px;
  background: rgba(255, 255, 255, .26);
}

.study-kicker {
  grid-area: kicker;
  margin: 0;
  color: var(--secondary-text-color);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.4;
}

.study-card h3 {
  grid-area: title;
  margin: 0;
  font-size: clamp(24px, 2.8vw, 30px);
  line-height: 1.12;
}

.study-summary {
  grid-area: summary;
  margin: 0;
  color: var(--secondary-text-color);
  font-size: 15px;
  line-height: 1.42;
}

.study-graphic {
  grid-area: graphic;
  min-width: 0;
  align-self: stretch;
  margin: 0;
  padding: 14px 18px;
  border: 0;
  border-left: 2px solid rgba(166, 72, 50, .24);
  border-radius: 0 16px 16px 0;
  background: rgba(255, 255, 255, .22);
}

.study-graphic figcaption {
  margin-bottom: 16px;
  color: var(--secondary-text-color);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
}

.study-limit {
  grid-area: limit;
  align-self: end;
  margin: 4px 0 0;
  color: var(--secondary-text-color);
  font-size: 13px;
  line-height: 1.4;
}

.study-source {
  grid-area: source;
  align-self: end;
  width: fit-content;
  max-width: 100%;
  margin-top: 4px;
  color: var(--terracotta-800);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
}

.study-experiment + .study-experiment {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--warm-border);
}

.study-experiment-label,
.study-condition,
.forest-row-heading,
.gaba-measure-heading,
.gaba-score-pair,
.alpha-timeline {
  display: flex;
  align-items: center;
}

.study-experiment-label {
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.study-experiment-label strong,
.study-condition strong {
  font-size: 15px;
}

.study-experiment-label span {
  color: var(--secondary-text-color);
  font-size: 12px;
  text-align: right;
}

.study-condition {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 28px minmax(0, 1fr);
  gap: 4px 8px;
  align-items: center;
  font-size: 13px;
  line-height: 1.3;
}

.study-condition > span:first-child {
  color: var(--secondary-text-color);
}

.study-condition strong {
  color: var(--terracotta-800);
}

.study-arrow {
  color: var(--terracotta-700);
  font-size: 22px;
  font-weight: 700;
  text-align: center;
}

.study-result {
  grid-column: 3;
  color: var(--terracotta-800);
  font-size: 12px;
  font-weight: 700;
}

.forest-row + .forest-row {
  margin-top: 14px;
}

.forest-row-heading {
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 9px;
}

.forest-row-heading strong {
  color: var(--primary-text-color);
  font-size: 15px;
}

.forest-row-heading b {
  color: var(--terracotta-800);
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.1;
}

.forest-track {
  position: relative;
  height: 24px;
  margin-bottom: 7px;
  border-bottom: 1px solid var(--warm-border-strong);
  background: linear-gradient(90deg, transparent calc(50% - .5px), rgba(102, 85, 75, .25) calc(50% - .5px), rgba(102, 85, 75, .25) calc(50% + .5px), transparent calc(50% + .5px));
}

.forest-interval {
  position: absolute;
  top: 10px;
  left: var(--left);
  width: var(--width);
  height: 3px;
  border-radius: 999px;
  background: #bd765e;
}

.forest-interval::before,
.forest-interval::after {
  position: absolute;
  top: -4px;
  width: 2px;
  height: 11px;
  background: #bd765e;
  content: "";
}

.forest-interval::before { left: 0; }
.forest-interval::after { right: 0; }

.forest-interval i {
  position: absolute;
  top: 50%;
  left: var(--point);
  width: 12px;
  height: 12px;
  border: 2px solid #fffdfb;
  border-radius: 50%;
  background: var(--terracotta-800);
  box-shadow: 0 0 0 1px var(--terracotta-800);
  transform: translate(-50%, -50%);
}

.forest-row > p {
  margin: 0;
  color: var(--secondary-text-color);
  font-size: 12px;
}

.forest-axis {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
  color: var(--secondary-text-color);
  font-size: 11px;
}

.attention-dot-plot figcaption {
  max-width: 760px;
  margin: 16px 0 0;
  font-size: 14px;
  font-weight: 600;
}

.attention-dot-row {
  display: grid;
  grid-template-columns: minmax(84px, .72fr) minmax(0, 1fr) auto;
  align-items: center;
  column-gap: 18px;
}

.attention-dot-row {
  min-height: 58px;
}

.attention-dot-row + .attention-dot-row {
  border-top: 1px solid var(--warm-border);
}

.attention-dot-label {
  color: var(--primary-text-color);
  font-size: 15px;
}

.attention-dot-track {
  position: relative;
  height: 2px;
  background: linear-gradient(90deg, transparent calc(50% - .5px), rgba(102, 85, 75, .3) calc(50% - .5px), rgba(102, 85, 75, .3) calc(50% + .5px), transparent calc(50% + .5px)), var(--warm-border-strong);
}

.attention-dot-track span {
  position: absolute;
  top: 50%;
  left: var(--dot-position);
  width: 14px;
  height: 14px;
  border: 3px solid #fffdfb;
  border-radius: 50%;
  background: var(--terracotta-800);
  box-shadow: 0 0 0 1px var(--terracotta-800);
  transform: translate(-50%, -50%);
}

.attention-dot-value {
  min-width: 74px;
  color: var(--terracotta-800);
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.1;
  text-align: right;
}

.gaba-measure + .gaba-measure {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--warm-border);
}

.gaba-measure-heading {
  align-items: flex-start;
  flex-direction: column;
  gap: 3px;
  margin-bottom: 14px;
}

.gaba-measure-heading strong {
  font-size: 15px;
  line-height: 1.35;
}

.gaba-measure-heading span {
  color: var(--secondary-text-color);
  font-size: 12px;
}

.gaba-score-pair {
  justify-content: center;
  gap: clamp(16px, 5vw, 48px);
}

.gaba-score-pair > div,
.alpha-timeline > div {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 4px;
  text-align: center;
}

.gaba-score-pair b {
  color: var(--terracotta-800);
  font-size: 30px;
  line-height: 1;
}

.gaba-scale {
  position: relative;
  height: 18px;
  margin: 14px 6px 2px;
}

.gaba-scale::before {
  position: absolute;
  top: 7px;
  right: 0;
  left: 0;
  height: 4px;
  border-radius: 99px;
  background: linear-gradient(90deg, #e4d5c7, #c7775c);
  content: "";
}

.gaba-scale-dot {
  position: absolute;
  top: 2px;
  left: var(--position);
  width: 14px;
  height: 14px;
  border: 3px solid var(--surface-color);
  border-radius: 50%;
  background: var(--terracotta-800);
  box-shadow: 0 0 0 1px var(--terracotta-800);
  transform: translateX(-50%);
}

.gaba-scale-labels {
  display: flex;
  justify-content: space-between;
  margin: 0 6px;
  color: var(--secondary-text-color);
  font-size: 12px;
}

.study-gaba-results {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
}

@media (min-width: 1100px) {
  .study-gaba-results {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .study-gaba-results .gaba-measure + .gaba-measure {
    margin: 0;
    padding: 0 0 0 18px;
    border: 0;
    border-left: 1px solid var(--warm-border);
  }
}

.gaba-score-pair > div > span,
.alpha-timeline > div > span {
  color: var(--secondary-text-color);
  font-size: 12px;
  line-height: 1.3;
}

.alpha-timeline {
  justify-content: space-between;
  gap: 7px;
}

.alpha-timeline > i {
  width: min(8vw, 52px);
  height: 2px;
  flex: 0 1 52px;
  background: #d5aa94;
}

.alpha-timeline b {
  color: var(--terracotta-800);
  font-size: 20px;
  line-height: 1;
}

.alpha-wave-graphic {
  display: grid;
  gap: 10px;
  border: 0;
  border-radius: 16px;
}

.alpha-wave-chart {
  position: relative;
  height: clamp(74px, 10vw, 112px);
  min-width: 0;
}

.alpha-wave-chart svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.alpha-wave-baseline {
  fill: none;
  stroke: rgba(102, 85, 75, .2);
  stroke-width: 1.5;
  stroke-dasharray: 4 7;
}

.alpha-wave-line {
  fill: none;
  stroke: url(#alpha-wave-color);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

.alpha-wave-marker {
  position: absolute;
  top: 8%;
  bottom: 8%;
  width: 1px;
  background: rgba(102, 85, 75, .22);
}

.alpha-wave-marker--30 { left: 33%; }
.alpha-wave-marker--28 { left: 66%; }

.alpha-wave-stages {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.alpha-wave-stages > div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.alpha-wave-stages > div:nth-child(2) { text-align: center; }
.alpha-wave-stages > div:last-child { align-items: flex-end; text-align: right; }

.alpha-wave-stages span {
  color: var(--secondary-text-color);
  font-size: 12px;
}

.alpha-wave-stages b {
  color: var(--terracotta-800);
  font-size: clamp(20px, 2.5vw, 28px);
  line-height: 1;
}

.alpha-concentration-card {
  display: grid;
  gap: 8px;
  margin-top: 8px;
  padding: clamp(16px, 2.5vw, 24px);
  border: 1px solid var(--warm-border);
  border-radius: 20px;
  background: rgba(255, 253, 250, .46);
}

.alpha-concentration-value {
  margin: 0;
  color: var(--terracotta-700) !important;
  font-size: clamp(56px, 15vw, 78px) !important;
  font-weight: 750 !important;
  letter-spacing: -.055em;
  line-height: .95;
}

.alpha-concentration-card h4 {
  margin: 0;
  color: var(--terracotta-800) !important;
  font-size: clamp(20px, 4vw, 27px) !important;
  font-weight: 700 !important;
  line-height: 1.16;
}

.alpha-concentration-description {
  max-width: 760px;
  margin: 0;
  color: var(--secondary-text-color) !important;
  font-size: 14px !important;
  line-height: 1.45;
}

.alpha-concentration-score {
  display: grid;
  grid-template-columns: auto auto auto;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 4vw, 32px);
  width: 100%;
  margin-top: 4px;
  padding-top: 12px;
  border-top: 1px solid var(--warm-border);
}

.alpha-concentration-score-item {
  display: grid;
  gap: 3px;
}

.alpha-concentration-score-item:last-child {
  text-align: right;
}

.alpha-concentration-score-item > span {
  color: var(--terracotta-800) !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  line-height: 1.2;
}

.alpha-concentration-score-item strong {
  color: var(--terracotta-800) !important;
  font-size: clamp(24px, 6vw, 30px) !important;
  line-height: 1.1;
  white-space: nowrap;
}

.alpha-concentration-score-item small {
  color: var(--terracotta-800) !important;
  font-size: .62em;
  font-weight: 600;
}

.alpha-concentration-score-arrow {
  color: var(--terracotta-700) !important;
  font-size: 28px;
  font-weight: 700;
}

.alpha-wave-graphic figcaption {
  margin: 0;
  font-size: 11px;
  font-weight: 500;
}

.catalog-transition,
.catalog-final-cta {
  display: grid;
  justify-items: start;
  gap: 12px;
  padding-top: clamp(30px, 5vw, 56px) !important;
  padding-bottom: clamp(30px, 5vw, 56px) !important;
  background: linear-gradient(120deg, rgba(255, 251, 245, .76), rgba(248, 225, 211, .70));
}

.catalog-transition h2,
.catalog-final-cta h2 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(32px, 4.5vw, 52px);
  line-height: 1.05;
}

.catalog-transition > p:not(.eyebrow),
.catalog-final-cta > p:not(.eyebrow) {
  max-width: 720px;
  margin: 0;
  color: var(--secondary-text-color);
  font-size: clamp(16px, 2vw, 19px);
  line-height: 1.5;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 24px;
}

.hero-actions .sources-all-link {
  margin: 0;
}

.customer-reviews {
  display: grid;
  gap: 16px;
  padding-top: clamp(24px, 4vw, 40px) !important;
  padding-bottom: clamp(24px, 4vw, 40px) !important;
}

.reviews-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
}

.reviews-heading h2 {
  margin: 0;
  font-size: clamp(28px, 3.5vw, 40px);
  line-height: 1.08;
}

.reviews-invite {
  margin: 10px 0 0;
  color: var(--secondary-text-color);
  font-size: 16px;
  line-height: 1.4;
}

.reviews-heading .eyebrow {
  margin-bottom: 7px;
}

.reviews-attribution {
  max-width: 390px;
  margin: 0;
  color: var(--secondary-text-color);
  font-size: 14px;
  line-height: 1.4;
  text-align: right;
}

.review-rail {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: start;
  gap: 14px;
}

.review-card {
  display: flex;
  min-width: 0;
  min-height: 150px;
  flex-direction: column;
  gap: 12px;
  padding: 18px 18px 20px;
  border: 1px solid rgba(255, 255, 255, .86);
  border-radius: 20px;

  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .72);
}

.review-card-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  color: var(--secondary-text-color);
  font-size: 13px;
  line-height: 1.35;
}

.review-card-author {
  display: grid;
  gap: 4px;
}

.review-card-meta strong {
  color: var(--primary-text-color);
}

.review-card-meta time {
  flex: 0 0 auto;
  text-align: right;
}

.review-stars {
  color: #9a552f;
  font-size: 16px;
  letter-spacing: .08em;
}

.review-card blockquote {
  flex: 1;
  margin: 0;
  color: var(--primary-text-color);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.45;
}

.review-evidence summary {
  width: fit-content;
  color: var(--terracotta-800);
  font-size: 14px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.review-evidence img {
  display: block;
  width: 100%;
  height: auto;
  margin-top: 12px;
  border: 1px solid var(--warm-border);
  border-radius: 10px;
  background: #fff;
}

.reviews-scroll-hint {
  display: none;
  margin: -4px 0 0;
  color: var(--secondary-text-color);
  font-size: 13px;
}

.review-card {
  background: rgba(255, 255, 255, .30);
}

.catalog-transition .promo-strip {
  width: min(640px, 100%);
  margin: 12px 0 0;
}

.experience-section figure {
  margin: 24px 0 0;
}

.experience-section figcaption {
  max-width: 760px;
  margin-top: 12px;
  color: var(--secondary-text-color);
  font-size: 13px;
  line-height: 1.45;
}

.product-detail-content .product-use {
  width: 100%;
  max-width: 100%;
  margin: 0 0 8px;
  padding: 0 0 0 11px;
  border: 0;
  border-left: 2px solid var(--terracotta-700);
  border-radius: 0;
  background: transparent;
  color: #633a2b;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
}

@media (max-width: 980px) {
  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }
}

@media (max-width: 620px) {
  .research-sequence { gap: 28px; }

  .study-card {

    padding: 12px var(--page-gutter) 14px;
  }

  .study-card--comparison {
    grid-template-rows: repeat(5, auto);
    grid-template-areas: "kicker" "title" "graphic" "limit" "source";
  }

  .study-graphic figcaption {
    margin-bottom: 10px;
  }

  .study-experiment + .study-experiment {
    margin-top: 8px;
    padding-top: 8px;
  }

  .forest-row + .forest-row {
    margin-top: 10px;
  }

  .attention-dot-row {
    grid-template-columns: minmax(72px, .7fr) minmax(0, 1fr) auto;
    column-gap: 10px;
  }

  .attention-dot-value {
    min-width: 64px;
    font-size: 24px;
  }

  .gaba-measure + .gaba-measure {
    margin-top: 8px;
    padding-top: 8px;
  }

  .gaba-measure-heading {
    margin-bottom: 10px;
  }

  .gaba-scale {
    margin-top: 10px;
  }

  .grid {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 16px;
  }

  .hero-actions {
    display: grid;
    gap: 8px;
  }

  .hero-actions > a {
    width: 100%;
    justify-content: center;
  }

  .reviews-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .reviews-attribution {
    max-width: 34ch;
    text-align: left;
  }

  .review-rail {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    overflow: visible;
    padding: 0;
    scroll-snap-type: none;
  }

  .review-card { min-height: 0; padding: 16px 16px 18px; }

  .product {
    grid-template-columns: minmax(104px, .42fr) minmax(0, 1fr);
    grid-template-rows: 1fr;
    align-items: stretch;
    gap: 14px;
    padding: 10px;
    border-radius: 22px;
  }

  .product > .product-link:first-child {
    align-self: start;
    padding: 5px;
    border-radius: 15px;
  }

  .product .product-image {
    aspect-ratio: 1;
    border-radius: var(--tea-photo-radius);
  }

  .product-content {
    gap: 7px;
  }

  .product h3 {
    margin-bottom: 5px;
    font-size: 19px;
  }

  .product .product-link > .product-use-case {
    margin-bottom: 6px;
    padding: 0 0 0 9px;
    font-size: 15px !important;
  }

  .product .product-tasting-notes {
    font-size: 14px !important;
    line-height: 1.35;
  }

  .product .product-meta {
    margin-top: auto;
    padding-top: 0;
    font-size: 15px !important;
  }

  .product-bottom .add-button,
  .product-bottom .inline-qty {
    min-height: 44px;
    font-size: 14px;
  }

  .product-bottom .inline-qty {
    grid-template-columns: 44px minmax(36px, 1fr) 44px;
    min-width: 124px;
  }

  .product-bottom .inline-qty button {
    min-height: 44px;
    min-width: 44px;
  }

  .study-card {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto;
    grid-template-areas: "kicker" "title" "summary" "graphic" "limit" "source";
    gap: 8px;
    padding-top: 20px;
    padding-bottom: 22px;
  }

  .study-card--forest,
  .study-card--gaba,
  .china-tea-section {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto;
    grid-template-areas: "copy" "graphic";
  }

  .study-graphic {
    margin-top: 2px;
    padding: 12px 14px;
  }

  .study-gaba-results {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .study-gaba-results .gaba-measure + .gaba-measure {
    margin-top: 0;
    padding-top: 12px;
    border-top: 1px solid var(--warm-border);
    border-left: 0;
  }

  .study-experiment-label {
    align-items: center;
    flex-wrap: wrap;
    gap: 3px 10px;
  }

  .study-experiment-label span {
    text-align: right;
  }

  .catalog-heading h1 {
    font-size: 40px;
  }

  .catalog-transition .promo-strip {
    margin-top: 8px;
  }
}

/* Desktop homepage refinements: steady review cards, balanced alpha graphic, and glass hero. */
@media (min-width: 921px) {
  /* Fade the artwork itself so the existing glass remains visible underneath. */
  :is(.home-page .hero, .sources-page .sources-hero, .catalog-page .catalog-heading.hero) {
    min-height: min(780px, 100svh);
    align-items: flex-end;
    padding-top: 96px !important;
    padding-bottom: clamp(40px, 6vh, 64px) !important;
    border: 1px solid rgba(255, 255, 255, .86);
    background: rgba(255, 250, 244, .3);
    box-shadow: inset 0 1px 0 var(--glass-highlight), var(--glass-shadow);
  }

  :is(.home-page .hero, .sources-page .sources-hero, .catalog-page .catalog-heading.hero) .hero-image {
    inset: 0 0 0 auto;
    width: 86%;
    height: 100%;
    object-position: 58% center;
    -webkit-mask-image:
      linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, .22) 18%, rgba(0, 0, 0, .68) 38%, rgba(0, 0, 0, .9) 52%, #000 68%),
      linear-gradient(0deg, transparent 0%, rgba(0, 0, 0, .52) 12%, rgba(0, 0, 0, .84) 26%, #000 38%);
    mask-image:
      linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, .22) 18%, rgba(0, 0, 0, .68) 38%, rgba(0, 0, 0, .9) 52%, #000 68%),
      linear-gradient(0deg, transparent 0%, rgba(0, 0, 0, .52) 12%, rgba(0, 0, 0, .84) 26%, #000 38%);
    -webkit-mask-composite: source-in;
    mask-composite: intersect;
  }

  :is(.home-page .hero, .sources-page .sources-hero, .catalog-page .catalog-heading.hero)::before {
    background: linear-gradient(115deg, rgba(255, 255, 255, .16), transparent 58%);
    -webkit-mask-image: none;
    mask-image: none;
  }

  :is(.home-page .hero, .sources-page .sources-hero, .catalog-page .catalog-heading.hero) .hero-copy {
    width: min(48%, 600px);
    max-width: 600px;
    margin-left: clamp(8px, 2vw, 30px);
    align-self: flex-end;
  }

  .home-page .hero .hero-actions .button {
    min-width: 190px;
    min-height: 52px;
    padding-inline: 22px;
    border-radius: 16px;
    box-shadow: 0 8px 20px rgba(110, 48, 31, .2);
  }

  .home-page .hero .hero-actions > .sources-all-link {
    display: inline-flex;
    min-height: 52px;
    align-items: center;
    justify-content: center;
    padding-inline: 16px;
    border: 1px solid #d7dfda;
    border-radius: var(--button-radius);
    color: var(--primary-text-color);
    text-decoration: none;
  }

  .catalog-page .catalog-heading h1 {
    max-width: 13ch;
    font-size: clamp(44px, 5.5vw, 64px);
  }

  .catalog-page .catalog-heading .hero-copy > p:last-child {
    max-width: 52ch;
  }

  .catalog-page .catalog-heading .hero-actions .button {
    min-width: 190px;
    min-height: 52px;
    padding-inline: 22px;
    border-radius: 16px;
    box-shadow: 0 8px 20px rgba(110, 48, 31, .2);
  }

  .review-rail {
    grid-auto-rows: 1fr;
    align-items: stretch;
    gap: 16px;
  }

  .review-card {
    height: 100%;
    min-height: 250px;
  }

  .review-card-meta {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }

  .review-card-meta time {
    text-align: left;
  }

  .review-card blockquote {
    font-size: clamp(15px, 1.15vw, 17px);
  }

  .study-card--forest .attention-dot-plot {
    width: min(100%, 800px);
    justify-self: center;
  }

}

@media (min-width: 621px) {
  .study-card--gaba .alpha-wave-graphic {
    grid-template-columns: minmax(0, 1fr);
    align-content: center;
    align-items: center;
    gap: var(--space-16);
  }

  .study-card--gaba .alpha-wave-chart,
  .study-card--gaba .alpha-wave-stages {
    grid-column: 1;
  }

  .study-card--gaba .alpha-concentration-card {
    grid-column: 1;
    margin-top: 0;
    padding: clamp(16px, 2vw, 22px);
  }

  .study-card--gaba .alpha-concentration-value {
    font-size: clamp(36px, 4.2vw, 56px) !important;
  }

  .study-card--gaba .alpha-concentration-card h4 {
    font-size: clamp(17px, 1.6vw, 22px) !important;
  }

  .study-card--gaba .alpha-concentration-score {
    gap: clamp(6px, 1vw, 16px);
  }

  .study-card--gaba .alpha-concentration-score-item strong {
    font-size: clamp(18px, 1.8vw, 26px) !important;
  }

  .study-card--gaba .alpha-wave-graphic figcaption {
    grid-column: 1 / -1;
  }
}

@media (max-width: 350px) {
  .product {
    grid-template-columns: minmax(88px, .38fr) minmax(0, 1fr);
    gap: 9px;
  }

  .product h3 {
    font-size: 18px;
  }

  .product .product-tasting-notes {
    font-size: 12px !important;
  }

  .study-card {
    padding-top: 16px;
    padding-bottom: 18px;
  }

  .study-condition {
    grid-template-columns: minmax(0, 1fr) 20px minmax(0, 1fr);
    gap: 4px;
    font-size: 12px;
  }

  .gaba-score-pair {
    gap: 14px;
  }
}

/* Original MRI task-activation maps from Schmidt et al., Figure 1. */
.study-card.study-card--connectivity {
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto;
  grid-template-areas: "kicker" "title" "summary" "graphic" "limit" "source";
  gap: 14px;
}
.study-card--connectivity .study-summary { max-width: 760px; }
.study-card--connectivity .brain-connectivity {
  margin-top: 12px;
  padding: clamp(20px, 3.5vw, 40px);
  border: 1px solid var(--warm-border);
  border-radius: 24px;
  background: #fbf0e5;
}
.brain-connectivity-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(14px, 3vw, 36px);
  max-width: 900px;
  margin: 0 auto;
}
.brain-connectivity-condition { min-width: 0; text-align: center; }
.brain-connectivity-scan-frame {
  overflow: hidden;
  padding: clamp(10px, 2vw, 24px);
  border: 1px solid #674b3a;
  border-radius: 18px;
  background: radial-gradient(ellipse at 50% 38%, #48362b, #291f1b 78%);
}
.brain-connectivity-scan {
  display: block;
  width: 100%;
  height: auto;
  overflow: hidden;
  color: #efbd92;
}
.brain-connectivity-anatomy {
  filter: brightness(1.85) saturate(.65) sepia(.2);
  mix-blend-mode: screen;
}
.brain-connectivity-label {
  margin: 18px 0 4px;
  color: var(--terracotta-800) !important;
  font-size: clamp(20px, 4vw, 27px) !important;
  font-weight: 700 !important;
  line-height: 1.16;
}
.study-card--connectivity .brain-connectivity figcaption {
  max-width: 800px;
  margin: 24px auto 0;
  color: var(--secondary-text-color);
  text-align: center;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.55;
}
@media (max-width: 620px) {
  .study-card.study-card--connectivity { gap: 10px; padding-inline: 20px; }
  .study-card--connectivity .brain-connectivity { padding: 20px 12px; border-radius: 18px; }
  .brain-connectivity-scan-frame { padding: 7px 3px; border-radius: 12px; }
  .brain-connectivity-label { margin-top: 12px; min-height: 2.6em; }
}

/* В карточке каталога: название, красный юзкейс и фото без вкусовых дескрипторов */
:is(.catalog-page-list, .related-catalog) .product > .product-link:first-child {
  padding-top: 0;
}

:is(.catalog-page-list, .related-catalog) .product-content > .product-link {
  display: flex;
  flex-direction: column;
}

:is(.catalog-page-list, .related-catalog) .product h3 {
  order: 1;
}

:is(.catalog-page-list, .related-catalog) .product .product-link > .product-use-case {
  position: static;
  order: 2;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  color: var(--terracotta-700) !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  line-height: 1.35;
}

:is(.catalog-page-list, .related-catalog) .product .product-tasting-notes {
  display: none;
}

/* Каталог: компактные карточки в две колонки на телефонах */
@media (max-width: 620px) {
  :is(.catalog-page-list, .related-catalog) .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 12px;
    row-gap: 14px;
  }

  :is(.catalog-page-list, .related-catalog) .product {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 9px;
    padding: 10px;
    border-radius: 20px;
  }

  :is(.catalog-page-list, .related-catalog) .product > .product-link:first-child {
    align-self: stretch;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    overflow: visible;
  }

  :is(.catalog-page-list, .related-catalog) .product .product-image {
    width: 100%;
    aspect-ratio: 1;
    border-radius: var(--tea-photo-radius);
    background: transparent;
    transform: none;
  }

  :is(.catalog-page-list, .related-catalog) .product-content {
    flex: 1 1 auto;
    gap: 6px;
  }

  :is(.catalog-page-list, .related-catalog) .product h3 {
    margin-bottom: 5px;
    --h3-font-size: clamp(15px, 4.25vw, 18px);
    line-height: 1.15;
  }

  :is(.catalog-page-list, .related-catalog) .product .product-link > .product-use-case {
    margin-top: 2px;
    font-size: 16px !important;
    line-height: 1.25;
  }

  :is(.catalog-page-list, .related-catalog) .product .product-tasting-notes {
    display: none;
  }

  :is(.catalog-page-list, .related-catalog) .product .product-meta {
    margin-top: auto;
    padding-top: 7px;
    font-size: 14px !important;
    line-height: 1.25;
  }

  :is(.catalog-page-list, .related-catalog) .product .product-bottom {
    width: 100%;
    margin-top: 0;
  }

  :is(.catalog-page-list, .related-catalog) .product-bottom .add-button {
    min-height: 40px;
    padding-inline: 5px;
    font-size: 13px;
  }

  :is(.catalog-page-list, .related-catalog) .product-bottom .inline-qty {
    grid-template-columns: 36px minmax(28px, 1fr) 36px;
    min-width: 0;
  }

  :is(.catalog-page-list, .related-catalog) .product-bottom .inline-qty button {
    min-width: 36px;
    min-height: 40px;
  }
}

/* All product pages use the same photo, use case and related-card layout. */
.product-detail-page > section[data-product-detail] .product-detail-card {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.product-detail-page > section[data-product-detail] .product-use {
  margin: 0 0 var(--space-12);
  padding: 0;
  border: 0;
  color: var(--terracotta-700) !important;
  font-size: 16px;
  font-weight: 700 !important;
  line-height: 1.4;
}

.product-detail-page > section[data-product-detail] .product-tags .badge {
  min-height: 34px;
  padding: 6px 14px;
  border: 1px solid #e8b66c;
  border-radius: var(--button-radius);
  background: #f8d594;
  color: #70431d !important;
  font-size: var(--text-1-font-size) !important;
}

@media (max-width: 760px) {
  .product-detail-page > section[data-product-detail] .product-detail-card {
    grid-template-columns: minmax(0, 1fr);
  }

  .product-detail-page > section[data-product-detail] .product-detail-image {
    height: auto;
    aspect-ratio: 1;
  }

}

/* Empty cart presentation */
.cart-page .cart-card,
.cart-page .one-click-card {
  border: 0;
  background: transparent;
  box-shadow: none;
}

.cart-page:has(.cart-empty.visible) .cart-layout {
  grid-template-columns: minmax(0, 1fr);
}

.cart-page:has(.cart-empty.visible) .cart-card {
  padding: 0;
}

body.cart-page-body .header + .first-screen-stage > main.cart-page:first-child {
  padding-top: calc(62px + var(--space-24)) !important;
}

body.cart-page-body .cart-empty.visible {
  width: min(100%, 600px);
  min-height: 230px;
  box-sizing: border-box;
  justify-items: center;
  align-content: center;
  gap: var(--space-12);
  margin-inline: auto;
  padding: clamp(24px, 6vw, 48px);
  border: 1px solid rgba(255, 255, 255, .82);
  border-radius: 28px;
  background: rgba(255, 250, 244, .78);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8), 0 12px 32px rgba(88, 53, 36, .06);
  text-align: center;
}

body.cart-page-body .cart-empty strong {
  color: var(--primary-text-color);
  font-size: clamp(24px, 5vw, 32px);
  line-height: 1.2;
}

body.cart-page-body .cart-empty p {
  max-width: 36ch;
  color: var(--secondary-text-color);
  font-size: 16px;
  line-height: 1.5;
}

body.cart-page-body .cart-empty .button {
  width: auto;
  min-width: 220px;
  max-width: 100%;
  min-height: 48px;
  justify-content: center;
  margin-top: var(--space-8);
  padding-inline: var(--space-20);
}

@media (max-width: 620px) {
  body.cart-page-body .header + .first-screen-stage > main.cart-page:first-child {
    padding-top: calc(62px + var(--space-20)) !important;
  }

  body.cart-page-body .cart-empty.visible {
    min-height: 210px;
    padding: 28px 20px;
    border-radius: 24px;
  }

  body.cart-page-body .cart-empty .button {
    width: min(100%, 280px);
    min-width: 0;
  }
}

@media (min-width: 761px) {
  body {
    --page-gutter: clamp(32px, 4.5vw, 52px);
    --content-max: 1080px;
    --island-content-max: var(--content-max);
  }

  .cart-page-item {
    --cart-item-image-size: 88px;
    grid-template-columns: var(--cart-item-image-size) minmax(0, 1fr) 9ch auto;
  }

  .cart-item-image {
    width: var(--cart-item-image-size);
    height: var(--cart-item-image-size);
  }
}
