@media (max-width: 999px) {
    /* Скрываем мешающие элементы RSForms ТОЛЬКО для множественных селектов */
    select[multiple] ~ [id$="-styler"] ul,
    select[multiple] ~ .popup-f {
        display: none !important;
    }

    /* Стили для Select2 */
    .select2-container {
        width: 100% !important;
        max-width: 400px !important;
        margin-bottom: 10px;
    }
}

.cookie-banner{position:fixed !important;inset:auto !important;display:none;width:calc(100% - 32px);max-width:560px;background:#ffffff;color:inherit;border-radius:16px;box-shadow:0 16px 50px rgba(16,24,40,.14);padding:18px;gap:14px;z-index:999999;align-items:center;border:1px solid #eef1f6;font-family:Inter,sans-serif}
.cookie-banner[data-open="1"]{display:flex}
.cookie-banner__text{line-height:1.45;font-size:14px;min-width:0;overflow-wrap:break-word}
.cookie-banner__text a{color:inherit;text-decoration:none}
.cookie-actions{display:flex;align-items:center;margin-left:auto;flex-wrap:nowrap}
.cookie-btn{
    border:none;border-radius:16px;background:#1f4189;color:#fff;padding:10px 18px;
    font-weight:600;font-size:14px;line-height:1.2;
    cursor:pointer;display:inline-flex;align-items:center;justify-content:center;white-space:nowrap;writing-mode:horizontal-tb;min-height:40px;min-width:96px
  }

.cookie-pos-bl{left:16px !important;right:auto !important;bottom:16px !important;top:auto !important;transform:none !important}
.cookie-pos-br{right:16px !important;left:auto !important;bottom:16px !important;top:auto !important;transform:none !important}
.cookie-pos-tl{left:16px !important;right:auto !important;top:16px !important;bottom:auto !important;transform:none !important}
.cookie-pos-tr{right:16px !important;left:auto !important;top:16px !important;bottom:auto !important;transform:none !important}
.cookie-pos-ct{left:50% !important;right:auto !important;top:16px !important;bottom:auto !important;transform:translateX(-50%) !important}
.cookie-pos-cb{left:50% !important;right:auto !important;bottom:16px !important;top:auto !important;transform:translateX(-50%) !important}
.cookie-banner.stick{flex-direction:column;align-items:stretch}
.cookie-banner.stick .cookie-actions{margin-left:0;margin-top:auto}
.cookie-banner.stick .cookie-btn{width:100%}
@media (max-width:640px){
  .cookie-banner{
      width:calc(100% - 24px) !important;
      max-width:none !important;
      left:12px !important;
      right:12px !important;
      transform:none !important;
      padding:14px !important;
      gap:12px !important;
      flex-direction:column !important;
      align-items:stretch !important;
    }
  .cookie-pos-bl,
  .cookie-pos-br,
  .cookie-pos-cb{bottom:12px !important;top:auto !important}
  .cookie-pos-tl,
  .cookie-pos-tr,
  .cookie-pos-ct{top:12px !important;bottom:auto !important}
  .cookie-actions{width:100% !important;margin-left:0 !important}
  .cookie-btn{width:100% !important}
  }
* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

html, body {
    overflow-x: hidden;
    position: relative;
    width: 100%;
}
body {
    font-family: 'Roboto';
}


a {
    text-decoration: none;
}

h1 {
    font-size:48px;
    font-family: 'Roboto';
    font-weight: 800;
    color: #193C58; 
    letter-spacing: -1px;
    text-transform: uppercase;
}

h2 {
    color:#1f4c70;
}

p {
    font-size: 16px;
}

header {
    background: #193C58;
    padding: 14px 20px;
    font-family: 'Comic Sans MS';
}

.hero-content {
    max-width: 1185px;
    width: 100%;
    margin: 0 auto;
}

.hero-section {
    height: 530px;
    background: #e7e7e7;
    
    display: flex;
    justify-content: center;
    flex-direction: column;
    background: #F0F0F0;
    background-image: url('img/bg.png');
    background-size: cover;
    background-position: center;
}

.hero-content p {
    margin-top: 20px;
    width: 47%;

    font-family: 'Roboto';
    line-height: 1.4;
    color: #FFF;
    margin-bottom: 36px;
    font-size: 20px;
}

.header-content {
    max-width: 1185px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;

}

.logo img {
    width: 59px;
}

.header-desc {
    margin-left: 8px;
    margin-top: -4px;

    color: white;
}

.header-desc a {
    color: white;
    font-size: 28px;
    font-family: Tahoma !important;
}

nav ul {
    display: flex;
    align-items: center;
    gap: 32px;

    list-style: none;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-family: 'Roboto';
  
}

nav ul li a:hover {
    color: rgb(216, 216, 216);
}

.ya-site-form {
    width: 400px !important;
    margin-top: 20px;
	z-index: 99999 !important;
}

.ya-site-form__input-text {
    height: 45px;
    border-radius: 4px 0 0 4px;
    padding-left: 16px;
}


td.ya-site-form__search-input {
    padding: 0 !important;
}

.ya-site-form__arrow-wrap {
    display: none;
}
/* Поменял padding: 0 36px;*/
#ya-site-form0 input.ya-site-form__submit {
    border: none;
    background-color: #193C58;
    color: white !important;
    height: 45px;
    padding: 0 10px;
    margin: 0 !important;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
	z-index: 99999 !important;
}


