@font-face {
    font-family: 'Museo Sans Cyrl';
    src: url('/catalog/view/theme/engstudent/assets/fonts/Museo_Sans_Cyrillic_500.otf') format('opentype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

body.checkout-simple {
    margin: 0;
    font-family: 'Museo Sans Cyrl', Arial, Helvetica, sans-serif;
    background: #f2f3f6;
    color: #0d2540;
}

body.checkout-simple *,
body.checkout-simple *::before,
body.checkout-simple *::after {
    box-sizing: border-box;
}

.checkout-simple .container {
    max-width: 1600px;
}

.section--order-form,
.section--order-form .container,
.section--order-form .row,
#content,
.simple-content.order,
#simplecheckout_form_0,
.simplecheckout,
.simplecheckout-step,
.checkout-layout,
.checkout-layout__left,
.checkout-layout__right {
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
}

.section--order-form .row {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

#content.col-sm-12 {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.simple-content.order,
#simplecheckout_form_0 {
    width: min(1530px, calc(100% - 48px)) !important;
    margin: 0 auto !important;
    overflow: visible !important;
}

.checkout-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 430px;
    gap: 28px;
    align-items: start;
    overflow: visible !important;
}

.checkout-layout__left,
.checkout-layout__right {
    display: flex;
    flex-direction: column;
    gap: 0;
    min-width: 0 !important;
    max-width: 100% !important;
    overflow: visible !important;
}

@media (min-width: 1025px) {
    .checkout-layout__right {
        position: sticky !important;
        top: 20px !important;
        align-self: start !important;
        height: fit-content !important;
        max-height: calc(100vh - 40px);
        overflow: visible !important;
        z-index: 5;
    }
}

@media (max-width: 1024px) {
    .simple-content.order,
    #simplecheckout_form_0,
    .cart-checkout-header__inner,
    .cart-checkout-footer__inner {
        width: 100% !important;
    }

    .checkout-layout {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .checkout-layout__left {
        order: 1;
    }

    .checkout-layout__right {
        position: static !important;
        max-height: none;
        order: 2;
    }
}

.cart-checkout-header {
    width: 100% !important;
    margin-left: 0 !important;
    margin-bottom: 34px;
    background: #f2f3f6;
    border-bottom: 1px solid #dfe2e8;
}

.cart-checkout-header__inner {
    width: min(1530px, calc(100% - 48px));
    height: 68px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cart-checkout-header__title {
    margin: 0;
    color: #0d2540;
    font-size: 24px;
    line-height: 1.2;
    font-weight: 800;
    text-transform: none;
}

.cart-checkout-header__close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    color: #9aa6b5;
    font-size: 34px;
    line-height: 1;
    font-weight: 400;
    text-decoration: none;
}

.cart-checkout-header__close:hover {
    color: #0d2540;
    text-decoration: none;
}

.cart-checkout-footer {
    width: 100% !important;
    margin-left: 0 !important;
    padding: 34px 0 28px;
    background: #f2f3f6;
    border-bottom: 4px solid #333;
}

.cart-checkout-footer__inner {
    width: min(1530px, calc(100% - 48px));
    margin: 0 auto;
    color: #53677d;
    font-size: 14px;
    line-height: 1.4;
}

#simplecheckout_customer,
#simplecheckout_shipping,
#simplecheckout_payment {
    background: #fff;
    padding: 20px 18px !important;
}

#simplecheckout_shipping {
    margin-bottom: 0 !important;
}

#simplecheckout_customer .checkout-heading,
#simplecheckout_shipping .checkout-heading,
#simplecheckout_payment .checkout-heading {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 0 0 20px !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    color: #0d2540 !important;
    font-size: 20px !important;
    line-height: 30px !important;
    font-weight: 800 !important;
    letter-spacing: 0 !important;
}

#simplecheckout_customer .checkout-heading::before,
#simplecheckout_shipping .checkout-heading::before,
#simplecheckout_payment .checkout-heading::before {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px !important;
    height: 30px !important;
    flex: 0 0 30px !important;
    background: #edf1f6;
    border-radius: 3px;
    color: #0d2540;
    font-size: 20px !important;
    line-height: 30px !important;
    font-weight: 800 !important;
}

#simplecheckout_customer .checkout-heading::before { content: "1"; }
#simplecheckout_shipping .checkout-heading::before { content: "2"; }
#simplecheckout_payment .checkout-heading::before { content: "3"; }

#simplecheckout_customer .checkout-heading span,
#simplecheckout_shipping .checkout-heading span,
#simplecheckout_payment .checkout-heading span {
    color: #0d2540 !important;
    font-size: 20px !important;
    line-height: 30px !important;
    font-weight: 800 !important;
}

#simplecheckout_customer .form-group,
#simplecheckout_shipping_address .form-group {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
    clear: none !important;
}

