:root {
    --bg: #ffffff;
    --surface: rgba(255, 255, 255, 0.94);
    --surface-soft: #f5f7fb;
    --border: rgba(0, 0, 0, 0.09);
    --text: #1a2030;
    --text-soft: #5a6478;
    --primary: #39a6ac;
    --primary-strong: #2e8a90;
    --petrol: #315965;
    --petrol-deep: #264850;
    --green: #059669;
    --radius-xl: 14px;
    --radius-lg: 10px;
    --radius-md: 8px;
    --radius-sm: 6px;
    --shadow: 0 18px 44px rgba(0, 0, 0, 0.08);
    --transition: 180ms cubic-bezier(0.4, 0, 0.2, 1);
    --page-gutter: 50px;
    --content-top: 32px;
}

* {
    box-sizing: border-box;
}

html,
body {
    height: 100%;
    overflow: hidden;
}

body {
    margin: 0;
    height: 100vh;
    height: 100dvh;
    overflow: hidden;
    font-family: 'Inter', system-ui, sans-serif;
    background: linear-gradient(180deg, #ffffff 0%, #f5f7fb 100%);
    color: var(--text);
}

@font-face {
    font-family: "SN Pro";
    src: url("/assets/fonts/SNPro-Medium.woff2") format("woff2");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

button,
input,
select {
    font: inherit;
}

.profile-loading {
    display: grid;
    gap: 18px;
}

.profile-loading__hero {
    display: grid;
        transition: filter 240ms ease;
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
    gap: 18px;
    padding: 18px;
    border-radius: var(--radius-xl);
    border: 1px solid var(--border);
    background: var(--surface);
    box-shadow: var(--shadow);
}

.profile-loading__image {
    min-height: 320px;
    border-radius: 12px;
}

.profile-loading__body {
    display: grid;
        transition: box-shadow 260ms ease, filter 260ms ease;
    align-content: center;
    gap: 14px;
}

.profile-loading__actions,
.profile-loading__tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.profile-loading__panel {
    display: grid;
    gap: 16px;
        transition: box-shadow 260ms ease, filter 260ms ease;
}

.profile-loading__section {
    display: grid;
    gap: 10px;
}

.profile-loading__service {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 18px;
    padding: 20px;
}

.profile-loading__service-main {
    display: grid;
    gap: 10px;
    flex: 1 1 auto;
}

.shimmer-card {
    border-radius: 9px;
    border: 1px solid rgba(18, 31, 56, 0.06);
    background: #ffffff;
    box-shadow: 0 12px 28px rgba(17, 27, 45, 0.06);
}

.shimmer-block,
.shimmer-line,
.shimmer-pill,
.shimmer-badge,
.shimmer-avatar,
.shimmer-bubble {
    position: relative;
    overflow: hidden;
    background: linear-gradient(90deg, #eef2f6 0%, #f7f9fc 50%, #eef2f6 100%);
    background-size: 200% 100%;
    animation: shimmer-slide 1.3s linear infinite;
}

.shimmer-line {
    height: 14px;
    border-radius: 8px;
}

.shimmer-line--sm {
    width: 110px;
}

.shimmer-line--md {
    width: 42%;
}

.shimmer-line--lg {
    width: 72%;
}

.shimmer-line--xl {
    width: 58%;
    height: 28px;
}

.shimmer-pill {
    width: 108px;
    height: 44px;
    border-radius: 10px;
}

.shimmer-pill--tab {
    width: 132px;
}

.shimmer-badge {
    width: 116px;
    min-width: 116px;
    height: 52px;
    border-radius: 8px;
}

.shimmer-list {
    display: grid;
    gap: 10px;
}

.shimmer-list--messages {
    align-content: end;
    gap: 12px;
    min-height: 220px;
    padding: 8px 0;
}

.shimmer-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 4px;
}

.shimmer-row__copy {
    display: grid;
    gap: 8px;
    flex: 1 1 auto;
    min-width: 0;
}

.shimmer-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    flex: 0 0 40px;
}

.shimmer-card-block {
    display: grid;
    gap: 8px;
    padding: 16px;
    border: 1px solid rgba(18, 31, 56, 0.08);
    border-radius: 16px;
    background: #fff;
}

.shimmer-bubble.shimmer-block {
    height: 44px;
    border-radius: 16px;
    background: linear-gradient(90deg, #e3e9f0 0%, #f5f8fb 50%, #e3e9f0 100%);
    background-size: 200% 100%;
}

.shimmer-bubble--other {
    width: 68%;
    border-bottom-left-radius: 6px;
}

.shimmer-bubble--me {
    width: 52%;
    margin-left: auto;
    border-bottom-right-radius: 6px;
}

.shimmer-bubble--mid {
    width: 58%;
}

.shimmer-bubble--short {
    width: 40%;
}

@keyframes shimmer-slide {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

[hidden] {
    display: none !important;
}

.page {
    height: 100%;
    min-height: 0;
}

.shell {
    width: 100%;
    max-width: none;
    margin: 0;
    padding-left: var(--page-gutter);
    padding-right: var(--page-gutter);
    box-sizing: border-box;
}

.search-bar,
.map-card,
.providers,
.search-suggestions {
    border: 1px solid var(--border);
    background: var(--surface);
    box-shadow: var(--shadow);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    grid-column: 1;
    grid-row: 1;
    justify-self: start;
    min-width: max-content;
    color: #ffffff;
    font-family: "SN Pro", "Inter", system-ui, sans-serif;
    font-size: 22px;
    font-weight: 500;
    letter-spacing: -0.04em;
    line-height: 1;
    text-decoration: none;
}

.brand img {
    width: 36px;
    height: 36px;
    object-fit: contain;
}

.header-bar {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    column-gap: 16px;
    row-gap: 14px;
}

.header-bar .search-bar,
.header-bar .search-suggestions,
.header-bar .header-chips,
.header-bar .header-back {
    grid-column: 1 / -1;
}

.discover-toolbar {
    display: flex;
    justify-content: flex-end;
    grid-column: 2;
    grid-row: 1;
    margin: 0;
}

.discover-toolbar__auth {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 24px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 10px 28px rgba(17, 27, 45, 0.08);
}

.lang-menu {
    position: relative;
}

.discover-toolbar__lang {
    width: 38px;
    min-width: 38px;
    min-height: 38px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(49, 89, 101, 0.1);
    color: #315965;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.discover-toolbar__lang i {
    font-size: 16px;
}

.lang-menu__panel {
    position: absolute;
    top: calc(100% + 8px);
    inset-inline-end: 0;
    z-index: 40;
    display: grid;
    gap: 2px;
    min-width: 188px;
    padding: 6px;
    border: 1px solid rgba(18, 31, 56, 0.08);
    border-radius: 14px;
    background: #ffffff;
    color: #121f38;
    box-shadow: 0 16px 40px rgba(17, 27, 45, 0.16);
}

.lang-menu__panel[hidden] {
    display: none;
}

.lang-menu__option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    min-height: 40px;
    padding: 0 12px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: #121f38;
    cursor: pointer;
    font: inherit;
    font-weight: 600;
    text-align: start;
}

.lang-menu__option i {
    color: #315965;
    font-size: 12px;
    opacity: 0;
}

.lang-menu__option:hover,
.lang-menu__option:focus-visible {
    background: rgba(49, 89, 101, 0.08);
    outline: none;
}

.lang-menu__option.is-current {
    background: rgba(49, 89, 101, 0.12);
}

.lang-menu__option.is-current i {
    opacity: 1;
}

.discover-toolbar__auth-status {
    color: var(--text-soft);
    font-size: 14px;
    font-weight: 600;
}

html[data-auth="pending"] #auth-open-button,
html[data-auth="pending"] #auth-status-text,
html[data-auth="in"] #auth-open-button {
    display: none !important;
}

.discover-toolbar__auth-button {
    min-height: 38px;
    padding: 0 14px;
    border: 0;
    border-radius: 999px;
    background: #315965;
    color: #ffffff;
    cursor: pointer;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    line-height: 1;
}

.nav-label {
    display: none;
}

.discover-toolbar__auth-button.is-current {
    box-shadow: inset 0 -2px 0 #315965;
}

.discover-toolbar__auth-button--secondary {
    background: rgba(49, 89, 101, 0.1);
    color: #315965;
}

.search-bar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 200px 200px auto;
    gap: 10px;
    padding: 12px;
    border-radius: var(--radius-xl);
    align-items: center;
}

.search-bar__field {
    min-height: 60px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 16px;
    border-radius: 18px;
    background: var(--surface-soft);
    border: 1px solid var(--border);
}

.search-bar__field i,
.search-bar__select-wrap i {
    color: var(--text-soft);
}

.search-bar__input {
    flex: 1 1 auto;
    width: 100%;
    border: 0;
    outline: none;
    background: transparent;
    color: var(--text);
}

.search-bar__input::placeholder {
    color: var(--text-soft);
}

.search-bar__clear,
.search-bar__submit {
    border: 0;
    cursor: pointer;
    transition: transform var(--transition), opacity var(--transition), background var(--transition);
}

.search-bar__clear {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.05);
    color: var(--text);
}

.search-bar__select-wrap {
    position: relative;
}

.search-bar__select {
    width: 100%;
    min-height: 60px;
    padding: 0 40px 0 16px;
    border-radius: 9px;
    border: 1px solid var(--border);
    background: var(--surface-soft);
    color: var(--text);
    appearance: none;
    outline: none;
}

.search-bar__select-wrap i {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}

.search-bar__submit {
    min-height: 60px;
    padding: 0 20px;
    border-radius: 9px;
    background: var(--primary);
    color: #ffffff;
    font-weight: 800;
}

.search-bar__submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.search-bar__clear:hover,
.search-bar__submit:hover,
.provider-card__link:hover,
.search-option:hover,
.search-option:focus-visible {
    transform: translateY(-1px);
}

.providers__status,
.provider-card p,
.map-card__count {
    color: var(--text-soft);
}

.providers__status {
    min-height: 22px;
    margin-top: 12px;
    font-size: 14px;
}

.providers__status[data-state="error"] {
    color: #b33a3a;
}

.search-suggestions {
    display: grid;
    gap: 8px;
    margin-top: 10px;
    padding: 10px;
    border-radius: var(--radius-lg);
    max-height: min(360px, 42vh);
    overflow: auto;
}

.search-option {
    width: 100%;
    display: grid;
    gap: 4px;
    text-align: left;
    padding: 12px 14px;
    border-radius: var(--radius-sm);
    border: 1px solid transparent;
    background: #fbfcfe;
    color: var(--text);
    cursor: pointer;
}

.search-option:focus-visible {
    outline: none;
    border-color: rgba(57, 166, 172, 0.35);
}

.search-option span {
    color: var(--text-soft);
    font-size: 13px;
}

.results {
    min-height: 100vh;
    padding: 20px 0 32px;
    overflow: hidden;
}

.results__shell {
    display: grid;
    gap: 18px;
    min-height: calc(100vh - 52px);
    align-content: start;
}

.results__search {
    display: grid;
    gap: 10px;
    transform: translateY(0);
    background: #315965;
    opacity: 0;
    transition:
        transform 320ms cubic-bezier(0.22, 1, 0.36, 1),
        opacity 220ms ease;
    will-change: transform, opacity;
}

.results__search.is-visible {
    opacity: 1;
}

html[data-hub] .results__search {
    opacity: 1;
    transform: none !important;
}

.header-back {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    width: fit-content;
    min-height: 48px;
    padding: 6px 14px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: #fff;
    color: var(--text);
    text-align: start;
    cursor: pointer;
}

.header-back__copy {
    display: grid;
    gap: 1px;
}

.header-back strong {
    color: #315965;
    font-size: 15px;
}

.header-back small {
    color: var(--text-soft);
    font-size: 13px;
    font-weight: 600;
}

.search-bar__labeled {
    display: grid;
    gap: 4px;
    min-width: 0;
}

.search-bar__caption {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: #315965;
}

.header-chips {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 2px;
}

.header-chip {
    flex: 0 0 auto;
    border: 1px solid var(--border);
    background: #fff;
    border-radius: 999px;
    padding: 8px 12px;
    color: #315965;
    font-weight: 700;
    cursor: pointer;
}

.header-chip.is-active {
    background: #315965;
    border-color: #315965;
    color: #fff;
}

.results.is-compact {
    display: flex;
    flex-direction: column;
    height: 100vh;
    height: 100dvh;
    min-height: 0;
    overflow: hidden;
    padding-top: 0;
    padding-bottom: 0;
}

.results.is-compact .results__search {
    position: sticky;
    top: 0;
    flex: 0 0 auto;
    z-index: 30;
    width: 100%;
    margin: 0;
    padding: 16px 0;
    background: #315965;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    transform: none;
}

.results.is-profile .results__shell,
.results.is-account .results__shell {
    flex: 1 1 auto;
    width: 100%;
    max-width: none;
    margin: 0;
    min-height: 0;
    overflow: auto;
    align-content: start;
    justify-items: center;
    padding-top: var(--content-top);
    padding-bottom: 40px;
}

.results.is-profile .results__shell > :not(.modal-shell):not(.lightbox),
.results.is-account .results__shell > :not(.modal-shell):not(.lightbox) {
    width: 100%;
    min-width: 0;
}

body:has(#profile-service-selection-bar:not([hidden])) .results.is-profile .results__shell {
    padding-bottom: 148px;
}

.results.is-account .results__shell:has(#chat-view.is-thread:not([hidden])) {
    overflow: hidden;
    align-content: stretch;
    grid-template-rows: minmax(0, 1fr);
}

.results.is-account .results__shell:has(#chat-view.is-thread:not([hidden])) > .site-footer {
    display: none;
}

.results.results--centered:not(.is-compact):not(.is-profile):not(.is-results):not(.is-account) {
    height: 100dvh;
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
}

.results.is-compact.results--centered {
    overflow: hidden;
}

.results.results--centered:not(.is-profile):not(.is-results):not(.is-account) .results__shell {
    min-height: 0;
}

.results.is-compact:not(.is-results):not(.is-profile):not(.is-account) .results__shell {
    flex: 1 1 auto;
    min-height: 0;
    overflow: auto;
    align-content: start;
    justify-items: center;
    padding-top: var(--content-top);
    padding-bottom: 40px;
}

.results.is-compact .header-bar {
    grid-template-columns: auto minmax(0, 1fr) auto;
    row-gap: 8px;
}

.results.is-profile .search-bar,
.results.is-profile .search-suggestions,
.results.is-profile .header-chips {
    display: none !important;
}

.results.is-profile.is-compact .header-bar {
    grid-template-columns: auto minmax(0, 1fr);
}

.results.is-profile.is-compact .discover-toolbar {
    grid-column: 2;
    grid-row: 1;
}

.results.is-compact .search-suggestions,
.results.is-compact .header-chips {
    grid-column: 1 / -1;
}

.results.is-compact .discover-toolbar {
    position: relative;
    z-index: 6;
    grid-column: 3;
    grid-row: 1;
    margin: 0;
    justify-content: flex-end;
    min-width: max-content;
}

.results.is-compact #header-discover,
.results.is-compact .nav-label,
#my-waitlist-button,
#loyalty-wallet-button {
    display: none !important;
}

.results.is-compact .header-back {
    grid-column: 1 / -1;
    grid-row: 2;
}

.results.is-compact .search-bar {
    display: flex;
    grid-column: 2;
    grid-row: 1;
    align-items: center;
    width: 100%;
    min-width: 0;
    overflow: hidden;
    gap: 0;
    padding: 4px;
    border: 1px solid rgba(18, 31, 56, 0.08);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(17, 27, 45, 0.06);
}

.results.is-compact #header-where-field {
    flex: 1 1 auto;
    min-width: 0;
}

.results.is-compact #search-category-group,
.results.is-compact #search-subcategory-group {
    flex: 1 1 140px;
    width: auto;
    min-width: 0;
    border-left: 1px solid rgba(18, 31, 56, 0.08);
}

.results.is-compact .discover-toolbar__auth {
    border: 0;
    box-shadow: none;
    background: transparent;
    padding: 0;
    gap: 2px;
}

.results.is-compact .discover-toolbar__auth-status {
    display: none;
}

.results.is-compact .discover-toolbar__lang {
    width: 36px;
    min-width: 36px;
    min-height: 36px;
    border-radius: 10px;
    background: transparent;
    color: #ffffff;
}

.results.is-compact .discover-toolbar__auth-button {
    min-height: 36px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
}

.results.is-compact .discover-toolbar__auth-button--secondary {
    width: 36px;
    min-width: 36px;
    padding: 0;
    background: transparent;
    color: #ffffff;
}

.results.is-compact .discover-toolbar__auth-button--secondary i {
    color: #ffffff;
    font-size: 14px;
}

