body.ypi-sspr-body {
  background: #f5f7f5;
}

.ypi-sspr,
.ypi-sspr * {
  box-sizing: border-box;
}

.ypi-sspr {
  color: #18201b;
  padding: 28px 0 56px;
}

.ypi-sspr__container {
  width: min(1280px, calc(100% - 32px));
  margin: 0 auto;
}

.ypi-sspr-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 18px;
  color: #6b766e;
  font-size: 13px;
}

.ypi-sspr-breadcrumbs a,
.ypi-sspr-breadcrumbs span {
  color: inherit;
  text-decoration: none;
}

.ypi-sspr-breadcrumbs a:hover {
  color: #18201b;
}

.ypi-sspr-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(320px, 0.85fr);
  gap: 22px;
  align-items: start;
  margin-bottom: 22px;
}

.ypi-sspr-gallery-card,
.ypi-sspr-summary-card,
.ypi-sspr-card,
.ypi-sspr-lightbox {
  background: #fff;
  border: 1px solid #dfe5df;
  border-radius: 8px;
  box-shadow: 0 16px 32px rgba(16, 24, 40, 0.06);
}

.ypi-sspr-gallery {
  padding: 14px;
}

.ypi-sspr-gallery__main {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
}

.ypi-sspr-gallery__open {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  position: relative;
}

.ypi-sspr-gallery__main img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 8px;
}

.ypi-sspr-gallery__count {
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(24, 32, 27, 0.8);
  color: #fff;
  font-size: 13px;
  font-weight: 500;
}

.ypi-sspr-gallery__main-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255,255,255,0.26);
  border-radius: 999px;
  background: rgba(24, 32, 27, 0.72);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
  backdrop-filter: blur(4px);
}

.ypi-sspr-gallery__main-nav--prev {
  left: 14px;
}

.ypi-sspr-gallery__main-nav--next {
  right: 14px;
}

.ypi-sspr-gallery__main-nav[disabled] {
  opacity: 0.38;
  cursor: default;
}

.ypi-sspr-gallery__rail {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) 40px;
  gap: 10px;
  align-items: center;
  margin-top: 12px;
}

.ypi-sspr-gallery__viewport {
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
}

.ypi-sspr-gallery__viewport::-webkit-scrollbar {
  display: none;
}

.ypi-sspr-gallery__thumbs {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 30px) / 4);
  gap: 10px;
  transition: transform 0.2s ease;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
}

.ypi-sspr-gallery__thumbs::-webkit-scrollbar {
  display: none;
}

.ypi-sspr-gallery__nav {
  min-height: 40px;
  padding: 0;
  border: 1px solid #d7dfd7;
  border-radius: 999px;
  background: #fff;
  color: #18201b;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.ypi-sspr-gallery__nav[disabled] {
  opacity: 0.45;
  cursor: default;
}

.ypi-sspr-thumb {
  padding: 0;
  border: 2px solid transparent;
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
  cursor: pointer;
}

.ypi-sspr-thumb.is-active {
  border-color: #bfe8bf;
}

.ypi-sspr-thumb img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.ypi-sspr-summary-card {
  padding: 18px;
  position: sticky;
  top: 20px;
}

.ypi-sspr-summary-card__head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid #edf1ed;
}

.ypi-sspr-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: #eaf5ea;
  color: #244533;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.ypi-sspr-summary-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.ypi-sspr-mini-btn {
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid #d7dfd7;
  border-radius: 8px;
  background: #fff;
  color: #18201b;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
}

.ypi-sspr-mini-btn:hover,
.ypi-sspr-btn:hover,
.ypi-sspr-contact-link:hover,
.ypi-sspr-related-link:hover {
  text-decoration: none;
  opacity: 0.94;
}

.ypi-sspr-price {
  font-size: clamp(34px, 3.5vw, 52px);
  line-height: 1.02;
  font-weight: 500;
  margin-bottom: 10px;
}

.ypi-sspr-title {
  margin: 0 0 10px;
  font-size: clamp(24px, 2.2vw, 34px);
  line-height: 1.12;
  font-weight: 500;
}

.ypi-sspr-address {
  margin: 0 0 16px;
  color: #5f6b62;
  font-size: 15px;
}

.ypi-sspr-stats {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.ypi-sspr-stats li {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 58px;
  padding: 10px 12px;
  border-radius: 8px;
  background: #f6f8f6;
  border: 1px solid #ebf0eb;
}

.ypi-sspr-stat__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  color: #3d5244;
  flex: 0 0 20px;
}

.ypi-sspr-stat__icon svg {
  display: block;
  width: 20px;
  height: 20px;
}

.ypi-sspr-stat__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.ypi-sspr-stat__label {
  color: #607162;
  font-size: 12px;
  line-height: 1.2;
}

.ypi-sspr-stat__value {
  font-size: 15px;
  line-height: 1.25;
  font-weight: 500;
  word-break: break-word;
}

.ypi-sspr-stats li.is-empty {
  background: #fafbfa;
}

.ypi-sspr-stats li.is-empty .ypi-sspr-stat__value {
  color: #76837a;
}

.ypi-sspr-summary-cta,
.ypi-sspr-contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.ypi-sspr-btn,
.ypi-sspr-contact-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 16px;
  border-radius: 8px;
  border: 1px solid #d7dfd7;
  color: #18201b;
  text-decoration: none;
  font-weight: 500;
}

.ypi-sspr-btn--primary {
  background: #c5f7c5;
  border-color: #c5f7c5;
}

.ypi-sspr-btn--secondary {
  background: #fff;
}

.ypi-sspr-btn--ghost {
  background: #eaf5ea;
}

.ypi-sspr-btn--block {
  width: 100%;
}

.ypi-sspr-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(320px, 0.72fr);
  gap: 22px;
}

.ypi-sspr-main,
.ypi-sspr-sidebar {
  min-width: 0;
}

.ypi-sspr-card--section,
.ypi-sspr-card--sticky {
  padding: 20px;
  margin-bottom: 18px;
}

.ypi-sspr-card--sticky {
  position: sticky;
  top: 20px;
}

.ypi-sspr-section-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 16px;
}

.ypi-sspr-section-head h2 {
  margin: 0;
  font-size: 26px;
  line-height: 1.15;
  font-weight: 500;
}

.ypi-sspr-content,
.ypi-sspr-content p,
.ypi-sspr-form,
.ypi-sspr-detail-item,
.ypi-sspr-feature-pill,
.ypi-sspr-related-body p {
  font-size: 16px;
  line-height: 1.65;
}

.ypi-sspr-content > :first-child {
  margin-top: 0;
}

.ypi-sspr-details-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.ypi-sspr-detail-item {
  min-height: 78px;
  padding: 14px 16px;
  border-radius: 8px;
  background: #f7f9f7;
  border: 1px solid #e8ede8;
}

.ypi-sspr-detail-item__label {
  display: block;
  color: #607162;
  margin-bottom: 6px;
  font-size: 13px;
}

.ypi-sspr-detail-item strong {
  display: block;
  font-weight: 500;
}

.ypi-sspr-feature-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.ypi-sspr-feature-pill {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  background: #f6f8f6;
  border: 1px solid #dfe6de;
}


.ypi-sspr-trust-note {
  margin: -2px 0 12px;
  color: #5f6b62;
  font-size: 14px;
  line-height: 1.5;
}

