:root {
  --glucoherb-bg: #f5fcf9;
  --glucoherb-surface: #ffffff;
  --glucoherb-tone: #16a34a;
  --glucoherb-tone-hover: #15803d;
  --glucoherb-ink: #2c3e50;
  --glucoherb-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  --glucoherb-radius: 16px;
  --font-display: 'Bebas Neue', sans-serif;
  --font-body: 'Mulish', sans-serif;
}

body {
  font-family: var(--font-body);
  margin: 0;
  padding: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  text-transform: uppercase;
}

/* Gallery Logic */
.gh-view-area {
  position: relative;
  width: 100%;
}

.gh-slide-wrap {
  transition: transform 0.4s ease-in-out;
  width: 100%;
}

/* Radio Control for Slides */
#gh-pic-1:checked ~ .gh-view-area .gh-slide-wrap { transform: translateX(0%); }
#gh-pic-2:checked ~ .gh-view-area .gh-slide-wrap { transform: translateX(-100%); }
#gh-pic-3:checked ~ .gh-view-area .gh-slide-wrap { transform: translateX(-200%); }
#gh-pic-4:checked ~ .gh-view-area .gh-slide-wrap { transform: translateX(-300%); }

/* Thumb styles */
#gh-pic-1:checked ~ .gh-thumb-row label[for="gh-pic-1"],
#gh-pic-2:checked ~ .gh-thumb-row label[for="gh-pic-2"],
#gh-pic-3:checked ~ .gh-thumb-row label[for="gh-pic-3"],
#gh-pic-4:checked ~ .gh-thumb-row label[for="gh-pic-4"] {
  border-color: var(--glucoherb-tone);
  opacity: 1;
}

/* Hide inactive slides technically for accessibility but visible in flow */
.gh-slide {
  height: auto;
  min-height: 350px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gh-slide img {
  max-height: 500px;
}

/* CTA Hover */
.gh-buy-trigger a:hover {
  transform: translateY(-3px);
  background-color: var(--glucoherb-tone-hover);
  box-shadow: 0 10px 20px rgba(22, 163, 74, 0.2);
}

/* Responsive Fixes */
@media (max-width: 768px) {
  .gh-main-layout {
    flex-direction: column;
  }
  .gh-visual-stack {
    order: 1;
  }
  .gh-meta-info {
    order: 2;
  }
  .gh-view-area {
    border-radius: 0;
  }
}

/* Amazon Style Review Border Accent (Preset A) */
.gh-user-note {
  transition: transform 0.2s;
}

.gh-user-note:hover {
  transform: scale(1.01);
}

footer a:hover {
    color: var(--glucoherb-tone);
    text-decoration: underline;
}