/* Demo bar of sitevybe (concept work) */
:root { --demo-bar: 34px; }
html { margin-top: var(--demo-bar) !important; }
.demo-bar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 999999; height: var(--demo-bar);
  display: flex; align-items: center; justify-content: center; gap: .75rem; padding-inline: 1rem;
  font: 400 13px/1.2 Lato, sans-serif; color: #E9DFD0; background: #2A2624;
}
.demo-bar strong { color: #fff; font-weight: 700; }
.demo-bar a { color: #C2A470; font-weight: 700; text-decoration: none; white-space: nowrap; border-radius: 999px; padding: .2rem .55rem; }
.demo-bar a:hover, .demo-bar a:focus-visible { background: rgba(194, 164, 112, .16); }
@media (max-width: 640px) { .demo-bar .demo-bar-long { display: none; } }
.in-frame { --demo-bar: 0px; }
.in-frame .demo-bar { display: none; }
#offcanvas { top: var(--demo-bar); }
/* Back to top (the Blocksy module CSS is loaded on demand in WordPress) */
.ct-back-to-top {
  position: fixed; right: 25px; bottom: 25px; z-index: 100; display: grid; place-items: center;
  width: 38px; height: 38px; background: var(--theme-palette-color-3); opacity: 0; visibility: hidden;
  transform: translateY(15px); transition: opacity .3s, visibility .3s, transform .3s;
}
.ct-back-to-top.ct-show { opacity: 1; visibility: visible; transform: none; }
.ct-back-to-top:hover { background: var(--theme-palette-color-1); }
.ct-back-to-top svg { fill: #fff; width: 12px; height: 12px; }
.demo-form-note { padding: 1.2rem 1.4rem; background: var(--theme-palette-color-4); border-left: 3px solid var(--theme-palette-color-1); }
/* Booking demo, styled after the Bookly form of the original site */
.demo-booking { max-width: 1290px; margin: 0 auto; padding: 60px 0 80px; font-family: Lato, sans-serif; color: #332F2E; }
.db-steps { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; padding: 0; margin: 0 0 30px; }
.db-steps li { font-weight: 700; font-size: 14px; padding-bottom: 8px; border-bottom: 15px solid #BEC3C7; border-radius: 0 0 3px 3px; }
.db-steps li.is-active { color: var(--theme-palette-color-1); border-color: var(--theme-palette-color-1); }
.db-title { font-weight: 700; font-size: 14px; margin: 0 0 28px; }
.db-row { display: grid; gap: 15px; margin-bottom: 24px; }
.db-row-3 { grid-template-columns: repeat(3, 1fr); }
.demo-booking label { display: grid; gap: 4px; font-size: 14px; font-weight: 700; color: var(--theme-palette-color-1); }
.demo-booking select, .demo-booking input[type=text], .demo-booking input[type=tel], .demo-booking input[type=email], .demo-booking textarea {
  height: 30px; padding: 0 6px; font: 400 14px Lato, sans-serif; color: #332F2E; background: #fff; border: 1px solid #C8C8C8; border-radius: 4px; width: 100%;
  --theme-form-field-height: 30px; --theme-form-field-border-width: 1px;
}
.demo-booking textarea { height: auto; padding: 6px; }
.demo-booking .is-error { border-color: #c27072 !important; box-shadow: 0 0 0 1px #c27072; }
.db-avail { grid-template-columns: 175px auto 48px 48px; justify-content: start; align-items: end; gap: 16px; }
.db-date { background: #F4F4F4 !important; }
.db-days { display: flex; gap: 10px; }
.db-days span { display: grid; justify-items: center; gap: 6px; font-size: 14px; font-weight: 700; color: var(--theme-palette-color-1); }
.db-days input { appearance: none; width: 24px; height: 24px; margin: 0; border-radius: 50%; background: #D9D9D9; cursor: pointer; display: grid; place-items: center; }
.db-days input:checked { background: var(--theme-palette-color-1) url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M6 12.5l4 4 8-9" fill="none" stroke="white" stroke-width="2.4" stroke-linecap="round" stroke-linejoin="round"/></svg>') center/16px no-repeat; }
.db-time select { width: 48px; padding: 0 4px; }
.db-actions { display: flex; justify-content: flex-end; gap: 10px; border-top: 1px solid #C8C8C8; margin-top: 30px; padding-top: 20px; }
.db-actions button { min-height: 35px; padding: 0 26px; border: 0; border-radius: 4px; background: var(--theme-palette-color-1); color: #fff; font: 700 18px Lato, sans-serif; text-transform: uppercase; cursor: pointer; }
.db-actions .db-back { margin-right: auto; background: #BEC3C7; }
.db-slots { display: grid; grid-template-columns: repeat(4, minmax(0, 160px)); gap: 20px; }
.db-slots.is-error { outline: 1px solid #c27072; outline-offset: 8px; }
.db-slot-day { display: grid; gap: 8px; font-size: 14px; }
.db-slot-day strong { color: var(--theme-palette-color-1); }
.db-slot-day button { height: 34px; border: 1px solid #C8C8C8; border-radius: 4px; background: #fff; font: 700 14px Lato, sans-serif; color: #332F2E; cursor: pointer; }
.db-slot-day button:hover, .db-slot-day button.is-picked { border-color: var(--theme-palette-color-1); background: var(--theme-palette-color-1); color: #fff; }
.db-slot-day button:disabled { opacity: .35; cursor: not-allowed; text-decoration: line-through; }
.db-note { margin-top: 4px; }
@media (max-width: 768px) {
  .demo-booking { padding: 40px 0; }
  .db-row-3, .db-avail { grid-template-columns: 1fr; }
  .db-steps li { font-size: 11px; }
  .db-slots { grid-template-columns: 1fr 1fr; }
}
.wpforms-field-hp, .wpforms-error-noscript { display: none !important; }
