/* V2 Search — Two-column layout */

.bub-search-v2 {
  margin: 0;
}

.v2-layout {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.v2-left-column {
  flex: 1 1 0%;
  min-width: 0;
}

.v2-right-column {
  flex: 0 0 42%;
  max-width: 42%;
  position: sticky;
  top: 80px;
  align-self: flex-start;
  height: calc(100vh - 100px);
}

#v2-map {
  width: 100%;
  height: 100%;
  border-radius: 10px;
}

#v2-map .gm-style-iw-chr {
  position: absolute;
  top: 25px;
  right: 25px;
  border-radius: 50%;
  padding: 0;
  width: 32px;
  height: 32px;
}

#v2-map .gm-style-iw-chr button {
  width: 24px!important;
  height: 24px!important;
  background: #fff!important;
  border-radius: 50%!important;
}

#v2-map .gm-style-iw-chr button span {
  width: 16px!important;
  height: 16px!important;
  margin: 0 0 0 4px!important;
}

#v2-map .gm-style-iw-d {
  padding-top: 20px;
  padding-left: 5px;
}

.v2-map-tooltip img {
    min-width: 250px;
}

.v2-map-tooltip h4,
.v2-map-tooltip p {
    max-width: 250px;
}


.v2-tooltip-stats {
  display: flex;
  gap: 16px;
  margin: 5px 0;
}

.v2-tooltip-stats i {
  font-size: 6px;
}

.v2-tooltip-stats svg {
  max-width: 18px;
}

.v2-map-tooltip p {
  font-style: italic;
}

.v2-tooltip-tags span {
  padding: 3px 7px;
  background: #eca844;
  border-radius: 5px;
  color: #fff;
  font-size: 10px;
}

.v2-tooltip-tags {
  display: flex;
  gap: 4px;
}

/* Form */

#availability-form-v2 {
  margin-bottom: 20px;
}

#availability-form-v2 .v2-field-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: end;
}

#availability-form-v2 .v2-field.v2-field-date {
  flex: 1 1 280px;
}

#availability-form-v2 .v2-field {
  flex: 1 1 140px;
}

#availability-form-v2 .v2-field label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  margin-bottom: 4px;
  color: #4a4a4a;
}

#availability-form-v2 select {
  width: 100%;
  height: 42px;
  border: 1px solid #d8dee6;
  border-radius: 6px;
  padding: 0 12px;
  background: #fff;
  font-size: 13px;
  appearance: auto;
}

#availability-form-v2 .v2-field-submit {
  display: flex;
  align-items: flex-end;
}

#availability-form-v2 .v2-search-button {
  width: 100%;
  height: 42px;
  border: 0;
  border-radius: 6px;
  background: var(--bub-ownerrez-plugin-primary-color, #0b4e79);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  padding: 0 24px;
  white-space: nowrap;
}

/* Pseudo date fields */

.v2-field-date {
  position: relative;
}

#v2-pseudoFields {
  display: flex;
  gap: 8px;
}

.v2-pseudoField-arrival,
.v2-pseudoField-departure {
  flex: 1;
}

.v2-pseudo-field {
  height: 42px;
  min-width: 120px;
  display: flex;
  align-items: center;
  padding: 0 12px;
  border: 1px solid #d8dee6;
  border-radius: 6px;
  background: #fff;
  cursor: pointer;
  font-size: 13px;
  color: #333;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Results */

.property-count-v2 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
}

.ownerrez-properties-grid-v2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* Card */

.ownerrez-property-card-v2 {
  position: relative;
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 10px;
  overflow: hidden;
}

.ownerrez-property-card-v2 .property-url {
  position: absolute;
  inset: 0;
  z-index: 5;
}

.ownerrez-property-card-v2 .v2-card-gallery {
  height: 220px;
  overflow: hidden;
  position: relative;
}

.ownerrez-property-card-v2 .swiper-slide {
  background-position: center;
  background-size: cover;
}

