/* ═══════════════════════════════════════════════════════════
   SwissGlow.beauty — Bundle Page Styles
═══════════════════════════════════════════════════════════ */

/* ─── Always-dark navbar ────────────────────────────────── */
.navbar {
  background: rgba(13,13,13,0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

/* ─── Page wrapper ──────────────────────────────────────── */
.bundle-main {
  min-height: 100dvh;
  background: var(--white);
  padding-top: 80px;
}

/* ─── Hero Slider ───────────────────────────────────────── */
.bundle-hero {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.bundle-slider-wrap {
  width: 100%;
  position: static;
  display: block;
}

.bundle-slider {
  aspect-ratio: 16/7;
  border-radius: 0;
}

@media (max-width: 700px) {
  .bundle-slider { aspect-ratio: 4/3; }
}

/* Overlay text on hero */
.bundle-hero-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  padding: clamp(1.5rem, 5vw, 4rem) clamp(1.5rem, 8vw, 6rem);
  background: linear-gradient(to top, rgba(13,13,13,0.72) 0%, rgba(13,13,13,0.18) 60%, transparent 100%);
  pointer-events: none;
  z-index: 5;
}

.bundle-hero-eyebrow {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.bundle-hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 6vw, 4.5rem);
  font-weight: 300;
  line-height: 1.1;
  color: white;
  margin-bottom: 0.75rem;
}
.bundle-hero-title em {
  font-style: italic;
  color: var(--gold);
}

.bundle-hero-sub {
  font-family: var(--font-display);
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-style: italic;
  color: rgba(255,255,255,0.82);
}

/* ─── Bundle Options ────────────────────────────────────── */
.bundle-options-section {
  padding: 4rem 0 3rem;
  background: var(--cream);
}

.bundle-options-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.bundle-options-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  max-width: 820px;
  margin: 0 auto;
}

@media (max-width: 640px) {
  .bundle-options-grid { grid-template-columns: 1fr; }
}

/* Option card */
.bundle-option {
  background: white;
  border: 1.5px solid rgba(0,0,0,0.08);
  border-radius: 14px;
  padding: 2rem 1.75rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.bundle-option:hover {
  border-color: rgba(184,156,110,0.4);
  box-shadow: 0 4px 24px rgba(184,156,110,0.12);
}

/* Featured option */
.bundle-option-featured {
  border-color: var(--gold);
  box-shadow: 0 4px 32px rgba(184,156,110,0.18);
  background: linear-gradient(135deg, #fff 70%, rgba(184,156,110,0.04) 100%);
}

/* BEST VALUE pulsing badge */
.bundle-popular-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: white;
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.35rem 1rem;
  border-radius: 100px;
  white-space: nowrap;
  animation: badge-pulse 2.2s ease-in-out infinite;
  box-shadow: 0 0 0 0 rgba(184,156,110,0.6);
}

@keyframes badge-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(184,156,110,0.55); }
  60%  { box-shadow: 0 0 0 10px rgba(184,156,110,0); }
  100% { box-shadow: 0 0 0 0 rgba(184,156,110,0); }
}

/* Option header */
.bundle-option-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.bundle-option-tag {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-light);
  display: block;
  margin-bottom: 0.25rem;
}

.bundle-option-title {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 400;
  color: var(--text-dark);
  line-height: 1.1;
}

.bundle-option-price-wrap {
  text-align: right;
  flex-shrink: 0;
}

.bundle-option-price {
  display: block;
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 500;
  color: var(--text-dark);
  line-height: 1;
}

.bundle-option-per {
  display: block;
  font-size: 0.78rem;
  color: var(--gold);
  font-weight: 500;
  margin-top: 0.2rem;
}

.bundle-option-desc {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--text-mid);
  margin: 0;
}

.bundle-option-select {
  margin-top: auto;
  width: 100%;
  justify-content: center;
}

/* Shipping badge inside option card */
.bundle-shipping-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(184,156,110,0.12);
  border: 1px solid rgba(184,156,110,0.35);
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.35rem 0.875rem;
  border-radius: 100px;
  width: fit-content;
}

