.homes__inner,
.single-house__container{
    padding-inline: clamp(0.9375rem, -1.7007rem + 5.5034vw, 3.5rem);
}
/* ====== Gallery Popup ====== */
.gallery-popup {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    background: #1C1917;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.gallery-popup.is-open {
    opacity: 1;
    visibility: visible;
}

/* ====== Header ====== */
.gallery-popup__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
    flex-shrink: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.gallery-popup__label {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.5);
}

.gallery-popup__counter {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    user-select: none;
}

.gallery-popup__nav {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    cursor: pointer;
    transition: background 0.2s;
}

.gallery-popup__nav:hover {
    background: rgba(255, 255, 255, 0.15);
}

.gallery-popup__close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background: transparent;
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: color 0.2s, background 0.2s;
}

.gallery-popup__close:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
}

/* ====== Body (фото + стрелки) ====== */
.gallery-popup__body {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 0;
    padding: 16px;
}

.gallery-popup__main {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.gallery-popup__image-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    max-height: 100%;
    flex: 1;
    min-width: 0;
    min-height: 0;
    height: 100%;
}

.gallery-popup__image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 8px;
    transition: opacity 0.15s, transform 0.2s;
    user-select: none;
}

/* ====== Стрелки по бокам ====== */
.gallery-popup__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    cursor: pointer;
    transition: background 0.2s;
    backdrop-filter: blur(4px);
}

.gallery-popup__arrow:hover {
    background: rgba(255, 255, 255, 0.2);
}

.gallery-popup__arrow--prev {
    left: 8px;
}

.gallery-popup__arrow--next {
    right: 8px;
}

/* ====== Thumbnails ====== */
.gallery-popup__thumbs {
    display: flex;
    gap: 8px;
    justify-content: center;
    padding: 12px 20px 16px;
    overflow-x: auto;
    scrollbar-width: none;
    flex-shrink: 0;
    -webkit-overflow-scrolling: touch;
}

.gallery-popup__thumbs::-webkit-scrollbar {
    display: none;
}

.gallery-popup__thumb {
	flex-shrink: 0;
	width: 71px;
	height: 53px;
	border: 2px solid transparent;
	border-radius: 16px;
	overflow: hidden;
	cursor: pointer;
	padding: 0;
	background: none;
	opacity: 0.5;
	transition: opacity 0.2s, border-color 0.2s;
}

.gallery-popup__thumb:hover {
    opacity: 0.7;
}

.gallery-popup__thumb.is-active {
    opacity: 1;
    border-color: #fff;
    z-index: 1;
}

.gallery-popup__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ====== Мобильная адаптация ====== */
@media (max-width: 767px) {
    .gallery-popup__header {
        padding: 10px 12px;
    }

    .gallery-popup__body {
        padding: 8px;
    }

    .gallery-popup__arrow {
        width: 36px;
        height: 36px;
    }

    .gallery-popup__arrow--prev {
        left: 4px;
    }

    .gallery-popup__arrow--next {
        right: 4px;
    }

    .gallery-popup__thumb {
        width: 48px;
        height: 48px;
    }

    .gallery-popup__thumbs {
        padding: 8px 12px 12px;
        gap: 6px;
    }

     .gallery-popup__nav {
        display: none;
    }
}

 @media (min-width: 768px) {
    .gallery-popup__arrow {
        display: flex;
    }

    .gallery-popup__nav {
        display: flex;
    }
}
.page-numbers.current { 
    background: #1C1917;
    box-shadow: 0px 10px 15px -3px rgba(28, 25, 23, 0.2), 0px 4px 6px -4px rgba(28, 25, 23, 0.2);
    border-radius: 2.06422e+07px;
    color:#fff;
}
.page-numbers {
	box-sizing: border-box;
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: center;
	padding: 0px;
	width: 48px;
	height: 48px;
	background: #FFFFFF;
	border: 0.615187px solid #F5F5F4;
	border-radius: 2.06422e+07px; 
    font-weight: 700; 
    font-size: 14px; 
    line-height: 20px;
    letter-spacing: 0px;
    text-align: center;
    color:#79716B;
    cursor: pointer;
}
.page-numbers.prev svg {
	transform: scaleX(-1);
	transform-origin: center;
}
.page-numbers:hover{
    

border: 0.615187px solid #E7E5E4; 

} 
  .view-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 20px;
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: #78716c;
    border-radius: 46px;
    position: relative;
    z-index: 1;
    transition: color 0.3s ease;
    white-space: nowrap;
  }
  
  .view-btn svg path {
    transition: stroke 0.3s ease;
  }
   
  .view-btn.is-active {
    color: #1c1917;
  }
  
  .view-btn.is-active svg path {
    stroke: #1c1917;
  }
   
  .view-btn:not(.is-active) svg path {
    stroke: #78716c;
  }
  
  .view-btn:not(.is-active):hover {
    color: #57534e;
  }
  .homes__loader {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
    grid-column: 1 / -1;
}