.ypi-sspr-embed-wrap--trust {
  padding: 14px;
  border: 1px solid #edf1ed;
  border-radius: 8px;
  background: linear-gradient(180deg, #fbfcfb 0%, #f6f8f6 100%);
}

.ypi-sspr-contact-top {
  display: grid;
  gap: 14px;
  padding-bottom: 16px;
  margin-bottom: 18px;
  border-bottom: 1px solid #edf1ed;
}

.ypi-sspr-contact-intro {
  min-width: 0;
}

.ypi-sspr-kicker--soft {
  background: #f3f6f3;
  color: #4b5e50;
}

.ypi-sspr-contact-title {
  margin: 8px 0 0;
  font-size: 22px;
  line-height: 1.15;
  font-weight: 500;
}

.ypi-sspr-contact-person {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 14px;
  border: 1px solid #edf1ed;
  border-radius: 8px;
  background: linear-gradient(180deg, #fcfdfc 0%, #f5f8f5 100%);
}

.ypi-sspr-contact-avatar {
  width: 64px;
  height: 64px;
  border-radius: 8px;
  overflow: hidden;
  background: #eef4ee;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  font-weight: 500;
}

.ypi-sspr-contact-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ypi-sspr-contact-meta {
  min-width: 0;
}

.ypi-sspr-contact-meta strong {
  display: block;
  font-size: 17px;
  font-weight: 500;
  margin-bottom: 4px;
}

.ypi-sspr-contact-meta a {
  color: #2f7d59;
  text-decoration: none;
}

.ypi-sspr-form-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.ypi-sspr-form label {
  display: block;
  margin-bottom: 10px;
}

.ypi-sspr-form label span {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  color: #5e6e60;
}

.ypi-sspr-form input,
.ypi-sspr-form select,
.ypi-sspr-form textarea {
  width: 100%;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 8px;
  border: 1px solid #d9e0d9;
  background: #fff;
  color: #18201b;
  font-size: 15px;
  font-weight: 400;
}

.ypi-sspr-form textarea {
  padding: 12px 14px;
  min-height: 108px;
  resize: vertical;
}

.ypi-sspr-hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
}

.ypi-sspr-notice {
  margin-bottom: 14px;
  padding: 12px 14px;
  border-radius: 8px;
  font-size: 14px;
}

.ypi-sspr-notice--success {
  background: #edf9ed;
  color: #245531;
  border: 1px solid #cfe6cf;
}

.ypi-sspr-notice--error {
  background: #fff1f1;
  color: #8d2626;
  border: 1px solid #f1cccc;
}

.ypi-sspr-lazy {
  margin-bottom: 18px;
}

.ypi-sspr-skeleton {
  height: 180px;
  border-radius: 8px;
  border: 1px solid #e3e8e3;
  background: linear-gradient(90deg, #f4f6f4 18%, #ebefeb 38%, #f8faf8 62%, #f4f6f4 82%);
  background-size: 400% 100%;
  animation: ypiSsprPulse 1.45s ease infinite;
}

.ypi-sspr-skeleton--map {
  height: 360px;
}

.ypi-sspr-map-frame {
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid #e4e9e4;
}

.ypi-sspr-map-frame iframe {
  width: 100%;
  height: 380px;
  border: 0;
}

.ypi-sspr-map-address {
  margin: 12px 0 0;
  color: #5f6b62;
}

.ypi-sspr-related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.ypi-sspr-related-card {
  min-width: 0;
}

.ypi-sspr-related-link {
  display: block;
  color: inherit;
  text-decoration: none;
  border: 1px solid #e4e9e4;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}

.ypi-sspr-related-media img,
.ypi-sspr-related-empty {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #eef2ee;
}

.ypi-sspr-related-body {
  padding: 14px;
}

.ypi-sspr-related-body h3 {
  margin: 6px 0;
  font-size: 18px;
  line-height: 1.25;
  font-weight: 500;
}

.ypi-sspr-related-price {
  font-size: 20px;
  line-height: 1.1;
  font-weight: 500;
}

.ypi-sspr-related-body p {
  margin: 0;
  color: #5f6b62;
}

.ypi-sspr-report-wrap {
  margin-top: 22px;
}

.ypi-sspr-lightbox {
  width: min(1040px, calc(100% - 32px));
  padding: 16px;
}

.ypi-sspr-lightbox::backdrop {
  background: rgba(16, 24, 40, 0.82);
}

.ypi-sspr-lightbox__bar {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 12px;
}

.ypi-sspr-lightbox__body img {
  display: block;
  width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 8px;
}

@keyframes ypiSsprPulse {
  0% { background-position: 100% 50%; }
  100% { background-position: 0 50%; }
}

@media (max-width: 1100px) {
  .ypi-sspr-hero,
  .ypi-sspr-layout {
    grid-template-columns: 1fr;
  }

  .ypi-sspr-summary-card,
  .ypi-sspr-card--sticky {
    position: static;
  }
}

@media (max-width: 767px) {
  .ypi-sspr {
    padding-top: 18px;
  }

  .ypi-sspr-gallery__main img {
    aspect-ratio: 16 / 11;
  }

  .ypi-sspr__container {
    width: min(100%, calc(100% - 20px));
  }

  .ypi-sspr-gallery {
    padding: 10px;
  }

  .ypi-sspr-gallery__rail {
    grid-template-columns: 34px minmax(0, 1fr) 34px;
    gap: 8px;
  }

  .ypi-sspr-gallery__thumbs {
    grid-auto-columns: calc((100% - 24px) / 4);
    gap: 8px;
  }

  .ypi-sspr-summary-card,
  .ypi-sspr-card--section,
  .ypi-sspr-card--sticky {
    padding: 16px;
  }

  .ypi-sspr-contact-top {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .ypi-sspr-contact-person {
    justify-content: flex-start;
  }

  .ypi-sspr-contact-title {
    font-size: 20px;
  }

  .ypi-sspr-stats,
  .ypi-sspr-details-grid,
  .ypi-sspr-form-grid,
  .ypi-sspr-related-grid,
  .ypi-sspr-internal-grid {
    grid-template-columns: 1fr;
  }

  .ypi-sspr-gallery__main-nav {
    width: 40px;
    height: 40px;
    font-size: 24px;
  }

  .ypi-sspr-gallery__main-nav--prev {
    left: 10px;
  }

  .ypi-sspr-gallery__main-nav--next {
    right: 10px;
  }

  .ypi-sspr-section-head h2 {
    font-size: 24px;
  }

  .ypi-sspr-price {
    font-size: 36px;
  }
}


.ypi-sspr-embed-wrap {
  min-width: 0;
}

.ypi-sspr-report-wrap {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid #edf1ed;
}

.ypi-sspr-report-wrap__head {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 10px;
}

.ypi-sspr-report-wrap__head strong {
  font-size: 15px;
  line-height: 1.3;
  font-weight: 500;
}

.ypi-sspr-report-wrap__head span {
  color: #5f6b62;
  font-size: 13px;
  line-height: 1.5;
}

@media (max-width: 980px) {
  .ypi-sspr-gallery__thumbs {
    grid-auto-columns: calc((100% - 20px) / 3);
  }

  .ypi-sspr-internal-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}


.ypi-sspr-embed-wrap--internal {
  padding: 0;
  border: 0;
  background: transparent;
}

.ypi-sspr-internal-groups {
  display: grid;
  gap: 22px;
}

.ypi-sspr-internal-group {
  display: grid;
  gap: 12px;
}

.ypi-sspr-internal-group__title {
  margin: 0;
  font-size: 21px;
  line-height: 1.25;
  font-weight: 500;
  color: #18201b;
}

.ypi-sspr-internal-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.ypi-sspr-internal-card {
  display: block;
  color: inherit;
  text-decoration: none;
  border: 1px solid #e4e9e4;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  min-width: 0;
  box-shadow: 0 12px 24px rgba(16, 24, 40, 0.05);
}

.ypi-sspr-internal-card__media {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 112px;
  background: linear-gradient(135deg, #eef5ee 0%, #f8faf8 100%);
  color: #2f7d59;
  font-size: 14px;
  font-weight: 500;
}

.ypi-sspr-internal-card__media img {
  display: block;
  width: 100%;
  height: 112px;
  object-fit: cover;
}

.ypi-sspr-internal-card__body {
  padding: 14px;
}

.ypi-sspr-internal-card__eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 8px;
  border-radius: 999px;
  background: #eef6ee;
  color: #40614b;
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .04em;
  margin-bottom: 8px;
}

.ypi-sspr-internal-card__title {
  margin: 0 0 8px;
  font-size: 17px;
  line-height: 1.35;
  font-weight: 500;
}

.ypi-sspr-internal-card__price {
  margin: 0 0 6px;
  font-size: 20px;
  line-height: 1.1;
  font-weight: 500;
}

.ypi-sspr-internal-card__meta {
  color: #5f6b62;
  font-size: 14px;
  line-height: 1.45;
}

.ypi-sspr-internal-fallback {
  display: grid;
  gap: 10px;
}

.ypi-sspr-internal-fallback a {
  display: block;
  padding: 14px 16px;
  border: 1px solid #e4e9e4;
  border-radius: 8px;
  background: #fff;
  color: inherit;
  text-decoration: none;
}

.ypi-sspr-card--sticky {
  padding: 20px;
  background: linear-gradient(180deg, #ffffff 0%, #f9fbf9 100%);
}

.ypi-sspr-contact-intro p {
  margin: 8px 0 0;
  color: #5f6b62;
  font-size: 13px;
  line-height: 1.5;
}

.ypi-sspr-form {
  padding: 14px;
  border: 1px solid #edf1ed;
  border-radius: 8px;
  background: #fafcf9;
}

.ypi-sspr-form input:focus,
.ypi-sspr-form select:focus,
.ypi-sspr-form textarea:focus {
  outline: 0;
  border-color: #b8dcb9;
  box-shadow: 0 0 0 3px rgba(191, 232, 191, 0.35);
}

.ypi-sspr-contact-actions {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid #edf1ed;
}

.ypi-sspr-contact-link {
  background: #f8faf8;
}

.ypi-sspr-lightbox {
  width: min(1120px, calc(100% - 24px));
  padding: 14px;
  background: #101818;
  border-color: rgba(255,255,255,0.12);
}

.ypi-sspr-lightbox__bar {
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  color: #fff;
}

.ypi-sspr-lightbox__hint {
  font-size: 13px;
  line-height: 1.4;
  color: rgba(255,255,255,0.78);
}

.ypi-sspr-lightbox__stage {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) 56px;
  gap: 10px;
  align-items: center;
}

.ypi-sspr-lightbox__nav {
  min-height: 56px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  color: #fff;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
}

.ypi-sspr-lightbox__nav[disabled] {
  opacity: 0.38;
  cursor: default;
}

@media (max-width: 767px) {
  .ypi-sspr-lightbox__hint {
    display: none;
  }

  .ypi-sspr-lightbox__stage {
    grid-template-columns: 42px minmax(0, 1fr) 42px;
    gap: 8px;
  }

  .ypi-sspr-lightbox__nav {
    min-height: 42px;
    font-size: 24px;
  }
}

/* v1.0.5 compact premium contact card + inquiry modal */
.ypi-sspr-contact-shell {
  overflow: hidden;
}

.ypi-sspr-contact-hero {
  margin: -20px -20px 0;
  padding: 0 20px 18px;
}

.ypi-sspr-contact-cover {
  height: 76px;
  border-radius: 8px;
  background:
    radial-gradient(circle at top right, rgba(197,247,197,.45), transparent 34%),
    linear-gradient(135deg, #2d8b73 0%, #2d8b73 42%, #236e5b 100%);
}

.ypi-sspr-contact-profile {
  position: relative;
  display: grid;
  grid-template-columns: 84px minmax(0,1fr);
  gap: 14px;
  align-items: end;
  margin-top: -28px;
  padding: 0 12px;
}

.ypi-sspr-contact-avatar--overlap {
  width: 84px;
  height: 84px;
  border-radius: 999px;
  border: 4px solid #fff;
  box-shadow: 0 12px 28px rgba(16, 24, 40, .16);
  background: #eef4ee;
}

.ypi-sspr-contact-avatar--overlap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ypi-sspr-contact-subtext {
  display: block;
  color: #6b786f;
  font-size: 14px;
  line-height: 1.4;
}

.ypi-sspr-contact-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 6px 0 14px;
}

.ypi-sspr-contact-badge {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: #eef6ef;
  border: 1px solid #dce8dc;
  color: #365742;
  font-size: 13px;
  line-height: 1;
  font-weight: 500;
}

.ypi-sspr-contact-copy {
  margin-bottom: 14px;
}

.ypi-sspr-contact-copy p {
  margin: 8px 0 0;
  color: #607162;
  font-size: 14px;
  line-height: 1.55;
}

.ypi-sspr-contact-action-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.ypi-sspr-contact-action-grid .ypi-sspr-btn:first-child {
  grid-column: 1 / -1;
}


.ypi-sspr-contact-action-grid--single-secondary {
  grid-template-columns: 1fr;
}

.ypi-sspr-contact-action-grid--single-secondary .ypi-sspr-btn:first-child {
  grid-column: auto;
}

.ypi-sspr-contact-action-grid--single-secondary .ypi-sspr-btn--block {
  width: 100%;
}

.ypi-sspr-btn--icon {
  gap: 10px;
}

.ypi-sspr-btn__icon {
  display: inline-flex;
  width: 18px;
  height: 18px;
  color: currentColor;
}

.ypi-sspr-btn__icon svg {
  width: 18px;
  height: 18px;
  display: block;
}

.ypi-sspr-contact-meta-list {
  display: grid;
  gap: 8px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid #edf1ed;
}

.ypi-sspr-contact-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 14px;
  line-height: 1.45;
  color: #607162;
}

.ypi-sspr-contact-meta-row strong {
  color: #1a211c;
  font-weight: 500;
  text-align: right;
}

.ypi-sspr-inquiry-dialog {
  width: min(760px, calc(100% - 24px));
  padding: 20px;
  border: 1px solid rgba(24, 32, 27, .08);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 28px 80px rgba(16, 24, 40, .2);
}

.ypi-sspr-inquiry-dialog::backdrop {
  background: rgba(10, 16, 13, .56);
}

.ypi-sspr-inquiry-dialog__bar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.ypi-sspr-inquiry-dialog__title {
  margin: 8px 0 0;
  font-size: 28px;
  line-height: 1.1;
  font-weight: 500;
}

.ypi-sspr-form--dialog {
  padding: 0;
  border: 0;
  background: transparent;
}

.ypi-sspr-form-grid--split {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ypi-sspr-inquiry-dialog__actions {
  margin-top: 16px;
}

@media (max-width: 991px) {
  .ypi-sspr-contact-action-grid {
    grid-template-columns: 1fr;
  }

  .ypi-sspr-contact-action-grid .ypi-sspr-btn:first-child {
    grid-column: auto;
  }
}

@media (max-width: 767px) {
  .ypi-sspr-contact-hero {
    margin: -18px -18px 0;
    padding: 0 18px 16px;
  }

  .ypi-sspr-contact-profile {
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 12px;
    margin-top: -24px;
    padding: 0 8px;
  }

  .ypi-sspr-contact-avatar--overlap {
    width: 72px;
    height: 72px;
  }

  .ypi-sspr-inquiry-dialog {
    width: calc(100% - 16px);
    padding: 16px;
  }

  .ypi-sspr-inquiry-dialog__bar {
    flex-direction: column;
  }

  .ypi-sspr-inquiry-dialog__title {
    font-size: 24px;
  }

  .ypi-sspr-form-grid,
  .ypi-sspr-form-grid--split {
    grid-template-columns: 1fr;
  }
}


/* v1.0.6 contact simplification + light contact protection */
.ypi-sspr-contact-hero--minimal {
  margin: 0 0 10px;
  padding: 0;
}

.ypi-sspr-contact-profile--plain {
  margin-top: 0;
  padding: 0;
  align-items: center;
}

.ypi-sspr-contact-cover,
.ypi-sspr-contact-badges,
.ypi-sspr-contact-badge {
  display: none !important;
}

.ypi-sspr-contact-copy--compact {
  margin: 4px 0 14px;
}

.ypi-sspr-contact-copy--compact .ypi-sspr-contact-title {
  margin-top: 4px;
  font-size: 22px;
}

.ypi-sspr-contact-meta-list--protected {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #e5ebe5;
}

.ypi-sspr-contact-meta-list--protected .ypi-sspr-contact-meta-row strong {
  letter-spacing: .02em;
}

.ypi-sspr-contact-action-grid [data-ypi-reveal-link] {
  cursor: pointer;
}

.ypi-sspr-contact-action-grid [data-ypi-reveal-link].is-revealed {
  box-shadow: inset 0 0 0 1px rgba(20,111,202,.18);
}


/* v1.0.7 agency-focused sidebar + click-to-reveal phone */
.ypi-sspr-contact-shell {
  padding-top: 22px;
}

.ypi-sspr-contact-profile--agency {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 0;
  margin: 0;
}

.ypi-sspr-contact-avatar--brand {
  width: 72px;
  height: 72px;
  border-radius: 8px;
  border: 1px solid #e6ebe6;
  box-shadow: none;
  background: linear-gradient(180deg, #f8fbf8 0%, #eef4ef 100%);
  overflow: hidden;
}

.ypi-sspr-contact-avatar--brand span {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  font-size: 26px;
  font-weight: 500;
  color: #21402f;
}

.ypi-sspr-contact-meta--agency {
  gap: 4px;
}

.ypi-sspr-contact-eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 0 8px;
  width: fit-content;
  border-radius: 999px;
  background: #eef5ef;
  color: #4f6555;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.ypi-sspr-contact-meta--agency strong {
  display: block;
  margin-top: 2px;
  font-size: 20px;
  line-height: 1.15;
}

.ypi-sspr-contact-link-inline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
  color: #146fca;
  font-size: 14px;
  font-weight: 500;
}

.ypi-sspr-contact-link-inline::after {
  content: '→';
  line-height: 1;
}

.ypi-sspr-contact-copy--compact,
.ypi-sspr-contact-title {
  display: none !important;
}

.ypi-sspr-contact-action-grid {
  margin-top: 16px;
}

.ypi-sspr-contact-meta-row--phone strong {
  transition: color .2s ease, transform .2s ease;
}

.ypi-sspr-contact-action-grid [data-type="phone"].is-revealed {
  background: #eef6ff;
  border-color: #cfe0ff;
  color: #0f3f75;
}

.ypi-sspr-contact-action-grid [data-type="phone"].is-revealed [data-ypi-phone-cta-label] {
  font-variant-numeric: tabular-nums;
  letter-spacing: .01em;
}

@media (max-width: 767px) {
  .ypi-sspr-contact-profile--agency {
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 12px;
  }

  .ypi-sspr-contact-avatar--brand {
    width: 64px;
    height: 64px;
  }

  .ypi-sspr-contact-meta--agency strong {
    font-size: 18px;
  }
}


/* v1.1.0 standard inquiry form */
.ypi-sspr-form-intro{margin:0 0 14px;padding:12px 14px;border:1px solid #e6ece6;border-radius:8px;background:#f8fbf8;color:#3b4a3f;font-size:14px;line-height:1.5;}
.ypi-sspr-form-intro p{margin:0;}


.ypi-sspr-form-messages{margin:0 0 14px;}
.ypi-sspr-form-messages .ypi-sspr-notice{margin:0;}
.ypi-sspr-gdpr-check{display:flex;gap:10px;align-items:flex-start;font-size:13px;line-height:1.5;color:#4b5563;margin:4px 0 14px;}
.ypi-sspr-gdpr-check input{margin-top:3px;flex:0 0 auto;}
.ypi-sspr-gdpr-check a{color:inherit;text-decoration:underline;}

/* v1.1.5 verification badge */
.ypi-sspr-contact-name-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.ypi-sspr-verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: #eef7f0;
  border: 1px solid #d8e9dc;
  color: #256c3a;
  font-size: 12px;
  line-height: 1;
  font-weight: 500;
  white-space: nowrap;
}

.ypi-sspr-verified-badge__icon {
  display: inline-flex;
  width: 14px;
  height: 14px;
}

.ypi-sspr-verified-badge__icon svg {
  display: block;
  width: 14px;
  height: 14px;
}

@media (max-width: 767px) {
  .ypi-sspr-contact-name-line {
    align-items: flex-start;
  }

  .ypi-sspr-verified-badge {
    min-height: 26px;
    padding: 0 9px;
    font-size: 11px;
  }
}

/* v1.1.6 stronger verification trust row */
.ypi-sspr-verified-note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 8px;
  padding: 10px 12px;
  border-radius: 8px;
  background: #f4faf5;
  border: 1px solid #dbeedd;
  color: #1f5f33;
  font-size: 12px;
  line-height: 1.45;
  font-weight: 500;
}

.ypi-sspr-verified-note__icon {
  display: inline-flex;
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
  margin-top: 1px;
}

.ypi-sspr-verified-note__icon svg {
  display: block;
  width: 16px;
  height: 16px;
}

@media (max-width: 767px) {
  .ypi-sspr-verified-note {
    padding: 9px 10px;
    font-size: 11px;
  }
}


/* v1.1.7 sidebar polish */
.ypi-sspr-contact-shell {
  padding-top: 20px;
}

.ypi-sspr-contact-profile--agency {
  grid-template-columns: 68px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.ypi-sspr-contact-avatar--brand {
  width: 68px;
  height: 68px;
  border-color: #e3e9e3;
  background: #f7faf7;
}

.ypi-sspr-contact-meta--agency {
  display: grid;
  gap: 6px;
}

.ypi-sspr-contact-eyebrow {
  background: #f2f5f2;
  color: #607162;
}

.ypi-sspr-contact-name-line {
  gap: 10px;
}

.ypi-sspr-contact-meta--agency strong {
  font-size: 19px;
  line-height: 1.12;
}

.ypi-sspr-verified-badge {
  background: #f4f8f4;
  border-color: #e1ebe2;
  color: #2f6a41;
}

.ypi-sspr-verified-note {
  margin-top: 6px;
  padding: 9px 12px;
  background: #f8fbf8;
  border-color: #e3ece4;
  color: #46614f;
  font-weight: 400;
}

.ypi-sspr-contact-link-inline {
  margin-top: 2px;
  color: #185b37;
}

.ypi-sspr-contact-action-grid {
  margin-top: 18px;
}

.ypi-sspr-btn--primary {
  background: #bfeec0;
  border-color: #bfeec0;
}

.ypi-sspr-btn--secondary,
.ypi-sspr-btn--ghost {
  background: #fff;
}

.ypi-sspr-contact-meta-list--protected {
  margin-top: 16px;
  padding-top: 12px;
}

.ypi-sspr-contact-meta-row {
  font-size: 13px;
  color: #6a766d;
}

.ypi-sspr-contact-meta-row strong {
  color: #2a332d;
}

.ypi-sspr-report-wrap {
  margin-top: 18px;
  padding: 14px;
  border: 1px solid #ebefeb;
  border-radius: 8px;
  background: #fbfcfb;
}

.ypi-sspr-report-wrap__head {
  gap: 6px;
  margin-bottom: 12px;
}

.ypi-sspr-report-wrap__head strong {
  font-size: 16px;
}

.ypi-sspr-report-wrap__head span {
  font-size: 12px;
  color: #6c776f;
}

.ypi-sspr-embed-wrap--report :is(a,button,input[type=submit],input[type=button]) {
  border-radius: 8px !important;
}

.ypi-sspr-embed-wrap--report :is(.button,.btn,a.button,input[type=submit],input[type=button],button) {
  box-shadow: none !important;
}

@media (max-width: 767px) {
  .ypi-sspr-contact-profile--agency {
    grid-template-columns: 60px minmax(0, 1fr);
    gap: 10px;
  }

  .ypi-sspr-contact-avatar--brand {
    width: 60px;
    height: 60px;
  }

  .ypi-sspr-contact-meta--agency strong {
    font-size: 18px;
  }

  .ypi-sspr-verified-note {
    font-size: 11px;
  }
}


/* v1.1.8 report button polish */
.ypi-sspr-embed-wrap--report {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.ypi-sspr-embed-wrap--report > * {
  width: auto !important;
  max-width: 100%;
}

.ypi-sspr-embed-wrap--report :is(.button,.btn,a.button,input[type=submit],input[type=button],button) {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: auto !important;
  min-width: 0 !important;
  padding: 10px 16px !important;
  font-size: 14px !important;
  line-height: 1.2 !important;
  font-weight: 500 !important;
  border-radius: 8px !important;
}

@media (max-width: 767px) {
  .ypi-sspr-embed-wrap--report :is(.button,.btn,a.button,input[type=submit],input[type=button],button) {
    padding: 9px 14px !important;
    font-size: 13px !important;
  }
}

.ypi-sspr-honeypot{position:absolute !important;left:-9999px !important;top:auto !important;width:1px !important;height:1px !important;overflow:hidden !important;opacity:0 !important;pointer-events:none !important;}

.ypi-sspr-page-notice{margin:0 0 18px;padding:14px 16px;border-radius:8px;font-size:14px;line-height:1.5}.ypi-sspr-page-notice--success{background:#eefaf1;border:1px solid #c8e7d1;color:#1f5131}.ypi-sspr-page-notice--error{background:#fff5f5;border:1px solid #f1cccc;color:#8a2d2d}


.ypi-sspr-mobile-sticky {
  display: none;
}

@media (max-width: 767px), (min-width: 768px) and (max-width: 1024px) and (orientation: portrait) {
  .ypi-sspr {
    padding-bottom: calc(156px + env(safe-area-inset-bottom, 0px));
  }

  .ypi-sspr-mobile-sticky {
    display: block;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1000;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px));
    background: linear-gradient(180deg, rgba(245, 247, 245, 0) 0%, rgba(245, 247, 245, 0.92) 22%, rgba(245, 247, 245, 1) 100%);
    backdrop-filter: blur(10px);
  }

  .ypi-sspr-mobile-sticky__inner {
    width: min(720px, 100%);
    margin: 0 auto;
    background: rgba(255,255,255,0.98);
    border: 1px solid #dfe5df;
    border-radius: 8px;
    box-shadow: 0 16px 32px rgba(16, 24, 40, 0.12);
    padding: 10px;
  }

  .ypi-sspr-mobile-sticky__agency {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #18201b;
    padding: 4px 2px 10px;
    margin-bottom: 10px;
    border-bottom: 1px solid #edf1ed;
  }

  .ypi-sspr-mobile-sticky__agency-avatar {
    width: 42px;
    height: 42px;
    min-width: 42px;
    border-radius: 8px;
    overflow: hidden;
    background: #eff4ef;
    border: 1px solid #dfe5df;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #244533;
    font-weight: 500;
  }

  .ypi-sspr-mobile-sticky__agency-avatar img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .ypi-sspr-mobile-sticky__agency-meta {
    display: flex;
    flex-direction: column;
    min-width: 0;
    flex: 1;
  }

  .ypi-sspr-mobile-sticky__agency-kicker {
    font-size: 11px;
    line-height: 1.2;
    color: #6b766e;
    margin-bottom: 2px;
  }

  .ypi-sspr-mobile-sticky__agency-meta strong {
    font-size: 14px;
    line-height: 1.3;
    font-weight: 500;
    color: #18201b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .ypi-sspr-mobile-sticky__agency-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    align-self: flex-start;
    margin-top: 4px;
    padding: 4px 8px;
    border-radius: 999px;
    background: #edf7ef;
    border: 1px solid #cfe4d4;
    color: #244533;
    font-size: 11px;
    line-height: 1.2;
    font-weight: 500;
    max-width: 100%;
  }

  .ypi-sspr-mobile-sticky__agency-badge-icon {
    width: 13px;
    height: 13px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 13px;
  }

  .ypi-sspr-mobile-sticky__agency-badge-icon svg {
    width: 13px;
    height: 13px;
    display: block;
  }

  .ypi-sspr-mobile-sticky__agency-arrow {
    font-size: 18px;
    line-height: 1;
    color: #6b766e;
  }

  .ypi-sspr-mobile-sticky__actions {
    display: grid;
    gap: 8px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .ypi-sspr-mobile-sticky__actions--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ypi-sspr-mobile-sticky__actions--1 {
    grid-template-columns: 1fr;
  }

  .ypi-sspr-mobile-sticky__btn {
    min-height: 48px;
    justify-content: center;
    padding: 0 12px;
    font-size: 14px;
  }

  .ypi-sspr-mobile-sticky__btn .ypi-sspr-btn__icon {
    width: 18px;
    height: 18px;
  }

  .ypi-sspr-mobile-sticky__btn span:last-child {
    white-space: nowrap;
  }
}


@media (max-width: 430px) {
  .ypi-sspr {
    padding-bottom: calc(134px + env(safe-area-inset-bottom, 0px));
  }

  .ypi-sspr-mobile-sticky {
    padding: 8px 10px calc(8px + env(safe-area-inset-bottom, 0px));
  }

  .ypi-sspr-mobile-sticky__inner {
    padding: 8px;
  }

  .ypi-sspr-mobile-sticky__agency {
    gap: 8px;
    padding: 2px 0 8px;
    margin-bottom: 8px;
  }

  .ypi-sspr-mobile-sticky__agency-avatar {
    width: 36px;
    height: 36px;
    min-width: 36px;
  }

  .ypi-sspr-mobile-sticky__agency-kicker {
    display: none;
  }

  .ypi-sspr-mobile-sticky__agency-meta strong {
    font-size: 13px;
    line-height: 1.25;
  }

  .ypi-sspr-mobile-sticky__agency-badge {
    margin-top: 3px;
    padding: 3px 7px;
    font-size: 10px;
  }

  .ypi-sspr-mobile-sticky__agency-arrow {
    font-size: 16px;
  }

  .ypi-sspr-mobile-sticky__actions {
    gap: 6px;
  }

  .ypi-sspr-mobile-sticky__btn {
    min-height: 44px;
    padding: 0 10px;
    font-size: 13px;
  }

  .ypi-sspr-mobile-sticky__btn .ypi-sspr-btn__icon {
    width: 16px;
    height: 16px;
  }
}

/* --------------------------------------------------------------------------
 * YPI Smart Single Property v1.3.0 - Signature listing redesign
 * -------------------------------------------------------------------------- */
body.ypi-sspr-body {
  background: #f5f7f6;
}

.ypi-sspr--signature {
  --ypi-green: #2d8b73;
  --ypi-green-2: #236e5b;
  --ypi-soft-green: #eaf8fb;
  --ypi-ink: #15221e;
  --ypi-muted: #68766f;
  --ypi-line: #e4eae6;
  --ypi-card: #ffffff;
  --ypi-cream: #fbf6ec;
  --ypi-shadow: 0 18px 48px rgba(16, 24, 40, 0.07);
  padding-top: 22px;
  color: var(--ypi-ink);
}

.ypi-sspr--signature .ypi-sspr__container {
  width: min(1280px, calc(100% - 40px));
}

.ypi-sspr--signature .ypi-sspr-breadcrumbs {
  margin-bottom: 16px;
  font-size: 12px;
}

.ypi-sspr--signature .ypi-sspr-card,
.ypi-sspr--signature .ypi-sspr-gallery-card,
.ypi-sspr--signature .ypi-sspr-summary-card,
.ypi-sspr--signature .ypi-sspr-contact-card,
.ypi-sspr--signature .ypi-sspr-trust-mini,
.ypi-sspr--signature .ypi-sspr-location-card,
.ypi-sspr--signature .ypi-sspr-final-cta {
  border-radius: 8px;
  border: 1px solid var(--ypi-line);
  box-shadow: var(--ypi-shadow);
}

.ypi-sspr-signature-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(340px, 0.65fr);
  gap: 28px;
  align-items: start;
  margin-bottom: 18px;
}

.ypi-sspr-signature-hero__media,
.ypi-sspr-signature-hero__aside {
  min-width: 0;
}

.ypi-sspr-signature-hero__aside {
  display: grid;
  gap: 22px;
  position: sticky;
  top: 88px;
}

.ypi-sspr-gallery-card--signature {
  overflow: hidden;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.ypi-sspr--signature .ypi-sspr-gallery {
  padding: 0;
}

.ypi-sspr-gallery__main--signature {
  min-height: 500px;
  background: #e8ece9;
  box-shadow: var(--ypi-shadow);
}

.ypi-sspr-gallery__main--signature img {
  aspect-ratio: 16 / 9.6;
  min-height: 500px;
  object-fit: cover;
  border-radius: 8px;
}

.ypi-sspr-gallery__main--signature::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 8px;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.10), transparent 42%, rgba(0, 0, 0, 0.30));
}

.ypi-sspr-gallery__badge {
  position: absolute;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.ypi-sspr-gallery__badge--status {
  left: 14px;
  top: 14px;
  background: #d8f4dd;
  color: #145a2a;
}

.ypi-sspr-gallery__count--signature {
  left: 16px;
  right: auto;
  bottom: 16px;
  z-index: 4;
  gap: 7px;
  border-radius: 8px;
  min-height: 34px;
  background: rgba(20, 27, 24, 0.74);
  backdrop-filter: blur(10px);
}

.ypi-sspr-gallery__count--signature svg {
  width: 15px;
  height: 15px;
}

.ypi-sspr-gallery-float-actions {
  position: absolute;
  z-index: 5;
  top: 18px;
  right: 18px;
  display: grid;
  gap: 10px;
}

.ypi-sspr-floating-icon,
.ypi-sspr-mini-icon {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.75);
  background: rgba(255, 255, 255, 0.92);
  color: var(--ypi-green);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(16, 24, 40, 0.12);
}

.ypi-sspr-floating-icon:hover,
.ypi-sspr-mini-icon:hover {
  transform: translateY(-1px);
}

.ypi-sspr-quick-facts {
  position: absolute;
  z-index: 4;
  top: 78px;
  right: 26px;
  width: min(190px, 34%);
  padding: 18px;
  border-radius: 8px;
  background: rgba(18, 27, 23, 0.78);
  color: #fff;
  backdrop-filter: blur(14px);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.24);
}

.ypi-sspr-quick-facts > strong {
  display: block;
  margin-bottom: 14px;
  font-size: 13px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.ypi-sspr-quick-fact {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.ypi-sspr-quick-fact:first-of-type {
  border-top: 0;
}

.ypi-sspr-quick-fact svg {
  width: 19px;
  height: 19px;
  color: #d7f4e1;
}

.ypi-sspr-quick-fact b,
.ypi-sspr-quick-fact small {
  display: block;
}

.ypi-sspr-quick-fact b {
  font-size: 13px;
}

.ypi-sspr-quick-fact small {
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 11px;
}

.ypi-sspr-gallery__rail--signature {
  grid-template-columns: 42px minmax(0, 1fr) 42px;
  margin-top: 14px;
}

.ypi-sspr-gallery__rail--signature .ypi-sspr-gallery__thumbs {
  grid-auto-columns: calc((100% - 48px) / 5);
  gap: 12px;
}

.ypi-sspr-gallery__rail--signature .ypi-sspr-thumb {
  position: relative;
  border: 0;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(16, 24, 40, 0.08);
}

.ypi-sspr-gallery__rail--signature .ypi-sspr-thumb img {
  aspect-ratio: 16 / 8.4;
}

.ypi-sspr-gallery__rail--signature .ypi-sspr-thumb.is-active {
  outline: 3px solid rgba(7, 88, 76, 0.28);
  outline-offset: 2px;
}

.ypi-sspr-thumb__more {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(16, 24, 40, 0.52);
  color: #fff;
  font-weight: 600;
}

.ypi-sspr--signature .ypi-sspr-gallery__nav,
.ypi-sspr--signature .ypi-sspr-gallery__main-nav {
  border-radius: 999px;
}

.ypi-sspr-summary-card--signature,
.ypi-sspr-contact-card,
.ypi-sspr-trust-mini {
  background: #fff;
  padding: 24px;
}

.ypi-sspr-summary-actions--icons {
  display: flex;
  gap: 8px;
}

.ypi-sspr-summary-actions--icons .ypi-sspr-mini-icon {
  width: 36px;
  height: 36px;
  border: 1px solid var(--ypi-line);
  box-shadow: none;
  font-size: 17px;
}

.ypi-sspr--signature .ypi-sspr-kicker {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--ypi-soft-green);
  color: var(--ypi-green);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.035em;
}

.ypi-sspr--signature .ypi-sspr-kicker--inverse {
  background: rgba(255, 255, 255, 0.12);
  color: #d6f5e2;
}

.ypi-sspr-price--signature {
  margin-top: 18px;
  color: var(--ypi-green);
  font-size: clamp(42px, 5vw, 56px);
  line-height: 1;
  letter-spacing: -0.04em;
}

.ypi-sspr--signature .ypi-sspr-title {
  margin: 8px 0 10px;
  font-size: clamp(24px, 2.4vw, 34px);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.ypi-sspr--signature .ypi-sspr-address {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 18px;
  color: var(--ypi-muted);
}

.ypi-sspr--signature .ypi-sspr-address svg {
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
  color: var(--ypi-green);
}

.ypi-sspr-stats--signature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 18px 0 20px;
}

.ypi-sspr-stats--signature li {
  min-height: 74px;
  padding: 12px;
  border: 1px solid var(--ypi-line);
  border-radius: 8px;
  background: #fbfcfb;
}

.ypi-sspr-stats--signature .ypi-sspr-stat__icon {
  color: var(--ypi-green);
}

.ypi-sspr-stats--signature .ypi-sspr-stat__value {
  color: var(--ypi-ink);
  font-size: 16px;
  font-weight: 600;
}

.ypi-sspr-stats--signature .ypi-sspr-stat__label {
  color: var(--ypi-muted);
  font-size: 12px;
}

.ypi-sspr-summary-cta {
  display: grid;
  gap: 10px;
}

.ypi-sspr--signature .ypi-sspr-btn {
  border-radius: 8px;
  min-height: 46px;
  font-weight: 600;
}

.ypi-sspr--signature .ypi-sspr-btn--primary {
  border-color: var(--ypi-green);
  background: linear-gradient(135deg, var(--ypi-green), #236e5b);
}

.ypi-sspr--signature .ypi-sspr-btn--secondary {
  background: #fff;
  color: var(--ypi-green);
  border-color: #b8c9c3;
}

.ypi-sspr--signature .ypi-sspr-btn--neutral {
  background: #f4f1ed;
  border-color: #f4f1ed;
  color: #42504a;
}

.ypi-sspr-btn--whatsapp {
  background: #35c964;
  color: #fff;
  border-color: #35c964;
}

.ypi-sspr-micro-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
  color: #7f8a84;
  font-size: 12px;
}

.ypi-sspr-micro-actions a,
.ypi-sspr-micro-actions button {
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}

.ypi-sspr-contact-card__head {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  margin-bottom: 18px;
}

.ypi-sspr-contact-avatar--large {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  overflow: hidden;
  background: #edf4ef;
}

.ypi-sspr-contact-avatar--large img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ypi-sspr-contact-card__brand {
  color: var(--ypi-green);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.ypi-sspr-contact-card h2,
.ypi-sspr-trust-mini h2 {
  margin: 2px 0 6px;
  font-size: 20px;
  line-height: 1.15;
}

.ypi-sspr-verified-badge--soft {
  border-radius: 999px;
  background: #eefbf2;
  color: #14733a;
  font-size: 12px;
}

.ypi-sspr-contact-action-grid--signature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 10px;
}

.ypi-sspr-contact-action-grid--signature.ypi-sspr-contact-action-grid--no-wa {
  grid-template-columns: 1fr;
}

.ypi-sspr-contact-card__protected {
  margin: 13px 0 0;
  color: var(--ypi-muted);
  font-size: 12px;
}

.ypi-sspr-contact-link-inline {
  display: inline-flex;
  margin-top: 12px;
  color: var(--ypi-green);
  font-weight: 600;
  text-decoration: none;
}

.ypi-sspr-trust-mini {
  display: grid;
  grid-template-columns: 94px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
}

.ypi-sspr-trust-mini__score {
  width: 84px;
  height: 84px;
  display: grid;
  place-items: center;
  align-content: center;
  border-radius: 50%;
  background: radial-gradient(circle at center, #fff 55%, transparent 56%), conic-gradient(var(--ypi-green) 0 88%, #dceff2 88% 100%);
  color: var(--ypi-green);
}

.ypi-sspr-trust-mini__score span {
  display: block;
  font-size: 24px;
  font-weight: 600;
  line-height: 1;
}

.ypi-sspr-trust-mini__score small {
  color: var(--ypi-muted);
  font-size: 10px;
}

.ypi-sspr-trust-mini ul,
.ypi-sspr-love-list {
  padding: 0;
  margin: 8px 0 0;
  list-style: none;
}

.ypi-sspr-trust-mini li,
.ypi-sspr-love-list li {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  margin-top: 8px;
  color: #405049;
  font-size: 13px;
}

.ypi-sspr-trust-mini li svg,
.ypi-sspr-love-list li svg {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  color: #1b8a4a;
}

.ypi-sspr-comfort-strip {
  margin: 18px 0 24px;
  padding: 18px;
  border: 1px solid var(--ypi-line);
  border-radius: 8px;
  background: linear-gradient(135deg, #fff, #fffaf1);
  box-shadow: 0 12px 30px rgba(16, 24, 40, 0.045);
}

.ypi-sspr-comfort-strip__head {
  margin-bottom: 12px;
}

.ypi-sspr-comfort-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.ypi-sspr-comfort-item {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 72px;
  padding: 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(226, 232, 226, 0.85);
}

.ypi-sspr-comfort-item__icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #edf7f1;
  color: var(--ypi-green);
}

.ypi-sspr-comfort-item__icon svg {
  width: 19px;
  height: 19px;
}

.ypi-sspr-comfort-item strong,
.ypi-sspr-comfort-item small {
  display: block;
}

.ypi-sspr-comfort-item strong {
  font-size: 13px;
}

.ypi-sspr-comfort-item small {
  margin-top: 2px;
  color: var(--ypi-muted);
  font-size: 12px;
}

.ypi-sspr-comfort-item.is-fallback small {
  color: #8a7a5b;
}

.ypi-sspr-description-story {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.85fr);
  gap: 34px;
  align-items: center;
  margin: 24px 0;
  padding: 30px;
  background: #fff;
}

.ypi-sspr-description-story h2 {
  margin: 12px 0 14px;
  font-size: clamp(25px, 3vw, 38px);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.ypi-sspr-content--story {
  color: #34413b;
  font-size: 15px;
  line-height: 1.72;
}

.ypi-sspr-description-story__media {
  margin: 0;
}

.ypi-sspr-description-story__media img {
  width: 100%;
  aspect-ratio: 16 / 10.5;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 14px 32px rgba(16, 24, 40, 0.09);
}

.ypi-sspr-feature-ribbon {
  display: grid;
  grid-template-columns: repeat(9, minmax(0, 1fr));
  gap: 0;
  margin: 24px 0;
  padding: 10px;
  border: 1px solid #eadfcf;
  border-radius: 8px;
  background: #fff8ed;
  box-shadow: 0 10px 26px rgba(16, 24, 40, 0.045);
}

.ypi-sspr-feature-ribbon__item {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  column-gap: 9px;
  align-items: center;
  min-height: 64px;
  padding: 8px 10px;
  border-right: 1px solid rgba(221, 207, 186, 0.75);
}

.ypi-sspr-feature-ribbon__item:last-child {
  border-right: 0;
}

.ypi-sspr-feature-ribbon__item > span {
  grid-row: span 2;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #fff;
  color: var(--ypi-green);
}

.ypi-sspr-feature-ribbon__item svg {
  width: 17px;
  height: 17px;
}

.ypi-sspr-feature-ribbon__item strong,
.ypi-sspr-feature-ribbon__item small {
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ypi-sspr-feature-ribbon__item strong {
  font-size: 13px;
  line-height: 1.2;
}

.ypi-sspr-feature-ribbon__item small {
  color: #6f756d;
  font-size: 11px;
}

.ypi-sspr-love-panel {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) 220px minmax(320px, 0.9fr) minmax(260px, 0.65fr);
  gap: 28px;
  align-items: center;
  margin: 24px 0;
  padding: 30px;
  border-radius: 8px;
  background: radial-gradient(circle at 34% 40%, rgba(74, 146, 117, 0.34), transparent 34%), linear-gradient(135deg, #07483f, #00382f);
  color: #fff;
  box-shadow: 0 20px 46px rgba(7, 72, 63, 0.24);
}

.ypi-sspr-love-panel h2 {
  margin: 14px 0 12px;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.06;
  letter-spacing: -0.035em;
}

.ypi-sspr-love-panel p {
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.65;
}

.ypi-sspr-love-score {
  width: 190px;
  height: 190px;
  display: grid;
  place-items: center;
  align-content: center;
  justify-self: center;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, rgba(12, 87, 75, 1) 0 52%, transparent 53%),
    conic-gradient(#b8f2c9 0 92%, rgba(255, 255, 255, 0.14) 92% 100%);
  box-shadow: inset 0 0 0 16px rgba(255, 255, 255, 0.07), 0 14px 32px rgba(0, 0, 0, 0.18);
}

.ypi-sspr-love-score span {
  display: block;
  color: #dbf9e4;
  font-size: 44px;
  font-weight: 600;
  line-height: 1;
}

.ypi-sspr-love-score small {
  max-width: 110px;
  color: rgba(255, 255, 255, 0.7);
  text-align: center;
  font-size: 12px;
}

.ypi-sspr-love-bars {
  display: grid;
  gap: 12px;
}

.ypi-sspr-love-bar {
  display: grid;
  gap: 6px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
}

.ypi-sspr-love-bar i {
  position: relative;
  display: block;
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
}

.ypi-sspr-love-bar i::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--value, 70%);
  border-radius: inherit;
  background: #b8f2c9;
}

.ypi-sspr-love-list li {
  color: rgba(255, 255, 255, 0.86);
}

.ypi-sspr-love-list li svg {
  color: #b8f2c9;
}

.ypi-sspr-love-map-link {
  min-height: 160px;
  display: grid;
  place-items: center;
  align-content: center;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  background:
    linear-gradient(rgba(4, 49, 42, 0.36), rgba(4, 49, 42, 0.36)),
    radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.2), transparent 22%),
    linear-gradient(135deg, #466a66, #1e3f3a);
  color: #fff;
  text-decoration: none;
  text-align: center;
}

.ypi-sspr-love-map-link span {
  font-size: 24px;
  font-weight: 600;
}

.ypi-sspr-love-map-link small {
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.72);
}