#simplecheckout_customer .form-group::before,
#simplecheckout_customer .form-group::after,
#simplecheckout_shipping_address .form-group::before,
#simplecheckout_shipping_address .form-group::after {
    display: none !important;
}

#simplecheckout_customer .control-label,
#simplecheckout_shipping_address .control-label {
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    width: auto !important;
    float: none !important;
    padding: 0 !important;
    margin: 0 0 7px !important;
    color: #53677d !important;
    font-size: 13px !important;
    line-height: 1.2 !important;
    font-weight: 500 !important;
    text-align: left !important;
}

#simplecheckout_customer .required .control-label::after,
#simplecheckout_shipping_address .required .control-label::after {
    content: "*" !important;
    color: #ed0000 !important;
    font-size: 13px !important;
    line-height: 1 !important;
    padding-left: 5px;
}

#simplecheckout_customer .col-sm-4,
#simplecheckout_customer .col-sm-8,
#simplecheckout_customer .col-sm-10,
#simplecheckout_shipping_address .col-sm-4,
#simplecheckout_shipping_address .col-sm-8,
#simplecheckout_shipping_address .col-sm-10 {
    display: block !important;
    float: none !important;
    width: 100% !important;
    max-width: none !important;
    padding: 0 !important;
    margin: 0 !important;
    margin-bottom: 5px !important;
}

#simplecheckout_customer .form-control,
#simplecheckout_shipping_address .form-control {
    width: 100% !important;
    height: 38px !important;
    border: 1px solid #cbd4e0 !important;
    background: #fff !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    padding: 0 14px !important;
    color: #0d2540 !important;
    font-size: 14px !important;
    line-height: 38px !important;
    font-weight: 500 !important;
}

#simplecheckout_customer .form-control::placeholder,
#simplecheckout_shipping_address .form-control::placeholder {
    color: #9aa6b5 !important;
    opacity: 1 !important;
}

#simplecheckout_customer fieldset.form-horizontal {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    border: 0;
    padding: 0;
    margin: 0;
}

#simplecheckout_customer .form-group:has(input[type="checkbox"]) {
    grid-column: 1 / -1;
}

#simplecheckout_customer .form-group:has(input[type="checkbox"]) > .control-label {
    display: none !important;
}

#simplecheckout_customer .checkbox {
    margin: 0 !important;
}

#simplecheckout_customer .checkbox label {
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
    padding: 0 !important;
    margin: 0 !important;
    color: #0d2540 !important;
    font-size: 13px !important;
    line-height: 20px !important;
    font-weight: 500 !important;
}

#simplecheckout_customer .checkbox input[type="checkbox"] {
    display: block !important;
    position: static !important;
    margin: 0 !important;
    width: 20px !important;
    height: 20px !important;
    flex: 0 0 20px !important;
}

/* #simplecheckout_customer .checkbox span {
    font-size: 0;
}

#simplecheckout_customer .checkbox span::after {
    content: "Отримувач інша людина";
    font-size: 13px !important;
    line-height: 20px !important;
    font-weight: 500 !important;
} */

#simplecheckout_customer .checkbox label {
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
    padding: 0 !important;
    margin: 0 !important;
    color: #0d2540 !important;
    font-size: 0 !important;
    line-height: 20px !important;
    font-weight: 500 !important;
}

#simplecheckout_customer .checkbox input[type="checkbox"] {
    position: static !important;
    display: block !important;
    width: 20px !important;
    height: 20px !important;
    flex: 0 0 20px !important;
    margin: 0 !important;
}

#simplecheckout_customer .checkbox label::after {
    content: "Отримувач інша людина";
    color: #0d2540;
    font-size: 13px !important;
    line-height: 20px !important;
    font-weight: 500 !important;
    pointer-events: none;
}

#simplecheckout_customer .checkbox label {
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
    padding: 0 !important;
    margin: 0 !important;
}

#simplecheckout_customer .checkbox input[type="checkbox"] {
    position: static !important;
    display: block !important;
    width: 20px !important;
    height: 20px !important;
    flex: 0 0 20px !important;
    margin: 0 !important;
}

/* скрываем реальное "Так" */
#simplecheckout_customer .checkbox label {
    font-size: 0 !important;
}

/* возвращаем нужный текст */
#simplecheckout_customer .checkbox label::after {
    content: "Отримувач інша людина";
    color: #0d2540;
    font-size: 13px !important;
    line-height: 20px !important;
    font-weight: 500 !important;
}

#simplecheckout_shipping_address {
    background: #fff !important;
    padding: 0 18px 20px !important;
    margin: -15px 0 20px !important;
}

#simplecheckout_shipping_address .simplecheckout-block-content {
    display: flex !important;
    flex-direction: column !important;
    gap: 18px !important;
    overflow: visible !important;
}