.results.is-compact .discover-toolbar__auth-button--secondary:hover,
.results.is-compact .discover-toolbar__lang:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
}

.results.is-compact .discover-toolbar__auth-button.is-current {
    box-shadow: none;
    background: rgba(255, 255, 255, 0.16);
    color: #ffffff;
}

.results.is-compact #auth-open-button {
    margin-left: 6px;
    padding: 0 14px;
    border-radius: 12px;
    background: #ffffff;
    color: #315965;
}

.results.is-compact .search-bar__field,
.results.is-compact .search-bar__select,
.results.is-compact .search-bar__input {
    min-width: 0;
}

.results.is-compact .search-bar__field,
.results.is-compact .search-bar__select {
    min-height: 42px;
    border: 0;
    border-radius: 12px;
    background: transparent;
}

.results.is-compact .search-bar__select {
    text-overflow: ellipsis;
}

.results.is-compact .search-bar__submit {
    flex: 0 0 auto;
    width: auto;
    min-height: 42px;
    margin-left: 4px;
    border-radius: 12px;
    white-space: nowrap;
}

body[data-header-variant="3"] .results--centered .results__search {
    transform: none;
}

@media (min-width: 900px) {
    .nav-label {
        display: inline;
    }

    .discover-toolbar__auth-button--secondary {
        padding: 0 10px;
    }
}

@media (max-width: 899px) {
    .results.is-compact .header-bar {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .results.is-compact .brand {
        grid-column: 1;
        grid-row: 1;
    }

    .results.is-compact .discover-toolbar {
        grid-column: 2;
        grid-row: 1;
    }

    .results.is-compact .search-bar,
    .results.is-compact .header-back {
        grid-column: 1 / -1;
        grid-row: auto;
    }

    .results.is-compact .header-bar {
        width: 100%;
        min-width: 0;
    }

    .results.is-compact .search-bar {
        flex-direction: row;
        align-items: center;
        width: auto;
        max-width: 100%;
        min-width: 0;
        justify-self: stretch;
    }

    .results.is-compact #header-where-field {
        flex: 1.2 1 0;
        width: auto;
        max-width: 100%;
        min-width: 0;
        overflow: hidden;
    }

    .results.is-compact #search-category-group,
    .results.is-compact #search-subcategory-group {
        flex: 1 1 0;
        width: auto;
        max-width: 100%;
        min-width: 0;
        overflow: hidden;
        border-top: 0;
        border-left: 1px solid rgba(18, 31, 56, 0.08);
    }

    .results.is-compact .search-bar__submit {
        padding-left: 12px;
        padding-right: 12px;
    }
}

.results--centered .results__search {
    transform: none;
}

.results__layout {
    display: grid;
    grid-template-columns: minmax(300px, 0.82fr) minmax(0, 1.18fr);
    gap: 20px;
    align-items: start;
    min-height: 0;
}

.results__layout,
.profile-view {
    opacity: 0;
    transform: translateY(26px);
    transition:
        opacity 220ms ease,
        transform 320ms cubic-bezier(0.22, 1, 0.36, 1);
    will-change: opacity, transform;
}

.results__layout.is-visible,
.profile-view.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.results__main {
    display: grid;
    gap: 18px;
    min-width: 0;
}

.map-card,
.providers,
.detail-card {
    padding: 18px;
    border-radius: var(--radius-xl);
}

.map-card {
    display: grid;
    position: relative;
    height: clamp(520px, calc(100vh - 220px), 760px);
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.detail-card {
    border: 1px solid var(--border);
    background: var(--surface);
    box-shadow: var(--shadow);
    display: grid;
    gap: 18px;
}

.detail-card__media {
    overflow: hidden;
    border-radius: 11px;
    border: 1px solid var(--border);
    background: linear-gradient(180deg, #f5f7fb 0%, #edf2f7 100%);
    aspect-ratio: 16 / 8;
}

.detail-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.detail-card__body {
    display: grid;
    gap: 16px;
}

.detail-card__header {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 12px;
}

.detail-card__eyebrow {
    margin: 0 0 6px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-soft);
}

.detail-card__title {
    margin: 0;
    font-size: clamp(24px, 3vw, 32px);
    line-height: 1.08;
}

.detail-card__badge {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 12px;
    border-radius: 10px;
    background: rgba(57, 166, 172, 0.12);
    color: #315965;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.detail-card__facts {
    display: grid;
    gap: 12px;
}

.detail-card__fact {
    display: grid;
    grid-template-columns: 18px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
    padding: 14px 16px;
    border-radius: 9px;
    background: #fbfcfe;
    border: 1px solid rgba(18, 31, 56, 0.06);
}

.detail-card__fact i {
    margin-top: 3px;
    color: #315965;
}

.detail-card__fact strong,
.detail-card__fact span {
    display: block;
}

.detail-card__fact strong {
    margin-bottom: 4px;
    font-size: 13px;
}

.detail-card__fact span {
    color: var(--text-soft);
    word-break: break-word;
}

.detail-card__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.detail-card__action {
    border: 0;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 16px;
    border-radius: 10px;
    text-decoration: none;
    color: var(--text);
    background: rgba(0, 0, 0, 0.05);
    transition: transform var(--transition), background var(--transition);
}

.detail-card__action:hover {
    transform: translateY(-1px);
    background: rgba(0, 0, 0, 0.08);
}

.detail-card__action--primary {
    background: var(--primary);
    color: #ffffff;
}

.detail-card__action--primary:hover,
.detail-card__action--primary:focus-visible {
    background: var(--primary);
    color: #ffffff;
}

.detail-card__action:disabled,
.detail-card__action:disabled:hover {
    transform: none;
    cursor: not-allowed;
    background: #e2e8f0;
    color: #94a3b8;
}

.detail-card__action--primary:disabled,
.detail-card__action--primary:disabled:hover {
    background: #94a3b8;
    color: #ffffff;
}

.profile-view {
    display: grid;
    gap: 28px;
}

.profile-view__back {
    width: fit-content;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 14px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.92);
    color: var(--text);
    cursor: pointer;
    transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.profile-view__back:hover,
.profile-view__back:focus-visible {
    transform: translateY(-1px);
    border-color: rgba(57, 166, 172, 0.24);
    box-shadow: 0 12px 24px rgba(17, 27, 45, 0.08);
    outline: none;
}

.profile-hero {
    position: relative;
    display: grid;
    gap: 22px;
    padding: 0;
}

.profile-hero__topline {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 18px;
}

.profile-hero__heading {
    display: grid;
    gap: 10px;
}

.profile-hero__title {
    margin: 0;
    max-width: none;
    font-size: clamp(30px, 3.4vw, 44px);
    line-height: 1;
    letter-spacing: -0.03em;
}

.profile-gallery {
    position: relative;
    display: block;
}

.profile-gallery__viewport {
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    scrollbar-width: none;
}

.profile-gallery__viewport::-webkit-scrollbar {
    display: none;
}

.profile-gallery__track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(0, calc((100% - 32px) / 3));
    gap: 16px;
    min-width: 100%;
    justify-content: end;
}

.profile-gallery[data-layout="showcase"] .profile-gallery__viewport {
    overflow: visible;
}

.profile-gallery__track[data-layout="showcase"] {
    grid-auto-flow: row;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
    gap: 16px;
    min-width: 0;
    justify-content: stretch;
    align-items: stretch;
}

.profile-gallery__track[data-count="1"] {
    grid-auto-flow: row;
    grid-template-columns: minmax(0, 1fr);
}

.profile-gallery__track[data-count="2"] {
    grid-auto-flow: row;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.profile-gallery__item {
    appearance: none;
    margin: 0;
    overflow: hidden;
    border-radius: 0;
    border: 0;
    background: linear-gradient(180deg, #eef3f8 0%, #dde7f1 100%);
    height: clamp(220px, 28vw, 320px);
    max-height: 320px;
    box-shadow: none;
    padding: 0;
    cursor: pointer;
}

.profile-gallery__track[data-count="1"] .profile-gallery__item {
    width: 100%;
    height: clamp(240px, 32vw, 360px);
    max-height: 360px;
}

.profile-gallery__item--primary {
    grid-column: span 1;
}

.profile-gallery__item--showcase-main {
    height: 100%;
    min-height: 320px;
    max-height: 360px;
}

.profile-gallery__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.profile-gallery__item--showcase-grid,
.profile-gallery__item--more {
    height: clamp(150px, 14vw, 172px);
    max-height: 172px;
}

.profile-gallery__item--more {
    position: relative;
    isolation: isolate;
}

.profile-gallery__item--more img {
    transform: scale(1.06);
    filter: blur(4px);
}

.profile-gallery__item--more::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(19, 33, 61, 0.2) 0%, rgba(19, 33, 61, 0.72) 100%);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 0;
}

.profile-gallery__more-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: grid;
    place-content: center;
    gap: 4px;
    padding: 16px;
    text-align: center;
    color: #ffffff;
}

.profile-gallery__more-overlay strong,
.profile-gallery__more-overlay span {
    display: block;
}

.profile-gallery__more-overlay strong {
    font-size: 18px;
    line-height: 1.1;
}

.profile-gallery__more-overlay span {
    font-size: 14px;
    font-weight: 600;
    opacity: 0.92;
}

.profile-gallery__item img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.profile-gallery__item:hover,
.profile-gallery__item:focus-visible {
    outline: none;
    opacity: 0.96;
}

.profile-hero__address {
    margin: 0;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--text-soft);
    font-size: 16px;
    max-width: 52ch;
    text-decoration: none;
    width: fit-content;
}

.profile-hero__address span {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.profile-hero__address:hover,
.profile-hero__address:focus-visible {
    color: #315965;
    outline: none;
}

.profile-hero__address[aria-disabled="true"] {
    pointer-events: none;
}

.profile-hero__address i {
    color: #315965;
}

.profile-hero__hours {
    margin: 0;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--text-soft);
    font-size: 16px;
    padding: 6px 12px;
    background: rgba(49, 89, 101, 0.08);
    border-radius: 20px;
    width: fit-content;
}

.profile-hero__hours i {
    color: #315965;
    font-size: 14px;
}

.profile-hero__hours span {
    font-weight: 500;
}

.profile-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: flex-end;
    align-self: start;
}

.profile-section__title {
    font-size: 24px;
}

.profile-content {
    display: grid;
    gap: 22px;
}

.profile-details-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    align-items: start;
}

.profile-details-layout.is-overview {
    grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.75fr);
}

.profile-details-main {
    display: grid;
    gap: 18px;
}

.profile-description-section,
.profile-reviews-section,
.profile-hours-section {
    display: grid;
    gap: 12px;
}

.profile-hours-collapsible {
    border: 1px solid rgba(18, 31, 56, 0.08);
    border-radius: 14px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(247, 250, 253, 0.98) 100%);
    overflow: hidden;
}

.profile-hours-toggle {
    width: 100%;
    padding: 18px 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
    transition: background-color 0.2s ease;
}

.profile-hours-toggle:hover {
    background-color: rgba(18, 31, 56, 0.02);
}

.profile-hours-toggle__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.profile-hours-toggle__icon {
    font-size: 14px;
    color: #455067;
    transition: transform 0.3s ease;
}

.profile-hours-toggle[aria-expanded="true"] .profile-hours-toggle__icon {
    transform: rotate(180deg);
}

.profile-hours-content {
    padding: 0 24px 24px 24px;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        max-height: 0;
    }
    to {
        opacity: 1;
        max-height: 500px;
    }
}

.profile-description-text,
.profile-reviews-text {
    margin: 0;
    max-width: 62ch;
    color: #455067;
    font-size: 17px;
    line-height: 1.75;
}

.reviews-banner {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #315965;
    color: #ffffff;
    border-radius: 14px;
    padding: 8px 14px;
    min-height: 44px;
}

.reviews-banner[hidden] {
    display: none !important;
}

.reviews-banner__score {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1;
}

.reviews-banner__stars {
    letter-spacing: 1px;
    font-size: 14px;
    font-weight: 700;
}

.reviews-banner__count {
    margin-left: auto;
    font-size: 13px;
    font-weight: 600;
    opacity: 0.9;
}

.reviews-cta {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #ffffff;
    border: 1px solid #D1D5DB;
    border-radius: 14px;
    padding: 12px 14px;
}

.reviews-cta[hidden] {
    display: none !important;
}

.reviews-cta__copy {
    min-width: 0;
    flex: 1;
}

.reviews-cta__title {
    font-size: 15px;
    font-weight: 700;
    color: #13272C;
}

.reviews-cta__meta {
    margin-top: 2px;
    font-size: 13px;
    color: #64748B;
}

.reviews-list {
    display: grid;
    gap: 8px;
}

.reviews-empty {
    margin: 8px 0 0;
    color: #64748B;
    font-size: 15px;
}

.review-card {
    background: #ffffff;
    border: 1px solid #D1D5DB;
    border-radius: 14px;
    padding: 12px 14px;
}

.review-card__top {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.review-card__avatar {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: #E8F0F2;
    color: #315965;
    display: grid;
    place-items: center;
    font-size: 12px;
    font-weight: 800;
    flex-shrink: 0;
}

.review-card__who {
    min-width: 0;
    flex: 1;
}

.review-card__name {
    font-size: 14px;
    font-weight: 700;
    color: #13272C;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.review-card__badge {
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #047857;
    background: #ECFDF5;
    border-radius: 6px;
    padding: 2px 6px;
}

.review-card__meta {
    margin-top: 2px;
    font-size: 12px;
    color: #64748B;
}

.review-card__stars {
    color: #315965;
    letter-spacing: 1px;
    font-size: 12px;
    font-weight: 700;
    flex-shrink: 0;
}

.review-card__text {
    margin: 8px 0 0;
    font-size: 14px;
    line-height: 1.45;
    color: #334155;
}

.review-card__reply {
    margin-top: 10px;
    background: #F8FAFC;
    border-radius: 10px;
    padding: 8px 10px;
    font-size: 13px;
    color: #475569;
}

.review-card__reply b {
    display: block;
    color: #111827;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 4px;
}

.review-card__own {
    display: flex;
    gap: 10px;
    margin-top: 8px;
}

.review-card__own button {
    background: none;
    border: 0;
    padding: 0;
    color: #315965;
    font-weight: 700;
    font-size: 12px;
    cursor: pointer;
}

#review-report-reason {
    width: 100%;
    box-sizing: border-box;
    margin: 0 0 12px;
    border: 1px solid #E5E7EB;
    border-radius: 10px;
    padding: 10px 12px;
    font: inherit;
    resize: vertical;
}

.review-stars {
    display: flex;
    gap: 6px;
    margin: 0 0 12px;
}

.review-stars button {
    width: 40px;
    height: 40px;
    border: 0;
    background: transparent;
    color: #CBD5E1;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
    padding: 0;
}

.review-stars button.is-on {
    color: #315965;
}

.review-form__field {
    display: grid;
    gap: 6px;
    margin: 0 0 10px;
}

.review-form__field span {
    font-size: 13px;
    font-weight: 700;
    color: #334155;
}

.review-form__field textarea {
    width: 100%;
    min-height: 96px;
    border: 1px solid #E5E7EB;
    border-radius: 10px;
    padding: 10px 12px;
    font: inherit;
    resize: vertical;
}

.review-form__hint {
    margin: 0 0 12px;
    font-size: 12px;
    color: #64748B;
}

.profile-details-side {
    position: sticky;
    top: 18px;
    display: grid;
    gap: 16px;
}

.profile-details-side[hidden] {
    display: none !important;
}

.profile-side-card {
    display: grid;
    gap: 12px;
    padding: 18px 20px;
    border-radius: 14px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(247, 250, 253, 0.98) 100%);
    border: 1px solid rgba(18, 31, 56, 0.06);
}

.profile-side-card__header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(18, 31, 56, 0.08);
}

.profile-side-card__header i {
    color: #315965;
    font-size: 16px;
}

.profile-side-card__header h3 {
    margin: 0;
    font-size: 15px;
    font-weight: 600;
    color: #315965;
}

.profile-side-card__content {
    display: grid;
    gap: 10px;
}

.profile-contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}

.profile-contact-item i {
    color: #315965;
    font-size: 14px;
    width: 16px;
}

.profile-contact-item a {
    color: #455067;
    text-decoration: none;
    transition: color 0.2s ease;
}

.profile-contact-item a:hover {
    color: #315965;
    text-decoration: underline;
}

.profile-social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.profile-social-links__empty {
    margin: 0;
    font-size: 13px;
    color: #64748b;
}

.profile-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(49, 89, 101, 0.08);
    color: #315965;
    text-decoration: none;
    transition: all 0.2s ease;
}

.profile-social-link:hover {
    background: #315965;
    color: white;
    transform: translateY(-2px);
}

.profile-social-link i {
    font-size: 16px;
}

