.apartment-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.pantries-card, .apartments-card {
    position: relative;
}

.line-through {
    text-decoration: line-through;
}

.pantries-card__item.pantries-card__item--price {
    margin-left: 20px;
}

.apartments-card {
    padding: 16px;
    border: 1px solid #d9e8ed;
    border-radius: 8px;
    background: #ffffff;
    -webkit-transition: -webkit-box-shadow 0.2s ease-in-out;
    transition: -webkit-box-shadow 0.2s ease-in-out;
    transition: box-shadow 0.2s ease-in-out;
    transition: box-shadow 0.2s ease-in-out, -webkit-box-shadow 0.2s ease-in-out;
    position: relative;
}
.apartments-card:hover {
    -webkit-box-shadow: 0px 2px 24px rgba(104, 126, 134, 0.2);
    box-shadow: 0px 2px 24px rgba(104, 126, 134, 0.2);
}
.apartments-card:hover .apartments-card__img-icon {
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    opacity: 1;
}
.apartments-card > a {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
}
.apartments-card__title {
    color: #111111;
}
@media (min-width: 0) {
    .apartments-card__title {
        font-size: 14px;
        letter-spacing: 0em;
        line-height: 20px;
    }
}
@media (min-width: 720px) {
    .apartments-card__title {
        font-size: 14px;
        letter-spacing: 0em;
        line-height: 20px;
    }
}
@media (min-width: 1024px) {
    .apartments-card__title {
        font-size: 14px;
        letter-spacing: 0em;
        line-height: 20px;
    }
}
@media (min-width: 1366px) {
    .apartments-card__title {
        font-size: 16px;
        letter-spacing: 0em;
        line-height: 22px;
    }
}
.apartments-card__title + * {
    margin-top: 4px;
}
.apartments-card__subtitle {
    color: #51646a;
}
 
@media (min-width: 0) {
    .apartments-card__subtitle {
        font-size: 12px;
        letter-spacing: 0em;
        line-height: 16px;
    }
}
@media (min-width: 720px) {
    .apartments-card__subtitle {
        font-size: 12px;
        letter-spacing: 0em;
        line-height: 16px;
    }
}
@media (min-width: 1024px) {
    .apartments-card__subtitle {
        font-size: 12px;
        letter-spacing: 0em;
        line-height: 16px;
    }
}
@media (min-width: 1366px) {
    .apartments-card__subtitle {
        font-size: 12px;
        letter-spacing: 0em;
        line-height: 16px;
    }
}
 
