/*
 * Luxury glass redesign for the full public booking journey.
 * This file is intentionally loaded after the base public-booking styles.
 * Booking-management rules use a slightly higher specificity because that
 * page loads its own stylesheet after this shared layer.
 */

:root {
    --pb-bg: #f3eee7;
    --pb-bg-soft: #faf7f2;
    --pb-surface: rgba(255, 255, 255, 0.76);
    --pb-surface-soft: rgba(255, 255, 255, 0.48);
    --pb-text: #201d24;
    --pb-muted: #756f79;
    --pb-muted-strong: #514b57;
    --pb-border: rgba(104, 87, 112, 0.13);
    --pb-border-strong: rgba(95, 73, 104, 0.23);
    --pb-accent: #72517d;
    --pb-accent-strong: #563961;
    --pb-accent-soft: rgba(114, 81, 125, 0.11);
    --pb-success: #18764c;
    --pb-success-soft: rgba(24, 118, 76, 0.1);
    --pb-warning: #8b601d;
    --pb-warning-soft: rgba(168, 111, 31, 0.1);
    --pb-danger: #ae342d;
    --pb-danger-soft: rgba(174, 52, 45, 0.09);
    --pb-shadow: 0 28px 80px rgba(49, 35, 54, 0.1);
    --pb-shadow-soft: 0 14px 42px rgba(49, 35, 54, 0.075);
    --pb-shadow-float: 0 22px 54px rgba(49, 35, 54, 0.13);
    --pb-glass: rgba(255, 255, 255, 0.64);
    --pb-glass-strong: rgba(255, 255, 255, 0.82);
    --pb-radius-xl: 32px;
    --pb-radius-lg: 24px;
    --pb-radius-md: 17px;
    --pb-max-width: 1200px;
}

html {
    background: var(--pb-bg);
    color-scheme: light;
}

body.public-booking-body {
    position: relative;
    isolation: isolate;
    overflow-x: hidden;
    background:
        radial-gradient(circle at 88% 4%, rgba(114, 81, 125, 0.15), transparent 27rem),
        radial-gradient(circle at 8% 34%, rgba(196, 161, 119, 0.12), transparent 30rem),
        linear-gradient(145deg, #fbf8f4 0%, #f4efe8 48%, #eee7df 100%);
    background-attachment: fixed;
}

body.public-booking-body::before,
body.public-booking-body::after {
    position: fixed;
    z-index: -1;
    width: 28rem;
    height: 28rem;
    border-radius: 50%;
    content: "";
    filter: blur(26px);
    opacity: 0.62;
    pointer-events: none;
}

body.public-booking-body::before {
    inset: -12rem -9rem auto auto;
    background: radial-gradient(circle, rgba(120, 85, 132, 0.22), transparent 68%);
}

body.public-booking-body::after {
    inset: auto auto -15rem -11rem;
    background: radial-gradient(circle, rgba(203, 169, 124, 0.2), transparent 69%);
}

::selection {
    color: var(--pb-text);
    background: rgba(114, 81, 125, 0.2);
}

.public-booking-app {
    width: min(var(--pb-max-width), calc(100% - 40px));
    min-height: calc(100dvh - 82px);
    padding-block: clamp(22px, 4vw, 52px) 34px;
}

.pb-page-shell {
    gap: 20px;
}

.pb-business-header,
.pb-content-card,
.pb-summary-card,
.pb-result-card,
.pb-gateway-card {
    border-color: var(--pb-border);
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.84), rgba(255, 255, 255, 0.57));
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.76),
        var(--pb-shadow);
    backdrop-filter: blur(22px) saturate(135%);
    -webkit-backdrop-filter: blur(22px) saturate(135%);
}

.pb-business-header,
.pb-content-card,
.pb-result-card,
.pb-gateway-card {
    position: relative;
    overflow: hidden;
}

.pb-business-header::after,
.pb-content-card::after,
.pb-result-card::after,
.pb-gateway-card::after {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(120deg, rgba(255, 255, 255, 0.22), transparent 42%);
    content: "";
    pointer-events: none;
}

