@font-face {
  font-family: 'Nunito';
  src: url('../fonts/Nunito-Regular.ttf') format('truetype'),
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'Nunito';
  src: url('../fonts/Nunito-SemiBold.ttf') format('truetype'),
  font-weight: 600;
  font-style: normal;
}

@font-face {
  font-family: 'Nunito';
  src: url('../fonts/Nunito-Bold.ttf') format('truetype'),
  font-weight: 700;
  font-style: normal;
}

body, html {
    max-width: 100%;
    min-height: 100%;
    overflow-x: hidden;
}

.hidden-category {
  display: none !important;
}

.main_text {
    font-weight: 600;
    font-size: 20px;
    padding: 30px;
    border-radius: 5px;
    color:black;
    justify-self: left;
}

body {
    background:#aaceeb;
    font-family: 'Nunito';
    font-weight:400;
}

.modal {
  overflow: hidden;
}

.modal body {
  padding-right: calc(100vw - 100%);
}

.blue-plug {
    background: #aaceeb;
    width: 100%;
    height: 30px;
    position: fixed;
    top: 0px;
    z-index: 11;
}

.black-plug {
    background: #FFFFFF;
        border-top-right-radius: 5px;
    border-top-left-radius: 5px;
    width: calc(100% - 40px);
    margin-left:20px;
    height: 10px;
    position: fixed;
    top: 20px;
    z-index: 11;
}

#msCart th.count, #msCart th.weight, #msCart th.price, #msCart th.remove, .ms-count, .ms-weight, .ms-price, .ms-remove {
    width: 100% !important;
    display: flex;
}

.product-picture {
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.product-picture img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

.content {
    padding:0 !important;
    font-size:1rem;
    font-weight: 400;
    color:black;
}

.content p {
    margin-left: 10px;
}

.form-control:focus {
    color: black !important;
}

.header-black {
    background: #FFFFFF;
    border-top-right-radius: 5px;
    border-top-left-radius: 5px;
    width: calc(100% - 40px);
    height: max-content;
    margin-left: 20px;
    margin-top: 20px;
    position: fixed;
    z-index: 2;
    top:0;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.header-black.header-hidden {
  transform: translateY(-100%);
  opacity: 0;
}

h1, h2, h3, h4 {
    color:black!important;;
}

h1 {
    font-size:26px;
    padding:30px 0 30px 0;
    text-align: center;
}


h2 {
    font-size:24px;
    padding: 0 0 15px 0;
}

#contactsModal a, .content a {
    color: #6597bf !important;
}

#map_387577415 {
    border-radius:5px !important;
}

.offset-menu h2 {
    font-size:24px;
    padding: 0 0 15px 0;
    text-align-last: left;
}

.modal-dialog .slide_content {
    height: calc(100vh - 240px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y;
}

h4 {
    margin-bottom:25px;
}

.modal-header .btn-close {
    padding: 15px !important;
}

.btn-close {
    --bs-btn-close-color:unset !important;
    --bs-btn-close-bg: url(../images/close_wndw_white.svg) !important;
    --bs-btn-close-opacity: unset !important;
    --bs-btn-close-hover-opacity: unset !important;
    --bs-btn-close-focus-shadow: unset !important;
    --bs-btn-close-focus-opacity: unset !important;
    --bs-btn-close-disabled-opacity: unset !important;
    --bs-btn-close-white-filter: unset !important;
    box-sizing: content-box;
    width: 1em!important;
    height: 1em!important;
    padding: unset !important;
    color: unset !important;
    background: transparent url(../images/close_wndw_white.svg) center / 1em auto no-repeat;
    border: 0;
    border-radius: unset !important;
    opacity: unset !important;
    z-index: 6;
    font-family: none;
    text-emphasis: sesame;
}

#imageModal .modal-dialog {
    background: white;
}

.white {
    color:black;
}



.body-black {
    background: #FFFFFF;
    border-bottom-left-radius: 5px !important;
    border-bottom-right-radius: 5px !important;
    width: calc(100% - 40px);
    min-height: calc(100vh - 40px);
    margin-bottom: 20px;
    margin-left: 20px;
    box-sizing: border-box;
}

body.modal-open {
    overflow: hidden !important;
    padding-right: 0 !important;
}

.modal-header {
    border: 0 !important;
}

.cart #msMiniCart .empty, .cart .msMiniCart .empty {
    background: none !important;
    color: #E8C771;
    margin-top: 10px;
    margin-left: 3px;
    font-weight: 700;
}

/* Прокрутка меню */
.anchor-target {
    scroll-margin-top: 130px;
}
/* Высотка шапки для меню */
.menu-height {
    height: calc(100vh - 190px);
}

ul.nav.flex-column {
    margin-top: 160px;
    padding: 0 10px 0 5px;
    position: fixed;
    
}

