:root {
    --pb-bg: #f7f4ef;
    --pb-bg-soft: #fbfaf7;
    --pb-surface: #ffffff;
    --pb-surface-soft: #faf8f5;
    --pb-text: #201f24;
    --pb-muted: #6f6b75;
    --pb-muted-strong: #514d57;
    --pb-border: #e8e1d8;
    --pb-border-strong: #d9cfc3;
    --pb-accent: #6f4b7d;
    --pb-accent-strong: #593866;
    --pb-accent-soft: #f2eaf5;
    --pb-success: #16794b;
    --pb-success-soft: #e9f7ef;
    --pb-warning: #936319;
    --pb-warning-soft: #fff6df;
    --pb-danger: #b42318;
    --pb-danger-soft: #fff0ee;
    --pb-shadow: 0 24px 70px rgba(55, 43, 35, 0.08);
    --pb-shadow-soft: 0 12px 34px rgba(55, 43, 35, 0.06);
    --pb-radius-xl: 28px;
    --pb-radius-lg: 22px;
    --pb-radius-md: 16px;
    --pb-max-width: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
    scroll-behavior: smooth;
}

body.public-booking-body {
    min-height: 100%;
    margin: 0;
    color: var(--pb-text);
    background:
        radial-gradient(circle at 90% 0%, rgba(111, 75, 125, 0.09), transparent 28rem),
        linear-gradient(180deg, var(--pb-bg-soft), var(--pb-bg));
    font-family: Vazirmatn, Tahoma, sans-serif;
    line-height: 1.8;
}

button,
input,
textarea,
select {
    font: inherit;
}

a {
    color: inherit;
}

.pb-skip-link {
    position: fixed;
    z-index: 1000;
    inset: 10px auto auto 10px;
    padding: 8px 12px;
    border-radius: 10px;
    color: #fff;
    background: var(--pb-accent-strong);
    transform: translateY(-160%);
    transition: transform 160ms ease;
}

.pb-skip-link:focus {
    transform: translateY(0);
}

.public-booking-app {
    width: min(var(--pb-max-width), calc(100% - 32px));
    min-height: calc(100dvh - 92px);
    margin-inline: auto;
    padding-block: clamp(18px, 4vw, 44px) 28px;
}

.pb-page-shell {
    display: grid;
    gap: 18px;
}

.pb-page-shell--result {
    width: min(760px, 100%);
    margin-inline: auto;
}

.pb-business-header,
.pb-content-card,
.pb-summary-card,
.pb-result-card,
.pb-gateway-card {
    border: 1px solid var(--pb-border);
    background: var(--pb-surface);
    box-shadow: var(--pb-shadow);
}

.pb-business-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: clamp(20px, 4vw, 34px);
    border-radius: var(--pb-radius-xl);
}

.pb-business-header--compact {
    padding: 18px 22px;
}

.pb-business-identity {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 18px;
}

.pb-business-identity > div {
    min-width: 0;
}

.pb-business-logo {
    width: 78px;
    height: 78px;
    flex: 0 0 78px;
    border: 1px solid var(--pb-border);
    border-radius: 24px;
    background: var(--pb-surface-soft);
    object-fit: cover;
}

.pb-business-header--compact .pb-business-logo,
.pb-result-business .pb-business-logo {
    width: 58px;
    height: 58px;
    flex-basis: 58px;
    border-radius: 18px;
}

.pb-business-logo--fallback {
    display: grid;
    place-items: center;
    color: var(--pb-accent-strong);
    background: var(--pb-accent-soft);
    font-size: 30px;
    font-weight: 900;
}

.pb-business-header--compact .pb-business-logo--fallback,
.pb-result-business .pb-business-logo--fallback {
    font-size: 22px;
}

.pb-eyebrow,
.pb-step-label {
    color: var(--pb-accent);
    font-size: 12px;
    font-weight: 900;
}

.pb-business-header h1,
.pb-content-heading h2,
.pb-summary-card h2,
.pb-result-card h1,
.pb-gateway-card h1 {
    margin: 0;
    letter-spacing: -0.04em;
    line-height: 1.45;
}

