/*
Theme Name: Astra Child
Template: astra
*/
/* Заголовок страницы: крупный, по центру, с отступами */
h1.entry-title {
    font-size: 2.8rem !important;     
    line-height: 1.2;
    text-align: center !important;
    margin-top: 1.1rem !important;      /* отступ сверху от шапки */
    margin-bottom: 1.1rem !important;   /* отступ снизу перед контентом */
	font-family: Roboto condensed, Tahoma;
    font-weight: 700;
}

/* Адаптивность для мобильных */
@media (max-width: 768px) {
    h1.entry-title {
        font-size: 1.8rem !important;   /* ~29px */
        margin-top: 1.8rem !important;
        margin-bottom: 1.2rem !important;
    }
}

/* ===== Листинг домов — обновлённый ===== */
.houses-archive {
  padding: 2.5rem 0;
}

.archive-title {
  text-align: center;
  margin-bottom: 2.5rem;
  font-size: 2.3rem;
  font-weight: 600;
  color: #1a1a1a;
}

.houses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 2.2rem;
}

/* Ограничение: не более 3 колонок на десктопе */
@media (min-width: 1200px) {
  .houses-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
/* === Современная карточка с цветными чипами и подписью цены === */
.house-card--modern {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.07);
  transition: box-shadow 0.3s ease;
  text-align: left;
}
.house-card--modern:hover {
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.1);
}

.house-card__image img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
}

.house-card__body {
  padding: 20px 20px 24px;
}

.house-card__title {
  font-size: 1.3rem;
  margin: 0 0 16px;
  line-height: 1.3;
  font-weight: 600;
  color: #1a1a1a;
}
.house-card__title a {
  color: inherit;
  text-decoration: none;
}
.house-card__title a:hover {
  color: #0073aa;
}

/* === Цветные чипы характеристик === */
.house-card__specs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 18px;
}

.spec-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.9rem;
  border-radius: 22px;
  font-size: 0.88rem;
  font-weight: 600;
  background: #f8f9fa;
  color: #495057;
}

