:root {
    --page-bg: #0b0c0b;
    --surface: #121411;
    --surface-raised: #181b17;
    --surface-soft: #20231e;
    --line: rgba(244, 238, 220, 0.12);
    --line-strong: rgba(224, 178, 82, 0.42);
    --text: #f5f1e8;
    --muted: #a5a89f;
    --gold: #dfb057;
    --gold-light: #f1cc7c;
    --olive: #899879;
    --burgundy: #7f4349;
    --danger: #ef8e8e;
    --success: #b9d5a9;
    --header-height: 66px;
    --content-width: 1120px;
    color-scheme: dark;
    font-family: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-height) + 18px);
}

body.customer-booking {
    min-height: 100vh;
    margin: 0;
    overflow-x: hidden;
    background:
        linear-gradient(118deg, rgba(127, 67, 73, 0.08), transparent 32%),
        linear-gradient(180deg, #090a09 0%, #10120f 48%, #0b0c0b 100%);
    color: var(--text);
    padding-bottom: calc(104px + env(safe-area-inset-bottom));
    -webkit-font-smoothing: antialiased;
}

body.customer-booking::before {
    position: fixed;
    z-index: -1;
    inset: 0;
    opacity: 0.22;
    background-image:
        repeating-linear-gradient(90deg, transparent 0, transparent 31px, rgba(255, 255, 255, 0.018) 32px),
        repeating-linear-gradient(0deg, transparent 0, transparent 31px, rgba(255, 255, 255, 0.014) 32px);
    content: "";
    pointer-events: none;
}

button,
input {
    font: inherit;
}

button,
a,
summary,
label[for] {
    -webkit-tap-highlight-color: transparent;
}

button,
summary {
    cursor: pointer;
}

button:focus-visible,
a:focus-visible,
summary:focus-visible,
input:focus-visible {
    outline: 3px solid rgba(241, 204, 124, 0.65);
    outline-offset: 2px;
}

[hidden] {
    display: none !important;
}

.skip-link {
    position: fixed;
    z-index: 200;
    top: 8px;
    left: 8px;
    transform: translateY(-140%);
    border-radius: 6px;
    background: var(--gold-light);
    color: #17140f;
    padding: 10px 14px;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
}

.skip-link:focus {
    transform: translateY(0);
}

.salon-header {
    position: sticky;
    z-index: 80;
    top: 0;
    min-height: var(--header-height);
    border-bottom: 1px solid var(--line);
    background: rgba(9, 10, 9, 0.9);
    backdrop-filter: blur(18px);
}

.salon-header-inner {
    display: grid;
    width: min(100% - 20px, var(--content-width));
    min-height: var(--header-height);
    margin: 0 auto;
    grid-template-columns: 44px minmax(0, 1fr) 44px;
    gap: 10px;
    align-items: center;
}

.header-icon-button,
.flow-icon-button {
    display: grid;
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.035);
    color: var(--text);
    padding: 0;
    text-decoration: none;
}

.header-icon-button:hover,
.flow-icon-button:hover:not(:disabled) {
    border-color: var(--line-strong);
    background: rgba(223, 176, 87, 0.1);
}

.header-icon-button > span,
.flow-icon-button > span {
    font-size: 21px;
    line-height: 1;
}

.header-business {
    min-width: 0;
    text-align: center;
}

.header-business span {
    display: block;
    color: var(--gold);
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
}

