#ztSaleProducts,
#ztSaleProducts *,
#ztSaleProducts *::before,
#ztSaleProducts *::after {
    box-sizing: border-box;
}

#ztSaleProducts.zt-sale-products {
    position: relative !important;
    left: 50% !important;
    width: 100vw !important;
    width: 100dvw !important;
    max-width: none !important;
    margin: 66px 0 0 !important;
    padding: 42px 0 46px !important;
    overflow: hidden !important;
    color: #1f2529;
    background: #f8f8f7;
    transform: translateX(-50%) !important;
}

#ztSaleProducts .zt-sale-products__shell {
    width: 100% !important;
    max-width: 2048px !important;
    margin-right: auto !important;
    margin-left: auto !important;
    padding-right: 28px !important;
    padding-left: 28px !important;
}

#ztSaleProducts .zt-sale-products__topline {
    min-height: 44px;
    margin-bottom: 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 26px;
}

#ztSaleProducts .zt-sale-products__title-row {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 34px;
}

#ztSaleProducts .zt-sale-products__title {
    margin: 0 !important;
    color: #1d2327 !important;
    font-family: Arial, Helvetica, sans-serif !important;
    font-size: 24px !important;
    font-weight: 800 !important;
    line-height: 1.1 !important;
    letter-spacing: -.025em !important;
    text-transform: none !important;
    white-space: nowrap;
}

#ztSaleProducts .zt-sale-products__tabs {
    display: flex;
    align-items: center;
    gap: 28px;
}

#ztSaleProducts .zt-sale-products__tab {
    position: relative;
    min-height: 38px;
    padding: 0;
    color: #8a8f92;
    background: transparent;
    border: 0;
    font: 600 13px/1 Arial, Helvetica, sans-serif;
    cursor: pointer;
    transition: color .18s ease;
}

#ztSaleProducts .zt-sale-products__tab::after {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 2px;
    content: "";
    background: #ffbd00;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform .18s ease;
}

#ztSaleProducts .zt-sale-products__tab:hover,
#ztSaleProducts .zt-sale-products__tab.is-active {
    color: #242a2e;
}

#ztSaleProducts .zt-sale-products__tab.is-active::after {
    transform: scaleX(1);
}

#ztSaleProducts .zt-sale-products__actions {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 18px;
}

#ztSaleProducts .zt-sale-products__catalog-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #d99b00 !important;
    font: 700 12px/1 Arial, Helvetica, sans-serif;
    text-decoration: none !important;
    white-space: nowrap;
}

#ztSaleProducts .zt-sale-products__catalog-link svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform .18s ease;
}

#ztSaleProducts .zt-sale-products__catalog-link:hover svg {
    transform: translateX(3px);
}

#ztSaleProducts .zt-sale-products__navigation {
    display: flex;
    align-items: center;
    gap: 6px;
}

#ztSaleProducts .zt-sale-products__arrow {
    width: 34px;
    height: 34px;
    padding: 0;
    display: grid;
    place-items: center;
    color: #555d62;
    background: #fff;
    border: 1px solid #e2e4e4;
    border-radius: 50%;
    cursor: pointer;
    transition: color .18s ease, background-color .18s ease, border-color .18s ease;
}

#ztSaleProducts .zt-sale-products__arrow:hover {
    color: #151a1e;
    background: #ffbd00;
    border-color: #ffbd00;
}

#ztSaleProducts .zt-sale-products__arrow svg {
    width: 17px;
    height: 17px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

#ztSaleProducts .zt-sale-products__panel[hidden] {
    display: none !important;
}

#ztSaleProducts .zt-sale-products__slider {
    width: 100%;
    padding: 1px 1px 28px !important;
    overflow: hidden !important;
}

#ztSaleProducts .zt-sale-products__slider .swiper-wrapper {
    align-items: stretch;
}

#ztSaleProducts .zt-product-card {
    min-width: 0;
    height: auto;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    color: #1e2428;
    background: #fff;
    border: 1px solid #e3e5e5;
    border-radius: 7px;
    box-shadow: none;
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