.homes__spinner {
    width: 48px;
    height: 48px;
}
/* ====== Filters container ====== */
.homes__filters {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    max-width: 100%; 
}

/* ====== Chips — horizontal scroll on mobile ====== */
.homes__chips {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    flex: 1;                        
    min-width: 0;                    
    max-width: 100%; 
    mask-image: linear-gradient(    
        to right,
        black calc(100% - 32px),
        transparent 100%
    );
    -webkit-mask-image: linear-gradient(
        to right,
        black calc(100% - 32px),
        transparent 100%
    );
}

.homes__chips::-webkit-scrollbar {
    display: none;
}

  
 
/* ====== Mobile: view button text hidden ====== */
@media (max-width: 480px) {
    .view-btn span,
    .view-btn {
        font-size: 0;              
    }
    .view-btn{
        width: 36px;
        height: 36px;
    }
    .view-btn svg {
        width: 20px;
        height: 20px;
    }

    .view-btn {
        padding: 8px;
        font-size: 0;
    }
}

/* ====== Desktop: no scroll ====== */
@media (min-width: 768px) {
    .homes__chips {
        overflow-x: visible;
        flex-wrap: wrap;
        mask-image: none;
        -webkit-mask-image: none;
    }
}
/* ====== Breadcrumbs ====== */
.breadcrumbs {
    padding:  0;
    font-size: 14px;
    color: #79716B;
}

.breadcrumbs a {
    color: #79716B;
    text-decoration: none;
}

.breadcrumbs a:hover {
    color: #1C1917;
}

.breadcrumbs__sep {
    margin: 0 6px;
    color: #79716B;
}

.breadcrumbs__current {
    color: #1C1917;
}

/* ====== Hero section ====== */
.house-hero {
    padding: 0px 0 28px;
}

.house-hero__title {
    font-size: 40px;
    font-family: 'Forum','Times New Roman', Times, serif;
    font-weight: 400;
    color: #2A2118;
    margin: 32px 0 16px;
    line-height: 1.2;
}

.house-hero__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.house-hero__meta-item {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 14px;
	color: #2A2118;
	background:#f4efe6;
	border-radius: 100px;
	padding: 4px 12px;
	line-height: 24px;
}
.room-popup__meta-item {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 14px;
	color: #2A2118;
	background: #f4efe6;
	border-radius: 100px;
	padding: 4px 12px;
	line-height: 24px;
}
/* ====== Gallery ====== */
.house-gallery {
    padding-bottom: 60px;
}

.house-gallery__grid {
    display: grid;
    gap: 16px;
    border-radius: 32px;
    overflow: hidden;
    max-height: 500px;
}

.house-gallery__grid--1 {
    grid-template-columns: 1fr;
}

.house-gallery__grid--2 {
    grid-template-columns: 1fr 1fr;
}
.house-gallery__grid--3 {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
}
.house-gallery__grid--3 .house-gallery__item--1 {
    grid-row: 1 / 3;
}
.house-gallery__grid--4 {
    grid-template-columns: repeat(4,1fr);
  grid-template-rows: 1fr;
}

.house-gallery__grid--4 .house-gallery__item--1 {
    
}
.house-gallery__grid--5 {
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-template-rows: 1fr 1fr;
}

.house-gallery__grid--5 .house-gallery__item--1 {
    grid-column: 1 / 3;
    grid-row: 1 / 3;
}