#ya-site-form0 input.ya-site-form__submit:hover {
    background-color: #1f4c70;
}

/* ОБЛАСТИ */


.city-content {
    max-width: 1185px;
    margin: 0 auto;
    padding: 36px 0;
    gap: 20px;
}

.city-content-right {
    margin-top: 24px;
}

.city-content-list {
    padding-top: 4px;
}

.city-card {
    width: 100%;
    height: 120px;
    margin-top: 20px;

    background-size: cover;
    background-position: center;

    display: flex;
    align-items: flex-end;
    padding: 18px 32px;
    border-radius: 4px;
    border: none;

    cursor: pointer;

    box-shadow:
    inset 0px -25px 50px #0f2536;
    position: relative;
    overflow: hidden;
    
}

.city-card:after {
    position: absolute;
    content:"";
    height:100%;
    width:100%;
    top:0;
    left:0;
    background: linear-gradient(to bottom, rgba(8, 8, 8, 0) 30%,rgba(38, 60, 88, 0.75) 70%);
}


.city-card h3 {
    color: white;
    position: relative;
    z-index: 99;
}

.city-card img {
    position: absolute;
    left:0;
    top: -30%;
    box-shadow:
    inset 0px -55px 20px #0f2536;
}

#city-center {
    margin-top: 24px;
}

/* ИСПОЛНИТЕЛИ */

.section-employe {
    background: #f6f6f6;
    padding: 36px 0;
}

.section-employe h2 {
    margin-bottom: 24px;
}

.employe-content {
    max-width: 1185px;
    margin: 0 auto;
}


/* МОБИАЛЬНОЕ МЕНЮ */

.mobile-menu {
    display: none;
}

.mobile-menu img{
    width: 36px;
}

#mobile-menu-open {
    display: none;

}

#mobile-menu-open ul {
    flex-direction: column;
}

.menuBtn {
    background: #193C58;
    color: white;
    border: none;
}

/* СЛАЙДЕР */

.owl-nav button {
  position: absolute;
  top: 50%;
  background-color: #fff;
  color: #fff;
  margin: 0;
  transition: all 0.3s ease-in-out;
}
.owl-nav button.owl-prev {
  left: 8px;
  color: #fff !important;
}

.owl-prev span {
    font-size: 48px !important;
    left:8px;
}

.owl-next span {
    font-size: 48px !important;
    right:8px;
}

.owl-nav button.owl-next {
  right: 8px;
  color: #fff !important;
}

.owl-carousel img {
    border-radius: 4px;
}

.owl-dots {
  text-align: center;
  padding-top: 15px;
  display: block !important;
}

.owl-nav {
    display: block !important;
}

.owl-nav svg {
    fill: white !important;
}

.owl-dots button.owl-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
  margin: 0 3px;
  background-color: #94a8b8 !important;
}
.owl-dots button.owl-dot.active {
  background-color: #1f4c70 !important;
}
.owl-dots button.owl-dot:focus {
  outline: none;
}
.owl-nav button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}
span {
    font-size: 70px;    
    position: relative;
    top: -5px;
}
.owl-nav button:focus {
    outline: none;
}

/* ПАРТНЕРЫ */

