.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 20px 0 20px;
    font: inherit;
    font-size: 16px;
    background: #fff;
    border: 1px solid rgba(47, 47, 47, .12);
    border-radius: 14px;
    outline: none;
}

.checkout-panel__input {
    color: #2F2F2FB2;
}

.checkout-panel__select {
    color: #2F2F2F;
    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: 30px;
    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;
}

.checkout-panel__choice {
    width: 100%;
    padding: 15px 24px;
    text-align: left;
    color: #2f2f2f;
    background: #fff;
    border: 1px solid rgba(47, 47, 47, .12);
    border-radius: 12px;
    cursor: pointer;
}

.checkout-panel__choice[aria-pressed="true"] {
    border: 2px solid #89966f;
}

.checkout-panel__choice-title {
    display: block;
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 16px;
}

.checkout-panel__choice-text {
    display: block;
    margin-top: 5px;
    color: #1D1D1F;
    font-size: 12px;
    line-height: 1.25;
}

.checkout-panel__preview {
    position: relative;
    background: #F5F5F7;
    display: grid;
    grid-template-columns: 145px 1fr;
    gap: 14px;
    align-items: center;
    padding: 0px;
    border: 1px solid rgba(47, 47, 47, .12);
    border-radius: 12px;
    margin-bottom: 31px;
}

.checkout-panel__preview:before {
    content: "";
    display: block;
    width: 15px;
    height: 15px;
    background: url(../img/plus_black.svg) center center no-repeat;
    background-size: cover;
    position: absolute;
    top: 9px;
    right: 9px;
}

.checkout-panel__preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    display: block;
}

.checkout-panel__preview p {
    margin-top: 10px;
    font-size: 14px;
    line-height: 18px;
}

.checkout-panel__delivery-address {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.checkout-panel__delivery-address label:first-child {
    grid-column: 1 / -1;
}

.checkout-panel__textarea {
    width: 100%;
    min-height: 112px;
    padding: 16px;
    font: inherit;
    resize: vertical;
    border: 1px solid rgba(47, 47, 47, .12);
    border-radius: 14px;
}

.checkout-panel__program {
    display: grid;
    gap: 16px;
}

.checkout-panel__program-item {
    display: grid;
    grid-template-columns: 100px 1fr;
    overflow: hidden;
    border: 1px solid rgba(47, 47, 47, .12);
    border-radius: 12px;
}

.checkout-panel__program-item img {
    width: 106px;
    height: 100%;
    object-fit: cover;
    display: block;
}

.checkout-panel__program-copy {
    padding: 20px 24px;
}

.checkout-panel__program-copy strong,
.checkout-panel__program-copy span {
    display: block;
}

.checkout-panel__program-copy span {
    margin-top: 5px;
    font-size: 12px;
}

.checkout-panel__gallery {
    display: grid;
    gap: 16px;
}

.checkout-panel__gallery .checkout-panel__choice {
    padding: 0px;
}

.checkout-panel__gallery img {
    display: block;
    width: 100%;
    height: 115px;
    object-fit: cover;
    border-radius: 10px;
}

.checkout-panel__design-image--dim {
    filter: brightness(.85);
}

.checkout-panel__section-title span {
    color: rgba(47, 47, 47, .52);
    font-weight: 400;
}

p.dostavka {
    text-align: center;
    font-size: 14px;
    line-height: 100%;
    margin-top: 12px;
}

p.dostavka span {
    font-weight: 500;
    text-decoration: underline;
    color: #89966F;
}

.poslanie .checkout-panel__choice {
    padding: 38.5px 24px;
    margin: 16px 0;
}

.poslanie .checkout-panel__choice-title {
    margin-bottom: 0;
}

.poslanie .checkout-panel__textarea-wrap {
    position: relative;
}

.poslanie .checkout-panel__textarea {
    width: 100%;
    min-height: 170px;
    padding: 20px 20px 60px;
    /* снизу место под кнопку */
    border: 1px solid #E8E8E8;
    border-radius: 14px;
    resize: none;
    box-sizing: border-box;
}

.poslanie .checkout-panel__action {
    width: 100%;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    right: 0;
    bottom: 20px;
    display: block;
    max-width: 340px;
}

.checkout-panel__section span.green {
    display: inline;
}

.programma_massaga .checkout-panel__program-copy span.span_title {
    font-size: 17px;
    margin-bottom: 24px;
}

.programma_massaga .checkout-panel__program-copy span.span_stoimost {
    font-size: 14px;
    margin-top: 24px;
    font-weight: 500;
}

.span_stoimost span.green {
    font-size: 14px;
}

.programma_massaga .checkout-panel__program-copy span.span_ul {
    margin-top: 18px;
}

.article_inside {
    padding: 24.5px 20px 24.5px 0;
}

.checkout-panel__studio-picker {
    overflow: hidden;
    border: 1px solid rgba(47, 47, 47, .12);
    border-radius: 14px;
    background: #fff;
}

.checkout-panel__studio-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 58px;
    padding: 16px 20px;
    color: #2f2f2f;
    font: inherit;
    font-size: 16px;
    text-align: left;
    background: transparent;
    border: 0;
    cursor: pointer;
}

