.main-layout{
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}

/* не робимо спільну “підкладку” на весь контейнер */
.container.main-layout{
  padding-bottom: 240px; /* додає “білий низ” */
}

/* окремі картки */
.sidebar{
  background: rgba(255,255,255,0.88);
  border-radius: 24px;
  padding: 18px 16px 20px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.12);
  backdrop-filter: saturate(1.05);
}

.content-main{
  background: rgba(255,255,255,0.88);
  border-radius: 24px;
  padding: 24px 26px 28px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.12);
  backdrop-filter: saturate(1.05);
  color: var(--vtr-text);
}

/* щоб картинки і кнопки точно не “зникали” */
.content-main img{
  max-width: 100%;
  height: auto;
  display: block;
}
.card-btn, .booking-btn{
  opacity: 1;
  visibility: visible;
}

.object-main{
  background: rgba(255,255,255,0.92);
  border-radius: var(--vt-radius-card-lg);
  padding: 22px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.10);
}

.object-hero img{
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 18px;
  margin-bottom: 14px;
}

.object-sidebar{
  position: sticky;
  top: 110px;
}

.booking-box{
  background: rgba(255,255,255,0.92);
  border-radius: var(--vt-radius-card-lg);
  padding: 18px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.10);
}

/* мобілка */
@media (max-width: 1180px){
  .main-layout{
    grid-template-columns: 1fr;
  }

  .object-sidebar{
    position: static;
    max-width: 480px;
    margin: 18px auto 0; /* картка бронювання під галереєю, по центру */
  }

  .object-hero img{
    height: 320px; /* можеш лишити 260, як більше подобається */
  }
}

body.single-sanatorium .sidebar{
  display: block;
  background: transparent !important;
  border-radius: 0 !important;
  padding: 0 !important;
  box-shadow: none !important;
}

body.single-sanatorium .content-main{
  display: block !important;
  background: rgba(255,255,255,0.88) !important;
  border-radius: 22px !important;
  padding: 24px 26px 28px !important;
  box-shadow: 0 12px 30px rgba(0,0,0,0.12) !important;
  min-height: 200px !important;
}

.object-wrapper{
  margin: 0;
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(400px, 1fr);
  gap: 32px;
  align-items: start;
}

@media (max-width: 1180px){
  .object-wrapper{
    grid-template-columns: 1fr;
  }

  .object-sidebar{
    position: static;
    width: 100%;
    max-width: 480px;
    margin: 18px auto 0;
  }
}

.object-tabs .tab {
  padding: 10px 22px;
  border-radius: 999px;
  border: 1px solid rgba(15,23,42,0.03);

  background: rgba(242,245,247,0.96);
  cursor: pointer;

  font-weight: 600;
  font-size: 14px;
  white-space: nowrap;

  transition: background .18s ease, color .18s ease, box-shadow .18s ease, transform .12s ease;
}

.object-tabs .tab.active {
  background: linear-gradient(90deg, #00b894, #00cec9);
  color: #ffffff;
  border-color: transparent;

  box-shadow: 0 6px 14px rgba(31,168,150,0.22);
  transform: translateY(-1px);
}

.object-tabs .tab:hover:not(.active) {
  background: rgba(230,237,242,0.98);
  transform: translateY(-1px);
}

.object-tabs {
  margin-bottom: -10px;
  position: relative;
  z-index: 3;
}

.tab-content{
  display: none;
  margin-top: 16px;
  padding: 18px;
  border-radius: 16px;
  background: rgba(255,255,255,0.85);
}

.tab-content.active{
  display: block;
}
.single-sanatorium .object-wrapper {
  margin-bottom: 80px;
}

/* Додатковий простір всередині правої картки */
.object-main {
  padding-bottom: 120px;
}
.archive-wrapper{
  display:grid;
  grid-template-columns: 280px 1fr;
  gap:30px;
}

.left-objects-menu{
  list-style:none;
  padding:0;
}

.left-objects-menu li{
  margin-bottom:8px;
}

.left-objects-menu a{
  display:block;
  padding:10px 12px;
  border-radius:12px;
  text-decoration:none;
}

.object-grid{
  display:grid;
  grid-template-columns: repeat(3,1fr);
  gap:20px;
}

/* Responsive grid for object cards */
@media (max-width: 1200px){
  .object-grid{
    grid-template-columns: repeat(2,1fr);
  }
}
@media (max-width: 640px){
  .object-grid{
    grid-template-columns: 1fr;
  }
}

.container.main-layout{
  background: transparent !important;
  box-shadow: none !important;
  padding: 0 !important;
}

.sidebar{
  background: rgba(255,255,255,0.88);
  border-radius: 24px;
  padding: 18px 16px 20px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.12);
  backdrop-filter: saturate(1.05);
}

.content-main{
  background: rgba(255,255,255,0.88);
  border-radius: 24px;
  padding: 24px 26px 28px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.12);
  backdrop-filter: saturate(1.05);
  min-width: 0;
}

/* Single sanatorium inner layout */
.single-sanatorium-page .object-top{
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(360px, 34vw, 460px);
  gap: 24px;
  align-items: start;
  margin-bottom: 14px;
}

.object-info-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 24px;
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255,255,255,0.78);
}

/* Tabs */
.object-tabs .tab{
  padding: 10px 18px;
  border-radius: 14px;
  border: none;
  cursor: pointer;
  font-weight: 500;      /* було 700-800 */
  font-size: 14px;
  letter-spacing: 0.2px;
  background: rgba(255,255,255,0.72);
  transition: all 0.2s ease;
}

.object-tabs .tab.active{
  background: #3bb3a6;
  color: #fff;
  font-weight: 600;      /* активна трохи жирніша */
}

.tab-content{
  display: none;
  margin-top: 14px;
  padding: 16px;
  border-radius: 16px;
  background: rgba(255,255,255,0.80);
}

.tab-content.active{
  display: block;
}

@media (max-width: 992px){
  .page-wrap .container.main-layout{
    grid-template-columns: 1fr;
  }
  .single-sanatorium-page .object-top{
    grid-template-columns: 1fr;
  }
  .single-sanatorium-page .object-sidebar{
    position: static;
  }
  .object-info-grid{
    grid-template-columns: 1fr;
  }
}
/* =========================
   Single Sanatorium layout
========================= */

.single-object-layout{
  background: transparent;
  padding: 0;
}

.object-title{
  margin: 0 0 18px;
  font-size: 28px;
  line-height: 1.25;
  color: var(--vtr-heading);
}

.object-top{
  display: grid;
  /* Wider right column (meta + booking) like in mockup */
  grid-template-columns: minmax(0, 1fr) clamp(360px, 34vw, 460px);
  gap: 26px;
  align-items: start;
  margin-bottom: 22px;
}

/* Single: nudge gallery a bit to the left and reduce the empty padding on the right */
body.single-sanatorium .content-main,
body.single-sanatorium-page .content-main{
  padding-left: 18px;
  padding-right: 18px;
}

.object-hero img{
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 18px;
  display: block;
  box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}

.object-meta{
  margin-top: 14px;
  padding: 16px 18px;
  border-radius: 18px;
  background: var(--vt-glass-bg);
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 22px rgba(0,0,0,0.08);
}

.object-meta__row{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 18px;
  margin-bottom: 10px;
}
.object-meta__row:last-child{ margin-bottom: 0; }

.meta-item .meta-label{
  font-size: 12px;
  color: var(--vtr-muted);
  margin-bottom: 4px;
  font-weight: 700;
}
.meta-item .meta-val{
  font-size: 14px;
  color: var(--vtr-text);
  font-weight: 700;
}
.meta-price strong{ font-size: 16px; }
.meta-stars{ letter-spacing: 1px; }

.object-sidebar{
  position: sticky;
  top: 120px;
  width: 100%;
}

.booking-box{
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(12px);
  border-radius: var(--vt-radius-card-lg);
  padding: 18px;
  box-shadow: 0 14px 34px rgba(0,0,0,0.10);
}

.booking-stars{
  margin-top: 10px;
  font-size: 16px;
  letter-spacing: 1px;
  color: #f59f00;
}

.object-tabs-wrap{
  margin-top: 10px;
}

