.checkout-panel {
    color: #2f2f2f;
    max-width: 520px;
    margin: 0 auto;
}

.checkout-panel *,
.checkout-panel *::before,
.checkout-panel *::after {
    box-sizing: border-box;
}

.checkout-panel__heading {
    margin: 0 0 26px;
    font-size: 26px;
    line-height: 1.16;
    letter-spacing: -.03em;
    font-weight: 500;
}

.checkout-panel__heading span {
    color: rgba(47, 47, 47, .52);
    font-weight: 400;
}

.checkout-panel__services {
    display: grid;
    gap: 16px;
}

.checkout-panel__service {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 112px;
    padding: 0;
    overflow: hidden;
    text-align: left;
    color: inherit;
    background: #fff;
    border: 1px solid rgba(47, 47, 47, .12);
    border-radius: 16px;
    cursor: pointer;
    transition: border-color .2s, box-shadow .2s;
}

.checkout-panel__service:hover,
.checkout-panel__service:focus-visible {
    border-color: #89966f;
    outline: none;
}

.checkout-panel__service[aria-pressed="true"] {
    border: 2px solid #89966f;
    box-shadow: 0 0 0 1px rgba(137, 150, 111, .12);
}

.checkout-panel__service-image {
    width: 118px;
    align-self: stretch;
    object-fit: cover;
}

.checkout-panel__service-name {
    padding: 20px 26px;
    font-size: 17px;
    line-height: 1.2;
}

.checkout-panel__card {
    margin-top: 16px;
    margin-bottom: 36px;
    padding: 28px;
    border: 1px solid rgba(47, 47, 47, .12);
    border-radius: 16px;
}

.checkout-panel__card-title,
.checkout-panel__section-title {
    margin: 0;
    font-size: 18px;
    line-height: 1.2;
    letter-spacing: -.02em;
    font-weight: 500;
}

.checkout-panel__card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 26px;
}

.checkout-panel__remove {
    display: grid;
    place-items: center;
    padding: 5px;
    color: rgba(47, 47, 47, .55);
    background: transparent;
    border: 0;
    cursor: pointer;
}

.checkout-panel__fields {
    display: grid;
    gap: 16px;
}

.checkout-panel__field {
    position: relative;
    display: block;
}

.checkout-panel__select,
.checkout-panel__input {
    width: 100%;
    height: 50px;
    padding: 0 44px 0 20px;
    color: #2f2f2f;
    font: inherit;
    font-size: 16px;
    background: #fff;
    border: 1px solid rgba(47, 47, 47, .12);
    border-radius: 14px;
    outline: none;
}

.checkout-panel__select {
    appearance: none;
    cursor: pointer;
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='10' viewBox='0 0 16 10'%3E%3Cpath d='m1 1 7 7 7-7' fill='none' stroke='%232f2f2f' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E") right 17px center/16px 10px no-repeat;
}

.checkout-panel__input::placeholder {
    color: rgba(47, 47, 47, .42);
}

.checkout-panel__select:focus,
.checkout-panel__input:focus {
    border-color: #89966f;
    box-shadow: 0 0 0 3px rgba(137, 150, 111, .16);
}

.checkout-panel__price {
    margin: 26px 0 22px;
    text-align: right;
    font-size: 20px;
    line-height: 1.2;
}

.checkout-panel__price-current {
    color: #89966f;
    font-weight: 500;
}

.checkout-panel__price-old {
    margin-left: 8px;
    color: #e44a4a;
    font-size: 16px;
    text-decoration: line-through;
}

.checkout-panel__action {
    width: 100%;
    min-height: 48px;
    padding: 12px 20px;
    color: #fff;
    font: inherit;
    font-size: 17px;
    background: #89966f;
    border: 0;
    border-radius: 999px;
    cursor: pointer;
    transition: background .2s, transform .2s;
}

.checkout-panel__action--spaced {
    margin-top: 26px;
}

.checkout-panel__action:hover {
    background: #77845f;
}

.checkout-panel__action:active {
    transform: scale(.99);
}

.checkout-panel__section {
    padding: 40px 0;
    border-top: 1px solid rgba(47, 47, 47, .12);
}

.checkout-panel__section-title {
    margin-bottom: 26px;
    font-size: 24px;
}

.checkout-panel__notice {
    margin: 24px 0 0;
    color: #89966f;
    text-align: center;
    font-size: 14px;
}

.checkout-panel__field--icon .checkout-panel__input {
    padding-left: 50px;
}

.checkout-panel__field-icon {
    position: absolute;
    z-index: 1;
    top: 50%;
    left: 18px;
    width: 20px;
    height: 20px;
    color: rgba(47, 47, 47, .42);
    transform: translateY(-50%);
    pointer-events: none;
}

button.checkout-panel__action {
    text-align: center;
}

@media (max-width: 480px) {
    .checkout-panel__card {
        padding: 24px;
    }
    .checkout-panel__heading {
        font-size: 26px;
    }
}