.pb-business-header h1 {
    margin-top: 2px;
    font-size: clamp(26px, 4vw, 42px);
    font-weight: 950;
}

.pb-business-header--compact h1 {
    font-size: clamp(21px, 3vw, 30px);
}

.pb-business-header p,
.pb-content-heading p,
.pb-service-card p,
.pb-empty-state p,
.pb-muted,
.pb-payment-card p,
.pb-result-card > p,
.pb-gateway-card > p,
.pb-privacy-note {
    margin: 0;
    color: var(--pb-muted);
}

.pb-business-header p {
    max-width: 720px;
    margin-top: 6px;
    font-size: 14px;
}

.pb-business-contact {
    display: grid;
    max-width: 320px;
    justify-items: end;
    gap: 7px;
    color: var(--pb-muted-strong);
    font-size: 13px;
    text-align: left;
}

.pb-business-contact a,
.pb-contact-button,
.pb-back-link {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    padding: 8px 14px;
    border: 1px solid var(--pb-border);
    border-radius: 999px;
    color: var(--pb-text);
    background: var(--pb-surface-soft);
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
}

.pb-back-link {
    flex: 0 0 auto;
}

.pb-content-card {
    padding: clamp(18px, 3.5vw, 32px);
    border-radius: var(--pb-radius-xl);
}

.pb-content-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 22px;
}

.pb-content-heading h2 {
    margin-top: 4px;
    font-size: clamp(23px, 3.5vw, 34px);
    font-weight: 950;
}

.pb-content-heading p {
    margin-top: 7px;
    font-size: 14px;
}

.pb-count-badge,
.pb-date-summary,
.pb-status-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 7px 11px;
    border-radius: 999px;
    color: var(--pb-accent-strong);
    background: var(--pb-accent-soft);
    font-size: 12px;
    font-weight: 850;
    white-space: nowrap;
}

.pb-service-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.pb-service-card {
    display: grid;
    min-width: 0;
    min-height: 100%;
    align-content: space-between;
    gap: 20px;
    padding: 20px;
    border: 1px solid var(--pb-border);
    border-radius: var(--pb-radius-lg);
    background: var(--pb-surface-soft);
    transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.pb-service-card:hover {
    border-color: var(--pb-border-strong);
    box-shadow: var(--pb-shadow-soft);
    transform: translateY(-2px);
}

.pb-service-card__content {
    display: grid;
    gap: 12px;
}

.pb-service-card h3 {
    margin: 0;
    font-size: 19px;
    font-weight: 900;
}

.pb-service-card p {
    display: -webkit-box;
    overflow: hidden;
    font-size: 13px;
    line-height: 1.85;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.pb-service-meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin: 0;
}

.pb-service-meta div {
    display: grid;
    gap: 3px;
    padding: 11px 12px;
    border: 1px solid var(--pb-border);
    border-radius: 14px;
    background: var(--pb-surface);
}

.pb-service-meta dt,
.pb-service-meta dd,
.pb-summary-card dt,
.pb-summary-card dd,
.pb-result-summary dt,
.pb-result-summary dd {
    margin: 0;
}

.pb-service-meta dt,
.pb-summary-card dt,
.pb-result-summary dt,
.pb-payment-summary span {
    color: var(--pb-muted);
    font-size: 11px;
    font-weight: 700;
}

.pb-service-meta dd,
.pb-summary-card dd,
.pb-result-summary dd,
.pb-payment-summary strong {
    color: var(--pb-text);
    font-size: 13px;
    font-weight: 850;
}

.pb-primary-action,
.pb-secondary-button,
.pb-text-button,
.pb-copy-button {
    min-height: 48px;
    border-radius: 15px;
    cursor: pointer;
    font-weight: 900;
    text-decoration: none;
}

.pb-primary-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 11px 18px;
    border: 1px solid var(--pb-accent-strong);
    color: #fff;
    background: var(--pb-accent-strong);
    box-shadow: 0 12px 28px rgba(89, 56, 102, 0.2);
}

