/* OOCSS, оформление. Фирменная палитра и повторяемые поверхности не зависят
   от страницы, идентификатора контейнера или положения элемента в дереве. */
.gh-theme {
    --gh-brand: #38691d;
    --gh-brand-ink: #315f16;
    --gh-ink: #46513f;
    --gh-muted: #626b5d;
    --gh-border: #d9e1d5;
    --gh-border-strong: #a8b89e;
    --gh-soft: #f6f8f4;
    --gh-paper: #fff;
    --gh-error: #b42318;
    --gh-radius: 8px;
}
.gh-c-surface { border: 1px solid var(--gh-border); border-radius: var(--gh-radius); background: var(--gh-paper); color: var(--gh-ink); }
.gh-c-surface--soft { background: var(--gh-soft); }
.gh-c-chip { border: 1px solid var(--gh-border); border-radius: var(--gh-radius); background: var(--gh-paper); color: var(--gh-brand-ink); font-size: 14px; line-height: 1.4; }
.gh-c-chip[aria-current] { background: var(--gh-brand); color: var(--gh-paper); border-color: var(--gh-brand); }
.gh-c-chip--removable::before { content: '\00d7'; font-size: 20px; }
.gh-c-heading-small { font-size: 16px; font-weight: 600; line-height: 1.4; }
.gh-c-section-label { color: var(--gh-muted); font-size: 12px; font-weight: 600; line-height: 1.5; }
.gh-c-muted { color: var(--gh-muted); font-weight: 400; }
.gh-c-specs { color: var(--gh-ink); font-size: 13px; line-height: 1.5; font-weight: 400; }
.gh-c-specs > * { border-bottom: 1px solid var(--gh-border); }
.gh-c-specs dd { font-weight: 600; }
.gh-c-text-link { color: var(--gh-brand-ink); text-decoration: underline; }
.gh-c-social-link { color: var(--gh-brand-ink); text-decoration: none; }
.gh-c-back-to-top { background: var(--gh-paper); color: var(--gh-brand-ink); border: 1px solid var(--gh-border-strong); border-radius: var(--gh-radius); font-size: 24px; line-height: 42px; }
.gh-c-back-to-top:focus-visible { outline: 2px solid var(--gh-brand); outline-offset: 3px; }
.gh-c-action-icon { color: var(--gh-brand-ink); font-size: 20px; line-height: 1; }
.gh-c-action-icon .gh-o-action-glyph { stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.gh-c-action-icon:focus-visible { outline: 2px solid var(--gh-brand); outline-offset: -2px; }
.gh-c-social-link > span { font-family: 'Open Sans',sans-serif; font-size: 16px; font-weight: 400; }
@media (max-width: 979px) {
    .gh-c-footer { background: var(--gh-soft); color: var(--gh-ink); border-top: 1px solid var(--gh-border); }
}
/* Лёгкие вкладки: активность обозначается линией и насыщенностью текста,
   без отдельной заливки. Адаптер передаёт состояние штатной вкладки темы. */
.gh-c-tabs { border: 0; border-bottom: 1px solid var(--gh-border); }
.gh-c-tab { background: transparent; color: var(--gh-tab-ink,var(--gh-muted)); border: 0; border-bottom: 2px solid var(--gh-tab-rule,transparent); border-radius: 0; font-size: clamp(12px,3.3vw,14px); font-weight: var(--gh-tab-weight,400); line-height: 1.4; text-decoration: none; }
.gh-c-tab:hover { color: var(--gh-brand-ink); background: transparent; }
.gh-c-tab:focus-visible { outline: 2px solid var(--gh-brand); outline-offset: -3px; }
.gh-c-tab-panel { transition: opacity .15s ease-in-out; }
@media (prefers-reduced-motion: reduce) {
    .gh-c-tab-panel { transition: none; }
}
.gh-c-icon-button { color: var(--gh-brand-ink); background: var(--gh-soft); border: 1px solid var(--gh-border-strong); border-radius: var(--gh-radius); font-size: 20px; line-height: 1; cursor: pointer; }
.gh-c-icon-button:hover { background: var(--gh-border); }
.gh-c-icon-button--plain { border: 0; background: transparent; }
.gh-c-input { background: var(--gh-paper); color: var(--gh-ink); border: 1px solid var(--gh-border-strong); border-radius: var(--gh-radius); font-size: 16px; line-height: 1.5; }
.gh-c-input:focus-visible, .gh-c-input:focus-within { outline: 2px solid var(--gh-brand); outline-offset: 2px; }
.gh-c-input[aria-invalid="true"] { border-color: var(--gh-error) !important; }
.gh-c-empty-message { font-size: 16px; line-height: 1.6; color: var(--gh-muted); }
.gh-c-form-label { color: var(--gh-ink); font-size: 14px; font-weight: 600; line-height: 1.5; }
.gh-c-form-title { color: var(--gh-ink); font-size: 26px; font-weight: 600; line-height: 1.3; }
.gh-c-primary-button { background: var(--gh-brand); color: var(--gh-paper); border: 1px solid var(--gh-brand); border-radius: var(--gh-radius); font-size: 16px; font-weight: 600; line-height: 1.5; transition: background-color .15s, color .15s; }
.gh-c-primary-button:hover { background: var(--gh-brand-ink); }
.gh-c-link-grid > a { color: var(--gh-brand-ink); font-size: 14px !important; line-height: 1.5; text-decoration: none; }
.gh-c-home-link { text-align: left; }
.gh-c-home-title { color: var(--gh-ink); font-size: clamp(24px,4vw,34px); font-weight: 600; line-height: 1.25; }
@media (max-width: 979px) {
/* Пробная монохромная версия на фото: тот же прозрачный силуэт без контура
   и фоновой поверхности. Обычный зелёный логотип на других страницах сохранён. */
.gh-c-logo--on-image { filter: brightness(0) invert(1); }
.gh-c-masthead { --gh-slider-control-bg: transparent; --gh-slider-control-ink: #c5cdc0; --gh-slider-control-active-ink: #fff; --gh-masthead-ink: #fff; --gh-masthead-line: rgba(255,255,255,.8); background: transparent; }
.gh-c-masthead-control, .gh-c-masthead-menu { color: var(--gh-masthead-ink); background: transparent; border-color: transparent; box-shadow: none; }
.gh-c-masthead-menu { --gh-menu-layer-fill: var(--gh-brand); --gh-nav-ink: var(--gh-paper); }
.gh-c-slide-caption { color: #fff !important; background: transparent !important; font-family: 'Open Sans',sans-serif !important; font-size: clamp(19.5px,5.4vw,27px) !important; font-weight: 300 !important; font-style: italic !important; line-height: 1.1 !important; letter-spacing: normal !important; text-transform: lowercase !important; }
}
.gh-c-nav-choice { color: var(--gh-nav-ink,var(--gh-brand-ink)); background: transparent; border: 0; border-radius: 0; font-size: 14px; font-weight: 400; line-height: 1.45; text-decoration: none; cursor: pointer; }
.gh-c-nav-link { text-decoration: underline; text-underline-offset: .18em; text-decoration-thickness: 1px; }
.gh-c-nav-link:hover, .gh-c-nav-choice[aria-current="page"] { text-decoration-thickness: 2px; }
.gh-c-nav-choice[aria-current="page"] { font-weight: 600; }
.gh-c-nav-choice:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }
/* Изображения локальные. Мягкая нейтральная тень ограничена нижним краем:
   фотография сохраняет собственные цвета, зелёной вуали поверх неё нет. */
.gh-c-image-choice { --gh-nav-ink: #fff; background-color: #426d37; background-image: linear-gradient(0deg,rgba(0,0,0,.78) 0%,rgba(0,0,0,.4) 32%,transparent 66%),var(--gh-nav-image); background-position: center; background-size: cover; border: 0; border-radius: var(--gh-radius); font-weight: 600; text-decoration: none; text-shadow: 0 1px 3px rgba(0,0,0,.85); }
.gh-c-image-choice:hover { text-decoration: underline; text-underline-offset: .18em; }
.gh-c-image-choice:focus-visible { outline-color: var(--gh-nav-ink); outline-offset: -3px; }
.gh-c-image-choice[aria-current="page"] { text-decoration: underline; text-underline-offset: .18em; }
.gh-c-nav-catalog { --gh-nav-image: url('assets/category-11268-340.webp'); }
.gh-c-nav-sections { --gh-nav-image: url('assets/menu-sections.svg'); }
.gh-c-nav-about { --gh-nav-image: url('assets/menu-about.jpg'); }
.gh-c-nav-blog { --gh-nav-image: url('assets/category-11230-340.webp'); }
.gh-c-nav-payment { --gh-nav-image: url('assets/menu-payment.svg'); }
.gh-c-nav-terms { --gh-nav-image: url('assets/menu-terms.svg'); }
.gh-c-nav-contacts { --gh-nav-image: url('assets/menu-contacts.svg'); }
.gh-c-nav-account { --gh-nav-image: url('assets/menu-account.svg'); }
/* На планшете иллюстрация сохраняется целиком справа, а не обрезается
   как фотография при заполнении широкой плитки. Общий фон остаётся зелёным. */
.gh-c-nav-sections, .gh-c-nav-payment, .gh-c-nav-terms, .gh-c-nav-contacts, .gh-c-nav-account { background-size: cover,auto 100%; background-repeat: no-repeat; background-position: center,right top; }
.gh-c-header-toggle { --gh-header-toggle-font-size: 22px; color: var(--gh-brand-ink); background: transparent; border: 0; box-shadow: none; }
.gh-c-header-action { color: var(--gh-brand-ink); font-size: 22px; line-height: 1; text-decoration: none; }
/* Фон закреплённой строки меняется сразу: иконки также должны сразу стать
   зелёными, без унаследованного плавного перехода из белого в белом фоне. */
.gh-c-header-action, .gh-c-header-toggle { transition: none; }
/* Закреплённая строка использует палитру остальных светлых поверхностей.
   Зелёный оригинал логотипа сохраняется, белая версия нужна только на фото. */
@media (max-width: 979px) {
    .gh-c-header-bar.gh-is-sticky { --gh-sticky-ink: var(--gh-brand-ink); background: var(--gh-paper); border-bottom: 1px solid var(--gh-border); }
}
.gh-c-counter { --gh-counter-font-size: 10px; --gh-counter-leading: 1.3; font-size: var(--gh-counter-font-size); line-height: var(--gh-counter-leading); font-variant-numeric: tabular-nums; text-align: center; }
.gh-c-contact-section { --gh-contact-ink: var(--gh-brand-ink); --gh-contact-muted: var(--gh-muted); --gh-contact-rule: var(--gh-border); border-top: 1px solid var(--gh-contact-rule); }
.gh-c-contact-section--on-brand { --gh-contact-ink: #fff; --gh-contact-muted: #dce6d4; --gh-contact-rule: rgba(255,255,255,.3); }
.gh-c-contact-list--compact { --gh-contact-link-size: clamp(12px,3.6vw,13px); }
.gh-c-contact-list--footer { --gh-contact-link-size: 16px; }
@media (max-width: 979px) {
    .gh-c-contact-list--footer { --gh-contact-link-size: 18px; }
    .gh-c-contact-list--footer .gh-c-contact-icon { font-size: 18px; }
}
.gh-c-contact-link { color: var(--gh-contact-ink,var(--gh-brand-ink)); font-size: var(--gh-contact-link-size,14px); line-height: 1.5; text-decoration: none; overflow-wrap: anywhere; }
.gh-c-contact-link:hover { opacity: .8; }
.gh-c-contact-link:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }
.gh-c-contact-hours { color: var(--gh-contact-muted,var(--gh-muted)); font-size: var(--gh-contact-link-size,13px); line-height: 1.5; }
.gh-c-contact-icon { color: var(--gh-contact-ink,var(--gh-brand-ink)); font-size: 16px; line-height: 1; }
.gh-c-category-card { color: var(--gh-ink); font-size: 14px; line-height: 1.45; text-decoration: none; }
.gh-c-category-card:hover { color: var(--gh-brand-ink); }
.gh-c-category-card:focus-visible { outline: 2px solid var(--gh-brand); outline-offset: 3px; }
.gh-c-category-card:active { opacity: .82; }
.gh-c-category-visual { background: var(--gh-soft); border-radius: var(--gh-radius); }
@media (hover: hover) and (pointer: fine) {
    .gh-c-category-card:hover .gh-c-category-visual { box-shadow: 0 0 0 2px var(--gh-border-strong); }
}
.gh-c-tile-title { --gh-tile-title-size: 14px; color: var(--gh-brand-ink); font-size: var(--gh-tile-title-size); line-height: 1.45; font-weight: 400; }
.gh-c-surface { --gh-tile-price-size: 18px; --gh-tile-old-price-size: 13px; }
.gh-c-home-link .gh-c-heading-small { color: var(--gh-brand-ink); }
.gh-c-empty { color: var(--gh-muted); font-size: 16px; line-height: 1.5; }
.gh-c-empty-icon { color: var(--gh-brand); font-size: 32px; }
/* Общий компонент на всех страницах и ширинах: спокойные подсказки в покое,
   одна рамка всей группы и активные цвета при фокусе любого её элемента. */
.gh-c-search { --gh-search-control-ink: var(--gh-muted); --gh-search-line: var(--gh-border-strong); --gh-search-active-ink: var(--gh-brand-ink); --gh-search-active-line: var(--gh-brand); --gh-search-focus-ring: var(--gh-brand); background: var(--gh-paper); border: 1px solid var(--gh-search-line); border-radius: 12px; }
.gh-c-search:focus-within { --gh-search-control-ink: var(--gh-search-active-ink); --gh-search-line: var(--gh-search-active-line); border-color: var(--gh-search-line); box-shadow: none; outline: 2px solid var(--gh-search-focus-ring); outline-offset: 0; }
.gh-c-select-input { border: 1px solid var(--gh-border-strong); border-radius: var(--gh-radius); background: var(--gh-paper); color: var(--gh-ink); font-size: 14px; line-height: 1.4; cursor: pointer; appearance: none; text-overflow: ellipsis; }
.gh-c-select-icon { color: var(--gh-muted); font-size: 12px; line-height: 1; }
.gh-c-search-select { border: 0; background: transparent; color: var(--gh-muted); }
.gh-c-field-hint { background: var(--gh-paper); color: var(--gh-brand-ink); border: 1px solid var(--gh-border-strong); border-radius: 8px; box-shadow: 0 4px 12px rgba(0,0,0,.12); font-size: 13px; line-height: 1.5; }
@media (max-width: 979px) {
/* Поиск поверх фото не перетягивает внимание в покое. Фокус любого поля
   или кнопки возвращает прежние белые элементы; введённый запрос остаётся
   белым и после выхода. Прозрачность всей формы не меняется. */
.gh-c-search--image { --gh-search-control-ink: #c5cdc0; --gh-search-line: rgba(220,228,215,.42); --gh-search-active-ink: var(--gh-masthead-ink); --gh-search-active-line: var(--gh-masthead-line); --gh-search-focus-ring: var(--gh-masthead-ink); color: var(--gh-search-control-ink); background: transparent; border-color: var(--gh-search-line); }
}
.gh-c-product-heading { color: var(--gh-ink); font-size: clamp(22px,2.4vw,28px); font-weight: 600; line-height: 1.3; overflow-wrap: anywhere; }
.gh-c-purchase-price { color: var(--gh-brand-ink); font-size: 28px; font-weight: 600; line-height: 1.25; }
.gh-c-compare-excerpt { color: var(--gh-ink); font-size: 14px; line-height: 1.6; font-weight: 400; }
.gh-c-page-heading { font-size: 26px !important; font-weight: 600; line-height: 1.3 !important; text-align: left !important; color: var(--gh-ink); }
.gh-c-section-heading { font-size: 20px !important; font-weight: 600; line-height: 1.4 !important; color: var(--gh-ink); }
.gh-c-heading-rule::after { background: #e0dfdf; }
.gh-c-prose { font-size: 16px; line-height: 1.65; color: var(--gh-ink); }
.gh-c-prose h2 { font-size: 26px; line-height: 1.35; }
.gh-c-prose h3 { font-size: 20px; line-height: 1.4; }
.gh-c-legal-copy { --gh-legal-font-size: 12px; --gh-legal-leading: 1.6; font-size: var(--gh-legal-font-size); line-height: var(--gh-legal-leading); }

.gh-c-page-link { border: 1px solid var(--gh-border); border-radius: var(--gh-radius); background: var(--gh-paper); color: var(--gh-brand-ink); font-size: 14px; line-height: 1; text-decoration: none; }
.gh-c-page-link.current { border-color: var(--gh-brand); background: var(--gh-brand); color: var(--gh-paper); }
.gh-c-page-link.dots { border-color: transparent; background: transparent; color: var(--gh-muted); }
.gh-c-page-link:is(:hover,:focus-visible):not(.current):not(.dots) { background: var(--gh-soft); border-color: var(--gh-border-strong); }

/* Нижняя навигация использует ту же палитру, что поиск, карточки и подвал. */
.gh-c-bottom-nav { background: var(--gh-paper); border-top: 1px solid var(--gh-border); }
.gh-c-bottom-nav-action { color: var(--gh-brand-ink); background: transparent; }
.gh-c-bottom-nav-action:is([aria-current=page],:active,:focus-visible) { background: var(--gh-soft); }

@media (max-width: 979px) {
    .gh-c-masthead { background-color: var(--gh-brand-ink); }
}

.gh-c-tabs > li.active { --gh-tab-ink: var(--gh-brand-ink); --gh-tab-rule: var(--gh-brand); --gh-tab-weight: 600; }
.gh-c-tab { font-weight: var(--gh-tab-weight,400); }
.gh-c-action-icon--labelled { font-size: 14px; line-height: 1.4; text-decoration: none; }

/* Исходный яркий зелёный .availability .available из MediaCenter. */
.gh-c-stock { font-size: 16px; line-height: 1.5; font-weight: 600; background: transparent; }
.gh-c-stock--available { color: #59b210; }

@media (max-width: 979px) {
    /* Размер первого кадра и скрытие следующих до FlexSlider заданы
       существующим адаптером галереи. Не скрываем готовое фото до JS. */
    .gh-c-product-gallery { opacity: 1 !important; }
}