.object-tabs{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.object-tabs .tab{
  padding: 10px 18px;
  border-radius: 14px;
  border: none;
  cursor: pointer;
  font-weight: 500; 
  font-size: 14px;
  letter-spacing: 0.2px;
  background: rgba(255,255,255,0.72);
  transition: all 0.2s ease;
}

.object-tabs .tab.active{
  background: #3bb3a6;
  color: #fff;
  font-weight: 600;      /* активна трохи жирніша */
}

.tab-content{
  display: none;
  margin-top: 14px;
  padding: 18px;
  border-radius: 16px;
  background: var(--vt-glass-bg);
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 22px rgba(0,0,0,0.08);
}

.tab-content.active{
  display: block;
}

/* Mobile */
@media (max-width: 980px){
  .object-top{
    grid-template-columns: 1fr;
  }
  .object-hero img{
    height: 260px;
  }
  .object-meta__row{
    grid-template-columns: 1fr;
  }
  .object-sidebar{
    position: static;
  }
}

/* --- Single object: gallery slider (Swiper) --- */
.object-sidebar .object-meta{
  margin-top: 0;
  margin-bottom: 14px;
}

.object-gallery{
  display:flex;
  flex-direction:column;
  gap:10px;
}

.object-swiper-main .swiper-slide img{
  width:100%;
  height:360px;          /* компактніше, щоб справа влазили блоки */
  object-fit:cover;
  border-radius:18px;
  display:block;
  box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}

.object-swiper-thumbs .swiper-slide{
  opacity:.6;
  cursor:pointer;
}
.object-swiper-thumbs .swiper-slide-thumb-active{
  opacity:1;
}
.object-swiper-thumbs .swiper-slide img{
  width:100%;
  height:80px;
  object-fit:cover;
  border-radius:12px;
  display:block;
}

@media (max-width: 980px){
  .object-swiper-main .swiper-slide img{ height:260px; }
  .object-swiper-thumbs .swiper-slide img{ height:64px; }
}
/* ===== FIX SWIPER BLACK BLOCK ===== */

.object-swiper-main {
  width: 100%;
  height: 420px;
  border-radius: 20px;
  overflow: hidden;
}

.object-swiper-main .swiper-wrapper {
  height: 100%;
}

.object-swiper-main .swiper-slide {
  height: 100%;
  display: flex;
}

.object-swiper-main .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Thumbs */
.object-swiper-thumbs {
  margin-top: 12px;
}

.object-swiper-thumbs .swiper-slide {
  height: 90px;
  opacity: 0.6;
  cursor: pointer;
}

.object-swiper-thumbs .swiper-slide-thumb-active {
  opacity: 1;
}

.object-swiper-thumbs .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}

/* адаптив */
@media (max-width: 992px) {
  .object-swiper-main {
    height: 300px;
  }

  .object-swiper-thumbs .swiper-slide {
    height: 70px;
  }
}
/* === Swiper thumbs === */
.object-swiper-thumbs { width: 100%; }
.object-swiper-thumbs .swiper-wrapper { align-items: stretch; }

.object-swiper-thumbs .swiper-slide{
  aspect-ratio: 1 / 1;   /* замість фікс height */
  border-radius: 12px;
  overflow: hidden;
  opacity: .7;
  cursor: pointer;
}
.object-swiper-thumbs .swiper-slide-thumb-active{ opacity: 1; }

.object-swiper-thumbs .swiper-slide img{
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: cover !important;
  display: block !important;
}

/* Стрілки */
.object-swiper-main .swiper-button-prev,
.object-swiper-main .swiper-button-next{
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: rgba(255,255,255,0.75);
  box-shadow: 0 10px 22px rgba(0,0,0,0.18);
}

.object-swiper-main .swiper-button-prev:after,
.object-swiper-main .swiper-button-next:after{
  font-size: 16px;
  font-weight: 700;
  color: #1d2b3a;
}

/* Якщо слайд один — сховати стрілки */
.object-swiper-main .swiper-button-disabled{
  opacity: 0 !important;
  pointer-events: none !important;
}

/* адаптив */
@media (max-width: 992px){
  .object-swiper-thumbs .swiper-slide{ height: 70px; }
}
/* прибрати синє "виділення" на слайдері */
.object-gallery,
.object-gallery *{
  -webkit-tap-highlight-color: transparent;
}

.object-gallery .swiper,
.object-gallery .swiper-wrapper,
.object-gallery .swiper-slide{
  user-select: none;
  -webkit-user-select: none;
}

.object-gallery img{
  -webkit-user-drag: none;
}

/* але стрілки та мініатюри мають бути клікабельні */
.object-gallery .swiper-button-prev,
.object-gallery .swiper-button-next,
.object-gallery .object-swiper-thumbs .swiper-slide{
  pointer-events: auto;
}
/* ===== FIX: Gallery tab shows as grid (no left column) ===== */
/* ===== Gallery tab grid ===== */
#tab-gallery .gallery{
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 14px !important;
  margin: 0 !important;
}

#tab-gallery .gallery .gallery-item{
  float: none !important;
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
}

#tab-gallery .gallery a{ display: block !important; }

#tab-gallery .gallery img{
  width: 100% !important;
  aspect-ratio: 4 / 3 !important;   /* замість height */
  object-fit: cover !important;
  border-radius: 14px !important;
  display: block !important;
}

@media (max-width: 992px){
  #tab-gallery .gallery{
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
  #tab-gallery .gallery img{
    aspect-ratio: 1 / 1 !important;
  }
}

/* ===== GLightbox: make image big & centered, no scroll ===== */
.glightbox-container .gslide{
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
}

.glightbox-container .gslide-media,
.glightbox-container .gslide-image{
  width: auto !important;
  height: auto !important;
  max-width: 92vw !important;
  max-height: 88vh !important;
  overflow: hidden !important;
}

.glightbox-container .gslide-image img{
  width: auto !important;
  height: auto !important;
  max-width: 92vw !important;
  max-height: 88vh !important;
  object-fit: contain !important;
  display:block !important;
}

/* трохи більше на широких екранах */
@media (min-width: 1200px){
  .glightbox-container .gslide-image img{
    max-width: min(1200px, 92vw) !important;
    max-height: 88vh !important;
  }
}
/* ===== GLightbox sizing: slightly smaller, consistent ===== */

.glightbox-container .gslide-image img{
  /* загальний розмір (ПК): трохи менше */
  max-width: min(900px, 84vw) !important;
  max-height: 76vh !important;
  object-fit: contain !important;
}

/* На дуже великих екранах не роздувати */
@media (min-width: 1400px){
  .glightbox-container .gslide-image img{
    max-width: 1050px !important;
    max-height: 80vh !important;
  }
}

/* Мобільний: майже на весь екран (так зручніше) */
@media (max-width: 768px){
  .glightbox-container .gslide-image img{
    max-width: 96vw !important;
    max-height: 82vh !important;
  }
}
/* =========================================
   FINAL FIX: Sidebar НЕ sticky (НЕ їздить)
   (paste at the VERY END of style.css)
========================================= */

body.single-sanatorium .object-sidebar,
body.single-sanatorium-page .object-sidebar,
.single-sanatorium-page .object-sidebar,
.single-sanatorium .object-sidebar,
.object-sidebar{
  position: static !important;
  top: auto !important;
  bottom: auto !important;
  left: auto !important;
  right: auto !important;
  transform: none !important;
}

/* щоб права колонка була нормально в потоці */
body.single-sanatorium .object-wrapper,
.single-sanatorium-page .object-top,
.object-top {
    grid-template-columns: minmax(0, 1fr) 340px;
}
.single-sanatorium-page .object-title,
body.single-sanatorium .object-title{
  text-align: center;
  margin-bottom: 18px;
}
/* header offset centralized in base.css/layout.css; avoid duplicate page-level compensation */
.hero-header,
.site-hero,
.main-wrap,
#content{
  padding-top: 0;
}

@media (max-width: 980px){
  .hero-header,
  .site-hero,
  .main-wrap,
  #content{
    padding-top: 0;
  }
}
.booking-btn--primary{
  display: block;
  width: 100%;
  margin-top: 12px;
}

/* Другий CTA текстовий */
.booking-link{
  display: block;
  width: 100%;
  margin-top: 10px;
  padding: 12px 14px;
  text-align: center;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;

  color: #2fa195;
  background: rgba(47,161,149,0.08);
  border: 1px solid rgba(47,161,149,0.35);

  transition: all .2s ease;
}

.booking-link:hover{
  background: rgba(47,161,149,0.15);
  transform: translateY(-1px);
}

.callback-form{
  margin-top: 10px;
}

.callback-status{
  margin-top:10px;
  font-size:14px;
  line-height:1.4;
  color:#103a2b;
}

.callback-form__inner{
  display: grid;
  gap: 10px;
}

.callback-input{
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(36,59,83,.15);
  background: rgba(255,255,255,.85);
  outline: none;
}

.callback-input:focus{
  border-color: rgba(47,161,149,.55);
  box-shadow: 0 0 0 4px rgba(47,161,149,.12);
}

.callback-btn{
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 0;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, #3bb3a6, #2fa195);
  cursor: pointer;
}
#tab-gallery, #tab-gallery * {
  -webkit-tap-highlight-color: transparent;
}

