/*
Theme Name: Houzez Child
Theme URI: https://katoikiesrealestate.gr/
Author: Katoikies Real Estate
Description: Child theme for Katoikies — red / black / white branding.
Version: 1.1.0
Template: houzez
Text Domain: houzez
*/

@import url("../houzez/style.css");

/* =========================================================
   Katoikies brand: red / black / white
   ========================================================= */
:root {
  --k-red: #E30613;
  --k-red-dark: #B8050F;
  --k-black: #000000;
  --k-ink: #1A1A1A;
  --k-white: #FFFFFF;
  --k-muted: #6B6B6B;
  --k-line: #E6E6E6;
  --k-soft: #F7F7F7;
}

body {
  color: var(--k-ink);
  background: var(--k-white);
}

a {
  color: var(--k-red);
}
a:hover,
a:focus {
  color: var(--k-black);
}

/* Buttons */
.btn-primary,
.houzez-btn,
.btn-item,
.btn-search,
.search-btn,
.btn-secondary,
.advanced-search .btn,
.widget button[type=submit],
.form-group button[type=submit],
.saved-search-btn,
#save_search_click,
.login-register-form button,
.houzez-theme-button {
  background-color: var(--k-red) !important;
  border-color: var(--k-red) !important;
  color: var(--k-white) !important;
  border-radius: 2px !important;
  box-shadow: none !important;
  font-weight: 600;
}
.btn-primary:hover,
.houzez-btn:hover,
.btn-item:hover,
.btn-search:hover,
.search-btn:hover,
.advanced-search .btn:hover {
  background-color: var(--k-black) !important;
  border-color: var(--k-black) !important;
  color: var(--k-white) !important;
}

/* Top bar */
.header-top-bar,
.top-bar-wrap {
  background: var(--k-black) !important;
  color: var(--k-white) !important;
}
.header-top-bar a,
.top-bar-wrap a {
  color: var(--k-white) !important;
}
.header-top-bar a:hover,
.top-bar-wrap a:hover {
  color: var(--k-red) !important;
}

/* Header */
.header-main-wrap,
.header-desktop .header-inner-wrap,
.navi-wrap {
  background: var(--k-white) !important;
  border-bottom: 1px solid var(--k-line);
}
.main-nav > li > a,
.navbar-nav .nav-link,
.header-desktop .navi a {
  color: var(--k-ink) !important;
  font-weight: 500;
}
.main-nav > li > a:hover,
.main-nav > li.current-menu-item > a,
.main-nav > li.current_page_item > a {
  color: var(--k-red) !important;
}

/* Search */
.advanced-search,
.advanced-search-navi,
.search-expandable {
  border-color: var(--k-line) !important;
}
.advanced-search .form-control,
.advanced-search .bootstrap-select .dropdown-toggle {
  border-color: var(--k-line) !important;
  border-radius: 2px !important;
}
.nav-pills .nav-link.active,
.search-nav .nav-link.active,
.advanced-search-tabs .nav-link.active {
  background: var(--k-red) !important;
  color: var(--k-white) !important;
}

/* =========================================================
   Property listings — cards everywhere
   ========================================================= */
.listing-view .item-listing-wrap .item-wrap,
.property-listing .item-listing-wrap .item-wrap,
.item-listing-wrap .item-wrap,
.hz-prop-cards-module .item-wrap {
  background: var(--k-white);
  border: 1px solid var(--k-line);
  border-radius: 4px;
  overflow: hidden;
  transition: box-shadow .22s ease, transform .22s ease, border-color .22s ease;
}
.listing-view .item-listing-wrap .item-wrap:hover,
.property-listing .item-listing-wrap .item-wrap:hover,
.item-listing-wrap .item-wrap:hover,
.hz-prop-cards-module .item-wrap:hover {
  border-color: rgba(227,6,19,.35);
  box-shadow: 0 12px 30px rgba(0,0,0,.08);
  transform: translateY(-2px);
}

.item-header {
  position: relative;
}
.item-header img,
.listing-view .item-header img {
  object-fit: cover;
}

.item-title a {
  color: var(--k-ink) !important;
  font-weight: 700;
  text-decoration: none;
}
.item-title a:hover {
  color: var(--k-red) !important;
}

.item-price,
.item-price-wrap li,
.item-price-wrapper,
.property-price,
.page-title-wrap .item-price {
  color: var(--k-red) !important;
  font-weight: 700 !important;
}

.label-status,
.hz-label,
.property-labels .label,
.labels-wrap .label {
  background: var(--k-black) !important;
  color: var(--k-white) !important;
  border: 0 !important;
  border-radius: 2px !important;
  font-size: 11px;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: .35rem .55rem;
}
a.label-status[href*="for-sale"],
.label-status.status-color-for-sale {
  background: var(--k-red) !important;
}
a.label-status[href*="for-rent"] {
  background: var(--k-black) !important;
}

.item-amenities,
.item-amenities li,
.item-address,
.item-author,
.item-date,
.item-type {
  color: var(--k-muted);
}

.listing-tools-wrap .list-btn.active,
.listing-tools-wrap .btn.active,
.switch-btn.active {
  color: var(--k-red) !important;
  border-color: var(--k-red) !important;
}

.sidebar .widget,
.property-sidebar .widget {
  border: 1px solid var(--k-line);
  border-radius: 4px;
  background: var(--k-white);
  padding: 1.25rem;
  margin-bottom: 1.25rem;
}
.sidebar .widget-title,
.property-sidebar .widget-title {
  color: var(--k-ink);
  font-weight: 700;
  border-bottom: 2px solid var(--k-red);
  padding-bottom: .5rem;
  margin-bottom: 1rem;
}
.sidebar .list-group-item a:hover,
.sidebar .cat-item a:hover,
.widget_houzez_property_taxonomies a:hover {
  color: var(--k-red) !important;
}

/* Property detail */
.property-detail-wrap,
.detail-wrap,
.property-section-wrap {
  border-color: var(--k-line);
}
.property-section-wrap .block-title-wrap h2,
.property-section-wrap .block-title-wrap h3,
.detail-title,
.page-title {
  color: var(--k-ink);
}
.property-overview-data li strong,
.detail-wrap strong,
.list-2-cols strong {
  color: var(--k-ink);
}

/* Footer */
.footer-top-wrap,
.footer-wrap {
  background: var(--k-black) !important;
  color: var(--k-white) !important;
}
.footer-top-wrap a,
.footer-wrap a {
  color: rgba(255,255,255,.85) !important;
}
.footer-top-wrap a:hover,
.footer-wrap a:hover {
  color: var(--k-red) !important;
}
.footer-bottom-wrap {
  background: #0D0D0D !important;
  border-top: 1px solid rgba(255,255,255,.08);
}

/* Pagination */
.pagination .page-link,
.paginationjs .paginationjs-pages li > a {
  color: var(--k-ink);
  border-color: var(--k-line);
}
.pagination .page-item.active .page-link,
.paginationjs .paginationjs-pages li.active > a {
  background: var(--k-red) !important;
  border-color: var(--k-red) !important;
  color: var(--k-white) !important;
}

/* Compare / floating */
.compare-property-label,
#compare-properties-drawer {
  border-color: var(--k-line);
}

/*kato-home-btt-header-v1*/
/* After sticky/back-to-top Houzez re-applies header-transparent-wrap as absolute
   while child forces white background — that covers the hero. Keep header in flow. */
body.home .header-main-wrap.header-transparent-wrap {
  position: relative !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  width: 100% !important;
}