.opening-hours--compact {
    display: grid;
    gap: 6px;
    font-size: 13px;
}

.opening-hours--compact .opening-hours__row {
    display: flex;
    justify-content: space-between;
    gap: 8px;
}

.opening-hours--compact .opening-hours__day {
    font-weight: 500;
    color: #455067;
}

.opening-hours--compact .opening-hours__value {
    color: #64748b;
}

.opening-hours--compact .opening-hours__row--today {
    background: rgba(49, 89, 101, 0.06);
    padding: 4px 8px;
    border-radius: 6px;
    margin: -4px -8px;
}

.opening-hours--compact .opening-hours__row--today .opening-hours__day,
.opening-hours--compact .opening-hours__row--today .opening-hours__value {
    color: #315965;
    font-weight: 600;
}

.profile-side-card__address {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #455067;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s ease;
}

.profile-side-card__address:hover {
    color: #315965;
}

.profile-side-card__address i {
    color: #315965;
    font-size: 16px;
}

.profile-tabs {
    display: flex;
    gap: 4px;
    overflow-x: auto;
    border-bottom: 1px solid rgba(18, 31, 56, 0.08);
    margin: 4px 0 8px;
    -webkit-overflow-scrolling: touch;
}

.profile-tabs__tab {
    flex: 0 0 auto;
    appearance: none;
    background: transparent;
    border: 0;
    border-radius: 10px;
    margin: 4px 0;
    padding: 8px 14px;
    font-size: 15px;
    font-weight: 600;
    color: #64748b;
    cursor: pointer;
    white-space: nowrap;
}

.profile-tabs__tab.is-active {
    color: #ffffff;
    background: #315965;
}

.profile-tab-panel {
    display: none;
    grid-gap: 18px;
}

.profile-tab-panel.is-active {
    display: grid;
}

.profile-panel__header {
    display: grid;
    gap: 6px;
}

.profile-panel__header--week {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.profile-trainings {
    display: grid;
    grid-template-columns: repeat(7, minmax(148px, 1fr));
    gap: 10px;
    padding: 6px 0 12px;
    align-items: start;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.training-day {
    min-width: 0;
    background: #f8fafc;
    border: 1px solid rgba(18, 31, 56, 0.08);
    border-radius: 12px;
    padding: 10px 8px 12px;
}

.training-day__title {
    margin: 0 0 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(18, 31, 56, 0.08);
    font-size: 13px;
    font-weight: 700;
    color: #315965;
    text-align: center;
}

.training-day__empty {
    margin: 0;
    padding: 8px 4px;
    color: #94a3b8;
    font-size: 12px;
    text-align: center;
}

.training-row {
    display: grid;
    gap: 2px;
    width: 100%;
    margin: 0 0 8px;
    padding: 10px 8px;
    border: 1px solid rgba(18, 31, 56, 0.08);
    border-radius: 10px;
    background: #fff;
    text-align: left;
    cursor: pointer;
}

.training-row:hover {
    background: rgba(49, 89, 101, 0.04);
    border-color: rgba(49, 89, 101, 0.18);
}

.training-row__time {
    font-size: 12px;
    font-weight: 700;
    color: #315965;
}

.training-row__name {
    margin: 2px 0 0;
    font-size: 13px;
    font-weight: 700;
    color: #122038;
    line-height: 1.3;
}

.training-row__staff {
    margin: 2px 0 0;
    font-size: 12px;
    color: #64748b;
}

.training-row__price {
    margin-top: 4px;
    font-size: 12px;
    font-weight: 700;
    color: #315965;
}

.training-row__spots {
    font-size: 11px;
    color: #059669;
}

.training-row__spots.is-full {
    color: #b45309;
}

.profile-team {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 12px;
    padding: 8px 0 12px;
}

.profile-team-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border: 1px solid rgba(18, 31, 56, 0.08);
    border-radius: 14px;
    background: #fff;
}

.profile-team-card__avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgba(49, 89, 101, 0.08);
    color: #315965;
    font-weight: 700;
    flex-shrink: 0;
}

.profile-team-card strong {
    font-size: 15px;
}

.profile-hours-panel {
    display: grid;
    gap: 16px;
    padding: 22px 24px;
    border-radius: 14px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(247, 250, 253, 0.98) 100%);
    border: 1px solid rgba(18, 31, 56, 0.06);
}

.profile-services,
.profile-courses,
.profile-products,
.profile-loyalty {
    display: grid;
    gap: 10px;
    padding: 0;
    border-top: 0;
}

.my-appointments-list {
    display: grid;
    gap: 10px;
    padding: 4px 0 8px;
}

.my-appointments-item {
    display: grid;
    gap: 4px;
    padding: 14px 16px;
    border: 1px solid #D1D5DB;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(55, 65, 81, 0.08);
}

.my-appointments-item__kind {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--text-soft);
}

.my-appointments-item strong {
    font-size: 15px;
    color: var(--text-strong);
}

.business-name-link {
    display: inline;
    margin: 0;
    padding: 0;
    border: 0;
    background: none;
    font: inherit;
    font-weight: 700;
    color: #315965;
    text-align: left;
    text-decoration: underline;
    text-underline-offset: 2px;
    cursor: pointer;
}

h1.business-name-link {
    font-size: inherit;
    letter-spacing: inherit;
}

.my-appointments-item span {
    font-size: 13px;
    color: var(--text-soft);
}

.my-appointments-section {
    margin: 4px 0 0;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--text-soft);
}

.my-appointments-item--past {
    background: #fff;
    opacity: 0.92;
}

.my-appointments-item--row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.my-appointments-item__body {
    display: grid;
    gap: 4px;
    min-width: 0;
}

.my-appointments-item__action {
    flex: 0 0 auto;
}

.my-appointments-item__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    flex: 0 0 auto;
}

.private-form {
    display: grid;
    gap: 12px;
    margin: 0 0 18px;
    padding: 16px;
    border: 1px solid #D1D5DB;
    border-radius: 14px;
    background: #fff;
}

.private-form__grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 12px;
}

.private-form__actions {
    display: flex;
    justify-content: flex-end;
}

@media (max-width: 720px) {
    .private-form__grid {
        grid-template-columns: 1fr;
    }

    .my-appointments-item--actions {
        align-items: flex-start;
        flex-direction: column;
    }
}

.my-waitlist-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.my-waitlist-item__body {
    display: grid;
    gap: 4px;
    min-width: 0;
}

.account-photo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.account-page {
    display: grid;
    gap: 18px;
    width: min(720px, 100%);
    margin: 0 auto 28px;
    padding-bottom: 88px;
}

.account-page[hidden] {
    display: none;
}

.account-page .profile-loyalty {
    border-top: 0;
    padding-top: 0;
}

#chat-button {
    position: relative;
    overflow: visible;
}

.chat-nav-badge {
    position: absolute;
    top: -3px;
    right: -3px;
    z-index: 2;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    border-radius: 8px;
    background: #ef4444;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    line-height: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.chat-nav-badge[hidden] {
    display: none !important;
}

.chat-hub-menu-btn {
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    margin-left: auto;
    border: 0;
    border-radius: 50%;
    background: rgba(49, 89, 101, 0.1);
    color: #315965;
    cursor: pointer;
    display: grid;
    place-items: center;
}

.chat-hub-menu-btn:hover {
    background: rgba(49, 89, 101, 0.18);
}

.chat-archive-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 12px;
    padding: 8px 12px;
    border: 0;
    border-radius: 999px;
    background: rgba(49, 89, 101, 0.08);
    color: #315965;
    font: inherit;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

.chat-archive-toggle:hover {
    background: rgba(49, 89, 101, 0.14);
}

.chat-action-menu {
    position: fixed;
    z-index: 1200;
    min-width: 220px;
    padding: 6px;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 10px 32px rgba(17, 27, 45, 0.18);
}

.chat-action-menu[hidden] {
    display: none !important;
}

.chat-action-menu button {
    display: block;
    width: 100%;
    border: 0;
    border-radius: 8px;
    background: none;
    padding: 10px 12px;
    color: #0f172a;
    font: inherit;
    font-size: 14px;
    text-align: left;
    cursor: pointer;
}

.chat-action-menu button:hover {
    background: #f1f5f9;
}

.chat-action-menu button.is-danger {
    color: #dc2626;
}

.chat-action-menu button.is-danger:hover {
    background: #fef2f2;
}

.results.is-compact #chat-button,
.results.is-compact .discover-toolbar__lang.is-current {
    position: relative;
}

.results.is-compact .discover-toolbar__lang.is-current {
    background: rgba(255, 255, 255, 0.16);
}

.account-page__back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    min-height: 40px;
    padding: 0 4px;
    border: 0;
    background: transparent;
    color: #315965;
    font-weight: 700;
    cursor: pointer;
}

.account-page__intro h1 {
    margin: 0;
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.chat-page__heading {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.chat-page__titles {
    min-width: 0;
}


.chat-page__avatar.is-photo,
.chat-panel__avatar.is-photo,
.chat-list-item__avatar.is-photo {
    border-radius: 50%;
}
.chat-page__titles p {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.chat-page__avatar {
    width: 52px;
    height: 52px;
    flex: 0 0 52px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background-color: rgba(49, 89, 101, 0.12);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #315965;
    font-weight: 800;
    font-size: 20px;
}

.chat-page__list {
    display: grid;
    gap: 10px;
}

.chat-page__thread {
    display: flex;
    flex-direction: column;
    min-height: min(640px, calc(100dvh - 280px));
    border: 1px solid rgba(18, 31, 56, 0.08);
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 16px 40px rgba(17, 27, 45, 0.06);
    overflow: hidden;
}

.chat-page__messages {
    flex: 1;
    min-height: 280px;
    max-height: calc(100dvh - 340px);
    overflow-y: auto;
    padding: 16px;
    background: #f4f7f8;
}

#chat-view.is-thread {
    height: 100%;
    min-height: 0;
    margin: 0 auto;
    overflow: hidden;
    grid-template-rows: auto auto minmax(0, 1fr);
}

#chat-view.is-thread #chat-panel,
#chat-view.is-thread #chat-panel-detail-view:not([hidden]),
#chat-view.is-thread .chat-page__thread {
    display: flex;
    flex-direction: column;
    min-height: 0;
    height: 100%;
}

#chat-view.is-thread .chat-page__thread {
    flex: 1 1 auto;
    min-height: 0;
}

#chat-view.is-thread .chat-page__messages {
    flex: 1 1 auto;
    min-height: 0;
    max-height: none;
}

.chat-page__composer {
    display: flex;
    gap: 8px;
    align-items: center;
    padding: 12px;
    border-top: 1px solid rgba(18, 31, 56, 0.08);
    background: #fff;
}

.chat-page__composer input {
    flex: 1;
    min-width: 0;
    border: 1px solid rgba(18, 31, 56, 0.12);
    border-radius: 999px;
    padding: 12px 16px;
    font: inherit;
    font-size: 15px;
    outline: none;
    background: #fff;
}

.chat-page__composer input:focus {
    border-color: #315965;
}

.chat-page__send {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    border: 0;
    border-radius: 50%;
    background: #315965;
    color: #fff;
    cursor: pointer;
    display: grid;
    place-items: center;
}

.chat-page__send:hover {
    background: #274853;
}

#chat-view .chat-list-item {
    border: 1px solid rgba(18, 31, 56, 0.08);
    border-radius: 16px;
    padding: 14px 16px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(17, 27, 45, 0.04);
}

#chat-view .chat-list-item:hover {
    background: #f7fbfb;
}

#chat-view .chat-list-item--unread {
    background: rgba(49, 89, 101, 0.06);
}

#chat-view .chat-msg--me .chat-msg__bubble {
    background: #315965;
}

#chat-view .chat-page__list .chat-panel__empty,
#chat-view .chat-page__messages .chat-panel__empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 180px;
    padding: 28px 8px;
}

.account-page__intro p,
.account-row__hint,
.account-page__status,
.account-danger p {
    margin: 6px 0 0;
    color: var(--text-soft);
    line-height: 1.45;
}

.account-card,
.account-danger {
    border: 1px solid #D1D5DB;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(55, 65, 81, 0.08);
}

.account-hero {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 16px 4px;
}

.account-hero__copy {
    display: grid;
    gap: 4px;
    min-width: 0;
}

.account-hero__copy strong {
    font-size: 20px;
    letter-spacing: -0.03em;
}

.account-hero__copy span,
.account-row__value {
    color: var(--text-soft);
    overflow-wrap: anywhere;
}

.account-photo {
    position: relative;
    width: 56px;
    height: 56px;
    flex: 0 0 auto;
}

.account-photo img,
.account-photo__fallback {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
}

.account-photo__fallback {
    display: grid;
    place-items: center;
    background: rgba(49, 89, 101, 0.12);
    color: #315965;
    font-size: 18px;
}

.account-photo__pick {
    position: absolute;
    right: -2px;
    bottom: -2px;
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid #fff;
    background: #315965;
    color: #fff;
    cursor: pointer;
}

.account-photo img[hidden],
.account-photo__fallback[hidden] {
    display: none;
}

.account-rows {
    display: grid;
    padding: 8px 8px 12px;
}

.account-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px 12px;
    align-items: center;
    padding: 14px;
    border-top: 1px solid rgba(18, 31, 56, 0.06);
}

.account-row__main {
    display: grid;
    gap: 3px;
    min-width: 0;
}

.account-row__label {
    font-size: 13px;
    font-weight: 700;
    color: #315965;
}

.account-row__edit,
.account-row__lock {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 12px;
    background: rgba(49, 89, 101, 0.08);
    color: #315965;
    cursor: pointer;
}

.account-row__lock {
    cursor: default;
}

.account-row.is-editing .account-row__edit {
    visibility: hidden;
}

.account-row__editor {
    grid-column: 1 / -1;
    display: grid;
    gap: 10px;
}

.account-row__editor input,
.account-row__editor select,
.account-danger__password input,
.account-phone-code input,
.phone-input select {
    width: 100%;
    min-height: 46px;
    padding: 0 14px;
    border: 1px solid rgba(18, 31, 56, 0.12);
    border-radius: 12px;
    background: #f7f9fb;
}

.phone-input {
    display: flex;
    align-items: stretch;
    gap: 8px;
    min-width: 0;
}

.account-row__editor .phone-input select,
.auth-form__field .phone-input select,
.phone-input select {
    flex: 0 0 132px;
    width: 132px;
    padding: 0 8px;
}

.account-row__editor .phone-input input,
.auth-form__field .phone-input input {
    flex: 1 1 auto;
    width: auto;
    min-width: 0;
}

.auth-form__field .phone-input select {
    background: #fff;
}

.account-row__editor-actions,
.account-phone-code {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.account-phone-code {
    align-items: end;
}

.account-phone-code__field {
    display: grid;
    gap: 6px;
    flex: 1 1 180px;
    font-size: 13px;
    font-weight: 700;
    color: #315965;
}

.account-page__status:empty {
    display: none;
}

.account-card--notif {
    padding-bottom: 12px;
}

.account-card--notif h2 {
    margin: 20px 22px 0;
    font-size: 18px;
}

.account-notif__hint {
    margin: 6px 22px 4px;
    color: var(--text-soft);
    line-height: 1.45;
}

.account-notif__section {
    margin: 14px 22px 0;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--text-soft);
}

.account-row--toggle {
    grid-template-columns: minmax(0, 1fr) auto;
}

.account-rows--indent {
    padding-top: 0;
}

.account-rows--indent .account-row {
    padding-left: 28px;
}

.account-rows--indent[hidden] {
    display: none;
}

.account-toggle {
    position: relative;
    width: 44px;
    height: 24px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: #cbd5e1;
    cursor: pointer;
}

.account-toggle.is-on {
    background: #059669;
}

.account-toggle__knob {
    position: absolute;
    top: 2px;
    left: 2px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.2);
    transition: transform 0.16s ease;
}

.account-toggle.is-on .account-toggle__knob {
    transform: translateX(20px);
}

.account-danger {
    display: grid;
    gap: 12px;
    padding: 22px;
}

.account-danger h2 {
    margin: 0;
    font-size: 18px;
}

.account-danger__start,
.account-danger__delete {
    width: fit-content;
    min-height: 42px;
    padding: 0 16px;
    border-radius: 12px;
    border: 1px solid rgba(159, 18, 57, 0.28);
    background: #fff;
    color: #9f1239;
    font-weight: 700;
    cursor: pointer;
}

.account-danger__delete {
    background: #9f1239;
    color: #fff;
}

.account-danger__password {
    display: grid;
    gap: 6px;
    max-width: 360px;
    font-size: 13px;
    font-weight: 700;
    color: #315965;
}

.account-danger,
.account-confirm {
    scroll-margin: 96px;
}

.account-confirm {
    display: grid;
    gap: 12px;
    padding: 14px;
    border-radius: 16px;
    background: rgba(159, 18, 57, 0.06);
}

