*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}
:root{
    --white: #FFF;
    --black: #000;
    --primary-body: #505C77;
    --primary: #0049A9;
    --primary-light: #3377cc;
    --primary-1: #003274;
    --primary-2: #001E60;
    --transition: .3s all ease;
}
html{
    scroll-behavior: smooth;
    zoom:0.9
}
body{
    font-family: Raleway;
    font-size: 20px;
    line-height: normal;
    font-weight: 400;
    background-color: #FFFFFF;
    color: var(--primary-2);
    font-variant-numeric: lining-nums tabular-nums;
}
/* глобально для всех текстовых полей */
input,
textarea {
  /* табличные линейные цифры */
  font-variant-numeric: lining-nums tabular-nums;
  /* для поддержки старых WebKit-браузеров: */
  -webkit-font-feature-settings: "tnum" 1, "lnum" 1;
  font-feature-settings: "tnum" 1, "lnum" 1;
}

/* Добавляем правило для цвета текста опций */
select option {
    color: var(--primary-body); /* Или можно использовать просто 'black' */
    /* background-color: white; */ /* Попытка задать фон, скорее всего, не сработает */
}

.wrapper{
    overflow: hidden;
}

.w-100{
    width: 100%;
}

.container {
    padding-right: 10px;
    padding-left: 10px;
    margin-right: auto;
    margin-left: auto;
}

@media (min-width: 768px) {
    .container {
        width: 750px;
    }
}

@media (min-width: 992px) {
    .container {
        width: 970px;
    }
}

