.salon-access-open {
    overflow: hidden;
}

.salon-access-modal[hidden] {
    display: none;
}

.salon-access-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: grid;
    place-items: center;
    padding: 20px;
    font-family: "Manrope", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.salon-access__backdrop {
    position: absolute;
    inset: 0;
    border: 0;
    background: rgba(10, 18, 23, .66);
    backdrop-filter: blur(5px);
}

.salon-access__panel {
    width: min(100%, 560px);
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    position: relative;
    padding: clamp(24px, 5vw, 38px);
    border: 1px solid rgba(225, 234, 236, .96);
    border-radius: 26px;
    color: #172126;
    background: #ffffff;
    box-shadow: 0 28px 90px rgba(4, 17, 23, .28);
}

.salon-access__close {
    width: 38px;
    height: 38px;
    position: absolute;
    top: 16px;
    right: 16px;
    border: 0;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: #43535b;
    background: #eef4f4;
    cursor: pointer;
    font-size: 25px;
    line-height: 1;
}

.salon-access__close:hover {
    color: #172126;
    background: #e2ecec;
}

.salon-access__eyebrow {
    margin: 0 48px 8px 0;
    color: #087f78;
    font-size: 12px;
    font-weight: 850;
    letter-spacing: .11em;
    text-transform: uppercase;
}

.salon-access__panel h2 {
    margin: 0;
    font-size: clamp(28px, 6vw, 38px);
    line-height: 1.08;
    letter-spacing: -.045em;
}

.salon-access__lead {
    margin: 12px 0 24px;
    color: #63727a;
    font-size: 15px;
    line-height: 1.55;
}

.salon-access__options {
    display: grid;
    gap: 12px;
}

.salon-access__option {
    min-height: 92px;
    padding: 17px 18px;
    border: 1px solid #d8e4e5;
    border-radius: 17px;
    display: grid;
    grid-template-columns: 42px 1fr auto;
    align-items: center;
    gap: 14px;
    color: #1e2a30;
    background: #ffffff;
    text-decoration: none;
    transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease;
}

.salon-access__option:hover {
    transform: translateY(-1px);
    border-color: #8abfbb;
    box-shadow: 0 12px 30px rgba(17, 66, 71, .10);
}

.salon-access__option--primary {
    border-color: #087f78;
    color: #ffffff;
    background: #087f78;
}

.salon-access__option--primary:hover {
    border-color: #066d68;
    background: #066d68;
}

.salon-access__icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    color: #087f78;
    background: #e8f5f3;
    font-size: 20px;
    font-weight: 900;
}

.salon-access__option--primary .salon-access__icon {
    color: #ffffff;
    background: rgba(255, 255, 255, .17);
}

.salon-access__option-copy {
    min-width: 0;
    display: grid;
    gap: 4px;
}

.salon-access__option-copy strong {
    font-size: 16px;
}

.salon-access__option-copy span {
    color: #6a787f;
    font-size: 13px;
    line-height: 1.4;
}

.salon-access__option--primary .salon-access__option-copy span {
    color: rgba(255, 255, 255, .80);
}

.salon-access__arrow {
    font-size: 24px;
    font-weight: 500;
}

@media (max-width: 560px) {
    .salon-access-modal {
        padding: 12px;
        align-items: end;
    }

    .salon-access__panel {
        max-height: calc(100vh - 24px);
        padding: 28px 18px 20px;
        border-radius: 24px;
    }

    .salon-access__option {
        min-height: 84px;
        padding: 14px;
        grid-template-columns: 38px 1fr auto;
        gap: 11px;
    }

    .salon-access__icon {
        width: 38px;
        height: 38px;
    }
}