.pb-primary-action:hover {
    background: var(--pb-accent);
}

.pb-primary-action:disabled {
    border-color: #cfc7d2;
    color: #8a838d;
    background: #ece8ed;
    box-shadow: none;
    cursor: not-allowed;
}

.pb-primary-action--wide {
    width: 100%;
}

.pb-primary-action--card {
    width: 100%;
}

.pb-secondary-button {
    display: inline-flex;
    width: 100%;
    align-items: center;
    justify-content: center;
    padding: 11px 18px;
    border: 1px solid var(--pb-border-strong);
    color: var(--pb-text);
    background: var(--pb-surface);
}

.pb-text-button,
.pb-copy-button {
    border: 0;
    color: var(--pb-accent-strong);
    background: transparent;
}

.pb-text-button {
    min-height: 40px;
}

.pb-copy-button {
    min-height: 34px;
    padding: 4px 9px;
    border-radius: 10px;
    background: var(--pb-accent-soft);
    font-size: 11px;
}

.pb-text-link {
    width: fit-content;
    color: var(--pb-accent-strong);
    font-size: 13px;
    font-weight: 850;
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
}

.pb-progress {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    padding: 8px;
    border: 1px solid var(--pb-border);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.88);
    box-shadow: var(--pb-shadow-soft);
    backdrop-filter: blur(12px);
}

.pb-progress > span {
    display: inline-flex;
    min-height: 42px;
    min-width: 0;
    align-items: center;
    justify-content: center;
    gap: 7px;
    border-radius: 14px;
    color: var(--pb-muted);
    font-size: 12px;
    font-weight: 800;
}

.pb-progress b {
    display: grid;
    width: 25px;
    height: 25px;
    flex: 0 0 25px;
    place-items: center;
    border-radius: 999px;
    background: var(--pb-surface-soft);
    font-size: 11px;
}

.pb-progress .is-active {
    color: var(--pb-accent-strong);
    background: var(--pb-accent-soft);
}

.pb-progress .is-active b {
    color: #fff;
    background: var(--pb-accent-strong);
}

.pb-progress .is-done {
    color: var(--pb-success);
}

.pb-progress .is-done b {
    background: var(--pb-success-soft);
}

.pb-booking-grid {
    display: grid;
    grid-template-columns: minmax(250px, 0.36fr) minmax(0, 1fr);
    align-items: start;
    gap: 18px;
}

.pb-summary-card {
    position: sticky;
    top: 16px;
    display: grid;
    gap: 16px;
    padding: 20px;
    border-radius: var(--pb-radius-lg);
}

.pb-summary-card h2 {
    font-size: 21px;
    font-weight: 900;
}

.pb-summary-card dl,
.pb-result-summary {
    display: grid;
    gap: 8px;
    margin: 0;
}

.pb-summary-card dl > div,
.pb-result-summary > div,
.pb-payment-summary > div {
    display: flex;
    min-width: 0;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 11px 12px;
    border: 1px solid var(--pb-border);
    border-radius: 14px;
    background: var(--pb-surface-soft);
}

.pb-summary-card dd,
.pb-result-summary dd {
    text-align: left;
}

.pb-section-block,
.pb-payment-card {
    display: grid;
    gap: 14px;
    padding: 18px;
    border: 1px solid var(--pb-border);
    border-radius: var(--pb-radius-lg);
    background: var(--pb-surface-soft);
}

.pb-section-block + .pb-section-block,
.pb-section-block + .pb-payment-card {
    margin-top: 14px;
}

.pb-section-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.pb-section-title h3 {
    margin: 0;
    font-size: 17px;
    font-weight: 900;
}

.pb-section-title > span {
    color: var(--pb-muted);
    font-size: 11px;
    font-weight: 750;
}

.pb-date-strip {
    display: flex;
    gap: 9px;
    overflow-x: auto;
    padding-block: 2px 7px;
    scroll-padding-inline: 4px;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
}

