.apartment_main{
  display: flex;
  margin-bottom: 30px;
}
.apartment_main__Header{
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}
.apartment_main__Header h1{
  font-weight: 500;
  text-transform: none;
  font-family: 'Montserrat';
  margin-top: 0;
  margin-bottom: 40px;
}
.apartment_main__half.--viewer{
  flex: 0 0 calc(55.48% - 16px);
  width: calc(55.48% - 16px);
}
.apartment_main__half.--params{
  padding-left: 40px;
  display: flex;
  flex-direction: column;
  height: 100%;
  flex: 0 0 calc(44.52% - 16px);
  width: calc(44.52% - 16px);
}
.price-value{
  color: #004A9A;
  font-family: 'Montserrat-Bold';
}
.detail-tabs-container{
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  gap: 1vw;
}
.detail-tabs-menu {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(0, 74, 154, 0.05);
  border-radius: 100px;
  padding: 8px 0 8px 8px;
  position: relative;
  width: 100%;
  box-sizing: border-box;
  height: 64px;
  overflow: hidden;
}

.tabs-wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  overflow-x: auto;
  scroll-behavior: smooth;
  -ms-overflow-style: none;
  scrollbar-width: none;
  padding: 4px 0;
  height: 100%;
}

.tabs-wrapper::-webkit-scrollbar {
  display: none;
}

.tab-button {
  padding: 15px 25px;
  background: transparent;
  border-radius: 100px;
  border: none;
  color: #004a9a;
  font-size: 18px;
  font-weight: 400;
  line-height: 18px;
  white-space: nowrap;
  font-family: 'Montserrat', sans-serif;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: none;
  flex-shrink: 0;
  height: 48px;
}

.tab-button.__active {
  background: #004a9a;
  color: white;
}

/* Стрелки перекрывающие кнопки */
.tabs-arrows {
  display: flex;
  align-items: center;
  gap: 30px;
  position: sticky;
  right: 0;
  background: linear-gradient(to right, transparent, white 70%);
  z-index: 2;
  height: 64px;
  padding-right: 8px;
}

