body {
    margin: 0;
    padding: 0;
    background-color: orange;
}

body.noscroll {
  overflow: hidden;
}

.container {
    max-width: 767px;
    padding: 0 1em;
    display: block;
    margin: 0 auto;
}

@font-face {
    font-family: 'Montserrat-Regular';
    src: url('/static/fonts/Montserrat-Regular.woff2');
    font-weight: 400;
}

@font-face {
    font-family: 'Montserrat-Bold';
    src: url('/static/fonts/Montserrat-Bold.woff2');
    font-weight: 800;
}

@font-face {
    font-family: 'Montserrat-Light';
    src: url('/static/fonts/Montserrat-Light.woff2');
    font-weight: 200;
}

.preloader {
    position: fixed;
    left: 0; right: 0;
    top: 0; bottom: 0;
    background: #e0e0e09e;
    z-index: 1001;
}

.preloader__row {
    position: relative;
    top: 50%; left: 50%;
    width: 0; height: 0;
    text-align: center;
    animation: preloader-rotate 2s infinite linear;
}

.preloader__item {
    position: absolute;
    display: inline-block;
    top: 0; bottom: 0;
    width: 40px; height: 40px;
    background-color: #337ab7;
    border-radius: 100%;
    animation: preloader-bounce 2s infinite ease-in-out;
}

.preloader__item:last-child {
    top: auto; bottom: 0;
    animation-delay: -1s;
}

@keyframes preloader-rotate {
  100% {
    transform: rotate(360deg);
  }
}

@keyframes preloader-bounce {

  0%,
  100% {
    transform: scale(0);
  }

  50% {
    transform: scale(1);
  }
}

.loaded_hiding .preloader {
    transition: 0.3s opacity;
    opacity: 0;
}

.loaded .preloader {
    display: none;
}

/* Стили для блока "бутерброд" */
.topnav_background {
    background: orange;
}

.topnav {
    overflow: hidden;
    position: relative;
    margin: 0 auto; /* Центрируем блок по горизонтали */
    background: orange;
    max-width: 400px; /* Устанавливаем максимальную ширину */
}

/* Hide the links inside the navigation menu (except for logo/home) */
.topnav #myLinks {
    display: none;
    font-family: 'Montserrat-Bold', sans-serif;
}

/* Style navigation menu links */
.topnav a {
    color: #333333;
    padding: 14px 16px;
    text-decoration: none;
    font-size: 17px;
    display: block;
    background: orange;
    position: relative;
    max-width: 100%; /* Устанавливаем максимальную ширину для ссылок */
}

/* Style the hamburger menu */
.topnav a.icon {
    display: block;
    position: absolute;
    right: 0;
    top: 0;
    width: 40px;
    height: 40px;
    max-width: none; /* Сбрасываем максимальную ширину для иконки */
}

/* Add a grey background color on mouse-over */
.topnav a:hover {
    color: white;
}

.main_block {
    max-width: 767px;
    margin: 0 auto; /* Центрируем блок по горизонтали */
}

.page_title {
    font-family: 'Montserrat-Bold', sans-serif;
    font-size: 16px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 60px 20px;
}

.search_form{
    font-family: 'Montserrat-Regular', sans-serif;
    font-size: 23px;
    text-align: center;
	justify-content: center;
    align-items: center;
}

.user_search_form {
    display: flex;
    flex-direction: column;
    font-family: 'Montserrat-Regular', sans-serif;
    font-size: 23px;
    text-align: center;
    justify-content: center;
    align-items: center;
    background-color: white;
    border-radius: 20px;
    margin: 20px auto; /* Отступы сверху и снизу, по бокам авто для центрирования */
    width: 90%; /* Форма будет занимать 90% от ширины экрана */
    max-width: 600px; /* Но не будет шире 600px */
    box-sizing: border-box; /* Учитываем padding и border в ширине */
    padding: 20px; /* Отступы внутри формы */
}


.title_block {
    font-family: 'Montserrat-Regular', sans-serif;
    font-size: 16px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

}

.find_title {
    font-family: 'Montserrat-Bold', sans-serif;
    font-size: 60px;
    text-align: center;
	justify-content: center;
    align-items: center;
}

.find_title {
    font-family: 'Montserrat-Bold', sans-serif;
    font-size: 60px;
    text-align: center;
	justify-content: center;
    align-items: center;
}

.find_description{
    font-family: 'Montserrat-Regular', sans-serif;
    font-size: 23px;
    text-align: center;
	justify-content: center;
    align-items: center;
}