#ztSaleProducts .zt-product-card:hover {
    border-color: #d6d8d8;
    box-shadow: 0 10px 26px rgba(33, 39, 43, .07);
    transform: translateY(-3px);
}

#ztSaleProducts .zt-product-card__media {
    position: relative;
    padding: 12px 12px 0;
    background: #fff;
}

#ztSaleProducts .zt-product-card__badge {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
    min-height: 22px;
    padding: 0 8px;
    display: inline-flex;
    align-items: center;
    color: #fff;
    background: #ffb600;
    border-radius: 3px;
    font: 800 9px/1 Arial, Helvetica, sans-serif;
    letter-spacing: .01em;
}

#ztSaleProducts .zt-product-card--new .zt-product-card__badge {
    color: #256d40;
    background: #dff5e6;
}

#ztSaleProducts .zt-product-card--hit .zt-product-card__badge {
    color: #7a5400;
    background: #ffeab1;
}

#ztSaleProducts .zt-product-card__image {
    width: 100%;
    aspect-ratio: 1.18 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: inherit;
    background: #fff;
    text-decoration: none;
}

#ztSaleProducts .zt-product-card__image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    transition: transform .28s ease;
}

#ztSaleProducts .zt-product-card:hover .zt-product-card__image img {
    transform: scale(1.035);
}

#ztSaleProducts .zt-product-card__placeholder {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    color: #bbc0c3;
    background: linear-gradient(135deg, #fbfbfb, #f1f2f1);
}

#ztSaleProducts .zt-product-card__placeholder svg {
    width: 52px;
    height: 52px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.4;
    stroke-linecap: round;
    stroke-linejoin: round;
}

#ztSaleProducts .zt-product-card__body {
    min-height: 218px;
    padding: 9px 13px 13px;
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
}

#ztSaleProducts .zt-product-card__article {
    margin-bottom: 5px;
    overflow: hidden;
    color: #252a2e;
    font: 800 12px/1.2 Arial, Helvetica, sans-serif;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#ztSaleProducts .zt-product-card__name {
    min-height: 34px;
    margin: 0 0 8px !important;
    font-family: Arial, Helvetica, sans-serif !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    line-height: 1.38 !important;
    text-transform: none !important;
}

#ztSaleProducts .zt-product-card__name a {
    display: -webkit-box;
    overflow: hidden;
    color: #3d454a !important;
    text-decoration: none !important;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

#ztSaleProducts .zt-product-card__stock {
    margin-bottom: 11px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #46995f;
    font: 500 10px/1 Arial, Helvetica, sans-serif;
}

#ztSaleProducts .zt-product-card__stock span {
    width: 6px;
    height: 6px;
    flex: 0 0 6px;
    background: currentColor;
    border-radius: 50%;
}

#ztSaleProducts .zt-product-card__stock.is-order {
    color: #c08a18;
}

#ztSaleProducts .zt-product-card__prices {
    min-height: 37px;
    margin-top: auto;
    display: flex;
    align-items: flex-end;
    gap: 9px;
}

#ztSaleProducts .zt-product-card__old-price {
    padding-bottom: 2px;
    color: #9ea3a6;
    font: 500 10px/1 Arial, Helvetica, sans-serif;
    text-decoration: line-through;
    white-space: nowrap;
}

#ztSaleProducts .zt-product-card__price {
    color: #1c2226;
    font: 800 17px/1.05 Arial, Helvetica, sans-serif;
    white-space: nowrap;
}

#ztSaleProducts .zt-product-card__price--request {
    font-size: 13px;
    white-space: normal;
}

#ztSaleProducts .zt-product-card__buttons {
    margin-top: 11px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 34px;
    gap: 8px;
}

