/*RESET*/
*,*:before, *:after{
    padding: 0;
    margin: 0;
    border: 0;
    box-sizing: border-box;
}
:root {
  /* Отступы */
  --gap-xs: 0.25rem;
  --gap-s: 0.5rem;
  --gap-m: 1rem;
  --gap-l: 1.5rem;
  --gap-xl: 2rem;

  /* Отступы снизу (для заголовков и блоков) */
  --mb-s: 0.75rem;
  --mb-m: 1.25rem;
  --mb-l: 2rem;

  /* Шрифты */
  --font-sans: Inter, "SF Pro", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-size-base: 1rem;
  --line-height-base: 1.6;

  /* Цвета (подбери под свою палитру) */
  --color-text: #2d3748;
  --color-muted: #718096;
  --color-border: #e2e8f0;
  --color-primary: #3182ce;
}
html,body {
    height: 100%;
}
body {
    font-family: 'Oswald', serif;
}

/* demonstration style */
.wrapper {
    
}

/* BASE style*/
.container {
    max-width: 1180px;
    margin: 0px auto;
    padding: 0px 10px;
    
    
}
.main__container {
    display: flex;
    max-width: 1180px;
    margin: 0px auto;
    padding: 0px 10px;
}
.header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 50;
    
}
.header:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 216, 12, 1);
    z-index: 2;
    
}
.header__body {
    position: relative;
    
    display: flex;
    justify-content: space-between;
    height: 80px;
    align-items: center;
}
.header__logo {
    flex: 0 0 95px;
    position: relative;
    z-index: 3;
}
.header__logo img {
    max-width: 100%;
}
.header__burger {
    display: none;
}

.header__btn {
    
}
.header__burger span {
        position: absolute;
        background-color: black;
        left: 0;
        width: 100%;
        height: 2px;
        top: 9px;
        transition: all 0.3s ease 0s;
}
.header__menu {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 216, 12, 1);
    font-family: 'Oswald', serif;
    font-weight: 400;
    
}
.header__list {
    display: flex;
    position: relative;
    z-index: 2;
    justify-content: center;
    
    margin-top: 10px;
    
    
}
 .header__list li:last-child {
            padding-right: 10px; /* Добавляем паддинг к последнему элементу */
        }
.header__list li {
    list-style: none;
    margin: 0px 0px 0px 20px;
}
.header__link {
    color: black;
    
    text-decoration: none;
}
.header__rightcont {
    display: flex;
    z-index: 3;
    flex-direction: column;
    align-items: center;
    
}
.header__cartcont {
    display: flex;
    padding: 2px;
}
.header__login {
    display: flex;
    flex-direction: column;
    align-items: center;
    
    
}
.header__login a {
    text-transform: uppercase;
    text-decoration: unset;
    color: black;
}
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}
.central__menu {
    display: flex;
    flex-direction: column;
    max-width: 400px;
}
.content {
    padding: 70px 0px 0px 0px;
}
.content__text {
    font-size: 18px;
    line-height: 25px;
}
.conten__text p {
    margin: 0px 0px 20px 0px;
}
.footer__container {
    z-index: 1;
    position: relative;
    margin: 0px auto;
    
    background-color: black;
}
.footer__container:before {
    content: "";
    position: absolute;
    
    width: 100%;
    height: 100%;
    background-color: rgba(50, 50, 50, 1);
    z-index: 2;
}
.h1 {
    font-size: 27px;
}
.list_box {
    z-index: 1;
}
.list_box ul {
            list-style: none;
            padding: 0;
            margin: 0;
        }

.list_box ul li {
            position: relative;
        }

.list_box ul li a {
            display: block;
            padding: 10px;
            text-decoration: none;
            color: #333;
            text-transform: lowercase;
            font-size: 28px;
  font-family: 'Oswald';
}
        }

.list_box ul li a:hover {
             background-color: rgba(255, 216, 12, 1);
            
        }
.list_box ul li:hover  { 
     background-color: rgba(255, 216, 12, 1);
            
}
 
.list_box ul li ul {
            display: none;
            position: absolute;
            left: 100%;
            top: 0;
            background-color: #fff;
            box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
        }

.list_box ul li:hover > ul {
    display: flex;
    flex-direction: column;
}

.list_box ul li ul li {
            width: 200px;
        }