form {
    font-family: 'Montserrat-Regular', sans-serif;
    max-width: 600px;
    margin: 26px auto;
    padding: 20px;
    background-color: #fff;
}

label {
    font-family: 'Montserrat-Bold', sans-serif;
    display: block;
    font-weight: bold;
    font-size: 16px;
    margin: 20px 0 4px 0;
    color: #bf861b;
}

input {
    font-family: 'Montserrat-Regular', sans-serif;
    width: 100%;
    padding: 16px 10px 16px 24px;
    margin: 6px auto;
    border: 1px solid #ccc;
    border-radius: 100px;
    display: inline-block;
    box-sizing: border-box;
    /*font-size: 16px;*/
    font-size: clamp(14px, 2vw, 20px);
    text-align: center;
}

.search-btn {
    font-family: 'Montserrat-Bold', sans-serif;
    border: 0;
    border-radius: 100px;
    padding: 16px 20px;
    margin: 20px 0 0 0;
    background: orange;
    cursor: pointer;
    font-size: 16px;
    width: 70%;
}

.about_find {
    background-color: orange;
}

.about_find_title {
    font-family: 'Montserrat-Bold', sans-serif;
    font-size: 40px;
    text-align: center;
	justify-content: center;
    align-items: center;
    background-color: orange;
    padding: 30px 0 0 0;
}

.about_find_description {
    display: block;
    font-family: 'Montserrat-Regular', sans-serif;
    font-size: 20px;
    text-align: center;
    background-color: orange;
    margin: 20px;
}






























.section_gallery {
	font-family: 'Montserrat-Regular', sans-serif;
	font-size: 12px;
	text-align: center;
    background: orange;
    align-items: center;
    justify-content: center;
    max-width: 100%;
}

/* Стили для div.purchase */
.purchase {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 30px 0;
    background: white;
}

.purchase_footer {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 30px 0;
    background: orange;
}

.purchase_button {
    font-family: 'Montserrat-Bold', sans-serif;
    font-size: 16px;
    text-align: center;
    text-decoration: none;
    user-select: none;
    border-radius: 6px;
    border: none;
    color: white;
    background: #333333;
    outline: none;
    cursor: pointer;
    width: 200px;
    height: 60px;
    margin: 20px 0;
}

.purchase_text {
    font-family: 'Montserrat-Regular', sans-serif;
    font-size: 20px;
    text-align: center;
    color: #333333;
    margin: 0;
    padding: 30px 0;
}

/* Стили для текста перед футером */
.footer_form_text {
    color: #333333;
    font-family: 'Montserrat-Regular', sans-serif;
    font-size: 20px;
    text-align: center;
    margin: 0;
    padding: 10px;
}

/* Стили для кнопки футера */
.footer_form_button {
    font-family: 'Montserrat-Bold', sans-serif;
    font-size: 16px;
    border-radius: 6px;
    border: none;
    color: white;
    text-decoration: none;
    user-select: none;
    background: #333333;
    outline: none;
    cursor: pointer;
    width: 200px;
    height: 60px;
    text-align: center;
    margin: 20px 0;
}

.footer_form_button:hover {
    color: #333333;
    background: white;
}
/* Стили для div.purchase */

/* START FOOTER */
/* Стили для текста внутри футера */
.footer_social {
    background-color: orange;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 60px;
}

.footer_main {
    background-color: orange;
    display: flex;
    justify-content: center;
    height: 40px;
    font-weight: bold;
    font-size: 14px;
}

.footer_text {
    font-family: 'Montserrat-Bold', sans-serif;
    font-size: 16px;
    color: #333333;
}

/* Стили для иконок */
.social_icons {
    display: flex;
    gap: 14px;
    margin-right: 20px;
    margin-left: 20px;
}

.social_icons .icon {
    text-decoration: none;
}

.social_icons .icon img {
    width: 38px;
    height: 38px;
}
/* END FOOTER */


/* ЯЗЫКИ */
/* Стили для кнопок смены языка */
#myLinks button {
    font-family: 'Montserrat-Bold', sans-serif;
    font-size: 20px;
    background: transparent;
    color: #333333;
    border: none;
    padding: 10px 0 0 15px;
    cursor: pointer;
    margin-bottom: 10px;
    vertical-align: middle;
}



/* Стили для контейнера с пунктами меню и кнопками */
#myLinks {
    display: flex;
    align-items: center;
    padding-left: 0;
}

/* Стили для карточки товара */
/* Стили для контейнера карточек товара */
.product-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.product-card {
    width: 300px;
    background-color: #f5f5f5;
    margin: 10px;
    padding: 20px;
    border-radius: 12px;
}

