[class*="__container"] { 
	box-sizing: content-box;
	max-width: 1400px;
	margin-left: auto;
	margin-right: auto;
}
header.site-header{
    max-width: 100%;
}
.header-inner {
	background: #1C191799;
    width: 100%;
    padding: 0px 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    /* Blur/Glass */
    backdrop-filter: blur(2px);
    /* Note: backdrop-filter has minimal browser support */
    border-radius: 100px;
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}
body.admin-bar .site-header {
	top: 54px;
}
header.site-header{
    width: 100%; 
}
header.site-header{
    position: fixed;  
    z-index: 100;
    left: 50%;
	transform: translateX(-50%);
}
.page-template.page-template-page-fishing .left-column .is-layout-grid{
    top: 150px;
}
.hero-block {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: clamp(24px, 4vw, 80px);
    box-sizing: border-box;
}
.hero-content {
    max-width: 800px;
    text-align: center;
    z-index: 2;
}
.hero-content h1 {
    font-size: clamp(3.5rem, 0.6154rem + 11.5385vw, 8rem);
    line-height: 1; 
    font-family: 'Tinos';
    font-style: normal;
    font-weight: 400;
    text-align: center;
    letter-spacing: -3.2px; 
    color: #FFFFFF; 
    margin: 0;
}

.hero-content p {  
    margin-bottom: 32px;
    font-family: 'Inter';
    font-weight: 300; 
    font-size: clamp(1rem, 0.6795rem + 1.2821vw, 1.5rem);
    line-height: 1.625em;
    letter-spacing: 0.07px;
    text-align: center; 
    color: #FFFFFF; 
}
.hero-image {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hero-block::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0, .45);
    z-index: 1;
}
p.hero-content_txt{ 
font-weight: 400;
font-size: clamp(0.75rem, 0.6699rem + 0.3205vw, 0.875rem);
line-height: 143%; 
text-align: center;
letter-spacing: 2.64961px;
text-transform: uppercase;
margin: 0 0 24px;
color: rgba(255, 255, 255, 0.9); 

}
@media (max-width: 768px) {
    .hero-block {
        padding: 24px;
    } 
}
/* Page demo (optional) */ 
.booking { padding: 40px 16px; }

/* Component */
.booking__card{
  max-width: 920px;
  margin: 0 auto;
  background: #fff;
  border-radius: 32px;
  padding: 14px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: 0 18px 40px rgba(0,0,0,.18);
}

.booking__fields{
  flex: 1;
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: center;
  min-height: 64px;
}

.booking__field{
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  column-gap: 10px;
  row-gap: 6px;
  padding: 10px 14px;
  border-radius: 14px;
  cursor: pointer;
}

.booking__field:focus-within{
  outline: 2px solid rgba(0,0,0,.08);
  outline-offset: 2px;
}

.booking__label{
  grid-column: 1 / -1;
  font-size: 10px;
  letter-spacing: .14em;
  color: #a7a7a7;
  text-transform: uppercase;
}

.booking__value{
  font-size: 16px;
  color: #2b2b2b;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.booking__chev{
  align-self: center;
  color: #b7b7b7;
  font-size: 14px;
  transform: translateY(1px);
}

.booking__divider{
  width: 1px;
  height: 40px;
  background: rgba(0,0,0,.06);
  border-radius: 1px;
}

.booking__btn{
	font-family: Inter;
  flex: 0 0 auto;
  padding: 16px 22px;
  border: 0;
  font-size: 16px;
	border-radius:16px;
	background:#1C1917;
	color:#FFFFFF;
	line-height: 1.5em;
	letter-spacing: -0.0193em;
	transition:all 0.3s;
  font-weight: 700;
  box-shadow: 0 10px 20px rgba(0,0,0,.22);
  cursor: pointer;
}

