.fav_cursor { cursor: pointer; }

.d-none { display: none !important; }

.fav_input-error {
	/* border: 2px solid #ff0000 !important; */
	color: #ff0000 !important;
}

.fav_input-error::-webkit-input-placeholder { color: #ff0000; }
.fav_input-error:-moz-placeholder { color: #ff0000; opacity: 1; }
.fav_input-error::-moz-placeholder { color: #ff0000; opacity: 1; }
.fav_input-error:-ms-input-placeholder { color: #ff0000; }
.fav_input-error::-ms-input-placeholder { color: #ff0000; }
.fav_input-error::placeholder { color: #ff0000; }

.fav_error > span {
	display: block;
	margin: 0 0 20px 0;
	background-color: #ffeeee;
	border: 0;
	border-left: 4px solid #ff0000;
	font-size: 16px;
	font-weight: 400;
	padding: 13px 20px 13px 24px;
	line-height: 1.4;
	letter-spacing: -.11px;
	color: #252525;
}

.fav_message > span {
	display: block;
	margin: 0 0 20px 0;
	background-color: #ffeeee;
	border: 0;
	border-left: 4px solid #ff0000;
	font-size: 16px;
	font-weight: 400;
	padding: 13px 20px 13px 24px;
	line-height: 1.4;
	letter-spacing: -.11px;
	color: #252525;
}

.fav_elem-hidden { display: none !important; }
.fav_elem-active { display: block !important; }
.fav_elem-disable * { color: #828282 !important; opacity: 0.5; }

.fav_pattern {
	width: 100%;
	height: 100%;
	z-index: 1;
	display: none;
	position: absolute;   
	background: rgba(255, 255, 255, 0.3);
	left: 0;
	top: 0;
}

.fav_pattern::before {  
	content: ""; 
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	width: 100px;
	height: 15px;
	margin: auto;
	position: absolute;
	display: inline-block;    
	background: url('./loading.svg');
	background-size: cover;
	background-position: center;
}

.inner_rating[title="Нет оценок"]{ display: none; }

a.scroll-to-top { 
    background: #404040 url('/bitrix/templates/aspro_max/images/scroll.png') no-repeat scroll center 14px;
}

a.pull-right.font_upper.muted {
    font-size: 15px;
    color: #333333;
}

.fav_button {
	max-width: 350px;
	padding: 15px;
	font-size: 13px;
}

.social-icons li a {
    background-color: #4f5a6b;
    background: url('/bitrix/templates/aspro_max/images/svg/social.svg') 0px -188px no-repeat;
}

.sale_block .sale-number { background: #9a814e; }
.sale_block .sale-number .value { color: #fff; }

.cost.prices .price.discount .muted {
    color: #9a814e !important;
}

.footer-found-error {
	padding: 0 30px 30px 30px;
	text-align: center;
	font-weight: 600;
}

.footer-found-error a { margin: 0 auto; }

footer .wide-subscribe .footer_middle { margin-bottom: 30px; }

.tabs .nav-tabs li.bordered a{
	background: #ac935f;
	color: #fff;
}
.tabs .nav-tabs li.bordered a:hover {
	background: #bfa46c;
}

.tabs .nav-tabs li.bordered.active a{
	background: #fff;
	color: #333;
}
.tabs .nav-tabs li.bordered.active a:hover {
	background: #fff;
}

.fav_delivery_button.fav_delivery_button--active {
    color: #876f45;
}
.fav_delivery_buttons {
	margin-bottom: 20px;
}
.fav_delivery_button {
	margin-right: 20px;
	cursor: pointer;
}

/* Стили для оверлея */
.city-confirmation-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  transition: opacity 0.3s ease;
  padding: 20px;
  backdrop-filter: blur(4px);
}

/* Стили для попапа */
.city-confirmation-popup {
  background: white;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  max-width: 400px;
  width: 100%;
  overflow: hidden;
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.3s ease;
}

/* Шапка попапа */
.city-popup-header {
  display: flex;
  align-items: center;
  padding: 20px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  position: relative;
}

.city-popup-icon {
  width: 24px;
  height: 24px;
  margin-right: 12px;
}

.city-popup-title {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  flex-grow: 1;
}

.city-popup-close {
  background: none;
  border: none;
  color: white;
  font-size: 28px;
  cursor: pointer;
  line-height: 1;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.8;
  transition: opacity 0.2s;
}

.city-popup-close:hover {
  opacity: 1;
}

/* Тело попапа */
.city-popup-body {
  padding: 25px 20px 10px 20px;
  text-align: center;
}

.city-popup-text {
  font-size: 16px;
  margin-bottom: 25px;
  color: #333;
  line-height: 1.5;
}

.city-popup-text strong {
  color: #9D8352;
}

/* Кнопки попапа */
.city-popup-buttons {
  display: flex;
  gap: 10px;
  justify-content: center;
}

.city-popup-btn {
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  min-width: 120px;
}

.city-popup-btn-yes {
  background: #28a745;
  color: white;
}

.city-popup-btn-yes:hover {
  background: #218838;
}

.city-popup-btn-no {
  background: #f8f9fa;
  color: #dc3545;
  border: 2px solid #dc3545;
}

.city-popup-btn-no:hover {
  background: #dc3545;
  color: white;
}

/* Футер попапа */

.city-popup-hint {
  font-size: 10px;
  color: rgba(81, 73, 63, 0.81);
  margin: 0;
  line-height: 1.4;
}

/* Адаптивные стили */
@media (max-width: 832px) {
  .city-confirmation-overlay {
	padding: 0;
  }
  .popup.city_chooser_small_frame {
	width: 100%;
	max-width: 100%;
	height: 100dvh;
	overflow-x: hidden;
	overflow-y: auto;
	border-radius: 0;
  }

  .popup.city_chooser_small_frame .form .form_head {
	padding: 20px 16px 0 16px;
  }
  .popup_regions .h-search {
	padding: 20px 16px;
  }
  .popup_regions .items.only_city {
	padding: 20px 16px;
  }
  
  .city-popup-header {
	padding: 15px;
  }
  
  .city-popup-body {
	padding: 20px 15px;
  }
  
  .city-popup-buttons {
	flex-direction: column;
  }
  
  .city-popup-btn {
	width: 100%;
	min-width: auto;
  }
  
  .city-popup-title {
	font-size: 16px;
  }
  
  .city-popup-text {
	font-size: 15px;
  }
}