/* Общие стили */
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;
}

@media (max-width: 768px) {
    .nav-menu {
        flex-direction: column;
        margin-top: 15px;
    }
    .nav-menu a {
        margin: 10px 0;
    }
}

/* Герой-секции */
.hero, .about-hero, .products-hero, .cart-hero, .contact-hero, .policy-hero, .terms-hero {
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
    padding: 100px 0;
    text-align: center;
    border-radius: 12px;
    margin: 20px 0;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    animation: fadeIn 1.5s ease;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
}

.hero-text h1 {
    font-size: 42px;
    margin-bottom: 15px;
    color: #fff;
    position: relative;
    z-index: 1;
}

.hero-text p {
    font-size: 20px;
    max-width: 800px;
    margin: 0 auto 25px;
    color: #fff;
    position: relative;
    z-index: 1;
}

@media (max-width: 768px) {
    .hero-text h1 {
        font-size: 28px;
    }
    .hero-text p {
        font-size: 16px;
    }
}

/* Продукти */
.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: #f9f9f9;
    border-radius: 8px;
    margin-bottom: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    opacity: 0;
    animation: fadeInUp 1s ease forwards 0.2s;
}

.product-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

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

.product-item:hover img {
    transform: scale(1.02);
}

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

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

.product-price {
    color: #d81b60;
    font-weight: 600;
    font-size: 18px;
    margin-bottom: 10px;
}

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

@media (max-width: 768px) {
    .product-item {
        flex-direction: column;
        text-align: center;
    }
    .product-item img {
        margin-bottom: 15px;
        max-width: 200px;
        height: 233px;
        width: 200px;
    }
}

/* Корзина */
.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 {
    display: grid;
    gap: 20px;
    margin-bottom: 30px;
}

.cart-item {
    display: flex;
    align-items: center;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 8px;
    transition: transform 0.3s ease;
    border: 1px solid #e0e0e0;
}

.cart-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.cart-image {
    max-width: 200px;
    height: 233px;
    width: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-right: 20px;
}

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

.product-details p {
    margin: 5px 0;
    font-size: 16px;
    color: #666;
}

.btn-remove {
    background: #ef5350;
    padding: 8px 15px;
    border: none;
    border-radius: 8px;
    color: white;
    transition: transform 0.3s ease, background 0.3s ease;
    margin-left: 10px;
    cursor: pointer;
}

.btn-remove:hover {
    transform: scale(1.05);
    background: #d32f2f;
}

.clear-cart-btn {
    background: #ef9a9a;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    color: white;
    margin-top: 20px;
    transition: transform 0.3s ease, background 0.3s ease;
    cursor: pointer;
}

.clear-cart-btn:hover {
    transform: scale(1.05);
    background: #f44336;
}

.cart-summary {
    text-align: center;
    padding: 20px;
    background: #e8f5e9;
    border-radius: 8px;
    margin-top: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.cart-total {
    font-size: 22px;
    color: #d81b60;
    font-weight: 600;
    margin-bottom: 15px;
}

.lead-form {
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    margin-top: 20px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.lead-form h2 {
    color: #2e7d32;
    text-align: center;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 15px;
}

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

.form-group input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    box-sizing: border-box;
}

.form-message {
    margin-top: 10px;
    text-align: center;
    font-size: 14px;
}

@media (max-width: 768px) {
    .cart-item {
        flex-direction: column;
        text-align: center;
    }
    .cart-image {
        margin-right: 0;
        margin-bottom: 15px;
    }
    .btn-remove {
        margin-top: 10px;
        margin-left: 0;
        width: 100%;
    }
    .cart-summary, .lead-form {
        padding: 15px;
    }
}

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

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

.benefit-item {
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

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

.benefit-item h3 {
    font-size: 22px;
    color: #2e7d32;
    margin-bottom: 10px;
}

.benefit-item p {
    font-size: 16px;
    color: #555;
}

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

.testimonial-carousel {
    display: flex;
    justify-content: center;
    overflow: hidden;
}

.testimonial-item {
    display: none;
    max-width: 600px;
    text-align: center;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 8px;
    margin: 0 10px;
    transition: opacity 0.5s ease;
}

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

.testimonial-item .author {
    font-style: italic;
    color: #666;
    font-size: 14px;
}

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

.contact-content {
    text-align: center;
    padding: 20px;
}

.contact-content p {
    margin-bottom: 15px;
    font-size: 16px;
    color: #555;
}

.contact-content form {
    max-width: 500px;
    margin: 0 auto;
}

/* Политики */
.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, .terms-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.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;
    }
}