.pb-date-card {
    display: grid;
    flex: 0 0 min(146px, 44vw);
    gap: 5px;
    padding: 13px;
    border: 1px solid var(--pb-border);
    border-radius: var(--pb-radius-md);
    color: var(--pb-text);
    background: var(--pb-surface);
    scroll-snap-align: start;
    text-decoration: none;
}

.pb-date-card strong {
    font-size: 13px;
    font-weight: 900;
}

.pb-date-card small {
    color: var(--pb-muted);
    font-size: 11px;
    font-weight: 750;
}

.pb-date-card.is-selected {
    border-color: var(--pb-accent);
    background: var(--pb-accent-soft);
    box-shadow: 0 0 0 3px rgba(111, 75, 125, 0.1);
}

.pb-date-card.is-disabled {
    color: #9b949d;
    background: #f2efec;
    cursor: not-allowed;
    opacity: 0.75;
}

.pb-time-form,
.pb-customer-form {
    display: grid;
    gap: 14px;
}

.pb-time-fieldset {
    padding: 0;
    margin: 0;
    border: 0;
}

.pb-time-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 9px;
}

.pb-time-input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.pb-time-chip {
    display: grid;
    min-height: 68px;
    align-content: center;
    justify-items: center;
    gap: 2px;
    border: 1px solid var(--pb-border);
    border-radius: var(--pb-radius-md);
    background: var(--pb-surface);
    cursor: pointer;
}

.pb-time-chip strong {
    font-size: 16px;
    font-weight: 950;
}

.pb-time-chip span {
    color: var(--pb-muted);
    font-size: 10px;
    font-weight: 700;
}

.pb-time-input:checked + .pb-time-chip {
    border-color: var(--pb-accent);
    color: var(--pb-accent-strong);
    background: var(--pb-accent-soft);
    box-shadow: 0 0 0 3px rgba(111, 75, 125, 0.1);
}

.pb-time-input:focus-visible + .pb-time-chip {
    outline: 3px solid rgba(111, 75, 125, 0.3);
    outline-offset: 2px;
}

.pb-inline-error,
.pb-field-error,
.pb-form-field small {
    margin: 6px 0 0;
    color: var(--pb-danger);
    font-size: 11px;
    font-weight: 750;
}

.pb-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 13px;
}

.pb-form-field {
    display: grid;
    min-width: 0;
    gap: 7px;
}

.pb-form-field--wide {
    grid-column: 1 / -1;
}

.pb-form-field > span {
    font-size: 12px;
    font-weight: 850;
}

.pb-form-field input,
.pb-form-field textarea {
    width: 100%;
    min-height: 50px;
    padding: 0 13px;
    border: 1px solid var(--pb-border-strong);
    border-radius: 14px;
    color: var(--pb-text);
    background: var(--pb-surface);
    outline: 0;
}

.pb-form-field textarea {
    min-height: 105px;
    padding-block: 11px;
    resize: vertical;
}

.pb-form-field input:focus,
.pb-form-field textarea:focus {
    border-color: var(--pb-accent);
    box-shadow: 0 0 0 3px rgba(111, 75, 125, 0.11);
}

.pb-provider-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
}

.pb-provider-card {
    display: flex;
    min-width: 0;
    align-items: flex-start;
    gap: 10px;
    padding: 13px;
    border: 1px solid var(--pb-border);
    border-radius: var(--pb-radius-md);
    background: var(--pb-surface);
    cursor: pointer;
}

.pb-provider-card:has(input:checked) {
    border-color: var(--pb-accent);
    background: var(--pb-accent-soft);
}

.pb-provider-card input {
    margin-top: 5px;
    accent-color: var(--pb-accent-strong);
}

.pb-provider-card span {
    display: grid;
    min-width: 0;
    gap: 2px;
}

.pb-provider-card strong {
    font-size: 13px;
    font-weight: 900;
}

.pb-provider-card small {
    color: var(--pb-muted);
    font-size: 11px;
    line-height: 1.7;
}

