/* custom.css - AGP-Dom additional styles */

/* ===== Cyrillic font overrides ===== */
/* Gobold -> Oswald (geometric bold headings with cyrillic) */
h1, h2, h3, h4, h5, h6,
.large-heading, .medium-heading,
.heading h2, .heading h4, .heading h5,
.title-row h2, .title-row h1 {
  font-family: 'Oswald', sans-serif !important;
}

/* Lato with cyrillic for body text */
body,
p, a, span, li, td, th, label, input, select, textarea, button {
  font-family: 'Lato', 'Open Sans', sans-serif;
}

/* Droid Sans -> Open Sans for navigation and UI */
.navigation ul li a,
.navigation-mobile ul li a,
.btn, .form-control,
.meta, .meta-list, .meta-list2 {
  font-family: 'Open Sans', 'Lato', sans-serif;
}

/* Roboto with cyrillic where used */
.properties-descriptions,
.tab-content,
.contents p {
  font-family: 'Roboto', 'Lato', sans-serif;
}

/* Price: bold Oswald for impact */
.price, .btn-danger.disabled {
  font-family: 'Oswald', sans-serif !important;
}

/* Footer */
.main-footer, .footer-sub {
  font-family: 'Open Sans', 'Lato', sans-serif;
}

/* ===== End font overrides ===== */

/* Property card links */
a.property-card-link {
  color: inherit;
  text-decoration: none;
}
a.property-card-link:hover {
  color: #e74c3c;
}

/* Grid box image sizing */
.grid-box .image img {
  width: 100%;
  height: 234px;
  object-fit: cover;
}

/* Property details table */
.property-details-table {
  width: 100%;
  margin-top: 20px;
}
.property-details-table td {
  padding: 10px 15px;
  border-bottom: 1px solid #eee;
  vertical-align: top;
}
.property-details-table td:first-child {
  width: 200px;
  color: #666;
}

/* Price styling */
.price {
  font-weight: bold;
  color: #e74c3c;
}

/* Discount badge */
.property-discount-badge {
  display: inline-block;
  padding: 5px 15px;
  background: #27ae60;
  color: #fff;
  border-radius: 3px;
  font-size: 14px;
}

/* ===== Filter sidebar (matching original template) ===== */

/* Native select styled as template dropdown */
.widget-search .filter_menu2 {
  border: 1px solid #e7e7e7;
  padding: 0;
  float: left;
  width: 100%;
  margin-bottom: 15px;
  background: #fff;
  position: relative;
}

.filter-select,
.filter-input {
  width: 100%;
  padding: 8px 15px;
  border: none;
  background: transparent;
  font-size: 14px;
  color: #555;
  cursor: pointer;
  outline: none;
  font-family: 'Open Sans', 'Lato', sans-serif;
}
.filter-select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23555' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 10px;
}
.filter-select:focus,
.filter-input:focus {
  outline: none;
}
.filter-input {
  cursor: text;
}
/* Hide number input spinners */
.filter-input::-webkit-outer-spin-button,
.filter-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.filter-input[type=number] {
  -moz-appearance: textfield;
}

/* Price/area range labels */
.widget-search .no-slider {
  margin-bottom: 5px;
}
.widget-search .no-slider .info {
  display: block;
  overflow: hidden;
}
.widget-search .no-slider .min,
.widget-search .no-slider .max {
  font-size: 12px;
  color: #999;
  text-transform: uppercase;
}

/* Form inputs inside sidebar */
.widget-search .form-group {
  margin-bottom: 12px;
}
.widget-search .form-control {
  font-size: 14px;
  border: 1px solid #e7e7e7;
  box-shadow: none;
  height: 38px;
}
.widget-search .form-control:focus {
  border-color: #ccc;
  box-shadow: none;
}

/* Submit button */
.widget-search .btn-primary {
  margin-top: 10px;
}

/* Reset button */
.widget-search .btn-ghost.btn-block {
  border: 1px solid #ddd;
  color: #888;
  font-size: 13px;
  padding: 8px;
}
.widget-search .btn-ghost.btn-block:hover {
  background: #f5f5f5;
  color: #555;
}

/* Pagination active state */
.pagination > li.active > a {
  background-color: #333;
  border-color: #333;
  color: #fff;
}
.pagination > li > a {
  color: #333;
}

/* Photo gallery */
.properties-slider .item img {
  width: 100%;
  height: auto;
  max-height: 577px;
  object-fit: cover;
}

/* Communication status */
.text-success {
  color: #27ae60;
  font-weight: bold;
}
.text-muted {
  color: #999;
}

/* No results */
.pad-top-large.text-center h3 {
  color: #666;
}

/* Breadcrumb */
.breadcrumb {
  background: transparent;
  padding: 10px 0;
  margin-bottom: 10px;
}
.breadcrumb > li + li::before {
  content: "/";
  padding: 0 8px;
  color: #999;
}

/* Table responsive */
@media (max-width: 768px) {
  .property-details-table td:first-child {
    width: 120px;
  }
  .grid-box .image img {
    height: 200px;
  }
}

/* Sidebar filter reset button */
.btn-ghost.btn-block {
  text-align: center;
  margin-top: 5px;
  border: 1px solid #ccc;
  color: #666;
}
.btn-ghost.btn-block:hover {
  background: #f5f5f5;
}

/* Header info block */
.header-home .info .description .title {
  font-size: 18px;
}

/* Card grid spacing */
.grid-box-all .grid-box {
  margin-bottom: 30px;
}