#ztSaleProducts .zt-product-card__cart {
    min-width: 0;
    min-height: 34px;
    padding: 0 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #1d2327 !important;
    background: #ffbd00;
    border: 0;
    border-radius: 4px;
    font: 800 11px/1 Arial, Helvetica, sans-serif;
    text-align: center;
    text-decoration: none !important;
    cursor: pointer;
    transition: background-color .18s ease, color .18s ease;
}

#ztSaleProducts .zt-product-card__cart:hover {
    background: #e9aa00;
}

#ztSaleProducts .zt-product-card__cart-success {
    display: none;
}

#ztSaleProducts .zt-product-card__cart.is-loading {
    cursor: wait;
    opacity: .65;
}

#ztSaleProducts .zt-product-card__cart.is-added {
    color: #fff !important;
    background: #3f9b60;
}

#ztSaleProducts .zt-product-card__cart.is-added .zt-product-card__cart-label {
    display: none;
}

#ztSaleProducts .zt-product-card__cart.is-added .zt-product-card__cart-success {
    display: inline;
}

#ztSaleProducts .zt-product-card__cart.is-error {
    color: #fff !important;
    background: #bd4d45;
}

#ztSaleProducts .zt-product-card__more {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    color: #737a7e !important;
    background: #fff;
    border: 1px solid #dfe2e2;
    border-radius: 4px;
    text-decoration: none !important;
    transition: color .18s ease, border-color .18s ease, background-color .18s ease;
}

#ztSaleProducts .zt-product-card__more:hover {
    color: #1d2327 !important;
    background: #f5f5f4;
    border-color: #cfd2d2;
}

#ztSaleProducts .zt-product-card__more svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

#ztSaleProducts .zt-sale-products__pagination {
    bottom: 0 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

#ztSaleProducts .zt-sale-products__pagination .swiper-pagination-bullet {
    width: 5px;
    height: 5px;
    margin: 0 !important;
    background: #c1c5c7;
    opacity: 1;
}

#ztSaleProducts .zt-sale-products__pagination .swiper-pagination-bullet-active {
    width: 18px;
    background: #ffbd00;
    border-radius: 999px;
}

#ztSaleProducts .zt-sale-products__empty {
    min-height: 180px;
    padding: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 8px;
    color: #697178;
    background: #fff;
    border: 1px dashed #d8dcde;
    border-radius: 7px;
    text-align: center;
}

#ztSaleProducts .zt-sale-products__empty strong {
    color: #202830;
    font-size: 17px;
}

@media (max-width: 1480px) {
    #ztSaleProducts .zt-sale-products__shell {
        padding-right: 20px !important;
        padding-left: 20px !important;
    }

    #ztSaleProducts .zt-sale-products__title-row {
        gap: 24px;
    }

    #ztSaleProducts .zt-sale-products__tabs {
        gap: 20px;
    }
}

@media (max-width: 900px) {
    #ztSaleProducts.zt-sale-products {
        margin-top: 48px !important;
        padding-top: 36px !important;
        padding-bottom: 40px !important;
    }

    #ztSaleProducts .zt-sale-products__topline {
        align-items: flex-start;
    }

    #ztSaleProducts .zt-sale-products__title-row {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }

    #ztSaleProducts .zt-sale-products__tabs {
        gap: 20px;
    }
}

@media (max-width: 680px) {
    #ztSaleProducts .zt-sale-products__shell {
        padding-right: 14px !important;
        padding-left: 14px !important;
    }

    #ztSaleProducts .zt-sale-products__topline {
        margin-bottom: 16px;
        flex-direction: column;
        gap: 10px;
    }

    #ztSaleProducts .zt-sale-products__title {
        font-size: 21px !important;
    }

    #ztSaleProducts .zt-sale-products__tabs {
        width: calc(100vw - 28px);
        padding-bottom: 3px;
        gap: 22px;
        overflow-x: auto;
        scrollbar-width: none;
    }

    #ztSaleProducts .zt-sale-products__tabs::-webkit-scrollbar {
        display: none;
    }

    #ztSaleProducts .zt-sale-products__tab {
        flex: 0 0 auto;
    }

    #ztSaleProducts .zt-sale-products__actions {
        width: 100%;
        justify-content: space-between;
    }

    #ztSaleProducts .zt-product-card__body {
        min-height: 210px;
    }
}