.pb-business-header > *,
.pb-content-card > *,
.pb-result-card > *,
.pb-gateway-card > * {
    position: relative;
    z-index: 1;
}

.pb-business-header {
    padding: clamp(22px, 4vw, 38px);
    border-radius: var(--pb-radius-xl);
}

.pb-business-header--compact {
    padding: 18px 22px;
}

.pb-business-identity {
    gap: 20px;
}

.pb-business-logo {
    border-color: rgba(114, 81, 125, 0.15);
    background: rgba(255, 255, 255, 0.68);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.88),
        0 14px 34px rgba(49, 35, 54, 0.1);
}

.pb-business-logo--fallback {
    color: var(--pb-accent-strong);
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.78), rgba(114, 81, 125, 0.14));
}

.pb-eyebrow,
.pb-step-label {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    gap: 7px;
    color: var(--pb-accent-strong);
    font-size: 11px;
    font-weight: 850;
    letter-spacing: 0;
}

.pb-eyebrow::before,
.pb-step-label::before {
    width: 18px;
    height: 1px;
    background: currentColor;
    content: "";
    opacity: 0.45;
}

.pb-business-header h1,
.pb-content-heading h2,
.pb-summary-card h2,
.pb-result-card h1,
.pb-gateway-card h1 {
    letter-spacing: -0.055em;
}

.pb-business-header h1 {
    margin-top: 5px;
    font-size: clamp(27px, 4.1vw, 44px);
}

.pb-business-header--compact h1 {
    font-size: clamp(21px, 3vw, 29px);
}

.pb-business-header p {
    max-width: 760px;
    margin-top: 8px;
    font-size: 14px;
    line-height: 1.95;
}

.pb-business-contact {
    gap: 9px;
}

.pb-business-contact a,
.pb-contact-button,
.pb-back-link,
.pb-about-button {
    min-height: 44px;
    padding-inline: 16px;
    border-color: var(--pb-border);
    background: rgba(255, 255, 255, 0.52);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.76);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition:
        border-color 180ms ease,
        background-color 180ms ease,
        box-shadow 180ms ease,
        transform 180ms ease;
}

.pb-business-contact a:hover,
.pb-contact-button:hover,
.pb-back-link:hover,
.pb-about-button:hover {
    border-color: var(--pb-border-strong);
    background: rgba(255, 255, 255, 0.78);
    box-shadow: var(--pb-shadow-soft);
    transform: translateY(-1px);
}

.pb-content-card {
    padding: clamp(20px, 3.7vw, 36px);
}

.pb-content-heading {
    gap: 24px;
    margin-bottom: 26px;
}

.pb-content-heading h2 {
    margin-top: 6px;
    font-size: clamp(24px, 3.6vw, 36px);
}

.pb-content-heading p {
    max-width: 680px;
    margin-top: 8px;
    line-height: 1.9;
}

.pb-count-badge,
.pb-date-summary,
.pb-status-badge {
    min-height: 34px;
    padding-inline: 13px;
    border: 1px solid rgba(114, 81, 125, 0.13);
    background: rgba(114, 81, 125, 0.09);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.64);
}

.pb-service-grid {
    gap: 16px;
}

.pb-service-card {
    border-color: var(--pb-border);
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.42));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.68);
    backdrop-filter: blur(16px) saturate(125%);
    -webkit-backdrop-filter: blur(16px) saturate(125%);
    transition:
        border-color 200ms ease,
        box-shadow 200ms ease,
        transform 200ms ease,
        background-color 200ms ease;
}

.pb-service-card__link {
    gap: 24px;
    padding: 22px;
}

.pb-service-card h3 {
    font-size: 20px;
    letter-spacing: -0.025em;
}

.pb-service-card p,
.pb-service-description {
    color: var(--pb-muted);
    line-height: 1.95;
}

.pb-service-meta {
    gap: 9px;
}

.pb-service-meta div {
    padding: 12px 13px;
    border-color: rgba(104, 87, 112, 0.11);
    background: rgba(255, 255, 255, 0.48);
}

