/* ============================================================
   PODKOVA-NT.RU — REDESIGN 2026
   Полный override style2.css
   ============================================================ */

/* ── БАЗОВЫЕ СБРОСЫ ─────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

html, body {
  height: auto !important;
  background: #f0f0f0 !important;
  color: #222 !important;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif !important;
  font-size: 15px !important;
  line-height: 1.65 !important;
}

img { display: block; max-width: 100%; height: auto; }

a { text-decoration: none; }
a:hover { text-decoration: none; }

/* ── КОНТЕЙНЕР СТРАНИЦЫ ─────────────────────────────────── */
.page {
  width: 100% !important;
  max-width: 1000px !important;
  margin: 0 auto !important;
  background: #fff !important;
  box-shadow: 0 0 60px rgba(0,0,0,0.14) !important;
  position: relative !important;
}

/* ── НАВИГАЦИЯ ─────────────────────────────────────────── */
.navContainer {
  background: #1c1c1c !important;
  position: sticky !important;
  top: 0 !important;
  z-index: 500 !important;
  box-shadow: 0 2px 10px rgba(0,0,0,0.4) !important;
}

.nav-burger {
  display: none !important;
  background: #1c1c1c !important;
  border: none !important;
  cursor: pointer !important;
  padding: 16px 18px !important;
  width: 100% !important;
  text-align: left !important;
}

.nav-burger span {
  display: block !important;
  width: 24px !important;
  height: 2px !important;
  background: #fff !important;
  margin: 5px 0 !important;
  transition: all .25s !important;
  border-radius: 2px !important;
}

.nav-burger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px) !important; }
.nav-burger.active span:nth-child(2) { opacity: 0 !important; }
.nav-burger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px) !important; }

#nav {
  display: flex !important;
  flex-wrap: nowrap !important;
  height: auto !important;
  line-height: normal !important;
  padding: 0 !important;
  margin: 0 !important;
  background: #1c1c1c !important;
  list-style: none !important;
  overflow: hidden !important;
}

#nav li {
  display: block !important;
  float: none !important;
}

#nav li a {
  display: block !important;
  height: auto !important;
  padding: 18px 16px !important;
  line-height: 1.2 !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  letter-spacing: 0.7px !important;
  text-transform: uppercase !important;
  color: #ccc !important;
  background: #1c1c1c !important;
  transition: background 0.2s, color 0.2s !important;
  white-space: nowrap !important;
  float: none !important;
}

#nav li a:hover {
  background: #c9a96e !important;
  color: #fff !important;
}

#nav li a.main_menu_active,
#nav li a.first.main_menu_active {
  background: #c9a96e !important;
  color: #fff !important;
}

/* ── HERO / SLIDER ─────────────────────────────────────── */
.header_for_main {
  height: auto !important;
  overflow: hidden !important;
  background: #1c1c1c !important;
  padding-bottom: 0 !important;
}

.flexslider {
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  background: #1c1c1c !important;
}

.flexslider .slides img {
  width: 100% !important;
  height: auto !important;
  display: block !important;
  max-width: 100% !important;
}

/* Скрыть пустой primaryToolBar */
#primaryToolBar { display: none !important; }

/* Скрыть пустой header (inner pages) */
.header {
  display: none !important;
}

/* ── ГЛАВНАЯ: SEO H1 ──────────────────────────────────── */
.h1-main-seo {
  font-size: 13px !important;
  color: #aaa !important;
  font-weight: 400 !important;
  padding: 10px 20px 16px !important;
  margin: 0 !important;
  border: none !important;
  background: none !important;
  font-family: inherit !important;
  line-height: 1.4 !important;
}

/* ── БЛОКИ КАТЕГОРИЙ НА ГЛАВНОЙ ─────────────────────── */
#mainBlocks3 {
  background: #fff !important;
  padding: 0 !important;
  margin: 0 !important;
}

.k_homeboxes {
  padding: 32px 24px 8px !important;
}

.k_homeboxes .k_grid {
  margin-bottom: 20px !important;
  padding: 0 8px !important;
}

