/*
Theme Name:  Listeo ChildTheme
Theme URI: http://listeo.pro
Author: Purethemes
Author URI: http://themeforest.net/user/purethemes
Description: Directory WordPress Theme by Purethemes
Version: 1.0
License: ThemeForest
License URI: http://themeforest.net/licenses
Text Domain: listeo
Domain Path: /languages/
Tags: light, responsive-layout, post-formats, theme-options, translation-ready, two-columns
Template:  listeo
*/

/* ============================================
   Poppins Local Font
   ============================================ */

@font-face {
    font-family: 'PoppinsLocal';
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url('/wp-content/fonts/poppins/pxiEyp8kv8JHgFVrJJbecmNE.woff2') format('woff2');
}

@font-face {
    font-family: 'PoppinsLocal';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('/wp-content/fonts/poppins/pxiEyp8kv8JHgFVrJJfecg.woff2') format('woff2');
}

/* Use 400 file also for medium (500) if needed */
@font-face {
    font-family: 'PoppinsLocal';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('/wp-content/fonts/poppins/pxiEyp8kv8JHgFVrJJfecg.woff2') format('woff2');
}

@font-face {
    font-family: 'PoppinsLocal';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('/wp-content/fonts/poppins/pxiEyp8kv8JHgFVrJJnecmNE.woff2') format('woff2');
}

/* Alias 700 bold to the 600 file so the browser stops faking it */
@font-face {
    font-family: 'PoppinsLocal';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('/wp-content/fonts/poppins/pxiEyp8kv8JHgFVrJJnecmNE.woff2') format('woff2');
}

/* ============================================
   Global Typography
   ============================================ */

body,
p,
span,
a,
li,
label,
small,
em,
div,
table,
td,
th {
    font-family: 'PoppinsLocal', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
    font-weight: 400;
}

/* Headings – use semi-bold instead of ultra-bold */
h1, h2, h3, h4, h5, h6 {
    font-family: 'PoppinsLocal', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
    font-weight: 600;
}

/* Real bolds – map to 600 so they look clean */
strong,
b,
.bold,
.listing-title strong {
    font-family: 'PoppinsLocal', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
    font-weight: 600 !important;
}

/* Form controls & selects */
button,
input,
select,
textarea,
.select2-container--default .select2-selection--single,
.select2-container--default .select2-selection--multiple {
    font-family: 'PoppinsLocal', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
}

/* Listeo / theme specific containers */
.listing-title,
.listing-item,
.listing-item-content,
.property-card,
.sidebar,
.widget,
.header,
.main-navigation,
.footer {
    font-family: 'PoppinsLocal', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
}

/* ============================================
   General Tweaks
   ============================================ */

.sidebar.left {
    margin-top: 50px;
}

/* Sponsored badge on cards */
.card .badge-sponsored {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #e75f51;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 3px;
    text-transform: uppercase;
    z-index: 5;
}
.card .card-media {
    position: relative;
}

/* Hide FAQ tab + section for now */
#listing-faq {
  display: none;
}
#listing-nav-faq {
  display: none;
}

/* Search icon in main search bar */
#listeo-search-form_location_search a{
  	right: 20px;
    position: absolute;
    top: 10px;
    z-index: 999;
}

.title-black {
  color: black !important;
}

/* Toolbar chips (home filters) */
.toolbar {
  display: flex;
  gap: 10px;
  align-items: center;
  margin: 16px 0;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .toolbar {
    flex-wrap: nowrap;
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: none;
  }
  .toolbar::-webkit-scrollbar {
    display: none;
  }
  .chip {
    flex-shrink: 0;
  }
}

/* ============================================
   Logo
   ============================================ */

#logo img,
#listeo_logo,
.header-logo img,
.logo img {
    height: auto !important;
    width: auto !important;
    max-height: 80px !important;   /* desktop size */
    object-fit: contain !important;
}

/* Mobile: force logo height */
@media (max-width: 768px) {
  body header #logo img#listeo_logo {
    height: auto !important;
    width: auto !important;
    max-height: 70px !important;
    object-fit: contain !important;
  }
}

/* Align search icons perfectly with the input */
.search-wrap .field {
    position: relative;
}

.search-wrap .field .icon {
    position: absolute;
    left: 24px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    line-height: 1;
    pointer-events: none;
}

/* make room for the icon inside the input */
.search-wrap .field input {
    padding-left: 48px;
}

/* ============================================
   Wallet / Stripe status UI
   ============================================ */

/* Flex row: title on the left, Stripe status on the right (Wallet only) */
.dashboard-title-row.wallet-dashboard-headline{
  display:flex;
  align-items:center;
  justify-content:space-between;
}

