:root {
  --phytopros-bg: #f4f6f3;
  --phytopros-surface: #ffffff;
  --phytopros-tone: #2d5a27;
  --phytopros-tone-hover: #1e3d1a;
  --phytopros-ink: #1b241a;
  --phytopros-gradient: linear-gradient(135deg, #2d5a27 0%, #407538 100%);
  --phytopros-radius: 12px;
  --font-display: 'Raleway', sans-serif;
  --font-body: 'Inter', sans-serif;
}

body {
  margin: 0;
  padding: 0;
  background-color: var(--phytopros-bg);
  color: var(--phytopros-ink);
  font-family: var(--font-body);
}

/* Gallery CSS Switcher Logic */
.photo-slide-item {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
  z-index: 1;
}

#slide-1:checked ~ .photo-stage-holder .slide-1,
#slide-2:checked ~ .photo-stage-holder .slide-2,
#slide-3:checked ~ .photo-stage-holder .slide-3,
#slide-4:checked ~ .photo-stage-holder .slide-4 {
  opacity: 1;
  z-index: 10;
}

/* Thumbnail Styling (Preset D: Side tray without heavy border) */
.thumb-label-pick {
  opacity: 0.6;
  transition: opacity 0.2s ease, transform 0.2s ease;
  border: 2px solid transparent;
}

.thumb-label-pick:hover {
  opacity: 0.9;
}

#slide-1:checked ~ .thumbs-side-tray label[for="slide-1"],
#slide-2:checked ~ .thumbs-side-tray label[for="slide-2"],
#slide-3:checked ~ .thumbs-side-tray label[for="slide-3"],
#slide-4:checked ~ .thumbs-side-tray label[for="slide-4"] {
  opacity: 1;
  border-color: var(--phytopros-tone);
}

/* CTA Button Styling (Preset D: Wide, flat without shadow, hover underline) */
.amazon-buy-link {
  box-shadow: none !important;
  text-decoration: none;
  background-color: var(--phytopros-tone);
  border-radius: var(--phytopros-radius);
}

.amazon-buy-link:hover {
  background-color: var(--phytopros-tone-hover) !important;
  text-decoration: underline !important;
}

/* Specific Amazon-like testimonial card overrides */
.user-testimonial-item {
  transition: transform 0.2s ease;
}

/* Mobile responsive fixes */
@media (max-width: 767px) {
  .thumbs-side-tray {
    flex-direction: row;
    margin-top: 0.5rem;
  }
}