/* СБРОС старого правила style2.css: #mainBlocks3 img{width:256px;height:88px} */
#mainBlocks3 img {
  width: 100% !important;
  height: 220px !important;
  overflow: visible !important;
  object-fit: cover !important;
  display: block !important;
}

.main-cat-img {
  width: 100% !important;
  height: 220px !important;
  object-fit: cover !important;
  object-position: center !important;
  display: block !important;
  padding: 0 !important;
  transition: transform 0.4s ease !important;
}

.k_homebox {
  background: #fff !important;
  border: none !important;
  border-radius: 10px !important;
  padding: 0 !important;
  overflow: hidden !important;
  box-shadow: 0 3px 14px rgba(0,0,0,0.1) !important;
  transition: transform 0.25s ease, box-shadow 0.25s ease !important;
  min-height: unset !important;
  height: auto !important;
}

.k_homebox:hover {
  transform: translateY(-5px) !important;
  box-shadow: 0 10px 32px rgba(0,0,0,0.16) !important;
}

.k_homebox .entry-content {
  overflow: hidden !important;
  padding: 0 !important;
}

.k_homebox .entry-content a {
  display: block !important;
  overflow: hidden !important;
  position: relative !important;
}

.k_homebox:hover .main-cat-img {
  transform: scale(1.06) !important;
}

.h1-block {
  font-family: inherit !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  line-height: 1.35 !important;
  color: #1c1c1c !important;
  padding: 14px 14px 16px !important;
  margin: 0 !important;
  height: auto !important;
  text-align: left !important;
  letter-spacing: 0 !important;
  border: none !important;
  background: none !important;
}

/* Отступ секции от слайдера */
.body.listing {
  background: #fff !important;
  padding: 0 16px !important;
}

/* ── SEO ТЕКСТ ─────────────────────────────────────────── */
.seo-main-text {
  background: #f9f9f7 !important;
  border-left: 4px solid #c9a96e !important;
  border-radius: 0 6px 6px 0 !important;
  padding: 20px 24px !important;
  margin: 4px 20px 28px !important;
  font-size: 14px !important;
  line-height: 1.75 !important;
  color: #555 !important;
}

.seo-main-text h2 {
  font-size: 16px !important;
  color: #1c1c1c !important;
  margin: 16px 0 8px !important;
  font-weight: 700 !important;
}

.seo-main-text h2:first-child { margin-top: 0 !important; }

.seo-main-text p { margin-bottom: 10px !important; }

.seo-main-text ul {
  padding-left: 0 !important;
  margin: 8px 0 12px !important;
  list-style: none !important;
}

.seo-main-text ul li {
  padding: 4px 0 4px 18px !important;
  position: relative !important;
  font-size: 14px !important;
  margin-bottom: 2px !important;
}

.seo-main-text ul li::before {
  content: '→' !important;
  position: absolute !important;
  left: 0 !important;
  color: #c9a96e !important;
}

/* ── КАТАЛОГ ─────────────────────────────────────────── */
.k_catalog {
  background: #fff !important;
  border: none !important;
  border-radius: 8px !important;
  padding: 0 !important;
  overflow: hidden !important;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08) !important;
  transition: transform 0.22s ease, box-shadow 0.22s ease !important;
}

.k_catalog:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 8px 24px rgba(0,0,0,0.14) !important;
}

