/* =========================================================
   ZFP BRNO – SimplyBook, záložka „Booking pages CSS“
   Rozhraní: v2, téma Minimal (zfpbrno.simplybook.it/v2/)
   Nahrazuje CELÝ obsah záložky.

   Typografie sladěná se zfpbrno.cz:
   Inter 400–800, tučné nadpisy se staženým prokladem,
   vyhlazené písmo (Apple styl), pilulková tlačítka
   bez verzálek, bez kurzívy.

   Obsah:
    1. Písmo a barvy
    2. Základní typografie
    3. Nadpisy kroků a drobné texty
    4. Odkazy
    5. Tlačítka
    6. Karty služeb a poradců
    7. Kalendář a časy
    8. Formulář klienta
    9. Souhrn a detail rezervace
   10. Úvodní stránka a Moje rezervace
   11. Ikony Facebook / Instagram
   ========================================================= */

@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap");


/* =========================================================
   1. Písmo a barvy
   ========================================================= */

:root {
  --zfp-font: "Inter", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;

  --zfp-orange: #DC6B2F;
  --zfp-orange-dark: #C25A22;
  --zfp-gold: #E3C08A;
  --zfp-cream: #F7F3ED;
  --zfp-text: #171719;    /* nadpisy, hlavní text (jako web) */
  --zfp-body: #55585D;    /* běžné odstavce (jako web) */
  --zfp-muted: #6C6E72;   /* popisky, drobný text */
  --zfp-line: #E6E0D6;

  /* proměnné samotného SimplyBooku */
  --colors_accent: #DC6B2F;
  --base-color: #DC6B2F;
  --btn-bg: #DC6B2F;
  --btn-text-color: #FFFFFF;
  --colors_text: #171719;
}


/* =========================================================
   2. Základní typografie
   ========================================================= */

/* Inter všude kromě ikonových fontů; nikde kurzíva */
html body,
html body .sb-layout,
html body .sb-layout *:not(.fa):not([class*="fa-"]):not(.fi):not([class*="flaticon"]) {
  font-family: var(--zfp-font) !important;
  font-style: normal !important;
}

/* Vyhlazené písmo jako na webu (macOS / iOS) */
html body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

html body .sb-layout {
  color: var(--zfp-text);
}


/* =========================================================
   3. Nadpisy kroků a drobné texty
   (Konzultace / Konzultant / Čas / Klient)
   ========================================================= */

html body .sb-layout .title-small {
  color: var(--zfp-text) !important;
  font-weight: 700 !important;
  letter-spacing: -0.025em !important;
  border-color: var(--zfp-line) !important;
  text-wrap: balance;
}

/* „konzultace“ → „Konzultace“ */
html body .sb-layout .title-small::first-letter {
  text-transform: uppercase !important;
}

html body .sb-layout .step_info_item.active::before {
  background-color: var(--zfp-line) !important;
}

html body .sb-layout .title-sub,
html body .sb-layout .time {
  color: var(--zfp-muted) !important;
}

html body .sb-layout .copyright,
html body .sb-layout .copyright a {
  color: var(--zfp-muted) !important;
}

html body .sb-layout .nav-trigger span,
html body .sb-layout .nav-trigger span::before,
html body .sb-layout .nav-trigger span::after {
  background-color: var(--zfp-text) !important;
}


/* =========================================================
   4. Odkazy
   ========================================================= */

html body .sb-layout a,
html body .sb-layout .read-more {
  color: var(--zfp-orange);
}

html body .sb-layout a:hover,
html body .sb-layout .read-more:hover {
  color: var(--zfp-orange-dark);
}

html body .sb-layout .nav a,
html body .sb-layout .menu-item a {
  color: var(--zfp-text) !important;
}


/* =========================================================
   5. Tlačítka – pilulky, bez verzálek (jako web)
   ========================================================= */