.ypi-sspr-location-card {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(340px, 1fr);
  gap: 24px;
  align-items: stretch;
  margin: 24px 0;
  padding: 18px;
  background: #fff;
}

.ypi-sspr-map-frame--signature {
  min-height: 310px;
  overflow: hidden;
  border-radius: 8px;
  background: #eef3ef;
}

.ypi-sspr-map-frame--signature iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 310px;
  border: 0;
}

.ypi-sspr-location-copy {
  padding: 14px 10px 14px 0;
}

.ypi-sspr-location-copy h2 {
  margin: 12px 0 8px;
  font-size: clamp(22px, 2.5vw, 32px);
  line-height: 1.12;
}

.ypi-sspr-location-copy p {
  color: var(--ypi-muted);
  line-height: 1.6;
}

.ypi-sspr-location-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 18px 0;
}

.ypi-sspr-location-fact {
  display: flex;
  gap: 10px;
  align-items: center;
  min-height: 58px;
  padding: 10px;
  border: 1px solid var(--ypi-line);
  border-radius: 8px;
  background: #fbfcfb;
}

.ypi-sspr-location-fact__icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #edf7f1;
  color: var(--ypi-green);
}

.ypi-sspr-location-fact svg {
  width: 17px;
  height: 17px;
}

.ypi-sspr-location-fact small,
.ypi-sspr-location-fact strong {
  display: block;
}

