
*:not(td) {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

input {
	border-radius: 4px;
	font-size: 14px;
	padding: 9px;
	border: 1px solid #ccc;
}

input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  width: 14px;
  height: 14px;
  border: 1px solid #ccc;
  border-radius: 4px; /* делаем квадратик с мягкими углами */
  background: #fff;
  cursor: pointer;
  position: relative;
  transition: all 0.25s ease;
}

/* hover */
input[type="checkbox"]:hover {
  border-color: #5686da;
}

/* состояние checked */
input[type="checkbox"]:checked {
  background-color: #f34d00;
  border-color: #f34d00;
}

/* галочка */
input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 2px;
  width: 5px;
  height: 10px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}


select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;

  width: 220px;
  padding: 8px 35px 8px 12px;
  font-size: 16px;
  border: 2px solid #ccc;
  border-radius: 6px;
  background-color: #fff;
  color: #333;
  cursor: pointer;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%235686da' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'></polyline></svg>");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 16px;
}

/* hover */
select:hover {
  border-color: #5686da;
}

/* focus */
select:focus {
  border-color: #f34d00;
  box-shadow: 0 0 0 3px rgba(243, 77, 0, 0.25);
  outline: none;
}

/* disabled */
select:disabled {
  background-color: #f9f9f9;
  color: #aaa;
  border-color: #ddd;
  cursor: not-allowed;
}


a, a:visited {
	text-decoration: none;
	color: none;
}

html {
  overflow-y: scroll;
}

body {
	color: #333e48;
	font-size: 13px;
	font-family: "Roboto", sans-serif;
	font-optical-sizing: auto;
	font-weight: 300;
	font-style: normal;
	font-variation-settings:
    "wdth" 100;
	-webkit-text-size-adjust: 100%;
	-webkit-tap-highlight-color: transparent;
	padding: 0px; margin: 0px;
	background: #f3f3f3;
 overflow-x: hidden; /* убираем горизонтальный скролл */	
}

tr.fade-out {
  opacity: 0;
  transition: opacity .2s ease;
}

[onclick]:not([disabled]):not([aria-disabled="true"]) {
  cursor: pointer;
}

.body {
	max-width: 1430px;
	margin: 0 auto;
	padding: 0 15px; 
}




#closeFilter {
  display: none;
}

/* только мобильная версия */
@media (max-width: 768px) {
	
  #closeFilter {
    display: block;
    float: right;
  }
  
	.sidebar {
		height: 0;
		width: 0 !important;
		overflow: hidden; /* прячет содержимое */
	}	
	
  .filter_container {
    position: fixed;
    top: 0;
    right: 0;
    width: 80%;          /* ширина панели (можешь поставить 100%) */
    max-width: 320px;    /* ограничим ширину */
    height: 100vh;
    background: #fff;
    box-shadow: -2px 0 6px rgba(0,0,0,0.2);
    z-index: 9999;
    transform: translateX(100%);  /* спрятан за экраном */
    transition: transform 0.3s ease;
    overflow-y: auto;             /* скролл внутри */
  }

  /* состояние "открыт" */
  .filter_container.open {
    transform: translateX(0);
  }

  /* затемняющий фон */
  .filter_overlay {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 9998;
  }

  .filter_overlay.active {
    display: block;
  }
}




.panel-top {
	background: #333;
	font-size: 14px; 
	padding: 7px 0;
	background: #f8f9fa;
	overflow: auto;
}



header {
	display: flex;
	padding: 15px 0;
}


header .logo {
  width: 336px;
 
}



header .search {
  flex: 1;
  padding: 0 10px;
  
 
}



header .profile {
  width: 205px;
  padding: 10px;
  
}



.profile-shop {
	background: #5686da;
	float: left;
	margin: -10px 0 0 12px;
	border-radius: 10px;
	height: 38px;
	width: 133px;
	border: 1px solid #ccc;
	color: #fff;
	font-size: 21px;
	display: flex;
	align-items: center;
	padding-left: 7px;
	cursor: pointer;
 box-shadow: 0 2px 3px rgba(0, 0, 0, 0.3);
 transform: background-color 0.3s ease;
}



.profile-shop-sum {
	margin-left: auto; /* сдвигает этот элемент вправо */
	margin-right: 7px;   /* на всякий случай */
	color: #fff;
}


