/* ===========================
   CLIENTA – MULTI STEP BOOKING
=========================== */

.public-booking-page {
  min-height: 100vh;
  background: linear-gradient(to bottom, #faf7f4, #f5f3f0);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px 24px;
  max-width: 1400px;
  margin: 0 auto;
}

/* Header */
.public-header {
  text-align: center;
  margin-bottom: 12px;
  max-width: 100%;
  width: 100%;
}

.public-header h1 {
  font-size: 26px;
  margin-bottom: 4px;
}

.public-header p {
  margin: 2px 0;
}

/* Main card */
.public-card {
  width: 100%;
  background: #ffffff;
  border-radius: 28px;
  padding: 36px;
  box-shadow: 0 40px 100px rgba(0,0,0,0.12);
  position: relative;
  z-index: 3;
}

/* Steps visibility */
.booking-step {
  display: none;
}

.booking-step.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

/* Step titles */
.booking-step-title {
  font-size: 20px;
  margin-bottom: 4px;
}

.booking-step-subtitle {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 16px;
}

/* Business info */
.booking-business-card {
  margin-bottom: 20px;
}

.booking-muted {
  color: var(--muted);
  font-size: 14px;
}

.public-card,
.booking-service-item,
.booking-summary-card {
  border: none;
  box-shadow: 0 6px 20px rgba(0,0,0,0.06);
}


/* ===========================
   SERVICE CARD
=========================== */

.booking-service-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--card);
}

.booking-service-image {
  width: 96px;
  height: 96px;
  border-radius: 12px;
  overflow: hidden;
  background: #f3f3f3;
}

img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


.booking-service-details h2 {
  margin: 0 0 6px;
  font-size: 18px;
}

.booking-pill {
  display: inline-block;
  background: #f3ece7;
  color: var(--text);
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  margin-bottom: 8px;
}

.booking-description {
  font-size: 14px;
  color: #444;
  margin: 8px 0;
}

.booking-service-meta {
  display: flex;
  gap: 16px;
  font-weight: 700;
  margin-top: 10px;
}

/* ===========================
   ACTIONS & BUTTONS
=========================== */

.booking-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 24px;
  gap: 12px;
}

.booking-btn-primary,
.booking-actions button {
  padding: 16px 26px;
  border-radius: 18px;
  border: none;
  background: linear-gradient(135deg, #c57c4e, #b96b3f);
  color: white;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 10px 25px rgba(197,124,78,0.3);
}

.booking-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 40px rgba(197,124,78,0.4);
}


.booking-actions button[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
}

.booking-back {
  background: none;
  border: 1px solid var(--border);
}

/* ===========================
   DATE & SLOTS
=========================== */

.booking-label {
  display: flex;
  flex-direction: column;
  font-size: 14px;
  margin-bottom: 14px;
}

.booking-label input,
.booking-label textarea {
  margin-top: 6px;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid var(--border);
}

.booking-slots {
  margin-top: 16px;
}

.booking-hint {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 10px;
}

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

.slot-btn {
  background: white;
  border-radius: 999px;
  font-weight: 600;
  transition: all 0.25s ease;
}

.slot-btn:hover {
  background: #f5f3f0;
  transform: translateY(-2px);
}

.slot-btn.active {
  background: #c57c4e;
  color: white;
  border-color: #c57c4e;
}

/* ===========================
   SUMMARY
=========================== */

.booking-summary-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 16px;
  margin-bottom: 20px;
}

.booking-summary-row {
  display: flex;
  justify-content: space-between;
  margin: 8px 0;
  font-size: 14px;
}

/* ===========================
   CONFIRMATION
=========================== */

.booking-confirmation {
  text-align: center;
  padding: 24px 16px;
}

.booking-checkmark {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--success);
  color: #fff;
  font-size: 36px;
  line-height: 64px;
  font-weight: bold;
}

/* ===========================
   FOOTER
=========================== */

.public-footer {
  margin-top: 20px;
  font-size: 13px;
}

/* ===========================
   RESPONSIVE
=========================== */

@media (max-width: 600px) {
  .public-card {
    padding: 20px;
  }

  .booking-service-card {
    grid-template-columns: 1fr;
  }

  #slots {
    grid-template-columns: repeat(2, 1fr);
  }

  .booking-actions {
    flex-direction: column;
  }

  .booking-actions button {
    width: 100%;
  }
}

/* ===========================
   SERVICE LIST (STEP 1)
=========================== */

.booking-service-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.booking-category {
  margin-bottom: 8px;
}

.booking-category-title {
  font-weight: 700;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.booking-service-item {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 18px;
  border-radius: 20px;
  border: 1px solid #f0f0f0;
  background: #ffffff;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 8px 20px rgba(0,0,0,0.04);
}

.booking-service-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.08);
}

.booking-service-item.selected {
  border-color: #c57c4e;
  background: #fff7f2;
  box-shadow: 0 20px 50px rgba(197,124,78,0.2);
}

.booking-service-thumb {
  width: 72px;
  height: 72px;
  border-radius: 12px;
  overflow: hidden;
  background: #f2f2f2;
}

.booking-service-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.booking-service-info h4 {
  margin: 0 0 4px;
  font-size: 16px;
}

.booking-service-info p {
  font-size: 13px;
  color: var(--muted);
  margin: 0 0 6px;
}

.booking-service-meta {
  font-size: 13px;
  font-weight: 600;
}

