/* style.css */

*: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;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 10px;
  width: 100%;
  align-content: 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; }



.mainCats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding: 10px 0 20px 0;
  
}

.mainCats a {
  text-decoration: none;
  color: #003366;
}

.mainCats .catItem {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.1);
  padding: 20px 10px;
  text-align: center;
  transition: all 0.2s ease;
}

.mainCats .catItem:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 14px rgba(0,0,0,0.15);
}

.mainCats img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin-bottom: 10px;
}

.mainCats h3 {
  font-size: 15px;
  font-weight: 600;
  color: #003366;
  margin: 0;
}

/* 📱 Мобильная версия — 2 в ряд */
@media (max-width: 768px) {
  .mainCats {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px;
    padding: 15px;
  }

  .mainCats img {
    width: 70px;
    height: 70px;
  }

  .mainCats h3 {
    font-size: 14px;
  }
}

/* 📱 Очень узкие экраны — 1 в ряд */
@media (max-width: 400px) {
  .mainCats {
    grid-template-columns: 1fr;
  }
}






/* ===== МОБИЛЬНАЯ ВЕРСИЯ ===== */
@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: relative;
    top: 0;
    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;
}

#cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #222;
    color: #fff;
    z-index: 9999;
    font-size: 14px;
}

.cookie-box {
    max-width: 1200px;
    margin: auto;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.cookie-box a {
    color: #ff5400;
    text-decoration: underline;
}

.cookie-box button {
    background: #4385f3;
    border: 0;
    color: #fff;
    padding: 8px 16px;
    cursor: pointer;
    border-radius: 4px;
}


.content {
  padding: 10px;
  background: #fff;
}


.content h1 {
  margin: 0;
  padding: 5px 0;
  font-size: 2em;
  font-weight: 400;
  line-height: 1.2;
}


.content h2 {
  margin: 0;
  padding: 5px 0;
  font-size: 1.5em;
  font-weight: 400;
  line-height: 1.25;
}


.content h3 {
  margin: 0;
  padding: 5px 0;
  font-size: 1.17em;
  font-weight: bold;
  line-height: 1.3;
}


.content ul {
  margin: 0;
  padding: 0;
  list-style: none;
}


.content li {
  position: relative;
  padding-left: 16px;
  margin-bottom: 8px;
}


.content li::before {
  content: "-";
  position: absolute;
  left: 0;
  top: 0;
  color: #d61f2c; 
  font-weight: bold;
}


.content p {
  padding-bottom: 15px;
}



/* product-cart.css */
/* Карточка */
.product {
  position: relative;
  display: flex;
  flex-direction: column;
  flex: 1 1 calc(25% - 4px);
  max-width: calc(25% - 4px);
  background:#fff;
  border:1px solid #ddd;
  border-radius:10px;
  padding:12px;
  box-shadow:2px 2px 7px rgba(0,0,0,.15);
  transition:transform .25s ease, box-shadow .25s ease;
}

.productlb {

  background:#fff;
  border:1px solid #ddd;
  border-radius:10px;
  padding:12px;
  box-shadow:2px 2px 7px rgba(0,0,0,.15);
  transition:transform .25s ease, box-shadow .25s ease;
  
}

.product:hover{ box-shadow:3px 4px 12px rgba(0,0,0,.25);   border:0px;}



/* Ссылка-обёртка верхней части */
.product-link{
  text-decoration:none;
  color:inherit;
  display:flex;
  flex-direction:column;
}

/* Хлебные крошки/тип */
.product h2{
  font-size:10px;
  font-weight:400;
  color:#6b6b6b;
  margin:0 0 6px 0;
  min-height:14px;
}

/* Заголовок товара (две строки, обрезка) */
.product-title{
  font-size:14px;
  color:#0062bd;
  margin:0 0 8px 0;
  line-height:1.2;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
  min-height:34px;
  transition:color .25s ease, text-shadow .25s ease, border .1s ease;
}
.product:hover .product-title{ color:#f34d00; text-shadow:0 0 2px rgba(0,0,0,.2); }

/* Картинка: квадрат, центр, без искажений */
.product-image {
  position:relative;
  width:100%;
  aspect-ratio:1 / 1;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  border-radius:8px;
  background:#fff;
  border:1px solid #eee;
  flex-shrink:0;
}

.product-imagelb {
  position:relative;
  width:100%;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  border-radius:8px;
  background:#fff;
  border:1px solid #eee;
  flex-shrink:0;
}



.product-image img {
  max-width: unset ;
  max-height: 100% ;
  width: auto;
  height: auto;
  object-fit: cover ;
}

.product-imagelb img{
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  aspect-ratio:1 / 1;
  object-fit: contain;
}


.product-image img[src*="noimg"],.product-imagelb img[src*="noimg"] {
  width: 60%;  /* чтобы не «съедало» всё */
  height: auto;
  opacity: 0.7; /* слегка бледнее */
}




/* Ярлык скидки */
.product-atlaide{
  position:absolute;
  top:8px; left:8px;
  padding:4px 6px;
  font-size:12px;
  line-height:1;
  border-radius:4px;
  color:#fff;
  background:#1b9e3f;
  box-shadow:0 2px 6px rgba(0,0,0,.18);
  z-index:2;
}

/* Низ карточки */
.product-info{ margin-top:auto; padding:12px 4px 0; }
.product-footer{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:10px;
}

/* Цена */
.price-wrap{ display:flex; flex-direction:column; gap:2px; }
.old-price{
  font-size:13px;
  color:#8a8a8a;
  text-decoration:line-through;
}
.product-price{
  font-size:22px;
  font-weight:700;
  color:#f34d00;
  text-shadow:1px 1px 2px rgba(0,0,0,.15);
}

/* Кнопка «в корзину» */
.buy-button{
  display:inline-flex;
  align-items:center;
  gap:6px;
  background:#e9e9e9;
  color:#333;
  border:1px solid #d0d0d0;
  padding:8px 14px;
  border-radius:999px;
  cursor:pointer;
  font-size:14px;
  box-shadow:2px 2px 3px rgba(0,0,0,.15);
  transition:background .2s ease, box-shadow .2s ease, transform .1s ease;
}

.buy-button:hover{ background:#f34d00; color:#fff; border-color:#e0672a; box-shadow:0 0 8px rgba(243,77,0,.5); }
.buy-button:active{ transform:scale(.98); }


/* Респонсивность */
@media (max-width:1240px){
  .product { flex:1 1 calc(33.333% - 10px); max-width:calc(33.333% - 10px); }
}
@media (max-width:970px){
	.product { flex:1 1 calc(50% - 2px); max-width:calc(50% - 2px); }

	.product-price { font-size:15px;}  

	.buy-button{
	gap:2px;
	padding:6px 12px;
	font-size:12px;
	} 

	.product-atlaide{
	top:8px; left:6px;
	padding:4px 6px;
	font-size:11px;

	}	
	
}
/* cart.css */
	
.cart-client-info {
  border-collapse: collapse;
  margin-top: 20px;
  font-size: 14px;
  flex: 1;
  min-width: 460px;
}	

.cart-prod-list {
  border-collapse: collapse;
  margin-top: 20px;
  font-size: 14px; 
  flex: 1;
  min-width: 460px;
}


.cart_name {
	font-size: 17px;
	padding-bottom: 3px;
}


.cart-prod-list table {
  width: 100%;
  border-collapse: collapse;
}

.cart-prod-list thead {
  background-color: #f8f9fa;
  border-bottom: 2px solid #ddd;
}

.cart-prod-list th, .cart td {
  padding: 12px;
  text-align: left;
  border-bottom: 1px solid #eee;
}

.cart_img td {
	max-width: 90px !important;
}

.cart_img img {
  max-width: 80px;
  height: auto;
  border-radius: 4px;
}

.cart_price {
  color: #f34d00;
  white-space: nowrap;
  font-size: 18px;
  text-align: right !important;
  padding-right: 40px !important;
}

.cart_del {
	text-align: center !important;
}

.cart_del a {
  color: #888;
  text-decoration: none;
  font-weight: bold;
  font-size: 16px;
}

.cart_del a:hover {
  color: red;
}

.cart_info div:first-child {
  font-weight: 600;
  margin-bottom: 5px;
}

.cart_info b {
  color: #666;
}	


/* Ячейка */
.shipping-cell {
	text-align: right;
	vertical-align: top;
}

.shipping-block {
	padding: 12px;
	font-size: 14px;
	color: #333;
}

.shipping-block label {
	font-size: 17px;
	padding: 0 0 3px 5px;
}

.shipping-title {
	font-size: 15px;
	font-weight: 600;
	margin-bottom: 6px;
}

.shipping-select {
	width: 100%;
	padding: 8px 10px;
	border: 1px solid #ccc;
	border-radius: 5px;
	margin-bottom: 15px;
}

.shipping-option {
	background: #fdfdfd;
	border: 1px solid #ddd;
	border-left: 4px solid #f34d00;
	border-radius: 6px;
	padding: 12px;
	margin-top: 0px;
}

.pickup-title {
	font-weight: 600;
	margin-bottom: 8px;
	display: flex;
	align-items: center;
}

.pickup-icon {
	margin-right: 6px;
}

.pickup-list {
	margin: 0;
	padding-left: 20px;
}

.courier-address {
	padding: 8px;
	background: #f9f9f9;
	border: 1px solid #ddd;
	border-radius: 4px;
	font-weight: 600;
}


/* Селект */
.shipping-select-wrapper {
}

.shipping-select {
	width: 100%;
	padding: 8px 10px;
	font-size: 14px;
	border: 1px solid #ccc;
	border-radius: 5px;
	background: #fff;
	transition: border-color 0.2s;
}

.shipping-select:focus {
	border-color: #f34d00;
	outline: none;
	box-shadow: 0 0 0 2px rgba(243, 77, 0, 0.2);
}

/* Блок с адресами */
.pickup-info {
	background: #fdfdfd;
	border: 1px solid #e3e3e3;
	border-left: 4px solid #f34d00;
	border-radius: 6px;
	padding: 12px 16px;
	margin-top: 8px;
	color: #444;
}

/* Заголовок */
.pickup-title {
	font-weight: 600;
	margin-bottom: 8px;
	display: flex;
	align-items: center;
	color: #222;
}

.pickup-icon {
	margin-right: 6px;
	font-size: 15px;
}

/* Список */
.pickup-list {
	padding-left: 18px;
	margin: 0;
}

.pickup-list li {
	margin: 4px 0;
	list-style-type: disc;
}

/* Цена справа */
.shipping-price {
	text-align: right;
	vertical-align: top;
	font-size: 18px;
	font-weight: 600;
	color: #f34d00;
	white-space: nowrap;
}



.terminal-list {
  list-style: none;
  padding: 0;
  margin: 5px 0 0;
  border: 1px solid #ccc;
  max-height: 220px;
  overflow-y: auto;
  display: none; /* по умолчанию скрыт */
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.05);
}

.terminal-list li {
  padding: 8px 12px;
  cursor: pointer;
  border-bottom: 1px solid #f0f0f0;
}

.terminal-list li:last-child {
  border-bottom: none;
}

.terminal-name {
  font-weight: 600;
  color: #222;
}

.terminal-address {
  font-size: 13px;
  color: #666;
}

.terminal-list li:hover {
  background: #f9f9f9;
}


.terminal-selected {
  margin-top: 6px;
  font-size: 13px;
  color: #444;
  background: #f9f9f9;
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 6px 8px;
}


.payment-methods {
  margin-top: 20px;
  max-width: 650px;  /* ограничиваем ширину */
  margin-left: auto;
  margin-right: auto;
}

.payment-option {
  display: block;
  margin-bottom: 10px;
}

.payment-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 12px 16px;
  cursor: pointer;
  transition: all 0.2s ease;
  background: #fff;   /* ✅ только один фон */
}

.payment-info {
  flex: 1;
  margin-top: 0 !important;
}

.payment-title {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 2px;
}

.payment-desc {
  font-size: 13px;
  color: #666;
}

.payment-logos-inline {
  margin-top: 4px;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}



.payment-logos-inline img {
  height: 22px;
  object-fit: contain;
}

.payment-logos-inline2 img {
  height: 32px;
  object-fit: contain;
}

.payment-logos-inline3 img {
  height: 22px;
  object-fit: contain;
}

.payment-option input {
  display: none;
}

.payment-option input:checked + .payment-card {
  border-color: #f34d00;
  box-shadow: 0 0 6px rgba(243,77,0,0.2);
  background: #fff7f5; /* легкий оранжевый фон */
}

/* Кнопка заказа */
.payment-submit {
  text-align: center;
  margin-top: 25px;
  margin-bottom: 25px;
}

.btn-submit {
  background: #f34d00;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  padding: 14px 34px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-submit:hover {
  background: #d93f00;
  box-shadow: 0 4px 10px rgba(243,77,0,0.3);
}

.btn-submit:active {
  transform: scale(0.97);
}


.payment-option {
  transition: all 0.3s ease;
  opacity: 1;
  max-height: 200px; /* достаточно для блока */
  overflow: hidden;
}

.payment-option.hidden {
  opacity: 0;
  max-height: 0;
  margin: 0;
  padding: 0;
}
/* thx.css */
.thankyou-page {
  max-width: 900px;
  margin: 40px auto;
  padding: 20px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  font-family: "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
  color: #333;
}

.thankyou-title {
  color: #f34d00;
  font-size: 28px;
  text-align: center;
  margin-bottom: 10px;
}

.thankyou-subtitle {
  text-align: center;
  font-size: 16px;
  margin-bottom: 30px;
  color: #555;
}

.section-title {
  font-size: 20px;
  font-weight: 600;
  margin: 25px 0 10px;
  border-bottom: 2px solid #f34d00;
  display: inline-block;
  padding-bottom: 4px;
}

.thankyou-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 30px;
}

