/* ============================================================
   Pricing Section — Arialief
   Palette: orange #E8580A · white #FFFFFF · charcoal #1A1A1A
   ============================================================ */

/* Font via Google Fonts (added to <head>) */

#pricing-section {
  background: #ffffff;
  padding: 72px 0 80px;
  position: relative;
}

/* ── Section header ── */
.pricing-eyebrow {
  text-align: center;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  background: linear-gradient(135deg, #FF8A3D 0%, #E8580A 55%, #C44A08 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  margin-bottom: 12px;
}
.pricing-heading {
  text-align: center;
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 800;
  color: #1A1A1A;
  margin-bottom: 10px;
  line-height: 1.2;
}
.pricing-sub {
  text-align: center;
  color: #6B7280;
  font-size: .95rem;
  margin-bottom: 8px;
}
.pricing-rating {
  text-align: center;
  margin-bottom: 44px;
  font-size: .88rem;
  color: #6B7280;
}
.pricing-rating .stars-inline {
  color: #F59E0B;
  letter-spacing: 2px;
  font-size: 1rem;
  margin-right: 6px;
}

/* ── Countdown bar (visible before unlock) ── */
#pricing-lock {
  text-align: center;
  padding: 0 16px 36px;
}
.unlock-bar-wrap {
  max-width: 440px;
  margin: 0 auto;
  background: #FFF4EE;
  border: 1px solid #FDDCC8;
  border-radius: 12px;
  padding: 18px 24px;
}
.unlock-bar-wrap p {
  font-size: .88rem;
  color: #6B7280;
  margin-bottom: 10px;
}
.unlock-bar-wrap p strong { color: #E8580A; }
.unlock-bar-track {
  height: 6px;
  background: #FDDCC8;
  border-radius: 50px;
  overflow: hidden;
  margin-bottom: 8px;
}
#unlock-bar-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #E8580A, #F59E0B);
  border-radius: 50px;
  transition: width .8s linear;
}
.unlock-timer-label {
  font-size: .78rem;
  color: #9CA3AF;
}
.unlock-timer-label strong {
  color: #E8580A;
  font-variant-numeric: tabular-nums;
}

/* ── Unlock badge ── */
#unlock-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  max-width: 440px;
  margin: 0 auto 36px;
  background: #F0FDF4;
  border: 1px solid #BBF7D0;
  border-radius: 50px;
  padding: 11px 24px;
  font-size: .88rem;
  font-weight: 700;
  color: #16A34A;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity .5s, transform .5s;
  pointer-events: none;
}
#unlock-badge.visible {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

/* ── Grid: 1 bottle left, 6 bottles center, 3 bottles right ── */
.pack-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  max-width: 960px;
  margin: 0 auto;
  padding: 0 16px;
  align-items: start;
}
@media (min-width: 720px) {
  .pack-grid {
    grid-template-columns: 1fr 1.12fr 1fr; /* center card is wider */
    align-items: stretch;
  }
  /* Mobile order: 6 bottles first on mobile */
  .pack-card[data-order="1"] { order: 1; }
  .pack-card[data-order="6"] { order: 2; }
  .pack-card[data-order="3"] { order: 3; }
}
@media (max-width: 719px) {
  /* On mobile, show 6-bottle first */
  .pack-card[data-order="6"] { order: 0; }
  .pack-card[data-order="3"] { order: 1; }
  .pack-card[data-order="1"] { order: 2; }
}

/* ── Base card ── */
.pack-card {
  background: #FAFAFA;
  border: 1.5px solid #E8E8E8;
  border-radius: 20px;
  padding: 28px 20px 24px;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: box-shadow .2s;
}
.pack-card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,.08);
}

/* ── Featured (6 bottles) ── */
.pack-card.featured {
  background: #fff;
  border-color: #E8580A;
  box-shadow: 0 4px 40px rgba(232,88,10,.12);
  padding: 32px 24px 28px;
}
.pack-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #FF8A3D 0%, #E8580A 55%, #C44A08 100%);
  color: #fff;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 5px 18px;
  border-radius: 50px;
  white-space: nowrap;
}