/* заборонити виділення */
#tab-gallery .gallery,
#tab-gallery .gallery * {
  user-select: none;
  -webkit-user-select: none;
}

/* заборонити "перетягування" картинки */
#tab-gallery .gallery img {
  -webkit-user-drag: none;
  user-drag: none;
  pointer-events: none; /* щоб мишка не "хапала" img */
}

/* але клік має йти по <a> */
#tab-gallery .gallery a {
  pointer-events: auto;
  outline: none;
}

/* прибрати outline при кліку мишкою */
#tab-gallery .gallery a:focus,
#tab-gallery .gallery a:active {
  outline: none;
  box-shadow: none;
}

/* =========================
   Rooms (CPT) block in tab-rooms
   Isolated styles to avoid breaking existing galleries
========================= */
.rooms-tab { display:flex; flex-direction:column; gap:28px; }

.room-block { padding:22px; border-radius:26px; }

.room-layout{
  display:grid;
  grid-template-columns: 1.55fr 1fr;
  gap:26px;
  /* Make both columns the same height so the "cascade" bottom line matches */
  align-items: start !important;
}

.room-gallery{
  height: clamp(340px, 36vw, 520px);  /* зробить "вищим" переглядач */
  border-radius: var(--vt-radius-card-lg);
}

/* Swiper займає всю висоту room-gallery */
.room-gallery .swiper,
.room-gallery .swiper-wrapper,
.room-gallery .swiper-slide{
  height: 100%;
}

/* Картинка заповнює слайд */
.room-gallery img{
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  border-radius: var(--vt-radius-card-lg);
  user-select: none;
  -webkit-user-drag: none;
}

/* ОБГОРТКА ТЕКСТУ */
.room-desc-wrapper{
  position: relative;
}

/* ОБРІЗАНИЙ ТЕКСТ */
.room-desc{
    font-weight: 330;
    color: #4a5560;   /* темно-сірий замість чорного */
    line-height: 1.6;
}

/* розгорнутий стан */
.room-desc.expanded{
  max-height: 1000px;
}

.room-desc.expanded::after{
  display: none;
}

/* кнопка */
.room-toggle{
  margin-top: 12px;
  background: none;
  border: none;
  color: #2ca58d;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
}

@media (max-width: 992px){
  .room-layout{ grid-template-columns:1fr; }
}
@media (min-width: 993px){
  .room-info{ position:sticky; top:120px; }
}
/* Важливо для grid — інакше контент може вилазити */
.room-gallery, .room-info { min-width: 0; }

/* Головний слайдер: фіксуємо висоту через пропорцію */
.room-swiper-main{
  border-radius: var(--vt-radius-card-lg);
  overflow: hidden;
  width: 100%;
  aspect-ratio: 16 / 10;      /* можна 16/9 або 4/3 — як тобі краще */
  max-height: 560px;          /* страховка */
}

/* Swiper має розуміти що висота 100% */
.room-swiper-main .swiper-wrapper,
.room-swiper-main .swiper-slide{
  height: 100%;
}

/* Саме це зупиняє “безкінечне лізіння” */
.room-swiper-main img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.room-actions{
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.room-actions .btn-primary{
  background: #2ca58d;
  color: #fff;
  padding: 14px 22px;
  border-radius: 14px;
  text-align: center;
  font-weight: 600;
  transition: .2s;
}

.room-actions .btn-primary:hover{
  background: #228a74;
}

.room-actions .btn-secondary{
  background: transparent;
  border: 1px solid #2ca58d;
  color: #2ca58d;
  padding: 12px 20px;
  border-radius: 14px;
  text-align: center;
}
.room-layout{
  /* Keep top alignment visually, but allow equal-height columns */
  align-items: stretch;
}

.room-info{
  padding-top: 0;     /* прибираємо зайвий верхній відступ */
}

.room-title{
  margin-top: 20px;      /* щоб заголовок не з’їжджав вниз */
  line-height: 1.2;
}

.room-amenities-list.is-open{
  max-height:900px;
}
.room-amenities-list.is-open::after{ display:none; }

.room-toggle-amenities{
  margin-top:10px;
  background:none;
  border:none;
  color:#2ca58d;
  font-weight:600;
  cursor:pointer;
  padding:0;
}
.room-toprow{
    display: flex;
    align-items: center;
    justify-content: space-between; /* розводить в різні боки */
    gap: 16px;
    margin: 12px 0 18px;
}

.room-price{
    font-size: 18px;
    white-space: nowrap;
}

.room-book-inline{
    position: relative; /* фікс: щоб ::after не розтягувався на весь viewport ("друге полотно") */
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 12px 22px;
    border-radius: 16px;

    background: linear-gradient(135deg, #2ca58d, #1f8a78);
    color: #fff;

    font-weight: 600;
    font-size: 15px;
    text-decoration: none;

    box-shadow: 0 10px 20px rgba(44,165,141,.25);
    transition: all .25s ease;
    white-space: nowrap;
}

/* hover ефект */
.room-book-inline:hover{
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(31,138,120,.35);
    background: linear-gradient(135deg, #24937e, #166f60);
}
.room-book-inline::after{
    content:"";
    position:absolute;
    inset:0;
    border-radius:16px;
    box-shadow:0 0 0 0 rgba(44,165,141,.5);
    transition:.3s;
}

.room-book-inline:hover::after{
    box-shadow:0 0 18px 4px rgba(44,165,141,.25);
}
/* 1) Кнопка не може розтягуватися */
.room-toprow .btn-primary,
.room-book-inline{
  position: relative; /* фікс: щоб декоративні псевдо-елементи жили в межах кнопки */
  padding: 8px 18px;     /* було більше */
    font-size: 13px;       /* можна навіть 13px */
    border-radius: 14px;   /* трішки компактніше */
}

/* 2) Якщо в btn-primary є декоративні ::before/::after — не ловлять мишку */
.room-toprow .btn-primary::before,
.room-toprow .btn-primary::after,
.room-book-inline::before,
.room-book-inline::after{
  pointer-events: none;
}

/* 3) На всякий випадок: в room-toprow нічого не перекриває */
.room-toprow{ position: relative; }
.room-info{
  background: rgba(255,255,255,0.70) !important;
  backdrop-filter: blur(18px) !important;
  -webkit-backdrop-filter: blur(18px) !important;

  border: 1px solid rgba(255,255,255,0.75) !important;
  border-radius: 28px !important;

  box-shadow: 0 14px 34px rgba(0,0,0,0.30) !important;
  padding: 6px 32px 30px;

  /* Stretch to the left column height (grid) */
  height: 100%;
  display: flex;
  flex-direction: column;
}

/* Let the description/amenities area take remaining space so the card can "fill" */
.room-desc-wrapper{
  flex: 1;
}

/* =========================================================
   FIXES (2026-02-15)
   - Do NOT shrink top hero photo; widen right column by widening container
   - Rooms tab: push gallery a bit left + widen right description column
========================================================= */

/* 1) Single санаторій: ширше полотно (щоб права колонка збільшилась без зменшення фото) */
body.single-sanatorium .container,
body.single-sanatorium-page .container{
  max-width: 1320px;
}

/* 2) Повертаємо розмір hero-фото як було */
body.single-sanatorium .object-hero img,
body.single-sanatorium-page .object-hero img{
  height: 460px;
  border-radius: var(--vt-radius-card-lg);
}

@media (max-width: 980px){
  body.single-sanatorium .object-hero img,
  body.single-sanatorium-page .object-hero img{
    height: 260px;
  }
}

/* 3) TAB "Номери": ліве фото трохи лівіше + правий блок ширший */
.rooms-tab .room-block{
  padding: 48px;
}

.rooms-tab .room-layout{
  grid-template-columns: 2.0fr 1.8fr;
  gap: 22px;
}

/* легке зміщення галереї вліво, щоб забрати "порожнє" поле */
.rooms-tab .room-gallery{
  margin-left: 0;
}

@media (max-width: 992px){
  .rooms-tab .room-gallery{ margin-left: 0; }
}

/* ============================== */
/* FIX: Bigger top photo + full-width right sidebar blocks (v2 patch) */
/* ============================== */

@media (min-width: 981px){
  /* Keep photo big (Swiper hero) */
  body.single-sanatorium-page .object-swiper-main .swiper-slide img,
  body.single-sanatorium .object-swiper-main .swiper-slide img{
    height: 460px !important;
  }

  /* If fallback hero image is used */
  body.single-sanatorium-page .object-hero img,
  body.single-sanatorium .object-hero img{
    height: 460px !important;
  }

  /* Let the sidebar actually take the full width of the right column */
  body.single-sanatorium-page .object-sidebar,
  body.single-sanatorium .object-sidebar{
    width: 100% !important;      /* overrides old width:280px */
    max-width: none !important;
  }

  /* Make the two right cards the same width */
  body.single-sanatorium-page .object-meta,
  body.single-sanatorium-page .booking-box,
  body.single-sanatorium .object-meta,
  body.single-sanatorium .booking-box{
    width: 100% !important;
  }
}
/* =========================================================
   Swiper arrows: same style for TOP and ROOMS
   ========================================================= */

/* базовий вигляд (круглий білий “плаваючий” контрол) */
.object-swiper-main .swiper-button-prev,
.object-swiper-main .swiper-button-next,
.room-swiper-main .swiper-button-prev,
.room-swiper-main .swiper-button-next{
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: rgba(255,255,255,0.75);
  box-shadow: 0 14px 30px rgba(0,0,0,0.18);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

/* hover */
.object-swiper-main .swiper-button-prev:hover,
.object-swiper-main .swiper-button-next:hover,
.room-swiper-main .swiper-button-prev:hover,
.room-swiper-main .swiper-button-next:hover{
  transform: translateY(-1px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.22);
  background: rgba(255,255,255,0.92);
}

/* іконка стрілки */
.object-swiper-main .swiper-button-prev:after,
.object-swiper-main .swiper-button-next:after,
.room-swiper-main .swiper-button-prev:after,
.room-swiper-main .swiper-button-next:after{
  font-size: 20px;
  font-weight: 800;
  color: #1d2b3a;
}

/* позиціонування (як у верхньому блоці) */
.object-swiper-main .swiper-button-prev,
.room-swiper-main .swiper-button-prev{
  left: 14px;
}

.object-swiper-main .swiper-button-next,
.room-swiper-main .swiper-button-next{
  right: 14px;
}

/* якщо swiper вимикає кнопку */
.object-swiper-main .swiper-button-disabled,
.room-swiper-main .swiper-button-disabled{
  opacity: 0 !important;
  pointer-events: none !important;
}

/* =========================================================
   ROOMS TAB: one-card toggle (no second canvas)
   - Closed: right card equals left gallery height
   - Open: right card grows naturally
========================================================= */

#tab-rooms .room-layout{ align-items: stretch !important; }

#tab-rooms .room-info{
  height: var(--room-gallery-h, auto) !important;
  overflow: hidden;
  min-height: 0;
}

#tab-rooms .room-info .room-desc-wrapper{
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
}

#tab-rooms .room-info.is-open{
  height: auto !important;
  overflow: visible;
}

#tab-rooms .room-info.is-open .room-desc-wrapper{
  overflow: visible;
}

