:root {
  /* Чайная витрина: бумага коробки + лист лого + красный акцент. Без металлического золота. */
  --paper: #f3eee4;
  --ink: #1c1a16;
  --muted: #5c564c;
  --green: #3a7d42;
  --green-dark: #2a5c32;
  --brand-red: #c62828;
  --gold: #2a5c32;
  --line: rgba(44, 56, 40, 0.14);
  --card: #fffcf7;
  --header: #fffcf7;
  --field: #f3eee4;
  --footer: #243829;
  --footer-ink: #eef3ec;
  --footer-muted: #b7c4b8;
  --focus: #2a5c32;
  --hover-soft: #efe8d8;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background-color: var(--field);
  background-image:
    linear-gradient(180deg, #f7f2e9 0%, #f3eee4 42%, #ebe4d8 100%);
  background-attachment: fixed;
  color: var(--ink);
  font-family: "Candara", "Segoe UI", "Helvetica Neue", sans-serif;
  font-size: 18px;
  line-height: 1.45;
}
/* Тот же «чайный» узор кругов, что на главной (.tea-pin) */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.7;
  background-image:
    radial-gradient(circle, transparent 62%, rgba(44, 56, 40, 0.08) 63%, rgba(44, 56, 40, 0.08) 65%, transparent 66%),
    radial-gradient(circle, transparent 58%, rgba(44, 56, 40, 0.05) 59%, rgba(44, 56, 40, 0.05) 61%, transparent 62%);
  background-size: 120px 120px, 80px 80px;
  background-position: 16px 24px, 52px 70px;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* Пока site-nav не собрал шапку/подвал — не мелькает старый HTML */
header.top:not([data-nav-ready]),
footer:not([data-foot-ready]) {
  visibility: hidden;
}
header.top:not([data-nav-ready]) {
  min-height: 96px;
}

.top {
  position: relative;
  z-index: 80;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  padding: 0;
  background: var(--header);
  color: var(--ink);
  border-bottom: 1px solid rgba(44, 56, 40, 0.12);
  box-shadow: 0 1px 0 rgba(255, 252, 247, 0.9) inset, 0 8px 24px rgba(36, 40, 28, 0.04);
}
.top-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  gap: 12px 16px;
  padding: 14px 28px;
}
.mark { display: inline-flex; align-items: center; line-height: 0; flex: 0 0 auto; }
.mark img { height: 72px; width: auto; object-fit: contain; background: transparent; }
.top nav,
.nav-desk {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  align-items: center;
  font-size: 14px;
  flex: 1 1 auto;
  justify-content: flex-end;
}
.top a { color: var(--ink); }
.top-main > a:hover,
.nav-desk > a:hover,
.drop > a:hover { color: var(--brand-red); }
.nav-tools {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}
.site-search {
  position: relative;
  width: min(220px, 28vw);
}
.site-search-input {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid rgba(44, 56, 40, 0.22);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 14px;
}
.site-search-input:focus {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}
.site-search-input::placeholder { color: var(--muted); }
.site-search-drop {
  position: absolute;
  z-index: 90;
  top: calc(100% + 6px);
  right: 0;
  left: auto;
  width: min(320px, 88vw);
  max-height: 320px;
  overflow: auto;
  padding: 6px 0;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 14px 32px rgba(26, 50, 30, 0.16);
}
.site-search-item {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 14px;
  color: var(--ink) !important;
  font-size: 14px;
}
.site-search-item:hover { background: var(--hover-soft); color: var(--green-dark) !important; }
.site-search-price {
  color: var(--green-dark);
  white-space: nowrap;
  font-size: 13px;
}
.offer-bar {
  margin: 0;
  padding: 8px 16px 10px;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--brand-red);
  background: #f0e8d8;
  border-top: 1px solid rgba(44, 56, 40, 0.08);
  border-bottom: 1px solid rgba(44, 56, 40, 0.08);
}
.drop { position: relative; padding-bottom: 10px; margin-bottom: -10px; }
.drop .menu {
  display: none;
  position: absolute;
  z-index: 90;
  top: 100%;
  left: 0;
  min-width: 190px;
  padding: 8px 0;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 14px 32px rgba(26, 50, 30, 0.16);
}
.drop .menu::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -12px;
  height: 12px;
}
.drop:hover .menu, .drop:focus-within .menu { display: block; }
.drop .menu a { display: block; padding: 8px 16px; white-space: nowrap; color: var(--ink); background: transparent; }
.drop .menu a:hover { background: var(--hover-soft); color: var(--green-dark); }
.nav-phone { opacity: 0.92; white-space: nowrap; }
.wa {
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--brand-red);
  color: #fff !important;
  font-weight: 700;
}
.wa:hover { filter: brightness(1.05); color: #fff !important; }
.cart-link {
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(44, 56, 40, 0.22);
  background: #fff;
  color: var(--ink);
}
.cart-link:hover { color: var(--brand-red); border-color: var(--brand-red); }
.cart-link .cart-count {
  display: inline-block;
  min-width: 1.4em;
  margin-left: 4px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--brand-red);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}
