/* ============================================
   SoFine Ventures — Purex-Style Light Theme
   Brand: Green, Gold, White, Cream
   Reference: mykrugerproducts.ca/en-ca/purex
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;1,400;1,700&family=Inter:wght@400;500;600;700&display=swap');

:root {
  /* Primary greens (replaces Purex purple) */
  --green-deep: #1B5E20;
  --green-medium: #2E7D32;
  --green-light: #43A047;
  --green-pale: #E8F5E9;

  /* Gold accents */
  --gold: #E8601C;
  --gold-light: #F07830;
  --gold-dark: #CC4E10;

  /* Neutrals */
  --white: #FFFFFF;
  --off-white: #FAFAFA;
  --cream: #F8F5F0;
  --gray-100: #F5F5F5;
  --gray-200: #EEEEEE;
  --gray-300: #E0E0E0;
  --gray-400: #BDBDBD;
  --gray-500: #9E9E9E;
  --gray-600: #757575;
  --gray-700: #616161;
  --gray-800: #424242;
  --gray-900: #212121;

  /* Text */
  --text-dark: #1B3A1B;
  --text-body: #424242;
  --text-muted: #757575;
  --text-light: #FFFFFF;

  /* Fonts */
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Effects */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
  --shadow-card: 0 2px 8px rgba(0,0,0,0.06);

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 24px;
  --radius-full: 9999px;

  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --max-width: 1200px;
}

/* --- Reset --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  color: var(--text-body);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul, ol { list-style: none; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-dark);
}

h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 3vw, 1.8rem); }
h4 { font-size: clamp(1.1rem, 2vw, 1.4rem); }

p { margin-bottom: 1rem; }

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Sections --- */
.section { padding: 80px 0; }
.section--cream { background: var(--cream); }
.section--green { background: linear-gradient(135deg, var(--green-deep) 0%, var(--green-medium) 100%); color: var(--text-light); }
.section--green h2, .section--green h3 { color: var(--white); }
.section--pale { background: var(--green-pale); }

.section-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--green-medium);
  margin-bottom: 12px;
}

.section-title { margin-bottom: 16px; }

.section-title--italic {
  font-style: italic;
  font-size: clamp(2rem, 5vw, 3.2rem);
}

.section-subtitle {
  font-family: var(--font-body);
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 600px;
  line-height: 1.8;
}

.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* --- Navigation (green gradient, Purex-style) --- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: #FFFFFF;
  border-bottom: 2px solid #1B5E20;
  transition: var(--transition);
}

.nav--scrolled {
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav__logo img {
  height: 60px;
  width: auto;
}

.nav__logo-text {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--white);
}

.nav__logo-text span { color: var(--gold); }

.nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav__link {
  font-size: 0.9rem;
  font-weight: 600;
  color: #424242;
  position: relative;
  padding: 4px 0;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: #1B5E20;
  transition: width 0.3s ease;
}

.nav__link:hover, .nav__link--active { color: #1B5E20; }
.nav__link:hover::after, .nav__link--active::after { width: 100%; }

.nav__cta {
  padding: 10px 24px;
  background: #E8601C;
  color: #FFFFFF;
  font-size: 0.85rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  transition: var(--transition);
}

.nav__cta:hover {
  background: #F07830;
  transform: translateY(-1px);
}

/* Products Dropdown */
.nav__dropdown {
  position: relative;
}

.nav__dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 24px;
  min-width: 600px;
  z-index: 100;
  margin-top: 16px;
}

.nav__dropdown:hover .nav__dropdown-content,
.nav__dropdown-content.open {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.nav__dropdown-item {
  text-align: center;
  padding: 16px 12px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.nav__dropdown-item:hover { background: var(--green-pale); }

.nav__dropdown-item img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin: 0 auto 8px;
}

.nav__dropdown-item span {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--green-deep);
}

/* Mobile toggle */
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}

.nav__toggle span {
  width: 24px; height: 2px;
  background: #424242;
  transition: var(--transition);
  display: block;
}