#tab-rooms .room-info:not(.is-open) .room-amenities-list li:nth-child(n+7){
  display:none;
}

#tab-rooms .room-more-btn{
  margin-top: 14px;
  background: none;
  border: none;
  color: #2ca58d;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
  align-self: flex-start;
}

.page-wrap{
  flex: 1 0 auto;
}

.site-footer,
footer,
.site-footer{
  position: relative !important;
  bottom: auto !important;
}

footer,
.site-footer{
  margin-top: auto;
}
html, body { height: 100%; }
/* твоя головна обгортка контенту (заміни селектор якщо інший) */
.page-wrap, #page, .site{
  flex: 1 0 auto;
}

/* футер НЕ fixed */
footer, .site-footer{
  position: relative !important;
  bottom: auto !important;
  margin-top: auto;
  width: 100%;
}
#tab-rooms{
  padding-left: 0;
  padding-right: 0;
}

#tab-rooms .rooms-tab .room-block{
  padding-left: 62px;
  padding-right: 22px;
}
.vtr-teal{
  color: #0f766e;
  font-weight: 800;
}

/* Чорний жирний (якщо потрібно явно) */
.vtr-bold{
  color: var(--vtr-heading);
  font-weight: 800;
}

/* Заборона переносу (ціни, грн/доба і т.д.) */
.vtr-nowrap{
  white-space: nowrap;
}
/* FIX: make booking buttons одинакової ширини в сайдбарі */
.booking-box .booking-btn,
.booking-box .booking-link{
  display: block;
  width: 100%;
  box-sizing: border-box;
  border-radius: 14px;
}

/* щоб висота/відступи виглядали однаково */
.booking-box .booking-btn{
  padding: 14px 16px;
}

.booking-box .booking-link{
  padding: 14px 16px; /* було 12px — робимо як у booking-btn */
}