/* Шапка */
.logo {
    background-image: url(../images/logo_blue.svg);
    background-repeat: no-repeat;
    background-position: center;
    height: 85px;
    margin-top: 15px;
    margin-bottom: 15px;
}

.icons {
    align-content: center;
}

.header-icons {
    background-repeat: no-repeat;
    height: 40px;
    width: 40px;
    background-position: right;
    float: right;
    margin-left: 20px;
    background-position-y: bottom;
}

.find {
    background-image: url(../images/find_white.svg);
    height: 32px;
    margin-top: 18px;
    margin-left: 5px !important;
    position: absolute;
    margin-right: 190px;
    margin-top: 49px;
}

#close-icons {
    transition: opacity 0.3s ease-in-out;
    background-image: url(../images/close_white.svg);
    background-repeat: no-repeat;
    background-position: center;
    height: 30px;
    width: 30px;
    margin-top: 10px;
    cursor: pointer;
    opacity: 0;
    position: absolute;
    content: " ";
    font-size:30px;
        margin-right: 190px !important;
    margin-top: 49px;
}

.modal-header .btn-close {
        padding: 15px !important;
    padding: calc(var(--bs-modal-header-padding-y) * .5) calc(var(--bs-modal-header-padding-x) * .5);
    margin: calc(-.5 * var(--bs-modal-header-padding-y)) calc(-.5 * var(--bs-modal-header-padding-x)) calc(-.5 * var(--bs-modal-header-padding-y)) auto;
}

#contactsModal .modal-title {
    font-size: 26px;
    padding: 0px 0 30px 0;
    text-align: center;
    justify-self: anchor-center;
}


#contactsModal .modal-body {
    margin-top: 30px;
}

.telephon {
    background-image: url(../images/telephon_white.svg);
    cursor: pointer;
}

.cart {
    background-image: url(../images/cart_white.svg);
    display:block;
}

.menu {
    background-image: url(../images/menu_white.svg);
    cursor: pointer;
    display:block;
}

.fixed-menu {
    background: #FFFFFF;
    position: fixed;
    overflow-y: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.fixed-menu::-webkit-scrollbar {
  width: 0;
  background: transparent;
}

.nav-link {
    color:black;
    font-size: 18px;
    padding-left: 10px;
    margin-top: 70px;
}


#bottomSheet li.nav-item {
    border-bottom: 1px solid #3D3D3D;
    padding: 0 10px 0 10px;
}

#bottomSheet ul.nav.flex-column {
    position: unset !important;
}

#bottomSheet .content-scroll {
  height: calc(100vh - 180px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
}

#bottomSheet ul.nav {
    padding: 0 10px 0 5px;
    background: white;
    width: 100%;
}
.nav-link:hover {
    color:#E8C771;
}

.product-detail-content {
    margin-top: 150px;
}

.modal-content {
    background:white;
}

.product-photo {
    inline-size: fit-content;
    float:left;
    padding: 0 20px 5px 0;
}

.price_buttons {
    align-content: start;
}

.structure, .price {
    text-align: left;
    padding-bottom: 25px;
}

.buttons {
    justify-self: center;
}

.price_product {
    font-weight: 700;
    font-size: 28px;
    justify-self: center;
    padding-bottom: 25px;
}

picture {
    z-index: 1;
}

#modalProductContent h1 {
    margin-top: -60px;
}

#modalProductContent .structure, #modalProductContent .price {
    text-align: left;
}

#modalProductContent .offset-menu {
    margin-left: 0% !important;
    flex: 0 0 auto;
    width: 100% !important;
}

.product-detail-content h1 {
    color: black !important;
}

li.nav-item {
    border-bottom: 1px solid white;
}


/* Карточка на главной */
.card {
    background: #f1f1f1;
    border-radius: 5px;
    padding-bottom: 10px;
    border: 0 !important;
    transition: box-shadow 0.3s ease;
}

.card:hover {
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3) !important;
}
.ms2_total_count{
    text-align: center;
    color: #6597bf;
    font-weight:700;
    position: relative;
    top: 14px;
    left: 2px;
}

.ms2_total_count:hover{
    color: #D0E4F5;
}

.right-column .total_product span.ms2_total_count, .right-column-bottom .total_product span.ms2_total_count {
    text-align: center;
    color:black;
    font-weight:700;
    position: relative;
    left: 2px;
    top:0;
}

a.cart.header-icons {
    text-decoration: none !important;
    text-align-last: center;
}

.image_card {
    border-radius: 5px;
    width: -webkit-fill-available;
    max-width: -moz-available;
}

.slide_content .image_card {
    border: 1px solid #d8e1e9;
        transition: box-shadow 0.3s ease;
}

.slide_content .image_card:hover {
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3) !important;
}

.title_card {
    text-align: center;
    padding: 15px 0 10px 0;
}