.profile-icon {
	background: #5686da;
	float: left;
	border-radius: 10px;
	width: 38px;
	height: 38px;
	margin-top: -10px;
	border: 1px solid #ccc;
	color: #fff;
	font-size: 21px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
 box-shadow: 0 2px 3px rgba(0, 0, 0, 0.3);
 transform: background-color 0.3s ease;
}



.profile-icon:hover, .profile-shop:hover {
	background-color: #4169b2;
}



.buy-button.active {
  background-color: #5686da; /* твой цвет сайта */
  color: #fff;               /* белый текст для контраста */
}












@media (max-width: 768px) {
	.noshowmob {
		display: none;
	}
	
	.cart-client-info, .cart-prod-list {
		min-width: 100% !important;
	}
	
	.cart-client-info  table tr {
		display: block;        /* переводим строку в блочный режим */
	}
	
	.cart-client-info  table td {
		display: block;        /* каждая ячейка занимает всю ширину */
		width: 100% !important;
		box-sizing: border-box;
		margin-bottom: 10px;   /* расстояние между полями */
	}
	
	input:not([type="radio"]):not([type="checkbox"]) {
		width: 100% !important;
		box-sizing: border-box;
	}	
}



@media (max-width: 1200px) {
	.header,  .panel-top {
		display: none;
	}
	
	

}


.top-nav-container {
  background-color: #5686da;
  border-radius: 10px;
  margin: 0 auto;
  box-shadow: 0 2px 3px rgba(0, 0, 0, 0.3);
}

.top-nav {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}

.top-nav li {
  margin: 0;
}

.top-nav li a {
  display: block;
  padding: 15px 20px;
  font-size: 16px;
  color: #fff;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.top-nav li a:hover {
  background-color: #4169b2;
  border-radius: 8px;
}

.top-nav .toRight {
  margin-left: auto; /* сдвигает этот элемент вправо */
  margin-right: 0;   /* на всякий случай */
}

.address {
	font-size: 14px;
	color: #333;
	padding: 12px 0 0 5px;
}

.address a {
	color: #f34d00;
}

.address h1, .address h2 {
   font-size: inherit;
   font-weight: inherit;
   margin: 0;
   padding: 0;	
    display: inline;
}

.container {
	display: flex;
	margin-top: 15px;
}

.container .sidebar {
	width: 270px;
	margin-right: 10px;
}	



.sidebar .asbn {
	color: #333;
}

.sidebar .activated {
	color: #f34d00;
}

.search-field {
  flex: 1;
  border: 2px solid #5686da;
  border-right: none;
  border-bottom-left-radius: 22px;
  border-top-left-radius: 22px;
  padding: 10px 30px;
  font-size: 14px;
  color: #333e48; 
  outline: none;
  box-shadow: 0 2px 3px rgba(0, 0, 0, 0.3);
}

.search-button {
	z-index: 2;
	margin-left: -2px;
	cursor: pointer;
	border: 1px solid #5686da;
	background-color: #5686da;
	color: #fff;
	border-bottom-right-radius: 22px;
	border-top-right-radius: 22px; 
	padding: 10px 17px 10px 15px;
	font-size: 14px;
	box-shadow: 0px 2px 3px rgba(0, 0, 0, 0.3);	
}

.search-field:hover  {
	border-color: #4169b2;
}

.search-button:hover  {
	background-color: #4169b2;
}



.container main {
	flex: 1;
}

main {
    display: flex;
    flex-direction: column;   /* блоки сверху вниз */
    align-items: stretch;     /* ширину растягиваем */
}
	
	

	
.products-flex {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  width: 100%;
  align-content: flex-start;
}




.errorInput	{
	border-color: red;
	background-color: #ffe0e0;
	color: #a10000;	
}




.slick-arrow {
	display: none !important;
}

.slick-slide img {
	border: 0 !important;
}



	
/* Оверлей */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  display: none;
  z-index: 999;
}

.overlay.show {
  display: block;
}

.header-box {
  position: sticky;
  top: 0;
  z-index: 5;
  background: #fff; 
  padding-bottom: 10px; 
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}
	
.login-error {
  width: 100%;
  text-align: center;
  padding: 10px 15px;
  margin-bottom: 20px;
  background-color: #ffe0e0;
  color: #a10000;
  border: 1px solid #e09191;
  border-radius: 5px;
  box-sizing: border-box;
}

