/* QG Business — premium reservation experience */

body.page-template-page-reservation,
body.page-id-0 {
    --qg-black: #070707;
    --qg-ink: #111111;
    --qg-white: #ffffff;
    --qg-paper: #f5f5f3;
    --qg-soft: #e9e9e6;
    --qg-muted: #767676;
    --qg-line: rgba(17, 17, 17, 0.14);
    --qg-line-dark: rgba(255, 255, 255, 0.17);
    --qg-shell: min(1320px, calc(100vw - 72px));
    --qg-section-space: clamp(104px, 9vw, 144px);
    --qg-font: "Montserrat", -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
    height: auto !important;
    min-height: 100%;
    margin: 0 !important;
    overflow-x: clip;
    background: #f3f3f1;
    color: #111;
    font-family: var(--qg-font);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body.page-template-page-reservation *,
body.page-id-0 * {
    box-sizing: border-box;
}

body.page-template-page-reservation .qg-shell,
body.page-id-0 .qg-shell {
    width: var(--qg-shell);
    margin-inline: auto;
}

body.page-template-page-reservation .qg-section,
body.page-id-0 .qg-section {
    padding: var(--qg-section-space) 0;
}

.qg-booking-page {
    width: 100%;
    max-width: none;
    margin: 0 !important;
    padding: 0 !important;
    overflow: clip;
    background: #f3f3f1;
}

.qg-booking-page .qg-icon {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.65;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.qg-main-nav .is-current::after {
    width: 100%;
}

.qg-booking-hero {
    position: relative;
    min-height: min(980px, 100svh);
    padding: clamp(170px, 14vw, 220px) 0 clamp(90px, 9vw, 140px);
    overflow: hidden;
    color: #fff;
    background: #070707;
}

.qg-booking-grid {
    position: absolute;
    inset: 0;
    opacity: .12;
    background-image:
        linear-gradient(rgba(255,255,255,.16) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.16) 1px, transparent 1px);
    background-size: 112px 112px;
    mask-image: linear-gradient(90deg, transparent, #000 50%, #000);
}

.qg-booking-orb {
    position: absolute;
    width: min(740px, 58vw);
    aspect-ratio: 1;
    top: -24%;
    right: -12%;
    border-radius: 50%;
    background: rgba(255,255,255,.1);
    filter: blur(120px);
    animation: qg-booking-orb 10s ease-in-out infinite alternate;
}

@keyframes qg-booking-orb {
    to { transform: translate3d(-8%, 12%, 0) scale(1.12); opacity: .7; }
}

.qg-booking-hero-layout {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(430px, .86fr);
    align-items: center;
    gap: clamp(70px, 8vw, 140px);
}

.qg-booking-hero-copy {
    max-width: 800px;
}

.qg-booking-hero-copy h1 {
    max-width: 790px;
    margin: 42px 0 38px;
    color: #fff;
    font: 500 clamp(68px, 6.4vw, 116px)/.91 var(--qg-font);
    letter-spacing: -.075em;
}

.qg-booking-hero-copy h1 em {
    color: #7e7e7e;
    font-style: normal;
}

.qg-booking-hero-copy > p:not(.qg-eyebrow) {
    max-width: 690px;
    margin: 0;
    color: rgba(255,255,255,.62);
    font-size: clamp(16px, 1.25vw, 20px);
    line-height: 1.75;
}

.qg-booking-hero-actions {
    display: flex;
    align-items: center;
    gap: 34px;
    margin-top: 46px;
}

.qg-booking-facts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin: 72px 0 0;
    padding: 0;
    border-top: 1px solid rgba(255,255,255,.18);
    list-style: none;
}

.qg-booking-facts li {
    min-height: 108px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 18px 24px;
    border-left: 1px solid rgba(255,255,255,.18);
}

.qg-booking-facts li:first-child {
    padding-left: 0;
    border-left: 0;
}

.qg-booking-facts strong {
    color: #fff;
    font-size: 18px;
    font-weight: 500;
}

.qg-booking-facts span {
    margin-top: 7px;
    color: rgba(255,255,255,.38);
    font-size: 10px;
    line-height: 1.45;
}

.qg-booking-hero-media {
    position: relative;
    min-height: clamp(600px, 67vw, 780px);
    overflow: visible;
}

.qg-booking-hero-media::before {
    content: "";
    position: absolute;
    inset: -46px -54px 38px 78px;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 50%;
    pointer-events: none;
}

.qg-booking-hero-media > img {
    width: 100%;
    height: 100%;
    position: absolute;
    inset: 0;
    display: block;
    object-fit: cover;
    object-position: center;
    filter: grayscale(1) contrast(1.06) brightness(.72);
}

.qg-booking-live-card {
    position: absolute;
    z-index: 2;
    left: -56px;
    bottom: 62px;
    width: min(390px, 82%);
    display: grid;
    grid-template-columns: 10px 1fr auto;
    align-items: center;
    gap: 16px;
    padding: 26px 28px;
    color: #111;
    background: rgba(255,255,255,.94);
    box-shadow: 0 30px 90px rgba(0,0,0,.42);
    backdrop-filter: blur(18px);
}

.qg-booking-live-card small,
.qg-booking-live-card strong {
    display: block;
}

.qg-booking-live-card small {
    margin-bottom: 4px;
    color: #777;
    font-size: 8px;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.qg-booking-live-card strong {
    font-size: 13px;
    font-weight: 600;
}

.qg-booking-live-dot,
.qg-booking-status-dot {
    width: 9px;
    height: 9px;
    display: inline-block;
    border-radius: 50%;
    background: #48a967;
    box-shadow: 0 0 0 7px rgba(72,169,103,.12);
}

.qg-booking-address {
    position: absolute;
    z-index: 2;
    top: 34px;
    right: -34px;
    padding: 18px 20px;
    border: 1px solid rgba(255,255,255,.16);
    background: rgba(0,0,0,.46);
    backdrop-filter: blur(16px);
}

.qg-booking-address span,
.qg-booking-address strong {
    display: block;
}

.qg-booking-address span {
    color: rgba(255,255,255,.56);
    font-size: 8px;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.qg-booking-address strong {
    margin-top: 5px;
    color: #fff;
    font-size: 13px;
    font-weight: 500;
}

.qg-booking-trust {
    border-bottom: 1px solid #dadad7;
    background: #fff;
}

.qg-booking-trust > .qg-shell {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.qg-booking-trust > .qg-shell > div {
    min-height: 135px;
    display: flex;
    align-items: center;
    gap: 19px;
    padding: 28px clamp(24px, 3vw, 48px);
    border-left: 1px solid #dededb;
}

.qg-booking-trust > .qg-shell > div:first-child {
    padding-left: 0;
    border-left: 0;
}

.qg-booking-trust .qg-icon {
    width: 25px;
    height: 25px;
}

.qg-booking-trust strong,
.qg-booking-trust small {
    display: block;
}

.qg-booking-trust strong {
    color: #111;
    font-size: 12px;
    font-weight: 600;
}

.qg-booking-trust small {
    margin-top: 5px;
    color: #8a8a86;
    font-size: 9px;
    line-height: 1.5;
}

.qg-booking-workspace {
    background: #f3f3f1;
}

.qg-booking-workspace .qg-section-head {
    margin-bottom: clamp(68px, 8vw, 112px);
}

.qg-booking-layout {
    display: grid;
    grid-template-columns: minmax(260px, .3fr) minmax(0, 1fr);
    align-items: start;
    gap: clamp(38px, 5vw, 82px);
}

.qg-booking-guide {
    position: sticky;
    top: 132px;
}

.qg-booking-guide ol {
    margin: 42px 0 0;
    padding: 0;
    border-top: 1px solid #d3d3d0;
    list-style: none;
}

.qg-booking-guide li {
    display: grid;
    grid-template-columns: 38px 1fr;
    gap: 12px;
    padding: 25px 0;
    border-bottom: 1px solid #d3d3d0;
}

.qg-booking-guide li > span {
    color: #999;
    font-size: 9px;
    letter-spacing: .12em;
}

.qg-booking-guide strong {
    display: block;
    color: #111;
    font-size: 13px;
    font-weight: 600;
}

.qg-booking-guide li p {
    margin: 8px 0 0;
    color: #777;
    font-size: 11px;
    line-height: 1.65;
}

.qg-booking-help {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 34px;
    padding: 20px;
    color: #fff;
    background: #0a0a0a;
}

.qg-booking-help .qg-icon {
    width: 22px;
    height: 22px;
}

.qg-booking-help small,
.qg-booking-help a {
    display: block;
}

.qg-booking-help small {
    color: rgba(255,255,255,.5);
    font-size: 8px;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.qg-booking-help a {
    margin-top: 5px;
    color: #fff;
    font-size: 13px;
    text-decoration: none;
}

.qg-booking-engine {
    min-width: 0;
    overflow: hidden;
    border: 1px solid #dadad6;
    background: #fff;
    box-shadow: 0 38px 110px rgba(0,0,0,.07);
}

.qg-booking-engine-head {
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 18px 28px;
    border-bottom: 1px solid #e2e2df;
    background: #fbfbfa;
}

.qg-booking-engine-head > div {
    display: flex;
    align-items: center;
    gap: 14px;
}

.qg-booking-engine-head strong {
    font-size: 12px;
    font-weight: 600;
}

.qg-booking-engine-head small {
    color: #898986;
    font-size: 8px;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.qg-public-booking {
    padding: 28px;
}

.qg-space-tabs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    padding: 5px;
    border-radius: 12px;
    background: #f0f0ee;
}

.qg-space-tabs button {
    min-height: 48px;
    padding: 10px 14px;
    border: 0;
    border-radius: 9px;
    background: transparent;
    color: #777;
    font: 600 10px/1.2 var(--qg-font);
    cursor: pointer;
    transition: color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.qg-space-tabs button.is-active {
    color: #111;
    background: #fff;
    box-shadow: 0 8px 24px rgba(0,0,0,.08);
}

.qg-public-calendar-shell {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 0;
    margin-top: 22px;
    border: 1px solid #dfdfdc;
}

.qg-public-calendar-main {
    min-width: 0;
    padding: 26px;
}

.qg-public-calendar-nav {
    display: grid;
    grid-template-columns: 42px 1fr 42px;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.qg-public-calendar-nav strong {
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    text-transform: capitalize;
}

.qg-public-calendar-nav button {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    padding: 0;
    border: 1px solid #dededb;
    border-radius: 50%;
    background: #fff;
    color: #111;
    cursor: pointer;
    transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.qg-public-calendar-nav button:hover {
    color: #fff;
    background: #111;
    transform: translateY(-2px);
}

.qg-public-calendar-nav .qg-icon--back {
    transform: rotate(180deg);
}

.qg-calendar-weekdays,
.qg-calendar-days {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
}

.qg-calendar-weekdays {
    padding-bottom: 10px;
    color: #9a9a96;
    font-size: 8px;
    font-weight: 600;
    letter-spacing: .1em;
    text-align: center;
    text-transform: uppercase;
}

.qg-calendar-days {
    border-top: 1px solid #e1e1de;
    border-left: 1px solid #e1e1de;
}

.qg-calendar-day {
    min-width: 0;
    aspect-ratio: 1;
    position: relative;
    display: grid;
    place-items: center;
    padding: 0;
    border: 0;
    border-right: 1px solid #e1e1de;
    border-bottom: 1px solid #e1e1de;
    background: #fff;
    color: #111;
    font: 500 11px/1 var(--qg-font);
}

button.qg-calendar-day {
    cursor: pointer;
    transition: color 160ms ease, background 160ms ease;
}

button.qg-calendar-day:hover,
button.qg-calendar-day.is-selected {
    color: #fff;
    background: #111;
}

.qg-calendar-day.is-other {
    color: #c8c8c4;
    background: #fafaf9;
}

.qg-calendar-day.is-past,
.qg-calendar-day.is-full {
    color: #aaa;
    background: #f4f4f2;
}

.qg-calendar-day i {
    width: 4px;
    height: 4px;
    position: absolute;
    bottom: 8px;
    border-radius: 50%;
    background: #4eaa6b;
}

.qg-calendar-day.is-full i {
    background: #b9b9b4;
}

.qg-calendar-day.is-selected i {
    background: #fff;
}

.qg-calendar-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 18px;
    color: #858581;
    font-size: 8px;
}

.qg-calendar-legend span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.qg-calendar-legend i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
}

.qg-calendar-legend .is-open { background: #4eaa6b; }
.qg-calendar-legend .is-full { background: #111; }
.qg-calendar-legend .is-past { background: #d2d2ce; }

.qg-slot-panel {
    min-width: 0;
    display: flex;
    flex-direction: column;
    padding: 26px;
    border-left: 1px solid #dfdfdc;
    background: #f7f7f5;
}

.qg-slot-panel-head small,
.qg-slot-panel-head strong {
    display: block;
}

.qg-slot-panel-head small {
    color: #92928e;
    font-size: 8px;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.qg-slot-panel-head strong {
    min-height: 38px;
    margin-top: 8px;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.45;
    text-transform: capitalize;
}

.qg-slot-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
    margin-top: 20px;
}

.qg-slot-list > p {
    grid-column: 1 / -1;
    margin: 0;
    color: #858581;
    font-size: 10px;
    line-height: 1.65;
}

.qg-slot-list button {
    min-height: 40px;
    padding: 8px 6px;
    border: 1px solid #d8d8d4;
    border-radius: 6px;
    background: #fff;
    color: #222;
    font: 600 9px/1 var(--qg-font);
    cursor: pointer;
    transition: color 160ms ease, background 160ms ease, border-color 160ms ease;
}

.qg-slot-list button:hover,
.qg-slot-list button.is-selected {
    border-color: #111;
    background: #111;
    color: #fff;
}

.qg-slot-list button:disabled {
    border-color: #e2e2df;
    background: #ededeb;
    color: #aaa;
    cursor: not-allowed;
    text-decoration: line-through;
}

.qg-slot-login {
    display: none;
    margin-top: 24px;
    padding-top: 21px;
    border-top: 1px solid #d8d8d4;
}

.qg-slot-login.is-visible {
    display: grid;
    grid-template-columns: 28px 1fr;
    gap: 12px;
    animation: qg-slot-login-in 260ms ease both;
}

@keyframes qg-slot-login-in {
    from { opacity: 0; transform: translateY(8px); }
}

.qg-slot-login .qg-icon {
    width: 22px;
    height: 22px;
}

.qg-slot-login strong {
    display: block;
    font-size: 11px;
    font-weight: 600;
}

.qg-slot-login p {
    margin: 5px 0 0;
    color: #7f7f7b;
    font-size: 9px;
    line-height: 1.5;
}

.qg-slot-login a {
    grid-column: 1 / -1;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 4px;
    padding: 0 15px;
    border: 1px solid #111;
    background: #111;
    color: #fff;
    font-size: 9px;
    font-weight: 600;
    text-decoration: none;
}

.qg-slot-login a .qg-icon {
    width: 16px;
    height: 16px;
}

.qg-calendar-error {
    margin: 18px 0 0;
    padding: 14px;
    background: #f3e6e6;
    color: #832d2d;
    font-size: 10px;
}

/* Authenticated bbd-mt calendar restyle */
.qg-booking-engine #calendar-app {
    padding: 28px;
    color: #111;
    font-family: var(--qg-font) !important;
}

.qg-booking-engine #calendar-app .container-fluid,
.qg-booking-engine #calendar-app .row {
    margin-right: 0 !important;
    margin-left: 0 !important;
}

.qg-booking-engine #calendar-app .card {
    border: 1px solid #dededb !important;
    border-radius: 0 !important;
    background: #fafaf8 !important;
    box-shadow: none !important;
}

.qg-booking-engine #calendar-app .calendar-container {
    position: relative;
    border: 0 !important;
    border-radius: 0 !important;
    background: #fff !important;
}

.qg-booking-engine #calendar-app .headers {
    min-height: 64px !important;
    padding: 10px 16px !important;
    border: 0 !important;
    background: #0a0a0a !important;
    color: #fff !important;
    font-family: var(--qg-font) !important;
    font-size: 14px !important;
    text-transform: capitalize;
}

.qg-booking-engine #calendar-app .headers .btn {
    min-height: 40px;
    border: 1px solid rgba(255,255,255,.22) !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: #fff !important;
    font-size: 9px !important;
}

.qg-booking-engine #calendar-app .days-of-week {
    padding: 12px 0 !important;
    border: 1px solid #dededb !important;
    border-top: 0 !important;
    background: #f5f5f3 !important;
    color: #81817d !important;
    font-size: 9px !important;
    text-transform: uppercase;
}

.qg-booking-engine #calendar-app .calendar-days {
    gap: 0 !important;
    border-left: 1px solid #dededb;
}

.qg-booking-engine #calendar-app .day {
    min-height: 96px !important;
    padding: 10px !important;
    border: 0 !important;
    border-right: 1px solid #dededb !important;
    border-bottom: 1px solid #dededb !important;
    border-radius: 0 !important;
    background: #fff !important;
    color: #111 !important;
    transition: background 170ms ease, color 170ms ease;
}