.cart-link .cart-count[hidden] { display: none; }

main {
  position: relative;
  z-index: 1;
  width: min(1100px, calc(100% - 48px));
  margin: 28px auto 72px;
}

/* О компании / контакты: уже колонка */
body.page-about main,
body.page-contacts main,
body.page-delivery main { width: min(820px, calc(100% - 48px)); }
body.page-about h1,
body.page-contacts h1,
body.page-delivery h1 { letter-spacing: -0.04em; }
body.page-about .lead,
body.page-contacts .lead,
body.page-delivery .lead,
body.page-catalog .lead,
body.page-gallery .lead { max-width: 38em; font-size: 19px; }
body.page-gallery h1 { letter-spacing: -0.04em; }
body.page-gallery h2 {
  scroll-margin-top: 88px;
}
body.page-gallery .shots {
  grid-template-columns: 1fr;
  gap: 14px;
}
@media (min-width: 640px) {
  body.page-gallery .shots { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 960px) {
  body.page-gallery .shots { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
}
body.page-catalog h1 { letter-spacing: -0.04em; }
body.page-catalog .grid-groups {
  margin: 0;
  grid-template-columns: 1fr;
  gap: 16px;
  max-width: 980px;
}
@media (min-width: 640px) {
  body.page-catalog .grid-groups {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }
}
@media (min-width: 960px) {
  body.page-catalog .grid-groups {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
  }
}
body.page-catalog .card-group {
  min-width: 0;
}
body.page-catalog .card-group b,
body.page-catalog .card-group span {
  padding-left: 14px;
  padding-right: 14px;
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: auto;
}
body.page-catalog .card-group b {
  font-size: clamp(16px, 4.2vw, 18px);
  line-height: 1.25;
}
body.page-catalog .card-group span {
  font-size: clamp(13px, 3.6vw, 15px);
  line-height: 1.4;
  padding-bottom: 2px;
}

.med-photo-note {
  margin: -6px 0 22px;
  max-width: 42em;
  font-size: 14px;
  line-height: 1.45;
  color: var(--muted);
}

.product-brief {
  margin: 0 0 22px;
  padding: 14px 16px;
  max-width: 42em;
  background: rgba(255, 252, 247, 0.72);
  border: 1px solid var(--line);
  border-radius: 14px;
}
.product-brief p {
  margin: 0 0 8px;
  font-size: 15px;
  line-height: 1.45;
  color: var(--ink);
}
.product-brief p:last-child { margin-bottom: 0; }
.product-brief b {
  color: var(--green-dark);
  font-weight: 700;
}

.who-we {
  margin: 0 0 28px;
  padding: 16px 18px;
  max-width: 42em;
  background: rgba(255, 252, 247, 0.72);
  border: 1px solid var(--line);
  border-radius: 14px;
}
.who-we h2 {
  margin: 0 0 10px;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--green-dark);
  font-weight: 800;
}
.who-we p {
  margin: 0;
  font-size: 15px;
  line-height: 1.45;
  color: var(--ink);
}
.who-we-hours {
  margin: 10px 0 0;
  font-size: 14px;
  color: var(--muted);
}
.who-we-hours-form {
  margin: 14px 0 0;
  max-width: 42em;
}

.nabory {
  margin: 36px 0 8px;
  max-width: 980px;
}
.nabory h2 {
  margin: 0 0 8px;
  font-size: clamp(20px, 4vw, 26px);
}
.nabory > .lead {
  margin: 0 0 18px;
}
.nabory-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}
@media (min-width: 720px) {
  .nabory-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.nabor-card {
  border: 1px solid var(--line);
  background: rgba(255, 252, 245, 0.72);
  padding: 16px 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}
.nabor-card b {
  font-size: 17px;
  line-height: 1.25;
}
.nabor-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}
.nabor-card .nabor-price {
  font-weight: 700;
  color: var(--ink);
}
.nabor-card .btn {
  margin-top: auto;
  align-self: flex-start;
}

