body {
    width: 100%;
    padding: 0;
    margin: 0;
}

.property-header-container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding: 24px 16px;
    border-bottom: 1px solid rgba(81, 81, 81, 0.8);
    background: #050505;
}

.property-header-container i {
    width: 22px;
    height: 22px;
    cursor: pointer;
}

.header-buttons-container {
    display: flex;
    flex-direction: row;
    gap: 12px;
}

.header-buttons-container i {
    cursor: pointer;
}

.property-detail-container {
    position: relative;
    overflow: hidden;
    width: 100%;
    margin-top: 16px;
}

.slider-wrapper {
    display: flex;
    gap: 2.5vw; /* отступ между слайдами — увеличь/уменьши по вкусу */
    transition: transform 0.4s cubic-bezier(.4,0,.2,1);
    will-change: transform;
}

.property-image-block {
    position: relative;
    overflow: hidden;              /* ограничивает выход изображений */
    width: 100%;
    max-width: 100vw;              /* не шире экрана */
}

.slide {
    flex: 0 0 90%; /* ширина каждого слайда — можно изменить на 75%, 80% и т.д. */
    position: relative;
    overflow: hidden;
    border-radius: 1.5rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.25);
    transition: transform 0.3s ease;
}

.slide img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    border-radius: inherit;
}


.property-images-count {
    padding: 5px 6px 4px 6px;
    background-color: #17223A;
    opacity: 80%;
    border-radius: 1000px;
}

.property-image-additional-block {
    width: 100%;
    position: absolute;
    display: flex;
    justify-content: space-between;
    bottom: 10px;
    box-sizing: border-box;
    padding: 10px;
    border-radius: 8px;
    color: #fff;
    z-index: 10;
}

