.favorite-block-wrap .favorite-block.is-null,
.favorite-block-wrap .favorite-block.is-null .favorite-btn {
    pointer-events: auto !important;
    cursor: pointer;
}

.lv-favorites-clear {
    margin: 0 0 20px;
}

.sorting-block__result {
    min-height: 60px;
}

@media (max-width: 767px) {
    .sorting-block__result {
        min-height: 50px;
    }
}

#favorites-empty[hidden],
#favorites-list[hidden] {
    display: none !important;
}

.site-main .shop2-compare-container {
    overflow-x: auto;
}

.shop2-compare-page .shop2-compare-header2 td {
    vertical-align: top;
}

.shop2-compare-page a.shop2-compare-delete {
    display: flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    height: 32px;
    box-sizing: border-box;
    margin: 0 auto 14px;
    padding: 0 12px;
    border-radius: 999px;
    background: #f1f4f7;
    color: #5c6770;
    font-size: 13px;
    line-height: 1;
    text-decoration: none;
    transition: background .18s linear, color .18s linear;
}

.shop2-compare-page a.shop2-compare-delete span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 0;
    position: static;
}

.shop2-compare-page a.shop2-compare-delete span svg {
    position: static;
    top: auto;
    right: auto;
    width: 14px;
    height: 14px;
    margin: 0;
    transform: none;
    fill: currentColor;
}

.shop2-compare-page a.shop2-compare-delete ins {
    border: 0;
    background: none;
    text-decoration: none;
    font-style: normal;
}

.shop2-compare-page a.shop2-compare-delete:hover {
    background: #e5f6fb;
    color: var(--gr_primary);
}

.shop2-compare-page a.shop2-compare-delete:hover span svg {
    fill: currentColor;
}

.cart-popup #shop2-cart .popup-product__image {
    padding-top: 100%;
}

.cart-popup__btns .gr_cart_btn {
    margin-top: 0;
}

.lv-cart {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 48px;
    align-items: start;
}

.lv-cart__head,
.lv-cart__item {
    display: grid;
    grid-template-columns: 88px minmax(0, 1fr) 132px 110px 36px;
    gap: 12px 20px;
    align-items: center;
}

.lv-cart__head {
    padding: 0 0 10px;
    color: var(--on_gr_bg_sec_text);
    font-size: 13px;
    line-height: 1.2;
}

.lv-cart__head span:first-child {
    grid-column: 1 / 3;
}

.lv-cart__head span:nth-child(2) {
    text-align: center;
}

.lv-cart__head span:last-child {
    text-align: right;
}

.lv-cart__item {
    padding: 18px 0;
    border-top: 1px solid var(--on_gr_bg_border_4);
}

.lv-cart__image {
    display: block;
    width: 88px;
    height: 88px;
    overflow: hidden;
    border-radius: var(--gr_inner_radius);
    background: var(--on_gr_bg_bg_8);
}

.lv-cart__image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lv-cart__name {
    color: var(--on_gr_bg_acc_text);
    font-size: 16px;
    line-height: 1.3;
    font-weight: 500;
    text-decoration: none;
    overflow-wrap: anywhere;
}

.lv-cart__name:hover {
    color: var(--gr_primary);
}

.lv-cart__unit {
    margin-top: 6px;
    color: var(--on_gr_bg_sec_text);
    font-size: 14px;
    line-height: 1.2;
}

body .lv-cart .shop2-product-amount {
    display: flex;
    align-items: center;
    float: none;
    width: 132px;
    margin: 0;
}

body .lv-cart .cart-amount .shop2-product-amount button,
body .lv-cart .cart-amount .shop2-product-amount input {
    height: 40px;
    line-height: 40px;
}

.lv-cart__sum {
    color: var(--on_gr_bg_acc_text);
    font-size: 18px;
    line-height: 1;
    text-align: right;
    white-space: nowrap;
}

.lv-cart__sum span {
    font-size: 14px;
}

.lv-cart__remove {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f1f4f7;
    text-decoration: none;
}

.lv-cart__remove svg {
    width: 16px;
    height: 16px;
    fill: #5c6770;
}

.lv-cart__remove:hover {
    background: #e5f6fb;
}

.lv-cart__remove:hover svg {
    fill: var(--gr_primary);
}

.lv-cart__clear {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 18px;
    color: var(--on_gr_bg_sec_text);
    font-size: 14px;
    line-height: 1.1;
    text-decoration: none;
}

.lv-cart__clear svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.lv-cart__clear ins {
    text-decoration: none;
}

.lv-cart__clear:hover {
    color: var(--gr_primary);
}

.lv-cart__side {
    padding: 24px;
    border: 1px solid var(--on_gr_bg_border_4);
    border-radius: var(--gr_wrap_radius);
    background: #fff;
}

.lv-cart__total {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    margin: 0 0 22px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--on_gr_bg_border_4);
    color: var(--on_gr_bg_sec_text);
    font-size: 15px;
}