/* =========================================================
   VTR: 404 + THANK YOU (safe, isolated)
========================================================= */
.vtr-404,
.vtr-thanks{
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  padding: 34px 26px;
  border-radius: 26px;
  background: var(--vt-glass-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 18px 55px rgba(0,0,0,0.12);
}

.vtr-404-code{
  font-size: clamp(72px, 9vw, 128px);
  line-height: 1;
  margin: 0 0 12px;
  font-weight: 700;
  letter-spacing: 2px;

  background: linear-gradient(
    180deg,
    rgba(15, 23, 42, 0.35),
    rgba(15, 23, 42, 0.08)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;

  opacity: 0.8;
}

.vtr-404-title,
.vtr-thanks-title{
  margin: 0 0 10px;
  font-size: 26px;
  font-weight: 800;
  color: var(--vtr-heading);
}

.vtr-404-text,
.vtr-thanks-text{
  margin: 0 0 18px;
  color: var(--vtr-muted);
  font-size: 14px;
  line-height: 1.6;
}

.vtr-404-actions,
.vtr-thanks-actions{
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.vtr-404-actions .booking-btn,
.vtr-thanks-actions .booking-btn{
  display: block;
  width: 100%;
  padding: 14px 16px;
  border-radius: 14px;
  text-align: center;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, #3bb3a6, #2fa195);
  text-decoration: none;
  box-shadow: 0 10px 22px rgba(47,161,149,.25);
}

.vtr-404-actions .booking-link,
.vtr-thanks-actions .booking-link{
  display: block;
  width: 100%;
  padding: 12px 14px;
  border-radius: 14px;
  text-align: center;
  font-weight: 800;
  color: #2fa195;
  background: rgba(47,161,149,0.08);
  border: 1px solid rgba(47,161,149,0.30);
  text-decoration: none;
}

/* Fullscreen 404 / Thanks (без лівого меню, картка по центру) */
.vtr-fullscreen{
  min-height: calc(100vh - 140px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 64px 18px;
}

.vtr-fullscreen-card{
  width: min(720px, 92vw);
  padding: 34px 28px;
  border-radius: 26px;
  background: rgba(255,255,255,.78);
  box-shadow: 0 18px 60px rgba(0,0,0,.18);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.vtr-404-actions a,
.vtr-thanks-actions a{
  pointer-events: auto;
}

@media (max-width: 640px){
  .vtr-fullscreen{ padding: 44px 14px; }
  .vtr-fullscreen-card{ padding: 26px 18px; }
}

@media (max-width: 980px){
  .vtr-404, .vtr-thanks{
    padding: 26px 18px;
    border-radius: var(--vt-radius-card-lg);
  }
}

/* ===== Звичайні сторінки (page.php) ===== */
.vtr-page{
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
  padding: 32px;
  border-radius: 26px;
  background: rgba(255,255,255,.70);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 22px 55px rgba(0,0,0,.14);
}

.vtr-page .section-title{ margin-top: 0; }

@media (max-width: 980px){
  .vtr-page{ padding: 26px 18px; border-radius: var(--vt-radius-card-lg); }
}

.vtr-thanks h1,
.hero-thankyou h1 {
  font-family: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-weight: 800;
  font-size: clamp(32px, 3.2vw, 48px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
  color: var(--vtr-heading);
}

.vtr-thanks p,
.hero-thankyou p {
  font-family: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.6;
  opacity: 0.9;
  max-width: 56ch;
  margin: 0 auto 18px;
}

/* Маленький штрих “преміум” */
.vtr-thanks p strong,
.hero-thankyou p strong {
  font-weight: 700;
}

.vtr-thanks h1::after,
.hero-thankyou h1::after {
  content: "";
  display: block;
  width: 80px;
  height: 1px;
  margin: 10px auto 0;
  background: linear-gradient(
    90deg,
    rgba(0,0,0,0) 0%,
    rgba(30, 160, 150, 0.6) 50%,
    rgba(0,0,0,0) 100%
  );
  opacity: 0.7;
}

.vtr-thanks,
.hero-thankyou .glass-card {
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow:
    0 20px 60px rgba(0,0,0,0.15),
    inset 0 1px 0 rgba(255,255,255,0.5);
}

/* Fix: lighter button typography on Thanks/404 */
.vtr-thanks-actions .booking-btn,
.vtr-404-actions .booking-btn{
  font-weight: 600;
  letter-spacing: 0.35px;
  font-size: 15px;
}

.vtr-thanks-actions .booking-link,
.vtr-404-actions .booking-link{
  font-weight: 600;
  letter-spacing: 0.35px;
  font-size: 14px;
}

.vtr-thanks-actions .booking-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.12);
  transition: all .25s ease;
}

.vtr-404-number {
  background: linear-gradient(180deg, rgba(0,0,0,0.15), rgba(0,0,0,0.05));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* === All booking submit buttons unified === */

.booking-btn,
button[type="submit"] {
  background: linear-gradient(90deg, #00b894, #00cec9) !important;
  color: #fff !important;
  border: none !important;

  box-shadow: 0 6px 14px rgba(31,168,150,.18);
  transform: translateY(0);

  transition: background .18s ease, transform .18s ease, box-shadow .18s ease;
}

/* hover only */
.booking-btn:hover,
button[type="submit"]:hover {
  background: linear-gradient(90deg, #00a188, #00b8c1) !important;
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(31,168,150,.25);
}

:root{
  --btn-turq: #33b1a6;
  --btn-turq-hover: #2a8f84;
}

/* Єдиний стиль для всіх “Забронювати” */

.booking-btn,
.room-book-inline,
.vtr-booking__submit{
  background: linear-gradient(90deg, #00b894, #00cec9) !important;
  color: #fff !important;
  border: none !important;
  text-decoration: none !important;

  font-weight: 600;
  letter-spacing: .2px;

  box-shadow: 0 6px 14px rgba(31,168,150,.18);
  transition: background-color .18s ease, transform .18s ease, box-shadow .18s ease;
  -webkit-tap-highlight-color: transparent;
}

/* Hover = темніша */
.booking-btn:hover,
.room-book-inline:hover,
.vtr-booking__submit:hover{
  background: linear-gradient(90deg, #00a188, #00b8c1) !important;
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(31,168,150,.25);
}

/* Фокус акуратно */
.booking-btn:focus,
.room-book-inline:focus,
.vtr-booking__submit:focus{ outline: none; }

.booking-btn:focus-visible,
.room-book-inline:focus-visible,
.vtr-booking__submit:focus-visible{
  outline: 2px solid rgba(51,177,166,.35);
  outline-offset: 2px;
}

.room-book-inline{
  font-size: 14px;
  padding: 9px 18px;
}

.booking-btn,
.room-book-inline,
.vtr-booking__submit {
  cursor: pointer;
}

.booking-link {
  text-decoration: none !important;
}

.booking-link:hover {
  text-decoration: none !important;
}
.vtr-action-card{ margin-bottom: 18px; }
.vtr-action-card:last-child{ margin-bottom: 0; }

.vtr-action-body{ margin-top: 14px; }
.vtr-action-body p{ margin: 0 0 12px; }
#tab-actions .vtr-tariff-card{
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(15,23,42,.08);
  border-radius: 16px;
  padding: 22px 22px;
  box-shadow: 0 14px 40px rgba(15,23,42,.06);
  backdrop-filter: blur(10px);
}

#tab-actions .vtr-tariff-head{
  padding-bottom: 14px;
  margin-bottom: 14px;
  border-bottom: 1px solid rgba(15,23,42,.08);
}

#tab-actions .vtr-tariff-head h4{
  margin: 0;
  font-weight: 700;
  font-size: 18px;
}

#tab-actions .vtr-action-body{ margin-top: 12px; }
#tab-actions .vtr-action-card{ margin-bottom: 18px; }
#tab-actions .vtr-action-card:last-child{ margin-bottom: 0; }

#tab-actions .vtr-tariffs{
  display: grid;
  gap: 18px;
}

#tab-actions .vtr-action-body{
  margin-top: 12px;
  line-height: 1.6;
}

#tab-actions .vtr-tariff-card{
  position: relative;
  background: linear-gradient(
    135deg,
    rgba(255,255,255,.82),
    rgba(255,255,255,.65)
  );
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);

  border: 1px solid rgba(15,23,42,.06);
  border-radius: var(--vt-radius-card-lg);

  padding: 26px 28px;
  box-shadow:
    0 20px 60px rgba(15,23,42,.06),
    0 2px 06px rgba(15,23,42,.03);

  transition: all .35s ease;
}

#tab-actions .vtr-tariff-head{
  padding-bottom: 16px;
  margin-bottom: 18px;
  border-bottom: 1px solid rgba(15,23,42,.07);
}

#tab-actions .vtr-tariff-head h4{
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  color: var(--vtr-heading);
}

#tab-actions .vtr-action-body{
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--vtr-text);
}

/* списки як у тарифах */
#tab-actions .vtr-checks{
  margin-top: 12px;
}

#tab-actions .vtr-checks li{
  margin-bottom: 8px;
}

#tab-actions .vtr-tariff-card{
  position: relative;
  overflow: hidden;
}

#tab-actions .vtr-tariff-card::before{
  content:"";
  position:absolute;
  top:0;
  left:0;
  width:100%;
  height:1.5px;
  background: linear-gradient(
    90deg,
    rgba(16,185,129,.50),
    rgba(14,165,164,.40)
  );
  border-top-left-radius:22px;
  border-top-right-radius:22px;
  pointer-events:none;
}

#tab-actions .vtr-tariff-card::after{
  content:"";
  position:absolute;
  top:0;
  left:0;
  width:100%;
  height:110px;
  pointer-events:none;

  background: linear-gradient(
    180deg,
    rgba(14,165,164,.08) 0%,
    rgba(14,165,164,.05) 30%,
    rgba(14,165,164,.02) 55%,
    transparent 80%
  );
}

#tab-actions .vtr-tariff-card{
  position: relative;
  border: 1px solid rgba(15,23,42,.08);
  border-top: 0;
  border-radius: var(--vt-radius-card-lg);
  overflow: hidden; /* важливо – не обрізаємо тінь */

  /* основна тінь картки */
  box-shadow:
    0 20px 60px rgba(15,23,42,.08),
    0 4px 14px rgba(15,23,42,.05);
}

#tab-actions .vtr-tariff-card::before{
  content:"";
  position:absolute;
  top:0;
  left:0;
  right:0;
  height:2px;
  border-top-left-radius:22px;
  border-top-right-radius:22px;

  background: linear-gradient(
    90deg,
    rgba(16,185,129,.65),
    rgba(14,165,164,.55)
  );

  box-shadow: 
    0 6px 14px -2px rgba(14,165,164,.45);

  pointer-events:none;
}

.vtr-tariff-card{
  position: relative;
  border: 1px solid rgba(15,23,42,.08);
  border-radius: var(--vt-radius-card-lg);
  padding: 26px 28px;

  background: rgba(255,255,255,.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);

  box-shadow:
    0 20px 60px rgba(15,23,42,.08),
    0 4px 14px rgba(15,23,42,.05);
}

/* Card header */
.vtr-tariff-head{
  position: relative;
  padding-bottom: 16px;
  margin-bottom: 18px;
  border-bottom: 1px solid rgba(15,23,42,.08);
}

.vtr-tariff-head h4{
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  color: var(--vtr-heading);
}

/* Content typography helpers */
.vtr-action-body{
  margin-top: 14px;
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--vtr-text);
}

.vtr-action-body p{ margin: 0 0 12px; }

.vtr-checks{ margin-top: 12px; }
.vtr-checks li{ margin-bottom: 8px; }

.vtr-action-card{ margin-bottom: 18px; }
.vtr-action-card:last-child{ margin-bottom: 0; }

/* Grid stack helper (if used) */
.vtr-tariffs{
  display: grid;
  gap: 18px;
}

/* Optional decor (apply only where you want the top glow/line) */
.vtr-card-decor{
  overflow: hidden;
}

.vtr-card-decor::before{
  content:"";
  position:absolute;
  top:0; left:0; right:0;
  height:2px;
  border-top-left-radius:22px;
  border-top-right-radius:22px;
  background: linear-gradient(90deg, rgba(16,185,129,.65), rgba(14,165,164,.55));
  box-shadow: 0 6px 14px -2px rgba(14,165,164,.45);
  pointer-events:none;
}

.vtr-card-decor::after{
  content:"";
  position:absolute;
  top:0; left:0;
  width:100%;
  height:110px;
  background: linear-gradient(
    180deg,
    rgba(14,165,164,.08) 0%,
    rgba(14,165,164,.05) 30%,
    rgba(14,165,164,.02) 55%,
    transparent 80%
  );
  pointer-events:none;
}

/* vtr-info-card: centered small line under the header (safe version, no resets) */
.vtr-info-card .vtr-tariff-head{
  position: relative;
  padding-bottom: 16px;
}

