/*
Theme Name: Xi Tong Tea
Theme URI: https://example.local/xi-tong-tea
Author: Codex
Description: Premium tea shop theme with WooCommerce support inspired by Xi Tong tea editorial layouts.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 8.0
Text Domain: xi-tong-tea
*/

:root {
  --tea-ink: #16291d;
  --tea-green: #3d5138;
  --tea-moss: #7d876b;
  --tea-sage: #cdd3bf;
  --tea-paper: #f5f0e7;
  --tea-porcelain: #fffaf0;
  --tea-honey: #d89b26;
  --tea-red: #803f32;
  --tea-line: rgba(32, 45, 33, 0.18);
  --shadow-soft: 0 22px 60px rgba(27, 43, 30, 0.16);
  --shadow-panel: 0 6px 8px rgba(25, 42, 31, 0.1);
  --shadow-control: 0 6px 8px rgba(36, 60, 44, 0.18);
  --radius: 8px;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 18% 8%, rgba(205, 211, 191, 0.42), transparent 30%),
    linear-gradient(135deg, #fbf8f0 0%, #efe8dc 100%);
  color: var(--tea-ink);
  font-family: "Avenir Next", "Noto Sans", "Segoe UI", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.55;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 52% 0%, rgba(61, 81, 56, 0.08), transparent 58%),
    radial-gradient(ellipse at 8% 46%, rgba(128, 63, 50, 0.045), transparent 42%);
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.72), transparent 76%);
}

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

:focus-visible {
  outline: 2px solid var(--tea-honey);
  outline-offset: 3px;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-shell {
  min-height: 100vh;
}

.has-cookie-consent .site-shell {
  padding-bottom: 260px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid rgba(22, 41, 29, 0.12);
  background: rgba(250, 247, 239, 0.9);
  backdrop-filter: blur(18px);
}

.site-header__inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 128px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
}

.brand {
  display: inline-grid;
  justify-items: center;
  align-items: center;
  width: max-content;
  text-align: center;
}

.brand__mark {
  width: 112px;
  height: 130px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--tea-green);
}

.brand__mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand__name {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 17px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0;
  color: var(--tea-ink);
  text-transform: none;
}

.main-nav {
  justify-self: center;
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.main-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  color: rgba(22, 41, 29, 0.74);
  font-size: 15px;
  font-weight: 700;
}

.main-nav a:hover,
.main-nav a:focus,
.main-nav a:focus-visible {
  background: rgba(125, 135, 107, 0.18);
  color: var(--tea-ink);
  outline: 2px solid var(--tea-honey);
  outline-offset: 3px;
}

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

.icon-button,
.menu-toggle {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(22, 41, 29, 0.14);
  border-radius: 999px;
  background: rgba(255, 250, 240, 0.74);
  color: var(--tea-ink);
  cursor: pointer;
}

.menu-toggle {
  display: none;
}

.button,
.wp-block-button__link,
.added_to_cart,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid var(--tea-green);
  border-radius: 999px;
  background: var(--tea-green);
  color: #fffaf0;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button,
.filter-button,
.woocommerce ul.products li.product .button {
  line-height: 1;
  text-align: center;
}

.button,
.woocommerce ul.products li.product .button {
  padding-top: 2px;
}

.button:hover,
.button:focus-visible,
.woocommerce a.button:hover,
.woocommerce a.button:focus-visible,
.woocommerce button.button:hover,
.woocommerce button.button:focus-visible,
.woocommerce input.button:hover,
.woocommerce input.button:focus-visible {
  transform: translateY(-1px);
  background: #243c2c;
  box-shadow: var(--shadow-control);
  color: #fffaf0;
}

.button--ghost {
  background: transparent;
  color: var(--tea-green);
}

.button--ghost:hover,
.button--ghost:focus-visible {
  background: rgba(61, 81, 56, 0.1);
  color: var(--tea-green);
  box-shadow: none;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: clamp(560px, 76vh, 760px);
  padding: 0;
  background: #10271e;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 18% 22%, rgba(226, 198, 147, 0.16), transparent 36%),
    linear-gradient(180deg, rgba(255, 250, 240, 0.04), transparent 72%);
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.46), transparent 78%);
}

.hero__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  margin: 0 auto;
}

.hero__panel {
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  min-height: clamp(560px, 76vh, 760px);
  padding: clamp(48px, 7vw, 92px) 0;
  border: 0;
  border-radius: 0;
  background: #10271e;
  box-shadow: none;
  isolation: isolate;
}

.hero__panel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(10, 30, 24, 0.88) 0%, rgba(10, 30, 24, 0.7) 38%, rgba(10, 30, 24, 0.26) 68%, rgba(10, 30, 24, 0.18) 100%),
    linear-gradient(180deg, rgba(10, 30, 24, 0.1) 0%, rgba(10, 30, 24, 0.18) 70%, rgba(10, 30, 24, 0.7) 100%);
}

.hero__panel::after {
  content: "";
  position: absolute;
  right: -76px;
  bottom: -82px;
  width: 250px;
  height: 250px;
  z-index: 2;
  pointer-events: none;
  background: url("assets/images/ornament-leaf-corner.png") center / contain no-repeat;
  filter: invert(1);
  opacity: 0.16;
}

.ornament--hero-top {
  top: 28px;
  left: max(-100px, -6vw);
  transform: rotate(180deg);
}

.hero__content,
.hero__media {
  position: relative;
  z-index: 3;
  min-width: 0;
}

.hero__content {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.eyebrow {
  margin: 0 0 12px;
  color: #e2c693;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow--red {
  color: var(--tea-red);
}

.hero h1,
.section-title,
.entry-title,
.woocommerce-products-header__title,
.product_title {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  line-height: 0.96;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 560px;
  color: #fffaf0;
  font-size: clamp(48px, 6.2vw, 86px);
  line-height: 1.02;
  text-wrap: balance;
  text-shadow: 0 3px 28px rgba(0, 0, 0, 0.26);
}

.hero__copy {
  max-width: 540px;
  margin: 20px 0 0;
  color: rgba(255, 250, 240, 0.84);
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.45;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero__actions .button {
  border-color: #fffaf0;
  background: #fffaf0;
  color: var(--tea-green);
}

.hero__actions .button--ghost {
  border-color: rgba(255, 250, 240, 0.66);
  background: rgba(255, 250, 240, 0.08);
  color: #fffaf0;
  backdrop-filter: blur(10px);
}

.hero__facts {
  width: min(100%, 760px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 250, 240, 0.24);
}

.hero__facts span {
  min-height: 74px;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 10px;
  row-gap: 2px;
  align-items: center;
  padding: 12px;
  border-radius: 16px;
  border: 1px solid rgba(255, 250, 240, 0.2);
  background: rgba(255, 250, 240, 0.12);
  color: #fffaf0;
  backdrop-filter: blur(10px);
}

.hero__facts i {
  grid-row: 1 / 3;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 250, 240, 0.18);
  color: #e2c693;
  font-size: 15px;
}

.hero__facts strong {
  color: #fffaf0;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.1;
}

.hero__facts small {
  color: rgba(255, 250, 240, 0.72);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.25;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  min-height: 0;
}

.hero__media img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  object-position: center center;
  border-radius: 0;
  box-shadow: none;
}

