/* ================================================================
   LUXE BOOKINGS — Frontend Styles
   Primary:   #3F2716 (dark espresso brown)
   Secondary: #D9B991 (warm champagne gold)
   Button Normal BG:  #BE975E  Border: #3F2716
   Button Hover BG:   #3F2716  Border: #BE975E
   Fonts: bodoni-moda 700 (headings), minion-pro 400 (body)
================================================================ */

/* ── CSS Custom Properties ── */
:root,
.lb-wrap {
  --lb-primary:      #3F2716;
  --lb-primary-dark: #2B1A0E;
  --lb-primary-mid:  #5C3A20;
  --lb-gold:         #BE975E;
  --lb-gold-dark:    #C4A070;
  --lb-gold-light:   #EAD4B0;
  --lb-cream:        #FAF6F1;
  --lb-cream-dark:   #F0E8DC;
  --lb-ink:          #1C0F05;
  --lb-text:         #3F2716;
  --lb-muted:        #8A7060;
  --lb-border:       #dedede;
  --lb-border-hover: #BE975E;
  --lb-btn-bg:       #BE975E;
  --lb-btn-hover-bg: #3F2716;
  --lb-white:        #FFFFFF;
  --lb-error:        #C0392B;
  --lb-success:      #27AE60;
  --lb-radius:       6px;
  --lb-shadow:       0 2px 16px rgba(63,39,22,.10);
  --lb-shadow-lg:    0 8px 40px rgba(63,39,22,.16);
  --lb-font-head:    'bodoni-moda', 'Bodoni 72', Georgia, serif;
  --lb-font-body:    'minion-pro', 'Minion Pro', Georgia, 'Times New Roman', serif;
  --lb-transition:   200ms ease;
}

/* Base */
.lb-wrap * { box-sizing: border-box; }
.lb-wrap { font-family: var(--lb-font-body); color: var(--lb-text); line-height: 1.65; }
.lb-wrap h1, .lb-wrap h2, .lb-wrap h3, .lb-wrap h4 {
  font-family: var(--lb-font-head);
  color: var(--lb-ink);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 .5em;
}

/* ---- Step Indicator ---- */
.lb-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin: 0 0 40px;
  padding: 0;
}
.lb-step {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--lb-muted);
  font-family: var(--lb-font-body);
  font-size: 13px;
  position: relative;
}
.lb-step + .lb-step::before {
  content: '';
  width: 48px;
  height: 1px;
  background: var(--lb-border);
  margin: 0 12px;
}
.lb-step__num {
  width: 32px; height: 32px;
  border-radius: 50%;
  
  display: flex; align-items: center; justify-content: center;
  font-family: var(--lb-font-head);
  font-size: 14px;
  background: var(--lb-white);
  transition: var(--lb-transition);
}
.lb-step--active .lb-step__num {
  background: var(--lb-btn-bg);
 
  color: var(--lb-white);
}
.lb-step--active { color: var(--lb-ink); }
.lb-step--done .lb-step__num {
  background: var(--lb-primary);
  
  color: var(--lb-white);
}

/* ---- Panels ---- */
.lb-panel { display: none; animation: lbFadeIn .35s ease; }
.lb-panel--active { display: block; }
@keyframes lbFadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.lb-panel__header { margin-bottom: 32px; }
.lb-panel__title  { font-size: clamp(24px, 3vw, 34px); }
.lb-panel__subtitle { color: var(--lb-muted); font-size: 15px; margin: 4px 0 0; }
.lb-panel__footer { margin-top: 32px; border-top: 1px solid var(--lb-border); padding-top: 24px; }

/* ---- Category Title ---- */
.lb-category { margin-bottom: 48px; }
.lb-category__title {
  font-family: var(--lb-font-head);
  font-size: 20px;
  color: var(--lb-primary);
  border-bottom: 1px solid var(--lb-border);
  padding-bottom: 12px;
  margin-bottom: 24px;
  letter-spacing: .04em;
  text-transform: uppercase;
}

/* ---- Service Cards ---- */
.lb-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