.qg-booking-engine #calendar-app .day.available:hover,
.qg-booking-engine #calendar-app .day.selected-day {
    background: #111 !important;
    color: #fff !important;
}

.qg-booking-engine #calendar-app .day.past,
.qg-booking-engine #calendar-app .day.other-month,
.qg-booking-engine #calendar-app .day.fully-booked {
    background: #f3f3f1 !important;
    color: #aaa !important;
}

.qg-booking-engine #calendar-app .day-number {
    top: 9px !important;
    right: 10px !important;
    color: inherit !important;
    font-size: 11px !important;
}

.qg-booking-engine #calendar-app .event {
    padding: 4px 5px !important;
    border-radius: 0 !important;
    background: #e7e7e4 !important;
    color: #333 !important;
    font-size: 7px !important;
}

.qg-booking-engine #calendar-app .calendar-content {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    padding: 0 !important;
}

.qg-booking-engine #calendar-app .calendar-content.split {
    grid-template-columns: minmax(0, 1fr) minmax(245px, .42fr) !important;
}

.qg-booking-engine #calendar-app .availability-wrapper {
    padding: 24px !important;
    border: 1px solid #dededb;
    border-left: 0;
    background: #f6f6f4;
}

.qg-booking-engine #calendar-app .availability-wrapper > h3 {
    margin: 0 0 18px !important;
    color: #111 !important;
    font-size: 13px !important;
    font-weight: 600 !important;
}