.hero__seal {
  position: absolute;
  right: clamp(24px, 7vw, 88px);
  bottom: clamp(24px, 5vw, 52px);
  width: 86px;
  height: 86px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 250, 240, 0.24);
  background: rgba(255, 250, 240, 0.18);
  color: var(--tea-green);
  font-size: 30px;
  box-shadow: var(--shadow-control);
  backdrop-filter: blur(12px);
}

.hero__seal::after {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(61, 81, 56, 0.25);
  border-radius: 50%;
}

.section {
  position: relative;
  overflow: hidden;
  padding: clamp(58px, 8vw, 104px) 0;
}

.section--paper {
  background: rgba(255, 250, 240, 0.5);
}

.section--shop {
  background:
    linear-gradient(180deg, rgba(255, 250, 240, 0.58), rgba(239, 232, 220, 0.44)),
    radial-gradient(circle at 12% 8%, rgba(205, 211, 191, 0.34), transparent 28%);
}

.section--shop .section__inner {
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid rgba(61, 81, 56, 0.1);
  border-radius: 16px;
  background: rgba(255, 250, 240, 0.58);
  box-shadow: var(--shadow-panel);
}

.section__inner,
.content-area,
.site-footer__inner {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.ornament {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  user-select: none;
}

.ornament--leaf {
  width: clamp(190px, 22vw, 360px);
  opacity: 0.28;
  filter: saturate(0.9);
}

.ornament--top-right {
  top: 24px;
  right: max(-90px, -6vw);
}

.ornament--bottom-left {
  bottom: 12px;
  left: max(-120px, -8vw);
  transform: rotate(180deg);
}

.ornament--shop-top {
  top: 14px;
  right: max(-92px, -5vw);
  transform: rotate(7deg);
}

.ornament--shop-bottom {
  bottom: 20px;
  left: max(-106px, -6vw);
  transform: rotate(188deg);
}

.ornament--divider {
  position: static;
  display: block;
  width: min(420px, 72vw);
  margin: 20px 0 0;
  opacity: 0.72;
}

.section-head .ornament--divider {
  grid-column: 1 / -1;
  margin-top: -12px;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(260px, 0.5fr);
  align-items: end;
  gap: 32px;
  margin-bottom: 34px;
}

.section-title {
  color: var(--tea-ink);
  font-size: clamp(42px, 5vw, 68px);
}

.section-copy {
  margin: 0;
  color: rgba(22, 41, 29, 0.72);
}

.product-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 26px;
}

.filter-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 2px 16px 0;
  border: 1px solid rgba(61, 81, 56, 0.24);
  border-radius: 999px;
  background: rgba(255, 250, 240, 0.7);
  color: var(--tea-green);
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease;
}

.filter-button.is-active {
  background: var(--tea-green);
  color: #fffaf0;
}

.filter-button:hover,
.filter-button:focus-visible {
  border-color: rgba(61, 81, 56, 0.44);
  background: rgba(205, 211, 191, 0.38);
  color: var(--tea-ink);
}

.filter-button.is-active:hover,
.filter-button.is-active:focus-visible {
  background: #243c2c;
  color: #fffaf0;
}

.tea-grid,
.woocommerce ul.products {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.woocommerce ul.products::before,
.woocommerce ul.products::after {
  display: none;
  content: none;
}

.tea-card,
.woocommerce ul.products li.product {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  overflow: hidden;
  border: 1px solid rgba(22, 41, 29, 0.1);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(255, 250, 240, 0.94), rgba(246, 241, 231, 0.9)),
    var(--tea-porcelain);
  box-shadow: var(--shadow-panel);
}

.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product,
.woocommerce ul.products.columns-4 li.product,
.woocommerce-page ul.products.columns-4 li.product {
  float: none;
  clear: none;
  width: auto;
  margin: 0;
}

.tea-card::before {
  content: "";
  position: absolute;
  top: 16px;
  left: 18px;
  z-index: 1;
  width: 112px;
  height: 32px;
  pointer-events: none;
  background: url("assets/images/ornament-divider.png") center / contain no-repeat;
  opacity: 0.28;
}

.tea-card::after {
  content: "";
  position: absolute;
  right: -70px;
  bottom: -74px;
  width: 190px;
  height: 190px;
  pointer-events: none;
  background: url("assets/images/ornament-leaf-corner.png") center / contain no-repeat;
  opacity: 0.12;
  transform: rotate(8deg);
}

.tea-card__visual {
  position: relative;
  margin: 14px 14px 0;
  overflow: hidden;
  border-radius: 16px;
  background: #e8e5d8;
  box-shadow: inset 0 0 0 1px rgba(255, 250, 240, 0.45);
}

.tea-card__media,
.woocommerce ul.products li.product a img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: #dde1cf;
}

.woocommerce ul.products li.product a img {
  width: calc(100% - 28px);
  margin: 14px 14px 0;
  border-radius: 16px;
}

.tea-card__seal {
  position: absolute;
  left: 14px;
  bottom: 14px;
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(61, 81, 56, 0.14);
  border-radius: 50%;
  background: rgba(205, 211, 191, 0.92);
  color: var(--tea-green);
  font-size: 26px;
  box-shadow: var(--shadow-control);
}

.tea-card__seal::after {
  content: "";
  position: absolute;
  inset: 9px;
  border: 1px solid rgba(61, 81, 56, 0.24);
  border-radius: 50%;
}

.tea-card__body {
  position: relative;
  z-index: 1;
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 18px 18px 20px;
}

.tea-card__kicker {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  min-height: 24px;
  padding: 0 0 0 14px;
  color: rgba(22, 41, 29, 0.68);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: none;
}

.tea-card__kicker::before {
  content: "";
  width: 6px;
  height: 6px;
  margin-left: -14px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--tea-moss);
}

.woocommerce ul.products li.product .price {
  display: block;
  margin: auto 18px 0;
  padding-top: 14px;
  border-top: 1px solid rgba(61, 81, 56, 0.16);
  color: var(--tea-green);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  font-weight: 700;
}