.k_catalog-bg { background: #fff !important; }

.k_catalog .entry-content { padding: 0 !important; }

.k_catalog .entry-content a {
  display: block !important;
  overflow: hidden !important;
}

.k_catalog .entry-content img {
  width: 100% !important;
  height: 180px !important;
  object-fit: cover !important;
  display: block !important;
  max-width: 100% !important;
  transition: transform 0.3s ease !important;
}

.k_catalog:hover .entry-content img {
  transform: scale(1.05) !important;
}

.k_catalog .entry-title {
  font-size: 13px !important;
  font-weight: 500 !important;
  line-height: 1.4 !important;
  padding: 10px 12px 4px !important;
  color: #222 !important;
}

.k_catalog .entry-title a {
  color: #222 !important;
  background: none !important;
  background-image: none !important;
}

.k_catalog .entry-title a:hover { color: #c9a96e !important; }

.k_catalog p {
  padding: 2px 12px 12px !important;
  font-size: 12px !important;
  color: #999 !important;
  margin: 0 !important;
}

.k_catalog_row .k_grid { margin-bottom: 16px !important; }

/* ── ЗАГОЛОВОК РАЗДЕЛА ─────────────────────────────────── */
.h1-razdel-title {
  font-family: inherit !important;
  font-size: 22px !important;
  font-weight: 700 !important;
  color: #1c1c1c !important;
  border-bottom: 3px solid #c9a96e !important;
  border-top: none !important;
  padding: 10px 0 12px !important;
  margin: 16px 0 20px !important;
}

/* ── ЛЕВЫЙ САЙДБАР ─────────────────────────────────────── */
#primarySidebar {
  width: 190px !important;
  margin-bottom: 30px !important;
}

#primarySidebar .mod {
  margin: 10px 0 0 12px !important;
}

.simpleList { margin-bottom: 0 !important; }

.simpleList li {
  border-bottom: 1px solid #f0f0f0 !important;
  background: #fff !important;
  position: relative !important;
}

.simpleList li a {
  display: block !important;
  color: #444 !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  padding: 9px 8px 9px 14px !important;
  width: auto !important;
  transition: color 0.18s, padding-left 0.18s, background 0.18s !important;
}

.simpleList li a:hover {
  color: #c9a96e !important;
  background: #fdf9f2 !important;
  padding-left: 20px !important;
}

.simpleList li a.active,
a.active {
  color: #c9a96e !important;
  background: #fdf9f2 !important;
  background-image: none !important;
  font-weight: 600 !important;
}

.simpleList .leftMenu2 li a {
  font-size: 12px !important;
  color: #666 !important;
  font-weight: 400 !important;
  padding-left: 22px !important;
}

.simpleList .leftMenu2 li a:hover {
  color: #c9a96e !important;
  padding-left: 26px !important;
}

/* ── ХЛЕБНЫЕ КРОШКИ ─────────────────────────────────────── */
.B_crumbBox {
  background: #fafafa !important;
  padding: 10px 20px !important;
  font-size: 12px !important;
  color: #999 !important;
  border-bottom: 1px solid #eee !important;
  margin-bottom: 0 !important;
}

.B_crumbBox a {
  color: #c9a96e !important;
}

/* ── НИЖНИЙ ИНФОРМАЦИОННЫЙ БЛОК ─────────────────────────── */
#contentBotLine {
  background: #1c1c1c !important;
  color: #888 !important;
  padding: 40px 20px 36px !important;
  margin-top: 40px !important;
}

#contentBotLine p {
  margin-bottom: 8px !important;
  color: #999 !important;
  padding-right: 8px !important;
}

#contentBotLine li {
  border-bottom: 1px solid #2a2a2a !important;
  background: none !important;
  background-image: none !important;
  padding: 6px 0 6px 14px !important;
}

.page_intro,
#contentBotLine a,
#footer a {
  color: #c9a96e !important;
  transition: color 0.18s !important;
}

#contentBotLine a:hover { color: #e0bf8a !important; }

#contentBotLine strong { color: #bbb !important; }

.k_icon_link {
  color: #c9a96e !important;
}

.k_icon_link::before {
  background-color: #2d2d2d !important;
}

/* ── FOOTER ──────────────────────────────────────────────── */
#footer {
  background: #111 !important;
  height: auto !important;
  padding: 14px 20px !important;
  line-height: normal !important;
}

#footer .mod { padding-top: 6px !important; }

/* ── DELIVERY BLOCK ─────────────────────────────────────── */
#cblock {
  background: #fdf9f2 !important;
  border: 1px solid #e5d9c3 !important;
  border-left: 4px solid #c9a96e !important;
  border-radius: 8px !important;
}