a.open-modal {
    text-decoration: none;
}

.dynamic-minus {
    border-color: unset !important;
    background: #a61d1a;
    color:white;
    border-bottom-left-radius: 5px !important;
    border-top-left-radius: 5px !important;
    border: none;
    font-weight:700;
    padding-left:8px;
    padding-right:8px;
}

.dynamic-plus {
    border-color: unset !important;
    background: #a61d1a;
    color:white;
    border-bottom-right-radius: 5px !important;
    border-top-right-radius: 5px !important;
    border: none;
    font-weight:700;
}

.dynamic-plus:hover, .dynamic-minus:hover {
    background: #D3514D;
}

.input-group input::placeholder {
    color:black;
}

.input-group {
    padding-bottom:10px;
}

input.dynamic-input {
    width: auto;
    min-width: 2.5em;
    max-width: 4em;
    text-align: center;
    flex: 0 0 auto;
    background: white !important;
}

.dynamic-input {
    border: unset;
    font-weight: 700;
}

span.price-size {
    font-weight: 700;
    font-size: 18px;
    padding: 0 0 0 10px;
}

span.summ-size {
    font-size: 18px;
}

input.dynamic-input {
    border-color: unset !important;
    background:#e8c77114 !important;
    color:black !important;
    flex-basis: -moz-available;
}

.input-sm.form-control.dynamic-input, input:focus {
    color:black !important; 
}

.search-input input::placeholder {
    color:black;
}

.order-wrapper input {
    margin-bottom: 17px;
}

.price_card {
}

.btn {
}

.right-column {
    position: absolute;
    right: 20px;
    background: #f1f1f1;
    color:black;
    border-radius: 5px;
    height: min-content;
    padding: 15px;
    margin-right: 10px;
    top: 230px; /* отступ от шапки */
    transition: transform 0.2s ease;
}

.right-column.fixed-top {
    position: fixed;
    top: 10px; /* уходит под шапку */
    z-index: 20;
}

.right-column.fixed-bottom {
    position: absolute;
    bottom: 0;
}

.left-menu {
    z-index: 1;
    padding: 0;
    overflow-y: auto; /* Добавляем прокрутку */
    max-height: calc(100vh - 138px); /* Высота окна минус шапка */
    -ms-overflow-style: none; /* Убираем скроллбар для IE/Edge */
    scrollbar-width: none; /* Убираем скроллбар для Firefox */
}

.modal::-webkit-scrollbar {
    display:block;
}

.left-menu::-webkit-scrollbar { 
    display: none; /* Убираем скроллбар для WebKit */
}
.right-column::-webkit-scrollbar {
    width: 0;
    background: transparent;
}

.right-column-bottom {
    background: #f1f1f1;
    color:black;
    border-radius: 5px;
    height: min-content;
    padding: 15px;
}


.left-menu {
    z-index: 1;
    padding: 0;
    overflow-y: auto; /* Добавляем прокрутку */
    max-height: calc(100vh - 138px); /* Высота окна минус шапка */
    -ms-overflow-style: none; /* Убираем скроллбар для IE/Edge */
    scrollbar-width: none; /* Убираем скроллбар для Firefox */
}

ul.aside-menu-list {
    padding-left: 0 !important;
}

ul.aside-menu-list li:last-child {
    border-bottom:0;
}

#content {
  transition: margin-left 0.3s ease;
  width: 100%;
    height: 100%;
}

body.menu-active #content {
    left: -284px;
    position: relative;
}

body.menu-active .right-column {
    right: 304px;
    transition: opacity 0.3s ease 0.2s;
}


ul.submenu {
  display: none;
  margin-top: 5px;
  margin-left: 0;
  list-style: none;
}

/* Отображаем при раскрытии */
.menu-item.has-children.open > .submenu {
  display: block;
}

a.menu-link.parent-link, a.menu-link {
    color:black;
    font-weight: 300;
    font-size: 18px;
    text-decoration-line: none;
}

ul.submenu {
    padding-left: 0px;
}

li.menu-item.has-children, li.menu-item {
    padding: 8px 10px 10px 5px;
    font-size: 18px;
    cursor: pointer;
    border-bottom: 1px solid #d9d5d5;
}

.left-menu a.active {
    color: gold;
    font-weight: bold;
}

.order-column {
    padding: 15px;
    background: #f1f1f1;
    color:black;
    overflow-y: auto;
    scrollbar-width: none;
    border-radius: 5px;
    height: min-content;
    margin-top: 30px;
}

.title_product_price, .title_product {
    color:black;
}

.product_image img, .product_image source {
    border-radius: 5px;
} 

.product_image {
    width: 25%;
}

.product_and_buttons {
    width: 55%;
}

.product_buy {
    margin-top: 40px;
    padding-left: 10px;
}