.header-business strong {
    display: block;
    overflow: hidden;
    color: #fff;
    font-size: 15px;
    line-height: 1.35;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.header-menu {
    position: relative;
}

.header-menu > summary {
    list-style: none;
}

.header-menu > summary::-webkit-details-marker {
    display: none;
}

.header-menu > summary > span,
.header-menu > summary > span::before,
.header-menu > summary > span::after {
    display: block;
    width: 17px;
    height: 1px;
    background: var(--text);
    content: "";
    transition: transform 160ms ease;
}

.header-menu > summary > span::before {
    transform: translateY(-5px);
}

.header-menu > summary > span::after {
    transform: translateY(4px);
}

.header-menu[open] > summary > span {
    background: transparent;
}

.header-menu[open] > summary > span::before {
    transform: translateY(1px) rotate(45deg);
}

.header-menu[open] > summary > span::after {
    transform: rotate(-45deg);
}

.header-menu nav {
    position: absolute;
    top: calc(100% + 9px);
    right: 0;
    display: grid;
    width: 210px;
    gap: 2px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #151713;
    padding: 8px;
    box-shadow: 0 22px 55px rgba(0, 0, 0, 0.46);
}

.header-menu nav a {
    min-height: 44px;
    border-radius: 5px;
    color: var(--muted);
    padding: 12px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.header-menu nav a:hover {
    background: rgba(223, 176, 87, 0.1);
    color: #fff;
}

main {
    width: 100%;
}

.salon-profile,
.booking-flow,
.booking-lookup,
.booking-contact {
    width: min(100% - 20px, var(--content-width));
    margin-inline: auto;
}

.salon-profile {
    padding: 28px 0 34px;
}

.salon-intro {
    padding: 6px 8px 22px;
}

.salon-kicker,
.section-eyebrow {
    display: block;
    color: var(--gold);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
}

.salon-intro h1 {
    max-width: 760px;
    margin: 8px 0 9px;
    color: #fff;
    font-size: 34px;
    line-height: 1.08;
    overflow-wrap: anywhere;
}

.salon-intro > p {
    max-width: 650px;
    margin: 0;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.65;
}

.salon-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
}

.salon-meta span {
    display: inline-flex;
    min-height: 34px;
    align-items: center;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.035);
    color: #c9cbc3;
    padding: 7px 11px;
    font-size: 13px;
    font-weight: 700;
}

.salon-meta span:last-child {
    border-color: rgba(137, 152, 121, 0.35);
    color: #c4d4b8;
}

.salon-smart-widget {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: rgba(18, 20, 17, 0.9);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
}

.salon-gallery {
    position: relative;
    overflow: hidden;
    height: 170px;
    background: #161713;
}

.gallery-track {
    display: flex;
    width: 100%;
    height: 100%;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    touch-action: pan-x pan-y;
}

.gallery-track::-webkit-scrollbar {
    display: none;
}

.gallery-slide {
    position: relative;
    width: 100%;
    height: 100%;
    flex: 0 0 100%;
    margin: 0;
    scroll-snap-align: start;
}

.gallery-slide::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(0, 0, 0, 0.48) 100%);
    content: "";
    pointer-events: none;
}

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

.gallery-footer {
    position: absolute;
    z-index: 3;
    right: 14px;
    bottom: 13px;
    left: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    pointer-events: none;
}

.gallery-footer > span {
    border-radius: 5px;
    background: rgba(8, 9, 8, 0.68);
    color: #fff;
    padding: 6px 8px;
    font-size: 11px;
    font-weight: 800;
    backdrop-filter: blur(8px);
}

.gallery-dots {
    display: flex;
    gap: 6px;
    pointer-events: auto;
}

.gallery-dot {
    width: 20px;
    height: 6px;
    min-width: 20px;
    min-height: 6px;
    border: 0;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.38);
    padding: 0;
    transition: width 160ms ease, background 160ms ease;
}

.gallery-dot[aria-current="true"] {
    width: 30px;
    background: var(--gold-light);
}

.gallery-arrow {
    position: absolute;
    z-index: 4;
    top: 50%;
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 6px;
    background: rgba(8, 9, 8, 0.66);
    color: #fff;
    padding: 0;
    transform: translateY(-50%);
    backdrop-filter: blur(8px);
}

.gallery-arrow-previous {
    left: 16px;
}

.gallery-arrow-next {
    right: 16px;
}