@media (min-width: 1200px) {
    .container {
        width: 1170px;
    }
}
@media (min-width: 1440px) {
    .container {
        width: 1392px;
    }
}
@media (min-width: 1720px) {
    .container {
        width: 1700px;
    }
}
header{
    position: relative;
    z-index: 3;
    background: #003274;
    backdrop-filter: blur(4px);
}
header.absolute{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.12);
    z-index: 2;
}
.header_row{
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.brand_logo{
    display: flex;
}
.small_logo{
    display: none;
}
.header_right{
    display: flex;
    align-items: center;
    gap: 44px;
}
.header_links{
    display: flex;
    align-items: center;
    gap: 44px;
    list-style: none;
}
.header_links a,
.header_links select,
.language,
.contact_us{
    font-size: 24px;
    font-weight: 500;
    line-height: 137%;
    color: var(--white);
    text-decoration: none;
}
.contact_us{
    background-color: var(--primary-2);
    padding: 33px 34px;
}
.header_links select,
.language {
    padding: 0;
    border: none;
    border-radius: 0;
    background-color: transparent;
    cursor: pointer;
    outline: none;
}
.hamburger{
    display: none;
}
.language{
    display: none;
    font-size: 24px;
    font-weight: 500;
    line-height: 137%;
    color: var(--white);
    text-decoration: none;
}
.hero{
    position: relative;
    background-image: url(img/hero_bg.png);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    z-index: 1;
    padding: 196px 0 87px 0;
}
.hero_image{
    position: absolute;
    top: 0;
    right: 0;
    z-index: -1;
}
.hero_title{
    font-size: clamp(32px, 5vw, 64px);
    font-weight: 800;
    line-height: 120%;
    color: var(--white);
    max-width: 966px;
    margin: 0 0 420px 0;
}
.hero_btn{
    font-size: 24px;
    line-height: 137%;
    color: var(--white);
    padding: 26px 19px;
    background-color: var(--primary);
    border-radius: 4px;
    text-decoration: none;
    display: inline-block;
    transition: transform 0.3s ease, filter 0.3s ease;
}
.hero_btn:hover {
    transform: scale(1.05);
    filter: brightness(1.1);
}
.dot_item{
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: clamp(13px, 1.2vw, 16px);
    line-height: 137%;
    position: absolute;
    z-index: -1;
}
.dot_item:nth-child(1){
    right: 25%;
    top: 31%;
}
.dot_item:nth-child(2){
    left: 9%;
    bottom: 30%;
}
.dot_item:nth-child(3){
    left: 29%;
    bottom: 20%;
}
.dot_item:nth-child(4){
    left: 46%;
    bottom: 24%;
}
.dot_item:nth-child(5){
    right: 18%;
    bottom: 28%;
}
.dot_item p{
    padding: 8px 12px;
    border-radius: 8px;
    background-color: var(--primary-2);
    color: var(--white);
}


/* products1 */
.products1{
    padding: 80px 0 100px 0;
}
.section_top{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin: 0 0 24px 0;
}
.section_title{
    font-size: clamp(24px, 2vw, 32px);
    font-weight: 600;
    line-height: 137%;
    color: var(--primary-2);
    margin: 0 0 12px 0;
}
.desc{
    font-size: clamp(16px, 1.5vw, 24px);
    line-height: 137%;
    color: var(--primary-body);
}
.products1 .section_top_left{
    max-width: 540px;
}
.products1 .blue_logo{
    width: 162px;
    height: auto;
}
.blue_logo {
    width: 116px;
    height: auto;
}
.products_row1{
    display: flex;
    flex-wrap: wrap;
    gap: 18px 25px;
}
.product1{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 44px;
    width: calc(33.3% - 16.6px);
    padding: 32px 32px 0 32px;
    border-radius: 4px;
    border: 2px solid #F8F8F8;
    background: var(--white);
}
.product1 img{
    max-width: 100%;
    height: auto;
}
.product_title{
    width: 100%;
    font-size: clamp(18px, 1.5vw, 24px);
    line-height: 137%;
    color: var(--primary-2);
}
.catalog_button{
    width: calc(33.3% - 16.6px);
    border-radius: 4px;
    background-color: var(--primary);
    padding: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    line-height: 137%;
    color: var(--white);
    text-decoration: none;
    transition: transform 0.3s ease, filter 0.3s ease;
}
.catalog_button:hover {
    transform: scale(1.05);
    filter: brightness(1.1);
}


/* contact */
.contact{
    padding: 32px 0;
    background-color: var(--primary);
}

.contact_row{
    display: flex;
    align-items: center;
    gap: 100px;
}
.contact_left{
    max-width: 700px;
    width: 100%;
}
.contact_title{
    font-size: clamp(24px, 3vw, 48px);
    font-weight: 600;
    line-height: 120%;
    color: var(--white);
    margin: 0 0 8px 0;
}
.contact_left .desc{
    color: var(--white);
    margin: 0 0 40px 0;
}
.socials{
    display: flex;
    gap: 20px;
}
.socials a{
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 21px 24px;
    border-radius: 16px;
    background: rgba(0, 0, 0, 0.10);
    font-size: clamp(16px, 1.5vw, 24px);
    line-height: 30px;
    color: var(--white);
    text-decoration: none;
}
.contact_form{
    padding: 24px;
    border-radius: 4px;
    background: #FFF;
    width: -webkit-fill-available;
}
.form_title{
    font-size: clamp(24px, 2vw, 32px);
    font-weight: 600;
    line-height: 137%;
    color: var(--primary);
    margin: 0 0 12px 0;
}
.form_desc{
    font-size: 18px;
    font-weight: 400;
    line-height: 137%;
    color: var(--primary-body);
    margin: 0 0 24px 0;
}
.form_group{
    display: flex;
    gap: 24px;
    margin: 0 0 24px 0;
}
.form_group label{
    width: calc(50% - 12px);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}
.form_group label:has(textarea){
    width: 100%;
}
.form_group input,
.form_group textarea{
    width: 100%;
    padding: 16px;
    border-radius: 4px;
    border: 1px solid #F8F8F8;
    background: var(--white);
    font-family: inherit;
    font-size: 18px;
    font-weight: 500;
    line-height: 137%;
    color: var(--primary-2);
    outline: none;
    transition: var(--transition);
}
.form_group input::placeholder,
.form_group textarea::placeholder{
    color: rgba(0, 50, 116, 0.20);
}
.form_group input:hover,
.form_group textarea:hover{
    border-color: var(--primary);
}
.form_group textarea{
    height: 100px;
    width: 100%;
    resize: none;
}
.form_bottom{
    display: flex;
    align-items: center;
    gap: 24px;
    justify-content: center;
}
.agree{
    display: flex;
    align-items: flex-start;
    gap: 8px;
    position: relative;
    cursor: pointer;
}
.agree input{
    position: absolute;
    opacity: 0;
    visibility: hidden;
}
.agree .checkmark{
    position: relative;
    flex: 0 0 auto;
    width: 24px;
    height: 24px;
    border: 2px solid #99A3AE;
    border-radius: 8px;
}
.agree .checkmark::after{
    position: absolute;
    content: '';
    inset: 3px;
    border-radius: 5px;
    background-color: #0049A9;
    opacity: 0;
    transition: var(--transition);
}
.agree:has(input:checked) .checkmark::after{
    opacity: 1;
}
.agree p{
    font-size: 16px;
    line-height: 137%;
    color: var(--primary-body);
}
.agree p a{
    color: var(--primary-1);
}
button{
    border-radius: 4px;
    background-color: var(--primary);
    border: none;
    outline: none;
    font-family: inherit;
    font-size: 18px;
    font-weight: 600;
    line-height: 137%;
    color: var(--white);
    padding: 16px;
    cursor: pointer;
}

footer{
    padding: 38px 0;
    border: 1px solid rgba(255, 255, 255, 0.20);
    background: #F8F8F8;
}

.footer_top{
    display: flex;
    align-items: center;
    justify-content: center;
    gap:24px;
    margin: 0 0 32px 0;
}
.footer_logo_small{
    display: none;
}

.footer_links {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap:2%;
    margin: 0;
    padding: 0;
    list-style: none;
  }


  .footer_links li.footer_label a.footer_value {
    display: block;
    white-space: nowrap;
    font-size: 16px;
    font-weight: 400;
    text-decoration: none;
  }

  /* 3) Блоки Address, Fax, Телефон, Почта */
  .footer_links li.footer_item {
    display: flex;
    flex-direction: column;
    gap: 4px;
  }

  /* 3a) Метка (Label) */
  .footer_links li.footer_item .footer_label {
    font-size: 16px;
    font-weight: 400;
    color: var(--primary-2);
  }


  .footer_links li.footer_item .footer_value {
    display: block;    /* новое значение всегда с новой строки */
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-2);
    text-decoration: none;

  }
  .footer_value {
    white-space: nowrap !important;
  }

  .footer_links a:visited {
    color: var(--primary-2) !important;
    text-decoration: none;
}
.footer_links li.footer_item .footer_value,
.footer_links li.footer_item .footer_label {
  overflow-wrap: break-word;
}
.advantage{
    padding: 80px 0 90px 0;
}
.advantage_row{
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    margin: 0 0 48px 0;
}
.advantage_item{
    padding: 16px;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.20);
    background: #F8F8F8;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    width: calc(25% - 18.75px);
}
.advantage_title{
    font-size: 24px;
    font-weight: 700;
    line-height: 137%;
    color: var(--primary-2);
}
.advanatge_desc{
    font-size: 18px;
    line-height: 137%;
    color: var(--primary-body);
}
.advantage .section_top{
    margin: 0 0 48px 0;
}
.about_row{
    display: flex;
    align-items: center;
    gap: 24px;
}
.about_image,
.about_map_container,
.about_texts{
    width: calc(50% - 12px);
}
.about_title{
    font-size: clamp(24px, 2vw, 32px);
    line-height: 137%;
    margin: 0 0 12px 0;
    color: var(--primary-2);
}
.about_texts p{
    font-size: clamp(16px, 1.5vw, 24px);
    line-height: 137%;
    color: var(--primary-body);
}
.catalog{
    padding: 80px 0 24px 0;
}
.catalog_row{
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}
.product2{
    width: calc(50% - 12px);
    display: flex;
    align-items: flex-start;
    gap: 25px;
}
.product2 .product_image{
    width: calc(36.2% - 12.5px);
}
.product2 .product_right{
    width: calc(64.2% - 12.5px);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
}
.product_right ol{
    margin: 0 0 0 16px;
    font-size: 16px;
    line-height: 137%;
    color: var(--primary-body);
}
.order_btn{
    font-size: 16px;
    font-weight: 700;
    line-height: 137%;
    color: var(--white);
    border-radius: 4px;
    background-color: var(--primary);
    padding: 16px;
    text-decoration: none;
}
.error{
    padding: 48px 0 100px 0;
}
.error .container{
    display: flex;
    justify-content: center;
}
.error_block{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 16px;
    max-width: 580px;
    text-align: center;
}
.error_code{
    font-size: clamp(64px, 5vw, 72px);
    line-height: 137%;
    font-weight: 700;
    font-variant-numeric: lining-nums proportional-nums;
    color: var(--primary-2);
}
.error_title{
    font-size: clamp(24px, 2vw, 32px);
    font-weight: 600;
    line-height: 137%;
    color: var(--primary-2);
}
.error_desc{
    font-size: clamp(16px, 1.2vw, 18px);
    font-weight: 500;
    line-height: 137%;
    color: var(--primary-2);
}
.error_image{
    width: 150px;
    height: 150px;
}
.modal_back{
    position: fixed;
    z-index: 4;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    background-color: #000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}
.modal_back.active{
    opacity: .3;
    visibility: visible;
}
.modal{
    position: fixed;
    z-index: 5;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -40%);
    padding: 40px;
    max-width: 600px;
    width: 100%;
    max-height: 80vh;
    height: auto;
    overflow-y: auto;
    background-color: var(--white);
    border-radius: 20px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.3);
    border: 2px solid var(--primary-light);
}
.modal.active{
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%);
}
.close_icon{
    position: absolute;
    z-index: 2;
    top: 20px;
    right: 20px;
    cursor: pointer;
    display: flex;
    width: 30px;
    height: 30px;
}
.close_icon svg{
    width: 100%;
    height: 100%;
}
.close_icon path{
    stroke: var(--primary);
}
.call_back .close_icon path{
    stroke: var(--white);
}
.modal .contact_title{
    margin: 0 0 40px 0;
}
.modal_row{
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 0 0 20px 0;
    border-top: 1px solid #eee;
    padding-top: 20px;
}
.modal_row .socials{
    margin: 30px 0 0 0;
}
.modal_row .socials,
.modal_row .tel_numbers{
    display: flex;
    gap: 10px;
    align-items: center;
    width: 100%;
}
.modal_row .footer_nav{
    font-variant-numeric: lining-nums proportional-nums;
    color: var(--primary);
    text-decoration: none;
}
.footer_nav{
    font-size: 14px !important;
}
.as{
    white-space: nowrap;
}
.call_back{
    background-color: var(--primary);
}
.modal .desc{
    color: var(--white);
}
.status_icon{
    width: 100%;
    display: flex;
    justify-content: center;
    margin: 0 0 30px 0;
}