.tab-arrow {
  width: 68px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f5f8fb;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  font-size: 18px;
  color: black;
  transition: opacity 0.3s ease;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.tab-arrow.--prev {
  transform: rotate(-180deg);
}

.tab-arrow:hover {
  background: #004a9a;
  color: white;
}

.dtc-Item{
  display: none;
  background: #E6F3F9;
  border-radius: 24px;
}
.dtc-Item.__active{
  display: block;
  height: 100%;
  width: 100%;
}
.dtc-Item__Inner{
  display: flex;
  justify-content: center;
  flex-direction: column;
  width: 100%;
  height: 100%;
  position: relative;
}
.dtc-Item__Controls{
  display: flex;
  flex-direction: column;
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  padding: 20px;
  align-items: flex-end;
  z-index: 10;
}
.detail-tabs-content{
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  height: 640px;
  flex-grow: 1;
}
.tab-ApStage {
  display: flex;
  justify-content: center;
}
.tab-Center__Slider{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 2vw;
}
.flatParams{
  margin-bottom: 40px;
}
.flatParams__Row{
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid #00000033;
  margin-bottom: 4px;
  padding: 10px 0;
  font-size: 18px;
}
/* Стили для блока с ценой */
.price-block {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 8px;
  margin-top: 20px;
  padding-top: 30px;
}

.price-block__value {
  color: #004a9a;
  font-size: 32px;
  font-weight: 600;
  line-height: 1.2;
}

.price-block__per-meter {
  opacity: 0.6;
  color: black;
  font-size: 18px;
  font-weight: 600;
}

.flatParams__Cell.--labelCell{
  color: #666666;
}
.flatParams__Cell.--valueCell{
  color: #000;
  font-family: 'Montserrat-Medium';
}
/* Новые стили для плашек */
.info-plates-wrapper {
  display: flex;
  gap: 20px;
  width: 100%;
}

/* Левая плашка */
.info-plate--left {
  flex: 1;
}

/* Правая колонка для 2, 3 и более плашек */
.info-plates-right {
  flex: 0 0 calc(44.52% - 16px);
  width: calc(44.52% - 16px);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Если нет правых плашек (только левая) */
.info-plates-wrapper:not(:has(.info-plates-right)) {
  justify-content: flex-end;
}

.info-plates-wrapper:not(:has(.info-plates-right)) .info-plate--left {
  flex: 0 0 calc(44.52% - 16px);
  width: calc(44.52% - 16px);
}

/* Если нет левой плашки */
.info-plates-wrapper:not(:has(.info-plate--left)) {
  justify-content: flex-start;
}

.info-plate {
  background: #f8f8f8;
  border-radius: 16px;
  padding: 20px;
  overflow: hidden;
  box-sizing: border-box;
}

/* Левая плашка - растягивается */
.info-plate--left {
  flex: 1;
  width: auto;
}

/* Если одна плашка (нет правой колонки) */
.info-plates-wrapper:not(:has(.info-plates-right)) .info-plate {
  flex: 0 0 calc(44.52% - 16px);
  width: calc(44.52% - 16px);
  margin-left: auto;
}
.info-plates-wrapper .info-plate:only-child {
  flex: 0 0 calc(44.52% - 16px) !important;
}
.info-plates-wrapper:not(:has(.info-plates-right)) .info-plate:first-child {
  flex: 1;
}
.info-plate__text {
  opacity: 0.7;
  color: black;
  font-size: 14px;
  font-weight: normal;
  line-height: 1.4;
}

.apartment_main__Controls{
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
}
.wRound{
  width: 52px;
  height: 52px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border: none;
  background: #fff;
  border-radius: 50%;
  cursor: pointer;
}
.apartment_main__Controls .green-btn{
  background: #4FC742;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 52px;
  padding: 0 10px;
  flex-grow: 1;
  border-radius: 100px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  text-decoration: none;
}
.apartment_main__Controls .arrow-link{
  flex-grow: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 600;
  gap: 15px;
  text-decoration: none;
}

/* Стили для кнопки печати */
.print-button {
  background: #004A9A;
  color: white;
  border: none;
  padding: 0 20px;
  height: 52px;
  border-radius: 100px;
  font-size: 16px;
  font-weight: 600;
  font-family: 'Montserrat', sans-serif;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.3s ease;
  flex: 1;
}

.print-button:hover {
  background: #003366;
  transform: scale(1.02);
}

/* Стили для печати */
@media print {
  .print-button {
    display: none !important;
  }
  
  .apartment_main__Controls .green-btn,
  .apartment_main__Controls .arrow-link {
    display: none !important;
  }
}

/*/**************************************************/
.fancybox-slide--image .fancybox-content{
  background-color: #ffffff !important;
}
.house-info-entrance svg{
  width: 50px;
  height: 40px;
}
.apartment_detail{
  position: relative;
  padding-right: 2vw;
}
.apartment-main{
  display: grid;
  grid-template-columns: 2fr 3fr;
}
.apartments-plans__pict{
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2vw;
}
.apartments-plans__info{
  padding: 0 15px 0 50px;
}
.plans-viewers-item{
  padding: 0 5%;
}
.apartment-info-img:hover::before, 
.apartment-info-section_plan-img:hover::before, 
.--zoom-slide:hover::before {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='187' height='52' viewBox='0 0 187 52' fill='none'%3E%3Crect x='1' y='1' width='185' height='50' rx='13' fill='white'/%3E%3Crect x='1' y='1' width='185' height='50' rx='13' stroke='%23004A9A' stroke-width='2'/%3E%3Cpath d='M42.2281 30.2237L48 36M36.3333 21V27.6667M33 24.3333H39.6667M44.6667 24.3333C44.6667 28.9357 40.9357 32.6667 36.3333 32.6667C31.731 32.6667 28 28.9357 28 24.3333C28 19.731 31.731 16 36.3333 16C40.9357 16 44.6667 19.731 44.6667 24.3333Z' stroke='%23004A9A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M59.368 31.856L59.944 30.02C60.604 30.248 61.186 30.308 61.69 30.2C62.194 30.092 62.644 29.726 63.04 29.102L63.652 28.148L63.886 27.896L68.278 19.4H70.582L65.11 29.57C64.666 30.422 64.138 31.07 63.526 31.514C62.914 31.958 62.254 32.204 61.546 32.252C60.85 32.312 60.124 32.18 59.368 31.856ZM63.832 29.912L58.216 19.4H60.718L65.11 28.112L63.832 29.912ZM71.5882 32V22.388H76.2862C77.4502 22.388 78.3622 22.604 79.0222 23.036C79.6942 23.468 80.0302 24.08 80.0302 24.872C80.0302 25.652 79.7182 26.264 79.0942 26.708C78.4702 27.14 77.6422 27.356 76.6102 27.356L76.8802 26.798C78.0442 26.798 78.9082 27.014 79.4722 27.446C80.0482 27.866 80.3362 28.484 80.3362 29.3C80.3362 30.152 80.0182 30.818 79.3822 31.298C78.7462 31.766 77.7802 32 76.4842 32H71.5882ZM73.7302 30.362H76.3042C76.9162 30.362 77.3782 30.266 77.6902 30.074C78.0022 29.87 78.1582 29.564 78.1582 29.156C78.1582 28.724 78.0142 28.406 77.7262 28.202C77.4382 27.998 76.9882 27.896 76.3762 27.896H73.7302V30.362ZM73.7302 26.402H76.0882C76.6642 26.402 77.0962 26.3 77.3842 26.096C77.6842 25.88 77.8342 25.58 77.8342 25.196C77.8342 24.8 77.6842 24.506 77.3842 24.314C77.0962 24.122 76.6642 24.026 76.0882 24.026H73.7302V26.402ZM87.2147 32.126C86.1467 32.126 85.2107 31.916 84.4067 31.496C83.6147 31.064 82.9967 30.476 82.5527 29.732C82.1207 28.988 81.9047 28.142 81.9047 27.194C81.9047 26.234 82.1147 25.388 82.5347 24.656C82.9667 23.912 83.5547 23.33 84.2987 22.91C85.0547 22.49 85.9127 22.28 86.8727 22.28C87.8087 22.28 88.6427 22.484 89.3747 22.892C90.1067 23.3 90.6827 23.876 91.1027 24.62C91.5227 25.364 91.7327 26.24 91.7327 27.248C91.7327 27.344 91.7267 27.452 91.7147 27.572C91.7147 27.692 91.7087 27.806 91.6967 27.914H83.6867V26.42H90.5087L89.6267 26.888C89.6387 26.336 89.5247 25.85 89.2847 25.43C89.0447 25.01 88.7147 24.68 88.2947 24.44C87.8867 24.2 87.4127 24.08 86.8727 24.08C86.3207 24.08 85.8347 24.2 85.4147 24.44C85.0067 24.68 84.6827 25.016 84.4427 25.448C84.2147 25.868 84.1007 26.366 84.1007 26.942V27.302C84.1007 27.878 84.2327 28.388 84.4967 28.832C84.7607 29.276 85.1327 29.618 85.6127 29.858C86.0927 30.098 86.6447 30.218 87.2687 30.218C87.8087 30.218 88.2947 30.134 88.7267 29.966C89.1587 29.798 89.5427 29.534 89.8787 29.174L91.0847 30.56C90.6527 31.064 90.1067 31.454 89.4467 31.73C88.7987 31.994 88.0547 32.126 87.2147 32.126ZM93.9086 32.18C93.7286 32.18 93.5306 32.162 93.3146 32.126C93.1106 32.09 92.8946 32.042 92.6666 31.982L92.7746 30.092C92.8586 30.104 92.9366 30.116 93.0086 30.128C93.0806 30.14 93.1466 30.146 93.2066 30.146C93.5786 30.146 93.8666 30.032 94.0706 29.804C94.2746 29.576 94.4246 29.27 94.5206 28.886C94.6286 28.49 94.7006 28.052 94.7366 27.572C94.7846 27.08 94.8206 26.588 94.8446 26.096L95.0066 22.388H102.783V32H100.533V23.684L101.055 24.296H96.4826L96.9686 23.666L96.8426 26.204C96.8066 27.056 96.7346 27.848 96.6266 28.58C96.5306 29.3 96.3746 29.93 96.1586 30.47C95.9546 31.01 95.6666 31.43 95.2946 31.73C94.9346 32.03 94.4726 32.18 93.9086 32.18ZM105.813 32V22.388H108.063V28.724L113.373 22.388H115.425V32H113.175V25.664L107.883 32H105.813ZM121.457 28.94C120.245 28.94 119.303 28.658 118.631 28.094C117.959 27.53 117.623 26.654 117.623 25.466V22.388H119.873V25.322C119.873 25.958 120.053 26.42 120.413 26.708C120.785 26.996 121.295 27.14 121.943 27.14C122.375 27.14 122.807 27.086 123.239 26.978C123.671 26.87 124.097 26.72 124.517 26.528V28.202C124.061 28.418 123.575 28.598 123.059 28.742C122.555 28.874 122.021 28.94 121.457 28.94ZM124.355 32V22.388H126.605V32H124.355ZM129.631 32V22.388H131.881V28.724L137.191 22.388H139.243V32H136.993V25.664L131.701 32H129.631ZM144.268 32V23.756L144.79 24.296H140.884V22.388H149.884V24.296H145.996L146.518 23.756V32H144.268ZM156.016 32.018L151.516 32V22.388H153.766V25.538L156.34 25.556C157.576 25.556 158.518 25.832 159.166 26.384C159.814 26.936 160.138 27.716 160.138 28.724C160.138 29.768 159.778 30.584 159.058 31.172C158.338 31.748 157.324 32.03 156.016 32.018ZM155.818 30.362C156.478 30.374 156.982 30.236 157.33 29.948C157.678 29.66 157.852 29.24 157.852 28.688C157.852 28.136 157.678 27.74 157.33 27.5C156.994 27.248 156.49 27.116 155.818 27.104L153.766 27.086V30.344L155.818 30.362Z' fill='%23004A9A'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain; /* или auto, или конкретные значения */
  z-index: 2;
  content: '';
  /* width и height можно оставить или изменить под размер SVG */
  width: 120px;
  margin: auto;
  /* Удалено: backdrop-filter, border-radius, background-color */
}
}
.apartment-info-img:hover::before, .apartment-info-section_plan-img:hover::before, .--zoom-slide:hover::before {
  background-color: #ffffff;
  backdrop-filter: none;
}
.apartment-info-img{
  position: relative;
  display: block;
}
.apartment-info-img img:not(.zoom-img){
  display: block;
  margin: 0 auto;
  max-width: 100%;
}
.apartment-info-img img.zoom-img{
  position: absolute;
  top: 0;
  left: 100%;
  max-height: 90vh;
  max-width: 50vw;
}
.apartment-info-parametrs-text{
  margin-bottom: 20px;
}
.apartment-info-parametrs-text .largetext{
  display: block;
  margin-bottom: 15px;
}
.apartment_detail .is_reserved{
  position: absolute;
  display: block;
  top: 40px;
  left: 20px;
  font-family: 'Montserrat-Bold';
  font-weight: 700;
  font-size: 1.3rem;
  text-transform: uppercase;
  color: #eb7a7a;
}
.plans-viewers{
  min-width: 280px;
  min-height: 280px;
}
.apartment-plans .plans-viewers-item{
  display: none;
}
.apartment-plans .plans-viewers-item.__active{
  display: block;
}
.plans-viewers-controls{
  display: -webkit-flex;
  display: -ms-flex;
  display: flex;
  -ms-align-items: center;
  align-items: center;
  justify-content: space-between;
  border-radius: 40px;
  border: 1px solid #20269D;
  width: 180px;
  margin: 20px auto;
  overflow: hidden;
}
.plans-viewers-button{
  font-size: 14px;
  padding: 5px 7px;
  color: #20269D;
  font-weight: 500;
  text-align: center;
  white-space: nowrap;
  cursor: pointer;
}

.plans-viewers-button:nth-child(2){
  border-left: 1px solid #20269D;
  border-right: 1px solid #20269D;
  flex-grow: 1;
}
.plans-viewers-button.__active{
  background: #20269D;
  color: #fff;
  cursor: default;
}
.apartment-info-section_plan-img{
  margin-top: 5px;
}
.main_picture{
  max-height: 590px;
}
.winView{
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  margin: auto;
  z-index: 0;
  pointer-events: none;
}
.winView__item{
  font-size: 12px;
}
.winView__item.--compas{
  margin-top: auto;
  width: 100px;
  height: 100px;
  background: #fff;
  border-radius: 24px;
}
.winView__item.--compas img{
  width: 100%;
  object-fit: contain;
  object-position: center;
  max-width: none;
}
.winView__item__arrow svg{
  width: 20px;
  height: 10px;
}

.winView__item.--top{
  top: 0;
  left: 31%;
  margin: auto;
  width: fit-content;
}
.winView__item.--top svg{transform: rotate(-90deg)}
.winView__item.--right{
  top: 0;
  right: 0;
  bottom: 0;
  margin: auto;
}
.winView__item.--left{
  top: 0;
  right: 100%;
  bottom: 0;
  margin: auto;
}
.winView__item.--left .winView__item__text{
  transform: rotate(-90deg);
  white-space: nowrap;
  transform-origin: 54% -52%;
}
.winView__item.--left .winView__item__arrow{
  display: none;
}
.winView__item.--bottom{
  right: 0;
  left: 0;
  top: calc(100% - 30px);
  margin: auto;
}
.winView__item.--bottom svg{transform: rotate(90deg)}
.winView__item.--plan{
  right: -40px;
  bottom: 0;
  padding: 13% 13%;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
}
.winView__item.--plan img{
  width: 100%;
  max-height: none;
}
.winView_counrtyard{
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  right: 0;
  pointer-events: none;
  font-size: 15px;
}
.winView_counrtyard >*{
  position: absolute;
}
.repair-swiper-navigation{
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
  height: 30px;
  margin-right: 20px;
  position: absolute;
  right: 0;
  z-index: 11;
  top: 100%;
}
.repair-swiper-navigation__buttons{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.repair-swiper-button{
  width: 40px;
  height: 40px;
  position: relative;
  border: 1px solid #cccc;
  cursor: pointer;
}
.repair-swiper-button:hover{
  background: #ccc;
}
.repair-swiper-button::after {
  display: inline-block;
  position: absolute;
  width: 14px;
  height: 11px;
  background-repeat: no-repeat;
  background-image: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTUiIGhlaWdodD0iOSIgdmlld0JveD0iMCAwIDE1IDkiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjxwYXRoIGQ9Ik0wLjQxODk0NSAwLjU4NjkxNEw3LjM5Mjg4IDcuNDEzMjJMMTQuNTgwOSAwLjU4NjkxNCIgc3Ryb2tlPSJibGFjayIvPgo8L3N2Zz4K);
  background-size: contain;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  margin: auto;
  content: '';
}
.repair-swiper-button.repair-swiper-button-prev{
  border-bottom-left-radius: 5px;
  border-top-left-radius: 5px;
}
.repair-swiper-button.repair-swiper-button-next{
  border-bottom-right-radius: 5px;
  border-top-right-radius: 5px;
}
.repair-swiper-button.repair-swiper-button-prev::after{transform: rotate(90deg)}
.repair-swiper-button.repair-swiper-button-next::after{transform: rotate(-90deg)}

.flex-title{
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.repair_label{
  color: #004A9A;
  border: 1px solid #004A9A;
  border-radius: 10px;
  display: inline-block;
  padding: 2px 10px;
  font-size: 14px;
  font-weight: 600;
}
.photos_description{
  margin-bottom: 2rem;
}
.photos_description p{
  margin: 8px 0;
  font-size: 16px;
}
.only-print{display: none;}
.house-title{
  text-transform: uppercase;
  margin-bottom: 20px;
}

/* ========== АДАПТИВ ДЛЯ ПЛАНШЕТОВ (до 1024px) ========== */
@media (max-width: 1024px){
  .apartment_detail .is_reserved{
    position: static;
    margin-bottom: 20px;
  }
  .apartment-info-img img.zoom-img{
    max-width: 100%;
  }
}

/* ========== АДАПТИВ ДЛЯ ПЛАНШЕТОВ (до 990px) ========== */
@media (max-width: 990px){
  .apartment_main{
    display: block;
  }
  .detail-tabs-container{
	  flex-direction: column-reverse;
  }
  .apartment_main__half.--viewer, .apartment_main__half.--params{
    width: 100%;
    margin-bottom: 5px;
  }
  .dtc-Item{
    border-radius: 8px;
  }
  .winView__item.--compas {
    width: 75px;
    height: 75px;
    border-radius: 8px;
  }
  .detail-tabs-menu{
    width: 100%;
    border-radius: 8px;
    overflow-x: auto;
    justify-content: flex-start;
  }
  .apartment_main__half.--params{
    padding-left: 10px;
  }
  .price-block {
	  flex-direction: row;
  }
}

/* ========== МОБИЛЬНАЯ АДАПТАЦИЯ (до 768px) ========== */
@media (max-width: 768px) {
  /* Шапка и заголовок */
  .apartment_main__Header {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .apartment_main__Header h1 {
    font-size: 24px !important;
    margin-bottom: 0px !important;
  }
  
  /* Табы */
  .tabs-arrows {
    display: none;
  }
  
  .tab-button {
    padding: 10px 20px;
    font-size: 14px;
    height: 40px;
  }
  
  .detail-tabs-menu {
    height: 56px;
  }
  
  /* Контент табов */
  .detail-tabs-content {
    height: auto !important;
    min-height: auto;
  }
  
  .dtc-Item.__active {
    height: auto;
  }
  
  /* Планировка - уменьшаем пустое пространство */
  .tab-Center__Slider {
    padding: 0 !important;
  }
  
  .tab-Center__Slider img {
    width: 100%;
    height: auto;
    max-height: 280px !important;
    object-fit: contain;
  }
  
  /* Компас */
  .winView__item.--compas {
    display: none;
  }
  
  
  /* Параметры квартиры */
  .flatParams {
    margin-bottom: 20px;
  }
  
  .flatParams__Row {
    font-size: 14px !important;
    padding: 8px 0 !important;
  }
  
  /* Цена */
  .price-block {
    margin-top: 0px;
    padding-top: 5px;
  }
  
  .price-block__value {
    font-size: 24px !important;
  }
  
  .price-block__per-meter {
    font-size: 14px !important;
  }
  
  /* Плашки */
  .info-plates-wrapper {
    flex-direction: column;
    gap: 10px;
  }
  
  .info-plate--left,
  .info-plates-right .info-plate, 
  .info-plates-right,
  .info-plates-wrapper:not(:has(.info-plates-right)) .info-plate {
    width: 100%;
    flex: 1;
  }
  
  .info-plates-wrapper:not(:has(.info-plates-right)) .info-plate--left {
    width: 100%;
    flex: 1;
  }
  
  .info-plate {
    padding: 15px !important;
  }
  
  .info-plate__text {
    font-size: 12px !important;
  }
  
  /* Контролы и кнопки */
  .apartment_main__Controls {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
  }
  
  .apartment_main__Controls .green-btn,
  .apartment_main__Controls .arrow-link {
    height: 44px;
    font-size: 14px;
  }
  
  .print-button {
    height: 44px;
    font-size: 14px;
    padding: 0 15px;
  }
  
  .wRound {
    width: 44px;
    height: 44px;
  }
}

/* ========== МАЛЕНЬКИЕ ТЕЛЕФОНЫ (до 480px) ========== */
@media (max-width: 480px) {
  .apartment_main__Header h1 {
    font-size: 20px !important;
  }
  
  /* Ещё уменьшаем планировку */
  .tab-Center__Slider img {
    max-height: 200px !important;
  }
  
  
  /* Параметры */
  .flatParams__Row {
    font-size: 12px !important;
    padding: 6px 0 !important;
  }
  
  /* Цена */
  .price-block__value {
    font-size: 20px !important;
  }
  
  .price-block__per-meter {
    font-size: 12px !important;
  }
  
  /* Кнопки */
  .apartment_main__Controls .green-btn,
  .apartment_main__Controls .arrow-link,
  .print-button {
    height: 40px;
    font-size: 12px;
  }
  
  .wRound {
    width: 40px;
    height: 40px;
  }
}

/* ========== САМЫЕ МАЛЕНЬКИЕ ТЕЛЕФОНЫ (до 420px) ========== */
@media (max-width: 420px){
  .dtm-Button{
    width: 33%;
    flex-shrink: 0;
  }
  .apartment_main__Controls .arrow-link{
    height: 30px;
    margin-bottom: 20px;
  }
  .apartment_main__Header h1{
    font-size: 18px !important;
  }
  
  /* Максимальное сжатие планировки */
  .tab-Center__Slider img {
    max-height: 170px !important;
  }
  
  .flatParams__Row {
    font-size: 11px !important;
    padding: 5px 0 !important;
  }
  
  .info-plate {
    padding: 10px !important;
  }
  
  .info-plate__text {
    font-size: 11px !important;
  }
}