.lb-service-card__image img{
  height: 300px !important;
  object-fit: cover !important;
  border-radius: 15px !important;
}
.lb-service-card {
  background: var(--lb-white);
  border: 1px solid #dedede;
  padding: 15px;
  border-radius: 15px;
  overflow: hidden;
  transition: box-shadow var(--lb-transition), transform var(--lb-transition), border-color var(--lb-transition);
  cursor: pointer;
  display: flex;
  flex-direction: column;
}
.lb-service-card:hover { box-shadow: var(--lb-shadow-lg); transform: translateY(-2px); border-color: var(--lb-border-hover); }
.lb-service-card.is-selected {
  border-color: var(--lb-btn-bg);
  box-shadow: 0 0 0 2px var(--lb-btn-bg);
}
.lb-service-card__image img { width: 100%; height: 180px; object-fit: cover; display: block; }
.lb-service-card__body { padding: 27px 10px; flex: 1; }
.lb-service-card__name {
  font-family: var(--lb-font-head);
  font-size: 20px;
  margin-bottom: 8px;
  color: var(--lb-primary);
  border-bottom: 1px solid var(--lb-cream-dark);
  padding-bottom: 12px;
}
.lb-service-card__desc { font-size: 14px; color: var(--lb-muted); margin: 0 0 16px; line-height: 1.55; }
.lb-service-card__meta {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 14px;
}
.lb-service-card__duration { display: flex; align-items: center; gap: 5px; font-size: 13px; color: var(--lb-muted); }
.lb-service-card__price { font-family: var(--lb-font-head); font-size: 20px; color: var(--lb-primary); font-weight: 700; }
.lb-service-card__select { padding: 0 6px 20px; }

/* ---- Buttons ---- */
.lb-wrap .lb-btn {
  font-family: var(--lb-font-body);
  font-size: 14px;
  padding: 11px 24px;
  border-radius: var(--lb-radius);
  background-color: var(--lb-btn-bg);
  color: white;
  
  cursor: pointer;
  transition: all var(--lb-transition);
  display: inline-flex; align-items: center; gap: 6px;
  text-decoration: none;
  letter-spacing: .03em;
  box-shadow: none;
  outline: none;
  line-height: 1;
}
.lb-wrap .lb-btn:hover:not(:disabled) {
  background-color: var(--lb-btn-hover-bg);
 
  color: var(--lb-white) !important;
}

.lb-wrap .lb-btn--primary {
  background: var(--lb-btn-bg);
  color: var(--lb-white) !important;
  
}
.lb-wrap .lb-btn--primary:hover:not(:disabled) {
  background: var(--lb-btn-hover-bg);
  
  color: var(--lb-white) !important;
}
.lb-wrap .lb-btn--primary:disabled { opacity: .5; cursor: not-allowed; }

.lb-wrap .lb-btn--ghost {
  background: transparent;
  color: var(--lb-primary);
 
}
.lb-wrap .lb-btn--ghost:hover:not(:disabled) {
  background: var(--lb-btn-hover-bg);
 
  color: var(--lb-white) !important;
}

.lb-wrap .lb-btn--select {
  background: var(--lb-btn-bg);
  color: var(--lb-white);

  width: 100%;
  justify-content: center;
}
.lb-wrap .lb-btn--select:hover:not(:disabled) {
  background: var(--lb-btn-hover-bg);
 
  color: var(--lb-white) !important;
}

.lb-wrap .lb-btn--danger { background: var(--lb-error); color: #fff;}
.lb-wrap .lb-btn--danger:hover { background: #a93226;  }

.lb-wrap .lb-btn--full { width: 100%; justify-content: center; padding: 14px; }
.lb-wrap .lb-btn--sm { padding: 6px 14px; font-size: 13px; }

.lb-wrap .lb-back {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--lb-muted);
  font-size: 13px;
  padding: 0;
  margin-bottom: 24px;
  font-family: var(--lb-font-body);
}
.lb-wrap .lb-back:hover { color: var(--lb-primary); }

/* ---- Notice ---- */
.lb-notice {
  background: #FBF4EC;
  border: 1px solid var(--lb-border);
  color: var(--lb-primary);
  padding: 14px 18px;
  border-radius: var(--lb-radius);
  margin-bottom: 24px;
  font-size: 14px;
}
.lb-notice a { color: var(--lb-primary); font-weight: 600; }

/* ---- Date & Time ---- */
.lb-datetime-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; }
@media (max-width: 640px) { .lb-datetime-layout { grid-template-columns: 1fr; } }

.lb-label { display: block; font-size: 12px; font-weight: 400; letter-spacing: .08em; text-transform: uppercase; color: var(--lb-muted); margin-bottom: 10px; font-family: var(--lb-font-body); }

