@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&family=Poppins:wght@500;600;700&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css');

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

body {
    font-family: 'Roboto', sans-serif;
    background-color: #F9FAFB;
    color: #1F2937;
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
}

.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 1.5rem;
    width: 100%;
}

.top-bar {
    padding: 0.4rem 0;
    font-size: 0.75rem;
    text-align: center;
    width: 100%;
    position: relative;
    z-index: 1000;
}

.top-bar .container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.main-header {
    background: linear-gradient(90deg, #2B4A7C, #4A90E2);
    color: #FFFFFF;
    padding: 1.25rem 0;
    position: sticky;
    top: 0;
    z-index: 999;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    width: 100%;
}

.header-content {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
}

.site-branding {
    flex: 0 0 auto;
    max-width: 300px;
}

.site-branding img {
    max-height: 80px;
    width: auto;
    max-width: 100%;
    height: auto;
    display: block;
    transform: scale(1.5);
    transform-origin: center;
}

.site-title {
    font-size: 1.75rem;
    color: #FFFFFF;
    text-decoration: none;
    font-weight: 600;
}

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

.nav-menu {
    list-style: none;
    display: flex;
    gap: 1.5rem;
}

.nav-menu li {
    position: relative;
}

.nav-menu a {
    color: #FFFFFF;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.2rem;
    padding: 0.5rem 0;
    transition: color 0.3s ease, transform 0.3s ease;
}

.nav-menu a:hover {
    color: #F5A623;
    transform: translateY(-2px);
}

.nav-menu .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #FFFFFF;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    border-radius: 0.5rem;
    min-width: 200px;
    z-index: 1000;
}

.nav-menu .sub-menu li {
    display: block;
}

.nav-menu .sub-menu a {
    color: #2B4A7C;
    padding: 0.75rem 1rem;
    display: block;
    font-size: 0.9rem;
}

.nav-menu .sub-menu a:hover {
    background-color: #E3F2FD;
    color: #4A90E2;
}

.nav-menu li:hover > .sub-menu {
    display: block;
}

.menu-item-cart {
    position: relative;
}

.cart-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #FFFFFF;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.cart-link:hover {
    color: #F5A623;
}

.cart-count {
    background: #F5A623;
    color: #FFFFFF;
    border-radius: 50%;
    padding: 0.2rem 0.5rem;
    font-size: 0.8rem;
    line-height: 1;
    font-family: 'Roboto', sans-serif;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #FFFFFF;
    font-size: 1.5rem;
    cursor: pointer;
}

.hero {
    position: relative;
    height: 700px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    overflow: hidden;
    z-index: 1;
    margin-bottom: 2rem;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-background-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0.4;
    transition: transform 1s ease;
}

.hero:hover .hero-background-image {
    transform: scale(1.05);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    padding: 2rem;
    text-align: left;
    margin-right: 3rem;
    animation: fadeInRight 1s ease-out;
}

.hero-text h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    color: #FFFFFF;
}

.hero-text p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    font-weight: 400;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    color: #F5A623;
}

