/* ============================================================
   bundle.css — Bundle builder · Arma tu pack
   ============================================================ */

.bundle-hero {
  padding: 120px 24px 60px;
  background:
    radial-gradient(ellipse 70% 70% at 20% 20%, rgba(201, 116, 138, .2), transparent 60%),
    radial-gradient(ellipse 60% 60% at 80% 80%, rgba(201, 169, 110, .2), transparent 60%),
    linear-gradient(160deg, #fef0f4 0%, var(--rose-light) 35%, var(--gold-light) 70%, #fdf0f4 100%);
  background-size: 220% 220%;
  animation: gradientShift 18s ease-in-out infinite;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.bundle-hero-inner { max-width: 800px; margin: 0 auto; position: relative; z-index: 2; }
.bundle-hero .section-tag { font-size: .85rem; }
.bundle-hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 500;
  line-height: 1.05;
  color: var(--dark2);
  margin: 14px 0 16px;
  letter-spacing: -.02em;
}
.bundle-hero h1 span {
  background: linear-gradient(110deg, var(--rose-dark) 25%, var(--gold-shine) 50%, var(--rose) 75%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmerMove 5s linear infinite;
  font-style: italic;
}
.bundle-hero-sub {
  color: var(--gray);
  font-size: 1.02rem;
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto 32px;
}
.bundle-hero-stats {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  margin-top: 8px;
  flex-wrap: wrap;
  justify-content: center;
}
.bundle-hero-stats > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.bundle-hero-stats > div span:last-child {
  font-size: .76rem;
  color: var(--gray);
  font-weight: 600;
  letter-spacing: .5px;
}

/* Steps */
.bundle-steps {
  padding: 32px 24px;
  background: var(--cream);
  border-top: 1px solid rgba(201, 116, 138, .1);
  border-bottom: 1px solid rgba(201, 116, 138, .1);
}
.bundle-steps-inner {
  max-width: 700px;
  margin: 0 auto;
}
.bundle-step-track {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: center;
}
.bundle-step {
  background: #fff;
  border: 2px solid rgba(201, 116, 138, .2);
  padding: 14px 24px;
  border-radius: 16px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  min-width: 140px;
  transition: all .3s cubic-bezier(.16, 1, .3, 1);
  font-family: 'Lato', sans-serif;
}
.bundle-step:hover { border-color: var(--rose); transform: translateY(-2px); }
.bundle-step.active {
  background: linear-gradient(135deg, var(--rose), var(--rose-dark));
  color: #fff;
  border-color: transparent;
  box-shadow: 0 8px 24px rgba(201, 116, 138, .35);
}
.bundle-step.done {
  background: linear-gradient(135deg, #dcfce7, #bbf7d0);
  border-color: #22c55e;
}
.bundle-step.done::after {
  content: '✓';
  position: absolute;
  top: -8px;
  right: -8px;
  width: 24px;
  height: 24px;
  background: #16a34a;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .8rem;
  font-weight: 800;
  box-shadow: 0 4px 10px rgba(34, 197, 94, .4);
}
.bundle-step { position: relative; }
.bundle-step-num {
  font-family: 'Italiana', serif;
  font-size: 1.4rem;
  line-height: 1;
}
.bundle-step-label {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.bundle-step-line {
  height: 2px;
  flex: 1;
  max-width: 40px;
  background: rgba(201, 116, 138, .2);
}
@media (max-width: 600px) {
  .bundle-step { min-width: 100px; padding: 10px 14px; }
  .bundle-step-num { font-size: 1.1rem; }
  .bundle-step-label { font-size: .7rem; }
  .bundle-step-line { max-width: 16px; }
}

/* Builder layout */
.bundle-builder {
  padding: 50px 24px 80px;
}
.bundle-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 36px;
  align-items: start;
}
@media (max-width: 980px) {
  .bundle-grid { grid-template-columns: 1fr; }
}

.bundle-pane { display: none; animation: revealDown .4s ease; }
.bundle-pane.active { display: block; }
.bundle-pane-header { margin-bottom: 22px; }
.bundle-pane-header h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
  color: var(--dark2);
  margin-bottom: 4px;
}
.bundle-pane-header .muted { color: var(--gray); font-weight: 500; font-size: .85em; }
.bundle-pane-header p { color: var(--gray); font-size: .92rem; line-height: 1.6; }

.bundle-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}
.bft {
  padding: 8px 18px;
  border-radius: 50px;
  border: 1.5px solid rgba(201, 116, 138, .2);
  background: #fff;
  cursor: pointer;
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  font-size: .82rem;
  color: var(--gray);
  transition: all .25s ease;
}
.bft:hover { color: var(--rose); border-color: var(--rose); }
.bft.active {
  background: linear-gradient(135deg, var(--rose), var(--rose-dark));
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 12px rgba(201, 116, 138, .3);
}

.bundle-options {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 14px;
}
.bopt {
  background: #fff;
  border: 2px solid rgba(201, 116, 138, .12);
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  transition: all .3s cubic-bezier(.16, 1, .3, 1);
  position: relative;
}
.bopt:hover {
  transform: translateY(-4px);
  border-color: var(--rose);
  box-shadow: 0 14px 30px rgba(201, 116, 138, .2);
}
.bopt.selected {
  border-color: var(--rose);
  box-shadow: 0 8px 24px rgba(201, 116, 138, .3);
  background: linear-gradient(160deg, #fff, var(--rose-light));
}
.bopt.selected::before {
  content: '\f00c';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  top: 8px;
  right: 8px;
  width: 28px;
  height: 28px;
  background: linear-gradient(135deg, var(--rose), var(--rose-dark));
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  box-shadow: 0 4px 12px rgba(201, 116, 138, .4);
  font-size: .85rem;
}
.bopt-img {
  width: 100%;
  height: 130px;
  background: linear-gradient(135deg, var(--rose-light), var(--gold-light));
  overflow: hidden;
}
.bopt-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.bopt:hover .bopt-img img { transform: scale(1.07); }
.bopt-body {
  padding: 10px 12px;
  text-align: center;
}
.bopt-name {
  font-size: .82rem;
  font-weight: 700;
  color: var(--dark2);
  margin-bottom: 2px;
  line-height: 1.2;
}
.bopt-meta {
  font-size: .68rem;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
  margin-bottom: 4px;
}
.bopt-price {
  font-size: .85rem;
  font-weight: 800;
  color: var(--rose);
}

.bundle-skip {
  background: none;
  border: none;
  color: var(--gray);
  font-size: .82rem;
  cursor: pointer;
  text-decoration: underline;
  font-family: 'Lato', sans-serif;
  padding: 8px;
}
.bundle-skip:hover { color: var(--rose); }

/* Summary sticky card */
.bundle-summary {
  position: sticky;
  top: 130px;
}
.bundle-summary-card {
  background: #fff;
  border-radius: 22px;
  padding: 26px 24px;
  box-shadow: 0 14px 50px rgba(201, 116, 138, .18);
  border: 1.5px solid rgba(201, 169, 110, .3);
}
.bundle-summary-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--dark2);
  margin-bottom: 16px;
  text-align: center;
}