.booking__btn:hover{ background:#FFFFFF; color:#1C1917; }
.booking__btn:active{ transform: translateY(1px); }

/* Make native controls "clickable" but invisible (so layout matches screenshot) */
.booking__select,
.booking__input{
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Responsive */
@media (max-width: 820px){
  .booking__card{ flex-direction: column; align-items: stretch; }
  .booking__fields{ grid-template-columns: 1fr; }
  .booking__divider{ display:none; }
  .booking__btn{ width: 100%; }
}
/* Optional base */
.home-main{
    --text: #1b1b1b;
    --muted: rgba(0,0,0,.55);
    --muted-2: rgba(0,0,0,.38);
    --line: rgba(0,0,0,.08);
    --card: #171717;
    --card-2: #0f0f0f;
  
    padding: 56px 16px;
    color: var(--text);
    background: #fff;
    font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  }
  
  .home-main__container{ 
    margin: 0 auto;
    display: grid;
    grid-template-columns: clamp(313px, 24.58vw + 61px, 430px) 1fr;
    gap: clamp(2.75rem, -5.8654rem + 13.4615vw, 6.25rem);
    align-items: start;
  }
  
  /* Left */
  .home-main__aside{
    padding-top: 4px;
  }
  
  .home-main__kicker{
    margin: 0 0 10px;
    font-size: 11px;
    letter-spacing: .22em;
    color: var(--muted-2);
  }
  
  .home-main__location{
    width: 100%;
    text-align: left;
    border: 0;
    border-radius: 10px;
    padding: 16px 16px;
    background: linear-gradient(180deg, var(--card), var(--card-2));
    color: #fff;
    cursor: pointer;
    position: relative;
    box-shadow: 0 14px 24px rgba(0,0,0,.20);
  }
  
  .home-main__location-title{
    display: block;
    font-weight: 600;
    font-size: 14px;
    line-height: 1.2;
  }
  
  .home-main__location-meta{
    display: block;
    margin-top: 4px;
    font-size: 12px;
    color: rgba(255,255,255,.65);
  }
  
  .home-main__location-dot{
    position: absolute;
    right: 14px;
    top: 50%;
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: rgba(255,255,255,.9);
    transform: translateY(-50%);
  }
  
  .home-main__soon{
    margin-top: 22px;
    color: rgba(0,0,0,.18);
    user-select: none;
  }
  
  .home-main__soon-title{
    margin: 0;
    font-size: 14px;
    font-weight: 600;
  }
  
  .home-main__soon-sub{
    margin: 2px 0 0;
    font-size: 12px;
  }
  
  /* Right */
  .home-main__header{
    margin-bottom: 14px;
  }
  
  .home-main__content h2{
    margin: 0;
    font-family: 'Tinos', "Times New Roman", serif;
    font-weight: 400;
    font-size: clamp(2rem, 0.8782rem + 4.4872vw, 3.75rem);
    line-height: 1.25em;
    letter-spacing: -.01em;
    color:#1C1917;
  }
  
  .home-main__content h3{
    margin: 0;
    font-family: 'Tinos', "Times New Roman", serif;
    font-size: clamp(2rem, 0.8782rem + 4.4872vw, 3.75rem);
    font-weight: 400;
    line-height: 1.25em; 
    color: #A6A09B;
    font-style: italic;
  }
  
  .home-main__text{
    margin: 18px 0 0;
    max-width: 720px;
    font-size: 13px;
    line-height: 1.8;
    color: rgba(0,0,0,.52);
  }
  
.home-main__content .features-items {
	gap:32px;
}
  
  .home-feature{
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 16px;
    align-items: start;
  }
  
  .home-feature__icon{
    width: 42px;
    height: 42px;
    border-radius: 999px;
    background: #f3f3f3;
    border: 1px solid rgba(0,0,0,.06);
    position: relative;
  }
  
  
  
  .home-feature__title{
    margin: 0px 0 8px;
font-family: Inter;
font-weight: 700;
font-size: 18px;
line-height: 1.5em;
letter-spacing: -0.024em;
    color:#1C1917;
  }
  
  .home-feature__text {
	margin: 0;
	font-family: 'Inter';
	font-style: normal;
	font-weight: 400;
	font-size: 16px;
	line-height: 1.6;
	letter-spacing: -0.31px;
	color: #79716B;
}
  strong {
	font-weight: 700;
}
  /* Responsive */
  @media (max-width: 920px){ 
    .home-main__features{
      grid-template-columns: 1fr;
      gap: 14px;
    }
    .home-main__location{
      max-width: unset;
    }
 }
 @media (max-width: 767px){
    p{
        margin-block: 24px;
    }
    .home-main__container{
      grid-template-columns: 1fr;
      gap: 40px;
    }
    .home-main__features{
      grid-template-columns: 1fr;
      gap: 14px;
    }
    .home-main__location{
      max-width: unset;
    }
    .related-houses__container {
        position: relative;
        padding-right: 0;
    }
 }
/* Layout */
.homes{
    max-width: 1400px;
    margin: 0 auto;
    padding-inline: clamp(0.9375rem, -1.7007rem + 5.5034vw, 3.5rem);  box-sizing: border-box;
  }
  .homes__inner{
    padding: 133px 32px 160px;
  }
  .homes__top {
	display: grid;
	grid-template-columns: 1fr 450px;
	gap: 32px;
	align-items: start;
	justify-content: space-between;
}
  
  .homes__title{
    margin: 0;
    font-family: "Tinos", "Times New Roman", serif;
    font-weight: 400;
    font-size: clamp(3.75rem, 2.1474rem + 6.4103vw, 6.25rem);
    line-height: 0.95;
    letter-spacing: -0.01em;
    color: #1C1917;
  }
  
  .homes__title span{
    font-style: italic;
    color: #A6A09B;
  }
  
  .homes__lead { 
	max-width: 520px;
	
}
.homes__lead p{
    color: #57534D;
	font-family: 'Inter';
	font-weight: 300;
	font-size: 20px;
	line-height: 32.5px;
	letter-spacing: -0.45px;
    font-size: clamp(1rem, 0.8864rem + 0.5682vw, 1.25rem);
    margin: 24px 0;
}
.location__filters {
	margin-top: 48px;
    border-bottom: 1px solid #E7E5E4;
}
.location-filter {
	font-family: 'Tinos', "Times New Roman", serif;
	font-weight: 400;
	font-size: 20px;
	line-height: 28px;
	letter-spacing: 0px;
	text-align: center;
	background: transparent;
	border: none;
	padding: 1px 8px 17px;
    color: #A6A09B;
    cursor: pointer;
}
.location-filter.is-active {
	border-bottom: 2px solid #1C1917;
    color: #1C1917;
}
  .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-family: 'Inter';
    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__tools{
    display: inline-flex;
    gap: 10px;
  }
  
  .tool{
    appearance: none;
    border: 1px solid rgba(0,0,0,.12);
    background: #fff;
    color: rgba(0,0,0,.72);
    padding: 8px 12px;
    border-radius: 999px;
    font-size: 12px;
    line-height: 1;
    cursor: pointer;
  }
  
  /* Grid cards */
  .homes__grid{
    margin-top: 22px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(1.5rem, 0.1383rem + 2.1277vw, 2rem);
  }
  
  .home-card{
    border-radius: 18px;
    overflow: hidden;
  }
  
  .home-card__link{
    display: block;
    position: relative;
    border-radius: 32px;
    overflow: hidden;
    min-height: 360px;
    background: #eee;
    text-decoration: none;
    color: inherit;
  }
  
  .home-card__img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    aspect-ratio: 3 / 4;
    transform: scale(1.001);
  }
  
  .home-card__overlay{
    position: absolute;
    inset: 0; 
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0) 100%);
    opacity: 0.9; 
 
  }
  
  .home-card__badges {
	position: absolute;
	top: 20px;
	left: 20px;
	right: 20px;
	display: flex;
	gap: 10px;
	align-items: flex-start;
	flex-direction: column;
}
  
  .badge{
    display: inline-flex;
    align-items: center;
    height: 26px;
    padding: 0 10px;
    border-radius: 999px;
    font-size: 11px;
    line-height: 1;
    white-space: nowrap;
  }
  
  .badge--ghost{  background: rgba(255,255,255,.9); 
    opacity: .9;
    color: #1C1917;
    font-size: 14px;
    font-weight: 700;
    padding: 7px 16px;
    display: flex;
    gap: 8px;  
border: 0.615187px solid rgba(255, 255, 255, 0.5);
box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.1), 0px 1px 2px -1px rgba(0, 0, 0, 0.1);  
  }
  .badge--price{  
    opacity: .9;
    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: 16px; 
    padding: 12px 20px; 
    font-weight: 500; 
    font-size: 12px; 
    line-height: 16px;
    letter-spacing: 0px;
    color: #FFFFFF99;
    display: flex;
    gap: 6px;
    align-items: center;
  } 
  .badge--price strong{
    font-weight: 700; 
    font-size: 18px; 
    line-height: 28px;
    letter-spacing: -0.44px;
    color:#fff;
  }
  .home-card__content {
	position: absolute;
    --inpad:2rem;
	left: var(--inpad);
	right: var(--inpad);
	bottom: var(--inpad);
	color: rgba(255,255,255,.92);
}
@media (min-width: 1024px) {
    .home-card__content {
        --inpad: clamp(1.125rem, -0.7574rem + 2.9412vw, 2rem); 
    }
  }
  
  .home-card__title{
    margin: 0;
    font-family: 'Tinos', "Times New Roman", serif;
    font-weight: 400;
    font-size: 30px;
    line-height: 1.2;
  }
  
  .home-card__text{
    margin: 12px 0 0;
    font-size: 14px;
    line-height: 1.55;
    color: #FFFFFFE5;
    max-width: 40ch;
    font-weight: 300;
  }
  
  /* Pager dots */
  .homes__pager{
    margin-top: 48px;
    display: flex;
    justify-content: center;
    gap: 5px;
  }
  
  .pager__dot{
    width: 8px;
    height: 8px;
    border-radius: 999px;
    border: 0;
    background: rgba(0,0,0,.18);
    cursor: pointer;
  }
  
  .pager__dot.is-active{
    width: 26px;
    background: rgba(0,0,0,.85);
  }
  
  /* Responsive */
  @media (max-width: 1024px){
    .homes__inner {
        padding: 120px 0px 120px;
    }
    .location__filters {
        margin-top: 8px; overflow: scroll;
    }
  }
  @media (max-width: 980px){
    .homes__top { grid-template-columns: 1fr 1fr;  gap: 24px;  }
    .homes__filters{ flex-direction: column; align-items: flex-start; }
    .homes__grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
  }
  
  @media (max-width: 560px){
    .homes__grid{ grid-template-columns: 1fr; } 
    .homes__top { grid-template-columns: 1fr;  gap: 10px;  }
    .homes__inner {
        padding: 115px 0px 120px;
    }
    /* ====== Location filters ====== */
.location__filters {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;          /* Firefox */
    padding-bottom: 4px;            
    margin: 0 -16px;                
    padding-left: 16px;
    padding-right: 16px;
}

.location__filters::-webkit-scrollbar {
    display: none;                  /* Chrome, Safari */
}

.location-filter {
    flex-shrink: 0;                 
    white-space: nowrap;            
}

/* ====== Capacity filters ====== */
.homes__chips {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 4px;
    margin: 0 -16px;
    padding-left: 16px;
    padding-right: 16px;
}

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

.chip {
    flex-shrink: 0;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
} 
  }

  .home-card__text {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}
