/*
 * SacaTuTurno - Perfil público de reservas.
 * Diseño propio inspirado en patrones modernos de marketplaces de turnos.
 */
:root {
    --st-accent: #0f766e;
    --st-ink: #16191d;
    --st-muted: #6f7379;
    --st-border: #e7e8ea;
    --st-soft: #f6f6f7;
    --st-card: #ffffff;
    --st-shadow: 0 12px 35px rgba(20, 25, 35, .08);
    --st-radius-lg: 22px;
    --st-radius-md: 16px;
}

html { scroll-behavior: smooth; }
body.st-booking-page {
    min-height: 100%;
    margin: 0;
    background: #f5f5f5;
    color: var(--st-ink);
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    padding-bottom: 24px;
}

.st-topbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    height: 66px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 clamp(18px, 4vw, 54px);
    background: rgba(255,255,255,.94);
    border-bottom: 1px solid rgba(20,20,20,.08);
    backdrop-filter: blur(16px);
}
.st-platform-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--st-ink) !important;
    font-size: 18px;
    font-weight: 800;
    text-decoration: none;
    letter-spacing: -.02em;
}
.st-platform-mark {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: var(--st-accent);
    color: #fff;
}
.st-icon-button,
.st-secondary-action,
.st-primary-action,
.st-map-button {
    border: 0;
    text-decoration: none;
    font-weight: 750;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.st-icon-button {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 10px 14px;
    border: 1px solid var(--st-border);
    border-radius: 12px;
    background: #fff;
    color: var(--st-ink);
}
.st-icon-button:hover,
.st-secondary-action:hover,
.st-primary-action:hover,
.st-map-button:hover { transform: translateY(-1px); }

.st-profile-shell {
    width: min(1180px, calc(100% - 32px));
    margin: 28px auto 0;
}
.st-profile-hero {
    overflow: hidden;
    border-radius: 26px;
    background: #fff;
    box-shadow: var(--st-shadow);
}
.st-cover {
    position: relative;
    height: clamp(220px, 32vw, 360px);
    overflow: hidden;
    background-color: var(--st-accent);
    background-size: cover;
    background-position: center;
}
.st-cover-pattern {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 17% 22%, rgba(255,255,255,.34), transparent 21%),
        radial-gradient(circle at 82% 24%, rgba(255,255,255,.18), transparent 17%),
        linear-gradient(135deg, color-mix(in srgb, var(--st-accent) 92%, #000 8%), color-mix(in srgb, var(--st-accent) 62%, #fff 38%));
}
.st-cover-pattern span {
    position: absolute;
    border: 1px solid rgba(255,255,255,.35);
    border-radius: 999px;
}
.st-cover-pattern span:nth-child(1){width:260px;height:260px;right:-50px;top:-90px}
.st-cover-pattern span:nth-child(2){width:190px;height:190px;right:85px;top:30px}
.st-cover-pattern span:nth-child(3){width:150px;height:150px;left:10%;bottom:-70px}
.st-cover-pattern span:nth-child(4){width:90px;height:90px;left:30%;top:24px}
.st-profile-card {
    position: relative;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 22px;
    align-items: center;
    padding: 26px 30px 28px;
}
.st-avatar-wrap { margin-top: -72px; }
.st-avatar {
    width: 128px;
    height: 128px;
    object-fit: cover;
    border-radius: 22px;
    border: 6px solid #fff;
    background: #fff;
    box-shadow: 0 12px 24px rgba(0,0,0,.14);
}
.st-eyebrow {
    margin-bottom: 4px;
    color: var(--st-accent);
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .08em;
}
.st-profile-copy h1 {
    margin: 0;
    color: var(--st-ink);
    font-size: clamp(27px, 3vw, 40px);
    line-height: 1.06;
    letter-spacing: -.035em;
}
.st-profile-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    margin-top: 12px;
    color: var(--st-muted);
    font-size: 14px;
}
.st-profile-meta span { display: inline-flex; align-items: center; gap: 7px; }
.st-profile-meta i { color: var(--st-accent); }
.st-profile-actions { display: flex; gap: 10px; }
.st-secondary-action,
.st-primary-action {
    min-height: 48px;
    padding: 0 20px;
    border-radius: 13px;
}
.st-secondary-action {
    border: 1px solid #dfe1e4;
    background: #fff;
    color: var(--st-ink);
}
.st-primary-action {
    background: var(--st-accent);
    color: #fff !important;
    box-shadow: 0 9px 20px color-mix(in srgb, var(--st-accent) 28%, transparent);
}

.st-section-nav {
    position: sticky;
    top: 66px;
    z-index: 900;
    display: flex;
    gap: 28px;
    margin-top: 18px;
    padding: 0 22px;
    overflow-x: auto;
    border: 1px solid var(--st-border);
    border-radius: 15px;
    background: rgba(255,255,255,.96);
    box-shadow: 0 6px 18px rgba(20,25,35,.04);
}
.st-section-nav a {
    position: relative;
    flex: 0 0 auto;
    padding: 17px 0 15px;
    color: #52565c !important;
    font-size: 14px;
    font-weight: 750;
    text-decoration: none;
}
.st-section-nav a.active,
.st-section-nav a:hover { color: var(--st-ink) !important; }
.st-section-nav a.active::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 3px;
    border-radius: 6px 6px 0 0;
    background: var(--st-accent);
}