/* Active option state */
.bundle-option.is-active {
  border-color: var(--gold);
  box-shadow: 0 4px 32px rgba(184,156,110,0.2);
}

/* ─── Product Selector ──────────────────────────────────── */
.bundle-selector-section {
  padding: 3.5rem 0 4rem;
  background: var(--white);
}

.bundle-selector-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.bundle-selector-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 400;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.bundle-selector-hint {
  font-size: 0.9rem;
  color: var(--text-light);
}

/* Products grid */
.bundle-products-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  margin-bottom: 2.5rem;
}

@media (max-width: 900px) {
  .bundle-products-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 560px) {
  .bundle-products-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Product card */
.bundle-product-card {
  border: 1.5px solid rgba(0,0,0,0.07);
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
  display: flex;
  flex-direction: column;
  position: relative;
  background: white;
  user-select: none;
}
.bundle-product-card:hover {
  border-color: rgba(184,156,110,0.35);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0,0,0,0.07);
}
.bundle-product-card.is-selected {
  border-color: var(--gold);
  box-shadow: 0 0 0 2px rgba(184,156,110,0.28);
}
.bundle-product-card.is-disabled {
  opacity: 0.4;
  pointer-events: none;
}

/* Hide native checkbox */
.bundle-checkbox { display: none; }

/* Product image */
.bundle-product-img-wrap {
  position: relative;
  aspect-ratio: 1/1;
  overflow: hidden;
  background: var(--cream);
}
.bundle-product-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s var(--ease);
}
.bundle-product-card:hover .bundle-product-img-wrap img {
  transform: scale(1.04);
}

/* Check mark overlay */
.bundle-check-mark {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  width: 24px;
  height: 24px;
  opacity: 0;
  transform: scale(0.6);
  transition: opacity 0.2s, transform 0.2s;
}
.bundle-check-mark svg { width: 24px; height: 24px; display: block; }
.bundle-product-card.is-selected .bundle-check-mark {
  opacity: 1;
  transform: scale(1);
}

/* Product info */
.bundle-product-info {
  padding: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.bundle-product-name {
  font-size: 0.825rem;
  font-weight: 500;
  color: var(--text-dark);
  line-height: 1.3;
}
.bundle-product-size {
  font-size: 0.72rem;
  color: var(--text-light);
}
.bundle-product-price {
  font-size: 0.825rem;
  color: var(--gold);
  font-weight: 500;
  margin-top: 0.15rem;
}

/* ─── Cart Summary ──────────────────────────────────────── */
.bundle-cart {
  max-width: 540px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.bundle-cart-summary {
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 12px;
  overflow: hidden;
  background: var(--cream);
  display: none;
}
.bundle-cart-summary.is-visible { display: block; }

.bundle-cart-items {
  padding: 1rem 1.25rem 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.bundle-cart-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.875rem;
  color: var(--text-mid);
}

.bundle-cart-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.875rem 1.25rem;
  border-top: 1px solid rgba(0,0,0,0.07);
  background: white;
}

.bundle-cart-label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dark);
}

.bundle-cart-price {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--text-dark);
}

/* CTA button */
.btn-cart {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  font-size: 1rem;
  padding: 1rem 2rem;
  width: 100%;
  border-radius: 8px;
  transition: background 0.2s, opacity 0.2s, transform 0.15s;
}
.btn-cart[aria-disabled="true"] {
  opacity: 0.5;
  pointer-events: none;
}
.btn-cart:not([aria-disabled="true"]):hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(13,13,13,0.18);
}

.bundle-cart-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-size: 0.775rem;
  color: var(--text-light);
  text-align: center;
}

/* ─── Trust Strip ───────────────────────────────────────── */
.bundle-trust {
  background: var(--cream);
  border-top: 1px solid rgba(0,0,0,0.05);
  padding: 2rem 0;
}

.bundle-trust-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.bundle-trust-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.825rem;
  color: var(--text-mid);
  font-weight: 500;
}