.house-gallery__grid--5 .house-gallery__item--2 {
    grid-column: 3 / 4;
    grid-row: 1 / 2;
}
.house-gallery__grid--5 .house-gallery__item--3 {
    grid-column: 4 / 5;
    grid-row: 1 / 2;
}

.house-gallery__grid--5 .house-gallery__item--4 {
    grid-column: 3 / 4;
    grid-row: 2 / 3;
}

.house-gallery__grid--5 .house-gallery__item--5 {
    grid-column: 4 / 5;
    grid-row: 2 / 3;
}


.house-gallery__item {
    position: relative;
    display: block;
    overflow: hidden; 
    border: none;
    padding: 0;
    cursor: pointer;
    width: 100%;
    height: 100%;
}

 

.house-gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s;
}
.house-gallery__item:hover img {
    transform: scale(1.03);
}
 

.house-gallery__more {
    position: absolute;
    bottom: 12px;
    right: 12px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    color: #1C1917;
    pointer-events: auto;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* Mobile gallery — horizontal scroll */
@media (max-width: 767px) {
    .house-gallery {
        padding-bottom: 24px;
    }

    .house-gallery .container {
        padding: 0;
    }

    .house-gallery__grid {
        display: flex;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        border-radius: 0;
        gap: 0;
        max-height: none;
    }

    .house-gallery__grid::-webkit-scrollbar {
        display: none;
    }

    .house-gallery__item {
        flex-shrink: 0;
        width: 100%;
        aspect-ratio: 4 / 3;
        scroll-snap-align: start;
        height: auto;
    }

    /* ====== Dots индикатор ====== */
    .house-gallery__dots {
        display: flex;
        justify-content: center;
        gap: 6px;
        padding: 12px 0 0;
    }

    .house-gallery__dot {
        width: 6px;
        height: 6px;
        border-radius: 50%;
        background: #D6D3D1;
        border: none;
        padding: 0;
        cursor: pointer;
        transition: background 0.2s, transform 0.2s;
    }

    .house-gallery__dot.is-active {
        background: #1C1917;
        transform: scale(1.3);
    }
 
    .house-gallery__more {
        bottom: 16px;
        right: 16px;
    }
}

/* ====== Десктоп: скрыть dots ====== */
@media (min-width: 768px) {
    .house-gallery__dots {
        display: none;
    }
}


/* ====== Content + sidebar ====== */
.house-body {
    padding: 32px 0 64px;
}

.house-body__layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 40px;
    align-items: start;
}

.house-body__content {
    min-width: 0;
}

/* ====== Content sections ====== */
.house-section {
    padding: 50px 0;
    border-bottom: 1px solid #F5F5F4;
}

.house-section:first-child {
    padding-top: 0;
}

.house-section:last-child {
    border-bottom: none;
}

.house-section__title {
    font-family: 'Forum';
    font-size: 24px;
    font-weight: 400;
    color: #1C1917;
    margin: 0 0 16px;
    line-height: 32px;color: #1C1917;
}
.prose p{

    line-height: 1.7; 
    font-weight: 300;
    font-size: 18px;  
    color: #57534D;
}


.house-section__text { 
    line-height: 1.7; 
    font-weight: 300;
    font-size: 18px;  
    color: #57534D;
} 

/* Prose — styles for editor content */
.prose p {
    margin: 0 0 16px;
}

.prose p:last-child {
    margin-bottom: 0;
}

/* ====== Features ====== */
.house-features {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 16px;
}

.house-features__item {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 12px;
	color: #44403B;
	background: #f4efe6;
	border-radius: 9px;
	padding: 16px;
	flex-direction: column;
	align-items: center;
	text-align: center;
	line-height: 1.2;
}

.house-features__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    flex-shrink: 0;
    color: #78716C;
}
.house-features__icon svg{
    height: 100%;
    width: 100%;
}
/* ====== Rules ====== */
.house-rules__item {
    display: flex;
    gap: 16px;
    padding: 8px 0;
    font-size: 16px;
}

.house-rules__item:not(:last-child) { 
}

.house-rules__label {
	flex-shrink: 0;
	width: 80px;
	font-weight: 500;
	color: #1C1917;
}