html body .sb-layout .btn:not(.btn-link):not(.map):not(.btn-with-image),
html body .sb-layout .sb-book-btn-container .btn,
html body .sb-layout button[type="submit"]:not(.nav-trigger) {
  background: var(--zfp-orange) !important;
  border: 1px solid var(--zfp-orange) !important;
  color: #FFFFFF !important;
  border-radius: 999px !important;
  text-transform: none !important;
  letter-spacing: 0.01em !important;
  font-weight: 600 !important;
  box-shadow: none !important;
  transition: background-color .15s ease, border-color .15s ease;
}

html body .sb-layout .btn:not(.btn-link):not(.map):not(.btn-with-image):hover,
html body .sb-layout .sb-book-btn-container .btn:hover {
  background: var(--zfp-orange-dark) !important;
  border-color: var(--zfp-orange-dark) !important;
}

html body .sb-layout .btn.map {
  border-color: var(--zfp-orange) !important;
}

/* „ZVOLIT“ → „Zvolit“ */
html body .sb-layout .service-item .btn.select.custom:not(.btn-link):not(.map):not(.btn-with-image) a,
html body .sb-layout .provider-item .btn.select.custom:not(.btn-link):not(.map):not(.btn-with-image) a {
  display: block !important;
  text-transform: lowercase !important;
  font-weight: 600 !important;
}

html body .sb-layout .service-item .btn.select.custom:not(.btn-link):not(.map):not(.btn-with-image) a::first-letter,
html body .sb-layout .provider-item .btn.select.custom:not(.btn-link):not(.map):not(.btn-with-image) a::first-letter {
  text-transform: uppercase !important;
}

/* „REZERVOVAT NYNÍ“ → „Rezervovat nyní“ */
html body .sb-layout a.btn.book.custom:not(.btn-link):not(.map):not(.btn-with-image) {
  text-transform: lowercase !important;
  font-weight: 600 !important;
}

html body .sb-layout a.btn.book.custom:not(.btn-link):not(.map):not(.btn-with-image)::first-letter {
  text-transform: uppercase !important;
}


/* =========================================================
   6. Karty služeb a poradců
   ========================================================= */

html body .sb-layout .service-item .tab,
html body .sb-layout .provider-item .tab {
  border-radius: 16px !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, .06) !important;
}

/* Názvy služeb verzálkami (FINANČNÍ PLÁN) */
html body .sb-layout .service-item .cap {
  color: var(--zfp-text) !important;
  font-weight: 700 !important;
  letter-spacing: 0.01em !important;
  text-transform: uppercase !important;
}

/* Jména poradců beze změny velikosti písmen */
html body .sb-layout .provider-item .name {
  color: var(--zfp-text) !important;
  font-weight: 700 !important;
  letter-spacing: -0.02em !important;
}

/* Délka konzultace na střed */
html body .sb-layout .service-item .time,
html body .sb-layout .provider-item .time {
  text-align: center !important;
  justify-content: center !important;
  width: 100%;
}

/* Odkaz „více informací“ */
html body .sb-layout .service-item .read-more,
html body .sb-layout .provider-item .read-more,
html body .sb-layout .read-more::before {
  color: var(--zfp-orange) !important;
  border-color: var(--zfp-orange) !important;
}

/* pojistka – odkaz může mít ikonovou třídu, kterou globální pravidlo vynechá */
html body .sb-layout .service-item .read-more,
html body .sb-layout .provider-item .read-more {
  font-family: var(--zfp-font) !important;
}


/* =========================================================
   7. Kalendář a časy
   ========================================================= */

html body .sb-layout .datepicker-button,
html body .sb-layout .top-date-select .fa {
  color: var(--zfp-orange) !important;
}

html body .sb-layout .day-container .day {
  color: var(--zfp-text) !important;
}

html body .sb-layout .is-holiday .day,
html body .sb-layout .day-container.is-holiday {
  color: var(--zfp-muted) !important;
}

html body .sb-layout .time-slot.free,
html body .sb-layout .sb-cell.free {
  background: #FFFFFF !important;
  border: 1px solid var(--zfp-orange) !important;
  border-radius: 999px !important;
  color: var(--zfp-text) !important;
  font-weight: 500 !important;
}

