/* ===== ТОП ПРОДАЖІВ ===== */

/* ===== HERO "ТОП ПРОДАЖІВ" ===== */

.top-sales-header {
    display: flex;
    justify-content: space-between;
    align-items: stretch;   /* ← міняємо тільки це */
    gap: 30px;
    margin-bottom: 18px; 
}

/* ліва частина hero */
.top-sales-left {
    position: relative;
    flex: 1 1 auto;
}

.top-sales-hero-label {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #0f766e;
    background: rgba(255,255,255,0.85);
    border: 1px solid rgba(148, 227, 184, 0.9);
    box-shadow: 0 8px 18px rgba(15, 118, 110, 0.18);
    margin-bottom: 10px;
}

/* hero-заголовок */
.top-sales-hero-title {
    margin: 0 0 8px;
    font-size: clamp(20px, 1.6vw, 30px);
    line-height: 1.15;
    font-weight: 800;
    color: var(--vtr-heading);
}

/* опис Трускавця */
.top-sales-hero-subtitle {
    margin: 0;
    max-width: 560px;
    font-size: 14px;
    line-height: 1.6;
    color: var(--vtr-text);
}

.top-sales-header > * {
    position: relative;
    z-index: 1;
}

/* права частина hero */
.top-sales-info {
    display: flex;
}

.top-sales-info-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

.top-sales-info-card {
    padding: 10px 16px;
    border-radius: 18px;
    background: rgba(255,255,255,.55);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255,255,255,.7);
    margin-right: 10px;
}

.top-sales-info-title {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .12em;
    font-weight: 700;
    color: rgba(15,23,42,.65);
    margin-bottom: 6px;
}

.top-sales-checks li {
    margin: 3px 0;
    font-size: 13px;
    color: rgba(15,23,42,.9);
}

/* адаптив hero */
@media (max-width: 768px) {
    .top-sales-header {
        flex-direction: column;
        gap: 18px;
    }

    .top-sales-info {
        margin-top: 12px;
        justify-content: flex-start;
    }

    .top-sales-hero-title {
        font-size: 22px;
    }

    .top-sales-hero-subtitle {
        max-width: 100%;
    }
}

/* ===== УНІВЕРСАЛЬНИЙ СПИСОК З ГАЛОЧКАМИ ===== */

.vtr-checks{
  list-style: none;
  margin: 0;
  padding: 0;
}

.vtr-checks li{
  position:relative;
  padding-left:20px;
  margin:2px 0;        /* було 4px */
  line-height:1.25;
}

.vtr-checks--check li::before{
  content:"✓";
  position:absolute;
  left: 0;
  top: 0;
  color:#0f766e;
  font-weight: 900;
}

/* трошки щільніша сітка */
.card-grid--top {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

/* картка санаторію */
.sanatorium-card {
  position: relative;
  overflow: hidden;
}

/* бейдж у верхньому лівому куті */
.card-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #3bb3a6;
  color: #fff;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  box-shadow: 0 2px 6px rgba(15,23,42,0.35);
  z-index: 2;
}

.card-badge--sale {
  background: #e03131;
}

.card-badge--new {
  background: #f59f00;
}

/* фото з легким зумом на hover */
.sanatorium-card img {
  transition: transform 0.4s ease;
}

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

/* верхня частина тексту */
.card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  margin-bottom: 4px;
  color: var(--vtr-text);
}

.card-location::before {
  content: "📍";
  margin-right: 2px;
}

.card-stars {
  font-size: 11px;
  letter-spacing: 0.03em;
}

/* низ картки: ціна + кнопка */
.card-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 10px;
}

.card-price {
  font-size: 13px;
  color: #1f7a6a;
}

.card-price strong {
  font-size: 15px;
}

/* кнопка "Детальніше" */
.card-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 18px;
  border-radius: 999px;

  background: linear-gradient(90deg, #00b894, #00cec9);
  color: #ffffff;

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

  box-shadow: 0 4px 10px rgba(31,168,150,.16);
  transition: background 0.18s ease, transform 0.15s ease, box-shadow 0.18s ease;
}

@media (hover: none) and (pointer: coarse){
  .card-btn,
  .card-btn:focus,
  .card-btn:active,
  .card-btn:focus-visible{
    border-radius: 999px !important;
    outline: none !important;
    box-shadow: none !important;
    -webkit-tap-highlight-color: transparent;
    -webkit-appearance: none;
    appearance: none;
    background-clip: padding-box;
    overflow: hidden;
    position: relative;
  }

  .card-btn::before,
  .card-btn::after{
    border-radius: 999px !important;
  }
}

.card-btn:hover {
  background: linear-gradient(90deg, #00a188, #00b8c1);
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(31,168,150,.22);
}

.hero-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.25),
    rgba(0,0,0,0)
  );
  z-index: 0;
}

.hero-header * {
  position: relative;
  z-index: 1;
}

/* футер теж трохи “скляний”, щоб не виглядав як окрема плашка */
/* Розкладка: ліва колонка (sidebar) + права (контент) */
.main-layout {
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr);
  gap: 24px;
  align-items: flex-start;
}

/* Прибираємо спільну білу "підстилку" */
.container.main-layout {
  background: transparent !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin-bottom: 80px;
  position: relative;
}

/* На всякий випадок глушимо наші старі псевдоелементи */
.container.main-layout::before,
.container.main-layout::after {
  content: none !important;
  background: none !important;
}
/* ЛІВА КАРТКА – САЙДБАР */
.sidebar {
  background: rgba(255, 255, 255, 0.96);
  border-radius: var(--vt-radius-card-lg);
  padding: 18px 16px 20px;
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.15);
  backdrop-filter: none; /* без мутності */
}
/* ПРАВА КАРТКА – ОСНОВНИЙ КОНТЕНТ */
.content-main {
  background: rgba(255, 255, 255, 0.96);
  border-radius: var(--vt-radius-card-lg);
  padding: 24px 26px 28px;
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.18);
}
.main-layout {
  gap: 32px; /* було 24 */
}
.sidebar,
.content-main {
  box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}
.sidebar,
.content-main {
  border-radius: 24px;
}
.sidebar,
.content-main {
  background: rgba(255,255,255,0.97);
}
.sidebar,
.content-main {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.content-main {
  color: var(--vtr-text); 
}

.content-main h1,
.content-main h2 {
  color: var(--vtr-heading);
}

.sidebar-section + .sidebar-section {
  margin-top: 6px;
}
.object-wrapper {
  display: flex;
  gap: 40px;
}

.object-main {
  flex: 1;
}

.object-sidebar {
  width: 280px;
}

.object-title{
  font-weight: 600;  /* було занадто жирно */
  letter-spacing: 0.3px;
}

.object-hero img{
  width: 100%;
  height: 460px;
  object-fit: cover;
  border-radius: var(--vt-radius-card-lg);
  display: block;
  box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.booking-box h3 {
  margin-bottom: 10px;
}

.booking-btn:focus-visible{
  box-shadow: 0 0 0 4px rgba(47,161,149,.18), 0 10px 22px rgba(47,161,149,.25);
}

.object-sidebar {
  position: sticky;
  top: 120px; /* під шапку */
  align-self: flex-start;
}
.single-object-layout{
  background: transparent;   /* щоб не було суцільного полотна */
  padding: 0;
  box-shadow: none;
}