/* jQuery UI datepicker overrides */
.lb-calendar-wrap .ui-datepicker { width: 100% !important; border: 1px solid var(--lb-border) !important; border-radius: var(--lb-radius) !important; box-shadow: var(--lb-shadow) !important; font-family: var(--lb-font-body) !important; font-size: 14px !important; }
.lb-calendar-wrap .ui-datepicker-header { background: var(--lb-primary) !important; border: none !important; border-radius: 5px 5px 0 0 !important; }
.lb-calendar-wrap .ui-datepicker-title { color: #fff !important; font-family: var(--lb-font-head) !important; }
.lb-calendar-wrap .ui-datepicker-prev, .lb-calendar-wrap .ui-datepicker-next { color: #fff !important; }
.lb-calendar-wrap .ui-datepicker td a { text-align: center !important; padding: 6px !important; }
.lb-calendar-wrap .ui-datepicker td.lb-available a { background: var(--lb-cream) !important; color: var(--lb-ink) !important; border-radius: 3px; }
.lb-calendar-wrap .ui-datepicker td.ui-datepicker-today a { background: #BE975E !important; color: var(--lb-primary) !important; }
.lb-calendar-wrap .ui-state-active, .lb-calendar-wrap .ui-datepicker td.ui-state-active a { background: var(--lb-primary) !important; color: #fff !important; border-radius: 3px; }
.lb-calendar-wrap .ui-datepicker td.ui-datepicker-unselectable { opacity: .4; }

/* Slots */
.lb-slots-placeholder { color: var(--lb-muted); font-size: 14px; font-style: italic; }
.lb-slots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 10px;
}
.lb-slot {
  background: var(--lb-white);
  border: 1.5px solid var(--lb-border);
  border-radius: var(--lb-radius);
  padding: 10px 10px 8px;
  cursor: pointer;
  font-family: var(--lb-font-body);
  font-size: 13px;
  color: var(--lb-ink);
  text-align: center;
  transition: all var(--lb-transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  line-height: 1.3;
}
.lb-slot:hover:not(:disabled) { border-color: var(--lb-border-hover); background: var(--lb-btn-bg); color: var(--lb-white); }
.lb-slot--selected { border-color: var(--lb-border-hover) !important; background: var(--lb-primary) !important; color: var(--lb-white) !important; }
.lb-slot--selected .lb-slot__end { color: rgba(255,255,255,.85) !important; }
.lb-slot--reserved { background: var(--lb-cream-dark); border-color: var(--lb-border); color: var(--lb-muted); cursor: not-allowed; opacity: .7; }
.lb-slot__time { display: block; font-weight: 700; font-size: 14px; }
.lb-slot__label { display: block; font-size: 11px; margin-top: 2px; opacity: .75; }
.lb-slot__end { font-size: 11px; color: var(--lb-muted); display: block; }
.lb-slot__badge { font-size: 10px; background: var(--lb-cream-dark); color: var(--lb-muted); padding: 2px 6px; border-radius: 3px; text-transform: uppercase; letter-spacing: .05em; display: block; }

.lb-slots-placeholder.lb-loading::after {
  content: '';
  display: inline-block;
  width: 14px; height: 14px;
  border: 2px solid var(--lb-border);
  border-top-color: var(--lb-primary);
  border-radius: 50%;
  animation: lb-spin .7s linear infinite;
  margin-left: 8px;
  vertical-align: middle;
}
@keyframes lb-spin { to { transform: rotate(360deg); } }
.lb-error-text { color: var(--lb-error); }

/* ---- Payment Layout ---- */
.lb-payment-layout { display: grid; grid-template-columns: 1fr 1.5fr; gap: 32px; }
@media (max-width: 700px) { .lb-payment-layout { grid-template-columns: 1fr; } }

.lb-booking-summary {
  background: var(--lb-cream);
  border: 1px solid var(--lb-border);
  border-radius: var(--lb-radius);
  padding: 24px;
  align-self: start;
}
.lb-summary__title { font-size: 14px; font-family: var(--lb-font-head); text-transform: uppercase; letter-spacing: .06em; color: var(--lb-muted); margin: 0 0 16px; }
.lb-summary__row { display: flex; justify-content: space-between; align-items: baseline; padding: 8px 0; border-bottom: 1px solid var(--lb-border); font-size: 14px; }
.lb-summary__row:last-child { border-bottom: none; }
.lb-summary__row span:first-child { color: var(--lb-muted); }
.lb-summary__row span:last-child { font-weight: 500; color: var(--lb-ink); }
.lb-summary__total {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 16px; padding-top: 16px;
  border-top: 2px solid var(--lb-primary);
  font-family: var(--lb-font-head); font-size: 18px; font-weight: 700; color: var(--lb-ink);
}
.lb-summary__total span:last-child { color: var(--lb-primary); }

/* Square card container */
.lb-payment-form { background: var(--lb-white); border: 1px solid var(--lb-border); border-radius: var(--lb-radius); padding: 24px; }
#lb-card-container {
  border: 1.5px solid var(--lb-border);
  border-radius: var(--lb-radius);
  padding: 14px;
  min-height: 48px;
  margin-bottom: 12px;
  background: var(--lb-white);
}
#lb-card-container iframe { width: 100% !important; }

/* Forms */
.lb-form-group { margin-bottom: 20px; }
.lb-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 480px) { .lb-form-row { grid-template-columns: 1fr; } }
.lb-input {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--lb-border);
  border-radius: var(--lb-radius);
  font-size: 15px;
  font-family: var(--lb-font-body);
  color: var(--lb-ink);
  background: var(--lb-white);
  transition: border-color var(--lb-transition);
  outline: none;
}
.lb-input:focus { border-color: var(--lb-border-hover); }
textarea.lb-input { resize: vertical; }
.lb-input-wrap { position: relative; }
.lb-toggle-pw { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); background: none; border: none; cursor: pointer; font-size: 12px; color: var(--lb-muted); font-family: var(--lb-font-body); }
.lb-form-check { margin-bottom: 20px; font-size: 14px; }
.lb-hint { font-size: 12px; color: var(--lb-muted); margin: 4px 0 0; }
.lb-divider { border: none; border-top: 1px solid var(--lb-border); margin: 28px 0; }

