/* Шапка по макету 2026-10: логотип, Каталог + поиск, Прайсы, Корзина, Войти, Меню */
header.uda-head {
  padding: 0;
  background: #fff;
  border-bottom: 1px solid var(--uda-line);
  box-shadow: 0 2px 14px rgba(18, 50, 28, .05);
  position: relative;
  /* Выше затемнения каталога (vmenu-backdrop, 1020): иначе оно накрывает кнопку и меню мигает */
  z-index: 1025;
}

.uda-head-row {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 132px;
}

.uda-head-logo {
  flex: none;
  display: block;
}

.uda-head-logo img {
  display: block;
  height: 112px;
  width: auto;
}

.uda-head-search {
  flex: 1 1 auto;
  min-width: 0;
}

.uda-head-search .vmenu-searchbar {
  align-items: center;
}

.uda-head-search .vmenu-catalog-btn,
.uda-head-search form {
  margin-bottom: 0 !important;
}

.uda-head-search .vmenu-catalog-btn {
  border-radius: 999px;
  min-height: 48px;
}

.uda-head-search .form-control {
  min-height: 48px;
  border: 1px solid var(--uda-line);
  border-radius: 999px 0 0 999px;
  padding-left: 18px;
  font-size: 16px;
}

.uda-head-search form .btn {
  min-height: 48px;
  border: 1px solid var(--uda-line);
  border-left: 0;
  border-radius: 0 999px 999px 0;
  background: #fff;
  color: var(--uda-green-dark);
}

.uda-head-phone {
  flex: none;
  display: none;
  flex-direction: column;
  line-height: 1.25;
  color: var(--uda-ink);
  text-decoration: none;
}

.uda-head-phone b {
  font-size: 16px;
}

.uda-head-phone span {
  font-size: 12px;
  color: var(--uda-muted);
}

.uda-head-nav {
  flex: none;
  display: flex;
  align-items: center;
  gap: 2px;
}

.uda-hbtn {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-width: 64px;
  padding: 6px 8px;
  border: 0;
  border-radius: 12px;
  background: none;
  color: var(--uda-ink);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.1;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
}

.uda-hbtn i {
  font-size: 21px;
  color: var(--uda-green-dark);
}

.uda-hbtn:hover,
.uda-hbtn:focus-visible,
.uda-hbtn[aria-expanded="true"] {
  background: var(--uda-leaf);
  color: var(--uda-ink);
}

.uda-hbtn.dropdown-toggle::after {
  display: none;
}

.uda-hbadge {
  position: absolute;
  top: 0;
  left: calc(50% + 6px);
  min-width: 19px;
  height: 19px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--uda-gold, #e2b133);
  color: #1a2e1c;
  font-size: 11px;
  font-weight: 800;
  line-height: 19px;
  text-align: center;
}

.uda-hbalance span {
  font-weight: 800;
}

.uda-hbalance.is-negative i,
.uda-hbalance.is-negative span {
  color: #9a3b32;
}

.uda-hbtn-mobile {
  display: none;
}

.uda-hmenu,
.uda-hcart .dropdown-menu {
  border: 1px solid var(--uda-line);
  border-radius: 14px;
  box-shadow: 0 12px 30px rgba(18, 50, 28, .14);
  padding: 6px;
}

.uda-hmenu .dropdown-item {
  border-radius: 10px;
  padding: 9px 14px;
  font-weight: 600;
  color: var(--uda-ink);
}

.uda-hmenu .dropdown-item i {
  color: var(--uda-green-dark);
  margin-right: 6px;
}

.uda-hmenu .dropdown-item:hover,
.uda-hmenu .dropdown-item:focus {
  background: var(--uda-leaf);
  color: var(--uda-green-dark);
}

.uda-hcart .dropdown-menu {
  min-width: 360px;
  background: #fff;
}

/* Меню (offcanvas) */
.uda-menu {
  --bs-offcanvas-width: 360px;
}

.uda-menu .offcanvas-title {
  font-weight: 700;
}

