body {
font-weight: 400;
color: #000;
padding: 0;
margin: 0;
font-size: 14px;
line-height: 20px;
width: 100%;
}

h1, h2, h3, h4, h5, h6 {
font-family: 'Montserrat';
line-height: 1.2em;
margin: 0;
}

h1 {
font-size: 22px;
}
h2 {
font-size: 22px;
}
h3 {
font-size: 20px;
}
h4 {
font-size: 18px;
}
h5 {
font-size: 18px;
}
h6 {
font-size: 18px;
}
img {
max-width: 100%;
max-height: 100%;
}
a {
color: #23a1d1;
white-space: normal;
}
a:hover {
text-decoration: none;
}
.flexbar {
max-width: 90%;
display: flex;
align-items: center;
flex-flow: row wrap;
justify-content: space-between;
position: relative;
}
.container {
position: relative;
margin: 0 auto;
}
#content {
min-height: 85vh;
padding: 24px 15px 0 15px;
}
header {
background-color: #2c2e39;
color: #fff;
position: sticky;
width: 100%;
top: 0;
z-index: 999;
}
footer {
  margin: 20px 0 0 0;
}
#logo {
margin: 0 16px 0 0;
height: 60px;
padding: 5px;
width: 60px;
}
.telephone {
color: #fff;
text-decoration: none;
}
.sitename {
font-size: 16px;
color: #ffda6a;
font-weight: 600;
}
.infosite {
text-align: center;
}

.infositewrap {
align-items: center;
max-width: 440px;
display: flex;
margin: 0 50px 0 0;
}
#cart {
position: absolute;
right: 30px;
top: 0;
bottom: 0;
height: 34px;
width: 48px;
margin: auto;
}
#search input {
width: 300px;
font-size: 16px;
height: 26px;
}
#search {
align-content: center;
align-items: center;
display: flex;
position: relative;
width: 340px;
}
.search-button {
position: absolute;
right: 4px;
top: 50%;
transform: translateY(-50%);
background: none;
border: none;
padding: 0px;
margin: 0;
cursor: pointer;
width: 24px;
height: 24px;
color: #777;
transition: color 0.2s ease, transform 0.2s ease;
}

/* Cart */
.cart-btn {
position: relative;
display: inline-flex;
align-items: center;
justify-content: center;
background: none;
border: none;
padding: 8px;
cursor: pointer;
color: #eee;
transition: color 0.2s ease;
}

.cart-icon {
width: 24px;
height: 24px;
}

.cart-badge {
position: absolute;
top: -2px;
right: -2px;
background-color: #ff3b30;
color: #ffffff;
font-size: 11px;
font-family: sans-serif;
font-weight: bold;
line-height: 1;
min-width: 16px;
height: 16px;
padding: 0 4px;
border-radius: 10px;
display: flex;
align-items: center;
justify-content: center;
box-sizing: border-box;
}

.contacts {
margin: 15px 0;
}
.contact-link {
display: inline-flex;
align-items: center;
gap: 8px;
text-decoration: none;
color: #333;
margin: 0 15px 0 0;
}

/* ########## Верхнее меню ########## */

.nav-list {
list-style: none;
margin: 0;
padding: 0;
display: flex;
gap: 20px;
}

.nav-list > li {
position: relative;
}

.nav-link {
text-decoration: none;
color: #ffcc00;
font-size: 16px;
font-weight: 500;
transition: color 0.3s;
}

/* Желтая стрелочка */
.dropdown-toggle::after {
content: "";
display: inline-block;
margin-left: 5px;
vertical-align: middle;
border-left: 4px solid transparent;
border-right: 4px solid transparent;
border-top: 4px solid #ffcc00;
transition: transform 0.3s; /* Плавный поворот стрелочки */
}

/* Класс для переворота стрелочки вверх */
.dropdown.is-open .dropdown-toggle::after {
transform: rotate(180deg);
}

/* Выпадающее меню по умолчанию */
.dropdown-menu {
display: none; /* Важно для работы jQuery slideToggle */
list-style: none;
padding: 10px 0;
margin: 0;
background-color: #ffffff;
}

.dropdown-menu li a {
display: block;
padding: 10px 20px;
text-decoration: none;
color: #333;
font-size: 15px;
transition: background-color 0.2s, color 0.2s;
}

.dropdown-menu li a:hover {
background-color: #ccc;
font-weight: bold;
}

/* Логика показа меню при наведении (Hover) */
.dropdown:hover .dropdown-menu {
opacity: 1;
visibility: visible;
transform: translateY(0);
}

.dropdown:hover .dropdown-toggle::after {
border-top-color: #ffcc00;
}

span.nav-link {
cursor: pointer;
display: inline-block;
}

/* --- СТИЛИ ДЛЯ КНОПКИ-ГАМБУРГЕРА --- */
/* Контейнер для SVG внутри кнопки */
.menu-toggle {
display: none;
align-items: center;
justify-content: center;
width: 40px;
height: 40px;
background: transparent;
border: none;
cursor: pointer;
padding: 0;
color: #fff;
z-index: 101;
}

.hamburger-svg {
width: 30px;
height: 30px;
}

.hamburger-svg line {
stroke: currentColor;
stroke-width: 2.5;
stroke-linecap: round;
transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.2s ease;

/* Важно: теперь точка трансформации общая для всех — центр SVG холста */
transform-origin: 12px 12px; 
}