/* Policy Notice */
.lb-policy-notice {
  display: flex; gap: 10px; align-items: flex-start;
  background: #FBF4EC;
  border: 1px solid var(--lb-border);
  border-radius: var(--lb-radius);
  padding: 14px;
  margin: 20px 0;
  font-size: 13px;
  color: var(--lb-text);
  line-height: 1.5;
}
.lb-policy-notice svg { color: var(--lb-primary); flex-shrink: 0; margin-top: 2px; }
.lb-policy-notice p { margin: 0; }

/* ---- Messages ---- */
.lb-msg, .lb-error-msg {
  padding: 12px 16px;
  border-radius: var(--lb-radius);
  font-size: 14px;
  margin-bottom: 16px;
}
.lb-msg.lb-msg--success { background: #E8F7EE; border: 1px solid #B2DFCA; color: #1a6e3e; }
.lb-msg.lb-msg--error   { background: #FDEDEC; border: 1px solid #F5B7B1; color: #922b21; }
.lb-error-msg { background: #FDEDEC; border: 1px solid #F5B7B1; color: #922b21; }

/* ---- Confirmation ---- */
.lb-confirmation { text-align: center; padding: 60px 20px; }
.lb-confirmation__icon {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: var(--lb-btn-bg);
  border: 2px solid var(--lb-primary);
  color: var(--lb-white);
  font-size: 32px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 24px;
}
.lb-confirmation__title { font-size: 34px; margin-bottom: 8px; }
.lb-confirmation__sub { color: var(--lb-muted); font-size: 15px; margin-bottom: 24px; }
.lb-confirmation__ref {
  background: var(--lb-cream);
  border: 1px solid var(--lb-border);
  border-radius: var(--lb-radius);
  padding: 16px 24px;
  font-size: 16px;
  display: inline-block;
  margin-bottom: 32px;
}
.lb-confirmation__ref strong { font-family: var(--lb-font-head); color: var(--lb-primary); font-size: 20px; }
.lb-confirmation__actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ---- Auth Page ---- */
.lb-auth-wrap { display: flex; justify-content: center; padding: 40px 16px; min-height: 60vh; }
.lb-auth-box {
  background: var(--lb-white);
  
  border-radius: 10px;
  box-shadow: var(--lb-shadow-lg);
  padding: 40px;
  width: 100%; max-width: 480px;
}
.lb-auth-tabs { display: flex; border-bottom: 1px solid var(--lb-border); margin-bottom: 32px; }
.lb-auth-tab {
  flex: 1; background: none; border: none; cursor: pointer;
  padding: 12px; font-family: var(--lb-font-body); font-size: 15px; color: var(--lb-muted);
  border-bottom: 2px solid transparent; margin-bottom: -1px; transition: all var(--lb-transition);
}
.lb-auth-tab--active { color: var(--lb-primary); border-bottom-color: var(--lb-btn-bg); }
.lb-auth-panel { display: none; }
.lb-auth-panel--active { display: block; }
.lb-auth-header h2 { font-size: 26px; margin-bottom: 4px; }
.lb-auth-header p  { color: var(--lb-muted); font-size: 14px; margin: 0 0 28px; }
.lb-auth-foot { text-align: center; font-size: 13px; color: var(--lb-muted); margin-top: 20px; }
.lb-auth-foot a { color: var(--lb-primary); }

/* ---- Dashboard ---- */
.lb-dashboard { max-width: 960px; }
.lb-dashboard__header { display: flex; align-items: flex-start; justify-content: space-between; flex-wrap: wrap; gap: 16px; margin-bottom: 32px; }
.lb-dashboard__welcome h2 { font-size: 28px; margin-bottom: 4px; }
.lb-dashboard__welcome p  { color: var(--lb-muted); margin: 0; }
.lb-dashboard__actions    { display: flex; gap: 10px; flex-wrap: wrap; }

.lb-stats-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 36px; }
@media (max-width: 540px) { .lb-stats-row { grid-template-columns: 1fr; } }
.lb-stat-card {
  background: var(--lb-white);
  border: 1px solid var(--lb-border);
  border-radius: var(--lb-radius);
  padding: 24px;
  text-align: center;
  box-shadow: var(--lb-shadow);
  transition: border-color var(--lb-transition);
}
.lb-stat-card:hover { border-color: var(--lb-border-hover); }
.lb-stat-card__num { display: block; font-family: var(--lb-font-head); font-size: 32px; color: var(--lb-primary); }
.lb-stat-card__label { display: block; font-size: 13px; color: var(--lb-muted); margin-top: 4px; }

.lb-dashboard__tabs { display: flex; gap: 0; border-bottom: 1px solid var(--lb-border); margin-bottom: 28px; }
.lb-dash-tab { padding: 12px 20px; text-decoration: none; color: var(--lb-muted); font-size: 14px; border-bottom: 2px solid transparent; margin-bottom: -1px; transition: all var(--lb-transition); font-family: var(--lb-font-body); }
.lb-dash-tab--active { color: var(--lb-primary); border-bottom-color: var(--lb-btn-bg); }
.lb-dash-tab:hover { color: var(--lb-primary); }

/* Bookings table */
.lb-bookings-table-wrap { overflow-x: auto; }
.lb-bookings-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.lb-bookings-table th { text-align: left; padding: 12px 14px; background: var(--lb-cream); font-size: 11px; text-transform: uppercase; letter-spacing: .07em; color: var(--lb-muted); font-weight: 400; border-bottom: 1px solid var(--lb-border); }
.lb-bookings-table td { padding: 14px; border-bottom: 1px solid var(--lb-cream-dark); vertical-align: middle; }
.lb-bookings-table tr:last-child td { border-bottom: none; }
.lb-ref { font-family: var(--lb-font-head); font-size: 13px; letter-spacing: .05em; }

.lb-status { display: inline-flex; align-items: center; padding: 4px 10px; border-radius: 20px; font-size: 12px; }
.lb-status--confirmed { background: #E8F7EE; color: #1a6e3e; }
.lb-status--pending   { background: #FEF9EE; color: #8a6000; }
.lb-status--cancelled { background: #FDEDEC; color: #922b21; }
.lb-status--completed { background: #EFF8FF; color: #1a5f8a; }

.lb-text-muted { color: var(--lb-muted); }

/* Empty state */
.lb-empty-state { text-align: center; padding: 60px 20px; }
.lb-empty-state__icon { font-size: 48px; margin-bottom: 16px; }
.lb-empty-state h3 { font-size: 22px; margin-bottom: 8px; }
.lb-empty-state p  { color: var(--lb-muted); margin-bottom: 24px; }

/* Form card */
.lb-form-card {
  background: var(--lb-white);
  border: 1px solid var(--lb-border);
  border-radius: var(--lb-radius);
  padding: 32px;
  max-width: 600px;
  box-shadow: var(--lb-shadow);
}
.lb-form-card h3 { font-size: 18px; margin-bottom: 20px; }

/* ---- Modal ---- */
.lb-modal-overlay {
  position: fixed; inset: 0; background: rgba(63,39,22,.55);
  display: flex; align-items: center; justify-content: center; z-index: 9999;
  animation: lbFadeIn .2s ease;
}
.lb-modal {
  background: var(--lb-white);
  border: 1px solid var(--lb-border);
  border-radius: 10px;
  padding: 36px;
  max-width: 460px; width: 90%;
  box-shadow: var(--lb-shadow-lg);
  animation: lbSlideUp .25s ease;
}
@keyframes lbSlideUp { from { transform: translateY(20px); opacity: 0; } to { transform: none; opacity: 1; } }
.lb-modal h3 { font-size: 22px; margin-bottom: 8px; }
.lb-modal > p { color: var(--lb-muted); font-size: 14px; margin-bottom: 16px; }
.lb-modal__actions { display: flex; gap: 12px; justify-content: flex-end; margin-top: 24px; }

/* Selected service info in step 2 */
.lb-selected-service {
  display: inline-flex; align-items: center; gap: 16px;
  background: var(--lb-cream);
  border: 1px solid var(--lb-border);
  border-radius: var(--lb-radius);
  padding: 12px 18px;
  font-size: 14px;
  margin-top: 8px;
}
.lb-selected-service .lb-svc-name { font-family: var(--lb-font-head); font-size: 16px; color: var(--lb-primary); }
.lb-selected-service .lb-svc-price { color: var(--lb-primary); font-family: var(--lb-font-head); font-weight: 700; }
.lb-svc-duration { color: var(--lb-muted); font-size: 13px; }

/* Responsive */
@media (max-width: 480px) {
  .lb-steps { gap: 0; }
  .lb-step__label { display: none; }
  .lb-auth-box { padding: 28px 20px; }
  .lb-modal { padding: 24px 20px; }
}

/* ================================================================
   CATEGORY TABS — Service selection (Step 1)
================================================================ */
.lb-cat-tabs {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 100%;
  margin: 0 auto 32px;
  padding: 8px;
  background-color: transparent;
  border: 1px solid #dedede;
  border-radius: 16px;
  gap: 4px;
  overflow: visible;
}
.lb-cat-tabs::-webkit-scrollbar { display: none; }

.lb-cat-tab {
  flex-shrink: 0;
  width: auto;
  text-align: center;
  background: none;
  border: none;
  margin-bottom: 0;
  padding: 11px 20px;
  font-family: var(--lb-font-body);
  font-size: 14px;
  color: var(--lb-primary);
  cursor: pointer;
  transition: color var(--lb-transition), border-color var(--lb-transition), background var(--lb-transition);
  letter-spacing: .02em;
  white-space: normal;
  border-radius: 10px;
}
.lb-cat-tab:hover { color: var(--lb-btn-bg); }
.lb-cat-tab--active {
  background: var(--lb-btn-bg);
  color: white !important;
  font-weight: 600;
  border-radius: 10px;
}

.lb-cat-panel { display: none; animation: lbFadeIn .25s ease; }
.lb-cat-panel--active { display: block; }

/* ================================================================
   SERVICES AUTO-SLIDER — [lb_services_slider]
================================================================ */
.lb-slider-wrap {
  position: relative;
  overflow: hidden;
  width: 100%;
}

.lb-slider-track {
  display: flex;
  gap: 24px;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}

.lb-slider-card {
  flex: 0 0 calc(33.333% - 16px);
  min-width: 280px;
  background: var(--lb-white);
  border: 1px solid var(--lb-border);
  border-radius: 15px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow var(--lb-transition), transform var(--lb-transition), border-color var(--lb-transition);
  padding: 15px;
}
.lb-slider-card:hover {
  box-shadow: var(--lb-shadow-lg);
  transform: translateY(-2px);
  border-color: var(--lb-border-hover);
}

.lb-slider-card__image {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: 12px;
  display: block;
}

.lb-slider-card__body {
  padding: 20px 8px 8px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.lb-slider-card__name {
  font-family: var(--lb-font-head);
  font-size: 20px;
  color: var(--lb-primary);
  border-bottom: 1px solid var(--lb-cream-dark);
  padding-bottom: 10px;
  margin-bottom: 10px;
}

.lb-slider-card__desc {
  font-size: 14px;
  color: var(--lb-muted);
  margin: 0 0 14px;
  line-height: 1.55;
  flex: 1;
}

.lb-slider-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  margin-bottom: 16px;
}

.lb-slider-card__duration {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  color: var(--lb-muted);
}

.lb-slider-card__price {
  font-family: var(--lb-font-head);
  font-size: 20px;
  color: var(--lb-primary);
  font-weight: 700;
}

.lb-slider-card__btn {
  display: block;
  width: 100%;
  padding: 12px 24px;
  background: var(--lb-btn-bg);
  color: var(--lb-white) !important;
  border: 1.5px solid var(--lb-primary);
  border-radius: var(--lb-radius);
  font-family: var(--lb-font-body);
  font-size: 14px;
  letter-spacing: .03em;
  text-align: center;
  text-decoration: none !important;
  cursor: pointer;
  transition: all var(--lb-transition);
  line-height: 1;
}
.lb-slider-card__btn:hover {
  background: var(--lb-btn-hover-bg) !important;
  border-color: var(--lb-border-hover) !important;
  color: var(--lb-white) !important;
}

/* Slider Controls */
.lb-slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 28px;
}

.lb-slider-prev,
.lb-slider-next {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--lb-primary);
  background: var(--lb-btn-bg);
  color: var(--lb-white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--lb-transition);
  font-size: 18px;
  line-height: 1;
}
.lb-slider-prev:hover,
.lb-slider-next:hover {
  background: var(--lb-btn-hover-bg);
  border-color: var(--lb-border-hover);
}

.lb-slider-dots {
  display: flex;
  gap: 8px;
}

.lb-slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lb-border);
  border: none;
  cursor: pointer;
  transition: all var(--lb-transition);
  padding: 0;
}
.lb-slider-dot--active {
  background: var(--lb-btn-bg);
  width: 24px;
  border-radius: 4px;
}

@media (max-width: 768px) {
  .lb-slider-card {
    flex: 0 0 calc(50% - 12px);
    min-width: 240px;
  }
}
@media (max-width: 520px) {
  .lb-slider-card {
    flex: 0 0 calc(100% - 0px);
    min-width: unset;
  }
}

/* ================================================================
   LOADING STATES
================================================================ */
.lb-loading-block {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 24px 0;
  color: var(--lb-muted);
  font-style: italic;
}
.lb-spinner {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 2px solid var(--lb-gold-light);
  border-top-color: var(--lb-gold);
  border-radius: 50%;
  animation: lb-spin 0.7s linear infinite;
  flex-shrink: 0;
}
.lb-spinner-sm {
  display: inline-block;
  width: 14px;
  height: 14px;
  border: 2px solid var(--lb-gold-light);
  border-top-color: var(--lb-gold);
  border-radius: 50%;
  animation: lb-spin 0.7s linear infinite;
  vertical-align: middle;
  margin-right: 6px;
}
@keyframes lb-spin {
  to { transform: rotate(360deg); }
}
.lb-loading { display: flex; align-items: center; }

/* ================================================================
   TEAM MEMBER GRID (Step 2)
================================================================ */
.lb-team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 16px;
  margin: 24px 0;
}
.lb-team-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 20px 12px 16px;
  border: 2px solid var(--lb-cream-dark);
  border-radius: 10px;
  cursor: pointer;
  transition: all var(--lb-transition);
  background: var(--lb-white);
}
.lb-team-card:hover {
  border-color: var(--lb-gold);
  background: var(--lb-cream);
}
.lb-team-card.is-selected {
  border-color: var(--lb-gold);
  background: var(--lb-cream);
  box-shadow: 0 0 0 3px var(--lb-gold-light);
}
.lb-team-card__avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--lb-gold);
  color: var(--lb-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  font-family: var(--lb-font-head);
  margin-bottom: 12px;
  flex-shrink: 0;
}
.lb-team-card__avatar--any {
  background: var(--lb-primary);
  font-size: 22px;
}
.lb-team-card__name {
  font-weight: 600;
  font-size: 14px;
  color: var(--lb-ink);
  line-height: 1.3;
}
.lb-team-card__role {
  font-size: 12px;
  color: var(--lb-muted);
  margin-top: 4px;
}