.related {
  margin: 8px 0 36px;
  max-width: 920px;
}
.related h2 {
  margin: 0 0 14px;
  font-size: clamp(18px, 3.5vw, 22px);
}
.related-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .related-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.related-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-decoration: none;
  color: inherit;
  border: 1px solid var(--line);
  background: rgba(255, 252, 245, 0.65);
  padding: 0 0 12px;
  min-width: 0;
}
.related-card:hover { border-color: var(--green); }
.related-media {
  display: block;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #efe6d4;
}
.related-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #f3eee4;
  display: block;
}
.related-card b {
  padding: 0 12px;
  font-size: 14px;
  line-height: 1.3;
}
.related-card span {
  padding: 0 12px;
  font-size: 13px;
  color: var(--muted);
}

.contact-block {
  margin: 0 0 18px;
  padding: 22px 0 18px;
  border-top: 1px solid var(--line);
}
.contact-block:first-of-type { border-top: 0; padding-top: 8px; }
.contact-block h2 {
  margin: 0 0 10px;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--green-dark);
  font-weight: 800;
}
.contact-block p {
  margin: 0 0 8px;
  font-size: 18px;
  color: var(--ink);
}
.contact-block a {
  color: var(--ink);
  border-bottom: 1px solid rgba(42, 92, 50, 0.35);
}
.contact-block a:hover {
  color: var(--brand-red);
  border-bottom-color: var(--brand-red);
}
.contact-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}
.contact-list li { margin: 0; font-size: 18px; }
.contact-map-wrap { margin-top: 14px !important; }
.contact-map {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid var(--line);
  border-bottom: 1px solid var(--line) !important;
  background: #ebe4d8;
}
.contact-map img {
  width: 100%;
  height: min(280px, 48vw);
  object-fit: cover;
  display: block;
}
.contact-note {
  margin: 0 0 14px !important;
  max-width: 36em;
  font-size: 16px !important;
  color: var(--muted) !important;
}
.contact-address {
  display: inline-block;
  color: var(--ink);
  border-bottom: 0 !important;
  line-height: 1.45;
}
.contact-address:hover { color: var(--brand-red); }
.contact-address .contact-note {
  display: block;
  margin: 6px 0 0 !important;
  border-bottom: 0;
}
.contact-hours {
  margin: 0 0 14px !important;
  font-size: 16px !important;
  color: var(--muted) !important;
}
.contact-map img {
  object-fit: cover;
  object-position: center;
}
.contact-form {
  margin-top: 4px;
  background: var(--card);
  border-color: rgba(44, 56, 40, 0.12);
  box-shadow: 0 10px 28px rgba(36, 40, 28, 0.05);
}
.contact-form textarea { min-width: 0; width: 100%; resize: vertical; }
.contact-form .btn { justify-self: start; min-width: 160px; }
.jumps {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  margin: 0 0 22px;
}
.jumps a {
  display: inline-flex;
  padding: 8px 14px;
  border-radius: 999px;
  background: #fff;
  color: var(--green-dark);
  border: 1px solid var(--line);
  font-size: 14px;
  font-weight: 600;
}
.jumps a:hover {
  color: #fff;
  background: var(--green-dark);
  border-color: var(--green-dark);
}
.about-block {
  position: relative;
  margin: 0 0 20px;
  padding: 26px 26px 22px;
  background: var(--card);
  border: 1px solid rgba(44, 56, 40, 0.1);
  border-radius: 18px;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.85) inset,
    0 10px 28px rgba(36, 40, 28, 0.06);
}
.about-block::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18px;
  bottom: 18px;
  width: 5px;
  border-radius: 0 6px 6px 0;
  background: var(--green);
}
.about-block#missiya::before { background: var(--brand-red); }
.about-block#cennosti::before { background: linear-gradient(180deg, var(--green), #5a9a55); }
.about-block h2 {
  margin: 0 0 12px;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--green-dark);
  font-weight: 800;
}
.about-block#missiya h2 { color: var(--brand-red); }
.about-date {
  display: inline-block;
  margin: 0 0 14px;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 13px;
  color: var(--green-dark);
  background: #ebe4d4;
  font-weight: 700;
}
.about-body p {
  margin: 0 0 14px;
  max-width: 40em;
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
}
.about-body p:last-child { margin-bottom: 0; }
.about-values {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}
.about-values li {
  margin: 0;
  padding: 14px 16px;
  background: #f3eee4;
  border-radius: 14px;
  border: 1px solid var(--line);
}
.about-values b {
  display: block;
  margin-bottom: 4px;
  color: var(--green-dark);
  font-size: 16px;
}

