/*
  file: overrides-final.css
  scope: global (last loaded)
  purpose:
  - emergency final overrides
  - comment why/where/when for each new rule
  note:
  - avoid growing this file continuously
*/

/* reason: TOP新着で旧property-card系指定と競合し building-card が縦伸びするため（スマホ中心） */
@media (max-width: 759px) {
  body.site-theme-conversion .tp-home-new .property-grid.tp-home-new__grid > .building-card {
    min-height: 0 !important;
    height: auto !important;
    max-height: none !important;
  }

  body.site-theme-conversion .tp-home-new .property-grid.tp-home-new__grid .building-card__photo,
  body.site-theme-conversion .tp-home-new .property-grid.tp-home-new__grid .building-card__photo img {
    height: auto !important;
    max-height: none !important;
  }

  /* reason: 実DOM(#list.tp-home-new__grid > .building-card)に合わせた最終固定（スマホ） */
  body.site-theme-conversion #list.tp-home-new__grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 16px !important;
    align-items: start !important;
  }

  body.site-theme-conversion #list.tp-home-new__grid > .building-card {
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    align-self: start !important;
  }

  body.site-theme-conversion #list.tp-home-new__grid .building-card__head {
    display: grid !important;
    grid-template-columns: 220px minmax(0, 1fr) !important;
    gap: 14px !important;
    align-items: start !important;
  }

  body.site-theme-conversion #list.tp-home-new__grid .building-card__photo {
    width: 220px !important;
    height: 150px !important;
    min-height: 0 !important;
    aspect-ratio: 4 / 3 !important;
  }

  body.site-theme-conversion #list.tp-home-new__grid .building-card__photo img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
  }

  body.site-theme-conversion #list.tp-home-new__grid .building-rooms {
    padding: 8px 12px 12px !important;
  }

  body.site-theme-conversion #list.tp-home-new__grid .room-row {
    min-height: 0 !important;
    height: auto !important;
  }

  /* reason: TOP新着の #list.property-grid.tp-home-new__grid だけ旧多列グリッドを解除（スマホ） */
  body.site-theme-conversion .tp-home-new #list.property-grid.tp-home-new__grid,
  body.site-theme-conversion section#list.property-grid.tp-home-new__grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 16px !important;
    align-items: start !important;
  }

  body.site-theme-conversion .tp-home-new #list.property-grid.tp-home-new__grid > .building-card,
  body.site-theme-conversion section#list.property-grid.tp-home-new__grid > .building-card {
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    height: auto !important;
    min-height: 0 !important;
  }

  body.site-theme-conversion .tp-home-new #list.property-grid.tp-home-new__grid .building-card__head,
  body.site-theme-conversion section#list.property-grid.tp-home-new__grid .building-card__head {
    display: grid !important;
    grid-template-columns: 260px minmax(0, 1fr) !important;
    gap: 16px !important;
    align-items: start !important;
  }

  body.site-theme-conversion .tp-home-new #list.property-grid.tp-home-new__grid .building-card__photo,
  body.site-theme-conversion section#list.property-grid.tp-home-new__grid .building-card__photo {
    width: 260px !important;
    height: 180px !important;
    min-height: 0 !important;
  }

  /* =========================================
     TOP 新着物件: 横スクロール崩れ完全解除（スマホのみ）
  ========================================= */

  body.site-theme-conversion .tp-home-new #list.property-grid.tp-home-new__grid,
  body.site-theme-conversion section#list.property-grid.tp-home-new__grid {
    display: flex !important;
    flex-direction: column !important;
    grid-template-columns: none !important;
    grid-auto-flow: row !important;
    grid-auto-columns: unset !important;
    overflow-x: visible !important;
    overflow-y: visible !important;
    width: 100% !important;
    gap: 18px !important;
    align-items: stretch !important;
  }

  body.site-theme-conversion .tp-home-new #list.property-grid.tp-home-new__grid > .building-card,
  body.site-theme-conversion section#list.property-grid.tp-home-new__grid > .building-card {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    writing-mode: horizontal-tb !important;
    overflow: hidden !important;
  }

  body.site-theme-conversion .tp-home-new .building-card__head {
    display: grid !important;
    grid-template-columns: 260px minmax(0, 1fr) !important;
    align-items: start !important;
    gap: 18px !important;
  }

  body.site-theme-conversion .tp-home-new .building-card__info,
  body.site-theme-conversion .tp-home-new .building-card__title,
  body.site-theme-conversion .tp-home-new .building-card__meta {
    writing-mode: horizontal-tb !important;
    white-space: normal !important;
    word-break: break-word !important;
  }
}

