.pfes-filter,
.pfes-listWrap,
.pfes-detail {
  box-sizing: border-box;
}

.pfes-slider-nav:has(svg) {
      padding: 7.5px 20px 7.5px !important;
}

.pfes-card {
    overflow: hidden;
}

.pfes-card img {
    transition: transform 0.4s ease;
}

.pfes-card:hover img {
    transform: scale(1.05);
}


.pfes-team-card-about-us {
    transition: transform 0.3s ease;
}

.pfes-team-card-about-us:hover {
    transform: scale(1.02);
}

.pfes-btn--primary:hover, .pfes-btn--primary:focus, .pfes-btn--primary:active, .pfes-btn--wa:hover, .pfes-btn--wa:active, .pfes-btn--wa:focus, .pfes-member__btn--wa:hover, .pfes-member__btn--wa:focus, .pfes-member__btn--wa:active {
    border: 0.5px solid #000000!important;
    background-color: #131C32!important;
    color: white!important;
}

.pfes-btn--ghost:hover, .pfes-btn--ghost:active,.pfes-btn--ghost:focus, .pfes-btn--secondary:hover, .pfes-btn--secondary:active, .pfes-btn--secondary:focus, .pfes-page:not(.pfes-page--current):hover, .pfes-page:not(.pfes-page--current):active, .pfes-page:not(.pfes-page--current):focus {
    background-color: #E3EDF8!important;
    border: 0.5px solid #25304840!important;
}

.pfes-page:not(.pfes-page--current) {
  border: 0.5px solid #D9E3EE;
}

.pfes-iconBox {
    position: relative;
    display: inline-block;
}

.pfes-iconBox img {
    display: block;
    transition: opacity 1s ease;
}

.pfes-iconBox .icon-hover {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
}

.pfes-btn--primary:hover .icon-hover {
    opacity: 1;
}

.pfes-btn--primary:hover .icon-default {
    opacity: 0;
}

.pfes-tabs {
  display: flex;
  gap: 8px;
  background: #D9E3EE52;
  border-radius: 12px;
  padding: 4px;
  flex-wrap: nowrap;
  margin-bottom: 0;
}

.pfes-tab,
.pfes-tab:hover {
  flex: 1;
  border: 0;
  background: transparent;
  font-size: 18px;
  font-weight: 400;
  padding: 10px 16px;
  border-radius: 12px;
  cursor: pointer;
  color: #273046;
  box-shadow: none;
}

.pfes-tab.is-active {
  background: #F1EBE1B2;
  font-weight: 600;
  color: #273046;
}

.pfes-tab.is-active:hover {
      background: #F1EBE1B2;
}

.pfes-tab:hover, .pfes-filter--topbar .pfes-tab:hover {
    background-color:#F1EBE166;
}