.qg-booking-engine #calendar-app .week-view {
    gap: 7px !important;
}

.qg-booking-engine #calendar-app .week-view h3 {
    margin: 0 0 12px !important;
    color: #777 !important;
    font-size: 9px !important;
    letter-spacing: .08em;
}

.qg-booking-engine #calendar-app .slot {
    min-height: 44px;
    display: flex;
    align-items: center;
    padding: 10px 13px !important;
    border: 1px solid #d8d8d4 !important;
    border-radius: 0 !important;
    background: #fff !important;
    color: #111 !important;
    font-size: 10px !important;
}

.qg-booking-engine #calendar-app .slot.available:hover,
.qg-booking-engine #calendar-app .slot.selected {
    border-color: #111 !important;
    background: #111 !important;
    color: #fff !important;
}

.qg-booking-engine #calendar-app .slot.reserved {
    background: #ececea !important;
    color: #999 !important;
}

.qg-booking-engine #calendar-app .btn-blue,
.qg-booking-engine #calendar-app .btn-outline-blue {
    min-height: 46px;
    border: 1px solid #111 !important;
    border-radius: 0 !important;
    font: 600 9px/1 var(--qg-font) !important;
}

.qg-booking-engine #calendar-app .btn-blue {
    background: #111 !important;
    color: #fff !important;
}

.qg-booking-engine #calendar-app .btn-outline-blue {
    background: #fff !important;
    color: #111 !important;
}

.qg-booking-engine #calendar-app .no-subscription,
.qg-booking-engine #calendar-app .overlay-content {
    padding: 44px !important;
    border: 1px solid #dededb;
    border-radius: 0 !important;
    background: #f7f7f5 !important;
}

.qg-booking-engine #calendar-app .side-fixed-buttons {
    display: none !important;
}

.qg-booking-security {
    color: #fff;
    background: #090909;
}

.qg-booking-security-layout {
    display: grid;
    grid-template-columns: minmax(300px, .9fr) minmax(420px, 1.1fr);
    gap: clamp(70px, 10vw, 170px);
}

.qg-booking-security .qg-kicker--dark {
    color: rgba(255,255,255,.5);
}

.qg-booking-security h2 {
    margin: 36px 0 0;
    color: #fff;
    font: 500 clamp(48px, 5vw, 84px)/.98 var(--qg-font);
    letter-spacing: -.06em;
}

.qg-booking-security-list {
    border-top: 1px solid rgba(255,255,255,.2);
}

.qg-booking-security-list > div {
    display: grid;
    grid-template-columns: 36px 1fr;
    gap: 22px;
    padding: 28px 0;
    border-bottom: 1px solid rgba(255,255,255,.2);
}

.qg-booking-security-list .qg-icon {
    width: 24px;
    height: 24px;
}

.qg-booking-security-list strong,
.qg-booking-security-list small {
    display: block;
}

.qg-booking-security-list strong {
    color: #fff;
    font-size: 13px;
    font-weight: 600;
}

.qg-booking-security-list small {
    margin-top: 7px;
    color: rgba(255,255,255,.48);
    font-size: 10px;
    line-height: 1.65;
}

.qg-booking-page + .qg-footer {
    margin-top: 0;
}

@media (max-width: 1199px) {
    .qg-booking-hero-layout {
        grid-template-columns: minmax(0, 1fr) minmax(360px, .72fr);
        gap: 56px;
    }

    .qg-booking-hero-copy h1 {
        font-size: clamp(66px, 7vw, 88px);
    }

    .qg-booking-live-card {
        left: -28px;
    }

    .qg-booking-layout {
        grid-template-columns: 240px minmax(0, 1fr);
        gap: 34px;
    }

    .qg-public-calendar-shell {
        grid-template-columns: minmax(0, 1fr) 240px;
    }
}

@media (max-width: 991px) {
    .qg-booking-hero {
        min-height: auto;
    }

    .qg-booking-hero-layout,
    .qg-booking-layout,
    .qg-booking-security-layout {
        grid-template-columns: 1fr;
    }

    .qg-booking-hero-copy {
        max-width: 760px;
    }

    .qg-booking-hero-media {
        width: 78%;
        min-height: 650px;
        justify-self: end;
    }

    .qg-booking-trust > .qg-shell {
        grid-template-columns: 1fr;
    }

    .qg-booking-trust > .qg-shell > div,
    .qg-booking-trust > .qg-shell > div:first-child {
        min-height: 100px;
        padding: 22px 0;
        border-left: 0;
        border-top: 1px solid #dededb;
    }

    .qg-booking-trust > .qg-shell > div:first-child {
        border-top: 0;
    }

    .qg-booking-guide {
        position: static;
    }

    .qg-booking-guide ol {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
    }

    .qg-booking-guide li {
        min-height: 150px;
        display: block;
        padding: 24px;
        border-left: 1px solid #d3d3d0;
    }

    .qg-booking-guide li:first-child {
        border-left: 0;
    }

    .qg-booking-guide li div {
        margin-top: 28px;
    }

    .qg-booking-help {
        max-width: 340px;
    }
}