.breadcrumb {
font-family: 'Oswald', Arial, Helvetica, sans-serif;
font-weight: 300;
text-transform: lowercase;
text-decoration: none;
display: flex;
flex-wrap: wrap;
}        
.breadcrumb li {
    margin-left: 10px;
    display: flex;
}
.breadcrumb li span a {
    text-decoration: none;
    color: black;
}
.breadcrumb li span a:hover {
    text-decoration: underline;
    
}
.breadcrumb > li+li:before {
    padding: 0 5px;
    color: #ccc;
    content: "/\00a0";
}
.product__maincontainer {
  display: flex;
    flex-direction: column;
}
.product__container {
    display: flex;
    flex-direction: row;
    width: 100%;
}
.product__details {
    background-color: #cccbcb;
    flex: 0 0 50%;
    padding-right: 10px;
    margin-top: 10px;
    height: fit-content;
    box-sizing: border-box;
    padding-bottom: 23px;
}
.vendlog {
    display: flex;
    justify-content: space-around;
    margin: 5px;
    gap: 10px;
    align-items: center;
}
.vendlog img {
    max-width:250px;
    max-height: 250px;
}
.product__description {
    width: 100%;
    padding: 10px;
    box-sizing: border-box;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    
    margin: 0 auto;
}
.product__description p {
    margin-bottom: 15px;
    line-height: 1.6;
    color: #333;
    overflow-wrap: break-word;
    hyphens: auto;
}
.product__description strong {
    font-weight: bold;
    color: black;
}
.product__description ul {
    list-style-type: disc;
    padding-left: 20px;
    margin-bottom: 20px;
}
.product__description ul li {
    list-style: none;
    overflow-wrap: break-word;
    hyphens: auto;
    color: #555;
}
.product__description a {
    color: black;
    text-decoration: none;
    font-weight: bold;
    font-family: 'Oswald', serif;
    font-weight: 400;
}

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


.plus {
    padding: 5px;
    position: relative;
    float: right;
    left: -15px;
    top: 3px;
	background-image: url("/uploads/arrowup.png");
	background-repeat: no-repeat;
	padding-right: 10px;
	cursor: pointer;
}
.minus {
    padding: 5px;
    position: relative;
    float: right;
    top: 25px;
    left: 0px;
	background-image: url("/uploads/arrowdown.png");
	background-repeat: no-repeat;
	padding-right: 10px;
	cursor: pointer;
}
.minus .plus:hover {
    cursor: pointer;
}
.inparrow {
    float: right;
    position: relative;
    left: -16px;
    top: 8px;
}

.logo2 {
    display: flex;
    flex-direction: column;
    /* justify-content: end; */
    /* text-align: end; */
    align-items: flex-end;
    text-align: end;
}
.logo2 img {
    max-width: 120px;
    max-height: 93px;
}
.logo2 a {
    max-width: 120px;
}


.ui-widget-header {background: #333 !important;}
.ui-widget.ui-widget-content {border-radius: 25px;background: #fffff !important;z-index: 0;}
.ui-menu .ui-menu-item-wrapper {border-radius: 25px;}
.ui-state-active {
    border: none !important;

    font-weight: normal;
	 
	color: green !important;
}
.mse2-ac-wrapper > .ui-state-active {background: transparent !important;}
#ui-id-1  {   
    padding-top: 57px;
    
    padding-right: 16px;
    padding-left: 21px;
    z-index: 9999;

	
}
    
#search.btn {
	overflow: hidden;
	cursor: pointer;
	border-radius: 55px;
	border: 1px solid black;
	
	
}
#search {
	background-color: black;
	display: flex;
    margin: 0 auto;
    align-items: center;
    z-index: 2;
    width: 100%;
    justify-content: space-around;

}
#search input {
	width: 100%;
	height: 27px;
	padding-left: 10px;
	outline: 0;

}
#mse2_form {
    z-index: 3;
    padding: 0 10px 0 18px;
}

#search svg {
    width: 60px;
    height: 20px;
    margin-top: 2px;
}    
#msGallery {
    flex: 0 0 50%;
    padding: 10px;
    display: flex;
    max-width: 50%;
    align-items: center;
    box-sizing: border-box;
    flex-direction: column;
    
}

#msGallery img {
  width: 100%;
  height: auto;
  border-radius: 4px;
}