/* --- ИСХОДНОЕ СОСТОЯНИЕ (ГАМБУРГЕР) --- */
/* Разводим линии из центра по своим местам */
.line-top {
transform: translateY(-6px);
}
.line-center {
transform: translateY(0);
}
.line-bottom {
transform: translateY(6px);
}

/* --- СОСТОЯНИЕ АКТИВАЦИИ (КРЕСТИК) --- */
/* Убираем вертикальный сдвиг (translateY(0)) и вращаем вокруг точного центра (12, 12) */
.menu-toggle.is-active .line-top {
transform: translateY(0) rotate(45deg);
}

.menu-toggle.is-active .line-center {
opacity: 0;
transform: translateY(0) scaleX(0); /* Дополнительно сжимаем центральную линию */
}

.menu-toggle.is-active .line-bottom {
transform: translateY(0) rotate(-45deg);
}
/* ########## Верхнее меню ########## */

/*####### Хлебные крошки ########*/
/* Контейнер для крошек */
.breadcrumbs {
font-family: system-ui, -apple-system, sans-serif;
font-size: 14px;
line-height: 1.5;
padding: 15px;
}

.breadcrumbs__list {
display: flex;
flex-flow: row wrap;
list-style: none;
padding: 0;
margin: 0;
}

/* Элемент списка */
.breadcrumbs__item {
display: flex;
align-items: center;
}

/* Добавление разделителя после каждого элемента, кроме последнего */
.breadcrumbs__item:not(:last-child)::after {
content: "/";
margin: 0 10px;
color: #a0aec0;
font-weight: 300;
}

/* Ссылки */
.breadcrumbs__link {
color: #4a5568;
text-decoration: none;
transition: color 0.2s ease;
}

/* Ховер-эффект для ссылок */
.breadcrumbs__link:hover {
color: #3182ce;
text-decoration: underline;
}

/* Активная (текущая) страница */
.breadcrumbs__current {
color: #1a202c;
font-weight: 500;
}
/*####### Хлебные крошки ########*/

.paginationwrap {
background-color: #eee;
padding: 4px 10px;
align-items: center;
display: flex;
position: relative;
flex-flow: row wrap;
justify-content: space-between;
width: 100%;
}
.pagination {
list-style: none;
margin: 0;
padding: 0;
display: flex;
}
.pagination > li > a, .pagination > li > span {
display: block;
padding: 6px 12px;
margin-left: -1px;
line-height: 1.42857143;
color: #337ab7;
text-decoration: none;
background-color: #fff;
border: 1px solid #ddd;
font-weight: bold;
}

.flexbox {
margin: 40px 0;
display: flex;
flex-flow: row wrap;
}
.product_box {
display: flex;
flex-flow: column;
width: 254px;
margin: 0 auto 28px auto;
border: 1px solid #ccc;
padding: 16px;
}
.headingproduct {
display: block;
color: #000;
text-decoration: none;
height: 80px;
overflow: auto;
}
.picturelink {
display: block;
height: 228px;
width: 228px;
background-repeat: no-repeat;
background-size: contain;
background-position: center;
margin: 30px auto 36px auto;
}
.readmore {
display: block;
margin: 20px auto;
padding: 6px 10px;
border: 1px solid #434343;
background-color: #434343;
color: #fff;
border-radius: 20px;
width: 70px;
text-align: center;
text-decoration: none;
}
.product_box .artikul {
width: 100%;
text-align: center;
}
.product_box .price {
width: 100%;
text-align: center;
font-size: 24px;
}
.product-product .productwrap .price {
  font-size: 24px;
  margin: 16px 0;
}
.placeholderwrap {
max-width: 200px;
max-height: 200px;
}
.thumbnails {
max-width: 350px;
max-height: 100px;
overflow-x: auto;
overflow-y: hidden;
display: flex;
gap: 5px;
}
.thumbnail {
background-position: center;
background-repeat: no-repeat;
display: block;
height: 50px;
width: 50px;
flex-shrink: 0;
}
/* Для браузеров Chrome, Safari, Edge и новых версий Яндекс.Браузера */
.scroll-container::-webkit-scrollbar {
height: 6px; /* Высота горизонтального скроллбара */
}
.scroll-container::-webkit-scrollbar-track {
background: #f1f5f9;
border-radius: 10px;
}
.scroll-container::-webkit-scrollbar-thumb {
background: #cbd5e0;
border-radius: 10px;
}
.scroll-container::-webkit-scrollbar-thumb:hover {
background: #a0aec0;
}

/* Для Firefox */
.scroll-container {
scrollbar-width: thin;
scrollbar-color: #cbd5e0 #f1f5f9;
}
.productwrap {
display: flex;
flex-flow: row wrap;
gap: 30px;
width: 100%;
margin: 30px 0 0 0;
}
.productimage {
display: block;
max-height: 300px;
max-width: 300px;
}

.product_params td {
border-bottom: 1px solid #ccc;
padding: 5px;
}
#product {
margin: 0 0 25px 0;
}
.inputwrap {
display: flex;
gap: 20px;
flex-flow: row wrap;
align-items: center;
max-width: 350px;
}
.alert.alert-info {
margin: 11px 0;
}
.input_quantity {
display: flex;
flex-flow: row wrap;
align-items: center;
gap: 5px;
}
.qty.minus, .qty.plus {
width: 32px;
height: 32px;
font-size: 17px;
}

#input-quantity {
width: 60px;
height: 26px;
}
#button-cart {
height: 32px;
width: 100px;
}
