/* catalog cards — final override, loads last (footer.php, after BX.setCSSList) */

@media screen and (min-width: 660px) {
.products_roll .pr_box {
    padding-bottom: 24px;
}

.products_roll .pr_box .item {
    position: relative !important;
    display: flex !important;
    flex-direction: column !important;
    height: 510px !important;
    box-sizing: border-box;
}

.products_roll .pr_box .item .hover {
    position: relative !important;
    display: flex !important;
    flex-direction: column !important;
    flex: 1 1 auto !important;
    height: 100% !important;
    min-height: 0 !important;
    width: 100%;
    overflow: visible;
}

.products_roll .pr_box .item .hover .inner {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    display: flex !important;
    flex-direction: column !important;
    flex: 1 1 auto !important;
    min-height: 100% !important;
    height: 100% !important;
    width: 100%;
    margin: 0;
    padding: 0 10px 0;
    box-sizing: border-box;
}

.products_roll .pr_box .item .hover .inner::after {
    content: '';
    display: block;
    flex: 0 0 16px !important;
    height: 16px !important;
    width: 100%;
}

.products_roll .pr_box .item .hover .inner .pic {
    position: relative !important;
    display: block !important;
    width: calc(100% + 20px) !important;
    margin: 0 -10px !important;
    min-height: 293px !important;
    max-height: 293px !important;
    height: 293px !important;
    flex: 0 0 293px !important;
    overflow: hidden !important;
    line-height: 0 !important;
    font-size: 0 !important;
    background: #fff;
    aspect-ratio: 3 / 4 !important;
}

.products_roll .pr_box .item .hover .inner .pic .pic-slides {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    display: block !important;
    overflow: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
}

.products_roll .pr_box .item .hover .inner .pic img,
.products_roll .pr_box .item .hover .inner .pic span img,
.products_roll .pr_box .item .hover .inner .pic .pic-slide {
    position: absolute !important;
    inset: 0 !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    object-fit: contain !important;
    object-position: center center !important;
    transform: scale(1) !important;
    transform-origin: center center !important;
}

.products_roll .pr_box .item .hover .inner .pic img.polimer-photo-scale-tall,
.products_roll .pr_box .item .hover .inner .pic .pic-slide.polimer-photo-scale-tall {
    transform: scale(1.25) !important;
}

.products_roll .pr_box .item .hover .inner .pic img.polimer-photo-scale-mid,
.products_roll .pr_box .item .hover .inner .pic .pic-slide.polimer-photo-scale-mid {
    transform: scale(1.12) !important;
}

.products_roll .pr_box .item .hover .inner .pic img.polimer-photo-scale-wide,
.products_roll .pr_box .item .hover .inner .pic .pic-slide.polimer-photo-scale-wide {
    transform: scale(0.94) !important;
}

.products_roll .pr_box .item .hover .inner .pic img.polimer-photo-scale-compact,
.products_roll .pr_box .item .hover .inner .pic .pic-slide.polimer-photo-scale-compact {
    transform: scale(0.88) !important;
}

.products_roll .pr_box .item .hover .inner .pic:not(.has-slider) .pic-slide {
    opacity: 1 !important;
}

.products_roll .pr_box .item .hover .inner .pic.has-slider .pic-slide {
    opacity: 0 !important;
}

.products_roll .pr_box .item .hover .inner .pic.has-slider .pic-slide.active {
    opacity: 1 !important;
}

.products_roll .pr_box .item .hover .inner .pic.has-slider .pic-slides {
    height: 100% !important;
}

.products_roll .pr_box .item .hover .inner .pic img[src*="no_photo"],
.products_roll .pr_box .item .hover .inner .pic .pic-slide[src*="no_photo"] {
    object-fit: contain !important;
    width: 46% !important;
    height: 46% !important;
    max-width: 46% !important;
    max-height: 46% !important;
    top: 50% !important;
    left: 50% !important;
    right: auto !important;
    bottom: auto !important;
    transform: translate(-50%, -50%) !important;
    opacity: 0.55 !important;
}

.products_roll .pr_box .item .hover .inner .title {
    display: -webkit-box !important;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    flex: 0 0 72px !important;
    min-height: 72px !important;
    max-height: 72px !important;
    height: 72px !important;
    margin: 8px 0 4px;
    overflow: hidden !important;
    text-align: center;
}

.products_roll .pr_box .item .hover .inner .title:hover {
    color: #00a1f2;
    -webkit-line-clamp: 4 !important;
    max-height: 72px !important;
    height: 72px !important;
    overflow: hidden !important;
}

.products_roll .pr_box .item .hover .inner .card-meta {
    flex: 0 0 54px !important;
    min-height: 54px !important;
    max-height: 54px !important;
    height: 54px !important;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 2px;
}

.products_roll .pr_box .item .hover .inner .incode {
    position: static !important;
    display: block;
    min-height: 14px;
    margin: 0 0 2px;
}

.products_roll .pr_box .item .hover .inner .incode--empty {
    visibility: hidden;
}

.products_roll .pr_box .item .hover .inner .instock {
    margin: 0;
    min-height: 18px;
}

.products_roll .pr_box .item .hover .inner .instock--empty {
    visibility: hidden;
}

.products_roll .pr_box .item .hover .inner .card-footer {
    margin-top: auto !important;
    flex: 0 0 auto !important;
    width: 100%;
    display: flex !important;
    flex-direction: column !important;
    align-items: center;
    justify-content: flex-end;
    padding-bottom: 6px;
    gap: 0;
}

.products_roll .pr_box .item .hover .inner .card-footer .cost,
.products_roll .pr_box .item .hover .inner .card-footer .noprice {
    margin-top: 0 !important;
    margin-bottom: 10px;
    position: static !important;
    top: auto !important;
    left: auto !important;
    bottom: auto !important;
    flex: 0 0 auto;
}

.products_roll .pr_box .item .hover .inner .card-footer .add2cart,
.products_roll .pr_box .item .hover .inner .card-footer .add2cartOrder {
    position: relative !important;
    bottom: auto !important;
    left: auto !important;
    top: auto !important;
    margin: 0 auto !important;
    flex: 0 0 auto;
    padding-left: 30px !important;
}

.products_roll .pr_box .item .hover .inner .card-footer .add2cart:before,
.products_roll .pr_box .item .hover .inner .card-footer .add2cartOrder:before {
    position: absolute !important;
    display: block !important;
    content: '' !important;
    width: 18px !important;
    height: 15px !important;
    left: 17px !important;
    top: 50% !important;
    margin-top: -7.5px !important;
    background: url('../img/card/add2cart.png') no-repeat center / contain !important;
}

.products_roll .pr_box .item .hover .inner .cost,
.products_roll .pr_box .item .hover .inner .noprice {
    margin-top: 0 !important;
}

.products_roll .pr_box .item .hover .inner .add2cart,
.products_roll .pr_box .item .hover .inner .add2cartOrder {
    position: relative !important;
    bottom: auto !important;
    left: auto !important;
    top: auto !important;
}
} /* min-width: 660px */