.nav__toggle.active span:nth-child(1) { transform: rotate(45deg) translateY(5px); }
.nav__toggle.active span:nth-child(2) { opacity: 0; }
.nav__toggle.active span:nth-child(3) { transform: rotate(-45deg) translateY(-5px); }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.btn--primary {
  background: var(--green-deep);
  color: var(--white);
}

.btn--primary:hover {
  background: var(--green-medium);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn--gold {
  background: var(--gold);
  color: var(--text-dark);
}

.btn--gold:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
}

.btn--outline {
  background: transparent;
  border: 2px solid var(--white);
  color: var(--white);
}

.btn--outline:hover {
  background: var(--white);
  color: var(--green-deep);
}

.btn--outline-green {
  background: transparent;
  border: 2px solid var(--green-deep);
  color: var(--green-deep);
}

.btn--outline-green:hover {
  background: var(--green-deep);
  color: var(--white);
}

.btn--lg { padding: 16px 40px; font-size: 1rem; }
.btn--sm { padding: 10px 20px; font-size: 0.8rem; }

/* --- Hero Carousel --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: 
    radial-gradient(ellipse at 80% 50%, rgba(67,160,71,0.6) 0%, transparent 50%),
    radial-gradient(ellipse at 20% 80%, rgba(200,160,74,0.15) 0%, transparent 40%),
    radial-gradient(ellipse at 60% 0%, rgba(255,255,255,0.08) 0%, transparent 30%),
    linear-gradient(135deg, #14470F 0%, #1B5E20 30%, #2E7D32 60%, #1B5E20 100%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 80%;
  height: 200%;
  background: radial-gradient(ellipse, rgba(255,255,255,0.04) 0%, transparent 70%);
  transform: rotate(-15deg);
  z-index: 0;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 30%;
  background: linear-gradient(to top, rgba(0,0,0,0.15), transparent);
  z-index: 1;
}

.hero__slide {
  display: none;
  width: 100%;
}

.hero__slide.active {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 100vh;
  padding: 100px 0 60px;
}

.hero__inner {
  display: grid;
  grid-template-columns: 45% 55%;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

.hero__content { position: relative; z-index: 3; }

.hero__title {
  color: var(--white);
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-style: italic;
  margin-bottom: 20px;
  line-height: 1.15;
}

.hero__subtitle {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 32px;
  max-width: 440px;
}

.hero__image {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__image img {
  height: 90vh;
  max-height: 850px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 30px 80px rgba(0,0,0,0.4));
  border-radius: 0;
  margin-bottom: -40px;
  position: relative;
  z-index: 2;
}

.hero__dots {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.hero__dot {
  width: 12px; height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.hero__dot.active {
  background: var(--white);
  width: 32px;
  border-radius: 6px;
}

.hero__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px; height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  border: 2px solid rgba(255,255,255,0.3);
  color: var(--white);
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: var(--transition);
}

.hero__arrow:hover { background: rgba(255,255,255,0.3); }
.hero__arrow--prev { left: 24px; }
.hero__arrow--next { right: 24px; }

/* --- Tagline (centered italic) --- */
.tagline {
  padding: 80px 0;
  text-align: center;
  background: var(--white);
}

.tagline__text {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-style: italic;
  color: var(--text-dark);
  max-width: 700px;
  margin: 0 auto;
}

/* --- Featured Products (horizontal cards, Purex-style) --- */
.featured-products { background: var(--cream); }

.product-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-bottom: 32px;
}

.product-hcard {
  display: flex;
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
  border: 1px solid var(--gray-200);
}

.product-hcard:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.product-hcard__image {
  width: 40%;
  min-height: 280px;
  background: var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.product-hcard__image img {
  max-height: 220px;
  width: auto;
  object-fit: contain;
}

.product-hcard__body {
  width: 60%;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.product-hcard__name {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--green-deep);
  margin-bottom: 12px;
}

.product-hcard__features {
  margin-bottom: 16px;
}

.product-hcard__feature {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
}

.product-hcard__feature-icon {
  width: 28px; height: 28px;
  flex-shrink: 0;
}

.product-hcard__feature-icon svg {
  width: 28px; height: 28px;
  stroke: var(--green-medium);
  fill: none;
  stroke-width: 1.5;
}

.product-hcard__feature-text {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-dark);
}