@media (max-width: 767px) {
    .qg-booking-hero {
        padding: 140px 0 84px;
    }

    .qg-booking-hero-copy h1 {
        margin: 32px 0 28px;
        font-size: clamp(54px, 15vw, 76px);
    }

    .qg-booking-hero-actions {
        align-items: stretch;
        flex-direction: column;
        gap: 22px;
        margin-top: 36px;
    }

    .qg-booking-facts {
        grid-template-columns: 1fr;
        margin-top: 50px;
    }

    .qg-booking-facts li,
    .qg-booking-facts li:first-child {
        min-height: 80px;
        padding: 16px 0;
        border-left: 0;
        border-bottom: 1px solid rgba(255,255,255,.18);
    }

    .qg-booking-hero-media {
        width: 92%;
        min-height: 500px;
        margin-top: 18px;
    }

    .qg-booking-live-card {
        left: -9%;
        bottom: 24px;
        padding: 20px;
    }

    .qg-booking-address {
        top: 20px;
        right: -10px;
    }

    .qg-booking-guide ol {
        grid-template-columns: 1fr;
    }

    .qg-booking-guide li,
    .qg-booking-guide li:first-child {
        min-height: 0;
        display: grid;
        padding: 24px 0;
        border-left: 0;
    }

    .qg-booking-guide li div {
        margin-top: 0;
    }

    .qg-booking-engine-head,
    .qg-public-booking,
    .qg-booking-engine #calendar-app {
        padding-right: 18px;
        padding-left: 18px;
    }

    .qg-space-tabs {
        grid-template-columns: 1fr;
    }

    .qg-public-calendar-shell {
        grid-template-columns: 1fr;
    }

    .qg-public-calendar-main {
        padding: 18px;
    }

    .qg-slot-panel {
        border-top: 1px solid #dfdfdc;
        border-left: 0;
    }

    .qg-calendar-weekdays {
        font-size: 7px;
    }

    .qg-calendar-day {
        font-size: 10px;
    }

    .qg-calendar-day i {
        bottom: 5px;
    }

    .qg-booking-engine #calendar-app .calendar-content.split {
        grid-template-columns: 1fr !important;
    }

    .qg-booking-engine #calendar-app .availability-wrapper {
        border-top: 0;
        border-left: 1px solid #dededb;
    }

    .qg-booking-security-layout {
        gap: 56px;
    }
}

@media (max-width: 480px) {
    .qg-booking-hero-media {
        min-height: 430px;
    }

    .qg-booking-live-card {
        width: 95%;
        grid-template-columns: 8px 1fr;
    }

    .qg-booking-live-card > .qg-icon {
        display: none;
    }

    .qg-booking-engine-head {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }

    .qg-public-booking {
        padding: 14px;
    }

    .qg-public-calendar-main,
    .qg-slot-panel {
        padding: 15px;
    }

    .qg-public-calendar-nav {
        grid-template-columns: 36px 1fr 36px;
    }

    .qg-public-calendar-nav button {
        width: 36px;
        height: 36px;
    }

    .qg-calendar-day {
        aspect-ratio: auto;
        min-height: 42px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .qg-booking-orb,
    .qg-slot-login.is-visible {
        animation: none;
    }
}

/* Guided booking flow — aligned with the domiciliation subscription. */
.qg-booking-entry {
    color: #fff;
    background: #080808;
}

.qg-booking-entry-layout {
    display: grid;
    grid-template-columns: minmax(0, .82fr) minmax(520px, 1.18fr);
    align-items: center;
    gap: clamp(70px, 9vw, 150px);
}

.qg-booking-entry-copy h2 {
    max-width: 700px;
    margin: 38px 0 30px;
    color: #fff;
    font: 500 clamp(58px, 5.8vw, 104px)/.94 var(--qg-font);
    letter-spacing: -.07em;
}

.qg-booking-entry-copy h2 em {
    color: #777;
    font-style: normal;
}

.qg-booking-entry-copy > p:not(.qg-eyebrow) {
    max-width: 620px;
    margin: 0;
    color: rgba(255,255,255,.55);
    font-size: 15px;
    line-height: 1.8;
}

.qg-booking-entry-copy ul {
    display: grid;
    gap: 14px;
    margin: 38px 0 0;
    padding: 0;
    list-style: none;
}

.qg-booking-entry-copy li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255,255,255,.72);
    font-size: 11px;
}

.qg-booking-entry-copy li .qg-icon {
    width: 17px;
    height: 17px;
}

.qg-booking-entry-choices {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
    border: 1px solid rgba(255,255,255,.18);
    background: rgba(255,255,255,.18);
}

.qg-booking-entry-choices > button {
    min-height: 430px;
    position: relative;
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    padding: 38px;
    border: 0;
    color: #fff;
    background: #111;
    text-align: left;
    cursor: pointer;
    transition: color .35s ease, background .35s ease, transform .35s ease;
}

.qg-booking-entry-choices > button:hover,
.qg-booking-entry-choices > button:focus-visible {
    z-index: 2;
    color: #080808;
    background: #fff;
    transform: translateY(-6px);
}

.qg-booking-entry-choices .qg-entry-number {
    color: currentColor;
    font-size: 9px;
    letter-spacing: .16em;
    opacity: .42;
}

.qg-booking-entry-choices > button > .qg-icon {
    width: 42px;
    height: 42px;
    margin: 76px 0 26px;
}

.qg-booking-entry-choices strong {
    max-width: 240px;
    color: inherit;
    font-size: 20px;
    font-weight: 550;
    letter-spacing: -.03em;
    line-height: 1.25;
}

.qg-booking-entry-choices small {
    margin-top: 16px;
    color: currentColor;
    font-size: 10px;
    line-height: 1.7;
    opacity: .5;
}

.qg-entry-link {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 26px;
    border-top: 1px solid currentColor;
    color: currentColor;
    font-size: 9px;
    font-weight: 650;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.qg-entry-link .qg-icon {
    width: 17px;
    height: 17px;
}

.qg-booking-flow[hidden],
.qg-booking-step[hidden],
.qg-booking-flow-actions[hidden],
.qg-booking-pro-fields[hidden],
.qg-booking-slot-total[hidden],
.qg-booking-flow-submit[hidden],
.qg-booking-flow-next[hidden],
.qg-booking-flow-back[hidden] {
    display: none !important;
}

body.qg-booking-flow-open {
    overflow: hidden !important;
}

.qg-booking-flow {
    position: fixed;
    z-index: 10020;
    inset: 0;
    overflow-x: hidden;
    overflow-y: auto;
    color: #fff;
    background:
        linear-gradient(116deg, rgba(5,5,5,.97), rgba(9,9,9,.91)),
        url("../../../uploads/themes/qg-domiciliation-editorial-v2.webp") center / cover fixed;
    font-family: var(--qg-font);
    overscroll-behavior: contain;
}

.qg-booking-flow::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    opacity: .055;
    background-image:
        linear-gradient(rgba(255,255,255,.22) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.22) 1px, transparent 1px);
    background-size: 90px 90px;
    mask-image: linear-gradient(to bottom, #000, transparent 76%);
}

.qg-booking-flow-header {
    position: sticky;
    z-index: 8;
    top: 0;
    min-height: 82px;
    display: grid;
    grid-template-columns: 140px minmax(240px, 1fr) 140px;
    align-items: center;
    padding: 0 32px;
    border-bottom: 1px solid rgba(255,255,255,.12);
    background: rgba(5,5,5,.78);
    backdrop-filter: blur(24px) saturate(130%);
    -webkit-backdrop-filter: blur(24px) saturate(130%);
}

.qg-booking-flow-brand {
    width: 58px;
    height: 58px;
    display: block;
    background: #000;
}

.qg-booking-flow-brand img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
}

.qg-booking-flow-progress {
    width: min(560px, 100%);
    display: grid;
    grid-template-columns: auto 1fr;
    justify-self: center;
    align-items: center;
    gap: 7px 24px;
}

.qg-booking-flow-progress span,
.qg-booking-flow-progress strong {
    color: rgba(255,255,255,.52);
    font-size: 8px;
    font-weight: 650;
    letter-spacing: .16em;
    line-height: 1;
    text-transform: uppercase;
}