#simplecheckout_shipping_address fieldset.form-horizontal {
    display: contents !important;
    border: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
}

#simplecheckout_shipping_address select.form-control {
    appearance: none !important;
    -webkit-appearance: none !important;
    padding-right: 44px !important;
    background-image: linear-gradient(45deg, transparent 50%, #53677d 50%), linear-gradient(135deg, #53677d 50%, transparent 50%) !important;
    background-position: calc(100% - 24px) 17px, calc(100% - 17px) 17px !important;
    background-size: 8px 8px, 8px 8px !important;
    background-repeat: no-repeat !important;
}

#simplecheckout_shipping_address .simplecheckout-rule-group {
    margin-top: 6px;
}

#simplecheckout_shipping_address .simplecheckout-error-text {
    color: #ed0000;
    font-size: 12px;
}

#simplecheckout_shipping .simplecheckout-block-content,
#simplecheckout_payment .simplecheckout-block-content {
    display: flex;
    flex-direction: column;
    gap: 0;
}

#simplecheckout_shipping .cart__option,
#simplecheckout_payment .cart__option {
    display: block !important;
    min-height: 52px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 1px solid transparent !important;
    background: #fff !important;
}

#simplecheckout_shipping .cart__option--active,
#simplecheckout_payment .cart__option--active {
    border-color: #12aee8 !important;
}

#simplecheckout_shipping .cart__option label,
#simplecheckout_payment .cart__option label {
    display: grid !important;
    align-items: center !important;
    width: 100% !important;
    min-height: 52px !important;
    padding: 10px 12px !important;
    margin: 0 !important;
    cursor: pointer !important;
    color: #0d2540 !important;
    font-size: 14px !important;
    line-height: 1.25 !important;
    font-weight: 500 !important;
    text-align: left !important;
}

#simplecheckout_shipping .cart__option label {
    grid-template-columns: 24px 32px minmax(0, 1fr) auto !important;
    grid-template-areas: "radio icon title price" !important;
    column-gap: 12px !important;
}

#simplecheckout_payment .cart__option label {
    grid-template-columns: 24px minmax(0, 1fr) !important;
    gap: 12px !important;
}

#simplecheckout_shipping .cart__option input[type="radio"],
#simplecheckout_payment .cart__option input[type="radio"] {
    display: none !important;
}

#simplecheckout_shipping .cart__radio-mark,
#simplecheckout_payment .cart__radio-mark {
    display: block !important;
    width: 20px !important;
    height: 20px !important;
    border: 1px solid #cbd4e0 !important;
    border-radius: 50% !important;
    position: relative !important;
    background: #fff !important;
}

#simplecheckout_shipping .cart__radio-mark {
    grid-area: radio !important;
}

#simplecheckout_shipping .cart__option--active .cart__radio-mark::after,
#simplecheckout_payment .cart__option--active .cart__radio-mark::after {
    content: "" !important;
    position: absolute !important;
    inset: 4px !important;
    border-radius: 50% !important;
    background: #12aee8 !important;
}

#simplecheckout_shipping .cart__ship-icon {
    grid-area: icon !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 32px !important;
    height: 32px !important;
}

#simplecheckout_shipping .cart__ship-icon img,
#simplecheckout_shipping .cart__ship-icon svg {
    display: block;
    max-width: 32px !important;
    max-height: 32px !important;
    width: 24px;
    height: 24px;
    object-fit: contain !important;
}

#simplecheckout_shipping .cart__option b,
#simplecheckout_payment .cart__option b {
    display: block !important;
    margin: 0 !important;
    color: #0d2540 !important;
    font-size: 14px !important;
    line-height: 1.25 !important;
    font-weight: 500 !important;
    text-align: left !important;
}

#simplecheckout_shipping .cart__option b {
    grid-area: title !important;
    min-width: 0 !important;
}

#simplecheckout_shipping .cart__option small,
#simplecheckout_shipping .cart__shipping-term {
    display: block !important;
    margin-top: 2px !important;
    color: #9aa6b5 !important;
    font-size: 13px !important;
    line-height: 1.2 !important;
    font-weight: 500 !important;
    text-align: left !important;
}

#simplecheckout_shipping .cart__option strong {
    grid-area: price !important;
    display: block !important;
    margin: 0 !important;
    color: #0d2540 !important;
    font-size: 14px !important;
    line-height: 1.25 !important;
    font-weight: 800 !important;
    white-space: nowrap !important;
    text-align: right !important;
    justify-self: end !important;
}

#simplecheckout_cart {
    background: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
    min-width: 0 !important;
    max-width: 100% !important;
}