#left_bar {
    flex: 0 0 25%;
    z-index: 3;
    padding: 20px 20px 20px 0px;
    box-sizing: border-box;
    display: flex;
    width: 25%;
    flex-direction: column;
}
#right_bar {
    flex: 0 0 75%;
    z-index: 2;
    background-color: #fff;
    padding-top: 20px;
    box-sizing: border-box;
    justify-content: flex-start;
    display: flex;
    flex-direction: column;
    max-width: 75%;
}
#right_bar img {
   justify-content: center;
   align-items: center;
}
#msMiniCart.full .not_empty {
    position: relative;
    background: white;
    border: 1px solid white;
    border-radius: 50%;
    padding: 0px 6px;
    width: 21px;
    margin: 0px 3px;
    top: -36px;
    position: relative;
    left: 18px;
    text-decoration: none;
    color: black;
}

.fabasket {white-space: nowrap; }
.fabasket {
    background-image: url('/uploads/icons/shopping_cart.svg');
    background-repeat: no-repeat;
    background-position: 0px 0px;
    position: relative;
    width: 30px;
    height: 30px;
    content:"1";
    display: inline-block;
    top: 3px;
    background-size: 30px 30px;
}
.fasearch {
background-image: url(/uploads/icons/search_white.png);
    background-repeat: no-repeat;
    background-position: 0px 0px;
    position: relative;
    width: 24px;
    height: 24px;
    content: "1";
    display: inline-block;
    
}
.header__btn {
    z-index: 2;
}
.header__cart {
    width: 32px;
    height: 34px;
    z-index: 3;
}




.product__form {
    display: flex;
    flex-direction: column;
}

.form-group {
    display: flex;
    text-align: center;
    flex-wrap: wrap;
    justify-content: center;
    padding: 2px;
    margin-top: 5px;
}

.field-number {
    background-color: white;
    border-radius: 44px;
    height: 40px;
    min-width: 70%;
    align-content: center;
   
}

.btnarea {
    text-align: center;
    margin-top: 15px;
    min-width: 70%;
    height: 40px;
}

.btn-search {
        background-color: black;
        cursor: pointer;
}
.d-none {
    display: none;
}
.control-label {
    float: left;
    margin-right: 8px;
}
.countchg {
    width: 82%;
    border-radius: 44px 0px 0px 44px;
    text-align: center;
    font-weight: 800;
    font-size: 16px;
    min-height: 40px;
    outline: 0;
}

.column {
            flex-basis: 0;
            flex-grow: 1;
}

.column-2 {
            flex-basis: 0;
            flex-grow: 2;
}

.column-1 {
            flex-basis: 0;
            flex-grow: 1;
}

.logo-container {
            max-width: 250px;
            max-height: 250px;
            
            overflow: hidden; /* Обрезаем изображение, если оно больше контейнера */
}

.logo-container img {
            width: 100%;
            height: 100%;
            
}
.column a {
    color: black;
}
h1 {
    font-family: 'Oswald', serif;
    font-weight: 500;
}
.pricetovar {
    font-family: 'Oswald', serif;
    font-weight: 500;
    font-size: 24px;
}

a:visited {
    color: black !important; /* Наследует цвет от родительского элемента */
    /* Или установите конкретный цвет */
    /* color: #000000; */
}

.prem {
    display: flex;
    justify-content: space-around;
    margin-top: 10px;
    margin-bottom: 10px;
    min-height: 89px;
align-items: center;
}
.prem >div {
    display: flex;
    
}
.prem .img_buble {
   width: 85px;
   height: 85px;
   transition: transform 0.2s ease;
}
.addtext {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: 
    opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.25s cubic-bezier(0.16, 1, 0.3, 1),
    visibility 0.25s;
    position:absolute;
    
    width: 237px;
    

    z-index: 9999;
}
.fortxt {
    
    font-size: small;
    top: 19px;
    
    position: absolute;
    left: 73px;

}
.prem i {
    text-align: center; 
    padding: 19px;
    border: 7px solid rgba(247,194,0,1);
    margin: 5px;
    box-shadow: 1px 1px 1px 0px rgba(0,0,0,0.75);
    border-radius: 100px;
}
.prem .img_buble:hover + .addtext{
    display: flex;
    opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
/* Основной контейнер для карточек */
.card-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  gap: 16px; /* Расстояние между карточками */
}

