/* =============================================================
   BIOVA THEME — Bundles Page (/komplekti/)
   Scoped entirely to .bundles-page. Reuses global.css tokens
   (colors, .section-title, .section-eyebrow, .btn-primary) and
   product-page.css's Fluent Forms styling (.product-order-bottom)
   rather than redefining them. Only bundle-card-specific pieces
   live here: price-compare row, savings badge, pouch composition,
   selection summary, and the submission guard message.
   ============================================================= */


/* ── Hero ─────────────────────────────────────────────────── */

.bundles-hero {
  padding: 150px 4rem 3rem;
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.bundles-hero .section-title {
  margin-bottom: 1rem;
}

.bundles-hero-sub {
  font-size: 0.95rem;
  color: rgba(43,42,46,0.65);
  line-height: 1.75;
  max-width: 480px;
  margin: 0 auto;
}


/* ── Section scaffold ─────────────────────────────────────── */

.bundles-section {
  padding: 5rem 4rem;
  max-width: 1200px;
  margin: 0 auto;
}

.bundles-section-combo,
.bundles-explainer-wrap,
.bundles-order-section {
  border-top: 1px solid var(--warm-beige);
}

.bundles-section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.bundles-section-header .section-title {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin-bottom: 0;
}


/* ── Bundle cards grid ────────────────────────────────────── */

.bundles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.bundle-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--warm-beige);
  transition: transform 0.3s, box-shadow 0.3s;
}

.bundle-card:hover {
  transform: translateY(-4px);
}

.bundle-card.is-selected {
  box-shadow: 0 0 0 2px var(--taupe);
  border-color: var(--taupe);
}


/* ── Visual ───────────────────────────────────────────────── */

.bundle-card-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  height: 200px;
  background: var(--ivory);
  padding: 1.5rem 1rem;
  overflow: hidden;
}

.bundle-card-visual img {
  max-height: 100%;
  max-width: 100%;
  width: auto;
  object-fit: contain;
  display: block;
}


/* Two-product combination cards */

.bundle-card-visual.is-multi img {
  max-width: 40%;
}


/* 3-month cards:
   Give the single product image more room so the pouch
   has stronger visual presence without affecting combos. */

.bundle-card-visual.is-x3 {
  height: 235px;
  padding: 0.75rem 1rem;
}

.bundle-card-visual.is-x3 img {
  max-height: 215px;
  max-width: 72%;
}


/* ×3 badge */

.bundle-card-x3 {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background: var(--taupe);
  color: var(--white);
  font-family: 'Cormorant Garant', serif;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 0.3rem 0.7rem;
  line-height: 1;
}


/* ── Card body ────────────────────────────────────────────── */

.bundle-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.5rem 1.5rem 1.75rem;
}

.bundle-card-tag {
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--taupe);
  margin-bottom: 0.6rem;
}

.bundle-card-title {
  font-family: 'Cormorant Garant', serif;
  font-size: 1.45rem;
  font-weight: 400;
  line-height: 1.25;
  margin-bottom: 0.5rem;
}

.bundle-card-contents {
  font-size: 0.78rem;
  color: rgba(43,42,46,0.5);
  margin-bottom: 0.75rem;
}

.bundle-card-desc {
  font-size: 0.82rem;
  line-height: 1.65;
  color: rgba(43,42,46,0.65);
  margin-bottom: 1.1rem;
}

.bundle-meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.25rem;
}

.bundle-saving-badge {
  font-size: 0.72rem;
  letter-spacing: 0.02em;
  color: var(--taupe);
  background: rgba(164,140,122,0.1);
  padding: 0.3rem 0.65rem;
  font-weight: 500;
}

.bundle-shipping-note {
  font-size: 0.72rem;
  color: rgba(43,42,46,0.5);
}

.bundle-price-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.1rem;
  margin-top: auto;
  border-top: 1px solid var(--warm-beige);
  margin-bottom: 1.25rem;
}

.bundle-price-row .price-label {
  display: block;
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(43,42,46,0.45);
  margin-bottom: 0.2rem;
}

.bundle-price-regular .price-value {
  font-size: 0.95rem;
  color: rgba(43,42,46,0.45);
  text-decoration: line-through;
}

.bundle-price-bundle {
  text-align: right;
}

.bundle-price-bundle .price-label {
  color: var(--taupe);
}

.bundle-price-bundle .price-value {
  font-family: 'Cormorant Garant', serif;
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--charcoal);
}

.bundle-select-btn {
  width: 100%;
  text-align: center;
}


/* ── Explainer section ────────────────────────────────────── */

.bundles-explainer {
  max-width: 620px;
  margin: 0 auto;
  text-align: center;
}

.bundles-explainer h3 {
  font-family: 'Cormorant Garant', serif;
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--charcoal);
  margin-bottom: 1rem;
}

.bundles-explainer p {
  font-size: 0.88rem;
  line-height: 1.8;
  color: rgba(43,42,46,0.7);
}


/* ── Order section ────────────────────────────────────────── */

.bundles-order-section {
  scroll-margin-top: 100px;
}

.bundle-selected-summary {
  max-width: 600px;
  margin: 0 auto 2rem;
  padding: 1.5rem;
  background: var(--white);
  border: 1px solid var(--warm-beige);
  text-align: center;
}

.bundle-selected-summary .summary-label {
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--taupe);
  margin-bottom: 0.5rem;
}

.bundle-selected-summary .summary-name {
  font-family: 'Cormorant Garant', serif;
  font-size: 1.35rem;
  font-weight: 400;
  color: var(--charcoal);
  margin-bottom: 0.2rem;
}

.bundle-selected-summary .summary-price {
  font-family: 'Cormorant Garant', serif;
  font-size: 1.05rem;
  color: var(--taupe);
}

.bundle-selected-summary.is-empty .summary-name {
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  color: rgba(43,42,46,0.5);
}

.bundle-selected-summary.is-empty .summary-price {
  display: none;
}

.bundle-guard-message {
  display: none;
  max-width: 600px;
  margin: 0 auto 1.25rem;
  padding: 0.85rem 1.1rem;
  background: rgba(192,57,43,0.08);
  border-left: 3px solid #c0392b;
  color: #8f3527;
  font-size: 0.82rem;
  line-height: 1.55;
}

.bundle-guard-message.is-visible {
  display: block;
}


/* ── Responsive ───────────────────────────────────────────── */

@media (max-width: 900px) {

  .bundles-hero {
    padding: 130px 1.5rem 2.5rem;
  }

  .bundles-section {
    padding: 3.5rem 1.5rem;
  }

  .bundles-grid {
    grid-template-columns: 1fr;
  }

  .bundle-card-visual {
    height: 180px;
  }

  .bundle-card-visual.is-x3 {
    height: 220px;
  }

  .bundle-card-visual.is-x3 img {
    max-height: 200px;
    max-width: 70%;
  }
}