.pb-payment-card {
    border-color: #d9c6df;
    background: #fbf7fc;
}

.pb-payment-summary {
    display: grid;
    gap: 8px;
}

.pb-payment-summary .is-total {
    border-color: #ceb6d6;
    background: var(--pb-accent-soft);
}

.pb-payment-summary .is-total strong {
    color: var(--pb-accent-strong);
    font-size: 15px;
}

.pb-alert {
    padding: 12px 14px;
    border-radius: 14px;
    font-size: 12px;
    font-weight: 750;
    line-height: 1.8;
}

.pb-alert:empty {
    display: none;
}

.pb-alert--danger {
    border: 1px solid #f1bbb5;
    color: var(--pb-danger);
    background: var(--pb-danger-soft);
}

.pb-alert--warning {
    border: 1px solid #ecd6a6;
    color: var(--pb-warning);
    background: var(--pb-warning-soft);
}

.pb-alert--success {
    border: 1px solid #b4dfc7;
    color: var(--pb-success);
    background: var(--pb-success-soft);
}

.pb-empty-state {
    display: grid;
    justify-items: center;
    gap: 10px;
    padding: 34px 20px;
    border: 1px dashed var(--pb-border-strong);
    border-radius: var(--pb-radius-lg);
    background: var(--pb-surface-soft);
    text-align: center;
}

.pb-empty-state--compact {
    padding: 20px;
}

.pb-empty-state__icon {
    font-size: 34px;
}

.pb-empty-state h3 {
    margin: 0;
    font-size: 17px;
    font-weight: 900;
}

.pb-sticky-action {
    margin-top: 2px;
}

.pb-result-card,
.pb-gateway-card {
    display: grid;
    justify-items: center;
    gap: 16px;
    padding: clamp(24px, 5vw, 44px);
    border-radius: var(--pb-radius-xl);
    text-align: center;
}

.pb-result-card h1,
.pb-gateway-card h1 {
    font-size: clamp(26px, 4vw, 38px);
    font-weight: 950;
}

.pb-result-mark {
    display: grid;
    width: 76px;
    height: 76px;
    place-items: center;
    border-radius: 25px;
    font-size: 38px;
    font-weight: 950;
}

.pb-result-mark--success {
    color: var(--pb-success);
    background: var(--pb-success-soft);
}

.pb-result-mark--danger {
    color: var(--pb-danger);
    background: var(--pb-danger-soft);
}

.pb-result-business {
    display: flex;
    width: 100%;
    align-items: center;
    gap: 12px;
    padding: 14px;
    border: 1px solid var(--pb-border);
    border-radius: var(--pb-radius-lg);
    background: var(--pb-surface-soft);
    text-align: right;
}

.pb-result-business > div {
    display: grid;
    gap: 2px;
}

.pb-result-business strong {
    font-size: 15px;
    font-weight: 900;
}

.pb-result-business span {
    color: var(--pb-muted);
    font-size: 12px;
}

.pb-result-summary {
    width: 100%;
}

