/* ===================================================================
   Prime Urban Services — booking flow
   Loaded on /book/* and /booking-confirmed/ only. Sits on top of
   pus-site.css (lifted from index.html) so the header, colours and
   fonts stay consistent with the rest of the site.
   =================================================================== */

.pus-book-page {
  --gold: #D4A03C;
  --gold-2: #E8BE63;
  --ink: #1A1035;
  --line: #E7E3F0;
  --soft: #F7F5FC;
}

.pus-book-page #main-content { padding-bottom: 40px; }

.pb-shell {
  max-width: 640px;
  margin: 0 auto;
  padding: 12px 14px 0;
}
@media (min-width: 700px) { .pb-shell { max-width: 700px; padding: 18px 22px 0; } }

/* ===================== step bar ===================== */
.pb-steps {
  display: flex; list-style: none; margin: 0; padding: 0 0 16px;
  border-bottom: 1px solid var(--line);
}
.pb-step { flex: 1; text-align: center; position: relative; }
.pb-step::after {
  content: ''; position: absolute; top: 15px; left: calc(50% + 19px);
  width: calc(100% - 38px); height: 3px; border-radius: 3px;
  background: var(--line);
}
.pb-step:last-child::after { display: none; }
.pb-step.done::after { background: var(--primary); }

.pb-step-dot {
  width: 31px; height: 31px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 7px; position: relative; z-index: 1;
  background: #fff; color: var(--text3);
  font-size: 12.5px; font-weight: 800;
  box-shadow: inset 0 0 0 2px var(--line);
}
.pb-step.now .pb-step-dot {
  background: var(--primary); color: #fff;
  box-shadow: 0 0 0 4px rgba(91, 46, 212, .13);
}
.pb-step.done .pb-step-dot {
  background: var(--primary); color: #fff; box-shadow: none;
}
.pb-step-lbl { font-size: 11px; font-weight: 700; color: var(--text3); }
.pb-step.now .pb-step-lbl { color: var(--primary); font-weight: 800; }
.pb-step.done .pb-step-lbl { color: var(--text2); }

/* ===================== headings ===================== */
.pb-h1 {
  text-align: center;
  font-size: 21px; font-weight: 800; letter-spacing: .4px;
  text-transform: uppercase; color: var(--ink);
  margin: 20px 0 0;
}
.pb-h1 em { font-style: normal; color: var(--primary); }
@media (min-width: 700px) { .pb-h1 { font-size: 25px; } }

/* a small ornament in place of a plain rule */
.pb-orn {
  width: 74px; height: 9px; margin: 9px auto 18px;
  background:
    radial-gradient(circle at 50% 50%, var(--gold) 0 2.6px, transparent 2.7px) center/9px 9px no-repeat,
    linear-gradient(var(--gold), var(--gold)) left 50%/26px 1.5px no-repeat,
    linear-gradient(var(--gold), var(--gold)) right 50%/26px 1.5px no-repeat;
  opacity: .85;
}

.ic { flex: 0 0 auto; vertical-align: middle; }

/* ===================== cards ===================== */
.pb-card {
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 1px 3px rgba(16, 12, 40, .04);
}