.thankyou-table th, 
.thankyou-table td {
  padding: 12px;
  border-bottom: 1px solid #eee;
}

.thankyou-table th {
  background: #fafafa;
  text-align: left;
  font-weight: 600;
}

.thankyou-table td {
  font-size: 15px;
}

.total-row td {
  font-weight: 700;
  background: #fff7f5;
  border-top: 2px solid #ddd;
}

.delivery-info {
  background: #f9f9f9;
  border: 1px solid #ddd;
  padding: 12px 16px;
  border-radius: 6px;
  font-size: 15px;
  margin-bottom: 25px;
}

.thankyou-footer {
  text-align: center;
}

.btn-back {
  display: inline-block;
  background: #f34d00;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  padding: 12px 28px;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-back:hover {
  background: #d93f00;
  box-shadow: 0 4px 10px rgba(243,77,0,0.3);
}

/* sidebar.css */
.catalog {
  position: relative;
  border: 1px solid #ccc;
  border-radius: 5px;
  background: #fff;
  box-shadow: 2px 2px 7px rgba(0,0,0,0.3);
  overflow: visible;
}

.catalog h3 {
  padding: 10px 20px;
  background: #4385f3;
  color: #fff;
  font-size: 19px;
  margin: 0;
  font-weight: 500;
}

