:root {
  --nutrajoint-bg: #F8FAFC;
  --nutrajoint-surface: #FFFFFF;
  --nutrajoint-surface-alt: #F1F5F9;
  --nutrajoint-tone: #0D7A5F;
  --nutrajoint-tone-hover: #085642;
  --nutrajoint-ink: #0F172A;
  --nutrajoint-ink-muted: #475569;
  --nutrajoint-gradient: linear-gradient(135deg, #094738 0%, #0D7A5F 52%, #149D7C 100%);
  --font-display: 'Raleway', sans-serif;
  --font-body: 'Inter', sans-serif;
}

body.tea-app-body {
  margin: 0;
  padding: 0;
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Header Banner - Preset B: Градиентный фон */
.tea-head-banner {
  padding: 1.25rem 1rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.tea-head-content {
  max-width: 1180px;
  margin: 0 auto;
  text-align: center;
}

.tea-brand-headline {
  margin: 0;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #FFFFFF;
  line-height: 1.4;
}

@media (min-width: 768px) {
  .tea-brand-headline {
    font-size: 1.1rem;
  }
}

/* Main Layout */
.tea-page-shell {
  max-width: 1180px;
  margin: 0 auto;
  padding: 1.5rem 1rem 3rem;
}

@media (min-width: 768px) {
  .tea-page-shell {
    padding: 2.5rem 1.5rem 4rem;
  }
}

.tea-item-presentation {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

@media (min-width: 860px) {
  .tea-item-presentation {
    flex-direction: row;
    align-items: flex-start;
    gap: 3rem;
  }
}

/* Gallery Elements - Preset B: Миниатюры сбоку с рамкой */
.tea-media-column {
  margin: 0;
  width: 100%;
}

@media (min-width: 860px) {
  .tea-media-column {
    flex: 0 0 48%;
    position: sticky;
    top: 1.5rem;
  }
}

.tea-radio-control {
  display: none;
}

.tea-gallery-composition {
  display: flex;
  flex-direction: column-reverse;
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .tea-gallery-composition {
    flex-direction: row;
    align-items: flex-start;
  }
}

.tea-thumbs-flank {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 0.5rem;
}

@media (min-width: 640px) {
  .tea-thumbs-flank {
    flex-direction: column;
    flex: 0 0 76px;
    gap: 0.65rem;
  }
}

.tea-thumb-box {
  width: 68px;
  height: 68px;
  cursor: pointer;
  border: 2px solid #CBD5E1;
  border-radius: 6px;
  background-color: var(--nutrajoint-surface);
  overflow: hidden;
  padding: 3px;
  transition: border-color 0.2s ease, transform 0.15s ease;
  display: block;
}

.tea-thumb-box:hover {
  border-color: var(--nutrajoint-tone);
  transform: translateY(-1px);
}

.tea-thumb-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.tea-stage-wrap {
  flex: 1;
  background-color: var(--nutrajoint-surface);
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.tea-active-viewport {
  width: 100%;
}

.tea-slide-entity {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease-in-out;
  padding: 1rem;
  background-color: #FFFFFF;
}

/* Radio Switcher Logic */
#view-img-1:checked ~ .tea-gallery-composition .slide-num-1,
#view-img-2:checked ~ .tea-gallery-composition .slide-num-2,
#view-img-3:checked ~ .tea-gallery-composition .slide-num-3,
#view-img-4:checked ~ .tea-gallery-composition .slide-num-4 {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

#view-img-1:checked ~ .tea-gallery-composition .thumb-id-1,
#view-img-2:checked ~ .tea-gallery-composition .thumb-id-2,
#view-img-3:checked ~ .tea-gallery-composition .thumb-id-3,
#view-img-4:checked ~ .tea-gallery-composition .thumb-id-4 {
  border-color: var(--nutrajoint-tone);
  box-shadow: 0 0 0 1px var(--nutrajoint-tone);
}

/* Product Info Column */
.tea-details-column {
  flex: 1;
}

.tea-product-heading {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.3;
  margin: 0 0 0.85rem;
  text-transform: uppercase;
}

@media (min-width: 768px) {
  .tea-product-heading {
    font-size: 1.65rem;
  }
}

.tea-ratings-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #E2E8F0;
}

.tea-stars-row {
  color: #F59E0B;
  letter-spacing: 2px;
  font-size: 1.1rem;
}

.tea-rating-text {
  font-size: 0.875rem;
  font-weight: 600;
}

.tea-description-content {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.tea-feature-item {
  margin: 0;
}

.tea-feature-title {
  font-family: var(--font-display);
  font-size: 0.925rem;
  font-weight: 700;
  text-transform: uppercase;
  margin: 0 0 0.35rem;
  letter-spacing: 0.03em;
}

.tea-feature-text {
  margin: 0;
  color: var(--nutrajoint-ink-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.tea-trust-points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  margin-top: 1.75rem;
  padding: 1rem;
  background-color: #F8FAFC;
  border-left: 3px solid var(--nutrajoint-tone);
  border-radius: 4px;
}

.tea-trust-cell {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--nutrajoint-ink);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.tea-trust-check {
  color: var(--nutrajoint-tone);
  font-weight: 800;
}

/* CTA Block - Preset B: Прямоугольная с box-shadow */
.tea-action-dock {
  display: flex;
  justify-content: center;
  margin: 2.5rem 0 3.5rem;
}

.tea-order-button {
  display: inline-block;
  padding: 1.15rem 2.75rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 4px;
  box-shadow: 0 6px 18px rgba(13, 122, 95, 0.35);
  transition: background-color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
  text-align: center;
}

.tea-order-button:hover {
  background-color: var(--nutrajoint-tone-hover) !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(13, 122, 95, 0.45);
}

.tea-order-button:active {
  transform: translateY(0);
}

/* Reviews Block - Preset B: Фон чуть темнее + rounded-xl */
.tea-feedback-section {
  padding-top: 1.5rem;
  border-top: 1px solid #E2E8F0;
}

.tea-feedback-header-box {
  margin-bottom: 2rem;
}

.tea-feedback-headline {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 800;
  text-transform: uppercase;
  margin: 0 0 0.35rem;
}

.tea-feedback-sub {
  margin: 0;
  color: var(--nutrajoint-ink-muted);
  font-size: 0.95rem;
}

.tea-feedback-listing {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.tea-opinion-item {
  padding: 1.4rem;
  border-radius: 0.75rem; /* rounded-xl */
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  border: 1px solid #E2E8F0;
}

.tea-opinion-author-row {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 0.65rem;
}

.tea-author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid #CBD5E1;
  background-color: #FFFFFF;
}

.tea-author-meta {
  display: flex;
  flex-direction: column;
}

.tea-author-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--nutrajoint-ink);
}

.tea-opinion-stars-line {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tea-stars-visual {
  color: #F59E0B;
  letter-spacing: 2px;
  font-size: 0.95rem;
}

.tea-opinion-summary {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--nutrajoint-ink);
}

.tea-opinion-timestamp {
  font-size: 0.825rem;
  color: #64748B;
  margin-bottom: 0.75rem;
}

.tea-opinion-message {
  margin: 0;
  font-size: 0.95rem;
  color: #334155;
  line-height: 1.6;
}

/* Footer Section */
.tea-footer-boundary {
  padding: 2.5rem 1rem;
  margin-top: 4rem;
}

.tea-footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  text-align: center;
}

.tea-footer-brand-title {
  margin: 0 0 1.25rem;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  line-height: 1.5;
  color: #E2E8F0;
}

.tea-footer-links-cluster {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 1.25rem;
}

.tea-policy-link {
  color: #94A3B8;
  font-size: 0.85rem;
  text-decoration: none;
  transition: color 0.15s ease;
}

.tea-policy-link:hover {
  color: #FFFFFF;
  text-decoration: underline;
}

.tea-policy-separator {
  color: #475569;
  font-size: 0.75rem;
}

.tea-copy-notice {
  margin: 0;
  font-size: 0.8rem;
  color: #64748B;
}