/* ═══════════════════════════════════════════
   FOUNDATION BUNDLES LP — page-bundles.php
   Sections: Hero, Benefit Nav, Carousel (6 slides),
   Add-ons, Philosophy Strip
   ═══════════════════════════════════════════ */

/* ── Hero redesign — full bleed image with bottom fade — April 2026 ── */

.wv-bundles-hero {
  position: relative;
  height: 600px;
  overflow: hidden;
}

.wv-bundles-hero__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-color: #C8C9A8;
  /* PLACEHOLDER — warm sage tone standing in for the landscape photo.
     When photo is ready, replace with:
     background-image: url('/path/to/image.jpg');
     background-size: cover;
     background-position: center 30%; */
}

.wv-bundles-hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
}

.wv-bundles-hero__fade {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(248, 245, 236, 0.6) 40%,
    rgba(248, 245, 236, 0.92) 70%,
    #F8F5EC 100%
  );
  pointer-events: none;
}

.wv-bundles-hero__content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  text-align: center;
  padding: 0 48px 56px;
  z-index: 2;
}

.wv-bundles-hero__eyebrow {
  font-family: var(--wv-font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--wv-color-text-secondary);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.wv-bundles-hero__eyebrow::before,
.wv-bundles-hero__eyebrow::after {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: var(--wv-color-border);
}

.wv-bundles-hero__title {
  font-family: var(--wv-font-serif);
  font-size: 56px;
  font-weight: 400;
  font-style: italic;
  line-height: 1.05;
  color: var(--wv-color-text-primary);
  margin-bottom: 16px;
}

.wv-bundles-hero__subtitle {
  font-family: var(--wv-font-primary);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.75;
  color: var(--wv-color-text-secondary);
  max-width: 520px;
  margin: 0 auto;
}

/* ── Benefit Nav ── */
.wv-benefit-nav {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  padding: 40px 48px 24px;
}

.wv-benefit-nav__tab {
  font-family: var(--wv-font-primary);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 9px 18px;
  border-radius: var(--wv-radius-pill);
  border: 1px solid var(--wv-color-border);
  background: transparent;
  color: var(--wv-color-text-secondary);
  cursor: pointer;
  transition: all var(--wv-transition-fast);
}

.wv-benefit-nav__tab:hover {
  border-color: var(--wv-color-text-primary);
  color: var(--wv-color-text-primary);
}

.wv-benefit-nav__tab--active {
  background: var(--wv-color-text-primary);
  border-color: var(--wv-color-text-primary);
  color: var(--wv-color-text-inverse);
}

/* ── Vertical tightening pass — April 2026 ── */

/* ── Carousel ── */
.wv-carousel {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 48px 40px;
}

.wv-carousel__track {
  position: relative;
  border-radius: var(--wv-radius-lg);
  overflow: hidden;
}

.wv-carousel__slide {
  display: none;
  grid-template-columns: 1fr 1fr;
}

.wv-carousel__slide--active {
  display: grid;
  animation: wv-slide-in 0.35s ease;
}

@keyframes wv-slide-in {
  from { opacity: 0; transform: translateX(20px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* Slide — Left (image panel) */
.wv-bundle-slide__image {
  position: relative;
  min-height: 380px;
  border-radius: var(--wv-radius-lg) 0 0 var(--wv-radius-lg);
  overflow: hidden;
}

.wv-bundle-slide__bg {
  position: absolute;
  inset: 0;
}

.wv-bundle-slide__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0) 50%);
  z-index: 1;
}

.wv-bundle-slide__botanical {
  position: absolute;
  top: 40px;
  right: 40px;
  width: 120px;
  height: 120px;
  opacity: 0.15;
  z-index: 0;
}

.wv-bundle-slide__image-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  padding: 36px;
}

