/* Online appointment — conversion-focused */
body.page-appointment .site-navbar {
    background: var(--gradient-rail) !important;
    box-shadow: var(--shadow-heart);
}

.appointment-hero {
    background: var(--gradient-rail);
    color: #fff;
    padding: clamp(2rem, 5vw, 3.25rem) 0 clamp(2.25rem, 5vw, 3.5rem);
    text-align: center;
}

.appointment-hero h1 {
    font-size: clamp(1.5rem, 4vw, 2.15rem);
    font-weight: 800;
    margin-bottom: 0.55rem;
}

.appointment-hero-lead {
    opacity: 0.9;
    font-size: clamp(0.9rem, 2vw, 1.05rem);
    max-width: 34rem;
    margin: 0 auto 1.35rem;
}

.appointment-steps {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem 1rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.appointment-steps li {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8rem;
    font-weight: 700;
    color: rgba(255, 228, 232, 0.75);
}

.appointment-steps li span {
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
}

.appointment-steps li.is-active {
    color: #fff;
}

.appointment-steps li.is-active span {
    background: #fff;
    color: var(--heart-deep, #6e0716);
}

.appointment-booking-section {
    margin-top: -1.25rem;
    position: relative;
    z-index: 2;
    padding-bottom: 3rem !important;
}

.appointment-form-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 1.15rem;
    padding: 0;
    overflow: hidden;
    box-shadow: var(--shadow-card);
}

.appt-block {
    padding: 1.35rem 1.35rem 1.15rem;
    border-bottom: 1px solid var(--border);
}

.appt-block:last-child {
    border-bottom: none;
}

.appt-block-title {
    font-size: 1rem;
    font-weight: 800;
    color: var(--heart-deep, #6e0716);
    margin: 0 0 1rem;
    display: flex;
    align-items: center;
    gap: 0.55rem;
}

.appt-block-num {
    width: 1.65rem;
    height: 1.65rem;
    border-radius: 50%;
    background: var(--primary-light);
    color: var(--primary);
    font-size: 0.8rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.appointment-form-card .form-label {
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--text);
}

.appt-service-chips {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.55rem;
}

@media (min-width: 576px) {
    .appt-service-chips {
        grid-template-columns: repeat(2, 1fr);
    }
}

.appt-service-chip {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    padding: 0.75rem 0.7rem;
    border: 1.5px solid var(--border);
    border-radius: 0.75rem;
    cursor: pointer;
    background: #fffafa;
    margin: 0;
    transition: border-color 0.15s, background 0.15s;
}

.appt-service-chip input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.appt-service-chip i {
    color: var(--primary);
    font-size: 1.1rem;
    margin-top: 0.1rem;
}

.appt-service-chip-text {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    min-width: 0;
}

.appt-service-chip-text strong {
    font-size: 0.82rem;
    font-weight: 800;
    color: var(--heart-deep, #6e0716);
    line-height: 1.3;
}

.appt-service-chip-text small {
    font-size: 0.7rem;
    color: var(--text-muted);
}

.appt-service-chip.is-selected,
.appt-service-chip:has(input:checked) {
    border-color: var(--primary);
    background: #fff1f2;
}

.appt-day-chips {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
    margin-bottom: 0.85rem;
}

@media (min-width: 576px) {
    .appt-day-chips {
        grid-template-columns: repeat(4, 1fr);
    }
}

.appt-day-chip {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.15rem;
    padding: 0.7rem 0.75rem;
    border: 1.5px solid var(--border);
    border-radius: 0.75rem;
    background: #fff;
    cursor: pointer;
    text-align: right;
    transition: border-color 0.15s, background 0.15s;
}

.appt-day-chip strong {
    font-size: 0.82rem;
    color: var(--heart-deep, #6e0716);
}

.appt-day-chip span {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--primary);
}

.appt-day-chip small {
    font-size: 0.68rem;
    color: var(--text-muted);
}

.appt-day-chip:hover,
.appt-day-chip.is-selected {
    border-color: var(--primary);
    background: #fff1f2;
}

.appt-preview-box {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 1rem;
    border-radius: 0.85rem;
    background: #fff5f6;
    border: 1px dashed var(--border);
}

.appt-preview-box.is-ready {
    border-style: solid;
    border-color: var(--primary);
    background: #ffe4e8;
}

.appt-preview-box.is-empty {
    border-color: #fcd34d;
    background: #fffbeb;
}

.appt-preview-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.65rem;
    background: var(--primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.appt-preview-label {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--text-muted);
    margin-bottom: 0.15rem;
}

.appt-preview-value {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--heart-deep, #6e0716);
}

.appointment-aside {
    background: #fff5f6;
    border: 1px solid var(--border);
    border-radius: 1rem;
    padding: 1.25rem;
    position: sticky;
    top: 5.5rem;
}

.appointment-aside h3 {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--heart-deep, #6e0716);
    margin: 0 0 0.85rem;
}

.appointment-aside ul {
    list-style: none;
    padding: 0;
    margin: 0 0 1rem;
}

.appointment-aside li {
    display: flex;
    gap: 0.5rem;
    align-items: flex-start;
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-bottom: 0.55rem;
}

.appointment-aside li i {
    color: var(--primary);
    margin-top: 0.1rem;
}

.appointment-aside-link {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    padding: 0.45rem 0;
    border-top: 1px solid var(--border);
}

.appointment-aside-link:hover {
    color: var(--primary-dark);
}

.appointment-hero .page-breadcrumb a,
.appointment-hero .page-breadcrumb span {
    color: rgba(255, 255, 255, 0.75);
}

.appointment-hero .page-breadcrumb a:hover {
    color: #fff;
}

.appointment-hero .page-breadcrumb .sep {
    color: rgba(255, 255, 255, 0.45);
}

.turnstile-field {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0.85rem 1rem;
    border-radius: 1rem;
    background: #fff5f6;
    border: 1px solid var(--border);
}

.turnstile-field .cf-turnstile {
    min-height: 65px;
}

.date-field-wrap {
    position: relative;
}

.date-field-icon {
    position: absolute;
    right: 0.85rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary);
    pointer-events: none;
}

.date-field-input {
    padding-right: 2.5rem !important;
    cursor: pointer;
}

@media (max-width: 575.98px) {
    .appt-service-chips {
        grid-template-columns: 1fr;
    }
}