.st-content-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 24px;
    align-items: start;
    margin-top: 24px;
}
.st-booking-column { min-width: 0; scroll-margin-top: 135px; }
#book-appointment-wizard {
    width: 100%;
    min-height: 0;
    margin: 0;
    overflow: hidden;
    border: 1px solid var(--st-border);
    border-radius: var(--st-radius-lg);
    background: #fff;
    box-shadow: var(--st-shadow);
}
#book-appointment-wizard #header.st-wizard-header {
    display: block;
    height: auto;
    padding: 24px 26px 18px;
    overflow: visible;
    background: #fff !important;
    border-bottom: 1px solid var(--st-border);
}
.st-wizard-heading { display: flex; align-items: baseline; gap: 10px; margin-bottom: 20px; }
.st-wizard-heading strong { font-size: 22px; letter-spacing: -.025em; }
.st-wizard-kicker { color: var(--st-accent); font-size: 12px; font-weight: 850; text-transform: uppercase; letter-spacing: .08em; }
#book-appointment-wizard #steps.st-progress-steps {
    width: 100%;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(4, minmax(0,1fr));
    gap: 8px;
    overflow: visible;
}
#book-appointment-wizard .book-step,
#book-appointment-wizard .active-step {
    position: relative;
    float: none;
    width: auto;
    height: auto;
    min-height: 44px;
    margin: 0;
    padding: 0 10px 0 46px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-radius: 12px;
    background: #f4f5f6 !important;
    filter: none !important;
}
#book-appointment-wizard .book-step strong {
    position: absolute;
    left: 11px;
    top: 50%;
    width: 27px;
    height: 27px;
    display: grid;
    place-items: center;
    transform: translateY(-50%);
    border-radius: 50%;
    background: #e2e4e7;
    color: #72767d !important;
    font-size: 12px;
    filter: none !important;
}
#book-appointment-wizard .book-step span { color: #74787e; font-size: 12px; font-weight: 750; white-space: nowrap; }
#book-appointment-wizard .book-step.active-step { background: color-mix(in srgb, var(--st-accent) 10%, #fff) !important; }
#book-appointment-wizard .book-step.active-step strong { background: var(--st-accent); color: #fff !important; font-size: 12px; }
#book-appointment-wizard .book-step.active-step span { color: var(--st-accent); }
.st-selected-inline { display: none; }