html body .sb-layout .time-slot.free:hover,
html body .sb-layout .sb-cell.free:hover,
html body .sb-layout .time-slot.selected,
html body .sb-layout .sb-cell.selected,
html body .sb-layout .time-slot.active,
html body .sb-layout .sb-cell.active {
  background: var(--zfp-orange) !important;
  border-color: var(--zfp-orange) !important;
  color: #FFFFFF !important;
}

html body .sb-layout .time-legend .available,
html body .sb-layout .time-legend .circle {
  border-color: var(--zfp-orange) !important;
}


/* =========================================================
   8. Formulář klienta
   ========================================================= */

html body .sb-layout .form-control {
  color: var(--zfp-text) !important;
  border-color: var(--zfp-line) !important;
}

html body .sb-layout .form-control:focus {
  border-color: var(--zfp-orange) !important;
  box-shadow: none !important;
}

html body .sb-layout .control-label {
  color: var(--zfp-muted) !important;
  font-weight: 500 !important;
}

html body .sb-layout .control-label.required::after,
html body .sb-layout .required::after {
  color: var(--zfp-orange) !important;
}

html body .sb-layout .custom-checkbox label,
html body .sb-layout .custom-label {
  color: var(--zfp-muted) !important;
}


/* =========================================================
   9. Souhrn a detail rezervace
   (krok „Klient“ i detail rezervace v Moje rezervace)
   ========================================================= */

html body .sb-layout .booking-overview,
html body .sb-layout .current-booking-info {
  background: var(--zfp-cream) !important;
  border-radius: 16px !important;
  padding: 32px 36px !important;
  box-sizing: border-box !important;
}

/* Nadpis služby (FINANČNÍ PLÁN, HYPOTEČNÍ ÚVĚR – OSOBNĚ) */
html body .sb-layout .booking-overview > :first-child,
html body .sb-layout .current-booking-info > :first-child {
  margin-top: 0 !important;
  padding-top: 0 !important;
  margin-bottom: 24px !important;
  line-height: 1.25 !important;
}

/* Tlačítka nemají lepit na poslední řádek; bílý text i ikona */
html body .sb-layout .current-booking-info .btn {
  margin-top: 8px !important;
}

html body .sb-layout .current-booking-info .btn,
html body .sb-layout .current-booking-info .btn *,
html body .sb-layout .current-booking-info .btn .fa {
  color: #FFFFFF !important;
  opacity: 1 !important;
}

/* Nedostupné tlačítko (např. „Další termín“, když přeobjednání
   není povolené): obrys místo plné výplně – čitelné,
   ale nevypadá jako aktivní */
html body .sb-layout .current-booking-info .btn.disabled,
html body .sb-layout .current-booking-info .btn[disabled],
html body .sb-layout .current-booking-info .btn:disabled {
  background: transparent !important;
  border: 1px solid var(--zfp-orange) !important;
  cursor: not-allowed !important;
}

html body .sb-layout .current-booking-info .btn.disabled,
html body .sb-layout .current-booking-info .btn.disabled *,
html body .sb-layout .current-booking-info .btn[disabled],
html body .sb-layout .current-booking-info .btn[disabled] *,
html body .sb-layout .current-booking-info .btn:disabled,
html body .sb-layout .current-booking-info .btn:disabled * {
  color: var(--zfp-orange-dark) !important;
}

/* Mobil – menší odsazení, aby se údaje vešly */
@media (max-width: 767px) {
  html body .sb-layout .booking-overview,
  html body .sb-layout .current-booking-info {
    padding: 22px 20px !important;
  }

  html body .sb-layout .booking-overview > :first-child,
  html body .sb-layout .current-booking-info > :first-child {
    margin-bottom: 18px !important;
  }
}


/* =========================================================
   10. Úvodní stránka a Moje rezervace
   ========================================================= */

/* Písmo: téma Minimal vynucuje Avenir přes ID selektory s !important */
html body #main-content .txt,
html body #main-content .txt span,
html body #content-view #schedule .day,
html body #content-view #schedule .time,
html body #content-view #schedule .time span {
  font-family: var(--zfp-font) !important;
}