.map-pin.is-active .map-pin__icon path {
	stroke: #fff;
}
/* ====== View toggle ====== */
.homes__view-toggle {
	display: flex;
	gap: 0;
	background: #F5F5F4;
	border-radius: 100px;
    padding: 4px;
}

.view-btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 8px 16px;
	border: none;
	border-radius: 8px;
	background: transparent;
	cursor: pointer;
	font-size: 14px;
	transition: all 0.2s;
	color: #A6A09B;
    border-radius: 2.06422e+07px;
	display: flex;
	flex-direction: row;
	align-items: center;
	padding: 0px 0px 0px 15.9949px;
	width: 109px;
	height: 36px;
}
/* Заблокированная кнопка карты */
.view-btn.is-disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

/* Подсказка */
.homes__map-hint {
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    background: #292524;
    color: #fff;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 14px;
    white-space: nowrap;
    z-index: 100;
    animation: hintFadeIn 0.2s ease;
}

/* Стрелка подсказки */
.homes__map-hint::before {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 6px solid #292524;
}

/* Скрытие */
.homes__map-hint.is-hiding {
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

/* Контейнер toggle — relative для позиционирования подсказки */
.homes__view-toggle {
    position: relative;
}
.view-btn path{
    stroke:#A6A09B;
}
.view-btn.is-active {
	color: #1C1917;  
}

/* ====== Tabs ====== */
.homes__tab {
    display: none;
}

.homes__tab.is-active {
    display: block;
}

/* ====== Map ====== */
.homes-map {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 16px;
    overflow: visible;
    background: #e8f4e8;
}

.homes-map__bg {
	width: 100%;
	height: 100%;
	object-fit: cover;
	box-sizing: border-box;
	border: 0.923472px solid #E7E5E4;
	box-shadow: inset 0px 3.00225px 6.00449px rgba(0, 0, 0, 0.05);
	
}

.homes-map__pins {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
     
}
.homes-map,
.homes-map__pins ,
.homes-map__bg{
    border-radius: 60.0449px;
}
@media (max-width:1024px) {
    .homes-map,
    .homes-map__pins ,
    .homes-map__bg {
        border-radius: 40px;
    }
}
/* ====== Pin (marker) ====== */
.map-pin {
    position: absolute;
    transform: translate(-50%, -50%);
    cursor: pointer;
    z-index: 2;
    transition: z-index 0s, transform 0.2s;
}

.map-pin:hover,
.map-pin.is-active {
    z-index: 10;
   
}

.map-pin__icon {
    width: 60px;
    height: 60px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0px 30.0225px 37.5281px -7.50562px rgba(0, 0, 0, 0.1), 0px 12.009px 15.0112px -9.00674px rgba(0, 0, 0, 0.1);
    transition: .5s;
    font-size: 20px;
    border: 6px solid #ffff;
} 
.map-pin:hover .map-pin__icon,
.map-pin.is-active .map-pin__icon {
    background: #1C1917;
    color: #fff;
    transition: .5s;
}
.map-pin:hover .map-pin__icon path,
.map-pin.is-active .map-pin__icon path{ 
    stroke: #fff;
    transition: .5s;
}
/* ====== Tooltip (popup on click) ====== */
.map-pin__tooltip {
    display: none;
    position: absolute;
    bottom: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    padding: 0;
    width: 320px;
    overflow: visible;
}
.map-pin__tooltip::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 12px solid transparent;
    border-right: 12px solid transparent;
    border-top: 10px solid #fff;
}
.map-pin__tooltip {
    --arrow-offset: 50%;
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-bottom: 8px;
}
 