.section-parthners {
    background-image: linear-gradient(to top, #e3e3e3, #eaeaea, #f1f1f1, #f8f8f8, #ffffff);
}

.parthners-content {
    max-width: 1180px;
    margin: 0 auto;
    padding: 48px 0 0 0;

    display: flex;
    align-items: center;
}

.parthners-content > * {
    flex: 1;
}

.parthners-content img {
    width: 700px;
    margin-bottom: -4px;
}

.parthners-content h2 {
    margin-bottom: 24px;
    font-size: 32px;
    text-transform: uppercase;
    font-weight: 900;
    letter-spacing: -1px;
}

.parthners-content p {
    margin-bottom: 32px;
    line-height: 1.5;
}

.parthners-content #ctaBtn {
    text-decoration: none;
    color: white;
    background-color: #193C58;
    padding: 14px 64px;
    border-radius: 8px;
}

.parthners-content #ctaBtn:hover {
    background-color: #0f2536;
}

.social {
    margin-top: 48px;
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 32px;
}

.social svg {
    width: 40px;
    fill: #1f4c70;
    cursor: pointer;
}

.social svg:hover {
    fill: #193C58;
}

/* FOOTER */

footer {
    background: url('img/foot_bg.png');
    background-repeat: repeat-x;
}

.footer-content {
    max-width: 1180px;
    margin: 0 auto;
    padding: 80px 0 36px 0;

    display: flex;
    gap: 48px;
}

.footer-content ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 18px;

}

.footer-content ul li a {
    font-size: 16px !important;
    color: #1f4c70;
}

.footer-content ul li span {
    font-size: 16px !important;
}

.footer-menu {
    width: 50%;
}

.footer-contact{
    width: 25%;
    color: #2F2F2F
}

.footer-time {
    margin-top: 8px;
    color: #646464;
}

.company {
    margin-top: 32px;
    display: flex;
    gap: 10px;
}

/* ДОСТАВКА */

.dostavka-section {
    border-bottom: 1px solid #ccc;
    padding-bottom: 48px;
}
    
.dostavka-content{
    max-width: 1180px;
    margin: 0 auto;

    padding: 36px 0;
}

.dostavka-content h1 {
    font-size: 48px;
    color: #1f4c70;
    font-weight: 700;
    text-align: center;
}

.dostavka-item {
    display: flex;
    align-items: flex-start;
    margin-top: 48px;
}

.dostavka-digit p{
    font-size: 48px;
    line-height: 42px;
    padding: 0 36px;
    color: #1f4c70;
    font-weight: 700;
}

.dostavka-text {
    padding-right: 100px;
    color: #2F2F2F;
    line-height: 1.4;
}

/* КОНТАКТЫ */

.contact-section {
    padding-bottom: 80px;
    border-bottom: 1px solid #ccc;
}

.contact-content {
    max-width: 1180px;
    margin: 0 auto;

    padding: 48px 0;
}

.contact-content h1 {
    font-size: 48px;
    color: #1f4c70;
    font-weight: 700;
    text-align: center;

}


@media (max-width: 1180px) {
    #desktop-menu {
        display: none;
    }

	.logo img {
    width: 42px;
}
    .mobile-menu {
        display: block;
    }


    #mobile-menu-open ul {
        padding: 48px 0;
        margin-top: 20px;
        position: absolute;
        justify-content: center;
        align-items: center;
        left: 0; 
        background-color: #193C58;
        width: 100%;
    }

    h1 {
        font-size: 38px;
    }

    .header-desc a {
        font-size: 20px;
    }

    /* ПЕРВАЯ СЕКЦИЯ С ПОИСКОМ */

    .hero-section {
        height: 75vh;
        justify-content: flex-start;
        padding-top: 48px;
        background-position: right 20% bottom 0%;
        background-size: 220%;
        background-repeat: no-repeat;
        background-color: #EDEDED;
    }

    .hero-content {
        padding: 0 20px;
    }

    .hero-content p {
        width: 100%;
        font-size: 18px;
    }

    .ya-site-form {
        width: 100% !important;
    }

    /* ОБЛАСТИ */

    .city-content h2 {
        font-size: 20px;
    }

    .city-content {
        padding: 32px 20px;
    }


    #city-center {
        margin-top: 32px;
    }

    /* ИСПОЛНИТЕЛИ */

    .employe-content {
        padding: 0 20px;
    }

    /* Партнеры */

    .parthners-content {
        flex-direction: column;
        padding: 0 20px;
    }

    .parthners-content img {
        width: 400px;
        max-width: 400px;
        margin-top: 48px;
    }

    .parthners-content h2 {
        margin-top: 36px;
    }

    /* FOOTER */

    .footer-content {
        flex-direction: column;
        padding: 80px 20px 36px 20px;
    }

    .footer-menu {
        width: 100%;
    }

    .footer-contact {
        width: 100%;
    }

    .company {
        align-items: center;
        justify-content: center;
    }

    .footer-time {
        width: 100%;
    }

    /* Баннер ВК */

    #vk {
        align-self: center;
    }

    /* Доставка */

    .dostavka-content {
        padding: 48px 20px 0 0;
    }

    .dostavka-content h1 {
        font-size: 32px;
    }

    .dostavka-digit p {
        font-size: 36px;
        padding: 0 20px;
    }

    .dostavka-text {
        padding: 0;
    }

    /* КОНТАККТЫ */

    .contact-content h1 {
        font-size: 24px;
    }

    .contact-section {
        padding-bottom: 0px;
    }




}