.bundle-slots {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}
.bundle-slot {
  background: var(--cream);
  border: 1.5px dashed rgba(201, 116, 138, .2);
  border-radius: 12px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 56px;
  transition: all .3s ease;
  position: relative;
}
.bundle-slot.filled {
  background: linear-gradient(135deg, var(--rose-light), var(--gold-light));
  border-style: solid;
  border-color: var(--rose);
}
.bundle-slot-empty {
  font-size: .85rem;
  color: var(--gray);
  display: flex;
  align-items: center;
  gap: 8px;
}
.bundle-slot-empty .muted { font-size: .72rem; opacity: .7; }
.bundle-slot-empty i {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: rgba(201, 116, 138, .15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--rose);
  font-size: .8rem;
}
.bundle-slot-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
}
.bundle-slot-item img {
  width: 38px; height: 38px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}
.bundle-slot-item-info { flex: 1; min-width: 0; }
.bundle-slot-item-name {
  font-size: .82rem;
  font-weight: 700;
  color: var(--dark2);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.bundle-slot-item-price {
  font-size: .72rem;
  color: var(--rose);
  font-weight: 700;
}
.bundle-slot-remove {
  background: none;
  border: none;
  color: var(--gray);
  cursor: pointer;
  padding: 4px;
  font-size: .85rem;
  transition: color .25s ease;
}
.bundle-slot-remove:hover { color: #d63b3b; }

.bundle-discount-strip {
  background: linear-gradient(90deg, var(--obsidian), var(--obsidian-soft));
  color: #fff;
  padding: 10px 14px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .82rem;
  font-weight: 600;
  margin-bottom: 16px;
}
.bundle-discount-strip i { color: var(--gold-bright); }
.bundle-discount-strip.active {
  background: linear-gradient(90deg, #16a34a, #15803d);
}

.bundle-totals {
  padding: 14px 0;
  border-top: 1px solid rgba(201, 116, 138, .15);
  border-bottom: 1px solid rgba(201, 116, 138, .15);
  margin-bottom: 18px;
}
.bundle-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .9rem;
  color: var(--gray);
  padding: 4px 0;
}
.bundle-total-row.bundle-final {
  border-top: 1px solid rgba(201, 116, 138, .12);
  margin-top: 8px;
  padding-top: 10px;
  color: var(--dark2);
  font-weight: 700;
  font-size: 1.05rem;
}
.bundle-final-amount {
  color: var(--rose);
  font-size: 1.4rem;
  font-weight: 800;
}
.bundle-saving { font-weight: 700; }

.bundle-includes {
  background: var(--cream);
  border-radius: 10px;
  padding: 12px 14px;
  margin-bottom: 16px;
}
.bundle-includes ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.bundle-includes li {
  font-size: .78rem;
  color: var(--dark2);
  display: flex;
  align-items: center;
  gap: 7px;
}
.bundle-includes li i {
  color: #22c55e;
  font-size: .7rem;
}

.bundle-cta {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
}
.bundle-cta:disabled,
.bundle-summary-card .btn:disabled {
  opacity: .5;
  cursor: not-allowed;
  transform: none !important;
}