.map-pin__tooltip::after {
    content: '';
    position: absolute;
    bottom: -10px;
    top: auto;
    left: var(--arrow-offset);
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 12px solid transparent;
    border-right: 12px solid transparent;
    border-top: 10px solid #fff;
    border-bottom: none;
}
 
.map-pin__tooltip.tooltip--bottom {
    bottom: auto;
    top: 100%;
    margin-bottom: 0;
    margin-top: 8px;
}
 
.map-pin__tooltip.tooltip--bottom::after {
    bottom: auto;
    top: -10px;
    border-top: none;
    border-bottom: 10px solid #fff;
}
.map-pin.is-active .map-pin__tooltip {
    display: grid;
  grid-template-columns: 100px 1fr;
  padding: 12px;
  border-radius: 20px;
  gap: 16px;
}

.map-pin__tooltip-img {
    width: 100%;
    height: 100px;
    object-fit: cover;
    border-radius: 20px;
}

.map-pin__tooltip-body {
    padding: 0px;
}

.map-pin__tooltip-title {
	font-size: 20px;
	font-weight: 600;
	margin: 0;
	line-height: 1.2;
	color: #1C1917;
}
.map-pin__tooltip-title a:hover{
    color: #282421;
}
.map-pin__tooltip-title a{
    color: #1C1917;
    text-decoration: none;
}
.map-pin__tooltip-body {
	padding: 0;
	display: flex;
	flex-direction: column;
	justify-content: space-around;

}
.map-pin__tooltip-price{
	font-weight: 500;
    color: #A4A3A2;
    margin: 0;
    font-size: 18px;
}
@media (max-width:768px) {
    .homes__tab--map {
        width: 100%;
        height: 600px;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;  
        cursor: grab; 
        border-radius: 40px;
    }
    .homes-map  {
        position: relative;
        height: 600px;
        width: calc(600px * 16 / 9); /* = 1066px */
        flex-shrink: 0;
    }
}
.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; 

}
.homes__view-toggle {
    display: inline-flex;
    background: #f5f5f4;
    border-radius: 50px;
    padding: 4px;
    position: relative;
    gap: 0;
  }
   
  .homes__view-toggle::before {
    content: '';
    position: absolute;
    top: 4px;
    left: 4px;
    height: calc(100% - 8px);
    width: calc(50% - 4px);
    background: #ffffff;
    border-radius: 46px;
    box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.1), 0px 1px 2px -1px rgba(0, 0, 0, 0.1); 
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 0;
  }
   
  .homes__view-toggle.map-active::before {
    transform: translateX(100%);
  }
  
  .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: 60px;
    font-family: 'Tinos','Times New Roman', Times, serif;
    font-weight: 400;
    color: #1C1917;
    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: 16px;
	color: #79716B;
	background: #F5F5F4;
	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: 'Tinos';
    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(270px, 1fr));
    gap: 16px;
}