.tea-card h3,
.woocommerce-loop-product__title {
  margin: 12px 0 10px;
  color: var(--tea-ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 27px;
  line-height: 1.08;
  letter-spacing: 0;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
  margin: 12px 18px 8px;
  padding: 0;
}

.tea-card p {
  margin: 0 0 16px;
  color: rgba(22, 41, 29, 0.72);
  font-size: 15px;
}

.tea-card__meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin: auto 0 18px;
  padding-top: 12px;
  border-top: 1px solid rgba(61, 81, 56, 0.16);
  color: rgba(22, 41, 29, 0.62);
  font-size: 14px;
  font-weight: 700;
}

.tea-card__meta strong {
  color: var(--tea-green);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
}

.tea-card .button {
  align-self: flex-start;
  min-height: 42px;
  padding-inline: 18px;
}

.section--product-detail {
  background:
    linear-gradient(180deg, rgba(239, 232, 220, 0.34), rgba(255, 250, 240, 0.74)),
    rgba(255, 250, 240, 0.54);
}

.section--cart {
  min-height: calc(100vh - 76px);
  display: grid;
  align-items: center;
  background:
    linear-gradient(180deg, rgba(239, 232, 220, 0.34), rgba(255, 250, 240, 0.74)),
    rgba(255, 250, 240, 0.54);
}

.cart-panel {
  position: relative;
  overflow: hidden;
  padding: clamp(24px, 4vw, 48px);
  border: 1px solid rgba(61, 81, 56, 0.12);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(255, 250, 240, 0.96), rgba(246, 241, 231, 0.9)),
    var(--tea-porcelain);
  box-shadow: var(--shadow-panel);
}

.cart-panel::after {
  content: "";
  position: absolute;
  right: -64px;
  bottom: -76px;
  width: 230px;
  height: 230px;
  pointer-events: none;
  background: url("assets/images/ornament-leaf-corner.png") center / contain no-repeat;
  opacity: 0.12;
}

.cart-panel__head,
.cart-item,
.cart-total,
.cart-actions,
.cart-empty {
  position: relative;
  z-index: 1;
}

.cart-item {
  display: grid;
  grid-template-columns: 136px minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
  margin-top: 30px;
  padding: 18px;
  border: 1px solid rgba(61, 81, 56, 0.12);
  border-radius: 18px;
  background: rgba(255, 250, 240, 0.72);
}

.cart-item img {
  width: 136px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 14px;
}

.cart-item__origin {
  color: rgba(22, 41, 29, 0.62);
  font-size: 13px;
  font-weight: 900;
}

.cart-item h2 {
  margin: 6px 0 8px;
  color: var(--tea-ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.05;
}

.cart-item p {
  margin: 0;
  color: rgba(22, 41, 29, 0.72);
}

.cart-item__price,
.cart-total {
  display: grid;
  gap: 6px;
  justify-items: end;
  color: rgba(22, 41, 29, 0.62);
  font-weight: 800;
}

.cart-item__price strong,
.cart-total strong {
  color: var(--tea-green);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(26px, 3vw, 42px);
  line-height: 1;
}

.cart-total {
  grid-template-columns: 1fr auto;
  align-items: baseline;
  justify-items: stretch;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(61, 81, 56, 0.16);
}

.cart-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.cart-empty {
  max-width: 520px;
  margin-top: 30px;
}

.cart-empty i {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 50%;
  background: rgba(205, 211, 191, 0.58);
  color: var(--tea-green);
  font-size: 24px;
}

.cart-empty h2 {
  margin: 0;
  color: var(--tea-ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(30px, 3vw, 44px);
  line-height: 1.05;
}

.cart-empty p {
  margin: 12px 0 22px;
  color: rgba(22, 41, 29, 0.72);
}

.product-preview {
  position: relative;
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(360px, 1fr);
  gap: clamp(28px, 5vw, 58px);
  overflow: hidden;
  padding: clamp(24px, 4.5vw, 54px);
  border: 1px solid rgba(61, 81, 56, 0.12);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(255, 250, 240, 0.96), rgba(246, 241, 231, 0.9)),
    var(--tea-porcelain);
  box-shadow: var(--shadow-panel);
}

.product-preview::after {
  content: "";
  position: absolute;
  right: -78px;
  bottom: -84px;
  width: 260px;
  height: 260px;
  pointer-events: none;
  background: url("assets/images/ornament-leaf-corner.png") center / contain no-repeat;
  opacity: 0.12;
}

.product-preview__gallery {
  position: relative;
  z-index: 1;
}

.product-preview__gallery > img {
  width: 100%;
  aspect-ratio: 1 / 1.08;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: var(--shadow-soft);
}

.product-preview__thumbs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 14px;
}

.product-preview__thumbs img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: var(--shadow-control);
}

.product-preview__seal {
  position: absolute;
  left: 18px;
  top: 18px;
  width: 86px;
  height: 86px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(205, 211, 191, 0.94);
  color: var(--tea-green);
  font-size: 32px;
  box-shadow: var(--shadow-control);
}

.product-preview__seal::after {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(61, 81, 56, 0.25);
  border-radius: 50%;
}

.product-preview__summary {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: center;
}

.product-preview__eyebrow {
  width: fit-content;
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 18px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--tea-green);
  color: #fffaf0;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.product-preview h1,
.product-preview h2 {
  margin: 0;
  color: var(--tea-ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(40px, 4.1vw, 60px);
  line-height: 1.04;
  overflow-wrap: anywhere;
  text-wrap: balance;
}

.product-preview__lead {
  margin: 18px 0 0;
  max-width: 620px;
  color: rgba(22, 41, 29, 0.74);
  font-size: clamp(18px, 1.5vw, 22px);
}

.product-preview__price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 14px;
  margin: 26px 0 0;
}

.product-preview__price span {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(205, 211, 191, 0.58);
  color: var(--tea-green);
  font-weight: 900;
}

.product-preview__price strong {
  color: var(--tea-green);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 4vw, 54px);
}

.product-preview__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

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

.product-specs div {
  min-height: 86px;
  padding: 16px;
  border: 1px solid rgba(61, 81, 56, 0.12);
  border-radius: 16px;
  background: rgba(255, 250, 240, 0.68);
}