#book-appointment-wizard .wizard-frame { height: auto; padding: 0; }
#book-appointment-wizard .wizard-frame .frame-container { min-height: 0; padding: 28px 28px 8px; }
.st-frame-heading { max-width: 720px; margin-bottom: 24px; }
.st-frame-heading .frame-title { margin: 5px 0 6px !important; text-align: left !important; color: var(--st-ink) !important; font-size: clamp(24px, 3vw, 32px); font-weight: 800 !important; letter-spacing: -.03em; }
.st-frame-heading p { margin: 0; color: var(--st-muted); font-size: 15px; }
.st-step-label { color: var(--st-accent); font-size: 12px; font-weight: 850; text-transform: uppercase; letter-spacing: .08em; }
.st-native-selects {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip: rect(0 0 0 0) !important;
    white-space: nowrap !important;
}
.st-category-pills { display: flex; gap: 8px; margin-bottom: 22px; overflow-x: auto; padding-bottom: 4px; }
.st-category-pills a { flex: 0 0 auto; padding: 9px 13px; border: 1px solid var(--st-border); border-radius: 999px; background: #fff; color: #45494f !important; font-size: 13px; font-weight: 700; text-decoration: none; }
.st-category-pills a:hover { border-color: var(--st-accent); color: var(--st-accent) !important; }
.st-service-group { scroll-margin-top: 140px; margin-bottom: 28px; }
.st-service-group h3 { margin: 0 0 11px; font-size: 18px; font-weight: 800; letter-spacing: -.02em; }
.st-service-list { overflow: hidden; border: 1px solid var(--st-border); border-radius: var(--st-radius-md); }
.st-service-card {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 19px 20px;
    border: 0;
    border-bottom: 1px solid var(--st-border);
    background: #fff;
    text-align: left;
    transition: background .16s ease, box-shadow .16s ease;
}
.st-service-card:last-child { border-bottom: 0; }
.st-service-card:hover { background: #fafafa; }
.st-service-card.selected { position: relative; z-index: 1; background: color-mix(in srgb, var(--st-accent) 6%, #fff); box-shadow: inset 3px 0 0 var(--st-accent); }
.st-service-main { display: flex; min-width: 0; flex-direction: column; gap: 5px; }
.st-service-main > strong { color: var(--st-ink); font-size: 16px; font-weight: 800; }
.st-service-description { display: -webkit-box; overflow: hidden; color: var(--st-muted); font-size: 13px; line-height: 1.4; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.st-service-meta { display: flex; flex-wrap: wrap; gap: 5px 12px; color: #777b81; font-size: 13px; }
.st-service-meta span + span::before { content: "•"; margin-right: 10px; color: #b3b5b8; }
.st-service-action { flex: 0 0 auto; display: flex; align-items: flex-end; flex-direction: column; gap: 7px; }
.st-service-action strong { color: var(--st-ink); font-size: 14px; }
.st-service-action span { padding: 8px 13px; border-radius: 9px; background: var(--st-accent); color: #fff; font-size: 12px; font-weight: 800; }

.st-provider-section { margin-top: 34px; padding-top: 28px; border-top: 1px solid var(--st-border); scroll-margin-top: 140px; }
.st-section-heading-row { display: flex; justify-content: space-between; gap: 16px; align-items: end; margin-bottom: 14px; }
.st-section-heading-row h3 { margin: 4px 0 0; font-size: 21px; font-weight: 800; letter-spacing: -.025em; }
#st-provider-help { color: var(--st-muted); font-size: 12px; }
.st-provider-cards { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; }
.st-provider-card {
    min-width: 0;
    display: grid;
    grid-template-columns: auto minmax(0,1fr) auto;
    align-items: center;
    gap: 12px;
    padding: 14px;
    border: 1px solid var(--st-border);
    border-radius: 14px;
    background: #fff;
    text-align: left;
}
.st-provider-card:hover { border-color: #cfd2d5; background: #fafafa; }
.st-provider-card.selected { border-color: var(--st-accent); background: color-mix(in srgb, var(--st-accent) 7%, #fff); }
.st-provider-avatar { width: 43px; height: 43px; display: grid; place-items: center; border-radius: 50%; background: color-mix(in srgb, var(--st-accent) 14%, #fff); color: var(--st-accent); font-size: 13px; font-weight: 850; }
.st-any-provider { background: #efeff1; color: #5e6268; }
.st-provider-copy { min-width: 0; display: flex; flex-direction: column; }
.st-provider-copy strong { overflow: hidden; color: var(--st-ink); font-size: 14px; text-overflow: ellipsis; white-space: nowrap; }
.st-provider-copy small { color: var(--st-muted); font-size: 12px; }
.st-provider-check { width: 24px; height: 24px; display: grid; place-items: center; border: 1px solid #d8dade; border-radius: 50%; color: transparent; font-size: 11px; }
.st-provider-card.selected .st-provider-check { border-color: var(--st-accent); background: var(--st-accent); color: #fff; }
.st-provider-placeholder { grid-column: 1/-1; display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 86px; padding: 18px; border: 1px dashed #d8dade; border-radius: 14px; color: var(--st-muted); font-size: 14px; }
.st-selected-service-details { margin-top: 16px; }
.st-empty-state { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 7px; min-height: 220px; border: 1px dashed #d9dadd; border-radius: 16px; color: var(--st-muted); text-align: center; }
.st-empty-state i { color: var(--st-accent); font-size: 30px; }
.st-empty-state strong { color: var(--st-ink); font-size: 17px; }

#book-appointment-wizard .st-command-buttons { margin: 22px 28px 28px; display: flex; align-items: center; justify-content: space-between; }
.st-next-button,
.st-confirm-button,
.st-back-button {
    min-height: 48px;
    padding: 0 19px !important;
    border-radius: 12px !important;
    font-weight: 800 !important;
}
.st-next-button,
.st-confirm-button { border: 1px solid var(--st-accent) !important; background: var(--st-accent) !important; color: #fff !important; }
.st-next-button:disabled { opacity: .45; cursor: not-allowed; }
.st-back-button { border: 1px solid var(--st-border) !important; background: #fff !important; color: var(--st-ink) !important; }

.st-date-time-grid { align-items: start; }
.st-date-selector-heading { display:flex; align-items:flex-end; justify-content:space-between; gap:16px; margin-bottom:16px; }
.st-date-selector-heading h3 { margin:5px 0 0; color:var(--st-ink); font-size:21px; font-weight:850; letter-spacing:-.02em; }
.st-calendar-toggle { min-height:44px; display:inline-flex; align-items:center; justify-content:center; gap:9px; padding:0 15px; border:1px solid var(--st-border); border-radius:999px; background:#fff; color:var(--st-ink); font-size:13px; font-weight:750; transition:.18s ease; }
.st-calendar-toggle:hover,.st-calendar-toggle.active { border-color:var(--st-accent); color:var(--st-accent); box-shadow:0 6px 18px rgba(25,32,45,.08); }
.st-date-strip-shell { display:grid; grid-template-columns:38px minmax(0,1fr) 38px; align-items:center; gap:8px; }
.st-date-strip { display:flex; gap:10px; padding:3px 2px 10px; overflow-x:auto; overscroll-behavior-inline:contain; scroll-snap-type:x mandatory; scrollbar-width:thin; scrollbar-color:#c8cdd5 transparent; }
.st-date-strip::-webkit-scrollbar { height:5px; }
.st-date-strip::-webkit-scrollbar-thumb { border-radius:999px; background:#c8cdd5; }
.st-date-card { min-width:82px; height:124px; flex:0 0 82px; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:6px; scroll-snap-align:start; border:1px solid var(--st-border); border-radius:21px; background:#fff; color:var(--st-ink); box-shadow:0 3px 10px rgba(25,32,45,.035); transition:transform .17s ease,border-color .17s ease,background .17s ease,color .17s ease; }
.st-date-card:hover:not(:disabled) { transform:translateY(-2px); border-color:var(--st-accent); }
.st-date-card.selected { border-color:var(--st-accent); background:var(--st-accent); color:#fff; box-shadow:0 12px 24px rgba(38,135,217,.20); }
.st-date-card:disabled { background:#f7f7f8; color:#b1b4ba; cursor:not-allowed; box-shadow:none; }
.st-date-weekday { font-size:14px; font-weight:750; text-transform:lowercase; }
.st-date-card strong { font-size:31px; line-height:1; font-weight:850; }
.st-date-month { font-size:13px; text-transform:lowercase; }
.st-date-nav { width:38px; height:38px; display:grid; place-items:center; border:1px solid var(--st-border); border-radius:50%; background:#fff; color:var(--st-ink); transition:.17s ease; }
.st-date-nav:hover:not(:disabled) { border-color:var(--st-accent); color:var(--st-accent); }
.st-date-nav:disabled { opacity:.28; cursor:default; }
.st-date-period { min-height:20px; margin-top:5px; color:var(--st-muted); font-size:12px; font-weight:650; text-align:center; }
.st-panel-label { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; color: var(--st-ink); font-size: 14px; font-weight: 800; }
.st-panel-label i { color: var(--st-accent); }
.st-calendar-card { margin-top:14px; padding:10px; border:1px solid var(--st-border); border-radius:17px; background:#fff; }
.st-calendar-card[hidden] { display:none !important; }
#book-appointment-wizard .wizard-frame .flatpickr-calendar { width: 100%; margin: 0 auto; border: 0; box-shadow: none; }
#book-appointment-wizard .flatpickr-rContainer,
#book-appointment-wizard .flatpickr-days,
#book-appointment-wizard .dayContainer { width: 100%; max-width: 100%; }
#book-appointment-wizard .flatpickr-day { max-width: none; border-radius: 10px; }
#book-appointment-wizard .flatpickr-day.selected { background: var(--st-accent) !important; border-color: var(--st-accent) !important; }
#book-appointment-wizard .flatpickr-months,
#book-appointment-wizard .flatpickr-weekdays,
#book-appointment-wizard span.flatpickr-weekday { background: transparent !important; color: var(--st-ink) !important; }
#book-appointment-wizard .flatpickr-current-month .flatpickr-monthDropdown-months,
#book-appointment-wizard .flatpickr-current-month input.cur-year { color: var(--st-ink) !important; }
#book-appointment-wizard .wizard-frame #select-time { max-width: none; margin: 0; padding: 0; }
.st-timezone-control { display: none !important; }
#book-appointment-wizard #available-hours { width: 100%; max-height: 390px; margin: 0; padding: 0 4px 0 0; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
#book-appointment-wizard #available-hours div { margin: 0; }
#book-appointment-wizard #available-hours .available-hour { width: 100%; margin: 0; padding: 10px 8px; border: 1px solid var(--st-border); border-radius: 10px; background: #fff; color: var(--st-ink); font-weight: 750; }
#book-appointment-wizard #available-hours .available-hour:hover { border-color: var(--st-accent); color: var(--st-accent); }
#book-appointment-wizard #available-hours .selected-hour { border-color: var(--st-accent) !important; background: var(--st-accent) !important; color: #fff !important; }

.st-customer-form .form-control,
#book-appointment-wizard .form-select { min-height: 47px; border: 1px solid #dadcdf; border-radius: 11px; background-color: #fff; }
.st-customer-form textarea.form-control { min-height: 92px; }
.st-customer-form label { color: #4b4f54; font-size: 13px; font-weight: 700; }
.st-confirmation-card { padding: 20px; border: 1px solid var(--st-border); border-radius: 16px; background: #fafafa; }
#book-appointment-wizard #appointment-details p,
#book-appointment-wizard #customer-details p { margin-bottom: 6px; font-size: 14px; line-height: 1.55; }

.st-profile-sidebar { position: sticky; top: 138px; display: flex; flex-direction: column; gap: 14px; scroll-margin-top: 140px; }
.st-sidebar-card { padding: 20px; border: 1px solid var(--st-border); border-radius: var(--st-radius-md); background: #fff; box-shadow: 0 7px 22px rgba(20,25,35,.045); }
.st-sidebar-card-title { margin-bottom: 14px; font-size: 17px; font-weight: 850; letter-spacing: -.02em; }
.st-summary-empty { padding: 14px; border-radius: 11px; background: var(--st-soft); color: var(--st-muted); font-size: 13px; }
.st-summary-content { display: flex; flex-direction: column; gap: 15px; }
.st-summary-row { display: grid; grid-template-columns: auto 1fr; gap: 11px; align-items: start; }
.st-summary-icon { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; background: color-mix(in srgb, var(--st-accent) 10%, #fff); color: var(--st-accent); }
.st-summary-row div { min-width: 0; display: flex; flex-direction: column; }
.st-summary-row small { color: var(--st-muted); font-size: 11px; }
.st-summary-row strong { overflow: hidden; color: var(--st-ink); font-size: 14px; text-overflow: ellipsis; white-space: nowrap; }
.st-summary-row div > span { color: var(--st-muted); font-size: 12px; }
.st-sidebar-reserve { width: 100%; margin-top: 17px; }
.st-about-copy { margin: 0 0 16px; color: #555a60; font-size: 13px; line-height: 1.65; }
.st-feature-list { display: flex; flex-direction: column; gap: 10px; }
.st-feature-list div { display: flex; gap: 9px; color: #555a60; font-size: 13px; }
.st-feature-list i { margin-top: 2px; color: var(--st-accent); }
.st-contact-list { display: flex; flex-direction: column; gap: 8px; }
.st-contact-list a { display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 10px; color: #4d5258 !important; font-size: 13px; text-decoration: none; }
.st-contact-list a:hover { background: var(--st-soft); }
.st-contact-list i { width: 20px; color: var(--st-accent); text-align: center; font-size: 16px; }
.st-location-copy { display: flex; gap: 9px; color: #555a60; font-size: 13px; line-height: 1.55; }
.st-location-copy i { margin-top: 3px; color: var(--st-accent); }
.st-map-button { width: 100%; min-height: 44px; display: flex; align-items: center; justify-content: center; gap: 9px; border: 1px solid var(--st-border); border-radius: 11px; background: #fff; color: var(--st-ink) !important; font-size: 13px; }

#book-appointment-wizard #frame-footer { padding: 18px 26px; border-top: 1px solid var(--st-border); background: #fafafa; }
#book-appointment-wizard #frame-footer small { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
#book-appointment-wizard .footer-powered-by { color: var(--st-muted); text-align: left; }
#book-appointment-wizard .footer-options { width: auto; }
#book-appointment-wizard #select-language,
#book-appointment-wizard .backend-link { display: inline-flex; min-width: 0; margin: 0; }

.st-mobile-booking-bar { display: none; }
.st-copy-toast { position: fixed; left: 50%; bottom: 28px; z-index: 1200; padding: 11px 16px; transform: translate(-50%, 25px); border-radius: 999px; background: #17191d; color: #fff; font-size: 13px; font-weight: 750; opacity: 0; pointer-events: none; transition: .2s ease; }
.st-copy-toast.show { transform: translate(-50%, 0); opacity: 1; }

@media (max-width: 980px) {
    .st-content-grid { grid-template-columns: 1fr; }
    .st-profile-sidebar { position: static; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); }
    .st-booking-summary-card { grid-column: 1/-1; }
}

@media (max-width: 720px) {
    body.st-booking-page { padding-bottom: 92px; }
    .st-topbar { height: 58px; padding: 0 14px; }
    .st-icon-button span { display: none; }
    .st-profile-shell { width: 100%; margin-top: 0; }
    .st-profile-hero { border-radius: 0; box-shadow: none; }
    .st-cover { height: 210px; }
    .st-profile-card { grid-template-columns: auto 1fr; gap: 14px; padding: 20px 18px 22px; }
    .st-avatar-wrap { margin-top: -62px; }
    .st-avatar { width: 94px; height: 94px; border-width: 4px; border-radius: 18px; }
    .st-profile-copy h1 { font-size: 26px; }
    .st-eyebrow { font-size: 11px; }
    .st-profile-meta { grid-column: 1/-1; margin-top: 8px; }
    .st-profile-actions { grid-column: 1/-1; }
    .st-profile-actions .st-primary-action { flex: 1; }
    .st-section-nav { top: 58px; margin: 0; border-left: 0; border-right: 0; border-radius: 0; box-shadow: none; }
    .st-content-grid { margin-top: 12px; }
    .st-booking-column { scroll-margin-top: 114px; }
    #book-appointment-wizard { border-left: 0; border-right: 0; border-radius: 0; box-shadow: none; }
    #book-appointment-wizard #header.st-wizard-header { padding: 20px 16px 15px; }
    .st-wizard-heading { margin-bottom: 14px; }
    #book-appointment-wizard .book-step { min-height: 38px; padding: 0; align-items: center; }
    #book-appointment-wizard .book-step strong { position: static; width: 26px; height: 26px; transform: none; }
    #book-appointment-wizard .book-step span { display: none; }
    #book-appointment-wizard .wizard-frame .frame-container { padding: 23px 16px 5px; }
    .st-frame-heading { margin-bottom: 20px; }
    .st-category-pills { margin-left: -16px; margin-right: -16px; padding-left: 16px; padding-right: 16px; }
    .st-service-card { padding: 17px 15px; gap: 12px; }
    .st-service-description { -webkit-line-clamp: 1; }
    .st-provider-cards { grid-template-columns: 1fr; }
    .st-section-heading-row { align-items: start; flex-direction: column; }
    #book-appointment-wizard .st-command-buttons { margin: 20px 16px 22px; }
    .st-next-button { flex: 1; }
    .st-date-time-grid > div + div { margin-top: 24px; }
    .st-date-selector-heading { align-items:center; }
    .st-date-selector-heading h3 { font-size:20px; }
    .st-calendar-toggle { width:46px; min-height:46px; padding:0; }
    .st-calendar-toggle span { display:none; }
    .st-date-strip-shell { grid-template-columns:minmax(0,1fr); }
    .st-date-nav { display:none; }
    .st-date-strip { margin-left:-16px; margin-right:-16px; padding-left:16px; padding-right:16px; scrollbar-width:none; }
    .st-date-strip::-webkit-scrollbar { display:none; }
    .st-date-card { min-width:88px; height:132px; flex-basis:88px; border-radius:22px; }
    .st-date-period { text-align:left; }
    #book-appointment-wizard #available-hours { max-height: 310px; }
    .st-profile-sidebar { display: block; padding: 0 14px; }
    .st-sidebar-card { margin-bottom: 12px; }
    .st-booking-summary-card { display: none; }
    #book-appointment-wizard #frame-footer { padding: 18px 16px; }
    #book-appointment-wizard #frame-footer small { align-items: flex-start; flex-direction: column; }
    .st-mobile-booking-bar {
        position: fixed;
        left: 12px;
        right: 12px;
        bottom: 12px;
        z-index: 1100;
        min-height: 62px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 9px 18px;
        border: 0;
        border-radius: 16px;
        background: var(--st-accent);
        color: #fff;
        box-shadow: 0 14px 35px rgba(0,0,0,.25);
        text-align: left;
    }
    .st-mobile-booking-bar span { display: flex; flex-direction: column; }
    .st-mobile-booking-bar small { opacity: .8; font-size: 11px; }
    .st-mobile-booking-bar strong { font-size: 16px; }
}

@media (max-width: 430px) {
    .st-secondary-action { width: 48px; padding: 0; font-size: 0; }
    .st-secondary-action i { font-size: 15px; }
    .st-service-action strong { max-width: 105px; text-align: right; }
    #book-appointment-wizard #available-hours { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
