/* =========================================================
   Book Pandit Ji — Component helpers
   ========================================================= */

.how-step {
  text-align: center;
  padding: 16px;
}

.how-step .step-num {
  width: 48px;
  height: 48px;
  margin: 0 auto 12px;
  border-radius: 50%;
  background: var(--maroon);
  color: #fff;
  display: grid;
  place-items: center;
  font-family: var(--font-heading);
  font-size: 1.2rem;
}

.newsletter-box {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.newsletter-box .form-control {
  flex: 1 1 220px;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--text-soft);
  border-radius: var(--radius-pill);
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 500;
}

.chip.active,
.chip:hover {
  border-color: var(--primary);
  background: var(--primary-soft);
  color: var(--primary-dark);
}

.sticky-booking-box {
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: var(--shadow-md);
  position: sticky;
  top: calc(var(--header-height) + 16px);
}

.price-summary-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
  font-size: 0.92rem;
}

.price-summary-row.total {
  border-top: 1px dashed var(--border);
  padding-top: 10px;
  margin-top: 10px;
  font-weight: 700;
  color: var(--maroon);
  font-size: 1.05rem;
}

.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 10px;
}

.gallery-thumbs button {
  border: 2px solid transparent;
  border-radius: 10px;
  overflow: hidden;
  padding: 0;
  aspect-ratio: 1;
  background: var(--cream-dark);
}

.gallery-thumbs button.active {
  border-color: var(--primary);
}

.review-item {
  border-bottom: 1px solid var(--border-soft);
  padding: 16px 0;
}

.review-item:last-child {
  border-bottom: 0;
}

.empty-state {
  text-align: center;
  padding: 40px 16px;
  color: var(--muted);
}

.availability-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
  display: inline-block;
  margin-right: 6px;
}

.availability-dot.off {
  background: #bbb;
}

.page-tabs .nav-link {
  color: var(--muted);
  border: 0;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  font-weight: 560;
}

.page-tabs .nav-link.active {
  color: var(--maroon);
  border-bottom-color: var(--primary);
  background: transparent;
}

.skeleton {
  background: linear-gradient(90deg, #efe4d8 25%, #f7efe6 50%, #efe4d8 75%);
  background-size: 200% 100%;
  animation: shimmer 1.4s infinite;
  border-radius: 8px;
}

@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* =========================================================
   1. Multi-Step Booking Wizard
   ========================================================= */
.booking-stepper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  margin-bottom: 2rem;
  padding: 0 10px;
  overflow-x: auto;
  scrollbar-width: none;
}
.booking-stepper::-webkit-scrollbar { display: none; }
.booking-stepper::before {
  content: "";
  position: absolute;
  top: 22px;
  left: 20px;
  right: 20px;
  height: 3px;
  background: var(--border);
  z-index: 1;
}
.booking-step-item {
  position: relative;
  z-index: 2;
  text-align: center;
  flex: 1;
  min-width: 70px;
  background: transparent;
  cursor: pointer;
}
.booking-step-circle {
  width: 44px;
  height: 44px;
  margin: 0 auto 8px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--border);
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  transition: all var(--transition);
}
.booking-step-item.active .booking-step-circle {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  box-shadow: 0 0 0 5px rgba(243, 107, 10, 0.2);
}
.booking-step-item.completed .booking-step-circle {
  background: var(--maroon);
  border-color: var(--maroon);
  color: #fff;
}
.booking-step-title {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--muted);
  white-space: nowrap;
}
.booking-step-item.active .booking-step-title {
  color: var(--primary);
}
.booking-step-item.completed .booking-step-title {
  color: var(--maroon);
}

.step-pane {
  display: none;
}
.step-pane.active {
  display: block;
  animation: fadeIn 0.3s ease;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* =========================================================
   2. Pricing & Package Comparison
   ========================================================= */
.package-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  position: relative;
  transition: all var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
}
.package-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}
.package-card.featured {
  border: 2px solid var(--primary);
  box-shadow: var(--shadow-md);
  background: linear-gradient(180deg, #fffaf5 0%, #ffffff 100%);
}
.package-badge-popular {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--primary), #d95300);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: var(--radius-pill);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.package-price {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--maroon);
  line-height: 1;
}
.package-price small {
  font-size: 0.9rem;
  color: var(--muted);
  font-family: var(--font-body);
  font-weight: 400;
}
.package-features {
  list-style: none;
  padding: 0;
  margin: 20px 0;
  flex-grow: 1;
}
.package-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px dashed var(--border-soft);
  font-size: 13.5px;
  color: var(--text-soft);
}
.package-features li:last-child {
  border-bottom: none;
}
.package-features li i.bi-check-circle-fill {
  color: var(--success);
  flex-shrink: 0;
  margin-top: 2px;
}
.package-features li i.bi-x-circle {
  color: #c9c0b8;
  flex-shrink: 0;
  margin-top: 2px;
}

/* =========================================================
   3. Filter Sidebar & Search
   ========================================================= */