/* 物件詳細ギャラリー：＋拡大ボタン廃止に伴い主画像枠を拡大（写真 cover / 間取り contain） */
body.site-theme-conversion .pd-property-detail .tp-property-gallery .tp-property-gallery__stage-core,
body.site-theme-conversion .pd-property-detail .tp-property-gallery .tp-property-gallery__main-cell,
body.site-theme-conversion .pd-property-detail .tp-property-gallery .pd-main-slide-wrap,
body.site-theme-conversion .pd-property-detail .tp-property-gallery .pd-hero-stage,
body.site-theme-conversion .pd-inner--tp-detail .tp-property-gallery .tp-property-gallery__stage-core,
body.site-theme-conversion .pd-inner--tp-detail .tp-property-gallery .tp-property-gallery__main-cell,
body.site-theme-conversion .pd-inner--tp-detail .tp-property-gallery .pd-main-slide-wrap,
body.site-theme-conversion .pd-inner--tp-detail .tp-property-gallery .pd-hero-stage {
  min-height: min(72vh, 600px) !important;
  max-height: min(72vh, 600px) !important;
}

body.site-theme-conversion .pd-property-detail .tp-property-gallery #main-image:not(.is-floorplan),
body.site-theme-conversion .pd-property-detail .tp-property-gallery .pd-main-img:not(.is-floorplan),
body.site-theme-conversion .pd-property-detail .tp-property-gallery .tp-property-gallery__main-img:not(.is-floorplan),
body.site-theme-conversion .pd-inner--tp-detail .tp-property-gallery #main-image:not(.is-floorplan),
body.site-theme-conversion .pd-inner--tp-detail .tp-property-gallery .pd-main-img:not(.is-floorplan),
body.site-theme-conversion .pd-inner--tp-detail .tp-property-gallery .tp-property-gallery__main-img:not(.is-floorplan),
body.site-theme-conversion .pd-property-detail .tp-property-gallery .pd-main-slide-wrap > img:not(.is-floorplan),
body.site-theme-conversion .pd-property-detail .tp-property-gallery .tp-property-gallery__main-cell > img:not(.is-floorplan),
body.site-theme-conversion .pd-inner--tp-detail .tp-property-gallery .pd-main-slide-wrap > img:not(.is-floorplan),
body.site-theme-conversion .pd-inner--tp-detail .tp-property-gallery .tp-property-gallery__main-cell > img:not(.is-floorplan) {
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: cover !important;
}

body.site-theme-conversion .pd-property-detail .tp-property-gallery #main-image.is-floorplan,
body.site-theme-conversion .pd-property-detail .tp-property-gallery .pd-main-img.is-floorplan,
body.site-theme-conversion .pd-inner--tp-detail .tp-property-gallery #main-image.is-floorplan,
body.site-theme-conversion .pd-inner--tp-detail .tp-property-gallery .pd-main-img.is-floorplan,
body.site-theme-conversion .pd-property-detail .tp-property-gallery .pd-main-slide-wrap > img.is-floorplan,
body.site-theme-conversion .pd-inner--tp-detail .tp-property-gallery .pd-main-slide-wrap > img.is-floorplan {
  width: auto !important;
  height: auto !important;
  max-width: 98% !important;
  max-height: 98% !important;
  object-fit: contain !important;
  margin: auto !important;
}