h1 {
  margin: 0 0 12px;
  font-size: clamp(34px, 5vw, 50px);
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--green-dark);
  font-family: Georgia, "Palatino Linotype", "Book Antiqua", serif;
}
h2 {
  margin: 36px 0 14px;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
}
h3 { margin: 0 0 8px; font-size: 22px; color: var(--green-dark); }
.lead {
  margin: 0 0 28px;
  max-width: 740px;
  font-size: 20px;
  color: var(--muted);
}
.story {
  max-width: 720px;
  margin: 0 0 28px;
  font-size: 18px;
}
.story p { margin: 0 0 16px; }
p { margin: 0 0 12px; }
.gap { color: var(--muted); }
.back { margin: 0 0 16px; }
.back a { color: var(--green); border-bottom: 1px solid rgba(47, 107, 69, 0.35); }
.shelf-note {
  margin-top: 28px;
  color: var(--muted);
  font-size: 16px;
}
.shelf-note a {
  color: var(--green);
  border-bottom: 1px solid rgba(47, 107, 69, 0.35);
}

.cover, .hero-img {
  width: min(420px, 100%);
  height: auto;
  border-radius: 16px;
  margin: 0 0 18px;
  background: #efe8dc;
}
.tea-head {
  display: grid;
  grid-template-columns: min(320px, 38%) 1fr;
  gap: 28px;
  align-items: end;
  margin-bottom: 8px;
}
.tea-head .cover { width: 100%; margin: 0; }
.packs { display: flex; gap: 14px; justify-content: flex-end; align-items: stretch; }
.packs div {
  flex: 1;
  max-width: 180px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 16px;
  padding: 16px 14px;
  border: 1px solid var(--line);
}
.packs b { display: block; color: var(--green-dark); font-size: 20px; }
.packs span { display: block; margin-top: 6px; color: var(--ink); font-size: 15px; }

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.grid-lines { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 100%;
  padding: 0 0 18px;
  background: var(--card);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 1px 0 rgba(255, 252, 247, 0.9) inset;
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.card-media {
  display: block;
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  background: #ebe4d8;
  overflow: hidden;
}
.card-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.card > img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  object-position: center;
  background: #f3eee4;
  display: block;
}
.card b, .card span { padding: 0 16px; }
.card b {
  margin-top: 14px;
  font-size: 18px;
  font-weight: 600;
  color: var(--green-dark);
}
.card span {
  margin-top: 6px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.35;
}
.card:hover {
  border-color: rgba(42, 92, 50, 0.35);
  transform: translateY(-2px);
  box-shadow: 0 1px 0 rgba(255, 252, 247, 0.9) inset, 0 14px 28px rgba(36, 40, 28, 0.08);
  background: #fffefb;
}
.card-line {
  padding: 22px 20px;
  min-height: 118px;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(165deg, #fffcf7 0%, #f7f2e9 55%, #f0e8da 100%);
  border-left: 3px solid rgba(42, 92, 50, 0.28);
}
.card-line b { margin-top: 0; padding: 0; }
.card-line span { margin-top: 0; padding: 0; }
.card-line:hover {
  border-left-color: var(--green-dark);
  background: #fffefb;
}

.grid figure {
  margin: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
}
.grid figure img, .grid video {
  width: 100%;
  height: 220px;
  object-fit: cover;
  background: #163528;
}
.grid figcaption { padding: 10px 14px 14px; font-size: 15px; }
.shots {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 0 0 28px;
}
.shots figure {
  margin: 0;
  min-width: 0;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 1px 0 rgba(255, 252, 247, 0.9) inset;
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.shots figure:hover {
  border-color: rgba(42, 92, 50, 0.35);
  transform: translateY(-2px);
  box-shadow: 0 1px 0 rgba(255, 252, 247, 0.9) inset, 0 14px 28px rgba(36, 40, 28, 0.08);
}
.shots a {
  display: block;
  background:
    radial-gradient(ellipse at 50% 40%, #fffefb 0%, #f3eee4 72%, #ebe4d8 100%);
}
.shots img,
.shots video {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: contain;
  object-position: center;
  display: block;
  background: transparent;
}
.shots figcaption {
  padding: 12px 14px 14px;
  font-size: 15px;
  line-height: 1.35;
  color: var(--ink);
  overflow-wrap: break-word;
}

article { padding: 18px 0; border-top: 1px solid var(--line); }
.rules article { border-top: 0; padding: 0 0 8px; }
.rules {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 28px;
  margin: 8px 0 28px;
}
.rules article {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px 18px 14px;
}

table { width: 100%; border-collapse: collapse; margin: 8px 0 12px; }
th, td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); }
th {
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
}

footer {
  background: var(--footer);
  color: var(--footer-ink);
  padding: 52px 40px 32px;
  border-top: 0;
}
.foot {
  width: min(1100px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px 48px;
  align-items: start;
}
.foot-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}
.foot p { margin: 0; font-size: 17px; line-height: 1.45; color: var(--footer-ink); }
.foot .label {
  margin: 0 0 6px;
  color: var(--footer-muted);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 700;
}
.foot a {
  color: var(--footer-ink);
  border-bottom: 1px solid rgba(238, 243, 236, 0.35);
}
.foot a:hover { color: #fff; border-bottom-color: #fff; }
.legal {
  width: min(1100px, 100%);
  margin: 28px auto 0;
  padding-top: 18px;
  border-top: 1px solid rgba(238, 243, 236, 0.14);
  font-size: 14px;
  color: var(--footer-muted);
}



.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--brand-red);
  color: #fff;
  font-size: 16px;
  border: 1px solid var(--brand-red);
  cursor: pointer;
  font: inherit;
  font-weight: 700;
}
.btn:hover { filter: brightness(1.05); }
.btn-ghost {
  background: var(--card);
  color: var(--green-dark);
  border-color: rgba(42, 92, 50, 0.35);
}
.btn:focus-visible,
.btn-ghost:focus-visible,
.wa:focus-visible,
.cart-link:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}
.wa-btn {
  background: var(--brand-red);
  border-color: var(--brand-red);
  color: #fff;
}
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