.pfes-filter {
  max-width: 900px;
  margin: 24px 0;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.pfes-panel {
  margin-top: 15px;
  display: block;
}

.pfes-row {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
  margin-bottom: 5px;
}

.pfes-field {
  flex: 1;
  min-width: 240px;
  background-color: #F4F4F4;
  padding: 8px 12px;
  border-radius: 8px;
  border: 0;
  border-bottom: 1px solid #DEDEDE;
}

.pfes-field:hover {
    background-color: #ECECEC;
}

/* Pašalinam atskirą select hover, nes jis jau bus apimtas */
.pfes-select, .pfes-input {
    background-color: transparent!important;
    background: transparent!important;/* arba ištrinti šią taisyklę */
}
.pfes-field--wide {
  flex: 1 1 100%;
  width: auto;
}

.pfes-label {
  display: block;
  font-size: 14px;
  font-weight: 400;
  color: #253048B2;
}

.pfes-selectWrap {
  position: relative;
}

.pfes-select,
.pfes-input {
  width: 100%;
  appearance: none;
  border: 0;
  box-shadow: none;
  padding: 0;
  color: #253048;
}

.pfes-select {
  height: 25px;
  font-size: 16px;
  font-weight: 600;
  padding-right: 24px;
  border-radius: 0;
}

.pfes-select:focus,
.pfes-select:active,
.pfes-input:focus,
.pfes-input:active {
  outline: none;
  box-shadow: none;
}

.pfes-chev {
  position: absolute;
  right: 5px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid #374151;
}

.pfes-priceInputs {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: nowrap;
}

.pfes-priceBox {
  display: flex;
  align-items: center;
  gap: 6px;
  border-radius: 12px;
  border: 0;
  height: auto;
  overflow: visible;
  min-width: 0;
}

.pfes-aed {
  font-size: 12px;
  font-weight: 400;
  color: #253048B2;
  margin-bottom: 3px;
  padding: 0;
  flex: 0 0 auto;
}

.pfes-priceBox .pfes-input,
.pfes-input--single {
  border: none !important;
  outline: none;
  width: 100px !important;
  padding: 0 !important;
  box-shadow: none !important;
  height: 30px !important;
  border-radius: 0;
  font-weight: 600;
}

.pfes-input--single {
  width: 100% !important;
}

.pfes-dash {
  margin: 0;
  text-align: center;
  color: inherit;
  font-weight: 400;
  flex: 0 0 auto;
}

.pfes-row--btns {
  margin-top: 8px;
  justify-content: space-between;
  align-items: stretch;
}

.pfes-btn {
  border-radius: 12px;
  padding: 3px 22px;
  font-weight: 600;
  border: 0;
  min-height: unset;
  font-size: 15px;
}

.pfes-btn--ghost {
  background: #D9E3EE;
  color: #273046;
      border: 0.5px solid #D9E3EE;
}

.pfes-btn--primary {
  background: #273046;
  display: flex;
  align-items: center;
  gap: 8px;
  color: white;
  flex: 1;
  justify-content: space-between;
  padding: 8px 20px;
      border: 0.5px solid #273046;
}

.pfes-btn--secondary {
  border-radius: 12px;
  padding: 3px 22px;
  background: #D9E3EE;
  border: 0.5px solid #D9E3EE;
}

.pfes-btn--secondary img {
  margin-left: 20px;
  margin-bottom: 3px;
}

.pfes-btn--secondary svg {
  margin-left: 20px;
  margin-bottom: -3px;
}

.pfes-btn--wa {
  background-color: #273046;
  color: white !important;
  border: 0.5px solid #273046;
}

.pfes-btn--wa img {
  margin-left: 10px;
  width: 15px;
}

.pfes-btn--disabled {
  opacity: 0.45;
  pointer-events: none;
}

.pfes-iconBox {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  height: auto;
  border-radius: 0;
  background: transparent;
}

.previous-button img {
  margin-left: 0 !important;
  margin-right: 20px;
}

.pfes-topbar {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin: 0 0 16px;
  font-size: 14px;
  color: #444;
}

.pfes-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}

.pfes-card {
  display: flex;
  flex-direction: column;
  border-radius: 12px;
  overflow: hidden;
  background: #FCFBF9;
  height: 100%;
}

.pfes-card__image {
  display: block;
  aspect-ratio: 4 / 3;
  position: relative;
  overflow: hidden;
}

.pfes-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 12px;
}

.pfes-card__badges {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  pointer-events: none;
}

.pfes-card__badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 14px;
  border-radius: 8px;
  background: #FAFAFA;
  color: #273046;
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  border: 1px solid #D9E3EE;
}

.pfes-card__badge--images {
  margin-left: auto;
}

.pfes-card__badge img {
  border-radius: 0 !important;
  height: 17px;
  margin-right: 5px;
}

.pfes-card__content {
  padding: 16px;
  gap: 5px;
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
}