.ypi-sspr-location-fact small {
  color: var(--ypi-muted);
  font-size: 11px;
}

.ypi-sspr-location-fact strong {
  font-size: 13px;
}

.ypi-sspr-location-link {
  width: fit-content;
  padding-inline: 18px;
}

.ypi-sspr-resources-card,
.ypi-sspr-similar-section {
  margin: 24px 0;
}

.ypi-sspr-similar-section .ypi-sspr-section-head {
  margin-bottom: 14px;
}

.ypi-sspr-section-head--row {
  display: flex;
  align-items: end;
  justify-content: space-between;
}

.ypi-sspr-related-grid--signature {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.ypi-sspr-related-grid--signature .ypi-sspr-related-card {
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--ypi-line);
  background: #fff;
  box-shadow: 0 12px 26px rgba(16, 24, 40, 0.05);
}

.ypi-sspr-related-grid--signature .ypi-sspr-related-media img,
.ypi-sspr-related-grid--signature .ypi-sspr-related-empty {
  aspect-ratio: 16 / 10;
}

.ypi-sspr-final-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 30px 0 10px;
  padding: 18px 22px;
  background: linear-gradient(135deg, #fffaf1, #ffffff);
}

.ypi-sspr-final-cta h2 {
  margin: 0 0 3px;
  font-size: 22px;
}

.ypi-sspr-final-cta p {
  margin: 0;
  color: var(--ypi-muted);
}

@media (max-width: 1180px) {
  .ypi-sspr-signature-hero {
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  }

  .ypi-sspr-gallery__main--signature,
  .ypi-sspr-gallery__main--signature img {
    min-height: 430px;
  }

  .ypi-sspr-quick-facts {
    width: 178px;
    right: 18px;
  }

  .ypi-sspr-feature-ribbon {
    overflow-x: auto;
    grid-template-columns: repeat(9, 145px);
  }

  .ypi-sspr-love-panel {
    grid-template-columns: 1fr 190px 1fr;
  }

  .ypi-sspr-love-map-link {
    grid-column: 1 / -1;
    min-height: 120px;
  }
}

@media (max-width: 980px) {
  .ypi-sspr--signature .ypi-sspr__container {
    width: min(100% - 24px, 760px);
  }

  .ypi-sspr-signature-hero,
  .ypi-sspr-description-story,
  .ypi-sspr-location-card {
    grid-template-columns: 1fr;
  }

  .ypi-sspr-signature-hero__aside {
    position: static;
  }

  .ypi-sspr-gallery__main--signature,
  .ypi-sspr-gallery__main--signature img {
    min-height: 360px;
  }

  .ypi-sspr-quick-facts {
    position: static;
    width: auto;
    margin-top: 10px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    background: #15352f;
  }

  .ypi-sspr-quick-facts > strong {
    grid-column: 1 / -1;
  }

  .ypi-sspr-comfort-grid,
  .ypi-sspr-related-grid--signature {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ypi-sspr-love-panel {
    grid-template-columns: 1fr;
  }

  .ypi-sspr-love-score {
    justify-self: start;
    width: 160px;
    height: 160px;
  }

  .ypi-sspr-location-copy {
    padding: 4px 2px 8px;
  }
}

@media (max-width: 640px) {
  .ypi-sspr--signature {
    padding-top: 12px;
    padding-bottom: 100px;
  }

  .ypi-sspr--signature .ypi-sspr__container {
    width: calc(100% - 18px);
  }

  .ypi-sspr-signature-hero {
    gap: 16px;
  }

  .ypi-sspr-gallery__main--signature,
  .ypi-sspr-gallery__main--signature img {
    min-height: 315px;
    aspect-ratio: 1 / 0.82;
  }

  .ypi-sspr-gallery-float-actions {
    top: 12px;
    right: 12px;
  }

  .ypi-sspr-floating-icon,
  .ypi-sspr-mini-icon {
    width: 36px;
    height: 36px;
    font-size: 17px;
  }

  .ypi-sspr-gallery__rail--signature {
    grid-template-columns: 0 minmax(0, 1fr) 0;
    gap: 0;
  }

  .ypi-sspr-gallery__rail--signature .ypi-sspr-gallery__nav {
    display: none;
  }

  .ypi-sspr-gallery__rail--signature .ypi-sspr-gallery__thumbs {
    grid-auto-columns: 38%;
    gap: 8px;
  }

  .ypi-sspr-quick-facts {
    grid-template-columns: 1fr 1fr;
    padding: 12px;
  }

  .ypi-sspr-summary-card--signature,
  .ypi-sspr-contact-card,
  .ypi-sspr-trust-mini,
  .ypi-sspr-description-story,
  .ypi-sspr-love-panel,
  .ypi-sspr-location-card,
  .ypi-sspr-final-cta {
    padding: 16px;
  }

  .ypi-sspr-price--signature {
    font-size: 40px;
  }

  .ypi-sspr-stats--signature,
  .ypi-sspr-contact-action-grid--signature,
  .ypi-sspr-comfort-grid,
  .ypi-sspr-location-facts,
  .ypi-sspr-related-grid--signature {
    grid-template-columns: 1fr;
  }

  .ypi-sspr-contact-card__head,
  .ypi-sspr-trust-mini {
    grid-template-columns: 58px 1fr;
  }

  .ypi-sspr-contact-avatar--large {
    width: 58px;
    height: 58px;
  }

  .ypi-sspr-comfort-strip {
    padding: 14px;
  }

  .ypi-sspr-comfort-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    padding-bottom: 2px;
  }

  .ypi-sspr-comfort-item {
    min-width: 210px;
    scroll-snap-align: start;
  }

  .ypi-sspr-feature-ribbon {
    grid-template-columns: repeat(9, 132px);
    padding: 8px;
  }

  .ypi-sspr-love-score {
    width: 138px;
    height: 138px;
  }

  .ypi-sspr-love-score span {
    font-size: 34px;
  }

  .ypi-sspr-love-map-link {
    min-height: 110px;
  }

  .ypi-sspr-map-frame--signature,
  .ypi-sspr-map-frame--signature iframe {
    min-height: 260px;
  }

  .ypi-sspr-final-cta {
    display: grid;
  }

  .ypi-sspr-final-cta .ypi-sspr-btn {
    width: 100%;
  }
}


/* v1.3.1 layout follow-up */
.ypi-sspr-signature-hero__media {
  display: grid;
  gap: 20px;
  align-content: start;
}

.ypi-sspr--signature .ypi-sspr-summary-card,
.ypi-sspr--signature .ypi-sspr-signature-hero__aside {
  position: static;
  top: auto;
}

@media (max-width: 980px) {
  .ypi-sspr-signature-hero__media {
    gap: 16px;
  }
}


/* v1.3.2 spacing + quick facts polish */
.ypi-sspr-signature-hero__media {
  gap: 12px;
}

.ypi-sspr-comfort-strip {
  margin: 8px 0 12px;
}

.ypi-sspr-description-story {
  margin: 0 0 12px;
}

.ypi-sspr-quick-facts {
  width: 168px;
}

@media (max-width: 1180px) {
  .ypi-sspr-quick-facts {
    width: 166px;
  }
}

@media (max-width: 980px) {
  .ypi-sspr-signature-hero__media {
    gap: 12px;
  }

  .ypi-sspr-description-story {
    margin: 0 0 10px;
  }
}


/* v1.3.3 declutter + typography follow-up */
.ypi-sspr-price--signature {
  font-size: 42px;
}

.ypi-sspr--signature .ypi-sspr-title {
  font-size: 27px;
  line-height: 1.15;
}

.ypi-sspr-description-story {
  grid-template-columns: 1fr;
}

.ypi-sspr-description-story__media {
  display: none;
}

.ypi-sspr-quick-facts {
  width: 152px;
}

.ypi-sspr-quick-fact {
  gap: 10px;
}

.ypi-sspr-quick-fact span b {
  font-size: 15px;
}

.ypi-sspr-quick-fact span small {
  font-size: 12px;
}

@media (max-width: 640px) {
  .ypi-sspr-price--signature {
    font-size: 42px;
  }

  .ypi-sspr--signature .ypi-sspr-title {
    font-size: 27px;
  }
}


/* v1.3.4 contact/actions + useful-links polish */
.ypi-sspr-contact-action-grid--signature {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.ypi-sspr-contact-action-grid--signature .ypi-sspr-btn:first-child {
  grid-column: auto;
}

.ypi-sspr-contact-action-grid--signature .ypi-sspr-btn {
  width: 100%;
  min-width: 0;
  padding-inline: 10px;
  white-space: nowrap;
}

.ypi-sspr-resources-card {
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  padding: 0 !important;
}

.ypi-sspr-resources-card .ypi-sspr-section-head {
  margin-bottom: 14px;
}

.ypi-sspr-resources-card .ypi-sspr-internal-groups {
  gap: 18px;
}

.ypi-sspr-resources-card .ypi-sspr-internal-group {
  gap: 12px;
}

.ypi-sspr-resources-card .ypi-sspr-internal-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.ypi-sspr-resources-card .ypi-sspr-internal-card {
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--ypi-line);
  background: #fff;
  box-shadow: 0 12px 26px rgba(16, 24, 40, 0.05);
}

.ypi-sspr-resources-card .ypi-sspr-internal-card__media {
  min-height: 0;
  aspect-ratio: 16 / 10;
}