.booking-service-check {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
}

.booking-service-item.selected .booking-service-check {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

/* ===========================
   MOBILE REFINEMENTS
=========================== */

@media (max-width: 480px) {

  .public-booking-page {
    padding: 12px;
  }

  .public-header h1 {
    font-size: 22px;
  }

  .public-card {
    padding: 16px;
    border-radius: 18px;
  }

  /* ---------- STEP TITLES ---------- */
  .booking-step-title {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.02em;
  }

  .booking-step-subtitle {
    font-size: 14px;
    margin-bottom: 12px;
    color: #777;
  }

  /* ---------- SERVICE LIST ---------- */
  .booking-service-item {
    grid-template-columns: 56px 1fr auto;
    padding: 12px;
    gap: 10px;
    transition: all 0.25s ease;
  }

  .booking-service-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(0,0,0,0.08);
  }

  .booking-service-thumb {
    width: 56px;
    height: 56px;
    border-radius: 10px;
  }

  .booking-service-info h4 {
    font-size: 15px;
  }

  .booking-service-info p {
    font-size: 12px;
  }

  .booking-service-meta {
    font-size: 12px;
  }

  /* ---------- SERVICE DETAIL CARD ---------- */
  .booking-service-card {
    padding: 14px;
  }

  .booking-service-details h2 {
    font-size: 17px;
  }

  .booking-description {
    font-size: 13px;
    line-height: 1.4;
  }

  .booking-service-meta {
    flex-direction: column;
    gap: 6px;
    font-size: 14px;
  }

  /* ---------- SLOT GRID ---------- */
  #slots {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .slot-btn {
    padding: 14px;
    font-size: 14px;
  }

  /* ---------- ACTION BUTTONS ---------- */
  .booking-actions {
    margin-top: 18px;
    gap: 10px;
  }

  .booking-actions button {
    padding: 14px;
    font-size: 15px;
    border-radius: 12px;
  }

  /* ---------- SUMMARY ---------- */
  .booking-summary-card {
    padding: 14px;
  }

  .booking-summary-row {
    font-size: 13px;
  }

  /* ---------- CONFIRMATION ---------- */
  .booking-confirmation {
    padding: 20px 12px;
  }

  .booking-checkmark {
    width: 56px;
    height: 56px;
    line-height: 56px;
    font-size: 30px;
  }
}
.booking-message {
  margin-bottom: 16px;
  font-size: 14px;
  color: var(--danger);
}
.booking-message.success {
  color: var(--success);
}

/* ===========================
   BOOKING HERO
=========================== */


.booking-hero-images {
  display: grid;
  grid-template-columns: 1fr 1.3fr 1fr;
  gap: 6px;
  border-radius: 18px;
  overflow: hidden;
  margin-bottom: 16px;
}

.booking-hero-images img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 14px;
  filter: saturate(1.05);
}

.booking-hero-info {
  background: #fff;
  display: inline-block;
  padding: 16px 24px;
  border-radius: 20px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.08);
}

.booking-logo {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 8px;
}

/* Fallback */
.booking-hero-placeholder {
  height: 160px;
  border-radius: 18px;
  background: linear-gradient(135deg, #f6eee8, #f2f2f2);
}

/* Mobile */
@media (max-width: 600px) {
  .booking-hero-images img {
    height: 120px;
  }
}

.booking-hero {
  position: relative;
  height: 420px;
  border-radius: 28px;
  overflow: hidden;
  width: 100%;
  box-shadow: 0 30px 80px rgba(0,0,0,0.18);
}

/* Background image */
.booking-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 1;
}

/* Dark overlay for readability */
.booking-hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.1),
    rgba(0,0,0,0.7)
  );
}

/* Text content */
.booking-hero-content {
  position: absolute;
  bottom: 40px;
  left: 20px;
  z-index: 2;
  color: white;
  max-width: 700px;
  text-align: left;
}

.booking-hero-content h1 {
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.booking-hero-content p {
  font-size: 18px;
  opacity: 0.9;
}

.booking-about {
  margin: 20px auto;
  max-width: 1400px;
}

.booking-about-card {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 32px;
  background: white;
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}

.booking-about-text h3,
.booking-about-gallery h3 {
  font-size: 22px;
  margin-bottom: 12px;
}

.booking-about-text p {
  color: #000;
  font-size: 16px;
}

.booking-about-meta {
  margin-top: 16px;
  font-size: 18px;
  color: #000;
}

.booking-about-images {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.booking-meta-icon {
  font-size: 18px;
  opacity: 0.8;
}

.booking-about-images img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 12px;
}

/* Mobile */
@media (max-width: 768px) {
  .booking-about-card {
    grid-template-columns: 1fr;
  }
}

.intake-cta {
  margin-top: 40px;
  padding: 28px;
  border-radius: 22px;
  background: linear-gradient(135deg, #fff3e8, #fde7d7);
  text-align: center;
  box-shadow: 0 20px 50px rgba(0,0,0,0.08);
}

.intake-cta h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}

.intake-cta p {
  color: #6b7280;
  margin-bottom: 18px;
}

.booking-progress {
  height: 6px;
  background: #eee;
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 30px;
}

.booking-progress-bar {
  height: 100%;
  width: 25%;
  background: linear-gradient(90deg, #c57c4e, #e3a679);
  transition: width 0.3s ease;
}