.product-specs dt {
  margin-bottom: 6px;
  color: var(--tea-green);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.product-specs dd {
  margin: 0;
  color: rgba(22, 41, 29, 0.78);
}

.product-preview__story {
  position: relative;
  z-index: 1;
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 8px;
  padding-top: 28px;
  border-top: 1px solid rgba(61, 81, 56, 0.18);
}

.product-preview__story div {
  padding: 22px;
  border-radius: 18px;
  background: rgba(205, 211, 191, 0.32);
}

.product-preview__story i {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  border-radius: 50%;
  background: var(--tea-green);
  color: #fffaf0;
}

.product-preview__story h3 {
  margin: 0 0 8px;
  color: var(--tea-green);
  font-size: 18px;
  text-transform: uppercase;
}

.product-preview__story p {
  margin: 0;
  color: rgba(22, 41, 29, 0.72);
}

.editorial-grid {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: clamp(24px, 5vw, 58px);
  align-items: center;
}

.editorial-image {
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.editorial-image img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.feature-list {
  display: grid;
  gap: 18px;
  margin: 28px 0 0;
}

.feature-item {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 18px;
  align-items: start;
  padding: 20px;
  border-top: 1px solid var(--tea-line);
}

.feature-item__icon {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--tea-sage);
  color: var(--tea-green);
  font-size: 25px;
}

.feature-item h3 {
  margin: 0 0 6px;
  color: var(--tea-green);
  font-size: 18px;
  letter-spacing: 0;
  text-transform: uppercase;
}

.feature-item p {
  margin: 0;
}

.section--brew {
  background:
    linear-gradient(180deg, rgba(255, 250, 240, 0.58), rgba(205, 211, 191, 0.24)),
    rgba(255, 250, 240, 0.5);
}

.guide-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.78fr);
  gap: clamp(22px, 4vw, 42px);
  overflow: hidden;
  border: 1px solid rgba(61, 81, 56, 0.12);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(255, 250, 240, 0.96), rgba(246, 241, 231, 0.9)),
    #fbf8ef;
  box-shadow: var(--shadow-panel);
}

.guide-panel::before {
  content: "";
  position: absolute;
  top: -54px;
  right: -48px;
  z-index: 0;
  width: 240px;
  height: 240px;
  pointer-events: none;
  background: url("assets/images/ornament-leaf-corner.png") center / contain no-repeat;
  opacity: 0.16;
}

.guide-panel__content {
  position: relative;
  z-index: 1;
  padding: clamp(28px, 5vw, 54px);
}

.brew-heading {
  position: relative;
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 0 16px;
  align-items: center;
  margin-bottom: 26px;
  padding: 0 0 22px;
  border-bottom: 1px solid rgba(61, 81, 56, 0.18);
}

.brew-heading::before {
  content: none;
}

.brew-heading::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -2px;
  width: 92px;
  height: 3px;
  border-radius: 999px;
  background: var(--tea-green);
}

.brew-heading__mark {
  grid-row: 1 / 4;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--tea-sage);
  color: var(--tea-green);
  font-size: 23px;
  box-shadow: inset 0 0 0 1px rgba(61, 81, 56, 0.14);
}

.brew-heading__eyebrow,
.brew-heading__meta {
  margin: 0;
}

.brew-heading__eyebrow {
  color: var(--tea-red);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.brew-heading__meta {
  color: rgba(22, 41, 29, 0.68);
  font-size: 15px;
}

.brew-heading .section-title {
  position: relative;
  z-index: 1;
  margin: 4px 0 6px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 3.8vw, 52px);
  font-weight: 700;
  line-height: 1.04;
  text-transform: none;
  text-wrap: balance;
}

.guide-panel__image {
  position: relative;
  z-index: 1;
  margin: clamp(18px, 3vw, 28px) clamp(18px, 3vw, 28px) clamp(70px, 7vw, 92px) 0;
  min-height: 520px;
  overflow: hidden;
  border-radius: 14px;
  background: var(--guide-image) center / cover no-repeat;
  box-shadow: inset 0 0 0 1px rgba(255, 250, 240, 0.52);
}

.guide-panel__photo-label {
  position: absolute;
  left: 22px;
  bottom: 22px;
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  padding: 0 16px;
  border-radius: 999px;
  background: rgba(255, 250, 240, 0.88);
  color: var(--tea-green);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.brew-specs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 28px 0;
}

.brew-spec {
  min-height: 124px;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 16px;
  align-items: start;
  padding: 18px;
  border: 1px solid rgba(22, 41, 29, 0.12);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(255, 250, 240, 0.88), rgba(233, 229, 214, 0.74)),
    #f0eddf;
}

.brew-spec i {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(125, 135, 107, 0.2);
  color: var(--tea-green);
  font-size: 21px;
  box-shadow: inset 0 0 0 1px rgba(61, 81, 56, 0.15);
}

.brew-spec span {
  display: block;
  margin-bottom: 6px;
  color: var(--tea-green);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.brew-method {
  position: relative;
  margin-top: 24px;
  padding: 22px;
  border: 1px solid rgba(61, 81, 56, 0.14);
  border-radius: 18px;
  background: rgba(255, 250, 240, 0.7);
}

.brew-method__head {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 16px;
  align-items: start;
}

.brew-method__head > i {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--tea-sage);
  color: var(--tea-green);
  font-size: 23px;
}

.brew-method__head span {
  display: block;
  margin-bottom: 6px;
  color: var(--tea-green);
  font-weight: 900;
  text-transform: uppercase;
}

.brew-method__head p {
  margin: 0;
  color: rgba(22, 41, 29, 0.72);
}

.brew-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.brew-steps li {
  min-height: 74px;
  display: grid;
  align-content: center;
  gap: 5px;
  padding: 12px;
  border-radius: 14px;
  background: rgba(205, 211, 191, 0.38);
}

.brew-steps strong {
  color: var(--tea-green);
  font-size: 13px;
}

.brew-steps span {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 21px;
  font-weight: 700;
}

.note-box {
  position: relative;
  z-index: 1;
  padding: 22px;
  border-radius: 18px;
  background: #e9e5d6;
  color: var(--tea-ink);
}

.note-box--tip {
  grid-column: 1 / -1;
  margin: 0 clamp(18px, 3vw, 28px) clamp(26px, 4vw, 42px);
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 18px;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(233, 229, 214, 0.96), rgba(205, 211, 191, 0.72)),
    #e9e5d6;
}

.note-box--tip > i {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border: 2px solid rgba(61, 81, 56, 0.42);
  border-radius: 50%;
  color: var(--tea-green);
  font-size: 24px;
}

.note-box--tip strong {
  display: block;
  margin-bottom: 6px;
  color: var(--tea-green);
  font-weight: 900;
  text-transform: uppercase;
}

.note-box--tip p {
  margin: 0;
}

.story-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.story-card {
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--tea-green);
  color: #fffaf0;
}

.story-card:nth-child(odd) {
  background: #fffaf0;
  color: var(--tea-ink);
}

.story-card img {
  width: 100%;
  aspect-ratio: 16 / 12;
  object-fit: cover;
}

.story-card__body {
  padding: 22px;
}

.story-card h3 {
  margin: 0 0 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 28px;
  line-height: 1.06;
}

.section--quality {
  background:
    linear-gradient(180deg, rgba(255, 250, 240, 0.72), rgba(239, 232, 220, 0.48)),
    rgba(255, 250, 240, 0.48);
}