/* ================================================================
   CALENDAR NOTE
================================================================ */
.lb-calendar-note {
  font-size: 12px;
  color: var(--lb-muted);
  margin-top: 8px;
  font-style: italic;
}

/* ================================================================
   UPDATED POLICY NOTICE (warning style)
================================================================ */
.lb-policy-notice--warning {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: #FFF8EC;
  border: 1px solid #E8C97A;
  border-radius: var(--lb-radius);
  padding: 14px 16px;
  margin: 20px 0 16px;
  color: #7A5800;
}
.lb-policy-notice--warning svg {
  flex-shrink: 0;
  margin-top: 2px;
  stroke: #C09000;
}
.lb-policy-notice--warning p {
  margin: 4px 0 0 !important;
  font-size: 13px;
  line-height: 1.5;
}
.lb-policy-notice--warning strong {
  display: block;
  font-size: 14px;
  color: #5A4000;
}

/* Card security note */
.lb-card-security-note {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--lb-muted);
  margin-bottom: 16px;
}

/* Label note */
.lb-label-note {
  font-size: 11px;
  color: var(--lb-muted);
  font-style: italic;
  font-weight: normal;
  margin-left: 6px;
}

/* Summary note row */
.lb-summary__row--note {
  background: #F0F8EC;
  border-radius: var(--lb-radius);
  padding: 8px 10px !important;
  font-size: 13px;
  color: #3A6020;
  font-style: italic;
}
.lb-summary__row--note span {
  grid-column: 1 / -1;
}