.gallery-arrow[hidden],
.gallery-footer[hidden] {
    display: none;
}

.location-notch {
    position: relative;
    display: grid;
    min-height: 92px;
    grid-template-columns: 78px minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    border-top: 1px solid var(--line);
    background: rgba(18, 20, 17, 0.98);
    color: var(--text);
    padding: 10px 12px;
    text-decoration: none;
    transition: background 180ms ease;
}

a.location-notch:hover {
    background: rgba(223, 176, 87, 0.08);
}

.location-map-preview {
    position: relative;
    display: grid;
    width: 78px;
    height: 68px;
    overflow: hidden;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 7px;
    background:
        linear-gradient(135deg, rgba(137, 152, 121, 0.2), rgba(127, 67, 73, 0.12)),
        #1a1d18;
}

.location-map-preview iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
    filter: grayscale(0.72) contrast(1.05) brightness(0.78);
    pointer-events: none;
}

.location-grid {
    position: absolute;
    inset: 0;
    opacity: 0.75;
    background-image:
        linear-gradient(28deg, transparent 46%, rgba(223, 176, 87, 0.35) 47%, rgba(223, 176, 87, 0.35) 52%, transparent 53%),
        linear-gradient(112deg, transparent 35%, rgba(255, 255, 255, 0.12) 36%, rgba(255, 255, 255, 0.12) 39%, transparent 40%);
}

.location-grid::after,
.location-pin {
    display: grid;
    width: 28px;
    height: 28px;
    place-items: center;
    border: 2px solid var(--gold-light);
    border-radius: 50%;
    background: #24271f;
    color: var(--gold-light);
    content: "•";
    font-size: 21px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.28);
}