.pb-primary-action,
.pb-secondary-button,
.pb-text-button,
.pb-copy-button,
.bm-danger-action {
    transition:
        border-color 180ms ease,
        background-color 180ms ease,
        box-shadow 180ms ease,
        color 180ms ease,
        transform 180ms ease;
}

.pb-primary-action {
    min-height: 50px;
    border-color: rgba(72, 43, 82, 0.76);
    background:
        linear-gradient(135deg, #62446e 0%, #4e3358 100%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.18),
        0 14px 30px rgba(78, 51, 88, 0.22);
}

.pb-primary-action:hover {
    border-color: #4b3055;
    background:
        linear-gradient(135deg, #6f4d7b 0%, #55365f 100%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.22),
        0 18px 38px rgba(78, 51, 88, 0.27);
    transform: translateY(-2px);
}

.pb-primary-action:active {
    transform: translateY(0);
}

.pb-secondary-button {
    min-height: 50px;
    border-color: var(--pb-border-strong);
    background: rgba(255, 255, 255, 0.58);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.pb-secondary-button:hover {
    border-color: rgba(86, 57, 97, 0.34);
    background: rgba(255, 255, 255, 0.8);
    box-shadow: var(--pb-shadow-soft);
    transform: translateY(-1px);
}

.pb-copy-button {
    border: 1px solid rgba(114, 81, 125, 0.12);
    background: rgba(114, 81, 125, 0.08);
}

.pb-text-link {
    text-decoration-color: rgba(86, 57, 97, 0.32);
}

.pb-progress {
    position: sticky;
    z-index: 30;
    top: 12px;
    gap: 6px;
    padding: 7px;
    border-color: rgba(104, 87, 112, 0.12);
    background: rgba(255, 255, 255, 0.64);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.78),
        0 16px 40px rgba(49, 35, 54, 0.09);
    backdrop-filter: blur(20px) saturate(135%);
    -webkit-backdrop-filter: blur(20px) saturate(135%);
}

.pb-progress > span {
    min-height: 44px;
}

.pb-progress b {
    background: rgba(255, 255, 255, 0.62);
}

.pb-progress .is-active {
    border: 1px solid rgba(114, 81, 125, 0.1);
    background: rgba(114, 81, 125, 0.1);
}

.pb-progress .is-done b {
    border: 1px solid rgba(24, 118, 76, 0.1);
}

.pb-booking-grid {
    grid-template-columns: minmax(270px, 0.34fr) minmax(0, 1fr);
    gap: 20px;
}

.pb-summary-card {
    top: 84px;
    gap: 18px;
    padding: 22px;
    border-radius: var(--pb-radius-lg);
}

.pb-summary-card dl,
.pb-result-summary {
    gap: 9px;
}

.pb-summary-card dl > div,
.pb-result-summary > div,
.pb-payment-summary > div {
    padding: 12px 13px;
    border-color: rgba(104, 87, 112, 0.11);
    background: rgba(255, 255, 255, 0.46);
}

.pb-section-block,
.pb-payment-card {
    gap: 16px;
    padding: 20px;
    border-color: rgba(104, 87, 112, 0.11);
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.52), rgba(255, 255, 255, 0.31));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.58);
}

.pb-section-title h3 {
    font-size: 18px;
    letter-spacing: -0.02em;
}

.pb-date-strip {
    gap: 10px;
    padding-block: 3px 10px;
}

.pb-date-card {
    min-height: 82px;
    padding: 14px;
    border-color: rgba(104, 87, 112, 0.12);
    background: rgba(255, 255, 255, 0.5);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.66);
    transition:
        border-color 180ms ease,
        box-shadow 180ms ease,
        transform 180ms ease,
        background-color 180ms ease;
}

.pb-date-card:hover:not(.is-disabled) {
    border-color: var(--pb-border-strong);
    background: rgba(255, 255, 255, 0.74);
    box-shadow: var(--pb-shadow-soft);
    transform: translateY(-2px);
}

.pb-date-card.is-selected {
    border-color: rgba(114, 81, 125, 0.55);
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.7), rgba(114, 81, 125, 0.13));
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.72),
        0 0 0 3px rgba(114, 81, 125, 0.09);
}