.title_product {
    margin-top:20px;
    font-weight: 600;
    padding-left: 10px;
    display:flex;
}

.title_product_price {
   align-self: anchor-center;
   font-weight: 600;
    font-size: 25px;
    justify-content: center;
    width: 80%;
    display:flex;
}

.clean_cart {
    float: right;
    color:black;
    background: unset;
    border: none;
    text-transform: uppercase;
    text-decoration-line: underline;
    font-weight: 600;
    font-size: 16px;
    padding: 10px;
}

.box_clean_cart {
    background: #f1f1f1;
    margin-top: 40px;
}

.alert_empty_cart {
    font-weight: 600;
    font-size: 16px;
    padding: 30px;
    border-radius: 5px;
    color:black;
    text-transform: uppercase;
        justify-self: center;
}

.price_and_remove {
    width: 20%;
    display: inline-flex;
}

button.btn_close.button_none {
    background: none;
    border-inline: none;
    border: none;
    color: unset;
}

.ms-remove {
    width: 20% !important;
    margin-top: 10px;
    margin-right: 10px;
}

.card_product {
    background:#f1f1f1;
    margin-bottom:10px;
    border-radius: 5px;
    display:flex;
}

.total_h1 {
    font-weight: 600;
    font-size: 20px;
    margin-bottom: 10px;
}

.total_product {
    color:black;
    place-self: center;
    font-size: 0.9rem;
    font-weight: 400;
    margin-bottom: 10px;
}

.price_product {
    font-weight: 700;
    font-size: 30px;
    justify-self: center;
    padding-bottom: 25px;
    color:black;
}

.button_total {
    padding: 5px 10px 5px 10px;
    border: 1px #aaceeb solid;
    background: #aaceeb;
    color: black!important;
    text-decoration: none !important;
}

.button_total a {
    text-decoration: none !important;
}

.button_total:hover {
    background: #D0E4F5;
    color: black!imoprtant;
}

form#msOrder {
    color:black;
    margin-top: 0px; !important
}

form.ms2_form {
    display: flex;
    justify-self: auto;
}

form.ms2_form.text-md-right {
    float: right;
}

.close-menu {
    display:none;
}


#search-field::placeholder {
    font-size: 1rem;
}

#slide-menu li.active {
    background:#aaceeb;

}

#slide-menu li.active:hover {
    background: white;
}

#slide-menu li.active a {
        color:black;
}

.hidden_360 {
    margin-top: auto;
}
    
.main-content {
    margin-top: 130px;
    min-height: calc(100vh - 155px) !important;
    
}
    
.card_product {
    width: 59%;
}

body.menu-active #content::after {
    left: -284px;
}


@media (min-width: 425px) and (max-width: 767px) {
    
    .container-fluid > .row.logo {
    margin-left: 10px!important;
}
    
    .icons {
        width: 40%!important;
    }

    .container-fluid > .row {
        margin-left: 10px!important;
    }

    .logo {
        margin-top: 26px;
        margin-bottom: 10px;
        width: 60%!important;
    }
}

@media (min-width: 0px) and (max-width: 424px) {
    .icons {
        width: 50%!important;
    }
    
    .logo {
        margin-top: 26px;
        margin-bottom: 10px;
        width: 50%!important;
    }
    
}

@media (min-width: 0px) and (max-width: 767px) {

  html, body {
    background: #FFFFFF !important;
    margin: 0 !important;
    padding: 0 !important;
  }

.modal.show .modal-dialog {
    padding-bottom: 20px !important;
}

  .body-black {
    width: 100% !important;
    margin: 0 !important;
    border-radius: 0 !important; /* убираем скругления */
    min-height: 100vh !important;
  }
  
  .left-menu-area {
      display:none!important;
  }

  .left-menu,
  nav.left-menu,
  .col-sm-2.left-menu,
  .fixed-menu {
    display: none !important;
  }

  .glavnaya {
    width: 100% !important;
    padding: 0 10px !important;
    margin: 0 auto !important;
  }

  .glavnaya .row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
  }

  .glavnaya .row > div {
    flex: 0 0 calc(50% - 10px);
    margin-bottom: 10px;
  }

  .glavnaya .card {
    background: #f1f1f1;
    border-radius: 8px;
    color:black;
    text-align: center;
    padding: 10px;
  }

  .header-black {
    width: 100% !important;
    margin: 0 !important;
    border-radius: 0 !important;
    border-bottom:1px solid #aaceeb;
  }

  .footer {
    width: 100% !important;
    margin: 0 !important;
    border-radius: 0 !important;
    padding: 20px;
  }

  body::after {
    display: none !important;
  }

  .blue-plug, .black-plug {
    display: none !important;
  }
    
    .container-fluid > .row {
        margin: 0;
        padding: 0!important;
    }
    
    .logo {
        height: 85px;
        margin-top: 25px;
        /* margin-bottom: 15px; */
    }
    
    .modal-dialog {
    padding-bottom: 10px;
    }
    
    .bottom60 {
        height:60px;
    }

    body.menu-active #content::after {
        left: unset!important;
    }
    
    body.menu-active nav#slide-menu {
        top: 0;
    }
}