.location-grid::after {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.location-notch-copy {
    display: grid;
    min-width: 0;
    gap: 4px;
}

.location-notch-copy small,
.location-notch-action small {
    color: var(--gold);
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
}

.location-notch-copy strong {
    display: -webkit-box;
    overflow: hidden;
    color: #fff;
    font-size: 14px;
    line-height: 1.45;
    overflow-wrap: anywhere;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.location-notch-action {
    display: grid;
    min-width: 54px;
    justify-items: end;
    gap: 4px;
}

.location-notch-action strong {
    color: #fff;
    font-size: 20px;
    line-height: 1;
}

.location-notch.is-empty {
    grid-template-columns: 78px minmax(0, 1fr);
}

.location-notch.is-empty .location-notch-copy strong {
    color: var(--muted);
}

.booking-flow {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(18, 20, 17, 0.9);
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.3);
}

.flow-header {
    display: grid;
    min-height: 70px;
    grid-template-columns: 44px minmax(0, 1fr) 44px;
    gap: 12px;
    align-items: center;
    border-bottom: 1px solid var(--line);
    padding: 12px;
}

.flow-icon-button:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.flow-title {
    min-width: 0;
    text-align: center;
}

.flow-title span {
    display: block;
    color: var(--gold);
    font-size: 10px;
    font-weight: 800;
}

.flow-title h2 {
    overflow: hidden;
    margin: 2px 0 0;
    color: #fff;
    font-size: 16px;
    line-height: 1.3;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.flow-progress {
    width: 100%;
    height: 3px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.045);
}

.flow-progress span {
    display: block;
    width: 20%;
    height: 100%;
    background: var(--gold);
    transform-origin: left center;
    transition: width 180ms ease;
}

.flow-content {
    min-height: 430px;
    padding: 22px 18px 30px;
}

.flow-step {
    animation: step-enter 180ms ease both;
}

@keyframes step-enter {
    from {
        opacity: 0;
        transform: translateY(6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.step-copy {
    margin-bottom: 22px;
}

.step-copy h3 {
    margin: 6px 0 8px;
    color: #fff;
    font-size: 25px;
    line-height: 1.2;
}

.step-copy p {
    margin: 0;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.6;
}

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

.service-option {
    display: grid;
    width: 100%;
    min-height: 78px;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 14px;
    align-items: center;
    border: 1px solid var(--line);
    border-radius: 7px;
    background: rgba(255, 255, 255, 0.025);
    color: var(--text);
    padding: 14px;
    text-align: left;
}

.service-option:hover {
    border-color: rgba(223, 176, 87, 0.32);
    background: rgba(223, 176, 87, 0.055);
}

.service-option[aria-pressed="true"] {
    border-color: var(--gold);
    outline: 1px solid rgba(223, 176, 87, 0.3);
    background: rgba(223, 176, 87, 0.1);
}

.service-option > span:first-child {
    display: grid;
    min-width: 0;
    gap: 5px;
}

.service-option strong {
    color: #fff;
    font-size: 16px;
    overflow-wrap: anywhere;
}

.service-option small {
    color: var(--muted);
    font-size: 13px;
}

.service-option > span:last-child {
    color: var(--gold-light);
    font-size: 14px;
    font-weight: 800;
    white-space: nowrap;
}

.staff-picker-trigger {
    display: grid;
    width: 100%;
    min-height: 82px;
    grid-template-columns: 52px minmax(0, 1fr) auto;
    gap: 13px;
    align-items: center;
    border: 1px solid var(--line-strong);
    border-radius: 7px;
    background: rgba(223, 176, 87, 0.07);
    color: var(--text);
    padding: 13px;
    text-align: left;
}

.staff-picker-trigger > span:nth-child(2) {
    display: grid;
    min-width: 0;
}

.staff-picker-trigger small,
.staff-picker-trigger em {
    color: var(--muted);
    font-size: 12px;
    font-style: normal;
}

.staff-picker-trigger strong {
    overflow: hidden;
    margin: 2px 0;
    color: #fff;
    font-size: 16px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.staff-picker-trigger > span:last-child {
    color: var(--gold-light);
    font-size: 12px;
    font-weight: 800;
}

.staff-avatar {
    display: grid;
    width: 52px;
    height: 52px;
    place-items: center;
    border: 1px solid rgba(223, 176, 87, 0.28);
    border-radius: 50%;
    background: var(--surface-soft);
    color: var(--gold-light);
    font-size: 18px;
    font-weight: 800;
}

.staff-avatar.has-image {
    overflow: hidden;
    background: #171915;
}

.staff-avatar img {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: inherit;
    object-fit: cover;
}

.staff-selection-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    max-height: clamp(260px, 40vh, 360px);
    gap: 10px;
    overflow-x: hidden;
    overflow-y: auto;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.012);
    overscroll-behavior: contain;
    scrollbar-color: rgba(223, 176, 87, 0.65) rgba(255, 255, 255, 0.04);
    scrollbar-width: thin;
    touch-action: pan-y;
    -webkit-overflow-scrolling: touch;
}

.staff-selection-grid::-webkit-scrollbar {
    width: 8px;
}

.staff-selection-grid::-webkit-scrollbar-track {
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
}

.staff-selection-grid::-webkit-scrollbar-thumb {
    border: 2px solid transparent;
    border-radius: 999px;
    background: rgba(223, 176, 87, 0.65);
    background-clip: padding-box;
}

.staff-selection-grid > .inline-state {
    grid-column: 1 / -1;
}

.staff-choice-option {
    display: grid;
    width: 100%;
    min-height: 88px;
    grid-template-columns: 52px minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.025);
    color: var(--text);
    padding: 13px;
    text-align: left;
    box-shadow: none;
}

.staff-choice-option:hover {
    border-color: rgba(223, 176, 87, 0.55);
    background: rgba(223, 176, 87, 0.06);
}

.staff-choice-option[aria-pressed="true"] {
    border-color: var(--gold);
    background: rgba(223, 176, 87, 0.11);
    box-shadow: inset 0 0 0 1px rgba(223, 176, 87, 0.14);
}

.staff-choice-option > span:nth-child(2) {
    display: grid;
    min-width: 0;
    gap: 3px;
}

.staff-choice-option strong {
    overflow: hidden;
    color: #ffffff;
    font-size: 15px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.staff-choice-option small {
    color: var(--muted);
    font-size: 11px;
}

.staff-choice-option > span:last-child {
    border-radius: 999px;
    background: rgba(223, 176, 87, 0.1);
    color: var(--gold-light);
    padding: 5px 8px;
    font-size: 10px;
    font-weight: 800;
}

.staff-choice-option[aria-pressed="true"] > span:last-child {
    background: var(--gold);
    color: #151713;
}

.date-picker-heading,
.slot-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 11px;
}

.date-picker-heading > strong,
.slot-heading > strong {
    color: #fff;
    font-size: 15px;
}

.staff-auto-assignment {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 14px 0;
    border: 1px solid rgba(223, 176, 87, 0.35);
    border-radius: 8px;
    background: rgba(223, 176, 87, 0.08);
    color: #e9d6aa;
    padding: 11px 13px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.5;
}

.staff-auto-assignment::before {
    display: grid;
    flex: 0 0 22px;
    width: 22px;
    height: 22px;
    place-items: center;
    border-radius: 50%;
    content: "✓";
    background: var(--gold);
    color: #151713;
    font-size: 12px;
    font-weight: 900;
}

.staff-auto-assignment[hidden] {
    display: none;
}

.calendar-button {
    position: relative;
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    border: 1px solid var(--line);
    border-radius: 6px;
    color: var(--gold-light);
    padding: 0 12px;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
}

.calendar-button input {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    opacity: 0;
    cursor: pointer;
}

.date-strip {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    margin: 0 -18px 25px;
    padding: 2px 18px 10px;
    scroll-padding-inline: 18px;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    touch-action: pan-x pan-y;
}

.date-strip::-webkit-scrollbar {
    display: none;
}

.date-option {
    display: grid;
    width: 68px;
    min-width: 68px;
    min-height: 76px;
    place-content: center;
    gap: 3px;
    border: 1px solid var(--line);
    border-radius: 7px;
    background: rgba(255, 255, 255, 0.025);
    color: var(--muted);
    padding: 8px 5px;
    scroll-snap-align: start;
    text-align: center;
}

.date-option span {
    font-size: 11px;
    font-weight: 700;
}

.date-option strong {
    color: #fff;
    font-size: 21px;
}

.date-option small {
    font-size: 10px;
    text-transform: uppercase;
}

.date-option[aria-pressed="true"] {
    border-color: var(--gold);
    background: var(--gold);
    color: #272116;
}

.date-option[aria-pressed="true"] strong {
    color: #17140f;
}

.date-option:disabled {
    opacity: 0.34;
    cursor: not-allowed;
}

.slot-heading {
    margin-top: 4px;
}

.slot-heading span {
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
}

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

.slot-option {
    min-width: 0;
    min-height: 50px;
    border: 1px solid rgba(137, 152, 121, 0.34);
    border-radius: 6px;
    background: rgba(137, 152, 121, 0.08);
    color: #d5e0cd;
    padding: 8px 4px;
    font-size: 15px;
    font-weight: 800;
}

.slot-option:hover:not(:disabled) {
    border-color: var(--gold);
    background: rgba(223, 176, 87, 0.1);
    color: #fff;
}

.slot-option[aria-pressed="true"] {
    border-color: var(--gold);
    background: var(--gold);
    color: #18140d;
}

.slot-option.is-booked,
.slot-option:disabled {
    border-color: var(--line);
    background: rgba(255, 255, 255, 0.025);
    color: #696c65;
    cursor: not-allowed;
    text-decoration-line: line-through;
    text-decoration-color: rgba(213, 224, 205, 0.52);
    text-decoration-thickness: 1px;
}

.inline-state {
    grid-column: 1 / -1;
    margin: 0;
    border: 1px solid var(--line);
    border-radius: 7px;
    background: rgba(255, 255, 255, 0.025);
    color: var(--muted);
    padding: 17px;
    font-size: 14px;
    line-height: 1.55;
}

.slot-empty-actions {
    display: grid;
    grid-column: 1 / -1;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.slot-empty-actions button {
    min-height: 46px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.035);
    color: var(--text);
    padding: 8px;
    font-size: 13px;
    font-weight: 800;
}

.customer-form {
    display: grid;
    gap: 18px;
}

.form-field {
    display: grid;
    gap: 7px;
    color: #d4d6cf;
    font-size: 14px;
    font-weight: 700;
}

.form-field input {
    width: 100%;
    min-height: 52px;
    border: 1px solid var(--line);
    border-radius: 7px;
    background: rgba(255, 255, 255, 0.035);
    color: #fff;
    padding: 0 14px;
    font-size: 16px;
}

.form-field input::placeholder {
    color: #71756d;
}

.form-field input:focus {
    border-color: var(--gold);
    background: rgba(223, 176, 87, 0.055);
}

.form-field.has-error input {
    border-color: var(--danger);
}

.field-error {
    min-height: 18px;
    color: var(--danger);
    font-size: 12px;
    font-weight: 600;
}

.appointment-summary {
    display: grid;
    margin: 0;
    border-top: 1px solid var(--line);
}

.summary-row {
    display: grid;
    grid-template-columns: minmax(100px, 0.42fr) minmax(0, 1fr);
    gap: 14px;
    border-bottom: 1px solid var(--line);
    padding: 14px 2px;
}

.summary-row dt {
    color: var(--muted);
    font-size: 13px;
}

.summary-row dd {
    margin: 0;
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    overflow-wrap: anywhere;
    text-align: right;
}

.whatsapp-notice {
    border-left: 3px solid var(--olive);
    background: rgba(137, 152, 121, 0.08);
    color: #c9d4c2;
    margin: 18px 0 0;
    padding: 13px 14px;
    font-size: 13px;
    line-height: 1.55;
}

.flow-message {
    display: none;
    margin-top: 12px;
    border: 1px solid var(--line);
    border-radius: 7px;
    padding: 13px;
    font-size: 13px;
    line-height: 1.5;
}

.flow-message.is-visible {
    display: block;
}

.flow-message.is-error {
    border-color: rgba(239, 142, 142, 0.42);
    background: rgba(127, 67, 73, 0.12);
    color: #ffc5c5;
}

.flow-message.is-success {
    border-color: rgba(137, 152, 121, 0.4);
    background: rgba(137, 152, 121, 0.1);
    color: #d4e8c9;
}

.booking-lookup {
    margin-top: 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(18, 20, 17, 0.68);
}

.booking-lookup > summary {
    display: flex;
    min-height: 76px;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 17px;
    list-style: none;
}

.booking-lookup > summary::-webkit-details-marker {
    display: none;
}

.booking-lookup > summary > span:first-child {
    display: grid;
    gap: 3px;
}

.booking-lookup summary strong {
    color: #fff;
    font-size: 15px;
}

.booking-lookup summary small {
    color: var(--muted);
    font-size: 12px;
}

.lookup-plus {
    display: grid;
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 6px;
    color: var(--gold-light);
    font-size: 20px;
    transition: transform 160ms ease;
}

.booking-lookup[open] .lookup-plus {
    transform: rotate(45deg);
}

.booking-contact {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 16px;
    margin-top: 10px;
    border: 1px solid rgba(223, 176, 87, 0.28);
    border-radius: 8px;
    background: rgba(223, 176, 87, 0.055);
    padding: 16px 18px;
}

.booking-contact[hidden] {
    display: none;
}

.booking-contact span {
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
}

.booking-contact strong {
    color: var(--gold-light);
    font-size: 16px;
    letter-spacing: 0.025em;
}

.lookup-content {
    display: grid;
    gap: 12px;
    border-top: 1px solid var(--line);
    padding: 18px;
}

.lookup-button {
    min-height: 48px;
    border: 1px solid var(--line-strong);
    border-radius: 6px;
    background: rgba(223, 176, 87, 0.1);
    color: var(--gold-light);
    padding: 0 16px;
    font-weight: 800;
}

.appointment-list {
    display: grid;
    gap: 9px;
}

.appointment-card {
    display: grid;
    gap: 6px;
    border: 1px solid var(--line);
    border-radius: 7px;
    background: rgba(255, 255, 255, 0.025);
    padding: 14px;
}

.appointment-card strong {
    color: #fff;
    font-size: 15px;
}

.appointment-card span {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.45;
}

.appointment-card button,
.appointment-card a {
    display: inline-flex;
    width: fit-content;
    min-height: 44px;
    align-items: center;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: transparent;
    color: var(--gold-light);
    padding: 0 12px;
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
}

.booking-action-bar {
    position: fixed;
    z-index: 90;
    right: 0;
    bottom: 0;
    left: 0;
    border-top: 1px solid var(--line);
    background: rgba(12, 13, 11, 0.94);
    padding: 10px 10px calc(10px + env(safe-area-inset-bottom));
    backdrop-filter: blur(18px);
}

.action-bar-inner {
    display: grid;
    width: min(100%, 720px);
    min-height: 58px;
    margin: 0 auto;
    grid-template-columns: minmax(0, 0.8fr) minmax(150px, 1.2fr);
    gap: 12px;
    align-items: center;
}

.action-summary {
    display: grid;
    min-width: 0;
    gap: 2px;
}

.action-summary span {
    overflow: hidden;
    color: var(--muted);
    font-size: 11px;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.action-summary strong {
    overflow: hidden;
    color: #fff;
    font-size: 14px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.action-bar-inner > button {
    width: 100%;
    min-height: 52px;
    border: 1px solid var(--gold);
    border-radius: 7px;
    background: var(--gold);
    color: #17140f;
    padding: 0 14px;
    font-size: 14px;
    font-weight: 800;
}

.action-bar-inner > button:hover:not(:disabled) {
    border-color: var(--gold-light);
    background: var(--gold-light);
}

.action-bar-inner > button:disabled {
    border-color: var(--line);
    background: rgba(255, 255, 255, 0.045);
    color: #72756d;
    cursor: not-allowed;
}

body.keyboard-open .booking-action-bar {
    display: none;
}

.sheet-backdrop {
    position: fixed;
    z-index: 110;
    inset: 0;
    background: rgba(0, 0, 0, 0.64);
    opacity: 0;
    transition: opacity 180ms ease;
}

.sheet-backdrop.is-open {
    opacity: 1;
}

.staff-sheet {
    position: fixed;
    z-index: 120;
    right: 0;
    bottom: 0;
    left: 0;
    max-height: 88dvh;
    overflow: hidden;
    border-top: 1px solid var(--line-strong);
    border-radius: 8px 8px 0 0;
    background: #151713;
    padding-bottom: env(safe-area-inset-bottom);
    box-shadow: 0 -24px 70px rgba(0, 0, 0, 0.52);
    transform: translateY(105%);
    transition: transform 200ms ease;
}

.staff-sheet.is-open {
    transform: translateY(0);
}

.sheet-handle {
    width: 44px;
    height: 4px;
    margin: 8px auto 3px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.24);
}

.staff-sheet > header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    border-bottom: 1px solid var(--line);
    padding: 14px 17px 16px;
}

.staff-sheet h2 {
    margin: 5px 0 0;
    color: #fff;
    font-size: 19px;
    line-height: 1.35;
}

.staff-sheet-list {
    display: grid;
    max-height: calc(88dvh - 104px);
    gap: 8px;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 12px 12px 24px;
}

.staff-sheet-option {
    display: grid;
    width: 100%;
    min-height: 72px;
    grid-template-columns: 46px minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    border: 1px solid var(--line);
    border-radius: 7px;
    background: rgba(255, 255, 255, 0.025);
    color: var(--text);
    padding: 11px;
    text-align: left;
}

.staff-sheet-option[aria-pressed="true"] {
    border-color: var(--gold);
    background: rgba(223, 176, 87, 0.1);
}

.staff-sheet-option .staff-avatar {
    width: 46px;
    height: 46px;
}

.staff-sheet-option > span:nth-child(2) {
    display: grid;
    gap: 2px;
}

.staff-sheet-option strong {
    color: #fff;
    font-size: 15px;
    overflow-wrap: anywhere;
}

.staff-sheet-option small {
    color: var(--muted);
    font-size: 12px;
}

.staff-sheet-option > span:last-child {
    color: var(--gold-light);
    font-size: 12px;
    font-weight: 800;
}

body.sheet-open {
    overflow: hidden;
}

@media (max-width: 359px) {
    .salon-intro h1 {
        font-size: 30px;
    }

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

    .action-bar-inner {
        grid-template-columns: minmax(0, 0.72fr) minmax(142px, 1.28fr);
        gap: 8px;
    }

    .action-summary strong {
        font-size: 13px;
    }
}

@media (min-width: 600px) {
    .salon-profile,
    .booking-flow,
    .booking-lookup,
    .booking-contact {
        width: min(100% - 40px, var(--content-width));
    }

    .salon-profile {
        padding-top: 40px;
    }

    .salon-intro {
        padding-inline: 4px;
    }

    .salon-intro h1 {
        font-size: 44px;
    }

    .salon-gallery {
        height: 255px;
    }

    .gallery-arrow {
        display: grid;
        place-items: center;
    }

    .flow-content {
        min-height: 470px;
        padding: 30px 32px 38px;
    }

    .flow-header {
        padding-inline: 22px;
    }

    .step-copy h3 {
        font-size: 29px;
    }

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

    .slot-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .lookup-content {
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: end;
    }

    .lookup-button {
        min-width: 190px;
    }

    .appointment-list {
        grid-column: 1 / -1;
    }
}

@media (min-width: 900px) {
    :root {
        --header-height: 72px;
    }

    .salon-header-inner {
        width: min(100% - 48px, var(--content-width));
    }

    .salon-profile {
        display: grid;
        grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
        gap: 26px;
        align-items: stretch;
        padding: 46px 0;
    }

    .salon-intro {
        display: flex;
        min-width: 0;
        flex-direction: column;
        justify-content: center;
        padding: 30px;
        border-left: 3px solid var(--gold);
        background: rgba(255, 255, 255, 0.022);
    }

    .salon-intro h1 {
        font-size: 48px;
    }

    .salon-smart-widget {
        min-width: 0;
    }

    .salon-gallery {
        height: 286px;
    }

    .location-notch {
        min-height: 102px;
        grid-template-columns: 94px minmax(0, 1fr) auto;
        padding: 12px 14px;
    }

    .location-map-preview {
        width: 94px;
        height: 76px;
    }

    .location-notch.is-empty {
        grid-template-columns: 94px minmax(0, 1fr);
    }

    .booking-flow,
    .booking-lookup,
    .booking-contact {
        width: min(760px, calc(100% - 48px));
    }

    .flow-content {
        min-height: 500px;
        padding: 36px 44px 46px;
    }

    .booking-lookup {
        margin-top: 16px;
    }

    .staff-sheet {
        right: 50%;
        left: auto;
        width: min(620px, calc(100% - 40px));
        border: 1px solid var(--line-strong);
        border-bottom: 0;
        transform: translate(50%, 105%);
    }

    .staff-sheet.is-open {
        transform: translate(50%, 0);
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