.pb-date-card.is-disabled {
    border-color: rgba(104, 87, 112, 0.08);
    background: rgba(235, 231, 226, 0.56);
}

.pb-time-grid {
    gap: 10px;
}

.pb-time-chip {
    min-height: 72px;
    border-color: rgba(104, 87, 112, 0.12);
    background: rgba(255, 255, 255, 0.5);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.68);
    transition:
        border-color 180ms ease,
        box-shadow 180ms ease,
        transform 180ms ease,
        background-color 180ms ease;
}

.pb-time-chip:hover {
    border-color: var(--pb-border-strong);
    background: rgba(255, 255, 255, 0.76);
    box-shadow: var(--pb-shadow-soft);
    transform: translateY(-2px);
}

.pb-time-input:checked + .pb-time-chip {
    border-color: rgba(114, 81, 125, 0.58);
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.72), rgba(114, 81, 125, 0.13));
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.72),
        0 0 0 3px rgba(114, 81, 125, 0.09);
}

.pb-form-grid {
    gap: 15px;
}

.pb-form-field {
    gap: 8px;
}

.pb-form-field input,
.pb-form-field textarea {
    min-height: 54px;
    padding-inline: 15px;
    border-color: rgba(95, 73, 104, 0.21);
    background: rgba(255, 255, 255, 0.58);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
    transition:
        border-color 180ms ease,
        background-color 180ms ease,
        box-shadow 180ms ease;
}

.pb-form-field textarea {
    min-height: 116px;
}

.pb-form-field input:hover,
.pb-form-field textarea:hover {
    border-color: rgba(95, 73, 104, 0.32);
    background: rgba(255, 255, 255, 0.7);
}

.pb-form-field input:focus,
.pb-form-field textarea:focus {
    border-color: rgba(114, 81, 125, 0.58);
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 0 0 4px rgba(114, 81, 125, 0.1);
}

.pb-provider-card {
    padding: 14px;
    border-color: rgba(104, 87, 112, 0.12);
    background: rgba(255, 255, 255, 0.5);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.66);
    transition:
        border-color 180ms ease,
        box-shadow 180ms ease,
        transform 180ms ease,
        background-color 180ms ease;
}

.pb-provider-card:hover {
    border-color: var(--pb-border-strong);
    background: rgba(255, 255, 255, 0.74);
    box-shadow: var(--pb-shadow-soft);
    transform: translateY(-2px);
}

.pb-provider-card:has(input:checked) {
    border-color: rgba(114, 81, 125, 0.56);
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.7), rgba(114, 81, 125, 0.12));
}

.pb-payment-card {
    border-color: rgba(114, 81, 125, 0.17);
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.58), rgba(114, 81, 125, 0.08));
}

.pb-payment-summary .is-total {
    border-color: rgba(114, 81, 125, 0.2);
    background: rgba(114, 81, 125, 0.1);
}

.pb-alert,
.bm-notice {
    border-width: 1px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.44);
}

.pb-empty-state {
    padding: 42px 22px;
    border-color: rgba(95, 73, 104, 0.2);
    background: rgba(255, 255, 255, 0.38);
}

.pb-empty-state__icon {
    display: grid;
    width: 68px;
    height: 68px;
    place-items: center;
    border: 1px solid rgba(114, 81, 125, 0.12);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.58);
    box-shadow: var(--pb-shadow-soft);
}

.pb-result-card,
.pb-gateway-card {
    gap: 18px;
    padding: clamp(28px, 5vw, 52px);
}

.pb-result-mark {
    width: 82px;
    height: 82px;
    border: 1px solid rgba(255, 255, 255, 0.62);
    border-radius: 27px;
    box-shadow: var(--pb-shadow-soft);
}

.pb-result-mark--success {
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.7), rgba(24, 118, 76, 0.12));
}

.pb-result-mark--danger {
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.7), rgba(174, 52, 45, 0.11));
}

.pb-result-business {
    padding: 16px;
    border-color: rgba(104, 87, 112, 0.11);
    background: rgba(255, 255, 255, 0.46);
}