.product-hcard__desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 0;
}

.product-hcard__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--green-deep);
  margin-top: 16px;
}

.product-hcard__link:hover { color: var(--gold-dark); gap: 10px; }

/* --- Brand Story (two-column) --- */
.brand-story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.brand-story__heading {
  font-style: italic;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  line-height: 1.25;
  color: var(--text-dark);
}

.brand-story__text {
  font-size: 1rem;
  color: var(--text-body);
  line-height: 1.8;
}

/* --- Testimonial / Highlight --- */
.testimonial {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.testimonial__image-wrap {
  position: relative;
  width: 400px;
  height: 400px;
  margin: 0 auto;
}

.testimonial__image {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
  border: 6px solid var(--green-pale);
}

.testimonial__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial__quote {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-style: italic;
  color: var(--text-dark);
  line-height: 1.4;
  margin-bottom: 24px;
}

/* --- Newsletter Section (green bg) --- */
.newsletter {
  background: linear-gradient(135deg, var(--green-deep), var(--green-medium));
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.newsletter__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.newsletter__content h2 { color: var(--white); margin-bottom: 12px; }
.newsletter__content p { color: rgba(255,255,255,0.75); margin-bottom: 32px; }

.newsletter__form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.newsletter__input {
  padding: 14px 18px;
  border: none;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.9rem;
  background: rgba(255,255,255,0.15);
  color: var(--white);
  outline: none;
}

.newsletter__input::placeholder { color: rgba(255,255,255,0.5); }
.newsletter__input:focus { background: rgba(255,255,255,0.25); }

.newsletter__image {
  display: flex;
  justify-content: flex-end;
}

.newsletter__image img {
  max-height: 350px;
  filter: drop-shadow(0 10px 30px rgba(0,0,0,0.2));
}

/* --- Wave Divider (SVG, Purex-style) --- */
.wave-divider {
  width: 100%;
  overflow: hidden;
  line-height: 0;
}

.wave-divider svg {
  width: 100%;
  height: 80px;
  display: block;
}

.wave-divider--green svg path { fill: var(--green-deep); }
.wave-divider--white svg path { fill: var(--white); }
.wave-divider--cream svg path { fill: var(--cream); }

/* --- Product Detail Page --- */
.product-detail {
  padding: 120px 0 60px;
}

.product-detail__inner {
  display: grid;
  grid-template-columns: 40% 60%;
  gap: 40px;
  align-items: start;
}

.product-detail__name {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 16px;
  color: var(--text-dark);
}

.product-detail__desc {
  font-size: 1rem;
  color: var(--text-body);
  line-height: 1.8;
  margin-bottom: 24px;
}

.product-detail__features { margin-bottom: 32px; }

.product-detail__feature {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
}

.product-detail__feature-icon {
  width: 36px; height: 36px;
  flex-shrink: 0;
}

.product-detail__feature-icon svg {
  width: 36px; height: 36px;
  stroke: var(--green-medium);
  fill: none;
  stroke-width: 1.5;
}

.product-detail__feature-text {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
}

/* Sizes accordion */
.sizes-accordion { border-top: 1px solid var(--gray-300); }

.sizes-accordion__item {
  border-bottom: 1px solid var(--gray-300);
}

.sizes-accordion__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-dark);
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  font-family: var(--font-body);
}

.sizes-accordion__header svg {
  width: 20px; height: 20px;
  stroke: var(--green-medium);
  transition: transform 0.3s ease;
}

.sizes-accordion__header.open svg { transform: rotate(180deg); }