#simplecheckout_cart .checkout-heading {
    display: block !important;
    margin: 0 0 18px !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    color: #0d2540 !important;
    font-size: 18px !important;
    line-height: 1.25 !important;
    font-weight: 800 !important;
}

#simplecheckout_cart .table-responsive,
#simplecheckout_cart .cart-products-responsive {
    border: 0 !important;
    margin: 0 !important;
    overflow: visible !important;
    max-width: 100% !important;
    min-width: 0 !important;
}

#simplecheckout_cart .cart-products {
    background: #fff !important;
}

#simplecheckout_cart .cart-product-item {
    display: grid;
    grid-template-columns: 100px minmax(0, 1fr);
    gap: 24px;
    position: relative;
    background: #fff;
    border-bottom: 1px solid #e7e9ee;
    padding: 22px 20px !important;
}

#simplecheckout_cart .cart-product-item:last-child {
    border-bottom: 0;
}

#simplecheckout_cart .cart-product-item__image,
#simplecheckout_cart .cart-product-item__image a,
#simplecheckout_cart .cart-product-item__image img {
    display: block;
    width: 92px;
    height: 82px;
}

#simplecheckout_cart .cart-product-item__image img {
    object-fit: contain;
}

#simplecheckout_cart .cart-product-item__main {
    min-width: 0;
}

#simplecheckout_cart .cart-product-item__top,
#simplecheckout_cart .cart-product-item__bottom {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

#simplecheckout_cart .cart-product-item__name {
    color: #0d2540;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.35;
    text-decoration: none;
}

#simplecheckout_cart .cart-product-item__name:hover {
    text-decoration: underline;
}

#simplecheckout_cart .cart-product-item__remove {
    border: 0;
    background: transparent;
    padding: 0;
    color: #9aa6b5;
    cursor: pointer;
    line-height: 1;
    flex: 0 0 auto;
}

#simplecheckout_cart .cart-product-item__bottom {
    align-items: flex-end;
    margin-top: 22px;
}

#simplecheckout_cart .cart-product-item__quantity {
    display: flex;
}

#simplecheckout_cart .cart-product-item__qty-btn,
#simplecheckout_cart .cart-product-item__qty-input {
    width: 36px !important;
    height: 30px !important;
    border: 1px solid #cbd4e0 !important;
    background: #fff !important;
    color: #0d2540 !important;
    text-align: center !important;
    font-size: 16px !important;
    line-height: 30px !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
}

#simplecheckout_cart .cart-product-item__qty-btn {
    cursor: pointer;
}

#simplecheckout_cart .cart-product-item__qty-input {
    border-left: 0 !important;
    border-right: 0 !important;
}

#simplecheckout_cart .cart-product-item__price {
    color: #0d2540;
    font-size: 17px;
    font-weight: 800;
    white-space: nowrap;
    text-align: right;
}

#simplecheckout_cart .cart-product-item__options {
    display: flex;
    flex-direction: column;
    gap: 3px;
    margin-top: 6px;
    color: #53677d;
    font-size: 12px;
}

.cart__upsell {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
    background: #ffe9dd;
    padding: 20px 18px 26px;
}

.cart__upsell * {
    box-sizing: border-box;
}

.cart__upsell-title {
    display: flex;
    align-items: center;
    gap: 14px;
    max-width: 100%;
    margin: 0 0 18px;
    color: #0d2540;
    font-size: 20px;
    font-weight: 800;
}

.cart__upsell-list {
    display: grid !important;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - 42px) / 4);
    grid-template-columns: none !important;
    gap: 14px;
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 6px;
}

.cart__upsell-card {
    position: relative;
    background: #fff;
    padding: 16px 12px 12px;
    min-width: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
}

.cart__discount {
    position: absolute;
    left: 10px;
    top: 10px;
    background: #ed0000;
    color: #fff;
    font-weight: 800;
    padding: 4px 8px;
    z-index: 2;
}

.cart__upsell-card a {
    display: block;
    width: 100%;
    margin-top: -20px;
}

.cart__upsell-img {
    display: block;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    margin-bottom: 14px;
    object-fit: contain;
}

.cart__upsell-card h3 {
    margin: 0 0 6px;
    color: #0d2540;
    font-size: 14px;
    line-height: 1.25;
    font-weight: 800;
}

.cart__upsell-card p {
    margin: 0 0 12px;
    color: #52657a;
    font-size: 13px;
    overflow-wrap: anywhere;
    word-break: normal;
}

.cart__card-price {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 12px;
}

.cart__card-price b {
    color: #ed0000;
    font-size: 17px;
}

.cart__card-price span {
    color: #9aa6b5;
    text-decoration: line-through;
}

.cart__add {
    width: 100% !important;
    max-width: 100% !important;
    height: 38px;
    border: 0;
    background: #009AD9;
    color: #fff;
    font-weight: 800;
    cursor: pointer;
    white-space: normal !important;
}