/* Velký nadpis na úvodní fotce */
html body .sb-layout .company-name {
  font-weight: 700 !important;
  letter-spacing: -0.032em !important;
  text-wrap: balance;
}

/* Text „Vítejte u nás“ */
html body #main-content .txt h1,
html body #main-content .txt h1 * {
  color: var(--zfp-text) !important;
  font-weight: 700 !important;
  letter-spacing: -0.032em !important;
  text-wrap: balance;
}

html body #main-content .txt h3,
html body #main-content .txt h3 * {
  color: var(--zfp-text) !important;
  font-weight: 700 !important;
  letter-spacing: -0.025em !important;
  text-wrap: balance;
}

html body #main-content .txt p {
  color: var(--zfp-body) !important;
  line-height: 1.65 !important;
}

html body #main-content .txt p b:not(.zfp-oblast) {
  color: var(--zfp-text) !important;
}

/* Názvy oblastí v textu „Vítejte u nás“
   (záloha, kdyby editor smazal barvu z textu) */
html body #about-us .txt .zfp-oblast,
html body #main-content .txt .zfp-oblast {
  color: var(--zfp-orange) !important;
}

/* Nadpisy sekcí („Otevírací doba“…) a dny v týdnu */
html body #content-view .title-main,
html body .title-main {
  color: var(--zfp-text) !important;
  font-weight: 700 !important;
  letter-spacing: -0.025em !important;
  border-color: var(--zfp-line) !important;
}

html body #content-view #schedule .day {
  color: var(--zfp-text) !important;
}

html body #content-view #schedule .time {
  color: var(--zfp-muted) !important;
}

html body #content-view #schedule .time::before {
  background-color: var(--zfp-line) !important;
}

/* Tlačítko menu v záhlaví (dříve zlaté kolečko) */
html body .nav-trigger.toggle-mnu {
  background: var(--zfp-orange) !important;
  background-image: none !important;
}

html body .nav-trigger.toggle-mnu span,
html body .nav-trigger.toggle-mnu span::before,
html body .nav-trigger.toggle-mnu span::after {
  background-color: #FFFFFF !important;
}

/* Aktivní položka menu a aktivní záložka v Moje rezervace */
html body #sb_menu_active,
html body #sb_menu_active::before,
html body .tab-link.active,
html body .tab-link.active * {
  color: var(--zfp-orange) !important;
  border-color: var(--zfp-orange) !important;
}

/* Hláška v Moje rezervace (dříve modrý text na šedé) */
html body .alert.alert-info {
  background: var(--zfp-cream) !important;
  color: var(--zfp-text) !important;
  border: 0 !important;
  border-radius: 16px !important;
}


/* =========================================================
   11. Ikony Facebook / Instagram
   Oranžová ikona bez podbarvení (šablona ji kreslí
   jako obrázek, proto se přebarvuje maskou)
   ========================================================= */

html body .sb-layout .social .btn.btn--action:not(.btn-link):not(.map):not(.btn-with-image),
html body .sb-layout .social .btn.btn--action:not(.btn-link):not(.map):not(.btn-with-image):hover {
  background: transparent !important;
  background-image: none !important;
  border: 0 !important;
  box-shadow: none !important;
}

html body .btn--action.fb::after,
html body .btn--action.ig::after {
  background-image: none !important;
  background-color: var(--zfp-orange) !important;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
}

html body .btn--action.fb::after {
  -webkit-mask-image: url("https://zfpbrno.simplybook.it/v2/themes/minimal/img/social/facebook.svg");
  mask-image: url("https://zfpbrno.simplybook.it/v2/themes/minimal/img/social/facebook.svg");
}

html body .btn--action.ig::after {
  -webkit-mask-image: url("https://zfpbrno.simplybook.it/v2/themes/minimal/img/social/instagram.svg");
  mask-image: url("https://zfpbrno.simplybook.it/v2/themes/minimal/img/social/instagram.svg");
}

html body .btn--action.fb:hover::after,
html body .btn--action.ig:hover::after {
  background-color: var(--zfp-orange-dark) !important;
}