.pfes-card__metaTop {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.pfes-chip {
  display: inline-flex;
  align-items: center;
  padding: 7px 10px;
  border-radius: 999px;
  background: #111;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}

.pfes-chip--light {
  background: #f2f2f2;
  color: #222;
}

.pfes-card__title {
  margin: 0;
  font-size: 25px;
  line-height: 1.25;
  min-height: 63px;
}

.pfes-card__title a {
  text-decoration: none;
  color: #111;
}

.pfes-card__sub {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  color: #666;
  font-size: 13px;
}

.pfes-card__stats {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  color: #333;
  font-size: 14px;
  margin-top: auto;
}

.pfes-card__stats span {
  gap: 4px;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}

.pfes-card__stats img {
  margin-bottom: 2px;
}

.pfes-card__stats.off-plan-stats {
  flex-direction: column !important;
  gap: 10px !important;
  margin-top: 5px !important;
  margin-bottom: 10px !important;
}

.pfes-card__price {
  font-size: 15px;
  color: #253048;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 3px;
}

.pfes-currency {
  font-size: 13px;
  font-weight: 400;
  color: #253048B2;
  margin-bottom: 5px;
}

.pfes-card__actions {
  padding-top: 2px;
}

.pfes-pager {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
}

.pfes-pager__prev { justify-self: start; }

.pfes-pager__next {
  justify-self: end;
  display: flex;
  justify-content: flex-end;
}

.pfes-pager__prev,
.pfes-pager__next {
  min-width: 140px;
}

.pfes-pager__pages {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.pfes-page {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #273046;
  background: transparent;
  font-weight: 700;
  background-color: #D9E3EE !important;
  border-radius: 20px;
  padding: 2px 20px !important;
}

.pfes-page--current {
  border-radius: 20px;
  padding: 4px 20px;
  gap: 20px;
  background: linear-gradient(180deg, #F4F9FE 0%, #FFFFFF 100%);
  border-bottom: 2px solid #2530484D;
}

.pfes-page--dots {
  background-color: white !important;
  padding-right: 10px !important;
  padding-left: 10px !important;
}

.pfes-empty,
.pfes-error {
  border-radius: 16px;
  padding: 16px;
  border: 1px solid #e6e6e6;
  background: #fafafa;
}

.pfes-error {
  background: #fff5f5;
  border-color: #f1c8c8;
}

.pfes-detail {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  gap: 24px;
}

.pfes-detail__header {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-start;
  border: 1px solid #e8e8e8;
  border-radius: 20px;
  background: #fff;
  padding: 22px;
  box-shadow: 0 8px 24px rgba(0,0,0,.04);
}

.pfes-detail__title {
  margin: 10px 0 0;
  font-size: 34px;
  line-height: 1.15;
}

.pfes-detail__sub {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 10px;
  color: #666;
}

.pfes-detail__price {
  font-size: 24px;
  font-weight: 800;
  white-space: nowrap;
}

.pfes-detail__chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.pfes-detail__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(320px, .7fr);
  gap: 24px;
}

.pfes-section {
  border: 1px solid #e8e8e8;
  border-radius: 20px;
  background: #fff;
  padding: 20px;
  box-shadow: 0 8px 24px rgba(0,0,0,.04);
}

.pfes-section h2 {
  margin: 0 0 14px;
  font-size: 22px;
}

.pfes-copy {
  font-size: 16px;
  line-height: 1.7;
  color: #222;
}

.pfes-table {
  width: 100%;
  border-collapse: collapse;
}

.pfes-table th,
.pfes-table td {
  border-bottom: 1px solid #eee;
  padding: 11px 0;
  text-align: left;
  vertical-align: top;
  font-size: 14px;
}

.pfes-table th {
  width: 40%;
  color: #444;
  font-weight: 700;
  padding-right: 16px;
}

.pfes-gallery {
  display: grid;
  gap: 12px;
}

.pfes-gallery__main {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid #e8e8e8;
  background: #fafafa;
  aspect-ratio: 16 / 9;
}

.pfes-gallery__main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.pfes-gallery__thumbs {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}

.pfes-gallery__thumbs a {
  display: block;
  border: 1px solid #e8e8e8;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: #fafafa;
}

.pfes-gallery__thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.pfes-op-gallery {
  display: flex;
  gap: 8px;
  height: 60vh;
  border-radius: 12px;
  overflow: hidden;
}

.pfes-op-gallery__item {
  position: relative;
  flex: 1;
  overflow: hidden;
  cursor: pointer;
  transition: flex 1s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 12px;
}

.pfes-op-gallery__item--active {
  flex: 3;
}

.pfes-op-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.pfes-prop-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  border-radius: 12px;
  overflow: hidden;
  height: 480px;
}

.pfes-prop-gallery img {
  border-radius: 12px;
}

.pfes-prop-gallery__main {
  height: 100%;
}

.pfes-prop-gallery__main img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  cursor: pointer;
  display: block;
}

.pfes-prop-gallery__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 8px;
  height: 100%;
}

.pfes-prop-gallery__thumb {
  position: relative;
  overflow: hidden;
  height: 235px;
}

.pfes-prop-gallery__thumb img {
  width: 100%;
  height: 235px;
  object-fit: cover;
  cursor: pointer;
  display: block;
}

.pfes-prop-gallery-v2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  border-radius: 12px;
  overflow: hidden;
}

.pfes-prop-gallery-v2__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 8px;
}