.quality-poster {
  --quality-pad: clamp(26px, 4.5vw, 54px);
  position: relative;
  overflow: hidden;
  padding: var(--quality-pad);
  border: 1px solid rgba(61, 81, 56, 0.12);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(255, 250, 240, 0.96), rgba(247, 242, 232, 0.9)),
    var(--tea-porcelain);
  box-shadow: var(--shadow-panel);
}

.quality-poster::after {
  content: "";
  position: absolute;
  right: -74px;
  bottom: -76px;
  width: 260px;
  height: 260px;
  pointer-events: none;
  background: url("assets/images/ornament-leaf-corner.png") center / contain no-repeat;
  opacity: 0.12;
}

.quality-poster__head {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: start;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(61, 81, 56, 0.24);
}

.quality-poster__head .section-title {
  margin: 0;
}

.quality-seal {
  width: 104px;
  height: 104px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 6px;
  border: 1px solid rgba(61, 81, 56, 0.22);
  border-radius: 50%;
  background: rgba(205, 211, 191, 0.58);
  color: var(--tea-green);
  text-align: center;
}

.quality-seal i {
  font-size: 26px;
}

.quality-seal span {
  font-size: 11px;
  font-weight: 900;
  line-height: 1.05;
}

.quality-board {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0;
}

.quality-row {
  position: relative;
  display: grid;
  grid-template-columns: 156px minmax(280px, 0.9fr) minmax(300px, 1fr);
  gap: clamp(20px, 3vw, 34px);
  align-items: center;
  min-height: 276px;
  padding: clamp(26px, 4vw, 42px) 0;
  overflow: hidden;
  border-bottom: 1px solid rgba(61, 81, 56, 0.2);
}

.quality-row:last-child {
  border-bottom: 0;
}

.quality-row--green {
  margin: 0 calc(0px - var(--quality-pad));
  padding-inline: var(--quality-pad);
  border-bottom: 0;
  border-radius: 16px;
  background:
    linear-gradient(90deg, rgba(61, 81, 56, 0.93), rgba(61, 81, 56, 0.78)),
    var(--tea-green);
  color: #fffaf0;
}

.quality-row--green .quality-row__copy,
.quality-row--green .quality-row__copy h3 {
  color: #fffaf0;
}

.quality-row--green .quality-row__copy p {
  color: rgba(255, 250, 240, 0.84);
}

.quality-badge {
  position: relative;
  width: 148px;
  height: 148px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 10px;
  border-radius: 50%;
  background: var(--tea-sage);
  color: var(--tea-green);
  text-align: center;
  box-shadow: inset 0 0 0 1px rgba(61, 81, 56, 0.14);
}

.quality-badge::after {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(61, 81, 56, 0.22);
  border-radius: 50%;
}

.quality-badge--light {
  background: #f1eadc;
}

.quality-badge i {
  font-size: 32px;
}

.quality-badge span {
  max-width: 106px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
  line-height: 1.05;
  text-transform: uppercase;
}

.quality-row__image {
  width: 100%;
  aspect-ratio: 1.12 / 1;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: var(--shadow-control);
}

.quality-row__copy {
  position: relative;
  min-height: 180px;
  display: grid;
  align-content: center;
  padding-left: clamp(22px, 3vw, 38px);
  border-left: 1px solid rgba(61, 81, 56, 0.34);
  color: var(--tea-ink);
}

.quality-row__tag {
  width: fit-content;
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--tea-green);
  color: #fffaf0;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.quality-row__tag i {
  font-size: 10px;
}

.quality-row__copy::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -5px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #c4a05b;
  box-shadow: 0 0 0 5px rgba(196, 160, 91, 0.14);
}

.quality-row--green .quality-row__copy {
  border-left-color: rgba(255, 250, 240, 0.38);
}

.quality-row--green .quality-row__tag {
  background: #fffaf0;
  color: var(--tea-green);
}

.quality-row--green .quality-points {
  color: rgba(255, 250, 240, 0.84);
}

.quality-row__copy h3 {
  margin: 0 0 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(27px, 2.8vw, 38px);
  line-height: 1.05;
}

.quality-points {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 1.1em;
  color: rgba(22, 41, 29, 0.78);
  font-size: clamp(17px, 1.5vw, 21px);
  line-height: 1.56;
}

.newsletter {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 0.52fr);
  gap: 28px;
  align-items: center;
  padding: clamp(28px, 5vw, 52px);
  border-radius: var(--radius);
  background: var(--tea-green);
  color: #fffaf0;
}

.newsletter h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 4.8vw, 58px);
  line-height: 1;
}

.newsletter p {
  margin: 14px 0 0;
  color: rgba(255, 250, 240, 0.78);
}

.newsletter form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}

.newsletter input {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(255, 250, 240, 0.24);
  border-radius: 999px;
  background: rgba(255, 250, 240, 0.12);
  color: #fffaf0;
  padding: 0 18px;
}

.newsletter input::placeholder {
  color: rgba(255, 250, 240, 0.78);
}

.newsletter__status {
  grid-column: 1 / -1;
  min-height: 20px;
  margin: 0;
  color: rgba(255, 250, 240, 0.86);
  font-size: 14px;
  font-weight: 700;
}

.site-footer {
  padding: clamp(46px, 6vw, 72px) 0 28px;
  border-top: 1px solid rgba(22, 41, 29, 0.12);
  background:
    linear-gradient(180deg, rgba(246, 240, 229, 0.86), rgba(236, 230, 218, 0.96)),
    rgba(246, 240, 229, 0.72);
}

.site-footer__inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(260px, 1.3fr) repeat(3, minmax(150px, 0.8fr));
  gap: clamp(26px, 4vw, 54px);
  align-items: start;
}

.site-footer__brand {
  max-width: 360px;
}

.site-footer__brand p,
.site-footer__bottom p {
  margin: 16px 0 0;
  color: rgba(22, 41, 29, 0.68);
  font-size: 15px;
}

.footer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 18px;
}

.footer-badges span {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  border: 1px solid rgba(61, 81, 56, 0.14);
  border-radius: 999px;
  background: rgba(255, 250, 240, 0.58);
  color: var(--tea-green);
  font-size: 13px;
  font-weight: 900;
}