.wv-bundle-slide__benefit-label {
  font-family: var(--wv-font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 8px;
}

.wv-bundle-slide__outcome {
  font-family: var(--wv-font-serif);
  font-size: 22px;
  font-weight: 400;
  font-style: italic;
  color: #fff;
  max-width: 320px;
  line-height: 1.3;
}

/* Slide — Right (content panel) */
.wv-bundle-slide__content {
  background: var(--wv-color-background);
  border-radius: 0 var(--wv-radius-lg) var(--wv-radius-lg) 0;
  padding: 48px 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.wv-bundle-slide__eyebrow {
  font-family: var(--wv-font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--wv-color-text-secondary);
  margin-bottom: 8px;
}

.wv-bundle-slide__title {
  font-family: var(--wv-font-serif);
  font-size: 32px;
  font-weight: 400;
  line-height: 1.15;
  color: var(--wv-color-text-primary);
  margin-bottom: 14px;
}

/* Product thumbnails */
.wv-bundle-slide__products {
  display: flex;
  gap: 10px;
  margin-bottom: 16px;
}

.wv-product-thumb {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-decoration: none;
}

.wv-product-thumb__img {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  border: 1px solid var(--wv-color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--wv-font-serif);
  font-size: 14px;
  color: #fff;
  transition: border-color var(--wv-transition-base);
}

.wv-product-thumb:hover .wv-product-thumb__img {
  border-color: var(--wv-color-accent);
}

.wv-product-thumb__name {
  font-family: var(--wv-font-mono);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--wv-color-text-secondary);
}

/* Pricing block */
.wv-bundle-slide__pricing {
  background: var(--wv-color-surface);
  border-radius: 12px;
  border: 1px solid var(--wv-color-border);
  padding: 12px 16px;
  margin-bottom: 14px;
}

.wv-bundle-pricing__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.wv-bundle-pricing__name {
  font-family: var(--wv-font-primary);
  font-size: 13px;
  font-weight: 500;
  color: var(--wv-color-text-primary);
}

.wv-bundle-pricing__badge {
  font-family: var(--wv-font-primary);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--wv-color-accent);
  background: rgba(147, 151, 64, 0.1);
  padding: 3px 8px;
  border-radius: var(--wv-radius-pill);
}

.wv-bundle-pricing__row {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.wv-bundle-pricing__original {
  font-family: var(--wv-font-primary);
  font-size: 14px;
  font-weight: 300;
  color: var(--wv-color-price-strike);
  text-decoration: line-through;
}

.wv-bundle-pricing__current {
  font-family: var(--wv-font-primary);
  font-size: 26px;
  font-weight: 500;
  color: var(--wv-color-text-primary);
}

.wv-bundle-pricing__count {
  font-family: var(--wv-font-mono);
  font-size: 11px;
  color: var(--wv-color-text-secondary);
  margin-top: 4px;
}

/* Slide CTAs */
.wv-bundle-slide__ctas {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.wv-bundle-btn--atc {
  width: 100%;
  padding: 15px 24px;
  background: var(--wv-color-text-primary);
  color: var(--wv-color-text-inverse);
  border: none;
  font-family: var(--wv-font-primary);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background var(--wv-transition-base);
}

.wv-bundle-btn--atc:hover {
  background: #1A1A18;
}

.wv-bundle-btn--subscribe {
  width: 100%;
  padding: 13px 24px;
  background: transparent;
  color: var(--wv-color-text-primary);
  border: 1px solid var(--wv-color-border);
  font-family: var(--wv-font-primary);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: border-color var(--wv-transition-base), color var(--wv-transition-base);
}

.wv-bundle-btn--subscribe:hover {
  border-color: var(--wv-color-accent);
  color: var(--wv-color-accent);
}

/* Carousel navigation */
.wv-carousel__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 28px;
}

.wv-carousel__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(0, 0, 0, 0.25);
  color: #fff;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--wv-transition-fast);
}

.wv-carousel__arrow:hover {
  background: rgba(0, 0, 0, 0.5);
  border-color: rgba(255, 255, 255, 0.5);
}

