/* ==========================================
   SUNSMILE PROPERTY CARD
   Houzez Shortcode Property Card
========================================== */


/* ==========================================
   Card
========================================== */

.elementor-widget-shortcode .sunsmile-property-card {
  display: grid !important;
  grid-template-columns: 40% 60% !important;
  align-items: stretch !important;

  width: 100% !important;
  max-width: 100% !important;
  min-height: 0 !important;

  margin: 0 0 24px !important;
  padding: 0 !important;

  background: #ffffff !important;

  border: 1px solid #d9e2ec !important;
  border-top: 6px solid #0b4a8b !important;

  box-sizing: border-box !important;
  overflow: hidden !important;
}


/* ==========================================
   Image
   4:3
========================================== */

.elementor-widget-shortcode .sunsmile-property-image {
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;

  aspect-ratio: 4 / 3 !important;

  overflow: hidden !important;
}

.elementor-widget-shortcode .sunsmile-property-image a {
  display: block !important;

  width: 100% !important;
  height: 100% !important;
}

.elementor-widget-shortcode .sunsmile-property-image img {
  display: block !important;

  width: 100% !important;
  height: 100% !important;

  min-height: 0 !important;
  max-height: none !important;

  margin: 0 !important;
  padding: 0 !important;

  object-fit: cover !important;
}


/* ==========================================
   Content
========================================== */

.elementor-widget-shortcode .sunsmile-property-content {
  width: 100% !important;
  min-width: 0 !important;
  min-height: 0 !important;

  padding: 20px 30px !important;

  box-sizing: border-box !important;

  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
}


/* ==========================================
   Property ID
========================================== */

.elementor-widget-shortcode .sunsmile-property-top {
  margin: 0 0 4px !important;

  color: #FF7000 !important;

  font-size: 14px !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
  letter-spacing: .03em !important;
}


/* ==========================================
   Property Title
========================================== */

.elementor-widget-shortcode .sunsmile-property-title {
  margin: 0 0 10px !important;
  padding: 0 !important;

  color: #0b2f5b !important;

  font-size: 23px !important;
  font-weight: 700 !important;
  line-height: 1.25 !important;
}


/* ==========================================
   Bedroom / Bathroom / Area
========================================== */

.elementor-widget-shortcode .sunsmile-property-meta {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;

  gap: 5px 22px !important;

  margin: 0 0 10px !important;

  color: #555555 !important;

  font-size: 16px !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
}

.elementor-widget-shortcode .sunsmile-property-meta span {
  white-space: nowrap !important;
}


/* ==========================================
   Excerpt
========================================== */

.elementor-widget-shortcode .sunsmile-property-excerpt {
  margin: 0 0 14px !important;

  color: #333333 !important;

  font-size: 15px !important;
  line-height: 1.55 !important;
}


/* ==========================================
   Detail Button
========================================== */

.elementor-widget-shortcode .sunsmile-property-link {
  display: inline-flex !important;

  align-items: center !important;
  justify-content: center !important;

  align-self: flex-start !important;

  min-width: 180px !important;

  margin: 0 !important;
  padding: 10px 20px !important;

  background: #FF7000 !important;
  color: #ffffff !important;

  border-radius: 999px !important;

  font-size: 15px !important;
  font-weight: 700 !important;
  line-height: 1.4 !important;

  text-decoration: none !important;

  transition:
    background .2s ease,
    transform .2s ease !important;
}

.elementor-widget-shortcode .sunsmile-property-link:hover {
  background: #e96300 !important;
  color: #ffffff !important;

  text-decoration: none !important;

  transform: translateY(-1px);
}


/* ==========================================
   Tablet
========================================== */

@media (max-width: 1024px) {

  .elementor-widget-shortcode .sunsmile-property-card {
    grid-template-columns: 42% 58% !important;
  }

  .elementor-widget-shortcode .sunsmile-property-content {
    padding: 20px 24px !important;
  }

  .elementor-widget-shortcode .sunsmile-property-title {
    font-size: 21px !important;
  }

  .elementor-widget-shortcode .sunsmile-property-meta {
    gap: 5px 15px !important;

    font-size: 15px !important;
  }

}