.house-features__item {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 16px;
	color: #44403B;
	background: #FAFAF9;
	border-radius: 16px;
	padding: 16px;
}

.house-features__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    color: #78716C;
}

/* ====== 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: 'Tinos';
    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;
}

/* ====== Календар ====== */
.booking-calendar {
    margin-bottom: 24px;
}

.booking-calendar__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.booking-calendar__month {
    font-size: 15px;
    font-weight: 600;
    color: #1C1917;
}

.booking-calendar__nav {
    display: flex;
    gap: 4px;
}

.booking-calendar__nav-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: 1px solid #E7E5E4;
    border-radius: 8px;
    background: #fff;
    color: #57534E;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s;
}

.booking-calendar__nav-btn:hover {
    background: #F5F5F4;
    border-color: #D6D3D1;
}

.booking-calendar__weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    margin-bottom: 4px;
}

.booking-calendar__weekdays span {
    font-size: 11px;
    font-weight: 600;
    color: #A8A29E;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 4px 0;
}

.booking-calendar__grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0;
}

/* ====== Дні календаря ====== */
.cal-day {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    border: none;
    background: transparent;
    font-size: 14px;
    color: #44403C;
    cursor: pointer;
    padding: 0;
    transition: color 0.12s;
    z-index: 1;
}

.cal-day::before {
    content: '';
    position: absolute;
    inset: 2px;
    border-radius: 50%;
    z-index: -1;
    transition: background 0.12s;
}

.cal-day:hover::before {
    background: #F5F5F4;
}

/* Сьогодні */
.cal-day--today {
    font-weight: 700;
    color: #1C1917;
}

/* Минулі */
.cal-day--disabled {
    color: #D6D3D1;
    cursor: default;
    pointer-events: none;
}

.cal-day--disabled:hover::before {
    background: transparent;
}

/* Пусті */
.cal-day--empty {
    visibility: hidden;
    pointer-events: none;
}

/* ====== Вибір дат — діапазон ====== */

/* Початок */
.cal-day--start::before {
    background: #1C1917;
}
.cal-day--start {
    color: #fff;
}
.cal-day--start:hover::before {
    background: #292524;
}

/* Кінець */
.cal-day--end::before {
    background: #1C1917;
}
.cal-day--end {
    color: #fff;
}
.cal-day--end:hover::before {
    background: #1C1917;
}

/* Між */
.cal-day--in-range {
    color: #fff;
}

.cal-day--in-range::before {
    background: #1C1917;
    border-radius: 0;
    inset: 2px 0;
}