@media (min-width: 0px) and (max-width: 206px) {
    .cart {
        display:none;
    }
    
    .menu {
        margin-left: 0px!important;
    }

}

@media (min-width: 0px) and (max-width: 367px) {
    .close-menu {
        display: block;
        text-align-last: right;
        padding-right: 15px;
    }
    
    body.menu-active nav#slide-menu {
        width: 100% !important;
    }
}

@media (min-width: 0px) and (max-width: 313px) {
    .telephon {
        display:none;
    }
    
    .cart {
        margin-left: 0px!important;
    }

}

@media (min-width: 0px) and (max-width: 360px) {
    .hidden_360 {
        display:none;
    }
    .visible_360 {
        display:block;
        align-self: center;
    }
    
    .visible_360_price {
        color:black;
        font-size: 1rem;
        text-align: center;
        margin-bottom: 10px;
    }
    
    .visible_360 .input-group {
        padding: 0;
    }
    
    form.ms2_form {
        margin-bottom:0 !important;
    }
}

@media (min-width: 361px) {
    .visible_360 {
        display:none;
    }
}

@media (min-width: 0px) and (max-width: 421px) {
    .telephon {
        margin-left: 0px!important;
    }

}


@media (min-width: 0px) and (max-width: 434px) {
    .justify-content-end {
        justify-content: start;
    }
    
    .icons {
        width: 65%;
    }
    
}


@media (min-width: 0px) and (max-width: 1200px) {
    .product-detail-photo {
        width:50%;
    }
    
    .product-detail-about {
        width:50%;
        display: inline-table;
    }

}

@media (min-width: 0px) and (max-width: 859px) {

    .product-detail-photo {
        width:100%;
    }
    
    .product-detail-about {
        width:100%;
        display: inline-table;
    }
    
    .product-photo {
        margin: 0 auto;
        z-index: 1;
        display: block;
        position: relative !important;
        float: none;
        margin-bottom: 30px;
    }

}

@media (min-width: 435px) and (max-width: 457px) {
    .justify-content-end {
        justify-content: start;
    }
    
    .icons {
        width: 63%;
    }
}

@media (min-width: 434px) and (max-width: 457px) {
    .justify-content-end {
        justify-content: start;
    }
    
    .icons {
        width: 63%;
    }
    
    .find {
        margin-left: 0px !important;
    }
}

@media (min-width: 434px) and (max-width: 457px) {
    .justify-content-end {
        justify-content: start;
    }
    
    .icons {
        width: 63%;
    }
    
    .find {
        margin-left: 0px !important;
    }
}

@media (min-width: 458px) and (max-width: 832px) {
    .justify-content-end {
        justify-content: start;
    }
    
    .icons {
        width: 60%;
    }
    
}

