﻿/* ===== Booking Page ===== */
    .booking-hero {
      padding: 3rem 0 2rem; text-align: center;
      background: linear-gradient(135deg, rgba(109,40,217,0.06), rgba(168,85,247,0.06));
    }
    .booking-hero .section-tag { font-size: 0.875rem; font-weight: 600; color: var(--primary); }
    .booking-hero h1 { margin-top: 0.5rem; font-size: 2rem; font-weight: 700; }
    .booking-hero p { margin-top: 0.5rem; color: var(--muted-foreground); font-size: 0.875rem; }

    /* Breadcrumb trail */
    .breadcrumb-trail {
      display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap;
      padding: 1rem 0; font-size: 0.8125rem; color: var(--muted-foreground);
    }
    .breadcrumb-trail .bc-item { color: var(--primary); font-weight: 500; cursor: pointer; }
    .breadcrumb-trail .bc-item:hover { text-decoration: underline; }
    .breadcrumb-trail .bc-sep { color: var(--muted-foreground); }
    .breadcrumb-trail .bc-current { color: var(--foreground); font-weight: 600; }

    /* Stepper bar */
    .stepper-bar {
      display: flex; align-items: center; justify-content: center; gap: 0; margin: 0 auto 2rem;
      max-width: 600px; padding: 0 1rem;
    }
    .stepper-step {
      display: flex; flex-direction: column; align-items: center; flex: 1; position: relative;
    }
    .stepper-step .s-circle {
      width: 2.5rem; height: 2.5rem; border-radius: 50%; display: flex; align-items: center; justify-content: center;
      font-size: 0.875rem; font-weight: 700; z-index: 2; transition: all 0.3s;
      border: 2px solid var(--border); background: var(--card); color: var(--muted-foreground);
    }
    .stepper-step.active .s-circle { border-color: var(--primary); background: linear-gradient(135deg, #6d28d9, #7c3aed, #a855f7); color: #fff; }
    .stepper-step.done .s-circle { border-color: #22c55e; background: #22c55e; color: #fff; }
    .stepper-step .s-label { font-size: 0.6875rem; margin-top: 0.375rem; color: var(--muted-foreground); font-weight: 500; }
    .stepper-step.active .s-label { color: var(--primary); font-weight: 600; }
    .stepper-step.done .s-label { color: #16a34a; }
    .stepper-line {
      flex: 1; height: 3px; background: var(--border); margin: 0 -0.25rem; margin-top: -1.25rem; z-index: 1;
    }
    .stepper-line.done { background: #22c55e; }
    @media (max-width: 480px) { .stepper-step .s-label { font-size: 0.6rem; } }

    /* Booking panels */
    .booking-section { padding: 1rem 0 4rem; }
    .booking-panel { display: none; }
    .booking-panel.active { display: block; }

    /* Section title row */
    .panel-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.5rem; flex-wrap: wrap; gap: 1rem; }
    .panel-header h2 { font-size: 1.5rem; font-weight: 700; color: var(--foreground); }
    .panel-search {
      display: flex; align-items: center; gap: 0.5rem; padding: 0.5rem 1rem;
      border: 1px solid var(--border); border-radius: 2rem; background: var(--card); min-width: 220px;
    }
    .panel-search svg { color: var(--muted-foreground); flex-shrink: 0; }
    .panel-search input {
      border: none; outline: none; font-size: 0.875rem; background: transparent;
      color: var(--foreground); width: 100%; font-family: var(--font);
    }
    .panel-search input::placeholder { color: var(--muted-foreground); }

    /* ===== Brand Grid ===== */
    .brand-grid {
      display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 1rem;
    }
    .brand-card-sel {
      display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.75rem;
      padding: 1.5rem 1rem; border: 2px solid var(--border); border-radius: 1rem;
      background: var(--card); cursor: pointer; transition: all 0.25s;
      box-shadow: 0 1px 3px rgba(0,0,0,0.04);
    }
    .brand-card-sel:hover { border-color: rgba(109,40,217,0.3); box-shadow: 0 4px 15px rgba(0,0,0,0.08); transform: translateY(-2px); }
    .brand-card-sel.selected { border-color: var(--primary); background: var(--accent); box-shadow: 0 4px 15px rgba(109,40,217,0.15); }
    .brand-card-sel img { width: 48px; height: 48px; object-fit: contain; }
    .brand-card-sel span { font-size: 0.8125rem; font-weight: 600; color: var(--foreground); }

    /* ===== Service Grid ===== */
    .service-sel-grid {
      display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 1rem;
    }
    .service-sel-card {
      display: flex; flex-direction: column; align-items: center; border: 2px solid var(--border);
      border-radius: 1rem; overflow: hidden; background: var(--card); cursor: pointer;
      transition: all 0.25s; box-shadow: 0 1px 3px rgba(0,0,0,0.04);
    }
    .service-sel-card:hover { border-color: rgba(109,40,217,0.3); box-shadow: 0 6px 20px rgba(0,0,0,0.08); transform: translateY(-2px); }
    .service-sel-card.selected { border-color: var(--primary); background: var(--accent); box-shadow: 0 4px 15px rgba(109,40,217,0.15); }
    .service-sel-card .srv-img { width: 100%; height: 120px; overflow: hidden; background: #f9f9f9; }
    .service-sel-card .srv-img img { width: 100%; height: 100%; object-fit: cover; }
    .service-sel-card .srv-name {
      padding: 0.75rem 0.5rem; font-size: 0.8125rem; font-weight: 600; text-align: center;
      color: var(--foreground); line-height: 1.3;
    }
    .service-sel-card .srv-price {
      font-size: 0.75rem; color: var(--primary); font-weight: 600; padding-bottom: 0.75rem;
    }

    /* Model selection section */
    .model-sel-section { margin-top: 2.5rem; display: none; }
    .model-sel-section.show { display: block; }
    .model-sel-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; flex-wrap: wrap; gap: 0.75rem; }
    .model-sel-header h3 { font-size: 1.25rem; font-weight: 700; color: var(--foreground); }
    .model-sel-grid {
      display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 1rem;
    }
    .model-card {
      display: flex; flex-direction: column; align-items: center; justify-content: center;
      padding: 1.25rem 0.75rem; border: 2px solid var(--border); border-radius: 1rem;
      background: var(--card); cursor: pointer; transition: all 0.25s;
      box-shadow: 0 1px 3px rgba(0,0,0,0.04); gap: 0.625rem;
    }
    .model-card:hover { border-color: rgba(109,40,217,0.3); box-shadow: 0 4px 15px rgba(0,0,0,0.08); transform: translateY(-2px); }
    .model-card.selected { border-color: var(--primary); background: var(--accent); box-shadow: 0 4px 15px rgba(109,40,217,0.15); }
    .model-card .model-icon {
      width: 56px; height: 56px; border-radius: 0.75rem; display: flex; align-items: center; justify-content: center;
      background: linear-gradient(135deg, var(--secondary), #ede9fe); color: var(--primary);
    }
    .model-card .model-thumb {
      width: 56px; height: 56px; border-radius: 0.75rem; overflow: hidden;
      border: 1px solid var(--border); background: #fff;
      display: flex; align-items: center; justify-content: center;
    }
    .model-card .model-thumb img {
      width: 100%; height: 100%; object-fit: contain; padding: 0.25rem;
    }
    .model-card .model-name {
      font-size: 0.75rem; font-weight: 600; color: var(--foreground); text-align: center; line-height: 1.3;
    }
    .model-other-input {
      margin-top: 1rem; max-width: 400px;
    }
    .model-other-input input {
      width: 100%; padding: 0.75rem 1rem; border: 1px solid var(--border); border-radius: var(--radius);
      font-size: 0.875rem; outline: none; font-family: var(--font); transition: border-color 0.2s;
    }
    .model-other-input input:focus { border-color: var(--primary); }

    /* ===== Schedule ===== */
    .schedule-section { max-width: 640px; margin: 0 auto; }
    .schedule-block { margin-bottom: 2rem; }
    .schedule-block h3 {
      font-size: 1.125rem; font-weight: 600; color: var(--foreground);
      display: flex; align-items: center; gap: 0.5rem; margin-bottom: 1rem;
    }
    .schedule-block h3 svg { color: var(--primary); }
    .date-grid { display: flex; flex-wrap: wrap; gap: 0.75rem; }
    .date-btn {
      display: flex; flex-direction: column; align-items: center; padding: 0.875rem 1.25rem;
      border: 2px solid var(--border); border-radius: 1rem; background: var(--card);
      cursor: pointer; transition: all 0.2s; min-width: 72px;
    }
    .date-btn:hover { border-color: rgba(109,40,217,0.3); box-shadow: 0 4px 12px rgba(0,0,0,0.06); }
    .date-btn.selected { border-color: var(--primary); background: var(--accent); box-shadow: 0 4px 12px rgba(109,40,217,0.12); }
    .date-btn .day-name { font-size: 0.75rem; color: var(--muted-foreground); font-weight: 500; }
    .date-btn .day-num { font-size: 1.375rem; font-weight: 800; color: var(--foreground); margin: 0.125rem 0; }
    .date-btn .day-month { font-size: 0.75rem; color: var(--muted-foreground); }
    .time-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.75rem; }
    .time-btn {
      padding: 0.75rem; border: 2px solid var(--border); border-radius: 0.75rem;
      font-size: 0.875rem; font-weight: 600; background: var(--card); color: var(--muted-foreground);
      cursor: pointer; transition: all 0.2s; text-align: center;
    }
    .time-btn:hover { border-color: rgba(109,40,217,0.3); }
    .time-btn.selected { border-color: var(--primary); background: var(--accent); color: var(--primary); }
    @media (max-width: 480px) { .time-grid { grid-template-columns: repeat(2, 1fr); } }

    /* ===== Confirm ===== */
    .confirm-section { max-width: 640px; margin: 0 auto; }
    .summary-card {
      background: linear-gradient(135deg, rgba(109,40,217,0.04), rgba(168,85,247,0.06));
      border: 1px solid var(--border); border-radius: 1rem; padding: 1.5rem; margin-bottom: 1.5rem;
    }
    .summary-card h3 {
      font-size: 1rem; font-weight: 700; margin-bottom: 1rem; color: var(--foreground);
      display: flex; align-items: center; gap: 0.5rem;
    }
    .summary-card h3 svg { color: var(--primary); }
    .summary-row {
      display: flex; justify-content: space-between; align-items: center;
      padding: 0.625rem 0; border-bottom: 1px solid rgba(0,0,0,0.06);
    }
    .summary-row:last-child { border-bottom: none; }
    .summary-row .s-label { font-size: 0.8125rem; color: var(--muted-foreground); display: flex; align-items: center; gap: 0.375rem; }
    .summary-row .s-label svg { width: 14px; height: 14px; color: var(--primary); }
    .summary-row .s-value { font-size: 0.875rem; font-weight: 600; color: var(--foreground); }
    .detail-form { margin-top: 1.5rem; }
    .detail-form h3 {
      font-size: 1rem; font-weight: 700; margin-bottom: 1rem; color: var(--foreground);
      display: flex; align-items: center; gap: 0.5rem;
    }
    .detail-form h3 svg { color: var(--primary); }
    .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1rem; }
    @media (max-width: 480px) { .form-row { grid-template-columns: 1fr; } }
    .form-row label, .detail-form > div > label { display: block; font-size: 0.8125rem; font-weight: 500; color: var(--foreground); margin-bottom: 0.375rem; }
    .form-row input, .form-row textarea, .detail-form textarea, .detail-form input {
      width: 100%; padding: 0.75rem 1rem; border: 1px solid var(--border); border-radius: var(--radius);
      font-size: 0.875rem; outline: none; font-family: var(--font); transition: border-color 0.2s;
    }
    .form-row input:focus, .detail-form textarea:focus, .detail-form input:focus { border-color: var(--primary); }
    .detail-form textarea { min-height: 70px; resize: vertical; }

    /* Nav buttons */
    .booking-nav { display: flex; justify-content: space-between; margin-top: 2.5rem; }
    .booking-nav .btn { min-width: 140px; padding: 0.75rem 1.5rem; }
    .btn:disabled { opacity: 0.4; cursor: not-allowed; }

    /* Success */
    .booking-success { display: none; text-align: center; padding: 4rem 1rem; }
    .booking-success.active { display: block; }
    .success-check {
      width: 5rem; height: 5rem; border-radius: 50%;
      background: linear-gradient(135deg, #22c55e, #16a34a);
      display: flex; align-items: center; justify-content: center; margin: 0 auto 1.5rem;
      box-shadow: 0 8px 25px rgba(34,197,94,0.3);
    }
    .success-check svg { color: #fff; }
    .booking-success h2 { font-size: 1.75rem; font-weight: 700; color: var(--foreground); margin-bottom: 0.5rem; }
    .booking-success p { color: var(--muted-foreground); font-size: 0.9375rem; margin-bottom: 2rem; max-width: 400px; margin-left: auto; margin-right: auto; }

    /* Selected summary chips at top */
    .selection-summary {
      display: flex; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 1.5rem;
    }
    .sel-chip {
      display: inline-flex; align-items: center; gap: 0.375rem; padding: 0.375rem 0.875rem;
      background: var(--accent); color: var(--primary); border-radius: 2rem;
      font-size: 0.75rem; font-weight: 600;
    }
    .sel-chip svg { width: 12px; height: 12px; }
