.container-1370 {
  max-width: 1370px;
  margin: 0 auto;
  padding: 50px 24px;
}

.panel {
  background: #fff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  border-radius: 6px;
}

.pd {
  padding: 56px 64px 48px;
}

.pd__head {
  margin-bottom: 28px;
}

.tags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 0 0 14px;
  padding: 0;
  list-style: none;
}

.tags--badge {
  margin-bottom: 10px;
}

.tag {
  font-size: 13px;
  line-height: 1;
  padding: 8px 14px;
  border-radius: 999px;
  white-space: nowrap;
  font-weight: 400;
}

.tag--dark {
  background: #7b3a3a;
  color: #fff;
}

.tag--amber {
  background: #f1b400;
  color: #fff;
}

.pd__title {
  font-size: 28px;
  line-height: 1.25;
  margin: 0;
}

.pd__main {
  display: grid;
  grid-template-columns: 600px 1fr;
  gap: 56px;
  align-items: start;
  grid-template-areas:
    "gallery side"
    "comment comment";
}

.pd-gallery {
  grid-area: gallery;
}
.pd-side {
  grid-area: side;
}

.pd-comment {
  display: block;
  grid-area: comment;
  width: 100%;
  max-width: 1000px;
  margin: 48px auto 0;
  border: 2px solid rgba(138, 44, 44, 0.6);
  padding: 26px 32px;
  min-height: auto;
}

.pd-comment p {
  margin: 0;
  font-size: 22px;
  line-height: 1.8;
  color: #333;
}

.pd-gallery__stage {
  width: 600px;
  height: 600px;
  position: relative;
  border: 1px solid #d7d7d7;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
}

.pd-gallery__figure {
  width: 100%;
  height: 100%;
  margin: 0;
}

.pd-gallery__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.pd-gallery__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid #d7d7d7;
  background: rgba(255, 255, 255, 0.9);
  cursor: pointer;
}

.pd-gallery__nav.is-prev {
  left: 10px;
}

.pd-gallery__nav.is-next {
  right: 10px;
}

.pd-thumbs {
  width: 600px;
  display: flex;
  gap: 10px;
  margin-top: 14px;
}

.pd-thumb {
  width: 74px;
  height: 74px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #d7d7d7;
  background: #fff;
  padding: 0;
  cursor: pointer;
}

.pd-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.pd-thumb.is-active {
  outline: 2px solid #8a2c2c;
  outline-offset: 1px;
}

.pd-pricebox {
  border-top: 1px solid rgba(138, 44, 44, 0.35);
  border-bottom: 1px solid rgba(138, 44, 44, 0.35);
  padding: 0;
  margin-top: 10px;
}

.pd-price {
  margin: 0;
}

.pd-price__row {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid rgba(138, 44, 44, 0.25);
}

.pd-price__row:last-child {
  border-bottom: 0;
}

.pd-price__label {
  font-size: 21.84px;
  color: #333;
}

.pd-price__value {
  margin: 0;
  min-width: 0;
  text-align: right;
  white-space: nowrap;
}

.pd-money {
  font-size: 28px;
  font-weight: 700;
  color: #8a2c2c;
  letter-spacing: 0.02em;
  line-height: 1;
  white-space: nowrap;
}


.pd-price .pd-price__value .pd-text {
  font-size: 28px;
  font-weight: 700;
  color: #8a2c2c;
  line-height: 1.6;
  white-space: normal;
}

.pd-price__row:nth-child(2) .pd-money {
  font-size: 28px;
}

.pd-price__value .pd-money {
  font-size: 28px;
  font-weight: 700;
  color: #8a2c2c;
}

.pd-yen {
  font-size: 16px;
  margin-left: 6px;
  color: #333;
}

.pd-kv {
  margin: 30px 0 0;
  display: grid;
  gap: 15px;
  border-bottom: none;
}

.pd-kv__row {
  display: grid;
  grid-template-columns: 120px 1fr;
  align-items: center;
  gap: 14px;
}

.pd-pricebox {
  border-bottom: none;
}

