/* Local cart preview. Checkout actions and delivery scripts are unchanged. */
body.mobile-redesign-page .mobile-cart-view {
    --cart-text: #23282c;
    --cart-muted: #626b72;
    --cart-border: #d8dfe3;
    color: var(--cart-text);
}

body.mobile-redesign-page .mobile-cart-view .content_head {
    margin: 0;
    padding: 22px 16px 16px;
    border: 0;
    background: #fff;
    text-align: left;
}

body.mobile-redesign-page .mobile-cart-view h1.title_h1,
body.mobile-redesign-page .mobile-cart-view .content_head h2 {
    margin: 0;
    padding: 0;
    color: var(--cart-text);
    font-size: 26px;
    font-weight: 700;
    line-height: 1.25;
    text-transform: none;
    letter-spacing: 0;
}

body.mobile-redesign-page .mobile-cart-view .content_head h2 {
    font-size: 23px;
}

body.mobile-redesign-page .mobile-cart-view .catalog {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0 16px 20px;
    list-style: none;
}

body.mobile-redesign-page .mobile-cart-view .catalog > li {
    margin: 0;
    padding: 14px;
    border: 1px solid #e3e7ea;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(25, 34, 40, .05);
}

body.mobile-redesign-page .mobile-cart-view .top_frame_tov {
    display: block;
    width: 100%;
    overflow: visible;
    text-align: left;
}

body.mobile-redesign-page .mobile-cart-view .mobile-cart-product {
    display: grid;
    grid-template-columns: 88px minmax(0, 1fr);
    align-items: start;
    gap: 12px;
    color: var(--cart-text);
}

body.mobile-redesign-page .mobile-cart-view .figure {
    display: block;
    width: 88px;
    height: 88px;
    margin: 0;
    padding: 0;
}

body.mobile-redesign-page .mobile-cart-view .figure img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

body.mobile-redesign-page .mobile-cart-view .descr {
    display: block;
    margin: 0;
    padding: 0;
    min-width: 0;
}

body.mobile-redesign-page .mobile-cart-view .descr .title {
    display: block;
    padding: 0;
    margin: 0 0 7px;
    color: var(--cart-text);
    font-size: 16px;
    font-weight: 600;
    line-height: 1.35;
    text-transform: none;
    overflow-wrap: anywhere;
}

body.mobile-redesign-page .mobile-cart-view .code_v,
body.mobile-redesign-page .mobile-cart-view .code {
    display: block;
    margin: 4px 0 0;
    color: var(--cart-muted);
    font-size: 12px;
    font-weight: 400;
    line-height: 1.4;
    overflow-wrap: anywhere;
}

body.mobile-redesign-page .mobile-cart-view .mobile-cart-item-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid #edf0f2;
}

body.mobile-redesign-page .mobile-cart-view .price {
    position: static;
    display: block;
    width: auto;
    height: auto;
    margin: 0;
    padding: 0;
    background: none;
    text-align: left;
    line-height: 1.2;
}

body.mobile-redesign-page .mobile-cart-view .mobile-cart-current-price {
    color: #a81925;
    font-size: 22px;
    font-weight: 700;
}

body.mobile-redesign-page .mobile-cart-view .mobile-cart-old-price {
    margin: 0 0 4px;
    color: var(--cart-muted);
    font-size: 13px;
    text-decoration: line-through 2px #b61f24;
    text-decoration-skip-ink: none;
}

body.mobile-redesign-page .mobile-cart-view .mobile-cart-old-price::after {
    content: none;
}

body.mobile-redesign-page .mobile-cart-view .mobile-cart-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

body.mobile-redesign-page .mobile-cart-view .counter-js {
    float: none;
}

body.mobile-redesign-page .mobile-cart-view .count-act {
    display: grid;
    grid-template-columns: 34px 34px 34px;
    height: 38px;
    margin: 0;
    padding: 0;
    overflow: hidden;
    border: 1px solid var(--cart-border);
    border-radius: 4px;
    background: #fff;
}

body.mobile-redesign-page .mobile-cart-view .count-act::after {
    content: none;
}

