* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    color: #333333;
    background-color: #FFF8F0;
    overflow-x: hidden;
}

h1, h2, h3 {
    font-family: 'Lora', serif;
}

h1 { font-weight: 700; }
h2 { font-weight: 600; }
h3 { font-weight: 600; }

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

.fade-in {
    opacity: 0;
    transform: translateX(-20px);
    animation: fadeIn 0.6s ease forwards;
}

@keyframes fadeIn {
    to { opacity: 1; transform: translateX(0); }
}

.header {
    background: linear-gradient(45deg, #FFF8F0, #F4C7C3);
    color: #333333;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(128, 0, 32, 0.2);
}

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

.logo h1 {
    font-size: 2rem;
}

.tagline {
    font-size: 0.9rem;
}

.nav-menu {
    display: flex;
    gap: 20px;
}

.nav-menu a {
    color: #333333;
    text-decoration: none;
    font-weight: 500;
}

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

.cart-link {
    position: relative;
}

.cart-count {
    background-color: #800020;
    color: #FFFFFF;
    border-radius: 50%;
    padding: 2px 8px;
    font-size: 0.8rem;
    position: absolute;
    top: -10px;
    right: -10px;
}

.cookie-notice {
    position: fixed;
    bottom: -100%;
    left: 0;
    right: 0;
    background-color: #333333;
    color: #FFFFFF;
    padding: 15px;
    text-align: center;
    transition: bottom 0.5s ease;
    z-index: 1000;
}

.cookie-notice.show {
    bottom: 0;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 10px;
}

.cookie-btn {
    padding: 8px 20px;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.cookie-btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, #FFFFFF 10%, transparent 10.01%);
    transform: translate(-50%, -50%);
    transition: width 0.4s ease, height 0.4s ease;
}

.cookie-btn:hover::after {
    width: 200px;
    height: 200px;
}

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

.cookie-btn.accept {
    background-color: #F4C7C3;
    color: #333333;
}

.cookie-btn.decline {
    background-color: #800020;
    color: #FFFFFF;
}

.hero {
    padding: 40px 0;
    background: linear-gradient(45deg, #FFF8F0, #F4C7C3);
}

.hero-content {
    display: flex;
    gap: 20px;
    align-items: center;
    flex-wrap: wrap;
}

.hero-text {
    flex: 1;
    min-width: 0;
}

.hero-text h1 {
    font-size: 2.5rem;
}

.hero-subtitle {
    font-size: 1.1rem;
    margin: 15px 0;
    line-height: 1.6;
}

.cta-button {
    display: inline-block;
    padding: 12px 25px;
    background: linear-gradient(45deg, #F4C7C3, #800020);
    color: #FFFFFF;
    text-decoration: none;
    border-radius: 20px;
    font-weight: 500;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.cta-button::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, #FFFFFF 10%, transparent 10.01%);
    transform: translate(-50%, -50%);
    transition: width 0.4s ease, height 0.4s ease;
}

.cta-button:hover::after {
    width: 200px;
    height: 200px;
}

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

.hero-image.parallax img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    transition: transform 0.3s ease;
}

.hero-image img:hover {
    transform: scale(1.02);
}

.section-title {
    font-size: 2rem;
    text-align: center;
    margin: 30px 0;
}

.why-varikoz, .info, .products, .health-tips {
    padding: 40px 0;
}

.why-grid, .info-grid, .tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    max-width: 100%;
}

.why-card, .info-card, .tip-card {
    background-color: #FFFFFF;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(128, 0, 32, 0.2);
    text-align: center;
    padding: 20px;
    transition: transform 0.3s ease;
}

.why-card:hover, .info-card:hover, .tip-card:hover {
    transform: translateY(-5px);
}

.why-icon, .info-icon, .tip-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 10px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.why-card h3, .info-card h3, .tip-card h3 {
    font-size: 1.3rem;
}

.why-card p, .info-card p, .tip-card p {
    font-size: 0.9rem;
}

.pressure-container {
    display: flex;
    flex-wrap: wrap; /* Адаптивный перенос */
    gap: 20px;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
}

.pressure-labels {
    display: flex;
    flex-direction: column;
    gap: 5px;
    font-size: 0.9rem;
}

.pressure-text {
    font-weight: 500;
    color: #800020;
}

.pressure-scale {
    max-width: 100%;
    overflow: hidden;
}

.pressure-animate {
    animation: pressurePulse 3s infinite;
}

@keyframes pressurePulse {
    0% { width: 60px; }
    50% { width: 100px; }
    100% { width: 60px; }
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    max-width: 100%;
}

.product-card {
    background-color: #FFFFFF;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(128, 0, 32, 0.2);
    overflow: hidden;
}

.product-card.pulse:hover {
    animation: pulse 1.5s infinite;
}

.product-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-image img:hover {
    transform: scale(1.05);
}

.product-info {
    padding: 15px;
}

.product-info h3 {
    font-size: 1.4rem;
}

.product-price {
    font-size: 1.2rem;
    color: #800020;
    margin: 10px 0;
}

.btn-add-cart, .btn-details {
    width: 100%;
    padding: 10px;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.btn-add-cart::after, .btn-details::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, #FFFFFF 10%, transparent 10.01%);
    transform: translate(-50%, -50%);
    transition: width 0.4s ease, height 0.4s ease;
}

.btn-add-cart:hover::after, .btn-details:hover::after {
    width: 200px;
    height: 200px;
}

.btn-add-cart {
    background: linear-gradient(45deg, #F4C7C3, #800020);
    color: #FFFFFF;
}

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

.btn-details {
    background: linear-gradient(45deg, #FFF8F0, #F4C7C3);
    color: #333333;
    text-decoration: none;
    text-align: center;
    display: block;
    margin-bottom: 10px;
}

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

.medical-disclaimer {
    margin-top: 20px;
    text-align: center;
    font-size: 0.9rem;
    color: #333333;
    background-color: #FFFFFF;
    padding: 10px;
    border-radius: 20px;
}

.contact, .cart, .policy, .product {
    padding: 40px 0;
}

.contact-form, .cart-form {
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

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

.form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 5px;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #D8A7B1;
    border-radius: 20px;
}

.form-group textarea {
    height: 100px;
}

.form-btn {
    padding: 10px 20px;
    background: linear-gradient(45deg, #F4C7C3, #800020);
    color: #FFFFFF;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.form-btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, #FFFFFF 10%, transparent 10.01%);
    transform: translate(-50%, -50%);
    transition: width 0.4s ease, height 0.4s ease;
}

.form-btn:hover::after {
    width: 200px;
    height: 200px;
}

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

.contact-info {
    margin-top: 20px;
    text-align: center;
}

.contact-info p {
    font-size: 1rem;
    margin-bottom: 10px;
}

.cart-item {
    display: flex;
    align-items: center;
    background-color: #FFFFFF;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(128, 0, 32, 0.2);
    padding: 15px;
    margin-bottom: 15px;
}

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

.cart-item-image {
    max-width: 100px;
    height: auto;
    object-fit: contain;
    border-radius: 20px;
    margin-right: 15px;
    border: 1px solid #D8A7B1;
}

.cart-item-info {
    flex: 1;
}

.cart-item-info h3 {
    font-size: 1.3rem;
}

.cart-item-price {
    font-size: 1.1rem;
    color: #800020;
    margin-bottom: 10px;
}

.cart-item-quantity {
    display: flex;
    align-items: center;
    gap: 10px;
}

.quantity-btn {
    background: linear-gradient(45deg, #FFF8F0, #F4C7C3);
    color: #333333;
    border: none;
    border-radius: 20px;
    padding: 5px 10px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.quantity-btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, #FFFFFF 10%, transparent 10.01%);
    transform: translate(-50%, -50%);
    transition: width 0.4s ease, height 0.4s ease;
}

.quantity-btn:hover::after {
    width: 100px;
    height: 100px;
}

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

.quantity-input {
    width: 60px;
    padding: 5px;
    border: 1px solid #D8A7B1;
    border-radius: 20px;
    text-align: center;
}

.remove-btn {
    background: linear-gradient(45deg, #800020, #D8A7B1);
    color: #FFFFFF;
    border: none;
    border-radius: 20px;
    padding: 10px 15px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.remove-btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, #FFFFFF 10%, transparent 10.01%);
    transform: translate(-50%, -50%);
    transition: width 0.4s ease, height 0.4s ease;
}

.remove-btn:hover::after {
    width: 200px;
    height: 200px;
}

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

.cart-total {
    margin-top: 20px;
    text-align: right;
}

.cart-total p {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.cart-form {
    max-width: 400px;
    margin-left: auto;
}

.cart-empty {
    text-align: center;
    padding: 20px;
    background-color: #FFFFFF;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(128, 0, 32, 0.2);
}

.cart-empty h2 {
    font-size: 1.5rem;
}

.cart-empty p {
    font-size: 1rem;
    margin-bottom: 15px;
}

.policy h3 {
    font-size: 1.4rem;
    margin: 20px 0 10px;
}

.policy p {
    font-size: 1rem;
    margin-bottom: 15px;
    line-height: 1.6;
}

.policy ul, .policy ol {
    margin: 15px 0;
    padding-left: 20px;
}

.policy li {
    font-size: 1rem;
    margin-bottom: 10px;
    line-height: 1.6;
}

.policy a {
    color: #800020;
    text-decoration: none;
}

.policy a:hover {
    color: #D8A7B1;
}

.product-details {
    display: flex;
    gap: 20px;
    align-items: center;
    flex-wrap: wrap;
}

.product-details .product-image {
    flex: 1;
    min-width: 250px;
}

.product-details .product-info {
    flex: 1;
    min-width: 0;
}

.footer {
    background: linear-gradient(45deg, #FFF8F0, #F4C7C3);
    color: #333333;
    padding: 20px 0;
    box-shadow: 0 -2px 5px rgba(128, 0, 32, 0.2);
}

.footer-content {
    text-align: center;
}

.footer-links {
    margin-bottom: 10px;
}

.footer-links a {
    color: #333333;
    text-decoration: none;
    margin: 0 10px;
}

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

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        align-items: flex-start;
    }
    .nav-menu {
        flex-direction: column;
        gap: 10px;
        margin-top: 10px;
    }
    .hero-content {
        flex-direction: column;
    }
    .hero-text h1 {
        font-size: 2rem;
    }
    .hero-subtitle {
        font-size: 1rem;
    }
    .cart-item {
        flex-direction: column;
        align-items: flex-start;
    }
    .cart-item-image {
        max-width: 80px;
        margin-bottom: 10px;
    }
    .cart-form {
        max-width: 100%;
    }
    .product-details {
        flex-direction: column;
    }
    .product-image {
        width: 100%;
    }
    .pressure-container {
        flex-direction: column;
        align-items: center;
    }
    .pressure-labels {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 1.5rem;
    }
    .section-title {
        font-size: 1.5rem;
    }
    .why-grid, .info-grid, .tips-grid {
        grid-template-columns: 1fr;
    }
    .products-grid {
        grid-template-columns: 1fr;
    }
    .cart-item-image {
        max-width: 60px;
    }
    .cart-item-info h3 {
        font-size: 1rem;
    }
    .cart-item-price {
        font-size: 0.9rem;
    }
    .quantity-btn {
        padding: 3px 8px;
    }
    .quantity-input {
        width: 50px;
    }
    .remove-btn {
        padding: 8px 12px;
    }
    .policy h3 {
        font-size: 1.2rem;
    }
    .policy p, .policy li {
        font-size: 0.9rem;
    }
}