.login-success {
 max-width: 600px; margin: 40px auto; padding: 20px; background-color: #f0f8ff; border: 1px solid #cce5ff; border-radius: 8px; font-family: Arial, sans-serif; color: #004085;
}	
	
.activation-message {
  max-width: 600px;
  margin: 30px auto;
  padding: 20px 25px;
  background-color: #e6f7e9;
  border: 1px solid #b3deb7;
  border-radius: 8px;
  font-family: Arial, sans-serif;
  color: #2a662a;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  text-align: center;
}

.activation-message h2 {
  margin-top: 0;
}

.activation-message {
  max-width: 600px;
  margin: 30px auto;
  padding: 20px;
  background-color: #fff4e5;
  border: 1px solid #ffc107;
  border-radius: 6px;
  color: #664d03;
  text-align: center;
  font-family: Arial, sans-serif;
}	
	
.login-box {
	display: flex;
	flex-wrap: wrap;
	background: #fff;
	border: 2px solid #f1f1f1;
	border-radius: 12px;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
	margin: auto;
	gap: 15px;
}

.login-box .column {
	flex: 1;
	padding: 52px;
}

.login-box h3 {
	font-size: 27px;
	padding: 0 0 26px 0;
	font-weight: 400;
	
}

.login-box .login-field{
	padding-bottom: 20px;
}

.login-box .login-field label {
	font-size: 14px;
	padding: 0 0 12px 4px;
	color: #666;
	box-sizing: border-box;
	display: block;
}


.login-box .login-field input {
	padding:9px;
	font-size: 14px;
	width: 354px;
}

.login-box .login-field input[type="submit"] {
	padding:14px;
	font-size: 16px;
	width: 354px;
	text-transform: uppercase;
	color: #fff;
	background: #f34d00;
	margin-top: 20px;
}	

	
	
.flex-container {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  gap: 15px;
  background: #fff;
  padding: 20px;
  border-radius: 5px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  border: 1px solid #ccc;

}

.left-column {
  width: 420px;
  max-width: 100%;
}

.center-column {
  flex: 1;
  max-width: 100%;
  min-width: 300px;
}

.right-column {
  width: 300px;
  max-width: 100%;
  min-width: 0; /* важно для корректного сжатия */
  padding-right: 10px;
}

.right-column li{
	 list-style: none;
	 color: #333;
}

.shop-button{
	width: 90%;
	display: block;
	padding: 10px;
	border-radius: 8px;
	background:	#f34d00; 
	color: #fff;
	font-size: 20px; 
	font-weight: 700; 
	cursor: pointer;
	box-shadow: 0 2px 8px rgba(0,0,0,0.1);
	border: 1px solid #ccc;
	transition: background-color 0.3s ease, transform 0.2s ease;
}

.shop-button:hover {
  background-color: #fa7132; 
}

@media (max-width: 1139px) {

  .left-column,
  .right-column, 
  .center-column {
    width: 100%;
  }
  
  .left-column  {
    max-width: calc(100vw - 150px);
  }
}




.input-label label {
	font-size: 17px;
	padding:  0 0 3px 5px;
	display: block;
	
}

.input-label input{
  width: 100%;
  font-size: 14px;        /* меньше размер текста */
  border: 2px solid #47b5cc;
  border-radius: 10px;
  background: #fff;
  transition: border-color .2s, box-shadow .2s;
}

.input-label select{
	padding: 12px;
  width: 100%;
  font-size: 16px;        /* меньше размер текста */
  border: 2px solid #47b5cc;
  border-radius: 10px;
  background: #fff;
  transition: border-color .2s, box-shadow .2s;
}

.input-label input:focus{
  border-color:#009ac2;
  box-shadow:0 0 0 4px rgba(0,154,194,.15);
}





.payment_methods_type {
	padding: 20px;
	border-bottom: 1px solid #eee;
}

.payment_methods_radio {
	float: left;
}

.payment_methods_radio input{
	margin-right: 10px;
}

.payment_methods_ico {
	float: right;
}



















/* ===== CATEGORY HEADER (desktop default) ===== */
.category-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
  padding: 0 8px;
  flex-wrap: wrap; /* разрешаем перенос */
}

