/* ==========================================================
   Kings Barber Shirley — styles for the PHP-only features
   (discounts, intros from Page content, booking steps 3–4,
   confirmation ticket) drawn in the Kings Barber Club design:
   Poppins, #131313 black, #df1f2d red, #f8f8f8 grey.
   ========================================================== */

:root {
  --kbc-black: #131313;
  --kbc-red: #df1f2d;
  --kbc-grey-bg: #f8f8f8;
  --kbc-grey: #525355;
  --kbc-blue: #aebeec;
}

/* Menu sections on the home page are always visible */
.tab.kbc-tab-open { display: block; }


/* Old price while a discount is running */
.common .kbc-was,
.kbc-was { font-size: 0.6em; opacity: 0.55; margin-right: 6px; font-weight: 700; }

/* Discount banner */
.kbc-discount {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  background: var(--kbc-red);
  color: #fff;
  padding: 20px 28px;
  margin: -24px 0 56px;
  max-width: 1080px;
  font-family: "Poppins", sans-serif;
  box-shadow: 0 18px 40px 0 rgba(223, 31, 45, 0.35);
}
.kbc-discount__pct {
  font-family: "Poppins Black", "Poppins", sans-serif;
  font-weight: 900;
  font-size: 24px;
  line-height: 1;
  padding: 10px 18px;
  background: var(--kbc-black);
}
.kbc-discount__body { font-size: 15px; font-weight: 500; line-height: 1.5; }
.kbc-discount__body strong { font-weight: 900; }

/* Footer tagline under the crown */
.kbc-footer--tagline {
  clear: both;
  text-align: right;
  color: #fff;
  font-family: "Poppins", sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding-top: 16px;
  margin: 0;
}

/* Intro text from Admin → Page content */
.kbc-intro {
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 26px;
  color: var(--kbc-black);
  max-width: 640px;
  margin: 0 0 32px;
}
.galleryOuter .kbc-intro { text-align: center; margin: -24px auto 48px; padding: 0 16px; }

@media (max-width: 767px) {
  .kbc-discount { margin: 0 16px 32px; padding: 16px 18px; }
  .kbc-footer--tagline { text-align: left; }
}

/* ==========================================================
   Booking page (book.php)
   ========================================================== */
.kbc-book .tab[data-tab][aria-hidden="false"] { display: block; }
.kbc-book .tab[data-tab][aria-hidden="true"]  { display: none; }
.kbc-book .tab-packages .categories-outer { margin-top: 0; }