.ownerrez-property-card-v2 .property-button-next-v2,
.ownerrez-property-card-v2 .property-button-prev-v2 {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  z-index: 8;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.ownerrez-property-card-v2:hover .property-button-next-v2,
.ownerrez-property-card-v2:hover .property-button-prev-v2 {
  opacity: 1;
}

.ownerrez-property-card-v2 .property-button-next-v2:after,
.ownerrez-property-card-v2 .property-button-prev-v2:after {
  font-size: 15px;
}

.ownerrez-property-card-v2 .swiper-pagination-v2 {
  bottom: 8px;
  z-index: 8;
}

.ownerrez-property-card-v2 .swiper-pagination-bullet {
  background: rgba(255, 255, 255, 0.5);
  opacity: 1;
}

.ownerrez-property-card-v2 .swiper-pagination-bullet-active {
  background: rgba(255, 255, 255, 0.95);
}

.ownerrez-property-card-v2 .v2-card-content {
  padding: 16px 20px 20px;
}

.ownerrez-property-card-v2 h3 {
  font-size: 20px;
  line-height: 1.2;
  margin: 0 0 6px;
}

.ownerrez-property-card-v2 .v2-location {
  font-size: 13px;
  color: #666;
  margin-bottom: 6px;
}

.ownerrez-property-card-v2 .v2-price-row {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 6px;
}

.ownerrez-property-card-v2 .v2-price-row.is-hidden {
  display: none;
}

.ownerrez-property-card-v2 .v2-meta-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 14px;
}

.ownerrez-property-card-v2 .v2-secondary-row {
  margin-top: 8px;
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 13px;
}

.v2-type-col span {
  color: #fff;
  background: #eca844;
  padding: 3px 8px 2px;
  display: inline-block;
  border-radius: 10px;
  font-size: 12px;
  font-family: 'Montserrat';
}


span.v2-pool {
  background: #4797ed;
}

span.v2-pets {
  background: #eb8f62;
}

.v2-tooltip-tags span.tooltip-pets-allowed {
  background: #eb8f62;
}

span.tooltip-pool,
.v2-tooltip-tags span.tooltip-private-pool {
  background: #4797ed;
}

.v2-type-col span:not(:last-child) {
  margin-right: 5px;
}


.ownerrez-property-card-v2 .v2-reviews {
  font-weight: 600;
}

span.bub-featured-card__reviews svg,
span.v2-reviews svg {
  color: #ffc107;
  font-size: 12px;
  padding-bottom: 1px;
  margin-right: 5px;
}

span.bub-featured-card__cat {
  background: #dc8f15;
}

/* Pagination */

#v2-pagination-container {
  margin-top: 16px;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

#v2-pagination-container a {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  border: 1px solid #d4dbe3;
  color: #293241;
  text-decoration: none;
  font-size: 14px;
}

#v2-pagination-container a.active {
  background: var(--bub-ownerrez-plugin-primary-color, #0b4e79);
  color: #fff;
  border-color: var(--bub-ownerrez-plugin-primary-color, #0b4e79);
}

/* Reset button */

#v2-response-reset {
  display: inline-block;
  margin-bottom: 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--bub-ownerrez-plugin-primary-color, #0b4e79);
  text-decoration: underline;
  cursor: pointer;
}

#v2-response-reset:hover {
  opacity: 0.75;
}

/* Map tooltip */

.v2-map-tooltip .bub-new-listing-badge.tooltip-badge {
  position: absolute;
  bottom: auto;
  right: auto;
  top: 30px;
  left: 30px;
  font-size: 10px;
  padding: 3px 7px 2px;
}

.v2-map-tooltip img {
  width: 180px;
  height: 100px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 6px;
}

.v2-map-tooltip h4 {
  margin: 0 0 4px;
  font-size: 15px;
}

.v2-map-tooltip p {
  margin: 0;
  font-size: 12px;
}

/* Featured properties V2 */

.bub-featured-v2-section {
  margin: 40px 0;
}

.bub-featured-v2-title {
  font-size: 26px;
  font-weight: 700;
  margin: 0 0 18px;
}

.bub-featured-v2-swiper {
  padding: 10px 10px 32px!important;
}