body.site-theme-conversion .pd-property-detail .tp-property-gallery .pd-main-slide-wrap:hover .pd-main-img,
body.site-theme-conversion .pd-property-detail .tp-property-gallery .pd-main-slide-wrap:hover #main-image,
body.site-theme-conversion .pd-inner--tp-detail .tp-property-gallery .pd-main-slide-wrap:hover .pd-main-img,
body.site-theme-conversion .pd-inner--tp-detail .tp-property-gallery .pd-main-slide-wrap:hover #main-image {
  transform: none !important;
}

body.site-theme-conversion .pd-property-detail .pd-detail-media-block #main-image:not(.is-floorplan),
body.site-theme-conversion .pd-inner--tp-detail .pd-detail-media-block #main-image:not(.is-floorplan) {
  width: 100% !important;
  height: auto !important;
  max-width: 100% !important;
  max-height: min(72vh, 600px) !important;
  object-fit: cover !important;
}

body.site-theme-conversion .pd-property-detail .pd-detail-media-block #main-image.is-floorplan,
body.site-theme-conversion .pd-inner--tp-detail .pd-detail-media-block #main-image.is-floorplan {
  max-width: 98% !important;
  max-height: min(72vh, 600px) !important;
  object-fit: contain !important;
}

/* 検索一覧（/test/search/）: 枠内に収める・縦横比維持（cover/拡大系は一旦使わない） */
body.site-theme-conversion .tp-search-results img,
body.site-theme-conversion .search-result-card img,
body.site-theme-conversion .tp-list-card img,
body.site-theme-conversion .room-row__thumb img,
body.site-theme-conversion .list-card-thumb img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
  object-position: center center !important;
  transform: none !important;
}

body.site-theme-conversion .tp-search-results .search-result-card__photo:not(.js-card-slider),
body.site-theme-conversion .tp-search-results .tp-list-card__photo:not(.js-card-slider),
body.site-theme-conversion .tp-search-results .list-card-thumb:not(.js-card-slider),
body.site-theme-conversion .tp-search-results .thumb-wrap:not(.js-card-slider) {
  overflow: hidden !important;
  background: #f8fafc !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

/* 号室サムネ: 従来どおり白ベース（建物枠の背景緩和の対象外） */
body.site-theme-conversion .tp-search-results .room-row__thumb:not(.js-card-slider) {
  overflow: hidden !important;
  background: #fff !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

/* スライダー枠: 矢印は absolute 重ねのため flex 横並びにしない */
body.site-theme-conversion .tp-search-results .list-card-thumb.js-card-slider,
body.site-theme-conversion .tp-search-results .thumb-wrap.js-card-slider {
  position: relative !important;
  overflow: hidden !important;
  display: block !important;
  background: #f8fafc !important;
}

/* 検索一覧: building-card 外観スロット — スライダー時は block、単一枚は従来 flex 中央 */
body.site-theme-conversion .tp-search-results .building-card__photo:not(.js-card-slider) {
  position: relative !important;
  overflow: hidden !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: #f8fafc !important;
}

body.site-theme-conversion .tp-search-results .building-card__photo.js-card-slider {
  position: relative !important;
  overflow: hidden !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: #f8fafc !important;
}

body.site-theme-conversion .tp-search-results .tp-list-card__photo.js-card-slider,
body.site-theme-conversion .tp-search-results .search-result-card__photo.js-card-slider {
  position: relative !important;
  overflow: hidden !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: #f8fafc !important;
}

body.site-theme-conversion .tp-search-results .building-card__photo > img,
body.site-theme-conversion .tp-search-results .building-card__photo > img[data-card-slide-img],
body.site-theme-conversion .tp-search-results .building-card__photo.js-card-slider .card-photo-slider-inner > img {
  position: static !important;
  inset: auto !important;
  display: block !important;
  width: auto !important;
  height: auto !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
  object-position: center center !important;
  transform: none !important;
}

/* 号室サムネ: スライダー矢印は非表示（建物外観 .building-card__photo は対象外） */
body.site-theme-conversion .tp-search-results .room-row__thumb .card-photo-nav,
body.site-theme-conversion .tp-search-results .room-row__thumb .list-card-img-nav {
  display: none !important;
}

body.site-theme-conversion .tp-search-results .room-row__thumb {
  cursor: zoom-in;
}

body.site-theme-conversion .tp-search-results .room-row__thumb img {
  object-fit: contain !important;
}

/* 号室サムネ拡大: 小型プレビュー（検索・一覧共通 #roomThumbPreviewRoot） */
.search-list-room-lightbox {
  position: fixed;
  inset: 0;
  z-index: 11040;
  box-sizing: border-box;
  background: transparent;
}

.search-list-room-lightbox[hidden] {
  display: none !important;
}

.search-list-room-lightbox:not([hidden]) {
  display: block;
}

.search-list-room-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.18);
}