.pd-kv__key {
  font-size: 16px;
  background: #f2f2f2;
  color: #444;
  padding: 7px 10px;
  border-radius: 3px;
  text-align: center;
}

.pd-kv__val {
  font-size: 21px;
  margin: 0;
  color: #222;
}

.row .row--deposit {
  gap: 0;
}

.prop-card__prices .row--deposit dt {
  width: 80px;
  min-width:80px;
  white-space: nowrap;
}

@media (max-width: 1024px) {
  .container-1370 {
    padding: 28px 20px;
  }

  .pd.panel {
    width: 100%;
    max-width: 760px;
    margin: 0 auto;
    display: block;
  }

  .pd {
    padding: 24px 20px 26px;
  }

  .pd__head {
    width: 100%;
    max-width: 680px;
    margin: 0 auto 14px;
  }

  .pd__head .tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 10px;
    padding: 0;
    list-style: none;
  }

  .pd__head .tag {
    font-size: 11px;
    line-height: 1;
    padding: 7px 10px;
    border-radius: 999px;
    white-space: nowrap;
  }

  .pd__title {
    font-size: 22px;
    line-height: 1.4;
    margin: 0;
  }

  .pd__main {
    width: 100%;
    max-width: 680px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .pd-gallery,
  .pd-comment,
  .pd-side {
    width: 100%;
    margin: 0;
  }

  .pd-gallery__stage {
    width: 100%;
    height: min(68vw, 420px);
    border-radius: 10px;
  }

  .pd-gallery__figure {
    width: 100%;
    height: 100%;
  }

  .pd-gallery__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  .pd-gallery__nav {
    width: 32px;
    height: 32px;
  }

  .pd-thumbs {
    width: 100%;
    margin-top: 10px;
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .pd-thumbs::-webkit-scrollbar {
    display: none;
  }

  .pd-thumb {
    flex: 0 0 72px;
    width: 72px;
    height: 72px;
  }

  .pd-comment {
    width: 100%;
    margin: 0;
    padding: 16px 16px;
    min-height: auto;
    border-width: 2px;
    border-radius: 6px;
    display: block;
  }

  .pd-comment p {
    margin: 0;
    font-size: 15px;
    line-height: 1.8;
  }

  .pd-pricebox {
    width: 100%;
    margin: 0;
    padding: 0;
  }

  .pd-price__row {
    display: grid;
    grid-template-columns: 120px 1fr;
    align-items: center;
    padding: 14px 0;
  }

  .pd-price__label {
    font-size: 15px;
  }

  .pd-money {
    font-size: 25px;
    font-weight: 700;
    line-height: 1.1;
  }
	
	.pd-price .pd-price__value .pd-text {
  font-size: 25px;
  font-weight: 700;
  line-height: 1.1;
}

  .pd-yen {
    font-size: 14px;
    margin-left: 4px;
  }

  .pd-kv {
    width: 100%;
    margin-top: 12px;
    display: grid;
    gap: 10px;
  }

  .pd-kv__row {
    display: grid;
    grid-template-columns: 100px 1fr;
    align-items: center;
    gap: 10px;
  }

  .pd-kv__key {
    font-size: 12px;
    padding: 8px 8px;
    border-radius: 3px;
  }

  .pd-kv__val {
    font-size: 15px;
    line-height: 1.7;
  }

  #site-contact {
    display: none !important;
  }

  .pd-thumb.is-active {
    outline: none !important;
    box-shadow: inset 0 0 0 2px #8a2c2c;
  }

  .pd-lightbox__figure {
    width: min(94vw, 760px);
    height: min(76vh, 620px);
  }

  .pd-lightbox__nav {
    width: 40px;
    height: 40px;
    font-size: 22px;
  }
}