.pb-reference-value {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.pb-result-actions {
    display: grid;
    width: 100%;
    gap: 9px;
}

.pb-live-feedback {
    min-height: 24px;
    margin: 0;
    color: var(--pb-success);
    font-size: 12px;
    font-weight: 750;
}

.pb-gateway-actions {
    display: grid;
    width: min(420px, 100%);
    gap: 9px;
}

.pb-platform-footer {
    display: flex;
    min-height: 64px;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 14px 20px 22px;
    color: var(--pb-muted);
    font-size: 11px;
    font-weight: 700;
}

.pb-platform-footer__brand {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    text-decoration: none;
}

.pb-platform-footer__brand img {
    width: 24px;
    height: 24px;
    border-radius: 8px;
    object-fit: contain;
}

.pb-platform-footer__separator {
    width: 1px;
    height: 18px;
    background: var(--pb-border-strong);
}

.visually-hidden {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

:where(a, button, input, textarea, label):focus-visible {
    outline: 3px solid rgba(111, 75, 125, 0.32);
    outline-offset: 3px;
}

@media (max-width: 900px) {
    .pb-business-header {
        align-items: flex-start;
        flex-wrap: wrap;
    }

    .pb-business-contact {
        width: 100%;
        max-width: none;
        justify-items: start;
        text-align: right;
    }

    .pb-booking-grid {
        grid-template-columns: 1fr;
    }

    .pb-summary-card {
        position: static;
    }

    .pb-summary-card dl {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 700px) {
    .public-booking-app {
        width: min(100% - 18px, var(--pb-max-width));
        padding-block: 9px 18px;
    }

    .pb-page-shell {
        gap: 10px;
    }

    .pb-business-header,
    .pb-content-card,
    .pb-result-card,
    .pb-gateway-card {
        border-radius: 22px;
    }

    .pb-business-header {
        padding: 17px;
    }

    .pb-business-header--compact {
        display: grid;
        grid-template-columns: auto minmax(0, 1fr) auto;
        align-items: center;
        gap: 10px;
    }

    .pb-business-header--compact .pb-business-identity {
        gap: 10px;
    }

    .pb-business-header--compact .pb-business-logo {
        width: 48px;
        height: 48px;
        flex-basis: 48px;
        border-radius: 15px;
    }

    .pb-business-header--compact p {
        display: none;
    }

    .pb-business-logo {
        width: 64px;
        height: 64px;
        flex-basis: 64px;
        border-radius: 20px;
    }

    .pb-business-header h1 {
        font-size: 25px;
    }

    .pb-business-header--compact h1 {
        overflow: hidden;
        font-size: 18px;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .pb-content-card {
        padding: 16px;
    }

    .pb-content-heading {
        display: grid;
        gap: 11px;
        margin-bottom: 17px;
    }

    .pb-content-heading h2 {
        font-size: 23px;
    }

    .pb-count-badge,
    .pb-date-summary {
        width: fit-content;
    }

    .pb-service-grid,
    .pb-form-grid,
    .pb-provider-grid {
        grid-template-columns: 1fr;
    }

    .pb-form-field--wide {
        grid-column: auto;
    }

    .pb-progress {
        position: sticky;
        z-index: 20;
        top: 6px;
        gap: 4px;
        padding: 5px;
        border-radius: 16px;
    }

    .pb-progress > span {
        min-height: 38px;
        gap: 4px;
        font-size: 10px;
    }

    .pb-progress b {
        width: 21px;
        height: 21px;
        flex-basis: 21px;
        font-size: 9px;
    }

    .pb-summary-card {
        padding: 16px;
    }

    .pb-summary-card dl {
        grid-template-columns: 1fr;
    }

    .pb-section-block,
    .pb-payment-card {
        padding: 14px;
        border-radius: 18px;
    }

    .pb-section-title {
        align-items: flex-start;
    }

    .pb-section-title > span {
        text-align: left;
    }

    .pb-time-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .pb-sticky-action {
        position: sticky;
        z-index: 15;
        bottom: max(6px, env(safe-area-inset-bottom));
        padding: 7px;
        border: 1px solid var(--pb-border);
        border-radius: 18px;
        background: rgba(255, 255, 255, 0.92);
        box-shadow: 0 -12px 32px rgba(55, 43, 35, 0.08);
        backdrop-filter: blur(12px);
    }

    .pb-platform-footer {
        flex-wrap: wrap;
        padding-inline: 12px;
        text-align: center;
    }
}

@media (max-width: 430px) {
    .pb-business-header--compact {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .pb-business-header--compact .pb-contact-button {
        display: none;
    }

    .pb-back-link,
    .pb-contact-button {
        min-height: 38px;
        padding-inline: 11px;
        font-size: 11px;
    }

    .pb-business-identity {
        align-items: flex-start;
    }

    .pb-progress > span > span {
        display: none;
    }

    .pb-progress .is-active > span {
        display: inline;
    }

    .pb-time-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .pb-service-meta {
        grid-template-columns: 1fr;
    }

    .pb-platform-footer__separator {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}