.search-list-room-lightbox__close {
  position: absolute;
  top: 10px;
  right: 12px;
  z-index: 3;
  margin: 0;
  padding: 4px 12px;
  font-size: 1.5rem;
  line-height: 1;
  color: #0f172a;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 8px;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.12);
}

.search-list-room-lightbox__inner {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(360px, 86vw);
  max-height: 70vh;
  box-sizing: border-box;
  background: #fff;
  border-radius: 14px;
  padding: 10px;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.25);
  z-index: 2;
}

.search-list-room-lightbox--modal .search-list-room-lightbox__inner {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.search-list-room-lightbox--hover .search-list-room-lightbox__inner {
  left: auto;
  top: auto;
  transform: none;
}

.search-list-room-lightbox__panel {
  display: flex;
  align-items: center;
  justify-content: center;
  max-height: calc(70vh - 20px);
  box-sizing: border-box;
}

.search-list-room-lightbox__img {
  display: block;
  width: 100%;
  max-width: 100%;
  max-height: calc(70vh - 24px);
  height: auto;
  object-fit: contain !important;
  object-position: center center !important;
  background: #fff !important;
  transform: none !important;
  box-sizing: border-box;
}

.search-list-room-lightbox__img.is-floorplan {
  object-fit: contain !important;
  background: #fff !important;
}

@media (hover: hover) and (pointer: fine) {
  .search-list-room-lightbox--hover {
    background: transparent !important;
    pointer-events: none !important;
  }

  .search-list-room-lightbox--hover .search-list-room-lightbox__backdrop {
    display: none !important;
  }

  .search-list-room-lightbox--hover .search-list-room-lightbox__close {
    display: none !important;
  }

  .search-list-room-lightbox--hover .search-list-room-lightbox__inner {
    pointer-events: none;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.22);
  }
}
/* PC: 検索一覧の建物ブロック写真枠を拡大（list-cards と併用。flex 系の固定高に負けないよう最終上書き） */
@media (min-width: 901px) {
  body.site-theme-conversion .tp-search-results .building-card__head {
    grid-template-columns: minmax(300px, 380px) minmax(0, 1fr) !important;
    gap: 16px !important;
  }

  body.site-theme-conversion .tp-search-results .building-card__photo,
  body.site-theme-conversion .tp-search-results .building-card__photo.js-card-slider {
    min-height: 220px !important;
  }
}

/* 一覧・検索: カード画像スライダー矢印を画像上に重ねる（inner wrapper 基準） */
body.site-theme-conversion .tp-search-results .building-card__photo.js-card-slider,
body.site-theme-conversion .building-card__photo.js-card-slider,
body.site-theme-conversion .thumb-wrap.list-card-thumb.js-card-slider,
body.site-theme-conversion .tp-list-card__photo.js-card-slider,
body.site-theme-conversion .search-result-card__photo.js-card-slider {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden !important;
}

body.site-theme-conversion .card-photo-slider-inner {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: fit-content !important;
  max-width: 100% !important;
  height: 100% !important;
  max-height: 100% !important;
}

