.bx-searchtitle * {
    gap: 7px !important;
}

.search-sections .swiper-wrapper {
    gap: 0 !important;
}

.sales-hits-container-search .slider-sales-hit {
    overflow: visible !important;
}

.sales-hits-container-search .swiper-slide {
    width: 25% !important; /* 100% / 4 = 25% */
    max-height: 200px;
    flex-shrink: 0 !important;
    height: auto !important;
}

.sales-hits-container-search .card-sales {
    height: 100% !important;
    display: flex !important;
}

.sales-hits-container-search .card-sales .card-sales-prices {
    gap: 0 !important;
}

.sales-hits-container-search .card-sales-prices-sales {
    margin-left: 7px;
}

@media (max-width: 1200px) {
    .sales-hits-container-search .swiper-slide {
        width: 33.333% !important;
    }
}

@media (max-width: 768px) {
    .sales-hits-container-search .swiper-slide {
        width: 50% !important;
    }
}

@media (max-width: 480px) {
    .sales-hits-container-search .swiper-slide {
        width: 100% !important;
    }
}

.card-sales-prices-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 8px;
}

.card-sales-prices {
    /* flex: 1; */
    text-decoration: none !important;
}

.card-sales-prices-new {
    font-size: 18px;
    font-weight: 600;
    color: #230856;
    line-height: 1.2;
}

.card-sales-prices-old {
    font-size: 14px;
    color: #8B8B8B;
    text-decoration: line-through;
    margin-top: 2px;
}

.card-sales-prices-sales {
    font-size: 12px;
    color: #FF3B30;
    font-weight: 500;
    margin-top: 2px;
}

.card-sales-cart-icon {
    width: 40px;
    height: 40px;
    background: #f24e40;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.2s ease;
    padding: 0;
}

.card-sales-cart-icon:hover {
    background: #c13f34;
}

.card-sales-cart-icon:active {
    transform: translateY(0);
}

.card-sales-cart-icon svg {
    width: 20px;
    height: 20px;
}


.card-sales-cart-icon.added svg {
    animation: cartBounce 0.3s ease;
}

@keyframes cartBounce {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

.sales-hits-container-search .card-sales-prices-wrapper {
    min-height: 50px !important;
}

.sales-hits-container-search .card-sales-prices-new {
    font-size: 24px !important;
    line-height: 24px !important;
}

.sales-hits-container-search .card-sales-cart-icon {
    width: 36px;
    height: 36px;
}

.sales-hits-container-search .card-sales-cart-icon svg {
    width: 18px;
    height: 18px;
}

/* Адаптивность */
@media (max-width: 768px) {
    .card-sales-prices-new {
        font-size: 16px;
    }

    .card-sales-cart-icon {
        width: 36px;
        height: 36px;
    }
}

.search-result-tabs .card-sales-by-advanced-wrapper {
    width: 48px !important;
}

.search-result-tabs .card-sales-by-advanced-wrapper button {
    padding: 0;
    font-size: 25px;
}

.card-sales-prices-new {
    margin-right: 20px;
}


@media (max-width: 1366px) {
  .section-basket-info .info-buttom {
    width: 214px;
    min-width: 214px;
  }
}

@media (max-width: 1200px) {
  .section-basket-info {
    flex-direction: row;
    margin-bottom: 24px;
  }
}

@media (max-width: 768px) {
  .section-basket-info {
    flex-direction: column;
  }
  .section-basket-info .info-buttom {
    width: 100%;
    min-width: 100%;
  }
}

/* Лоадер карточки товара на листингах (добавление в корзину / смена количества).
   Класс is-loading вешает catalog-item-script.js на [data-product-role="product-card"]:
   sendToBasket / basketResult — первое добавление, sendUpdateBasket — клик +/-. */
[data-product-role="product-card"].is-loading {
    position: relative;
    /*pointer-events: none;*/
}

[data-product-role="product-card"].is-loading::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 30;
    background: rgba(255, 255, 255, .6);
    border-radius: 12px;
}

[data-product-role="product-card"].is-loading::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 31;
    width: 34px;
    height: 34px;
    margin: -17px 0 0 -17px;
    background: url(/local/templates/technobearing/assets/img/loader.svg) center / contain no-repeat;
    animation: tb-card-loader-spin 1.2s linear infinite;
}

@keyframes tb-card-loader-spin {
    to { transform: rotate(360deg); }
}

.chips-panel-3 .chips-panel-wrapper.active {
    max-height: 842px;
}