@charset "UTF-8";
.fw-bold {
    text-align:left;
    padding:0 8px;
    color:black;
    line-height: normal;
}
/* Общий контейнер, чтобы слайдер не лип к краям */
.slider-container {
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    padding: 20px 10px 50px 10px;
    position: relative;
    box-sizing: border-box;
}

.productSwiper {
    width: 100%;
    height: 100%;
    /* Скрываем всё, что выходит за пределы, чтобы не было скролла */
    overflow: hidden; 
}

/* Слайд и его поведение */
.productSwiper .swiper-slide {height: auto;display: flex;flex-shrink: 0;box-sizing: border-box;}

.product-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    width: 100%;
    height: 150px;
    padding: 8px;
    display: flex;
    transition: transform 0.3s, box-shadow 0.3s;
    flex-direction: row;
    align-items: center;
    transition: border-color 0.3s ease-in-out 0s;
    justify-content: center;
}

.product-card:hover {
    transform: translateY(0px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
    border-color:#2196F3;
    cursor:pointer;
    transition: border-color 0.3s ease-in-out 0s;
}

.product-badge {
    display: none;
}

/* Изображение 1:1 */
.img-wrapper {
    position: relative;
    min-width: 30%;
    max-width: 80px;
    height: 100%;
    background-size: contain;
    background-position: 50% 50%;
    background-repeat: no-repeat;
    background-color: #fff;
}

.img-wrapper a {
    position: absolute;
    top: 0;
    left: 0;
    /* width: 80px; */
    /* height: 80px; */
}

.card-body {
    padding: 15px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.card-title {
    font-size: 14px;
    min-height: 40px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.card-title a {
    text-decoration: none;
    color: #222;
    font-weight: 600;
    text-align: right;
    padding: 4px;
    line-height: normal;
}

.price-tag { 
    margin-top: auto; 
}

.newprice { 
    color: #d9534f; 
    font-weight: bold; 
    font-size: 1.1rem; 
}

.old-price { 
    color: #999; 
    text-decoration: line-through; 
    font-size: 0.85rem; 
}

/* Кнопки навигации */
.swiper-button-next, .swiper-button-prev {
    width: 40px!important;
    height: 40px!important;
    background: rgb(255 255 255 / 61%);
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    color: #333;
}

.swiper-button-next:after, 
.swiper-button-prev:after {
    font-size: 18px;
}