.hero-text .btn-primary {
    transform: translateY(0);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-text .btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.btn-primary {
    display: inline-block;
    background: #F5A623;
    color: #FFFFFF;
    padding: 1rem 2.5rem;
    text-decoration: none;
    border-radius: 0.75rem;
    font-weight: 600;
    font-size: 1.1rem;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: left 0.3s ease;
    z-index: -1;
}

.btn-primary:hover {
    background: #2B4A7C;
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover::after {
    left: 0;
}

.remedium-section {
    padding: 4rem 0;
    text-align: center;
    background: #E3F2FD;
    position: relative;
    margin-bottom: 2rem;
    width: 100%;
    overflow: hidden;
}

.remedium-section h2 {
    color: #2B4A7C;
    font-size: clamp(2rem, 5vw, 2.5rem);
    margin-bottom: 2rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
}

.remedium-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 1rem;
}

.remedium-item {
    background: #FFFFFF;
    padding: 1.5rem;
    border-radius: 1rem;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.remedium-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.remedium-item img {
    width: 100%;
    max-width: 300px;
    height: auto;
    aspect-ratio: 4/3;
    object-fit: cover;
    border-radius: 0.75rem;
    margin-bottom: 1rem;
    transition: transform 0.4s ease;
}

.remedium-item:hover img {
    transform: scale(1.05);
}

.remedium-item h3 {
    color: #2B4A7C;
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
}

.remedium-item p.price,
.remedium-item p.dosage {
    color: #4B5563;
    font-size: 1rem;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Roboto', sans-serif;
}

.remedium-item p.price::before {
    content: '\f155';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: #F5A623;
}

.remedium-item p.dosage::before {
    content: '\f0fa';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: #F5A623;
}

.add-to-cart {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    align-items: center;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.quantity-input {
    width: 80px;
    padding: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-family: 'Roboto', sans-serif;
    text-align: center;
}

.add-to-cart-button,
.details-button {
    background: #F5A623;
    color: #FFFFFF;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 0.75rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.add-to-cart-button:hover,
.details-button:hover {
    background: #FF8C00;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.add-to-cart-button:focus,
.details-button:focus {
    outline: 2px solid #2B4A7C;
    outline-offset: 2px;
}

.add-to-cart-button .fa-cart-plus,
.details-button .fa-info-circle {
    font-size: 1.2rem;
}

@media (max-width: 640px) {
    .remedium-section {
        padding: 2rem 0;
    }

    .remedium-list {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 0 0.5rem;
    }

    .remedium-item {
        padding: 1rem;
    }

    .remedium-item img {
        max-width: 100%;
        height: auto;
    }

    .add-to-cart {
        flex-direction: column;
        align-items: stretch;
    }

    .quantity-input,
    .add-to-cart-button,
    .details-button {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .remedium-section h2 {
        font-size: 1.75rem;
    }

    .remedium-item h3 {
        font-size: 1.25rem;
    }

    .remedium-item p.price,
    .remedium-item p.dosage {
        font-size: 0.9rem;
    }
}

.details-button {
    background: #2B4A7C;
}

.add-to-cart-button:hover,
.details-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.add-to-cart-button:hover {
    background: #D97706;
}

.details-button:hover {
    background: #1C3166;
}

.add-to-cart-button::before {
    content: '\f07a';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
}

.details-button::before {
    content: '\f002';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
}

.quantity-input {
    width: 60px;
    padding: 0.5rem;
    border: 1px solid #4B5563;
    border-radius: 0.5rem;
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
    text-align: center;
    background: #FFFFFF;
}

.cart-sidebar {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100%;
    background: #FFFFFF;
    box-shadow: -4px 0 16px rgba(0, 0, 0, 0.15);
    z-index: 1001;
    transition: right 0.4s ease;
    font-family: 'Roboto', sans-serif;
    overflow-y: auto;
}

.cart-sidebar.active {
    right: 0;
}

.cart-sidebar .cart-content {
    padding: 2rem;
}

.cart-sidebar h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.75rem;
    color: #2B4A7C;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.cart-items {
    min-height: 100px;
}

.cart-items.loading::after {
    content: '';
    display: block;
    width: 24px;
    height: 24px;
    border: 3px solid #F5A623;
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 1.5rem auto;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.cart-sidebar .cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid #E5E7EB;
    font-size: 1rem;
    color: #4B5563;
}

.cart-sidebar .cart-item:last-child {
    border-bottom: none;
}

.cart-sidebar .cart-item span:first-child {
    flex: 1;
    font-family: 'Roboto', sans-serif;
}

.cart-sidebar .cart-item span:last-child {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cart-sidebar .cart-item .remove-from-cart {
    background: #DC2626;
    color: #FFFFFF;
    padding: 0.5rem 0.75rem;
    border: none;
    border-radius: 0.5rem;
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
}

.cart-sidebar .cart-item .remove-from-cart:hover {
    background: #B91C1C;
    transform: translateY(-2px);
}

.cart-sidebar .cart-item .quantity-input {
    width: 60px;
    padding: 0.5rem;
    border: 1px solid #4B5563;
    border-radius: 0.5rem;
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
    text-align: center;
    background: #FFFFFF;
}

.cart-sidebar .cart-total {
    font-family: 'Poppins', sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: #2B4A7C;
    margin: 1.5rem 0;
    text-align: right;
}

.cart-sidebar .checkout-button {
    background: #F5A623;
    color: #FFFFFF;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 0.75rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    width: 100%;
    text-align: center;
    text-decoration: none;
    transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.cart-sidebar .checkout-button:hover {
    background: #D97706;
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.cart-sidebar .close-cart {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #2B4A7C;
    cursor: pointer;
    transition: color 0.3s ease;
}

.cart-sidebar .close-cart:hover {
    color: #F5A623;
}

.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.cart-overlay.active {
    visibility: visible;
    opacity: 1;
}

.cart-section {
    padding: 6rem 0;
    background: #E3F2FD;
    text-align: center;
    font-family: 'Roboto', sans-serif;
    width: 100%;
}

.cart-section h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 2.5rem;
    color: #2B4A7C;
    margin-bottom: 2rem;
    font-weight: 600;
}

.cart-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.cart-section .cart-item {
    background: #FFFFFF;
    padding: 1.5rem;
    border-radius: 1rem;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.cart-section .cart-item h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    color: #2B4A7C;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.cart-section .cart-item p {
    font-size: 1rem;
    color: #4B5563;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cart-section .cart-item p.price::before {
    content: '\f155';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: #F5A623;
}

.cart-section .cart-item .quantity-input {
    width: 60px;
    padding: 0.5rem;
    border: 1px solid #4B5563;
    border-radius: 0.5rem;
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
    text-align: center;
    background: #FFFFFF;
}

.cart-section .cart-item .remove-from-cart {
    background: #DC2626;
    color: #FFFFFF;
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 0.5rem;
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
}

.cart-section .cart-item .remove-from-cart:hover {
    background: #B91C1C;
    transform: translateY(-2px);
}

.cart-section .cart-total {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    color: #2B4A7C;
    margin: 2rem 0;
    font-weight: 600;
}

.cart-section .button {
    background: #F5A623;
    color: #FFFFFF;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 0.75rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    display: inline-block;
    transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.cart-section .button:hover {
    background: #D97706;
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.empty-cart {
    font-size: 1.2rem;
    color: #4B5563;
    margin: 2rem 0;
    font-family: 'Roboto', sans-serif;
}

.thank-you-section {
    padding: 6rem 0;
    background: #E3F2FD;
    text-align: center;
    font-family: 'Roboto', sans-serif;
    width: 100%;
}

.thank-you-section h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 2.5rem;
    color: #2B4A7C;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.thank-you-section p {
    font-size: 1.1rem;
    color: #4B5563;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.thank-you-section a {
    background: #F5A623;
    color: #FFFFFF;
    padding: 0.75rem 1.5rem;
    border-radius: 0.75rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.thank-you-section a:hover {
    background: #D97706;
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.accordion-section-1 {
    padding: 6rem 0;
    text-align: center;
    position: relative;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
    width: 100%;
    overflow: hidden;
}

.accordion-section-1 h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #2B4A7C;
}

.accordion-list {
    max-width: 800px;
    margin: 0 auto;
}

.accordion-item {
    margin-bottom: 1rem;
    border-radius: 0.5rem;
    overflow: hidden;
    background: #FFFFFF;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    cursor: pointer;
    background: transparent;
    border: none;
    width: 100%;
    text-align: left;
    font-family: 'Poppins', sans-serif;
    font-size: 1.25rem;
    font-weight: 500;
    color: #2B4A7C;
    transition: background 0.3s ease;
}

.accordion-header:hover {
    background: #E3F2FD;
}

.accordion-header i {
    transition: transform 0.3s ease;
    color: #F5A623;
}

.accordion-header.active i {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 2rem;
}

.accordion-content.active {
    max-height: 500px;
    padding: 1.5rem 2rem;
}

.accordion-content-inner {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.accordion-content img {
    max-width: 200px;
    height: auto;
    border-radius: 0.5rem;
}

.accordion-content p {
    flex: 1;
    color: #4B5563;
    font-size: 1rem;
}

.benefits {
    padding: 6rem 0;
    text-align: center;
    background: #FFFFFF;
    margin-bottom: 2rem;
    width: 100%;
    overflow: hidden;
}

.benefits h2 {
    color: #2B4A7C;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* Уменьшена минимальная ширина */
    gap: 1.5rem;
    padding: 0 1rem; /* Добавлены отступы */
}

.benefit-item {
    background: #F9FAFB;
    padding: 1.5rem;
    border-radius: 1rem;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.benefit-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.benefit-item img {
    width: 100%;
    height: 180px; /* Уменьшена высота */
    object-fit: cover;
    border-radius: 0.75rem;
    margin-bottom: 1rem;
}

.benefit-item h3 {
    color: #2B4A7C;
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.benefit-item p {
    color: #4B5563;
    font-size: 1rem;
}

@media (max-width: 480px) {
    .benefits {
        padding: 3rem 0; /* Уменьшены отступы секции */
    }

    .benefits-grid {
        grid-template-columns: 1fr; /* Одна колонка */
        gap: 1rem;
        padding: 0 0.5rem;
    }

    .benefit-item {
        padding: 1rem; /* Уменьшены отступы */
    }

    .benefit-item img {
        max-width: 100%;
        height: 150px; /* Уменьшена высота изображения */
    }

    .benefit-item h3 {
        font-size: 1.5rem; /* Уменьшен размер заголовка */
    }

    .benefit-item p {
        font-size: 0.9rem; /* Уменьшен размер текста */
    }
}

.accordion-section-2 {
    padding: 6rem 0;
    text-align: center;
    position: relative;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
    width: 100%;
    overflow: hidden;
}

.accordion-section-2 h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #2B4A7C;
}

.testimonials {
    padding: 6rem 0;
    text-align: center;
    background: #F9FAFB;
    margin-bottom: 2rem;
    width: 100%;
    overflow: hidden;
}

.testimonials h2 {
    color: #2B4A7C;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

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

.testimonial-item {
    background: #FFFFFF;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.testimonial-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.testimonial-item blockquote {
    font-style: italic;
    color: #4B5563;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.testimonial-item .author {
    font-weight: 600;
    color: #2B4A7C;
    font-size: 1rem;
}

.accordion-section-3 {
    padding: 6rem 0;
    text-align: center;
    position: relative;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
    width: 100%;
    overflow: hidden;
}

.accordion-section-3 h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #2B4A7C;
}

.cta {
    padding: 6rem 0;
    text-align: center;
    background: #E3F2FD;
    position: relative;
    margin-bottom: 2rem;
    width: 100%;
    overflow: hidden;
}

.cta h2 {
    color: #2B4A7C;
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.site-footer {
    background: #2B4A7C;
    color: #FFFFFF;
    padding: 4rem 0 2rem;
    font-size: 0.9rem;
    width: 100%;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-widgets {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
}

.widget {
    margin-bottom: 2rem;
}

.widget h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: #FFFFFF;
    margin-bottom: 1.5rem;
}

.widget p {
    font-size: 0.9rem;
    line-height: 1.6;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.widget p i {
    color: #F5A623;
}

.footer-nav .footer-menu {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: flex-end;
}

.footer-menu li {
    display: inline-block;
}

.footer-menu a {
    color: #FFFFFF;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.footer-menu a:hover {
    color: #F5A623;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    margin-top: 2rem;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: #DBEAFE;
}

.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: #F5A623;
    color: #FFFFFF;
    padding: 0.75rem;
    border-radius: 50%;
    text-decoration: none;
    display: none;
    transition: background-color 0.3s ease, transform 0.3s ease;
    z-index: 1000;
}

.back-to-top:hover {
    background: #2B4A7C;
    transform: translateY(-3px);
}

.back-to-top.show {
    display: block;
}

.back-to-top i {
    font-size: 1.25rem;
}

@keyframes fadeInRight {
    from { opacity: 0; transform: translateX(50px); }
    to { opacity: 1; transform: translateX(0); }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (min-width: 1024px) {
    .site-branding img {
        max-height: 100px;
    }
}

@media (max-width: 1024px) {
    .hero {
        height: 600px;
    }
    .hero-content {
        margin-right: 2rem;
        max-width: 500px;
    }
    .hero-text h1 {
        font-size: 3rem;
    }
    .hero-text p {
        font-size: 1.25rem;
    }
    .remedium-section {
        padding: 4rem 0;
    }
    .remedium-section h2 {
        font-size: 2rem;
    }
    .remedium-list {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.5rem;
    }
    .remedium-item img {
        max-width: 250px;
        height: 220px;
    }
    .cart-sidebar {
        width: 350px;
        right: -350px;
    }
    .cart-sidebar.active {
        right: 0;
    }
    .cart-section {
        padding: 4rem 0;
    }
    .cart-section h1 {
        font-size: 2rem;
    }
    .thank-you-section {
        padding: 4rem 0;
    }
    .thank-you-section h1 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .top-bar {
        font-size: 0.65rem;
        padding: 0.3rem 0;
    }
    .main-header {
        padding: 1rem 0;
    }
    .header-content {
        flex-direction: row;
        justify-content: space-between;
    }
    .site-branding {
        max-width: 200px;
    }
    .site-branding img {
        max-height: 50px;
    }
    .site-title {
        font-size: 1.5rem;
    }
    .main-nav {
        width: 100%;
    }
    .menu-toggle {
        display: block;
        position: absolute;
        right: 1.5rem;
        top: 1.5rem;
    }
    .nav-menu {
        display: none;
        flex-direction: column;
        width: 100%;
        background: #2B4A7C;
        padding: 1rem 0;
        position: absolute;
        top: 100%;
        left: 0;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    }
    .nav-menu.active {
        display: flex;
    }
    .nav-menu li {
        text-align: center;
    }
    .nav-menu .sub-menu {
        position: static;
        background: #E3F2FD;
        box-shadow: none;
        width: 100%;
    }
    .nav-menu .sub-menu a {
        color: #2B4A7C;
    }
    .cart-link {
        font-size: 1rem;
        justify-content: center;
    }
    .hero {
        height: 500px;
        justify-content: center;
    }
    .hero-content {
        margin-right: 0;
        text-align: center;
        max-width: 90%;
        padding: 1.5rem;
    }
    .hero-text h1 {
        font-size: 2.5rem;
    }
    .hero-text p {
        font-size: 1.1rem;
    }
    .btn-primary {
        padding: 0.75rem 2rem;
        font-size: 1rem;
    }
    .accordion-section-1,
    .accordion-section-2,
    .accordion-section-3,
    .benefits,
    .remedium-section,
    .testimonials,
    .cta {
        padding: 4rem 0;
    }
    .accordion-section-1 h2,
    .accordion-section-2 h2,
    .accordion-section-3 h2,
    .benefits h2,
    .remedium-section h2,
    .testimonials h2,
    .cta h2 {
        font-size: 2rem;
    }
    .accordion-content-inner {
        flex-direction: column;
        text-align: center;
    }
    .accordion-content img {
        max-width: 150px;
        margin-bottom: 1rem;
    }
    .benefits-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .remedium-item {
        padding: 1.5rem;
    }
    .remedium-item img {
        max-width: 200px;
        height: 180px;
    }
    .remedium-item h3 {
        font-size: 1.5rem;
    }
    .add-to-cart-button,
    .details-button {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
    .quantity-input {
        width: 50px;
        font-size: 0.9rem;
    }
    .cart-sidebar {
        width: 100%;
        right: -100%;
    }
    .cart-sidebar.active {
        right: 0;
    }
    .cart-sidebar .cart-content {
        padding: 1.5rem;
    }
    .cart-sidebar h2 {
        font-size: 1.5rem;
    }
    .cart-section {
        padding: 4rem 0;
    }
    .cart-section h1 {
        font-size: 1.75rem;
    }
    .cart-section .cart-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    .cart-section .cart-item h3 {
        font-size: 1.3rem;
    }
    .thank-you-section {
        padding: 4rem 0;
    }
    .thank-you-section h1 {
        font-size: 1.75rem;
    }
    .thank-you-section p {
        font-size: 1rem;
    }
    .footer-content {
        grid-template-columns: 1fr;
    }
    .footer-nav .footer-menu {
        justify-content: center;
    }
    .footer-widgets {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .widget p {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .site-title {
        font-size: 1.25rem;
    }
    .cart-link {
        font-size: 0.9rem;
    }
    .cart-count {
        padding: 0.15rem 0.4rem;
        font-size: 0.7rem;
    }
    .hero {
        height: 400px;
    }
    .hero-content {
        padding: 1rem;
    }
    .hero-text h1 {
        font-size: 2rem;
    }
    .hero-text p {
        font-size: 1rem;
    }
    .accordion-section-1,
    .accordion-section-2,
    .accordion-section-3,
    .benefits,
    .remedium-section,
    .testimonials,
    .cta {
        padding: 3rem 0;
    }
    .accordion-section-1 h2,
    .accordion-section-2 h2,
    .accordion-section-3 h2,
    .benefits h2,
    .remedium-section h2,
    .testimonials h2,
    .cta h2 {
        font-size: 1.75rem;
    }
    .remedium-item {
        padding: 1rem;
    }
    .remedium-item img {
        max-width: 180px;
        height: 150px;
    }
    .remedium-item h3 {
        font-size: 1.3rem;
    }
    .add-to-cart {
        flex-direction: column;
        gap: 0.5rem;
    }
    .add-to-cart-button,
    .details-button {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
        width: 100%;
        text-align: center;
    }
    .quantity-input {
        width: 45px;
        font-size: 0.85rem;
    }
    .cart-sidebar .cart-content {
        padding: 1rem;
    }
    .cart-sidebar h2 {
        font-size: 1.3rem;
    }
    .cart-sidebar .cart-item {
        padding: 0.75rem 0;
    }
    .cart-sidebar .cart-item .remove-from-cart {
        padding: 0.4rem 0.6rem;
        font-size: 0.85rem;
    }
    .cart-sidebar .cart-item .quantity-input {
        width: 50px;
        font-size: 0.9rem;
    }
    .cart-sidebar .checkout-button {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }
    .cart-section .cart-item {
        padding: 1rem;
    }
    .cart-section .cart-item h3 {
        font-size: 1.2rem;
    }
    .cart-section .cart-item .remove-from-cart {
        padding: 0.4rem 0.8rem;
        font-size: 0.85rem;
    }
    .cart-section .button {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }
    .footer-menu {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    .site-footer {
        padding: 3rem 0 1.5rem;
    }
}

.science-page {
    font-family: 'Roboto', sans-serif;
    color: #1F2937;
    background-color: #F9FAFB;
    line-height: 1.6;
}

.science-hero {
    background: linear-gradient(90deg, #2B4A7C, #4A90E2);
    color: #FFFFFF;
    padding: 8rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.science-hero h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.science-hero p {
    font-size: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.science-medicine-types {
    padding: 6rem 0;
    background: #FFFFFF;
}

.medicine-type {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 3rem;
    background: #F9FAFB;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.medicine-type:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.medicine-type img {
    max-width: 300px;
    height: auto;
    border-radius: 0.75rem;
}

.medicine-type h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 2rem;
    color: #2B4A7C;
    margin-bottom: 1rem;
}

.medicine-type p {
    font-size: 1.1rem;
    color: #4B5563;
}

.science-details {
    padding: 6rem 0;
    background: #E3F2FD;
}

.detail-block {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 3rem;
}

.detail-block.reverse {
    flex-direction: row-reverse;
}

.detail-block h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 2rem;
    color: #2B4A7C;
    margin-bottom: 1rem;
}

.detail-block p {
    font-size: 1.1rem;
    color: #4B5563;
    flex: 1;
}

.detail-block img {
    max-width: 400px;
    height: auto;
    border-radius: 0.75rem;
}

.science-cta {
    padding: 6rem 0;
    text-align: center;
    background: #FFFFFF;
}

.science-cta h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 2.5rem;
    color: #2B4A7C;
    margin-bottom: 2rem;
}

.medicines {
    padding: 6rem 0;
    text-align: center;
    background: #F9FAFB;
}

.medicines h2 {
    color: #1E3A8A;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.medicines-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.medicine-item {
    background: #FFFFFF;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    text-align: left;
}

.medicine-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.medicine-item img {
    width: 100%;
    max-width: 300px;
    height: auto;
    border-radius: 0.75rem;
    margin-bottom: 1.5rem;
}

.medicine-item h3 {
    color: #1E3A8A;
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.medicine-description {
    color: #4B5563;
    font-size: 1rem;
    line-height: 1.6;
}

.medicine-description ul {
    list-style: disc;
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.medicine-description ul li {
    margin-bottom: 0.5rem;
}

@media (max-width: 1024px) {
    .science-hero h1 {
        font-size: 3rem;
    }
    .science-hero p {
        font-size: 1.25rem;
    }
    .medicine-type {
        flex-direction: column;
        text-align: center;
    }
    .medicine-type img {
        max-width: 250px;
    }
    .detail-block {
        flex-direction: column;
        text-align: center;
    }
    .detail-block img {
        max-width: 300px;
    }
}

@media (max-width: 768px) {
    .science-hero {
        padding: 4rem 0;
    }
    .science-hero h1 {
        font-size: 2.5rem;
    }
    .science-hero p {
        font-size: 1.1rem;
    }
    .medicine-type h2,
    .detail-block h3 {
        font-size: 1.75rem;
    }
    .science-medicine-types,
    .science-details,
    .science-cta {
        padding: 4rem 0;
    }
    .medicines {
        padding: 4rem 0;
    }
    .medicines h2 {
        font-size: 2rem;
    }
    .medicine-item {
        padding: 1.5rem;
    }
    .medicine-item img {
        max-width: 200px;
    }
}

@media (max-width: 480px) {
    .science-hero h1 {
        font-size: 2rem;
    }
    .science-hero p {
        font-size: 1rem;
    }
    .medicine-type h2,
    .detail-block h3 {
        font-size: 1.5rem;
    }
    .science-medicine-types,
    .science-details,
    .science-cta {
        padding: 3rem 0;
    }
    .medicines {
        padding: 3rem 0;
    }
    .medicines h2 {
        font-size: 1.75rem;
    }
    .medicine-item {
        padding: 1rem;
    }
    .medicine-item img {
        max-width: 150px;
    }
}

/* Language Switcher */
.language-switcher {
    position: relative;
    display: flex;
    align-items: center;
    z-index: 1000;
}

.language-toggle {
    background: #F5A623;
    border: none;
    color: #FFFFFF;
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.5rem 0.75rem;
    border-radius: 0.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: background 0.3s ease, transform 0.2s ease;
}

.language-toggle:hover,
.language-toggle.active {
    background: #FF8C00;
    transform: translateY(-2px);
}

.language-toggle .lang-name {
    display: inline-block;
    min-width: 60px;
    text-align: left;
    text-transform: capitalize;
}

.language-toggle i {
    font-size: 1rem;
    color: #FFFFFF;
    transition: color 0.3s ease;
}

.language-toggle:hover i,
.language-toggle.active i {
    color: #FFFFFF;
}

.language-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: #FFFFFF;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    border-radius: 0.5rem;
    min-width: 160px;
    list-style: none;
    margin: 0.5rem 0 0;
    padding: 0.5rem 0;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.language-dropdown.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.language-dropdown li {
    display: block;
}

.language-dropdown a.lang-link {
    color: #2B4A7C;
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.5rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: background 0.3s ease, color 0.3s ease;
}

.language-dropdown a.lang-link:hover,
.language-dropdown .current-lang a.lang-link {
    background: #F5A623;
    color: #FFFFFF;
}

@media (max-width: 768px) {
    .language-switcher {
        margin: 0.5rem 0;
        width: 100%;
        text-align: center;
    }
    .language-toggle {
        font-size: 0.85rem;
        padding: 0.5rem;
        width: 100%;
        justify-content: center;
        gap: 0.4rem;
        background: #F5A623;
    }
    .language-toggle:hover,
    .language-toggle.active {
        background: #FF8C00;
    }
    .language-toggle .lang-name {
        min-width: 50px;
    }
    .language-toggle i {
        font-size: 0.9rem;
    }
    .language-dropdown {
        position: static;
        width: 100%;
        margin: 0;
        box-shadow: none;
        border-radius: 0;
        background: #F5F6F5;
        transform: none;
        opacity: 1;
    }
    .language-dropdown.active {
        display: block;
    }
    .language-dropdown a.lang-link {
        font-size: 0.85rem;
        padding: 0.5rem;
        justify-content: center;
    }
    .language-dropdown a.lang-link:hover,
    .language-dropdown .current-lang a.lang-link {
        background: #F5A623;
        color: #FFFFFF;
    }
}

.remedium-single {
    padding: 2rem 0;
}

.remedium-single-content {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: flex-start;
}

.remedium-image {
    flex: 1;
    min-width: 300px;
    max-width: 400px;
}

.remedium-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
}

.remedium-details {
    flex: 1;
    min-width: 300px;
}

.remedium-title {
    font-size: 2rem;
    margin: 0 0 1rem;
    color: #1E3A8A;
}

.remedium-meta {
    margin-bottom: 1.5rem;
}

.remedium-meta .price,
.remedium-meta .dosage {
    font-size: 1.2rem;
    margin: 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.remedium-meta .icon {
    color: #F5A623;
}

.remedium-description {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.add-to-cart {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.quantity-input {
    width: 80px;
    padding: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

.add-to-cart-button {
    background: #F5A623;
    color: #fff;
    border: none;
    padding: 0.75rem 1.5rem;
    cursor: pointer;
    font-size: 1rem;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: background 0.3s ease;
}

.add-to-cart-button:hover {
    background: #FF8C00;
}

.add-to-cart-button .icon {
    font-size: 1.2rem;
}

@media (max-width: 768px) {
    .remedium-single-content {
        flex-direction: column;
    }

    .remedium-image,
    .remedium-details {
        max-width: 100%;
    }

    .add-to-cart {
        flex-direction: column;
        align-items: flex-start;
    }

    .quantity-input {
        width: 100%;
    }

    .add-to-cart-button {
        width: 100%;
        justify-content: center;
    }
}

.checkout-form {
    max-width: 800px;
    margin: 2rem auto;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-family: 'Roboto', sans-serif;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: 'Roboto', sans-serif;
}

.order-summary {
    margin: 2rem 0;
}

.cart-item {
    margin: 0.5rem 0;
}

.cart-total {
    font-weight: bold;
    margin-top: 1rem;
}

.place-order-button {
    background: #F5A623;
    color: #fff;
    border: none;
    padding: 0.75rem 1.5rem;
    cursor: pointer;
    font-size: 1rem;
    border-radius: 4px;
    font-family: 'Poppins', sans-serif;
}

.place-order-button:hover {
    background: #FF8C00;
}

.checkout-message {
    text-align: center;
    margin: 2rem 0;
}

.continue-shopping {
    display: inline-block;
    margin-top: 1rem;
    color: #F5A623;
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
}

.continue-shopping:hover {
    text-decoration: underline;
}

.copyright-with-icons {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-icons {
    display: inline-flex;
    gap: 0.75rem;
    background-color: #FFFFFF;
    padding: 0.75rem 1rem;
    border-radius: 8px;
}

.footer-icon-image {
    width: 57px; /* Ширина 57 пикселей */
    height: auto; /* Высота 57 пикселей */
    object-fit: contain;
    vertical-align: middle;
}

@media (max-width: 768px) {
    .copyright-with-icons {
        flex-direction: column;
        gap: 0.5rem;
    }
    .footer-icons {
        justify-content: center;
        padding: 0.5rem 0.75rem;
        gap: 0.5rem;
    }
    .footer-icon-image {
        width: 48px; /* Чуть меньше на мобильных для компактности */
        height: 48px;
    }
}

/* Payment Method Selector Styles */
.payment-method-selector {
    margin-bottom: 1.5rem;
}

.payment-method-selector label {
    display: block;
    margin-bottom: 0.75rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    color: #2B4A7C;
    font-size: 1.1rem;
}

.payment-buttons-container {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.payment-button {
    flex: 1;
    min-width: 150px;
    background: #FFFFFF;
    color: #4B5563;
    border: 2px solid #E5E7EB;
    padding: 0.75rem 1.5rem;
    border-radius: 0.75rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.payment-button:hover {
    background: #F3F4F6;
    border-color: #F5A623;
    color: #F5A623;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.payment-button.active {
    background: #F5A623;
    color: #FFFFFF;
    border-color: #F5A623;
    box-shadow: 0 4px 8px rgba(245, 166, 35, 0.3);
}

.payment-button.active:hover {
    background: #D97706;
    border-color: #D97706;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(217, 119, 6, 0.3);
}

@media (max-width: 768px) {
    .payment-buttons-container {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .payment-button {
        min-width: auto;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .payment-button {
        padding: 0.6rem 1.2rem;
        font-size: 0.95rem;
    }
}

/* Payment Icons Styles (добавь в конец CSS) */
.payment-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1rem;
    padding: 0.75rem;
    background-color: #F9FAFB;
    border-radius: 0.5rem;
    border: 1px solid #E5E7EB;
}

.payment-icon {
    display: inline-block;
    transition: transform 0.3s ease;
}

.payment-icon:hover {
    transform: scale(1.1);
}

.payment-icon-image {
    width: 40px; /* Уменьшен размер для компактности в checkout */
    height: auto;
    object-fit: contain;
    vertical-align: middle;
}

@media (max-width: 768px) {
    .payment-icons {
        gap: 0.5rem;
        padding: 0.5rem;
    }
    
    .payment-icon-image {
        width: 35px;
    }
}

@media (max-width: 480px) {
    .payment-icons {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .payment-icon-image {
        width: 30px;
    }
}

/* =======================================
   КОНТАКТНАЯ ФОРМА (Contact Form 7 Design)
   ======================================= */

 

 
.page-template-default .site-main, 
.page .site-main {
    background-color: var(--contact-light-bg);
    padding-top: 60px; /* Отступ сверху */
    padding-bottom: 60px; /* Отступ снизу */
}

/* 2. Контейнер формы Contact Form 7 - создаем эффект "карточки" */
.wpcf7 {
    max-width: 480px; 
    width: 100%;
    margin: 40px auto; 
    background: var(--contact-card-bg);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08); /* Мягкая тень */
}

/* Стилизация заголовка и описания (если они добавлены перед шорткодом CF7) */
.contact-header {
    text-align: center;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* 3. Стилизация всех полей ввода и textarea */
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form textarea {
    /* Используем стандартные шрифты вашего сайта */
    font-family: 'Roboto', sans-serif;
    width: 100%;
    padding: 12px;
    margin-top: 5px; 
    border: 1px solid #E5E7EB; /* Светлая граница */
    border-radius: 4px;
    box-sizing: border-box;
    transition: border-color 0.3s, box-shadow 0.3s;
    font-size: 16px; 
    color: #1F2937;
}

/* Фокус: выделяем активное поле оранжевым акцентом */
.wpcf7-form input:focus,
.wpcf7-form textarea:focus {
    border-color: var(--contact-main-color) !important; /* Перекрываем стандартные стили CF7 */
    box-shadow: 0 0 0 3px rgba(245, 166, 35, 0.2); /* Легкое свечение */
    outline: none;
}

/* Стилизация Label (метки) */
.wpcf7-form label {
    display: block;
    font-weight: 500; /* Соответствует Poppins/Roboto */
    color: #333; /* Темный цвет, но не черный */
    font-size: 15px;
    margin-bottom: 5px; 
}

/* Стилизация кнопки отправки */
.wpcf7-submit {
    /* Стили как у ваших .payment-button */
    width: 100%;
    padding: 15px;
    background-color: var(--contact-main-color);
    color: var(--contact-card-bg); /* Белый текст */
    border: none;
    border-radius: 4px;
    font-size: 18px;
    font-weight: 600; /* Жирный шрифт */
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    margin-top: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.wpcf7-submit:hover {
    background-color: var(--contact-main-color-hover); 
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
}

/* 4. Стилизация сообщений CF7 (Успех/Ошибка/Валидация) */
.wpcf7-response-output {
    margin: 20px 0 !important;
    padding: 15px;
    border-radius: 4px;
    text-align: center;
    border: 1px solid transparent !important; /* Убираем стандартные рамки CF7 */
    font-weight: 500;
}

.wpcf7-mail-sent-ok {
    background-color: #d4edda; /* Светло-зеленый фон */
    color: #155724; /* Темно-зеленый текст */
    border-color: #c3e6cb !important;
}

.wpcf7-mail-sent-ng,
.wpcf7-validation-errors {
    background-color: #f8d7da; /* Светло-красный фон */
    color: #721c24; /* Темно-красный текст */
    border-color: #f5c6cb !important;
}

 
.contact-info {
    max-width: 480px;
    width: 100%;
    margin-top: 40px;
    text-align: center;
    padding: 20px;
    background-color: #E5E7EB;  
    border-radius: 6px;
}
.contact-info h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: #1F2937;
}
.contact-info p {
    margin: 0;
    font-size: 1rem;
    color: #4B5563;
}
.contact-info a {
    color: var(--contact-main-color);
    text-decoration: none;
    font-weight: 500;
}