.house-rules__value {
    color:#57534D;
}

/* ====== Booking card ====== */
.booking-card {
    position: sticky;
    top: 24px;
    border: 1px solid #E7E5E4;
    border-radius: 16px;
    padding: 24px;
    background: #fff;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

.booking-card__price {
    margin-bottom: 24px;
}

.booking-card__amount {
    font-size: 24px;
    font-weight: 700;
    color: #1C1917;
}

.booking-card__period {
    font-size: 14px;
    color: #A8A29E;
}

/* ====== Booking form ====== */
 /* ====== Booking Card ====== */
.booking-card {
    position: sticky;
    top: 24px;
    background: #fff;
    border: 1px solid #E7E5E4;
    border-radius: 16px;
    padding: 28px 24px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}
 
.booking-card__price {
    display: flex;
    align-items: baseline;
    gap:8px;
    margin-bottom: 24px;
}

.booking-card__price-label {
    font-size: 14px;
    color: #A8A29E;
}

.booking-card__price-amount { 
    color: #1C1917; 
    font-family: 'Forum';
    font-weight: 400; 
    font-size: 30px; 
    line-height: 36px;
    letter-spacing: 0px; 
}

.booking-card__price-period {
    font-size: 14px;
    color: #A8A29E;
}
 
.booking-card__dates {
    display: flex;
    border: 1px solid #D6D3D1;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 20px;
}

.booking-card__date-field {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 10px 14px;
    cursor: pointer;
    transition: background 0.15s;
}

.booking-card__date-field.is-active {
    background: #FAFAF9;
}

.booking-card__date-divider {
    width: 1px;
    background: #D6D3D1;
    flex-shrink: 0;
}

.booking-card__date-label {
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #A8A29E;
    margin-bottom: 4px;
    transition: color 0.15s;
}

.booking-card__date-field.is-active .booking-card__date-label {
    color: #A6A09B;
}

.booking-card__date-value {
    font-size: 14px;
    color: #78716C;
    user-select: none;
}

.booking-card__date-value.has-value {
    color: #1C1917;
    font-weight: 500;
}
.homes__filters{
    margin-top: 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 50px;
  }
  
  .homes__chips{
    display: flex; 
    gap:8px; 
  }
  
  .chip{
    appearance: none;
    border: 1px solid #D6D3D1;
    background: #fff;
    color: #79716B;
    padding: 12px 26px;
    border-radius: 100px; 
    line-height: 1;
    cursor: pointer;
     font-weight: 500; 
    font-size: 16px; 
    line-height: 24px;
    letter-spacing: -0.31px;
    text-align: center;
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
    flex-wrap: nowrap;
  }
  
  .chip.is-active{
    background: #1C1917;
    color: #fff;
    border-color: #1C1917;
  } .homes__grid{
    margin-top: 22px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(1.5rem, 0.1383rem + 2.1277vw, 2rem);
  }
  


  /* ══════════════════════════════════════
   Guests trigger
   ══════════════════════════════════════ */
.booking__field--guests {
    position: relative;
}

.booking__guests-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    width: 100%;
    background: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
    font: inherit;
    color: #2b2b2b;
    font-size: 16px;
    line-height: 1.2;
    text-align: left;
}

.booking__guests-trigger .booking__chev {
    color: #b7b7b7;
    font-size: 14px;
    transition: transform 0.2s;
}

.booking__field--guests.is-open .booking__chev {
    transform: rotate(180deg);
}

/* ══════════════════════════════════════
   Popup
   ══════════════════════════════════════ */
.guests-popup {
    display: none;
    position: absolute;
    top: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    width: 340px;
    background: #fff;
    border: 1px solid #E7E5E4;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    padding: 24px;
    box-sizing: border-box;
}

.booking__field--guests.is-open .guests-popup {
    display: block;
    animation: guestsPopupIn 0.2s ease;
}