/* Service info badge on steps 2/3 */
.lb-svc-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--lb-cream-dark);
  border-radius: 100px;
  padding: 5px 14px;
  font-size: 13px;
  color: var(--lb-primary);
  margin-top: 8px;
}

/* ================================================================
   RESPONSIVE FIXES — Category Tabs + Auth Page
   (mobile-first, overrides above)
================================================================ */

/* ---- Category Tabs: stack as column on all screens ---- */
.lb-cat-tabs {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: 100%;
  max-width: 320px;
  margin: 0 auto 32px;
  padding: 8px;
  background-color: transparent;
  border: 1px solid #dedede;
  border-radius: 16px;
  gap: 4px;
  overflow: visible;
  justify-self: unset;
}

.lb-cat-tab {
  flex-shrink: 0;
  width: 100%;
  text-align: center;
  padding: 11px 20px;
  font-size: 14px;
  white-space: normal;
  border-radius: 10px;
  margin-bottom: 0;
}

/* ---- Services grid: single column on mobile ---- */
@media (max-width: 640px) {
  .lb-services-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* ---- Auth box: full responsiveness ---- */
.lb-auth-wrap {
  padding: 24px 16px;
  align-items: flex-start;
  min-height: unset;
}

.lb-auth-box {
  width: 100%;
  max-width: 480px;
  padding: 36px 32px;
  box-shadow: 0 4px 24px rgba(63,39,22,.10);
}

@media (max-width: 520px) {
  .lb-auth-box {
    padding: 28px 18px;
    border-radius: 10px;
    box-shadow: 0 2px 12px rgba(63,39,22,.08);
  }

  .lb-auth-header h2 {
    font-size: 22px;
  }

  .lb-auth-tab {
    font-size: 14px;
    padding: 10px 8px;
  }

  .lb-form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .lb-btn--full {
    font-size: 15px;
    padding: 13px;
  }
}

@media (min-width: 521px) and (max-width: 900px) {
  .lb-auth-wrap {
    padding: 40px 24px;
  }

  .lb-auth-box {
    max-width: 440px;
    padding: 36px 28px;
  }
}

/* ── Read more button ── */
.lb-btn--read-more {
  display: inline;
  background: none;
  border: none;
  padding: 0;
  margin: 6px 0 0;
  font-size: 13px;
  font-family: var(--lb-font-body);
  color: var(--lb-primary);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.lb-btn--read-more:hover { opacity: 0.7; }
#lb-desc-modal .lb-modal { max-width: 520px; }
#lb-desc-modal-name { font-size: 20px; margin-bottom: 4px; }
#lb-desc-modal-body { color: var(--lb-dark); font-size: 14px; line-height: 1.7; margin-top: 12px; }


/* ── Multi-service continue bar (Step 1) ── */
.lb-multiservice-bar {
    position: sticky;
    bottom: 0;
    background: #fff;
    border-top: 2px solid #BE975E;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 24px;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 -4px 16px rgba(0,0,0,.08);
    z-index: 10;
}
.lb-continue-count {
    font-size: 14px;
    color: #6b5c4c;
    font-weight: 500;
}
/* Selected service card state */
.lb-service-card.is-selected {
    border-color: #BE975E;
    box-shadow: 0 0 0 2px rgba(190,151,94,.25);
}
.lb-service-card.is-selected .js-select-service {
    background: #BE975E;
    color: #fff;
    border-color: #BE975E;
}
/* Service badge "+" separator */
.lb-svc-badge-plus {
    color: #BE975E;
    font-weight: 700;
    margin: 0 4px;
}
/* Summary service sub-rows */
.lb-summary__row--header span:first-child {
    font-weight: 600;
    color: #1a1208;
}
.lb-summary__row--service {
    padding-left: 12px;
    font-size: 13px;
    color: #6b5c4c;
    border-left: 2px solid #e8e0d5;
    margin-left: 4px;
}

@media (max-width: 768px) {
    .lb-multiservice-bar {
        position: fixed;   /* was sticky — doesn't work reliably on mobile */
        bottom: 0;
        left: 0; right: 0;
        width: 100%;
        border-radius: 0;
        z-index: 1000;
    }
    #lb-services-container {
        padding-bottom: 80px; /* prevents last card hiding behind the bar */
    }
}