@media (min-width: 768px) and (max-width: 991px) {
	.offset-menu {
		margin-left: 25%;
		flex: 0 0 auto;
        width: 75%;
	}
    
	.offset-right-column-menu {
	    margin-left: 25%;
		flex: 0 0 auto;
        width: 75%;
	}	

	.right-column {
        display:none;
    }

	.left-menu {
	    flex: 0 0 auto;
        width: 25%;
	}
	
	.header_line_mobile {
        display:none;
    }
    
    .search-input {
        left:35% !important;
        max-width: 500px !important;
    }
    
    
    .order-hidden-2 {
        display:none;
    }
    
    form.ms2_form {
        margin-bottom:15px;
    }
    
    .add_buttons_title {
        display:none !important;
    }
    
    .card_product, .product-picture, .title_product, .price_and_remove, .title_product_price {
        display:block;
    }
    
    .card_product {
        width:100%;
    }
    
    .product_image {
        width: 30%;
        float:left;
    }
    
    .product_and_buttons {
        width: 70% !important;
        float: right;
    }
    
    .ms-remove, .price_and_remove {
        width: 70% !important;
        justify-self: right;
        display:block;
    }
    
    .product_buy {
        margin-top: 10px;
    }
    
    .title_product_price {
        width: 100%;
        text-align: center;
    }
    
    .product_buy{
        width: 100%;
        justify-content: center;
    }
    
    .title_product {
        top: -20px;
        position: relative;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
	.offset-menu {
		margin-left: 20%;
		flex: 0 0 auto;
        width: 80%;
	}
	
	.offset-right-column-menu {
	    margin-left: 20%;
		margin-right: 20%;
		flex: 0 0 auto;
        width: 60%;
      
	}	

	.right-column {
        width: calc(20% - 20px);
    }
	
	.left-menu {
	    flex: 0 0 auto;
        width: 20%;
	}
	
	.header_line_mobile {
        display:none;
    }
    
    .search-input {
        left:40%!important;
        max-width: 500px !important;
    }
    
    .right-column-bottom {
        display:none;
    }
    
    .order-hidden-2 {
        display:none;
    }
    
    .add_buttons_price {
        display:none;
    }
    
    .card_product {
    width: 76%;
}
}

@media (min-width: 1200px) {
    
    .order-hidden-2{
        display:none;
    }
    
	.offset-menu {
		margin-left: 16.66666667%;
		flex: 0 0 auto;
        width: 83.33333333%;
	}
	
	.offset-right-column-menu {
	    margin-left: 16.66666667%;
	    margin-right: 33.33333333%;
		flex: 0 0 auto;
        width: 50%;

	}	

	.right-column {
        width: calc(33.33333333% - 20px);
    }
	
	.left-menu {
	    flex: 0 0 auto;
        width: 16.66666667%;
	}
	
	.header_line_mobile {
        display:none;
    }
    .right-column-bottom {
        display:none;
    }
    
    .order-hidden-2 {
        display:none;
    }
    
    .add_buttons_price {
        display:none;
    }
}

/* .anketa, .dostavka, .alert_empty_cart, .glavnaya, .korzina, .content {
    margin-top: 230px;
} */

.anketa {
    margin-left:5px;
}

/* Убираем стандартное перекрытие Bootstrap */
.offcanvas-backdrop {
  display: none !important;
}

/* Делаем offcanvas «приклеенным» справа */
.offcanvas.offcanvas-end {
  transform: translateX(100%);
  transition: transform 0.3s ease;
  position: fixed;
  top: 0;
  right: 0;
  height: 100%;
  visibility: visible !important; /* Чтобы всегда было видно при смещении */
}

/* Когда меню открыто */
.offcanvas.show {
  transform: translateX(0);
}

/* Наш сдвиг страницы */
body.menu-open {
  transform: translateX(-300px); /* под ширину меню */
  transition: transform 0.3s ease;
  overflow-x: hidden;
}

/* Убираем лишние паддинги, которые добавляет Bootstrap */
body.menu-open {
  padding-right: 0 !important;
}


/*Меню*/

    
@media (max-width: 575px) {   
    
    
    body {
        background:#FFFFFF;
    }
    

    
    body.menu-active #content {
        left: -304px !important;
    }

    .inf-block {
        padding: 0 10px!important;
        margin-top: 20px!important;
        margin-bottom: 10px;
    }
    
    nav#slide-menu {
        width: 304px!important;
    }
}


@media (min-width:0) and (max-width: 768px) {
  .main-content {
    min-height: 100vh !important;
    }
}

@media (min-width: 768px) {
  #bottomSheet {
    display: none !important;
  }
}

  header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: #333;
    color:black;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 4;
  }

#bottomSheet {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: white;
  border-radius: 12px 12px 0 0;
  transform: translateY(80%); /* старт: почти скрыт */
  transition: transform 0.25s ease;
  z-index: 9999;
}

#bottomSheet.hidden {
  transform: translateY(100%); /* уходит вниз */
  opacity: 0; /* медленно исчезает */
}

.bottom-sheet .nav-link {
    margin-top:0px !important;  
}

.bottom-sheet ul.nav.flex-column {
    margin-top: 0;
}

.bottom-sheet a.nav-link{
    padding: 10px;
}

.bottom-sheet h3{
    text-transform: uppercase;
    font-size: 1.1rem;
}

.bottom-sheet li.menu-item.has-children, .bottom-sheet li.menu-item {
    list-style-type: none;
}

  .drag-zone {
    padding: 10px 0;
    text-align: center;
    cursor: grab;
    touch-action: none;
    background: #f1f1f1;
  }

  .handle {
    width: 50px;
    height: 5px;
    background: #494747;
    border-radius: 5px;
    margin: 0 auto 8px auto;
  }

  .sheet-content {
    overflow-y: auto;
    padding: 15px;
    flex: 1;
  }
  
  .drag-zone h2 {
    justify-self: center;
}
  
/* контейнер input */
.search-input {
  position: absolute;
  top: 45px;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  max-width: 600px;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease-in-out;
  display: flex;
  justify-content: center;
  align-items: center;
}

.header-black.search-active .search-input {
  opacity: 1;
  pointer-events: all;
}

.search-input input {
    width: 100%;
    font-size: 18px;
    padding: 10px;
    border: none;
    background: transparent;
    /* border-bottom: 2px solid #fff; */
    color:black;
    outline: none;
    text-align: center;
    /* border-radius: 5px; */
    border-bottom: 1px solid #aaceeb;
}

