.service-order-shell {
    width: min(1200px, calc(100% - 32px));
    margin: 42px auto 80px;
}

.service-order-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 370px;
    gap: 26px;
    align-items: start;
}

.service-order-form {
    display: grid;
    gap: 22px;
}

.service-step-card {
    border: 1px solid #e4e6ea;
    border-radius: 18px;
    background: #fff;
    padding: 24px 28px 30px;
}

.service-step-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
}

.service-step-header h2 {
    margin: 0;
    font-size: clamp(1.35rem, 2.1vw, 2rem);
    color: #1b2430;
}

.service-step-index {
    width: 42px;
    height: 42px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #0f9f7b;
    color: #fff;
    font-weight: 700;
}

.service-card-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.service-card {
    display: grid;
    grid-template-columns: 38px 1fr 20px;
    gap: 8px;
    align-items: center;
    padding: 10px 12px;
    border: 2px solid #d6d9de;
    border-radius: 12px;
    background: #fff;
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.service-card input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.service-card-icon {
    width: 45px;
    height: 45px;
    border-radius: 9px;
    background: #d9f7eb;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.service-card-content {
    display: grid;
    margin-left: 10px;
    gap: 2px;
}

.service-card-title {
    font-size: 0.88rem;
    font-weight: 700;
    line-height: 1.25;
    color: #1b2430;
}

.service-card-price {
    font-size: 0.92rem;
    font-weight: 800;
    color: #1c7c6c;
}

.service-card-meta {
    font-size: 0.82rem;
    color: #8a9098;
}

.service-card-check {
    width: 18px;
    height: 18px;
    border-radius: 999px;
    border: 2px solid #c5c9ce;
    justify-self: end;
}

.service-card:hover {
    border-color: #8bcbb7;
}

.service-card input[type="radio"]:checked ~ .service-card-check {
    border-color: #0f9f7b;
    box-shadow: inset 0 0 0 6px #0f9f7b;
}

.service-card input[type="radio"]:checked ~ .service-card-content .service-card-title {
    color: #0f9f7b;
}

.service-order-field {
    display: grid;
    gap: 9px;
}

.service-order-field label {
    font-weight: 700;
    color: #1b2430;
}

.service-info-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.service-info-grid-single {
    margin-top: 14px;
    grid-template-columns: 1fr;
}

.service-profile-inline {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.service-profile-inline span {
    padding: 8px 12px;
    border: 1px solid #d6d9de;
    border-radius: 999px;
    font-size: 0.92rem;
    color: #4a5563;
    background: #f7f9fc;
}

.service-order-input,
.service-order-select,
.service-order-textarea {
    width: 100%;
    border: 1px solid #d6d9de;
    border-radius: 12px;
    background: #fff;
    padding: 13px 14px;
    font: inherit;
    color: #1b2430;
}

.service-order-input:focus,
.service-order-select:focus,
.service-order-textarea:focus {
    outline: none;
    border-color: #0f9f7b;
    box-shadow: 0 0 0 3px rgba(15, 159, 123, 0.15);
}

.service-order-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 40px;
    cursor: pointer;
}

.service-order-textarea {
    resize: vertical;
    min-height: 130px;
}

.service-order-submit,
.service-order-link {
    width: fit-content;
    min-height: 50px;
    padding: 0 24px;
    border-radius: 12px;
    border: none;
    background: #0f9f7b;
    color: #fff;
    font-weight: 700;
    font-size: 0.98rem;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.service-order-submit:hover,
.service-order-link:hover {
    background: #0d8769;
}

.service-recap-card {
    border: 1px solid #e4e6ea;
    border-radius: 18px;
    background: #fff;
    padding: 22px 24px;
    position: sticky;
    top: 120px;
}

.service-recap-card h3 {
    margin: 0 0 14px;
    color: #1b2430;
    font-size: 2rem;
}

.service-recap-card ul {
    margin: 0;
    padding: 16px 0 0;
    border-top: 1px solid #eceff3;
    list-style: none;
    display: grid;
    gap: 12px;
}

.service-recap-card li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #6e7682;
    font-size: 1rem;
}

.service-order-empty {
    color: #6e7682;
    font-size: 0.98rem;
}

.service-order-errors,
.service-order-field-error {
    color: #bf2020;
    font-size: 0.92rem;
}

.service-order-success {
    border: 1px solid #e4e6ea;
    border-radius: 18px;
    background: #fff;
    padding: 34px;
    text-align: center;
}

.service-order-kicker {
    margin: 0;
    color: #0f9f7b;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.payment-options {
    display: grid;
    gap: 12px;
    margin-top: 6px;
}

.payment-option {
    display: grid;
    grid-template-columns: 18px 36px 1fr;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 14px;
    border: 1px solid #e1e4ea;
    background: #fbfbfd;
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.payment-option:hover {
    border-color: #c7d2de;
    background: #fff;
}

.payment-option input {
    width: 18px;
    height: 18px;
    accent-color: #0f9f7b;
}

.payment-option.is-disabled {
    cursor: not-allowed;
    opacity: 0.55;
    pointer-events: none;
}

.payment-icon {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: #f0f4f5;
    color: #0f9f7b;
}

.payment-icon svg {
    width: 20px;
    height: 20px;
}

.payment-label {
    display: grid;
    gap: 2px;
}

.payment-title {
    font-weight: 600;
    color: #1b1f2a;
}

.payment-subtitle {
    font-size: 0.85rem;
    color: #6b7280;
}

.service-order-success h1 {
    margin: 14px 0 0;
    color: #1b2430;
    font-size: clamp(1.8rem, 3vw, 2.5rem);
}

.service-order-success p {
    max-width: 650px;
    margin: 14px auto 0;
    color: #4f5b6a;
    line-height: 1.7;
}

@media (max-width: 1024px) {
    .service-order-layout {
        grid-template-columns: 1fr;
    }

    .service-recap-card {
        position: static;
    }
}

@media (max-width: 760px) {
    .service-order-shell {
        width: min(100% - 16px, 1200px);
        margin-top: 22px;
    }

    .service-step-card,
    .service-recap-card,
    .service-order-success {
        padding: 18px;
    }

    .service-card-grid,
    .service-info-grid {
        grid-template-columns: 1fr;
    }

    .service-step-header h2 {
        font-size: 1.7rem;
    }
}