.card-container ul {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.block_img {
    display: flex;
}
.block_title {
   display: flex;
   width: 100%;
}
/* Карточка */
.card {
  flex: 1 1 calc(33.333% - 16px); /* 3 столбца */
  max-width: 267px;
  box-sizing: border-box;
  padding: 16px;
  border: 1px solid #ccc;
  border-radius: 8px;
  background-color: #f9f9f9;
}

.card.ms2_product {
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 16px;
  background-color: #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  max-width: 267px;
  margin: 5px;
  text-align: center;
}
.card img {
  
}

/* Стиль для изображения */
.row img {
  border-radius: 8px;
  margin-bottom: 16px;
}

/* Стиль для названия товара */
.txtview {
  min-height: 85px; /* Фиксированная высота для контейнера названия */
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}
/* Стиль для названия товара */
.txtview a {
  font-size: 18px;
  
  color: #333;
  text-decoration: none;
  margin-bottom: 8px;
}

/* Стиль для цены */
.clrprice {
  font-size: 20px;
  color: black;
  margin-bottom: 8px;
}

/* Стиль для старой цены */
.oldpricecat .old_price {
  font-size: 14px;
  color: black;
  text-decoration: line-through;
  margin-bottom: 8px;
}


.title-modal {
    text-align: center;
}

.categorsblock {
display: flex;
flex-direction: column;
 flex: 1 1 calc(33.333% - 32px); /* Ширина карточки с учетом отступов */
    box-sizing: border-box;
    border: 1px solid #ccc;
    border-radius: 8px;
    overflow: hidden;
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s;
text-align: center;
align-items: center;
}
.card.categorsblock .row {
    padding: 16px;
    text-align: center;
}
.card.categorsblock .row img {
    max-width: 100%;
    height: auto;
}
 .card-list {
    display: flex;
    flex-wrap: wrap;
    gap: 16px; /* Расстояние между карточками */
    justify-content: center; /* Центрирование карточек по горизонтали */
    list-style: none; /* Убираем маркеры списка */
    padding: 0; /* Убираем внутренние отступы списка */
    margin: 0; /* Убираем внешние отступы списка */
}
.mse2_pagination {
display: flex;
    justify-content: center;
}
.pagination {
  flex-wrap: wrap;
  padding-left: 0;
  margin: 20px 0;
  border-radius: 4px;
display: flex;
    justify-content: center;
}
.pagination > li {
  display: inline;
}
.real-content ul.pagination > li{
list-style-type: none;
margin-left: 0;
margin-bottom: 0;
}
.pagination > li > a,
.pagination > li > span {
  position: relative;
  float: left;
  padding: 6px 12px;
  line-height: 1.42857143;
  text-decoration: none;
  color: black;
  background-color: #ffffff;
  border: 1px solid #dddddd;
  margin-left: -1px;
}
.pagination > li:first-child > a,
.pagination > li:first-child > span {
  margin-left: 0;
  border-bottom-left-radius: 4px;
  border-top-left-radius: 4px;
}
.pagination > li:last-child > a,
.pagination > li:last-child > span {
  border-bottom-right-radius: 4px;
  border-top-right-radius: 4px;
}
.pagination > li > a:hover,
.pagination > li > span:hover,
.pagination > li > a:focus,
.pagination > li > span:focus {
  z-index: 2;
  color: #23527c;
  background-color: rgba(255, 216, 12, 1);
  border-color: rgba(255, 216, 12, 1);
}
.pagination > .active > a,
.pagination > .active > span,
.pagination > .active > a:hover,
.pagination > .active > span:hover,
.pagination > .active > a:focus,
.pagination > .active > span:focus {
  z-index: 3;
  color: black;
  background-color:  rgba(255, 216, 12, 1);
  border-color: rgba(255, 216, 12, 1);
  cursor: default;
}
.pagination > .disabled > span,
.pagination > .disabled > span:hover,
.pagination > .disabled > span:focus,
.pagination > .disabled > a,
.pagination > .disabled > a:hover,
.pagination > .disabled > a:focus {
  color: black;
  background-color: #ffffff;
  border-color: #dddddd;
  cursor: not-allowed;
}
#mse2_filter {
    display: flex;
}
#mse2_selected_wrapper {
display: flex;
}
#mse2_results {
    display: flex;
    /* flex-direction: column; */
    flex-wrap: wrap;
    justify-content: space-around;
}
#right_bar #mse2_filters {
flex-direction: row;
}
#mse2_filters {
    display: flex;
    flex-wrap: wrap;
    gap: 14px; /* Расстояние между fieldset */
}
#mse2_filters {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    flex-direction: column;
    min-width: 250px;
    
    align-items: stretch;
}