.apartments-card__tags {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    gap: 4px;
    position: absolute;
    left: 16px;
    top: 66px;
}
.apartments-card__tags span {
    padding: 5px 16px;
    background: #fceaed;
    color: #e62c4e;
    border-radius: 13px;
}
@media (min-width: 0) {
    .apartments-card__tags span {
        font-size: 12px;
        letter-spacing: 0em;
        line-height: 16px;
    }
}
@media (min-width: 720px) {
    .apartments-card__tags span {
        font-size: 12px;
        letter-spacing: 0em;
        line-height: 16px;
    }
}
@media (min-width: 1024px) {
    .apartments-card__tags span {
        font-size: 12px;
        letter-spacing: 0em;
        line-height: 16px;
    }
}
@media (min-width: 1366px) {
    .apartments-card__tags span {
        font-size: 12px;
        letter-spacing: 0em;
        line-height: 16px;
    }
}
.apartments-card__img {
    width: 100%;
    height: 258px;
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}
.apartments-card__img img {
    max-width: 100%;
    max-height: 100%;
    -o-object-fit: contain;
    object-fit: contain;
}
@media (max-width: 719px) {
    .apartments-card__img {
        width: 100%;
    }
}
.apartments-card__img-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -45%);
    transform: translate(-50%, -45%);
    opacity: 0;
    -webkit-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
    width: 48px;
    height: 48px;
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    background-image: url("data:image/svg+xml,%3Csvg width='48' height='48' viewBox='0 0 48 48' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='24' cy='24' r='24' fill='%230D79A1'/%3E%3Cpath d='M23.25 23.2501V18.7501H24.75V23.2501H29.25V24.7501H24.75V29.2501H23.25V24.7501H18.75V23.2501H23.25Z' fill='white'/%3E%3C/svg%3E%0A");
}
.apartments-card__desc {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}
.apartments-card__desc-item {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
}
.apartments-card__desc-item + .apartments-card__desc-item {
    margin-left: 24px;
}
@media (max-width: 1365px) {
    .apartments-card__desc-item + .apartments-card__desc-item {
        margin-left: 16px;
    }
}
@media (min-width: 0) {
    .apartments-card__desc-item span {
        font-size: 12px;
        letter-spacing: 0em;
        line-height: 16px;
        color: #111111;
    }
}
@media (min-width: 720px) {
    .apartments-card__desc-item span {
        font-size: 12px;
        letter-spacing: 0em;
        line-height: 16px;
    }
}
@media (min-width: 1024px) {
    .apartments-card__desc-item span {
        font-size: 12px;
        letter-spacing: 0em;
        line-height: 16px;
    }
}
@media (min-width: 1366px) {
    .apartments-card__desc-item span {
        font-size: 12px;
        letter-spacing: 0em;
        line-height: 16px;
    }
}
.apartments-card__desc-item span:first-child {
    color: #51646a;
}
.apartments-card__desc-item span:first-child + * {
    margin-top: 6px;
}
.apartments-card__desc-item span:last-child.red {
    color: #e62c4e;
}
.apartments-card__footer {
    padding:16px;
 
    border-top: 0px solid #d9e8ed;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}
@media (min-width: 0) {
    .apartments-card__price {
        font-size: 18px;
        letter-spacing: 0em;
        line-height: 26px;
        color: #111111;
    }
}
@media (min-width: 720px) {
    .apartments-card__price {
        font-size: 18px;
        letter-spacing: 0em;
        line-height: 26px;
    }
}
@media (min-width: 1024px) {
    .apartments-card__price {
        font-size: 20px;
        letter-spacing: 0em;
        line-height: 30px;
    }
}
@media (min-width: 1366px) {
    .apartments-card__price {
        font-size: 20px;
        letter-spacing: 0em;
        line-height: 30px;
    }
}
.apartments-card__price-old {
    color: #51646a;
    text-decoration: line-through;
    white-space: nowrap;
}
@media (min-width: 0) {
    .apartments-card__price-old {
        font-size: 14px;
        letter-spacing: 0em;
        line-height: 20px;
    }
}
@media (min-width: 720px) {
    .apartments-card__price-old {
        font-size: 14px;
        letter-spacing: 0em;
        line-height: 20px;
    }
}
@media (min-width: 1024px) {
    .apartments-card__price-old {
        font-size: 14px;
        letter-spacing: 0em;
        line-height: 20px;
    }
}
@media (min-width: 1366px) {
    .apartments-card__price-old {
        font-size: 16px;
        letter-spacing: 0em;
        line-height: 22px;
    }
}

/* 3д кнопки*/
.apartments .apartments-card{
 position: relative;
}

.apartments-card-link{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    opacity: 0;
}

 .vrtour{
   display: block!important;
   position: absolute!important;
   top:5px!important;
   right:5px!important;
   left: unset !important;
   background-color: #00CBFF!important;
   width:60px!important;
   height: 40px!important;
   color: #ffffff!important;
   opacity: 1!important;
   z-index:11!important;
   text-align: center;
   opacity: 1;
   line-height: 2em;
}


/* Стили для модального окна */
.modal {
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
}

.modal-content img {
    width: 100%;
    height: auto;
    max-height: 80vh;
    object-fit: contain;
}

.modalimg-close {
    position: absolute;
    top: -40px;
    right: 0;
    color: white;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
    z-index: 1001;
}

.modalimg-close:hover {
    color: #00CBFF;
}
/*  ссылки поверх изображения*/
.apartments-card__img {
    position: relative;
    z-index: 100;
}

.apartments-card-link {
    z-index: 200; 
}

.apartments-card__img-icon {
    z-index: 300; 
    pointer-events: auto;
}

/* 1-11-2025*/
/* Добавьте эти стили в style.css главной страницы */

.apartment-list{
   font-size: 16px; 
}

.apartments-card {
  width:334px;
    padding: 16px 0px;
    border: 1px solid #d9e8ed;
    border-radius: 8px;
    background: #ffffff;
    -webkit-transition: -webkit-box-shadow 0.2s ease-in-out;
    transition: -webkit-box-shadow 0.2s ease-in-out;
    transition: box-shadow 0.2s ease-in-out;
    transition: box-shadow 0.2s ease-in-out, -webkit-box-shadow 0.2s ease-in-out;
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
       justify-content: space-between;
}
.apartments-card:hover {
    -webkit-box-shadow: 0px 2px 24px rgba(104, 126, 134, 0.2);
    box-shadow: 0px 2px 24px rgba(104, 126, 134, 0.2);
}

.apartments-card__img{
    height:192px!important;
}

.apartments-card__title {
   padding: 1rem;
}

.apartments-card__subtitle {
    color: hsl(220 10% 50%);
    padding: 1rem;
}

.apartments-card__img {
    width: 100%;
    height: 258px;
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    background-color: #ffffff;
}

.apartments-card__img{
    border-top: 1px solid;
    border-bottom: 1px solid;
    border-color: #cccccc;
    overflow: hidden;
}

.apartments-card__img img {
    max-width: 100%;
    max-height: 100%;
    -o-object-fit: contain;
    object-fit: contain;
}

.apartments-card__desc {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding:1rem;
}

.apartments-card__desc_1{
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .75rem;
}
.apartments-card__desc_2{
    box-sizing: border-box;
    border-width: 0;
    border-style: solid;
    border-top-width: 1px;
    border-bottom-width: 1px;
    border-color:hsl(220 15% 90%);
    padding-top: 0.5rem;
    padding-bottom:0.5rem;
}
.apartments-card__desc-item2{
     display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap:1rem;
    color:hsl(220 10% 50%);
    font-size: .875rem;
    line-height: 1.25rem;
}

.item_text_1{
    color:hsl(220 10% 50%);
   font-size: 14px;
   line-height: 1rem;
   border-color:hsl(220 15% 90%);
}

.item_text_2{
    color:hsl(220 10% 50%);
    font-size: .875rem;
    line-height: 1.25rem;  
    border-color:hsl(220 15% 90%);
}

.item_text_3{
    font-weight: 700;
    font-size: 20px;
    line-height: 28px;
border-color:hsl(220 15% 90%);
color:#000000;
}

.item_text_4{
    font-size: .875rem;
    color:hsl(220 10% 50%);
   font-weight: 500;
 border-color:hsl(220 15% 90%);
}

.item_text_5{
    font-size: .875rem;
    color:hsl(188 85% 52%);
   font-weight: 600;
 border-color:hsl(220 15% 90%);
}

.item_text_6{
    font-weight: 700!important;
    font-size: 24px!important;
    line-height: 28px!important;
border-color:hsl(220 15% 90%)!important;
color:#000000!important;
}

 

.tabs {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      position: relative;
      padding:1rem;
      padding-top: 10px;
      padding-bottom: 10px;
      margin-bottom: 5px;
}

.tab {
        display: inline-block;
      padding: 6px 12px;
      border-radius: 4px;
      font-size: 0.6rem;
      color: hsl(188 85% 52%);
      background-color: hsl(188deg 85% 52% / 20%);
      cursor: pointer;
          transition-timing-function: cubic-bezier(.4, 0, .2, 1);
    transition-duration: .15s;
        border-radius: 9999px;
}

.tab:hover {
      background-color: hsl(188deg 85% 52% / 20%);
}

.tab.active {
      color:hsl(188 85% 52%);
      font-weight: 600;
      background-color:hsl(188deg 85% 52% / 10%);
}

.apartments-card__title_text{
    display: inline-block;
    color:hsl(188 85% 35%);
    font-weight: 600;
    font-size: 14px;
    line-height: 20px;
     background-color: hsl(188deg 85% 52% / 20%);
       padding: 6px 12px;
      border-radius: 4px;
        transition-timing-function: cubic-bezier(.4, 0, .2, 1);
    transition-duration: .15s;
        border-radius: 9999px;
}

.apartments-card__title_text:hover{
   background-color: hsl(188deg 85% 52% / 20%);
}

.apartment_link_b{
    display:flex;
  gap: 10px;
    position: relative;
    padding:5px 16px;
}

.detail-link{
    display:flex;
    justify-content: center;
    gap: 10px;
    position: relative;
    padding: 1rem;
    padding-top: 10px;
    padding-bottom: 10px;
    position:relative!important;
    margin:0px auto;
    padding:8px 16px;
align-items:center;
color:#ffffff;
background-color:rgba(29, 209, 237, 0.9);
background-image:linear-gradient(to right, rgba(29, 209, 237, 0.9), rgb(29, 209, 237));
border-bottom-color:rgb(226, 228, 233);
border-top-left-radius:10px;
border-top-right-radius:10px;
border-bottom-left-radius:10px;
border-bottom-right-radius:10px;
border-bottom-style:solid;
top:unset!important;
left:unset!important;
height:unset!important;
width:100%!important;
}

 
.apartments-card__img img {
    transition: transform 0.4s ease;
}

.apartments-card:hover .apartments-card__img img {
    transform: scale(1.05);
}

.apartments-card__price {
    display: flex;
    justify-content: space-between;
    align-items: flex-start!important; 
    width: 100%;
    flex-direction: column;
}

.apartments-card__price-old-2{
    color:hsl(220 10% 50%);
    font-size: 14px;
    line-height: 20px;
    min-height: 20px;
     text-decoration: line-through;
    
}

.tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    position: relative;
    padding: 1rem;
    padding-top: 2px;
    padding-bottom: 8px;
    margin-bottom: 0px;
    min-height:68px;
}

.tab{
  align-self: flex-start;  
}


.apartments-card__footer {
    border-top: 0px solid!important;
}

.apartments-card__desc-item {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex
;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    padding-bottom: 16px;
}

.apartments {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: space-between;
}

.section__header-title--svg {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f2f3f6;
    border-radius: 100%;
    transition: background-color 0.3s ease-in-out;
}

.section__header-title a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0 8px;
    color: var(--v-dark);
    text-align: center;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 22px;
    transition: color 0.3s ease-in-out;
}

.section__header-title a:hover 
 {
    background-color: #00CBFF;
}

.apartments-card__footer {
    padding: 0px 16px 0px 16px;
    /* border-top: 1px solid #d9e8ed; */
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}


.apartments-card__title {
    padding: 6px 16px 0px 16px;
}
 