.acfb-booking {
    --acfb-navy: #001d3b;
    --acfb-blue: #0057c7;
    --acfb-blue-dark: #003f94;
    --acfb-red: #d7192d;
    --acfb-ink: #102a52;
    --acfb-muted: #61708a;
    --acfb-line: #dfe5ec;
    --acfb-warm: #fffdf8;
    --acfb-soft: #f5f8fc;
    width: min(1180px, calc(100% - 32px));
    max-width: 1180px;
    margin: 32px auto;
    border: 1px solid var(--acfb-line);
    border-radius: 14px;
    overflow: hidden;
    background: var(--acfb-warm);
    color: var(--acfb-ink);
    font-family: Manrope, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    box-shadow: 0 18px 55px rgba(16, 42, 82, .12);
}

.acfb-booking *, .acfb-booking *::before, .acfb-booking *::after { box-sizing: border-box; }
.acfb-booking .screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.acfb-booking button, .acfb-booking input, .acfb-booking textarea { font: inherit; }
.acfb-booking button:focus-visible, .acfb-booking input:focus-visible, .acfb-booking textarea:focus-visible, .acfb-booking a:focus-visible { outline: 3px solid #86b7fe; outline-offset: 3px; }
.acfb-booking__test { min-height: 42px; padding: 10px 24px; display: flex; align-items: center; justify-content: center; gap: 10px; background: #fff3d8; color: #6d4c00; font-size: 13px; text-align: center; }
.acfb-booking__header { min-height: 88px; padding: 16px 32px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-bottom: 1px solid var(--acfb-line); background: #fff; }
.acfb-booking__brand { display: flex; align-items: center; gap: 14px; color: var(--acfb-red); font-size: 19px; font-weight: 800; }
.acfb-booking__brand img { width: 55px; height: 55px; object-fit: contain; }
.acfb-booking__brand strong { color: var(--acfb-blue); font-size: 25px; letter-spacing: -.03em; }
.acfb-booking__support { display: flex; align-items: center; gap: 10px; color: var(--acfb-muted); font-size: 14px; }
.acfb-booking__support a { color: var(--acfb-blue); font-weight: 800; text-decoration: none; }
.acfb-booking__layout { display: grid; grid-template-columns: minmax(0, 1fr) clamp(280px, 28%, 320px); min-height: 720px; }
.acfb-booking__main { min-width: 0; padding: 34px 42px 46px; }
.acfb-progress { margin: 0 0 48px; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); list-style: none; }
.acfb-progress li { position: relative; display: flex; align-items: center; gap: 9px; color: #7a879a; font-size: 12px; font-weight: 700; }
.acfb-progress li:not(:last-child)::after { content: ""; position: absolute; left: 36px; right: 10px; top: 14px; height: 1px; background: var(--acfb-line); }
.acfb-progress span { position: relative; z-index: 1; width: 29px; height: 29px; display: grid; place-items: center; border: 1px solid #bdc7d5; border-radius: 50%; background: #fff; color: #65748b; }
.acfb-progress .is-current { color: var(--acfb-ink); }
.acfb-progress .is-current span { border-color: var(--acfb-blue); background: var(--acfb-blue); color: #fff; }
.acfb-progress .is-complete span { border-color: #75a8eb; background: #eaf3ff; color: var(--acfb-blue); }
.acfb-eyebrow { margin: 0 0 8px; color: var(--acfb-blue); font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.acfb-step h1, .acfb-step h2 { margin: 0; color: var(--acfb-navy); font-size: clamp(30px, 4vw, 42px); line-height: 1.12; letter-spacing: -.035em; }
.acfb-step h3 { color: var(--acfb-ink); font-size: 17px; }
.acfb-lead { max-width: 620px; margin: 13px 0 30px; color: var(--acfb-muted); font-size: 16px; line-height: 1.65; }
.acfb-service-cards { min-width: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; gap: 14px; }
.acfb-booking .acfb-service-card { width: 100%; min-width: 0; min-height: 136px; padding: 20px; border: 1px solid var(--acfb-line); border-radius: 10px; overflow: hidden; display: flex; align-items: flex-start; gap: 15px; background: #fff; color: var(--acfb-ink); text-align: left; white-space: normal !important; cursor: pointer; transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease; }
.acfb-booking .acfb-service-card:hover:not(.is-selected) { border-color: var(--acfb-blue) !important; background: #edf5ff !important; color: var(--acfb-ink) !important; box-shadow: 0 8px 25px rgba(16, 42, 82, .08); transform: translateY(-1px); }
.acfb-booking .acfb-service-card:hover:not(.is-selected) .acfb-service-card__content strong { color: var(--acfb-navy) !important; }
.acfb-booking .acfb-service-card:hover:not(.is-selected) .acfb-service-card__content > span { color: var(--acfb-muted) !important; }
.acfb-booking .acfb-service-card.is-selected,
.acfb-booking .acfb-service-card.is-selected:hover,
.acfb-booking .acfb-service-card.is-selected:focus { border: 2px solid var(--acfb-blue) !important; padding: 19px; background: var(--acfb-blue) !important; color: #fff !important; box-shadow: 0 0 0 3px rgba(0, 87, 199, .14); }
.acfb-booking .acfb-service-card.is-selected .acfb-service-card__content strong,
.acfb-booking .acfb-service-card.is-selected .acfb-service-card__content > span { color: #fff !important; }
.acfb-service-card__marker { width: 17px; height: 17px; margin-top: 3px; flex: 0 0 auto; border: 2px solid #a8b3c3; border-radius: 50%; background: #fff; }
.acfb-service-card.is-selected .acfb-service-card__marker { border: 5px solid #fff; background: var(--acfb-blue); }
.acfb-service-card__content { min-width: 0; max-width: 100%; flex: 1 1 auto; display: flex; flex-direction: column; gap: 7px; white-space: normal !important; }
.acfb-booking .acfb-service-card__content strong,
.acfb-booking .acfb-service-card__content > span { width: 100%; max-width: 100%; display: block; white-space: normal !important; overflow-wrap: break-word; word-break: normal; }
.acfb-service-card__content strong { color: var(--acfb-navy); font-size: 16px; line-height: 1.35; }
.acfb-service-card__content > span { color: var(--acfb-muted); font-size: 13px; line-height: 1.55; }
.acfb-service-card__content small { margin-top: auto; color: var(--acfb-blue); font-weight: 700; }
.acfb-step__actions { margin-top: 34px; padding-top: 24px; border-top: 1px solid var(--acfb-line); display: flex; justify-content: space-between; gap: 12px; }
.acfb-button { min-height: 48px; padding: 0 22px; border-radius: 7px; font-weight: 800; cursor: pointer; }
.acfb-button--primary { margin-left: auto; border: 1px solid var(--acfb-blue); background: var(--acfb-blue); color: #fff; }
.acfb-button--primary:hover:not(:disabled) { border-color: var(--acfb-blue-dark); background: var(--acfb-blue-dark); }
.acfb-button--secondary { border: 1px solid #b8c3d1; background: #fff; color: var(--acfb-ink); }
.acfb-button:disabled { opacity: .45; cursor: not-allowed; }
.acfb-loading, .acfb-no-times { padding: 20px; border: 1px dashed #a9b9ce; border-radius: 8px; background: #f8fbff; color: var(--acfb-muted); }
.acfb-calendar { max-width: 720px; padding: 22px; border: 1px solid var(--acfb-line); border-radius: 10px; background: #fff; }
.acfb-calendar__toolbar { margin-bottom: 22px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; }
.acfb-calendar__nav { min-height: 40px; padding: 0 14px; border: 1px solid #b8c3d1; border-radius: 7px; background: #fff; color: var(--acfb-blue); font-weight: 800; cursor: pointer; }
.acfb-calendar__nav:first-child { justify-self: start; }
.acfb-calendar__nav:last-child { justify-self: end; }
.acfb-calendar__nav:disabled { opacity: .35; cursor: not-allowed; }
.acfb-calendar__month select { min-height: 42px; min-width: 180px; padding: 0 34px 0 12px; border: 1px solid #b8c3d1; border-radius: 7px; background: #fff; color: var(--acfb-navy); font-weight: 800; text-align: center; }
.acfb-calendar__weekdays, .acfb-calendar__grid { display: grid; grid-template-columns: repeat(7, minmax(44px, 1fr)); gap: 8px; }
.acfb-calendar__weekdays { margin-bottom: 8px; color: var(--acfb-muted); font-size: 11px; font-weight: 800; text-align: center; text-transform: uppercase; }
.acfb-calendar__weekdays span { padding: 6px 0; }
.acfb-calendar__grid { min-height: 292px; }
.acfb-calendar__blank { min-height: 50px; }
.acfb-date { min-height: 50px; border: 1px solid #c8d1dd; border-radius: 8px; background: #fff; color: var(--acfb-ink); font-weight: 800; cursor: pointer; }
.acfb-date:hover:not(:disabled), .acfb-date.is-selected, .acfb-time:hover, .acfb-time.is-selected { border-color: var(--acfb-blue); background: #edf5ff; color: var(--acfb-blue); }
.acfb-date.is-selected { border-width: 2px; background: var(--acfb-blue); color: #fff; }
.acfb-date:disabled { border-color: transparent; background: #f5f6f8; color: #bcc4cf; cursor: not-allowed; }
.acfb-time-section { margin-top: 28px; }
.acfb-time-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.acfb-time { min-height: 46px; border: 1px solid #c8d1dd; border-radius: 7px; background: #fff; color: var(--acfb-ink); font-weight: 700; cursor: pointer; }
.acfb-details { margin-top: 28px; display: flex; flex-direction: column; gap: 17px; }
.acfb-details label { display: flex; flex-direction: column; gap: 7px; color: var(--acfb-ink); font-size: 13px; font-weight: 800; }
.acfb-details label small { color: var(--acfb-muted); font-weight: 500; }
.acfb-details input, .acfb-details textarea { width: 100%; border: 1px solid #b9c5d4; border-radius: 7px; background: #fff; color: var(--acfb-ink); }
.acfb-details input { min-height: 48px; padding: 0 13px; }
.acfb-details textarea { padding: 13px; resize: vertical; }
.acfb-details input:focus, .acfb-details textarea:focus { border-color: var(--acfb-blue); box-shadow: 0 0 0 3px rgba(0, 87, 199, .1); }
.acfb-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.acfb-sms-consent { margin-top: 4px; padding: 17px; border: 1px solid #aacbf4; border-radius: 8px; flex-direction: row !important; align-items: flex-start; gap: 12px !important; background: #f5f9ff; cursor: pointer; }
.acfb-sms-consent input { width: 18px !important; min-height: 18px !important; margin: 2px 0 0; flex: 0 0 auto; }
.acfb-sms-consent > span { display: flex; flex-direction: column; gap: 6px; }
.acfb-sms-consent strong { color: var(--acfb-ink); font-size: 13px; line-height: 1.5; }
.acfb-sms-consent small { color: var(--acfb-muted); font-size: 11px; font-weight: 500 !important; line-height: 1.5; }
.acfb-honeypot { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.acfb-review { margin: 28px 0 0; border-top: 1px solid var(--acfb-line); }
.acfb-review > div { min-height: 58px; padding: 13px 0; border-bottom: 1px solid var(--acfb-line); display: grid; grid-template-columns: 155px 1fr; align-items: center; gap: 20px; }
.acfb-review dt { color: var(--acfb-muted); font-size: 13px; }
.acfb-review dd { margin: 0; color: var(--acfb-ink); font-weight: 700; }
.acfb-consent { margin-top: 24px; display: flex; align-items: flex-start; gap: 10px; color: var(--acfb-muted); font-size: 13px; line-height: 1.5; }
.acfb-consent input { margin-top: 3px; }
.acfb-booking__alert { margin-bottom: 22px; padding: 14px 16px; border: 1px solid #f0aeb5; border-radius: 7px; background: #fff3f4; color: #a41523; font-weight: 700; }
.acfb-booking__live { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.acfb-summary { position: relative; border-left: 1px solid var(--acfb-line); background: #f7f9fc; }
.acfb-summary__wood { height: 126px; background-image: url('../admin/ac-floors-logo.png'); background-position: center; background-size: 72px auto; background-repeat: no-repeat; background-color: var(--acfb-navy); }
.acfb-summary__content { padding: 28px 25px; }
.acfb-summary h2 { margin: 0 0 24px; color: var(--acfb-navy); font-size: 24px; }
.acfb-summary dl { margin: 0; }
.acfb-summary dl > div { padding: 15px 0; border-bottom: 1px solid var(--acfb-line); }
.acfb-summary dt { margin-bottom: 4px; color: var(--acfb-muted); font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.acfb-summary dd { margin: 0; color: var(--acfb-ink); font-size: 14px; font-weight: 750; line-height: 1.4; }
.acfb-summary__promise { margin-top: 28px; padding: 18px; border-left: 3px solid var(--acfb-red); background: #fff; color: var(--acfb-muted); font-size: 13px; line-height: 1.6; }
.acfb-success { max-width: 650px; padding-top: 35px; }
.acfb-success p { color: var(--acfb-muted); font-size: 16px; line-height: 1.65; }
.acfb-reference { margin: 30px 0; padding: 20px; border: 1px solid #aacbf4; border-radius: 8px; background: #f0f6ff; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.acfb-reference span { color: var(--acfb-muted); }
.acfb-reference strong { color: var(--acfb-blue); font-size: 24px; letter-spacing: .08em; }
.acfb-success__note { padding: 13px 15px; border-radius: 6px; background: #fff3d8; color: #6d4c00 !important; font-size: 13px !important; }
.acfb-booking__unavailable, .acfb-booking__noscript { padding: 48px; text-align: center; }

@media (max-width: 900px) {
    .acfb-booking { width: calc(100% - 24px); margin: 24px auto; }
    .acfb-booking__layout { grid-template-columns: 1fr; }
    .acfb-summary { border-left: 0; border-top: 1px solid var(--acfb-line); }
    .acfb-summary__wood { height: 90px; }
    .acfb-summary__content { display: grid; grid-template-columns: 1fr 1.4fr; gap: 22px; }
    .acfb-summary__content > .acfb-eyebrow, .acfb-summary__content > h2 { grid-column: 1; }
    .acfb-summary__content dl { grid-column: 2; grid-row: 1 / span 3; }
    .acfb-summary__promise { grid-column: 1; }
}

@media (max-width: 680px) {
    .acfb-booking { width: calc(100% - 16px); margin: 16px auto; border-radius: 10px; }
    .acfb-booking__test { align-items: flex-start; flex-direction: column; gap: 2px; text-align: left; }
    .acfb-booking__header { padding: 15px 18px; }
    .acfb-booking__brand img { width: 45px; height: 45px; }
    .acfb-booking__brand { font-size: 15px; }
    .acfb-booking__brand strong { font-size: 19px; }
    .acfb-booking__support span { display: none; }
    .acfb-booking__main { padding: 25px 18px 34px; }
    .acfb-progress { margin-bottom: 36px; }
    .acfb-progress li { gap: 0; font-size: 0; }
    .acfb-progress span { font-size: 12px; }
    .acfb-progress li:not(:last-child)::after { left: 31px; right: 5px; }
    .acfb-service-cards, .acfb-form-row { grid-template-columns: 1fr; }
    .acfb-booking .acfb-service-card { min-height: 112px; padding: 17px; }
    .acfb-booking .acfb-service-card.is-selected,
    .acfb-booking .acfb-service-card.is-selected:hover,
    .acfb-booking .acfb-service-card.is-selected:focus { padding: 16px; }
    .acfb-calendar { padding: 14px 10px; }
    .acfb-calendar__toolbar { grid-template-columns: 1fr 1fr; }
    .acfb-calendar__month { grid-column: 1 / -1; grid-row: 1; }
    .acfb-calendar__month select { width: 100%; }
    .acfb-calendar__nav:first-child { grid-column: 1; grid-row: 2; }
    .acfb-calendar__nav:last-child { grid-column: 2; grid-row: 2; }
    .acfb-calendar__weekdays, .acfb-calendar__grid { grid-template-columns: repeat(7, minmax(32px, 1fr)); gap: 4px; }
    .acfb-calendar__grid { min-height: 240px; }
    .acfb-calendar__blank, .acfb-date { min-height: 40px; }
    .acfb-time-list { grid-template-columns: repeat(2, 1fr); }
    .acfb-step__actions { align-items: stretch; flex-direction: column-reverse; }
    .acfb-button { width: 100%; }
    .acfb-button--primary { margin-left: 0; }
    .acfb-review > div { grid-template-columns: 1fr; gap: 4px; }
    .acfb-summary__content { display: block; }
}

@media (prefers-reduced-motion: reduce) {
    .acfb-booking * { scroll-behavior: auto !important; transition: none !important; }
}
