/* VIP Comfort — Homepage CSS
   v1.3 — fix desktop hero grid */

:root {
  --vc-c1: #274C4F;
  --vc-c2: #456A6D;
  --vc-c3: #42504b;
  --vc-c4: #152420;
  --vc-c5: #E2EDEF;
  --vc-c6: #EEF4F5;
  --vc-c7: #FBFCFC;
  --vc-c8: #ffffff;
  --vc-accent:  #e8a020;
  --vc-accent2: #d4911c;
  --vc-text:    #1a2420;
  --vc-muted:   #5a7070;
  --vc-border:  #d4e0e1;
  --vc-bg:      #f0f4f4;
  --vc-danger:  #dc2626;
  --vc-success: #16a34a;
}

/* ── LAYOUT WRAPPER ── */
.vc-main {
  width: 100%;
  max-width: 100%;
  padding: 20px 20px 60px !important;
  margin: 0;
  background: var(--vc-bg);
}

/* ── HERO ── */
.vc-hero {
  display: grid;
  grid-template-columns: 270px 1fr;
  gap: 16px;
  margin-bottom: 20px;
  align-items: start;
}

/* Каталог — зліва, банер — справа */
.vc-cat-sidebar { order: 1; }
.vc-banner-col  { order: 2; }

/* ── SIDEBAR ── */
.vc-cat-sidebar {
  background: var(--vc-c8);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(39,76,79,0.08);
  align-self: start;
}
.vc-cat-sidebar-head {
  background: var(--vc-c1);
  color: #fff;
  padding: 14px 18px;
  font-size: 13px;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 8px;
}
/* Кнопка акордеону — тільки мобільний */
.vc-catalog-toggle {
  display: none;
  width: 100%;
  background: var(--vc-c1);
  color: #fff;
  border: none;
  padding: 14px 18px;
  font-size: 14px;
  font-weight: 800;
  text-align: left;
  cursor: pointer;
  border-radius: 12px;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.vc-catalog-toggle .toggle-arr {
  transition: transform 0.25s;
  font-style: normal;
  font-size: 16px;
}
.vc-catalog-toggle.open .toggle-arr { transform: rotate(180deg); }

/* Тіло каталогу (приховується на мобільному) */
.vc-cat-body { display: block; }

.vc-cat-group { border-bottom: 2px solid var(--vc-c5); }
.vc-cat-group:last-child { border-bottom: none; }
.vc-cat-group-label {
  padding: 8px 16px 4px;
  font-size: 10px;
  font-weight: 800;
  color: var(--vc-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.vc-cat-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 16px;
  border-bottom: 1px solid var(--vc-c6);
  color: var(--vc-text);
  transition: background 0.12s;
  text-decoration: none;
}
.vc-cat-item:last-child { border-bottom: none; }
.vc-cat-item:hover { background: var(--vc-c6); }
.vc-cat-item:hover .vc-cat-name { color: var(--vc-c1); }
.vc-cat-item:hover .vc-cat-arr { opacity: 1; transform: translateX(3px); }
.vc-cat-ico {
  width: 30px; height: 30px;
  flex-shrink: 0;
  background: var(--vc-c5);
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
}
.vc-cat-name   { font-size: 13px; font-weight: 600; flex: 1; line-height: 1.2; }
.vc-cat-count  { font-size: 11px; color: var(--vc-muted); }
.vc-cat-arr    { opacity: 0; color: var(--vc-c1); font-size: 13px; transition: all 0.12s; }

/* ── BANNER ── */
.vc-banner-col { display: flex; flex-direction: column; gap: 14px; }
.vc-banner-main {
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  min-height: 340px;
  display: flex;
  align-items: stretch;
}
.vc-banner-bg {
  position: absolute; inset: 0;
  background: linear-gradient(
    108deg,
    rgba(21,36,32,0.97) 0%,
    rgba(39,76,79,0.88) 42%,
    rgba(39,76,79,0.35) 70%,
    transparent 100%
  );
  background-color: var(--vc-c4);
}
.vc-banner-photo-zone {
  position: absolute; right: 0; top: 0; bottom: 0; width: 44%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.vc-photo-placeholder {
  width: 80%;
  aspect-ratio: 4/3;
  background: rgba(255,255,255,0.06);
  border: 2px dashed rgba(255,255,255,0.2);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 20px;
}
.vc-photo-placeholder .ph-ico { font-size: 40px; opacity: 0.3; }
.vc-photo-placeholder .ph-txt {
  font-size: 11px;
  color: rgba(255,255,255,0.35);
  text-align: center;
  line-height: 1.5;
}
.vc-photo-placeholder .ph-txt strong {
  color: rgba(255,255,255,0.6);
  display: block;
  margin-bottom: 3px;
}
.vc-banner-content {
  position: relative; z-index: 1;
  padding: 44px 48px;
  max-width: 56%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.vc-banner-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(232,160,32,0.15);
  border: 1px solid rgba(232,160,32,0.35);
  color: #fbbf24;
  font-size: 11px;
  font-weight: 800;
  padding: 5px 14px;
  border-radius: 20px;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 20px;
  width: fit-content;
}
.vc-banner-h1 {
  font-size: 38px;
  font-weight: 900;
  color: #fff;
  line-height: 1.08;
  margin-bottom: 14px;
  letter-spacing: -0.5px;
}
.vc-banner-h1 em { color: #6ee7e7; font-style: normal; }
.vc-banner-desc {
  font-size: 15px;
  color: rgba(255,255,255,0.72);
  line-height: 1.65;
  margin-bottom: 30px;
  font-weight: 400;
}
.vc-banner-ctas {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.vc-btn-calc-main {
  background: var(--vc-accent);
  color: #000;
  border: none;
  padding: 14px 28px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s;
}
.vc-btn-calc-main:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(232,160,32,0.4);
  color: #000;
}
.vc-btn-catalog-ghost {
  color: rgba(255,255,255,0.8);
  border: 1.5px solid rgba(255,255,255,0.25);
  padding: 13px 22px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  background: rgba(255,255,255,0.08);
  text-decoration: none;
  transition: background 0.15s;
}
.vc-btn-catalog-ghost:hover {
  background: rgba(255,255,255,0.18);
  color: #fff;
}
.vc-banner-stats {
  display: flex;
  gap: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.vc-stat-num   { font-size: 24px; font-weight: 900; color: #fff; line-height: 1; }
.vc-stat-label { font-size: 11px; color: rgba(255,255,255,0.45); margin-top: 3px; }

/* ── MINI CARDS ── */
.vc-mini-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.vc-mini-card {
  border-radius: 10px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: transform 0.15s;
}
.vc-mini-card:hover { transform: translateY(-2px); }
.vc-mini-card.delivery { background: linear-gradient(135deg, var(--vc-c1), var(--vc-c3)); }
.vc-mini-card.payment  { background: linear-gradient(135deg, #92400e, #78350f); }
.vc-mini-card-ico   { font-size: 30px; flex-shrink: 0; }
.vc-mini-card-title { font-size: 14px; font-weight: 800; color: #fff; margin-bottom: 3px; }
.vc-mini-card-sub   { font-size: 12px; color: rgba(255,255,255,0.72); line-height: 1.4; }

/* ── SCENARIOS ── */
.vc-scenarios { margin-bottom: 28px; }
.vc-sec-title {
  font-size: 22px;
  font-weight: 900;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--vc-text);
}
.vc-sec-title-line { flex: 1; height: 2px; background: var(--vc-border); border-radius: 1px; }
.vc-sec-link { font-size: 13px; font-weight: 700; color: var(--vc-c1); white-space: nowrap; text-decoration: none; }
.vc-sec-sub { font-size: 14px; color: var(--vc-muted); margin-bottom: 16px; }
.vc-scenario-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}
.vc-scenario-card {
  background: var(--vc-c8);
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  text-decoration: none;
  display: block;
  transition: transform 0.15s, box-shadow 0.2s;
  border: 2px solid transparent;
  color: var(--vc-text);
}
.vc-scenario-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(39,76,79,0.14);
  border-color: var(--vc-c2);
  color: var(--vc-text);
}
.vc-scenario-img {
  height: 100px;
  background: var(--vc-c5);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 44px;
}
.vc-scenario-body { padding: 12px 14px; }
.vc-scenario-room { font-size: 13px; font-weight: 800; margin-bottom: 3px; }
.vc-scenario-desc { font-size: 11px; color: var(--vc-muted); line-height: 1.4; }
.vc-scenario-cta  { font-size: 11px; font-weight: 700; color: var(--vc-c1); margin-top: 8px; display: flex; align-items: center; gap: 4px; }

/* ── ADVANTAGES ── */
.vc-adv-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 28px;
}
.vc-adv-card {
  background: var(--vc-c8);
  border-radius: 10px;
  padding: 18px 20px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  box-shadow: 0 1px 4px rgba(39,76,79,0.06);
  transition: transform 0.15s, box-shadow 0.15s;
}
.vc-adv-card:hover { transform: translateY(-2px); box-shadow: 0 4px 16px rgba(39,76,79,0.1); }
.vc-adv-ico {
  width: 44px; height: 44px;
  flex-shrink: 0;
  background: var(--vc-c5);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}
.vc-adv-title { font-size: 13px; font-weight: 800; margin-bottom: 4px; }
.vc-adv-desc  { font-size: 12px; color: var(--vc-muted); line-height: 1.5; }

/* ── PRODUCTS ── */
.vc-products-section { margin-bottom: 28px; }
.vc-products-section .vc-sec-title { margin-bottom: 16px; }
.vc-products-section .products {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 14px !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}
.vc-products-section .products li.product {
  margin: 0 !important;
  float: none !important;
  width: auto !important;
}

/* ── CALC CTA ── */
.vc-calc-cta {
  background: linear-gradient(130deg, var(--vc-c1) 0%, var(--vc-c4) 100%);
  border-radius: 14px;
  padding: 40px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
  position: relative;
  overflow: hidden;
}
.vc-calc-cta::after {
  content: '🧮';
  position: absolute; right: 48px; top: 50%;
  transform: translateY(-50%);
  font-size: 110px; opacity: 0.07;
}
.vc-cta-tag {
  display: inline-block;
  background: rgba(232,160,32,0.2);
  border: 1px solid rgba(232,160,32,0.3);
  color: #fbbf24;
  font-size: 11px; font-weight: 800;
  padding: 4px 12px; border-radius: 20px;
  letter-spacing: 1px; text-transform: uppercase;
  margin-bottom: 14px;
}
.vc-cta-h { font-size: 28px; font-weight: 900; color: #fff; margin-bottom: 10px; line-height: 1.2; }
.vc-cta-p { font-size: 15px; color: rgba(255,255,255,0.75); margin-bottom: 24px; line-height: 1.6; max-width: 480px; }
.vc-cta-steps { display: flex; gap: 24px; margin-bottom: 28px; }
.vc-cta-step  { display: flex; align-items: center; gap: 8px; }
.vc-step-num {
  width: 24px; height: 24px;
  background: rgba(255,255,255,0.15);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 800; color: #fff; flex-shrink: 0;
}
.vc-step-txt { font-size: 13px; color: rgba(255,255,255,0.7); }
.vc-btn-cta-main {
  background: var(--vc-accent); color: #000; border: none;
  padding: 15px 32px; border-radius: 10px;
  font-size: 16px; font-weight: 800;
  display: inline-flex; align-items: center; gap: 10px;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s;
}
.vc-btn-cta-main:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(232,160,32,0.45);
  color: #000;
}

/* ── BRANDS ── */
.vc-brands-bar {
  background: var(--vc-c8);
  border-radius: 12px;
  padding: 22px 28px;
  box-shadow: 0 1px 4px rgba(39,76,79,0.06);
}
.vc-brands-label {
  font-size: 11px; font-weight: 800;
  color: var(--vc-muted);
  text-transform: uppercase; letter-spacing: 1.5px;
  margin-bottom: 16px;
}
.vc-brands-list { display: flex; gap: 32px; align-items: center; flex-wrap: wrap; }
.vc-brand { font-size: 16px; font-weight: 900; color: #c8d8d9; transition: color 0.15s; }
.vc-brand:hover, .vc-brand.active { color: var(--vc-c1); }


/* ════════════════════════════════════════════
   MOBILE  max-width: 768px
════════════════════════════════════════════ */
@media (max-width: 768px) {

  .vc-main {
  width: 100%;
  max-width: 100%;
  padding: 20px 20px 60px !important;
  margin: 0;
  background: var(--vc-bg);
}

  /* ── 1. HERO: один стовпець ── */
  .vc-hero {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  /* Один стовпець: банер зверху, каталог знизу */
  .vc-banner-col  { order: 1; }
  .vc-cat-sidebar { order: 2; }

  /* Банер: менший padding, контент на повну ширину */
  .vc-banner-main  { min-height: 280px; }
  .vc-banner-photo-zone { display: none; }   /* заглушку ховаємо — нема місця */
  .vc-banner-content {
    max-width: 100%;
    padding: 28px 22px;
  }
  .vc-banner-h1   { font-size: 26px; }
  .vc-banner-desc { font-size: 13px; margin-bottom: 20px; }
  .vc-banner-ctas { gap: 8px; margin-bottom: 20px; }
  .vc-btn-calc-main    { padding: 12px 18px; font-size: 13px; }
  .vc-btn-catalog-ghost { padding: 11px 14px; font-size: 12px; }
  .vc-banner-stats { gap: 16px; padding-top: 16px; }
  .vc-stat-num    { font-size: 18px; }

  /* Mini cards: стопка */
  .vc-mini-cards { grid-template-columns: 1fr; }

  /* ── Акордеон каталогу ── */
  /* Кнопка з'являється */
  .vc-cat-sidebar { border-radius: 12px; overflow: hidden; }
  .vc-cat-sidebar-head { display: none; }   /* замінюємо кнопкою-акордеоном */
  .vc-catalog-toggle   { display: flex; border-radius: 0; }

  /* Тіло приховано за замовчуванням */
  .vc-cat-body          { display: none; }
  .vc-cat-body.is-open  { display: block; }

  /* ── 2. Сценарії: горизонтальний скрол + snap ── */
  .vc-scenario-grid {
    grid-template-columns: repeat(5, 70vw);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 8px;
    gap: 10px;
  }
  .vc-scenario-grid::-webkit-scrollbar { height: 4px; }
  .vc-scenario-grid::-webkit-scrollbar-thumb {
    background: var(--vc-border);
    border-radius: 2px;
  }
  .vc-scenario-card { scroll-snap-align: start; flex-shrink: 0; }
  .vc-scenario-img  { height: 80px; font-size: 36px; }

  /* ── 3. Популярні товари: 2 колонки ── */
  .vc-products-section .products {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
  }

  /* ── 4. Переваги: 2 колонки ── */
  .vc-adv-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }

  /* ── 5. CTA калькулятор ── */
  .vc-calc-cta {
    padding: 24px 20px;
    border-radius: 12px;
  }
  .vc-calc-cta::after { display: none; }   /* прибираємо великий емодзі фон */
  .vc-cta-h  { font-size: 20px; }
  .vc-cta-p  { font-size: 13px; margin-bottom: 16px; }
  .vc-cta-steps {
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
  }
  .vc-btn-cta-main { padding: 13px 22px; font-size: 14px; width: 100%; justify-content: center; }

  /* ── Брендова стрічка ── */
  .vc-brands-list { gap: 18px; }
  .vc-brand { font-size: 13px; }

  /* ── Заголовки секцій ── */
  .vc-sec-title { font-size: 18px; }
}

/* ============================================================
   VIP Comfort: прибираємо бічні padding Blocksy і Gutenberg
   на головній сторінці (на випадок якщо з'являться у майбутніх версіях).
   .vc-main вже має max-width:1280px + margin:auto — padding не потрібен.
   ============================================================ */
.home .ct-container,
.home .entry-content,
.home .is-layout-constrained {
  padding-left: 0 !important;
  padding-right: 0 !important;
}