/* Стили для fieldset */

#mse2_filters fieldset {
    flex: 1 1 calc(30% - 14px); /* 4 столбца */
    max-width: calc(30% - 14px);
    min-width: calc(30% - 14px);
    background-color: #f5f5f5;
    margin-bottom: 14px;
    box-sizing: border-box;
}
#left_bar fieldset {
    display: flex;
    background-color: #f5f5f5;
    margin-bottom: 14px;
    box-sizing: border-box;
    flex-direction: column;
    max-width: 100%;
}

.prcslider {
   width: 90%;
   text-align: center;
}
.textbox {
margin: 6px;
    padding: 2px;
}
.chkbx {
position: relative;
  padding: 22px 0 0 60px;
  cursor: pointer;
margin-left: 81px;
    margin-bottom: 14px;
}
.chkbx:before {
    content: '';
    position: absolute;
    top: -2px;
    left: 1px;
    width: 22px;
    height: 22px;
    border: 1px solid #CDD1DA;
    border-radius: 50%;
    background: #FFF;
	border: 1px solid;
}
.chkbx:after {
    content: '';
    position: absolute;
    left: 4px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: rgba(254,224,0,1);
    box-shadow: inset 0 1px 1px rgba(0,0,0,.5);
    opacity: 0;
    transition: .2s;
    top: 1px;
}
.posit input:checked + .chkbx:after {
  opacity: 1;
}
.posit input:focus + .chkbx:before {
  box-shadow: 0 0 0 3px rgba(255,255,0,.7);
}
.posit input {
  position: absolute;
  z-index: -1;
  opacity: 0;
  margin: 10px 0 0 7px;
}
.posit2 input {
  position: absolute;
  z-index: -1;
  opacity: 0;
  margin: 10px 0 0 20px;
}
.checkbox__text {
 position: relative;
 margin-top: 11px;
  cursor: pointer;
float: left;
    margin-bottom: 14px;
    padding-right: 31px;
}
.checkbox__text:before {
  content: '';
    position: absolute;
    top: -2px;
    left: 1px;
    width: 18px;
    height: 18px;
    border: 1px solid #CDD1DA;
    border-radius: 50%;
    background: #f5f5f5;;
	border: 1px solid;
}
.checkbox__text:after {
  content: '';
    position: absolute;
    left: 3px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(254,224,0,1);
    box-shadow: inset 0 1px 1px rgba(0,0,0,.5);
    opacity: 0;
    transition: .2s;
    top: 0px;
}

.posit2 input[type=checkbox]:checked + .checkbox__text:after {
  opacity: 1;
}
.posit2 input:focus + .checkbox__text:before {
  box-shadow: 0 0 0 3px rgba(255,255,0,.7);
}
#mse2_filters fieldset div {
display: flex;
flex-direction: column;

}
#mse2_sort .sort span {
    margin-left: 20px;
    padding-left: 20px;
    background-image: url(/uploads/arrowdown.png);
    background-repeat: no-repeat;
    position: relative;
    top: 5px;
}
#mse2_sort .sort[data-dir="desc"] span:after {
    
display: none;
}
#mse2_sort .sort[data-dir="asc"] span:after {
    
display: none;
}
#mse2_sort .sort[data-dir="asc"] span {
    margin-left: 20px;
    padding-left: 20px;
    background-image: url(/uploads/arrowdown.png);
    background-repeat: no-repeat;
    position: relative;
    top: 5px;
}
#mse2_sort .sort[data-dir="desc"] span {
    margin-left: 20px;
    padding-left: 20px;
    background-image: url(/uploads/arrowup.png);
    background-repeat: no-repeat;
    position: relative;
    top: 5px;
}
.sortbtn {
    border: 1px solid;
    padding: 6px 15px 9px 10px;
    border-radius: 45px;
    color: black;
    cursor: pointer !important;
}
.areabtnfiltr {
display: flex;
width: 90%;
justify-content: space-around;
}

