.container--calc {
  max-width: 1200px;
  margin: 40px auto;
}
#calc-title-cont{
  min-height: 30px;
}
.calc-title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 30px;
  text-align: center;
}

.main-content {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 40px;
}

.calc-form {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.calc-form input {
  padding: 14px 16px;
  font-size: 16px;
  border: 1px solid #ddd;
  border-radius: 12px;
  background-color: #fff;
}

.side-panel {
  width: 280px;
  text-align: center;
  background-color: #f8f8f8;
  border-radius: 16px;
  padding: 20px;
  height: min-content
}

.side-panel img {
  width: 50%;
  border-radius: 12px;
  margin-bottom: 16px;
}

.no-results-title {
  font-weight: 700;
  margin-bottom: 10px;
}

.no-results-text {
  font-size: 14px;
  color: #555;
  margin-bottom: 20px;
}

.contact-button {
  font-weight: 600;
  background-color: #f0f0f0;
  border: none;
  border-radius: 12px;
  cursor: pointer;
}
.button-back{
  padding: 5px;
  background-color: #f0f0f0;
}
.property-list {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  overflow-x: auto;
}

.property-card {
  background-color: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  min-width: 300px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.property-card img {
  width: 100%;
  height: 180px;
  object-fit: contain;
  border-radius: 12px;
}

.property-card h3 {
  font-size: 18px;
  margin: 0;
}

.property-card p {
  font-size: 14px;
  color: #333;
  margin: 0;
}
.property-card a {
background-color: #f1f1f1;
    border: none;
    padding: 10px;
    font-weight: bold;
    border-radius: 8px;
    margin: 0 15px 15px;
    cursor: pointer;
    text-align: center;
    color: #333333;
  }
.property-card button {
  margin-top: auto;
  padding: 10px;
  border: none;
  background-color: #f0f0f0;
  border-radius: 10px;
  cursor: pointer;
  font-weight: bold;
}
.hidden {
  display: none;
}
.slider-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
}

.property-list.scrollable {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  gap: 20px;
  padding: 20px 0;
}

.slider-btn {
  background-color: #eee;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: 20px;
  cursor: pointer;
}

.slider-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
/* Скрываем нативный скролл */
.property-list.scrollable {
  scrollbar-width: none;       /* Firefox */
  -ms-overflow-style: none;    /* IE/Edge */
}

.property-list.scrollable::-webkit-scrollbar {
  display: none;               /* Chrome/Safari */
}

/* Слайдер-обертка */
.slider-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* Кнопки навигации */
.slider-btn {
  position: absolute;
  top: 50%;
  padding-bottom: 5px;
  transform: translateY(-50%);
  background-color: #ffffff;
  border: 1px solid #ddd;
  border-radius: 50%;
  width: 42px;
  height: 42px;
  font-size: 22px;
  font-weight: bold;
  color: #333;
  cursor: pointer;
  z-index: 2;
  transition: all 0.2s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.slider-btn:hover {
  background-color: #f0f0f0;
  transform: translateY(-50%) scale(1.05);
}

.slider-btn.prev {
  left: 10px;
}

.slider-btn.next {
  right: 10px;
}
.property-card.skeleton {
  pointer-events: none;
  animation: pulse 1.2s infinite ease-in-out;
}

.skeleton-image {
  width: 100%;
  height: 180px;
  border-radius: 12px;
  background: #e0e0e0;
}

.skeleton-line {
  height: 14px;
  background: #e0e0e0;
  border-radius: 6px;
  margin: 10px 0;
}

.skeleton-line.short {
  width: 60%;
}

.skeleton-button {
  margin-top: auto;
  height: 40px;
  background: #e0e0e0;
  border-radius: 10px;
}
.property-card a:hover{
  color: white;
  background-color: #E63A3A;
}
@keyframes pulse {
  0% {
    background-color: #eeeeee;
  }
  50% {
    background-color: #dddddd;
  }
  100% {
    background-color: #eeeeee;
  }
}
input[data-suffix] {
  position: relative;
  padding-right: 24px; /* место под суффикс */
}

input[data-suffix]::after {
  content: attr(data-suffix);
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #999;
  font-size: 14px;
  pointer-events: none;
}
@media(max-width:500px){
  .main-content{
    flex-direction: column;
  }
  .side-panel {
    width: 100%;
  }
}
