/* Общие стили */
body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    color: #333;
    line-height: 1.6;
    background: #F5F5F5;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 15px;
}

h1, h2, h3 {
    font-family: 'Lora', serif;
    color: #4CAF50;
}

h2.section-title {
    text-align: center;
    margin: 35px 0 25px;
    font-size: 26px;
}

button {
    padding: 10px 18px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    background: #4CAF50;
    color: white;
    font-weight: 500;
    transition: background 0.3s ease;
}

button:hover {
    background: #388E3C;
}

.cta-button {
    background: #4CAF50;
    color: white;
    text-decoration: none;
    padding: 12px 22px;
    display: inline-block;
    border-radius: 5px;
    margin-top: 15px;
}

.cta-button:hover {
    background: #388E3C;
}

/* Шапка */
.header {
    background: #FFFFFF;
    padding: 12px 0;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo h1 {
    margin: 0;
    font-size: 22px;
    color: #4CAF50;
}

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

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

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

.nav-menu a:hover {
    color: #4CAF50;
}

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

/* Герой-секция */
.hero {
    background: #E8F5E9;
    padding: 50px 0;
    text-align: center;
    border-radius: 8px;
    margin: 15px 0;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.hero-text h1 {
    font-size: 32px;
    margin-bottom: 15px;
}

.hero-text p {
    font-size: 16px;
    max-width: 700px;
    margin: 0 auto 20px;
    color: #555;
}

/* Продукты */
.product-list {
    padding: 30px 0;
    background: #FFFFFF;
    margin: 15px 0;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.product-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px;
    background: #F9F9F9;
    border-radius: 5px;
    margin-bottom: 15px;
    transition: transform 0.3s ease;
}

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

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

.product-details {
    flex: 1;
    padding-left: 20px;
}

.product-details h3 {
    margin: 10px 0;
    font-size: 18px;
}

.product-price {
    color: #4CAF50;
    font-weight: 500;
    font-size: 16px;
    margin-bottom: 10px;
}

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

@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;
    }
    .product-details {
        padding-left: 0;
    }
}

/* О нас */
.about-section {
    padding: 30px 0;
    background: #FFFFFF;
    margin: 15px 0;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.about-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    padding: 0 15px;
    color: #555;
}

.about-content h3 {
    margin: 15px 0;
    font-size: 20px;
}

.about-content p {
    margin-bottom: 10px;
    font-size: 15px;
}

/* Контакты */
.contact-section {
    padding: 30px 0;
    background: #FFFFFF;
    margin: 15px 0;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.contact-info {
    text-align: center;
    margin-bottom: 20px;
    padding: 0 15px;
    color: #666;
}

.contact-info p {
    margin: 5px 0;
    font-size: 15px;
}

.contact-form {
    max-width: 450px;
    margin: 0 auto;
    padding: 0 15px;
}

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

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-size: 15px;
    color: #4CAF50;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 8px;
    border: 1px solid #E0E0E0;
    border-radius: 5px;
    font-size: 14px;
    background: #FFFFFF;
    color: #333;
}

.form-message {
    margin-top: 10px;
    text-align: center;
    color: #666;
}

/* Футер */
.footer {
    background: #FFFFFF;
    color: #333;
    padding: 25px 0;
    text-align: center;
    margin-top: 30px;
    box-shadow: 0 -1px 5px rgba(0, 0, 0, 0.05);
}

.footer-content {
    padding: 0 15px;
}

.footer-links a {
    color: #4CAF50;
    margin: 0 12px;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #388E3C;
}

/* Адаптивность */
@media (max-width: 768px) {
    .container {
        padding: 0 10px;
    }
    .header-content {
        flex-direction: column;
        text-align: center;
    }
    .contact-form, .about-content {
        padding: 0 10px;
    }
    .cookie-notice {
        padding: 12px;
    }
}

/* Куки-уведомление */
.cookie-notice {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #FFFFFF;
    color: #333;
    padding: 15px;
    text-align: center;
    z-index: 1000;
    box-shadow: 0 -1px 5px rgba(0, 0, 0, 0.1);
}

.cookie-notice.show {
    display: block;
    animation: slideUp 0.5s ease;
}

.cookie-content {
    max-width: 550px;
    margin: 0 auto;
}

.cookie-buttons {
    margin-top: 12px;
}

.cookie-btn {
    padding: 8px 15px;
    margin: 0 8px;
    background: #4CAF50;
    color: white;
    border: none;
    border-radius: 5px;
    transition: background 0.3s ease;
}

.cookie-btn:hover {
    background: #388E3C;
}

/* Предупреждение */
.medical-disclaimer {
    color: #D32F2F;
    text-align: center;
    font-size: 13px;
    margin: 10px 0;
    padding: 8px;
    background: #FFE0E0;
    border-radius: 5px;
}

/* Анимации */
@keyframes slideUp {
    0% { transform: translateY(100%); }
    100% { transform: translateY(0); }
}

/* Корзина */
.cart-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px;
    margin-bottom: 12px;
    background: #FFFFFF;
    border-radius: 5px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.cart-item img {
    max-width: 300px;
    height: 350px;
    width: 300px;
    object-fit: cover;
    margin-right: 12px;
}

.btn-remove {
    background: #D32F2F;
    color: white;
    padding: 5px 8px;
    border-radius: 5px;
    transition: background 0.3s ease;
}

.btn-remove:hover {
    background: #B71C1C;
}

.cart-summary {
    margin-top: 15px;
    padding: 15px;
    background: #F9F9F9;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.cart-total {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 12px;
    color: #4CAF50;
}

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