.sizes-accordion__body {
  display: none;
  padding: 0 0 16px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.sizes-accordion__body.open { display: block; }

/* Product image area */
.product-detail__gallery {
  position: relative;
}

.product-detail__main-image {
  width: 100%;
  aspect-ratio: 4/3;
  background: var(--gray-100);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.product-detail__main-image img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
}

.product-detail__thumbs {
  display: flex;
  gap: 12px;
  margin-top: 16px;
  justify-content: center;
}

.product-detail__thumb {
  width: 72px; height: 72px;
  border-radius: var(--radius-sm);
  border: 2px solid var(--gray-200);
  overflow: hidden;
  cursor: pointer;
  transition: var(--transition);
  background: var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-detail__thumb.active,
.product-detail__thumb:hover {
  border-color: var(--green-medium);
}

.product-detail__thumb img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
}

/* --- Compare Products Grid --- */
.compare-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 24px;
}

.compare-card {
  background: var(--white);
  border-radius: var(--radius-md);
  border: 2px solid var(--gray-200);
  padding: 24px;
  text-align: center;
  transition: var(--transition);
}

.compare-card:hover,
.compare-card.active {
  border-color: var(--green-medium);
  box-shadow: var(--shadow-md);
}

.compare-card__image {
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.compare-card__image img {
  max-height: 140px;
  object-fit: contain;
}

.compare-card__name {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--green-deep);
  margin-bottom: 12px;
}

.compare-card__features { margin-bottom: 12px; }

.compare-card__feature {
  font-size: 0.8rem;
  color: var(--text-body);
  padding: 4px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.compare-card__feature svg {
  width: 16px; height: 16px;
  stroke: var(--green-medium);
  fill: none;
}

/* --- Video Section --- */
.video-section {
  text-align: center;
  padding: 60px 0;
}

.video-container {
  max-width: 800px;
  margin: 24px auto 0;
  aspect-ratio: 16/9;
  background: var(--gray-100);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-md);
}

.video-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.video-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.video-placeholder__play {
  width: 72px; height: 72px;
  background: var(--green-deep);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.video-placeholder__play:hover {
  transform: scale(1.1);
  background: var(--green-medium);
}

.video-placeholder__play svg {
  width: 28px; height: 28px;
  fill: var(--white);
  margin-left: 4px;
}

.video-placeholder__text {
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* --- How To Use Steps --- */
.steps { counter-reset: steps; }

.step {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  padding: 20px 0;
  border-bottom: 1px solid var(--gray-200);
}

.step:last-child { border-bottom: none; }

.step__number {
  width: 44px; height: 44px;
  min-width: 44px;
  background: var(--green-deep);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
}

.step__content h4 { margin-bottom: 4px; }
.step__content p { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 0; }

/* --- Variants Grid --- */
.variants-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 20px;
}

.variant-card {
  text-align: center;
  padding: 28px 20px;
  border-radius: var(--radius-md);
  background: var(--white);
  border: 2px solid var(--gray-200);
  transition: var(--transition);
}

.variant-card:hover {
  border-color: var(--green-medium);
  box-shadow: var(--shadow-sm);
}

.variant-card__swatch {
  width: 56px; height: 56px;
  border-radius: 50%;
  margin: 0 auto 12px;
  border: 3px solid var(--gray-200);
}

.variant-card__name {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
}

.variant-card__sub {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* --- Sizes Table --- */
.sizes-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
}

.sizes-table th, .sizes-table td {
  padding: 14px 20px;
  text-align: left;
  font-size: 0.9rem;
}

.sizes-table thead { background: var(--green-deep); color: var(--white); }

.sizes-table th {
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.sizes-table th:first-child { border-radius: var(--radius-sm) 0 0 0; }
.sizes-table th:last-child { border-radius: 0 var(--radius-sm) 0 0; }

.sizes-table tbody tr { border-bottom: 1px solid var(--gray-200); }
.sizes-table tbody tr:hover { background: var(--green-pale); }

.sizes-table .coming-soon { color: var(--gold-dark); font-weight: 600; }

/* --- Gallery Grid --- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.gallery-item {
  aspect-ratio: 1;
  background: var(--gray-100);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-item--placeholder {
  border: 2px dashed var(--gray-300);
  color: var(--text-muted);
  font-size: 0.8rem;
}

/* --- Forms --- */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group { margin-bottom: 20px; }
.form-group--full { grid-column: 1 / -1; }

.form-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 14px 18px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  border: 2px solid var(--gray-300);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--text-dark);
  transition: var(--transition);
  outline: none;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--green-medium);
  box-shadow: 0 0 0 3px rgba(46,125,50,0.1);
}