.posit2 {
    margin-left: 10px;
}
.pricenumb {
    width: 90%;
display: inline-block;
padding: 5px 10px; 
text-align: center;
    font-weight: 600;
border: 1px solid #f5f5f5;
border-radius: 25px;

height: 38px;
}


/* Основной контейнер */
#msCart {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Таблица с товарами */
.table-responsive {
    overflow-x: auto;
}

.table  {
    width: 100%;
    border-collapse: collapse;
    
    justify-content: center;
}

.table th, .table td {
    padding: 10px;
    
    border: 1px solid #ddd;
}


.table th {
    background-color: #f2f2f2;
}

.table  table__header {
    background-color: #4CAF50;
    color: white;
}

.table .footer {
    background-color: #f2f2f2;
    font-weight: bold;
}

/* Форма для изменения количества товара */
.ms2_form {
    display: flex;
    align-items: center;
    gap: 10px;
flex-direction: column;
}

.ms2_form .form-group {
    display: flex;
    align-items: center;
    gap: 5px;
}

.ms2_form .input-group {
    display: flex;
    align-items: center;
    
}
.input-group-sm input{
   width: 50px;
   border-radius: 50px;
    border: 1px solid;
    text-align: center;
}
.ms2_form .input-group-append {
    display: flex;
    align-items: center;
}

/* Кнопки */
.btn {
    cursor: pointer;
    border: none;
    border-radius: 4px;
    margin: 0 auto;
    text-align: center;
    justify-content: center;
    align-items: center;
    text-transform: uppercase;
    transition: background-color 0.3s;
    width: 100%;
    background-color:  rgba(255, 216, 12, 1);
    color: black;
    display: flex;
    font-size: 16px;
}

.btn-danger {
    background-color: #f44336;
    color: white;
    border: none;
    width: 200px;
}

.btn-danger:hover {
    background-color: #d32f2f;
}
.btn-sm {
width: 27px;
}
.btn-zakaz {
    
    border: none;
    
    
}

.btn-zakaz:hover {
   
}
.btnauth {
  
    max-width: 300px;
   background-color: #fdd900;
 border-radius: 0 !important;
 border: 2px solid rgba(247,194,0,1) !important;
}
.btnreg {
   border: 2px solid rgba(247,194,0,1) !important;
    border-radius: 0 !important;
    background-color: white;
   
    max-width: 300px;
}