.ypi-sspr-resources-card .ypi-sspr-internal-card__media img {
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.ypi-sspr-resources-card .ypi-sspr-internal-card__body {
  padding: 14px;
}

.ypi-sspr-resources-card .ypi-sspr-internal-card__title {
  font-size: 16px;
  line-height: 1.25;
}

.ypi-sspr-resources-card .ypi-sspr-internal-card__price {
  font-size: 17px;
}

@media (max-width: 1180px) {
  .ypi-sspr-resources-card .ypi-sspr-internal-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .ypi-sspr-resources-card .ypi-sspr-internal-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .ypi-sspr-contact-action-grid--signature {
    grid-template-columns: 1fr;
  }

  .ypi-sspr-resources-card .ypi-sspr-internal-grid {
    grid-template-columns: 1fr;
  }
}


/* ==========================================================================
   v1.4.0 Full rebuild modern property UI
   ========================================================================== */
.ypi-sspr--modern {
  --ypi-modern-green: #2d8b73;
  --ypi-modern-green-dark: #236e5b;
  --ypi-modern-mint: #eaf8fb;
  --ypi-modern-text: #0f2320;
  --ypi-modern-muted: #6d7c78;
  --ypi-modern-line: #e2e8e5;
  --ypi-modern-bg: #f7f9f8;
  --ypi-modern-card: #fff;
  --ypi-modern-radius: 4px;
  --ypi-modern-shadow: 0 14px 42px rgba(15, 35, 32, .08);
  background: linear-gradient(180deg, #fff 0, var(--ypi-modern-bg) 360px);
  color: var(--ypi-modern-text);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.ypi-modern-shell {
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
  padding: 22px 0 44px;
}

.ypi-modern-breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  color: #80908c;
  font-size: 13px;
  margin: 4px 0 24px;
}

.ypi-modern-breadcrumbs a {
  color: #667672;
  text-decoration: none;
}

.ypi-modern-breadcrumbs a:hover {
  color: var(--ypi-modern-green);
}

.ypi-modern-hero,
.ypi-modern-two-col {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 28px;
  align-items: start;
}

.ypi-modern-gallery-card,
.ypi-modern-panel,
.ypi-modern-summary-card,
.ypi-modern-location {
  background: var(--ypi-modern-card);
  border: 1px solid var(--ypi-modern-line);
  border-radius: var(--ypi-modern-radius);
  box-shadow: var(--ypi-modern-shadow);
}

.ypi-modern-gallery-card {
  overflow: hidden;
  padding: 0;
  box-shadow: 0 18px 48px rgba(15, 35, 32, .10);
}

.ypi-modern-gallery__main {
  position: relative;
  height: clamp(380px, 43vw, 520px);
  overflow: hidden;
  border-radius: var(--ypi-modern-radius) var(--ypi-modern-radius) 0 0;
  background: #e9eeec;
}

.ypi-modern-gallery__open {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.ypi-modern-gallery__open img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.ypi-modern-gallery-count {
  position: absolute;
  top: 18px;
  left: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 62px;
  height: 40px;
  padding: 0 14px;
  border-radius: 8px;
  background: rgba(15, 20, 18, .72);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
}

.ypi-modern-gallery-expand,
.ypi-modern-icon-btn {
  width: 42px;
  height: 42px;
  border: 1px solid var(--ypi-modern-line);
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  color: var(--ypi-modern-green);
  background: #fff;
  box-shadow: 0 10px 24px rgba(15, 35, 32, .10);
  cursor: pointer;
}

.ypi-modern-gallery-expand {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 3;
  font-weight: 600;
}

.ypi-modern-gallery-nav {
  position: absolute;
  top: 50%;
  z-index: 4;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.8);
  background: rgba(255,255,255,.88);
  color: var(--ypi-modern-green);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.ypi-modern-gallery-nav--prev { left: 22px; }
.ypi-modern-gallery-nav--next { right: 22px; }

.ypi-modern-thumbs {
  padding: 12px;
  background: #fff;
}

.ypi-modern-thumbs__viewport {
  overflow: hidden;
}

.ypi-modern-thumbs__list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.ypi-modern-thumb {
  position: relative;
  height: 78px;
  border: 2px solid transparent;
  border-radius: 7px;
  overflow: hidden;
  padding: 0;
  background: #edf2f0;
  cursor: pointer;
}

.ypi-modern-thumb.is-active {
  border-color: var(--ypi-modern-green);
}

.ypi-modern-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ypi-modern-thumb__more {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 600;
  background: rgba(0, 0, 0, .42);
}

.ypi-modern-summary-card {
  padding: 28px;
  position: static;
}

.ypi-modern-card-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

.ypi-modern-card-actions > span:last-child {
  display: inline-flex;
  gap: 10px;
}

.ypi-modern-status {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 14px;
  border-radius: 999px;
  color: var(--ypi-modern-green);
  background: var(--ypi-modern-mint);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .03em;
  text-transform: uppercase;
}

.ypi-modern-price {
  color: var(--ypi-modern-green);
  font-size: 25px;
  line-height: 1;
  font-weight: 600;
  letter-spacing: -.045em;
  margin-bottom: 8px;
}

.ypi-modern-title {
  color: var(--ypi-modern-text);
  font-size: 22px;
  line-height: 1.13;
  font-weight: 500;
  letter-spacing: -.025em;
  margin: 0 0 18px;
}

.ypi-modern-address {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ypi-modern-muted);
  font-size: 14px;
  line-height: 1.4;
  margin: 0 0 22px;
}

.ypi-modern-address svg {
  width: 18px;
  height: 18px;
  color: var(--ypi-modern-green);
  flex: 0 0 auto;
}

.ypi-modern-building {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: var(--ypi-modern-text);
  font-size: 14px;
  line-height: 1.35;
  margin: -8px 0 12px;
  padding: 10px 12px;
  border: 1px solid var(--ypi-modern-line);
  border-radius: 8px;
  background: rgba(45, 139, 115, .06);
}

.ypi-modern-building svg {
  width: 18px;
  height: 18px;
  color: var(--ypi-modern-green);
  flex: 0 0 auto;
  margin-top: 1px;
}

.ypi-modern-building small {
  display: block;
  color: var(--ypi-modern-muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .02em;
  text-transform: uppercase;
  margin-bottom: 2px;
}

.ypi-modern-location-building {
  color: var(--ypi-modern-text) !important;
  margin-bottom: 8px !important;
}

.ypi-modern-location-building strong {
  color: var(--ypi-modern-green);
  font-weight: 700;
}

.ypi-modern-stats {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.ypi-modern-stats li {
  min-height: 70px;
  border: 1px solid var(--ypi-modern-line);
  border-radius: 8px;
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 12px;
  background: #fff;
}

.ypi-modern-stats li.is-empty {
  opacity: .72;
}

.ypi-modern-stat-icon {
  color: var(--ypi-modern-green);
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
}

.ypi-modern-stat-icon svg,
.ypi-modern-key-item svg,
.ypi-modern-nearby-card svg,
.ypi-modern-resource-card svg {
  width: 20px;
  height: 20px;
}

.ypi-modern-stats small,
.ypi-modern-key-item small {
  display: block;
  color: #8b9995;
  font-size: 12px;
  line-height: 1.25;
}

.ypi-modern-stats strong,
.ypi-modern-key-item strong {
  display: block;
  color: var(--ypi-modern-text);
  font-size: 15px;
  line-height: 1.25;
  font-weight: 600;
}

.ypi-modern-summary-ctas {
  display: grid;
  gap: 10px;
}

.ypi-modern-btn {
  min-height: 46px;
  border-radius: 8px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}

.ypi-modern-btn:hover {
  transform: translateY(-1px);
}

.ypi-modern-btn--primary {
  background: linear-gradient(135deg, var(--ypi-modern-green), var(--ypi-modern-green-dark));
  color: #fff;
  box-shadow: 0 12px 26px rgba(0, 95, 77, .20);
}

.ypi-modern-btn--outline {
  background: #fff;
  color: var(--ypi-modern-text);
  border-color: #bfcac6;
}

.ypi-modern-btn--small {
  min-height: 42px;
  padding-inline: 15px;
}

.ypi-modern-btn--wide {
  grid-column: 1 / -1;
  width: 100%;
}

.ypi-modern-two-col {
  margin-top: 28px;
}

.ypi-modern-panel {
  padding: 28px;
}

.ypi-modern-panel h2,
.ypi-modern-resources h2 {
  color: var(--ypi-modern-text);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 28px;
  line-height: 1.15;
  font-weight: 500;
  letter-spacing: -.02em;
  margin: 0 0 22px;
}

.ypi-modern-content {
  color: #334541;
  font-size: 15px;
  line-height: 1.85;
}

.ypi-modern-content p {
  margin: 0 0 18px;
}

.ypi-modern-read-more,
.ypi-modern-agent-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ypi-modern-green);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  margin-top: 12px;
}

.ypi-modern-agent-card {
  align-self: stretch;
}

.ypi-modern-agent-brand {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 16px;
  align-items: center;
  margin-bottom: 24px;
}

.ypi-modern-agent-logo {
  min-height: 58px;
  display: grid;
  place-items: center;
  color: #1a3d36;
  border: 1px solid var(--ypi-modern-line);
  border-radius: 8px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.05;
  text-align: center;
}

.ypi-modern-agent-brand h2 {
  font-family: inherit;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: .01em;
  margin: 0 0 6px;
}

.ypi-modern-verified {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--ypi-modern-green);
  font-size: 13px;
  font-weight: 600;
}

.ypi-modern-verified svg {
  width: 16px;
  height: 16px;
}

.ypi-modern-agent-main {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 4px 0 22px;
}

.ypi-modern-agent-avatar {
  width: 66px;
  height: 66px;
  border-radius: 999px;
  overflow: hidden;
  background: var(--ypi-modern-mint);
  display: grid;
  place-items: center;
  color: var(--ypi-modern-green);
  font-size: 24px;
  font-weight: 600;
  flex: 0 0 auto;
}

.ypi-modern-agent-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ypi-modern-agent-main h3 {
  margin: 0 0 5px;
  font-size: 22px;
  line-height: 1.15;
  font-weight: 600;
}

.ypi-modern-agent-main p,
.ypi-modern-agent-note {
  color: var(--ypi-modern-muted);
  margin: 0;
}

.ypi-modern-contact-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.ypi-modern-contact-actions svg {
  width: 18px;
  height: 18px;
}

.ypi-modern-agent-note {
  margin-top: 18px;
  font-size: 13px;
}

.ypi-modern-key-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px 34px;
}

.ypi-modern-key-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-width: 0;
}

.ypi-modern-key-item > span:first-child {
  color: var(--ypi-modern-green);
  margin-top: 2px;
}

.ypi-modern-trust-card h2 {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  font-family: Georgia, "Times New Roman", serif;
}

.ypi-modern-trust-body {
  display: grid;
  grid-template-columns: 132px 1fr;
  gap: 24px;
  align-items: center;
}

.ypi-modern-trust-ring {
  width: 122px;
  height: 122px;
  border-radius: 999px;
  background:
    radial-gradient(circle at center, #fff 57%, transparent 58%),
    conic-gradient(var(--ypi-modern-green) var(--ypi-trust), #dceff2 0);
  display: grid;
  place-items: center;
}

.ypi-modern-trust-ring strong {
  color: var(--ypi-modern-green);
  font-size: 38px;
  font-weight: 600;
}

.ypi-modern-trust-card ul,
.ypi-modern-nearby-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 11px;
}

.ypi-modern-trust-card li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #40514d;
  font-size: 14px;
}

.ypi-modern-trust-card li span {
  color: var(--ypi-modern-green);
}

.ypi-modern-location {
  margin-top: 28px;
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr) 250px;
  gap: 0;
  overflow: hidden;
  min-height: 220px;
}

.ypi-modern-location-side {
  padding: 28px;
  display: grid;
  align-content: center;
  gap: 18px;
}

.ypi-modern-location-side h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 26px;
  font-weight: 500;
  margin: 0;
}

.ypi-modern-location-side p {
  margin: 0;
  color: #334541;
  font-weight: 600;
}

.ypi-modern-map-frame {
  min-height: 220px;
  background: #eef3f1;
}

.ypi-modern-map-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 220px;
  border: 0;
  filter: saturate(.85) contrast(.96);
}

.ypi-modern-nearby-card {
  margin: 20px;
  padding: 20px;
  border: 1px solid var(--ypi-modern-line);
  border-radius: 8px;
  background: rgba(255,255,255,.94);
  box-shadow: 0 12px 30px rgba(15, 35, 32, .10);
  align-self: center;
}

.ypi-modern-nearby-card h3 {
  margin: 0 0 16px;
  font-size: 16px;
  font-weight: 600;
}

.ypi-modern-nearby-card li {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) auto;
  gap: 9px;
  align-items: center;
  color: #40514d;
  font-size: 13px;
}

.ypi-modern-nearby-card li span:first-child {
  color: var(--ypi-modern-green);
}

.ypi-modern-nearby-card strong {
  white-space: nowrap;
  font-size: 12px;
}

.ypi-modern-resources {
  margin-top: 28px;
}

.ypi-modern-resource-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.ypi-modern-resource-card {
  position: relative;
  min-height: 120px;
  padding: 22px 94px 20px 20px;
  border: 1px solid var(--ypi-modern-line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(15, 35, 32, .07);
  text-decoration: none;
  color: var(--ypi-modern-text);
  display: block;
  text-align: left;
  cursor: pointer;
}

button.ypi-modern-resource-card {
  width: 100%;
  font: inherit;
}

.ypi-modern-resource-card strong {
  display: block;
  font-size: 16px;
  margin-bottom: 6px;
}

.ypi-modern-resource-card small {
  display: block;
  min-height: 34px;
  color: var(--ypi-modern-muted);
  font-size: 13px;
  line-height: 1.35;
}

.ypi-modern-resource-card em {
  display: inline-flex;
  color: var(--ypi-modern-green);
  font-style: normal;
  font-weight: 600;
  font-size: 13px;
  margin-top: 12px;
}

.ypi-modern-resource-icon {
  position: absolute;
  right: 20px;
  top: 22px;
  width: 58px;
  height: 58px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: var(--ypi-modern-green);
  background: #dff4e7;
}

.ypi-modern-resource-icon--warm {
  color: #9a6334;
  background: #f1e5d8;
}

.ypi-modern-resource-icon svg {
  width: 30px;
  height: 30px;
}

.ypi-modern-internal-links {
  margin-top: 18px;
}

.ypi-modern-similar-lazy {
  margin-top: 30px;
}

.ypi-sspr--modern .ypi-sspr-similar-section {
  margin-top: 30px;
}

.ypi-sspr--modern .ypi-sspr-section-head h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  font-size: 30px;
}