@media (max-width: 1180px) {
    .dostavka-content {
        padding: 48px 20px; 
        width: 100%;
        box-sizing: border-box;
    }

    .footer-content {
        padding: 40px 20px;
        width: 100%;
        box-sizing: border-box;
    }

    
    .ya-site-form {
        width: 100% !important;
        max-width: 100%;
    }

    .dostavka-item {
        flex-direction: column; 
    }
}
		.header-content{
		height: 44px !important;
		}
      :root {
        color-scheme: light;
        --ink: #1f2933;
        --muted: #5b6570;
        --line: #cbd5df;
        --head: #17365d;
        --soft: #eef4f8;
        --note: #eaf4f7;
        --warn: #fff7e3;
      }
      * {
        box-sizing: border-box;
      }
      body {
        margin: 0;
        background: #fff;
        color: var(--ink);
       
      }
      main {
        width: min(960px, calc(100% - 32px));
        margin: 40px auto 72px;
      }
      h1 {
        margin: 0 0 8px;
        color: var(--head);
        font-size: clamp(28px, 4vw, 42px);
        line-height: 1.15;
        text-align: center;
      }
      h2 {
        margin: 34px 0 12px;
        color: var(--head);
        font-size: 24px;
        line-height: 1.25;
      }
      
      ul {
        margin: 8px 0 16px 22px;
        padding: 0;
      }
      li {
        margin: 5px 0;
      }
      .meta {
        text-align: center;
        color: var(--muted);
        margin-bottom: 24px;
      }
      .note,
      .warning,
      .checkbox {
        border: 1px solid #8fb5c7;
        background: var(--note);
        border-radius: 8px;
        padding: 16px 18px;
        margin: 18px 0;
      }
      .warning {
        border-color: #d6a94d;
        background: var(--warn);
      }
      .checkbox {
        border-color: #5b9bd5;
        background: #edf5fd;
        font-size: 17px;
      }
      table {
        width: 100%;
        border-collapse: collapse;
        margin: 12px 0 20px;
      }
      th,
      td {
        border: 1px solid var(--line);
        padding: 10px 12px;
        text-align: left;
        vertical-align: top;
      }
      th {
        background: #d9e5f2;
        color: #16283d;
      }
      .operator td:first-child {
        width: 30%;
        background: var(--soft);
        font-weight: 700;
      }
      hr {
        border: 0;
        border-top: 1px solid var(--line);
        margin: 34px 0;
      }
      a {
        color: #1f4e79;
        text-underline-offset: 2px;
      }
      .small {
        color: var(--muted);
        font-size: 14px;
      }
      @media (max-width: 640px) {
        main {
          width: min(100% - 20px, 960px);
          margin-top: 24px;
        }
        th,
        td {
          padding: 8px;
        }
        .data-table,
        .data-table thead,
        .data-table tbody,
        .data-table tr,
        .data-table th,
        .data-table td {
          display: block;
        }
        .data-table thead {
          position: absolute;
          width: 1px;
          height: 1px;
          overflow: hidden;
          clip: rect(0 0 0 0);
        }
        .data-table tr {
          border: 1px solid var(--line);
          margin: 10px 0;
        }
        .data-table td {
          border: 0;
          border-bottom: 1px solid var(--line);
        }
        .data-table td:last-child {
          border-bottom: 0;
        }
      }