/* himnova.ru — полная зелёная тема (#19b06e) поверх catalog.css.
   Селектор body.site-theme-himnova — только для SITE_THEME=himnova. */

body.site-theme-himnova {
  --accent: #19b06e;
  --accent-hover: #148f5a;
  --accent-dark: #148f5a;
  --accent-light: #1fc87e;
  --accent-rgb: 25, 176, 110;
  --bg: #f4f8f5;
  --card: #ffffff;
  --text: #1a231f;
  --muted: #4a5c52;
  --border: #d8e8de;
  --surface-2: #eef5f0;
  --success: #19b06e;
}

body.site-theme-himnova .logo {
  letter-spacing: -0.02em;
}

/* Шапка: основной брендовый зелёный (как кнопки), не тёмный */
body.site-theme-himnova .hdr {
  background: var(--accent);
}

/* Hero главной: продолжение шапки (accent) → тёмный снизу */
body.site-theme-himnova.site-home .hero {
  background: linear-gradient(180deg, var(--accent) 0%, var(--accent-dark) 100%);
  color: #fff;
}

body.site-theme-himnova.site-home .hero h1 {
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.12);
}

body.site-theme-himnova.site-home .hero .tag {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
}

body.site-theme-himnova.site-home .hero .tag:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: #fff;
}

/* Жёстко прошитый синий в catalog.css */
body.site-theme-himnova .cart-sidebar-panel {
  background: var(--accent);
}

body.site-theme-himnova .cart-sidebar-submit {
  color: var(--accent);
}

body.site-theme-himnova .cart-sidebar-submit:hover {
  color: var(--accent-hover);
}

/* Ссылки согласия на зелёной панели корзины — белые (перебивает main a) */
body.site-theme-himnova .cart-sidebar-panel label.cart-sidebar-consent a,
body.site-theme-himnova .cart-sidebar-panel label.cart-sidebar-consent a:link,
body.site-theme-himnova .cart-sidebar-panel label.cart-sidebar-consent a:visited,
body.site-theme-himnova .cart-sidebar-panel label.cart-sidebar-consent a:hover,
body.site-theme-himnova .cart-sidebar-panel label.cart-sidebar-consent a:focus-visible {
  color: #fff;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.85);
  text-underline-offset: 0.15em;
}

/* Синеватые нейтрали → зелёно-совместимые */
body.site-theme-himnova .search-compact input,
body.site-theme-himnova .form-control {
  background: var(--bg);
  border-color: var(--border);
}

body.site-theme-himnova .card,
body.site-theme-himnova .product-card,
body.site-theme-himnova .home-partner-card {
  border-color: var(--border);
}

body.site-theme-himnova .modal-content {
  border: 1px solid rgba(25, 76, 55, 0.12);
}

body.site-theme-himnova .catalog-filters,
body.site-theme-himnova .pdp-sidebar-sticky {
  background: var(--surface-2);
}

/* Карточки и акцентные подложки */
body.site-theme-himnova .home-partner-card {
  background: linear-gradient(180deg, #f0faf4 0%, var(--card) 100%);
}

body.site-theme-himnova .stale {
  background: #f5faf0;
  color: #3d5c45;
  border-bottom-color: #c8e6d0;
}

body.site-theme-himnova .tag:hover {
  border-color: rgba(var(--accent-rgb), 0.35);
  color: var(--accent-hover);
}

body.site-theme-himnova.site-home .hero .tags a.tag,
body.site-theme-himnova.site-home .hero .tags a.tag:hover {
  color: #fff;
}

body.site-theme-himnova .product-card:hover {
  border-color: rgba(var(--accent-rgb), 0.35);
}

body.site-theme-himnova .pdp-tabs button.active,
body.site-theme-himnova .pdp-tabs button[aria-selected="true"] {
  border-bottom-color: var(--accent);
  color: var(--accent);
}

body.site-theme-himnova .cookie-consent {
  border-top-color: var(--border);
  background: #f0faf4;
}

/* Акцентные ссылки только в основном контенте (не шапка/подвал/hero) */
body.site-theme-himnova main a:not(.btn):not(.logo):not(.tag) {
  color: var(--accent);
}

body.site-theme-himnova main a:not(.btn):not(.logo):not(.tag):hover {
  color: var(--accent-hover);
}

body.site-theme-himnova .cookie-consent a {
  color: var(--accent);
}

body.site-theme-himnova .cookie-consent a:hover {
  color: var(--accent-hover);
}

/* Ссылки согласия на зелёной панели корзины — белые */
body.site-theme-himnova .cart-sidebar-panel label.cart-sidebar-consent a,
body.site-theme-himnova .cart-sidebar-panel label.cart-sidebar-consent a:link,
body.site-theme-himnova .cart-sidebar-panel label.cart-sidebar-consent a:visited,
body.site-theme-himnova .cart-sidebar-panel label.cart-sidebar-consent a:hover,
body.site-theme-himnova .cart-sidebar-panel label.cart-sidebar-consent a:focus-visible {
  color: #fff;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.85);
  text-underline-offset: 0.15em;
}

body.site-theme-himnova .cart-sidebar-panel label.cart-sidebar-consent a:hover,
body.site-theme-himnova .cart-sidebar-panel label.cart-sidebar-consent a:focus-visible {
  text-decoration-color: #fff;
}

body.site-theme-himnova .section-title a {
  color: var(--accent);
}

body.site-theme-himnova .section-title a:hover {
  color: var(--accent-hover);
}

body.site-theme-himnova .form-control:focus,
body.site-theme-himnova input:focus,
body.site-theme-himnova select:focus,
body.site-theme-himnova textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(var(--accent-rgb), 0.18);
}

body.site-theme-himnova .price {
  color: var(--accent-hover);
}

body.site-theme-himnova .breadcrumb a {
  color: var(--accent);
}

body.site-theme-himnova .pagination a.is-active {
  background: var(--accent);
  border-color: var(--accent);
}