/* header icons — Font Awesome 4.7 (единый набор, грузится последним) */
header .header__bottom .header__fa-icon {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    flex: 0 0 24px;
    font-size: 22px;
    line-height: 1;
    color: currentColor;
    text-align: center;
    vertical-align: middle;
}

header .header__bottom .header__catalog .catalog__trigger span {
    display: none !important;
}

header .header__bottom .header__catalog .catalog__trigger {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 24px !important;
    height: 24px;
    margin: 0;
    padding: 0;
    border: 0;
    text-decoration: none;
    color: inherit;
}

header .header__bottom .header__catalog .catalog__trigger .header__fa-icon {
    font-size: 22px;
}

header .header__bottom .header__cart .header__fa-icon {
    font-size: 21px;
}

header .header__bottom .header__account,
header .header__bottom .header__cart {
    display: inline-flex !important;
    align-items: center;
    gap: 10px;
}

header .header__bottom .header__account .header__fa-icon {
    margin-right: 0 !important;
}

header .header__bottom .header__cart {
    padding-left: 0 !important;
}

header .header__bottom .header__cart:before {
    display: none !important;
    content: none !important;
}

header .header__bottom .header__cart .header__cart-icon {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    flex: 0 0 24px;
    overflow: visible;
}

header .header__bottom .header__cart .header__cart-icon .cart__number,
header .header__bottom .header__cart .cart__number {
    position: absolute !important;
    top: -4px !important;
    right: -5px !important;
    left: auto !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 15px !important;
    height: 15px !important;
    padding: 0 3px !important;
    box-sizing: border-box !important;
    line-height: 1 !important;
    font-size: 9px !important;
    font-weight: 700 !important;
    letter-spacing: 0 !important;
    border-radius: 999px !important;
    background-color: #fff !important;
    color: #0358a6 !important;
    text-align: center !important;
    vertical-align: middle !important;
}

header .header__bottom .header__cart:hover .cart__number {
    background-color: #ffd400 !important;
    color: #0358a6 !important;
}

header .header__bottom.fixed .header__cart .header__cart-icon .cart__number,
header .header__bottom.fixed .header__cart .cart__number {
    background-color: #0358a6 !important;
    color: #fff !important;
}

header .header__bottom.fixed .header__catalog,
header .header__bottom.fixed .header__account,
header .header__bottom.fixed .header__cart {
    color: #0358a6 !important;
}

header .header__bottom.fixed .header__catalog .catalog__trigger .header__fa-icon,
header .header__bottom.fixed .header__account .header__fa-icon,
header .header__bottom.fixed .header__cart .header__fa-icon {
    color: #0358a6 !important;
}

header .header__bottom.fixed .header__cart:before {
    display: none !important;
}

header .header__bottom .header__phone-icon {
    display: none !important;
}

header .header__bottom .header__aside-icon {
    display: none !important;
}

@media screen and (max-width: 1319px) {
    header .header__bottom .header__cart {
        padding-left: 0 !important;
    }
}