.pfes-prop-gallery-v2__thumb,
.pfes-prop-gallery-v2__main {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
}

.pfes-prop-gallery-v2__thumb img,
.pfes-prop-gallery-v2__main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.pfes-prop-gallery-v2__main img {
  cursor: pointer;
}

.pfes-prop-gallery__show-all {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: white;
  border: none;
  border-radius: 8px;
  padding: 8px 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: -1%;
  color: #273046;
}

.pfes-prop-gallery-v2 .pfes-prop-gallery__show-all {
  top: 12px !important;
  left: 12px !important;
  bottom: auto;
  right: auto;
}

.show-all-images-img {
  height: 34px !important;
  width: 34px !important;
  border-radius: 4px !important;
}

.pfes-show-all--desktop { display: flex; }
.pfes-show-all--mobile  { display: none !important; }

.pfes-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99999;
}

.pfes-lightbox.is-open {
  display: flex;
  align-items: center;
  justify-content: center;
}

.pfes-lightbox__overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.92);
  z-index: 0;
}

.pfes-lightbox__inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.pfes-lightbox__img,
.pfes-lightbox__close,
.pfes-lightbox__prev,
.pfes-lightbox__next,
.pfes-lightbox__counter {
  pointer-events: all;
}

.pfes-lightbox__img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 8px;
}

.pfes-lightbox__prev,
.pfes-lightbox__next,
.pfes-lightbox__prev:hover,
.pfes-lightbox__next:hover,
.pfes-lightbox__prev:active,
.pfes-lightbox__next:active,
.pfes-lightbox__prev:focus,
.pfes-lightbox__next:focus {
  position: fixed;
  top: 50%;
  color: white;
  border: none;
  font-size: 20px;
  cursor: pointer;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: transparent;
}

.pfes-lightbox__prev { left: 20px; }
.pfes-lightbox__next { right: 20px; }

.pfes-lightbox__counter {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  color: white;
  font-size: 14px;
}

.pfes-lightbox__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.pfes-lightbox__grid img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
}

.pfes-property-image-single {
  width: 100%;
  height: 700px;
  object-fit: cover;
  border-radius: 12px !important;
  display: block;
}

h1.pfes-property-title {
  font-weight: 400;
  font-size: 35px !important;
  line-height: 120%;
  letter-spacing: 0;
  display: block;
}

.pfes-property-price {
  font-weight: 400;
  font-size: 30px;
  display: block;
  color: #253048;
}

.pfes-property-price .pfes-currency {
  font-size: 18px;
  vertical-align: top;
  color: #253048B2;
  margin-bottom: 2px;
}

.pfes-property-location {
  font-family: 'Titillium Web', sans-serif;
  font-weight: 400;
  font-size: 28px;
  line-height: 130%;
  letter-spacing: 0;
  color: #273046;
}

.pfes-property-area {
  color: #273046;
  margin-bottom: 15px;
}

.pfes-property-stats {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  color: #253048;
}

.pfes-property-stats img {
  margin-bottom: 1px;
  margin-right: 5px;
}

.pfes-property-description,
.pfes-agent-block__bio {
  color: #253048;
}

.pfes-properties-buttons {
  display: flex !important;
  gap: 10px;
}

.pfes-amenities {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 40px;
}

.pfes-amenities__col {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.pfes-amenities__item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
}

.pfes-amenities__item img {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.pfes-agent-block {
  display: flex;
}

.pfes-agent-block__photo {
  display: flex;
  align-items: flex-end;
}

.pfes-agent-block__info {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-content: flex-start;
  align-items: flex-start;
}

.pfes-agent-block__contacts {
  display: inline-flex;
  gap: 10px;
}

.pfes-dld-block__number {
  background-color: #FCFBF9;
  border-radius: 12px;
  padding: 5px 20px;
  display: inline-block;
  margin-top: 10px;
  font-size: 18px;
  color: #253048;
}

.area-filter {
  background-color: #F4F4F4;
  font-family: "Titillium Web", Sans-serif;
  font-size: 15px;
  font-weight: 600;
  fill: #273046;
  color: #273046;
  border-style: solid;
  border-width: 0.5px;
  border-color: #D9E3EE;
  border-radius: 8px;
  padding: 4px 8px;
  display: inline-block;
}

.pfes-filter--topbar {
  width: 100%;
  margin: 0 0 28px;
  max-width: 100% !important;
}

.pfes-filter--topbar .pfes-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  width: 100%;
  border-radius: 12px;
  padding: 4px;
  margin-bottom: 8px;
}