.catalog h2 {
  padding: 10px 20px;
  background: #ff5400;
  color: #fff;
  font-size: 17px;
  font-weight: 500;
  margin: 0;
}
.catalog h2 a {
 color: #fff;
}
	
.catalog nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.catalog nav li {
  border-bottom: 1px solid #eee;
}

.catalog nav a {
  display: flex;
  align-items: center;
  padding: 10px 20px;
  color: #333;
  text-decoration: none;
  transition: all 0.2s;
}

.catalog nav li:hover > a {
  background: #f9f9f9;
  border-left: 3px solid #ff5400;
}

.cat-icon {
  margin-right: 8px;
  color: #4385f3;
  width: 18px;
  display: inline-flex;
  justify-content: center;
}

.cat-name {
  font-size: 15px;
  font-weight: 400;
}

/* === ОБЩИЙ мегаменю === */
.mega-submenu {
  position: absolute;
  top: 0;
  left: 100%;
  bottom: 0;              /* тянется от верха до низа */
  width: 700px;

  background: #fff;
  border: 1px solid #ccc;
  border-left: none;
  box-shadow: 2px 2px 15px rgba(0,0,0,0.25);

  padding: 20px;
  display: none;
  z-index: 4;

  box-sizing: border-box;
}

.mega-panel {
  display: none;
  height: 100%;
}

