/* Летние акции - блок товаров */
.summer-sale {
    padding: 60px 0;
    background: linear-gradient(135deg, #fff8f0 0%, #fff3e6 100%);
    position: relative;
    overflow: hidden;
}

.summer-sale::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(255, 138, 0, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 69, 0, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.summer-sale .container {
    position: relative;
    z-index: 1;
}

.summer-sale .section-title {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.5em;
    color: #333;
    position: relative;
}

.summer-sale .section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #ff8a00, #ff4500);
    border-radius: 2px;
}

/* Основная сетка товаров */
.summer-sale-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

/* Карточка товара */
.summer-product {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    opacity: 1;
    transform: translateY(0);
}

/* Скрытые товары */
.summer-product--hidden {
    display: none;
}

/* Анимация появления товаров */
.summer-product--show {
    animation: fadeInUp 0.6s ease forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.summer-product:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.summer-product__badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: linear-gradient(135deg, #ff8a00, #ff4500);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8em;
    font-weight: 600;
    z-index: 2;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.summer-product__discount {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #e74c3c;
    color: white;
    padding: 6px 10px;
    border-radius: 50px;
    font-size: 0.85em;
    font-weight: 700;
    z-index: 2;
}

.summer-product__image {
    height: 200px;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.summer-product__placeholder {
    color: #6c757d;
    font-style: italic;
    text-align: center;
    padding: 20px;
    line-height: 1.4;
}

.summer-product__content {
    padding: 25px;
}

.summer-product__title {
    font-size: 1.1em;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
    line-height: 1.3;
    min-height: 3em;
}

.summer-product__description {
    color: #666;
    font-size: 0.9em;
    margin-bottom: 20px;
    line-height: 1.4;
    min-height: 2.8em;
}

.summer-product__price-block {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.summer-product__old-price {
    color: #999;
    text-decoration: line-through;
    font-size: 0.9em;
    order: 1;
}

.summer-product__price {
    font-size: 1.4em;
    font-weight: 700;
    color: #e74c3c;
    order: 2;
}

.summer-product__unit {
    font-size: 0.8em;
    color: #666;
    font-weight: 400;
}

.summer-product__button {
    display: block;
    width: 100%;
    background: linear-gradient(135deg, #ff8a00, #ff4500);
    color: white;
    text-decoration: none;
    padding: 15px;
    border-radius: 12px;
    text-align: center;
    font-weight: 600;
    font-size: 1em;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.summer-product__button:hover {
    background: linear-gradient(135deg, #ff4500, #ff8a00);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 69, 0, 0.3);
}

/* Кнопки "Показать еще" */
.summer-sale__show-more {
    text-align: center;
    margin: 40px 0;
    opacity: 1;
    transition: all 0.3s ease;
}

.summer-sale__show-more--hidden {
    display: none;
}

.summer-sale__show-more-btn {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 50px;
    font-size: 1.1em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(40, 167, 69, 0.3);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.summer-sale__show-more-btn:hover {
    background: linear-gradient(135deg, #20c997, #28a745);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(40, 167, 69, 0.4);
}

.summer-sale__show-more-btn i {
    font-size: 1em;
}

/* CTA блок */
.summer-sale__cta {
    text-align: center;
    margin-top: 50px;
    padding: 40px 30px;
    background: linear-gradient(135deg, #fff, #f8f9fa);
    border-radius: 20px;
    border: 2px solid #e9ecef;
}

.summer-sale__cta-text {
    font-size: 1.2em;
    color: #333;
    margin-bottom: 20px;
    font-weight: 500;
}

.summer-sale__cta-btn {
    display: inline-block;
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
    text-decoration: none;
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1em;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.3);
}

.summer-sale__cta-btn:hover {
    background: linear-gradient(135deg, #0056b3, #007bff);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 123, 255, 0.4);
}

/* Адаптивность */
@media (max-width: 1200px) {
    .summer-sale-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    .summer-sale-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .summer-product__content {
        padding: 20px;
    }
    
    .summer-sale .section-title {
        font-size: 2em;
    }
}

@media (max-width: 600px) {
    .summer-sale {
        padding: 40px 0;
    }
    
    .summer-sale-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .summer-product__content {
        padding: 15px;
    }
    
    .summer-product__title {
        font-size: 1em;
        min-height: auto;
    }
    
    .summer-product__description {
        font-size: 0.85em;
        min-height: auto;
    }
    
    .summer-product__price {
        font-size: 1.2em;
    }
    
    .summer-sale .section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    
    .summer-sale__show-more-btn {
        padding: 12px 25px;
        font-size: 1em;
    }
} 