@media (max-width: 767px) {
  .container-1370 {
    padding: 20px 12px;
  }

  .pd.panel {
    width: 350px;
    margin: 0 auto;
    display: block;
  }

  .pd {
    padding: 16px 0 18px;
  }

  .pd__head {
    width: 300px;
    margin: 0 auto 10px;
  }

  .pd__head .tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0 0 8px;
    padding: 0;
    list-style: none;
  }

  .pd__head .tag {
    font-size: 9px;
    line-height: 1;
    padding: 6px 8px;
    border-radius: 999px;
    white-space: nowrap;
  }

  .pd__title {
    font-size: 17px;
    line-height: 1.35;
    margin: 0;
  }

  .pd__main {
    width: 300px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .pd-gallery,
  .pd-comment,
  .pd-side {
    width: 300px;
    margin: 0;
  }

  .pd-gallery__stage {
    width: 300px;
    height: 180px;
    border-radius: 10px;
  }

  .pd-gallery__figure {
    width: 100%;
    height: 100%;
  }

  .pd-gallery__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  .pd-gallery__nav {
    width: 28px;
    height: 28px;
  }

  .pd-thumbs {
    width: 300px;
    margin-top: 10px;
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: none;
  }

  .pd-thumbs::-webkit-scrollbar {
    display: none;
  }

  .pd-comment {
    width: 300px;
    margin: 0;
    padding: 12px 12px;
    min-height: auto;
    border-width: 2px;
    border-radius: 5px;
    display: block;
  }

  .pd-comment p {
    margin: 0;
    font-size: 12px;
    line-height: 1.8;
  }

  .pd-pricebox {
    width: 300px;
    margin: 0;
    padding: 0;
  }

  .pd-price__row {
    display: grid;
    grid-template-columns: 75px 1fr;
    align-items: center;
    padding: 10px 0;
  }

  .pd-price__label {
    font-size: 12px;
	white-space: nowrap;
  }

  .pd-money {
    font-size: 17px !important;
    font-weight: 700;
    line-height: 1.1;
  }
	
	.pd-price .pd-price__value .pd-text {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.1;
}

  .pd-yen {
    font-size: 12px;
    margin-left: 4px;
  }

  .pd-kv {
    width: 300px;
    margin-top: 10px;
    display: grid;
    gap: 8px;
  }

  .pd-kv__row {
    display: grid;
    grid-template-columns: 88px 1fr;
    align-items: center;
    gap: 10px;
  }

  .pd-kv__key {
    font-size: 9px;
    padding: 7px 6px;
    border-radius: 3px;
  }

  .pd-kv__val {
    font-size: 12px;
    line-height: 1.6;
  }

  #site-contact {
    display: none !important;
  }

  .pd-thumb.is-active {
    outline: none !important;
  }

  .pd-thumb {
    position: relative;
  }

  .pd-thumb.is-active {
    box-shadow: inset 0 0 0 2px #8a2c2c;
  }
}

@media (max-width: 390px) {
  .pd.panel {
    width: 100%;
  }

  .pd__head,
  .pd__main {
    width: 300px;
  }
}

.pd-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.78);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 18px;
}

.pd-lightbox.is-open {
  display: flex;
}

.pd-lightbox__figure {
  margin: 0;
  width: min(92vw, 980px);
  height: min(78vh, 720px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.pd-lightbox__img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  display: block;
  border-radius: 12px;
  background: #111;
}

.pd-lightbox__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
  font-size: 22px;
  cursor: pointer;
}

.pd-lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
  font-size: 24px;
  cursor: pointer;
}

.pd-lightbox__nav.is-prev {
  left: 12px;
}

.pd-lightbox__nav.is-next {
  right: 12px;
}
.prop-card__prices .row--deposit dt {
  width: 65px;
  min-width:65px;

}


@media (max-width: 767px) {
  .pd-lightbox__figure {
    width: min(94vw, 560px);
    height: min(72vh, 520px);
  }

  .pd-lightbox__nav {
    width: 38px;
    height: 38px;
    font-size: 22px;
  }

  .pd-thumbs {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 4px;
  }

  .pd-thumbs::-webkit-scrollbar {
    display: none;
  }

  .pd-thumb {
    flex: 0 0 64px;
    width: 64px;
    height: 64px;
  }
}