.p-images__video .product-video {
    width: 100%;
    height: 100%;
    display: block;
    background: #000;
}
@media screen and (min-width: 921px) {
  /* Родительский контейнер, в котором находятся карточки */
  .ss-modal.ss-modal_active
    .ss-modal__content
    .ss-modal__popup
    #upsell-html
    .in-blocks__item
    .products.products_col-6 {
    /* Flex контейнер, чтобы карточки располагались в строку и могли
       переноситься на следующую строку, если их больше трёх. */
    display: flex;
    flex-wrap: wrap;          /* Переносить карточки на следующую строку */
    gap: var(--c-l-m-m);      /* Расстояние между карточками */
    justify-content: flex-start; /* Сохраняем порядок слева направо */
    min-width: 890px;
  }

  /* Карточка товара */
  .ss-modal.ss-modal_active
    .ss-modal__content
    .ss-modal__popup
    #upsell-html
    .in-blocks__item
    .products.products_col-6
    .products__item.products__item-flying {
    /* Ширина как при 3 карточках в строке */
    /*flex: 0 1 calc(31% - var(--c-l-m-m));*/
    flex: 0 1 440px;
    /* Минимальная ширина – чтобы карточка не сжималась ниже нужного размера */
    min-width: calc(31% - var(--c-l-m-m));
    /* Если нужно, можно задать высоту, отступы и т.д. */
  }
}


@keyframes rotate360 {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.rotating-gradient {
  animation: rotate360 4s linear infinite;
}
a.in-modal {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    justify-content: center;
}
.badges>.badge.tank.callout.badge-3>div>a {
    height: 40px;
    display: inline-block;
}

.counter-pr_big {
    min-width: 150px;
}


@media screen and (max-width: 640px) {
.c-item__prices>.products__pr-price.products__pr-price_mini>.products__pr-price-label.stock-label>.stock-label__price{
display:none
}
    
.product__top-item.axa {
    min-width: 48%;
}

    
}

button.counter-pr__minus.js-decrease {
    width: 33%;
}
.counter-pr__count {
    width: 33%;
}
button.counter-pr__plus.js-increase {
    width: 33%;
}



.products__cart-flex {
    flex-direction: column-reverse;
}
li.w-box-sh.s-shipping-item.shipping-15.is-selected>.s-shipping-details>.s-rate-wrapper{
    display: none !important;
}
.in-left__item.in-left__item-filters {
    margin-top: 10px;
}
.filters-title.filters-title_active {
    background: #992035;
}
.wa-type-wrapper.is-active>.wa-price {
    display: none !important;
}
.wa-quantity-cart-section .wa-field-wrapper .wa-field {
    width: 90px !important;
}
.wa-order-cart-wrapper .wa-products .wa-product .wa-product-body > .wa-column-quantity .wa-product-fractional-prices {
    text-align: left !important;
}
.badges {
 top:20px;
 left:138px;
}
.wa-field-wrapper.wa-country-wrapper.size-medium {
display: none;
}
li.abas {
    width: 12.5%;
    margin: 0px;
    float: left;
    display: table;
    text-align: center;
    padding: 2px;
}
li.abas>a {
    display: table-cell;
    word-spacing: 10em;
    border: 1px solid #beb9a3;
    height: 4em;
    line-height: 1.1em;
    vertical-align: middle;
    font-size: 16px;
}
li.abas.h-menu__item {
    padding-left: 0px;
}
ul.h-menu_catalog>li:hover {
    background-color: #65bc54;
}
ul.h-menu_catalog.align__subcateg.h-menu_active>li.abas>a {
text-transform: capitalize;
}
.product__pr-price-ratio {
    display: none !important;
}
.products__pr-price-ratio {
    display: none !important;
}

.product__stocks {
    align-items: center;
    justify-content: center;
}
.product__pr-price-wrap {
    align-items: center;
    justify-content: center;
}
.product__pr-price-base {
    text-align: center;
}
.product__counter {
    justify-content: center;
}
.product__pr-price-label {
    justify-content: center;
}
ul.h-menu__sub.h-menu__sub-2.c-menu__items-uls>.h-menu__img-li{
margin: 0 0 0px;
}
ul.h-menu__sub.h-menu__sub-1.c-menu__items-uls>.h-menu__img-li{
margin: 0 0 0px;
}
.c-menu__items-uls {
    display: block;
    -moz-columns: 3;
    columns: 3;
    -moz-column-gap: 0;
    column-gap: 0;
}
svg.icon18.i-cart {
    color: #fff;
}
svg.icon26.i-cart {
    color: #fff;
}
@media screen and (max-width: 640px) {
    .h-mobile_2 .h-mobile__top-phone {
        margin-left: 20px;
    }
    .badges {
    top: 0px;
    left: 0px;
}
}
.wa-date {
    display: none !important;
}
.wa-row:nth-child(2) {
    display: none !important;
}
.s-delivery-wrapper.js-delivery-wrapper {
    display: none !important;
}
.product__content-right {
    order: 3;
}
.product__content-left {
    order: 1;
}
.p-images {
    order: 2;
}
@media screen and (max-width: 1023px) {
.product__content-right {
    order: 2;
}
.product__content-left {
    order: 3;
}
.p-images {
    order: 1;
}}
@media screen and (max-width: 767px) {
button.m-products__button.button {
    padding: 0 5px;
}}



.tooltip-containerdav {
    position: relative;
    display: inline-block;
}

.tooltipdav {
    cursor: pointer;
    color: #ff0606;
    font-size: 24px;
}

.tooltip-textdav {
    visibility: hidden;
    width: 100px;
    background-color: black;
    color: #fff;
    text-align: center;
    border-radius: 5px;
    padding: 5px;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    margin-left: -30px; 
    opacity: 0;
    transition: opacity 0.3s;
}

.tooltipdav:hover .tooltip-textdav {
    visibility: visible;
    opacity: 1;
}
.tooltip-containerdav:hover .tooltip-textdav {
    visibility: visible;
    opacity: 1;
}
.tooltip-textdav.active {
    visibility: visible;
    opacity: 1;
}



.advertising-p {
    cursor: pointer;
    display: flex;
    padding: 6px 15px;
    align-items: center;
    gap: 4px;
    border-radius: 60px;
    opacity: 1;
    /*background: #668d6042;*/
         background: #b9b9b987;
    /*     background: #a39e9e45;*/
    width: 98px;
    height: 35px;
    margin-bottom: 7px;
}
.advertising-p .advertising-tp {
    color: #000;
    font-family: Roboto;
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    text-transform: none;
}
.hp-svg {
    display: flex;
    left: 80px;
    position: absolute;
}
#advertising-p2 .advertising-hp {
    top: 70px;
}
.advertising-hp {
    display: none;
    position: absolute;
    padding: 15px 10px 10px 10px;
    width: 147px;
    height: auto;
    left: 0px;
    top: 5px;
    border-radius: 3px;
    background: #FFF;
    opacity: 1;
    color: #211F21;
    font-family: Roboto;
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    box-shadow: 0px 2px 16px 0px rgba(0, 0, 0, 0.25);
    text-align: left;
    z-index: 2;
}
.d-1 {
    text-transform: none;
    color: #000;
    font-weight: 600;
    margin-bottom: 3px;
}
.d-2 {
    text-transform: none;
    color: #000;
    margin-bottom: 3px;
}
.d-3 {
    color: #000;
    margin-bottom: 3px;
    color: #0a7e11;
}