.qg-booking-flow-progress strong {
    color: #fff;
    text-align: right;
}

.qg-booking-flow-progress > i {
    height: 1px;
    grid-column: 1 / -1;
    position: relative;
    overflow: hidden;
    background: rgba(255,255,255,.14);
}

.qg-booking-flow-progress > i > b {
    width: 16.666%;
    height: 100%;
    position: absolute;
    inset: 0 auto 0 0;
    background: #fff;
    transition: width .55s cubic-bezier(.2,.8,.2,1);
}

.qg-booking-flow-close {
    display: inline-flex;
    align-items: center;
    justify-self: end;
    gap: 13px;
    padding: 0;
    border: 0;
    color: rgba(255,255,255,.76);
    background: transparent;
    font: 650 8px/1 var(--qg-font);
    letter-spacing: .13em;
    text-transform: uppercase;
    cursor: pointer;
}

.qg-booking-flow-close i {
    width: 32px;
    height: 32px;
    position: relative;
    display: block;
    border: 1px solid rgba(255,255,255,.28);
    border-radius: 50%;
}

.qg-booking-flow-close i::before,
.qg-booking-flow-close i::after {
    content: "";
    width: 11px;
    height: 1px;
    position: absolute;
    top: 50%;
    left: 50%;
    background: currentColor;
}

.qg-booking-flow-close i::before { transform: translate(-50%, -50%) rotate(45deg); }
.qg-booking-flow-close i::after { transform: translate(-50%, -50%) rotate(-45deg); }

.qg-booking-flow-form {
    min-height: calc(100svh - 82px);
    display: flex;
    flex-direction: column;
}

.qg-booking-flow-body {
    width: 100%;
    min-height: calc(100svh - 176px);
    display: flex;
    flex: 1;
    align-items: center;
    padding: clamp(72px, 8vh, 110px) 0 74px;
}

.qg-booking-step {
    width: min(1120px, calc(100% - 80px));
    margin: auto;
    animation: qg-booking-step-in .55s cubic-bezier(.2,.8,.2,1) both;
}

@keyframes qg-booking-step-in {
    from { opacity: 0; filter: blur(8px); transform: translateY(26px) scale(.988); }
    to { opacity: 1; filter: blur(0); transform: translateY(0) scale(1); }
}

.qg-booking-step-intro {
    max-width: 820px;
    margin: 0 auto 48px;
    text-align: center;
}

.qg-booking-step-kicker {
    display: inline-flex;
    align-items: center;
    gap: 13px;
    margin: 0 0 22px;
    color: rgba(255,255,255,.48);
    font-size: 9px;
    font-weight: 650;
    letter-spacing: .19em;
    text-transform: uppercase;
}

.qg-booking-step-kicker > span {
    width: 34px;
    height: 1px;
    background: rgba(255,255,255,.45);
}

.qg-booking-step-intro h2,
.qg-booking-step--success h2 {
    margin: 0;
    color: #fff;
    font: 500 clamp(54px, 6.2vw, 94px)/.94 var(--qg-font);
    letter-spacing: -.07em;
}

.qg-booking-step h2:focus {
    outline: 0;
}

.qg-booking-step-intro > p:last-child,
.qg-booking-step--success > p {
    max-width: 680px;
    margin: 26px auto 0;
    color: rgba(255,255,255,.46);
    font-size: 13px;
    line-height: 1.75;
}

.qg-booking-choice-grid {
    display: grid;
    gap: 12px;
}

.qg-booking-choice-grid--two {
    max-width: 850px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-inline: auto;
}

.qg-booking-choice-grid--three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.qg-booking-choice {
    min-height: 260px;
    position: relative;
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    padding: 29px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 16px;
    color: #fff;
    background: rgba(255,255,255,.045);
    text-align: left;
    cursor: pointer;
    transition: color .28s ease, background .28s ease, border-color .28s ease, transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s ease;
}

.qg-booking-choice:hover,
.qg-booking-choice:focus-visible {
    border-color: rgba(255,255,255,.5);
    transform: translateY(-5px);
}

.qg-booking-choice.is-selected {
    border-color: #fff;
    color: #080808;
    background: #fff;
    box-shadow: 0 28px 80px rgba(0,0,0,.34);
}

.qg-booking-choice-icon {
    width: 46px;
    height: 46px;
    display: grid;
    margin-bottom: 34px;
    place-items: center;
    border: 1px solid currentColor;
    border-radius: 50%;
    opacity: .78;
}

.qg-booking-choice-icon .qg-icon {
    width: 21px;
    height: 21px;
}

.qg-booking-choice small {
    color: currentColor;
    font-size: 8px;
    font-weight: 650;
    letter-spacing: .16em;
    opacity: .48;
    text-transform: uppercase;
}

.qg-booking-choice strong {
    margin-top: 8px;
    color: inherit;
    font-size: 22px;
    font-weight: 550;
    letter-spacing: -.035em;
}

.qg-booking-choice p {
    max-width: 320px;
    margin: 17px 0 0;
    color: currentColor;
    font-size: 10px;
    line-height: 1.65;
    opacity: .48;
}

.qg-booking-choice > i {
    width: 22px;
    height: 22px;
    position: absolute;
    top: 28px;
    right: 28px;
    border: 1px solid currentColor;
    border-radius: 50%;
    opacity: .55;
}

.qg-booking-choice > i::after {
    content: "";
    width: 8px;
    height: 8px;
    position: absolute;
    top: 50%;
    left: 50%;
    border-radius: 50%;
    background: currentColor;
    opacity: 0;
    transform: translate(-50%, -50%) scale(.3);
    transition: opacity .2s ease, transform .2s ease;
}