/* Заокруглення діапазону */
.cal-day--start.cal-day--has-range::before {
    border-radius: 50% 0 0 50%;
    inset: 2px 0 2px 2px;
}

.cal-day--end.cal-day--has-range::before {
    border-radius: 0 50% 50% 0;
    inset: 2px 2px 2px 0;
}

/* Тільки одна дата (немає діапазону) */
.cal-day--start:not(.cal-day--has-range)::before {
    border-radius: 50%;
}

/* ====== Гості ====== */
.booking-card__guests {
    margin-bottom: 20px;
}

.booking-card__guests-label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #A8A29E;
    margin-bottom: 6px;
}

.booking-card__guests-select-wrap {
    position: relative;
}

.booking-card__guests-select {
    width: 100%;
    padding: 12px 40px 12px 14px;
    border: 1px solid #D6D3D1;
    border-radius: 10px;
    font-size: 14px;
    color: #1C1917;
    background: #fff;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    outline: none;
    transition: border-color 0.15s;
}

.booking-card__guests-select:focus {
    border-color: #A8A29E;
}

.booking-card__guests-chevron {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #78716C;
    pointer-events: none;
}

/* ====== Розрахунок ====== */
.booking-card__summary {
    padding: 16px 0;
    margin-bottom: 16px;
    border-top: 1px solid #E7E5E4;
}

.booking-card__summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: #57534E;
    margin-bottom: 8px;
}

.booking-card__summary-row:last-child {
    margin-bottom: 0;
}

.booking-card__summary-row--total {
    font-size: 16px;
    font-weight: 700;
    color: #1C1917;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #E7E5E4;
}

/* ====== Кнопка ====== */
.booking-card__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 16px;
    border: none;
    border-radius: 12px;
    background: #E7E5E4;
    color: #78716C;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
    margin-bottom: 12px;
}

.booking-card__btn:hover {
    background: #D6D3D1;
}

.booking-card__btn--active {
    background: #1C1917;
    color: #fff;
}

.booking-card__btn--active:hover {
    background: #292524;
    color: #fff;
}

/* ====== Підпис ====== */
.booking-card__note {
    text-align: center;
    font-size: 12px;
    color: #A8A29E;
    margin: 0;
}

/* ====== Адаптив ====== */
@media (max-width: 991px) {
    .booking-card {
        position: static;
    }
}

@media (max-width: 767px) {
    .booking-card {
        padding: 24px 20px;
    }
}


/* ====== Card details ====== */
.booking-card__details {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #E7E5E4;
}

.booking-card__detail {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #57534E;
}