.pfes-filter--topbar .pfes-tab {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 14px 18px;
  border-radius: 10px;
  font-size: 18px;
  cursor: pointer;
  text-align: center;
  color: #273046;
}

.pfes-filter--topbar .pfes-tab.is-active {
  background: #F1EBE1B2;
  font-weight: 600;
}

.pfes-topbarFilter {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
}

.pfes-topbarFilter__grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1.8fr;
  gap: 5px;
}

.pfes-filter--topbar .pfes-field {
  margin: 0;
  padding: 12px 14px 3px;
  min-width: 0;
}

.pfes-filter--topbar .pfes-label {
  display: block;
  font-size: 14px;
  line-height: 1.2;
  font-weight: 500;
}

.pfes-filter--topbar .pfes-select,
.pfes-filter--topbar .pfes-input {
  width: 100%;
  height: 34px;
  border: 0;
  background: transparent;
  box-shadow: none;
  padding: 0;
  font-size: 16px;
  font-weight: 600;
}

.pfes-filter--topbar .pfes-select:focus,
.pfes-filter--topbar .pfes-input:focus {
  outline: none;
  box-shadow: none;
}

.pfes-filter--topbar .pfes-priceInputs {
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 10px;
}

.pfes-filter--topbar .pfes-priceBox {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

.pfes-filter--topbar .pfes-aed {
  font-size: 11px;
  color: #8a94a6;
  white-space: nowrap;
}

.pfes-filter--topbar .pfes-dash {
  font-size: 14px;
  color: #6b7280;
}

.pfes-filter--topbar .pfes-chev {
  position: absolute;
  right: 0;
  top: 50%;
  width: 10px;
  height: 10px;
  transform: translateY(-50%);
  pointer-events: none;
}

.pfes-slider {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  align-items: stretch;
}

.pfes-slider .pfes-card {
  flex: 0 0 calc(31% - 16px);
  min-width: calc(31% - 16px);
  max-width: calc(31% - 16px);
  width: calc(31% - 16px);
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
}

.pfes-slider .pfes-card:last-child {
  margin-right: 30px;
}

.pfes-slider .pfes-card__image {
  flex-shrink: 0;
  overflow: hidden;
}

.pfes-slider .pfes-card__image img {
  width: 100%;
  object-fit: cover;
}

.pfes-slider .pfes-card__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 160px;
}

.pfes-slider .pfes-card__title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.7em;
  flex-shrink: 0;
}

.pfes-slider .pfes-card__stats { flex-shrink: 0; }
.pfes-slider .pfes-card__price { margin-top: auto; }

.pfes-slider-topbar {
  display: flex;
  justify-content: space-between;
}

.pfes-slider-nav {
  margin-top: 45px;
  margin-right: 30px;
  z-index: 8;
  color: #273046;
  padding: 4px 20px 1px;
}

/*.pfes-slider-nav:hover,*/
/*.pfes-slider-nav:focus,*/
/*.pfes-slider-nav:active {*/
/*  color: #273046;*/
/*  background-color: #D9E3EE;*/
/*}*/

.pfes-slider-back {
  margin-right: 10px !important;
}

.pfes-slider-back svg {
transform:rotate(180deg);
}

.pfes-slider-back img {
  margin-right: 20px !important;
  margin-left: 0 !important;
}

.pfes-slider-back svg {
  margin-right: 20px !important;
  margin-left: 0 !important;
}

.slider-tabs {
  width: 30% !important;
  margin-bottom: 20px;
}

.pfes-team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
  padding: 32px 0;
}

.pfes-team-card {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  display: flex;
  flex-direction: column;
  transition: box-shadow .2s ease;
}

.pfes-team-card__image {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #f3f4f6;
}

.pfes-team-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .3s ease;
}

.pfes-team-card:hover .pfes-team-card__image img {
  transform: scale(1.04);
}

.pfes-team-card__image--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.pfes-team-card__image--placeholder span {
  font-size: 48px;
  font-weight: 600;
  color: #9ca3af;
}