.ypi-sspr--modern .ypi-sspr-related-grid,
.ypi-sspr--modern .ypi-sspr-related-grid--signature {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.ypi-sspr--modern .ypi-sspr-related-card {
  border-radius: 8px;
  border: 1px solid var(--ypi-modern-line);
  overflow: hidden;
  background: #fff;
  box-shadow: 0 12px 30px rgba(15, 35, 32, .07);
}

.ypi-sspr--modern .ypi-sspr-related-media {
  height: 162px;
}

.ypi-sspr--modern .ypi-sspr-related-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ypi-sspr--modern .ypi-sspr-related-body {
  padding: 16px;
}

.ypi-sspr--modern .ypi-sspr-related-price {
  color: var(--ypi-modern-green);
  font-size: 17px;
  font-weight: 600;
}

.ypi-sspr--modern .ypi-sspr-related-body h3 {
  font-size: 16px;
  line-height: 1.25;
  margin: 6px 0 10px;
}

@media (max-width: 1180px) {
  .ypi-modern-hero,
  .ypi-modern-two-col {
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 22px;
  }

  .ypi-modern-location {
    grid-template-columns: 220px minmax(0, 1fr);
  }

  .ypi-modern-nearby-card {
    grid-column: 1 / -1;
    margin: 0 20px 20px;
  }

  .ypi-modern-resource-grid,
  .ypi-sspr--modern .ypi-sspr-related-grid,
  .ypi-sspr--modern .ypi-sspr-related-grid--signature {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .ypi-modern-shell {
    width: min(100% - 28px, 720px);
    padding-top: 14px;
  }

  .ypi-modern-hero,
  .ypi-modern-two-col {
    grid-template-columns: 1fr;
  }

  .ypi-modern-summary-card {
    order: -1;
  }

  .ypi-modern-gallery__main {
    height: clamp(280px, 62vw, 420px);
  }

  .ypi-modern-key-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ypi-modern-location {
    grid-template-columns: 1fr;
  }

  .ypi-modern-map-frame,
  .ypi-modern-map-frame iframe {
    min-height: 280px;
  }
}

@media (max-width: 640px) {
  .ypi-modern-shell {
    width: calc(100% - 20px);
    padding-bottom: 92px;
  }

  .ypi-modern-breadcrumbs {
    font-size: 12px;
    margin-bottom: 14px;
  }

  .ypi-modern-gallery__main {
    height: 320px;
  }

  .ypi-modern-thumbs__list {
    display: flex;
    overflow-x: auto;
    gap: 8px;
    padding-bottom: 2px;
  }

  .ypi-modern-thumb {
    width: 104px;
    flex: 0 0 104px;
    height: 68px;
  }

  .ypi-modern-summary-card,
  .ypi-modern-panel,
  .ypi-modern-location-side {
    padding: 20px;
  }

  .ypi-modern-price {
    font-size: 25px;
  }

  .ypi-modern-title {
    font-size: 22px;
  }

  .ypi-modern-stats,
  .ypi-modern-contact-actions,
  .ypi-modern-key-grid,
  .ypi-modern-trust-body,
  .ypi-modern-resource-grid,
  .ypi-sspr--modern .ypi-sspr-related-grid,
  .ypi-sspr--modern .ypi-sspr-related-grid--signature {
    grid-template-columns: 1fr;
  }

  .ypi-modern-agent-brand {
    grid-template-columns: 78px 1fr;
  }

  .ypi-modern-resource-card {
    min-height: 112px;
  }

  .ypi-modern-gallery-nav {
    width: 40px;
    height: 40px;
  }
}



/* v1.4.1 gallery + agent compact follow-up */
.ypi-modern-thumbs.ypi-sspr-gallery__rail {
  display: block;
  grid-template-columns: none;
  gap: 0;
  margin-top: 0;
}

.ypi-modern-thumbs__viewport.ypi-sspr-gallery__viewport {
  width: 100%;
  overflow: hidden;
}

.ypi-modern-thumbs__list.ypi-sspr-gallery__thumbs {
  display: grid;
  grid-auto-flow: column;
  grid-template-columns: none;
  grid-auto-columns: calc((100% - 40px) / 5);
  gap: 10px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  padding-bottom: 2px;
}

.ypi-modern-thumbs__list.ypi-sspr-gallery__thumbs::-webkit-scrollbar {
  display: none;
}

.ypi-modern-thumb.ypi-sspr-thumb {
  width: 100%;
  min-width: 0;
}

.ypi-modern-two-col {
  margin-top: 16px;
}

.ypi-modern-agent-card {
  align-self: start;
  padding: 22px 24px;
}

.ypi-modern-agent-main {
  padding: 0 0 18px;
}

.ypi-modern-agent-title {
  font-family: inherit !important;
  font-size: 22px !important;
  line-height: 1.15 !important;
  font-weight: 600 !important;
  letter-spacing: -.015em !important;
  margin: 0 0 5px !important;
}

.ypi-modern-verified--agent {
  margin-top: 8px;
}

.ypi-modern-contact-actions {
  margin-top: 2px;
}

.ypi-modern-agent-note {
  margin-top: 14px;
}

.ypi-modern-agent-link {
  margin-top: 12px;
}

@media (max-width: 640px) {
  .ypi-modern-thumbs__list.ypi-sspr-gallery__thumbs {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 104px;
    grid-template-columns: none;
  }

  .ypi-modern-agent-card {
    padding: 20px;
  }
}


/* v1.4.2 sidebar stack + spacing follow-up */
.ypi-modern-two-col--description {
  margin-top: 4px !important;
}

.ypi-modern-side-stack {
  display: grid;
  gap: 14px;
  align-self: start;
}

.ypi-modern-side-stack .ypi-modern-agent-card,
.ypi-modern-side-stack .ypi-modern-trust-card {
  align-self: start;
}

.ypi-modern-side-stack .ypi-modern-trust-card {
  padding: 22px 24px;
}

.ypi-modern-side-stack .ypi-modern-trust-card h2 {
  font-size: 24px;
  margin-bottom: 16px;
}

.ypi-modern-side-stack .ypi-modern-trust-body {
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
}

.ypi-modern-side-stack .ypi-modern-trust-ring {
  width: 92px;
  height: 92px;
}

.ypi-modern-side-stack .ypi-modern-trust-ring strong {
  font-size: 30px;
}

.ypi-modern-side-stack .ypi-modern-trust-card ul {
  gap: 8px;
}

.ypi-modern-side-stack .ypi-modern-trust-card li {
  font-size: 13px;
  line-height: 1.35;
}

.ypi-modern-two-col--info {
  grid-template-columns: 1fr;
}

@media (max-width: 900px) {
  .ypi-modern-side-stack {
    gap: 12px;
  }
}

@media (max-width: 640px) {
  .ypi-modern-two-col--description {
    margin-top: 4px !important;
  }

  .ypi-modern-side-stack .ypi-modern-trust-body {
    grid-template-columns: 1fr;
  }
}


/* v1.4.5 key info + features block */
.ypi-modern-features-panel {
  margin-top: 24px;
  padding: 30px;
}

.ypi-modern-features-panel h2 {
  margin: 0 0 24px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
  line-height: 1.2;
  font-weight: 500;
  color: var(--ypi-modern-text);
}

.ypi-modern-features-group + .ypi-modern-features-group {
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid var(--ypi-modern-line);
}

.ypi-modern-features-group h3 {
  margin: 0 0 14px;
  font-size: 14px;
  line-height: 1.35;
  font-weight: 600;
  color: var(--ypi-modern-text);
}

.ypi-modern-feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.ypi-modern-feature-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid var(--ypi-modern-line);
  border-radius: var(--ypi-modern-radius);
  background: #fbfcfb;
  color: var(--ypi-modern-muted);
  font-size: 14px;
  line-height: 1.35;
}

.ypi-modern-feature-chip > span:first-child {
  display: inline-flex;
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  color: var(--ypi-modern-green);
}

.ypi-modern-feature-chip svg {
  width: 20px;
  height: 20px;
}

@media (max-width: 980px) {
  .ypi-modern-feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .ypi-modern-features-panel {
    margin-top: 14px;
    padding: 22px;
  }

  .ypi-modern-feature-grid {
    grid-template-columns: 1fr;
  }
}


/* v1.4.6 heading/radius follow-up */
.ypi-modern-key-info h2,
.ypi-modern-features-panel h2 {
  font-size: 24px;
}


/* v1.4.7 related property rows */
.ypi-modern-similar-lazy {
  margin-top: 28px;
}

.ypi-modern-related-stack {
  display: grid;
  gap: 28px;
}

.ypi-sspr--modern .ypi-modern-related-row {
  margin: 0;
}

.ypi-modern-related-row__head {
  align-items: center;
  margin-bottom: 14px;
}

.ypi-modern-section-link {
  color: var(--ypi-modern-green);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.ypi-modern-section-link:hover {
  text-decoration: underline;
}

.ypi-sspr--modern .ypi-modern-related-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.ypi-sspr--modern .ypi-modern-related-grid .ypi-sspr-related-card {
  border-radius: var(--ypi-modern-radius);
  border: 1px solid var(--ypi-modern-line);
  overflow: hidden;
  background: #fff;
  box-shadow: 0 10px 24px rgba(15, 35, 32, .06);
  min-width: 0;
}

.ypi-sspr--modern .ypi-modern-related-grid .ypi-sspr-related-link {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  color: inherit;
  text-decoration: none;
}

.ypi-sspr--modern .ypi-modern-related-grid .ypi-sspr-related-media {
  height: auto;
  aspect-ratio: 16 / 10;
  background: #f2f5f2;
  overflow: hidden;
}

.ypi-sspr--modern .ypi-modern-related-grid .ypi-sspr-related-media img,
.ypi-sspr--modern .ypi-modern-related-grid .ypi-sspr-related-empty {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ypi-sspr--modern .ypi-modern-related-grid .ypi-sspr-related-body {
  padding: 13px 14px 14px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.ypi-sspr--modern .ypi-modern-related-grid .ypi-sspr-related-price {
  color: var(--ypi-modern-green);
  font-size: 16px;
  line-height: 1.2;
  font-weight: 600;
}

.ypi-sspr--modern .ypi-modern-related-grid .ypi-sspr-related-body h3 {
  font-size: 14px;
  line-height: 1.28;
  margin: 6px 0 8px;
  font-weight: 600;
}

.ypi-sspr--modern .ypi-modern-related-grid .ypi-sspr-related-body p {
  margin: 0;
  font-size: 12px;
  line-height: 1.35;
  color: #78908b;
}

@media (max-width: 1180px) {
  .ypi-sspr--modern .ypi-modern-related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .ypi-modern-related-row__head {
    align-items: flex-start;
    gap: 8px;
  }

  .ypi-modern-section-link {
    font-size: 13px;
  }

  .ypi-sspr--modern .ypi-modern-related-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}


/* v1.4.8 responsive device rules
   - Mobile layout applies to phones and tablet portrait.
   - Desktop/laptop layout applies to tablet landscape and wider screens. */
@media (min-width: 641px) and (max-width: 1024px) and (orientation: portrait) {
  .ypi-modern-shell {
    width: calc(100% - 24px);
    padding-top: 14px;
    padding-bottom: 92px;
  }

  .ypi-modern-breadcrumbs {
    font-size: 12px;
    margin-bottom: 14px;
  }

  .ypi-modern-hero,
  .ypi-modern-two-col {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .ypi-modern-summary-card {
    order: -1;
  }

  .ypi-modern-gallery__main {
    height: clamp(320px, 58vw, 460px);
  }

  .ypi-modern-thumbs__list,
  .ypi-modern-thumbs__list.ypi-sspr-gallery__thumbs {
    display: grid;
    grid-auto-flow: column;
    grid-template-columns: none;
    grid-auto-columns: 112px;
    gap: 8px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    padding-bottom: 2px;
  }

  .ypi-modern-thumbs__list::-webkit-scrollbar,
  .ypi-modern-thumbs__list.ypi-sspr-gallery__thumbs::-webkit-scrollbar {
    display: none;
  }

  .ypi-modern-thumb,
  .ypi-modern-thumb.ypi-sspr-thumb {
    width: 112px;
    flex: 0 0 112px;
    height: 72px;
  }

  .ypi-modern-summary-card,
  .ypi-modern-panel,
  .ypi-modern-location-side,
  .ypi-modern-agent-card,
  .ypi-modern-side-stack .ypi-modern-trust-card,
  .ypi-modern-features-panel {
    padding: 22px;
  }

  .ypi-modern-two-col--description {
    margin-top: 6px !important;
  }

  .ypi-modern-stats,
  .ypi-modern-contact-actions,
  .ypi-modern-key-grid,
  .ypi-modern-trust-body,
  .ypi-modern-resource-grid,
  .ypi-modern-feature-grid,
  .ypi-sspr--modern .ypi-sspr-related-grid,
  .ypi-sspr--modern .ypi-sspr-related-grid--signature,
  .ypi-sspr--modern .ypi-modern-related-grid {
    grid-template-columns: 1fr;
  }

  .ypi-modern-location {
    grid-template-columns: 1fr;
    margin-top: 18px;
  }

  .ypi-modern-map-frame,
  .ypi-modern-map-frame iframe {
    min-height: 300px;
  }

  .ypi-modern-nearby-card {
    grid-column: auto;
    margin: 0 20px 20px;
  }

  .ypi-modern-resource-card {
    min-height: 112px;
  }

  .ypi-modern-related-stack {
    gap: 22px;
  }
}

@media (min-width: 901px) and (max-width: 1180px) and (orientation: landscape) {
  .ypi-modern-shell {
    width: min(1240px, calc(100% - 48px));
    padding: 22px 0 44px;
  }

  .ypi-modern-hero,
  .ypi-modern-two-col {
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 22px;
  }

  .ypi-modern-summary-card {
    order: initial;
  }

  .ypi-modern-gallery__main {
    height: clamp(360px, 43vw, 500px);
  }

  .ypi-modern-location {
    grid-template-columns: 220px minmax(0, 1fr) 240px;
  }

  .ypi-modern-nearby-card {
    grid-column: auto;
    margin: 20px;
  }

  .ypi-modern-key-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .ypi-modern-feature-grid,
  .ypi-modern-resource-grid,
  .ypi-sspr--modern .ypi-sspr-related-grid,
  .ypi-sspr--modern .ypi-sspr-related-grid--signature,
  .ypi-sspr--modern .ypi-modern-related-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .ypi-modern-thumbs__list.ypi-sspr-gallery__thumbs {
    grid-auto-columns: calc((100% - 40px) / 5);
  }
}


/* v1.4.10 report link inside trust card */
.ypi-modern-trust-report {
  margin-top: 8px;
  display: flex;
  align-items: center;
}

.ypi-modern-trust-report :is(a, button, .button, .btn, input[type="submit"], input[type="button"]) {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: auto !important;
  min-height: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 4px !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #6a766d !important;
  font-size: 12px !important;
  line-height: 1.3 !important;
  font-weight: 500 !important;
  text-decoration: underline !important;
  text-underline-offset: 3px;
  cursor: pointer;
}

.ypi-modern-trust-report :is(a, button, .button, .btn, input[type="submit"], input[type="button"]):hover {
  color: #2f5f42 !important;
}

.ypi-modern-trust-report :is(svg, img) {
  width: 12px !important;
  height: 12px !important;
  margin-right: 5px !important;
}


/* v1.4.11 mobile/tablet portrait hero order
   Gallery must be the first visible block on phones and tablet portrait.
   Tablet landscape keeps the desktop/laptop two-column order. */
@media (max-width: 900px) {
  .ypi-modern-hero {
    display: grid;
    grid-template-columns: 1fr;
  }

  .ypi-modern-gallery-card {
    order: -2;
  }

  .ypi-modern-summary-card {
    order: 0;
  }
}

@media (min-width: 641px) and (max-width: 1024px) and (orientation: portrait) {
  .ypi-modern-gallery-card {
    order: -2;
  }

  .ypi-modern-summary-card {
    order: 0;
  }
}

@media (min-width: 901px) and (max-width: 1180px) and (orientation: landscape) {
  .ypi-modern-gallery-card,
  .ypi-modern-summary-card {
    order: initial;
  }
}


/* v1.4.14 - refined YPI UAE listing verification block. */
.ypi-modern-verification-card {
  display: block;
}

.ypi-modern-verification-card .ypi-utv-public-card {
  margin: 0;
  border-color: rgba(45, 139, 115, 0.22);
  border-radius: 8px;
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.06);
}

.ypi-modern-verification-card .ypi-utv-public-card__head {
  align-items: flex-start;
}

.ypi-modern-verification-card .ypi-utv-public-card__intro p {
  margin: 4px 0 0;
  color: #64748b;
  font-size: 13px;
  line-height: 1.45;
}

.ypi-modern-verification-card .ypi-utv-public-badges {
  gap: 7px;
}

.ypi-modern-verification-card .ypi-utv-public-card__stats {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ypi-sspr-verification-fallback {
  --ypi-verification-accent: #2d8b73;
  background: #fff;
  border: 1px solid rgba(45, 139, 115, 0.22);
  border-radius: 8px;
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.06);
  padding: 16px;
}

.ypi-sspr-verification-fallback__head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 12px;
}

.ypi-sspr-verification-fallback__head strong {
  display: block;
  color: #0f172a;
  font-size: 16px;
}

.ypi-sspr-verification-fallback__head p {
  margin: 4px 0 0;
  color: #64748b;
  font-size: 13px;
  line-height: 1.45;
}

.ypi-sspr-verification-fallback__head > span,
.ypi-sspr-verification-fallback__badges span {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  border-radius: 999px;
  border: 1px solid rgba(45, 139, 115, 0.28);
  background: #eaf8fb;
  color: #087e8e;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .02em;
  line-height: 1;
  padding: 4px 10px;
  white-space: nowrap;
}

.ypi-sspr-verification-fallback__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 12px;
}

.ypi-sspr-verification-fallback__badges span {
  gap: 6px;
}

.ypi-sspr-verification-fallback__badges span svg {
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
}

.ypi-sspr-verification-fallback__badges span em {
  font-style: normal;
}

.ypi-sspr-verification-fallback__meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.ypi-sspr-verification-fallback__meta div {
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #f8fafc;
  padding: 10px 12px;
}

.ypi-sspr-verification-fallback__meta-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: #eaf8fb;
  color: var(--ypi-verification-accent);
  margin-bottom: 8px;
}

.ypi-sspr-verification-fallback__meta-icon svg {
  width: 16px;
  height: 16px;
  display: block;
}

.ypi-sspr-verification-fallback__meta small {
  display: block;
  color: #64748b;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .03em;
}

.ypi-sspr-verification-fallback__meta strong {
  display: block;
  margin-top: 4px;
  color: #0f172a;
  font-size: 13px;
}

.ypi-sspr-verification-fallback__link {
  display: inline-flex;
  align-items: center;
  margin-top: 12px;
  color: var(--ypi-verification-accent);
  font-weight: 800;
  text-decoration: none;
}

.ypi-sspr-verification-fallback__link:hover {
  text-decoration: underline;
}

@media (max-width: 680px) {
  .ypi-sspr-verification-fallback__head {
    flex-direction: column;
  }

  .ypi-sspr-verification-fallback__meta,
  .ypi-modern-verification-card .ypi-utv-public-card__stats {
    grid-template-columns: 1fr;
  }
}

/* v1.4.16 YPI.AE primary blue alignment */
.ypi-sspr--modern .ypi-modern-summary-ctas--split {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.ypi-sspr--modern .ypi-modern-summary-ctas--split .ypi-modern-btn {
  width: 100%;
}

.ypi-sspr--modern .ypi-sspr-whatsapp-link svg,
.ypi-sspr--modern .ypi-modern-btn svg {
  color: currentColor;
}

.ypi-sspr--modern .ypi-modern-btn--primary {
  background: #2d8b73;
  border-color: #2d8b73;
  box-shadow: 0 12px 26px rgba(45, 139, 115, .18);
}

.ypi-sspr--modern .ypi-modern-btn--primary:hover,
.ypi-sspr--modern .ypi-modern-btn--primary:focus {
  background: #236e5b;
  border-color: #236e5b;
}

.ypi-sspr--modern .ypi-modern-btn--outline:hover,
.ypi-sspr--modern .ypi-modern-btn--outline:focus {
  color: #2d8b73;
  border-color: rgba(45, 139, 115, .36);
  background: #eaf2f5;
}

@media (max-width: 640px) {
  .ypi-sspr--modern .ypi-modern-summary-ctas--split {
    grid-template-columns: 1fr;
  }
}


/* v1.4.18 favorite toggle + broader WhatsApp contact CTA visibility */
.ypi-sspr--modern .ypi-modern-favorite-btn {
  color: #2d8b73;
  border-color: rgba(45, 139, 115, .18);
}

.ypi-sspr--modern .ypi-modern-favorite-btn:hover,
.ypi-sspr--modern .ypi-modern-favorite-btn:focus {
  color: #2d8b73;
  border-color: rgba(45, 139, 115, .32);
  background: #eaf2f5;
}

.ypi-sspr--modern .ypi-modern-favorite-btn.is-saved {
  color: #2d8b73;
  background: #eaf2f5;
  border-color: rgba(45, 139, 115, .28);
  box-shadow: 0 12px 26px rgba(45, 139, 115, .12);
}

.ypi-sspr--modern .ypi-modern-favorite-btn.is-loading {
  opacity: .72;
  pointer-events: none;
}

.ypi-sspr--modern .ypi-modern-contact-actions .ypi-sspr-whatsapp-link {
  color: #2d8b73;
  border-color: rgba(45, 139, 115, .26);
}

.ypi-sspr--modern .ypi-modern-contact-actions .ypi-sspr-whatsapp-link:hover,
.ypi-sspr--modern .ypi-modern-contact-actions .ypi-sspr-whatsapp-link:focus {
  color: #2d8b73;
  background: #eaf2f5;
  border-color: rgba(45, 139, 115, .42);
}


/* v1.4.21: property chat CTA */
.ypi-sspr-chat-link svg{width:18px;height:18px;stroke:currentColor;fill:none}
.ypi-sspr--modern .ypi-modern-contact-actions .ypi-sspr-chat-link{background:#f8fafc;color:#172033;border-color:#dbe3ec}
.ypi-sspr--modern .ypi-modern-contact-actions .ypi-sspr-chat-link:hover,.ypi-sspr--modern .ypi-modern-contact-actions .ypi-sspr-chat-link:focus{border-color:#2d8b73;color:#2d8b73;background:#f4fffb}
@media (max-width: 767px){.ypi-sspr-mobile-sticky__actions--4{grid-template-columns:repeat(4,minmax(0,1fr))}.ypi-sspr-mobile-sticky__actions--5{grid-template-columns:repeat(5,minmax(0,1fr))}.ypi-sspr-mobile-sticky__btn{padding:0 8px}.ypi-sspr-mobile-sticky__btn span:last-child{font-size:11px}}


/* v1.4.22: YPI green brand, compact CTAs, header flush */
.ypi-sspr--modern .ypi-modern-agent-actions{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
}
.ypi-sspr--modern .ypi-modern-agent-actions .ypi-sspr-chat-link,
.ypi-sspr--modern .ypi-modern-agent-actions .ypi-sspr-whatsapp-link{
  width:100%;
  min-width:0;
}
.ypi-sspr--modern .ypi-modern-agent-actions .ypi-sspr-chat-link{
  grid-column:auto;
}
.ypi-sspr--modern .ypi-modern-agent-actions .ypi-sspr-whatsapp-link{
  grid-column:auto;
}
.ypi-sspr--modern .ypi-modern-agent-actions .ypi-modern-btn:not(.ypi-sspr-chat-link):not(.ypi-sspr-whatsapp-link){
  grid-column:1 / -1;
}
.ypi-sspr--modern .ypi-modern-agent-actions .ypi-modern-btn span:last-child{
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}

/* Remove gap between the theme header and the property content start. */
body.single-property .site-main.ypi-sspr,
body.single-property main.ypi-sspr,
body.single-property .ypi-sspr--modern,
body.single-estate_property .site-main.ypi-sspr,
body.single-estate_property main.ypi-sspr,
body.single-estate_property .ypi-sspr--modern{
  margin-top:0 !important;
  padding-top:0 !important;
}
body.single-property #main-wrap,
body.single-property .main-wrap,
body.single-property .site-content,
body.single-property .content-area,
body.single-property #primary,
body.single-estate_property #main-wrap,
body.single-estate_property .main-wrap,
body.single-estate_property .site-content,
body.single-estate_property .content-area,
body.single-estate_property #primary{
  margin-top:0 !important;
  padding-top:0 !important;
}
body.single-property .page-title-wrap,
body.single-property .breadcrumb-wrap,
body.single-property .property-breadcrumb,
body.single-estate_property .page-title-wrap,
body.single-estate_property .breadcrumb-wrap,
body.single-estate_property .property-breadcrumb{
  display:none !important;
  height:0 !important;
  margin:0 !important;
  padding:0 !important;
}
body.single-property .ypi-modern-shell,
body.single-estate_property .ypi-modern-shell{
  padding-top:0 !important;
}
body.single-property .ypi-modern-breadcrumbs,
body.single-estate_property .ypi-modern-breadcrumbs{
  margin-top:0 !important;
}
@media (max-width:767px){
  .ypi-sspr--modern .ypi-modern-agent-actions{
    grid-template-columns:1fr 1fr;
    gap:8px;
  }
  .ypi-sspr--modern .ypi-modern-agent-actions .ypi-sspr-chat-link,
  .ypi-sspr--modern .ypi-modern-agent-actions .ypi-sspr-whatsapp-link{
    min-height:46px;
    padding-left:10px;
    padding-right:10px;
  }
}


/* v1.4.23: feature text color, fixed contact CTA row, real hero flush */
.ypi-modern-feature-chip{
  color:#000202 !important;
}

/* The actual contact wrapper is .ypi-modern-contact-actions, not .ypi-modern-agent-actions. */
.ypi-sspr--modern .ypi-modern-contact-actions{
  display:grid !important;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr) !important;
  gap:10px !important;
  align-items:stretch !important;
}
.ypi-sspr--modern .ypi-modern-contact-actions .ypi-modern-btn{
  width:100% !important;
  min-width:0 !important;
}
.ypi-sspr--modern .ypi-modern-contact-actions .ypi-modern-btn:not(.ypi-sspr-chat-link):not(.ypi-sspr-whatsapp-link){
  grid-column:1 / -1 !important;
}
.ypi-sspr--modern .ypi-modern-contact-actions .ypi-sspr-chat-link,
.ypi-sspr--modern .ypi-modern-contact-actions .ypi-sspr-whatsapp-link,
.ypi-sspr--modern .ypi-modern-contact-actions .ypi-modern-btn--wide.ypi-sspr-whatsapp-link{
  grid-column:auto !important;
  display:inline-flex !important;
  justify-content:center !important;
  padding-left:10px !important;
  padding-right:10px !important;
}
.ypi-sspr--modern .ypi-modern-contact-actions .ypi-sspr-chat-link{
  order:3;
}
.ypi-sspr--modern .ypi-modern-contact-actions .ypi-sspr-whatsapp-link{
  order:4;
}
.ypi-sspr--modern .ypi-modern-contact-actions .ypi-modern-btn span:last-child{
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}

/* Start the first property information box immediately below the header. */
.ypi-sspr.ypi-sspr--modern,
main.ypi-sspr.ypi-sspr--modern,
#primary.ypi-sspr.ypi-sspr--modern{
  margin-top:0 !important;
  padding-top:0 !important;
}
.ypi-sspr--modern .ypi-modern-shell{
  padding-top:0 !important;
}
.ypi-sspr--modern .ypi-modern-breadcrumbs{
  display:none !important;
  height:0 !important;
  margin:0 !important;
  padding:0 !important;
  overflow:hidden !important;
}
.ypi-sspr--modern .ypi-modern-hero{
  margin-top:0 !important;
}
.ypi-sspr--modern .ypi-modern-gallery-card,
.ypi-sspr--modern .ypi-modern-summary-card{
  margin-top:0 !important;
}
body .ypi-sspr.ypi-sspr--modern:first-child,
body main.ypi-sspr.ypi-sspr--modern:first-child{
  transform:translateY(-1px);
}

/* Override older mobile one-column contact rule; phone/tablet portrait still keep Chat + WhatsApp in one row. */
@media (max-width:980px){
  .ypi-sspr--modern .ypi-modern-contact-actions{
    grid-template-columns:minmax(0,1fr) minmax(0,1fr) !important;
  }
}
@media (max-width:640px){
  .ypi-sspr--modern .ypi-modern-contact-actions{
    grid-template-columns:minmax(0,1fr) minmax(0,1fr) !important;
  }
  .ypi-sspr--modern .ypi-modern-contact-actions .ypi-sspr-chat-link,
  .ypi-sspr--modern .ypi-modern-contact-actions .ypi-sspr-whatsapp-link{
    min-height:44px !important;
    font-size:13px !important;
  }
}


/* v1.4.24: keep breadcrumbs visible and move the whole property layout */
.ypi-sspr--modern .ypi-modern-breadcrumbs{
  display:flex !important;
  height:auto !important;
  margin:0 0 18px !important;
  padding:0 !important;
  overflow:visible !important;
}

/* Move the whole main property renderer, not only internal sections. */
body.single-property main#primary.ypi-sspr.ypi-sspr--modern,
body.single-property .site-main.ypi-sspr.ypi-sspr--modern,
body.single-estate_property main#primary.ypi-sspr.ypi-sspr--modern,
body.single-estate_property .site-main.ypi-sspr.ypi-sspr--modern{
  position:relative !important;
  top:0 !important;
  transform:none !important;
  margin-top:-24px !important;
  padding-top:0 !important;
}

/* The shell keeps normal internal layout. Only the outer main wrapper is pulled up. */
body.single-property .ypi-sspr--modern .ypi-modern-shell,
body.single-estate_property .ypi-sspr--modern .ypi-modern-shell{
  padding-top:0 !important;
}

body.single-property .ypi-sspr--modern .ypi-modern-hero,
body.single-estate_property .ypi-sspr--modern .ypi-modern-hero{
  margin-top:0 !important;
}

@media (max-width:767px){
  body.single-property main#primary.ypi-sspr.ypi-sspr--modern,
  body.single-property .site-main.ypi-sspr.ypi-sspr--modern,
  body.single-estate_property main#primary.ypi-sspr.ypi-sspr--modern,
  body.single-estate_property .site-main.ypi-sspr.ypi-sspr--modern{
    margin-top:-16px !important;
  }

  .ypi-sspr--modern .ypi-modern-breadcrumbs{
    margin-bottom:14px !important;
  }
}


/* v1.4.25: lower breadcrumbs slightly without moving the full layout */
.ypi-sspr--modern .ypi-modern-breadcrumbs{
  margin-top:8px !important;
}
@media (max-width:767px){
  .ypi-sspr--modern .ypi-modern-breadcrumbs{
    margin-top:6px !important;
  }
}


/* v1.4.26: sticky header clearance for full property layout */
body.single-property main#primary.ypi-sspr.ypi-sspr--modern,
body.single-property .site-main.ypi-sspr.ypi-sspr--modern,
body.single-estate_property main#primary.ypi-sspr.ypi-sspr--modern,
body.single-estate_property .site-main.ypi-sspr.ypi-sspr--modern{
  position:relative !important;
  top:auto !important;
  transform:none !important;
  margin-top:0 !important;
  padding-top:18px !important;
}

/* Keep breadcrumbs visible and safely below the sticky header. */
.ypi-sspr--modern .ypi-modern-shell{
  padding-top:0 !important;
}

.ypi-sspr--modern .ypi-modern-breadcrumbs{
  display:flex !important;
  height:auto !important;
  margin:0 0 18px !important;
  padding:0 !important;
  overflow:visible !important;
  position:relative !important;
  z-index:1 !important;
}

/* If the theme uses a fixed/sticky header, avoid the first row sliding behind it. */
body.single-property .ypi-sspr--modern,
body.single-estate_property .ypi-sspr--modern{
  scroll-margin-top:80px;
}

@media (max-width:767px){
  body.single-property main#primary.ypi-sspr.ypi-sspr--modern,
  body.single-property .site-main.ypi-sspr.ypi-sspr--modern,
  body.single-estate_property main#primary.ypi-sspr.ypi-sspr--modern,
  body.single-estate_property .site-main.ypi-sspr.ypi-sspr--modern{
    padding-top:14px !important;
  }

  .ypi-sspr--modern .ypi-modern-breadcrumbs{
    margin-bottom:14px !important;
  }
}


/* v1.4.27: tighter header-to-property spacing with visible breadcrumbs */
body.single-property main#primary.ypi-sspr.ypi-sspr--modern,
body.single-property .site-main.ypi-sspr.ypi-sspr--modern,
body.single-estate_property main#primary.ypi-sspr.ypi-sspr--modern,
body.single-estate_property .site-main.ypi-sspr.ypi-sspr--modern{
  position:relative !important;
  top:auto !important;
  transform:none !important;
  margin-top:-34px !important;
  padding-top:0 !important;
}

/* Keep the breadcrumb visible, but remove the large blank area. */
.ypi-sspr--modern .ypi-modern-shell{
  padding-top:0 !important;
}

.ypi-sspr--modern .ypi-modern-breadcrumbs{
  display:flex !important;
  height:auto !important;
  margin:10px 0 10px !important;
  padding:0 !important;
  overflow:visible !important;
  position:relative !important;
  z-index:2 !important;
}

.ypi-sspr--modern .ypi-modern-hero{
  margin-top:0 !important;
}

/* Stronger theme-wrapper cleanup only for this plugin single-property render. */
body.single-property #main-wrap,
body.single-property .main-wrap,
body.single-property .site-content,
body.single-property .content-area,
body.single-property #primary,
body.single-estate_property #main-wrap,
body.single-estate_property .main-wrap,
body.single-estate_property .site-content,
body.single-estate_property .content-area,
body.single-estate_property #primary{
  padding-top:0 !important;
}