/* expanded «добавить в корзину» popup */
.products_roll .pr_box .item.add2cart2 {
    position: relative !important;
    z-index: 120 !important;
}

.products_roll .pr_box .item.add2cart2:hover .hover,
.products_roll .pr_box .item.add2cart2 .hover {
    position: absolute !important;
    left: 50% !important;
    right: auto !important;
    top: -8px !important;
    transform: translateX(-50%) !important;
    width: 252px !important;
    height: auto !important;
    min-height: calc(100% + 16px) !important;
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 12px !important;
    border-color: #0464bb !important;
    overflow: hidden !important;
    box-shadow: 0 14px 36px rgba(4, 100, 187, 0.24), 0 4px 14px rgba(0, 0, 0, 0.12) !important;
}

.products_roll .pr_box .item.add2cart2 .hover .inner {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;
    text-align: center !important;
    padding: 14px 18px 24px !important;
    min-height: 360px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    top: auto !important;
    left: auto !important;
    height: auto !important;
}

.products_roll .pr_box .item.add2cart2 .hover .inner::after {
    flex: 0 0 0;
    height: 0;
}

.products_roll .pr_box .item.add2cart2 .hover .inner .close {
    display: block !important;
    position: absolute !important;
    top: 10px !important;
    right: 10px !important;
    left: auto !important;
    z-index: 5 !important;
}

.products_roll .pr_box .item.add2cart2 .hover .inner .pic,
.products_roll .pr_box .item.add2cart2 .hover .inner .compare,
.products_roll .pr_box .item.add2cart2 .hover .inner .card-meta {
    display: none !important;
}

.products_roll .pr_box .item.add2cart2 .hover .inner .title {
    flex: 0 0 auto !important;
    min-height: 0 !important;
    max-height: none !important;
    height: auto !important;
    width: 100% !important;
    -webkit-line-clamp: unset !important;
    margin: 24px 0 18px !important;
    padding: 0 6px !important;
    font-size: 14px !important;
    line-height: 1.35 !important;
    text-align: center !important;
}

.products_roll .pr_box .item.add2cart2 .hover .inner .card-footer {
    margin-top: 0 !important;
    padding-bottom: 0 !important;
    gap: 16px !important;
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
}

.products_roll .pr_box .item.add2cart2 .hover .inner .card-footer .cost,
.products_roll .pr_box .item.add2cart2 .hover .inner .cost,
.products_roll .pr_box .item.add2cart2 .hover .inner .cost-old,
.products_roll .pr_box .item.add2cart2 .hover .inner .noprice {
    position: static !important;
    bottom: auto !important;
    top: auto !important;
    left: auto !important;
    width: 100% !important;
    margin: 0 !important;
    text-align: center !important;
}

.products_roll .pr_box .item.add2cart2 .hover .inner .quantity {
    position: relative;
    display: block;
    top: auto;
    left: auto;
    margin: 0 auto;
    width: 150px;
    height: 34px;
}

.products_roll .pr_box .item.add2cart2 .hover .inner .quantity:before,
.products_roll .pr_box .item.add2cart2 .hover .inner .quantity:after {
    display: none;
}

.products_roll .pr_box .item.add2cart2 .hover .inner .cost_total {
    position: static;
    display: block;
    top: auto;
    left: auto;
    width: 100%;
    margin: 0;
    padding: 14px 0 4px;
    border-top: 1px dashed #cfd8df;
    font: 700 17px/1.3 'roboto', sans-serif;
    text-align: center;
    color: #333;
}

.products_roll .pr_box .item.add2cart2 .hover .inner .add2cart,
.products_roll .pr_box .item.add2cart2 .hover .inner .card-footer .add2cart {
    position: relative !important;
    bottom: auto !important;
    top: auto !important;
    left: auto !important;
    margin: 8px auto 0 !important;
    width: 100% !important;
    max-width: 210px !important;
    height: 50px !important;
    padding: 0 16px 0 42px !important;
    line-height: 50px !important;
    border-radius: 10px !important;
    background: #59bf26 !important;
    box-sizing: border-box !important;
    transition: background-color .2s ease, transform .15s ease !important;
}

.products_roll .pr_box .item.add2cart2 .hover .inner .add2cart:hover {
    background: #4fc429 !important;
    transform: translateY(-1px) !important;
}

.products_roll .pr_box .item.add2cart2 .hover .inner .add2cart .txt1 {
    display: none !important;
}

.products_roll .pr_box .item.add2cart2 .hover .inner .add2cart .txt2 {
    display: block !important;
    position: static !important;
    height: auto !important;
    bottom: auto !important;
    padding: 0 !important;
    line-height: 50px !important;
    font: 600 15px/50px 'roboto', sans-serif !important;
    text-align: center !important;
}

.products_roll .pr_box .item.add2cart2 .hover .inner .add2cart:before {
    width: 22px !important;
    height: 18px !important;
    top: 50% !important;
    left: 16px !important;
    margin: 0 !important;
    transform: translateY(-50%) !important;
    background: url('../img/add2cart2.png') no-repeat center / contain !important;
}