.lv-cart__total strong {
    color: var(--on_gr_bg_acc_text);
    font-size: 26px;
    line-height: 1;
    font-weight: 500;
}

.lv-cart__total strong span {
    font-size: 16px;
}

.lv-cart-order {
    max-width: none;
    margin-top: 0;
}

.lv-cart-order h2 {
    margin: 0 0 18px;
    font-size: 22px;
}

.lv-cart-order label {
    display: block;
    margin: 0 0 14px;
    color: var(--on_gr_bg_sec_text);
    font-size: 14px;
}

.lv-cart-order input,
.lv-cart-order textarea {
    display: block;
    width: 100%;
    box-sizing: border-box;
    margin-top: 6px;
    border: 1px solid var(--on_gr_bg_border_4);
    border-radius: var(--gr_inner_radius);
    background: #fff;
    color: var(--on_gr_bg_acc_text);
    font: inherit;
}

.lv-cart-order input {
    height: 44px;
    padding: 0 12px;
}

.lv-cart-order textarea {
    height: 90px;
    padding: 10px 12px;
    resize: vertical;
}

.lv-cart-order button {
    width: 100%;
    height: 50px;
    margin-top: 6px;
    padding: 0 28px;
    border: 0;
    border-radius: var(--gr_btn_radius);
    background: var(--gr_accent);
    color: var(--gr_btn_2_text);
    font-weight: 700;
    cursor: pointer;
}

.lv-cart-order .shop2-warning {
    margin: 0 0 16px;
}

.lv-cart-thanks {
    display: flex;
    align-items: center;
    gap: 16px;
    max-width: 640px;
    margin: 8px 0 0;
    padding: 20px 24px;
    border-radius: var(--gr_wrap_radius);
    background: var(--gr_success_2);
    box-shadow: inset 0 0 0 1px var(--gr_success_4);
    color: var(--on_gr_bg_acc_text);
    font-size: 16px;
    line-height: 1.4;
}

.lv-cart-thanks svg {
    flex: 0 0 auto;
    width: 36px;
    height: 36px;
    fill: var(--gr_success);
}

.lv-cart-thanks strong {
    display: block;
    font-size: 18px;
    font-weight: 500;
}

.lv-cart-empty {
    margin: 0;
}

@media (max-width: 980px) {
    .lv-cart {
        grid-template-columns: 1fr;
        gap: 28px;
    }
}

@media (max-width: 640px) {
    .lv-cart__head {
        display: none;
    }

    .lv-cart__item {
        grid-template-columns: 72px minmax(0, 1fr) auto;
    }

    .lv-cart__image {
        grid-column: 1;
        grid-row: 1 / span 2;
        width: 72px;
        height: 72px;
    }

    .lv-cart__info {
        grid-column: 2;
        grid-row: 1;
    }

    .lv-cart__qty {
        grid-column: 2;
        grid-row: 2;
    }

    .lv-cart__sum {
        grid-column: 3;
        grid-row: 2;
        align-self: center;
    }

    .lv-cart__remove {
        grid-column: 3;
        grid-row: 1;
        justify-self: end;
    }
}

/* Recent-item cards dropped into a catalog grid use the same column as product cards. */
.product-list.thumbs > .recent-item {
    box-sizing: border-box;
    flex: 0 0 auto;
}

.product_columns_2 .product-list.thumbs > .recent-item {
    position: relative;
    margin: 0 15px 30px;
    width: calc(50% - 30px);
    min-width: calc(50% - 30px);
    max-width: calc(50% - 30px);
}

.product_columns_3 .product-list.thumbs > .recent-item {
    position: relative;
    margin: 0 15px 30px;
    width: calc(33.3333333333% - 30px);
    min-width: calc(33.3333333333% - 30px);
    max-width: calc(33.3333333333% - 30px);
}

.product_columns_4 .product-list.thumbs > .recent-item,
.product_columns_5 .product-list.thumbs > .recent-item {
    position: relative;
    margin: 0 10px 20px;
    width: calc(25% - 20px);
    min-width: calc(25% - 20px);
    max-width: calc(25% - 20px);
}

.product_columns_5 .product-list.thumbs > .recent-item {
    width: calc(20% - 20px);
    min-width: calc(20% - 20px);
    max-width: calc(20% - 20px);
}

.product-list.thumbs > .recent-item .recent-item__inner {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 25px;
    background: var(--gr_bg);
    border-radius: var(--gr_wrap_radius);
    box-shadow: inset 0 0 0 1px var(--on_gr_bg_border_4);
    box-sizing: border-box;
}

.product-list.thumbs > .recent-item .gr-recent-image {
    position: relative;
    width: 100%;
    margin: 0 0 18px;
}

