.novinki-page-section {
    padding: 40px 0 60px;
    background: #ffffff;
    min-height: 70vh;
}

.novinki-page-header {
    max-width: 1400px;
    margin: 0 auto 40px;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
    text-align: center;
}

.novinki-page-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #7f8c8d;
    font-size: 14px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
}

.novinki-count {
    font-size: 14px;
}

.novinki-count strong {
    color: #2c3e50;
}

.novinki-page-grid-container {
    width: 100%;
    background: #ffffff;
}

.novinki-page-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
    margin-bottom: 50px;
}

.novinki-page-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #f0f0f0;
}

.novinki-page-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.novinki-discount-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #e74c3c;
    color: white;
    padding: 6px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 700;
    z-index: 2;
}

.novinki-new-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #fff300;
    color: #000000;
    padding: 6px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 700;
    z-index: 2;
}

.novinki-page-card a {
    display: block;
    text-decoration: none;
    color: inherit;
}

.novinki-page-image-container {
    position: relative;
    height: 220px;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    border-bottom: 1px solid #f0f0f0;
}

.novinki-page-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.novinki-no-photo {
    width: 100%;
    height: 100%;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999999;
    font-size: 14px;
}

.novinki-page-content {
    padding: 20px;
}

.novinki-page-name {
    color: #000000;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 15px;
    height: 40px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.novinki-page-prices {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.novinki-old-price {
    color: #95a5a6;
    text-decoration: line-through;
    font-size: 14px;
}

.novinki-current-price {
    color: #000000;
    font-size: 18px;
    font-weight: 800;
}

.novinki-current-price.has-discount {
    color: #e74c3c;
}

.novinki-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 50px;
    padding: 20px 0;
    border-top: 1px solid #f0f0f0;
    max-width: 1400px;
    margin: 50px auto 0;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
}

.novinki-pagination-prev,
.novinki-pagination-next {
    padding: 12px 24px;
    background: #fff300;
    color: #000000;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 700;
    transition: all 0.3s ease;
    border: 2px solid #fff300;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.novinki-pagination-prev:hover,
.novinki-pagination-next:hover {
    background: #ffe033;
    color: #000000;
    transform: translateY(-2px);
    text-decoration: none;
    border-color: #ffe033;
}

.novinki-pagination-pages {
    display: flex;
    gap: 8px;
    align-items: center;
}

.novinki-page-number {
    padding: 10px 16px;
    background: #ffffff;
    color: #2c3e50;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid #f0f0f0;
    min-width: 44px;
    text-align: center;
    font-size: 14px;
}

.novinki-page-number:hover {
    background: #fff300;
    color: #000000;
    border-color: #fff300;
}

.novinki-page-current {
    background: #fff300;
    color: #000000;
    border-color: #fff300;
    font-weight: 700;
}

.novinki-page-dots {
    color: #95a5a6;
    padding: 0 8px;
    font-weight: 600;
}

.novinki-no-products {
    text-align: center;
    padding: 60px 0;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
}

.novinki-no-products p {
    font-size: 18px;
    color: #7f8c8d;
    margin-bottom: 20px;
}

.novinki-back-first {
    color: #2c3e50;
    text-decoration: none;
    font-weight: 600;
    background: #fff300;
    padding: 10px 20px;
    border-radius: 6px;
    display: inline-block;
    transition: all 0.3s ease;
    border: 2px solid #fff300;
}

.novinki-back-first:hover {
    background: #ffe033;
    color: #000000;
    border-color: #ffe033;
}

@media (max-width: 1400px) {
    .novinki-page-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 1200px) {
    .novinki-page-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .novinki-page-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .novinki-page-section {
        padding: 40px 0;
    }
    
    .novinki-page-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .novinki-page-image-container {
        height: 180px;
        padding: 15px;
    }
    
    .novinki-pagination {
        flex-direction: column;
        gap: 15px;
    }
    
    .novinki-page-info {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .novinki-page-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .novinki-page-info {
        font-size: 12px;
    }
}