.btn-buy, .btn-buy-ost {
  
  height: 40px;
  font-weight: 800;
  min-width: 190px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-buy:hover, .btn-buy-ost:hover {
  background-color: #d8b53b;
}

.btn-buy-ost {
  background-color: #999;
}

.btn-buy-ost:hover {
  background-color: #888;
}


.btncateg {
background-color: #f5c911;
    text-transform: uppercase;
    border: 1px solid #f5c911;
    width: 100%;
    min-width: 150px;
    text-align: center;
    
}
.btn-reset {
    
    border: none;
    border-radius: 4px;
    background-color: rgba(255, 216, 12, 1);
  max-width: 150px;
    height: 25px;
    
}
/* Форма заказа */
.form-horizontal {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-horizontal .form-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.form-horizontal .form-group label {
    font-weight: bold;
}

.form-horizontal .form-group input, .form-horizontal .form-group textarea {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

/* Итоговая сумма и кнопка заказа */
.well {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 4px;
    flex-wrap: wrap;
    width: 100%;
}

.well h3 {
    margin: 0;
}

.well .btn-zakaz {
    align-self: flex-end;
}
.orderrow {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-around;
}
.col-md-12 {
    
    display: flex;
    flex: 1 1 100%;
align-items: center;
}
.col-md-6 {
    flex: 1 1 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.top_link:hover {
     background-color: rgba(255, 216, 12, 1);
}
.top_link > ul > li:hover {
    background-color: rgba(255, 216, 12, 1);
}

/* Стили для заголовков фильтров */
.filter_title {
    margin: 0;
    padding: 10px;
    background-color: #e0e0e0;
    text-align: center;

}
.banner_main {
    display: flex;
    justify-content: center;

}
.banner_img {
  width: 100%;
}
.contoplata {
   flex-direction: column;
}
.leftdiv50 input {
       width: 223px;
}
.leftdiv50 textarea {
       width: 223px;
       height: 105px;
}


.tabs {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
}

.tabs .tab {
    padding: 10px 20px;
    cursor: pointer;
    background-color: #f1f1f1;
    border: 1px solid #ccc;
    margin-right: 5px;
}

.tabs .tab.active {
    background-color: #fff;
    border-bottom: 2px solid #000;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.br-theme-css-stars {
display: flex;
justify-content: center;
}
a:-webkit-any-link {
    color: black !important;
    cursor: pointer;
}

.delivarea {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    align-items: flex-start;
    gap: 5px;
}
.delivarea checkbox {
  width: 200px;
}
tbody {
  width: 100%;
  text-align: center;
}
.d-flex {
   display: flex;
   align-items: center;
   flex-direction: column;
}
a span {
 color: #000000; /* Черный цвет */
}
#payments {
    flex-direction: column;
    width: 100%;
    margin: 4px;
}



.slider-for, 
.slider-nav  {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box; /* Убедитесь, что padding включен в ширину */
    max-height: initial;
    display: flex;
    justify-content: space-around;
}


}
.slick-track {
    max-height: 415px;
}



.slider-for img,
.slider-nav img {
    width: 100%;
    height: auto;
    box-sizing: border-box; /* Убедитесь, что padding включен в ширину */
}
.slick-list {
   margin: 0;
}
.filtrarea {
    margin-bottom: 16px;
}
.banner__window {
    display: flex !important;
    justify-content: center;
     align-items: center;
      overflow: hidden;
}
.fade {
display: flex; 
justify-content: center;
margin-bottom: 15px;
min-height: 150px;
}
.responsive-img {
    display: flex;
    justify-content: center;
    border-radius: 15px;
    max-width: 100%; 
    height: auto;
    
}
.responsive-img {
   
} 
.productview__img {
  
}
.email-link {
   color: white;
   display: inline-block;
   width: 49px;
   width: 120px;
   text-decoration: none;
}
.msearch2 {
  
} 

.slider-for .galerry-image {
   
   
} 
.slider-nav .galerry-image-nav {
   
   
 } 
.ui-slider-handle {
    background-color: rgba(255, 216, 12, 1) !important;
}

.input-group .plus {
  left: 33px;
    top: -22px;
}
.input-group .minus {
  top: 22px;
    left: -32px;
}
.popup_img {
   border-radius: 30px;
}

.outer-flex {
  display: flex;
  align-items: stretch;
  gap: 20px;
}

.big-column {
  flex: 1 1 auto;
}

.small-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1 1 auto;
}

  /* Ваша кнопка "Задать вопрос" */
  #open-chat-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 2147483647;
    padding: 12px 20px;
    background: rgba(255, 216, 12, 1) !important;
    color: #000 !important; /* Черный текст для желтого фона */
    border: none;
    border-radius: 30px;
    font-family: Oswald, sans-serif;
    font-weight: 500;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, background 0.3s ease;
  }
  
  #open-chat-btn:hover {
    background: rgba(255, 226, 52, 1) !important; /* Светлее при наведении */
    transform: scale(1.05);
  }
  
  #open-chat-btn:disabled {
    opacity: 0.7;
    cursor: wait;
  }

  /* Кнопка чата n8n (переключатель окна чата) */
  .chat-window-wrapper .chat-window-toggle {
    background: rgba(255, 216, 12, 1) !important;
    color: #000 !important; /* Черный цвет иконки */
  }
  
  .chat-window-wrapper .chat-window-toggle:hover {
    background: rgba(255, 226, 52, 1) !important;
    transform: scale(1.05);
  }
  
  /* Если в чате есть SVG иконки */
  .chat-window-wrapper .chat-window-toggle svg {
    fill: #000 !important;
    color: #000 !important;
  }


