
/*
--------------------------------------------------
icons
--------------------------------------------------
*/
.icon-glass {
  width: 30px;
  display: flex;
  align-items: center;
  justify-content: start;
  transform: scale(0.85);
}

.icon-glass::before {
  width: 16px;
  height: 16px;
  content: '';
  border: 1px solid #fff;
  display: inline-block;
  transform: translateY(-4px) rotate(-45deg);
  border-radius: 100px;
}

.icon-glass::after {
  width: 1px;
  height: 10px;
  border: 1px solid #fff;
  content: '';
  display: inline-block;
  transform: translateY(5px) rotate(-45deg);
  background: #fff;
  border-radius: 100px;
}

.icon-heart {
  background-image: url('data:image/svg+xml,<%3Fxml version="1.0" encoding="UTF-8" standalone="no"%3F><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg width="100%" height="100%" viewBox="0 0 67 67" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" xmlns:serif="http://www.serif.com/" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2;"><path d="M33.333,7.427c17.091,-17.568 59.823,13.175 0,52.706c-59.822,-39.527 -17.091,-70.274 0,-52.706" style="fill-opacity:0.5;"/><use xlink:href="%23_Image1" x="0" y="0" width="66.665px" height="62.5px" transform="matrix(0.994995,0,0,0.992063,0,0)"/><defs><image id="_Image1" width="67px" height="63px" xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEMAAAA/CAYAAAC7KnXJAAAACXBIWXMAAA7EAAAOxAGVKw4bAAAFlUlEQVR4nO2bbYgWVRiG73lX149W2lVSijTWzC+kTzXrR5D2oRKkUbQGgkZBGJUYpigZmBFpP4otDPwhFEVmEKHUUmFEJInrprFSIGKZJmFmuIllu3v1Y+bF4cw5774fZ2bctQtEduac576fh5l5z5xzJlCVAKMkLZR0o6SxsX8jJB2T9Iuko5KOSPpY0v4gCKhCJ4g07pfULGlcpHO1pK5Ip6i3X9JHQRD8Xm1elRh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+9eAYYCuy3eX6sl6AjCHTQm75LBQnE1EP4ivmfx3EmtG2CAa0gOVgCe9+TfK8A6i9dfgXG+BG4huXINnnf01Ar2QeNfgLlqWLPQfUCPIXQOuM2rUJUAtwN/G/56gPlpCS6zVL6LGnYAevI1J7oCTJ5IW3iTRfQfYEGqwm4/CyN9k1eyEC8A2y3iPYS7fDMDeNRy6wJsI4MtWEUTw4AvLSYAVmTkwbW/cxdZj4MIBzYfOgxtIKVxCOE44iWH7vbMCxEzVod9ngDCaUSv04aR3lsOvVbfetUYLLXbdxswzJPOsCiejdVpXYlVASzB/nXS98CkGmNPiuKYdANLPKXgF2A+9pFqF7CoypiPYB9DnAXm+c7BK4Sv/icdl/NmynzAET6gXc+Hk8DMtHPxAjCRcO7DRgfG51iW/hOA7xz9jwATs8rFC4STK22OhM4ADzr6PURyda9IG/1kcikBFz5+sX3rAeHP4ZCo7RDcn4Kdx9PHP7kDTAcOORLdC9wZ/W/jEP18qSIB4azZO46EXbwNjMjbe2oAi0nOWJt0AYvz9poJwHUkP+so0k4fvzYDDqAeeNUoxCbC/VaXJsBcwqH23Ly9/Ac7ZfCn05sMpQAAAABJRU5ErkJggg=="/></defs></svg>')
}
/*
--------------------------------------------------
layout
--------------------------------------------------
*/
html {
  scroll-behavior: smooth;
  font-family: 'Poppins';
}

main {
  padding-bottom: 50px;
  background-color: #f9f9f9;
}

.search-hero {
  min-height: 40vh;
  padding-top: 20px;
  padding-bottom: 50px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: left;
  background: var(--primary-color);
  color: #fff;
}

.search-hero .button-primary {
  margin-top: 10px;
}

.query-form {
  margin-top: 30px;
  display: flex;
}

.query-wrapper .container {
  left: 0;
  right: 0;
  bottom: -30px;
  position: absolute;
}

.query-primary {
  width: 100%;
  height: 60px;
  padding: 0;
  display: flex;
  justify-content: start;
  background: transparent;
  border-radius: 50px;
  box-shadow: 0 10px 30px rgba(0,0,0,.1);
  font-size: 0.90em;
}

