/* ============================================================
   İzmir Jant Dünyası — Bundle Package System Styles
   bundle-package.css | Mobile-First | Dark/Light Theme Compat
   ============================================================ */

/* ── CAMPAIGN BANNER ───────────────────────────────────────── */
.bundle-campaign-banner {
  position: relative;
  overflow: hidden;
  margin: 24px auto;
  max-width: 1200px;
  padding: 0 20px;
}

.bundle-campaign-inner {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 20px 22px;
  border-radius: 14px;
  background: linear-gradient(135deg,
    rgba(212, 175, 55, 0.13) 0%,
    rgba(180, 130, 20, 0.07) 60%,
    rgba(10, 12, 16, 0.0) 100%);
  border: 1px solid rgba(212, 175, 55, 0.35);
  box-shadow: 0 4px 24px rgba(0,0,0,0.18), inset 0 1px 0 rgba(212,175,55,0.15);
}

.bundle-campaign-inner::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 14px;
  background: repeating-linear-gradient(
    -55deg,
    transparent,
    transparent 20px,
    rgba(212,175,55,0.025) 20px,
    rgba(212,175,55,0.025) 21px
  );
  pointer-events: none;
}

.bundle-campaign-header {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.bundle-campaign-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(212,175,55,0.15);
  border: 1px solid rgba(212,175,55,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 22px;
  color: #d4af37;
}

.bundle-campaign-text {
  flex: 1;
  min-width: 0;
}

.bundle-campaign-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: 20px;
  font-weight: 800;
  color: var(--gold, #d4af37);
  line-height: 1.1;
  letter-spacing: 0.3px;
  margin: 0 0 4px;
}

.bundle-campaign-sub {
  font-size: 13px;
  color: var(--muted, #9aa3b2);
  line-height: 1.45;
  margin: 0;
}

.bundle-campaign-includes {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.bundle-campaign-includes li {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  color: var(--text, #e8eaf0);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 999px;
  padding: 5px 11px;
}

.bundle-campaign-includes li i {
  color: #4caf82;
  font-size: 13px;
}

.bundle-campaign-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.bundle-campaign-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 0 20px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 800;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  white-space: nowrap;
}

.bundle-campaign-cta.primary {
  background: var(--gold, #d4af37);
  color: #0d1117;
}
.bundle-campaign-cta.primary:hover {
  background: #c9a62f;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(212,175,55,0.3);
}

.bundle-campaign-cta.whatsapp {
  background: #25D366;
  color: #062a16;
}
.bundle-campaign-cta.whatsapp:hover {
  background: #1da851;
  transform: translateY(-1px);
}

.bundle-campaign-location {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: var(--muted, #9aa3b2);
  margin-top: 2px;
}
.bundle-campaign-location i { font-size: 13px; color: var(--gold, #d4af37); }

/* ── BUNDLE BUILDER SECTION ───────────────────────────────── */
.bundle-builder-section {
  max-width: 1200px;
  margin: 32px auto 0;
  padding: 0 20px;
}

.bundle-builder-section-head {
  margin-bottom: 20px;
}

.bundle-builder-section-head h2 {
  font-family: 'Rajdhani', sans-serif;
  font-size: 26px;
  font-weight: 800;
  color: var(--text, #e8eaf0);
  margin: 0 0 6px;
}

.bundle-builder-section-head p {
  font-size: 14px;
  color: var(--muted, #9aa3b2);
  margin: 0;
  line-height: 1.5;
}

/* ── VEHICLE SELECTOR ─────────────────────────────────────── */
.bundle-vehicle-selector {
  background: var(--panel, rgba(22,26,36,0.9));
  border: 1px solid var(--border, rgba(255,255,255,0.1));
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 20px;
}

.bundle-vehicle-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  font-size: 13px;
  font-weight: 800;
  color: var(--gold, #d4af37);
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

.bundle-vehicle-head i { font-size: 15px; }

.bundle-vehicle-selected {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: rgba(76,175,130,0.1);
  border: 1px solid rgba(76,175,130,0.3);
  border-radius: 10px;
  margin-bottom: 12px;
}

.bundle-vehicle-selected i { color: #4caf82; font-size: 16px; flex-shrink: 0; }
.bundle-vehicle-selected.is-incompatible {
  background: rgba(224,82,82,.08);
  border-color: rgba(224,82,82,.34);
}
.bundle-vehicle-selected.is-incompatible > i { color: #e05252; }
.bundle-vehicle-selected-text { flex: 1; min-width: 0; }
.bundle-vehicle-selected-name { font-weight: 800; font-size: 14px; color: var(--text, #e8eaf0); }
.bundle-vehicle-selected-note { font-size: 11px; color: #4caf82; margin-top: 2px; }
.bundle-vehicle-selected-note.is-incompatible { color: #e05252; font-weight: 800; }
.bundle-vehicle-change-btn {
  background: transparent;
  border: 1px solid var(--border, rgba(255,255,255,0.1));
  border-radius: 8px;
  color: var(--muted, #9aa3b2);
  font-size: 11px;
  font-weight: 700;
  padding: 5px 10px;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.2s;
}
.bundle-vehicle-change-btn:hover { border-color: var(--gold, #d4af37); color: var(--gold, #d4af37); }

.bundle-vehicle-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.bundle-vehicle-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.bundle-vehicle-field label {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--muted, #9aa3b2);
  letter-spacing: 0.5px;
}

.bundle-vf-select {
  width: 100%;
  height: 36px;
  border-radius: 8px;
  border: 1px solid var(--border, rgba(255,255,255,0.12));
  background: var(--input-bg, rgba(255,255,255,0.05));
  color: var(--text, #e8eaf0);
  padding: 0 10px;
  font-size: 13px;
  font-weight: 600;
  box-sizing: border-box;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%239aa3b2' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  padding-right: 28px;
}
.bundle-vf-select:disabled { opacity: 0.5; cursor: not-allowed; }

.bundle-vehicle-search-btn {
  grid-column: 1 / -1;
  height: 40px;
  border-radius: 10px;
  background: var(--gold, #d4af37);
  color: #0d1117;
  font-size: 13px;
  font-weight: 800;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s;
}
.bundle-vehicle-search-btn:hover { background: #c9a62f; }
.bundle-vehicle-search-btn:disabled { opacity: 0.5; cursor: wait; }

/* ── SEASON SELECTOR ─────────────────────────────────────── */
.bundle-season-selector {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 20px;
  align-items: center;
}

.bundle-season-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--muted, #9aa3b2);
}

.bundle-season-btn {
  height: 32px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--border, rgba(255,255,255,0.12));
  background: transparent;
  color: var(--muted, #9aa3b2);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 5px;
}
.bundle-season-btn:hover,
.bundle-season-btn.active {
  border-color: var(--gold, #d4af37);
  color: var(--gold, #d4af37);
  background: rgba(212,175,55,0.08);
}

/* ── BUNDLE LAYOUT ────────────────────────────────────────── */
.bundle-main-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 20px;
  align-items: start;
}

/* ── TIRE CARDS AREA ─────────────────────────────────────── */
.bundle-tires-area { min-width: 0; }

.bundle-tires-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 200px;
  color: var(--muted, #9aa3b2);
  font-size: 14px;
}

.bundle-tires-loading-spinner {
  width: 36px;
  height: 36px;
  border: 3px solid rgba(212,175,55,0.2);
  border-top-color: var(--gold, #d4af37);
  border-radius: 50%;
  animation: bundleSpin 0.7s linear infinite;
}

@keyframes bundleSpin { to { transform: rotate(360deg); } }

.bundle-tires-empty {
  padding: 28px 20px;
  text-align: center;
  background: var(--panel, rgba(22,26,36,0.9));
  border: 1px solid var(--border, rgba(255,255,255,0.1));
  border-radius: 12px;
  color: var(--muted, #9aa3b2);
}
.bundle-tires-empty h4 { color: var(--text, #e8eaf0); margin: 0 0 8px; font-size: 15px; }
.bundle-tires-empty p { font-size: 13px; margin: 0 0 14px; }

.bundle-fitment-blocked {
  border-color: rgba(224,82,82,.48);
  background:
    radial-gradient(circle at 50% 0, rgba(224,82,82,.14), transparent 58%),
    var(--panel, rgba(22,26,36,.96));
  padding: 34px 24px;
}
.bundle-fitment-blocked-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  margin: 0 auto 12px;
  border-radius: 50%;
  color: #ff7070;
  background: rgba(224,82,82,.13);
  border: 1px solid rgba(224,82,82,.34);
  font-size: 25px;
}
.bundle-fitment-blocked h4 { color: #ff8a8a; font-size: 18px; }
.bundle-fitment-required {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 16px 0;
}
.bundle-fitment-required span {
  padding: 7px 10px;
  border-radius: 8px;
  color: var(--text, #e8eaf0);
  background: color-mix(in srgb, var(--panel, #151923) 82%, #e05252 18%);
  border: 1px solid rgba(224,82,82,.22);
  font-size: 12px;
}
.bundle-compatible-wheels-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 9px;
  color: #17120a;
  background: linear-gradient(135deg, #e2bd45, #b88912);
  font-size: 12px;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(184,137,18,.2);
}
.bundle-compatible-wheels-btn:hover { filter: brightness(1.07); transform: translateY(-1px); }

.bundle-tiers-label {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--muted, #9aa3b2);
  letter-spacing: 0.8px;
  margin-bottom: 12px;
}

.bundle-tire-cards {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 16px;
}

/* ── SINGLE TIRE CARD ─────────────────────────────────────── */
.bundle-tire-card {
  position: relative;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px;
  background: var(--panel, rgba(22,26,36,0.9));
  border: 2px solid var(--border, rgba(255,255,255,0.1));
  border-radius: 14px;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}

.bundle-tire-card:hover {
  border-color: rgba(212,175,55,0.4);
  box-shadow: 0 4px 16px rgba(212,175,55,0.12);
  transform: translateY(-1px);
}

.bundle-tire-card.selected {
  border-color: var(--gold, #d4af37);
  background: rgba(212,175,55,0.05);
  box-shadow: 0 4px 18px rgba(212,175,55,0.18);
}

.bundle-tier-badge {
  position: absolute;
  top: -1px;
  left: 14px;
  font-size: 10px;
  font-weight: 900;
  padding: 3px 10px;
  border-radius: 0 0 8px 8px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

.bundle-tier-badge.economy {
  background: rgba(100,140,200,0.2);
  border: 1px solid rgba(100,140,200,0.4);
  border-top: none;
  color: #7daff0;
}
.bundle-tier-badge.recommended {
  background: rgba(212,175,55,0.18);
  border: 1px solid rgba(212,175,55,0.45);
  border-top: none;
  color: var(--gold, #d4af37);
}
.bundle-tier-badge.premium {
  background: rgba(160,100,220,0.18);
  border: 1px solid rgba(160,100,220,0.4);
  border-top: none;
  color: #c07cef;
}

.bundle-tire-img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  border-radius: 8px;
  background: rgba(255,255,255,0.04);
  flex-shrink: 0;
  margin-top: 14px;
}

.bundle-tire-info { flex: 1; min-width: 0; margin-top: 10px; }

.bundle-tire-brand {
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  color: var(--gold, #d4af37);
  letter-spacing: 0.6px;
  margin-bottom: 2px;
}

.bundle-tire-model {
  font-size: 14px;
  font-weight: 700;
  color: var(--text, #e8eaf0);
  margin-bottom: 4px;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bundle-tire-size-row {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.bundle-tire-chip {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid var(--border, rgba(255,255,255,0.12));
  color: var(--muted, #9aa3b2);
  background: rgba(255,255,255,0.04);
}
.bundle-tire-chip.season-yaz { border-color: rgba(255,152,0,0.4); color: #ff9800; }
.bundle-tire-chip.season-kis { border-color: rgba(100,181,246,0.4); color: #64b5f6; }
.bundle-tire-chip.season-dort { border-color: rgba(76,175,130,0.4); color: #4caf82; }
.bundle-tire-chip.runflat { border-color: rgba(255,87,87,0.4); color: #ff5757; }

.bundle-tire-prices {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}

.bundle-tire-price-4 {
  font-family: 'Rajdhani', sans-serif;
  font-size: 20px;
  font-weight: 800;
  color: var(--text, #e8eaf0);
}

.bundle-tire-price-unit {
  font-size: 12px;
  color: var(--muted, #9aa3b2);
}

.bundle-tire-cta-area {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  flex-shrink: 0;
  margin-top: 10px;
}

.bundle-tire-select-btn {
  height: 38px;
  padding: 0 16px;
  border-radius: 9px;
  border: 2px solid var(--gold, #d4af37);
  background: transparent;
  color: var(--gold, #d4af37);
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}
.bundle-tire-select-btn:hover,
.bundle-tire-card.selected .bundle-tire-select-btn {
  background: var(--gold, #d4af37);
  color: #0d1117;
}
.bundle-tire-card.selected .bundle-tire-select-btn::before {
  content: '✓ ';
}

.bundle-tire-runflat-warn {
  font-size: 10px;
  color: #ff9800;
  text-align: right;
  max-width: 110px;
  line-height: 1.3;
}

/* ── ALL TIRES ACCORDION ─────────────────────────────────── */
.bundle-all-tires-toggle {
  width: 100%;
  height: 40px;
  border: 1px solid var(--border, rgba(255,255,255,0.1));
  border-radius: 10px;
  background: transparent;
  color: var(--text, #e8eaf0);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s;
  margin-bottom: 12px;
}
.bundle-all-tires-toggle:hover {
  border-color: var(--gold, #d4af37);
  color: var(--gold, #d4af37);
}

.bundle-all-tires-panel {
  display: none;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
}
.bundle-all-tires-panel.open { display: flex; }

.bundle-all-tire-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--border, rgba(255,255,255,0.1));
  border-radius: 10px;
  cursor: pointer;
  background: var(--panel, rgba(22,26,36,0.9));
  transition: border-color 0.2s;
}
.bundle-all-tire-row:hover { border-color: rgba(212,175,55,0.35); }
.bundle-all-tire-row.selected { border-color: var(--gold, #d4af37); background: rgba(212,175,55,0.04); }

.bundle-all-tire-row img { width: 48px; height: 48px; object-fit: contain; border-radius: 6px; flex-shrink: 0; }
.bundle-all-tire-row-info { flex: 1; min-width: 0; }
.bundle-all-tire-row-brand { font-size: 10px; font-weight: 900; color: var(--gold, #d4af37); text-transform: uppercase; }
.bundle-all-tire-row-name { font-size: 13px; font-weight: 700; color: var(--text, #e8eaf0); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bundle-all-tire-row-size { font-size: 11px; color: var(--muted, #9aa3b2); }
.bundle-all-tire-row-price { font-family: 'Rajdhani', sans-serif; font-size: 16px; font-weight: 800; color: var(--text, #e8eaf0); flex-shrink: 0; }

/* ── COMPATIBILITY BADGE ─────────────────────────────────── */
.bundle-compat-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  margin-bottom: 14px;
}
.bundle-compat-badge.verified {
  background: rgba(76,175,130,0.12);
  border: 1px solid rgba(76,175,130,0.35);
  color: #4caf82;
}
.bundle-compat-badge.partial {
  background: rgba(255,152,0,0.1);
  border: 1px solid rgba(255,152,0,0.35);
  color: #ff9800;
}
.bundle-compat-badge.review {
  background: rgba(158,158,158,0.1);
  border: 1px solid rgba(158,158,158,0.25);
  color: var(--muted, #9aa3b2);
}

/* ── STICKY PACKAGE SUMMARY ──────────────────────────────── */
.bundle-summary-sticky {
  position: sticky;
  top: 80px;
  background: var(--panel, rgba(18,22,32,0.97));
  border: 1px solid rgba(212,175,55,0.25);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 28px rgba(0,0,0,0.3);
  backdrop-filter: blur(8px);
}

.bundle-summary-header {
  padding: 14px 16px 12px;
  background: rgba(212,175,55,0.08);
  border-bottom: 1px solid rgba(212,175,55,0.15);
}

.bundle-summary-header h3 {
  margin: 0 0 2px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 17px;
  font-weight: 800;
  color: var(--text, #e8eaf0);
}

.bundle-summary-header p {
  margin: 0;
  font-size: 11px;
  color: var(--muted, #9aa3b2);
}

.bundle-summary-body { padding: 14px 16px; }

.bundle-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  gap: 8px;
  min-width: 0;
}
.bundle-summary-row:last-child { border-bottom: none; }

.bundle-summary-label {
  font-size: 12px;
  color: var(--muted, #9aa3b2);
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.bundle-summary-label strong { color: var(--text, #e8eaf0); display: block; font-size: 13px; line-height: 1.3; white-space: normal; }

.bundle-summary-value {
  font-family: 'Rajdhani', sans-serif;
  font-size: 16px;
  font-weight: 800;
  color: var(--text, #e8eaf0);
  white-space: nowrap;
  flex-shrink: 0;
}

.bundle-summary-gift {
  font-size: 12px;
  font-weight: 800;
  color: #4caf82;
  white-space: nowrap;
  flex-shrink: 0;
}

.bundle-summary-includes {
  margin: 12px 0;
  padding: 10px 12px;
  background: rgba(76,175,130,0.06);
  border: 1px solid rgba(76,175,130,0.2);
  border-radius: 10px;
}
.bundle-summary-includes-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  color: var(--text, #e8eaf0);
  padding: 3px 0;
}
.bundle-summary-includes-item i { color: #4caf82; font-size: 14px; flex-shrink: 0; }

.bundle-summary-total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 12px 16px;
  background: rgba(212,175,55,0.07);
  border-top: 1px solid rgba(212,175,55,0.2);
}

.bundle-summary-total-label {
  font-size: 13px;
  font-weight: 800;
  color: var(--muted, #9aa3b2);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.bundle-summary-total-price {
  font-family: 'Rajdhani', sans-serif;
  font-size: 28px;
  font-weight: 800;
  color: var(--gold, #d4af37);
  line-height: 1;
}

.bundle-summary-total-price .currency { font-size: 16px; }

.bundle-summary-footer {
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.bundle-add-to-cart-btn {
  width: 100%;
  height: 52px;
  border-radius: 12px;
  border: none;
  background: var(--gold, #d4af37);
  color: #0d1117;
  font-size: 15px;
  font-weight: 900;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.2s;
  letter-spacing: 0.3px;
}
.bundle-add-to-cart-btn:hover:not(:disabled) {
  background: #c9a62f;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(212,175,55,0.3);
}
.bundle-add-to-cart-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  filter: grayscale(0.3);
}
.bundle-add-to-cart-btn.loading {
  opacity: 0.75;
  cursor: wait;
}

.bundle-wa-btn {
  width: 100%;
  height: 42px;
  border-radius: 10px;
  background: #25D366;
  color: #062a16;
  font-size: 13px;
  font-weight: 800;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  transition: all 0.2s;
}
.bundle-wa-btn:hover { background: #1da851; }

.bundle-no-tire-note {
  text-align: center;
  font-size: 12px;
  color: var(--muted, #9aa3b2);
  padding: 8px 0;
}

.bundle-summary-empty-state {
  padding: 20px 16px;
  text-align: center;
  color: var(--muted, #9aa3b2);
  font-size: 13px;
  line-height: 1.5;
}
.bundle-summary-empty-state i { font-size: 24px; display: block; margin-bottom: 8px; color: var(--gold, #d4af37); }

/* ── CAMPAIGN TERMS ──────────────────────────────────────── */
.bundle-campaign-terms {
  margin-top: 20px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 20px;
}

.bundle-terms-toggle {
  background: transparent;
  border: none;
  color: var(--muted, #9aa3b2);
  font-size: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 0;
}
.bundle-terms-toggle:hover { color: var(--text, #e8eaf0); }

.bundle-terms-content {
  display: none;
  margin-top: 10px;
  padding: 14px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  font-size: 12px;
  color: var(--muted, #9aa3b2);
  line-height: 1.6;
}
.bundle-terms-content.open { display: block; }

/* ── MOBILE STICKY BUNDLE BAR ────────────────────────────── */
.bundle-mobile-sticky {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 998;
  background: rgba(12,15,22,0.98);
  border-top: 1px solid rgba(212,175,55,0.4);
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
  box-shadow: 0 -8px 28px rgba(0,0,0,0.5);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.bundle-mobile-sticky.has-tire { display: block; }

.bundle-mobile-sticky-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: 900px;
  margin: 0 auto;
}

.bundle-mobile-sticky-price {
  flex: 1;
  min-width: 0;
}
.bundle-mobile-sticky-label {
  font-size: 10px;
  color: var(--muted, #9aa3b2);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}
.bundle-mobile-sticky-total {
  font-family: 'Rajdhani', sans-serif;
  font-size: 22px;
  font-weight: 800;
  color: var(--gold, #d4af37);
  line-height: 1.1;
  white-space: nowrap;
}

.bundle-mobile-sticky-btn {
  height: 48px;
  padding: 0 22px;
  border-radius: 12px;
  background: var(--gold, #d4af37);
  color: #0d1117;
  font-size: 14px;
  font-weight: 900;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  white-space: nowrap;
  transition: transform 0.15s ease, background 0.15s ease;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(212,175,55,0.25);
}
.bundle-mobile-sticky-btn:hover:not(:disabled) {
  background: #e5be3b;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(212,175,55,0.35);
}
.bundle-mobile-sticky-btn:active { transform: scale(0.98); }
.bundle-mobile-sticky-btn:disabled { opacity: 0.5; cursor: not-allowed; filter: grayscale(0.4); }

/* ── SUCCESS FEEDBACK ─────────────────────────────────────── */
.bundle-success-toast {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 9999;
  background: #1a2e22;
  border: 1px solid rgba(76,175,130,0.5);
  border-radius: 12px;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
  transform: translateX(120%);
  transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1);
  max-width: 320px;
}
.bundle-success-toast.show { transform: translateX(0); }
.bundle-success-toast i { color: #4caf82; font-size: 20px; flex-shrink: 0; }
.bundle-success-toast-text { flex: 1; min-width: 0; }
.bundle-success-toast-title { font-weight: 800; font-size: 14px; color: #e8eaf0; }
.bundle-success-toast-sub { font-size: 12px; color: #78e59f; }
.bundle-success-toast-link {
  font-size: 12px;
  font-weight: 800;
  color: #4caf82;
  text-decoration: none;
  border: 1px solid rgba(76,175,130,0.4);
  border-radius: 8px;
  padding: 6px 12px;
  flex-shrink: 0;
  transition: background 0.2s;
}
.bundle-success-toast-link:hover { background: rgba(76,175,130,0.1); }

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 900px) {
  .bundle-campaign-banner { padding: 0 12px; }
  .bundle-builder-section { padding: 0 12px; }
  .bundle-main-layout {
    grid-template-columns: 1fr;
  }
  .bundle-summary-sticky {
    position: static;
    order: -1;
    margin-bottom: 16px;
  }
  .bundle-campaign-title { font-size: 17px; }
  .bundle-vehicle-form { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .bundle-tire-card { flex-direction: column; }
  .bundle-tire-img { margin-top: 16px; width: 60px; height: 60px; }
  .bundle-tire-cta-area { flex-direction: row; align-items: center; width: 100%; }
  .bundle-tire-select-btn { flex: 1; }
  .bundle-summary-total-price { font-size: 24px; }
  .bundle-campaign-actions { flex-direction: column; }
  .bundle-campaign-cta { width: 100%; justify-content: center; }
  .bundle-mobile-sticky { padding: 8px 12px calc(8px + env(safe-area-inset-bottom, 0px)); }
  .bundle-mobile-sticky-inner { gap: 10px; }
  .bundle-mobile-sticky-btn { height: 44px; padding: 0 14px; font-size: 13px; }
}

@media (max-width: 420px) {
  .bundle-mobile-sticky-label { font-size: 9px; }
  .bundle-mobile-sticky-total { font-size: 18px; }
  .bundle-mobile-sticky-btn { height: 42px; padding: 0 10px; font-size: 12px; gap: 4px; }
}

/* ── LIGHT THEME OVERRIDES ───────────────────────────────── */
body.light-theme .bundle-campaign-inner {
  background: linear-gradient(135deg, rgba(212,175,55,0.08), rgba(180,130,20,0.04));
  border-color: rgba(180,148,30,0.3);
}
body.light-theme .bundle-tire-card {
  background: #fff;
  border-color: #e5e7eb;
}
body.light-theme .bundle-tire-card:hover { border-color: rgba(180,148,30,0.4); }
body.light-theme .bundle-tire-card.selected {
  border-color: #b8941f;
  background: rgba(212,175,55,0.04);
}
body.light-theme .bundle-summary-sticky {
  background: #fff;
  border-color: rgba(180,148,30,0.25);
}
body.light-theme .bundle-vehicle-selector {
  background: #f9fafb;
  border-color: #e5e7eb;
}
body.light-theme .bundle-mobile-sticky {
  background: rgba(255,255,255,0.97);
  border-top-color: rgba(180,148,30,0.3);
}
body.light-theme .bundle-mobile-sticky-total { color: #8c6d17; }
body.light-theme .bundle-summary-total-price { color: #8c6d17; }
body.light-theme .bundle-all-tire-row { background: #fff; border-color: #e5e7eb; }