.wv-carousel__arrow--prev {
  left: 16px;
}

.wv-carousel__arrow--next {
  right: 16px;
}

.wv-carousel__dots {
  display: flex;
  gap: 6px;
  align-items: center;
}

.wv-carousel__dot {
  width: 6px;
  height: 6px;
  border-radius: 3px;
  background: var(--wv-color-border);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: all 0.2s;
}

.wv-carousel__dot--active {
  width: 20px;
  background: var(--wv-color-text-primary);
}

/* ── Add-ons Section ── */
.wv-addons {
  max-width: 1100px;
  margin: 0 auto;
  padding: 32px 48px 80px;
}

.wv-addons__header {
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--wv-color-border);
}

.wv-addons__eyebrow {
  font-family: var(--wv-font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--wv-color-text-secondary);
  margin-bottom: 6px;
}

.wv-addons__title {
  font-family: var(--wv-font-serif);
  font-size: 28px;
  font-weight: 400;
  font-style: italic;
  color: var(--wv-color-text-primary);
}

.wv-addons__subtitle {
  font-family: var(--wv-font-primary);
  font-size: 14px;
  font-weight: 300;
  color: var(--wv-color-text-secondary);
  margin-top: 6px;
}

.wv-addons__carousel {
  position: relative;
}

.wv-addons__track-wrap {
  overflow: hidden;
}

.wv-addons__track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  scroll-behavior: smooth;
}

.wv-addons__track::-webkit-scrollbar {
  display: none;
}

.wv-addons__track .wv-addon-card {
  flex: 0 0 calc(33.333% - 14px);
  scroll-snap-align: start;
}

.wv-addons__track .wv-card {
  flex-shrink: 0;
  scroll-snap-align: start;
}

.wv-addons__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--wv-color-border);
  background: var(--wv-color-background);
  color: var(--wv-color-text-primary);
  font-size: 14px;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--wv-transition-fast);
}

.wv-addons__arrow:hover {
  background: var(--wv-color-text-primary);
  color: var(--wv-color-text-inverse);
  border-color: var(--wv-color-text-primary);
}

.wv-addons__arrow--prev { left: -18px; }
.wv-addons__arrow--next { right: -18px; }

.wv-addons__carousel--scrollable .wv-addons__arrow {
  display: flex;
}

.wv-addon-card {
  background: var(--wv-color-background);
  border: 1px solid var(--wv-color-border);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color var(--wv-transition-base), transform var(--wv-transition-base);
}

.wv-addon-card:hover {
  border-color: var(--wv-color-text-secondary);
  transform: translateY(-2px);
}

.wv-addon-card__img {
  width: 100%;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--wv-font-mono);
  font-size: 11px;
  color: var(--wv-color-text-secondary);
  font-style: italic;
}

.wv-addon-card__body {
  padding: 18px 20px 20px;
}

.wv-addon-card__name {
  font-family: var(--wv-font-primary);
  font-size: 14px;
  font-weight: 500;
  color: var(--wv-color-text-primary);
  margin-bottom: 8px;
}

.wv-addon-card__why {
  font-family: var(--wv-font-primary);
  font-size: 12px;
  font-weight: 300;
  font-style: italic;
  line-height: 1.6;
  color: var(--wv-color-text-secondary);
  padding-left: 12px;
  border-left: 2px solid var(--wv-color-border);
  margin-bottom: 16px;
}

.wv-addon-card__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.wv-addon-card__price {
  font-family: var(--wv-font-primary);
  font-size: 15px;
  font-weight: 500;
  color: var(--wv-color-text-primary);
}

.wv-addon-card__add {
  width: 32px;
  height: 32px;
  background: var(--wv-color-accent);
  color: #fff;
  border: none;
  font-size: 18px;
  font-weight: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: opacity var(--wv-transition-fast), transform var(--wv-transition-fast);
}

.wv-addon-card__add:hover {
  opacity: 0.85;
  transform: scale(1.1);
}