.vtr-info-card .vtr-tariff-head::after{
  content:"";
  position:absolute;
  left:50%;
  bottom:6px;
  transform:translateX(-50%);
  width:60px;
  height:2px;
  border-radius:2px;
  background: rgba(33,159,147,.5);
  pointer-events:none;
}

/* Лікування: відступи між картками */
#tab-treat .vtr-treat-stack{
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* або якщо treat-stack не flex — просто margin між секціями */
#tab-treat .vtr-treat-stack > .vtr-tariff-card{
  margin-bottom: 22px;
}
#tab-treat .vtr-treat-stack > .vtr-tariff-card:last-child{
  margin-bottom: 0;
}

#tab-faq .vtr-faq {
  display: grid;
  gap: 14px;
  max-width: 880px;
  margin: 0 auto;
}

#tab-faq .vtr-tariff-card,
#tab-faq .vtr-tariff-card.glass-card{
  position: relative;
  padding: 0 !important;
  margin: 0 !important;
  border-radius: 22px;
  overflow: hidden;

  background: rgba(255,255,255,.92);
  border: 1px solid rgba(15,23,42,.10);
  box-shadow: 0 14px 30px rgba(15,23,42,.08);
}

#tab-faq .vtr-card-decor::before{
  content:"";
  position:absolute;
  top:0;
  left:0;
  right:0;
  height:3px;
  border-top-left-radius:22px;
  border-top-right-radius:22px;
  background: linear-gradient(90deg, rgba(16,185,129,.95), rgba(14,165,164,.85));
  box-shadow: 0 6px 16px -2px rgba(14,165,164,.35);
  pointer-events:none;
}

#tab-faq .vtr-card-decor::after{
  content:"";
  position:absolute;
  top:0;
  left:0;
  width:100%;
  height:72px;
  background: linear-gradient(
    180deg,
    rgba(14,165,164,.05) 0%,
    rgba(14,165,164,.02) 45%,
    transparent 100%
  );
  pointer-events:none;
}

#tab-faq .vtr-faq-q {
  width: 100%;
  min-height: 52px;
  background: transparent;
  border: 0;
  cursor: pointer;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;

  padding: 14px 18px;
  text-align: left;

  font: inherit;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--vtr-text);
}

#tab-faq .vtr-faq-q::after {
  content: "";
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  margin-left: 12px;
  border-right: 2px solid rgba(15,23,42,.55);
  border-bottom: 2px solid rgba(15,23,42,.55);
  transform: rotate(45deg);
  transition: transform .25s ease;
}

#tab-faq .vtr-faq-item.is-open .vtr-faq-q::after {
  transform: rotate(-135deg);
}

#tab-faq .vtr-faq-a {
  padding: 14px 18px 18px;
  border-top: 1px solid rgba(15,23,42,.08);
  color: #0f172a;
  font-size: 14px;
  line-height: 1.65;
}

#tab-faq .vtr-faq-a p {
  margin: 0 0 10px;
  color: #0f172a;
}

#tab-faq .vtr-faq-a > *:first-child {
  margin-top: 12px;
}

#tab-faq .vtr-faq-a > *:last-child {
  margin-bottom: 0;
}

.vtr-faq-a{
  display: none;
}

.vtr-faq-item.is-open .vtr-faq-a{
  display: block;
}

@media (max-width: 768px){
  #tab-faq .vtr-faq {
    gap: 10px;
    padding: 0 6px;
    max-width: 100%;
  }

  #tab-faq .vtr-faq-q {
    min-height: 46px;
    padding: 12px 14px;
    font-size: 14px;
    line-height: 1.35;
  }

  #tab-faq.tab-content{
    padding: 8px 6px;
  }

  #tab-faq .vtr-faq-a {
    padding: 12px 14px 14px;
    font-size: 13.5px;
    line-height: 1.6;
  }
}

#tab-faq .vtr-faq-q{
  -webkit-tap-highlight-color: transparent;
  appearance: none;
  -webkit-appearance: none;
  box-shadow: none;
}

#tab-faq .vtr-faq-q:focus{
  outline: none;
}

#tab-faq .vtr-faq-q:focus-visible{
  outline: 2px solid rgba(43,179,168,.22);
  outline-offset: -2px;
}

#tab-faq .vtr-faq-q:hover,
#tab-faq .vtr-faq-q:active,
#tab-faq .vtr-faq-q:focus,
#tab-faq .vtr-faq-q:focus-visible{
  background: transparent !important;
  outline: none !important;
  box-shadow: none !important;
}

#tab-faq .vtr-faq-item{
  -webkit-tap-highlight-color: transparent;
}

#tab-reviews .vtr-review-list{
  max-width: 880px;
  margin: 0 auto;
  display: grid;
  gap: 10px;
}

#tab-reviews .vtr-review{
  position: relative;
  overflow: hidden;  
}

#tab-reviews .vtr-review::before{
  content:"";
  position:absolute;
  top:0;
  left:0;
  width:100%;
  height:2px;
  background: linear-gradient(90deg, #2bb3a8, #3cc4b9);
}

#tab-reviews .vtr-review-top{
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

#tab-reviews .vtr-review-author{
  display: flex;
  align-items: center;
  gap: 10px;
}

#tab-reviews .vtr-review-avatar{
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: rgba(255,255,255,.9);
  box-shadow: 0 4px 12px rgba(15,23,42,.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 14px;
  color: var(--vtr-heading);
}

#tab-reviews .vtr-review-name{
  font-weight: 600;
  color: var(--vtr-heading);
  margin-bottom: 2px;
}

#tab-reviews .vtr-review-date{
  font-size: 13px;
  color: var(--vtr-muted);
}

#tab-reviews .vtr-review-rating{
  font-size: 14px;
  color: #f59e0b; 
  white-space: nowrap;
}

/* Текст відгуку */
#tab-reviews .vtr-review-text{
  color: var(--vtr-text);
  line-height: 1.7;
  font-size: 15px;
}

#tab-reviews .vtr-review-action{
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 18px;
}

.vtr-btn-review{
  display: inline-flex;       
  align-items: center;         
  justify-content: center;     

  height: 36px;                
  padding: 0 20px;             

  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;

  background: rgba(43,179,168,.12);
  color: #2bb3a8;
  border: 1px solid rgba(43,179,168,.35);

  box-shadow: none;
}

/* Обгортка форми */
#tab-reviews .vtr-review-form{
  margin-top: 14px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

#tab-reviews .vtr-review-list{
  margin: 36px auto 0;
}

#tab-reviews .vtr-review-form-inner{
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Ряди форми */
#tab-reviews .vtr-review-row{}

#tab-reviews .vtr-review-form input,
#tab-reviews .vtr-review-form textarea {
  width: 100%;
  border-radius: 28px;
  padding: 14px 18px;
  font-size: 15px;
  border: 1px solid rgba(0, 160, 140, 0.25);
  background: rgba(255, 255, 255, 0.6);
  color: #2b2b2b;
  outline: none;
  transition: all 0.25s ease;
  box-shadow: 0 6px 18px rgba(0,0,0,0.04);
}

#tab-reviews .vtr-review-form textarea {
  border-radius: 20px;
  resize: vertical;
  min-height: 90px;
}

/* Фокус */
#tab-reviews .vtr-review-form input::placeholder,
#tab-reviews .vtr-review-form textarea::placeholder {
  color: #8f9a9c;
}

#tab-reviews .vtr-review-row-submit{
   text-align: center;
}

#tab-reviews .vtr-review-row-submit button{
  padding: 7px 18px;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  font-weight: 600;
  font-size: 13px;
  color: #fff;
  background: linear-gradient(135deg,#2bb3a8,#3cc4b9);
  box-shadow: 0 6px 16px rgba(15,23,42,.15);
}

.vtr-honeypot{
  position: absolute;
  left: -9999px;
}

#tab-desc.tab-content {
  background: transparent;          
  padding: 26px 26px 32px;          
  margin-top: 18px;                 
}

/* Загальна обгортка опису */
.san-desc {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

/* Сітка карток */
.san-desc-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

@media (max-width: 960px) {
  .san-desc-grid {
    grid-template-columns: 1fr;
  }
}

/* Окрема картка */
.san-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 18px 20px;
  box-shadow: 0 14px 38px rgba(15, 35, 52, 0.08);
  border: 1px solid rgba(15, 35, 52, 0.04);
}

.san-card__title {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 10px;
  color: var(--vtr-text);
  position: relative;
}