.pb-platform-footer {
    width: fit-content;
    min-height: 54px;
    margin: 0 auto 18px;
    padding: 10px 16px;
    border: 1px solid rgba(104, 87, 112, 0.1);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.42);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.62);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.pb-platform-footer__brand {
    transition: color 180ms ease;
}

.pb-platform-footer__brand:hover {
    color: var(--pb-accent-strong);
}

/* Business information modal */
.pb-business-modal__backdrop {
    background: rgba(32, 26, 35, 0.46);
    backdrop-filter: blur(14px) saturate(110%);
    -webkit-backdrop-filter: blur(14px) saturate(110%);
}

.pb-business-modal__dialog {
    gap: 20px;
    border-color: rgba(255, 255, 255, 0.34);
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.91), rgba(248, 244, 239, 0.82));
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.9),
        0 34px 110px rgba(32, 26, 35, 0.27);
    backdrop-filter: blur(24px) saturate(130%);
    -webkit-backdrop-filter: blur(24px) saturate(130%);
}

.pb-business-modal__close {
    border-color: var(--pb-border);
    background: rgba(255, 255, 255, 0.58);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.pb-business-modal__section,
.pb-business-modal__contact {
    border-color: rgba(104, 87, 112, 0.11);
    background: rgba(255, 255, 255, 0.42);
}

.pb-business-modal__services li,
.pb-business-modal__contact-group {
    border-color: rgba(104, 87, 112, 0.1);
    background: rgba(255, 255, 255, 0.54);
}

/* Customer-side booking management */
body.public-booking-body .booking-management-page .bm-page-grid {
    gap: 20px;
}

body.public-booking-body .booking-management-page .bm-management-card,
body.public-booking-body .booking-management-page .bm-context-card {
    top: 84px;
}

body.public-booking-body .booking-management-page .bm-management-card {
    gap: 17px;
}

body.public-booking-body .booking-management-page .bm-action-disabled {
    min-height: 50px;
    border-color: rgba(104, 87, 112, 0.11);
    background: rgba(255, 255, 255, 0.42);
}

body.public-booking-body .booking-management-page .bm-summary-grid {
    gap: 10px;
}

body.public-booking-body .booking-management-page .bm-summary-grid > div {
    padding: 14px 15px;
    border-color: rgba(104, 87, 112, 0.11);
    background: rgba(255, 255, 255, 0.46);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.58);
}

body.public-booking-body .booking-management-page .bm-pending-requests span {
    border-color: rgba(139, 96, 29, 0.17);
    background: rgba(255, 248, 230, 0.52);
}

body.public-booking-body .booking-management-page .bm-notice {
    padding: 15px 16px;
    border-color: rgba(104, 87, 112, 0.11);
    background: rgba(255, 255, 255, 0.42);
}

body.public-booking-body .booking-management-page .bm-notice--info {
    border-color: rgba(114, 81, 125, 0.15);
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.52), rgba(114, 81, 125, 0.08));
}

body.public-booking-body .booking-management-page .bm-notice--warning {
    border-color: rgba(139, 96, 29, 0.17);
    background: rgba(255, 248, 230, 0.52);
}

body.public-booking-body .booking-management-page .bm-form-grid {
    gap: 15px;
}

body.public-booking-body .booking-management-page .bm-form-control,
body.public-booking-body .booking-management-page .up-form-control,
body.public-booking-body .booking-management-page .ui-date-picker__trigger.ui-button {
    min-height: 54px;
    border-color: rgba(95, 73, 104, 0.21);
    background: rgba(255, 255, 255, 0.58);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

body.public-booking-body .booking-management-page .bm-form-control:hover,
body.public-booking-body .booking-management-page .up-form-control:hover,
body.public-booking-body .booking-management-page .ui-date-picker__trigger.ui-button:hover {
    border-color: rgba(95, 73, 104, 0.32);
    background: rgba(255, 255, 255, 0.7);
}

body.public-booking-body .booking-management-page .bm-form-control:focus,
body.public-booking-body .booking-management-page .up-form-control:focus,
body.public-booking-body .booking-management-page .bm-select-shell:focus-within .bm-time-select {
    border-color: rgba(114, 81, 125, 0.58);
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 0 0 4px rgba(114, 81, 125, 0.1);
}

body.public-booking-body .booking-management-page .ui-button {
    border-color: rgba(104, 87, 112, 0.13);
    background: rgba(255, 255, 255, 0.48);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.62);
}