#simplecheckout_cart22,
#simplecheckout_comment {
    background: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
}

#simplecheckout_cart22 .cart__coupons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 10px;
}

#simplecheckout_cart22 .cart__accordion-item,
#simplecheckout_comment.cart__accordion-item {
    background: #fff;
    margin: 0 0 10px !important;
}

#simplecheckout_cart22 .cart__accordion,
#simplecheckout_comment .cart__accordion {
    display: flex;
    align-items: center;
    height: 54px !important;
    width: 100% !important;
    border: 0 !important;
    background: #fff !important;
    text-align: left !important;
    padding: 0 18px !important;
    font-weight: 800 !important;
    color: #0d2540 !important;
    cursor: pointer !important;
    font-size: 15px !important;
}

#simplecheckout_cart22 .cart__accordion span,
#simplecheckout_comment .cart__accordion span {
    position: relative !important;

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: 24px !important;
    height: 24px !important;
    flex: 0 0 24px !important;

    margin-right: 14px !important;

    border: 1px solid #12aee8 !important;
    background: #fff !important;

    color: transparent !important;
    font-size: 0 !important;
    line-height: 0 !important;

    overflow: hidden;
}

/* горизонтальная линия */
#simplecheckout_cart22 .cart__accordion span::before,
#simplecheckout_comment .cart__accordion span::before {
    content: "";

    position: absolute;
    left: 50%;
    top: 50%;

    width: 12px;
    height: 2px;

    background: #12aee8;

    transform: translate(-50%, -50%);
}

/* вертикальная линия */
#simplecheckout_cart22 .cart__accordion span::after,
#simplecheckout_comment .cart__accordion span::after {
    content: "";

    position: absolute;
    left: 50%;
    top: 50%;

    width: 1px;
    height: 12px;

    background: #12aee8;

    transform: translate(-50%, -50%);
}

/* открытое состояние = минус */
#simplecheckout_cart22 .cart__accordion-item--open .cart__accordion span::after,
#simplecheckout_comment.cart__accordion-item--open .cart__accordion span::after {
    display: none;
}

#simplecheckout_cart22 .cart__accordion-panel,
#simplecheckout_comment .cart__accordion-panel {
    display: none;
    padding: 0 18px 18px !important;
}

#simplecheckout_cart22 .cart__accordion-item--open .cart__accordion-panel,
#simplecheckout_comment.cart__accordion-item--open .cart__accordion-panel {
    display: block !important;
}

#simplecheckout_cart22 .cart__inline-form {
    display: grid;
    grid-template-columns: 1fr 64px;
    gap: 8px;
}

#simplecheckout_cart22 .cart__inline-form input,
#simplecheckout_comment textarea {
    width: 100% !important;
    min-width: 0;
    border: 1px solid #cbd4e0 !important;
    background: #fff !important;
    background-image: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    color: #0d2540 !important;
    font-size: 14px !important;
}

#simplecheckout_cart22 .cart__inline-form input {
    height: 38px;
    padding: 0 12px;
}

#simplecheckout_cart22 .cart__inline-form button {
    border: 0;
    background: #009AD9;
    color: #fff;
    font-weight: 800;
    cursor: pointer;
}

.checkout-layout__right #simplecheckout_comment {
    width: 100%;
}

.checkout-layout__right #simplecheckout_comment .simplecheckout-block-content {
    padding-top: 16px;
}

.checkout-layout__right #simplecheckout_comment textarea {
    display: block;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 100% !important;
    min-height: 170px !important;
    padding: 18px !important;
    line-height: 1.4 !important;
    box-sizing: border-box;
    resize: vertical;
    background: #fff;
}

#simplecheckout_comment textarea::placeholder {
    color: #53677d !important;
    opacity: 1 !important;
}

#simplecheckout_cart22 .cart__summary {
    background: #fff;
    padding: 18px 18px 0 !important;
    margin: 0 !important;
}

#simplecheckout_cart22 .cart__summary h2 {
    margin: 0 0 28px !important;
    color: #0d2540;
    font-size: 18px !important;
    line-height: 1.2 !important;
    font-weight: 800;
}

#simplecheckout_cart22 .cart__summary-row {
    display: grid !important;
    grid-template-columns: 1fr auto !important;
    align-items: center !important;
    gap: 16px !important;
    margin: 0 0 24px !important;
    border: 0 !important;
    color: #53677d !important;
    font-size: 15px !important;
    line-height: 1.3 !important;
}

#simplecheckout_cart22 .cart__summary-row > span:first-child,
#simplecheckout_cart22 .cart__summary-row > span:first-child b {
    color: #53677d !important;
    font-size: 15px !important;
    font-weight: 500 !important;
}

