/* Общие стили */
body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    color: #333;
    line-height: 1.6;
    background: linear-gradient(135deg, #f0f4f8 0%, #e0e7ff 100%);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3 {
    font-family: 'Poppins', sans-serif;
    color: #2e7d32;
}

h2.section-title {
    text-align: center;
    margin: 40px 0 25px;
    font-size: 28px;
    opacity: 0;
    animation: fadeIn 1s ease forwards 0.5s;
}

button {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    background: linear-gradient(45deg, #66bb6a, #43a047);
    color: white;
    font-weight: 500;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

button:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(66, 165, 106, 0.4);
}

.cta-button {
    background: linear-gradient(45deg, #66bb6a, #43a047);
    color: white;
    text-decoration: none;
    padding: 14px 28px;
    display: inline-block;
    border-radius: 8px;
    margin-top: 20px;
    transition: transform 0.3s ease;
}

.cta-button:hover {
    transform: scale(1.05);
}

/* Шапка */
.header {
    background: rgba(255, 255, 255, 0.95);
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    margin: 0;
    font-size: 24px;
    color: #2e7d32;
}

.logo p {
    margin: 5px 0 0;
    color: #666;
    font-size: 14px;
}

.nav-menu {
    display: flex;
    align-items: center;
}

.nav-menu a {
    margin-left: 20px;
    text-decoration: none;
    color: #333;
    font-weight: 500;
    padding: 6px 10px;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: #66bb6a;
}

/* Герой */
.hero {
    background: #e8f5e9;
    padding: 100px 0;
    text-align: center;
    border-radius: 12px;
    margin: 20px 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    animation: fadeIn 1.5s ease;
}

.hero-text h1 {
    font-size: 42px;
    margin-bottom: 15px;
    color: #2e7d32;
}

.hero-text p {
    font-size: 20px;
    max-width: 800px;
    margin: 0 auto 25px;
    color: #333;
}

/* Список продуктов */
.product-list {
    padding: 40px 0;
    background: #fff;
    margin: 20px 0;
    border-radius: 12px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.product-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    background: #e8f5e9;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.product-item:hover {
    transform: translateY(-5px);
}

.product-item img {
    max-width: 250px;
    height: 300px;
    width: 250px;
    object-fit: cover;
    border-radius: 8px;
}

.product-details {
    text-align: center;
    margin-top: 15px;
}

.product-details h3 {
    margin: 0 0 10px;
    font-size: 20px;
    color: #2e7d32;
}

.product-price {
    font-size: 18px;
    color: #43a047;
    margin-bottom: 10px;
}

.product-details p {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
}

/* Преимущества */
.advantages-section {
    padding: 40px 0;
    background: #f9fbe7;
    margin: 20px 0;
    border-radius: 12px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.advantage-item {
    text-align: center;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
}

.advantage-item h3 {
    margin-bottom: 10px;
    color: #2e7d32;
}

.advantage-item p {
    color: #666;
}

/* Отзывы */
.testimonials-section {
    padding: 40px 0;
    background: #e8f5e9;
    margin: 20px 0;
    border-radius: 12px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.testimonial-item {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
}

.testimonial-item p {
    font-style: italic;
    color: #333;
    margin-bottom: 10px;
}

.testimonial-item cite {
    font-weight: 500;
    color: #666;
}

/* О нас */
.about-section {
    padding: 40px 0;
    background: #fff;
    margin: 20px 0;
    border-radius: 12px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-content p {
    color: #666;
    margin-bottom: 15px;
}

/* Контакты */
.contact-section {
    padding: 40px 0;
    background: #f9fbe7;
    margin: 20px 0;
    border-radius: 12px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.contact-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 5px;
    color: #2e7d32;
}

.form-group input, .form-group textarea {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-family: 'Roboto', sans-serif;
}

.form-message {
    margin-top: 10px;
}

/* Корзина */
.cart-section {
    padding: 40px 0;
    background: #fff;
    margin: 20px 0;
    border-radius: 12px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.cart-items {
    margin-bottom: 20px;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background: #e8f5e9;
    border-radius: 8px;
    margin-bottom: 10px;
}

.cart-image {
    max-width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 8px;
}

.btn-remove {
    background: #d32f2f;
    padding: 8px 16px;
}

.cart-summary, .lead-form {
    padding: 20px;
    background: #f9fbe7;
    border-radius: 8px;
}

.clear-cart-btn {
    background: #d32f2f;
    margin-top: 10px;
}

.cart-total {
    font-size: 18px;
    color: #43a047;
    margin-bottom: 10px;
}

/* Политика и условия */
.policy-section, .terms-section {
    padding: 40px 0;
    background: #fff;
    margin: 20px 0;
    border-radius: 12px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.policy-content h3, .terms-content h3 {
    margin-top: 20px;
    color: #2e7d32;
}

.policy-content p, .terms-content p {
    margin-bottom: 15px;
    font-size: 16px;
    color: #666;
}

/* Футер */
.footer {
    background: #2e7d32;
    color: #fff;
    padding: 30px 0;
    text-align: center;
    margin-top: 40px;
}

.footer-content a {
    color: #fff;
    margin: 0 15px;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.footer-content a:hover {
    opacity: 0.8;
}

.footer-content p {
    margin-top: 10px;
    font-size: 14px;
}

/* Медицинское предупреждение */
.medical-disclaimer {
    color: #d32f2f;
    text-align: center;
    font-size: 14px;
    margin: 15px 0;
    padding: 10px;
    background: #ffebee;
    border-radius: 8px;
    animation: fadeIn 1s ease;
}

/* Куки-уведомление */
.cookie-notice {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    color: #333;
    padding: 20px;
    text-align: center;
    z-index: 1000;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    animation: slideUp 0.5s ease;
}

.cookie-notice.show {
    display: block;
}

.cookie-btn {
    padding: 10px 20px;
    margin: 0 10px;
    background: #66bb6a;
    color: white;
    border: none;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.cookie-btn:hover {
    transform: scale(1.05);
}

/* Анимации */
@keyframes fadeIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

@keyframes fadeInUp {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}

@keyframes slideUp {
    0% { transform: translateY(100%); }
    100% { transform: translateY(0); }
}

@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    .header-content {
        flex-direction: column;
        text-align: center;
    }
    .nav-menu a {
        margin: 10px 0;
    }
    .product-grid, .advantages-grid, .testimonials-grid {
        grid-template-columns: 1fr;
    }
}