.search-input input::placeholder {
  color: #aaa;
}

.menu-active .header-black {
    margin-right: 304px;
}

/* крестик */
.icon-close {
  margin-left: 10px;
  font-size: 28px;
  color: #fff;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
  position:absolute;
}

.header-black.search-active #close-icons {
  opacity: 1;
}

/* чтобы иконка поиска исчезала при активном состоянии */
.header-black.search-active .search-icon {
  opacity: 0;
  pointer-events: none;
}

.search-container {
  position: relative;
  width: 40px;   /* размер области иконки */
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  float:right;
}

.header-block {
    height:115px;
}

body.menu-active .blue-plug {
    left: -284px;
}

h2 {
    font-size: 24px;
    padding: 30px 10px 0;
}

body.menu-active .blue-plug {
    right: -20px;
}


#search-field,
#close-icons {
  display: none;
}

/* === Меню правое боковое === */
nav#slide-menu {
    position: fixed;
    top: 20px;
    right: calc(100% + 284px);
    width: 284px;
    height: 100%;
    background: #FFFFFF;
    z-index: 1000;
    transition: left 0.3s ease;
    overflow-y: auto;
    border-bottom-left-radius: 5px;
    border-top-left-radius: 5px;
}

/* Список в меню */
nav#slide-menu ul {
    list-style: none;
    opacity: 0;
    transition: opacity 0.3s ease 0.2s;
    padding: 0;
}

nav#slide-menu ul li {
    padding: 10px;
    font-size: 18px;
    cursor: pointer;
    border-bottom: 1px solid #d9d5d5;
}

.mp-level a:hover{
    color: #aaceeb;
}

.mp-level a {
    color:black;
    font-weight: 300;
    font-size: 18px;
    text-decoration-line: none;
}

nav#slide-menu ul li:hover {
    background: #f1f1f1;
    color: #E8C771;
}

/* Состояние при активном меню */
body.menu-active nav#slide-menu {
  right: 0;
}

body.menu-active nav#slide-menu ul {
  opacity: 1;
}

/* Кнопка-триггер */
#menu-trigger {
  position: fixed;
  top: 15px;
  left: 15px;
  z-index: 1100;
  background: #323232;
  color: #fff;
  border: none;
  padding: 10px 14px;
  font-size: 18px;
  cursor: pointer;
  border-radius: 4px;
  transition: background 0.3s ease;
}

#menu-trigger:hover {
  background: #444;
}


body.menu-active .header-black{
    position: fixed;
}

body.menu-active {
  overflow: hidden; /* запрещаем прокрутку */
}


.inf-block {
    font-size: 18px;
    color:black;
    padding: 10px;
    text-align: center;
    text-transform: uppercase;
    margin-top: 35px;
}

.mp-level a {
    color:black;
    font-weight: 300;
    font-size: 16px;
}


#content::after {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0); /* изначально прозрачный */
  pointer-events: none;       /* изначально не ловит клики */
  transition: background 0.3s ease;
  z-index: 999; /* выше контента */
    padding:20px;
}

body.menu-active #content::after {
    background: rgba(0, 0, 0, 0.4);
    pointer-events: auto;
    left: -304px;
}

@media (min-width: 458px) and (max-width: 832px) {
    .justify-content-end {
        justify-content: start;
    }
    
    .icons {
        width: 60%;
    }
    
}

@media (min-width: 0px) and (max-width: 344px) {
    
    .cart-link svg {
      pointer-events: auto;
      cursor: pointer;
    }
    
    .body-black {
        background: #FFFFFF;
        width: 100%;
        height: 100%;
        min-block-size: max-content;
        margin: 0;
    }
    
    .right-column {
        display:none;
    }
    
    .dostavka {
        margin-top: 20px;
    }
    
    form.ms2_form {
        margin-bottom:15px;
    }
    
    .offset-menu h2 {
        text-align-last: center;
    }
    
    .footer {
        height:120px;
    }
    
    .add_buttons_title {
        display:none !important;
    }
    
    .card_product, .product-picture, .title_product, .price_and_remove {
        display:block;
    }
    
    .card_product {
        width:100%;
    }
    
    .product_image {
        width: 30%;
        float:left;
    }
    
    .product_and_buttons {
        width: 70% !important;
        float: right;
    }
    
    .ms-remove, .price_and_remove {
        width: 70% !important;
        justify-self: right;
        display:block;
    }
    
    .product_buy {
        margin-top: 10px;
    }
    
    .title_product_price {
        width: 100%;
        text-align: center;
    }
    
    .product_buy{
        width: 100%;
        justify-content: center;
    }
    
    .title_product {
        top: -20px;
        position: relative;
    }
    
    .telephon {
        display:none;
    }
    
    .find {
        margin-right: 125px;
    }
    
    .search-active .cart, .search-active .menu {
        display:none;
    }
    
    #close-icons {
        margin-right: 10px !important;
    }
    
    .search-input {
        left:40% !important;
    }
    
    .dostavka {
        margin-top:20px !important;
    }
}