.booking-card__detail svg {
    flex-shrink: 0;
}
.single-house__container{
    max-width: 1400px;  margin: 0 auto;
    margin-top: 110px;    

}
.single-house_inner,
.fishing__grid,
.related-houses__grid,
.related-houses__header{ 
    padding-left: 32px;
    padding-right: 32px;
} 
@media (max-width: 1024px) {
    .home-main,
    .single-house_inner,
    .fishing__grid,
    .related-houses__grid,
    .related-houses__header{ 
        padding-left: 0px;
        padding-right: 0px;
    }  
}
/* ====== Responsive ====== */
@media (max-width: 991px) {
    .house-body__layout {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .booking-card {
        position: static;
    }
}

@media (max-width: 767px) {
    .house-hero__title {
        font-size: 24px;
    }

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

    .booking-card {
        border-radius: 0;
        margin: 0 -16px;
        padding: 20px 16px;
        border-left: none;
        border-right: none;
    }
}
/* ====== 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;
    }
}
.related-houses {
	padding: 80px 0;
	background: #FAFAF9;
}

.related-houses__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 24px;
    margin-bottom: 32px;
}

.related-houses__title { 
    color: #1C1917;
    margin: 0 0 8px;
    font-family: 'Tinos';
    font-weight: 400; 
    font-size: 36px; 
    line-height: 40px;
    letter-spacing: 0px;

}

.related-houses__desc {
    font-size: 15px;
    color: #78716C;
    margin: 0;
    max-width: 400px;
    line-height: 1.5;
}

.related-houses__all-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 14px;
    font-weight: 500;
    color: #1C1917;
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
    transition: opacity 0.2s;
}

.related-houses__all-link:hover {
    opacity: 0.7;
}

.related-houses__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(1.5rem, 0.1383rem + 2.1277vw, 2rem);
 
}

@media (max-width: 991px) {
    .related-houses__grid {
        grid-template-columns: repeat(3,300px);
        gap: 16px;
        display: grid;
        flex-wrap: nowrap;
        overflow: auto;
    }
    .map-pin__icon{
        width: 30px;
        height: 30px;
    }
    .map-pin__icon svg {
        height: 20px;
        width: 20px;
    }
}

@media (max-width: 767px) {
    .related-houses__header {
        flex-direction: column;
        gap: 12px;
    }

    .related-houses__grid {
        grid-template-columns: repeat(3,300px);
        gap: 16px;
        display: grid;
        flex-wrap: nowrap;
        overflow: auto;
    }
    .related-houses__container {
        position: relative;
        padding-right: 0;
    }
    .related-houses__all-link {
        position: absolute;
        bottom: -88px;
        border: 1px solid #D6D3D1;
        box-sizing: border-box;
        padding: 10px;
        text-align: center;
        left: 16px;
        right: 16px;
        border-radius: 100px;
        text-align: center;
        justify-content: center;
    }
    .related-houses__title {
        font-size: 32px;
    }
}
.container-footer{
    width: 100%;
    box-sizing: border-box;
}
/* ====== Переключатель локацій ====== */
.loc-switcher {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.loc-switcher__kicker {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: #A6A09B;
    margin: 0 0  12px 0;
}

.loc-switcher__list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
 
.loc-switcher__item {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding:  23px;
    padding-right: 48px; 
    border-radius: 16px;
    background: #F5F5F4;
    color:#A6A09B;
    text-decoration: none;
    transition: background 0.25s, color 0.25s, box-shadow 0.25s;
    cursor: pointer;
}

.loc-switcher__item:hover {
    background: #E7E5E4;
}
 
.loc-switcher__item.is-active {
    background: #1C1917;
    color: #fff; 
}

.loc-switcher__item.is-active:hover {
    background: #282421;
}
 
.loc-switcher__title {  
    line-height: 1.2;
    color: inherit;
    font-family: 'Tinos';
    font-weight: 400; 
    font-size: 24px;  
    letter-spacing: 0px; 
}

.loc-switcher__item.is-active .loc-switcher__title {
    color: #fff;
    font-family: 'Tinos';
    font-weight: 400; 
    font-size: 24px; 
    line-height: 32px;
    letter-spacing: 0px;

}
 
.loc-switcher__meta {
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-top: 4px;
    opacity: 0.6;
}

.loc-switcher__item.is-active .loc-switcher__meta {
    color: #fff;
    opacity: 0.7;
}
 
.loc-switcher__dot {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #D6D3D1;
    transition: background 0.25s;
}

.loc-switcher__item.is-active .loc-switcher__dot {
    background: #fff;
}

/* ====== Скоро ====== */
.loc-switcher__soon {
    padding: 23px;
    opacity: 0.4;
}

.loc-switcher__soon-title { 
    color:#A6A09B;
    margin: 0;
    font-family: 'Tinos';
    font-weight: 400;
    font-size: 24px;
    line-height: 32px;
}

.loc-switcher__soon-sub {
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #A8A29E;
    margin: 4px 0 0;
}
 
@media (max-width: 767px) {
    .loc-switcher__list {
        flex-direction: row;
        overflow-x: auto;
        gap: 8px;
        padding-bottom: 4px;
        -webkit-overflow-scrolling: touch;
    }

    .loc-switcher__item {
        flex-shrink: 0;
        min-width: 300px;
        min-height: 64px; 
    }

     
}
/* ====== Блок «Риболовля» ====== */
.fishing {
    padding: 80px 0;
}

.fishing__grid {
    display: grid;
    grid-template-columns: 1fr 430px;
    gap: 20px;
    align-items: stretch;
}

/* ====== Ліва колонка — герой ====== */
.fishing__hero {
    position: relative;
    border-radius: 48px;
    overflow: hidden;
    min-height: 620px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.fishing__hero-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fishing__hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.2) 50%, rgba(0, 0, 0, 0) 100%);
    pointer-events: none;
}

.fishing__hero-content {
    position: relative;
    z-index: 2;
    padding: 48px;
}

.fishing__title {
	color: #fff;
	margin: 0 0 15px;
	line-height: 1.1;
	font-family: 'Tinos';
	font-weight: 400;
	font-size: 60px;
	line-height: 60px;
	letter-spacing: 0px;
} 

.fishing__text {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
    margin: 0 0 20px;
    max-width: 400px;
    line-height: 1.5;
}

.fishing__link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 12px 32px;
	border: 1px solid rgba(255, 255, 255, 0.4);
	border-radius: 100px;
	color: #1C1917;
	font-size: 16px;
	font-weight: 700;
	text-decoration: none;
	transition: background 0.2s, border-color 0.2s;
	backdrop-filter: blur(4px);
	 background:#fff;

}

.fishing__link:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.6);
    color: #fff;
}

.fishing__sidebar {
	display: grid;
	gap: 20px;
	grid-template-rows: 1fr 1fr;
}

/* ====== Картка трофею ====== */
.fishing__trophy {
    position: relative;
    border-radius: 48px;
    overflow: hidden;
    flex: 1;
    min-height: 180px;
}

.fishing__trophy-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
 
.fishing__trophy-overlay {
	position: absolute;
	bottom: 32px;
	left: 32px;
	display: flex;
	flex-direction: column;
	gap: 4px;
    z-index: 1;
}

