/* Блок новинок */
.novelty-section {
    position: relative;
    margin: 10px 0;
}

/* Заголовок и навигация */
.novelty-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.novelty-title {
    font-size: 24px;
    font-weight: 700;
    color: #1c2126;
    margin: 0;
}

.novelty-nav {
    display: flex;
    align-items: center;
    gap: 15px;
}

.novelty-arrow {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #333;
    padding: 0;
}

.novelty-arrow:hover {
    background: #f8f8f8;
    border-color: #41CFFF;
    color: #41CFFF;
}

.novelty-arrow:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    border-color: #e0e0e0;
    color: #333;
}

.novelty-pagination {
    display: flex;
    gap: 6px;
    font-size: 0;
}

.novelty-pagination .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ddd;
    display: inline-block;
    cursor: pointer;
    transition: all 0.3s ease;
}

.novelty-pagination .swiper-pagination-bullet-active {
    background: #41CFFF;
    transform: scale(1.2);
}

/* Слайдер */
.novelty-slider {
    overflow: hidden;
    position: relative;
    padding: 5px 0; /* Для теней карточек */
}

.novelty-track {
    display: flex;
    transition: transform 0.5s ease;
    will-change: transform;
    gap: 0 20px;
}

/* Карточка товара */
.product-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.12);
}

.product-link {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}

.product-image {
    padding: 15px;
    text-align: center;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

.product-info {
    padding: 15px;
    border-top: 1px solid #f0f0f0;
}

.product-title {
    font-size: 15px;
    font-weight: 600;
    margin: 0 0 8px;
    height: 40px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.product-article {
    font-size: 13px;
    color: #777;
    margin-bottom: 8px;
}

.product-price {
    font-size: 18px;
    font-weight: 700;
    color: #e11b1b;
}

/* Адаптивность слайдов */
.novelty-slide {
    flex: 0 0 calc(18% - 10px);
    box-sizing: border-box;
    padding: 10px 0;
}

@media (max-width: 1200px) {
    .novelty-slide {
        flex: 0 0 calc(33.333% - 15px);
    }
}

@media (max-width: 768px) {
    .novelty-slide {
        flex: 0 0 calc(50% - 10px);
    }
    
    .novelty-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .novelty-nav {
        align-self: normal;
        justify-content: space-between;
    }
}

@media (max-width: 480px) {
    .novelty-slide {
        flex: 0 0 100%;
    }
    
    .product-image {
        height: 150px;
    }
}