/* ── Product image ── */
.pack-img-wrap {
  width: 100%;
  max-width: 200px;
  margin: 0 auto 20px;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: radial-gradient(circle, #FFF4EE 55%, transparent 78%);
}
.pack-card.featured .pack-img-wrap {
  max-width: 220px;
}
.pack-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* ── Bottles label ── */
.pack-bottles {
  text-align: center;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  background: linear-gradient(135deg, #FF8A3D 0%, #E8580A 55%, #C44A08 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  margin-bottom: 2px;
}
.pack-supply {
  text-align: center;
  font-size: .82rem;
  color: #9CA3AF;
  margin-bottom: 16px;
}

/* ── Price block ── */
.pack-price-block {
  text-align: center;
  margin-bottom: 6px;
}
.pack-discount-badge {
  display: inline-block;
  background: #FEF2F2;
  color: #DC2626;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .03em;
  padding: 3px 10px;
  border-radius: 50px;
  margin-bottom: 6px;
}
.pack-price {
  font-size: 3rem;
  font-weight: 900;
  color: #1A1A1A;
  line-height: 1;
}
.pack-price sup {
  font-size: 1.3rem;
  font-weight: 700;
  vertical-align: super;
  line-height: 0;
}
.pack-per {
  font-size: .82rem;
  color: #9CA3AF;
  margin-bottom: 6px;
}
.pack-total {
  font-size: .88rem;
  color: #6B7280;
  margin-bottom: 4px;
}
.pack-total del {
  color: #D1D5DB;
}
.pack-total strong {
  color: #1A1A1A;
}
.pack-shipping {
  font-size: .82rem;
  font-weight: 700;
  color: #16A34A;
  margin-bottom: 20px;
  text-align: center;
}
.pack-shipping.paid {
  color: #9CA3AF;
  font-weight: 400;
}

/* ── Bonuses list ── */
.pack-bonuses {
  border-top: 1px solid #F0F0F0;
  padding-top: 14px;
  margin-bottom: 20px;
  flex: 1; /* stretches so all cards reach same height */
}
.pack-bonuses--empty {
  /* 1-bottle card: same flex so height matches */
}
.pack-bonuses-label {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #9CA3AF;
  margin-bottom: 10px;
}
.pack-bonus-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 7px;
  font-size: .8rem;
  color: #374151;
  line-height: 1.4;
}
.pack-bonus-item--green {
  color: #15803D;
  font-weight: 500;
}
.pack-bonus-item--vip {
  color: #15803D;
  font-weight: 600;
}
.pack-bonus-check {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #FFF4EE;
  border: 1.5px solid #E8580A;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}
.pack-bonus-check--green {
  background: #F0FDF4;
  border-color: #16A34A;
}
.pack-bonus-check svg {
  width: 9px;
  height: 9px;
}

/* VIP badge inside bonus */
.vip-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: linear-gradient(135deg, #1A1A1A, #333);
  color: #F59E0B;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 4px;
  margin-left: 4px;
  vertical-align: middle;
}

/* ── CTA button ── */
.pack-cta-wrap {
  margin-top: auto;
}
.pack-cta-locked {
  display: block;
  width: 100%;
  background: #F3F4F6;
  border: 1.5px solid #E8E8E8;
  color: #9CA3AF;
  font-size: .88rem;
  font-weight: 600;
  padding: 14px 16px;
  border-radius: 10px;
  text-align: center;
  cursor: default;
}
#pricing-ctas.revealed .pack-cta-locked { display: none; }

.pack-cta {
  display: block;
  width: 100%;
  font-weight: 700;
  font-size: .95rem;
  padding: 15px 16px;
  border-radius: 10px;
  text-align: center;
  background: #F3F4F6;
  color: #9CA3AF;
  pointer-events: none;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .4s, transform .4s, background .15s, color .15s;
}
.pack-cta.orange {
  background: #1A1A1A;
  color: #fff;
}
.pack-cta.orange:hover { background: #E8580A; }
.pack-card.featured .pack-cta.orange {
  background: linear-gradient(135deg, #FF8A3D 0%, #E8580A 55%, #C44A08 100%);
}
.pack-card.featured .pack-cta.orange:hover {
  background: linear-gradient(135deg, #FF7A24 0%, #D14F09 55%, #B34107 100%);
}

#pricing-ctas.revealed .pack-cta {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
/* stagger only the initial reveal — cleared on hover so response is instant */
#pricing-ctas.revealed .pack-card:nth-child(1) .pack-cta { transition-delay: .05s; }
#pricing-ctas.revealed .pack-card:nth-child(2) .pack-cta { transition-delay: .13s; }
#pricing-ctas.revealed .pack-card:nth-child(3) .pack-cta { transition-delay: .21s; }
/* clear delay on any interaction so hover/click is instant */
#pricing-ctas.revealed .pack-cta:hover,
#pricing-ctas.revealed .pack-cta:focus { transition-delay: 0s !important; }

/* ── Guarantee and trust strip ── */
.pricing-trust {
  max-width: 680px;
  margin: 40px auto 0;
  padding: 0 16px;
}
.pricing-guarantee-box {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #F0FDF4;
  border: 1.5px solid #BBF7D0;
  border-radius: 14px;
  padding: 18px 20px;
  margin-bottom: 20px;
}
.guarantee-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
}
.guarantee-text strong {
  display: block;
  font-size: .95rem;
  color: #16A34A;
  margin-bottom: 3px;
}
.guarantee-text p {
  font-size: .82rem;
  color: #6B7280;
  margin: 0;
  line-height: 1.5;
}
.trust-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 20px;
}
.trust-badge-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .8rem;
  color: #6B7280;
  font-weight: 500;
}
.trust-badge-item svg {
  color: #9CA3AF;
  flex-shrink: 0;
}
.cert-seals {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #F3F4F6;
  text-align: center;
}
.cert-seals img {
  max-width: 100%;
  height: auto;
  max-height: 64px;
  margin: 0 auto;
}

/* ============================================================
   Compact mobile pack cards — fit all 3 packs on one screen
   ============================================================ */
@media (max-width: 719px) {
  #pricing-section { padding: 16px 0 24px; }
  .pricing-eyebrow { display: none; }
  .pricing-heading { font-size: 1.05rem; margin-bottom: 2px; }
  .pricing-sub { display: none; }
  .pricing-rating { margin-bottom: 6px; font-size: .7rem; }
  #unlock-badge { margin: 0 auto 8px; padding: 6px 14px; font-size: .76rem; }
  #pricing-lock { padding: 0 16px 12px; }

  .pack-grid { gap: 6px; grid-template-columns: minmax(0, 1fr); }

  /* Mini-card: image left, bottle/total info middle; price tag pinned top-right */
  .pack-card {
    display: grid;
    grid-template-columns: 60px minmax(0, 1fr);
    grid-template-areas:
      "img bottles"
      "img total"
      "bonuses bonuses"
      "cta cta";
    align-items: center;
    column-gap: 10px;
    row-gap: 1px;
    padding: 10px 86px 10px 12px;
    border-radius: 12px;
    min-width: 0;
  }
  .pack-card.featured { padding: 12px 88px 10px 14px; }
  .pack-badge { top: -8px; font-size: .56rem; padding: 2px 10px; }

  .pack-img-wrap,
  .pack-card.featured .pack-img-wrap {
    grid-area: img;
    max-width: 60px;
    margin: 0;
    align-self: center;
  }

  .pack-bottles {
    grid-area: bottles;
    text-align: left;
    font-size: .72rem;
    margin-bottom: 0;
  }
  .pack-supply { display: none; }

  /* Price tag pinned to the top-right corner of the card */
  .pack-price-block {
    position: absolute;
    top: 10px;
    right: 12px;
    width: 70px;
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
    margin-bottom: 0;
  }
  .pack-card.featured .pack-price-block { top: 12px; right: 14px; }
  .pack-discount-badge {
    font-size: .62rem;
    padding: 2px 7px;
    margin-bottom: 0;
    white-space: nowrap;
  }
  .pack-price { font-size: 1.55rem; }
  .pack-price sup {
    font-size: .85rem;
    vertical-align: baseline;
    margin-right: 1px;
  }
  .pack-per { margin-bottom: 0; font-size: .72rem; white-space: nowrap; }

  .pack-total {
    grid-area: total;
    text-align: left;
    font-size: .76rem;
    margin-bottom: 0;
  }
  .pack-shipping { display: none; }

  /* Bonuses: collapse to a compact strip, hide "not included" placeholders */
  .pack-bonuses {
    grid-area: bonuses;
    border-top: 1px solid #F0F0F0;
    margin: 6px 0 4px;
    padding-top: 4px;
    flex: none;
  }
  .pack-bonuses-label { display: none; }
  .pack-bonus-item[style*="opacity:.25"] { display: none; }
  /* Featured card has 5 bonus lines — trim to its top 3 (incl. VIP) on mobile */
  .pack-card.featured .pack-bonus-item:nth-child(4),
  .pack-card.featured .pack-bonus-item:nth-child(5) { display: none; }
  .pack-bonus-item {
    gap: 5px;
    margin-bottom: 1px;
    font-size: .7rem;
    line-height: 1.3;
  }
  .pack-bonus-check {
    width: 12px;
    height: 12px;
    margin-top: 0;
  }
  .pack-bonus-check svg { width: 8px; height: 8px; }
  .vip-badge { font-size: .6rem; padding: 1px 6px; }

  .pack-cta-wrap { grid-area: cta; margin-top: 4px; }
  .pack-cta-locked, .pack-cta { padding: 8px 12px; font-size: .8rem; }
}