.san-card__title::after {
  content: "";
  display: block;
  width: 54px;
  height: 3px;
  border-radius: 999px;
  margin-top: 8px;
  background: linear-gradient(90deg, #00b894, #00cec9);
}

.san-card__list {
  margin: 0;
  padding-left: 18px;
  font-size: 14px;
  line-height: 1.6;
  color: #334e68;
}

/* SEO-блок з повним описом */
.san-seo-block {
  background: #ffffff;
  border-radius: var(--vt-radius-card-lg);
  padding: 22px 24px 24px;
  box-shadow: 0 18px 45px rgba(15, 35, 52, 0.09);
  border: 1px solid rgba(15, 35, 52, 0.04);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.san-seo-block__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.san-seo-block__title {
  font-size: 20px;
  font-weight: 700;
  margin: 0;
  color: #102a43;
}

.san-seo-block__body p:first-child {
  margin-top: 0;
}

.san-seo-block__body p:last-child {
  margin-bottom: 0;
}

/* Кнопка під SEO-текстом */
.san-seo-block__cta {
  margin-top: 4px;
}

.san-seo-block__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  background: linear-gradient(90deg, #00b894, #00cec9);
  color: #ffffff;
  box-shadow: 0 6px 14px rgba(31,168,150,0.18);
}

.san-seo-block__btn:hover {
  transform: translateY(-1px);
  

  box-shadow: 0 6px 14px rgba(31,168,150,0.18),
    0 2px 6px rgba(31,168,150,0.12);
}

#tab-desc .san-card,
#tab-desc .san-seo-block {
  position: relative;
  background: linear-gradient(
    135deg,
    rgba(255,255,255,.82),
    rgba(255,255,255,.65)
  );
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);

  border: 1px solid rgba(15,23,42,.06);
  border-radius: var(--vt-radius-card-lg);

  padding: 26px 28px;
  box-shadow:
    0 20px 60px rgba(15,23,42,.06),
    0 2px 6px rgba(15,23,42,.03);

  transition: all .35s ease;
}

/* Верхня кольорова полоска */
#tab-desc .san-card::before,
#tab-desc .san-seo-block::before {
  content:"";
  position:absolute;
  top:0;
  left:0;
  width:100%;
  height:1.5px;
  background: linear-gradient(
    90deg,
    rgba(16,185,129,.50),
    rgba(14,165,164,.40)
  );
  border-top-left-radius:22px;
  border-top-right-radius:22px;
  pointer-events:none;
}

/* Легкий зелений градієнт зверху (як у тарифах) */
#tab-desc .san-card::after,
#tab-desc .san-seo-block::after {
  content:"";
  position:absolute;
  top:0;
  left:0;
  width:100%;
  height:110px;
  pointer-events:none;

  background: linear-gradient(
    180deg,
    rgba(14,165,164,.08) 0%,
    rgba(14,165,164,.05) 30%,
    rgba(14,165,164,.02) 55%,
    transparent 80%
  );
}

/* Заголовки та полоска під ними */
#tab-desc .san-card__title {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 10px;
  color: var(--vtr-heading);
  position: relative;
}

#tab-desc .san-card__title::after {
  content: "";
  display: block;
  width: 64px;
  height: 3px;
  border-radius: 999px;
  margin-top: 8px;
  background: linear-gradient(90deg, #00b894, #00cec9);
}

.object-tabs-wrap #tab-desc.tab-content {
  background: transparent;
  margin-top: 20px;
  padding: 28px 28px 34px;
}

/* Сітка */
.san-desc {
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.san-desc-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

@media (max-width: 960px) {
  .san-desc-grid {
    grid-template-columns: 1fr;
  }
}

#tab-desc .san-card__title::after {
  content: none;
}

#tab-desc .san-card__title {
  display: block;
  padding-bottom: 12px;
  margin: 0 0 14px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  font-size: 18px;
  font-weight: 700;
  color: var(--vtr-heading);
}

#tab-desc .san-card,
#tab-desc .san-seo-block {
  overflow: hidden;
}

#tab-desc .san-seo-block {
  grid-column: 1 / -1;   
  margin-top: 10px;
}

#tab-desc .san-seo-block__header {
  text-align: center;
  margin-bottom: 20px;
}

#tab-desc .san-seo-block__title {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

#tab-desc .san-seo-block__title > *:first-child{
  white-space: nowrap;
}

#tab-desc .san-seo-block__title-name {
  display: inline;
}

@media (max-width: 1024px) {
  #tab-desc .san-seo-block__title-name {
    display: block;
  }
}

#tab-desc .san-seo-block hr {
  border: none;
  height: 2px;
  width: 80%;
  margin: 40px auto;
  border-radius: 2px;

  background: linear-gradient(
    90deg,
    transparent,
    #2fb5a3,
    #2fb5a3,
    transparent
  );
}

.san-desc .san-card p,
.san-desc .san-card li,
.san-seo-block__body p,
.san-seo-block__body li {
  font-family: inherit;
  font-size: 15px;
  line-height: 1.6;
  color: #10314a;
}

.san-desc .san-card ul {
  margin: 0 0 0 18px;
  padding: 0;
}

/* Вкладка "Опис" без полотна */
#tab-desc.tab-content {
    background: transparent !important;
    padding: 0 !important;
    margin-top: 0 !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
}

#tab-desc .san-desc {
    margin-top: 16px;
}

.tab-content {
    margin-top: 24px;
}

.san-seo-block__btn--outline{
  background: transparent;
  border: 2px solid #2bb3a3;
  color: #2bb3a3;
}

.san-seo-block__cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.san-seo-block__btn,
.san-seo-block__btn:visited,
.san-seo-block__btn:hover,
.san-seo-block__btn:focus {
  text-decoration: none !important;
}

.object-tabs-wrap .tab-content {
  font-size: 14px;
  line-height: 1.7;
  color: var(--vtr-text);
}

.object-tabs-wrap .tab-content h2,
.object-tabs-wrap .tab-content h3 {
  color: var(--vtr-text);
  font-weight: 700;
}

.object-tabs-wrap .tab-content,
.object-tabs-wrap .tab-content p,
.object-tabs-wrap .tab-content li {
  font-size: 14px;
  line-height: 1.7;
  color: var(--vtr-text);
}

.object-tabs-wrap .tab-content p {
  margin: 0;
}

#tab-price .vtr-prices,
#tab-price .vtr-prices .vtr-price-table {
  font-size: 14px;
  line-height: 1.6;
  color: var(--vtr-heading);
}

.sidebar-list {
  background: transparent;
  padding: 6px 4px 8px;
}

.sidebar-list li {
  margin: 0 0 4px 0;
}

.sidebar-list li:last-child {
  margin-bottom: 0;
}

.sidebar-list li .sidebar-link {
  display: block;
  padding: 7px 12px;
  border-radius: 999px;
  background: transparent;
  text-decoration: none;
  font-size: 13px;
  line-height: 1.4;
  color: var(--vtr-text);
  transition: background 0.18s ease, color 0.18s ease, transform 0.12s ease;
  border: none;
}

.sidebar-list li .sidebar-link:hover {
  background: rgba(20, 179, 164, 0.06);
  color: #155a86;
  transform: translateX(2px);
}

.sidebar .sidebar-list li,
.sidebar .sidebar-list li * {
  background: transparent !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  border: none !important;
}

.sidebar .sidebar-list {
  padding: 6px 4px 8px !important;
}

.sidebar .sidebar-list li {
  margin: 0 !important;
}

.sidebar .sidebar-list li a {
  display: block;
  padding: 7px 12px;
  font-size: 14px;        
  line-height: 1.6;
  color: var(--vtr-text);
  text-decoration: none;
  border-bottom: none;   
  border-radius: 0;
  transition: background 0.18s ease, color 0.18s ease, transform 0.12s ease;
}

.sidebar .sidebar-list li:last-child > a {
  border-bottom: none;
}

.sidebar .sidebar-list li:not(.active):not(.current-menu-item) > a:hover {
  background: rgba(20, 179, 164, 0.06);
  color: #155a86;
  transform: translateX(2px);
}

.sidebar .sidebar-list li.active > a,
.sidebar .sidebar-list li.current-menu-item > a {
  position: relative;
  background: linear-gradient(
    90deg,
    rgba(0, 175, 200, 0.10),
    rgba(0, 175, 200, 0.00)
  ) !important;                /* легка бірюзова заливка */
  color: #1c8fb6 !important;
  font-weight: 600;

  border-radius: 0 !important; 
  box-shadow: none !important;

  padding-left: 22px;          
}

.sidebar .sidebar-list li.active > a::before,
.sidebar .sidebar-list li.current-menu-item > a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: rgba(0, 175, 200, 0.85);
}

.sidebar .sidebar-list li.active > a:hover,
.sidebar .sidebar-list li.current-menu-item > a:hover {
  background: linear-gradient(
    90deg,
    rgba(0, 175, 200, 0.14),
    rgba(0, 175, 200, 0.02)
  ) !important;
  transform: none;
}