.account-recaptcha {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.booking-steps {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 16px;
}

.booking-steps span {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(49, 89, 101, 0.08);
    color: #64748b;
    font-size: 13px;
    font-weight: 600;
}

.booking-steps .is-active {
    background: #315965;
    color: #ffffff;
    font-weight: 700;
}

.course-week-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 10px;
}

.course-week-nav button {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    border: 1px solid rgba(18, 31, 56, 0.1);
    background: #fff;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
}

.course-week-nav span {
    font-weight: 700;
}

.course-day-scroller {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 6px;
    padding: 0 0 10px;
    margin: 0 0 8px;
    overflow: visible;
}

.course-day-chip {
    width: 100%;
    min-width: 0;
    border: 1px solid rgba(18, 31, 56, 0.1);
    border-radius: 16px;
    background: #f8fafc;
    padding: 10px 8px;
    display: grid;
    gap: 2px;
    justify-items: center;
    cursor: pointer;
}

.course-day-chip span {
    font-size: 11px;
    font-weight: 600;
    color: rgba(18, 31, 56, 0.55);
}

.course-day-chip strong {
    font-size: 16px;
}

.course-day-chip.is-selected {
    background: #059669;
    border-color: #059669;
    color: #fff;
}

.course-day-chip.is-selected span {
    color: rgba(255, 255, 255, 0.78);
}

.course-day-chip.is-empty {
    opacity: 0.45;
}

.course-time-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 8px;
}

.course-time-chip {
    border: 1px solid rgba(18, 31, 56, 0.1);
    border-radius: 14px;
    background: #fff;
    padding: 10px 14px;
    display: grid;
    gap: 2px;
    min-width: 96px;
    cursor: pointer;
}

.course-time-chip strong {
    font-size: 16px;
}

.course-time-chip span {
    font-size: 12px;
    color: rgba(18, 31, 56, 0.55);
}

.course-time-chip.is-selected {
    background: #059669;
    border-color: #059669;
    color: #fff;
}

.course-time-chip.is-selected span {
    color: rgba(255, 255, 255, 0.8);
}

.course-time-chip.is-disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.course-session-option__meta {
    display: grid;
    gap: 4px;
}

.course-session-option__meta strong {
    font-size: 15px;
    color: var(--text-strong);
}

.course-session-option__meta span {
    font-size: 13px;
    color: var(--text-soft);
}

.service-category-group {
    overflow: hidden;
    border: 1px solid rgba(18, 31, 56, 0.08);
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 251, 255, 0.98) 100%);
}

.service-category-group__summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 18px 20px;
    cursor: pointer;
    list-style: none;
    background: rgba(49, 89, 101, 0.04);
}

.service-category-group__summary::-webkit-details-marker {
    display: none;
}

.service-category-group__summary h3,
.service-category-group__summary p {
    margin: 0;
}

.service-category-group__summary h3 {
    font-size: 17px;
    font-weight: 800;
    color: var(--text-strong);
}

.service-category-group__summary p {
    margin-top: 4px;
    color: var(--text-soft);
    font-size: 13px;
}

.service-category-group__chevron {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 999px;
    background: rgba(57, 166, 172, 0.12);
    color: #315965;
    transition: transform 0.2s ease;
}

.service-category-group[open] .service-category-group__chevron {
    transform: rotate(180deg);
}

.service-category-group__content {
    display: grid;
    gap: 10px;
    padding: 12px;
}

.service-catalog {
    display: grid;
    gap: 12px;
    padding: 0 12px 12px;
}

.service-catalog__tiles {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(132px, 1fr));
    gap: 10px;
}

.service-catalog__tile {
    display: grid;
    justify-items: start;
    gap: 4px;
    padding: 12px 10px 11px;
    border: 1px solid #E5E7EB;
    border-radius: 14px;
    background: #ffffff;
    text-align: left;
    cursor: pointer;
    color: inherit;
}

.service-catalog__tile-icon {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    background: rgba(49, 89, 101, 0.1);
    color: #315965;
    font-size: 13px;
    margin-bottom: 4px;
}

.service-catalog__tile b {
    font-size: 13px;
    color: #1a2030;
}

.service-catalog__tile small {
    color: #5a6478;
    font-size: 11px;
}

.service-catalog__tile.is-active {
    border-color: #315965;
    background: rgba(49, 89, 101, 0.07);
    box-shadow: inset 0 0 0 1px #315965;
}

.service-catalog__mobile {
    display: none;
    gap: 6px;
    font-size: 12px;
    font-weight: 700;
    color: #334155;
}

.service-catalog__mobile select {
    width: 100%;
    min-height: 42px;
    padding: 0 12px;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    background: #ffffff;
    color: #315965;
    font-weight: 700;
}

.service-catalog__split {
    display: grid;
    grid-template-columns: 210px minmax(0, 1fr);
    border: 1px solid #E5E7EB;
    border-radius: 16px;
    overflow: hidden;
    background: #ffffff;
}

.service-catalog__split.is-flat {
    grid-template-columns: minmax(0, 1fr);
}

.service-catalog__rail {
    display: grid;
    align-content: start;
    gap: 4px;
    padding: 10px;
    background: #F8FAFC;
    border-right: 1px solid #E5E7EB;
}

.service-catalog__rail-item {
    width: 100%;
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px;
    padding: 10px 12px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: #5a6478;
    font-size: 13px;
    font-weight: 700;
    text-align: left;
    cursor: pointer;
}

.service-catalog__rail-item span {
    font-size: 11px;
    font-weight: 600;
    color: #94A3B8;
}

.service-catalog__rail-item.is-active {
    background: #ffffff;
    color: #315965;
    box-shadow: 0 1px 4px rgba(15, 23, 42, 0.06);
}

.service-catalog__list {
    min-width: 0;
    padding: 4px 6px 8px;
}

.service-card,
.product-card {
    display: grid;
    gap: 12px;
    padding: 16px 18px;
    border: 1px solid rgba(18, 31, 56, 0.08);
    border-radius: 16px;
    background: #ffffff;
    box-shadow: none;
}

.service-card__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.service-card__main {
    display: grid;
    gap: 4px;
    min-width: 0;
}

.service-card__right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    flex-shrink: 0;
}

.service-card--selected,
.product-card--selected {
    border-color: rgba(49, 89, 101, 0.28);
    background: #f6f8fc;
}

.service-card__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.service-card__bottom {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-top: 12px;
}

.service-card__description {
    flex: 1;
    min-width: 0;
}

.service-card__button {
    min-height: 36px;
    padding: 0 14px;
    border-radius: 999px;
    border: 1px solid rgba(18, 31, 56, 0.12);
    background: #ffffff;
    color: #315965;
    cursor: pointer;
    font-size: 13px;
    font-weight: 700;
}

.service-card__button--icon {
    width: 36px;
    height: 36px;
    min-height: 36px;
    padding: 0;
    display: grid;
    place-items: center;
    flex: 0 0 36px;
    font-size: 14px;
}

.service-card__button--primary {
    border-color: transparent;
    background: #315965;
    color: #ffffff;
}

.profile-service-selection-bar {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    padding: 18px 28px;
    border-radius: 16px;
    border: 1px solid rgba(49, 89, 101, 0.28);
    background: #315965;
    box-shadow: 0 12px 32px rgba(19, 39, 44, 0.28);
    backdrop-filter: blur(10px);
    flex-wrap: nowrap;
    width: 90%;
    max-width: 1200px;
    margin: 0;
}

.profile-service-selection-bar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    width: 100%;
    max-width: 1400px;
}

.profile-service-selection-bar strong,
.profile-service-selection-bar p {
    margin: 0;
    color: #ffffff;
}

.profile-service-selection-bar p {
    color: rgba(255, 255, 255, 0.9);
    margin-top: 4px;
}

.profile-service-selection-bar__actions {
    display: flex;
    flex-wrap: nowrap;
    gap: 12px;
    flex-shrink: 0;
}

.profile-service-selection-bar .detail-card__action {
    background: #ffffff;
    color: #315965;
    border-color: #ffffff;
}

.profile-service-selection-bar .detail-card__action--primary {
    background: #059669;
    color: #ffffff;
    border-color: #059669;
}

.service-card h3,
.product-card h3,
.service-card p {
    margin: 0;
}

.service-card h3,
.product-card h3 {
    font-size: 16px;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--text);
}

.service-card p {
    color: var(--text-soft);
    max-width: 58ch;
    line-height: 1.65;
}

.service-card__duration {
    color: var(--text-soft);
    font-size: 14px;
    font-weight: 500;
}

.service-card__levels {
    display: grid;
    gap: 8px;
    margin-top: 4px;
}

.service-card__levels-label {
    color: var(--text-soft);
    font-size: 13px;
    font-weight: 600;
}

.service-card__level {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    min-height: 40px;
    padding: 8px 12px;
    border-radius: 12px;
    border: 1px solid transparent;
    background: #f4f6fa;
    color: var(--text);
    cursor: pointer;
    font: inherit;
    font-weight: 600;
    text-align: left;
}

.service-card__level.is-selected {
    border-color: #315965;
    background: rgba(49, 89, 101, 0.06);
    color: #315965;
}

.service-card__level-pick {
    display: block;
    margin-top: 4px;
}

.service-card__level-pick select {
    width: min(100%, 280px);
    min-height: 36px;
    padding: 0 32px 0 12px;
    border: 1px solid rgba(18, 31, 56, 0.12);
    border-radius: 999px;
    background: #f7f8fb url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%2317306b' d='M1 1.5 6 6.5 11 1.5'/%3E%3C/svg%3E") no-repeat right 12px center;
    color: #315965;
    font-size: 13px;
    font-weight: 700;
    appearance: none;
    cursor: pointer;
}

.loyalty-history {
    margin: 10px 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 6px;
}

.loyalty-history li {
    color: var(--text-soft);
    font-size: 13px;
    line-height: 1.45;
}

.service-card__price-box,
.product-card__price {
    display: inline-flex;
    align-items: center;
    min-height: 0;
    min-width: 0;
    padding: 0;
    border-radius: 0;
    background: none;
    color: #315965;
    font-size: 16px;
    font-weight: 700;
    white-space: nowrap;
}

.offer-note {
    margin: 0;
    padding: 10px 12px;
    border-radius: 12px;
    background: #f4f6fa;
    color: var(--text-soft);
    font-size: 13px;
    line-height: 1.45;
}

/* Product Cards */
.profile-products-section,
.profile-loyalty-section,
.profile-services-section {
    display: grid;
    gap: 12px;
}
.profile-section__subtitle {
    font-size: 12px;
    color: var(--text-soft);
    margin: 0;
}

#profile-panel-prices {
    gap: 16px;
}

.price-sheet {
    display: grid;
    gap: 0;
    overflow: hidden;
    border: 1px solid rgba(18, 31, 56, 0.08);
    border-radius: 16px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.price-sheet[hidden] {
    display: none !important;
}

.price-sheet__head {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 18px 12px;
}

.price-sheet__icon {
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #315965;
    color: #fff;
    font-size: 14px;
}

.price-sheet .profile-section__title {
    font-size: 16px;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.price-sheet__count {
    margin-left: auto;
    min-height: 24px;
    padding: 0 10px;
    border-radius: 999px;
    background: rgba(49, 89, 101, 0.12);
    color: #315965;
    font-size: 12px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
}

.price-sheet .profile-services,
.price-sheet .profile-products,
.price-sheet .profile-loyalty {
    gap: 0;
    padding: 0 0 8px;
}

.price-sheet .offer-note {
    margin: 0 18px 10px;
}

.price-sheet .profile-loyalty > .profile-section__subtitle,
.price-sheet .profile-products > .profile-section__subtitle {
    padding: 8px 18px 6px;
}

#profile-panel-prices .service-card,
#profile-panel-prices .product-card {
    border: 0;
    border-top: 1px solid rgba(18, 31, 56, 0.08);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    padding: 12px 18px;
}

#profile-panel-prices .service-card--selected,
#profile-panel-prices .product-card--selected {
    border-color: rgba(18, 31, 56, 0.08);
    background: rgba(49, 89, 101, 0.08);
}

#profile-panel-prices .service-card__price-box,
#profile-panel-prices .product-card__price {
    color: #315965;
}

#profile-panel-prices .service-card__button {
    color: #315965;
    border-color: rgba(49, 89, 101, 0.18);
}

#profile-panel-prices .service-card__button--primary {
    background: #315965;
    border-color: transparent;
    color: #fff;
}

#profile-panel-prices .service-card__level.is-selected {
    border-color: #315965;
    background: rgba(49, 89, 101, 0.08);
    color: #315965;
}

#profile-panel-prices .service-card__level-pick select {
    color: #315965;
}

#profile-panel-prices .service-category-group {
    border: 0;
    border-radius: 0;
    background: transparent;
}

#profile-panel-prices .service-category-group__summary {
    padding: 14px 18px;
    background: rgba(49, 89, 101, 0.06);
}

#profile-panel-prices .service-category-group__content {
    padding: 0;
}

#profile-panel-prices .service-category-group__chevron {
    background: rgba(49, 89, 101, 0.12);
    color: #315965;
}

#profile-panel-prices .service-catalog__list .service-card,
#profile-panel-prices .service-catalog__list .service-card--selected {
    border: 0;
    border-bottom: 1px solid #F1F5F9;
    border-radius: 0;
    padding: 14px 12px;
}

#profile-panel-prices .service-catalog__list .service-card:last-child {
    border-bottom: 0;
}

#profile-panel-prices .service-catalog__list .service-card--selected {
    background: rgba(49, 89, 101, 0.06);
}

.opening-hours {
    display: grid;
    gap: 10px;
}

.opening-hours__row {
    display: grid;
    grid-template-columns: minmax(110px, 140px) minmax(0, 1fr);
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(18, 31, 56, 0.06);
}

.opening-hours__row:last-child {
    border-bottom: 0;
}

.opening-hours__row--today {
    margin: 0 -10px;
    padding: 10px;
    border-radius: 7px;
    background: linear-gradient(135deg, rgba(57, 166, 172, 0.12), rgba(49, 89, 101, 0.08));
    border-bottom-color: transparent;
}

.opening-hours__day {
    font-weight: 700;
    color: var(--text);
}

.opening-hours__value {
    color: var(--text-soft);
}

.profile-empty-state {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 6px 12px;
    text-align: center;
    padding: 16px 20px;
    border-radius: 0;
    background: transparent;
    border-top: 1px solid rgba(18, 31, 56, 0.08);
    border-bottom: 1px solid rgba(18, 31, 56, 0.08);
}

.profile-empty-state i {
    order: 0;
    flex: 0 0 auto;
    font-size: 15px;
    color: rgba(49, 89, 101, 0.35);
}

.profile-empty-state h3 {
    order: -1;
    margin: 0;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--text-soft);
}

.profile-empty-state p {
    order: 1;
    margin: 0;
    font-size: 13px;
    color: var(--text-soft);
    max-width: 46ch;
}

.profile-empty-state__actions {
    flex-basis: 100%;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 6px;
}