.buy-box {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 16px;
  align-items: end;
  margin: 4px 0 32px;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 10px 28px rgba(22, 53, 40, 0.05);
}
.buy-box label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
}
.buy-box select,
.cart-form input,
.cart-form select,
.cart-form textarea,
.cart-qty {
  font: inherit;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
  padding: 11px 12px;
  border: 1px solid #c5d4c3;
  border-radius: 12px;
  min-width: 240px;
  background: #fff;
  color: var(--ink);
}
.btn-cart { min-width: 160px; }
.cart-table { width: 100%; border-collapse: collapse; margin: 0 0 16px; }
.cart-table th, .cart-table td {
  text-align: left;
  padding: 12px 8px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.cart-total { font-size: 22px; margin: 0 0 12px; color: var(--green-dark); }
.cart-delivery {
  margin: 0 0 24px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #fffcf7 0%, #f3eee4 100%);
}
.cart-delivery-text {
  margin: 0 0 10px;
  font-size: 15px;
  color: var(--ink);
  line-height: 1.35;
}
.cart-delivery-text b { color: var(--green-dark); }
.cart-delivery-bar {
  height: 8px;
  border-radius: 999px;
  background: rgba(44, 56, 40, 0.1);
  overflow: hidden;
}
.cart-delivery-fill {
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, #3a7d42 0%, #2a5c32 100%);
  transition: width .25s ease;
}
.cart-delivery.is-free {
  border-color: rgba(42, 92, 50, 0.35);
  background: linear-gradient(180deg, #f4faf4 0%, #e8f2ea 100%);
}
.cart-delivery.is-free .cart-delivery-fill { width: 100% !important; }
.cart-form {
  display: grid;
  gap: 14px;
  max-width: 520px;
  padding: 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
}
.cart-form label {
  display: grid;
  gap: 6px;
  font-size: 14px;
  color: var(--muted);
}
.muted { color: var(--muted); }
.cart-form .hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.cart-status {
  color: #a33;
  margin: 0.4rem 0 0;
}
.cart-toast {
  position: fixed;
  z-index: 120;
  left: 50%;
  bottom: 24px;
  transform: translate(-50%, 12px);
  padding: 12px 18px;
  border-radius: 999px;
  background: #163528;
  color: #fff;
  opacity: 0;
  transition: opacity .25s ease, transform .25s ease;
  pointer-events: none;
}
.cart-toast.on { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 900px) {
  .grid, .shots, .grid-lines, .rules { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
  .top-main {
    flex-wrap: wrap;
    padding: 12px 16px;
    gap: 8px 12px;
  }
  .mark img { height: 64px; }
  .top nav.nav-desk,
  .nav-desk {
    display: flex !important;
    flex: 1 1 100%;
    order: 3;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 8px 12px;
    font-size: 13px;
  }
  .nav-tools { order: 2; margin-left: auto; }
  .site-search { width: min(180px, 42vw); }
}
@media (max-width: 800px) {
  .tea-head, .grid, .shots, .foot, .grid-lines, .rules { grid-template-columns: 1fr; }
  .packs { justify-content: flex-start; flex-wrap: wrap; }
  main { width: min(100% - 28px, 1100px); }
  footer { padding: 32px 20px 24px; }
  .buy-box select, .cart-form input, .cart-form select, .cart-form textarea { min-width: 0; width: 100%; }
  .nav-phone { display: none; }
}