.sidebar .sidebar-toggle + * {
  background: transparent !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  border: none !important;
}

.sidebar .sidebar-toggle + * > .sidebar-list {
  background: transparent !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  border: none !important;
}

.sidebar li.active > .sidebar-link:hover,
.sidebar li.current-menu-item > .sidebar-link:hover {
  background: linear-gradient(
    90deg,
    rgba(0, 175, 200, 0.14),
    rgba(0, 175, 200, 0.02)
  );
  color: #1c8fb6;
  transform: none;
}

@media (max-width: 768px) {

  #tab-actions .vtr-tariff-card,
  #tab-treat .vtr-tariff-card {
    width: calc(100% + 20px);
    margin-left: -10px;
    margin-right: -10px;
  }

}

/* =========================
   Treatment tab helpers
========================= */

#tab-treat .vtr-treat-intro{
  margin-bottom: 22px;
}

#tab-treat .vtr-treat-intro > *:last-child{
  margin-bottom: 0;
}

#tab-treat .vtr-treat-stack{
  display: grid;
  gap: 18px;
}

#tab-treat .vtr-tariff-card{
  position: relative;
  overflow: hidden;
}

#tab-treat .vtr-tariff-card::before{
  content:"";
  position:absolute;
  top:0;
  left:0;
  right:0;
  height:2px;
  border-top-left-radius:22px;
  border-top-right-radius:22px;
  background: linear-gradient(
    90deg,
    rgba(16,185,129,.65),
    rgba(14,165,164,.55)
  );
  box-shadow: 0 6px 14px -2px rgba(14,165,164,.45);
  pointer-events:none;
}

#tab-treat .vtr-tariff-card::after{
  content:"";
  position:absolute;
  top:0;
  left:0;
  width:100%;
  height:110px;
  pointer-events:none;
  background: linear-gradient(
    180deg,
    rgba(14,165,164,.08) 0%,
    rgba(14,165,164,.05) 30%,
    rgba(14,165,164,.02) 55%,
    transparent 80%
  );
}

#tab-treat .vtr-tariff-head{
  display: block;
}

#tab-treat .vtr-tariff-head h2,
#tab-treat .vtr-tariff-head h3,
#tab-treat .vtr-tariff-head h4,
#tab-treat h2.vtr-tariff-head,
#tab-treat h3.vtr-tariff-head,
#tab-treat h4.vtr-tariff-head{
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  color: var(--vtr-heading);
}

#tab-treat .vtr-checks.vtr-checks--check{
  margin: 0;
  padding: 0;
  list-style: none;
}

#tab-treat .vtr-checks.vtr-checks--check li{
  position: relative;
  margin-bottom: 10px;
  padding-left: 28px;
  list-style: none;
}

#tab-treat .vtr-checks.vtr-checks--check li:last-child{
  margin-bottom: 0;
}

#tab-treat hr{
  border: none;
  height: 2px;
  width: 80%;
  margin: 34px auto;
  border-radius: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    #2fb5a3,
    #2fb5a3,
    transparent
  );
}

#tab-treat p{
  margin: 0 0 14px;
}

#tab-treat p:last-child{
  margin-bottom: 0;
}

/* Базовий список без стандартних маркерів */
.vtr-checks{
  margin: 0;
  padding: 0;
  list-style: none;
}

.vtr-checks li{
  position: relative;
  list-style: none;
  padding-left: 28px;
  margin-bottom: 10px;
}

.vtr-checks li:last-child{
  margin-bottom: 0;
}

/* ЗЕЛЕНІ галочки */
.vtr-checks--check li::before{
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 800;
  color: #2bb3a8;
}

/* ЧОРНІ галочки */
.vtr-checks--dark li::before{
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 800;
  color: var(--vtr-heading);
}

#tab-treat .vtr-treat-intro{
  margin-bottom: 22px;
}

#tab-treat .vtr-treat-intro > *:last-child{
  margin-bottom: 0;
}

#tab-treat .vtr-treat-stack{
  display: grid;
  gap: 18px;
}

#tab-treat .vtr-tariff-card{
  overflow: hidden;
}

#tab-treat .vtr-tariff-head{
  display: block;
}

#tab-treat .vtr-tariff-head h2,
#tab-treat .vtr-tariff-head h3,
#tab-treat .vtr-tariff-head h4,
#tab-treat h2.vtr-tariff-head,
#tab-treat h3.vtr-tariff-head,
#tab-treat h4.vtr-tariff-head{
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  color: var(--vtr-heading);
}

#tab-treat .vtr-checks{
  margin: 0 0 14px;
  padding: 0;
  list-style: none;
}

#tab-treat .vtr-checks li{
  position: relative;
  list-style: none;
  padding-left: 28px;
  margin-bottom: 8px;
}

#tab-treat .vtr-checks li:last-child{
  margin-bottom: 0;
}

/* зелені галочки */
#tab-treat .vtr-checks--check li::before{
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 800;
  color: #2bb3a8;
}

/* чорні галочки */
#tab-treat .vtr-checks--dark li::before{
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 800;
  color: var(--vtr-heading);
}

#tab-treat h4{
  margin: 18px 0 10px;
  font-size: 15px;
  font-weight: 700;
  color: var(--vtr-text);
}

#tab-treat h4 + ul{
  margin-top: 0;
}

#tab-treat .vtr-tariff-card h4:not(:first-child){
  margin-top: 20px;
}

#tab-treat hr{
  border: none;
  height: 2px;
  width: 80%;
  margin: 34px auto;
  border-radius: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    #2fb5a3,
    #2fb5a3,
    transparent
  );
}

#tab-treat p{
  margin: 0 0 14px;
}

#tab-treat p:last-child{
  margin-bottom: 0;
}

#tab-reviews .vtr-review-empty{
  text-align: center;
}

#tab-treat .vtr-tariff-card ul,
#tab-treat .vtr-tariff-card ol {
  margin: 0 0 20px;
}

#tab-treat .vtr-tariff-card p {
  margin: 0 0 18px;
}

#tab-treat .vtr-tariff-card ul + p,
#tab-treat .vtr-tariff-card ol + p {
  margin-top: 18px;
}

#tab-treat .vtr-tariff-card p + h2,
#tab-treat .vtr-tariff-card p + h3,
#tab-treat .vtr-tariff-card ul + h2,
#tab-treat .vtr-tariff-card ul + h3,
#tab-treat .vtr-tariff-card ol + h2,
#tab-treat .vtr-tariff-card ol + h3 {
  margin-top: 28px;
}

@media (min-width: 769px) and (max-width: 1023px){
  body.single-sanatorium .object-meta,
  body.single-sanatorium .booking-box,
  body.single-sanatorium-page .object-meta,
  body.single-sanatorium-page .booking-box{
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  body.single-sanatorium .object-meta{
    margin-top: 10px !important;
    margin-bottom: 12px !important;
  }

  body.single-sanatorium .booking-box,
  body.single-sanatorium-page .booking-box{
    margin-top: 0 !important;
  }
}

/* Опис: фірмові списки в основному SEO-тексті та картках */
.san-seo-block__body ul,
.san-card__content ul {
  margin: 0 0 14px;
  padding: 0;
  list-style: none !important;
}

.san-seo-block__body ul li,
.san-card__content ul li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 10px;
  list-style: none !important;
}

.san-seo-block__body ul li:last-child,
.san-card__content ul li:last-child {
  margin-bottom: 0;
}

.san-seo-block__body ul li::before,
.san-card__content ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 800;
  color: #2bb3a8;
}

/* Опис об'єкта: тільки мобілка */
@media (max-width: 768px){
  #tab-desc .san-card,
  #tab-desc .san-seo-block{
    padding: 22px 18px !important;
  }
}

/* Вужчі екрани */
@media (max-width: 480px){
  #tab-desc .san-card,
  #tab-desc .san-seo-block{
    padding: 18px 14px !important;
  }
}

/* Дуже вузькі, як 360px */
@media (max-width: 380px){
  #tab-desc .san-card,
  #tab-desc .san-seo-block{
    padding: 16px 12px !important;
  }
}

#tab-desc .san-card__content > * + *,
#tab-desc .san-seo-block__body > * + *,
.object-tabs-wrap .tab-content > * + * {
  margin-top: 14px;
}

.san-card__content ul li a,
.san-seo-block__body ul li a {
  color: #0f766e;
  text-decoration: none;
}

.san-card__content ul li a:hover,
.san-seo-block__body ul li a:hover {
  text-decoration: underline;
}

@media (hover: none) and (pointer: coarse) {
    *{
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }
}