/* ---- cart item ---- */
.pb-item { display: flex; gap: 13px; padding: 13px; margin-bottom: 11px; align-items: stretch; }
.pb-item-img {
  width: 104px; flex: 0 0 104px; aspect-ratio: 5 / 4;
  align-self: flex-start;
  border-radius: 12px; overflow: hidden; background: var(--soft);
}
.pb-item-img img {
  width: 100% !important; height: 100% !important;
  object-fit: cover !important; object-position: center !important;
  display: block !important; max-width: none !important;
}
.pb-item-body { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.pb-item-name { font-size: 14.5px; font-weight: 800; line-height: 1.32; color: var(--ink); }
.pb-item-price { margin-top: 7px; font-size: 13px; }
.pb-item-price b { font-size: 17px; font-weight: 800; color: var(--primary); }
.pb-item-price s { margin-left: 7px; color: var(--text3); font-size: 13px; }

.pb-item-foot {
  margin-top: auto; padding-top: 11px;
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
}
.pb-qty { display: inline-flex; align-items: center; }
.pb-qty button {
  width: 32px; height: 32px; border: 1.5px solid var(--line);
  background: var(--soft); color: var(--primary);
  font-size: 17px; font-weight: 800; line-height: 1; cursor: pointer;
}
.pb-qty button:first-of-type { border-radius: 9px 0 0 9px; }
.pb-qty button:last-of-type  { border-radius: 0 9px 9px 0; }
.pb-qty span {
  min-width: 38px; height: 32px; display: inline-flex;
  align-items: center; justify-content: center; background: #fff;
  border-top: 1.5px solid var(--line); border-bottom: 1.5px solid var(--line);
  font-size: 14px; font-weight: 800; color: var(--ink);
}
.pb-trash {
  background: none; border: 0; padding: 6px; cursor: pointer;
  color: var(--text3); line-height: 0; border-radius: 8px;
}
.pb-trash:hover { color: #DC2626; background: #FEF2F2; }

/* ---- totals ---- */
.pb-sum { padding: 14px 15px; margin-bottom: 12px; }
.pb-sum > div {
  display: flex; justify-content: space-between; gap: 12px;
  font-size: 13.5px; color: var(--text2); padding: 5px 0;
}
.pb-sum > div > span:last-child { font-weight: 700; color: var(--ink); }
.pb-sum .pb-save, .pb-sum .pb-save > span:last-child { color: #16A34A; font-weight: 700; }
.pb-sum-total {
  border-top: 1px solid var(--line); margin-top: 7px; padding-top: 12px !important;
  font-size: 15px !important; font-weight: 800; color: var(--ink) !important;
  text-transform: uppercase; letter-spacing: .3px;
}
.pb-sum-total > span:last-child { font-size: 20px !important; color: var(--primary) !important; }

/* ===================== banners ===================== */
.pb-banner {
  display: flex; gap: 11px; align-items: flex-start;
  background: linear-gradient(180deg, #FFFBF2, #FFF7E8);
  border: 1.5px solid #F0E0BC; border-radius: 14px;
  padding: 13px 14px; margin-bottom: 12px;
  font-size: 12.5px; line-height: 1.5; color: var(--text2);
}
.pb-banner b { color: var(--ink); font-size: 13.5px; }
.pb-banner-ic {
  width: 30px; height: 30px; flex: 0 0 30px; border-radius: 9px;
  background: var(--primary); color: #fff;
  display: flex; align-items: center; justify-content: center;
}
.pb-banner.green { background: linear-gradient(180deg, #F3FCF6, #ECFAF1); border-color: #C9EBD6; }
.pb-banner.green .pb-banner-ic { background: #16A34A; }

/* ===================== trust row ===================== */
.pb-trust {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px;
  background: var(--soft); border-radius: 14px;
  padding: 13px 8px; margin-bottom: 14px;
}
.pb-trust span {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  color: var(--primary);
}
.pb-trust i {
  font-style: normal; font-size: 11px; line-height: 1.32;
  font-weight: 700; color: var(--text2);
}
.pb-trust.foot { margin-top: 16px; margin-bottom: 4px; background: #fff; border: 1.5px solid var(--line); }

/* ===================== chips and pills ===================== */
.pb-chipline {
  display: flex; align-items: center; justify-content: center;
  gap: 8px; margin-bottom: 18px;
}
.pb-chip {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12.5px; font-weight: 700; color: var(--text2);
}
.pb-chip .ic { color: var(--primary); }
.pb-chip.strong { color: var(--primary); font-weight: 800; font-size: 14px; }
.pb-dotsep { color: var(--text3); }

.pb-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.pb-pill {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--soft); border-radius: 11px;
  padding: 10px 13px; font-size: 12.5px; font-weight: 700; color: var(--text2);
}
.pb-pill .ic { color: var(--primary); }
.pb-pill.strong { color: var(--primary); font-weight: 800; }

/* ===================== section labels ===================== */
.pb-lbl {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 11.5px; font-weight: 800; letter-spacing: .9px;
  text-transform: uppercase; color: var(--text2);
  margin: 20px 0 11px;
}
.pb-lbl .ic { color: var(--primary); }

/* ===================== dates ===================== */
.pb-dates {
  display: flex; gap: 8px; overflow-x: auto;
  padding-bottom: 3px; scrollbar-width: none;
}
.pb-dates::-webkit-scrollbar { display: none; }
.pb-date {
  flex: 0 0 auto; min-width: 62px; cursor: pointer; text-align: center;
  border: 1.5px solid var(--line); border-radius: 13px;
  padding: 10px 7px; background: #fff;
  transition: border-color .15s, background .15s;
}
.pb-date input { position: absolute; opacity: 0; pointer-events: none; }
.pb-date-dow { display: block; font-size: 10px; font-weight: 700; letter-spacing: .5px; color: var(--text3); }
.pb-date-num { display: block; font-size: 20px; font-weight: 800; line-height: 1.15; color: var(--ink); }
.pb-date-mon { display: block; font-size: 10px; font-weight: 700; letter-spacing: .5px; color: var(--text3); }
.pb-date:hover { border-color: rgba(91, 46, 212, .35); }
/* the server also writes .on, so selection survives browsers without :has() */
.pb-date.on { background: var(--primary); border-color: var(--primary); }
.pb-date.on .pb-date-dow,
.pb-date.on .pb-date-num,
.pb-date.on .pb-date-mon { color: #fff; }

/* ===================== slots ===================== */
.pb-slots { display: grid; grid-template-columns: repeat(2, 1fr); gap: 9px; }
@media (min-width: 700px) { .pb-slots { grid-template-columns: repeat(3, 1fr); } }
.pb-slot {
  display: flex; align-items: center; gap: 8px;
  cursor: pointer; padding: 13px 12px;
  border: 1.5px solid var(--line); border-radius: 13px; background: #fff;
  font-size: 12.5px; font-weight: 700; color: var(--text2);
  transition: border-color .15s, background .15s, color .15s;
}
.pb-slot input { position: absolute; opacity: 0; pointer-events: none; }
.pb-slot .ic { color: var(--gold); }
.pb-slot:hover { border-color: rgba(91, 46, 212, .35); color: var(--ink); }
.pb-slot.on { background: var(--primary); border-color: var(--primary); color: #fff; }
.pb-slot.on .ic { color: #fff; }

/* ===================== note ===================== */
.pb-note {
  display: flex; gap: 11px; align-items: flex-start;
  background: var(--soft); border-radius: 14px;
  padding: 14px; margin-top: 18px;
  font-size: 12.5px; line-height: 1.55; color: var(--text2);
}
.pb-note-ic {
  width: 30px; height: 30px; flex: 0 0 30px; border-radius: 50%;
  background: #fff; color: var(--primary);
  display: flex; align-items: center; justify-content: center;
}

/* ===================== form ===================== */
.pb-form { margin-top: 2px; }
.pb-field { margin-bottom: 14px; }
.pb-field > label {
  display: block; font-size: 12.5px; font-weight: 700;
  color: var(--ink); margin-bottom: 7px;
}
.pb-input {
  display: flex; align-items: center; gap: 9px;
  border: 1.5px solid var(--line); border-radius: 12px;
  background: #fff; padding: 0 13px;
  transition: border-color .15s, box-shadow .15s;
}
.pb-input .ic { color: var(--text3); }
.pb-input.area { align-items: flex-start; padding-top: 12px; }
.pb-input input, .pb-input textarea {
  flex: 1; min-width: 0; font: inherit; font-size: 14px; color: var(--ink);
  border: 0; outline: none; background: none; padding: 13px 0;
}
.pb-input.area textarea { resize: vertical; min-height: 78px; padding-top: 0; }
.pb-input:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(91, 46, 212, .10);
}
.pb-input:focus-within .ic { color: var(--primary); }
.pb-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

/* ===================== buttons ===================== */
.pb-nav { display: flex; gap: 10px; margin: 20px 0 6px; }
.pb-btn {
  flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: inherit; font-size: 14px; font-weight: 800; text-decoration: none;
  padding: 14px 16px; border-radius: 50px; cursor: pointer;
  background: linear-gradient(135deg, #5B2ED4, #7B4FE0);
  color: #fff; border: 1.5px solid transparent;
  box-shadow: 0 4px 14px rgba(91, 46, 212, .22);
}
.pb-btn:hover { filter: brightness(1.04); }
.pb-btn.ghost {
  background: #fff; color: var(--primary);
  border-color: var(--primary); box-shadow: none;
  flex: 0 0 auto; min-width: 118px;
}
.pb-btn.gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  color: var(--ink); box-shadow: 0 4px 14px rgba(212, 160, 60, .28);
}
.pb-btn.wide { width: 100%; display: flex; margin-bottom: 10px; }

/* ===================== errors, empty, done ===================== */
.pb-err {
  margin: 16px 0 0; padding: 13px 14px; border-radius: 12px;
  background: #FEF2F2; border: 1.5px solid #FECACA; color: #B91C1C;
  font-size: 13px; line-height: 1.5;
}

.pb-empty { text-align: center; padding: 34px 20px; }
.pb-empty-ic {
  width: 56px; height: 56px; border-radius: 50%; margin: 0 auto 16px;
  background: var(--soft); color: var(--primary);
  display: flex; align-items: center; justify-content: center;
}
.pb-empty p { font-size: 14px; color: var(--text2); margin-bottom: 18px; }
.pb-empty .pb-btn { flex: 0 0 auto; display: inline-flex; padding: 13px 28px; }

.pb-done { text-align: center; padding: 16px 0 2px; }
.pb-done-tick {
  width: 58px; height: 58px; border-radius: 50%;
  background: #DCFCE7; margin: 0 auto 14px;
  display: flex; align-items: center; justify-content: center;
}
.pb-done-tick::after {
  content: ''; width: 19px; height: 9px;
  border-left: 3px solid #16A34A; border-bottom: 3px solid #16A34A;
  transform: rotate(-45deg) translate(2px, -2px);
}

.pb-recap {
  background: #fff; border: 1.5px solid var(--line); border-radius: 16px;
  padding: 14px 15px; margin-top: 12px;
}
.pb-recap-row {
  display: flex; justify-content: space-between; gap: 14px;
  font-size: 13.5px; color: var(--text2); padding: 6px 0; align-items: baseline;
}
.pb-recap-row > span:first-child { flex: 0 0 auto; color: var(--text3); font-size: 12.5px; }
.pb-recap-row > span:last-child { flex: 1; text-align: right; color: var(--ink); font-weight: 600; }

/* ===================== narrow phones ===================== */
@media (max-width: 400px) {
  .pb-h1 { font-size: 19px; }
  .pb-item { padding: 11px; gap: 10px; }
  .pb-item-img { width: 84px; flex: 0 0 84px; }
  .pb-item-name { font-size: 13.5px; }
  .pb-item-price b { font-size: 15.5px; }
  .pb-row { grid-template-columns: 1fr; gap: 0; }
  .pb-btn { font-size: 13.5px; padding: 13px 12px; }
  .pb-btn.ghost { min-width: 96px; }
  .pb-trust i { font-size: 10px; }
  .pb-slot { font-size: 11.5px; padding: 12px 9px; }
  .pb-sum-total > span:last-child { font-size: 18px !important; }
}

@media (prefers-reduced-motion: reduce) {
  .pb-date, .pb-slot, .pb-btn, .pb-input { transition: none; }
}

/* ===================================================================
   SELECTION FALLBACK
   pb-select-js paints .on immediately. These do the same in CSS where
   the browser supports :has(), so the state is right even in the
   moment before the script runs.
   =================================================================== */
.pb-date:has(input:checked) { background: var(--primary); border-color: var(--primary); }
.pb-date:has(input:checked) .pb-date-dow,
.pb-date:has(input:checked) .pb-date-num,
.pb-date:has(input:checked) .pb-date-mon { color: #fff; }
.pb-slot:has(input:checked) { background: var(--primary); border-color: var(--primary); color: #fff; }
.pb-slot:has(input:checked) .ic { color: #fff; }

/* A tap should feel like it registered even before the class lands */
.pb-date:active, .pb-slot:active { transform: scale(.98); }

/* ===================================================================
   TYPE
   The page was inheriting whatever the site stylesheet set, which left
   the headings light and the numbers thin against the rest of the UI.
   =================================================================== */
.pus-book-page,
.pus-book-page input,
.pus-book-page textarea,
.pus-book-page button {
  font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI',
               Roboto, 'Helvetica Neue', Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Headings use the display face the rest of the site uses */
.pb-h1 {
  font-family: 'Poppins', 'Open Sans', sans-serif;
  font-weight: 700;
  letter-spacing: .2px;
}
.pb-h1 em { font-weight: 700; }

/* Prices read as figures, not as body text */
.pb-item-price b,
.pb-sum-total > span:last-child,
.pb-date-num {
  font-family: 'Poppins', 'Open Sans', sans-serif;
  font-feature-settings: 'tnum' 1;
  letter-spacing: -.2px;
}

/* Labels: slightly smaller and calmer than the values they describe */
.pb-lbl { font-size: 11px; letter-spacing: .8px; font-weight: 700; }
.pb-step-lbl { letter-spacing: .1px; }
.pb-field > label { font-size: 12px; font-weight: 700; letter-spacing: .1px; }

/* Body copy a touch more open */
.pb-banner, .pb-note { line-height: 1.55; }
.pb-item-name { letter-spacing: -.1px; }
.pb-sum > div { font-size: 13px; }
.pb-slot { letter-spacing: .1px; }

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

.pb-done { text-align: center; padding: 22px 0 4px; }

.pb-done-ring {
  width: 78px; height: 78px; border-radius: 50%;
  margin: 0 auto 16px;
  background: #E9F9EF;
  display: flex; align-items: center; justify-content: center;
}
.pb-done-tick {
  width: 54px; height: 54px; border-radius: 50%;
  background: linear-gradient(135deg, #22C55E, #16A34A);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 14px rgba(22, 163, 74, .28);
}
.pb-done-tick::after {
  content: ''; width: 18px; height: 9px;
  border-left: 3px solid #fff; border-bottom: 3px solid #fff;
  transform: rotate(-45deg) translate(2px, -2px);
}

.pb-h1.wide { letter-spacing: -.2px; text-transform: none; font-size: 24px; }
@media (min-width: 700px) { .pb-h1.wide { font-size: 29px; } }
.pb-done-sub { font-size: 13.5px; color: var(--text2); margin: 0 0 16px; }

/* ---- booking id ---- */
.pb-idpill {
  display: inline-flex; align-items: center; gap: 10px;
  background: #fff; border: 1.5px solid var(--line);
  border-radius: 50px; padding: 9px 9px 9px 16px;
  box-shadow: 0 1px 3px rgba(16, 12, 40, .05);
  max-width: 100%;
}
.pb-idpill-lbl { font-size: 12px; color: var(--primary); font-weight: 700; }
.pb-idpill b {
  font-family: 'Poppins', sans-serif; font-size: 14px;
  letter-spacing: .3px; color: var(--ink); font-weight: 800;
  overflow: hidden; text-overflow: ellipsis;
}
.pb-copy {
  display: inline-flex; align-items: center; gap: 5px;
  background: var(--soft); border: 0; border-radius: 50px;
  padding: 7px 12px; cursor: pointer;
  font: inherit; font-size: 12px; font-weight: 700; color: var(--primary);
}
.pb-copy:hover { background: #EDE7FB; }

/* ---- service card ---- */
.pb-svc { display: flex; gap: 14px; padding: 14px; margin-top: 16px; align-items: flex-start; }
.pb-svc-img {
  width: 116px; flex: 0 0 116px; aspect-ratio: 5 / 4;
  border-radius: 12px; overflow: hidden; background: var(--soft);
}
.pb-svc-img img {
  width: 100% !important; height: 100% !important;
  object-fit: cover !important; display: block !important; max-width: none !important;
}
.pb-svc-body { flex: 1; min-width: 0; }
.pb-svc-name {
  font-family: 'Poppins', sans-serif;
  font-size: 16px; font-weight: 700; line-height: 1.3; color: var(--ink);
}
.pb-svc-cat { font-size: 12.5px; color: var(--text2); margin-top: 3px; }

.pb-facts {
  margin-top: 12px; border: 1px solid var(--line); border-radius: 12px;
  overflow: hidden;
}
.pb-fact {
  display: grid; grid-template-columns: 30px 1fr; gap: 4px 10px;
  align-items: start; padding: 11px 12px;
  border-bottom: 1px solid var(--line);
}
.pb-fact:last-child { border-bottom: 0; }
.pb-fact-ic { grid-row: span 2; color: var(--primary); padding-top: 2px; }
.pb-fact-lbl { font-size: 11.5px; color: var(--text3); font-weight: 700; }
.pb-fact-val { font-size: 13px; color: var(--ink); font-weight: 600; line-height: 1.5; }

@media (max-width: 480px) {
  .pb-svc { flex-direction: column; }
  .pb-svc-img { width: 100%; flex: none; aspect-ratio: 16 / 9; }
}

/* ---- price summary ---- */
.pb-price { padding: 15px; margin-top: 12px; }
.pb-price-h {
  display: flex; align-items: center; gap: 9px;
  font-family: 'Poppins', sans-serif;
  font-size: 15.5px; font-weight: 700; color: var(--ink); margin-bottom: 12px;
}
.pb-price-ic {
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--soft); color: var(--primary);
  display: flex; align-items: center; justify-content: center;
}
.pb-price-row {
  display: flex; justify-content: space-between; gap: 12px;
  font-size: 13px; color: var(--text2); padding: 5px 0;
}
.pb-price-row > span:last-child { font-weight: 700; color: var(--ink); }
.pb-price-total {
  display: flex; justify-content: space-between; gap: 12px; align-items: baseline;
  border-top: 1px dashed var(--line); margin-top: 9px; padding: 13px 0 4px;
  font-size: 13.5px; font-weight: 700; color: var(--primary);
}
.pb-price-total > span:last-child {
  font-family: 'Poppins', sans-serif;
  font-size: 22px; font-weight: 800; color: var(--primary);
}
.pb-banner.flat { margin: 12px 0 0; }

/* ---- trust, four across ---- */
.pb-trust.four { grid-template-columns: repeat(2, 1fr); gap: 12px 6px; margin-top: 12px; }
@media (min-width: 560px) { .pb-trust.four { grid-template-columns: repeat(4, 1fr); } }

/* ---- secondary actions ---- */
.pb-actions {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px;
  margin-top: 12px;
}
.pb-act {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  background: #fff; border: 1.5px solid var(--line); border-radius: 12px;
  padding: 12px 8px; cursor: pointer;
  font: inherit; font-size: 12px; font-weight: 700; color: var(--primary);
}
.pb-act:hover { border-color: rgba(91, 46, 212, .35); background: var(--soft); }
@media (max-width: 420px) {
  .pb-actions { grid-template-columns: 1fr; }
  .pb-act { padding: 11px; }
}

.pb-signoff {
  text-align: center; margin: 18px 0 4px;
  font-size: 12.5px; color: var(--text3);
}

/* ---- printing a receipt ---- */
@media print {
  #app-header, .pb-steps, .pb-nav, .pb-actions, .pb-trust, .pb-note,
  .pb-copy, .pb-signoff, .pb-orn { display: none !important; }
  .pb-shell { max-width: none; padding: 0; }
  .pb-card, .pb-facts { border-color: #ccc !important; box-shadow: none !important; }
  .pb-done-ring { background: none; }
  body { background: #fff; }
}


/* ===================================================================
   MY BOOKINGS
   Wider than the booking steps — it is a list to scan, not a form to
   fill in, so the column opens up on a laptop.
   =================================================================== */

.pus-book-page.wide .pb-shell { max-width: 1080px; }

.pb-mb-top {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 16px; margin: 18px 0 16px; flex-wrap: wrap;
}
.pb-h1.left { text-align: left; text-transform: none; margin: 0; letter-spacing: -.3px; }
.pb-mb-sub { font-size: 13px; color: var(--text2); margin: 5px 0 0; }
.pb-btn.narrow { flex: 0 0 auto; width: auto; padding: 12px 18px; font-size: 13px; }

.pb-lookup { max-width: 380px; margin: 6px auto 0; }
.pb-linkbtn {
  background: none; border: 0; padding: 0; cursor: pointer;
  font: inherit; font-size: 12.5px; font-weight: 700; color: var(--primary);
}
.pb-mine-foot { text-align: center; margin: 14px 0 4px; }

/* ---- counters ---- */
.pb-stats {
  display: grid; grid-template-columns: repeat(2, 1fr);
  padding: 4px; margin-bottom: 12px;
}
@media (min-width: 760px) { .pb-stats { grid-template-columns: repeat(4, 1fr); } }
.pb-stat {
  display: grid; grid-template-columns: 44px 1fr; grid-template-rows: auto auto auto;
  gap: 0 12px; padding: 14px 12px; align-items: center;
}
@media (min-width: 760px) { .pb-stat + .pb-stat { border-left: 1px solid var(--line); } }
.pb-stat-ic {
  grid-row: span 3; width: 44px; height: 44px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.pb-stat-ic.v1 { background: #EDE7FB; color: var(--primary); }
.pb-stat-ic.v2 { background: #DCFCE7; color: #16A34A; }
.pb-stat-ic.v3 { background: #DBEAFE; color: #2563EB; }
.pb-stat-ic.v4 { background: #FFEDD5; color: #EA580C; }
.pb-stat b {
  font-family: 'Poppins', sans-serif;
  font-size: 21px; font-weight: 800; line-height: 1.1; color: var(--ink);
}
.pb-stat > span { font-size: 12.5px; font-weight: 700; color: var(--ink); }
.pb-stat i { font-style: normal; font-size: 11px; color: var(--text3); }

/* ---- filter bar ---- */
.pb-filters {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; padding: 8px; margin-bottom: 12px; flex-wrap: wrap;
}
.pb-filters nav {
  display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; flex: 1;
}
.pb-filters nav::-webkit-scrollbar { display: none; }
.pb-ftab {
  display: inline-flex; align-items: center; gap: 7px; white-space: nowrap;
  padding: 10px 14px; border-radius: 10px; text-decoration: none;
  font-size: 12.5px; font-weight: 700; color: var(--text2);
}
.pb-ftab:hover { background: var(--soft); }
.pb-ftab.on { background: var(--primary); color: #fff; }
.pb-ftab.on .ic { color: #fff; }
.pb-sort {
  flex: 0 0 auto; text-decoration: none;
  font-size: 12px; font-weight: 700; color: var(--text2);
  border: 1.5px solid var(--line); border-radius: 10px; padding: 9px 13px;
}
.pb-sort:hover { border-color: rgba(91, 46, 212, .35); color: var(--primary); }

/* ---- a booking row ---- */
.pb-bk {
  display: grid; grid-template-columns: 116px 1fr; gap: 14px;
  padding: 14px; margin-bottom: 11px; align-items: start;
}
@media (min-width: 820px) { .pb-bk { grid-template-columns: 150px 1fr 190px; } }

.pb-bk-img {
  width: 100%; aspect-ratio: 5 / 4; border-radius: 12px;
  overflow: hidden; background: var(--soft);
}
.pb-bk-img img {
  width: 100% !important; height: 100% !important;
  object-fit: cover !important; display: block !important; max-width: none !important;
}

.pb-bk-main { min-width: 0; }
.pb-bk-name {
  font-family: 'Poppins', sans-serif;
  font-size: 15px; font-weight: 700; line-height: 1.3; color: var(--ink);
}
.pb-bk-line {
  display: flex; align-items: flex-start; gap: 7px;
  font-size: 12.5px; color: var(--text2); margin-top: 7px; line-height: 1.45;
}
.pb-bk-line .ic { color: var(--text3); margin-top: 2px; }
.pb-bk-amt {
  font-family: 'Poppins', sans-serif;
  font-size: 17px; font-weight: 800; color: var(--primary); margin-top: 9px;
}

.pb-bk-side {
  grid-column: 1 / -1;
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  border-top: 1px solid var(--line); padding-top: 11px;
}
@media (min-width: 820px) {
  .pb-bk-side {
    grid-column: auto; border-top: 0; padding-top: 2px;
    flex-direction: column; align-items: flex-end; gap: 6px;
  }
}
.pb-badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 800; letter-spacing: .2px;
  padding: 6px 11px; border-radius: 50px;
}
.pb-badge.upcoming  { background: #DBEAFE; color: #1D4ED8; }
.pb-badge.completed { background: #DCFCE7; color: #15803D; }
.pb-badge.cancelled { background: #FEE2E2; color: #B91C1C; }
.pb-bk-idlbl { font-size: 11px; color: var(--text3); font-weight: 700; }
.pb-bk-id { font-size: 12px; color: var(--ink); font-weight: 700; letter-spacing: .3px; }

/* ---- help ---- */
.pb-help { display: flex; gap: 13px; padding: 16px; margin-top: 14px; align-items: flex-start; }
.pb-help b { font-size: 14px; color: var(--ink); }
.pb-help p { font-size: 12.5px; color: var(--text2); margin: 4px 0 11px; }

.pb-empty.small { padding: 26px 20px; }

@media (max-width: 400px) {
  .pb-mb-top { gap: 12px; }
  .pb-btn.narrow { width: 100%; }
  .pb-stat { grid-template-columns: 38px 1fr; gap: 0 10px; padding: 12px 8px; }
  .pb-stat-ic { width: 38px; height: 38px; }
  .pb-stat b { font-size: 18px; }
  .pb-bk { grid-template-columns: 92px 1fr; gap: 11px; padding: 12px; }
  .pb-bk-name { font-size: 14px; }
}

/* ===================================================================
   BOTTOM NAV
   The app builds its own; these pages render the markup server-side.
   pus-site.css already styles #bottom-nav, so only the additions the
   app does not have are needed here.
   =================================================================== */
.pus-book-page #bottom-nav .bnav-item { text-decoration: none; }
.pus-book-page #bottom-nav .bnav-icon-wrap { position: relative; }
.bnav-cart-count {
  position: absolute; top: -5px; right: -9px;
  min-width: 17px; height: 17px; padding: 0 4px;
  border-radius: 50px; background: #E11D48; color: #fff;
  font-size: 10.5px; font-weight: 800; font-style: normal;
  line-height: 17px; text-align: center; box-shadow: 0 0 0 2px #fff;
}
/* Room above the fixed bar */
.pus-book-page #main-content { padding-bottom: 92px; }
@media (min-width: 1024px) { .pus-book-page #main-content { padding-bottom: 48px; } }

/* ===================================================================
   PROFILE
   =================================================================== */

.pb-okmsg {
  display: flex; align-items: center; gap: 8px;
  margin-top: 16px; padding: 12px 14px; border-radius: 12px;
  background: #ECFDF5; border: 1.5px solid #A7F3D0; color: #15803D;
  font-size: 13px; font-weight: 700;
}

/* ---- header card ---- */
.pb-pcard {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  background: linear-gradient(135deg, #4B21C4, #7B4FE0);
  border-radius: 18px; padding: 22px 20px; margin-top: 18px;
  box-shadow: 0 6px 20px rgba(91, 46, 212, .22);
}
.pb-avatar {
  width: 76px; height: 76px; flex: 0 0 76px; border-radius: 50%;
  background: #EDE7FB; color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Poppins', sans-serif; font-size: 30px; font-weight: 800;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, .55);
}
.pb-pinfo { flex: 1; min-width: 0; }
.pb-pname {
  font-family: 'Poppins', sans-serif;
  font-size: 19px; font-weight: 700; color: #fff; line-height: 1.25;
  overflow: hidden; text-overflow: ellipsis;
}
.pb-pphone { font-size: 13.5px; color: rgba(255, 255, 255, .88); margin-top: 3px; }
.pb-pcity {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 10px;
  background: rgba(255, 255, 255, .18); color: #fff;
  border-radius: 50px; padding: 6px 12px; font-size: 12px; font-weight: 600;
}
.pb-pedit {
  flex: 0 0 auto; display: inline-flex; align-items: center; gap: 7px;
  border: 1.5px solid rgba(255, 255, 255, .55); border-radius: 50px;
  padding: 10px 16px; text-decoration: none;
  font-size: 12.5px; font-weight: 700; color: #fff;
}
.pb-pedit:hover { background: rgba(255, 255, 255, .14); }
@media (max-width: 520px) {
  .pb-pcard { padding: 18px 16px; gap: 13px; }
  .pb-avatar { width: 60px; height: 60px; flex: 0 0 60px; font-size: 24px; }
  .pb-pname { font-size: 17px; }
  .pb-pedit { width: 100%; justify-content: center; }
}

/* ---- edit form ---- */
.pb-editform { padding: 16px; margin-top: 12px; }
.pb-opt { font-weight: 600; color: var(--text3); font-size: 11px; }
.pb-hint { font-size: 12px; color: var(--text3); line-height: 1.5; margin: 2px 0 0; }
.pb-hint.centred { text-align: center; margin: 16px 0 4px; }

/* ---- menu ---- */
.pb-menu { margin-top: 12px; overflow: hidden; padding: 0; }
.pb-mrow {
  display: flex; align-items: center; gap: 14px; width: 100%;
  padding: 15px 16px; text-decoration: none; text-align: left;
  border: 0; border-bottom: 1px solid var(--line); background: #fff;
  font: inherit; cursor: pointer;
}
.pb-mrow:last-child, .pb-mrow-form:last-child .pb-mrow { border-bottom: 0; }
.pb-mrow:hover { background: var(--soft); }
.pb-mrow-form { margin: 0; }

.pb-mic {
  width: 42px; height: 42px; flex: 0 0 42px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
}
.pb-mic.v1 { background: #EDE7FB; color: var(--primary); }
.pb-mic.v2 { background: #FCE7F3; color: #DB2777; }
.pb-mic.v3 { background: #DCFCE7; color: #16A34A; }
.pb-mic.v4 { background: #DBEAFE; color: #2563EB; }
.pb-mic.v5 { background: #FEE2E2; color: #DC2626; }

.pb-mtxt { flex: 1; min-width: 0; }
.pb-mtxt b {
  display: block; font-size: 14.5px; font-weight: 700;
  color: var(--ink); line-height: 1.3;
}
.pb-mtxt i {
  display: block; font-style: normal; font-size: 12.5px;
  color: var(--text3); margin-top: 2px;
}
.pb-mrow.danger .pb-mtxt b { color: #DC2626; }

.pb-mchev {
  flex: 0 0 auto; width: 8px; height: 8px;
  border-top: 2px solid var(--text3); border-right: 2px solid var(--text3);
  transform: rotate(45deg);
}

@media (max-width: 400px) {
  .pb-mrow { padding: 13px 13px; gap: 12px; }
  .pb-mic { width: 38px; height: 38px; flex: 0 0 38px; }
  .pb-mtxt b { font-size: 13.5px; }
}


/* ===================================================================
   SIGN IN
   Two panels on a laptop, stacked on a phone.

   An earlier version drew a tricolour ribbon and a skyline in CSS. The
   ribbon cut across the heading and the skyline read as a row of half
   circles, so both are gone. A quiet gradient and a thin tricolour rule
   carry the same warmth without fighting the text.
   =================================================================== */

.pus-book-page.signin .pb-shell { max-width: 1080px; }

.pb-signin { display: grid; gap: 18px; margin-top: 16px; }
@media (min-width: 900px) {
  .pb-signin { grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; }
}

/* ---- left panel ---- */
.pb-signin-left {
  position: relative; overflow: hidden;
  border-radius: 20px; padding: 30px 24px;
  background: linear-gradient(155deg, #FBF7FF 0%, #F7F4FE 55%, #FFF9F1 100%);
  border: 1.5px solid var(--line);
}
@media (min-width: 900px) { .pb-signin-left { padding: 38px 34px; } }

/* a thin tricolour rule, well clear of the words */
.pb-signin-left::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, #FF9933 0 33.3%, #FFFFFF 33.3% 66.6%, #138808 66.6%);
}

.pb-namaste {
  margin: 6px 0 6px;
  font-size: 13px; font-weight: 700; letter-spacing: 1.2px;
  text-transform: uppercase; color: var(--gold);
}
.pb-welcome {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  font-size: 30px; font-weight: 700; line-height: 1.18;
  letter-spacing: -.6px; color: var(--ink);
}
.pb-welcome em { font-style: normal; color: var(--primary); }
@media (min-width: 900px) { .pb-welcome { font-size: 36px; } }

.pb-welcome-sub {
  margin: 12px 0 0; max-width: 38ch;
  font-size: 13.5px; line-height: 1.7; color: var(--text2);
}
.pb-welcome-sub b { color: var(--primary); font-weight: 700; }

.pb-signin-points { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 16px; }
.pb-signin-points li {
  display: grid; grid-template-columns: 44px 1fr; gap: 2px 14px; align-items: center;
}
.pb-signin-points span {
  grid-row: span 2; width: 44px; height: 44px; border-radius: 13px;
  background: #fff; color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 10px rgba(16, 12, 40, .07);
}
.pb-signin-points b { font-size: 14px; font-weight: 700; color: var(--ink); line-height: 1.3; }
.pb-signin-points i { font-style: normal; font-size: 12.5px; color: var(--text3); }

/* ---- the card ---- */
.pb-signin-card {
  background: #fff; border: 1.5px solid var(--line); border-radius: 20px;
  padding: 28px 22px; text-align: center;
  box-shadow: 0 8px 30px rgba(16, 12, 40, .07);
}
@media (min-width: 900px) { .pb-signin-card { padding: 34px 30px; } }

.pb-signin-ic {
  width: 54px; height: 54px; border-radius: 50%; margin: 0 auto 14px;
  background: linear-gradient(135deg, #5B2ED4, #7B4FE0); color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 14px rgba(91, 46, 212, .26);
}
.pb-signin-card h2 {
  font-family: 'Poppins', sans-serif;
  font-size: 19px; font-weight: 700; color: var(--ink);
  margin: 0; letter-spacing: -.2px;
}
.pb-signin-card .pb-orn { margin: 10px auto 10px; }
.pb-signin-lede { font-size: 12.5px; color: var(--text2); margin: 0 0 20px; }
.pb-signin-card .pb-field { text-align: left; margin-bottom: 16px; }
.pb-signin-note {
  font-size: 11.5px; color: var(--text3); line-height: 1.6; margin: 16px 0 0;
}

/* ---- strip beneath ---- */
.pb-signin-strip {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px;
  background: #fff; border: 1.5px solid var(--line);
  border-radius: 16px; padding: 18px 16px; margin-top: 18px;
}
@media (min-width: 760px) { .pb-signin-strip { grid-template-columns: repeat(4, 1fr); } }
.pb-signin-strip span {
  display: grid; grid-template-columns: 34px 1fr; gap: 1px 10px; align-items: center;
  color: var(--primary);
}
.pb-signin-strip span > svg { grid-row: span 2; }
.pb-signin-strip b { font-size: 12.5px; font-weight: 700; color: var(--ink); }
.pb-signin-strip i { font-style: normal; font-size: 11px; color: var(--text3); line-height: 1.4; }

@media (max-width: 400px) {
  .pb-signin-left { padding: 24px 18px; }
  .pb-welcome { font-size: 25px; }
  .pb-signin-card { padding: 24px 18px; }
  .pb-signin-points span { width: 40px; height: 40px; }
}

/* ===================================================================
   COUPON
   =================================================================== */

.pb-coupon { padding: 13px 14px; margin-bottom: 12px; }
.pb-cpform { display: flex; gap: 9px; align-items: center; }
.pb-cpform .pb-input { flex: 1; margin: 0; }
.pb-cpapply {
  flex: 0 0 auto; font: inherit; font-size: 13px; font-weight: 800;
  padding: 12px 20px; border-radius: 50px; cursor: pointer;
  background: var(--primary); color: #fff; border: 0;
}
.pb-cpapply:hover { filter: brightness(1.05); }

.pb-cpon { display: flex; align-items: center; gap: 11px; }
.pb-cptick {
  width: 30px; height: 30px; flex: 0 0 30px; border-radius: 50%;
  background: #16A34A; color: #fff;
  display: flex; align-items: center; justify-content: center;
}
.pb-cpon > span:nth-child(2) { flex: 1; font-size: 13px; color: var(--text2); }
.pb-cpon b { color: var(--ink); font-weight: 800; letter-spacing: .3px; }
.pb-cpon i { display: block; font-style: normal; font-size: 12px; color: #16A34A; font-weight: 700; }
.pb-cpx {
  background: none; border: 0; padding: 6px; cursor: pointer;
  font: inherit; font-size: 12px; font-weight: 700; color: var(--text3);
}
.pb-cpx:hover { color: #DC2626; }

.pb-okmsg {
  display: flex; align-items: center; gap: 8px;
  margin-top: 14px; padding: 12px 14px; border-radius: 12px;
  background: #ECFDF5; border: 1.5px solid #A7F3D0; color: #15803D;
  font-size: 13px; font-weight: 700;
}

@media (max-width: 400px) {
  .pb-cpform { flex-direction: column; align-items: stretch; }
  .pb-cpapply { width: 100%; }
}