.mega-header {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 15px;
  padding-bottom: 8px;
  border-bottom: 2px solid #ff5400;
}

.mega-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px 20px;
}

.mega-columns a {
  display: block;
  font-size: 14px;
  padding: 6px 0;
  color: #333;
  text-decoration: none;
  transition: color 0.2s;
}

.mega-columns a:hover {
  color: #ff5400;
}

/* sidebar_filter.css */
/*  FILTERS STYLING */

/* ============ Контейнер фильтров ============ */
.filter_container {
    background: #fff;
    border: 1px solid #e2e2e2;
    border-radius: 12px;
    padding: 18px 16px;
    margin-top: 15px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
    font-family: "Segoe UI", Arial, sans-serif;
    font-size: 14px;
}

/* ============ Заголовок ============ */
.filter_title {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 15px 0;
    padding-bottom: 6px;
    border-bottom: 2px solid #f34d00;
    color: #222;
    letter-spacing: 0.3px;
}

/* ============ Список фильтров ============ */
.filter_list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.filter_item {
    margin-bottom: 14px;
}

/* ============ Подписи ============ */
.filter_label {
    display: block;
    font-weight: 500;
    margin-bottom: 6px;
    font-size: 14px;
    color: #444;
}

/* ============ Инпуты и селекты ============ */
.filter_input,
.filter_select {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    background-color: #fff;
    box-sizing: border-box;
    transition: border 0.2s, box-shadow 0.2s;
}
.filter_input:focus,
.filter_select:focus {
    border-color: #5686da;
    box-shadow: 0 0 0 2px rgba(86,134,218,0.2);
    outline: none;
}
.filter_select {
    margin-bottom: 12px;
}