body.site-theme-conversion .building-card__photo.js-card-slider .card-photo-slider-inner > img[data-card-slide-img],
body.site-theme-conversion .thumb-wrap.list-card-thumb.js-card-slider .card-photo-slider-inner > img[data-card-slide-img],
body.site-theme-conversion .tp-list-card__photo.js-card-slider .card-photo-slider-inner > img[data-card-slide-img],
body.site-theme-conversion .search-result-card__photo.js-card-slider .card-photo-slider-inner > img[data-card-slide-img] {
  display: block !important;
  width: auto !important;
  height: auto !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
  object-position: center !important;
  transform: none !important;
}

body.site-theme-conversion .building-card__photo.js-card-slider .card-photo-slider-inner > .card-photo-nav,
body.site-theme-conversion .thumb-wrap.list-card-thumb.js-card-slider .card-photo-slider-inner > .card-photo-nav,
body.site-theme-conversion .tp-list-card__photo.js-card-slider .card-photo-slider-inner > .card-photo-nav,
body.site-theme-conversion .search-result-card__photo.js-card-slider .card-photo-slider-inner > .card-photo-nav,
body.site-theme-conversion .building-card__photo.js-card-slider .card-photo-slider-inner > .list-card-img-nav,
body.site-theme-conversion .thumb-wrap.list-card-thumb.js-card-slider .card-photo-slider-inner > .list-card-img-nav {
  position: absolute !important;
  top: 50% !important;
  z-index: 20 !important;
  width: 34px !important;
  height: 34px !important;
  margin: 0 !important;
  padding: 0 !important;
  transform: translateY(-50%) !important;
  display: grid !important;
  place-items: center !important;
  background: rgba(255, 255, 255, 0.9) !important;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.18) !important;
}

body.site-theme-conversion .building-card__photo.js-card-slider .card-photo-slider-inner > .card-photo-nav--prev,
body.site-theme-conversion .thumb-wrap.list-card-thumb.js-card-slider .card-photo-slider-inner > .card-photo-nav--prev,
body.site-theme-conversion .building-card__photo.js-card-slider .card-photo-slider-inner > .list-card-img-nav--prev,
body.site-theme-conversion .thumb-wrap.list-card-thumb.js-card-slider .card-photo-slider-inner > .list-card-img-nav--prev {
  left: 8px !important;
  right: auto !important;
}

body.site-theme-conversion .building-card__photo.js-card-slider .card-photo-slider-inner > .card-photo-nav--next,
body.site-theme-conversion .thumb-wrap.list-card-thumb.js-card-slider .card-photo-slider-inner > .card-photo-nav--next,
body.site-theme-conversion .building-card__photo.js-card-slider .card-photo-slider-inner > .list-card-img-nav--next,
body.site-theme-conversion .thumb-wrap.list-card-thumb.js-card-slider .card-photo-slider-inner > .list-card-img-nav--next {
  right: 8px !important;
  left: auto !important;
}

