/* Стили для страницы kainynas.html */
.kainynas-hero-block {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
    overflow: hidden;
}

.kainynas-hero {
    margin-bottom: 0;
}

.kainynas-hero h2 {
    color: #333;
    margin-bottom: 1rem;
    padding: 0 1.8rem;
    margin-top: 1.8rem;
    text-align: center;
}

.kainynas-hero p {
    padding: 0 1.8rem;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    line-height: 1.6;
    color: #333;
}

.kainynas-hero p:last-child {
    margin-bottom: 1.8rem;
}

.full-width-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 8px 8px 0 0;
}

.kainynas-intro {
    padding: 1.8rem;
    margin-bottom: 0;
    font-size: 1.1rem;
    line-height: 1.6;
    color: #333;
}

.kainynas-intro h2 {
    color: #333;
    margin-bottom: 1rem;
}

.price-table-container {
    background-color: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    overflow-x: auto;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.price-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    table-layout: fixed;
}

.price-table th, 
.price-table td {
    padding: 1.2rem;
    text-align: center;
    border-bottom: 1px solid #e8e8e8;
    vertical-align: middle;
    word-wrap: break-word;
}

.price-table th {
    background-color: #f8f9fa;
    font-weight: bold;
    color: #333;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

.price-table th:first-child {
    border-top-left-radius: 6px;
}

.price-table th:last-child {
    border-top-right-radius: 6px;
}

.price-table tr:last-child td {
    border-bottom: none;
}

.price-table tr:hover {
    background-color: #f9f9f9;
}

.product-image-cell {
    width: 120px;
    text-align: center;
}

.product-image-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100px;
}

.product-image-cell img {
    display: block;
    border-radius: 8px;
    object-fit: contain;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    border: 1px solid #f0f0f0;
    max-height: 100px;
    max-width: 100px;
}

.product-name-cell {
    vertical-align: middle;
    width: 35%;
    text-align: left;
}

.product-name-cell a {
    color: #333;
    font-weight: bold;
    text-decoration: none;
    transition: color 0.2s;
    font-size: 1.05rem;
    display: block;
}

.product-name-cell a:hover {
    color: #4CAF50;
    text-decoration: underline;
}

.product-description {
    margin-top: 0.5rem;
}

.product-description small {
    color: #666;
    font-size: 0.85rem;
    font-style: italic;
}

.product-price-cell {
    font-weight: bold;
    font-size: 1.1rem;
    vertical-align: middle;
    width: 15%;
}

.old-price {
    color: #999;
    text-decoration: line-through;
}

.new-price {
    color: #27ae60;
}

.savings {
    color: #e74c3c;
}

.old-price-value,
.new-price-value,
.savings-value {
    font-weight: bold;
    font-size: 1.1rem;
}

.delivery-info {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid #f1f1f1;
}

.delivery-info h3 {
    color: #333;
    margin-bottom: 2rem;
    text-align: center;
}

.info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.info-card {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-left: 4px solid #4CAF50;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.info-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.info-card h4 {
    color: #333;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.info-card p {
    color: #666;
    line-height: 1.5;
    margin: 0;
}

.order-cta {
    background: linear-gradient(135deg, #4CAF50, #2E7D32);
    color: white;
    padding: 3rem 2rem;
    border-radius: 15px;
    text-align: center;
    margin-top: 3rem;
}

.order-cta h3 {
    color: white;
    margin-bottom: 1rem;
    font-size: 2rem;
}

.order-cta p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary {
    background: white;
    color: #4CAF50;
    border: 2px solid white;
}

.btn-primary:hover {
    background: transparent;
    color: white;
    transform: translateY(-2px);
    text-decoration: none;
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #4CAF50;
    transform: translateY(-2px);
    text-decoration: none;
}

.promo-sidebar {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
}

.promo-btn {
    display: inline-block;
    background: white;
    color: #e74c3c;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    margin-top: 1rem;
    transition: all 0.3s ease;
}

.promo-btn:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
    text-decoration: none;
    color: #e74c3c;
}

.popular-products {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.popular-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.popular-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.popular-item img {
    border-radius: 4px;
    border: 1px solid #e8e8e8;
}

.popular-info {
    flex: 1;
}

.popular-info strong {
    display: block;
    color: #333;
    font-size: 0.9rem;
    margin-bottom: 0.3rem;
}

.popular-price {
    color: #27ae60;
    font-weight: bold;
    font-size: 1rem;
}

.testimonial {
    background: #f8f9fa;
    padding: 1.2rem;
    border-radius: 8px;
    margin: 1rem 0;
    border-left: 4px solid #4CAF50;
    font-style: italic;
}

.testimonial p {
    margin: 0 0 0.5rem 0;
    color: #666;
}

.testimonial cite {
    color: #333;
    font-weight: bold;
    font-size: 0.9rem;
}

/* Мобильная адаптация */
@media (max-width: 768px) {
    .price-table-container {
        margin-left: 0;
        margin-right: 0;
        width: 100%;
        padding: 1rem;
        border-radius: 8px;
    }

    .price-table {
        font-size: 0.9rem;
    }

    .price-table th,
    .price-table td {
        padding: 0.8rem 0.5rem;
    }

    .product-image-cell {
        width: 80px;
    }

    .product-image-wrapper {
        height: 70px;
    }

    .product-image-cell img {
        max-width: 60px;
        max-height: 60px;
    }

    .product-name-cell {
        width: 40%;
    }

    .product-name-cell a {
        font-size: 0.9rem;
    }

    .product-description small {
        font-size: 0.75rem;
    }

    .product-price-cell {
        width: 12%;
        font-size: 0.9rem;
    }

    .info-cards {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .info-card {
        padding: 1.5rem;
    }

    .order-cta {
        padding: 2rem 1rem;
    }

    .order-cta h3 {
        font-size: 1.6rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .price-table th,
    .price-table td {
        padding: 0.6rem 0.3rem;
        font-size: 0.8rem;
    }

    .product-image-cell {
        width: 60px;
    }

    .product-image-wrapper {
        height: 50px;
    }

    .product-image-cell img {
        max-width: 40px;
        max-height: 40px;
    }

    .product-name-cell a {
        font-size: 0.8rem;
    }

    .product-description small {
        font-size: 0.7rem;
    }

    .product-price-cell {
        font-size: 0.8rem;
    }

    .popular-item {
        padding: 0.8rem;
    }

    .popular-info strong {
        font-size: 0.8rem;
    }

    .popular-price {
        font-size: 0.9rem;
    }
}