.pfes-team-card__body {
  padding: 20px 20px 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.pfes-team-card__badges {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.pfes-team-card__badge {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 99px;
}

.pfes-team-card__badge--super    { background: #fef3c7; color: #92400e; }
.pfes-team-card__badge--verified { background: #d1fae5; color: #065f46; }

.pfes-team-card__name {
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 4px;
  line-height: 1.3;
}

.pfes-team-card__name a { color: #111827; text-decoration: none; }
.pfes-team-card__name a:hover { text-decoration: underline; }

.pfes-team-card__position {
  font-size: 13px;
  color: #6b7280;
  margin-bottom: 8px;
}

.pfes-team-card__brn {
  font-size: 12px;
  color: #6b7280;
  margin-bottom: 8px;
}

.pfes-team-card__brn-valid {
  font-size: 11px;
  background: #16a34a;
  color: #fff;
  padding: 1px 7px;
  border-radius: 99px;
  margin-left: 4px;
}

.pfes-team-card__bio {
  font-size: 13px;
  color: #4b5563;
  line-height: 1.65;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.pfes-team-card__wa {
  display: block;
  text-align: center;
  background: #25d366;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  padding: 12px;
  text-decoration: none;
  transition: background .2s ease;
  margin-top: auto;
}

.pfes-team-card__wa:hover {
  background: #1ebe5d;
  color: #fff;
}

.pfes-team-empty {
  text-align: center;
  color: #9ca3af;
  padding: 40px 0;
}

.pfes-team-grid-about-us {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  align-items: stretch;
}

.pfes-team-card-about-us {
  background: #FCFBF9;
  border-radius: 12px;
  height: 100%;
}

.pfes-team-card__body-about-us {
  padding: 20px 20px 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.pfes-team-card__name-about-us {
  color: #273046 !important;
  margin-bottom: 24px !important;
  display: inline-block !important;
  line-height: 15px;
  width: fit-content;
}

.pfes-team-card__row {
  display: flex;
  flex: 1;
  align-items: flex-end;
  gap: 12px;
}

.pfes-team-card__thumb {
  width: 116px;
  height: 116px !important;
  object-fit: cover;
  border-radius: 28px !important;
  flex-shrink: 0;
}

.pfes-team-card__bio {
  font-size: 14px;
  color: #273046;
  line-height: 1.5;
  margin: 0;
}

.pfes-member {
  padding: 32px 0;
}

.pfes-member__top {
  display: grid;
  grid-template-columns: 25% auto 1fr;
  grid-template-areas: "left photo about";
  gap: 60px;
  align-items: start;
  margin-bottom: 48px;
}

.pfes-member__left  { grid-area: left; }
.pfes-member__photo { grid-area: photo; }
.pfes-member__about { grid-area: about; align-self: end; }

.pfes-member__photo {
  width: 339px;
  height: 339px;
  border-radius: 12px;
  overflow: hidden;
  background: #f3f4f6;
  flex-shrink: 0;
}

.pfes-member__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 12px !important;
  border: 1px solid rgba(255,255,255,.15);
}

.pfes-member__photo-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 64px;
  font-weight: 600;
  color: #9ca3af;
}

.pfes-member__name {
  font-weight: 400;
  font-size: 44px;
  line-height: 120%;
  letter-spacing: 0;
  margin-top: 150px;
}

.pfes-member__position {
  font-weight: 400;
  font-size: 20px;
  line-height: 150%;
  letter-spacing: 0;
  margin-bottom: 30px;
}

.pfes-member__keyinfo {
  margin-bottom: 24px;
}

.pfes-member__keyinfo-title,
.pfes-member__listings-title,
.pfes-member__about-title {
  box-sizing: border-box;
  display: inline-block;
  line-height: 1;
  text-align: center;
  background-color: #F4F4F4;
  font-size: 15px;
  font-weight: 600;
  color: #273046;
  border: 0.5px solid #D9E3EE;
  border-radius: 8px;
  padding: 4px 8px;
  margin-bottom: 15px;
}

.pfes-member__keyinfo-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  color: #374151;
  margin-bottom: 8px;
  font-weight: 400;
  line-height: 150%;
  letter-spacing: 0;
}

.pfes-member__keyinfo-icon {
  font-size: 14px;
  flex-shrink: 0;
}

.pfes-member__brn-valid {
  font-size: 11px;
  background: #16a34a;
  color: #fff;
  padding: 1px 7px;
  border-radius: 99px;
  margin-left: 4px;
}

.pfes-member__contacts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pfes-member__btn {
  padding: 9px 18px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  display: inline-block;
  transition: opacity .2s;
}



.pfes-member__btn--wa {
  box-sizing: border-box;
  display: inline-block;
  fill: #fff;
  font-size: 15px;
  line-height: 1;
  text-align: center;
  transition: all .3s;
  box-shadow: none;
  border: 0;
  font-family: var(--e-global-typography-accent-font-family), Sans-serif;
  font-weight: var(--e-global-typography-accent-font-weight);
  text-decoration: none;
  color: #ffffff !important;
  background-color: #273046;
  border-radius: 12px;
  padding: 7px 22px;
  border: 0.5px solid #273046;
}

.pfes-member__btn--wa img {
  width: 16px;
  margin-left: 8px;
}

.pfes-member__bio {
  font-family: Titillium Web;
  font-weight: 400;
  line-height: 150%;
  letter-spacing: -1%;
  color: #273046;
}

.pfes-member__listings {
  margin-top: 16px;
  margin-right: -30px;
}

.pfes-member__listings-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.pfes-member__listings-topbar .pfes-slider-nav:not(:has(svg)) {
  padding: 8px 20px 4px !important;
}

.pfes-member__left,
.pfes-member__photo,
.pfes-member__about {
  opacity: 0;
  will-change: transform, opacity;
}

.pfes-member__left,
.pfes-member__photo {
  transform: translateX(-60px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  transition-delay: 0.2s;
}

.pfes-member__about {
  transform: translateX(60px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  transition-delay: 0.5s;
}

.pfes-member__left.pfes-anim-in,
.pfes-member__photo.pfes-anim-in,
.pfes-member__about.pfes-anim-in {
  opacity: 1;
  transform: translateX(0);
}

.pfes-member__listings {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.pfes-member__listings.pfes-anim-in {
  opacity: 1;
  transform: translateY(0);
}

.pfes-slider-nav rect {
    transition: fill 0.3s ease;
}

.pfes-slider-nav path {
    transition: stroke 0.3s ease;
}

.pfes-slider-nav:hover rect {
    fill: #FFFFFF;
}

.pfes-slider-nav:hover path {
    stroke: #273046;
}

.main-page-nav, .pfes-slider-nav {
  margin-top: 50px !important;
  padding: 8px 20px 4px !important;
  position: relative;
  transform: translateY(50%);
}

@media (max-width: 1200px) {
  .slider-tabs { width: 40% !important; }
}

@media (max-width: 1024px) {
  .pfes-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pfes-detail__grid { grid-template-columns: 1fr; }
  .pfes-gallery__thumbs { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 1000px) {
  .pfes-team-grid-about-us { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 991px) {
  .pfes-topbarFilter__grid    { grid-template-columns: 1fr; }
  .pfes-filter--topbar .pfes-priceInputs { grid-template-columns: 1fr; gap: 8px; }
  .pfes-filter--topbar .pfes-dash { display: none; }
}

@media (max-width: 900px) {
  .pfes-member__top {
    grid-template-columns: 1fr;
    grid-template-areas: "photo" "left" "about";
    justify-items: center;
  }

  .pfes-member__left,
  .pfes-member__about { width: 100%; }

  .pfes-member__name { margin-top: 10px; }
}

@media (max-width: 870px) {
  .pfes-btn { white-space: nowrap; }

  .hide-on-mobile { display: none !important; }

  .pfes-row--top,
  .pfes-row--extras,
  .pfes-detail__header {
    grid-template-columns: 1fr;
    display: grid;
  }

  .pfes-cards {
    grid-template-columns: repeat(3, 1fr);
    display: grid;
    grid-auto-columns: calc((100% - 24px) / 3);
    gap: 12px;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
  }

  .pfes-card { width: 80vw; }

  .pfes-priceInputs {
    display: flex !important;
    align-items: center;
    gap: 8px;
    flex-wrap: nowrap;
  }

  .pfes-priceBox {
    flex: 1 1 0;
    min-width: 0;
  }

  .pfes-priceBox .pfes-input {
    width: 100% !important;
    min-width: 0;
  }

  .pfes-dash { display: block; flex: 0 0 auto; }

  .pfes-btn { width: 100%; }

  .pfes-detail__price { white-space: normal; }

  .pfes-gallery__thumbs { grid-template-columns: repeat(3, minmax(0, 1fr)); }

  .pfes-pager__next { min-width: 0 !important; }

  .slider-tabs { width: 100% !important; }

  .pfes-slider .pfes-card {
    flex: 0 0 calc(45% - 16px);
    min-width: calc(45% - 16px);
    max-width: calc(45% - 16px);
    width: calc(45% - 16px);
  }

  .pfes-slider-topbar { margin-right: 30px; flex-direction: column; }
  .pfes-slider-nav    { display: none; }
}

@media (max-width: 768px) {
  .pfes-op-gallery {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    height: 400px;
    gap: 8px;
    flex-direction: unset;
  }

  .pfes-op-gallery__item {
    flex: unset !important;
    transition: none !important;
    height: auto !important;
  }

  .pfes-op-gallery__item--active { flex: unset !important; }

  .pfes-op-gallery__item:first-child  { grid-column: 1; grid-row: 1 / 3; }
  .pfes-op-gallery__item:nth-child(2) { grid-column: 2; grid-row: 1; }
  .pfes-op-gallery__item:nth-child(3) { grid-column: 2; grid-row: 2; }

  .pfes-op-gallery { height: 300px; }

  .pfes-prop-gallery-v2 { grid-template-columns: 1fr 1fr; height: auto; gap: 0; }
  .pfes-prop-gallery-v2__grid { height: 300px; grid-template-columns: 1fr 0fr; }
  .pfes-prop-gallery-v2__main { height: 300px; }

  .pfes-property-image-single { height: var(--mobile-height) !important; }

  .pfes-prop-gallery { grid-template-columns: 1fr 1fr; height: 300px; }
  .pfes-prop-gallery__main img { height: 300px; }
  .pfes-prop-gallery__thumb,
  .pfes-prop-gallery__thumb img { height: 145px; }
  .pfes-prop-gallery__grid {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 8px;
    height: 100%;
  }
  .pfes-prop-gallery__main  { height: 260px; }
  .pfes-prop-gallery__grid  { height: 260px; }

  .pfes-lightbox__prev,
  .pfes-lightbox__prev:hover,
  .pfes-lightbox__prev:active,
  .pfes-lightbox__prev:focus {
    left: 10px;
    background-color: #253048;
    padding: 10px;
    border-radius: 12px;
    top: 80%;
  }

  .pfes-lightbox__next,
  .pfes-lightbox__next:hover,
  .pfes-lightbox__next:active,
  .pfes-lightbox__next:focus {
    right: 10px;
    background-color: #253048;
    padding: 10px;
    border-radius: 12px;
    top: 80%;
  }

  .pfes-lightbox__grid { grid-template-columns: repeat(2, 1fr); }

  .pfes-show-all--mobile  { display: flex !important; }
  .pfes-show-all--desktop { display: none !important; }

  .pfes-agent-block__contacts .pfes-btn--wa      { padding: 10px 28px 10px 15px; }
  .pfes-agent-block__contacts .pfes-btn--secondary { padding: 10px 2px 10px 15px; }

  .pfes-amenities { grid-template-columns: 1fr; }
}

@media (max-width: 767px) {
    .pfes-filter .pfes-btn--primary {
padding-top: 14px;
padding-right: 20px;
padding-bottom: 14px;
padding-left: 20px;

    }
        .pfes-filter .pfes-btn--ghost {
padding-top: 10px;
padding-right: 20px;
padding-bottom: 10px;
padding-left: 20px;

    }
    
  .pfes-row--btns {
    display: flex !important;
    flex-direction: column-reverse;
    gap: 8px;
  }

  .pfes-row--btns .pfes-btn { width: 100%; }

  .pfes-btn--primary,
  .pfes-btn--primary .pfes-btnText { white-space: nowrap; }

  .pfes-slider-topbar { margin-right: 10px; }

  .pfes-slider { gap: 10px; }

  .pfes-slider .pfes-card:last-child { margin-right: 10px; }
}

@media (max-width: 700px) {
  .pfes-team-grid-about-us { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .pfes-slider .pfes-card {
    flex: 0 0 calc(90% - 16px);
    min-width: calc(90% - 16px);
    max-width: calc(90% - 16px);
    width: calc(90% - 16px);
  }
}

@media (max-width: 640px) {
  .pfes-team-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
}

@media (max-width: 410px) {
  .pfes-prop-gallery-v2 { grid-template-columns: 7fr 3fr; }
}

@media (max-width: 400px) {
  .pfes-team-grid { grid-template-columns: 1fr; }
}