@keyframes guestsPopupIn {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

/* ══════════════════════════════════════
   Header
   ══════════════════════════════════════ */
.guests-popup__header {
    margin-bottom: 20px;
}

.guests-popup__title {
    font-size: 18px;
    font-weight: 700;
    color: #1C1917;
}

/* ══════════════════════════════════════
   Room block
   ══════════════════════════════════════ */
.guests-popup__rooms {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.guests-room {
    padding-bottom: 20px;
    border-bottom: 1px solid #F5F5F4;
}

.guests-room:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.guests-room__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.guests-room__label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #1C1917;
}

.guests-room__remove {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border: none;
    background: #F5F5F4;
    border-radius: 8px;
    cursor: pointer;
    color: #79716B;
    font-size: 16px;
    transition: all 0.15s;
}

.guests-room__remove:hover {
    background: #fee2e2;
    color: #dc2626;
}

.guests-room__remove--hidden {
    visibility: hidden;
    pointer-events: none;
}

/* ══════════════════════════════════════
   Counter rows
   ══════════════════════════════════════ */
.guests-room__counters {
    display: flex;
    gap: 24px;
}

.guests-counter {
    flex: 1;
}

.guests-counter__label {
    display: block;
    font-size: 12px;
    color: #79716B;
    margin-bottom: 8px;
}

.guests-counter__controls {
    display: flex;
    align-items: center;
    gap: 0;
    border: 1px solid #D6D3D1;
    border-radius: 10px;
    overflow: hidden;
    height: 40px;
}

.guests-counter__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 100%;
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 18px;
    color: #1C1917;
    transition: background 0.15s;
    user-select: none;
    flex-shrink: 0;
}

.guests-counter__btn:hover {
    background: #F5F5F4;
}

.guests-counter__btn:disabled {
    color: #D6D3D1;
    cursor: not-allowed;
}

.guests-counter__btn:disabled:hover {
    background: transparent;
}

.guests-counter__value {
    flex: 1;
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    color: #1C1917;
    min-width: 32px;
}

/* ══════════════════════════════════════
   Footer
   ══════════════════════════════════════ */
.guests-popup__footer {
    display: flex;
    gap: 10px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #F5F5F4;
}

.guests-popup__add {
    flex: 1;
    padding: 12px 16px;
    background: transparent;
    border: 1px solid #D6D3D1;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    color: #1C1917;
    cursor: pointer;
    transition: all 0.15s;
    white-space: nowrap;
}

.guests-popup__add:hover {
    border-color: #1C1917;
}

.guests-popup__done {
    flex: 1;
    padding: 12px 16px;
    background: #1C1917;
    border: none;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    cursor: pointer;
    transition: background 0.15s;
    white-space: nowrap;
}

.guests-popup__done:hover {
    background: #292524;
}

/* ══════════════════════════════════════
   Responsive
   ══════════════════════════════════════ */
@media (max-width: 820px) {
    .guests-popup {
        position: fixed;
        top: auto;
        bottom: 0;
        left: 0;
        right: 0;
        transform: none;
        width: 100%;
        border-radius: 20px 20px 0 0;
        max-height: 80vh;
        overflow-y: auto;
        padding: 24px 20px 32px;
    }

    .booking__field--guests.is-open .guests-popup {
        animation: guestsPopupSlideUp 0.25s ease;
    }

    @keyframes guestsPopupSlideUp {
        from {
            transform: translateY(100%);
        }
        to {
            transform: translateY(0);
        }
    }

    /* Overlay */
    .guests-popup-overlay {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.4);
        z-index: 99;
    }

    .booking__field--guests.is-open .guests-popup-overlay {
        display: block;
    }
}
@media (max-width: 768px) {
.house-body {
	padding: 22px 0 24px;
}
}





/* === Базовые настройки === */
.feat-icon {
    display: inline-block;
    overflow: visible; /* для безопасности при scale */
}

.feat-icon * {
    transform-box: fill-box;
    transform-origin: center;
}

/* Триггер — наведение на родителя (карточку или контейнер) */
.house-features__item,
.feat-icon-wrapper {
    cursor: default;
}