.d-4 {
    text-transform: none;
    color: #000;
    margin-bottom: 3px;
    color: #909090;
}
.advertising-hp:before {
    content: '';
    width: 0px;
    height: 0px;
    display: block;
    position: absolute;
    top: 4px;
    left: -9px;
    -webkit-transform: rotate(317deg);
    transform: rotate(65deg);
    background: linear-gradient(140deg, #fff 50%, rgba(255, 255, 255, 0) 50%);
}
.advertising-hp:before {
    content: '';
    width: 0px;
    height: 0px;
    display: block;
    position: absolute;
    top: 4px;
    left: -9px;
    -webkit-transform: rotate(317deg);
    transform: rotate(65deg);
    background: linear-gradient(140deg, #fff 50%, rgba(255, 255, 255, 0) 50%);
}
.advertising-p:hover .advertising-hp {
    display: block;
}
.advertising-tp {
/*     word-spacing: 10em;*/
}
.b-info {
    padding: 10px 10px;
    position: absolute;
    top: 0;
    color: #ffffff;
    background-color: #473c3c6e;
    width: 100%;
    display: flex;
    min-height: 35%;
    flex-direction: column;
    justify-content: space-between;
}

a.in-modal.similar-link {
    position: absolute;
    z-index: 20;
    background: rgb(255 255 255 / 0%);
    backdrop-filter: blur(8px);
    bottom: 20px;
    right: 20px;
    text-decoration: none;
    padding: 8px 15px;
    border-radius: 6px;
    color: #444;
    font-size: 16px;
    transition: all .2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ss-modal__close>svg.icon12.i-remove {
    width: 20px;
    height: 20px;
}



.marquee {
  overflow: hidden;
  white-space: nowrap;
}

.marquee-text {
  display: inline-block;
  padding-left: 100%;
  color: #7a9d3e;
  font-size: 24px;
  font-weight: bold;
  animation: scrollText 12s linear infinite;
}

@keyframes scrollText {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}


.cartwow {
    padding: 10px;
    text-align: center;
    font-size: 1.875rem;
    line-height: 1.4;
    font-weight: 600;
}
.cartwow2 {
padding: 10px;
font-size: 24px;
}
@media screen and (max-width: 1080px) {
.cartwow {
    font-size: 1.1rem;
	padding: 5px;
}
.cartwow2 {
font-size: 14px;
padding: 5px;
}
.cart__item {
    margin-bottom: 0px;
}
.s-payment-item, .s-shipping-item{
    margin-bottom: 15px;
}
}





/* Галерея брендов */
.brand-gallery {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    margin: 25px 0;
    align-items: stretch;
}

.brand-gallery__item {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    min-height: 150px;
    padding: 14px;
    box-sizing: border-box;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 10px;
    overflow: hidden;
    transition: border-color .2s, box-shadow .2s;
}

.brand-gallery__item:hover {
    border-color: #ccc;
    box-shadow: 0 3px 12px rgba(0, 0, 0, .08);
}

.brand-gallery__item img {
    display: block;
    width: 100%;
    height: 150px;
    object-fit: contain;
    object-position: center;
    margin: 0;
}

/* Планшеты */
@media (max-width: 900px) {
    .brand-gallery {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 14px;
    }
}

/* Телефоны */
@media (max-width: 600px) {
    .brand-gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
        margin: 18px 0;
    }

    .brand-gallery__item {
        min-height: 120px;
        padding: 8px;
        border-radius: 7px;
    }

    .brand-gallery__item img {
        height: 120px;
    }
}
/* Окно быстрого просмотра */
.brand-lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 999999;
    align-items: center;
    justify-content: center;
    padding: 50px 20px 20px;
    box-sizing: border-box;
    background: rgba(0, 0, 0, .88);
}

.brand-lightbox.is-open {
    display: flex;
}

.brand-lightbox__image {
    display: block;
    max-width: 95%;
    max-height: 90vh;
    width: auto;
    height: auto;
    object-fit: contain;
    margin: 0;
}

.brand-lightbox__close {
    position: absolute;
    top: 12px;
    right: 20px;
    padding: 0 8px;
    border: 0;
    background: transparent;
    color: #fff;
    font-size: 40px;
    line-height: 1;
    cursor: pointer;
}



/* Карточка товара в корзине */
/* Корзина: адаптивная раскладка до 1920px */
@media screen and (min-width: 840px) and (max-width: 1920px) {

.wa-order-cart-wrapper.with-adaptive .wa-products .wa-product .wa-product-body {
    display: grid !important;
    grid-template-columns: minmax(0, 30%) minmax(0, 70%);
    grid-template-areas:
        "image details"
        "quantity price";
    gap: 15px;
    width: 100%;
    table-layout: auto;
}

.wa-order-cart-wrapper.with-adaptive .wa-products .wa-product .wa-product-body > * {
    display: block;
    width: auto;
    min-width: 0;
    padding: 0;
    margin: 0;
}

.wa-order-cart-wrapper.with-adaptive .wa-products .wa-product .wa-product-body > .wa-column-image {
    grid-area: image;
}

.wa-order-cart-wrapper.with-adaptive .wa-products .wa-product .wa-product-body > .wa-column-details {
    grid-area: details;
}

.wa-order-cart-wrapper.with-adaptive .wa-products .wa-product .wa-product-body > .wa-column-quantity {
    grid-area: quantity;
    width: 100%;
    text-align: left;
}

.wa-order-cart-wrapper.with-adaptive .wa-products .wa-product .wa-product-body > .wa-column-price {
    grid-area: price;
    width: 100%;
    text-align: right;
}
.wa-order-cart-wrapper.with-adaptive .wa-products .wa-product .wa-product-body > .wa-column-image {
width: 100% !important;
flex-basis: auto !important;
margin: 0 !important;
vertical-align: top;
}

.wa-order-cart-wrapper.with-adaptive .wa-products .wa-product .wa-product-body > .wa-column-image .wa-image-section img {
    width: 100% !important;
    height: auto !important;
    max-width: 100%;
    object-fit: contain;
}
}