.fishing__trophy-label {
	color: #fff;
	font-family: 'Tinos';
	font-weight: 400;
	font-size: 24px;
	line-height: 32px;
	letter-spacing: 0px;
}

.fishing__trophy-tags {
    font-size: 14px;
    color:#fff;
    font-weight: 400;
}

/* ====== Картка оренди ====== */
.fishing__rent {
	background: #F5F5F4;
	border-radius: 48px;
	padding: 32px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 20px;
}

.fishing__rent-top {
	display: flex;
	gap: 24px;
	align-items: flex-start;
	flex-direction: column;
}

.fishing__rent-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    object-fit: contain;
}

.fishing__rent-info {
    flex: 1;
}

.fishing__rent-title {
	color: #1C1917;
	margin: 0 0 6px;
	font-family: Tinos;
	font-weight: 400;
	font-size: 24px;
	line-height: 32px;
	letter-spacing: 0px;
}

.fishing__rent-text {
	font-size: 14px;
	color: #79716B;
	margin: 0;
	line-height: 1.5;
}

.fishing__rent-bottom {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    padding-top: 16px;
     
}

.fishing__rent-price-label {
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: #A6A09B;
}

.fishing__rent-price {
    font-size: 16px;
    font-weight: 700;
    color: #1C1917;
}

/* ====== Адаптив ====== */
@media (max-width: 1024px) {
    .fishing__grid {
        grid-template-columns: 1fr;
    }

    .fishing__title {
        font-size: 40px;
    }
    .fishing__sidebar { 
        grid-template-columns: 1fr 1fr;
        width: 100%;  grid-template-rows: 1fr;
    }
}

@media (max-width: 767px) {
    .fishing__grid {
        grid-template-columns: 1fr;
    }

    .fishing__hero {
        min-height: 390px;
    }

    .fishing__hero-content {
        padding: 24px;
    }
 
    .fishing__sidebar {
        flex-direction: row;
    }

    .fishing__trophy,
    .fishing__rent {
        flex: 1;
    }

    .fishing__trophy {
        min-height: 200px;
    }
}

@media (max-width: 480px) {
    .fishing__grid {
        grid-template-columns: 1fr;
    } 
    .fishing__sidebar { 
        grid-template-columns: 1fr;
        width: 100%;  grid-template-rows: 1fr 1fr;
    }
    .fishing__sidebar {
        flex-direction: column;
    }
    .bookingbar {
        margin-top: 0;
        position: relative;
        z-index: 9;
        position: absolute;
        bottom: -39px;
        left: 0;
        right: 0;
    }
    .booking {
        padding: 0 16px;
    }
    .home-main{
        padding-left: 0;
        padding-right: 0;
    }
    .loc-switcher__item {
        flex-shrink: 0; 
        width: 100%;
        box-sizing: border-box;
    }
    .fishing__grid,
    .related-houses__grid,
    .related-houses__header {
        padding: 0 ;
    }
}
/* ====== CTA Block ====== */
.cta-block {
    padding: 160px 0;
}

.cta-block__inner {
    text-align: center;
    margin: 0 auto;
}

.cta-block__title { 
    color: #1C1917;
    margin: 0 0 30px;
    line-height: 1.15;
    font-family: 'Tinos';
    font-weight: 400; 
    font-size: 72px; 
    line-height: 1;
    letter-spacing: 0px;
    text-align: center;

}

.cta-block__subtitle {
    font-size: 20px;
    font-weight: 400;
    color: #79716B;
    margin: 0 0 54px;
    line-height: 1.5;
}

.cta-block__btn {
	display: inline-block;
	padding: 20px 56px;
	color: #fff;
	font-size: 16px;
	font-weight: 500;
	border-radius: 100px;
	text-decoration: none;
	transition: background 0.2s, transform 0.2s;
	background: #1C1917;
	box-shadow: 0px 20px 25px -5px rgba(28, 25, 23, 0.2), 0px 8px 10px -6px rgba(28, 25, 23, 0.2);
	border-radius: 2.06422e+07px;
	line-height: 28px;
}

.cta-block__btn:hover {
    background: #282421; 
}

/* Адаптив */
@media (max-width: 767px) {
    .fishing__text {
        font-size: 16px; 
    }
    .cta-block {
        padding: 56px 0;
    }
    .cta-block__title {
        font-size: 28px;
    }
    .cta-block__subtitle {
        font-size: 15px;
    }
}



.bk-toast {
    position: fixed;
    top: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(-120px);
    z-index: 99999;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: #6d712e;
    color: #fff;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 8px 32px rgba(0, 0, 0, .2);
    transition: transform .4s cubic-bezier(.34, 1.56, .64, 1),
                opacity .4s;
    opacity: 0;
    pointer-events: none;
}

.bk-toast.is-visible {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
    pointer-events: auto;
}