@media (max-width:767px){
  body.single-property main#primary.ypi-sspr.ypi-sspr--modern,
  body.single-property .site-main.ypi-sspr.ypi-sspr--modern,
  body.single-estate_property main#primary.ypi-sspr.ypi-sspr--modern,
  body.single-estate_property .site-main.ypi-sspr.ypi-sspr--modern{
    margin-top:-22px !important;
  }

  .ypi-sspr--modern .ypi-modern-breadcrumbs{
    margin:8px 0 10px !important;
  }
}


/* v1.4.28: verified agency/agent and listing badges */
.ypi-modern-agent-card .ypi-modern-verified--agent{
  display:inline-flex !important;
  align-items:center;
  gap:6px;
  width:max-content;
  max-width:100%;
  margin-top:8px;
  padding:6px 10px;
  border:1px solid rgba(45,139,115,.18);
  border-radius:999px;
  background:#ecfdf7;
  color:#2d8b73;
  font-size:12px;
  line-height:1;
  font-weight:700;
}
.ypi-modern-agent-card .ypi-modern-verified--agent svg{
  width:14px;
  height:14px;
  flex:0 0 14px;
}
.ypi-modern-price-row{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:10px 12px;
  margin-bottom:4px;
}
.ypi-modern-price-row .ypi-modern-price{
  margin-bottom:0;
}
.ypi-modern-listing-verified-badge{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:7px 11px;
  border:1px solid rgba(45,139,115,.18);
  border-radius:999px;
  background:#ecfdf7;
  color:#2d8b73;
  font-size:12px;
  line-height:1;
  font-weight:700;
  white-space:nowrap;
}
.ypi-modern-listing-verified-badge svg{
  width:14px;
  height:14px;
  flex:0 0 14px;
}
@media (max-width:640px){
  .ypi-modern-price-row{
    display:grid;
    grid-template-columns:1fr;
    gap:8px;
  }
  .ypi-modern-listing-verified-badge{
    width:max-content;
  }
}