/* === 📶 WiFi: волны появляются по очереди === */
.feat-icon--wifi .wifi-wave,
.feat-icon--wifi .wifi-dot {
    opacity: 0;
    transform: scale(0.6);
    transform-origin: 10px 17px;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.house-features__item:hover .feat-icon--wifi .wifi-dot,
.feat-icon--wifi:hover .wifi-dot {
    opacity: 1;
    transform: scale(1);
    transition-delay: 0s;
}
.house-features__item:hover .feat-icon--wifi .wifi-wave--3,
.feat-icon--wifi:hover .wifi-wave--3 {
    opacity: 1;
    transform: scale(1);
    transition-delay: 0.1s;
}
.house-features__item:hover .feat-icon--wifi .wifi-wave--2,
.feat-icon--wifi:hover .wifi-wave--2 {
    opacity: 1;
    transform: scale(1);
    transition-delay: 0.2s;
}
.house-features__item:hover .feat-icon--wifi .wifi-wave--1,
.feat-icon--wifi:hover .wifi-wave--1 {
    opacity: 1;
    transform: scale(1);
    transition-delay: 0.3s;
}

/* По умолчанию (без hover) — wifi полностью видно */
.feat-icon--wifi:not(:hover) .wifi-wave,
.feat-icon--wifi:not(:hover) .wifi-dot {
    opacity: 1;
    transform: scale(1);
}

/* === 🔐 Сейф: крутится колёсико === */
.feat-icon--safe .safe-dial {
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    transform-origin: 10px 10px;
}
.house-features__item:hover .feat-icon--safe .safe-dial,
.feat-icon--safe:hover .safe-dial {
    transform: rotate(180deg);
}

/* === 🔥 Огонь: пульсирует пламя === */
@keyframes fireFlicker {
    0%, 100% { transform: scaleY(1) translateY(0); }
    50% { transform: scaleY(1.08) translateY(-0.5px); }
}

.feat-icon--fire .fire-inner {
    transform-origin: 10px 16.25px;
    transition: transform 0.3s ease;
}

.house-features__item:hover .feat-icon--fire .fire-outer,
.feat-icon--fire:hover .fire-outer {
    animation: fireFlicker 1s ease-in-out infinite;
    transform-origin: 10px 17.5px;
}
.house-features__item:hover .feat-icon--fire .fire-inner,
.feat-icon--fire:hover .fire-inner {
    animation: fireFlicker 0.6s ease-in-out infinite;
}



/* === ❄️ Холодильник: ручки сдвигаются === */
.feat-icon--refr .refr-handle {
    transition: transform 0.3s ease;
}
.house-features__item:hover .feat-icon--refr .refr-handle--top,
.feat-icon--refr:hover .refr-handle--top {
    transform: translateX(-1px);
}
.house-features__item:hover .feat-icon--refr .refr-handle--bot,
.feat-icon--refr:hover .refr-handle--bot {
    transform: translateX(1px);
}

/* === 🚿 Душ: капли льются вниз === */
@keyframes dropFall {
    0% { opacity: 0; transform: translateY(-3px); }
    20% { opacity: 1; }
    100% { opacity: 0; transform: translateY(3px); }
}

.feat-icon--shower .drop {
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.house-features__item:hover .feat-icon--shower .drop,
.feat-icon--shower:hover .drop {
    animation: dropFall 1.2s ease-in infinite;
}
.feat-icon--shower:hover .drop--1,
.house-features__item:hover .feat-icon--shower .drop--1 { animation-delay: 0s; }
.feat-icon--shower:hover .drop--2,
.house-features__item:hover .feat-icon--shower .drop--2 { animation-delay: 0.15s; }
.feat-icon--shower:hover .drop--3,
.house-features__item:hover .feat-icon--shower .drop--3 { animation-delay: 0.3s; }
.feat-icon--shower:hover .drop--4,
.house-features__item:hover .feat-icon--shower .drop--4 { animation-delay: 0.1s; }
.feat-icon--shower:hover .drop--5,
.house-features__item:hover .feat-icon--shower .drop--5 { animation-delay: 0.25s; }
.feat-icon--shower:hover .drop--6,
.house-features__item:hover .feat-icon--shower .drop--6 { animation-delay: 0.4s; }
.feat-icon--shower:hover .drop--7,
.house-features__item:hover .feat-icon--shower .drop--7 { animation-delay: 0.2s; }
.feat-icon--shower:hover .drop--8,
.house-features__item:hover .feat-icon--shower .drop--8 { animation-delay: 0.35s; }
.feat-icon--shower:hover .drop--9,
.house-features__item:hover .feat-icon--shower .drop--9 { animation-delay: 0.5s; }
.feat-icon--shower:hover .drop--10,
.house-features__item:hover .feat-icon--shower .drop--10 { animation-delay: 0.45s; }

/* === 🏞 Панорама: солнце и горы === */
.feat-icon--panorama .pano-sun {
    transition: transform 0.5s ease;
    transform-origin: 13.333px 6.667px;
}
.feat-icon--panorama .pano-mountain {
    transition: transform 0.4s ease;
}
.house-features__item:hover .feat-icon--panorama .pano-sun,
.feat-icon--panorama:hover .pano-sun {
    transform: translateY(-1px) scale(1.1);
}
.house-features__item:hover .feat-icon--panorama .pano-mountain--left,
.feat-icon--panorama:hover .pano-mountain--left {
    transform: translateY(-1px);
}
.house-features__item:hover .feat-icon--panorama .pano-mountain--right,
.feat-icon--panorama:hover .pano-mountain--right {
    transform: translateY(-1px);
    transition-delay: 0.1s;
}

/* === 💨 Кондиционер: ветер пульсирует === */
@keyframes windBlow {
    0%, 100% { opacity: 0.4; transform: translateY(-1px); }
    50% { opacity: 1; transform: translateY(1px); }
}

.feat-icon--ac .ac-wind {
    transition: opacity 0.3s ease;
}
.house-features__item:hover .feat-icon--ac .ac-wind,
.feat-icon--ac:hover .ac-wind {
    animation: windBlow 1s ease-in-out infinite;
}
.feat-icon--ac:hover .ac-wind--1,
.house-features__item:hover .feat-icon--ac .ac-wind--1 { animation-delay: 0s; }
.feat-icon--ac:hover .ac-wind--2,
.house-features__item:hover .feat-icon--ac .ac-wind--2 { animation-delay: 0.2s; }
.feat-icon--ac:hover .ac-wind--3,
.house-features__item:hover .feat-icon--ac .ac-wind--3 { animation-delay: 0.4s; }

/* === 📺 Телевизор: лёгкий блик на экране === */
@keyframes tvFlicker {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.feat-icon--tv .tv-screen {
    transition: stroke 0.3s ease;
}

.house-features__item:hover .feat-icon--tv .tv-screen,
.feat-icon--tv:hover .tv-screen {
    animation: tvFlicker 1.5s ease-in-out infinite;
}

/* === 🥋 Халат: лёгкое покачивание === */
@keyframes halatSway {
    0%, 100% { transform: rotate(0deg); }
    50% { transform: rotate(2deg); }
}

.feat-icon--halat {
    transform-origin: 10px 5px;
}

.house-features__item:hover .feat-icon--halat,
.feat-icon--halat:hover {
    animation: halatSway 1.5s ease-in-out infinite;
}
 
@keyframes tapWalkLeft {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-1.5px); }
}
@keyframes tapWalkRight {
    0%, 100% { transform: translateY(-1.5px); }
    50% { transform: translateY(0); }
}

.house-features__item:hover .feat-icon--tapochki .tap--left,
.feat-icon--tapochki:hover .tap--left {
    animation: tapWalkLeft 0.6s ease-in-out infinite;
}
.house-features__item:hover .feat-icon--tapochki .tap--right,
.feat-icon--tapochki:hover .tap--right {
    animation: tapWalkRight 0.6s ease-in-out infinite;
}
 
@keyframes pawWiggle {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.15); }
}