body.public-booking-body .booking-management-page .bm-danger-action {
    min-height: 50px;
    border-color: rgba(143, 41, 35, 0.76);
    background: linear-gradient(135deg, #ba3b34, #972a25);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.16),
        0 14px 30px rgba(174, 52, 45, 0.18);
}

body.public-booking-body .booking-management-page .bm-danger-action:hover {
    background: linear-gradient(135deg, #c4463e, #a32f29);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.18),
        0 18px 38px rgba(174, 52, 45, 0.22);
    transform: translateY(-2px);
}

body.public-booking-body .booking-management-page .bm-request-sent-timeline {
    gap: 14px;
}

body.public-booking-body .booking-management-page .bm-request-sent-timeline > div {
    padding: 17px;
    border-color: rgba(104, 87, 112, 0.11);
    background: rgba(255, 255, 255, 0.44);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.58);
}

body.public-booking-body .booking-management-page .bm-request-sent-timeline span {
    border: 1px solid rgba(114, 81, 125, 0.12);
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.72), rgba(114, 81, 125, 0.12));
}

body.public-booking-body .booking-management-page .bm-request-sent-summary {
    border-color: rgba(104, 87, 112, 0.11);
    background: rgba(255, 255, 255, 0.48);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.62);
}

@media (hover: hover) and (pointer: fine) {
    .pb-service-card:hover,
    .pb-service-card:focus-within {
        border-color: rgba(114, 81, 125, 0.25);
        background:
            linear-gradient(145deg, rgba(255, 255, 255, 0.84), rgba(255, 255, 255, 0.52));
        box-shadow: var(--pb-shadow-float);
        transform: translateY(-4px);
    }
}

@media (max-width: 900px) {
    .pb-progress,
    .pb-summary-card,
    body.public-booking-body .booking-management-page .bm-management-card,
    body.public-booking-body .booking-management-page .bm-context-card {
        top: 10px;
    }

    .pb-summary-card,
    body.public-booking-body .booking-management-page .bm-management-card,
    body.public-booking-body .booking-management-page .bm-context-card {
        position: static;
    }
}

