/*
Theme Name: Homey Child
Template: homey
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

/* Body */
body {
  font-family: 'Inter', sans-serif;
  margin: 0;
  padding: 0;
}

/* --------- Header Search Styles --------- */
.header-nav .raahtak-search-bar {
  display: flex;
  align-items: center;
  background: white;
  border-radius: 50px;
  padding: 12px 20px;
  width: 100%;
  max-width: 700px;
  margin: 0 auto;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

.header-nav .raahtak-header-padding {
  margin-top: 15px;
  margin-bottom: 15px;
}

.header-nav .raahtak-search-bar input.form-control {
  flex-grow: 1;
  border: none;
  outline: none;
  font-size: 16px;
  padding: 10px 12px;
  background: transparent;
  width: 100%;
}

.header-nav .raahtak-search-bar .btn {
  background-color: #2962ff;
  border: none;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  margin-left: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  cursor: pointer;
}

.header-nav .raahtak-search-bar .btn svg {
  width: 18px;
  height: 18px;
}
end->>>>
------------------------------------------------------------------------------------------------------------------------------------------------ */


/* ------------------=== GRID WRAPPER FOR CARDS ===---------------------------------------------------------------- */
.figma-cards-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 4 columns */
  gap: 30px;
  padding: 20px 0;
  
}

/* === RESPONSIVE BREAKPOINTS === */
@media (max-width: 1199px) {
  .figma-cards-container {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 767px) {
  .figma-cards-container {
    grid-template-columns: repeat(3, 1fr); 
  }
}
@media (max-width: 480px) {
  .figma-cards-container {
    grid-template-columns: repeat(2, 1fr); 
  }
}

/* === INDIVIDUAL CARD === */
.figma-style-card {
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
  width: 100%;
  box-sizing: border-box;
}

.figma-style-card:hover {
  transform: translateY(-5px);
}

/* === CARD IMAGE === */
.figma-card-img-wrapper {
  position: relative;
}

.figma-img {
  width: 100%;
  height: auto;
  display: block;
}

/* === PRICE TAG === */
.price-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: #fce300;
  color: #000;
  padding: 6px 10px;
  font-weight: 700;
  border-radius: 30px;
  font-size: 13px;
  z-index: 5;
}

/* === MANAGEMENT TAG === */
.tag-management {
  position: absolute;
  top: 14px;
  right: 14px;
  background: #fff;
  color: #333;
  padding: 6px 12px;
  font-size: 12px;
  border-radius: 20px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
  z-index: 5;
}

/* === CARD BODY === */
.figma-card-body {
  padding: 16px 20px;
}

/* === TITLE + RATING === */
.figma-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.figma-card-body .title {
  font-size: 17px;
  font-weight: 600;
  color: #222;
  margin: 0;
}

.figma-card-body .title a {
  text-decoration: none;
  color: inherit;
}

.rating-badge {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  font-weight: 500;
  color: #000;
}

.rating-badge img {
  width: 16px;
  height: 16px;
}

/* === LOCATION === */
.location {
  font-size: 14px;
  color: #777;
  margin-bottom: 12px;
}

/* === DETAILS (beds, bath, area) === */
.details-row {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
}

.details-row .detail {
  font-size: 14px;
  color: #007bff;
  text-decoration: none;
  font-weight: 500;
}

.details-row .detail-highlight {
  border-bottom: 1px solid #007bff;
}

/* === BOTTOM ICONS === */
.bottom-icon-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #eee;
  padding-top: 14px;
  margin-top: 16px;
}

.icon-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 12px;
  color: #444;
  gap: 4px;
  text-align: center;
}

.icon-group img {
  width: 20px;
  height: 20px;
}



/*------------------------------------------------------------------------------------------------------------------------------------------------
                    mobile search.CSS
------------------------------------------------------------------------------------------------------------------------------------------------ */

.search-wrap.search-banner.search-banner-mobile.mobile-search-js .form-control {
  border-radius: 102px; 
}

.search-wrap.search-banner.search-banner-mobile.mobile-search-js .search-destination::after {
  left: 270px;
  top: 4px;
  color: white;
  background-color: #3A86FF;
  padding: 15px;
  border-radius: 100px;
}

.search-banner .search-destination input.form-control {
  padding-left: 15px;
}

.search-destination::after {
  content: url('https://dev3.petalwebdev.com/wp-content/uploads/2025/07/Vector.svg');
}