#simplecheckout_cart22 .cart__summary-row .simplecheckout-cart-total-value {
    color: #0d2540 !important;
    font-size: 15px !important;
    font-weight: 800 !important;
    text-align: right !important;
}

#simplecheckout_cart22 #total_coupon .simplecheckout-cart-total-value,
#simplecheckout_cart22 #total_discount .simplecheckout-cart-total-value {
    color: #ed0000 !important;
    text-decoration: line-through !important;
    font-size: 17px !important;
}

#simplecheckout_cart22 #total_total {
    border-top: 1px solid #dfe2e8 !important;
    padding-top: 28px !important;
    margin: 28px 0 20px !important;
}

#simplecheckout_cart22 #total_total > span:first-child,
#simplecheckout_cart22 #total_total > span:first-child b {
    color: #53677d !important;
    font-size: 17px !important;
    font-weight: 500 !important;
}

#simplecheckout_cart22 #total_total .simplecheckout-cart-total-value {
    color: #0d2540 !important;
    font-size: 28px !important;
    line-height: 1 !important;
    font-weight: 800 !important;
}

#simplecheckout_cart_total {
    display: none !important;
}

#simplecheckout_cart22 .read-text {
    margin: 0 !important;
    padding: 0 0 18px !important;
    color: #53677d;
    font-size: 12px;
    line-height: 1.5;
}

#simplecheckout_cart22 .read-text a {
    color: inherit;
    text-decoration: underline;
}

.simplecheckout-button-right {
    width: 100%;
}

.checkout-layout__right #buttons {
    background: #fff !important;
    padding: 0 18px 18px !important;
    margin: -15px 0 0 !important;
}

.checkout-layout__right #simplecheckout_cart22 {
    margin-bottom: 0 !important;
}

.checkout-layout__right #simplecheckout_button_confirm,
#simplecheckout_button_confirm {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 100% !important;
    height: 48px !important;
    border: 0 !important;
    background: #009AD9 !important;
    color: #fff !important;
    font-size: 15px !important;
    font-weight: 800 !important;
    text-decoration: none;
    text-transform: none;
}

#simplecheckout_button_confirm .btn--text {
    color: #fff !important;
}

#button-confirm {
    width: 1px;
    height: 1px;
    overflow: hidden;
    color: transparent;
    background: transparent;
    background-color: transparent;
}

@media (max-width: 900px) {
    #simplecheckout_customer,
    #simplecheckout_shipping,
    #simplecheckout_payment {
        padding: 18px 16px !important;
    }

    #simplecheckout_customer fieldset.form-horizontal {
        grid-template-columns: 1fr;
    }

    #simplecheckout_shipping .cart__option label {
        grid-template-columns: 22px 28px minmax(0, 1fr) auto !important;
        column-gap: 10px !important;
        padding: 12px !important;
    }

    #simplecheckout_payment .cart__option label {
        grid-template-columns: 22px minmax(0, 1fr) !important;
        gap: 10px !important;
        padding: 12px !important;
    }

    #simplecheckout_shipping .cart__option strong {
        font-size: 13px !important;
    }

    #simplecheckout_cart .cart-product-item {
        grid-template-columns: 84px minmax(0, 1fr);
        gap: 12px;
        padding: 16px !important;
    }

    #simplecheckout_cart .cart-product-item__image,
    #simplecheckout_cart .cart-product-item__image a,
    #simplecheckout_cart .cart-product-item__image img {
        width: 84px;
        height: 82px;
    }

    #simplecheckout_cart .cart-product-item__bottom {
        margin-top: 16px;
    }

    #simplecheckout_cart .cart-product-item__qty-btn,
    #simplecheckout_cart .cart-product-item__qty-input {
        width: 34px !important;
        height: 31px !important;
        line-height: 31px !important;
    }

    .cart__upsell-list {
        grid-auto-columns: calc((100% - 14px) / 2);
    }
}


.cart__accordion,
#simplecheckout_button_confirm .btn--text {
    font-family:  'Museo Sans Cyrl', Arial, Helvetica, sans-serif;
}

.cart-checkout-footer__inner {
    font-size: 12px;
}

/* === Alert / errors === */
.simplecheckout-warning-block.alert.alert-danger {
    position: relative !important;
    padding: 18px 52px 18px 20px !important;
}

.simplecheckout-warning-block .cart-alert-close {
    position: absolute;
    top: 25%;
    right: 5px;
    transform: translateY(-50%);

    width: 24px;
    height: 24px;
    border: 0;
    background: transparent;

    color: #ff2b2b;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
}

ul.dropdown-address {
    padding: 15px !important;
}

ul.dropdown-address li {
    font-size: 16px !important;
    font-weight: 400 !important;
}

ul.cart__benefits li {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: center;
}