.contacts {
    padding: 40px 0;
}

.contacts_row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
}

.contact_item {
    flex: 1;
    min-width: 280px;
    max-width: 32%;
    font-size: 15px;
    line-height: 1.6;
    color: #333;
}

.contact_item a {
    color: var(--primary);
    text-decoration: none;
}

.contact_item a:hover {
    text-decoration: underline;
}

.contacts_title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px;
    color: var(--white);
}

/* Modal Social Buttons */
.modal-social-row {
    border-top: none;
    padding-top: 0;
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 15px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.modal-social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 24px;
    border-radius: 8px;
    color: var(--white);
    text-decoration: none;
    font-size: 18px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: opacity 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
}

.modal-social-btn i {
    font-size: 1.3em;
}

.modal-social-btn:hover {
    opacity: 0.85;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.telegram-btn {
    background-color: #0088cc;
}

.whatsapp-btn {
    background-color: #25D366;
}

.loader{
    position: fixed;
    z-index: 10;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    background-color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}
.loader.active{
    opacity: 1;
    visibility: visible;
}
.loader_icon{
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}
.loader.active .loader_icon {
    animation: rotate 1s linear infinite;
}
@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(-360deg); }
}
@media(max-width: 1720px){
    .footer_links{
        gap: 30px;
    }
}
@media(max-width: 1440px){
    .header_links a, .contact_us{
        font-size: 18px;
    }
    .header_links,
    .header_right{
        gap: 30px;
    }
    .hero_image{
        width: 100%;
    }
    .dot_item:nth-child(2) {
        left: 7%;
        bottom: 34%;
        flex-direction: row-reverse;
    }
    .dot_item:nth-child(3) {
        left: 36%;
        bottom: 34%;
    }
    .dot_item:nth-child(4) {
        bottom: 44%;
    }
    .dot_item:nth-child(5) {
        right: 22%;
        bottom: 42%;
    }

    .footer_top{
        flex-direction: column;
        align-items: flex-start;
    }

    .advantage_item{
        width: calc(33.3% - 16.6px);
    }
}
@media(max-width: 1200px){
    .big_logo{
        display: none;
    }
    .small_logo{
        display: block;
    }
    .contact_row{
        gap: 20px   ;
    }
}
@media(max-width: 992px){
    .header_right{
        flex-direction: column;
        justify-content: space-between;
        position: fixed;
        top: -100%;
        left: 0;
        width: 100%;
        height: calc(100vh - 84px);
        z-index: 1;
        background-color: var(--primary);
        padding: 24px 0 0 0;
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
    }
    .header_right.show{
        top: 84px;
        opacity: 1;
        visibility: visible;
    }
    .header_links{
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        padding: 0 14px;
        gap: 24px;
    }
    .header_links li,
    .header_links a{
        width: 100%;
        display: flex;
    }
    .header_links a{
        font-size: 24px;
        position: relative;
    }
    .header_links a::after{
        position: absolute;
        content: '';
        right: 0;
        top: 50%;
        transform: translate(0, -50%);
        width: 24px;
        height: 24px;
        background-image: url(img/arr_right.svg);
    }
    .contact_us{
        width: 100%;
        font-size: 24px;
        text-align: center;
    }
    .hamburger{
        display: flex;
        cursor: pointer;
    }
    .hamburger line{
        transition: var(--transition);
    }
    .hamburger.active line:first-child{
        opacity: 0;
    }
    .hamburger.active line:nth-child(2){
        transform: rotate(45deg) translate(7px, -22px);
    }
    .hamburger.active line:last-child{
        transform: rotate(-45deg) translate(-18px, 5px);
    }
    .language{
        display: flex;
    }
    .header_row{
        padding: 12px 0;
    }
    .hero_image{
        width: 200%;
        right: -10%;
        top: unset;
        bottom: 12%;
    }
    .product1{
        width: calc(50% - 12.5px);
        gap: 10px;
        padding: 12px;
    }
    .catalog_button{
        width: calc(50% - 12.5px);
    }
    .contact_row{
        flex-direction: column;
    }
    .footer_links{
        gap: 14px;
        flex-direction: column;
        align-items: flex-start;
    }

    .advantage_item{
        width: calc(50% - 12.5px);
    }
    .about_row{
        flex-direction: column-reverse;
    }
    .about_image, .about_map_container, .about_texts{
        width: 100%;
    }
    .product2{
        width: 100%;
    }
    .header_links select,
    .language {
        color: var(--white);
    }
    #language {
        color: var(--white);
    }
}
@media(max-width: 768px){
    .hero{
        padding: 132px 0 0 0;
        min-height: 100vh;
        display: flex;
    }
    .hero .container{
        padding: 0;
        height: auto;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }
    .hero_title{
        padding: 0 14px;
        margin: 0;
    }
    .hero_btn{
        display: flex;
        justify-content: center;
        text-align: center;
    }
    .dot_item:nth-child(1){
        top: unset;
        bottom: 42%;
    }
    .dot_item:nth-child(2){
        bottom: 18%;
        flex-direction: row;
    }
    .dot_item:nth-child(3){
        display: none;
    }
    .dot_item:nth-child(4) {
        bottom: 32%;
    }
    .dot_item:nth-child(5){
        display: none;
    }
    .products1{
        padding: 36px 0 24px 0;
    }
    .section_top{
        flex-direction: column-reverse;
    }
    .products1 .section_top_left{
        max-width: 100%;
        width: 100%;
    }

    .contact .container{
        padding: 0;
    }
    .contact{
        padding: 32px 0 0 0;
    }
    .contact_left{
        padding: 0 14px;
    }
    .contact_form{
        border-radius: 0;
    }
    .advantage_row{
        margin: 0 0 32px 0;
    }
    .advantage .section_top{
        margin: 0 0 32px 0;
    }
    .advantage{
        padding: 24px 0 32px 0;
    }
    .catalog{
        padding: 24px 0;
    }
    .error{
        padding: 24px 0;
    }
}
@media(max-width: 576px){
    .product1{
        width: 100%;
        gap: 4px;
    }
    .catalog_button{
        width: 100%;
    }
    .contact_left .desc{
        margin: 0 0 16px 0;
    }
    .contact_left .desc,
    .contact_title{
        text-align: center;
    }
    .socials{
        justify-content: center;
    }
    .socials a{
        padding: 12px 14px;
    }
    .socials a img{
        width: 24px;
        height: 24px;
    }
    .form_group{
        flex-direction: column;
        gap: 24px;
    }
    .form_group label{
        width: 100%;
    }
    .form_bottom{
        flex-direction: column;
    }
    .form_bottom button{
        width: 100%;
    }
    .form_group input, .form_group textarea{
        padding: 14px;
    }
    footer{
        padding: 18px 0;
    }
    .footer_logo_small{
        display: block;
    }
    .footer_logo_big{
        display: none;
    }
    .footer_bottom{
        flex-direction: column;
        align-items: flex-start;
    }

    .advantage_item{
        width: 100%;
        padding: 14px 16px;
    }
    .advantage_image{
        width: 72px;
        height: 72px;
    }
    .about_row{
        gap: 12px;
    }
    .product_right ol{
        font-size: 14px;
    }

    .product2{
        flex-direction: column;
    }
    .catalog_row{
        gap: 34px;
    }
    .product2 .product_image{
        width: 100%;
    }
    .product2 .product_right{
        width: 100%;
    }
    .product2 .order_btn{
        width: 100%;
        text-align: center;
    }

    .error_image{
        width: 100px;
        height: 100px;
    }
    .modal{
        max-width: calc(100% - 40px);
        padding: 50px 20px 20px 20px;
        border-radius: 10px;
    }
    .close_icon{
        width: 20px;
        height: 20px;
    }
    .modal_row .socials, .modal_row .tel_numbers{
        flex-direction: column;
        gap: 20px;
    }
    .modal .socials a{
        width: 100%;
        justify-content: center;
    }
}