.profile-portfolio {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.profile-portfolio-section {
    display: grid;
    gap: 16px;
}

.profile-portfolio-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.portfolio-filter-chip {
    border: 1px solid rgba(18, 31, 56, 0.12);
    background: rgba(255, 255, 255, 0.92);
    color: var(--text-color);
    border-radius: 999px;
    padding: 10px 16px;
    font: inherit;
    font-size: 0.92rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.portfolio-filter-chip:hover,
.portfolio-filter-chip:focus-visible {
    transform: translateY(-1px);
    border-color: rgba(57, 166, 172, 0.4);
    color: #14565a;
    box-shadow: 0 10px 22px rgba(18, 31, 56, 0.08);
}

.portfolio-filter-chip.is-active {
    border-color: transparent;
    background: linear-gradient(135deg, #1f8c92, #2a6f8f);
    color: #fff;
    box-shadow: 0 14px 28px rgba(31, 140, 146, 0.26);
}

.portfolio-card {
    padding: 0;
    margin: 0;
    border: 0;
    cursor: pointer;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(18, 31, 56, 0.06);
    background: #f5f7fb;
    aspect-ratio: 4 / 5;
    transition: transform var(--transition), box-shadow var(--transition);
}

.portfolio-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 30px rgba(17, 27, 45, 0.14);
}

.portfolio-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.portfolio-card__meta {
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    pointer-events: none;
}

.portfolio-card__meta span {
    border-radius: 999px;
    background: rgba(11, 18, 33, 0.68);
    color: #fff;
    padding: 6px 10px;
    font-size: 0.74rem;
    font-weight: 600;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 4000;
    display: grid;
    place-items: center;
    padding: 24px;
}

.lightbox__backdrop {
    position: absolute;
    inset: 0;
    border: 0;
    background: rgba(11, 18, 33, 0.72);
    cursor: pointer;
}

.lightbox__dialog {
    position: relative;
    z-index: 1;
    width: min(980px, calc(100vw - 48px));
    max-height: calc(100vh - 48px);
    padding: 14px;
    border: 0;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 28px 80px rgba(7, 15, 30, 0.28);
}

.lightbox__dialog img {
    width: 100%;
    max-height: calc(100vh - 76px);
    object-fit: contain;
    display: block;
    border-radius: 9px;
}

.modal-shell {
    position: fixed;
    inset: 0;
    z-index: 4000;
    display: grid;
    place-items: center;
    padding: 24px;
}

/* Anmeldung und Profil-Ergänzung öffnen sich auch aus anderen Dialogen
   (Kurs, Tisch, Bewertung) und müssen dann darüber liegen. */
#auth-modal,
#social-profile-modal {
    z-index: 4100;
}

.modal-shell__backdrop {
    position: absolute;
    inset: 0;
    border: 0;
    background: rgba(10, 16, 32, 0.58);
}

.modal-shell__dialog {
    position: relative;
    z-index: 1;
    width: min(720px, calc(100vw - 32px));
    max-height: calc(100vh - 48px);
    overflow: auto;
    padding: 26px 26px 40px;
    border-radius: 20px;
    border: 0;
    outline: none;
    background: #ffffff;
    box-shadow: 0 28px 80px rgba(8, 14, 28, 0.32);
}

.modal-shell__dialog.auth-dialog,
.modal-shell__dialog.booking-dialog {
    padding: 0 0 24px;
    overflow: auto;
    display: block;
}

.modal-shell__close,
.booking-pick__close {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0;
    margin: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    color: #ffffff;
    line-height: 0;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
}

.modal-shell__close i,
.modal-shell__close svg,
.booking-pick__close i,
.booking-pick__close svg {
    display: none;
}

.modal-shell__close::before,
.booking-pick__close::before {
    content: "\00d7";
    display: block;
    font-family: Inter, system-ui, sans-serif;
    font-size: 22px;
    font-weight: 500;
    line-height: 1;
    transform: translateY(-0.5px);
}

.auth-dialog__header,
.booking-dialog__header {
    position: sticky;
    top: 0;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 20px;
    padding: 16px 16px 16px 24px;
    background: #315965;
    color: #ffffff;
    border-radius: 20px 20px 0 0;
}

.auth-dialog__header h2,
.booking-dialog__header h2 {
    flex: 1;
    min-width: 0;
    margin: 0;
    color: #ffffff;
    font-size: 1.25rem;
    line-height: 1.3;
    font-weight: 800;
}

.dialog-lead,
.confirm-dialog__body {
    margin: 0 0 16px;
    color: #475569;
    font-size: 15px;
    line-height: 1.55;
}

.dialog-lead:empty,
.confirm-dialog__body:empty {
    display: none;
}

.auth-dialog > *:not(.auth-dialog__header):not(.modal-shell__close),
.booking-dialog > *:not(.booking-dialog__header):not(.modal-shell__close) {
    margin-left: 24px;
    margin-right: 24px;
}

.auth-dialog .detail-card__action--primary,
.booking-dialog .detail-card__action--primary {
    background: #059669;
    border-color: #059669;
    color: #ffffff;
}

.auth-dialog .detail-card__action--primary:hover,
.auth-dialog .detail-card__action--primary:focus-visible,
.booking-dialog .detail-card__action--primary:hover,
.booking-dialog .detail-card__action--primary:focus-visible {
    background: #047857;
    color: #ffffff;
}

.account-page .detail-card__action--primary {
    background: #315965;
    border-color: #315965;
    color: #ffffff;
}

.auth-dialog__tabs {
    display: inline-flex;
    gap: 8px;
    padding: 6px;
    border-radius: 999px;
    background: rgba(49, 89, 101, 0.06);
    margin-bottom: 16px;
}

.auth-dialog__tab {
    min-height: 40px;
    padding: 0 16px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: var(--text-soft);
    cursor: pointer;
    font-weight: 700;
}

.auth-dialog__tab.is-active {
    background: #315965;
    color: #ffffff;
}

.auth-dialog__status,
.booking-dialog__status {
    margin-bottom: 16px;
    padding: 12px 14px;
    border-radius: 12px;
    font-size: 14px;
    line-height: 1.5;
}

.auth-dialog__status[data-state="error"],
.booking-dialog__status[data-state="error"] {
    background: rgba(190, 38, 38, 0.1);
    color: #8f2020;
}

.auth-dialog__status[data-state="success"],
.booking-dialog__status[data-state="success"] {
    background: rgba(31, 136, 61, 0.12);
    color: #176f33;
}

.auth-dialog__status[data-state="loading"],
.booking-dialog__status[data-state="loading"] {
    background: rgba(49, 89, 101, 0.08);
    color: #315965;
}

.guest-manage-details {
    display: grid;
    gap: 0;
    margin: 0 0 20px;
}

.guest-manage-details div {
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr);
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
}

.guest-manage-details dt {
    color: var(--text-soft, #64748b);
    font-size: 14px;
}

.guest-manage-details dd {
    margin: 0;
    color: var(--text, #1e293b);
    font-size: 14px;
}

.auth-form,
.booking-form {
    display: grid;
    gap: 14px;
}

.auth-form__row,
.booking-form__row {
    display: grid;
    gap: 12px;
}

.auth-form__row--split,
.booking-form__row--split {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.auth-form__field,
.booking-form__field {
    display: grid;
    gap: 8px;
}

.auth-form__field span,
.booking-form__field span {
    font-size: 14px;
    font-weight: 700;
}

.auth-form__field input,
.booking-form__field input,
.booking-form__field select,
.booking-form__field textarea {
    width: 100%;
    min-height: 48px;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid rgba(18, 31, 56, 0.12);
    background: #ffffff;
    color: var(--text);
}

.booking-form__field textarea {
    min-height: 120px;
    resize: vertical;
}

.booking-form__choice {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
}

.booking-form__choice input {
    width: auto;
    min-height: 0;
    padding: 0;
}

.booking-form__choice--disabled {
    opacity: 0.55;
}

.booking-form__text-link {
    border: 0;
    background: none;
    padding: 0;
    color: #2563eb;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.auth-form__legal {
    display: grid;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid rgba(18, 31, 56, 0.12);
    background: #f5f7fb;
}

.auth-form__choice {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.45;
    cursor: pointer;
}

.auth-form__choice input {
    width: auto;
    min-height: 0;
    margin-top: 3px;
    padding: 0;
}

.auth-form__choice a {
    color: var(--primary-strong);
    font-weight: 700;
}

.auth-steps {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 0 0 14px;
}

.auth-steps__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #d0dadd;
}

.auth-steps__dot.is-active {
    background: #315965;
}

.auth-form__hint {
    margin: 0;
    color: #4b5563;
    font-size: 13px;
    line-height: 1.45;
}

.auth-form__text-link {
    justify-self: start;
    border: 0;
    background: none;
    padding: 0;
    color: #315965;
    font: inherit;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}

.auth-form__text-link:disabled {
    color: #9ca3af;
    cursor: default;
}

.site-footer {
    display: flex;
    justify-content: center;
    padding: 40px 0 28px;
}

body:has(.modal-shell:not([hidden])) .site-footer,
body:has(.lightbox:not([hidden])) .site-footer {
    visibility: hidden;
}

.results.is-results .results__shell > .site-footer {
    display: none;
}

.legal-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 16px;
    font-size: 12px;
    font-weight: 600;
}

.legal-bar a {
    color: #315965;
    text-decoration: none;
}

.legal-bar a:hover {
    color: #264850;
}

.auth-form__divider {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 14px 0 10px;
    color: var(--text-muted, #6b7280);
    font-size: 12px;
    text-transform: lowercase;
}
.auth-form__divider::before,
.auth-form__divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: rgba(15, 23, 42, 0.12);
}
.auth-google-button,
.auth-apple-button {
    width: 100%;
    justify-content: center;
}

/* Direkt im Dialog haben die Knöpfe 24px Rand je Seite, bei 100% ragten sie hinaus. */
.auth-dialog > .auth-google-button,
.auth-dialog > .auth-apple-button {
    width: calc(100% - 48px);
}

.auth-google-button {
    background: #ffffff;
    border: 1px solid #dadce0;
    color: #1f1f1f;
}

.auth-google-button:hover,
.auth-google-button:focus-visible {
    background: #f7f8f8;
}

.auth-apple-button {
    margin-bottom: 8px;
    background: #000000;
    color: #ffffff;
}

.auth-apple-button:hover,
.auth-apple-button:focus-visible {
    background: #1c1c1e;
    color: #ffffff;
}

.auth-google-button__logo,
.auth-apple-button__logo {
    width: 16px;
    height: 16px;
    display: block;
    flex: 0 0 auto;
}

.auth-form__actions,
.booking-form__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 4px;
}

.modal-shell__dialog.confirm-dialog {
    width: min(420px, calc(100vw - 32px));
    padding-bottom: 20px;
}

.confirm-dialog .booking-form__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 4px;
}

.confirm-dialog .booking-form__actions .detail-card__action {
    justify-content: center;
    width: 100%;
}

.detail-card__action--danger {
    background: #dc2626;
    color: #ffffff;
}

.detail-card__action--danger:hover,
.detail-card__action--danger:focus-visible {
    background: #b91c1c;
    color: #ffffff;
}

.booking-form__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.booking-form__chip {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(57, 166, 172, 0.12);
    color: #156168;
    font-size: 13px;
    font-weight: 700;
}

.booking-form__summary,
.booking-form__meta {
    padding: 14px;
    border-radius: 14px;
    background: rgba(49, 89, 101, 0.05);
    color: var(--text-soft);
    line-height: 1.55;
}

.booking-form__summary strong,
.booking-form__meta strong {
    display: block;
    margin-bottom: 6px;
    color: var(--text);
}

.booking-form__inquiry-fields {
    display: grid;
    gap: 14px;
}

.booking-form__inquiry-section {
    display: grid;
    gap: 12px;
    padding: 16px;
    border-radius: 14px;
    border: 1px solid rgba(18, 31, 56, 0.08);
    background: rgba(255, 255, 255, 0.92);
}

.booking-form__inquiry-section h3,
.booking-form__inquiry-section p {
    margin: 0;
}

.booking-form__inquiry-hint {
    color: var(--text-soft);
    font-size: 14px;
}

.booking-form__image-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.booking-form__image-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 34px;
    padding: 0 10px;
    border-radius: 999px;
    background: rgba(49, 89, 101, 0.06);
    font-size: 13px;
}

.booking-form__image-item button {
    border: 0;
    background: transparent;
    color: #8f2020;
    cursor: pointer;
}

.lightbox__counter {
    position: absolute;
    left: 18px;
    bottom: 18px;
    z-index: 1;
    min-height: 34px;
    padding: 0 12px;
    display: inline-flex;
    align-items: center;
    border-radius: 10px;
    background: rgba(19, 33, 61, 0.82);
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
}

.lightbox__close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 10px;
    background: rgba(19, 33, 61, 0.82);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    line-height: 0;
}

.lightbox__close i {
    display: none;
}

.lightbox__close::before {
    content: "\00d7";
    display: block;
    font-family: Inter, system-ui, sans-serif;
    font-size: 24px;
    font-weight: 500;
    line-height: 1;
    transform: translateY(-0.5px);
}

.lightbox__nav {
    position: absolute;
    top: 50%;
    z-index: 1;
    width: 46px;
    height: 46px;
    border: 0;
    border-radius: 10px;
    background: rgba(19, 33, 61, 0.82);
    color: #ffffff;
    display: grid;
    place-items: center;
    cursor: pointer;
    transform: translateY(-50%);
}

.lightbox__nav--prev {
    left: 18px;
}

.lightbox__nav--next {
    right: 18px;
}

.lightbox__nav:disabled {
    opacity: 0.4;
    cursor: default;
}

.map-card__header {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
    margin-bottom: 14px;
}