/* ============ Цена (от-до) ============ */
.filter_price {
    display: flex;
    align-items: center;
    gap: 8px;
}
.filter_to {
    font-size: 13px;
    color: #666;
}

/* ============ Чекбоксы ============ */
.filter_checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #444;
    margin: 8px 0;
    padding: 6px 10px;
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}
.filter_checkbox:hover {
    background: #f1f1f1;
}
.filter_checkbox input {
    width: 16px;
    height: 16px;
    accent-color: #f34d00; /* оранжевая галочка */
    cursor: pointer;
}

/* ============ Ограничение пунктов (по умолчанию показываем до 4) ============ */
.filter_options {
    max-height: 160px; /* примерно 4 чекбокса */
    overflow: hidden;
    transition: max-height 0.3s ease;
}
.filter_options.expanded {
    max-height: 300px;
    overflow-y: auto;
    padding-right: 5px;
    scrollbar-width: thin;
    scrollbar-color: #ccc transparent;
}
.filter_options.expanded::-webkit-scrollbar {
    width: 6px;
}
.filter_options.expanded::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 3px;
}

/* ============ Кнопка "Rādīt vairāk" ============ */
.filter_more {
    text-align: center;
    margin-top: 6px;
}
.filter_toggle {
    border: none;
    background: #f34d00;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
}
.filter_toggle:hover {
    background: #d73f00;
    transform: translateY(-1px);
}

/* ============ Кнопка "Piemērot" ============ */
.filter_submit {
    text-align: center;
    margin-top: 18px;
}
.filter_button {
    width: 100%;
    background: #f34d00;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    padding: 10px;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
}
.filter_button:hover {
    background: #d73f00;
    transform: translateY(-1px);
}


.filter_search {
    width: 100%;
    padding: 6px 10px;
    margin: 6px 0 10px 0;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 13px;
    box-sizing: border-box;
}
.filter_search:focus {
    border-color: #5686da;
    outline: none;
    box-shadow: 0 0 0 2px rgba(86,134,218,0.2);
}

/* header-mob.css */
/* ===== Мобильная шапка ===== */
.headermob {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  margin: 0;
  z-index: 998;
  background: #5686da;
  border-bottom: 1px solid #ddd;
  padding: 10px;
  color: #fff;
  display: none;
}



.headermob-inner {
  display: flex;
  align-items: center;
  justify-content: space-between; /* бургер+лого слева, поиск+корзина справа */
  gap: 6px;
}


.headermob-inner div {
 flex: 1; 
}