.bub-featured-card {
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 13px rgba(15, 23, 42, 0.12);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.bub-featured-card__link {
  color: inherit;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.bub-featured-card__image {
  height: 280px;
  background-size: cover;
  background-position: center;
}

.bub-featured-card__image {
  transition: opacity 1s ease-out;
  opacity: 1;
}
.bub-featured-card__image.is-fading {
  opacity: 0;
}

.bub-featured-card__body {
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.bub-featured-card__title {
  font-size: 18px;
  margin: 0;
}

.bub-featured-card__location {
  font-size: 13px;
  color: #6b7280;
}

.bub-featured-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 13px;
  margin-top: 4px;
}

.bub-featured-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 11px;
  margin-top: 4px;
}

.bub-featured-card__tags span {
  background: #f3f4f6;
  border-radius: 999px;
  padding: 2px 8px;
}


@media (max-width: 640px) {
  .bub-featured-card__image {
    height: 190px;
  }
}

/* Property Images */


.property-images.no-photos {
  width: 100%;
  height: 100%;
  background: url(/wp-content/uploads/2026/03/placeholder-property-img.jpg);
  background-position: center;
  border-radius: 20px;
}


.bub-featured-card__secondary {
  display: flex;
  font-size: 14px;
  justify-content: space-between;
}

article.bub-featured-card a {
  color: #000!important;
}

span.bub-featured-card__type {
  background: #d18763;
}

span.bub-featured-card__pool {
  background: #4797ed;
}

span.bub-featured-card__pets {
  background: #eb8f62;
}

.bub-featured-card__type-col span {
  color: #fff;
  padding: 3px 9px 5px;
  border-radius: 11px;
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
}

.bub-featured-card__meta {
  margin: 6px 0 8px;
  font-size: 15px;
  display: flex;
  gap: 16px;
}

h3.bub-featured-card__title {
  font-size: 20px;
}

.bub-featured-card__body {
  padding: 20px;
}

article.bub-featured-card,
article.bub-featured-card .bub-featured-card__image {
    transition: all .4s ease;
}


article.bub-featured-card {
    margin-top: 0;
}

article.bub-featured-card:hover {
    margin-top: -3px;
}

article.bub-featured-card .bub-featured-card__image-wrapper {
    position: relative;
    overflow: hidden;
}


article.bub-featured-card:hover .bub-featured-card__image {
    transform: scale(1.04);
}

button.bub-featured-arrow.bub-featured-prev {
  background: url(/wp-content/plugins/ownerrez-bub/public/icons/arrow-left.svg);
  background-size: cover;
  height: 40px;
  border: none;
  width: 50px;
  padding: 0;
  position: absolute;
  left: -6%;
  top: 50%;
  transform: translateY(-50%);
  transition: all .3s ease;
}

button.bub-featured-arrow.bub-featured-prev:hover {
  left: -6.5%;
}

button.bub-featured-arrow.bub-featured-next {
  background: url(/wp-content/plugins/ownerrez-bub/public/icons/arrow-right.svg);
  background-size: cover;
  height: 40px;
  border: none;
  width: 50px;
  padding: 0;
  position: absolute;
  right: -6%;
  top: 50%;
  transform: translateY(-50%);
  transition: all .3s ease;
}

button.bub-featured-arrow.bub-featured-next:hover {
  right: -6.5%;
}

.bub-property-gallery-1-mobile .bpg-col-mobile a > div {
  height: 320px;
  border-radius: 20px;
  background-size: cover!important;
  background-position: center!important;
}

.bub-property-gallery-1-mobile {
  display: none;
  gap: 10px;
}

.bpg-col-mobile {
  width: 50%;
}

.bpg-col-mobile .show-photos {
  height: 100%;
  background: #0000006e;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #fff;
  border-radius: 20px;
}

.bpg-row.bpg-right-1 iframe,
.bpg-row.bpg-right-1 video {
  width: 100%;
  height: 100%;
  border-radius: 20px;
}

/* Responsive: tablet and below */

@media (max-width: 1200px) {
  #availability-form-v2 .v2-field-row {
    gap: 8px;
  }

  #availability-form-v2 .v2-field {
    flex: 1 1 120px;
  }
}

@media (max-width: 1024px) {
  .bub-property-gallery-1 {
    display: none;
  }

  .bub-property-gallery-1-mobile {
    display: flex;
  }
}

@media (max-width: 980px) {
  .v2-layout {
    flex-direction: column;
  }

  header.elementor > div:last-child {
    box-shadow: 0 2px 4px #0000003b;
}

  .v2-right-column {
    position: relative;
    top: 0;
    flex: none;
    max-width: 100%;
    width: 100%;
    height: 380px;
    order: -1;
  }

  .ownerrez-properties-grid-v2 {
    grid-template-columns: 1fr;
  }

  ul.bub-property-amenities li {
    padding: 7px 0!important;
  }

}

@media (max-width: 767px) {
  .numInputWrapper {
    position: absolute !important;
    top: 7px;
    margin-left: 12px!important;
  }


  .bub-property-gallery-1-mobile .bpg-col-mobile a > div {
    height: 200px;
  }

} 

@media (max-width: 600px) {
  #availability-form-v2 .v2-field {
    flex: 1 1 100%;
  }

  #v2-pseudoFields {
    flex-direction: column;
    gap: 6px;
  }

  .v2-right-column {
    height: 280px;
  }
}

/* New Listing badge — shown on property cards when the property has the 'new-listing' tag */
.bub-new-listing-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 10;
  background-color: var(--bub-ownerrez-plugin-primary-color, #1774ca);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 4px;
  pointer-events: none;
  line-height: 1.4;
}

/* Cards need position:relative so the badge anchors correctly */
.ownerrez-property-card,
.bub-featured-card {
  position: relative;
}