.checkout-panel__studio-chevron {
    width: 10px;
    height: 10px;
    border-top: 1.5px solid currentColor;
    border-left: 1.5px solid currentColor;
    transform: rotate(45deg);
    transition: transform .2s;
}

.checkout-panel__studio-picker:not(.is-open) .checkout-panel__studio-list,
.checkout-panel__studio-picker:not(.is-open) .checkout-panel__studio-map {
    display: none;
}

.checkout-panel__studio-picker:not(.is-open) .checkout-panel__studio-chevron {
    transform: rotate(-135deg);
    margin-top: -5px;
}

.checkout-panel__studio-list {
    max-height: 280px;
    margin: 0 10px 14px 0;
    padding: 0 13px 0 20px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #89966f transparent;
}

.checkout-panel__studio-list::-webkit-scrollbar {
    width: 4px;
}

.checkout-panel__studio-list::-webkit-scrollbar-thumb {
    background: #89966f;
    border-radius: 999px;
}

.checkout-panel__studio-option {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    width: 100%;
    padding: 11px 0;
    color: rgba(47, 47, 47, .62);
    font: inherit;
    font-size: 16px;
    line-height: 1.3;
    text-align: left;
    background: transparent;
    border: 0;
    cursor: pointer;
}

.checkout-panel__studio-option::before {
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
    margin-top: 1px;
    content: '';
    border: 1px solid rgba(47, 47, 47, .14);
    border-radius: 50%;
}

.checkout-panel__studio-option[aria-checked="true"] {
    color: #2f2f2f;
}

.checkout-panel__studio-option[aria-checked="true"]::before {
    background: #89966f url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='m2 6 2.4 2.3L10 3' fill='none' stroke='white' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat;
    border-color: #89966f;
}

.checkout-panel__studio-map {
    width: calc(100% - 40px);
    min-height: 46px;
    margin: 0 20px 12px;
    color: #fff;
    font: inherit;
    font-size: 16px;
    background: #89966f;
    border: 0;
    border-radius: 999px;
    cursor: pointer;
    text-align: center;
}

.checkout-panel__studio-map::after {
    display: inline-block;
    width: 17px;
    height: 17px;
    margin-left: 9px;
    vertical-align: -3px;
    content: '';
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m3 5 6-2 6 2 6-2v16l-6 2-6-2-6 2V5Z' fill='none' stroke='white' stroke-width='1.5' stroke-linejoin='round'/%3E%3Cpath d='M9 3v16M15 5v16' fill='none' stroke='white' stroke-width='1.5'/%3E%3C/svg%3E") center/contain no-repeat;
}

@media (max-width: 480px) {
    .checkout-panel__card {
        padding: 24px;
    }
    .checkout-panel__heading {
        font-size: 26px;
    }
}