/* Заголовок (desktop) */
.category-title {
  font-size: 26px;
  font-weight: 700;
  color: #222;
  border-bottom: 3px solid #f34d00;
  padding-bottom: 4px;
  margin: 0;
}

/* Сортировка (desktop select) */
.category-sort-desktop {
  flex-shrink: 0;
  display: block;
}

/* Мобильные действия по умолчанию скрыты */
.category-actions-mob { display: none; }

.sortby-mob {
  position: relative;  /* чтобы выпадающий список привязался к кнопке */
}

/* ===== МОБИЛЬНАЯ ВЕРСИЯ ===== */
@media (max-width: 768px) {
	
	.container {
		display: block;
	}
  /* Заголовок */
  .category-title {
    font-size: 18px;
    margin: 10px 0;
    text-align: center;
	border-bottom: 3px solid #f34d00;
	width: 100%;
  }

  /* Desktop select прячем */
  .category-sort-desktop { display: none; }

  /* Блок с сортировкой и фильтром */
  .category-actions-mob {
    display: flex;
    gap: 8px;
    width: 100%;
  }

  /* Сортировка и фильтр одинаковые */
  .sortby-mob,
  .category-filter-mob {
    flex: 1;                  /* равная ширина */
    height: 40px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
  }

  /* Кастом сортировка (toggle) */
  .sortby-toggle-mob {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 6px;
    padding: 0 10px;
    font-size: 14px;
    cursor: pointer;
    height: 40px;
    width: 100%;
  }

  .sortby-icon { font-size: 14px; color: #f34d00; }
  .sortby-arrow-mob { font-size: 12px; margin-left: 8px; }

  /* Выпадающий список */
  .sortby-list-mob {
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 6px;
    margin-top: 4px;
    list-style: none;
    padding: 0;
    display: none;
    z-index: 100;
  }
  .sortby-list-mob.show { display: block; }

  .sortby-list-mob li {
    padding: 8px 12px;
    font-size: 14px;
    cursor: pointer;
  }
  .sortby-list-mob li:hover { background: #f3f3f3; }

  /* Кнопка фильтра */
  .category-filter-mob {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f34d00;
    color: #fff;
    border: none;
    cursor: pointer;
    transition: background 0.2s ease;
  }
  .category-filter-mob:hover { background: #fa7132; }
}


.lang-dropdown {
  position: relative;
  display: inline-block;
  font-family: Arial, sans-serif;
}

.lang-btn {
  background-color: #ff5400;
  color: white;
  padding: 17px 12px;
  font-size: 14px;
  font-weight: bold;
  border: none;
  border-radius: 10px;
  cursor: pointer;
}

.lang-btn:hover {
  background-color: #4385f3;
}

.lang-content {
  display: none;
  position: absolute;
  margin-left: -70px;
  background-color: #fff;
  min-width: 130px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  border-radius: 3px;
  z-index: 10;
  overflow: hidden;
}

.lang-content a {
  color: #333;
  padding: 10px 15px;
  text-decoration: none;
  display: block;
  font-size: 13px;
}

.lang-content a:hover {
  background-color: #f1f1f1;
  color: #ff5400;
}

.lang-dropdown:hover .lang-content {
  display: block;
}






/* === Vita Gold style header === */
.vg-header {
  font-family: "Inter", sans-serif;
  color: #222;
}

/* Верхняя панель */
.vg-topbar {
  background: #f3ede2;
  border-bottom: 1px solid #e4dfd3;
  padding: 10px 0;
}
.vg-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 30px;
}
.vg-left, .vg-center, .vg-right {
  flex: 1;
}
.vg-left {
  text-align: left;
  font-size: 14px;
  color: #555;
}
.vg-center {
  display: flex;
  justify-content: center;
}
.vg-logo img {
  height: 45px;
}

/* Правая часть */
.vg-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
}

/* Поиск */
.vg-search {
  display: flex;
  align-items: center;
  border-bottom: 1px solid #aaa;
  padding-bottom: 3px;
  max-width: 200px;
}
.vg-search input {
  border: none;
  outline: none;
  background: none;
  flex: 1;
  padding: 5px 6px;
  font-size: 14px;
}
.vg-search button {
  border: none;
  background: none;
  cursor: pointer;
  font-size: 15px;
}

/* Язык */
.vg-lang {
  position: relative;
}
.vg-lang-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 15px;
}
.vg