@media (prefers-reduced-motion: reduce) {
    #ztSaleProducts *,
    #ztSaleProducts *::before,
    #ztSaleProducts *::after {
        animation: none !important;
        transition: none !important;
    }
}

/* Уведомление о добавлении товара в корзину */
.zt-sale-toast-root,
.zt-sale-toast-root *,
.zt-sale-toast-root *::before,
.zt-sale-toast-root *::after {
    box-sizing: border-box;
}

.zt-sale-toast-root {
    position: fixed;
    top: 96px;
    right: 24px;
    z-index: 100500;
    width: min(420px, calc(100vw - 32px));
    display: grid;
    gap: 12px;
    pointer-events: none;
}

.zt-sale-toast {
    position: relative;
    width: 100%;
    min-height: 92px;
    padding: 18px 46px 17px 18px;
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    align-items: start;
    gap: 14px;
    color: #20272c;
    background: #fff;
    border: 1px solid #e1e5e7;
    border-radius: 12px;
    box-shadow: 0 18px 48px rgba(25, 35, 42, .18);
    opacity: 0;
    pointer-events: auto;
    transform: translateY(-12px) translateX(12px);
    transition: opacity .2s ease, transform .2s ease;
}

.zt-sale-toast.is-visible {
    opacity: 1;
    transform: translateY(0) translateX(0);
}

.zt-sale-toast.is-leaving {
    opacity: 0;
    transform: translateY(-8px) translateX(12px);
}

.zt-sale-toast__icon {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    color: #fff;
    background: #3f9b60;
    border-radius: 50%;
}

.zt-sale-toast.is-error .zt-sale-toast__icon {
    background: #bd4d45;
}

.zt-sale-toast__icon svg {
    width: 23px;
    height: 23px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.zt-sale-toast__content {
    min-width: 0;
    padding-top: 1px;
}

.zt-sale-toast__title {
    display: block;
    margin: 0 0 5px;
    color: #20272c;
    font: 800 15px/1.25 Arial, Helvetica, sans-serif;
}

.zt-sale-toast__message {
    color: #5b646a;
    font: 400 13px/1.45 Arial, Helvetica, sans-serif;
    overflow-wrap: anywhere;
}

.zt-sale-toast__basket-link {
    margin-top: 10px;
    display: inline-flex;
    align-items: center;
    color: #b47f00 !important;
    font: 700 12px/1 Arial, Helvetica, sans-serif;
    text-decoration: underline !important;
    text-underline-offset: 3px;
}

.zt-sale-toast__basket-link:hover {
    color: #20272c !important;
}

.zt-sale-toast__close {
    position: absolute;
    top: 11px;
    right: 11px;
    width: 28px;
    height: 28px;
    padding: 0;
    display: grid;
    place-items: center;
    color: #8b9297;
    background: transparent;
    border: 0;
    border-radius: 50%;
    cursor: pointer;
}

.zt-sale-toast__close:hover {
    color: #20272c;
    background: #f1f3f3;
}

.zt-sale-toast__close svg {
    width: 17px;
    height: 17px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
}

@media (max-width: 680px) {
    .zt-sale-toast-root {
        top: auto;
        right: 14px;
        bottom: 16px;
        left: 14px;
        width: auto;
    }

    .zt-sale-toast {
        min-height: 86px;
        padding: 15px 42px 15px 15px;
        grid-template-columns: 38px minmax(0, 1fr);
        gap: 12px;
        border-radius: 10px;
        transform: translateY(14px);
    }

    .zt-sale-toast.is-visible {
        transform: translateY(0);
    }

    .zt-sale-toast.is-leaving {
        transform: translateY(14px);
    }

    .zt-sale-toast__icon {
        width: 38px;
        height: 38px;
    }
}