.filter-card {
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: var(--shadow-sm);
}
.filter-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  color: var(--maroon);
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-soft);
}
.filter-group {
  margin-bottom: 18px;
}
.filter-group-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}
.filter-checkbox {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 0;
  font-size: 13.5px;
  color: var(--text-soft);
  cursor: pointer;
}
.filter-checkbox .form-check-input {
  margin-right: 8px;
}
.filter-checkbox .count {
  font-size: 11px;
  color: var(--muted);
  background: var(--cream-dark);
  padding: 2px 6px;
  border-radius: var(--radius-pill);
}

/* =========================================================
   4. Astrologer & Tarot Cards
   ========================================================= */
.astro-card {
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 20px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.astro-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}
.astro-avatar-wrap {
  position: relative;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  border: 3px solid var(--gold-soft);
  padding: 3px;
  margin: 0 auto 12px;
  background: #fff;
}
.astro-avatar-wrap .astro-img-placeholder {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: radial-gradient(circle, #fff3e6, #ffd6b3);
  display: grid;
  place-items: center;
  font-size: 2rem;
  color: var(--primary);
}
.astro-status-dot {
  position: absolute;
  bottom: 2px;
  right: 6px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid #fff;
  background: var(--success);
}
.astro-status-dot.offline {
  background: #aaa;
}
.consult-pill-group {
  display: flex;
  gap: 6px;
  justify-content: center;
  margin: 12px 0;
}
.consult-pill {
  font-size: 11.5px;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  background: var(--cream);
  color: var(--text-soft);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* =========================================================
   5. Kundli Chart & Astrological Elements
   ========================================================= */
.kundli-chart-box {
  background: #fffdf8;
  border: 2px solid var(--gold);
  border-radius: var(--radius-md);
  padding: 20px;
  position: relative;
}
.kundli-diamond {
  width: 100%;
  max-width: 420px;
  aspect-ratio: 1;
  margin: 0 auto;
  border: 2px solid var(--maroon);
  position: relative;
  background: #fff9f0;
}
.kundli-house {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 600;
  text-align: center;
  padding: 4px;
}
.kundli-planet-tag {
  display: inline-block;
  padding: 2px 6px;
  font-size: 11px;
  font-weight: 600;
  border-radius: 4px;
  background: var(--maroon-soft);
  color: var(--maroon);
  margin: 1px;
}
.planet-table th {
  background: var(--maroon);
  color: #fff;
  font-weight: 600;
  font-size: 13px;
}
.planet-table td {
  font-size: 13px;
  vertical-align: middle;
}
.score-circle-lg {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  border: 8px solid var(--primary);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  background: var(--primary-soft);
}
.score-circle-lg .score-val {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--maroon);
  line-height: 1;
  font-family: var(--font-heading);
}

/* =========================================================
   6. Zodiac / Horoscope Cards
   ========================================================= */
.zodiac-grid-card {
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 20px 14px;
  text-align: center;
  transition: all var(--transition);
  display: block;
  color: var(--text);
  position: relative;
  overflow: hidden;
}
.zodiac-grid-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
  box-shadow: var(--shadow-md);
  background: linear-gradient(180deg, #fffaf2 0%, #ffffff 100%);
  color: var(--maroon);
}
.zodiac-icon-circle {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: radial-gradient(circle, #fff1e0, #ffe0b3);
  border: 1.5px solid var(--gold);
  display: grid;
  place-items: center;
  font-size: 1.6rem;
  color: var(--primary);
  margin: 0 auto 10px;
  transition: transform var(--transition);
}
.zodiac-grid-card:hover .zodiac-icon-circle {
  transform: scale(1.1) rotate(5deg);
}

/* =========================================================
   7. Tarot Reading Interactive Elements
   ========================================================= */
.tarot-card-wrap {
  perspective: 1000px;
  cursor: pointer;
}
.tarot-card-inner {
  position: relative;
  width: 100%;
  aspect-ratio: 2 / 3.4;
  text-align: center;
  transition: transform 0.6s cubic-bezier(0.4, 0.2, 0.2, 1);
  transform-style: preserve-3d;
  border-radius: 14px;
  box-shadow: var(--shadow-md);
}
.tarot-card-wrap.flipped .tarot-card-inner {
  transform: rotateY(180deg);
}
.tarot-card-front, .tarot-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  border-radius: 14px;
  overflow: hidden;
  border: 2px solid var(--gold);
}
.tarot-card-back {
  background: radial-gradient(circle, #3d0010 0%, #1a0007 100%);
  color: var(--gold);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.tarot-card-front {
  background: linear-gradient(135deg, #fffaf2, #fbf4ea);
  transform: rotateY(180deg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 14px;
}

/* =========================================================
   8. City Landing Page Specifics
   ========================================================= */
.city-hero-banner {
  background: linear-gradient(135deg, var(--maroon-dark) 0%, var(--maroon) 50%, #7d1225 100%);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 48px 36px;
  position: relative;
  overflow: hidden;
}
.city-hero-banner::after {
  content: "";
  position: absolute;
  right: -50px;
  bottom: -50px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(201, 151, 43, 0.2) 0%, transparent 70%);
  border-radius: 50%;
}
.locality-tag {
  display: inline-block;
  padding: 6px 14px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  font-size: 13px;
  color: var(--text);
  margin: 4px;
  transition: all var(--transition);
}
.locality-tag:hover {
  background: var(--primary-soft);
  border-color: var(--primary);
  color: var(--primary-dark);
}