.form-textarea { resize: vertical; min-height: 120px; }

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23757575' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

/* --- Contact Cards --- */
.contact-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.contact-card {
  padding: 32px;
  background: var(--white);
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-md);
  text-align: center;
  transition: var(--transition);
}

.contact-card:hover { border-color: var(--green-medium); }

.contact-card__icon {
  width: 52px; height: 52px;
  background: var(--green-pale);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.contact-card__icon svg {
  width: 22px; height: 22px;
  stroke: var(--green-deep);
  fill: none;
  stroke-width: 2;
}

.contact-card__title {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.contact-card__text {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* --- CTA Section (light, not dark) --- */
.cta-section {
  background: var(--cream);
  padding: 80px 0;
  text-align: center;
}

.cta-section h2 { margin-bottom: 12px; }
.cta-section p { color: var(--text-muted); max-width: 500px; margin: 0 auto 28px; }

.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* --- Pre-footer --- */
.pre-footer {
  padding: 40px 0;
  text-align: center;
  border-top: 1px solid var(--gray-200);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
}

.pre-footer__logo img { height: 48px; }

.pre-footer__social a {
  display: inline-flex;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--green-deep);
  align-items: center;
  justify-content: center;
}

.pre-footer__social svg {
  width: 18px; height: 18px;
  fill: var(--white);
}

/* --- Footer --- */
.footer {
  background: var(--gray-100);
  padding: 40px 0;
  text-align: center;
}

.footer__badge {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 16px;
}

.footer__links {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.footer__link {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer__link:hover { color: var(--green-deep); }

.footer__copyright {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer__legal {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-top: 12px;
}

.footer__legal a {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.footer__legal a:hover { color: var(--green-deep); }

/* --- Where to Buy Modal --- */
.wtb-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.5);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.wtb-overlay.open { display: flex; }

.wtb-modal {
  background: var(--white);
  border-radius: var(--radius-lg);
  max-width: 900px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  position: relative;
  box-shadow: var(--shadow-lg);
}

.wtb-modal__header {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 32px 32px 24px;
  border-bottom: 1px solid var(--gray-200);
}

.wtb-modal__product-img {
  width: 80px; height: 80px;
  object-fit: contain;
}

.wtb-modal__title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-dark);
  flex: 1;
}

.wtb-modal__close {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: none;
  background: var(--gray-100);
  color: var(--text-body);
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  flex-shrink: 0;
}

.wtb-modal__close:hover { background: var(--gray-200); }

.wtb-modal__body { padding: 32px; }

.wtb-modal__columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.wtb-column__heading {
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  background: var(--green-deep);
  padding: 14px 20px;
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
}

.wtb-column__content {
  border: 1px solid var(--gray-200);
  border-top: none;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  min-height: 200px;
}

/* Distributor row */
.wtb-distributor {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--gray-200);
}

.wtb-distributor:last-child { border-bottom: none; }

.wtb-distributor__logo {
  width: 100px;
  flex-shrink: 0;
}

.wtb-distributor__logo img {
  max-width: 100%;
  max-height: 36px;
  object-fit: contain;
}

.wtb-distributor__status {
  font-size: 0.85rem;
  color: var(--text-muted);
  flex: 1;
}

.wtb-distributor__btn {
  padding: 8px 20px;
  background: var(--green-deep);
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.wtb-distributor__btn:hover { background: var(--green-medium); }

/* Coming soon state */
.wtb-coming-soon {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 24px;
  text-align: center;
}

.wtb-coming-soon__icon {
  width: 64px; height: 64px;
  background: var(--green-pale);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.wtb-coming-soon__icon svg {
  width: 28px; height: 28px;
  stroke: var(--green-deep);
  fill: none;
  stroke-width: 2;
}

.wtb-coming-soon__title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.wtb-coming-soon__text {
  font-size: 0.85rem;
  color: var(--text-muted);
  max-width: 300px;
  line-height: 1.6;
}

.wtb-coming-soon__cta {
  margin-top: 20px;
  padding: 10px 24px;
  background: var(--gold);
  color: var(--text-dark);
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.wtb-coming-soon__cta:hover { background: var(--gold-light); }

/* Region select inside modal */
.wtb-region-select {
  padding: 16px 20px;
  border-bottom: 1px solid var(--gray-200);
  display: flex;
  align-items: center;
  gap: 12px;
}

.wtb-region-select svg {
  width: 18px; height: 18px;
  stroke: var(--green-deep);
  fill: none;
  stroke-width: 2;
}

.wtb-region-select select {
  flex: 1;
  padding: 8px 12px;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--text-dark);
  background: var(--white);
}

/* Where to Buy page hero variant */
.wtb-hero {
  background: linear-gradient(135deg, var(--green-deep), var(--green-medium));
  padding: 120px 0 60px;
  text-align: center;
}

.wtb-hero h1 { color: var(--white); margin-bottom: 12px; }
.wtb-hero p { color: rgba(255,255,255,0.8); max-width: 500px; margin: 0 auto; }

/* Products select for Where to Buy page */
.wtb-product-select {
  max-width: 500px;
  margin: 0 auto;
  padding: 20px 0;
}

@media (max-width: 768px) {
  .wtb-modal__columns { grid-template-columns: 1fr; }
  .wtb-modal__header { padding: 20px; }
  .wtb-modal__body { padding: 20px; }
}

/* --- Animations --- */
.fade-in { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }
.fade-in-left { opacity: 0; transform: translateX(-30px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-in-left.visible { opacity: 1; transform: translateX(0); }
.fade-in-right { opacity: 0; transform: translateX(30px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-in-right.visible { opacity: 1; transform: translateX(0); }

/* --- Responsive --- */
@media (max-width: 992px) {
  .hero__inner { grid-template-columns: 1fr; text-align: center; }
  .hero__content { order: 1; }
  .hero__image { order: 0; }
  .hero__subtitle { margin: 0 auto 32px; }
  .product-row { grid-template-columns: 1fr; }
  .brand-story { grid-template-columns: 1fr; gap: 32px; }
  .testimonial { grid-template-columns: 1fr; gap: 32px; text-align: center; }
  .testimonial__image-wrap { width: 280px; height: 280px; }
  .newsletter__inner { grid-template-columns: 1fr; }
  .newsletter__image { display: none; }
  .product-detail__inner { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .form-group--full { grid-column: 1; }
  .contact-cards { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .section { padding: 60px 0; }

  .nav__links {
    position: fixed;
    top: 72px; left: 0; right: 0; bottom: 0;
    background: var(--green-deep);
    flex-direction: column;
    justify-content: center;
    gap: 20px;
    transform: translateX(100%);
    transition: transform 0.4s ease;
  }

  .nav__links.open { transform: translateX(0); }
  .nav__link { font-size: 1.2rem; }
  .nav__toggle { display: flex; }
  .nav__dropdown-content { display: none !important; }

  .hero { min-height: auto; }
  .hero__slide.active { min-height: auto; padding: 100px 0 60px; }
  .hero__image img { height: auto; max-height: 300px; }

  .product-hcard { flex-direction: column; }
  .product-hcard__image { width: 100%; min-height: 200px; }
  .product-hcard__body { width: 100%; }

  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .compare-grid { grid-template-columns: repeat(2, 1fr); }
  .variants-grid { grid-template-columns: repeat(2, 1fr); }
  .pre-footer { flex-direction: column; gap: 16px; }
}

@media (max-width: 480px) {
  .cta-actions { flex-direction: column; align-items: center; }
  .newsletter__form { grid-template-columns: 1fr; }
  .variants-grid { grid-template-columns: 1fr; }
  .compare-grid { grid-template-columns: 1fr; }
}
