:root {
  --primary: #a21caf;
  --secondary: #fdf4ff;
  --accent: #0284c7;
  --text: #4a044e;
  --bg: #fdf2f8;
}

body {
  background: #ffffff;
  color: #000000;
  font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  overflow-x: hidden;
  font-size: clamp(14px, 4vw, 16px);
}

section {
  padding: 64px 16px;
}

.header-title {
  font-size: clamp(20px, 4.5vw, 32px);
  font-weight: 900;
  line-height: 1.1;
  text-transform: uppercase;
}

.product-title {
  font-size: clamp(1.8rem, 4.5vw, 2.75rem);
  font-weight: 900;
  line-height: 1.05;
  text-transform: uppercase;
}

.card {
  border-left: 4px solid #000000;
  padding-left: 20px;
  border-radius: 0;
}

.btn {
  border-radius: 0;
  border: 2px solid #000000;
  font-weight: 700;
  text-transform: uppercase;
  min-height: 44px;
}

.shadow-solid {
  box-shadow: 4px 4px 0px #000000;
}

/* Accessible screen reader utility for radio buttons */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* CSS Only Gallery Logic */
.gallery-main {
  position: relative;
  width: 100%;
  padding-bottom: 100%;
  overflow: hidden;
  background-color: #f3f4f6;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  z-index: 1;
  transition: opacity 0.3s ease-in-out;
}

.thumbnails label {
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.thumbnails label:hover {
  transform: translateY(-2px);
}

/* Slide display driven by checked radio */
#img-1:checked ~ .gallery-main .slide-1 {
  opacity: 1;
  z-index: 10;
}

#img-2:checked ~ .gallery-main .slide-2 {
  opacity: 1;
  z-index: 10;
}

#img-3:checked ~ .gallery-main .slide-3 {
  opacity: 1;
  z-index: 10;
}

#img-4:checked ~ .gallery-main .slide-4 {
  opacity: 1;
  z-index: 10;
}

/* Active thumbnail indicator */
#img-1:checked ~ .thumbnails label[for="img-1"] {
  border-color: var(--primary);
  border-width: 3px;
}

#img-2:checked ~ .thumbnails label[for="img-2"] {
  border-color: var(--primary);
  border-width: 3px;
}

#img-3:checked ~ .thumbnails label[for="img-3"] {
  border-color: var(--primary);
  border-width: 3px;
}

#img-4:checked ~ .thumbnails label[for="img-4"] {
  border-color: var(--primary);
  border-width: 3px;
}

img {
  max-width: 100%;
  height: auto;
}