/* ==========================================
   Smartphone
========================================== */

@media (max-width: 767px) {

  .elementor-widget-shortcode .sunsmile-property-card {
    display: block !important;

    margin-bottom: 20px !important;
  }


  /* Image */

  .elementor-widget-shortcode .sunsmile-property-image {
    width: 100% !important;

    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;

    aspect-ratio: 4 / 3 !important;
  }

  .elementor-widget-shortcode .sunsmile-property-image a {
    width: 100% !important;
    height: 100% !important;
  }

  .elementor-widget-shortcode .sunsmile-property-image img {
    width: 100% !important;
    height: 100% !important;

    min-height: 0 !important;
    max-height: none !important;

    aspect-ratio: 4 / 3 !important;

    object-fit: cover !important;
  }


  /* Content */

  .elementor-widget-shortcode .sunsmile-property-content {
    width: 100% !important;

    padding: 18px 18px 20px !important;
  }


  /* ID */

  .elementor-widget-shortcode .sunsmile-property-top {
    margin-bottom: 5px !important;

    font-size: 13px !important;
  }


  /* Title */

  .elementor-widget-shortcode .sunsmile-property-title {
    margin-bottom: 10px !important;

    font-size: 20px !important;
    line-height: 1.35 !important;
  }


  /* Meta */

  .elementor-widget-shortcode .sunsmile-property-meta {
    gap: 5px 14px !important;

    margin-bottom: 10px !important;

    font-size: 14px !important;
  }


  /* Excerpt */

  .elementor-widget-shortcode .sunsmile-property-excerpt {
    margin-bottom: 13px !important;

    font-size: 14px !important;
    line-height: 1.55 !important;
  }


  /* Button */

  .elementor-widget-shortcode .sunsmile-property-link {
    width: 100% !important;
    min-width: 0 !important;

    padding: 11px 18px !important;

    font-size: 15px !important;
  }

}

/* SUNSMILE Property Overview */
.sunsmile-property-overview {
  --ss-accent: #ff7000;
  --ss-border: #e8e8e8;
  --ss-bg: #fffaf6;
  margin: 0 0 28px;
  color: #333;
  font-size: 16px;
  line-height: 1.85;
}
.sunsmile-property-overview__section {
  margin: 0 0 22px;
  padding: 24px 26px;
  background: #fff;
  border: 1px solid var(--ss-border);
  border-left: 4px solid var(--ss-accent);
  border-radius: 0;
  box-shadow: 0 4px 16px rgba(0,0,0,.04);
}
.sunsmile-property-overview__section--area { background: var(--ss-bg); }
.sunsmile-property-overview__title {
  margin: 0 0 14px !important;
  color: #222;
  font-size: 22px !important;
  font-weight: 700;
  line-height: 1.4 !important;
}
.sunsmile-property-overview p { margin: 0 0 12px; }
.sunsmile-property-overview p:last-child { margin-bottom: 0; }
@media (max-width: 767px) {
  .sunsmile-property-overview { font-size: 15px; line-height: 1.8; }
  .sunsmile-property-overview__section { margin-bottom: 16px; padding: 19px 18px; }
  .sunsmile-property-overview__title { font-size: 19px !important; }
}


/* ==========================================
   Lotte style room metadata
   Bedroom / Bathroom / Area in one row
   ========================================== */
body.single-property .ss-feature .ss-room-meta {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 10px 22px !important;
  margin: 0 0 18px !important;
  padding: 0 !important;
  list-style: none !important;
}
body.single-property .ss-feature .ss-room-meta li {
  display: inline-flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 7px !important;
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  color: #111 !important;
  font-size: 16px !important;
  line-height: 1.3 !important;
  white-space: nowrap !important;
  list-style: none !important;
}
body.single-property .ss-feature .ss-room-meta li::before,
body.single-property .ss-feature .ss-room-meta li::marker {
  display: none !important;
  content: none !important;
}
body.single-property .ss-feature .ss-room-meta i {
  display: inline-block !important;
  flex: 0 0 auto !important;
  margin: 0 !important;
  color: #17384d !important;
  font-size: 21px !important;
  line-height: 1 !important;
}