ul.cart__benefits li span {
    margin-right: 5px;
}

.cart__toggle,
.cart__summary-toggle,
.cart__comment-toggle {
    width: 42px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    border: 1px solid #19A0DB;
    background: #fff;

    color: #19A0DB;
    font-size: 28px;
    font-weight: 300;
    line-height: 1;

    padding: 0;
    margin: 0;

    cursor: pointer;
    transition: .2s ease;
}

.cart__toggle span,
.cart__summary-toggle span,
.cart__comment-toggle span {
    display: block;
    line-height: 1;
    transform: translateY(-1px);
}


.cart__price {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: flex-start;
    gap: 4px;

    min-width: 110px;
    margin-top: 36px;

    white-space: nowrap;
    text-align: right;
}

.cart__old-price {
    display: block;
    color: #9aa6b5;
    font-size: 13px;
    line-height: 1;
    font-weight: 500;
    text-decoration: line-through;
}

.cart__new-price {
    display: block;
    color: #ed0000;
    font-size: 17px;
    line-height: 1;
    font-weight: 800;
}

.cart__regular-price {
    display: block;
    color: #0d2540;
    font-size: 17px;
    line-height: 1;
    font-weight: 800;
}

#simplecheckout_cart .cart-product-item__price .cart__price {
    margin-top: 0;
}

@media (max-width: 1280px) {
    #simplecheckout_shipping .cart__option label {
        grid-template-columns: 22px 28px minmax(0, 1fr) auto !important;
        column-gap: 10px !important;
    }

    #simplecheckout_shipping .cart__option b {
        min-width: 0 !important;
        overflow-wrap: normal !important;
        word-break: normal !important;
        hyphens: none !important;
    }

    #simplecheckout_shipping .cart__option strong {
        min-width: 64px !important;
    }
}

@media (max-width: 640px) {
    #simplecheckout_shipping .cart__option label {
        grid-template-columns: 22px 28px minmax(0, 1fr) !important;
        grid-template-areas:
            "radio icon title"
            "radio icon price" !important;
        row-gap: 4px !important;
    }

    #simplecheckout_shipping .cart__option strong {
        justify-self: start !important;
        text-align: left !important;
        min-width: 0 !important;
        font-size: 13px !important;
    }
}

#simplecheckout_shipping .cart__option,
#simplecheckout_shipping .cart__option label,
#simplecheckout_shipping .cart__option b {
    word-break: normal !important;
    overflow-wrap: normal !important;
    hyphens: none !important;
}

/* === Summary totals polish === */

#simplecheckout_cart22 .cart__summary {
    padding: 22px 24px 24px !important;
}

#simplecheckout_cart22 .cart__summary h2 {
    margin: 0 0 26px !important;
    font-size: 22px !important;
    line-height: 1.2 !important;
    font-weight: 800 !important;
}

#simplecheckout_cart22 .cart__summary-row {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 16px !important;
    margin: 0 0 20px !important;
    color: #53677d !important;
    font-size: 16px !important;
    line-height: 1.3 !important;
}

#simplecheckout_cart22 .cart__summary-row > span:first-child {
    flex: 1 1 auto !important;
    text-align: left !important;
}

#simplecheckout_cart22 .cart__summary-row .simplecheckout-cart-total-value {
    flex: 0 0 auto !important;
    margin-left: auto !important;
    text-align: right !important;
    color: #0d2540 !important;
    font-size: 16px !important;
    font-weight: 800 !important;
    white-space: nowrap !important;
}

#simplecheckout_cart22 #total_total {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 18px !important;
    border-top: 1px solid #dfe2e8 !important;
    padding-top: 30px !important;
    margin: 28px 0 24px !important;
}

#simplecheckout_cart22 #total_total > span:first-child {
    text-align: left !important;
    color: #53677d !important;
    font-size: 20px !important;
    font-weight: 500 !important;
}

#simplecheckout_cart22 #total_total .simplecheckout-cart-total-value {
    margin-left: auto !important;
    text-align: right !important;
    color: #0d2540 !important;
    font-size: 28px !important;
    line-height: 1 !important;
    font-weight: 800 !important;
    white-space: nowrap !important;
}

#simplecheckout_cart22 #total_coupon .simplecheckout-cart-total-value,
#simplecheckout_cart22 #total_discount .simplecheckout-cart-total-value {
    color: #ed0000 !important;
    text-decoration: line-through !important;
    font-size: 18px !important;
}

.cart__summary .simplecheckout-cart-total svg {
    display: none !important;
}

.simplecheckout-button-right {
    margin-bottom: 15px;
}

.cart__upsell-card {
    display: flex;
    flex-direction: column;
}

.cart__upsell-card .cart__card-price {
    margin-top: auto;
}

/* === Cart goals / progress bars === */