/* v1.4.29: security/mobile responsive pass
   Phone + tablet portrait = mobile layout.
   Laptop/desktop/tablet landscape = desktop layout. */
@media (max-width:1023px) and (orientation:portrait){
  .ypi-sspr.ypi-sspr--modern{
    padding-top:0 !important;
  }

  .ypi-sspr--modern .ypi-modern-shell{
    width:min(100% - 24px, 760px) !important;
    padding-bottom:28px !important;
  }

  .ypi-sspr--modern .ypi-modern-breadcrumbs{
    margin:8px 0 12px !important;
    font-size:12px !important;
    line-height:1.35 !important;
  }

  .ypi-sspr--modern .ypi-modern-hero,
  .ypi-sspr--modern .ypi-modern-two-col,
  .ypi-sspr--modern .ypi-modern-location,
  .ypi-sspr--modern .ypi-modern-trust-body{
    display:grid !important;
    grid-template-columns:1fr !important;
    gap:14px !important;
  }

  .ypi-sspr--modern .ypi-modern-gallery-card,
  .ypi-sspr--modern .ypi-modern-summary-card,
  .ypi-sspr--modern .ypi-modern-agent-card,
  .ypi-sspr--modern .ypi-modern-panel,
  .ypi-sspr--modern .ypi-modern-location,
  .ypi-sspr--modern .ypi-modern-verification-card{
    border-radius:8px !important;
  }

  .ypi-sspr--modern .ypi-modern-gallery__main{
    height:clamp(300px, 58vw, 520px) !important;
    border-radius:8px 8px 0 0 !important;
  }

  .ypi-sspr--modern .ypi-modern-thumbs__list,
  .ypi-sspr--modern .ypi-modern-thumbs__list.ypi-sspr-gallery__thumbs{
    display:grid !important;
    grid-auto-flow:column !important;
    grid-auto-columns:minmax(96px, 118px) !important;
    grid-template-columns:none !important;
    gap:8px !important;
    overflow-x:auto !important;
    overscroll-behavior-x:contain !important;
    padding-bottom:4px !important;
    scrollbar-width:thin !important;
  }

  .ypi-sspr--modern .ypi-modern-thumbs__list button{
    min-width:0 !important;
    height:74px !important;
    border-radius:8px !important;
  }

  .ypi-sspr--modern .ypi-modern-summary-card{
    padding:22px !important;
  }

  .ypi-sspr--modern .ypi-modern-price{
    font-size:25px !important;
    line-height:1.08 !important;
  }

  .ypi-sspr--modern .ypi-modern-title{
    font-size:22px !important;
    line-height:1.16 !important;
  }

  .ypi-sspr--modern .ypi-modern-address{
    font-size:14px !important;
  }

  .ypi-sspr--modern .ypi-modern-stats,
  .ypi-sspr--modern .ypi-modern-key-grid,
  .ypi-sspr--modern .ypi-modern-feature-grid,
  .ypi-sspr--modern .ypi-modern-resource-grid,
  .ypi-sspr--modern .ypi-sspr-related-grid,
  .ypi-sspr--modern .ypi-sspr-related-grid--signature,
  .ypi-sspr--modern .ypi-modern-related-grid{
    display:grid !important;
    grid-template-columns:1fr !important;
    gap:10px !important;
  }

  .ypi-sspr--modern .ypi-modern-stats li,
  .ypi-sspr--modern .ypi-modern-key-item,
  .ypi-sspr--modern .ypi-modern-feature-chip{
    min-height:44px !important;
    border-radius:8px !important;
  }

  .ypi-sspr--modern .ypi-modern-panel,
  .ypi-sspr--modern .ypi-modern-features-panel,
  .ypi-sspr--modern .ypi-modern-agent-card,
  .ypi-sspr--modern .ypi-modern-verification-card{
    padding:20px !important;
  }

  .ypi-sspr--modern .ypi-modern-agent-brand{
    grid-template-columns:70px minmax(0,1fr) !important;
    gap:12px !important;
  }

  .ypi-sspr--modern .ypi-modern-agent-avatar{
    width:70px !important;
    height:70px !important;
  }

  .ypi-sspr--modern .ypi-modern-agent-title{
    font-size:22px !important;
    line-height:1.15 !important;
  }

  .ypi-sspr--modern .ypi-modern-contact-actions{
    grid-template-columns:1fr 1fr !important;
    gap:8px !important;
  }

  .ypi-sspr--modern .ypi-modern-contact-actions .ypi-modern-btn:not(.ypi-sspr-chat-link):not(.ypi-sspr-whatsapp-link){
    grid-column:1 / -1 !important;
  }

  .ypi-sspr--modern .ypi-modern-contact-actions .ypi-sspr-chat-link,
  .ypi-sspr--modern .ypi-modern-contact-actions .ypi-sspr-whatsapp-link{
    grid-column:auto !important;
  }

  .ypi-sspr--modern .ypi-modern-btn,
  .ypi-sspr--modern .ypi-modern-contact-actions .ypi-modern-btn{
    min-height:46px !important;
    padding:10px 12px !important;
    border-radius:8px !important;
    font-size:13px !important;
  }

  .ypi-sspr--modern .ypi-modern-two-col--info,
  .ypi-sspr--modern .ypi-modern-two-col--description{
    margin-top:14px !important;
  }

  .ypi-sspr--modern .ypi-modern-map-frame,
  .ypi-sspr--modern .ypi-modern-map-frame iframe{
    min-height:280px !important;
  }

  .ypi-sspr--modern .ypi-modern-related-row{
    margin-top:16px !important;
  }

  .ypi-sspr--modern .ypi-sspr-related-card,
  .ypi-sspr--modern .ypi-modern-resource-card{
    border-radius:8px !important;
  }
}

/* Tablet landscape and wider devices keep desktop structure. */
@media (min-width:1024px) and (orientation:landscape){
  .ypi-sspr--modern .ypi-modern-shell{
    width:min(1240px, calc(100% - 48px)) !important;
  }

  .ypi-sspr--modern .ypi-modern-hero,
  .ypi-sspr--modern .ypi-modern-two-col{
    display:grid !important;
    grid-template-columns:minmax(0,1fr) 360px !important;
    gap:28px !important;
    align-items:start !important;
  }

  .ypi-sspr--modern .ypi-modern-stats,
  .ypi-sspr--modern .ypi-modern-key-grid{
    grid-template-columns:repeat(3,minmax(0,1fr)) !important;
  }

  .ypi-sspr--modern .ypi-modern-feature-grid{
    grid-template-columns:repeat(4,minmax(0,1fr)) !important;
  }

  .ypi-sspr--modern .ypi-modern-contact-actions{
    grid-template-columns:1fr 1fr !important;
  }

  .ypi-sspr--modern .ypi-modern-contact-actions .ypi-modern-btn:not(.ypi-sspr-chat-link):not(.ypi-sspr-whatsapp-link){
    grid-column:1 / -1 !important;
  }
}


/* v1.4.30: restore summary stats and full-width key information */
.ypi-sspr--modern .ypi-modern-summary-card .ypi-modern-stats{
  display:grid !important;
  grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  gap:10px !important;
}

.ypi-sspr--modern .ypi-modern-summary-card .ypi-modern-stats li{
  min-height:68px !important;
  padding:12px !important;
}

.ypi-sspr--modern .ypi-modern-two-col--info{
  display:grid !important;
  grid-template-columns:1fr !important;
  gap:0 !important;
  width:100% !important;
}

.ypi-sspr--modern .ypi-modern-two-col--info .ypi-modern-key-info{
  width:100% !important;
  max-width:none !important;
  grid-column:1 / -1 !important;
}

.ypi-sspr--modern .ypi-modern-key-info .ypi-modern-key-grid{
  display:grid !important;
  grid-template-columns:repeat(3,minmax(0,1fr)) !important;
  gap:28px 34px !important;
}

@media (max-width:1023px) and (orientation:portrait){
  .ypi-sspr--modern .ypi-modern-summary-card .ypi-modern-stats{
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    gap:8px !important;
  }

  .ypi-sspr--modern .ypi-modern-summary-card .ypi-modern-stats li{
    min-height:62px !important;
    padding:10px !important;
  }

  .ypi-sspr--modern .ypi-modern-key-info .ypi-modern-key-grid{
    grid-template-columns:1fr !important;
    gap:10px !important;
  }
}

@media (max-width:380px){
  .ypi-sspr--modern .ypi-modern-summary-card .ypi-modern-stats{
    grid-template-columns:1fr !important;
  }
}

/* Keep desktop/tablet-landscape structure, but do not force the Key information row into a sidebar layout. */
@media (min-width:1024px) and (orientation:landscape){
  .ypi-sspr--modern .ypi-modern-two-col--info{
    grid-template-columns:1fr !important;
  }

  .ypi-sspr--modern .ypi-modern-summary-card .ypi-modern-stats{
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  }

  .ypi-sspr--modern .ypi-modern-key-info .ypi-modern-key-grid{
    grid-template-columns:repeat(3,minmax(0,1fr)) !important;
  }
}


/* v1.4.31: phone button hover text/icon color */
.ypi-sspr--modern .ypi-modern-contact-actions a[data-ypi-reveal-link][data-type="phone"]:hover,
.ypi-sspr--modern .ypi-modern-contact-actions a[data-ypi-reveal-link][data-type="phone"]:focus,
.ypi-sspr--modern .ypi-modern-contact-actions a[data-ypi-reveal-link][data-type="phone"]:hover span,
.ypi-sspr--modern .ypi-modern-contact-actions a[data-ypi-reveal-link][data-type="phone"]:focus span,
.ypi-sspr--modern .ypi-modern-contact-actions a[data-ypi-reveal-link][data-type="phone"]:hover svg,
.ypi-sspr--modern .ypi-modern-contact-actions a[data-ypi-reveal-link][data-type="phone"]:focus svg{
  color:#fff !important;
  stroke:#fff !important;
}

.ypi-sspr--modern .ypi-modern-contact-actions a[data-ypi-reveal-link][data-type="phone"]:hover,
.ypi-sspr--modern .ypi-modern-contact-actions a[data-ypi-reveal-link][data-type="phone"]:focus{
  background:#2d8b73 !important;
  border-color:#2d8b73 !important;
}


/* v1.4.40: requested summary typography and duplicate CTA cleanup. */
.ypi-sspr--modern .ypi-modern-price{
  font-size:25px !important;
}
.ypi-sspr--modern .ypi-modern-title{
  font-size:22px !important;
}
.ypi-sspr--modern .ypi-modern-summary-card > .ypi-modern-summary-ctas{
  display:none !important;
}


/* v1.4.43 light gallery overlay: remove the dark frame around enlarged photos. */
.ypi-sspr-lightbox {
  background: rgba(255, 255, 255, 0.98) !important;
  border: 1px solid rgba(224, 231, 224, 0.95) !important;
  box-shadow: 0 24px 70px rgba(16, 24, 40, 0.22) !important;
  color: #18201b !important;
}

.ypi-sspr-lightbox::backdrop {
  background: rgba(245, 247, 245, 0.86) !important;
  backdrop-filter: blur(10px);
}

.ypi-sspr-lightbox__bar {
  color: #18201b !important;
}

.ypi-sspr-lightbox__hint {
  color: #5f6b62 !important;
}

.ypi-sspr-lightbox__body {
  overflow: hidden;
  border-radius: 10px;
  background: transparent !important;
}

.ypi-sspr-lightbox__body img {
  background: transparent !important;
  box-shadow: none !important;
}

.ypi-sspr-lightbox__nav {
  background: #fff !important;
  border: 1px solid #dfe5df !important;
  color: #18201b !important;
  box-shadow: 0 10px 24px rgba(16, 24, 40, 0.10);
}

.ypi-sspr-lightbox__nav:hover {
  background: #f7faf7 !important;
}

/* v1.4.49: keep the inline Dirham mark visually aligned with the price digits. */
.ypi-dirham-symbol{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:1.05em;
  height:1em;
  margin-inline-end:.18em;
  vertical-align:-.12em;
  color:currentColor;
  line-height:1;
  transform:translateY(.015em);
  transform-origin:center center;
}
.ypi-dirham-symbol svg{
  display:block;
  width:100%;
  height:100%;
}
.ypi-dirham-price-text{
  display:inline;
  font-size:1em;
  line-height:1;
}
.ypi-modern-price .ypi-dirham-symbol{
  width:1em;
  height:1em;
  margin-inline-end:.16em;
}


/* v1.4.50 report action inside Regulatory information */
.ypi-sspr-verification-fallback__footer{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  flex-wrap:wrap;
  margin-top:12px;
}

.ypi-sspr-verification-fallback__report{
  display:inline-flex;
  align-items:center;
  min-width:0;
}

.ypi-sspr-verification-fallback__report .ypi-flr-wrap{
  display:inline-flex;
  align-items:center;
}

.ypi-sspr-verification-fallback__report :is(a,button,.button,.btn,input[type="submit"],input[type="button"]){
  width:auto !important;
  min-height:0 !important;
  padding:0 !important;
  border:0 !important;
  border-radius:0 !important;
  background:transparent !important;
  box-shadow:none !important;
  color:#65736b !important;
  font-size:12px !important;
  line-height:1.3 !important;
  font-weight:600 !important;
  text-decoration:underline !important;
  text-underline-offset:3px;
  cursor:pointer;
}

.ypi-sspr-verification-fallback__report :is(a,button,.button,.btn,input[type="submit"],input[type="button"]):hover{
  color:#2d8b73 !important;
}

@media (max-width: 640px){
  .ypi-sspr-verification-fallback__footer{
    align-items:flex-start;
    flex-direction:column;
  }
}

/* v1.4.51: compact right stack for price, agent and regulatory cards */
.ypi-sspr--modern .ypi-modern-property-side-stack{
  display:grid;
  grid-template-columns:1fr;
  gap:12px;
  align-self:start;
  min-width:0;
}

.ypi-sspr--modern .ypi-modern-property-side-stack > *{
  align-self:start !important;
  width:100%;
  min-width:0;
  margin-top:0 !important;
  margin-bottom:0 !important;
}

.ypi-sspr--modern .ypi-modern-card-actions--icon-only{
  justify-content:flex-end;
  margin-bottom:16px;
}

.ypi-sspr--modern .ypi-modern-card-actions--icon-only > span{
  display:inline-flex;
  gap:10px;
}

.ypi-sspr--modern .ypi-modern-two-col--description-full{
  display:block !important;
  grid-template-columns:1fr !important;
  margin-top:14px !important;
}

.ypi-sspr--modern .ypi-modern-two-col--description-full .ypi-modern-description{
  width:100%;
}

.ypi-sspr--modern .ypi-modern-property-side-stack .ypi-modern-agent-card,
.ypi-sspr--modern .ypi-modern-property-side-stack .ypi-modern-verification-card,
.ypi-sspr--modern .ypi-modern-property-side-stack .ypi-sspr-verification-fallback{
  border-radius:8px;
}

@media (max-width:1023px) and (orientation:portrait){
  .ypi-sspr--modern .ypi-modern-property-side-stack{
    gap:12px !important;
  }

  .ypi-sspr--modern .ypi-modern-card-actions--icon-only{
    margin-bottom:14px !important;
  }
}

@media (max-width:767px){
  .ypi-sspr--modern .ypi-modern-two-col--description-full{
    margin-top:12px !important;
  }
}

/* v1.4.52: keep description in the left content column below the gallery. */
.ypi-sspr--modern .ypi-modern-main-stack{
  display:grid;
  grid-template-columns:1fr;
  gap:14px;
  align-self:start;
  min-width:0;
}

.ypi-sspr--modern .ypi-modern-description--inline{
  width:100%;
  margin:0 !important;
}

.ypi-sspr--modern .ypi-modern-main-stack .ypi-modern-gallery-card,
.ypi-sspr--modern .ypi-modern-main-stack .ypi-modern-description--inline{
  min-width:0;
}

@media (max-width:900px), (max-width:1023px) and (orientation:portrait){
  .ypi-sspr--modern .ypi-modern-main-stack{
    display:contents !important;
  }

  .ypi-sspr--modern .ypi-modern-gallery-card{
    order:-2 !important;
  }

  .ypi-sspr--modern .ypi-modern-property-side-stack{
    order:-1 !important;
  }

  .ypi-sspr--modern .ypi-modern-description--inline{
    order:0 !important;
    margin-top:0 !important;
  }
}

/* v1.4.53: restore the top listing status badge while keeping Status out of the stats grid. */