.product-list.thumbs > .recent-item .gr-recent-image a {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-list.thumbs > .recent-item .gr-recent-image img {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-list.thumbs > .recent-item .recent-item__bottom-add {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
}

.product-list.thumbs > .recent-item .shop-product-btn {
    width: 100%;
}

@media (max-width: 1260px) {
    .product_columns_2 .product-list.thumbs > .recent-item,
    .product_columns_3 .product-list.thumbs > .recent-item {
        margin: 0 10px 20px;
    }

    .product_columns_2 .product-list.thumbs > .recent-item {
        width: calc(50% - 20px);
        min-width: calc(50% - 20px);
        max-width: calc(50% - 20px);
    }

    .product_columns_3 .product-list.thumbs > .recent-item,
    .product_columns_4 .product-list.thumbs > .recent-item {
        width: calc(33.3333333333% - 20px);
        min-width: calc(33.3333333333% - 20px);
        max-width: calc(33.3333333333% - 20px);
    }

    .product-list.thumbs > .recent-item .recent-item__inner {
        padding: 20px;
    }
}

@media (max-width: 767px) {
    .product_columns_4 .product-list.thumbs > .recent-item,
    .product_columns_5 .product-list.thumbs > .recent-item {
        margin: 0 6px 20px;
        width: calc(33.3333333333% - 12px);
        min-width: calc(33.3333333333% - 12px);
        max-width: calc(33.3333333333% - 12px);
    }

    .product-list.thumbs > .recent-item .recent-item__inner {
        padding: 15px;
    }

    .product-list.thumbs > .recent-item .gr-recent-image {
        margin-bottom: 8px;
    }
}

@media (max-width: 639px) {
    .product_columns_4 .product-list.thumbs > .recent-item,
    .product_columns_5 .product-list.thumbs > .recent-item {
        width: calc(50% - 12px);
        min-width: calc(50% - 12px);
        max-width: calc(50% - 12px);
    }

    .product-list.thumbs > .recent-item .recent-item__inner {
        padding: 0;
        box-shadow: none;
    }
}

#search-app.is-open #search-result {
    display: block;
}

.remodal_search_desc_add #search-result {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    width: 100%;
    max-height: 60vh;
    margin-top: 16px;
    box-sizing: border-box;
}

.lv-search-empty,
.lv-search-note {
    margin: 0;
    color: var(--on_gr_bg_sec_text);
    font-size: 15px;
    line-height: 1.4;
}

.lv-search-cats {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 28px;
}

.lv-search-cats a {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 0 14px;
    border-radius: 999px;
    background: #f1f4f7;
    color: var(--on_gr_bg_acc_text);
    font-size: 14px;
    text-decoration: none;
}

.lv-search-cats a:hover {
    background: var(--gr_primary);
    color: var(--gr_btn_3_text_h);
}

.login-btns a.login-form-btn,
.mobile-burger__login_btns a.login-mob-btn {
    text-decoration: none;
}

.lv-auth-note {
    margin: 0 0 18px;
    padding: 14px 16px;
    border-radius: var(--gr_wrap_radius);
    background: var(--gr_success_2);
    box-shadow: inset 0 0 0 1px var(--gr_success_4);
    color: var(--on_gr_bg_acc_text);
    font-size: 15px;
    line-height: 1.4;
}

.lv-auth-note.is-error {
    background: var(--gr_error_1);
    box-shadow: inset 0 0 0 1px var(--gr_error);
}

.lv-account {
    max-width: 520px;
}

.lv-account__row {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    padding: 14px 0;
    border-bottom: 1px solid var(--on_gr_bg_border_4);
    font-size: 16px;
}

.lv-account__row span {
    color: var(--on_gr_bg_sec_text);
}

.lv-account__logout {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    margin-top: 22px;
    padding: 0 28px;
    border-radius: var(--gr_btn_radius);
    background: var(--gr_accent);
    color: var(--gr_btn_2_text);
    font-weight: 700;
    text-decoration: none;
}

.lv-reset {
    display: grid;
    gap: 16px;
    max-width: 420px;
    margin-top: 18px;
}

.lv-reset label {
    display: grid;
    gap: 8px;
    color: var(--on_gr_bg_acc_text);
    font-size: 14px;
}

.lv-reset input {
    height: 44px;
    padding: 0 14px;
    border: 1px solid var(--on_gr_bg_border_4);
    border-radius: var(--gr_inner_radius, 8px);
    font: inherit;
}

.lv-reset button {
    height: 44px;
    border: 0;
    border-radius: var(--gr_btn_radius);
    background: var(--gr_accent);
    color: var(--gr_btn_2_text);
    font-weight: 700;
    cursor: pointer;
}

.lv-terms {
    max-width: 860px;
}

.lv-terms h2 {
    margin: 8px 0 20px;
    font-size: 22px;
    line-height: 1.3;
}

.lv-terms h3 {
    margin: 28px 0 12px;
    font-size: 18px;
    line-height: 1.3;
}

.lv-terms p,
.lv-terms li {
    margin: 0 0 12px;
    line-height: 1.55;
}

.lv-terms ul {
    margin: 0 0 12px;
    padding-left: 22px;
}