.footer-column h2 {
  margin: 2px 0 16px;
  color: var(--tea-ink);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.footer-links {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links a {
  color: rgba(22, 41, 29, 0.74);
  font-size: 15px;
  font-weight: 700;
}

.footer-links a:hover,
.footer-links a:focus {
  color: var(--tea-green);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.site-footer__bottom {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  margin-top: 12px;
  padding-top: 22px;
  border-top: 1px solid rgba(61, 81, 56, 0.14);
}

.site-footer__bottom p {
  margin: 0;
  font-size: 13px;
}

.cookie-consent {
  position: fixed;
  right: clamp(14px, 3vw, 32px);
  bottom: clamp(14px, 3vw, 32px);
  z-index: 60;
  width: min(560px, calc(100% - 28px));
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 18px;
  border: 1px solid rgba(61, 81, 56, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 250, 240, 0.96);
  box-shadow: var(--shadow-panel);
}

.cookie-consent[hidden] {
  display: none;
}

.cookie-consent strong {
  display: block;
  color: var(--tea-ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
  line-height: 1.1;
}

.cookie-consent p {
  margin: 8px 0 0;
  color: rgba(22, 41, 29, 0.7);
  font-size: 14px;
  line-height: 1.45;
}

.cookie-consent a {
  color: var(--tea-green);
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cookie-consent__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.cookie-consent__actions .button {
  min-height: 40px;
  padding-inline: 14px;
  font-size: 14px;
}

.content-area {
  padding: clamp(42px, 7vw, 84px) 0;
}

.content-area .entry-title {
  margin-bottom: 24px;
}

.woocommerce .content-area,
.woocommerce-page .content-area {
  max-width: none;
}

.woocommerce-products-header {
  margin-bottom: 26px;
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid rgba(61, 81, 56, 0.12);
  border-radius: 16px;
  background: rgba(255, 250, 240, 0.64);
}

.woocommerce-result-count,
.woocommerce-ordering {
  color: rgba(22, 41, 29, 0.7);
}

.woocommerce-ordering select {
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid rgba(61, 81, 56, 0.18);
  border-radius: 999px;
  background: #fffaf0;
  color: var(--tea-green);
  font-weight: 800;
}

.woocommerce ul.products li.product .woocommerce-loop-product__link {
  position: relative;
  display: flex;
  flex: 1;
  flex-direction: column;
  color: inherit;
}

.woocommerce ul.products li.product .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  min-height: 42px;
  margin: 0 18px 20px;
  padding-inline: 18px;
}

.woocommerce ul.products li.product .onsale,
.woocommerce span.onsale {
  min-height: 34px;
  min-width: 0;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--tea-red);
  color: #fffaf0;
  font-weight: 900;
  line-height: 34px;
}

.xitong-loop-seal {
  position: relative;
  left: auto;
  top: auto;
  align-self: flex-start;
  z-index: 2;
  width: 68px;
  height: 68px;
  margin: -54px 0 0 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(205, 211, 191, 0.94);
  color: var(--tea-green);
  font-size: 24px;
  box-shadow: var(--shadow-control);
}

.xitong-loop-seal::after {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(61, 81, 56, 0.24);
  border-radius: 50%;
}

.xitong-loop-kicker {
  width: fit-content;
  min-height: 24px;
  display: inline-flex;
  align-items: center;
  margin: 8px 18px 0;
  padding: 0 0 0 14px;
  color: rgba(22, 41, 29, 0.68);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: none;
}

.xitong-loop-kicker::before {
  content: "";
  width: 6px;
  height: 6px;
  margin-left: -14px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--tea-moss);
}

.xitong-loop-weight {
  display: inline-block;
  margin: 6px 18px 18px;
  color: rgba(22, 41, 29, 0.62);
  font-size: 14px;
  font-weight: 800;
}

.woocommerce div.product {
  position: relative;
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(320px, 1fr);
  gap: clamp(28px, 5vw, 64px);
  overflow: hidden;
  padding: clamp(24px, 4.5vw, 54px);
  border: 1px solid rgba(61, 81, 56, 0.12);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(255, 250, 240, 0.96), rgba(246, 241, 231, 0.9)),
    var(--tea-porcelain);
  box-shadow: var(--shadow-panel);
}

.woocommerce div.product div.images,
.woocommerce div.product div.summary {
  width: auto;
  float: none;
}

.woocommerce div.product div.images img {
  border-radius: 14px;
  box-shadow: var(--shadow-soft);
}

.woocommerce div.product div.summary {
  display: grid;
  align-content: center;
}

.woocommerce div.product .product_title {
  margin: 0 0 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(40px, 4.1vw, 60px);
  line-height: 1.04;
  overflow-wrap: anywhere;
  text-wrap: balance;
}

.product-profile__eyebrow {
  width: fit-content;
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 18px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--tea-green);
  color: #fffaf0;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.product-profile__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 22px;
}

.product-profile__badges span {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 13px;
  border-radius: 999px;
  background: rgba(205, 211, 191, 0.52);
  color: var(--tea-green);
  font-size: 13px;
  font-weight: 900;
}

.woocommerce div.product p.price,
.woocommerce div.product span.price {
  color: var(--tea-green);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
}

.woocommerce div.product form.cart {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 24px;
}

.woocommerce .quantity .qty {
  width: 88px;
  min-height: 46px;
  border: 1px solid rgba(61, 81, 56, 0.18);
  border-radius: 999px;
  background: #fffaf0;
  color: var(--tea-green);
  font-weight: 900;
}

.product_meta {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid rgba(61, 81, 56, 0.16);
  color: rgba(22, 41, 29, 0.7);
}

.product-story {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 34px;
}

.product-story__card {
  padding: 24px;
  border-radius: 18px;
  background: rgba(205, 211, 191, 0.32);
}

.product-story__card--green {
  background: var(--tea-green);
  color: #fffaf0;
}

.product-story__card span {
  width: fit-content;
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--tea-green);
  color: #fffaf0;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.product-story__card--green span {
  background: #fffaf0;
  color: var(--tea-green);
}

.product-story__card h2 {
  margin: 0 0 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(26px, 2.6vw, 36px);
  line-height: 1.04;
}

.product-story__card p {
  margin: 0;
  color: rgba(22, 41, 29, 0.72);
}

.product-story__card--green p {
  color: rgba(255, 250, 240, 0.84);
}

.woocommerce div.product .woocommerce-tabs,
.woocommerce div.product section.related.products {
  grid-column: 1 / -1;
}

.woocommerce div.product section.related.products {
  margin-top: 12px;
  padding-top: 30px;
  border-top: 1px solid rgba(61, 81, 56, 0.14);
}

.woocommerce div.product section.related.products > h2 {
  margin: 0 0 22px;
  color: var(--tea-ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(30px, 3vw, 42px);
  line-height: 1;
}

.woocommerce div.product section.related.products ul.products {
  grid-template-columns: repeat(auto-fit, minmax(240px, 280px));
  justify-content: start;
}

.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
  border-top-color: var(--tea-green);
  background: #fffaf0;
  color: var(--tea-ink);
}

.woocommerce-message {
  border-top-color: var(--tea-green);
  background: #fffaf0;
  color: var(--tea-ink);
}

.woocommerce-message::before {
  color: #8baa22;
}

.woocommerce-info::before {
  color: var(--tea-green);
}

.woocommerce-error::before {
  color: var(--tea-red);
}