@media (max-width: 767px) {
    body.lock {
        overflow: hidden;
    }
    .prem {
        display: none;
    }
    .card {
    flex: 1 1 calc(50% - 16px); /* 2 столбца */
    
  }
   .card.ms2_product {
      max-width: 303px;
  }

 .galerry-image {
   
   height: 600px;
   width: 600px;
 } 
 .galerry-image-nav {
   
   height: 192px;
   width: 192px;
 } 
}
@media (max-width: 768px) {
    .categorsblock {
        flex: 1 1 calc(50% - 32px); /* Две карточки в ряд на планшетах */
    }

    .responsive-img {
       
    }
   
   

    .header__link {
        font-size: 35px;
    }
    .header__body {
        height: 80px;
    }
    .header__logo {
        flex: 0 0 80px;
    }
    .header__burger {
        display: block;
        position: relative;
        width: 30px;
        height: 20px;
        position: relative;
        z-index: 3;
    }
    .header__burger:before,.header__burger:after  {
        content: '';
        background-color: black;
        position: absolute;
        width: 100%;
        height: 2px;
        left: 0;
        transition: all 0.3s ease 0s;
    }
    
    .header__burger:before {
        top: 0;
        
    }
    .header__burger:after {
        bottom: 0;
        
    }
    .header__burger.active span {
        transform: scale(0);
    }
    .header__burger.active:before {
        transform: rotate(45deg); 
        top: 9px;
    }
    .header__burger.active:after {
        transform: rotate(-45deg);
        bottom: 9px;
    }
    
    .header__menu {
        position: fixed;
        top: -100%;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(255, 216, 12, 1);
        padding: 90px 10px 20px 10px;
        transition: all 0.3s ease 0s;
        overflow: auto;
    }
    .header__menu.active {
        top: 0;
        
    }
    .header__list {
        display: block;
        margin-top: 62px;
    }
    .header__list li {
        margin: 0px 0px 10px 0px;
    }
    .header__btn {
        
    }
    .product__container {
    display : block;
    flex-direction: column;
    
    }
    .product__details {
    background-color: #cccbcb;
    flex: 0 0 100%;
    
    }
    .vendlog {
        
        align-items: flex-start;
    }
    .vendlog img {
        max-width: 250px;
        
    }
    .central__menu {
        position: absolute;
        
    }
    
    #search {
        display: none;
        
    }
    #search.active {
        
        display: flex;
    
    }
   #ui-id-1 {
     padding-top: 0px;
   }
    #left_bar {
        display: none;
    }
    #right_bar {
        flex: 0 0 100%;
       min-height: 100vh;
       max-width: 100%
    }
    #msGallery {
    flex: 0 0 100%;
    padding: 10px;
    max-width: 100%
    
    }
    
    #mse2_form {
      position: relative;
    top: 50px;
      }
   .product__tabs .tab {
    padding: 8px 16px;
    font-size: 14px;
   }


}
 @media (max-width: 768px) {
      .banner__window {
        width: calc(100vw - 10px);
        height: auto;
      }
    }

    @media (min-width: 769px) {
      .banner__window {
        width: 100%;
        height: 330px;
      }

      .banner__window img {
        height: 100%;
        width: auto;
      }
    }
@media (max-width: 767px) {
    .content {
      padding: 75px 0px 0px 0px;  
    }
    
}
@media (max-width: 480px) {
  .card {
    flex: 1 1 100%; /* 1 столбец */
  }
  .responsive-img {
      width: 430px;
        height: auto;
        
   }
.galerry-image {
   
    height: 415px;
    width: 415px;
}
 .galerry-image-nav {
   
   height: 83px;
   width: 83px;
 } 
.categorsblock {
        flex: 1 1 calc(100% - 32px); /* Одна карточка в ряд на мобильных устройствах */
    }
tr > th.total_weight {display: none;}
tr > th.weight {display: none;}
tr > td.weight {display: none;}
.input-group-sm input{
   width: 55px;
}
.col-md-6 {
        flex: 1 1 100%;
    }
}
@media (max-width: 480px) {
   .galerry-image {
  
}
}
/* Адаптация для 3 столбцов */
@media (max-width: 1200px) {
    #mse2_filters fieldset {
        flex: 1 1 calc(33.33% - 14px); /* 3 столбца */
        max-width: calc(33.33% - 14px);
        min-width: calc(33.33% - 14px);
    }
}

/* Адаптация для 2 столбцов */
@media (max-width: 900px) {
    #mse2_filters fieldset {
        flex: 1 1 calc(50% - 14px); /* 2 столбца */
        max-width: calc(50% - 14px);
        min-width: calc(50% - 14px);
    }
}

/* Адаптация для 1 столбца */
@media (max-width: 600px) {
    #mse2_filters fieldset {
        flex: 1 1 100%; /* 1 столбец */
        max-width: 100%;
        min-width: 100%;
    }

}