@media (max-width: 700px) {
    :root {
        --pb-radius-xl: 25px;
        --pb-radius-lg: 21px;
        --pb-radius-md: 16px;
    }

    body.public-booking-body {
        background:
            radial-gradient(circle at 88% 2%, rgba(114, 81, 125, 0.13), transparent 20rem),
            linear-gradient(150deg, #fbf8f4 0%, #f3eee7 58%, #ece5dc 100%);
        background-attachment: scroll;
    }

    body.public-booking-body::before,
    body.public-booking-body::after {
        width: 18rem;
        height: 18rem;
        opacity: 0.44;
    }

    .public-booking-app {
        width: min(100% - 16px, var(--pb-max-width));
        padding-block: 8px 18px;
    }

    .pb-page-shell {
        gap: 10px;
    }

    .pb-business-header,
    .pb-content-card,
    .pb-result-card,
    .pb-gateway-card {
        backdrop-filter: blur(18px) saturate(125%);
        -webkit-backdrop-filter: blur(18px) saturate(125%);
    }

    .pb-business-header {
        padding: 17px;
    }

    .pb-business-header--compact {
        padding: 13px 14px;
    }

    .pb-business-identity {
        gap: 12px;
    }

    .pb-business-header h1 {
        font-size: 25px;
    }

    .pb-business-header p {
        font-size: 13px;
        line-height: 1.85;
    }

    .pb-content-card {
        padding: 17px;
    }

    .pb-content-heading {
        gap: 12px;
        margin-bottom: 19px;
    }

    .pb-content-heading h2 {
        font-size: 24px;
    }

    .pb-service-grid {
        gap: 11px;
    }

    .pb-service-card__link {
        gap: 18px;
        padding: 18px;
    }

    .pb-progress {
        top: 6px;
        padding: 5px;
        background: rgba(255, 255, 255, 0.72);
    }

    .pb-summary-card {
        padding: 17px;
    }

    .pb-section-block,
    .pb-payment-card {
        padding: 15px;
    }

    .pb-time-chip {
        min-height: 68px;
    }

    .pb-form-field input,
    .pb-form-field textarea {
        min-height: 52px;
    }

    .pb-sticky-action,
    body.public-booking-body .booking-management-page .bm-form-actions {
        border-color: rgba(104, 87, 112, 0.14);
        background: rgba(255, 255, 255, 0.76);
        box-shadow:
            inset 0 1px 0 rgba(255, 255, 255, 0.78),
            0 -14px 34px rgba(49, 35, 54, 0.1);
        backdrop-filter: blur(20px) saturate(130%);
        -webkit-backdrop-filter: blur(20px) saturate(130%);
    }

    .pb-primary-action,
    .pb-secondary-button,
    body.public-booking-body .booking-management-page .bm-danger-action {
        min-height: 50px;
    }

    .pb-platform-footer {
        width: calc(100% - 24px);
        margin-bottom: max(12px, env(safe-area-inset-bottom));
        border-radius: 20px;
    }

    .pb-business-modal__dialog {
        background:
            linear-gradient(160deg, rgba(255, 255, 255, 0.94), rgba(246, 241, 235, 0.9));
        backdrop-filter: blur(24px) saturate(125%);
        -webkit-backdrop-filter: blur(24px) saturate(125%);
    }

    body.public-booking-body .booking-management-page .bm-content-card {
        padding: 17px;
    }

    body.public-booking-body .booking-management-page .bm-request-sent-card {
        padding-inline: 17px;
    }
}

@media (max-width: 430px) {
    .public-booking-app {
        width: min(100% - 12px, var(--pb-max-width));
    }

    .pb-business-header--compact {
        gap: 9px;
    }

    .pb-business-logo {
        width: 60px;
        height: 60px;
        flex-basis: 60px;
    }

    .pb-business-header--compact .pb-business-logo {
        width: 46px;
        height: 46px;
        flex-basis: 46px;
    }

    .pb-content-heading h2 {
        font-size: 22px;
    }

    .pb-service-card h3 {
        font-size: 18px;
    }

    .pb-progress > span {
        min-height: 39px;
    }

    .pb-time-grid {
        gap: 8px;
    }

    .pb-time-chip strong {
        font-size: 15px;
    }

    .pb-result-card,
    .pb-gateway-card {
        padding: 25px 17px;
    }

    .pb-platform-footer {
        gap: 8px;
        padding-inline: 12px;
        font-size: 10px;
    }
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    .pb-business-header,
    .pb-content-card,
    .pb-summary-card,
    .pb-result-card,
    .pb-gateway-card,
    .pb-progress,
    .pb-service-card,
    .pb-platform-footer,
    .pb-business-modal__dialog {
        background: rgba(255, 255, 255, 0.94);
    }
}

@media (prefers-reduced-motion: reduce) {
    body.public-booking-body::before,
    body.public-booking-body::after {
        filter: none;
    }

    .pb-primary-action:hover,
    .pb-secondary-button:hover,
    .pb-date-card:hover,
    .pb-time-chip:hover,
    .pb-provider-card:hover,
    .pb-service-card:hover,
    .pb-service-card:focus-within,
    body.public-booking-body .booking-management-page .bm-danger-action:hover {
        transform: none;
    }
}

.pb-alert.validation-summary-valid {
    display: none;
}

.pb-service-description {
    display: -webkit-box;
    margin: 0;
    overflow: hidden;
    color: var(--pb-muted);
    font-size: 13px;
    line-height: 1.95;
    white-space: pre-line;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
}

.pb-service-meta--single {
    grid-template-columns: 1fr;
}