/* ── Philosophy Strip ── */
.wv-philosophy-strip {
  background: var(--wv-color-text-primary);
  padding: 72px 48px;
  text-align: center;
}

.wv-philosophy-strip__eyebrow {
  font-family: var(--wv-font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 20px;
}

.wv-philosophy-strip__quote {
  font-family: var(--wv-font-serif);
  font-size: 26px;
  font-weight: 400;
  font-style: italic;
  color: rgba(255, 255, 255, 0.85);
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.5;
}

.wv-philosophy-strip__attr {
  font-family: var(--wv-font-primary);
  font-size: 14px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.4);
  margin: 12px 0 32px;
}

.wv-philosophy-strip__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--wv-color-primary);
  color: #fff;
  border: none;
  border-radius: var(--wv-radius-pill);
  padding: 12px 28px;
  font-family: var(--wv-font-primary);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background var(--wv-transition-base);
}

.wv-philosophy-strip__cta:hover {
  background: var(--wv-color-primary-hover);
}

/* Per-bundle gradients */
.wv-bundle-slide__bg--gut    { background: linear-gradient(145deg, #7B9E6B 0%, #4A6B3A 100%); }
.wv-bundle-slide__bg--brain  { background: linear-gradient(145deg, #5B7FA6 0%, #2C4D78 100%); }
.wv-bundle-slide__bg--bone   { background: linear-gradient(145deg, #9B8B6B 0%, #6B5B3A 100%); }
.wv-bundle-slide__bg--energy { background: linear-gradient(145deg, #C8853A 0%, #8B4A1A 100%); }
.wv-bundle-slide__bg--sleep  { background: linear-gradient(145deg, #6B6B9B 0%, #3A3A6B 100%); }
.wv-bundle-slide__bg--stress { background: linear-gradient(145deg, #8B9E7B 0%, #4A6B4A 100%); }

/* ═══════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════ */
@media (max-width: 1279px) {
  .wv-benefit-nav,
  .wv-carousel,
  .wv-addons {
    padding-left: 40px;
    padding-right: 40px;
  }

  .wv-bundles-hero__content {
    padding-left: 40px;
    padding-right: 40px;
  }

  .wv-philosophy-strip {
    padding: 56px 40px;
  }
}

@media (max-width: 767px) {
  .wv-bundles-hero {
    height: 500px;
  }

  .wv-bundles-hero__fade {
    height: 65%;
  }

  .wv-bundles-hero__content {
    padding: 0 24px 36px;
  }

  .wv-bundles-hero__title {
    font-size: 36px;
  }

  .wv-bundles-hero__subtitle {
    font-size: 14px;
  }

  .wv-benefit-nav {
    padding: 32px 20px 40px;
  }

  .wv-carousel {
    padding: 0 20px;
  }

  .wv-carousel__arrow {
    top: 140px;
    transform: none;
  }

  .wv-carousel__arrow--prev {
    left: 28px;
  }

  .wv-carousel__arrow--next {
    right: 28px;
  }

  .wv-carousel__slide--active {
    grid-template-columns: 1fr;
  }

  .wv-bundle-slide__image {
    min-height: 280px;
    border-radius: var(--wv-radius-lg) var(--wv-radius-lg) 0 0;
  }

  .wv-bundle-slide__content {
    border-radius: 0 0 var(--wv-radius-lg) var(--wv-radius-lg);
    padding: 32px 24px;
  }

  .wv-addons {
    padding: 48px 20px 56px;
  }

  .wv-addons__track .wv-addon-card {
    flex: 0 0 260px;
  }

  .wv-addons__arrow--prev { left: 4px; }
  .wv-addons__arrow--next { right: 4px; }

  .wv-addons__grid {
    grid-template-columns: 1fr;
  }

  .wv-philosophy-strip {
    padding: 48px 24px;
  }

  .wv-philosophy-strip__quote {
    font-size: 20px;
  }
}