.cart__goals {
    background: #fff;
    padding: 18px;
    margin-bottom: 20px;
}

.cart__goal + .cart__goal {
    margin-top: 20px;
}

.cart__goal-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 8px;
    color: #0d2540;
    font-size: 14px;
    line-height: 1.3;
}

.cart__goal-row b {
    font-size: 14px;
    font-weight: 800;
}

.cart__goal-row span {
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
}

.cart__goal--done .cart__goal-row span {
    color: #39a9a6;
    font-weight: 800;
}

.cart__progress {
    position: relative;
    height: 6px;
    border-radius: 10px;
    background: #e5e8ee;
    overflow: visible;
}

.cart__progress span {
    display: block;
    height: 100%;
    border-radius: 10px;
    background: #069bd3;
}

.cart__progress--orange span {
    background: #f06425;
}

.cart__progress--green span,
.cart__progress--done span {
    background: #58bebc;
}

.cart__progress--done::after {
    content: "✓";
    position: absolute;
    right: -1px;
    top: 50%;
    width: 22px;
    height: 22px;
    transform: translateY(-50%);

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;
    background: #39a9a6;
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    box-shadow: 0 0 0 4px #fff;
}

@media (max-width: 900px) {
    .cart__goals {
        padding: 18px 16px;
    }

    .cart__goal-row {
        font-size: 14px;
    }

    .cart__goal-row span {
        white-space: normal;
        text-align: right;
    }
}

.cart__special {
    color: #fff;
    background: #f06425;
    max-width: 45px;
    font-size: 16px;
    font-weight: 700;
    text-align: center;
    position: relative;
    top: 20px;
}

.cart__progress--done::after {
    content: "✓";
    position: absolute;
    right: -1px;
    top: 50%;
    width: 22px;
    height: 22px;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #39a9a6;
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    box-shadow: 0 0 0 4px #fff;
}

.section.section--order-form {
    padding: 0 !important;
}

.cart-checkout-footer {
    width: 100%;
    max-width: 1170px;
    padding: 0 15px;
    margin: 0 auto;
}

.cart-checkout-footer__inner {
    padding: 10px 0;
}
.section.section--order-form .order {
    padding-top: 0 !important;
}

.read-text > span {
    text-align: left;
    display: block;
    margin-bottom: 15px;
}

/* desktop: 4 карточки */
.cart__upsell {
    overflow: hidden !important;
}

.cart__upsell-list {
    display: grid !important;
    grid-auto-flow: column !important;
    grid-auto-columns: calc((100% - 42px) / 4) !important;
    grid-template-columns: none !important;
    gap: 14px !important;

    width: 100% !important;
    max-width: 100% !important;

    overflow-x: auto !important;
    overflow-y: hidden !important;

    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    touch-action: pan-y pan-x !important;

    scrollbar-width: none;
    padding-bottom: 0 !important;
}

.cart__upsell-list::-webkit-scrollbar {
    display: none;
}

.cart__upsell-scrollbar {
    height: 5px;
    margin: 14px 12px 0;
    background: #dde3ea;
    border-radius: 20px;
    overflow: hidden;
}

.cart__upsell-scrollbar span {
    display: block;
    height: 100%;
    width: 36px;
    background: #9aa6b5;
    border-radius: 20px;
    transform: translateX(0);
}

@media (max-width: 900px) {
    .cart__upsell-list {
        grid-auto-columns: calc((100% - 14px) / 1.5) !important;
    }
}

.cart__upsell-card {
    position: relative;
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    background: #fff;
    padding: 16px 12px 12px;
    min-width: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
}

.cart__discount,
.cart__special {
    position: absolute;
    left: 12px;
    top: 12px;
    z-index: 3;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 42px;
    height: 24px;
    padding: 0 8px;

    background: #ed0000;
    color: #fff;
    font-size: 14px;
    line-height: 1;
    font-weight: 800;
}

.cart__special {
    background: #f06425;
}

.cart__upsell-card a {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    height: 150px;
    margin: 0 0 14px !important;
}

.cart__upsell-img {
    display: block;
    width: 100% !important;
    max-width: 100% !important;
    height: 150px !important;
    object-fit: contain !important;
    margin: 0 !important;
}

.cart__upsell-card h3 {
    margin: 0 0 6px;
    color: #0d2540;
    font-size: 14px;
    line-height: 1.25;
    font-weight: 800;
}

.cart__upsell-card p {
    min-height: 72px;
    margin: 0 0 12px !important;
    color: #52657a;
    font-size: 13px;
    line-height: 1.35;
    overflow-wrap: normal;
    word-break: normal;
}

.cart__card-price {
    margin-top: auto !important;
    min-height: 26px;
    margin-bottom: 12px;
}

.cart__add {
    margin-top: 8px !important;
}