/* Step indicator 01–04 (the design's mobile step bar, shown on every size) */
.kbc-book .kbc-steps {
  display: flex;
  gap: 48px;
  height: auto;
  max-width: none;
  margin: 0 0 48px;
  justify-content: flex-start;
}
.kbc-book .kbc-steps .steps__item {
  position: relative;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-bottom: 10px;
}
.kbc-book .kbc-steps .steps__item a {
  color: var(--kbc-red);
  font-family: "Poppins Black", "Poppins", sans-serif;
  font-size: 16px;
  font-weight: 900;
  line-height: 22px;
  text-decoration: none;
}
.kbc-book .kbc-steps .steps__label {
  font-family: "Poppins", sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--kbc-black);
}
/* No bar/border under the current step — only the number colour changes. */
.kbc-book .kbc-steps .steps__item[aria-current="step"]::after { content: none; }
.kbc-book .kbc-steps .steps__item[aria-current="step"] a { color: var(--kbc-red); }
.kbc-book .kbc-steps .steps__item:not([aria-current="step"]) a { color: var(--kbc-grey, #9a9a9a); }
.kbc-book .kbc-steps .steps__item[aria-disabled="true"] { pointer-events: none; opacity: 0.35; }
.kbc-book .kbc-steps .steps__item[aria-disabled="true"] a { color: #888; }

/* Selected service card = the design's hover state */
.kbc-book .common { cursor: pointer; }
.kbc-book .common.is-selected {
  color: #fff;
  background-color: #df1f2d;
  box-shadow: 0px 0px 29px 13px rgba(176, 30, 41, 0.35);
}
.kbc-book .categories .common.is-selected img { filter: invert(1); }
.kbc-book .common.is-selected span { color: #fff; }
.kbc-book .common.is-selected .beard-styletext { display: inline; }
.kbc-book .categories-packages--styles .col-packages .common.is-selected { background-color: #131313; box-shadow: 0 18px 40px 0 rgb(82 83 85 / 0.35); }
.kbc-book .common:focus-visible { outline: 3px solid var(--kbc-black); outline-offset: 4px; }

/* Summary card */
.kbc-book .selectLocationCard.kbc-summary { height: auto; min-height: 260px; }
.kbc-book .kbc-summary .location-Content p.detail { margin-bottom: 16px; line-height: 24px; max-width: 520px; }
.kbc-book .kbc-summary .location-Content span.price { display: block; }
.kbc-book .kbc-summary .location-Content span.price strong { font-weight: 900; }
.kbc-book .kbc-summary .summary__line {
  display: block;
  font-size: 13px;
  font-weight: 500;
  line-height: 20px;
  margin-top: 6px;
  opacity: 0.9;
}
.kbc-book .kbc-summary .summary__line del { opacity: 0.7; }
.kbc-book .kbc-summary .featureBtn { cursor: default; }

/* Barber cards */
.kbc-book .barber { cursor: pointer; }
.kbc-book .barber .profileCard { height: auto; min-height: 423px; }
.kbc-book .barberD-card .profileCard .cardBody { height: auto; min-height: 125px; }
.kbc-book .barber .profileCard .cardBody p.detail {
  font-size: 12px;
  line-height: 20px;
  letter-spacing: 0.5px;
  margin-top: 6px;
}
.kbc-book .barberD-card.is-selected .cardHead { outline: 6px solid var(--kbc-red); outline-offset: -6px; }
.kbc-book .barberD-card.is-selected .cardBody .bookNow { display: none; }
.kbc-book .barberD-card.is-selected .cardBody .selectBtn { display: flex; justify-content: center; align-items: center; background: var(--kbc-red); }
.kbc-book .barberM-card.is-selected .profileCard { background: #fff; }
.kbc-book .barber:focus-visible { outline: 3px solid var(--kbc-black); outline-offset: 2px; }
.kbc-book .barberM-card > a { color: inherit; text-decoration: none; display: block; }

/* Step 3: days + times */
.kbc-book .kbc-when { margin: 96px 0 72px 83px; max-width: 955px; }
.kbc-book .daynav__tz {
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: var(--kbc-grey);
  margin: 0 0 20px;
}
.kbc-book .daynav__tz strong { color: var(--kbc-black); font-weight: 900; }
.kbc-book .daynav { display: flex; align-items: stretch; gap: 12px; margin-bottom: 40px; }
.kbc-book .daynav__arrow {
  background: transparent;
  border: 0;
  padding: 0 4px;
  width: 48px;
  cursor: pointer;
  opacity: 1;
}
.kbc-book .daynav__arrow img { width: 34px; height: 25px; object-fit: contain; filter: invert(1); opacity: 0.6; }
.kbc-book #dayPrev img { filter: none; }
.kbc-book .daynav__arrow:hover img { opacity: 1; }
.kbc-book .daynav__arrow:disabled { cursor: default; opacity: 0.25; }
.kbc-book .daynav__tabs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; flex: 1; }
.kbc-book .day-tab {
  background: #fff;
  color: var(--kbc-black);
  border: 0;
  padding: 16px 8px;
  text-align: center;
  cursor: pointer;
  font-family: "Poppins", sans-serif;
  transition: background-color .15s, color .15s, box-shadow .15s;
}
.kbc-book .day-tab:hover,
.kbc-book .day-tab[aria-selected="true"] {
  background-color: var(--kbc-red);
  color: #fff;
  box-shadow: 0 5px 10px 0 rgba(176, 30, 41, 0.45);
  opacity: 1;
}
.kbc-book .day-tab__label { display: block; font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; opacity: 0.7; }
.kbc-book .day-tab__day   { display: block; font-family: "Poppins Black", "Poppins", sans-serif; font-size: 18px; font-weight: 900; line-height: 26px; }
.kbc-book .day-tab__date  { display: block; font-size: 13px; font-weight: 500; }

.kbc-book .slots__grid { display: flex; flex-wrap: wrap; gap: 16px; }
.kbc-book .slot {
  min-width: 132px;
  height: 67px;
  background: #fff;
  color: var(--kbc-black);
  border: 0;
  padding: 0 10px;
  font-family: "Poppins Black", "Poppins", sans-serif;
  font-size: 20px;
  font-weight: 900;
  line-height: 28px;
  cursor: pointer;
}
.kbc-book .slot:hover,
.kbc-book .slot.is-selected {
  background-color: var(--kbc-red);
  color: #fff;
  box-shadow: 0 5px 10px 0 rgba(176, 30, 41, 0.45);
  opacity: 1;
}
.kbc-book .slots__duration-note {
  display: inline-block;
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: var(--kbc-black);
  border-left: 6px solid var(--kbc-red);
  padding: 4px 0 4px 14px;
  margin: 0 0 24px;
}
.kbc-book .slots__duration-note strong { font-weight: 900; color: var(--kbc-red); }
.kbc-book .slots__empty,
.kbc-book .slots__loading {
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--kbc-grey);
  padding: 12px 0;
}

/* Step 4: details form (same look as the contact form) */
.kbc-book .customer { margin: 72px 0 72px 83px; max-width: 955px; }
.kbc-book .customer .input-field-wrap label {
  display: block;
  margin: 25px 0;
  font-size: 20px;
  font-weight: 900;
  font-family: "Poppins", sans-serif;
  text-transform: uppercase;
  padding: 0 15px;
  color: var(--kbc-black);
}
.kbc-book .customer .input-field-wrap input {
  width: 100%;
  background: transparent;
  border: none;
  outline: 0;
  border-bottom: 6px solid #131313;
  padding: 14px 15px;
  font-size: 14px;
  color: var(--kbc-grey);
  font-family: "Poppins", sans-serif;
  font-weight: 600;
}
.kbc-book .customer .input-field-wrap input:focus { border-bottom-color: var(--kbc-red); }
.kbc-book .customer__actions { display: flex; justify-content: flex-end; }
.kbc-book .kbc-confirm {
  width: 246px;
  height: 78px;
  background: #df1f2d;
  border: none;
  color: #f8f8f8;
  font-size: 26px;
  font-family: "Poppins", sans-serif;
  font-weight: 800;
  margin: 60px 0 0 0;
  padding: 0;
}
.kbc-book .kbc-confirm:disabled { opacity: 0.6; cursor: wait; }

.kbc-alert {
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #b01e29;
  background: rgba(223, 31, 45, 0.08);
  border-left: 6px solid var(--kbc-red);
  padding: 14px 20px;
  margin-bottom: 24px;
}
.kbc-alert:empty { display: none; }

/* Go-back links on every step */
.kbc-book a.goBackBtn {
  height: 90px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-around;
  text-decoration: none;
}
.kbc-book a.goBackBtn img { height: 24.94px; width: 34px; object-fit: cover; margin-bottom: -8.94px; }
.kbc-book a.goBackBtn p.btn {
  color: #df1f2d;
  font-family: "Poppins", sans-serif;
  font-size: 20px;
  font-weight: 900;
  line-height: 30px;
  text-decoration: underline;
  margin: 0;
  padding: 0;
}

@media (max-width: 1200px) {
  .kbc-book .kbc-when,
  .kbc-book .customer { margin-left: 0; }
}
@media (max-width: 767px) {
  .kbc-book .kbc-steps { gap: 24px; justify-content: center; margin: 0 auto 32px; }
  .kbc-book .kbc-steps .steps__label { display: none; }
  .kbc-book .kbc-steps .steps__item { align-items: center; }
  .kbc-book .kbc-steps .steps__item[aria-current="step"]::after { content: none; }
  .kbc-book .selectLocationOuter.kbc-datetime,
  .kbc-book .selectLocationOuter.kbc-details { margin-top: 0; margin-bottom: 0; }
  .kbc-book .selectLocationCard.kbc-summary {
    position: relative;
    top: auto;
    left: auto;
    display: block;
    height: auto;
    min-height: 0;
    margin: 32px 0 0;
    padding: 22px 20px 24px 24px;
    box-shadow: none;
  }
  .kbc-book .kbc-summary .location-Content { margin-top: 36px; }
  .kbc-book .kbc-summary .feature { top: 18px; right: 20px; font-size: 24px; }
  .kbc-book .kbc-summary .featureBtn {
    position: static;
    display: inline-flex;
    height: auto;
    margin-top: 18px;
    padding: 10px 16px;
  }
  .kbc-book .kbc-summary .featureBtn span.text { font-size: 16px; line-height: 22px; }
  .kbc-book .kbc-when { margin: 32px 0 48px; }
  .kbc-book .daynav { gap: 4px; }
  .kbc-book .daynav__arrow { width: 32px; padding: 0; }
  .kbc-book .daynav__arrow img { width: 24px; }
  .kbc-book .daynav__tabs { gap: 6px; }
  .kbc-book .day-tab { padding: 12px 4px; }
  .kbc-book .day-tab__day { font-size: 14px; line-height: 20px; }
  .kbc-book .day-tab__date { font-size: 12px; }
  .kbc-book .slots__grid { gap: 10px; }
  .kbc-book .slot { min-width: calc(33.333% - 7px); height: 56px; font-size: 17px; }
  .kbc-book .customer { margin: 32px 0 48px; }
  .kbc-book .customer .input-field-wrap label { font-size: 16px; margin: 18px 0 10px; }
  .kbc-book .kbc-confirm { width: 100%; height: 64px; font-size: 22px; margin-top: 40px; }
  .kbc-book .barber .profileCard { min-height: 0; }
}

/* ==========================================================
   Confirmation page (confirmation.php)
   ========================================================== */
.kbc-confirmation .selectLocationOuter.kbc-confirmed { margin-top: 0; padding-top: 110px; padding-bottom: 140px; }
.kbc-confirm__eyebrow {
  color: var(--kbc-red);
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin: 0 0 18px;
}
.kbc-confirmation .heading.kbc-confirm__title { height: auto; margin: 0 0 20px; }
.kbc-confirm__sub {
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 30px;
  color: var(--kbc-black);
  max-width: 560px;
  margin: 0 0 24px;
}
.kbc-ticket { max-width: 955px; margin: 40px 0 0 83px; background: #fff; box-shadow: 0 18px 40px 0 rgba(82, 83, 85, 0.15); }
.kbc-confirmation .selectLocationCard.kbc-ticket__head {
  margin: 0;
  height: auto;
  min-height: 200px;
  max-width: none;
  padding: 40px 260px 40px 40px;
}
.kbc-ticket__head .location-Content p.detail { margin: 0; text-transform: uppercase; letter-spacing: 2px; font-size: 12px; }
.kbc-ticket__head .location-Content h2.title { font-size: 30px; line-height: 38px; text-transform: uppercase; }
.kbc-ticket__head .featureBtn { cursor: default; }
.kbc-ticket__body { padding: 40px; display: grid; grid-template-columns: 1fr 1fr; gap: 28px 48px; }
.kbc-ticket__row { border-bottom: 6px solid var(--kbc-black); padding-bottom: 16px; }
.kbc-ticket__row--full { grid-column: 1 / -1; border-bottom: 0; }
.kbc-ticket__label {
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--kbc-black);
  margin: 0 0 8px;
}
.kbc-ticket__value { font-family: "Poppins", sans-serif; font-size: 18px; font-weight: 600; color: var(--kbc-grey); margin: 0; }
.kbc-ticket__value--big { font-family: "Poppins Black", "Poppins", sans-serif; font-size: 28px; font-weight: 900; color: var(--kbc-red); }
.kbc-ticket__note { font-family: "Poppins", sans-serif; font-size: 12px; color: var(--kbc-grey); margin-top: 6px; line-height: 1.6; }
.kbc-ticket__foot {
  padding: 28px 40px;
  background: var(--kbc-grey-bg);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.kbc-ticket__foot-note { font-family: "Poppins", sans-serif; font-size: 14px; font-weight: 500; color: var(--kbc-grey); max-width: 420px; margin: 0; }
.kbc-ticket__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 220px;
  height: 67px;
  padding: 0 28px;
  background: var(--kbc-black);
  color: #fff;
  font-family: "Poppins", sans-serif;
  font-size: 20px;
  font-weight: 900;
  text-decoration: none;
}
.kbc-ticket__btn:hover { color: #fff; text-decoration: none; background: var(--kbc-red); }
.kbc-ticket__btn--red { background: var(--kbc-red); }
.kbc-ticket__btn--red:hover { background: var(--kbc-black); }

@media (max-width: 1200px) {
  .kbc-ticket { margin-left: 0; }
}
@media (max-width: 767px) {
  .kbc-confirmation .selectLocationOuter.kbc-confirmed { padding: 48px 18px 72px; }
  .kbc-confirmation .heading.kbc-confirm__title { margin-top: 0; text-align: left; font-size: 30px; line-height: 36px; }
  .kbc-confirmation .selectLocationCard.kbc-ticket__head { position: relative; top: auto; display: block; padding: 24px; min-height: 0; box-shadow: none; }
  .kbc-ticket__head .location-Content { margin-top: 28px; }
  .kbc-ticket__head .location-Content h2.title { font-size: 22px; line-height: 28px; }
  .kbc-ticket__head .feature { top: 16px; right: 20px; font-size: 24px; }
  .kbc-ticket__head .featureBtn { position: static; display: inline-flex; height: auto; margin-top: 16px; padding: 10px 16px; }
  .kbc-ticket__head .featureBtn span.text { font-size: 16px; }
  .kbc-ticket__body { grid-template-columns: 1fr; padding: 24px; gap: 20px; }
  .kbc-ticket__foot { padding: 24px; }
  .kbc-ticket__btn { width: 100%; }
}
.kbc-confirmation .selectLocationOuter.kbc-confirmed::before { display: none; }
@media (max-width: 767px) {
  .kbc-confirmation .selectLocationOuter.kbc-confirmed::after { display: none; }
}
.important-stuff-section .kbc-intro { margin: -16px 0 40px; }

/* ========= Overrides: step indicator - color only, no bars ========= */
.kbc-book .selectCatagory .category1::after,
.kbc-book .selectCatagory .category2::after,
.kbc-book .selectCatagory .category3::after,
.kbc-book .selectCatagory .category4::after { content: none !important; display: none !important; }

.kbc-book .selectCatagory .category1 a,
.kbc-book .selectCatagory .category2 a,
.kbc-book .selectCatagory .category3 a,
.kbc-book .selectCatagory .category4 a { color: #9a9a9a; }

.kbc-book .selectCatagory .steps__item[aria-current="step"] a { color: #df1f2d !important; }

/* ========= Category heading (Styles / Packages) - extra bold ========= */
.kbc-book .category-heading { font-weight: 900; letter-spacing: -0.015em; }

/* ========= Remove dots overlay from the red summary card (all breakpoints) ========= */
.kbc-book .selectLocationOuter::before,
.kbc-book .selectLocationOuter::after,
.kbc-book .selectLocationCard::before,
.kbc-book .selectLocationCard::after { content: none !important; display: none !important; background: none !important; }