.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt,
.woocommerce #respond input#submit.alt,
.woocommerce a.checkout-button,
.woocommerce-page a.checkout-button,
.woocommerce .wc-proceed-to-checkout a.checkout-button {
  border-color: var(--tea-green);
  background: var(--tea-green);
  color: #fffaf0;
}

.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.woocommerce input.button.alt:hover,
.woocommerce #respond input#submit.alt:hover,
.woocommerce a.checkout-button:hover,
.woocommerce-page a.checkout-button:hover,
.woocommerce .wc-proceed-to-checkout a.checkout-button:hover {
  background: #243c2c;
  color: #fffaf0;
}

.woocommerce table.shop_table,
.woocommerce-cart .cart-collaterals .cart_totals,
.woocommerce-checkout #payment {
  overflow: hidden;
  border-color: rgba(61, 81, 56, 0.14);
  border-radius: var(--radius);
  background: #fffaf0;
}

.woocommerce table.shop_table th {
  color: var(--tea-ink);
}

.woocommerce table.shop_table td {
  border-top-color: rgba(61, 81, 56, 0.12);
}

.woocommerce-cart .cart-collaterals .cart_totals {
  padding: 22px;
}

.woocommerce-checkout form.checkout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.72fr);
  align-items: start;
  gap: clamp(18px, 3vw, 34px);
}

.woocommerce-checkout #customer_details {
  grid-column: 1;
  grid-row: 1;
}

.woocommerce-checkout .col2-set {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.woocommerce-checkout .col2-set::before,
.woocommerce-checkout .col2-set::after {
  display: none;
}

.woocommerce-checkout .col2-set .col-1,
.woocommerce-checkout .col2-set .col-2 {
  float: none;
  width: 100%;
}

.woocommerce-checkout .col2-set .col-2 {
  order: -1;
}

.woocommerce-checkout .woocommerce-billing-fields,
.woocommerce-checkout .woocommerce-additional-fields,
.woocommerce-checkout-review-order,
.woocommerce-checkout #payment {
  overflow: hidden;
  border: 1px solid rgba(61, 81, 56, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 250, 240, 0.92);
  box-shadow: 0 12px 34px rgba(27, 43, 30, 0.08);
}

.woocommerce-checkout .woocommerce-billing-fields,
.woocommerce-checkout .woocommerce-additional-fields {
  padding: clamp(18px, 3vw, 28px);
}

.woocommerce-checkout .woocommerce-additional-fields::before {
  content: none;
}

.woocommerce-checkout .woocommerce-additional-fields::after {
  content: none;
}

.woocommerce-checkout .woocommerce-additional-fields {
  position: relative;
}

.woocommerce-checkout .woocommerce-billing-fields h3,
.woocommerce-checkout .woocommerce-additional-fields h3,
.woocommerce-checkout #order_review_heading {
  margin: 0 0 18px;
  font-family: "Arial Black", "Avenir Next", Arial, sans-serif;
  font-size: clamp(22px, 3.8vw, 32px);
  line-height: 1;
  letter-spacing: 0;
  text-transform: uppercase;
  color: #0f1712;
}

.woocommerce-checkout .woocommerce-billing-fields__field-wrapper {
  display: grid;
  gap: 14px;
}

.woocommerce-checkout .xitong-field-delivery {
  margin-top: 12px;
  padding-top: 24px;
  border-top: 1px solid rgba(61, 81, 56, 0.14);
}

.woocommerce-checkout .xitong-field-delivery::before {
  content: "Доставка";
  display: block;
  margin: 0 0 18px;
  font-family: "Arial Black", "Avenir Next", Arial, sans-serif;
  font-size: clamp(22px, 3.8vw, 32px);
  line-height: 1;
  text-transform: uppercase;
  color: #0f1712;
}

.woocommerce-checkout .form-row {
  margin: 0;
}

.woocommerce-checkout .form-row label {
  margin: 0 0 6px;
  color: rgba(22, 41, 29, 0.56);
  font-size: 14px;
  font-weight: 700;
}

.woocommerce-checkout .form-row .required {
  color: var(--tea-red);
}

.woocommerce-checkout .form-row .optional {
  display: none;
}

.woocommerce-checkout .input-text,
.woocommerce-checkout textarea,
.woocommerce-checkout select {
  min-height: 56px;
  width: 100%;
  border: 1px solid rgba(61, 81, 56, 0.12);
  border-radius: var(--radius);
  background: rgba(245, 240, 231, 0.7);
  color: var(--tea-ink);
  font-size: 17px;
  font-weight: 600;
  box-shadow: none;
}

.woocommerce-checkout textarea.input-text {
  min-height: 58px;
  resize: vertical;
}

.woocommerce-checkout .input-text::placeholder,
.woocommerce-checkout textarea::placeholder {
  color: rgba(22, 41, 29, 0.42);
}

.woocommerce-checkout #order_review_heading {
  display: none;
}

.woocommerce-checkout .woocommerce-billing-fields > h3,
.woocommerce-checkout .woocommerce-additional-fields > h3 {
  display: none;
}

.woocommerce-checkout-review-order {
  grid-column: 2;
  grid-row: 1;
  align-self: start;
  padding: clamp(18px, 3vw, 28px);
}

.woocommerce-checkout-review-order table.shop_table {
  margin: 14px 0 18px;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.woocommerce-checkout-review-order table.shop_table th,
.woocommerce-checkout-review-order table.shop_table td {
  padding: 12px 0;
}

.xitong-checkout-note {
  display: grid;
  gap: 4px;
  margin: 14px 0 16px;
  padding: 14px 16px;
  border: 1px solid rgba(216, 155, 38, 0.34);
  border-radius: var(--radius);
  background: rgba(216, 155, 38, 0.1);
  color: var(--tea-ink);
}

.xitong-checkout-note strong {
  font-size: 15px;
  font-weight: 900;
}

.xitong-checkout-note span {
  color: rgba(22, 41, 29, 0.7);
  font-size: 14px;
  line-height: 1.45;
}

.woocommerce-checkout #payment {
  margin-top: 16px;
  border: 0;
  box-shadow: none;
}

.woocommerce-checkout #payment ul.payment_methods {
  padding: 0;
  border-bottom-color: rgba(61, 81, 56, 0.12);
}

.woocommerce-checkout #payment ul.payment_methods li {
  padding: 12px 0;
}

.woocommerce-checkout #payment ul.payment_methods label {
  font-weight: 800;
}

.woocommerce-checkout #payment div.payment_box {
  border-radius: var(--radius);
  background: rgba(245, 240, 231, 0.76);
  color: rgba(22, 41, 29, 0.72);
}

.woocommerce-checkout #payment .payment_method_cod .payment_box {
  display: none !important;
}