.product-image {
    flex: 1;
    overflow: hidden;
}

.product-info {
    flex: 2;
    padding: 0 0;
}

.product-title {
    font-family: 'Montserrat-Bold', sans-serif;
    font-size: 18px;
    font-weight: bold;
    margin: 10px 0 0 0;
}

.product_description {
    font-family: 'Montserrat-Regular', sans-serif;
    font-size: 14px;
    margin: 10px 0;
}

.product-price-button {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.product-price {
    font-family: 'Montserrat-Bold', sans-serif;
    font-size: 16px;
    color: #333;
    padding: 0 0 10px 0;
}

.get_price_button {
    font-family: 'Montserrat-Bold', sans-serif;
    background-color: orange;
    color: #333333;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    width: 120px;
    height: 40px;
}

.get_price_button:hover {
    background-color: #333333;
    color: orange;
}

.product-image img {
    max-width: 100%;
    height: 100%;
    border-radius: 6px;
}

/* Стили для модального окна */
.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
}

.modal-content {
    background-color: white;
    margin: 15% auto;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    max-width: 300px;
}

.close {
    position: absolute;
    right: 10px;
    top: 10px;
    cursor: pointer;
}

/* Стили для формы заказа */
.order-form {
    display: flex;
    flex-direction: column;
}

.order-input {
    font-family: 'Montserrat-Regular', sans-serif;
    font-size: 14px;
    margin-bottom: 14px;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 5px;
    height: 40px;
}

/* Стили для кнопок в одной линии */
.button-container {
    display: flex;
    justify-content: space-between;
    margin: 10px 0 0 0;
}

.order-button {
    font-family: 'Montserrat-Bold', sans-serif;
    font-size: 15px;
    background-color: orange;
    color: #333333;
    padding: 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    width: 140px;
    height: 50px;
}

.order-button:hover {
    background-color: #af8642;
}

.order-cancel-button {
    font-family: 'Montserrat-Bold', sans-serif;
    font-size: 15px;
    background-color: #e7e7e7;
    color: #333333;
    padding: 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    width: 140px;
    height: 50px;
}

.order-cancel-button:hover {
    background-color: #989898;
}

.popup {
    font-family: 'Montserrat-Bold', sans-serif;
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.popup-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 50%;
    text-align: center;
    position: relative;
}

.close-popup {
    position: absolute;
    top: 0;
    right: 0;
    padding: 10px;
    cursor: pointer;
}

/* Стили для блока с кнопкой и количеством */
.product-price-button {
    display: flex;
    align-items: center;
}

/* Стили для кнопок */
.product-price-button button {
    font-family: 'Montserrat-Bold', sans-serif;
    background-color: #333333;
    color: orange;
    border: none;
    padding: 10px 15px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    cursor: pointer;
    margin-right: 10px;
    border-radius: 6px;
}

/* Стили для отображения количества товара */
.product-quantity {
    font-family: 'Montserrat-Bold', sans-serif;
    font-size: 16px;
    margin-right: 10px;
}

label{
    font-family: 'Montserrat-Bold', sans-serif;
}


.slider-container {
    position: relative;
    overflow: hidden;
}

.image-slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.image-slider img {
    width: 100%;
    height: auto;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5em;
    background-color: white;
    border: none;
    cursor: pointer;
    z-index: 1;
}

.prev-btn {
    background: none;
    color: orange;
    opacity: 50%;
    left: 10px;
}

.next-btn {
    background: none;
    color: orange;
    opacity: 50%;
    right: 10px;
}

.nfc-color {
    color: #ec9900;
  }



.topnav {
  position: relative;
  margin: 0 auto;
  max-width: 400px;
  overflow: hidden;
}

.topnav a.active {
    display: inline-block;
    color: white;
}

.languages {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    gap: 0;
    z-index: 10;
}

.languages button {
    font-family: 'Montserrat-Bold', sans-serif;
    font-size: 14px;
    border: none;
    background: transparent;
    color: #fff2c8;
    padding: 10px 10px;
    border-radius: 0;
    cursor: pointer;
    transition: background 0.3s ease;
}

.languages button.active {
    border-radius: 0;
    color: #333333;
    background: #f8cc7f;
}

.topnav a.icon {
    position: absolute;
    right: 0;
    top: 1px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.topnav a.icon svg {
    display: block;
    vertical-align: middle;
}

.topnav #myLinks {
    display: none;
    font-family: 'Montserrat-Bold', sans-serif;
}