/* кнопки (бургер, поиск) */
.headermob-inner button {
  background: none;
  border: none;
  padding: 8px;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.headermob-inner button img {
  width: 22px;
  height: 22px;
}

/* логотип */
.headermob-inner .logo img {
  height: 22px;
  width: auto;
}

/* корзина */
.headermob .cart-link {
  display: flex;
  align-items: center;
  gap: 3px;
  color: #fff;
}



.headermob-inner .cart-link img {
  width: 22px;
  height: 22px;
}

/* сумма и валюта */
.headermob-inner .backet_sum {
  font-size: 13px;
}
.headermob-inner .currency {
  font-size: 12px;
  opacity: 0.9;
}

/* подсветка при активном состоянии */
.headermob-inner button.active {
  background: rgba(255,255,255,0.2);
}

/* показываем шапку только до 1200px */
@media (max-width: 1200px) {
  .headermob { display: block; }
  .header-box {display: none;}
}



/* ===== Поиск ===== */
.search-mob {
  position: absolute;
  top: 60px;
  left: 0;
  width: 100%;
  background: #fff;
  padding: 10px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
  display: none;
  z-index: 999;
}
.search-mob.active {
  display: block;
  animation: slideDown 0.3s ease;
}
.search-mob form {
  display: flex;
  align-items: center;
  gap: 8px;
}
.search-field-mob {
  flex: 1;
  padding: 8px 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 14px;
}
.search-button-mob {
  background: #5686da;
  border: none;
  border-radius: 6px;
  padding: 6px 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.search-button-mob img {
  width: 20px;
  height: 20px;
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to   { opacity: 1; transform: translateY(0); }
}

.filter-icon{
	margin-right: 3px;
}
/* footer.css */
.footer {
  background: #f0f0f0; /* светло-серый фон */
  padding: 50px 20px;
  border-top: 1px solid #ccc;
  margin-top: 30px;
  font-family: Arial, sans-serif;
  font-size: 14px;
  color: #444;
}

.footer-container {
  max-width: 1430px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 30px;
}

.footer-col h4 {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 15px;
  color: #222; /* тёмные заголовки */
  border-bottom: 1px solid #ddd;
  padding-bottom: 5px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col ul li {
  margin-bottom: 8px;
}

.footer-col ul li a {
  text-decoration: none;
  color: #555;
  transition: 0.3s;
}

.footer-col ul li a:hover {
  color: #ff6600; /* оранжевый при наведении */
}

.footer-about {
  font-size: 13px;
  line-height: 1.6;
  color: #555;
}

.footer-logo {
  max-width: 160px;
  margin-bottom: 15px;
}

.footer-company {
  font-weight: bold;
  margin: 10px 0;
  color: #222;
}

.footer-banners a {
  display: block;
  margin-bottom: 12px;
}

.footer-banners img {
  border: none;
  max-width: 120px;
  height: auto;
  transition: 0.3s;
}

.footer-banners img:hover {
  transform: scale(1.05);
}

/* Мобильная адаптация */
@media (max-width: 992px) {
  .footer-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 600px) {
  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .footer-banners {
  }
}

/* contact.css */
/* ===== Страница контактов ===== */
.contacts-page {
  background:#fff;
  padding:30px;
  border-radius:10px;
  box-shadow:0 2px 8px rgba(0,0,0,.1);
}

.contacts-page h1 {
  font-size:30px;
  font-weight:700;
  color:#222;
  margin-bottom:25px;
  border-bottom:3px solid #f34d00;
  padding-bottom:8px;
}

/* ===== Centrālais birojs ===== */
.office-info {
  background:#f9f9f9;
  padding:25px;
  border-radius:12px;
  border:1px solid #ddd;
  margin-bottom:35px;
  box-shadow:0 2px 6px rgba(0,0,0,.08);
}

.office-info h2 {
  color:#006699;
  margin-bottom:20px;
  font-size:24px;
  border-bottom:2px solid #eee;
  padding-bottom:8px;
}

.office-grid {
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
  gap:20px;
}

.office-block {
  background:#fff;
  border:1px solid #e5e5e5;
  border-radius:10px;
  padding:18px;
  box-shadow:0 1px 4px rgba(0,0,0,.05);
  transition:transform .2s;
}
.office-block:hover { transform:translateY(-3px); }

.office-block h3 {
  font-size:16px;
  font-weight:700;
  margin-bottom:10px;
  display:flex;
  align-items:center;
  gap:8px;
  color:#222;
}
.office-block i { color:#f34d00; }

.office-block p {
  margin:5px 0;
  font-size:14px;
  color:#333;
}

.office-block a {
  color:#006699;
  font-weight:600;
  text-decoration:none;
}
.office-block a:hover { text-decoration:underline; }

/* используем ту же таблицу, что для филиалов */
.schedule-table {
  width:100%;
  border-collapse:collapse;
  font-size:13px;
  color:#444;
}
.schedule-table td {
  padding:4px 6px;
  border-bottom:1px solid #eee;
}
.schedule-table td:first-child {
  font-weight:500;
  width:45%;
}


/* адаптив */
@media(max-width:600px){
  .office-grid { grid-template-columns:1fr; }
}

/* ===== Google Maps ===== */
.map iframe {
  width:100%;
  height:500px;
  border:0;
  border-radius:10px;
  box-shadow:0 3px 8px rgba(0,0,0,.15);
  margin:30px 0;
}

/* ===== Заголовки регионов ===== */
.branches-wrapper h2 {
  font-size:22px;
  margin:25px 0 15px;
  color:#222;
  border-bottom:2px solid #f34d00;
  padding-bottom:5px;
}

/* ===== Карточки филиалов ===== */
.branches-grid {
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
  gap:20px;
  margin-bottom:30px;
}

.branch-card {
  background:#fff;
  border:1px solid #e5e5e5;
  border-radius:12px;
  padding:20px;
  box-shadow:0 2px 8px rgba(0,0,0,.08);
  display:flex;
  flex-direction:column;
  gap:12px;
  transition:transform .2s, box-shadow .2s;
}
.branch-card:hover {
  transform:translateY(-4px);
  box-shadow:0 4px 14px rgba(0,0,0,.15);
}

/* Заголовок с адресом */
.branch-header {
  display:flex;
  align-items:center;
  gap:10px;
  font-size:16px;
  font-weight:700;
  color:#222;
}
.branch-header i { color:#f34d00; }

/* Телефон */
.branch-phone {
  font-size:15px;
  color:#f34d00;
  display:flex;
  align-items:center;
  gap:8px;
}
.branch-phone a {
  color:#f34d00;
  font-weight:600;
  text-decoration:none;
}
.branch-phone a:hover { text-decoration:underline; }

/* Таблица расписания */
.schedule-table {
  width:100%;
  border-collapse:collapse;
  font-size:13px;
  color:#444;
}
.schedule-table td {
  padding:4px 6px;
  border-bottom:1px solid #eee;
}
.schedule-table td:first-child {
  font-weight:500;
  width:45%;
}

/* Кнопка карты */
.map-btn {
  margin-top:auto;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:6px;
  background:#006699;
  color:#fff;
  padding:10px 14px;
  border-radius:6px;
  font-size:14px;
  font-weight:600;
  text-decoration:none;
  transition:background .2s;
}
.map-btn:hover { background:#004466; }

/* lombard.css */
.lombards-section {
  background: #f9f9f9;
  padding: 60px 20px;
}

.lombards-container {
  display: flex;
  align-items: flex-start;
  gap: 40px;
  max-width: 1200px;
  margin: auto;
  flex-wrap: wrap;
}

.lombards-image img {
  max-width: 400px;
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.lombards-content {
  flex: 1;
  font-size: 16px;
  line-height: 1.6;
  color: #333;
}

.lombards-content h2 {
  font-size: 32px;
  margin-bottom: 15px;
  color: #003366;
}

.lombards-content h3 {
  font-size: 20px;
  margin: 20px 0 10px;
  color: #ff6600;
}

.lombards-content ul {
  padding-left: 20px;
  margin-bottom: 20px;
}

.lombards-content li {
  margin-bottom: 8px;
}

.lombards-content .highlight {
  color: #ff6600;
  font-weight: 600;
}

.lombards-content .note {
  font-size: 14px;
  color: #555;
  margin: 15px 0;
}

.cta {
  background: #003366;
  color: #fff;
  padding: 15px 20px;
  border-radius: 8px;
  font-size: 15px;
  margin-top: 20px;
  line-height: 1.5;
  box-shadow: 0 3px 8px rgba(0,0,0,0.15);
}

@media (max-width: 768px) {
  .lombards-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .lombards-content {
    text-align: left;
  }

  .lombards-image img {
    max-width: 100%;
  }
}

/* creditcheck.css */
.credit-check-box {
    background: #fff;
    padding: 25px;
    margin: 20px auto;
    border-radius: 12px;
    box-shadow: 0 3px 8px rgba(0,0,0,0.1);
    max-width: 900px;
    font-family: "Segoe UI", Tahoma, sans-serif;
}
.credit-check-box h2 {
    text-align: center;
    margin-bottom: 20px;
}
.credit-form {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}
.credit-form label {
    display: flex;
    flex-direction: column;
    font-size: 14px;
}
.credit-form input[type=text] {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
}
.credit-form button {
    background: #3b82f6;
    border: none;
    color: #fff;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
}
.credit-form button:hover { background: #2563eb; }
.credit-result { margin-top: 20px; }
.credit-table-box { margin: 15px 0; }
.credit-table-box h3 {
    background: #aa8666;
    color: #fff;
    padding: 7px;
    margin: 0;
    border-radius: 6px 6px 0 0;
}
.credit-table {
    width: 100%;
    border-collapse: collapse;
    background: #fafafa;
}
.credit-table td {
    border: 1px solid #ddd;
    padding: 8px;
}
.credit-table .total td {
    font-size: 16px;
    font-weight: bold;
    background: #f0f0f0;
}
.red { color: #d00; }
.green { color: #090; }
.payment-info {
    margin-top: 15px;
    padding: 12px;
    background: #f9fafb;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
}
.error-box {
    margin: 20px 0;
    padding: 15px;
    background: #fee2e2;
    border: 1px solid #fca5a5;
    color: #b91c1c;
    border-radius: 6px;
    text-align: center;
}

/* sidebar_mob.css */
/* ===== Sidebar ===== */
.sidebarmob {
  position: fixed;
  top: 0;
  left: -270px;
  width: 270px;
  height: 100vh;
  background: #fff;
  border-right: 1px solid #ccc;
  overflow-y: auto;
  scrollbar-width: thin;
  z-index: 1000;
  transition: left 0.3s ease;
  display: flex;
  flex-direction: column;
}
.sidebarmob.open {
  left: 0;
}

/* Шапка сайдбара */
.sidebarmob .top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 15px;
  background: #5686da;
  color: #fff;
  font-weight: 500;
}
.sidebarmob .top a {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
}

.sidebarmob .top .lang  a {
	  display: inline;
}
.sidebarmob .top .lang span {
  margin: 0 5px;
  cursor: pointer;
}
.sidebarmob .top .lang .active {
  font-weight: bold;
  text-decoration: underline;
}
.sidebarmob .close-btn {
  cursor: pointer;
  background: none;
  border: none;
}

/* Меню */
.sidebarmob .menu {
  padding: 10px 0;
  border-bottom: 1px solid #eee;
}
.sidebarmob .menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.sidebarmob .menu li {
  padding: 12px 20px;
  font-size: 15px;
}
.sidebarmob .menu a {
  color: #333;
  text-decoration: none;
  font-weight: 500;
}

/* Каталог */
.sidebarmob .catalog {
  flex: 1;
}
.sidebarmob .catalog nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.sidebarmob .catalog nav li {
  font-size: 15px;
}
.sidebarmob .catalog nav li > a {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #333;
  font-weight: 500;
  text-decoration: none;
  padding: 12px 20px;
}
.sidebarmob .catalog nav li:hover > a {
  background: #faf1ed;
  transition: background 0.3s ease;
}
.sidebarmob .catalog nav a i {
  color: #5686da;
  font-size: 18px;
  width: 20px;
  text-align: center;
}

/* Подменю */
.sidebarmob .submenu {
  max-height: 0;
  overflow: hidden;
  padding-left: 20px;
  background: #f9f9f9;
  transition: max-height 0.3s ease;
}
.sidebarmob li.open > .submenu {
  max-height: 600px; /* запас для плавного раскрытия */
}
.sidebarmob .submenu li a {
  padding: 10px 20px;
  font-size: 14px;
  color: #444;
}
.sidebarmob .submenu li a:hover {
  background: #f1f1f1;
}