/* reason: 実機 iPhone Safari — styles.css の cover/100%/aspect-ratio が通常ギャラリーに残る（ライトボックス除外） */
@media (max-width: 640px) {
  body.site-theme-conversion .pd-property-detail .tp-property-gallery__stage-core,
  body.site-theme-conversion .pd-property-detail .tp-property-gallery__main-cell,
  body.site-theme-conversion .pd-property-detail .pd-main-slide-wrap,
  body.site-theme-conversion .pd-property-detail .pd-hero-stage,
  body.site-theme-conversion .pd-inner--tp-detail .tp-property-gallery__stage-core,
  body.site-theme-conversion .pd-inner--tp-detail .tp-property-gallery__main-cell,
  body.site-theme-conversion .pd-inner--tp-detail .pd-main-slide-wrap,
  body.site-theme-conversion .pd-inner--tp-detail .pd-hero-stage {
    min-height: min(58vh, 480px) !important;
    max-height: min(58vh, 480px) !important;
  }

  body.site-theme-conversion .pd-property-detail #main-image:not(.is-floorplan),
  body.site-theme-conversion .pd-property-detail .pd-main-img:not(.is-floorplan),
  body.site-theme-conversion .pd-property-detail .tp-property-gallery__main-img:not(.is-floorplan),
  body.site-theme-conversion .pd-inner--tp-detail #main-image:not(.is-floorplan),
  body.site-theme-conversion .pd-inner--tp-detail .pd-main-img:not(.is-floorplan),
  body.site-theme-conversion .pd-inner--tp-detail .tp-property-gallery__main-img:not(.is-floorplan),
  body.site-theme-conversion .pd-property-detail .tp-property-gallery .pd-main-slide-wrap > img:not(.is-floorplan),
  body.site-theme-conversion .pd-property-detail .tp-property-gallery .tp-property-gallery__main-cell > img:not(.is-floorplan),
  body.site-theme-conversion .pd-inner--tp-detail .tp-property-gallery .pd-main-slide-wrap > img:not(.is-floorplan),
  body.site-theme-conversion .pd-inner--tp-detail .tp-property-gallery .tp-property-gallery__main-cell > img:not(.is-floorplan) {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: cover !important;
  }

  body.site-theme-conversion .pd-property-detail #main-image.is-floorplan,
  body.site-theme-conversion .pd-property-detail .pd-main-img.is-floorplan,
  body.site-theme-conversion .pd-inner--tp-detail #main-image.is-floorplan,
  body.site-theme-conversion .pd-inner--tp-detail .pd-main-img.is-floorplan {
    max-width: 98% !important;
    max-height: 98% !important;
    object-fit: contain !important;
  }

  body.site-theme-conversion .pd-property-detail .pd-main-img:hover,
  body.site-theme-conversion .pd-property-detail #main-image:hover,
  body.site-theme-conversion .pd-inner--tp-detail .pd-main-img:hover,
  body.site-theme-conversion .pd-inner--tp-detail #main-image:hover,
  body.site-theme-conversion .pd-property-detail .tp-property-gallery .pd-main-slide-wrap:hover .pd-main-img,
  body.site-theme-conversion .pd-property-detail .tp-property-gallery .pd-main-slide-wrap:hover #main-image,
  body.site-theme-conversion .pd-inner--tp-detail .tp-property-gallery .pd-main-slide-wrap:hover .pd-main-img,
  body.site-theme-conversion .pd-inner--tp-detail .tp-property-gallery .pd-main-slide-wrap:hover #main-image {
    transform: none !important;
  }

  body.site-theme-conversion .pd-property-detail .pd-fv-catch-copy,
  body.site-theme-conversion .pd-inner--tp-detail .pd-fv-catch-copy {
    display: block !important;
    margin-top: 12px !important;
  }

  body.site-theme-conversion .pd-property-detail .pd-fv-catch-band,
  body.site-theme-conversion .pd-inner--tp-detail .pd-fv-catch-band {
    display: block !important;
  }
}

/* reason: 管理費ラベルと金額が space-between で離れすぎる（スマホ Safari） */
body.site-theme-conversion .pd-property-detail .pd-price-row--sub,
body.site-theme-conversion .pd-inner--tp-detail .pd-price-row--sub {
  display: inline-flex !important;
  align-items: baseline !important;
  justify-content: flex-start !important;
  gap: 8px !important;
  width: auto !important;
  max-width: 100% !important;
}

body.site-theme-conversion .pd-property-detail .pd-price-row--sub .pd-price-row__k,
body.site-theme-conversion .pd-property-detail .pd-price-row--sub .pd-price-row__v,
body.site-theme-conversion .pd-inner--tp-detail .pd-price-row--sub .pd-price-row__k,
body.site-theme-conversion .pd-inner--tp-detail .pd-price-row--sub .pd-price-row__v {
  flex: 0 0 auto !important;
  width: auto !important;
  min-width: 0 !important;
  text-align: left !important;
}

@media (max-width: 640px) {
  body.site-theme-conversion .pd-property-detail .pd-price-row--sub,
  body.site-theme-conversion .pd-inner--tp-detail .pd-price-row--sub {
    gap: 6px !important;
  }
}