/* === Цветные чипы характеристик === */
.spec--art     { background: #f0f0ff; color: #4b5563; } /* серо-фиолетовый */
.spec--size    { background: #f0fdf4; color: #16a34a; } /* зелёный */
.spec--area    { background: #e6f4ff; color: #0d6efd; } /* синий */
.spec--bedroom { background: #fef3c7; color: #d97706; } /* оранжевый */

.spec-icon {
  font-size: 0.85em;
}

/* === Цена с надписью === */
.house-card__price-label {
  font-size: 1.15rem;
  color: #333;
  margin-bottom: 20px;
  font-weight: 500;
  text-align: center;
}
.house-card__price-value {
  font-weight: 700;
  color: #333;
}

/* === Кнопка "Подробнее" (сохраняем твой стиль) === */
.house-card__btn {
  display: inline-block;
  width: 100%;
  padding: 10px 0;
  background: #f0f8ff;
  color: #333;
  text-align: center;
  font-weight: 600;
  text-decoration: none;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
  border: 1px solid #cce6ff;
}
.house-card__btn:hover {
  background: #178D3D;
  color: white;
  border-color: #0073aa;
}

/* === Адаптивность === */
@media (max-width: 768px) {
  .house-card__image img {
    height: 190px;
  }

  .house-card__title {
    font-size: 1.2rem;
  }

  .house-card__price-label {
    font-size: 1.1rem;
  }
}

/* Мобильная адаптация */
@media (max-width: 768px) {
  .houses-grid {
    grid-template-columns: 1fr;
    gap: 1.8rem;
  }

  .archive-title {
    font-size: 1.9rem;
    margin-bottom: 2rem;
  }

  .house-card__image img {
    height: 200px;
  }
}

.no-houses {
  text-align: center;
  font-size: 1.2rem;
  color: #666;
  padding: 2rem;
}

/* === Бейджи на изображении === */
.house-card__image {
  position: relative;
}

.house-card__badges {
  position: absolute;
  top: 12px;
  left: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  z-index: 2;
}

.badge {
  display: inline-block;
  padding: 4px 10px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  color: white;
  border-radius: 4px;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.badge--hit {
  background: #e74c3c; /* красный — хит */
}

.badge--new {
  background: #2ecc71; /* зелёный — новинка */
}

/* Адаптивность */
@media (max-width: 768px) {
  .house-card__badges {
    top: 10px;
    left: 10px;
  }

  .badge {
    padding: 3px 8px;
    font-size: 0.72rem;
  }
}




/* === Блок характеристик (как на изображении) === */
.project-details-box {
  background: #f8f9fa;
  border-radius: 8px;
  padding: 0;
  box-shadow: none;
}

.project-characteristics {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.detail-item {
  display: flex;
  align-items: center;
  padding: 12px 20px;
  border-top: 1px solid #e9ecef;
  font-size: 0.95rem;
  color: #333;
  transition: background-color 0.2s ease;
}
.detail-item:first-child {
  border-top: none;
}
.detail-item:hover {
  background-color: #fff;
}

.detail-icon {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6c757d;
  margin-right: 12px;
  font-size: 1rem;
}

.detail-label {
  flex-grow: 1;
  font-weight: 500;
  color: #333;
}

.detail-value {
  font-weight: 600;
  color: #333;
  white-space: nowrap;
}
/* Цены */
.pricing-title {
  font-size: 1.25rem;
  font-weight: 600;
text-align:center;
 padding: 16px;
  color: #1a1a1a;
}

.price-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  font-size: 0.85rem;
  border-bottom: 1px solid #C0C5C1;
}

.price-icon {
  color: #000;
  flex-shrink: 0;
}
.price-label {
  color: #555;
  flex-grow: 1;
}
.price-value {
  font-weight: 700;
  color: #333;
   font-size: 1.25rem;
  white-space: nowrap;
}
/* Адаптивность */
@media (max-width: 768px) {
  .project-details-box {
    padding: 0;
  }
  .detail-item {
    padding: 12px 16px;
    font-size: 0.9rem;
  }
  .detail-icon {
    width: 20px;
    height: 20px;
    font-size: 0.9rem;
  }
}


/* === Кнопка "Раскрыть фильтры" === */
.toggle-filters-btn {
  display: none; /* Скрыта на десктопах */
  padding: 12px 20px;
  background: #0073aa;
  color: white;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  margin-bottom: 1.5rem;
  width: 100%;
  text-align: center;
  font-size: 1rem;
}
.toggle-filters-btn:hover {
  background: #005a87;
}

/* Форма фильтров — всегда видна на десктопе */
.houses-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 1.5rem;
  background: #f9f9f9;
  border-radius: 12px;
  margin-bottom: 2rem;
  align-items: end;
}

/* Скрыть форму на мобильных по умолчанию */
@media (max-width: 768px) {
  .toggle-filters-btn {
    display: block;
  }

  .houses-filters {
    display: none;
    flex-direction: column;
    gap: 1.2rem;
    padding: 1.5rem;
  }

  .houses-filters.active {
    display: flex;
  }

  .filter-group {
    width: 100%;
  }

  .filter-reset {
    align-self: center;
    margin-top: 1rem;
  }
}

/* Стили полей */
.filter-group label {
  font-size: 0.9rem;
  color: #555;
}
.filter-group input,
.filter-group select {
  width: 100%;
  padding: 0.6rem;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 1rem;
}
.filter-reset {
  padding: 0.6rem 1rem;
  color: #666;
  text-decoration: none;
  border: 1px solid #ddd;
  border-radius: 6px;
  margin-left: 0.8rem;
}

.simple-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #e6f4ff; /* светло-голубой фон (как в Material/Google) */
  /* Или используй свой цвет: например, var(--primary-color) */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 99999;
}

.loader-logo {
  max-width: 200px;
  height: auto;
  /* При необходимости: filter: brightness(0) invert(1); — если логотип тёмный и нужен белый */
}

 .modern-completions { display: flex; flex-wrap: wrap; gap: 2rem; max-width: 960px; }
    .completion-list {
      flex: 1; min-width: 320px;
      background: var(--bg); border-radius: 14px;
      padding: 2rem; box-shadow: 0 6px 16px var(--shadow);
      border: 1px solid var(--border);
    }

.modern-completions .section-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 1.5rem 0 1rem;
  color: #1a202c;
text-align:left;
  position: relative;
  padding-bottom: 0.5rem;
}
.modern-completions .section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 260px;
  height: 3px;
  background: #008929;
  border-radius: 2px;
}

.modern-completions .spec-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.modern-completions .spec-list li {
  margin-bottom: 0.85rem;
  line-height: 1.5;
  font-size: 0.95rem;
}

.modern-completions .spec-label {
  font-weight: 600;
  color: #000;
  display: inline-block;
  margin-right: 0.4rem;
}

/* Адаптивность */
@media (max-width: 768px) {
  .modern-completions .completion-list {
    padding: 1.25rem;
  }
}
.options-section {
      max-width: 960px;
      margin: 0 auto;
    }

    .section-title {
      font-size: 1.75rem;
      font-weight: 700;
      margin-bottom: 1.5rem;
      color: var(--text);
      text-align: center;
    }

    .options-list {
      display: flex;
      flex-direction: column;
      gap: 1rem;
    }

    .option-item {
      display: flex;
      justify-content: space-between;
      align-items: flex-start;
      padding: 1.25rem;
      background: var(--bg);
      border-radius: 12px;
      border: 1px solid var(--border);
      box-shadow: 0 3px 8px var(--shadow);
    }

    .option-desc {
      flex: 1;
      font-size: 0.98rem;
      line-height: 1.55;
      color: var(--text-light);
      margin-right: 1rem;
    }

    .option-price {
      font-weight: 700;
      font-size: 1.1rem;
      color: var(--accent);
      white-space: nowrap;
      min-width: max-content;
    }

    .option-icon {
      margin-right: 0.6rem;
      color: var(--accent);
      font-weight: bold;
    }

    @media (max-width: 600px) {
      .option-item {
        flex-direction: column;
        align-items: stretch;
      }
      .option-price {
        margin-top: 0.6rem;
        text-align: right;
      }
    }

/* Стрелки — белый цвет на тёмном фоне */
.swiper-button-next,
.swiper-button-prev {
    color: #F6F9F5 !important;
    --swiper-navigation-color: #F6F9F5;
    --swiper-navigation-size: 38px;
}
/* Неактивная точка */
.swiper-pagination-bullet {
    background: #cccccc !important; /* серый */
    opacity: 0.6;
    transition: all 0.3s ease;
}

/* Активная точка */
.swiper-pagination-bullet-active {
    background: #ffffff !important; /* белый */
    opacity: 1;
    transform: scale(1.2);
}

.thumbs-static {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: center;
    margin-top: 12px;
}

.thumb-item {
    width: 60px;
    height: 60px;
    border: 1px solid transparent;
    border-radius: 4px;
    padding: 0;
    background: none;
    cursor: pointer;
    transition: border-color 0.2s, transform 0.2s;
}

.thumb-item:hover {
    transform: scale(1.05);
}

.thumb-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Активная миниатюра */
.thumb-item.active,
.photo-slider-wrapper .thumb-item[style*="border-color: #333"] {
    border-color: #0073aa; /* или ваш акцентный цвет */
}

/* === Сетка фотоотчётов === */
.photo-reports-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 2rem;
  margin: 2rem 2rem;
}