.property-type-block {
    background-color: var(--primary-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px 6px 4px 6px;
    border-radius: 1000px;
}

.property-type {
    font-family: 'Gilroy';
    font-weight: 600;
    font-size: 9px;
    line-height: 1.1;
}

.property-images-count {
    font-family: 'Gilroy';
    font-weight: 600;
    font-size: 9px;
    line-height: 1;
}

.property-id-block {
    font-family: 'Gilroy';
    font-weight: 500;
    font-size: 10px;
    line-height: 1;
    color: var(--primary-color);
    opacity: 40%;
    padding: 0 22px;
}

.property-title-block {
    display: flex;
    margin: 0 22px;
    margin-top: 10px;
    justify-content: space-between;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(81, 81, 81, 0.8);
}

.property-left-title-block {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
}

.property-location {
    font-family: 'Gilroy';
    font-weight: 600;
    font-size: 18px;
    line-height: 1;
    color: var(--primary-color);
}

.property-link {
    font-family: 'Gilroy';
    font-weight: 500;
    font-size: 12px;
    line-height: 1;
    color: #2563EB;
    text-decoration: none;
}

.property-right-title-block i {
    width: 20px;
    height: 20px;
}

.property-description-block {
    margin: 0 22px;
    margin-top: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(81, 81, 81, 0.8);
}

.property-parameters-block {
    margin: 0 22px;
    margin-top: 12px;
    padding-bottom: 12px;
}

.property-description-title {
    font-family: 'Gilroy';
    font-weight: 600;
    font-size: 18px;
    line-height: 1;
    color: var(--primary-color);
}

.property-description-block p {
    font-family: 'Gilroy';
    font-weight: 500;
    font-size: 12px;
    line-height: 1;
    color: var(--primary-color);
}

.full-text-button-container {
    display: flex;
    cursor: pointer;
    align-items: center;
}

.text-button-container {
    display: flex;
}

.toggle-full-text-button {
    background-color: transparent;
    border: none;
    color: #2563EB;
    cursor: pointer;
    padding-left: 0;
    font-family: 'Gilroy';
    font-weight: 500;
    font-size: 12px;
}

.full-text-button-container i {
    background-color: #2563EB;
    width: 14px;
    height: 14px;
}

.parameters-container {
    display: grid;
    margin-top: 16px;
    grid-template-columns: repeat(3, 1fr); /* 3 колонки одинаковой ширины */
    grid-template-rows: repeat(3, auto);   /* 3 строки, высота по содержимому */
    gap: 10px; /* расстояние между элементами */
}

.icon-heart-filled {
    background-color: red;
}

.parameter-item {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: #1A1A1A;
    border-radius: 8px;
    padding: 12px;
}

.parameter-title {
    font-family: 'Gilroy';
    font-weight: 400;
    font-size: 9px;
    line-height: -10px;
    margin-top: 0;
    color: var(--primary-color);
    opacity: 60%;
}

.parameter-info-container {
    display: flex;
    gap: 6px;
}

.parameter-info-container i {
    width: 14px;
    height: 14px;
}

.parameter-value {
    font-family: 'Gilroy';
    font-weight: 600;
    font-size: 13px;
    line-height: 1;
    color: var(--primary-color);
}

.property-footer-block {
    flex-direction: column;
    bottom: 0;
    width: 100%;
    box-sizing: border-box;
    padding: 16px 16px 26px 16px;
    border-top: 1px solid rgba(81, 81, 81, 0.8);
    border-radius: 0px;
}

.property-button-request {
    padding: 14px 36px;
    background-color: #2563EB;
    font-family: 'Gilroy';
    font-weight: 600;
    font-size: 14px;
    color: var(--primary-color);
    text-align: center;
    border-radius: 8px;
    cursor: pointer;
}

.property-button-call {
    padding: 14px 36px;
    background-color: #0BC142;
    font-family: 'Gilroy';
    font-weight: 600;
    font-size: 14px;
    color: var(--primary-color);
    text-align: center;
    margin-top: 10px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    cursor: pointer;
}

.property-button-call i {
    width: 14px;
    height: 14px;
    margin-bottom: 2px;
}


.info-form-content {
    position: fixed;
    bottom: 0;
    display: flex;
    width: 100%;
    flex-direction: column;
    background-color: #1A1A1A;
    border: 1px solid #3B3B3B;
    border-radius: 24px 24px 0px 0px;
    box-sizing: border-box;
    padding: 24px 24px 40px 24px;
}

.info-form-overlay {
    position: fixed;
    display: none;
    top: 0;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    z-index: 11;
}

.info-form-overlay.active {
    display: flex;
}

.info-title-container {
    display: flex;
    justify-content: space-between;
    align-items: top;
}

.info-title-container i {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.info-form-undertitle {
    font-family: 'Gilroy';
    font-weight: 500;
    font-size: 8px;
    line-height: 1;
    color: var(--primary-color);
    opacity: 50%;
    padding-top: 4px;
}


.info-form-title {
    font-family: 'Gilroy';
    font-weight: 500;
    font-size: 18px;
    line-height: 1;
    color: var(--primary-color);
}

.info-form-properties {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-top: 16px;
    padding-bottom: 24px;
}

.info-form-properties input {
    border-radius: 8px;
    padding: 12px 14px;
    background-color: #1A1A1A;
    border: 1px solid rgba(81, 81, 81, 0.8);
    font-family: 'Gilroy';
    font-weight: 400;
    font-size: 14px;
    line-height: 1.2;
    color: var(--primary-color);
}

.info-form-button {
    background: #2563EB;
    border-radius: 8px;
    border: none;
    padding: 14px 36px;
    color: var(--primary-color);
    cursor: pointer;
    font-family: 'Gilroy';
    font-weight: 600;
    font-size: 14px;
    line-height: 1;
}

.info-img-container {
    overflow: hidden;
    position: relative;
}

.info-img-container::after {
    position: absolute;
    content: '';
    inset: 0;
    box-shadow: 
        inset -40px 0 45px 40px #1A1A1A,  /* слева */
        inset 40px 0 45px 40px #1A1A1A,   /* справа */
        inset 0 -20px 45px 20px #1A1A1A,  /* снизу */
        inset 0 20px 45px 20px #1A1A1A;   /* сверху */
    pointer-events: none;
}

.info-images-row {
    display: flex;
    gap: 2px;
    margin: 5px 0;
}

.info-img-container img {
    width: 100%;
    height: 64px;
    object-fit: cover;
    transform: matrix(1, 0, -0.29, 0.96, 0, 0);
}

.form-successfull-container {
    position: fixed;
    display: none;
    bottom: 0;
    box-sizing: border-box;
    width: 100%;
    background: #1A1A1A;
    border: 1px solid #3B3B3B;
    border-radius: 24px 24px 0px 0px;
    padding: 24px 24px 40px 24px;
}

.form-successfull-container.active {
    display: flex;
}

.text-success-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.text-success {
    font-family: 'Gilroy';
    font-weight: 600;
    font-size: 22px;
    line-height: 1;
    color: var(--primary-color);
    text-align: center;
}

.subtext-success {
    font-family: 'Gilroy';
    font-weight: 500;
    font-size: 14px;
    line-height: 1;
    color: var(--primary-color);
    opacity: 50%;
    text-align: center;
}

.emoji-success {
    font-size: 24px;
}

.link-copied-overlay, .number-copied-overlay {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    display: none;
    justify-content: center;
    box-sizing: border-box;
    z-index: 999;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
}

.link-copied-overlay.active, .number-copied-overlay.active {
    display: flex;
}

.link-copied-container, .number-copied-container {
    display: flex;
    align-items: center;
    height: 2%;
    background-color: #1A1A1A;
    border: 1px solid #3B3B3B;
    font-family: 'Gilroy';
    font-weight: 500;
    color: var(--primary-color);
    padding: 12px 16px;
    border-radius: 12px;
    margin: 22px auto;
    transition: all 0.3s ease;
}




.image-fullscreen-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.9);
  z-index: 9999;
  justify-content: center;
  align-items: center;
}
.image-fullscreen-overlay.active {
  display: flex;
}
.image-fullscreen-overlay .fullscreen-img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.6);
}
.image-fullscreen-overlay .close-fullscreen {
  position: absolute;
  top: 20px;
  right: 28px;
  font-size: 36px;
  color: #fff;
  cursor: pointer;
  user-select: none;
}


