
body{
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    margin: 0;
}













.site_block {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    box-sizing: border-box;

    border: 2px solid #132871;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0.95;

    z-index: 9999; /* Поверх всего */

    padding-left: 20px;
    padding-right: 20px;
    font-size: 18px;

}
.contact_numbers{
    font-size: 18px;
}
.header_container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 15px 20px;
}
.header_left {
    display: flex;
    align-items: center;
}

.header_logo {
    height: 40px;
}

.header_nav a {
    margin: 0 35px;
    text-decoration: none;
    font-weight: 500;
    color: #132871;
    transition: color 0.3s;
}

.header_nav a:hover {
    color: #0f1e6e;
}

.header_contacts {
    display: flex;
    align-items: center;
}

.contact_numbers {
    display: flex;
    flex-direction: column;
    margin-right: 10px;
    font-weight: 500;
}

.contact_icons a {
    margin-left: 10px;
}

.contact_icon {
    width: 24px;
    height: 24px;
    cursor: pointer;
}

.burger_menu {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.burger_menu div {
    width: 25px;
    height: 3px;
    background-color: #132871;
    border-radius: 2px;
}

.mobile_menu_overlay {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(5px);
    z-index: 9999;
    justify-content: flex-end;
    align-items: stretch;
    transition: background 0.3s ease;
}

.mobile_menu {
    width: 250px;
    background-color: #132871;
    height: 100vh;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    padding: 20px;
    box-sizing: border-box;
    color: white;
    display: flex;
    flex-direction: column;
}

.mobile_menu.show {
    transform: translateX(0);
}

.close_button {
    font-size: 30px;
    cursor: pointer;
    align-self: flex-end;
}

.mobile_nav a {
    display: block;
    margin: 15px 0;
    color: white;
    font-weight: 500;
    text-decoration: none;
    font-size: 18px;
}

.mobile_nav a:hover {
    text-decoration: underline;
}

.mobile_contacts {
    display: none;
    flex-direction: row;
    justify-content: center;
    gap: 15px;
    padding: 10px 0;
    font-weight: 500;
}

@media (max-width: 768px) {
    .header_nav,
    .header_contacts {
        display: none;
    }
    .header_container{
        width: 60%;
    }

    .burger_menu {
        display: flex;
    }

    .mobile_contacts {
        display: flex;
        font-size: 11px;
    }
}

body.no_scroll {
    overflow: hidden;
    position: relative;
}

.select-search {
    width: 100%;
    padding: 6px 10px;
    margin-bottom: 8px;
    box-sizing: border-box;
    border: 1px solid #ccc;
    border-radius: 4px;
}
















.site_footer {
    background-color: #132871;
    padding: 40px 0 20px 0;
    color: white;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.footer_container {
    width: 80%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer_logo img {
    height: 60px;
    margin-bottom: 30px;
}

.footer_top {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.footer_nav {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.footer_nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.3s ease;
}

.footer_nav a:hover {
    opacity: 0.7;
}

.footer_contacts {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    align-items: center;
}

.footer_contacts a {
    color: white;
    text-decoration: none;
    font-weight: 500;
}

.contact_icon {
    width: 24px;
    height: 24px;
    cursor: pointer;
}

.footer_separator {
    width: 100%;
    height: 1px;
    background-color: white;
    margin: 20px 0;
    opacity: 0.3;
}

.footer_bottom {
    width: 100%;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    font-size: 14px;
}

.footer_bottom a {
    color: white;
    text-decoration: none;
    margin-left: 15px;
    transition: opacity 0.3s ease;
}

.footer_bottom a:hover {
    opacity: 0.7;
}

.footer_company {
    text-align: center;
    margin-top: 20px;
    font-size: 13px;
    line-height: 1.5;
    opacity: 0.8;
}

/* Мобильная версия */
@media (max-width: 768px) {

    .footer_top {
        flex-direction: column;
        align-items: center;
    }

    .footer_nav {
        justify-content: center;
        flex-wrap: wrap;
        gap: 15px 30px;
        margin-bottom: 20px;
    }

    .footer_contacts {
        justify-content: center;
        flex-wrap: wrap;
        gap: 10px 20px;
        margin-bottom: 20px;
    }

    .footer_bottom {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 10px;
    }

    .footer_bottom a {
        margin-left: 0;
    }
}
























.filter-card {
    max-width: 1200px;
    margin: auto;
    background: white;
    border-radius: 24px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    padding: 30px;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    transition: box-shadow 0.3s ease;
}

.filter-card:hover {
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.filter-group {
    flex: 1 1 250px;
    display: flex;
    flex-direction: column;
    position: relative;
}

.filter-label {
    margin-bottom: 8px;
    font-weight: 600;
    color: #132871;
    font-size: 14px;
}

.filter-input {
    padding: 12px 16px;
    border: 1px solid #ccc;
    border-radius: 12px;
    font-size: 16px;
    outline: none;
    background: #fafafa;
    transition: border-color 0.3s ease, background 0.3s ease;
}

.filter-input:focus {
    border-color: #132871;
    background: white;
}

/* Кастомный селект */
.custom-select {
    position: relative;
    cursor: pointer;
    user-select: none;
}

.select-selected {
    background-color: #fafafa;
    padding: 12px 16px;
    border: 1px solid #ccc;
    border-radius: 12px;
    font-size: 16px;
    transition: border-color 0.3s ease, background 0.3s ease;
}

.select-selected:after {
    content: '';
    position: absolute;
    top: 50%;
    right: 16px;
    width: 10px;
    height: 10px;
    border: solid #132871;
    border-width: 0 2px 2px 0;
    padding: 3px;
    transform: translateY(-50%) rotate(45deg);
    transition: transform 0.3s ease;
}

.select-selected.active:after {
    transform: translateY(-50%) rotate(-135deg);
}

.select-items {
    position: absolute;
    top: 110%;
    left: 0;
    right: 0;
    background-color: white;
    border: 1px solid #ccc;
    border-radius: 12px;
    z-index: 99;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    opacity: 0;
    transform: translateY(-10px);
    overflow-y: auto; /* Включаем вертикальный скролл */
    max-height: 250px; /* Ограничиваем высоту выпадающего списка */
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.select-items.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.select-items div {
    padding: 12px 16px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.select-items div:hover {
    background-color: #132871;
    color: white;
}

.filter-button {
    flex: 1 1 100%;
    padding: 16px 24px;
    background: #132871;
    color: white;
    border: none;
    border-radius: 16px;
    font-size: 18px;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
}

.filter-button:hover {
    background: #0e1e60;
    transform: translateY(-2px);
}
.filter-button2 {
    flex: 1 1 50%;
    padding: 16px 24px;
    background: #c41500;
    color: white;
    border: none;
    border-radius: 16px;
    font-size: 18px;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
}

.filter-button2:hover {
    background: #0e1e60;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .filter-group {
        flex: 1 1 100%;
    }
}


/* ─── КОНТЕЙНЕР ДЛЯ КНОПОК ─────────────────────────────── */
.filter-actions{
    flex: 1 1 100%;              /* всегда новая строка под формой */
    display: flex;
    gap: 14px;
    justify-content: flex-end;   /* «прижимаем» вправо */
    margin-top: 10px;
}

/* ─── КНОПКА «ПРИМЕНИТЬ» ───────────────────────────────── */
.filter-apply{
    padding: 14px 32px;
    background: #132871;
    color: #fff;
    border: none;
    border-radius: 14px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background .25s, transform .2s;
}
.filter-apply:hover   { background:#0e1e60; transform:translateY(-2px); }
.filter-apply:active  { transform:scale(.97); }

/* ─── КНОПКА «СБРОСИТЬ» ────────────────────────────────── */
.filter-reset{
    padding: 14px 26px;
    background: #ff5050;
    color:#fff;
    border:none;
    border-radius:14px;
    font-size:15px;
    font-weight:600;
    cursor:pointer;
    transition:background .25s, transform .2s;
}
.filter-reset:hover  { background:#d73333; transform:translateY(-2px); }
.filter-reset:active { transform:scale(.97); }

/* ─── МОБИЛЬНАЯ ВЕРСТКА < 640 px ───────────────────────── */
@media (max-width:640px){
    .filter-actions{
        flex-direction: column;
        justify-content: stretch;
    }
    .filter-actions button{ width:100%; }
}

/* ─── > 700 px  меняем порядок в один ряд  reset ▸ apply ─────── */
@media (min-width:701px){
    .filter-actions{
        flex-direction: row;         /* кнопки в одну линию */
    }
    .filter-reset { order:1; }       /* первая (слева / вправо) */
}

































.products-container {
    max-width: 1400px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.product-card {
    background: white;

    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-top: 15px;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.product-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.product-content {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.product-title {
    font-size: 18px;
    font-weight: 600;
    color: #132871;
    margin-bottom: 8px;
}

.product-info {
    font-size: 14px;
    color: #333;
    line-height: 1.4;
}

.product-price {
    text-align: center;
    font-size: 22px;
    font-weight: 600;
    color: #132871;
    margin-top: 8px;
}
a.product-button {
    display: inline-block;
    text-decoration: none;
    margin-top: auto;
    padding: 12px 16px;
    background: #132871;
    color: white;
    border: none;
    border-radius: 12px;
    text-align: center;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
}

a.product-button:hover {
    background: #0e1e60;
    transform: translateY(-2px);
}


.product-badge {
    position: absolute;
    top: 16px;
    left: -12px;
    background: #00c853;
    color: white;
    padding: 6px 12px;
    border-top-right-radius: 12px;
    border-bottom-right-radius: 12px;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 4px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.product-badge span {
    font-size: 16px;
}

#end-message {
    display: none; /* скрыт по умолчанию */
    padding: 40px 20px;
    background: #f5f7fa;
    border-radius: 24px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
    text-align: center;
    max-width: 800px;
    margin: 60px auto 40px;
    animation: fadeIn 0.6s ease forwards;
}

.no-results p {
    font-size: 20px;
    color: #132871;
    font-weight: 500;
    margin-bottom: 20px;
    line-height: 1.6;
}
@media (max-width: 768px) {
    .no-results p {
        font-size: 14px;
    }
}

.contact-button {
    display: inline-block;
    padding: 14px 28px;
    background-color: #132871;
    color: white;
    font-size: 16px;
    font-weight: 500;
    border-radius: 12px;
    text-decoration: none;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
    transition: background 0.3s ease, transform 0.2s ease;
}

.contact-button:hover {
    background-color: #0e1e60;
    transform: translateY(-2px);
}

/* Плавное появление блока */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}





.delivery-info {
    font-size: 14px;
    font-weight: 500;
    color: #132871;
    margin-top: 6px;   /* расстояние от цены */
}




/* Попап-оверлей */
.popup_overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;   /* ✅ заменили 100% на 100vw */
    height: 100vh;  /* ✅ заменили 100% на 100vh */
    backdrop-filter: blur(12px);
    background-color: rgba(0, 0, 0, 0.2);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 100000;
    overflow: hidden;

    animation: fadeInOverlay 0.4s ease forwards;
}

/* Анимация появления оверлея */
@keyframes fadeInOverlay {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Контент попапа */
.popup_content {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(30px);
    border-radius: 20px;
    padding: 30px 25px;
    max-width: 400px;
    width: 90%;
    text-align: center;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
    animation: popupSlideIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: #1c1c1e;
}

/* Анимация появления попапа */
@keyframes popupSlideIn {
    from { opacity: 0; transform: translateY(30px) scale(0.96); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.form_group {
    margin-bottom: 20px;
    text-align: left;
}

.form_group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 15px;
}

.form_group input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 12px;
    font-size: 16px;
    transition: border-color 0.3s, box-shadow 0.3s;
    box-sizing: border-box;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
}

.form_group input:focus {
    border-color: #132871;
    box-shadow: 0 0 10px rgba(19, 40, 113, 0.3);
    outline: none;
}

.error_message {
    color: red;
    font-size: 14px;
    margin-top: 5px;
    display: block;
}

/* Apple-style кнопка */
.popup_submit_button {
    background: #132871;
    color: white;
    padding: 12px 25px;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.popup_submit_button:hover {
    background-color: #0f1e6e;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

body.no_scroll {
    overflow: hidden;
}

/* Адаптив */
@media (max-width: 480px) {
    .popup_content {
        padding: 20px 15px;
    }

    .popup_submit_button {
        padding: 10px 20px;
        font-size: 14px;
    }
}

/* Уведомление */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, #132871, #555555);
    color: white;
    padding: 15px 25px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    opacity: 0;
    transform: translateY(-20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 9999;
}
.notification.show {
    opacity: 1;
    transform: translateY(0);
}
.notification.error {
    background: linear-gradient(135deg, #ff4b4b, #a00000);
}


@media (min-width: 700px) {
    .products-container {
        justify-content: center;
        display: flex;
        flex-wrap: wrap;
        gap: 20px;
    }

    .product-card {
        max-width: 350px;
        flex: 1 1 300px;
    }
}