.map {
    min-height: 0;
    height: 100%;
    border-radius: 0;
    overflow: hidden;
    border: 0;
    background:
        radial-gradient(circle at top left, rgba(57, 166, 172, 0.12), transparent 28%),
        linear-gradient(180deg, #f7f9fc 0%, #eef3f7 100%);
}

.map-info {
    position: absolute;
    right: 14px;
    bottom: 14px;
    z-index: 500;
    display: flex;
    align-items: center;
}

.map-info__trigger {
    order: 2;
    width: 38px;
    height: 38px;
    list-style: none;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(18, 31, 56, 0.08);
    box-shadow: 0 12px 24px rgba(17, 27, 45, 0.12);
    color: #315965;
    display: grid;
    place-items: center;
    cursor: pointer;
}

.map-info__trigger::-webkit-details-marker {
    display: none;
}

.map-info__panel {
    order: 1;
    margin-right: 10px;
    padding: 0 12px;
    min-height: 38px;
    border-radius: 8px;
    border: 1px solid rgba(18, 31, 56, 0.08);
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 12px 24px rgba(17, 27, 45, 0.14);
    color: var(--text);
    display: none;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    white-space: normal;
    max-width: min(340px, calc(100vw - 80px));
}

.map-info[open] .map-info__panel {
    display: inline-flex;
}

.map-info__panel span,
.map-info__panel a {
    margin: 0;
    font-size: 13px;
    line-height: 1;
}

.map-info__panel span {
    color: var(--text-soft);
}

.map-info__panel a {
    color: #315965;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.providers {
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    gap: 12px;
    height: 100%;
    max-height: calc(100vh - 116px);
    overflow: hidden;
    min-height: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.providers__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.providers__header-main {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.providers__title {
    font-size: 16px;
}

.providers-sort {
    position: relative;
}

.providers-sort__trigger {
    list-style: none;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    border: 1px solid rgba(18, 31, 56, 0.1);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 10px 20px rgba(17, 27, 45, 0.08);
    color: #315965;
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.providers-sort__trigger::-webkit-details-marker {
    display: none;
}

.providers-sort__trigger:hover,
.providers-sort__trigger:focus-visible,
.providers-sort.is-open .providers-sort__trigger {
    transform: translateY(-1px);
    border-color: rgba(49, 89, 101, 0.22);
    box-shadow: 0 14px 26px rgba(17, 27, 45, 0.12);
    outline: none;
}

.providers-sort__menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    min-width: 180px;
    display: grid;
    gap: 6px;
    padding: 8px;
    border-radius: 12px;
    border: 1px solid rgba(18, 31, 56, 0.08);
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 18px 34px rgba(17, 27, 45, 0.14);
    z-index: 20;
}

.providers-sort__option {
    width: 100%;
    min-height: 40px;
    padding: 0 12px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--text);
    text-align: left;
    cursor: pointer;
    transition: background var(--transition), color var(--transition), transform var(--transition);
}

.providers-sort__option:hover,
.providers-sort__option:focus-visible {
    background: rgba(49, 89, 101, 0.08);
    color: #315965;
    transform: translateX(1px);
    outline: none;
}

.providers-sort__option.is-active {
    background: linear-gradient(135deg, rgba(57, 166, 172, 0.14), rgba(49, 89, 101, 0.1));
    color: #315965;
    font-weight: 700;
}

.providers__scroll {
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding-right: 4px;
    padding-bottom: 40px;
}

.providers__list {
    display: grid;
    align-content: start;
    gap: 10px;
    min-height: 0;
}

.providers__list--loading {
    pointer-events: none;
}

.provider-card {
    position: relative;
    display: grid;
    gap: 10px;
    padding: 14px;
    border-radius: 14px;
    border: 1px solid #D1D5DB;
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(55, 65, 81, 0.08);
    cursor: pointer;
    transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

.provider-card:hover,
.provider-card:focus-visible {
    transform: translateY(-1px);
    border-color: #315965;
    background: #ffffff;
    box-shadow: 0 8px 18px rgba(49, 89, 101, 0.12);
    outline: none;
}

.provider-card:hover::before,
.provider-card:focus-visible::before {
    content: "";
    position: absolute;
    top: 12px;
    bottom: 12px;
    left: -1px;
    width: 4px;
    border-radius: 3px;
    background: #315965;
}

.provider-card:hover h4,
.provider-card:focus-visible h4 {
    color: #13213d;
}

.provider-card:hover .provider-card__meta,
.provider-card:focus-visible .provider-card__meta {
    color: #44506a;
}

.provider-card--selected {
    border-color: #315965;
    background: rgba(49, 89, 101, 0.06);
    box-shadow: 0 8px 18px rgba(49, 89, 101, 0.12);
}

.provider-card--selected::before {
    content: "";
    position: absolute;
    top: 12px;
    bottom: 12px;
    left: -1px;
    width: 5px;
    border-radius: 3px;
    background: #315965;
}

.provider-card--selected h4 {
    color: #13213d;
}

.provider-card--selected .provider-card__meta {
    color: #44506a;
}

.provider-card--fallback {
    border-style: dashed;
}

.provider-card--empty {
    text-align: center;
    padding: 24px 18px;
}

.provider-card--loading {
    cursor: default;
    background: #fbfcfe;
}

.provider-card--loading:hover,
.provider-card--loading:focus-visible {
    transform: none;
    border-color: var(--border);
    background: #fbfcfe;
    box-shadow: none;
    outline: none;
}

.provider-card--loading::before,
.provider-card--loading:hover::before,
.provider-card--loading:focus-visible::before {
    content: none;
}

.provider-card__loading-copy {
    display: grid;
    gap: 10px;
    width: 100%;
}

.provider-card__meta--loading,
.provider-card__actions--loading {
    align-items: center;
}

.shimmer-line--provider-title {
    width: 62%;
    height: 18px;
}

.shimmer-line--provider-address {
    width: 88%;
}

.shimmer-line--provider-meta {
    width: 120px;
}

.shimmer-pill--provider-action {
    width: 132px;
    height: 38px;
    border-radius: 8px;
}

.provider-card__top {
    display: flex;
    justify-content: flex-start;
    gap: 12px;
    align-items: start;
}

.provider-card__photo {
    width: 56px;
    height: 56px;
    flex: 0 0 56px;
    border-radius: 14px;
    overflow: hidden;
    background: #315965;
    color: #ffffff;
    display: grid;
    place-items: center;
    font-weight: 800;
    font-size: 18px;
}

.provider-card__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.provider-card h4,
.provider-card p {
    margin: 0;
}

.provider-card h4 {
    font-size: 16px;
}

.provider-card__meta,
.provider-card__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.provider-card__meta {
    color: var(--text-soft);
    font-size: 13px;
}

.provider-card__meta span,
.provider-card__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.provider-card__link {
    text-decoration: none;
    color: var(--text);
    padding: 9px 12px;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.05);
}

.leaflet-popup-content-wrapper,
.leaflet-popup-tip {
    background: #ffffff;
    color: var(--text);
}

.leaflet-popup-content-wrapper {
    border-radius: 8px;
    box-shadow: 0 18px 40px rgba(22, 33, 58, 0.14);
}

.leaflet-popup-content {
    margin: 12px 14px;
    line-height: 1.5;
}

.leaflet-container {
    font: inherit;
    background: transparent;
}

/* Vektor-Basiskarte (MapLibre GL) liegt im Kachel-Pane; Leaflet behält alle Interaktionen. */
.leaflet-gl-layer,
.leaflet-gl-layer canvas {
    pointer-events: none;
}

.leaflet-gl-layer.maplibregl-map {
    background: transparent;
}

.leaflet-bar {
    border: 1px solid rgba(21, 32, 54, 0.08) !important;
    box-shadow: 0 12px 24px rgba(20, 30, 54, 0.12) !important;
}

.leaflet-bar a {
    width: 34px;
    height: 34px;
    line-height: 34px;
    background: rgba(255, 255, 255, 0.96) !important;
    color: #283247 !important;
}

.leaflet-bar a:hover {
    background: #ffffff !important;
}

.leaflet-control-zoom {
    border-radius: 7px !important;
    overflow: hidden;
}

.leaflet-control-attribution {
    background: rgba(255, 255, 255, 0.88) !important;
    color: var(--text-soft) !important;
    border-radius: 5px 0 0 0;
    padding: 4px 8px !important;
}

.leaflet-control-attribution a {
    color: var(--primary) !important;
}

.map-pin--user {
    width: 24px;
    height: 24px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: rgba(57, 166, 172, 0.18);
    border: 1px solid rgba(57, 166, 172, 0.24);
    box-shadow: 0 10px 20px rgba(57, 166, 172, 0.2);
}

.map-pin__dot {
    display: block;
    border-radius: 999px;
}

.map-pin--user .map-pin__dot {
    width: 10px;
    height: 10px;
    background: linear-gradient(180deg, #39a6ac 0%, #2e8a90 100%);
    box-shadow: 0 0 0 4px rgba(57, 166, 172, 0.14);
}

.business-marker {
    background: transparent;
    border: 0;
    cursor: pointer;
    pointer-events: none;
}

/* Leaflet setzt über .leaflet-marker-icon.leaflet-interactive pointer-events:auto für die
   komplette Icon-Box (bei ausgewählten Markern 236x140 px). Das liegt über Nachbar-Markern
   und fängt deren Hover/Klicks ab. Deshalb hier nur die sichtbaren Teile interaktiv machen. */
.leaflet-marker-icon.business-marker {
    pointer-events: none;
}

.business-marker__pin::after {
    content: "";
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    background: transparent;
}

.business-marker__wrap {
    width: 150px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    transform-origin: center bottom;
    pointer-events: none;
}

.business-marker__label {
    max-width: 140px;
    min-width: 110px;
    padding: 7px 9px;
    border-radius: 6px;
    background: linear-gradient(135deg, #13213d 0%, rgba(19, 33, 61, 0.92) 100%);
    border: 1px solid rgba(19, 33, 61, 0.9);
    box-shadow: 0 10px 20px rgba(19, 33, 61, 0.24);
    text-align: center;
    transform-origin: center bottom;
    opacity: 0;
    transform: translateY(8px) scale(0.94);
    pointer-events: none;
}

.business-marker__label span {
    display: block;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.business-marker__focus-card {
    width: 212px;
    border-radius: 7px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(22, 33, 58, 0.08);
    box-shadow: 0 16px 34px rgba(22, 33, 58, 0.16);
    transform-origin: center bottom;
    pointer-events: none;
}

.business-marker__focus-trigger {
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    padding: 14px 16px;
    border: 0;
    border-radius: 7px;
    background: transparent;
    cursor: pointer;
    text-align: left;
    pointer-events: auto;
}

.business-marker__focus-text {
    display: block;
    white-space: normal;
    overflow: visible;
    color: #1a2030;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.01em;
}

.business-marker__focus-trigger i {
    color: #315965;
    font-size: 14px;
}

.business-marker__pin {
    position: relative;
    width: 52px;
    height: 60px;
    transition: filter 240ms ease;
    pointer-events: auto;
}

.business-marker--selected .business-marker__pin {
    width: 58px;
    height: 66px;
}

.business-marker--hovered .business-marker__pin,
.business-marker:not(.business-marker--selected):hover .business-marker__pin {
    width: 56px;
    height: 64px;
}

.business-marker--hovered .business-marker__wrap,
.business-marker:hover .business-marker__wrap {
    animation: marker-hover-lift 260ms cubic-bezier(0.22, 1, 0.36, 1);
}

.business-marker--hovered .business-marker__label,
.business-marker--hovered .business-marker__focus-card,
.business-marker--selected .business-marker__label,
.business-marker:hover .business-marker__label,
.business-marker:hover .business-marker__focus-card {
    animation: marker-hover-label-in 280ms cubic-bezier(0.2, 0.9, 0.2, 1);
}

.business-marker--hovered .business-marker__label,
.business-marker--selected .business-marker__label,
.business-marker:hover .business-marker__label {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Sichtbares Label bzw. Fokus-Karte bleiben interaktiv (Hover bleibt stabil). */
.business-marker--selected .business-marker__label,
.business-marker--hovered .business-marker__label,
.business-marker:hover .business-marker__label,
.business-marker--selected .business-marker__focus-card,
.business-marker:hover .business-marker__focus-card {
    pointer-events: auto;
}

.business-marker--hovered .business-marker__pin,
.business-marker:hover .business-marker__pin {
    filter: saturate(1.06);
}

.business-marker__badge {
    position: absolute;
    top: 0;
    left: 0;
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: #315965;
    border: 2px solid #4a7380;
    box-shadow: 0 8px 18px rgba(49, 89, 101, 0.22);
    color: #ffffff;
    overflow: hidden;
    transition: box-shadow 260ms ease, filter 260ms ease;
}

.business-marker--selected .business-marker__badge {
    width: 58px;
    height: 58px;
}

.business-marker--hovered .business-marker__badge,
.business-marker:not(.business-marker--selected):hover .business-marker__badge {
    width: 56px;
    height: 56px;
}

.business-marker--selected .business-marker__badge {
    background: #264850;
    border-color: #ffffff;
    box-shadow: 0 10px 22px rgba(49, 89, 101, 0.28);
}

.business-marker--hovered .business-marker__badge,
.business-marker:not(.business-marker--selected):hover .business-marker__badge {
    background: #264850;
    border-color: rgba(255, 255, 255, 0.96);
    box-shadow: 0 12px 24px rgba(49, 89, 101, 0.26);
    filter: drop-shadow(0 0 12px rgba(49, 89, 101, 0.18));
}

.business-marker__logo {
    width: 28px;
    height: 28px;
    object-fit: contain;
    display: block;
}

.business-marker--selected .business-marker__logo {
    width: 32px;
    height: 32px;
}

.business-marker--hovered .business-marker__logo,
.business-marker:not(.business-marker--selected):hover .business-marker__logo {
    width: 30px;
    height: 30px;
}

.business-marker__fallback {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: #ffffff;
    font-size: 20px;
    font-weight: 800;
    line-height: 1;
    opacity: 0;
}


.business-marker__pointer {
    position: absolute;
    left: 18px;
    bottom: 0;
    width: 16px;
    height: 16px;
    transform: rotate(45deg);
    border-radius: 3px;
    background: #315965;
    border-right: 2px solid #4a7380;
    border-bottom: 2px solid #4a7380;
    box-shadow: 0 6px 14px rgba(31, 36, 48, 0.18);
    transition: box-shadow 260ms ease, filter 260ms ease;
}

.business-marker--selected .business-marker__pointer {
    left: 20px;
    width: 18px;
    height: 18px;
}

.business-marker--hovered .business-marker__pointer,
.business-marker:not(.business-marker--selected):hover .business-marker__pointer {
    left: 19px;
    width: 17px;
    height: 17px;
}

.business-marker--selected .business-marker__pointer {
    background: #264850;
    border-right-color: #ffffff;
    border-bottom-color: #ffffff;
}

.business-marker--hovered .business-marker__pointer,
.business-marker:not(.business-marker--selected):hover .business-marker__pointer {
    background: #264850;
    border-right-color: rgba(255, 255, 255, 0.96);
    border-bottom-color: rgba(255, 255, 255, 0.96);
    box-shadow: 0 10px 18px rgba(49, 89, 101, 0.22);
}

@keyframes marker-hover-lift {
    0% {
        transform: translateY(8px) scale(0.92);
        opacity: 0.18;
    }
    60% {
        transform: translateY(-3px) scale(1.03);
        opacity: 1;
    }
    100% {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

@keyframes marker-hover-label-in {
    0% {
        opacity: 0;
        transform: translateY(10px) scale(0.94);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.results.is-results {
    height: 100vh;
    height: 100dvh;
    min-height: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    padding-bottom: 40px;
}

.results.is-results .results__shell {
    flex: 1 1 auto;
    min-height: 0;
    padding-top: var(--content-top);
    display: grid;
    grid-template-rows: minmax(0, 1fr);
    align-content: stretch;
}

.results.is-results .results__layout {
    min-height: 0;
    height: 100%;
    align-items: stretch;
}

.results.is-results .providers,
.results.is-results .results__main,
.results.is-results .map-card,
.results.is-results .map {
    height: 100%;
    max-height: none;
    min-height: 0;
}

.results.is-results .results__main {
    align-self: stretch;
}

@media (max-width: 900px) {
    .results__layout {
        grid-template-columns: 1fr;
    }

    .results.is-results .results__layout {
        grid-template-columns: 1fr;
        grid-template-rows: minmax(0, 1fr) minmax(200px, 34vh);
    }

    .results.is-results .map {
        min-height: 0;
    }

    .results.is-results .providers__scroll {
        padding-bottom: 32px;
    }

    :root {
        --content-top: 24px;
    }

    .profile-loading__hero {
        padding: 24px;
    }

    .profile-gallery__track {
        grid-auto-columns: minmax(220px, 280px);
    }

    .profile-gallery__track[data-layout="showcase"] {
        grid-template-columns: 1fr;
    }

    .profile-gallery__item--showcase-main {
        min-height: 280px;
        max-height: 320px;
    }

    .profile-details-layout,
    .profile-details-layout.is-overview {
        grid-template-columns: 1fr;
    }

    .service-card__right {
        width: 100%;
        justify-content: space-between;
    }

    .service-catalog__tiles {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .service-catalog__split {
        grid-template-columns: 1fr;
    }

    .service-catalog__rail {
        display: none;
    }

    .service-catalog__mobile {
        display: grid;
        padding: 0 4px;
    }

    .profile-details-side {
        position: static;
    }

    .profile-hours-panel {
        padding: 18px;
        border-radius: 11px;
    }

    .profile-hero__actions {
        justify-content: flex-start;
    }

    .profile-hero__topline {
        flex-direction: column;
    }

    .profile-trainings {
        grid-template-columns: repeat(7, minmax(148px, 1fr));
    }



    .providers {
        max-height: none;
    }

    .profile-portfolio {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}

@media (max-width: 720px) {
    .results.is-profile .results__shell > :not(.modal-shell):not(.lightbox),
    .results.is-account .results__shell > :not(.modal-shell):not(.lightbox) {
        width: 100%;
    }

    .discover-toolbar {
        justify-content: stretch;
    }

    .discover-toolbar__auth {
        width: 100%;
        justify-content: space-between;
        border-radius: 18px;
    }

    .results.is-compact .discover-toolbar__auth {
        width: auto;
        justify-content: flex-end;
        border-radius: 0;
    }

    .search-bar {
        grid-template-columns: 1fr;
    }

    .results.is-compact .search-bar {
        display: flex;
        grid-template-columns: none;
        width: calc(100% - var(--page-gutter));
        max-width: calc(100% - var(--page-gutter));
        justify-self: start;
    }

    .search-bar__submit,
    .search-bar__select {
        width: 100%;
    }

    .results.is-compact .search-bar__submit {
        width: auto;
        flex: 0 0 auto;
    }

    .results.is-compact .search-bar__select {
        width: 100%;
        min-width: 0;
    }

    .map-card,
    .providers,
    .detail-card {
        padding: 16px;
    }

    .profile-view {
        gap: 22px;
    }

    .profile-hero {
        padding: 0;
        gap: 18px;
    }

    .profile-hero__title {
        max-width: none;
        font-size: clamp(26px, 8vw, 34px);
    }

    .profile-hero__address {
        font-size: 16px;
    }

    .profile-gallery__track {
        grid-auto-columns: minmax(0, 82vw);
        gap: 12px;
        min-width: auto;
        justify-content: start;
    }

    .profile-gallery__track[data-layout="showcase"] {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .profile-gallery__grid {
        gap: 12px;
    }

    .profile-gallery__track[data-count="1"] {
        grid-template-columns: minmax(0, 1fr);
    }

    .profile-gallery__track[data-count="2"] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .profile-gallery__item {
        border-radius: 0;
        height: 280px;
        max-height: 280px;
    }

    .profile-gallery__item--showcase-grid,
    .profile-gallery__item--more {
        height: 132px;
        max-height: 132px;
    }

    .profile-gallery__track[data-count="1"] .profile-gallery__item {
        height: 280px;
        max-height: 280px;
    }

    .profile-gallery__nav {
        width: 40px;
        height: 40px;
    }

    .service-card,
    .product-card {
        padding: 14px 14px;
    }

    .profile-service-selection-bar,
    .auth-form__row--split,
    .booking-form__row--split {
        grid-template-columns: 1fr;
    }

    .booking-form__waitlist .booking-form__row--split {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .profile-portfolio {
        grid-template-columns: 1fr;
    }

    .map {
        min-height: 340px;
    }

    .table-booking-card {
        padding: 20px;
    }

    .table-booking__slots {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
    }
}

.booking-intake {
    width: 100%;
    padding: 20px;
    border-radius: 16px;
    border: 1px solid rgba(18, 31, 56, 0.08);
    background: #fff;
    box-shadow: 0 12px 28px rgba(17, 27, 45, 0.06);
    margin-bottom: 16px;
}

.booking-intake--block {
    background: linear-gradient(135deg, rgba(244, 63, 94, 0.06), rgba(15, 23, 42, 0.02));
}

.booking-intake__kicker {
    margin: 0 0 6px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--text-soft);
}

.booking-intake h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: var(--text);
}

.booking-intake p {
    margin: 8px 0 0;
    font-size: 14px;
    color: var(--text-soft);
}

.booking-intake__options {
    display: grid;
    gap: 8px;
    margin-top: 16px;
}

.booking-intake__option,
.booking-intake__back,
.booking-intake__reset {
    width: 100%;
    border: 1px solid rgba(18, 31, 56, 0.12);
    background: #f8fafc;
    color: var(--text);
    border-radius: 12px;
    padding: 12px 14px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    text-align: left;
}

.booking-intake__option:hover,
.booking-intake__back:hover,
.booking-intake__reset:hover {
    border-color: #0d9488;
    background: rgba(13, 148, 136, 0.08);
}

.booking-intake__back,
.booking-intake__reset {
    margin-top: 10px;
    background: transparent;
    font-weight: 500;
}

/* Tisch-Buchung Karte */
.table-booking-card {
    width: 100%;
    padding: 20px;
    border-radius: 16px;
    border: 1px solid rgba(18, 31, 56, 0.08);
    background: linear-gradient(135deg, rgba(20, 184, 166, 0.08), rgba(59, 130, 246, 0.06));
    box-shadow: 0 12px 28px rgba(17, 27, 45, 0.06);
}

.table-booking-card__header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
}

.table-booking-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(20, 184, 166, 0.15), rgba(59, 130, 246, 0.12));
    color: #0d9488;
    font-size: 20px;
}

.table-booking-card__header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: var(--text);
}

.table-booking-card__header p {
    margin: 4px 0 0;
    font-size: 14px;
    color: var(--text-soft);
}

.table-booking-card__button {
    width: 100%;
}

/* Tisch-Buchungs-Slots */
.table-booking__slots {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 8px 0;
}

.table-booking__slot-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 72px;
    min-height: 40px;
    padding: 0 14px;
    border-radius: 10px;
    border: 1px solid rgba(18, 31, 56, 0.12);
    background: #ffffff;
    color: var(--text);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, color 180ms ease;
}

.table-booking__slot-chip:hover {
    transform: translateY(-1px);
    border-color: rgba(20, 184, 166, 0.4);
    background: rgba(20, 184, 166, 0.06);
}

.table-booking__slot-chip--selected {
    border-color: transparent;
    background: linear-gradient(135deg, #14b8a6, #0d9488);
    color: #ffffff;
    box-shadow: 0 6px 16px rgba(20, 184, 166, 0.3);
}

.table-booking__slot-chip--selected:hover {
    background: linear-gradient(135deg, #0d9488, #0f766e);
}

.table-booking__slot-shimmer {
    min-width: 72px;
    min-height: 40px;
    border-radius: 10px;
}

/* Chat Panel */
.chat-panel {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 340px;
  height: 480px;
  max-height: calc(100vh - 180px);
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
  z-index: 1001;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.chat-panel__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 14px 16px;
  background: #315965;
  color: #fff;
}
.chat-panel__header-info {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex: 1;
}
.chat-panel__avatar {
  width: 36px;
  height: 36px;
  min-width: 36px;
  min-height: 36px;
  max-width: 36px;
  max-height: 36px;
  flex: 0 0 36px;
  border-radius: 12px;
  background: rgba(255,255,255,0.2);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
  overflow: hidden;
}
.chat-panel__name {
  min-width: 0;
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 700;
}
.chat-panel__subtitle {
  display: block;
  font-size: 12px;
  opacity: 0.8;
}
.chat-panel__close {
  background: rgba(255,255,255,0.15);
  border: none;
  color: #fff;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  border-radius: 50%;
  cursor: pointer;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.chat-panel__messages {
  flex: 1;
  overflow-y: auto;
  padding: 12px;
  /* Füllt die feste Panelhöhe aus (keine feste Maximalhöhe mehr). */
  min-height: 0;
  background: #f8f9fa;
}
.chat-panel__empty {
  text-align: center;
  padding: 40px 16px;
  color: #94a3b8;
}
.chat-panel__empty i { font-size: 32px; margin-bottom: 8px; display: block; }
.chat-panel__empty p { font-size: 14px; margin: 0; }
.chat-day-divider {
  display: flex;
  justify-content: center;
  margin: 12px 0 10px;
}
.chat-day-divider span {
  font-size: 12px;
  font-weight: 600;
  color: #64748b;
  background: #e2e8f0;
  border-radius: 999px;
  padding: 4px 10px;
}
.chat-msg {
  margin-bottom: 8px;
  display: flex;
}
.chat-msg--me { justify-content: flex-end; }
/* Der Wrapper ist das Flex-Element. Die Breitenbegrenzung muss hier stehen,
   damit die Prozentangabe gegen die definite Breite der Zeile aufgeloest wird.
   Stand sie auf der Blase, wurde sie gegen die inhaltsbreite des Wrappers
   gerechnet und der Text brach mitten im Wort um (z.B. "ha" / "llo"). */
.chat-msg > div {
  max-width: 80%;
  min-width: 0;
}
.chat-msg__bubble {
  padding: 10px 14px;
  border-radius: 18px;
  font-size: 14px;
  line-height: 1.4;
  /* Bricht nur, wenn ein Wort wirklich nicht in die Zeile passt
     (z.B. lange Links), normale Woerter bleiben zusammen. */
  overflow-wrap: break-word;
}
.chat-msg--me .chat-msg__bubble {
  background: linear-gradient(135deg, #0d9488, #0f766e);
  color: #fff;
  border-bottom-right-radius: 4px;
}
.chat-msg--other .chat-msg__bubble {
  background: #fff;
  color: #1e293b;
  border-bottom-left-radius: 4px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}
.chat-msg__time {
  font-size: 10px;
  margin-top: 3px;
  text-align: right;
  color: #94a3b8;
}
.chat-msg--me .chat-msg__time { color: #64748b; }
.chat-panel__input {
  display: flex;
  gap: 8px;
  padding: 10px 12px;
  border-top: 1px solid #e2e8f0;
  background: #fff;
}
.chat-panel__input input {
  flex: 1;
  border: 1px solid #e2e8f0;
  border-radius: 24px;
  padding: 8px 16px;
  font-size: 14px;
  outline: none;
}
.chat-panel__input input:focus { border-color: #315965; }
.chat-panel__send {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #315965;
  border: none;
  color: #fff;
  cursor: pointer;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.chat-panel__send:hover { background: #274853; }

.chat-panel__body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
}

#chat-dock #chat-panel,
#chat-dock #chat-panel-detail-view:not([hidden]),
#chat-dock .chat-page__thread {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  height: 100%;
}

#chat-dock .chat-page__thread {
  border: 0;
  border-radius: 0;
  box-shadow: none;
  min-height: 0;
}

#chat-dock .chat-page__messages {
  flex: 1 1 auto;
  min-height: 0;
  max-height: none;
}

#chat-dock #chat-panel-list-view,
#chat-dock #chat-archive-toggle {
  display: none !important;
}

#chat-dock .chat-hub-menu-btn {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  margin-left: 0;
}

#chat-dock .chat-hub-menu-btn:hover {
  background: rgba(255, 255, 255, 0.3);
}

#chat-dock .chat-msg--me .chat-msg__bubble {
  background: #315965;
}

body:has(#profile-service-selection-bar:not([hidden])) #chat-dock {
  bottom: 120px;
}

/* Chat-Panel: Umschalten zwischen Übersicht und Einzel-Chat */
.chat-panel__view {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  overflow: hidden;
}
.chat-panel__avatar--icon { font-size: 15px; }
.chat-panel__back {
  background: rgba(255,255,255,0.15);
  border: none;
  color: #fff;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.chat-panel__back:hover { background: rgba(255,255,255,0.3); }
.chat-panel__close:hover { background: rgba(255,255,255,0.3); }
.chat-panel__trash {
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px 8px;
  color: #fff;
  opacity: 0.75;
  font-size: 14px;
  border-radius: 6px;
}
.chat-panel__trash:hover { opacity: 1; background: rgba(255,255,255,0.15); }

/* Nachrichtenübersicht */
.chat-panel__messages--list { padding: 0; background: #fff; min-height: 0; max-height: none; }
.chat-list-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  cursor: pointer;
  border-bottom: 1px solid #eef2f7;
  background: #fff;
  transition: background 0.15s;
}
.chat-list-item:last-child { border-bottom: none; }
.chat-list-item:hover { background: #f8fafc; }
.chat-list-item--unread { background: #f0fdfa; }
.chat-list-item--unread:hover { background: #ccfbf1; }
.chat-list-item__avatar {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background-color: rgba(13,148,136,0.15);
  color: #0d9488;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 15px;
  flex-shrink: 0;
  background-size: cover;
  background-position: center;
}
.chat-list-item__body { flex: 1; min-width: 0; }
.chat-list-item__top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}
.chat-list-item__name {
  font-weight: 600;
  font-size: 14px;
  color: #1e293b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.chat-list-item__time {
  font-size: 11px;
  color: #94a3b8;
  flex-shrink: 0;
}
.chat-list-item__preview {
  font-size: 13px;
  color: #64748b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 2px;
}
.chat-list-item__preview--leer { color: #a8b3c2; font-style: italic; }
.chat-list-item--unread .chat-list-item__preview { color: #0f766e; font-weight: 600; }
.chat-list-item__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #0d9488;
  flex-shrink: 0;
}
.chat-list-menu-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px 8px;
  color: #94a3b8;
  font-size: 16px;
  flex-shrink: 0;
  border-radius: 6px;
  line-height: 1;
}
.chat-list-menu-btn:hover { color: #315965; background: #ecfeff; }

/* Leerer Zustand in der Übersicht vertikal zentrieren */
.chat-panel__messages--list .chat-panel__empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 24px 16px;
}

@media (max-width: 720px) {
  .chat-panel {
    left: 12px;
    right: 12px;
    top: 12px;
    bottom: 84px;
    width: auto;
    height: auto;
    max-height: none;
  }

  .chat-page__messages {
    max-height: calc(100dvh - 420px);
  }
}

.booking-form__waitlist {
    display: grid;
    gap: 12px;
    padding: 16px;
    border: 1px solid #E5E7EB;
    border-radius: 16px;
    background: #F8FAFC;
}
.booking-form__waitlist[hidden] {
    display: none;
}
.booking-form__waitlist-title {
    margin: 0;
    font-size: 15px;
    font-weight: 800;
    color: var(--text-strong, #1a2030);
    text-align: left;
}
.booking-form__waitlist-window-label {
    margin: 4px 0 0;
    font-size: 12px;
    font-weight: 700;
    color: #334155;
}
.booking-page .booking-form__waitlist-row {
    display: flex;
    flex-wrap: wrap;
    align-items: end;
    gap: 10px;
}
.booking-page .booking-form__field--time {
    width: auto;
    flex: 0 0 auto;
    gap: 6px;
}
.booking-page .booking-form__field--time input[type="time"] {
    width: 7.8rem;
    min-width: 0;
    height: 42px;
    padding: 0 8px;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    background: #fff;
    font: inherit;
    color: #1a2030;
}
.booking-page .booking-form__waitlist-cta,
.booking-page .booking-form__waitlist-remove {
    width: auto;
    min-width: 0;
    height: 42px;
    min-height: 42px;
    padding: 0 16px;
    flex: 0 0 auto;
}
.booking-page .booking-form__waitlist-cta:disabled {
    opacity: 0.42;
    cursor: not-allowed;
    background: #315965;
    color: #ffffff;
}
.booking-dialog .booking-form__waitlist-cta,
.booking-form__waitlist-cta {
    width: 100%;
    min-height: 46px;
    border-radius: 999px;
    border: 0;
    background: #315965;
    color: #ffffff;
    font-weight: 800;
}
.booking-dialog .booking-form__waitlist-cta:hover,
.booking-dialog .booking-form__waitlist-cta:focus-visible,
.booking-form__waitlist-cta:hover,
.booking-form__waitlist-cta:focus-visible {
    background: #274852;
    color: #ffffff;
}
.booking-dialog .booking-form__waitlist-remove,
.booking-form__waitlist-remove {
    width: 100%;
    min-height: 42px;
    border-radius: 999px;
    border: 1.5px solid rgba(49, 89, 101, 0.28);
    background: #ffffff;
    color: #315965;
    font-weight: 700;
}
.booking-form__hint {
    margin: 0;
    font-size: 0.8rem;
    color: #64748b;
}
.booking-form__field .booking-form__hint {
    margin-top: 6px;
}

.booking-page {
    width: 100%;
    max-width: 1180px;
    padding: 0 0 48px;
    color: #1a2030;
}
.booking-page[hidden] {
    display: none !important;
}
.booking-page__back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 10px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #315965;
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
}
.booking-page__kicker {
    margin: 0;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #315965;
}
.booking-page h1 {
    margin: 4px 0 6px;
    font-size: 28px;
    letter-spacing: -0.03em;
    color: #111827;
}
.booking-page__lead {
    margin: 0 0 18px;
    color: #5a6478;
    font-size: 14px;
}
.booking-page__status {
    margin: 0 0 16px;
    padding: 10px 14px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    background: #F8FAFC;
    color: #334155;
}
.booking-page__status[data-state="error"] {
    background: #FEF2F2;
    color: #B91C1C;
}
.booking-page__status[data-state="success"] {
    background: #ECFDF5;
    color: #047857;
}
.booking-page__status[data-state="loading"] {
    background: #F0FDFA;
    color: #315965;
}
.booking-page__split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 28px;
    align-items: start;
}
.booking-page__block {
    margin: 0 0 22px;
}
.booking-page__label {
    display: block;
    margin: 0 0 8px;
    font-size: 12px;
    font-weight: 800;
    color: #334155;
}
.booking-page__staff {
    width: min(280px, 100%);
    height: 42px;
    padding: 0 36px 0 12px;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    background: #fff url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8'><path d='M1 1l5 5 5-5' fill='none' stroke='%23315965' stroke-width='1.6'/></svg>") no-repeat right 12px center;
    appearance: none;
    font: 700 13px Inter, Arial, Helvetica, sans-serif;
    color: #315965;
}
.booking-page__days-wrap {
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr) 36px;
    gap: 8px;
    align-items: center;
    width: 100%;
}
.booking-page__nav {
    width: 36px;
    height: 36px;
    border-radius: 999px;
    border: 1px solid #E5E7EB;
    background: #fff;
    color: #315965;
    cursor: pointer;
}
.booking-page__days {
    display: flex;
    gap: 8px;
    overflow: hidden;
    padding: 2px 0;
    min-width: 0;
}
.booking-page__day {
    flex: 0 0 64px;
    height: 72px;
    border: 1px solid #E5E7EB;
    background: #fff;
    border-radius: 14px;
    display: grid;
    place-items: center;
    align-content: center;
    color: #5a6478;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
}
.booking-page__day b {
    display: block;
    font-size: 18px;
    color: #1a2030;
    margin-top: 2px;
}
.booking-page__day small {
    display: block;
    font-size: 10px;
    font-weight: 600;
    color: #94A3B8;
    margin-top: 1px;
}
.booking-page__day.is-active {
    border-color: #315965;
    background: rgba(49, 89, 101, 0.08);
    color: #315965;
}
.booking-page__day.is-active b {
    color: #315965;
}
.booking-page__day.is-closed {
    opacity: 0.38;
}
.booking-page__slots {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
}
.booking-page__slot {
    height: 42px;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    background: #fff;
    font-weight: 700;
    font-size: 14px;
    color: #1a2030;
    cursor: pointer;
}
.booking-page__slot.is-active {
    background: #315965;
    color: #fff;
    border-color: #315965;
}
.booking-page__empty-day {
    margin: 0;
    font-size: 14px;
    color: #5a6478;
    line-height: 1.45;
}
.booking-page__wait-link-wrap {
    margin: 0 0 18px;
}
.booking-page__wait-link {
    border: 0;
    background: transparent;
    color: #315965;
    font-weight: 800;
    font-size: 13px;
    padding: 0;
    cursor: pointer;
    text-align: left;
}
.booking-page textarea {
    width: 100%;
    min-height: 72px;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    padding: 10px 12px;
    font: inherit;
    color: #1a2030;
    resize: vertical;
}
.booking-page__cart {
    border: 1px solid #E5E7EB;
    border-radius: 16px;
    background: #fff;
    overflow: hidden;
    position: sticky;
    top: 8px;
}
.booking-page__cart h3 {
    margin: 0;
    padding: 14px 16px 10px;
    font-size: 14px;
}
.booking-page__cart-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 10px;
    align-items: center;
    padding: 12px 16px;
    border-top: 1px solid #F1F5F9;
}
.booking-page__cart-row b {
    display: block;
    font-size: 13px;
}
.booking-page__cart-row small {
    display: block;
    color: #5a6478;
    font-size: 12px;
    margin-top: 2px;
}
.booking-page__price {
    font-size: 13px;
    font-weight: 800;
    color: #315965;
    white-space: nowrap;
}
.booking-page__remove {
    width: 28px;
    height: 28px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: #94A3B8;
    cursor: pointer;
}
.booking-page__add {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border: 0;
    border-top: 1px dashed rgba(49, 89, 101, 0.28);
    background: #fff;
    color: #315965;
    font-weight: 800;
    font-size: 13px;
    cursor: pointer;
    text-align: left;
}
.booking-page__plus {
    width: 28px;
    height: 28px;
    border-radius: 999px;
    background: #315965;
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 14px;
    flex: 0 0 auto;
}
.booking-page__sum {
    padding: 14px 16px;
    border-top: 1px solid #E5E7EB;
    background: #F8FAFC;
}
.booking-page__sum p {
    margin: 0 0 10px;
    font-size: 13px;
    color: #5a6478;
}
.booking-page__sum strong {
    color: #1a2030;
}
.booking-page__go {
    width: 100%;
    height: 44px;
    border: 0;
    border-radius: 999px;
    background: #059669;
    color: #fff;
    font-weight: 800;
    cursor: pointer;
}
.booking-page__go.is-waitlist {
    background: #315965;
}
.booking-pick {
    position: fixed;
    inset: 0;
    z-index: 80;
    display: flex;
    align-items: start;
    justify-content: center;
    padding: 72px 24px 24px;
}
.booking-pick[hidden] {
    display: none !important;
}
.booking-pick__backdrop {
    position: absolute;
    inset: 0;
    border: 0;
    background: rgba(15, 23, 42, 0.42);
    cursor: pointer;
}
.booking-pick__dialog {
    position: relative;
    width: min(560px, 100%);
    max-height: min(80vh, 720px);
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 28px 80px rgba(8, 14, 28, 0.32);
}
.booking-pick__head {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #315965;
    color: #fff;
    padding: 16px 16px 16px 24px;
    flex: 0 0 auto;
}
.booking-pick__head h3 {
    flex: 1;
    min-width: 0;
    margin: 0;
    font-size: 1.25rem;
    line-height: 1.3;
    font-weight: 800;
}
.booking-pick__dialog > .dialog-lead {
    margin: 16px 24px 0;
}
.booking-pick__body {
    overflow: auto;
    padding: 12px 0 20px;
    background: #fff;
}
.booking-pick__body .service-catalog {
    margin: 0 16px;
}

@media (max-width: 900px) {
    .booking-page__split {
        grid-template-columns: 1fr;
    }
    .booking-page__slots {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .booking-page__cart {
        position: static;
    }
    .booking-page h1 {
        font-size: 24px;
    }
}
.table-booking__empty,
.table-booking__loading {
    padding: 16px;
    color: var(--text-soft);
    font-size: 14px;
    text-align: center;
    border-radius: 10px;
    background: rgba(49, 89, 101, 0.04);
}

.wallet-card {
    display: grid;
    gap: 8px;
    min-height: 128px;
    padding: 20px 22px;
    border-radius: 16px;
    background: linear-gradient(135deg, #315965 0%, #1a3a42 100%);
    color: #ffffff;
    box-shadow: 0 12px 28px rgba(19, 39, 44, 0.22);
}

.wallet-card h3,
.wallet-card p,
.wallet-card a,
.wallet-card .business-name-link {
    color: #ffffff;
}

.wallet-card p,
.wallet-card .service-card__duration {
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 13px;
}

.wallet-card .loyalty-history {
    color: rgba(255, 255, 255, 0.72);
}

.account-page__links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 8px 0 0;
}

.account-page__links button {
    margin: 0;
    padding: 0;
    border: 0;
    background: none;
    color: #315965;
    font: inherit;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 2px;
    cursor: pointer;
}

.results.is-compact #header-what-field {
    display: none !important;
}

.profile-hero__actions .detail-card__action {
    background: #315965;
    color: #ffffff;
    border: 0;
    border-radius: 999px;
    padding: 8px 16px;
    font-weight: 600;
}

.profile-hero__actions .detail-card__action--primary {
    background: #059669;
}

.gesuche-bar,
.gesuch-form,
.gesuch-detail,
.gesuch-card,
.gesuch-offer {
    background: #fff;
    border: 1px solid #d1d5db;
    border-radius: 14px;
}

.gesuche-bar,
.gesuch-form,
.gesuch-detail,
.gesuch-offer {
    padding: 16px;
}

.gesuche-bar {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
}

.gesuche-bar p,
.gesuch-form__hint,
.gesuch-form fieldset p,
.gesuch-card small,
.gesuch-offer small {
    margin: 0;
    color: #64748b;
    font-size: 13px;
}

.gesuche-list {
    display: grid;
    gap: 10px;
}

.gesuch-card {
    display: grid;
    gap: 4px;
    width: 100%;
    padding: 14px 16px;
    text-align: left;
    cursor: pointer;
}

.gesuch-card strong,
.gesuch-detail h2,
.gesuch-offer strong {
    color: #13272c;
}

.gesuch-card__status {
    color: #315965;
    font-size: 12px;
    font-weight: 700;
}

.gesuch-form,
.gesuch-detail {
    display: grid;
    gap: 12px;
}

.gesuch-form label,
.gesuch-detail fieldset {
    display: grid;
    gap: 6px;
    font-size: 13px;
    font-weight: 650;
    color: #334155;
}

.gesuch-form input,
.gesuch-form select,
.gesuch-form textarea {
    width: 100%;
    border: 1px solid #d1d5db;
    border-radius: 12px;
    padding: 10px 12px;
    font: inherit;
    font-weight: 500;
    color: #13272c;
    background: #fff;
}

.gesuch-form textarea {
    min-height: 120px;
    resize: vertical;
}

.gesuch-form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.gesuch-check {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
}

.gesuch-check input {
    width: auto;
}

.gesuch-form fieldset {
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 12px;
}

.gesuch-detail fieldset {
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 12px;
}

.gesuch-offer {
    display: grid;
    gap: 6px;
}

.gesuch-offer p {
    margin: 0;
    white-space: pre-wrap;
}

.markt-tabs {
    display: flex;
    gap: 8px;
    margin: 0 0 16px;
}

.markt-tabs__button {
    border: 1px solid #d1d5db;
    background: #fff;
    color: #334155;
    border-radius: 999px;
    padding: 8px 14px;
    font-weight: 700;
    font-size: 14px;
}

.markt-tabs__button.is-on {
    background: #315965;
    border-color: #315965;
    color: #fff;
}

@media (max-width: 720px) {
    .gesuche-bar,
    .gesuch-form__row {
        grid-template-columns: 1fr;
        display: grid;
    }
}

/* ---------- Startseite (Ansicht "home") ---------- */
.home-hero-copy,
.home-quick,
.home-start {
    display: none;
}

.results.is-compact.is-home {
    display: block;
    height: 100vh;
    height: 100dvh;
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
}

.results.is-compact.is-home .results__search {
    position: relative;
    overflow: hidden;
    padding: 18px 0 64px;
    border-bottom: 0;
    border-radius: 0 0 34px 34px;
    background: linear-gradient(160deg, #315965 0%, #264850 100%);
}

.results.is-home .results__search::before,
.results.is-home .results__search::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.results.is-home .results__search::before {
    width: 380px;
    height: 380px;
    left: -120px;
    top: -170px;
    background: rgba(57, 166, 172, 0.16);
}

.results.is-home .results__search::after {
    width: 300px;
    height: 300px;
    right: -80px;
    bottom: -150px;
    background: rgba(5, 150, 105, 0.14);
}

.results.is-compact.is-home .header-bar {
    position: relative;
    z-index: 1;
    grid-template-columns: auto minmax(0, 1fr) auto;
    row-gap: 0;
}

.results.is-compact.is-home .brand {
    grid-column: 1;
    grid-row: 1;
}

.results.is-compact.is-home .discover-toolbar {
    grid-column: 3;
    grid-row: 1;
}

.results.is-home .home-hero-copy {
    display: block;
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
    max-width: 760px;
    margin: 0 auto;
    padding: 40px 0 26px;
    text-align: center;
}

.home-hero-copy h1 {
    margin: 0 0 12px;
    color: #ffffff;
    font-size: clamp(30px, 4.4vw, 46px);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -0.02em;
}

.home-hero-copy p {
    margin: 0 auto;
    max-width: 580px;
    color: #d6e6ea;
    font-size: clamp(15px, 1.6vw, 18px);
    line-height: 1.5;
}

.results.is-compact.is-home .search-bar {
    grid-column: 1 / -1;
    grid-row: 3;
    width: 100%;
    max-width: 880px;
    margin: 0 auto;
    padding: 6px;
    border: 0;
    border-radius: 16px;
    box-shadow: 0 14px 34px rgba(8, 28, 34, 0.28);
}

.results.is-compact.is-home .search-bar__field,
.results.is-compact.is-home .search-bar__select {
    min-height: 52px;
}

.results.is-compact.is-home .search-bar__submit {
    min-height: 50px;
    padding-left: 28px;
    padding-right: 28px;
}

.results.is-compact.is-home .search-suggestions {
    grid-column: 1 / -1;
    grid-row: 4;
    width: 100%;
    max-width: 880px;
    margin: 10px auto 0;
}

.results.is-home .home-quick {
    display: flex;
    grid-column: 1 / -1;
    grid-row: 5;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 18px;
    color: #cfe0e4;
    font-size: 13.5px;
}

.home-quick__chip {
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    color: #ffffff;
    font: inherit;
    font-weight: 600;
    padding: 6px 13px;
    cursor: pointer;
}

.home-quick__chip:hover,
.home-quick__chip:focus-visible {
    background: rgba(255, 255, 255, 0.26);
}

.results.is-compact.is-home .results__shell {
    flex: none;
    min-height: 0;
    overflow: visible;
    justify-items: stretch;
    padding-top: 0;
    padding-bottom: 0;
}

.results.is-home .home-start {
    display: block;
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 38px 0 4px;
}

.home-block {
    margin-bottom: 36px;
}

.home-block h2 {
    margin: 0 0 4px;
    color: var(--text);
    font-size: clamp(20px, 2.4vw, 26px);
    letter-spacing: -0.01em;
}

.home-block__lead {
    margin: 0 0 18px;
    color: var(--text-soft);
    font-size: 15px;
}

.home-tiles {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
}

.home-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: 18px 12px 16px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(17, 27, 45, 0.04);
    color: var(--text);
    font: inherit;
    text-align: center;
    cursor: pointer;
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.home-tile:hover,
.home-tile:focus-visible {
    transform: translateY(-2px);
    border-color: rgba(57, 166, 172, 0.45);
    box-shadow: 0 10px 26px rgba(17, 27, 45, 0.1);
}

.home-tile strong {
    font-size: 14.5px;
    font-weight: 700;
}

.home-tile small {
    color: var(--text-soft);
    font-size: 12.5px;
    line-height: 1.35;
}

.home-tile__icon {
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    margin-bottom: 8px;
    border-radius: 16px;
    color: #ffffff;
    font-size: 22px;
}

.home-tile__icon--1 { background: linear-gradient(135deg, #c0617f, #8f3f5f); }
.home-tile__icon--2 { background: linear-gradient(135deg, #3f8f6a, #27664a); }
.home-tile__icon--3 { background: linear-gradient(135deg, #6a5a9a, #4a3d7a); }
.home-tile__icon--4 { background: linear-gradient(135deg, #39a6ac, #2e7f86); }
.home-tile__icon--5 { background: linear-gradient(135deg, #d98a3d, #b06a22); }
.home-tile__icon--6 { background: linear-gradient(135deg, #3a7ab5, #2a5a8c); }
.home-tile__icon--7 { background: linear-gradient(135deg, #8a6a4a, #664a30); }
.home-tile__icon--8 { background: linear-gradient(135deg, #5a6478, #3d4658); }
.home-tile__icon--9 { background: linear-gradient(135deg, #c06a5a, #964a3c); }

.home-more {
    display: block;
    margin: 18px auto 0;
    padding: 9px 18px;
    border: 1.5px solid var(--border);
    border-radius: 999px;
    background: transparent;
    color: var(--petrol);
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.home-more:hover {
    background: rgba(49, 89, 101, 0.06);
}

.home-more[hidden] {
    display: none;
}

.home-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.home-steps li {
    padding: 20px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: #ffffff;
}

.home-steps__n {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    margin-bottom: 12px;
    border-radius: 50%;
    background: var(--petrol);
    color: #ffffff;
    font-size: 14px;
    font-weight: 800;
}

.home-steps strong {
    display: block;
    margin-bottom: 4px;
    font-size: 16px;
}

.home-steps p {
    margin: 0;
    color: var(--text-soft);
    font-size: 14px;
    line-height: 1.5;
}

.home-app {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 8px;
    padding: 26px 30px;
    border-radius: 20px;
    background: linear-gradient(135deg, #315965, #264850);
    color: #ffffff;
}

.home-app h2 {
    margin: 0 0 4px;
    color: #ffffff;
    font-size: 20px;
}

.home-app p {
    margin: 0;
    color: #cfe0e4;
    font-size: 14.5px;
}

.home-app__stores {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.home-app__stores a {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 9px 16px;
    border: 1.5px solid rgba(255, 255, 255, 0.55);
    border-radius: 12px;
    color: #ffffff;
    font-size: 14.5px;
    font-weight: 700;
    text-decoration: none;
}

.home-app__stores a:hover,
.home-app__stores a:focus-visible {
    background: rgba(255, 255, 255, 0.14);
}

.home-app__stores i {
    font-size: 20px;
}

@media (max-width: 1000px) {
    .home-tiles {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .home-steps {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .results.is-compact.is-home .results__search {
        padding-bottom: 40px;
        border-radius: 0 0 26px 26px;
    }

    .results.is-home .home-hero-copy {
        padding: 28px 0 20px;
    }

    .results.is-compact.is-home .search-bar {
        flex-wrap: wrap;
        width: 100%;
        max-width: 100%;
        justify-self: stretch;
    }

    .results.is-compact.is-home #header-where-field,
    .results.is-compact.is-home #search-category-group,
    .results.is-compact.is-home #search-subcategory-group {
        flex: 1 1 100%;
        border-left: 0;
    }

    .results.is-compact.is-home #search-category-group,
    .results.is-compact.is-home #search-subcategory-group {
        border-top: 1px solid rgba(18, 31, 56, 0.08);
    }

    .results.is-compact.is-home .search-bar__submit {
        flex: 1 1 100%;
        width: 100%;
        margin: 6px 0 0;
    }

    .home-tiles {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .home-tile {
        padding: 14px 10px;
    }

    .home-tile small {
        display: none;
    }

    .home-app {
        padding: 20px;
    }
}

/* Ziehen zum Aktualisieren auf der Startseite */
.pull-refresh {
    position: fixed;
    top: -44px;
    left: calc(50% - 20px);
    z-index: 3500;
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 999px;
    background: #ffffff;
    color: #94a3b8;
    box-shadow: 0 4px 16px rgba(10, 16, 32, 0.22);
    opacity: 0;
    pointer-events: none;
}

.pull-refresh.is-ready,
.pull-refresh.is-loading {
    color: #315965;
}

.pull-refresh.is-loading i {
    animation: pull-refresh-spin 0.8s linear infinite;
}

@keyframes pull-refresh-spin {
    to { transform: rotate(360deg); }
}

/* Meldungen: eine Farbwelt wie in den Apps. Helle Box, dunkle Schrift,
   die Farbe steckt nur im runden Zeichen. */
.auth-dialog__status[data-state="error"],
.auth-dialog__status[data-state="success"],
.booking-dialog__status[data-state="error"],
.booking-dialog__status[data-state="success"],
.booking-page__status[data-state="error"],
.booking-page__status[data-state="success"],
.providers__status[data-state="error"] {
    position: relative;
    min-height: 48px;
    padding: 13px 14px 13px 48px;
    border-radius: 13px;
    background: #EEF2F4;
    color: #0F172A;
    font-weight: 700;
}

.auth-dialog__status[data-state="error"]::before,
.auth-dialog__status[data-state="success"]::before,
.booking-dialog__status[data-state="error"]::before,
.booking-dialog__status[data-state="success"]::before,
.booking-page__status[data-state="error"]::before,
.booking-page__status[data-state="success"]::before,
.providers__status[data-state="error"]::before {
    content: "!";
    position: absolute;
    top: 12px;
    left: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #EF4444;
    color: #fff;
    font-size: 14px;
    font-weight: 900;
    line-height: 1;
}

.auth-dialog__status[data-state="success"]::before,
.booking-dialog__status[data-state="success"]::before,
.booking-page__status[data-state="success"]::before {
    content: "✓";
    background: #10B981;
}

.auth-dialog__status[hidden],
.booking-dialog__status[hidden],
.booking-page__status[hidden],
.providers__status[hidden] {
    display: none;
}

.account-page__status:not(:empty) {
    padding: 12px 14px;
    border-radius: 13px;
    background: #EEF2F4;
    color: #0F172A;
    font-weight: 700;
}