.house-features__item:hover .feat-icon--pets .paw,
.feat-icon--pets:hover .paw {
    animation: pawWiggle 0.8s ease-in-out infinite;
}
.feat-icon--pets:hover .paw--1,
.house-features__item:hover .feat-icon--pets .paw--1 { animation-delay: 0s; }
.feat-icon--pets:hover .paw--2,
.house-features__item:hover .feat-icon--pets .paw--2 { animation-delay: 0.2s; }
.feat-icon--pets:hover .paw--3,
.house-features__item:hover .feat-icon--pets .paw--3 { animation-delay: 0.4s; }
.feat-icon--pets:hover .paw--4,
.house-features__item:hover .feat-icon--pets .paw--4 { animation-delay: 0.6s; }

.feat-icon--pets .paw-main {
    transition: transform 0.3s ease;
    transform-origin: 10px 14px;
}
.house-features__item:hover .feat-icon--pets .paw-main,
.feat-icon--pets:hover .paw-main {
    transform: scale(1.05);
}
 
@media (prefers-reduced-motion: reduce) {
    .feat-icon *,
    .feat-icon {
        animation: none !important;
        transition: none !important;
        transform: none !important;
        opacity: 1 !important;
    }
}
/* === 🚫 Общие правила для запретов === */
.feat-icon--no-smoking .ban-circle,
.feat-icon--no-pets .ban-circle {
    transform-box: view-box;
    transform-origin: 10px 10px;
    stroke-dasharray: 54;          /* длина окружности ≈ 2π·8.5 */
    stroke-dashoffset: 54;
    transition: stroke-dashoffset 0.6s ease-out;
}

