/* ============================================================
   SHARP & CO. — Apple-style Prenota
   ============================================================ */

.prenota-hero {
  min-height: 40vh;
}

.prenota-hero-powered {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  text-transform: uppercase;
}

.prenota-hero-powered .bl-monogram {
  flex-shrink: 0;
}

/* ── Apple Booking Container ────────────────────────────────── */
#apple-booking-app {
  padding: 40px 0 80px;
  background: var(--black);
}

.booking-glass-container {
  background: #111111;
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 24px;
  padding: 40px;
  box-shadow: 0 30px 60px rgba(0,0,0,0.5);
  max-width: 900px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .booking-glass-container {
    padding: 24px;
    border-radius: 16px;
  }
}

.booking-section {
  transition: opacity 0.3s ease;
}

.booking-section-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.step-num {
  width: 32px;
  height: 32px;
  background: var(--gold);
  color: var(--black);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-family: var(--font-heading);
  font-size: 1.2rem;
}

.booking-section-header h2 {
  font-size: 1.6rem;
  color: var(--white);
  font-weight: 500;
  letter-spacing: 0.02em;
}

.booking-divider {
  height: 1px;
  background: rgba(255,255,255,0.05);
  margin: 40px 0;
}

/* ── Barber Grid ────────────────────────────────────────────── */
.barber-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
}

.apple-barber-card {
  background: #1a1a1a;
  border: 2px solid transparent;
  border-radius: 16px;
  padding: 16px;
  cursor: pointer;
  text-align: center;
  transition: all 0.2s ease;
}

.apple-barber-card:hover {
  background: #222;
}

.apple-barber-card.selected {
  border-color: var(--gold);
  background: rgba(255,215,0,0.05);
  box-shadow: 0 8px 24px rgba(255,215,0,0.1);
}

.apple-barber-card img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 12px;
  border: 2px solid #333;
  transition: border-color 0.2s ease;
}

.apple-barber-card.selected img {
  border-color: var(--gold);
}

.abc-info h3 {
  font-size: 1.1rem;
  color: var(--white);
  margin-bottom: 4px;
}

.abc-info p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ── Service Select ─────────────────────────────────────────── */
.service-select-wrap {
  margin-bottom: 32px;
}

.apple-select {
  width: 100%;
  appearance: none;
  background: #1a1a1a;
  border: 1px solid #333;
  color: var(--white);
  padding: 16px 20px;
  border-radius: 12px;
  font-size: 1.05rem;
  outline: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.apple-select:focus {
  border-color: var(--gold);
}

/* ── Calendar & Slots ───────────────────────────────────────── */
.calendar-and-slots {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

@media (min-width: 768px) {
  .calendar-and-slots {
    grid-template-columns: 1fr 1fr;
  }
}

.apple-calendar {
  background: #1a1a1a;
  border-radius: 16px;
  padding: 24px;
}

.calendar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.calendar-header h3 {
  font-size: 1.1rem;
  color: var(--white);
}

.calendar-header button {
  background: none;
  border: none;
  color: var(--gold);
  font-size: 1.2rem;
  cursor: pointer;
}

.calendar-grid-header {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}

.cal-day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: var(--white);
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.2s ease;
}

.cal-day:hover:not(.disabled) {
  background: #333;
}

.cal-day.disabled {
  color: #444;
  cursor: default;
}

.cal-day.selected {
  background: var(--gold);
  color: var(--black);
  font-weight: 600;
}

.apple-slots {
  background: #1a1a1a;
  border-radius: 16px;
  padding: 24px;
}

.slots-title {
  font-size: 1.1rem;
  color: var(--white);
  margin-bottom: 16px;
}

.slots-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.empty-slots {
  grid-column: 1 / -1;
  color: var(--text-muted);
  font-size: 0.9rem;
  text-align: center;
  padding: 20px 0;
}

.time-slot {
  background: #222;
  border: 1px solid #333;
  color: var(--white);
  padding: 12px 0;
  border-radius: 8px;
  text-align: center;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.time-slot:hover {
  border-color: var(--gold);
}

.time-slot.selected {
  background: var(--gold);
  color: var(--black);
  border-color: var(--gold);
  font-weight: 600;
}

/* ── Form Details ───────────────────────────────────────────── */
.details-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.apple-input {
  width: 100%;
  background: #1a1a1a;
  border: 1px solid #333;
  color: var(--white);
  padding: 16px 20px;
  border-radius: 12px;
  font-size: 1.05rem;
  outline: none;
  transition: all 0.2s ease;
}

.apple-input:focus {
  border-color: var(--gold);
}

.booking-summary-box {
  background: rgba(255,215,0,0.05);
  border: 1px solid rgba(255,215,0,0.2);
  border-radius: 12px;
  padding: 24px;
  margin-top: 16px;
}

.booking-summary-box h4 {
  color: var(--gold);
  font-size: 1rem;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.booking-summary-box p {
  color: var(--silver);
  font-size: 0.95rem;
  margin-bottom: 8px;
}

.summary-total {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,215,0,0.2);
  font-size: 1.2rem;
  color: var(--white);
  font-weight: 600;
}

.apple-btn-primary {
  background: var(--gold);
  color: var(--black);
  border: none;
  padding: 18px;
  border-radius: 12px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  margin-top: 24px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.apple-btn-primary:active {
  transform: scale(0.98);
}

.apple-btn-primary:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* ── Modal ──────────────────────────────────────────────────── */
#bb-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.8);
  backdrop-filter: blur(5px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

#bb-modal.visible {
  opacity: 1;
  pointer-events: auto;
}

.apple-modal-content {
  background: #111;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 24px;
  padding: 40px;
  text-align: center;
  max-width: 400px;
  width: 90%;
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

#bb-modal.visible .apple-modal-content {
  transform: translateY(0);
}

.modal-icon {
  width: 60px;
  height: 60px;
  background: var(--gold);
  color: var(--black);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 20px;
}

.apple-modal-content h3 {
  font-size: 1.5rem;
  color: var(--white);
  margin-bottom: 12px;
}

.apple-modal-content p {
  color: var(--text-muted);
  margin-bottom: 32px;
  line-height: 1.5;
}

.apple-btn-secondary {
  display: inline-block;
  background: #222;
  color: var(--white);
  text-decoration: none;
  padding: 14px 24px;
  border-radius: 8px;
  font-weight: 500;
  transition: background 0.2s ease;
}

.apple-btn-secondary:hover {
  background: #333;
}

/* ── Wizard Transitions ─────────────────────────────────────── */
.booking-section {
  display: none;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.booking-section.active-step {
  display: block;
}

.booking-section.fade-in {
  opacity: 1;
  transform: translateY(0);
}

.booking-divider {
  display: none;
}
.booking-divider.active-step {
  display: block;
}


@media (max-width: 480px) {
  .slots-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}