/* Stripe status pill in titlebar */
.wallet-stripe-status-link{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:4px 10px;
  border-radius:999px;
  background:#f3f4f6;
  font-size:13px;
  text-decoration:none;
  color:#4b5563;
}

.wallet-stripe-status-dot{
  width:8px;
  height:8px;
  border-radius:999px;
  background:#ef4444; /* default: not connected */
}

/* Connected / not connected variants */
.wallet-stripe-status--connected .wallet-stripe-status-dot{
  background:#16a34a;
}

.wallet-stripe-status--connected.wallet-stripe-status-link{
  color:#15803d;
}

.wallet-stripe-status--disconnected.wallet-stripe-status-link{
  color:#b91c1c;
}

/* Dashboard Nav Tweaks */
.dashboard-nav ul[data-submenu-title]::before {
  color: #13365c !important;
  font-size: 20px !important;
  font-weight: 900;
  text-transform: none;
  letter-spacing: 0;
  padding: 15px 0px;
}

/* Base color for sidebar links */
.dashboard-nav ul li a {
  color: #13365c !important;
}

/* Icons next to items */
.dashboard-nav ul li a i {
  color: #13365c;
}

/* Hover + active state */
.dashboard-nav ul li.active > a,
.dashboard-nav ul li a:hover {
  color: #13365c !important;
}

.dashboard-nav ul li.active > a i,
.dashboard-nav ul li a:hover i {
  color: #13365c !important;
}

/* Submenu toggle arrows, if any */
.dashboard-nav ul li span.nav-tag,
.dashboard-nav ul li a:after {
  color: #13365c !important;
  border-color: #13365c !important;
}

.dashboard-nav-inner > ul:nth-child(1) {
	padding-top: 20px !important;
}

/* Small inline Stripe status pill next to "Wallet" */
.wallet-stripe-status-pill{
  display:inline-flex;
  align-items:center;
  gap:4px;
  padding:0px 8px !important;
  margin-left:10px;
  border-radius:999px;
  background:#f5f5f5;
  font-size:8px !important;
  font-weight:500;
  color:#6b7280 !important;
  text-decoration:none;
  vertical-align:middle;
}

.wallet-stripe-status-pill .wallet-stripe-status-dot{
  width:6px;
  height:6px;
  border-radius:999px;
  background:#ef4444; /* default: not connected */
}

/* Connected / not connected colors – subtle */
.wallet-stripe-status-pill.wallet-stripe-status--connected{
  color:#15803d;
  background:#e5f9ec;
}
.wallet-stripe-status-pill.wallet-stripe-status--connected .wallet-stripe-status-dot{
  background:#16a34a;
}

.wallet-stripe-status-pill.wallet-stripe-status--disconnected{
  color:#b91c1c;
  background:#fee2e2;
}
.wallet-stripe-status-pill.wallet-stripe-status--disconnected .wallet-stripe-status-dot{
  background:#ef4444;
}

/* ============================================
   Map marker / Leaflet tweaks
   ============================================ */

/* Put our custom icon inside Listeo's circle marker */
.circle-point .leaflet-marker-icon {
  background-image: url('/wp-content/themes/listeo-child/images/homiqo1.png');
  background-size: 60% auto;
  background-repeat: no-repeat;
  background-position: center center;
  border-radius: 50%;
}

/* Make sure any default white fill doesn't cover our image */
.circle-point .leaflet-marker-icon::before,
.circle-point .leaflet-marker-icon::after {
  background-color: transparent !important;
}

/* SINGLE LISTING MAP – make it a static image-like block */
#singleListingMap {
  pointer-events: none;
}

/* Hide the Leaflet zoom control (+ / - buttons) on single listings */
.single-listing .leaflet-control-zoom {
  display: none !important;
}

/* ============================================
   Single Listing: back button
   ============================================ */

.listing-back-wrapper {
    margin-bottom: 10px;
}

.listing-back-button {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 999px;
    border: 1px solid #d1d5db;
    background: #ffffff;
    color: #111827;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.listing-back-button i {
    font-size: 12px;
}

.listing-back-button:hover {
    background: #111827;
    color: #ffffff;
    border-color: #111827;
}

/* ============================================
   Booking fee note
   ============================================ */

.homiqo-fee-note {
    margin-top: 8px;
    padding-top: 6px;
    border-top: 1px solid #e5e7eb;
    font-size: 12px;
    color: #4b5563;
}

.homiqo-fee-line {
    display: flex;
    justify-content: space-between;
    margin-top: 2px;
}

.homiqo-fee-line strong {
    font-weight: 600;
}

.homiqo-fee-tax {
    margin-top: 4px;
    font-style: italic;
    color: #6b7280;
}