#cblock h2 {
  color: #c9a96e !important;
  border-bottom: 1px solid #e5d9c3 !important;
  font-size: 16px !important;
}

/* ── КНОПКИ ─────────────────────────────────────────────── */
.btn2 {
  background: #c9a96e !important;
  border-radius: 6px !important;
  color: #fff !important;
  font-weight: 500 !important;
  transition: background 0.2s !important;
}

.btn2:hover { background: #b89446 !important; }

input[type="submit"].send {
  background: #c9a96e !important;
  border-radius: 6px !important;
  border: none !important;
  color: #fff !important;
  cursor: pointer !important;
  font-size: 15px !important;
  transition: background 0.2s, transform 0.15s !important;
}

input[type="submit"].send:hover {
  background: #b89446 !important;
  transform: translateY(-1px) !important;
}

/* ── ФОРМА ─────────────────────────────────────────────── */
.k_form-control {
  border: 1.5px solid #ddd !important;
  border-radius: 6px !important;
  transition: border-color 0.2s, box-shadow 0.2s !important;
}

.k_form-control:focus {
  border-color: #c9a96e !important;
  box-shadow: 0 0 0 3px rgba(201,169,110,0.18) !important;
  outline: none !important;
}

/* ── ФИКСИРОВАННЫЕ КНОПКИ ───────────────────────────────── */
.telegram_btn {
  width: 56px !important;
  height: 56px !important;
  bottom: 24px !important;
  right: 24px !important;
  background-color: #29a8e8 !important;
  box-shadow: 0 4px 18px rgba(41,168,232,0.4) !important;
  transition: transform 0.2s, box-shadow 0.2s !important;
}

.telegram_btn:hover {
  transform: scale(1.12) !important;
  box-shadow: 0 6px 24px rgba(41,168,232,0.55) !important;
}

.calculator_btn {
  width: 56px !important;
  height: 56px !important;
  bottom: 92px !important;
  right: 24px !important;
  box-shadow: 0 4px 18px rgba(0,0,0,0.2) !important;
  transition: transform 0.2s, box-shadow 0.2s !important;
}

.calculator_btn:hover {
  transform: scale(1.12) !important;
  opacity: 1 !important;
}

/* ── ТЕКСТОВЫЙ КОНТЕНТ ─────────────────────────────────── */
.text_content {
  margin-right: 8px !important;
  line-height: 1.75 !important;
  color: #333 !important;
}

.text_content p { margin-bottom: 14px !important; }

.text_content a {
  color: #c9a96e !important;
  text-decoration: underline !important;
}

.text_content h2 {
  font-size: 18px !important;
  color: #1c1c1c !important;
  margin: 22px 0 10px !important;
  font-weight: 700 !important;
}

/* ── ССЫЛКИ В NAV/FOOTER ────────────────────────────────── */
.navContainer a:hover { color: #fff !important; }
.header a:hover { color: #fff !important; }

/* ── ГАЛЕРЕЯ ────────────────────────────────────────────── */
.dop_images img {
  border: 2px solid #e8e8e8 !important;
  border-radius: 4px !important;
  width: 80px !important;
  height: 80px !important;
  object-fit: cover !important;
}

.dop_images img:hover { border-color: #c9a96e !important; }

/* ============================================================
   АДАПТИВ
   ============================================================ */

/* ── TABLET ≤ 1020px ────────────────────────────────────── */
@media screen and (max-width: 1020px) {
  .page { width: 100% !important; box-shadow: none; }

  #nav li a { padding: 18px 12px !important; font-size: 11px !important; }
}

/* ── MOBILE ≤ 750px ─────────────────────────────────────── */
@media screen and (max-width: 750px) {
  html, body { background: #fff !important; }
  .page { box-shadow: none !important; }

  /* Гамбургер */
  .nav-burger { display: block !important; }

  #nav {
    display: none !important;
    flex-direction: column !important;
    background: #1c1c1c !important;
  }

  #nav.open { display: flex !important; }

  #nav li { border-bottom: 1px solid #2d2d2d !important; }

  #nav li a {
    padding: 16px 20px !important;
    font-size: 14px !important;
    white-space: normal !important;
  }

  /* Категории 2 в ряд */
  .k_grid4 { flex: 50% !important; max-width: 50% !important; }

  #mainBlocks3 img,
  .main-cat-img { height: 150px !important; }

  .h1-block { font-size: 13px !important; padding: 10px 10px 12px !important; }

  /* Каталог 2 в ряд */
  .k_grid3 { flex: 50% !important; max-width: 50% !important; }

  .k_catalog .entry-content img { height: 130px !important; }

  .h1-razdel-title { font-size: 18px !important; padding: 8px 0 10px !important; }

  /* SEO текст */
  .seo-main-text { margin: 4px 10px 20px !important; padding: 16px 14px !important; }

  /* Сайдбар */
  .leftCol { display: none !important; }
  #primarySidebar { display: none !important; }

  /* Нижний блок */
  #contentBotLine { padding: 24px 0 !important; margin-top: 24px !important; }
  #contentBotLine .k_grid3 { flex: 100% !important; max-width: 100% !important; padding: 6px 16px !important; }

  /* Мобильные кнопки */
  .telegram_btn {
    width: 50px !important; height: 50px !important;
    right: 14px !important; bottom: 14px !important;
    background-size: 28px !important;
  }
  .calculator_btn {
    width: 50px !important; height: 50px !important;
    right: 14px !important; bottom: 74px !important;
    background-size: 28px !important;
  }

  /* Форма */
  #zakaz { width: 100% !important; }
  .k_form-line label { display: block !important; }
}

/* ── SMALL MOBILE ≤ 480px ───────────────────────────────── */
@media screen and (max-width: 480px) {
  .k_grid4 { flex: 100% !important; max-width: 100% !important; }
  #mainBlocks3 img,
  .main-cat-img { height: 200px !important; }

  .k_grid3 { flex: 100% !important; max-width: 100% !important; }
  .k_catalog .entry-content img { height: 200px !important; }
}

/* ============================================================
   HERO SECTION (replaces FlexSlider)
   ============================================================ */
.hero-section {
  position: relative !important;
  width: 100% !important;
  height: 520px !important;
  overflow: hidden !important;
  background: #111 !important;
}

.hero-slide {
  position: absolute !important;
  inset: 0 !important;
  background-size: cover !important;
  background-position: center !important;
  opacity: 0 !important;
  transition: opacity 1s ease !important;
  will-change: opacity !important;
}

.hero-slide.active {
  opacity: 1 !important;
}

.hero-overlay {
  position: absolute !important;
  inset: 0 !important;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.25) 0%,
    rgba(0,0,0,0.55) 60%,
    rgba(0,0,0,0.72) 100%
  ) !important;
  z-index: 1 !important;
}

.hero-content {
  position: absolute !important;
  bottom: 80px !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 2 !important;
  padding: 0 40px !important;
  text-align: left !important;
  color: #fff !important;
}

.hero-tag {
  font-size: 12px !important;
  letter-spacing: 1.4px !important;
  text-transform: uppercase !important;
  color: #c9a96e !important;
  margin: 0 0 12px !important;
  font-weight: 500 !important;
}

.hero-title {
  font-size: 38px !important;
  font-weight: 800 !important;
  line-height: 1.18 !important;
  color: #fff !important;
  margin: 0 0 14px !important;
  text-shadow: 0 2px 12px rgba(0,0,0,0.5) !important;
  font-family: inherit !important;
  border: none !important;
  padding: 0 !important;
}

.hero-sub {
  font-size: 15px !important;
  color: rgba(255,255,255,0.82) !important;
  margin: 0 0 24px !important;
  line-height: 1.6 !important;
  max-width: 500px !important;
}

.hero-actions {
  display: flex !important;
  gap: 12px !important;
  flex-wrap: wrap !important;
  margin-bottom: 22px !important;
}

.hero-btn {
  display: inline-block !important;
  padding: 13px 28px !important;
  border-radius: 6px !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  letter-spacing: 0.4px !important;
  text-decoration: none !important;
  cursor: pointer !important;
  transition: background 0.22s, transform 0.18s, box-shadow 0.22s !important;
}

.hero-btn-primary {
  background: #c9a96e !important;
  color: #fff !important;
  border: 2px solid #c9a96e !important;
  box-shadow: 0 4px 18px rgba(201,169,110,0.35) !important;
}

.hero-btn-primary:hover {
  background: #b89446 !important;
  border-color: #b89446 !important;
  transform: translateY(-2px) !important;
}

.hero-btn-outline {
  background: transparent !important;
  color: #fff !important;
  border: 2px solid rgba(255,255,255,0.7) !important;
}

.hero-btn-outline:hover {
  background: rgba(255,255,255,0.12) !important;
  border-color: #fff !important;
  transform: translateY(-2px) !important;
}

.hero-badges {
  display: flex !important;
  gap: 10px !important;
  flex-wrap: wrap !important;
}

.hero-badge {
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
  background: rgba(255,255,255,0.12) !important;
  border: 1px solid rgba(255,255,255,0.22) !important;
  color: rgba(255,255,255,0.9) !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  padding: 5px 12px !important;
  border-radius: 20px !important;
  backdrop-filter: blur(4px) !important;
}

.hero-badge svg {
  color: #c9a96e !important;
  flex-shrink: 0 !important;
}

/* Controls */
.hero-controls {
  position: absolute !important;
  bottom: 24px !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 3 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 16px !important;
}

.hero-arrow {
  background: rgba(255,255,255,0.15) !important;
  border: 1px solid rgba(255,255,255,0.3) !important;
  color: #fff !important;
  width: 36px !important;
  height: 36px !important;
  border-radius: 50% !important;
  font-size: 20px !important;
  line-height: 1 !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: background 0.2s !important;
  padding: 0 !important;
}

.hero-arrow:hover {
  background: rgba(201,169,110,0.7) !important;
  border-color: #c9a96e !important;
}

.hero-dots {
  display: flex !important;
  gap: 7px !important;
  align-items: center !important;
}

.hero-dot {
  width: 8px !important;
  height: 8px !important;
  border-radius: 50% !important;
  border: none !important;
  background: rgba(255,255,255,0.4) !important;
  cursor: pointer !important;
  padding: 0 !important;
  transition: background 0.2s, transform 0.2s !important;
}

.hero-dot.active {
  background: #c9a96e !important;
  transform: scale(1.35) !important;
}

/* ── HERO АДАПТИВ ─────────────────────────────────────── */
@media screen and (max-width: 750px) {
  .hero-section { height: 420px !important; }

  .hero-content {
    bottom: 70px !important;
    padding: 0 20px !important;
  }

  .hero-title {
    font-size: 26px !important;
  }

  .hero-sub {
    font-size: 13px !important;
    margin-bottom: 18px !important;
  }

  .hero-btn {
    padding: 11px 20px !important;
    font-size: 13px !important;
  }

  .hero-badges { display: none !important; }
}

@media screen and (max-width: 480px) {
  .hero-section { height: 340px !important; }

  .hero-title { font-size: 22px !important; }

  .hero-sub { display: none !important; }

  .hero-actions { gap: 8px !important; margin-bottom: 0 !important; }

  .hero-controls { bottom: 14px !important; }
}

/* ── СЕТКА СТАТЕЙ / КАТАЛОГА ─────────────────────────────── */
.k_catalog_row {
  display: flex !important;
  flex-wrap: wrap !important;
  margin: 0 -8px !important;
}

.k_catalog_row .k_grid {
  flex: 0 0 33.333% !important;
  max-width: 33.333% !important;
  padding: 0 8px !important;
  box-sizing: border-box !important;
}

@media screen and (max-width: 750px) {
  .k_catalog_row .k_grid {
    flex: 0 0 50% !important;
    max-width: 50% !important;
  }
}

@media screen and (max-width: 480px) {
  .k_catalog_row .k_grid {
    flex: 0 0 100% !important;
    max-width: 100% !important;
  }
}