.photo-report-card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
  transition: transform 0.3s ease;
}
.photo-report-card:hover {
  transform: translateY(-5px);
}

.photo-report-image img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.photo-report-title {
  font-size: 1.25rem;
  margin: 1rem 1rem 0.5rem;
}
.photo-report-title a {
  color: #1a1a1a;
  text-decoration: none;
}
.photo-report-title a:hover {
  color: #0073aa;
}

.photo-report-date {
  color: #777;
  font-size: 0.9rem;
  margin: 0 1rem 1rem;
}

/* Пагинация */
.pagination {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin: 2rem 0;
}
.pagination a,
.pagination span {
  display: inline-block;
  padding: 8px 14px;
  text-decoration: none;
  border: 1px solid #ddd;
  border-radius: 4px;
  color: #333;
}
.pagination .current {
  background: #0073aa;
  color: white;
  border-color: #0073aa;
}
/* === Карточка фотоотчёта === */
.photo-report-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.photo-report-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.09);
}

/* Изображение */
.photo-report__image {
  position: relative;
}
.photo-report__image img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 4/3;
  object-fit: cover;
}

/* Тело карточки */
.photo-report__body {
  padding: 18px;
}

.photo-report__title {
  font-size: 1.25rem;
  margin: 0 0 10px;
  line-height: 1.3;
}
.photo-report__title a {
  color: #1a1a1a;
  text-decoration: none;
}
.photo-report__title a:hover {
  color: #0073aa;
}

.photo-report__date {
  color: #777;
  font-size: 0.9rem;
  margin-bottom: 14px;
}

/* Кнопка */
.photo-report__btn {
  display: inline-block;
  padding: 8px 16px;
  background: #e6f4ff;
  color: #0073aa;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: background 0.2s, color 0.2s;
}
.photo-report__btn:hover {
  background: #0073aa;
  color: white;
}

/* Адаптивность */
@media (max-width: 768px) {
  .photo-report__body {
    padding: 16px;
  }
  .photo-report__title {
    font-size: 1.15rem;
  }
}