/* ============================================
   Homepage card price color
   ============================================ */

.listing-search-main .card-foot .price,
.listing-search-main .card-foot .price small {
  color: #163654;       /* Homiqo dark blue */
}



/* ============================================
   Single Listing: amenities section
   (wizard-driven feature groups)
   ============================================ */

/* Homiqo amenities section */
#homiqo-features .homiqo-amenities-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 20px 0 24px;
}

@media (max-width: 1024px) {
  #homiqo-features .homiqo-amenities-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  #homiqo-features .homiqo-amenities-grid {
    grid-template-columns: 1fr;
  }
}

#homiqo-features .homiqo-amenities-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 16px 18px 14px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 4px 10px rgba(15,23,42,0.03);
}

#homiqo-features .homiqo-amenities-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

#homiqo-features .homiqo-amenities-card h3 i {
  font-size: 18px;
  color: #111827;
}

/* list reset */
#homiqo-features .homiqo-amenities-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* each amenity row */
#homiqo-features .homiqo-amenities-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 4px;
  font-size: 14px;
  color: #111827;
}

/* unified green pill check */
#homiqo-features .homiqo-amenities-list li::before {
  content: "✓";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: #ecfdf3;
  color: #16a34a;
  font-size: 12px;
  flex-shrink: 0;
}


/* Homiqo: key facts row (beds, guests, bathrooms, setting) */
.listing-details.homiqo-key-details {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 20px 0 24px;
  padding: 0;
  list-style: none;
  background: transparent !important;   /* kill grey strip */
  border: none !important;
  box-shadow: none !important;
}

/* each fact = its own pill card */
.listing-details.homiqo-key-details li {
  flex: 1 1 calc(25% - 16px); /* 4 per row on large screens */
  display: flex;
  align-items: center;        /* icon vertically centered vs multi-line text */
  gap: 10px;
  margin: 0;
  padding: 12px 16px;
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  box-shadow: 0 4px 10px rgba(15,23,42,0.04);
  position: relative;
}

/* icon bubble – force it out of any Listeo positioning */
.listing-details.homiqo-key-details li i {
  position: static !important;          /* reset any absolute / relative from theme */
  left: auto !important;
  top: auto !important;
  transform: none !important;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: #fee2e2;       /* soft coral */
  color: #e75f51;            /* Homiqo coral */
  font-size: 16px;
  margin: 0;                 /* no overlap margin tricks */
}

/* text */
.listing-details.homiqo-key-details li,
.listing-details.homiqo-key-details li span {
  color: #163654;
  font-weight: 500;
  font-size: 15px;
}

/* medium screens: 2×2 */
@media (max-width: 900px) {
  .listing-details.homiqo-key-details li {
    flex: 1 1 calc(50% - 16px);
  }
}

/* small screens: 1 per row */
@media (max-width: 600px) {
  .listing-details.homiqo-key-details li {
    flex: 1 1 100%;
  }
}

.footer-new-bottom-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  width:100%;
}

.footer-new-bottom-left{
  flex:1 1 auto;
}

.footer-new-bottom-right{
  flex:0 0 auto;
  display:flex;
  align-items:center;
  gap:16px;
  text-align:right;
}

.footer-devby{
  white-space:nowrap;
}

@media (max-width: 767px){
  .footer-new-bottom-inner{
    flex-direction:column;
    align-items:flex-start;
  }
  .footer-new-bottom-right{
    width:100%;
    flex-direction:column;
    align-items:flex-start;
    text-align:left;
  }
  .footer-devby{
    white-space:normal;
  }
}

.homiqo-card-rating{
	display:flex;
	align-items:center;
	gap:10px;
	margin: 2px 0 8px;
}
.homiqo-stars{
	display:inline-flex;
	gap:2px;
	line-height:1;
	color:#f6b300;
}
.homiqo-stars i{ font-size:14px; }
.homiqo-rating-link{
	color: inherit;
	text-decoration: none;
	opacity: .85;
}
.homiqo-rating-link:hover{ opacity: 1; text-decoration: underline; }

.homiqo-single-topbar{
	display:flex;
	align-items:center;
	gap:12px;
	flex-wrap:wrap;
	margin: 10px 0 14px;
}

.homiqo-back-compact{
	padding-top: 6px !important;
	padding-bottom: 6px !important;
	line-height: 1 !important;
}

.homiqo-topbar-type{
	font-weight: 600;
	color: rgba(15,23,42,.72);
}

.homiqo-topbar-price{
	margin-left:auto;
}
@media (max-width: 768px){
	.homiqo-topbar-price{
		margin-left:0;
		width:auto; /* pill stays compact */
	}
}