@media (min-width: 345px) and (max-width: 575px) {
    .order-hidden-1{
        display:none;
    }
    
    .logo {
        background-image: url(../images/logo_white.svg);
        background-repeat: no-repeat;
        background-position: left;
        height: 65px;
        margin-top: 30px;
        margin-bottom: 15px;
    }
	.offset-menu {
		margin-left: 0%;
		flex: 0 0 auto;
        width: 100%;
	}
	
	.left-menu {
	    display:none;
	}
	
    .logo {
        margin-top: 25px;
        width: 50%;
        left: 10px;
        position: fixed;
    }
    
    .header_line, .blue-plug {
        display:none;
    }
    
    .header_line_mobile {
        border-bottom:1px solid #aaceeb;
    }
    
    .header-icons {
        margin-left: 20px;
    }
    
    .header-black {

    }
    
    .cart-link svg {
      pointer-events: auto;
      cursor: pointer;
    }
    
    .body-black {
        background: #FFFFFF;
        width: 100%;
        height: 100%;
        min-block-size: max-content;
        margin: 0;
    }
    
    .right-column {
        display:none;
    }
    
    .dostavka {
        margin-top:20px !important;
    }
    
    form.ms2_form {
        margin-bottom:15px;
    }
    
    .offset-menu h2 {
        text-align-last: center;
    }
    
    .footer {
        height:120px;
    }
    
    .add_buttons_title {
        display:none !important;
    }
    
    .card_product, .product-picture, .title_product, .price_and_remove {
        display:block;
    }
    
    .card_product {
        width:100%;
    }
    
    .product_image {
        width: 30%;
        float:left;
    }
    
    .product_and_buttons {
        width: 70% !important;
        float: right;
    }
    
    .ms-remove, .price_and_remove {
        width: 70% !important;
        justify-self: right;
        display:block;
    }
    
    .product_buy {
        margin-top: 10px;
    }
    
    .title_product_price {
        width: 100%;
        text-align: center;
    }
    
    .product_buy{
        width: 100%;
        justify-content: center;
    }
    
    .title_product {
        top: -20px;
        position: relative;
    }
    
    .telephon {
        display:none;
    }
    
    .find {
        margin-right: 125px;
    }
    
    .search-active .cart, .search-active .menu {
        display:none;
    }
    
    #close-icons {
        margin-right: 10px !important;
    }
    
    .search-input {
        left:40% !important;
    }
}

@media (min-width: 576px) and (max-width: 767px) {
    
    .dostavka {
        margin-top:20px !important;
    }
    
/*     h1{
    margin-left: 75px;
} */
        
    .order-hidden-1{
        display:none;
    }
    
	.offset-menu {
		margin-left: 33.33333333%;
		flex: 0 0 auto;
        width: 66.66666667%;
	}
	
	.offset-right-column-menu {
	    margin-left: 33.33333333%;
		flex: 0 0 auto;
        width: 66.66666667%;
      
	}	
	
	.right-column {
        display:none;
    }
    
	.left-menu {
	    flex: 0 0 auto;
        width: 33.33333333%;
	}
	
    .right-column {
        position: fixed;
        top: 138px; 
        width: 66.66666667%;
        height: calc(100vh - 138px); /* высота окна минус шапка */
        background: #FFFFFF;
        color: #E8C771;
        overflow-y: auto;
        scrollbar-width: none;
        -ms-overflow-style: none;
        z-index: 3;
    }
    
    .right-column::-webkit-scrollbar {
        display:none;
    }

	 .header_line_mobile {
        display:none;
    }
    
    .search-input {
        left: 30% !important;
        max-width: 300px !important;
    }
    
    .dostavka {
        margin-top: 20px;
    }
    
    form.ms2_form {
        margin-bottom:15px;
    }
    
    .add_buttons_title {
        display:none !important;
    }
    
    .card_product, .product-picture, .title_product, .price_and_remove {
        display:block;
    }
    
    .card_product {
        width:100%;
    }
    
    .product_image {
        width: 30%;
        float:left;
    }
    
    .product_and_buttons {
        width: 70% !important;
        float: right;
    }
    
    .ms-remove, .price_and_remove {
        width: 70% !important;
        justify-self: right;
        display:block;
    }
    
    .product_buy {
        margin-top: 10px;
    }
    
    .title_product_price {
        width: 100%;
        text-align: center;
    }
    
    .product_buy{
        width: 100%;
        justify-content: center;
    }
    
    .title_product {
        top: -20px;
        position: relative;
    }
}