body.mobile-redesign-page .mobile-cart-view .minus-btn,
body.mobile-redesign-page .mobile-cart-view .plus-btn {
    float: none;
    width: 34px;
    height: 38px;
    min-height: 0;
    margin: 0;
    padding: 0;
    border: 0;
    background: #f3f5f6;
    color: var(--cart-text);
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
}

body.mobile-redesign-page .mobile-cart-view .count-act .quantity_val {
    width: 34px !important;
    height: 38px !important;
    min-height: 0;
    margin: 0 !important;
    padding: 0 !important;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: #fff;
    color: var(--cart-text);
    font-size: 16px !important;
    line-height: normal;
    text-align: center;
    box-sizing: border-box;
}

body.mobile-redesign-page .mobile-cart-view .remove_ref {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    margin: 0;
    padding: 0;
    border: 1px solid #e4e8ea;
    border-radius: 4px;
    background: #fff;
    text-shadow: none;
}

body.mobile-redesign-page .mobile-cart-view .remove_ref::before {
    content: none;
}

body.mobile-redesign-page .mobile-cart-view .main_frame_inside {
    padding: 0 16px 20px;
    border: 0;
    background: #fff;
    text-align: left;
    overflow: visible;
}

body.mobile-redesign-page .mobile-cart-view .gen_sum {
    padding: 16px 0;
    border-top: 1px solid var(--cart-border);
    border-bottom: 1px solid var(--cart-border);
    color: var(--cart-muted);
    font-size: 14px;
    line-height: 1.6;
    text-align: left;
}

body.mobile-redesign-page .mobile-cart-view .total_pay {
    display: block;
    margin: 4px 0;
    color: var(--cart-text);
    font-size: 16px;
    font-weight: 600;
}

body.mobile-redesign-page .mobile-cart-view .gen_sum .colorpris {
    color: #a81925;
    font-size: 30px;
    font-weight: 700;
}

body.mobile-redesign-page .mobile-cart-view .mobile-cart-divider {
    display: none;
}

body.mobile-redesign-page .mobile-cart-view .mobile-cart-checkout > label {
    display: block;
    margin: 0 0 18px;
    padding: 0;
    color: var(--cart-text);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
}

body.mobile-redesign-page .mobile-cart-view .mobile-cart-checkout input:not([type="hidden"]):not([type="radio"]):not([type="checkbox"]),
body.mobile-redesign-page .mobile-cart-view .mobile-cart-checkout select:not(.select2-hidden-accessible),
body.mobile-redesign-page .mobile-cart-view .mobile-cart-checkout textarea {
    display: block;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    min-height: 48px;
    height: auto;
    margin: 8px 0 0;
    padding: 11px 12px;
    box-sizing: border-box;
    border: 1px solid var(--cart-border);
    border-radius: 4px;
    background: #fff;
    box-shadow: none;
    color: var(--cart-text);
    font-family: inherit;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
}

body.mobile-redesign-page .mobile-cart-view .mobile-cart-checkout textarea {
    min-height: 100px;
    resize: vertical;
}

body.mobile-redesign-page .mobile-cart-view input::placeholder,
body.mobile-redesign-page .mobile-cart-view textarea::placeholder {
    color: #6a7278;
    opacity: 1;
}

body.mobile-redesign-page .mobile-cart-view :is(input, select, textarea, button, a):focus-visible {
    outline: 2px solid #c66612;
    outline-offset: 2px;
}

body.mobile-redesign-page .mobile-cart-view #np_delivery {
    margin: 0 0 18px;
}

body.mobile-redesign-page .mobile-cart-view #np_delivery .nptitle {
    display: block;
    margin: 0 0 8px;
    padding: 0;
    color: var(--cart-text);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
}

body.mobile-redesign-page .mobile-cart-view #np_delivery .my-select {
    position: relative;
    margin: 0 0 18px;
}

body.mobile-redesign-page .mobile-cart-view #np_delivery .my-select-result {
    display: flex;
    align-items: center;
    min-width: 0 !important;
    min-height: 48px;
    height: auto;
    padding: 11px 34px 11px 12px;
    box-sizing: border-box;
    border: 1px solid var(--cart-border);
    border-radius: 4px;
    color: var(--cart-text);
    font-size: 16px;
    line-height: 24px;
    cursor: pointer;
}