.qg-booking-choice.is-selected > i::after {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.qg-flow-calendar {
    max-width: 760px;
    margin-inline: auto;
    padding: 30px;
    border-radius: 20px;
    color: #111;
    background: #f7f7f4;
    box-shadow: 0 34px 110px rgba(0,0,0,.28);
}

.qg-flow-calendar-nav {
    display: grid;
    grid-template-columns: 44px 1fr 44px;
    align-items: center;
    gap: 18px;
    margin-bottom: 26px;
}

.qg-flow-calendar-nav strong {
    color: #111;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    text-transform: capitalize;
}

.qg-flow-calendar-nav button {
    width: 44px;
    height: 44px;
    display: grid;
    padding: 0;
    place-items: center;
    border: 1px solid #d8d8d4;
    border-radius: 50%;
    color: #111;
    background: #fff;
    cursor: pointer;
}

.qg-flow-calendar-nav button:disabled {
    opacity: .28;
    cursor: not-allowed;
}

.qg-flow-calendar-nav .qg-icon {
    width: 17px;
    height: 17px;
}

.qg-flow-calendar-nav .qg-icon--back {
    transform: rotate(180deg);
}

.qg-flow-calendar-weekdays,
.qg-flow-calendar-days {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
}

.qg-flow-calendar-weekdays {
    padding-bottom: 10px;
    color: #999;
    font-size: 8px;
    font-weight: 650;
    letter-spacing: .11em;
    text-align: center;
    text-transform: uppercase;
}

.qg-flow-calendar-days {
    overflow: hidden;
    border-top: 1px solid #dededb;
    border-left: 1px solid #dededb;
    border-radius: 10px;
}

.qg-flow-calendar-day {
    min-width: 0;
    aspect-ratio: 1.12;
    position: relative;
    display: grid;
    padding: 0;
    place-items: center;
    border: 0;
    border-right: 1px solid #dededb;
    border-bottom: 1px solid #dededb;
    color: #111;
    background: #fff;
    font: 550 11px/1 var(--qg-font);
}

button.qg-flow-calendar-day {
    cursor: pointer;
    transition: color .18s ease, background .18s ease;
}

button.qg-flow-calendar-day:hover,
.qg-flow-calendar-day.is-selected {
    color: #fff;
    background: #111;
}

.qg-flow-calendar-day.is-other,
.qg-flow-calendar-day.is-past,
.qg-flow-calendar-day.is-full {
    color: #aaa;
    background: #efefec;
}

.qg-flow-calendar-day.is-loading {
    animation: qg-calendar-pulse 1.1s ease-in-out infinite alternate;
}

@keyframes qg-calendar-pulse {
    to { background: #deded9; }
}

.qg-flow-calendar-day > i {
    width: 4px;
    height: 4px;
    position: absolute;
    bottom: 9px;
    border-radius: 50%;
    background: #4eaa6b;
}

.qg-flow-calendar-day.is-full > i { background: #bbb; }
.qg-flow-calendar-day.is-selected > i { background: #fff; }

.qg-flow-calendar-foot {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 20px;
    color: #777;
    font-size: 8px;
}

.qg-flow-calendar-foot > span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.qg-flow-calendar-foot > span i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
}

.qg-flow-calendar-foot .is-open { background: #4eaa6b; }
.qg-flow-calendar-foot .is-full { background: #aaa; }

.qg-flow-calendar-foot small {
    margin-left: auto;
    color: #777;
    font-size: 8px;
    text-align: right;
}

.qg-booking-slots {
    max-width: 880px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-inline: auto;
}

.qg-booking-slot {
    min-height: 98px;
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
    padding: 20px 54px 20px 22px;
    border: 1px solid rgba(255,255,255,.17);
    border-radius: 12px;
    color: #fff;
    background: rgba(255,255,255,.045);
    text-align: left;
    cursor: pointer;
    transition: color .22s ease, background .22s ease, border-color .22s ease, transform .22s ease;
}

.qg-booking-slot:hover:not(:disabled) {
    border-color: rgba(255,255,255,.55);
    transform: translateY(-3px);
}

.qg-booking-slot.is-selected {
    border-color: #fff;
    color: #080808;
    background: #fff;
}

.qg-booking-slot:disabled {
    opacity: .3;
    cursor: not-allowed;
}

.qg-booking-slot small {
    color: currentColor;
    font-size: 7px;
    font-weight: 650;
    letter-spacing: .13em;
    opacity: .48;
    text-transform: uppercase;
}

.qg-booking-slot strong {
    margin-top: 8px;
    color: inherit;
    font-size: 14px;
    font-weight: 600;
}

.qg-booking-slot > i {
    width: 20px;
    height: 20px;
    position: absolute;
    top: 50%;
    right: 22px;
    border: 1px solid currentColor;
    border-radius: 50%;
    transform: translateY(-50%);
}

.qg-booking-slot.is-selected > i::after {
    content: "";
    width: 7px;
    height: 7px;
    position: absolute;
    top: 50%;
    left: 50%;
    border-radius: 50%;
    background: currentColor;
    transform: translate(-50%, -50%);
}

.qg-booking-slot-total {
    max-width: 880px;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 4px 24px;
    margin: 18px auto 0;
    padding: 20px 22px;
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 12px;
    background: rgba(255,255,255,.035);
}

.qg-booking-slot-total-copy {
    min-width: 0;
    display: grid;
    gap: 5px;
}

.qg-booking-slot-total-copy > span {
    color: rgba(255,255,255,.5);
    font-size: 8px;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.qg-booking-slot-total-copy > strong {
    display: block;
    grid-row: auto;
    grid-column: auto;
    color: #fff;
    font-size: 24px;
    font-weight: 500;
}

.qg-booking-slot-total-copy > small {
    color: rgba(255,255,255,.35);
    font-size: 8px;
}

.qg-booking-hour-controls {
    display: flex;
    align-items: center;
    gap: 8px;
}

.qg-booking-hour-controls button {
    min-height: 48px;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0 18px;
    border: 1px solid rgba(255,255,255,.28);
    border-radius: 999px;
    color: #fff;
    background: transparent;
    font: 700 9px/1 var(--qg-font);
    cursor: pointer;
    transition: color .2s ease, background .2s ease, border-color .2s ease, transform .2s ease;
}

.qg-booking-hour-controls button:first-child {
    width: 48px;
    flex: 0 0 48px;
    padding: 0;
}

.qg-booking-hour-controls button:last-child {
    border-color: #fff;
    color: #111;
    background: #fff;
}

.qg-booking-hour-controls button:hover:not(:disabled),
.qg-booking-hour-controls button:focus-visible:not(:disabled) {
    border-color: #06c167;
    color: #04140a;
    background: #06c167;
    outline: none;
    transform: translateY(-2px);
}

.qg-booking-hour-controls button:disabled {
    opacity: .3;
    cursor: not-allowed;
}

.qg-booking-hour-controls button i {
    width: 12px;
    height: 12px;
    position: relative;
    display: block;
}

.qg-booking-hour-controls button i::before,
.qg-booking-hour-controls button i::after {
    width: 12px;
    height: 1px;
    position: absolute;
    top: 50%;
    left: 50%;
    background: currentColor;
    content: "";
    transform: translate(-50%, -50%);
}

.qg-booking-hour-controls button:last-child i::after {
    transform: translate(-50%, -50%) rotate(90deg);
}

.qg-booking-empty {
    grid-column: 1 / -1;
    margin: 0;
    padding: 30px;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 12px;
    color: rgba(255,255,255,.52);
    font-size: 11px;
    text-align: center;
}

.qg-booking-details-card {
    max-width: 850px;
    margin-inline: auto;
    padding: 34px;
    border-radius: 20px;
    color: #111;
    background: #f7f7f4;
    box-shadow: 0 34px 110px rgba(0,0,0,.28);
}

.qg-booking-field-row,
.qg-booking-pro-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.qg-booking-field-row + .qg-booking-field-row,
.qg-booking-pro-fields {
    margin-top: 18px;
}

.qg-booking-pro-fields {
    padding-top: 28px;
    border-top: 1px solid #d8d8d4;
}

.qg-booking-details-card label {
    display: block;
}

.qg-booking-details-card label > span {
    display: block;
    margin: 0 0 9px;
    color: #555;
    font-size: 8px;
    font-weight: 650;
    letter-spacing: .11em;
    text-transform: uppercase;
}

.qg-booking-details-card label > span small {
    display: block;
    margin-top: 4px;
    font-size: 7px;
    font-weight: 500;
    letter-spacing: 0;
    text-transform: none;
}

.qg-booking-details-card input {
    width: 100%;
    height: 58px;
    padding: 0 17px;
    border: 1px solid #d2d2ce;
    border-radius: 9px;
    outline: 0;
    color: #111;
    background: #fff;
    font: 500 14px/1 var(--qg-font);
    transition: border-color .18s ease, box-shadow .18s ease;
}

.qg-booking-details-card input:focus {
    border-color: #111;
    box-shadow: 0 0 0 3px rgba(0,0,0,.08);
}

.qg-booking-details-card input.is-invalid {
    border-color: #a32c2c;
}

.qg-booking-honeypot {
    width: 1px !important;
    height: 1px !important;
    position: absolute !important;
    left: -10000px !important;
    overflow: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.qg-booking-packages {
    max-width: 980px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-inline: auto;
}

.qg-booking-packages-loading {
    grid-column: 1 / -1;
    padding: 38px;
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 16px;
    color: rgba(255,255,255,.58);
    background: rgba(255,255,255,.04);
    font-size: 11px;
    text-align: center;
}

.qg-booking-package {
    min-height: 270px;
    position: relative;
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    padding: 28px;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 16px;
    color: #fff;
    background: rgba(255,255,255,.045);
    text-align: left;
    cursor: pointer;
    transition: transform .28s ease, border-color .28s ease, background .28s ease, color .28s ease;
}

.qg-booking-package:hover,
.qg-booking-package:focus-visible {
    border-color: rgba(255,255,255,.55);
    transform: translateY(-4px);
}

.qg-booking-package.is-selected {
    border-color: #fff;
    color: #080808;
    background: #fff;
    box-shadow: 0 28px 80px rgba(0,0,0,.34);
}

.qg-booking-package:disabled {
    opacity: .38;
    cursor: not-allowed;
    transform: none;
}

.qg-booking-package > small {
    color: currentColor;
    font-size: 8px;
    font-weight: 650;
    letter-spacing: .14em;
    opacity: .5;
    text-transform: uppercase;
}

.qg-booking-package > strong {
    margin-top: 20px;
    color: inherit;
    font-size: 21px;
    font-weight: 600;
    letter-spacing: -.035em;
    line-height: 1.25;
}

.qg-booking-package > p {
    margin: 14px 0 28px;
    color: currentColor;
    font-size: 10px;
    line-height: 1.65;
    opacity: .52;
}

.qg-booking-package > span {
    width: 100%;
    display: flex;
    justify-content: space-between;
    gap: 14px;
    margin-top: auto;
    padding-top: 18px;
    border-top: 1px solid currentColor;
    color: currentColor;
    font-size: 10px;
    opacity: .8;
}

.qg-booking-package > i {
    width: 21px;
    height: 21px;
    position: absolute;
    top: 25px;
    right: 25px;
    border: 1px solid currentColor;
    border-radius: 50%;
    opacity: .55;
}

.qg-booking-package.is-selected > i::after {
    content: "";
    width: 7px;
    height: 7px;
    position: absolute;
    inset: 50% auto auto 50%;
    border-radius: 50%;
    background: currentColor;
    transform: translate(-50%, -50%);
}

.qg-booking-summary-grid {
    max-width: 940px;
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 14px;
    margin-inline: auto;
}

.qg-booking-summary-card,
.qg-booking-confirm-card {
    min-height: 360px;
    padding: 34px;
    border-radius: 18px;
}

.qg-booking-summary-card {
    border: 1px solid rgba(255,255,255,.17);
    background: rgba(255,255,255,.05);
}

.qg-booking-summary-label,
.qg-booking-confirm-card > small {
    margin: 0 0 24px;
    color: rgba(255,255,255,.46);
    font-size: 8px;
    font-weight: 650;
    letter-spacing: .15em;
    text-transform: uppercase;
}

.qg-booking-summary-card dl {
    margin: 0;
}

.qg-booking-summary-card [hidden] {
    display: none !important;
}

.qg-booking-summary-card dl > div {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 20px;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255,255,255,.12);
}

.qg-booking-summary-card dt {
    color: rgba(255,255,255,.38);
    font-size: 9px;
    font-weight: 500;
}

.qg-booking-summary-card dd {
    margin: 0;
    color: #fff;
    font-size: 11px;
    font-weight: 550;
    text-align: right;
}

.qg-booking-confirm-card {
    color: #111;
    background: #f7f7f4;
}

.qg-booking-confirm-card > .qg-icon {
    width: 34px;
    height: 34px;
    display: block;
    margin-bottom: 34px;
}

.qg-booking-confirm-card > small {
    display: block;
    margin-bottom: 10px;
    color: #777;
}

.qg-booking-confirm-card > strong {
    display: block;
    color: #111;
    font-size: 20px;
    font-weight: 550;
    letter-spacing: -.035em;
    line-height: 1.3;
}

.qg-booking-confirm-card > p {
    margin: 14px 0 0;
    color: #777;
    font-size: 10px;
    line-height: 1.65;
}

.qg-booking-payment-total {
    color: #069b54;
}

.qg-booking-card-field {
    min-height: 56px;
    margin-top: 23px;
    padding: 18px 16px;
    border: 1px solid #d2d2ce;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(0,0,0,.06);
}

.qg-booking-card-field.StripeElement--focus {
    border-color: #111;
    box-shadow: 0 0 0 3px rgba(0,0,0,.08);
}

.qg-booking-card-field.StripeElement--invalid {
    border-color: #a32c2c;
}

.qg-booking-card-error {
    min-height: 18px;
    margin-top: 8px;
    color: #a32c2c;
    font-size: 9px;
    line-height: 1.45;
}

.qg-booking-confirm-card .qg-booking-account-note {
    margin-top: 12px;
    color: #666;
    font-size: 9px;
}

.qg-booking-account-note a {
    color: #111;
    font-weight: 650;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.qg-booking-terms {
    display: grid;
    grid-template-columns: 20px 1fr;
    align-items: start;
    gap: 11px;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #d8d8d4;
    color: #555;
    font-size: 9px;
    line-height: 1.6;
}

.qg-booking-terms input {
    width: 18px;
    height: 18px;
    margin: 1px 0 0;
    accent-color: #111;
}

.qg-booking-terms a {
    color: #111;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.qg-booking-flow-message {
    max-width: 940px;
    min-height: 20px;
    margin: 18px auto 0;
    color: rgba(255,255,255,.56);
    font-size: 10px;
    text-align: center;
}

.qg-booking-flow-message.is-error { color: #ffadad; }
.qg-booking-flow-message.is-loading { color: #fff; }

.qg-booking-step--success {
    max-width: 780px;
    text-align: center;
}

.qg-booking-success-icon {
    width: 74px;
    height: 74px;
    display: grid;
    margin: 0 auto 32px;
    place-items: center;
    border-radius: 50%;
    color: #111;
    background: #fff;
}

.qg-booking-success-icon .qg-icon {
    width: 32px;
    height: 32px;
}

.qg-booking-step--success .qg-button {
    margin-top: 36px;
}

.qg-booking-flow-actions {
    position: sticky;
    z-index: 7;
    bottom: 0;
    min-height: 94px;
    display: grid;
    grid-template-columns: minmax(150px, 1fr) minmax(200px, auto) minmax(150px, 1fr);
    align-items: center;
    gap: 22px;
    padding: 16px 32px calc(16px + env(safe-area-inset-bottom));
    border-top: 1px solid rgba(255,255,255,.12);
    background: rgba(5,5,5,.8);
    backdrop-filter: blur(24px) saturate(130%);
    -webkit-backdrop-filter: blur(24px) saturate(130%);
}

.qg-booking-flow-actions > p {
    margin: 0;
    color: rgba(255,255,255,.35);
    font-size: 8px;
    text-align: center;
}

.qg-booking-flow-back,
.qg-booking-flow-next,
.qg-booking-flow-submit {
    min-height: 54px;
    display: inline-flex;
    align-items: center;
    gap: 13px;
    padding: 0 22px;
    border-radius: 999px;
    font: 650 9px/1 var(--qg-font);
    cursor: pointer;
}

.qg-booking-flow-submit {
    position: relative;
    min-width: 220px;
    justify-content: center;
    justify-self: end;
    border: 1px solid #06c167;
    color: #06170f;
    background: #06c167;
    box-shadow: 0 12px 32px rgba(6,193,103,.3);
    font-size: 11px;
}

.qg-booking-flow-submit .qg-icon {
    position: absolute;
    right: 22px;
}

.qg-booking-flow-back {
    justify-self: start;
    border: 1px solid rgba(255,255,255,.22);
    color: #fff;
    background: rgba(255,255,255,.045);
}

.qg-booking-flow-next {
    min-width: 220px;
    justify-content: space-between;
    justify-self: end;
    border: 1px solid #fff;
    color: #111;
    background: #fff;
}

.qg-booking-flow-submit:disabled {
    opacity: .55;
    cursor: wait;
}

.qg-booking-flow-actions .qg-icon {
    width: 18px;
    height: 18px;
}

.qg-booking-flow-back .qg-icon {
    transform: rotate(180deg);
}

.qg-booking-notice {
    position: fixed;
    z-index: 20;
    right: 26px;
    bottom: 116px;
    max-width: min(380px, calc(100vw - 40px));
    padding: 16px 20px;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 10px;
    color: #fff;
    background: rgba(18,18,18,.96);
    box-shadow: 0 24px 70px rgba(0,0,0,.38);
    font-size: 10px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px);
    transition: opacity .2s ease, transform .2s ease;
}

.qg-booking-notice.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 991px) {
    .qg-booking-entry-layout {
        grid-template-columns: 1fr;
    }

    .qg-booking-entry-copy {
        max-width: 760px;
    }

    .qg-booking-entry-choices {
        max-width: 760px;
    }

    .qg-booking-choice-grid--three {
        grid-template-columns: 1fr;
        max-width: 720px;
        margin-inline: auto;
    }

    .qg-booking-choice-grid--three .qg-booking-choice {
        min-height: 190px;
    }

    .qg-booking-summary-grid {
        grid-template-columns: 1fr;
        max-width: 760px;
    }

    .qg-booking-packages {
        grid-template-columns: 1fr;
        max-width: 720px;
    }

    .qg-booking-package {
        min-height: 220px;
    }
}

@media (max-width: 767px) {
    .qg-booking-entry-layout {
        gap: 54px;
    }

    .qg-booking-entry-copy h2 {
        font-size: clamp(52px, 14vw, 72px);
    }

    .qg-booking-entry-choices {
        grid-template-columns: 1fr;
    }

    .qg-booking-entry-choices > button {
        min-height: 340px;
        padding: 30px;
    }

    .qg-booking-entry-choices > button > .qg-icon {
        margin-top: 48px;
    }

    .qg-booking-flow-header {
        min-height: 72px;
        grid-template-columns: 54px 1fr 42px;
        padding: 0 16px;
    }

    .qg-booking-flow-brand {
        width: 46px;
        height: 46px;
    }

    .qg-booking-flow-progress {
        width: calc(100% - 18px);
        gap: 6px 12px;
    }

    .qg-booking-flow-progress span,
    .qg-booking-flow-progress strong {
        font-size: 6.5px;
        letter-spacing: .11em;
    }

    .qg-booking-flow-close span {
        display: none;
    }

    .qg-booking-flow-close i {
        width: 34px;
        height: 34px;
    }

    .qg-booking-flow-form {
        min-height: calc(100svh - 72px);
    }

    .qg-booking-flow-body {
        min-height: calc(100svh - 158px);
        align-items: flex-start;
        padding: 62px 0 46px;
    }

    .qg-booking-step {
        width: calc(100% - 32px);
    }

    .qg-booking-step-intro {
        margin-bottom: 34px;
    }

    .qg-booking-step-intro h2,
    .qg-booking-step--success h2 {
        font-size: clamp(40px, 11vw, 56px);
    }

    .qg-booking-step-intro > p:last-child,
    .qg-booking-step--success > p {
        font-size: 11px;
    }

    .qg-booking-choice-grid--two {
        grid-template-columns: 1fr;
    }

    .qg-booking-choice {
        min-height: 210px;
        padding: 24px;
    }

    .qg-booking-choice-icon {
        margin-bottom: 24px;
    }

    .qg-flow-calendar {
        padding: 18px 14px;
        border-radius: 15px;
    }

    .qg-flow-calendar-nav {
        grid-template-columns: 38px 1fr 38px;
        gap: 10px;
        margin-bottom: 20px;
    }

    .qg-flow-calendar-nav button {
        width: 38px;
        height: 38px;
    }

    .qg-flow-calendar-nav strong {
        font-size: 13px;
    }

    .qg-flow-calendar-day {
        aspect-ratio: auto;
        min-height: 42px;
        font-size: 10px;
    }

    .qg-flow-calendar-day > i {
        bottom: 5px;
    }

    .qg-flow-calendar-foot {
        flex-wrap: wrap;
    }

    .qg-flow-calendar-foot small {
        width: 100%;
        margin: 5px 0 0;
        text-align: left;
    }

    .qg-booking-slots {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .qg-booking-slot {
        min-height: 88px;
        padding: 16px 40px 16px 16px;
    }

    .qg-booking-slot > i {
        right: 14px;
    }

    .qg-booking-slot strong {
        font-size: 11px;
    }

    .qg-booking-slot-total {
        position: fixed;
        z-index: 8;
        right: 10px;
        bottom: calc(92px + env(safe-area-inset-bottom));
        left: 10px;
        grid-template-columns: minmax(76px, 1fr) auto;
        gap: 10px;
        margin: 0;
        padding: 10px;
        border-color: rgba(255,255,255,.18);
        background: rgba(12,12,12,.92);
        box-shadow: 0 18px 55px rgba(0,0,0,.42);
        backdrop-filter: blur(22px) saturate(130%);
        -webkit-backdrop-filter: blur(22px) saturate(130%);
    }

    .qg-booking-slot-total-copy {
        gap: 3px;
    }

    .qg-booking-slot-total-copy strong {
        font-size: 17px;
    }

    .qg-booking-slot-total-copy small {
        display: none;
    }

    .qg-booking-hour-controls {
        width: auto;
    }

    .qg-booking-hour-controls button:last-child {
        min-width: 142px;
    }

    .qg-booking-details-card {
        padding: 24px 18px;
        border-radius: 15px;
    }

    .qg-booking-details-card input {
        font-size: 16px;
    }

    .qg-booking-package {
        min-height: 190px;
        padding: 22px;
    }

    .qg-booking-package > strong {
        margin-top: 14px;
        font-size: 19px;
    }

    .qg-booking-package > p {
        margin: 10px 0 20px;
    }

    .qg-booking-package > i {
        top: 20px;
        right: 20px;
    }

    .qg-booking-card-field {
        min-height: 58px;
        padding: 19px 15px;
    }

    .qg-booking-field-row,
    .qg-booking-pro-fields {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .qg-booking-summary-card,
    .qg-booking-confirm-card {
        min-height: auto;
        padding: 26px 22px;
    }

    .qg-booking-summary-card dl > div {
        grid-template-columns: 84px 1fr;
    }

    .qg-booking-flow-actions {
        min-height: 86px;
        grid-template-columns: 52px 1fr;
        gap: 10px;
        padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    }

    .qg-booking-flow-actions > p {
        display: none;
    }

    .qg-booking-flow-back {
        width: 52px;
        min-height: 52px;
        display: grid;
        padding: 0;
        place-items: center;
    }

    .qg-booking-flow-back span {
        display: none;
    }

    .qg-booking-flow-next,
    .qg-booking-flow-submit {
        width: 100%;
        min-width: 0;
        min-height: 52px;
        grid-column: 2;
        padding-inline: 20px;
    }

    .qg-booking-flow-next:first-child,
    .qg-booking-flow-submit:first-child {
        grid-column: 1 / -1;
    }

    .qg-booking-notice {
        right: 16px;
        bottom: 104px;
        left: 16px;
        max-width: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .qg-booking-step,
    .qg-flow-calendar-day.is-loading {
        animation: none !important;
    }

    .qg-booking-choice,
    .qg-booking-entry-choices > button,
    .qg-booking-flow-progress > i > b {
        transition-duration: .01ms !important;
    }
}

/* Compact mobile flow: keep the question and its first choices in view. */
@media (max-width: 767px) {
    .qg-booking-flow-body {
        padding-top: 24px;
        padding-bottom: 28px;
    }

    .qg-booking-step {
        margin: 0 auto;
    }

    .qg-booking-step-intro {
        margin-bottom: 20px;
    }

    .qg-booking-step-kicker {
        margin-bottom: 11px;
        font-size: 8px;
    }

    .qg-booking-step-intro h2,
    .qg-booking-step--success h2 {
        font-size: clamp(29px, 8.5vw, 38px);
        line-height: 1.02;
    }

    .qg-booking-step-intro > p:last-child,
    .qg-booking-step--success > p {
        margin-top: 12px;
        font-size: 10px;
        line-height: 1.5;
    }

    .qg-booking-choice {
        min-height: 154px;
        padding: 19px 20px;
    }

    .qg-booking-choice-icon {
        width: 40px;
        height: 40px;
        margin-bottom: 12px;
    }

    .qg-booking-choice strong {
        margin-top: 5px;
        font-size: 19px;
    }

    .qg-booking-choice p {
        margin-top: 9px;
        line-height: 1.45;
    }

    .qg-booking-choice > i {
        top: 19px;
        right: 19px;
    }
}