/* Styles for Modal Title */
.modal-title-wrapper {
    text-align: center;
    margin-bottom: 30px;
}

.modal_title {
    font-size: clamp(22px, 2.2vw, 26px);
    font-weight: 700;
    color: var(--primary);
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-light);
    display: inline-block;
}

/* Target only the first .modal_row (for contacts) to add border */
.modal-social-row + .modal_row,
.contact-info-row {
    border-top: 2px solid var(--primary-light);
    padding-top: 20px;
    margin-top: 25px;
}

/* Styles for the combined contact row */
.contact-info-row {
    gap: 15px;
}

.modal_row .tel_numbers{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    width: 100%;
    align-items: start;
    text-align: left;
}

/* Make phone/email links look cleaner */
.modal_row .contact-link {
    color: var(--primary-body);
    text-decoration: none;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.modal_row .contact-link i {
    color: var(--primary);
    width: 1.2em;
    text-align: center;
}

.modal_row .contact-link:hover {
    color: var(--primary);
    text-decoration: underline;
}

/* Возвращаю стили для iframe */
.about_map_container iframe {
    width: 100%;
    height: 100%;
    min-height: 450px;
    border: none;
}
li {
    /* margin-right: 16px; */
}
ul {
    margin-left: 22px;
}

/* Хедер: логотипы */
header .brand_logo > img.big_logo,
header .brand_logo > img.small_logo {
  max-height: 100px !important;
  width: auto !important;
}

/* Футер: логотипы */
footer .brand_logo > img.footer_logo_big,
footer .brand_logo > img.footer_logo_small {
  max-height: 100px !important;
  width: auto !important;
}
