:root {
  --tajleaf-bg: #F4F6F0;
  --tajleaf-surface: #FFFFFF;
  --tajleaf-tone: #2D5A27;
  --tajleaf-tone-hover: #1E3F1A;
  --tajleaf-ink: #1C261B;
  --tajleaf-sub: #556B52;
  --tajleaf-accent: #E28743;
  --tajleaf-border: #E1E8DF;
  --tajleaf-gradient: linear-gradient(135deg, #2D5A27 0%, #44773D 100%);
  --font-display: 'Playfair Display', serif;
  --font-body: 'Poppins', sans-serif;
}

body.taj-root-layout {
  margin: 0;
  padding: 0;
  background-color: var(--tajleaf-bg);
  font-family: var(--font-body);
  color: var(--tajleaf-ink);
  line-height: 1.6;
}

.taj-content-limiter {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Preset C Header: Large letter logo */
.taj-brand-topbar {
  padding: 0.85rem 0;
  box-shadow: 0 4px 14px rgba(45, 90, 39, 0.05);
}

.taj-brand-center {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.taj-emblem-badge {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 8px rgba(45, 90, 39, 0.25);
}

.taj-topbar-heading {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 1.05rem;
  text-align: center;
}

/* Main Layout */
.taj-main-showcase {
  padding-top: 2rem;
  padding-bottom: 3.5rem;
}

.taj-product-layout {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

@media (min-width: 768px) {
  .taj-product-layout {
    flex-direction: row;
    align-items: flex-start;
  }
  
  .taj-visual-showcase {
    flex: 0 0 48%;
    position: sticky;
    top: 1.5rem;
  }

  .taj-spec-details {
    flex: 1;
  }
}

/* Gallery CSS Only */
.taj-view-control {
  display: none;
}

.taj-stage-viewer {
  margin: 0;
  box-shadow: 0 8px 24px rgba(30, 63, 26, 0.08);
}

.taj-frame-item {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
  background-color: #FFFFFF;
}

/* Preset C Thumbnails: at the bottom, opacity 0.5 for non-active */
.taj-thumbs-dock {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}

.taj-thumb-action {
  flex: 1;
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  opacity: 0.45;
  transition: opacity 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
  background-color: var(--tajleaf-surface);
  box-shadow: 0 2px 6px rgba(0,0,0,0.06);
}

.taj-thumb-action:hover {
  opacity: 0.8;
}

.taj-thumb-img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: contain;
  display: block;
  padding: 4px;
}

/* Active photo logic */
#taj-pic-1:checked ~ .taj-stage-viewer .taj-item-1,
#taj-pic-2:checked ~ .taj-stage-viewer .taj-item-2,
#taj-pic-3:checked ~ .taj-stage-viewer .taj-item-3,
#taj-pic-4:checked ~ .taj-stage-viewer .taj-item-4 {
  opacity: 1;
  visibility: visible;
}

#taj-pic-1:checked ~ .taj-thumbs-dock .taj-thumb-btn-1,
#taj-pic-2:checked ~ .taj-thumbs-dock .taj-thumb-btn-2,
#taj-pic-3:checked ~ .taj-thumbs-dock .taj-thumb-btn-3,
#taj-pic-4:checked ~ .taj-thumbs-dock .taj-thumb-btn-4 {
  opacity: 1;
  border-color: var(--tajleaf-tone);
  transform: translateY(-2px);
}

/* Product Info */
.taj-product-name {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 1.5rem;
  line-height: 1.35;
  margin: 0 0 0.85rem 0;
  letter-spacing: 0.02em;
}

@media (min-width: 640px) {
  .taj-product-name {
    font-size: 1.85rem;
  }
}

.taj-rating-summary {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  font-size: 0.88rem;
}

.taj-star-tokens {
  letter-spacing: 2px;
  font-size: 1.05rem;
}

.taj-score-val {
  font-weight: 600;
}

.taj-rating-divider {
  color: var(--tajleaf-border);
}

.taj-story-body {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  background-color: var(--tajleaf-surface);
  padding: 1.5rem;
  border-radius: 16px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04);
  border: 1px solid var(--tajleaf-border);
}

.taj-section-subtitle {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin: 0 0 0.35rem 0;
}

.taj-feature-point p {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.65;
}

/* Preset C CTA: Border-left акцент 6px */
.taj-cta-wrapper {
  margin: 3rem 0;
  text-align: center;
}

.taj-store-direct {
  display: inline-block;
  padding: 1.1rem 2.8rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-decoration: none;
  border-radius: 12px;
  border-left: 6px solid var(--tajleaf-accent);
  box-shadow: 0 8px 22px rgba(45, 90, 39, 0.25);
  transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.taj-store-direct:hover {
  background-color: var(--tajleaf-tone-hover) !important;
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(45, 90, 39, 0.35);
}

/* Preset C Reviews: rounded-2xl bez ramok */
.taj-feedback-flow {
  margin-top: 1rem;
}

.taj-reviews-heading {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--tajleaf-border);
}

.taj-review-items {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.taj-client-statement {
  border-radius: 1rem; /* rounded-2xl */
  padding: 1.6rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
  border: none; /* strictly without borders */
}

.taj-author-panel {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 0.5rem;
}

.taj-user-pic {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.taj-user-meta {
  display: flex;
  flex-direction: column;
}

.taj-client-fullname {
  font-weight: 600;
  font-size: 0.95rem;
}

.taj-client-stars {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.taj-stars-icons {
  letter-spacing: 1px;
  font-size: 0.95rem;
}

.taj-rating-note {
  font-weight: 600;
  font-size: 0.88rem;
}

.taj-stamp-date {
  display: block;
  font-size: 0.82rem;
  margin-bottom: 0.75rem;
}

.taj-client-narrative {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.65;
}

/* Footer */
.taj-page-tail {
  padding: 2.5rem 0;
  margin-top: 2rem;
}

.taj-tail-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}

.taj-tail-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
}

.taj-legal-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem;
}

.taj-legal-item {
  font-size: 0.82rem;
  text-decoration: none;
  transition: color 0.2s ease;
}

.taj-legal-item:hover {
  color: var(--tajleaf-tone) !important;
  text-decoration: underline;
}