.query-primary .query-input {
  width: 100%;
  height: inherit;
  margin: 0;
  padding: 10px 20px;
  flex-grow: 1;
  box-sizing: border-box;
  background: #fff;
  border: 0;
  border-top-left-radius: inherit;
  border-bottom-left-radius: inherit;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  border-right: 1px solid #ddd;
  outline: none;
  font-size: inherit;
}

.query-primary .query-filter {
  height: inherit;
  max-width: 90px;
  padding: 10px 5px 10px 20px;
  box-sizing: border-box;
  background: #fff;
  border: 0;
  border-radius: 0;
  outline: none;
  text-align: left;
  font-size: inherit;
  color: #000;
 -webkit-appearance: none;
 -moz-appearance: none;
 -ms-appearance: none;
 -o-appearance: none;
  appearance: none;
}

.query-primary .query-button {
  min-width: 70px;
  height: inherit;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--button-primary-bgcolor);
  border: 0;
  border-radius: 0;
  border-top-right-radius: inherit;
  border-bottom-right-radius: inherit;
  font-size: inherit;
  color: #fff;
}

.featured-listings {
  padding-top: 80px;
}

.featured-listings h2 {
  margin-bottom: 40px;
  font-weight: 600;
  text-align: center;
}

.listings {
  display: grid;
  gap: 25px;
  grid-template-columns: repeat(3, 1fr);
  justify-content: space-between;
}

.listing {
  display: flex;
}

.listing-link {
  text-decoration: none;
}

.listing-actions-body .button-direction:first-child {
  opacity: 0;
}

.listing-link:hover .listing-actions-body .button-direction {
  display: flex;
}

.listing .listing-info {
  display: flex;
  flex-direction: column;
}

.listing-photo {
  width: 100%;
  max-width: 600px;
  margin-bottom: 8px;
  position: relative;
}

.listing-photo img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 12px;
}

.listing-actions {
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 15px;
  position: absolute;
  display: flex;
  flex-direction: column;
}

.listing-actions-head {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}


.listing-actions-body {
  height: 85%;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}

.listing-actions-body div {
  display: flex;
}

.listing-actions-body .button-direction {
  width: 30px;
  height: 30px;
  display: none;
  align-items: center;
  justify-content: center;
  transition: 
    background-color 0.3s ease,
    transform 0.3s ease
  ;
  box-shadow: 0 3px 10px rgba(0,0,0,0.3);
  background-color: rgba(255,255,255,0.9);
  border-radius: 100px;
  font-size: 1.1em;
  font-weight: 300;
  border: 0;
}

.listing-actions-body .button-direction:hover {
  background-color: rgba(255,255,255,1);
  transform: scale(1.1);
}

.listing-actions-foot {
  display: flex;
  justify-content: center;
  align-items: end;
}

.listing-actions-foot .button-pager {
  width: 6px;
  height: 6px;
  margin: 0 4px;
  padding: 0;
  border: 0;
  border-radius: 100px;
  background-color: rgba(200,200,200, 0.9);
}

.listing-actions-foot .button-pager.active {
  background-color: rgba(250,250,250, 0.9);
}

.listing-tag {
  padding: 2px 10px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 10px rgba(0,0,0,0.2);
  background-color: #fff;
  border-radius: 100px;
  font-weight: 500;
  font-size: 0.85em;
  letter-spacing: 0.03em;
  color: #000;
}

.listing-like button {
  margin: 0;
  padding: 0;
  background-color: transparent;
  border: 0;
  text-decoration: none;
  font-size: 0.85em;
  font-weight: 400;
  color: #000;
}

.listing-tag button {
  display: flex;
  align-items: center;
  justify-content: center;
}

.listing-like .icon-heart {
  width: 24px;
  height: 24px;
  display: block;
  background-size: contain;
  background-repeat: no-repeat;
}

.listing-details .detail {
  font-size: 0.90em;
  font-weight: 300;
  color: #777;
}

.listing-info {
  list-style: none;
  letter-spacing: 0.02em;
}

.listing-address {
  font-size: 1.1em;
  font-weight: 500;
  color: #000;
}

.listing-details {
  line-height: 1.45em;
}

.listing-price.detail {
  font-weight: 500;
  color: #000;
}

.listing-days {
  font-size: 0.90em;
  font-weight: 300;
}

@media screen and (min-width: 768px) {
  .menu-button {
    display: none;
  }
}

@media screen and (max-width: 767px) {
  .listings {
    flex-direction: column;
  }

  .listing {
    width: 100%;
  }
}

@media (max-width: 840px) {
  .listings {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .listings {
    grid-template-columns: 1fr;
  }
}