.feat-icon--no-smoking .ban-line,
.feat-icon--no-pets .ban-line {
    stroke-dasharray: 17;          /* длина диагонали */
    stroke-dashoffset: 17;
    transition: stroke-dashoffset 0.4s ease-out 0.4s;
}

/* По умолчанию — запреты видны полностью */
.feat-icon--no-smoking .ban-circle,
.feat-icon--no-pets .ban-circle,
.feat-icon--no-smoking .ban-line,
.feat-icon--no-pets .ban-line {
    stroke-dashoffset: 0;
}

/* При наведении — перерисовка для эффекта "проявления" */
.house-features__item:hover .feat-icon--no-smoking .ban-circle,
.feat-icon--no-smoking:hover .ban-circle,
.house-features__item:hover .feat-icon--no-pets .ban-circle,
.feat-icon--no-pets:hover .ban-circle {
    animation: drawCircle 0.8s ease-out;
}

.house-features__item:hover .feat-icon--no-smoking .ban-line,
.feat-icon--no-smoking:hover .ban-line,
.house-features__item:hover .feat-icon--no-pets .ban-line,
.feat-icon--no-pets:hover .ban-line {
    animation: drawLine 0.4s ease-out 0.5s both;
}

@keyframes drawCircle {
    from { stroke-dashoffset: 54; }
    to   { stroke-dashoffset: 0; }
}

@keyframes drawLine {
    from { stroke-dashoffset: 17; }
    to   { stroke-dashoffset: 0; }
}

/* === 💨 Дымок у сигареты «уходит» вверх === */
.feat-icon--no-smoking .smoke {
    opacity: 0.6;
    transform-box: view-box;
    transform-origin: center;
}

@keyframes smokeFloat {
    0%   { opacity: 0; transform: translateY(2px); }
    50%  { opacity: 0.8; }
    100% { opacity: 0; transform: translateY(-2px); }
}

.house-features__item:hover .feat-icon--no-smoking .smoke,
.feat-icon--no-smoking:hover .smoke {
    animation: smokeFloat 1.6s ease-in-out infinite;
}
.house-features__item:hover .feat-icon--no-smoking .smoke--1,
.feat-icon--no-smoking:hover .smoke--1 { animation-delay: 0s; }
.house-features__item:hover .feat-icon--no-smoking .smoke--2,
.feat-icon--no-smoking:hover .smoke--2 { animation-delay: 0.4s; }

.room-restrictions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 16px;
    margin: 32px 0;
      max-width: 700px;
}

.room-restrictions__card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    background: #FDF4F4;
    border: 1px solid #FBE4E4;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.room-restrictions__card:hover {
    background: #FEE7E7;
    border-color: #F5C2C2;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(229, 72, 77, 0.08);
}

.room-restrictions__icon-wrap {
    flex: 0 0 50px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 50%;
    border: 1px solid #FBE4E4;
}

.room-restrictions__icon-wrap .feat-icon {
    width: 32px;
    height: 32px;
}

.room-restrictions__text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.room-restrictions__text strong {
    font-size: 14px;
    font-weight: 500;
    color: #44403C;
}

.room-restrictions__text small {
    font-size: 12px;
    color: #A6A09B;
}