.woocommerce-checkout .woocommerce-privacy-policy-text {
  color: rgba(22, 41, 29, 0.68);
  font-size: 14px;
  line-height: 1.5;
}

.woocommerce-checkout .woocommerce-privacy-policy-text a {
  color: var(--tea-green);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 980px) {
  .site-header__inner {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

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

  .main-nav {
    grid-column: 1 / -1;
    justify-self: stretch;
    display: none;
    padding-bottom: 16px;
  }

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

  .main-nav ul {
    display: grid;
    gap: 6px;
  }

  .main-nav a {
    justify-content: center;
    border-radius: var(--radius);
    background: rgba(125, 135, 107, 0.12);
  }

  .header-actions {
    justify-self: end;
  }

  .section-head,
  .editorial-grid,
  .guide-panel,
  .hero__panel,
  .product-preview,
  .newsletter,
  .woocommerce div.product {
    grid-template-columns: 1fr;
  }

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

  .site-footer__brand {
    grid-column: 1 / -1;
    max-width: 560px;
  }

  .tea-grid,
  .woocommerce ul.products,
  .story-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-preview__gallery > img {
    aspect-ratio: 16 / 11;
  }

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

  .quality-row {
    grid-template-columns: 132px minmax(240px, 0.85fr) minmax(260px, 1fr);
  }

  .quality-badge {
    width: 118px;
    height: 118px;
  }

  .quality-badge span {
    font-size: 18px;
  }

  .guide-panel__image {
    margin: 0 clamp(18px, 3vw, 28px) clamp(70px, 7vw, 92px);
    min-height: 420px;
  }

  .hero__media,
  .hero__media img {
    min-height: 420px;
  }

  .woocommerce-checkout form.checkout {
    grid-template-columns: 1fr;
  }

  .woocommerce-checkout #order_review_heading,
  .woocommerce-checkout-review-order {
    grid-column: 1;
    grid-row: auto;
  }

  .woocommerce-checkout-review-order {
    margin-top: 0;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 16px;
  }

  .site-header__inner,
  .section__inner,
  .content-area,
  .site-footer__inner {
    width: min(100% - 24px, 1180px);
  }

  .brand {
    width: 78px;
  }

  .brand__mark,
  .icon-button,
  .menu-toggle {
    width: 40px;
    height: 40px;
  }

  .brand__mark {
    width: 78px;
    height: 92px;
  }

  .brand__mark img {
    width: 100%;
  }

  .brand__name {
    font-size: 14px;
  }

  .hero {
    padding: 0;
  }

  .hero__inner {
    width: 100%;
  }

  .hero__panel {
    min-height: 680px;
    padding: 0;
  }

  .hero h1 {
    max-width: 340px;
    font-size: 38px;
    line-height: 1.02;
  }

  .hero__copy {
    max-width: 330px;
    font-size: 16px;
  }

  .hero__actions .button {
    width: 100%;
    min-height: 40px;
    padding: 0 14px;
    font-size: 14px;
  }

  .hero__facts {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .hero__facts span {
    min-height: 62px;
    border-radius: 14px;
  }

  .hero__media,
  .hero__media img {
    min-height: 300px;
  }

  .hero__seal {
    width: 66px;
    height: 66px;
    font-size: 24px;
  }

  .section--cart {
    align-items: start;
  }

  .cart-panel {
    padding: 22px;
  }

  .cart-item {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .cart-item img {
    width: 100%;
    aspect-ratio: 16 / 11;
  }

  .cart-item__price {
    justify-items: start;
  }

  .brew-specs,
  .tea-grid,
  .woocommerce ul.products,
  .story-strip,
  .quality-row,
  .product-specs,
  .product-preview__story,
  .product-story,
  .site-footer__inner,
  .newsletter form {
    grid-template-columns: 1fr;
  }

  .product-preview {
    padding: 22px;
  }

  .site-footer__inner,
  .site-footer__bottom,
  .cookie-consent {
    grid-template-columns: 1fr;
  }

  .site-footer__bottom {
    justify-content: start;
  }

  .cookie-consent {
    right: 12px;
    bottom: 12px;
    width: calc(100% - 24px);
  }

  .has-cookie-consent .site-shell {
    padding-bottom: 340px;
  }

  .cookie-consent__actions {
    justify-content: stretch;
  }

  .cookie-consent__actions .button {
    flex: 1 1 150px;
  }

  .product-preview h2 {
    font-size: 38px;
  }

  .product-preview__thumbs {
    gap: 10px;
  }

  .product-preview__seal {
    width: 66px;
    height: 66px;
    font-size: 24px;
  }

  .product-preview__actions .button {
    width: 100%;
  }

  .quality-row {
    gap: 16px;
    padding: 18px;
  }

  .quality-poster {
    --quality-pad: 22px;
  }

  .quality-poster__head {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .quality-seal {
    width: 82px;
    height: 82px;
  }

  .quality-seal span {
    display: none;
  }

  .quality-badge {
    width: 104px;
    height: 104px;
  }

  .tea-card__seal {
    width: 62px;
    height: 62px;
    font-size: 22px;
  }

  .quality-row__copy {
    min-height: auto;
    padding: 18px 0 0;
    border-top: 1px solid rgba(61, 81, 56, 0.24);
    border-left: 0;
  }

  .quality-row__copy::before {
    top: -5px;
    left: 50%;
  }

  .brew-heading {
    grid-template-columns: 48px 1fr;
    gap: 0 12px;
    padding-bottom: 18px;
  }

  .brew-heading .section-title {
    font-size: 30px;
  }

  .brew-heading__mark {
    width: 48px;
    height: 48px;
    font-size: 20px;
  }

  .brew-heading__meta {
    font-size: 14px;
  }

  .brew-method {
    padding: 18px;
  }

  .brew-method__head {
    grid-template-columns: 48px 1fr;
  }

  .brew-method__head > i {
    width: 48px;
    height: 48px;
    font-size: 20px;
  }

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

  .section {
    padding: 52px 0;
  }

  .feature-item {
    grid-template-columns: 48px 1fr;
    padding: 16px 0;
  }

  .feature-item__icon {
    width: 44px;
    height: 44px;
    font-size: 20px;
  }

  .guide-panel__image {
    min-height: 320px;
  }

  .woocommerce div.product {
    padding: 22px;
  }

  .woocommerce div.product .product_title {
    font-size: 38px;
  }

  .woocommerce div.product form.cart .button {
    width: 100%;
  }

  .woocommerce div.product section.related.products ul.products {
    grid-template-columns: 1fr;
  }

  .note-box--tip {
    grid-template-columns: 1fr;
    margin-inline: 18px;
  }

  .ornament--leaf {
    width: 180px;
    opacity: 0.16;
  }

  .ornament--divider {
    width: min(300px, 76vw);
  }
}