.uda-menu-h {
  margin: 18px 0 6px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--uda-muted);
}

.uda-menu-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.uda-menu-list a {
  display: block;
  padding: 10px 4px;
  border-bottom: 1px solid #edf2ec;
  color: var(--uda-ink);
  font-weight: 600;
  text-decoration: none;
}

.uda-menu-list a:hover {
  color: var(--uda-green-dark);
}

.uda-menu-list i {
  width: 22px;
  color: var(--uda-green-dark);
}

.uda-menu-catalog i {
  margin-right: 6px;
}

.uda-menu .uda-balance {
  display: inline-block;
  margin-bottom: 12px;
}

.uda-menu-note {
  margin: 14px 0 0;
  font-size: 14px;
  color: var(--uda-muted);
}

@media (min-width: 1200px) {
  .uda-head-phone {
    display: flex;
  }
}

/* Планшет и телефон: логотип + 5 кнопок в строку, поиск по кнопке */
@media (max-width: 991.98px) {
  .uda-head-row {
    flex-wrap: wrap;
    gap: 0 8px;
    min-height: 84px;
  }

  .uda-head-logo img {
    height: 78px;
  }

  .uda-head-nav {
    margin-left: auto;
  }

  .uda-hbtn-mobile {
    display: flex;
  }

  .uda-hdesk {
    display: none !important;
  }

  .uda-head-search {
    display: none;
    order: 3;
    flex-basis: 100%;
    padding-bottom: 12px;
  }

  .uda-head-search.is-open {
    display: block;
  }

  .uda-head-search .vmenu-catalog-btn {
    display: none;
  }
}

@media (max-width: 575.98px) {
  .uda-head-logo img {
    height: 64px;
  }

  /* Крупный логотип — своей строкой, кнопки под ним на всю ширину */
  .uda-head-row {
    padding-top: 8px;
  }

  .uda-head-nav {
    gap: 0;
    flex-basis: 100%;
    justify-content: space-between;
    margin-left: 0;
  }

  .uda-hbtn {
    min-width: 0;
    padding: 6px 5px;
    font-size: 11px;
  }

  .uda-hbtn i {
    font-size: 20px;
  }

  .uda-hcart .dropdown-menu {
    min-width: 0;
    width: calc(100vw - 24px);
  }
}

@media (max-width: 359.98px) {
  .uda-head-logo img {
    height: 58px;
  }

  .uda-hbtn {
    padding: 6px 3px;
    font-size: 10px;
  }
}

/* udacha.css прячет #cart на телефоне — в новой шапке корзина всегда видна */
header.uda-head #cart {
  display: block;
  margin: 0;
}

/* Сезонная подсказка в пустых разделах посадочного материала (udahome.planting) */
.uh-season-note {
  margin: 0 0 20px;
  padding: 16px 18px;
  border-radius: 12px;
  background: #fff8e1;
  color: #5b4a12;
  font-size: 16px;
  line-height: 1.4;
}

.uh-season-note i {
  color: #00a650;
  margin-right: 6px;
}

/* Страница «Контакты»: телефон и почта */
.uda-contacts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  margin: 20px 0;
}

.uda-contact-card {
  display: flex;
  gap: 16px;
  padding: 22px 24px;
  background: #fff;
  border: 1px solid #e0e9df;
  border-radius: 16px;
}

.uda-contact-card h2 {
  margin: 0 0 8px;
  font-size: 18px;
}

.uda-contact-card p {
  margin: 0 0 4px;
  font-size: 17px;
}

.uda-contact-card a {
  font-weight: 700;
  color: #00a650;
  text-decoration: none;
}

.uda-contact-card a:hover {
  color: #008641;
}

.uda-contact-ico {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #e8f5e4;
  color: #00a650;
  font-size: 20px;
}

.uda-contact-muted,
.uda-contact-card p.uda-contact-muted {
  color: #66756c;
  font-size: 14px;
}

.uda-contact-address {
  margin-bottom: 40px;
}