body.mobile-redesign-page .mobile-cart-view #np_delivery .triangle {
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
}

body.mobile-redesign-page .mobile-cart-view #np_delivery .my-select-drop {
    top: 100%;
    left: 0;
    width: 100% !important;
    box-sizing: border-box;
    border: 1px solid var(--cart-border);
    border-radius: 4px;
    box-shadow: 0 5px 14px rgba(25, 34, 40, .12);
}

body.mobile-redesign-page .mobile-cart-view #np_delivery .my-select-search {
    padding: 8px;
}

body.mobile-redesign-page .mobile-cart-view #np_delivery #my_select_search_field {
    margin: 0;
}

body.mobile-redesign-page .mobile-cart-view #np_delivery .my-select-option {
    padding: 10px 12px;
    color: var(--cart-text);
    font-size: 16px;
    line-height: 22px;
}

body.mobile-redesign-page .mobile-cart-view #np_delivery #np-type-select {
    margin: 10px 0;
}

body.mobile-redesign-page .mobile-cart-view #np_delivery #np-type-select label,
body.mobile-redesign-page .mobile-cart-view #np_delivery #werehouse_label {
    margin: 8px 0;
    color: var(--cart-muted);
    font-size: 13px;
    line-height: 1.5;
}

body.mobile-redesign-page .mobile-cart-view #np_delivery #np_warehouse_div > label,
body.mobile-redesign-page .mobile-cart-view #np_delivery #np-type-select > br {
    display: none;
}

body.mobile-redesign-page .mobile-cart-view #np_delivery #np_warehouse_div {
    position: relative;
}

body.mobile-redesign-page .mobile-cart-view #np_delivery .select2-container {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0;
}

body.mobile-redesign-page .mobile-cart-view #np_delivery #np_warehouse_div > .select2-container--open:not(.select2) {
    width: 100% !important;
    max-width: 100% !important;
}

body.mobile-redesign-page .mobile-cart-view #np_delivery .select2-selection--single {
    height: auto;
    min-height: 48px;
    border: 1px solid var(--cart-border);
    border-radius: 4px;
    background: #fff;
}

body.mobile-redesign-page .mobile-cart-view #np_delivery .select2-selection__rendered {
    display: flex;
    align-items: center;
    height: auto;
    min-height: 48px;
    padding: 11px 34px 11px 12px;
    box-sizing: border-box;
    color: var(--cart-text);
    font-size: 16px;
    line-height: 24px;
    white-space: normal;
    overflow-wrap: anywhere;
}

body.mobile-redesign-page .mobile-cart-view #np_delivery .select2-selection__arrow {
    top: 50%;
    right: 8px;
    transform: translateY(-50%);
}

body.mobile-redesign-page .mobile-cart-view #np_delivery .select2-results__option {
    font-size: 16px !important;
    line-height: 1.4;
}

body.mobile-redesign-page .mobile-cart-view .mobile-cart-submit .but_buy,
body.mobile-redesign-page .mobile-cart-view .mobile-cart-submit .b_buy_in {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
}

body.mobile-redesign-page .mobile-cart-view .mobile-cart-submit .helper {
    display: none;
}

body.mobile-redesign-page .mobile-cart-view .mobile-cart-submit input[type="submit"] {
    width: 100%;
    min-height: 52px;
    margin: 0;
    padding: 14px 16px;
    border: 1px solid #a64900;
    border-radius: 4px;
    background: #b85200;
    box-shadow: none;
    color: #fff;
    font-size: 17px;
    font-weight: 700;
    line-height: 24px;
    text-shadow: none;
}

@media (max-width: 360px) {
    body.mobile-redesign-page .mobile-cart-view .mobile-cart-product {
        grid-template-columns: 64px minmax(0, 1fr);
        gap: 10px;
    }

    body.mobile-redesign-page .mobile-cart-view .figure {
        width: 64px;
        height: 64px;
    }

    body.mobile-redesign-page .mobile-cart-view .mobile-cart-actions {
        margin-left: auto;
    }
}

body.mobile-redesign-page .mobile-cart-empty {
    padding: 32px 16px;
    background: #fff;
    text-align: left;
}
