/* Hogart catalog layer: scoped to catalog/search/product UI, no markup changes. */
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../webfonts/onest/onest-cyrillic.fe2bd26ae82a.woff2") format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../webfonts/onest/onest-latin.3db826ed1c5d.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --hogart-green: #2f7d48;
  --hogart-green-dark: #25643a;
  --hogart-green-soft: #eef8ef;
  --hogart-brand-green: var(--hogart-green);
  --hogart-brand-green-soft: var(--hogart-green-soft);
  --hogart-ink: #1e1e1e;
  --hogart-text: #3c3c3c;
  --hogart-muted: #777;
  --hogart-grey: #aaaaaa;
  --hogart-line: #efefef;
  --hogart-line-strong: #d9d9d9;
  --hogart-surface: #f5f5f5;
  --hogart-white: #fff;
  --primary-dark: var(--hogart-ink);
  --primary-gray: var(--hogart-text);
  --primary-light: var(--hogart-white);
  --accent-color: var(--hogart-green);
  --bs-link-color: var(--hogart-green);
  --bs-link-hover-color: var(--hogart-green-dark);
  --bs-link-color-rgb: 47, 125, 72;
  --bs-link-hover-color-rgb: 37, 100, 58;
}

.catalog-title,
.product-title-detail,
.product-name-title {
  color: var(--hogart-ink) !important;
}

.catalog-title .accent::before,
.catalog-title-accent::before {
  background: rgba(64, 141, 71, 0.18) !important;
}

.catalog-subtitle,
.catalog-grid .category-title,
.catalog-child-bubble__title,
.catalog-child-bubbles--tabs .catalog-child-bubble__title,
.series-card__title,
.catalog-series__title,
.catalog-series__subtitle {
  color: var(--hogart-text) !important;
}

.catalog-grid .category-image,
.series-card,
.series-intro,
.catalog-product-card .catalog-product-card__media,
.catalog-child-bubble__placeholder,
.catalog-child-bubbles--tabs .catalog-child-bubble__placeholder {
  background: var(--hogart-white) !important;
  border: 1px solid var(--hogart-line) !important;
  border-radius: 14px !important;
  box-shadow: none !important;
}

/* Category artwork should sit directly on the page, without a framed tile. */
.catalog-grid .category-image,
.catalog-child-bubble .catalog-child-bubble__art {
  border: 0 !important;
  box-shadow: none !important;
}

.catalog-grid .category-underline,
.category-card .category-underline,
.catalog-sections-tabs__tab.is-active::after {
  background: var(--hogart-green) !important;
}

@media (min-width: 1200px) and (hover: hover) and (pointer: fine) {
  .catalog-sections-tabs__tab:not(.is-active):hover,
  .catalog-child-bubble:hover {
    background: transparent !important;
    background-image: none !important;
    box-shadow: inset 0 0 0 1px var(--hogart-green) !important;
  }

  .catalog-sections-tabs__tab:not(.is-active):focus-visible,
  .catalog-child-bubble:focus-visible {
    background: transparent !important;
    background-image: none !important;
    box-shadow: inset 0 0 0 1px var(--hogart-green) !important;
  }

  body.page-catalog-list .catalog-child-bubbles--tabs {
    grid-template-columns: repeat(auto-fill, 190px) !important;
    justify-content: start !important;
  }

  body.page-catalog-list .catalog-child-bubbles--groups-only {
    grid-template-columns: repeat(auto-fill, 250px) !important;
    justify-content: start !important;
  }

  body.page-catalog-list .catalog-child-bubble {
    width: 100% !important;
    max-width: none !important;
    box-sizing: border-box;
  }

  .category-card:hover .category-underline {
    background: var(--hogart-green) !important;
    transform: none;
  }
}

@media (max-width: 767.98px) {
  .catalog-grid .category-card,
  .catalog-child-bubble,
  .catalog-child-bubbles--tabs .catalog-child-bubble {
    border: 0 !important;
    border-bottom: 1px solid rgba(104, 111, 125, 0.22) !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  .catalog-grid .category-image,
  .catalog-child-bubble__art,
  .catalog-child-bubbles--tabs .catalog-child-bubble__art,
  .catalog-child-bubble__placeholder,
  .catalog-child-bubbles--tabs .catalog-child-bubble__placeholder {
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  .catalog-grid .category-underline,
  .category-card .category-underline {
    display: none !important;
  }
}

.catalog-sections-tabs__tab,
.catalog-menu__children-link,
.catalog-product-card__series,
.catalog-product-card__brand,
.catalog-product-card__swatch-title,
.catalog-filter-range__readout {
  color: var(--hogart-text) !important;
}

.catalog-sections-tabs__tab:hover,
.catalog-sections-tabs__tab.is-active,
.catalog-menu__children-link:hover,
.catalog-menu__children-link.is-active {
  color: var(--hogart-green) !important;
}

.catalog-product-card__media {
  padding: 20px !important;
}

#catalog-products-grid .catalog-product-card {
  border-radius: 24px;
}

#catalog-products-grid .catalog-product-card__link:hover .product-name-title,
#catalog-products-grid .catalog-product-card__link:focus-visible .product-name-title {
  color: var(--hogart-green) !important;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.list-product-sku__badge {
  border-color: var(--hogart-line) !important;
  border-radius: 4px !important;
  background: var(--hogart-surface) !important;
  color: var(--hogart-grey) !important;
  letter-spacing: 0;
}

.catalog-price__value,
.catalog-price__currency,
.product-price-block .price {
  color: var(--hogart-green) !important;
}

.catalog-price,
.catalog-price__current {
  min-width: 0;
  max-width: 100%;
}

.catalog-price__current {
  white-space: normal;
  overflow-wrap: anywhere;
}

.catalog-price__value {
  font-size: 1.2rem;
  font-weight: 600;
  min-width: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
}

.catalog-product-card__badge {
  top: 0 !important;
  right: 0 !important;
  left: auto !important;
  border: 0 !important;
  border-radius: 0 14px 0 10px !important;
  background: var(--hogart-green) !important;
  color: #fff !important;
  box-shadow: none !important;
}

.catalog-product-card__series-name,
.catalog-product-card__brand-name,
.product-series__name,
.catalog-series-link,
.catalog-product-card__series-link,
.product-series__link,
.catalog-product-card__swatch-rows .catalog-product-card__swatch-text-option {
  border-color: var(--hogart-line) !important;
  background: var(--hogart-surface) !important;
  border-radius: 8px !important;
  color: var(--hogart-text) !important;
  box-shadow: none !important;
}

.catalog-product-card__series-name,
.catalog-product-card__brand-name,
.product-series__name {
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: var(--hogart-green) !important;
  box-shadow: none !important;
}

a.catalog-product-card__series-name:hover,
a.catalog-product-card__series-name:focus-visible,
a.catalog-product-card__brand-name:hover,
a.catalog-product-card__brand-name:focus-visible,
a.product-series__name:hover,
a.product-series__name:focus-visible {
  color: #256f3c !important;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.catalog-product-card__swatch,
.catalog-product-card__swatch img,
.catalog-product-card__swatch-color,
.catalog-product-card__swatch-text,
.catalog-product-card__swatch-dot {
  border-radius: 8px !important;
}

.catalog-product-card__swatch:hover,
.catalog-product-card__swatch:focus-visible,
.catalog-product-card__swatch.is-active {
  border-color: var(--hogart-green) !important;
}

.catalog-product-card__swatch:hover,
.catalog-product-card__swatch:focus-visible {
  border-width: 3px !important;
}

.btn-buy,
.cart-add-button,
.product-action-group__menu,
.catalog-filters #catalog-filters-apply {
  background: var(--hogart-green) !important;
  border-color: var(--hogart-green) !important;
  border-radius: 12px !important;
  color: #fff !important;
  box-shadow: none !important;
}

.btn-buy:hover,
.btn-buy:focus-visible,
.cart-add-button:hover,
.cart-add-button:focus-visible,
.product-action-group__menu:hover,
.product-action-group__menu:focus-visible,
.catalog-filters #catalog-filters-apply:hover,
.catalog-filters #catalog-filters-apply:focus-visible {
  background: var(--hogart-green-dark) !important;
  border-color: var(--hogart-green-dark) !important;
  color: #fff !important;
  transform: none !important;
}

.cart-add-button i,
.cart-add-button span,
.product-action-group__menu i {
  color: currentColor !important;
}

/* Filters: color pass only. Existing layout, radii and spacing stay intact. */
.catalog-filters__toggle,
.catalog-filter-card,
.catalog-filter-chip,
.catalog-filters__placeholder {
  border-color: var(--hogart-line) !important;
}

.catalog-filters__panel,
.catalog-filter-card,
.catalog-filters__placeholder {
  background: var(--hogart-surface) !important;
}

.catalog-filters__title,
.catalog-filter-card__title,
.catalog-filter-range__readout {
  color: var(--hogart-text) !important;
}

.catalog-filter-card.is-active,
.catalog-filter-chip.is-active,
.catalog-filters .noUi-connect,
.catalog-product-card__swatch-rows .catalog-product-card__swatch-text-option.is-active {
  background: var(--hogart-green) !important;
  border-color: var(--hogart-green) !important;
  color: #fff !important;
}

.catalog-filter-card.is-active .catalog-filter-chip.is-active {
  background: #fff !important;
  border-color: #fff !important;
  color: var(--hogart-green) !important;
  box-shadow: 0 2px 8px rgba(31, 72, 39, 0.16);
}

.catalog-filter-chip.is-excluded,
.catalog-filter-card.is-active .catalog-filter-chip.is-excluded {
  background: #fff2f2 !important;
  border-color: #d58a8a !important;
  color: #9d3838 !important;
  box-shadow: none !important;
  text-decoration: line-through;
}

.catalog-filters .noUi-horizontal .noUi-handle {
  background: var(--hogart-green) !important;
  box-shadow: 0 0 0 2px #fff !important;
}

/* Product detail page. */
#product-image.product-image-frame {
  background: var(--hogart-white) !important;
  border: 1px solid var(--hogart-line) !important;
  border-radius: 14px !important;
  box-shadow: none !important;
}

.product-gallery-thumb.active {
  border-color: var(--hogart-green) !important;
  box-shadow: 0 0 0 1px rgba(64, 141, 71, 0.22) !important;
}

.product-complect-badge {
  top: 0 !important;
  right: 0 !important;
  left: auto !important;
  border: 0 !important;
  border-radius: 0 14px 0 10px !important;
  background: var(--hogart-green) !important;
  color: #fff !important;
}

.product-price-block {
  background: var(--hogart-surface) !important;
  border: 1px solid var(--hogart-line) !important;
  border-radius: 8px !important;
  padding: 14px 16px;
}

.product-specs h5 {
  color: var(--hogart-ink) !important;
}

.product-specs ul li {
  border-bottom-color: var(--hogart-line) !important;
}

body.page-product-detail .list-group-item:hover,
body.page-product-detail .list-group-item:focus-within {
  border-color: rgba(47, 125, 72, 0.28) !important;
  background: rgba(47, 125, 72, 0.06) !important;
}

.pagination .page-item.active .page-link,
.pagination a.page-link:hover,
.pagination a.page-link:focus-visible {
  border: 1px solid var(--hogart-green) !important;
  color: var(--hogart-green) !important;
  background: var(--hogart-white) !important;
}

.splendy-breadcrumb .breadcrumb-item a:hover,
.splendy-breadcrumb .breadcrumb-item.active,
.splendy-breadcrumb .breadcrumb-item.active .breadcrumb-label {
  color: var(--hogart-green) !important;
}

.catalog-stock {
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  color: var(--hogart-muted);
  font-size: 0.86rem;
}

.catalog-stock__summary {
  width: fit-content;
  max-width: 100%;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 0;
  background: transparent;
  color: var(--hogart-green);
  border-radius: 0;
  padding: 0;
  font: inherit;
  cursor: help;
}

.catalog-stock__label {
  font-weight: 600;
}

.catalog-stock__value {
  color: var(--hogart-ink);
  font-weight: 700;
}

.catalog-stock__details {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 8px;
  line-height: 1.25;
}

.catalog-stock__details span {
  white-space: nowrap;
}

.catalog-stock__row {
  display: inline-grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 8px;
}

.catalog-stock__warehouse {
  min-width: 0;
  white-space: normal !important;
  overflow-wrap: break-word;
}

.catalog-stock__quantity {
  white-space: nowrap !important;
  font-variant-numeric: tabular-nums;
  text-align: right;
}

.catalog-stock__empty {
  color: var(--hogart-muted);
}

@media (max-width: 1199.98px) {
  #catalog-products-grid .catalog-price {
    align-items: flex-start;
    min-height: 24px;
  }

  #catalog-products-grid .catalog-price__current {
    line-height: 1.15;
  }

  #catalog-products-grid .catalog-price__currency {
    flex: 0 0 auto;
  }

  #catalog-products-grid .catalog-product-card__badges {
    position: absolute;
    inset: 8px auto auto 8px;
    max-width: calc(100% - 16px);
  }

  #catalog-products-grid .catalog-product-card__status-badge,
  #catalog-products-grid .catalog-product-card__badge {
    position: static;
    max-width: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
    font-size: 0.68rem;
    line-height: 1.15;
    letter-spacing: 0;
    text-transform: none;
  }
}

:root {
  --site-footer-height: 64px;
  --site-footer-rail-height: var(--site-footer-height);
}

html {
  min-height: 100%;
}

body {
  min-height: 100vh;
  min-height: 100dvh;
}

body:has(> .site-footer) {
  padding-bottom: calc(var(--site-footer-height) + env(safe-area-inset-bottom, 0px));
}

.site-footer {
  font-family: 'Onest', 'Manrope', sans-serif;
  box-sizing: border-box;
  flex: 0 0 auto;
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2147482480;
  width: 100%;
  height: calc(var(--site-footer-height) + env(safe-area-inset-bottom, 0px));
  margin: 0;
  padding-bottom: env(safe-area-inset-bottom, 0px);
  border-top: 1px solid rgba(47, 125, 72, 0.16);
  background: linear-gradient(180deg, #fff 0%, #f8fbf8 100%);
  color: #4f5968;
  opacity: 0;
  transform: translateY(100%);
  visibility: hidden;
  pointer-events: none;
  transition: transform .22s ease, opacity .18s ease, visibility 0s linear .22s;
}

body.site-at-bottom > .site-footer {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
  pointer-events: auto;
  transition-delay: 0s;
}

@media (min-width: 1200px) {
  body.page-home > .site-footer--home-always-desktop {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
    pointer-events: auto;
    transition-delay: 0s;
  }
}

@media (min-width: 768px) and (max-width: 1199.98px) {
  body.page-home > .site-footer--home-always-tablet {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
    pointer-events: auto;
    transition-delay: 0s;
  }
}

@media (max-width: 767.98px) {
  body.page-home > .site-footer--home-always-mobile {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
    pointer-events: auto;
    transition-delay: 0s;
  }
}

body.catalog-filters-open > .site-footer {
  visibility: hidden !important;
  opacity: 0 !important;
  transform: translateY(100%) !important;
  pointer-events: none !important;
}

.site-footer .page-wrap {
  box-sizing: border-box;
  width: min(100% - 28px, 1320px);
  margin: 0 auto;
}

.site-footer__row {
  box-sizing: border-box;
  height: var(--site-footer-height);
  display: flex;
  flex-flow: row wrap;
  align-items: center;
  gap: 10px clamp(18px, 3vw, 38px);
  padding: 10px 0;
  overflow: hidden;
}

.site-footer__item {
  min-width: 0;
  color: #4f5968;
  font-size: clamp(12px, 1.05vw, 14px);
  font-weight: 600;
  line-height: 1.35;
  text-decoration: none;
  overflow-wrap: anywhere;
  transition: color .18s ease;
}

a.site-footer__item:hover,
a.site-footer__item:focus-visible,
.site-footer__item--accent {
  color: var(--hogart-brand-green);
}

a.site-footer__item:focus-visible {
  border-radius: 3px;
  outline: 2px solid rgba(47, 125, 72, 0.35);
  outline-offset: 4px;
}

.site-footer__item--muted {
  color: #6c7583;
  font-weight: 700;
}

.site-footer__top {
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(47, 125, 72, 0.28);
  border-radius: 999px;
  background: #fff;
  color: var(--hogart-brand-green);
  cursor: pointer;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease;
}

.site-footer__top:hover,
.site-footer__top:focus-visible {
  border-color: var(--hogart-brand-green);
  background: var(--hogart-brand-green);
  color: #fff;
  outline: 0;
}

.site-footer + .elegant-scroll-top {
  display: flex !important;
}

body.site-at-bottom > .site-footer + .elegant-scroll-top,
body.site-has-pagination > .site-footer + .elegant-scroll-top {
  display: none !important;
}

body.site-has-pagination .site-footer__top {
  display: none !important;
}

.site-pagination-rail {
  box-sizing: border-box;
  position: fixed !important;
  right: 0 !important;
  bottom: env(safe-area-inset-bottom, 0px) !important;
  left: 0 !important;
  z-index: 2147482485 !important;
  width: 100% !important;
  min-height: 46px;
  margin: 0 !important;
  padding: 6px clamp(10px, 3vw, 48px) !important;
  border-top: 1px solid rgba(47, 125, 72, 0.18) !important;
  background: rgba(255, 255, 255, 0.985) !important;
  box-shadow: 0 -1px 0 rgba(47, 125, 72, 0.08) !important;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: bottom .22s ease !important;
}

body.site-at-bottom:has(> .site-footer) .site-pagination-rail {
  bottom: calc(var(--site-footer-height) + env(safe-area-inset-bottom, 0px)) !important;
}

body.site-has-pagination:has(> .site-footer) {
  padding-bottom: calc(
    var(--site-footer-height) + 46px + 12px + env(safe-area-inset-bottom, 0px)
  );
}

body.site-has-pagination:not(:has(> .site-footer)) {
  padding-bottom: calc(46px + 12px + env(safe-area-inset-bottom, 0px));
}

/*
 * On regular pages this in-flow spacer reserves the fixed rails' real height.
 * Its end marker drives footer visibility, so showing the footer cannot change
 * the measured scroll boundary and start an on/off loop in a short viewport.
 */
.site-footer-sentinel {
  position: relative;
  width: 100%;
  height: calc(var(--site-footer-height) + env(safe-area-inset-bottom, 0px));
  flex: 0 0 auto;
  pointer-events: none;
}

.site-footer-sentinel > [data-site-footer-end-marker] {
  position: absolute;
  right: 0;
  bottom: 1px;
  width: 1px;
  height: 1px;
}

body:has(> .site-footer-sentinel),
body.site-has-pagination:has(> .site-footer-sentinel) {
  padding-bottom: 0;
}

body.site-has-pagination > .site-footer-sentinel {
  height: calc(
    var(--site-footer-height) + 46px + 12px + env(safe-area-inset-bottom, 0px)
  );
}

/* Regular B2B pages can end close to the viewport edge. Do not slide the
 * footer through their last row: visibility changes without vertical motion.
 * Catalog pages have no shared sentinel and keep their existing animation. */
body:has(> .site-footer-sentinel) > .site-footer {
  transform: none;
  transition: opacity .12s ease, visibility 0s linear .12s;
}

body.site-at-bottom:has(> .site-footer-sentinel) > .site-footer {
  transition-delay: 0s;
}

body:has(> .site-footer-sentinel) .site-pagination-rail {
  transition: none !important;
}

.site-list-pagination {
  position: relative;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center !important;
  gap: 6px !important;
}

.site-list-pagination > .site-pagination-pages {
  grid-column: 2;
}

.site-pagination-filter-action {
  position: absolute;
  top: 50%;
  left: clamp(10px, 3vw, 48px);
  width: 38px;
  min-width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid rgba(47, 125, 72, 0.28);
  border-radius: 50%;
  background: #eef8ef;
  color: var(--hogart-brand-green);
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  transform: translateY(-50%);
  cursor: pointer;
}

.site-pagination-filter-action:hover,
.site-pagination-filter-action:focus-visible,
.site-pagination-filter-action[aria-expanded="true"] {
  border-color: var(--hogart-brand-green);
  background: var(--hogart-brand-green);
  color: #fff;
  outline: 0;
}

body:not(:has(#catalog-filters)) .site-pagination-filter-action {
  display: none;
}

.site-list-pagination--embedded:has(.site-pagination-filter-action) .site-list-pagination__summary {
  margin-left: 92px;
}

#catalog-pagination-wrap > .site-list-pagination--embedded {
  grid-column: 2;
  width: 100%;
  min-width: 0;
}

.site-list-pagination__summary {
  grid-column: 1;
  color: #687182;
  font-size: 13px;
  white-space: nowrap;
}

.site-list-pagination__summary strong {
  color: #242a31;
}

.site-list-pagination__size {
  grid-column: 3;
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-right: 46px;
  color: #687182;
  font-size: 13px;
  white-space: nowrap;
}

.site-list-pagination__size select {
  min-height: 30px;
  padding: 3px 28px 3px 9px;
  border: 1px solid rgba(104, 111, 125, 0.22);
  border-radius: 6px;
  background: #fff;
  color: #26302a;
}

.site-pagination-pages {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-pagination-pages--mobile {
  display: none;
}

.site-pagination-page > a,
.site-pagination-page > span,
.pager.site-pagination-rail > a,
.pager.site-pagination-rail > span {
  box-sizing: border-box;
  min-width: 32px !important;
  min-height: 32px !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  margin: 0 !important;
  padding: 5px 9px !important;
  border: 1px solid rgba(47, 125, 72, 0.18) !important;
  border-radius: 9px !important;
  background: #fff !important;
  color: var(--hogart-brand-green) !important;
  text-decoration: none !important;
}

.site-pagination-page.is-active > a,
.site-pagination-page.is-active > span,
.pager.site-pagination-rail > .is-active {
  border-color: var(--hogart-brand-green) !important;
  background: #fff !important;
  color: var(--hogart-brand-green) !important;
  font-weight: 700;
}

.site-pagination-page.is-disabled > a,
.site-pagination-page.is-disabled > span {
  border-color: transparent !important;
  background: transparent !important;
  color: rgba(47, 125, 72, 0.35) !important;
  pointer-events: none;
}

@media (max-width: 767.98px) {
  .site-pagination-filter-action {
    left: 10px;
    font-size: 15px;
  }

  .site-pagination-pages--desktop {
    display: none;
  }

  .site-pagination-pages--mobile {
    width: min(190px, calc(100vw - 128px));
    min-width: 0;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    justify-items: center;
    gap: 2px;
  }

  .site-pagination-page > a,
  .site-pagination-page > span {
    width: 30px !important;
    min-width: 30px !important;
    min-height: 32px !important;
    padding: 4px 0 !important;
    border-color: transparent !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  .site-pagination-page.is-active > a,
  .site-pagination-page.is-active > span {
    border-color: var(--hogart-brand-green) !important;
    border-radius: 8px !important;
    background: transparent !important;
  }

  .site-list-pagination.site-pagination-rail {
    grid-template-columns: 54px minmax(0, 1fr) 54px;
    padding-right: 0 !important;
    padding-left: 0 !important;
  }

  .site-list-pagination.site-pagination-rail > .site-pagination-pages {
    grid-column: 2;
    justify-self: center;
  }

  #catalog-pagination-wrap > .site-list-pagination--embedded {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr);
    height: 100%;
    min-height: 0;
    align-items: center !important;
  }

  #catalog-pagination-wrap > .site-list-pagination--embedded > .site-pagination-pages {
    grid-column: 1;
    justify-self: center;
  }

  #catalog-pagination-wrap .site-pagination-pages--mobile {
    height: 38px;
    min-height: 38px;
    align-items: center;
    justify-content: center;
    justify-items: stretch;
  }

  #catalog-pagination-wrap .site-pagination-pages--mobile > .site-pagination-page {
    width: 100%;
    height: 38px;
    min-width: 0;
    min-height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
  }

  #catalog-pagination-wrap .site-pagination-pages--mobile > .site-pagination-page > a,
  #catalog-pagination-wrap .site-pagination-pages--mobile > .site-pagination-page > span {
    width: 100% !important;
    max-width: 36px;
    height: 36px !important;
    min-width: 0 !important;
    min-height: 36px !important;
    padding: 0 !important;
    overflow: hidden;
    font-size: 18px !important;
    font-variant-numeric: tabular-nums;
    line-height: 1 !important;
    white-space: nowrap;
  }

  #catalog-pagination-wrap .site-pagination-pages--mobile > .site-pagination-page.is-active > span {
    border-color: transparent !important;
    border-radius: 0 !important;
    font-size: 14px !important;
    letter-spacing: -.03em;
    cursor: default;
    pointer-events: none;
  }
}

.site-pagination-scroll-top {
  position: absolute;
  top: 50%;
  right: clamp(10px, 3vw, 48px);
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid rgba(47, 125, 72, 0.28);
  border-radius: 999px;
  background: #fff;
  color: var(--hogart-brand-green);
  transform: translateY(-50%);
}

@media (min-width: 1200px) {
  /* Keep the desktop side controls in their own tracks. Without intrinsic
     minimums the grid may shrink the "per page" track underneath the
     absolutely positioned scroll-to-top button. */
  .site-list-pagination {
    grid-template-columns: minmax(max-content, 1fr) auto minmax(max-content, 1fr);
    column-gap: 18px !important;
  }

  .site-list-pagination__summary,
  .site-list-pagination__size {
    min-width: max-content;
  }

  .site-list-pagination__size {
    margin-right: 56px;
  }
}

/* Match the catalog table view's 1500px minimum viewport width. */
@media (width < 1500px) {
  .site-list-pagination__size {
    display: none !important;
  }
}

@media (max-width: 767.98px) {
  .site-list-pagination__summary,
  .site-list-pagination__size {
    display: none !important;
  }

  .site-list-pagination--embedded .site-pagination-scroll-top {
    position: absolute;
    top: 50%;
    right: 10px;
    bottom: auto;
    transform: translateY(-50%);
  }
}


@media (min-width: 1200px) {
  .site-footer__row--desktop-left { justify-content: flex-start; }
  .site-footer__row--desktop-center { justify-content: center; }
  .site-footer__row--desktop-right { justify-content: flex-end; }
  .site-footer__row--desktop-between { justify-content: space-between; }
  .site-footer__item--hide-desktop { display: none !important; }
}

@media (min-width: 768px) and (max-width: 1199.98px) {
  .site-footer__row--tablet-left { justify-content: flex-start; }
  .site-footer__row--tablet-center { justify-content: center; }
  .site-footer__row--tablet-right { justify-content: flex-end; }
  .site-footer__row--tablet-between { justify-content: space-between; }
  .site-footer__item--hide-tablet { display: none !important; }
}

@media (max-width: 767.98px) {
  :root {
    --site-footer-height: 64px;
  }

  .site-footer .page-wrap {
    width: 100%;
    padding: 0 14px;
  }

  .site-footer__row {
    height: var(--site-footer-height);
    gap: 8px 16px;
    padding: 10px 0;
  }

  .site-footer__row--mobile-left { justify-content: flex-start; text-align: left; }
  .site-footer__row--mobile-center { justify-content: center; text-align: center; }
  .site-footer__row--mobile-right { justify-content: flex-end; text-align: right; }
  .site-footer__row--mobile-between { justify-content: space-between; text-align: left; }
  .site-footer__item--hide-mobile { display: none !important; }
}

.elegant-scroll-top {
  display: flex !important;
}

@media (max-width: 991.98px) {
  body:has(> .site-footer) {
    padding-bottom: calc(var(--site-footer-height) + env(safe-area-inset-bottom, 0px));
  }

  .elegant-scroll-top {
    display: none !important;
  }
}

@media (max-width: 991.98px) {
  body.page-catalog-list .catalog-menu {
    z-index: 2147483020;
  }

  body.page-catalog-list .catalog-menu__panel {
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    max-width: none !important;
    height: 100dvh !important;
    max-height: none !important;
    margin: 0 !important;
    border-radius: 0 !important;
  }

  body.page-catalog-list .catalog-menu__body {
    height: calc(100dvh - var(--catalog-menu-mobile-head, 74px)) !important;
  }

  body.page-catalog-list .catalog-menu__section-icon,
  body.page-catalog-list .catalog-menu__section-icon::after {
    display: none !important;
  }

  body.page-catalog-list .catalog-menu__section-btn {
    min-height: 58px;
    padding: 13px 18px;
    border-radius: 0;
    background: transparent !important;
  }

  body.page-catalog-list .catalog-menu__section-main {
    gap: 0;
  }

  body.page-catalog-list .catalog-menu__section-title,
  body.page-catalog-list .catalog-menu__children-link {
    color: #2f7d48;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.26;
  }

  body.page-catalog-list .catalog-menu__children-link {
    min-height: 52px;
    display: flex;
    align-items: center;
    padding-top: 10px;
    padding-bottom: 12px;
  }

  body.page-catalog-list .catalog-menu__section-btn:hover,
  body.page-catalog-list .catalog-menu__section-btn:focus-visible,
  body.page-catalog-list .catalog-menu__children-link:hover,
  body.page-catalog-list .catalog-menu__children-link:focus-visible {
    background: #eef8ef !important;
    color: #2f7d48;
  }
}

body.page-product-detail .btn-outline-secondary:not(.cart-add-button):not(.product-action-group__menu),
body.page-product-detail .product-mobile-summary__details > summary {
  border-color: rgba(47, 125, 72, 0.28) !important;
  background: #fff !important;
  color: #2f7d48 !important;
}

body.page-product-detail .btn-outline-secondary:hover,
body.page-product-detail .btn-outline-secondary:focus,
body.page-product-detail .btn-outline-secondary:focus-visible,
body.page-product-detail .btn-outline-secondary.active,
body.page-product-detail .btn-outline-secondary:active,
body.page-product-detail .btn-outline-secondary[aria-expanded="true"],
body.page-product-detail .product-mobile-summary__details[open] > summary,
body.page-product-detail .product-mobile-summary__details > summary:hover,
body.page-product-detail .product-mobile-summary__details > summary:focus-visible {
  border-color: var(--hogart-green) !important;
  background: var(--hogart-green) !important;
  color: #fff !important;
}

body.page-product-detail .btn-outline-secondary:hover .text-muted,
body.page-product-detail .btn-outline-secondary:focus .text-muted,
body.page-product-detail .btn-outline-secondary:focus-visible .text-muted,
body.page-product-detail .btn-outline-secondary.active .text-muted,
body.page-product-detail .btn-outline-secondary:active .text-muted,
body.page-product-detail .btn-outline-secondary[aria-expanded="true"] .text-muted,
body.page-product-detail .product-mobile-summary__details[open] > summary .text-muted,
body.page-product-detail .product-mobile-summary__details > summary:hover .text-muted,
body.page-product-detail .product-mobile-summary__details > summary:focus-visible .text-muted {
  color: rgba(255, 255, 255, 0.82) !important;
}

@media (max-width: 767.98px) {
  .hogart-infoblock-modal__head {
    gap: 12px !important;
  }

  .hogart-infoblock-modal__head h2 {
    min-width: 0;
    overflow-wrap: normal;
    word-break: normal;
    hyphens: auto;
  }

  .hogart-infoblock-section__head {
    gap: 0 !important;
  }

  .hogart-infoblock-section__head img {
    display: none !important;
  }

  .hogart-infoblock-section__head h3 {
    font-size: 22px !important;
    line-height: 1.15 !important;
    overflow-wrap: normal !important;
    word-break: normal;
  }
}

@media (max-width: 991.98px) {
  body.page-catalog-list .catalog-menu__section-icon,
  body.page-catalog-list .catalog-menu__section-icon::after {
    display: inline-flex !important;
  }

  body.page-catalog-list .catalog-menu__section-btn {
    min-height: 60px;
    padding: 14px 14px;
    border-radius: 8px;
  }

  body.page-catalog-list .catalog-menu__section-main {
    gap: 12px;
  }
}

@media (max-width: 767.98px) {
  body.page-catalog-list .catalog-grid {
    display: grid;
    gap: 0;
    margin: 8px 0 18px;
  }

  body.page-catalog-list .catalog-grid > [class*="col-"] {
    width: 100%;
    padding-right: 0;
    padding-left: 0;
  }

  body.page-catalog-list .catalog-grid .category-card,
  body.page-catalog-list .catalog-grid .category-box {
    display: grid;
    justify-items: center;
    width: 100%;
    min-height: 0;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: initial !important;
    text-align: center;
  }

  body.page-catalog-list .catalog-grid .category-image,
  body.page-catalog-list .catalog-child-bubble__art,
  body.page-catalog-list .catalog-child-bubbles--tabs .catalog-child-bubble__art,
  body.page-catalog-list .catalog-child-bubbles--groups-only .catalog-child-bubble__art,
  body.page-catalog-list .catalog-child-bubble__placeholder {
    display: flex !important;
  }

  body.page-catalog-list .catalog-grid .category-image {
    width: 100% !important;
    height: 126px !important;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  body.page-catalog-list .catalog-grid .category-image img {
    width: auto;
    max-width: min(70vw, 210px);
    max-height: 116px;
    object-fit: contain;
    margin: 0 auto;
  }

  body.page-catalog-list .catalog-grid .category-underline {
    display: block !important;
    width: 100%;
    max-width: none;
    height: 1px;
    margin: 16px 0 18px;
    border-radius: 0;
    background: rgba(47, 125, 72, .34);
  }

  body.page-catalog-list .catalog-grid .category-title,
  body.page-catalog-list .catalog-child-bubble__title,
  body.page-catalog-list .catalog-child-bubbles--groups-only .catalog-child-bubble__title {
    color: var(--hogart-text) !important;
    font-size: inherit;
    text-decoration: none;
  }

  body.page-catalog-list .catalog-grid .category-title {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    font-size: clamp(15px, 4.8vw, 18px);
    line-height: 1.18;
    font-weight: 760;
    text-align: center;
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
  }

  .hogart-home-bookmarks {
    display: none !important;
  }

  .hogart-home-mobile-trigger {
    position: fixed;
    top: clamp(124px, 32vh, 230px);
    left: 0;
    z-index: 2147483010;
    width: 30px;
    height: 54px;
    min-height: 54px;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 0 12px 12px 0;
    background: rgba(47, 125, 72, .48);
    color: #2f7d48;
    padding: 0;
    box-shadow: 0 6px 14px rgba(31, 76, 39, .12);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
  }

  .hogart-home-mobile-trigger__icon {
    width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: rgba(255, 255, 255, .9);
    color: #2f7d48;
    font-size: 12px;
    box-shadow: 0 2px 7px rgba(20, 50, 30, .1);
  }

  .hogart-home-mobile-trigger__fallback {
    width: auto;
    height: auto;
    border: 0;
    font-size: 14px;
    font-weight: 900;
  }

}

@media (max-width: 767.98px) {
  html.hogart-list-open,
  html.hogart-modal-open {
    overflow: hidden;
  }

  .hogart-home-mobile-panel {
    position: fixed !important;
    inset: 0 !important;
    z-index: 2147483600 !important;
  }

  .hogart-home-mobile-panel:not([hidden]) {
    display: block !important;
  }

  .hogart-home-mobile-panel__backdrop {
    inset: 0 !important;
    background: rgba(18, 31, 25, .5) !important;
  }

  .hogart-home-mobile-panel__sheet {
    inset: 0 !important;
    width: 100% !important;
    height: 100dvh !important;
    display: flex !important;
    flex-direction: column;
    border-radius: 0 !important;
    background: #fff !important;
    overflow: hidden !important;
  }

  .hogart-home-mobile-panel__head {
    min-height: 92px !important;
    flex: 0 0 auto;
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    padding: calc(env(safe-area-inset-top, 0px) + 16px) 16px 14px !important;
    border-bottom: 1px solid rgba(47, 125, 72, .16) !important;
    background: #fff !important;
    box-shadow: 0 6px 18px rgba(31, 37, 48, .06);
  }

  .hogart-home-mobile-panel__head > div {
    min-width: 0;
  }

  .hogart-home-mobile-panel__head strong {
    color: #202620 !important;
    font-size: 24px !important;
    font-weight: 780 !important;
    line-height: 1.08 !important;
    letter-spacing: 0 !important;
  }

  .hogart-home-mobile-panel__head span {
    max-width: 100%;
    color: #68766b !important;
    font-size: 13px !important;
    line-height: 1.25 !important;
    white-space: normal;
    overflow-wrap: normal;
  }

  .hogart-home-mobile-panel__close {
    width: 42px !important;
    height: 42px !important;
    flex: 0 0 42px !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(47, 125, 72, .22) !important;
    border-radius: 12px !important;
    background: #fff !important;
    color: #2f7d48 !important;
    font-size: 20px;
    box-shadow: none !important;
  }

  .hogart-home-mobile-panel__list {
    flex: 1 1 auto;
    min-height: 0;
    display: grid !important;
    align-content: start;
    grid-auto-rows: max-content;
    gap: 10px !important;
    padding: 14px 12px calc(18px + env(safe-area-inset-bottom, 0px)) !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    background: linear-gradient(180deg, #f8fbf7 0%, #fff 34%);
    -webkit-overflow-scrolling: touch;
  }

  .hogart-home-mobile-card {
    --mobile-card-accent: #408d47;
    width: 100% !important;
    min-height: 62px !important;
    display: grid !important;
    grid-template-columns: 38px minmax(0, 1fr) 24px !important;
    align-items: center !important;
    gap: 10px !important;
    padding: 9px 10px !important;
    border: 1px solid rgba(47, 125, 72, .16) !important;
    border-left: 4px solid var(--mobile-card-accent) !important;
    border-radius: 10px !important;
    background: rgba(255, 255, 255, .98) !important;
    color: #202620 !important;
    box-shadow: 0 4px 14px rgba(31, 76, 39, .07) !important;
    overflow: hidden !important;
  }

  .hogart-home-mobile-card__icon {
    width: 38px !important;
    height: 38px !important;
    border-radius: 9px !important;
    background: #eef8ef !important;
    color: #2f7d48 !important;
  }

  .hogart-home-mobile-card__icon img {
    width: 30px !important;
    height: 30px !important;
  }

  .hogart-home-mobile-card__text {
    min-width: 0;
    display: grid !important;
    gap: 2px !important;
    overflow: hidden !important;
  }

  .hogart-home-mobile-card__text strong {
    display: -webkit-box !important;
    color: #26302a !important;
    font-size: 15px !important;
    font-weight: 760 !important;
    line-height: 1.18 !important;
    letter-spacing: 0 !important;
    overflow: hidden !important;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: auto;
  }

  .hogart-home-mobile-card__text small {
    display: block !important;
    color: #2f7d48 !important;
    font-size: 12px !important;
    line-height: 1.2 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  .hogart-home-mobile-card > .fa-chevron-right {
    width: 24px !important;
    min-height: 38px !important;
    color: #2f7d48 !important;
    font-size: 15px !important;
  }

  .hogart-infoblock-modal {
    z-index: 2147483610 !important;
  }

  .hogart-infoblock-modal__panel {
    width: 100% !important;
    height: 100dvh !important;
    max-height: 100dvh !important;
    margin: 0 !important;
    border-radius: 0 !important;
  }

  .hogart-infoblock-modal__head {
    min-height: 72px !important;
    padding: calc(env(safe-area-inset-top, 0px) + 12px) 14px 12px !important;
    box-shadow: 0 6px 18px rgba(31, 37, 48, .07) !important;
  }

  .hogart-infoblock-modal__head h2 {
    max-width: calc(100vw - 78px) !important;
    font-size: clamp(20px, 5.8vw, 24px) !important;
    line-height: 1.1 !important;
  }

  .hogart-infoblock-modal__close {
    flex: 0 0 40px !important;
    width: 40px !important;
    height: 40px !important;
    font-size: 25px !important;
  }

  .hogart-infoblock-modal__body {
    padding: 14px 12px calc(22px + env(safe-area-inset-bottom, 0px)) !important;
  }

  .hogart-infoblock-directions {
    position: sticky !important;
    top: 0 !important;
    z-index: 3;
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 7px 14px !important;
    max-height: none !important;
    margin: -2px 0 16px !important;
    padding: 8px 0 10px !important;
    border: 0 !important;
    border-bottom: 1px solid #e3e8e3 !important;
    border-radius: 0 !important;
    background: #fff !important;
    overflow: visible !important;
    box-shadow: none !important;
  }

  .hogart-infoblock-direction {
    width: auto !important;
    min-height: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: #2f7d48 !important;
    text-decoration: none !important;
    box-shadow: none !important;
  }

  .hogart-infoblock-direction__icon {
    display: none !important;
  }

  .hogart-infoblock-direction__icon img {
    display: none !important;
  }

  .hogart-infoblock-direction__title {
    width: auto !important;
    color: #2f7d48 !important;
    font-size: 14px !important;
    font-weight: 760 !important;
    line-height: 1.2 !important;
    text-decoration: underline !important;
    text-underline-offset: 3px;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
  }
}

/* Compact structured footer */
body:has(> .site-footer--structured) {
  --site-footer-height: 228px;
}

body:has(> .site-footer--structured.site-footer--has-menus) {
  --site-footer-height: min(330px, 58vh);
}

.site-footer--structured {
  overflow: hidden;
}

.site-footer--structured .page-wrap {
  height: var(--site-footer-height);
  min-height: 0;
  display: grid;
  grid-template-rows: minmax(0, 1fr) 52px;
}

.site-footer__content {
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(480px, 1.65fr) minmax(260px, .85fr);
  align-items: start;
  gap: clamp(26px, 5vw, 72px);
  padding: 18px 0 12px;
  overflow-y: auto;
}

.site-footer--has-menus .site-footer__content {
  grid-template-columns: minmax(340px, 1.35fr) minmax(280px, 1fr) minmax(220px, .7fr);
}

.site-footer__mobile {
  display: none;
}

.site-footer__heading {
  margin: 0 0 10px;
  color: var(--hogart-ink);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
}

.site-footer__office-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.site-footer__office {
  min-width: 0;
  display: grid;
  align-content: start;
  gap: 4px;
  padding: 0 8px 0 12px;
  border-left: 3px solid var(--hogart-green);
}

.site-footer__office h3 {
  margin: 0;
  color: var(--hogart-ink);
  font-size: 15px;
  line-height: 1.2;
}

.site-footer__office-place {
  display: flex;
  flex-wrap: wrap;
  gap: 3px 10px;
  color: var(--hogart-text);
  font-size: 12px;
  line-height: 1.35;
}

.site-footer__office > a {
  width: fit-content;
  font-size: 13px;
  line-height: 1.35;
}

.site-footer__office a,
.site-footer__menu a,
.site-footer__social-list a,
.site-footer__mobile a {
  color: var(--hogart-green);
  text-decoration: none;
}

.site-footer__office a:hover,
.site-footer__menu a:hover,
.site-footer__social-list a:hover,
.site-footer__mobile a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-footer__menus {
  display: grid;
  grid-template-columns: repeat(2, minmax(120px, 1fr));
  gap: 18px;
}

.site-footer__menu ul {
  display: grid;
  gap: 5px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer__menu li {
  color: var(--hogart-text);
  font-size: 12px;
  line-height: 1.3;
}

.site-footer__social-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.site-footer__social-list a {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 9px;
  border: 1px solid rgba(47, 125, 72, .2);
  border-radius: 8px;
  background: #fff;
  font-size: 12px;
  font-weight: 750;
}

.site-footer__social-icon {
  width: 15px;
  flex: 0 0 15px;
  color: var(--hogart-green);
  font-size: 14px;
  line-height: 1;
  text-align: center;
}

.site-footer--structured .site-footer__row {
  height: 52px;
  padding: 7px 0;
  border-top: 1px solid rgba(47, 125, 72, .12);
  overflow: hidden;
}

@media (min-width: 768px) and (max-width: 991.98px) {
  body:has(> .site-footer--structured) {
    --site-footer-height: 250px;
  }

  body:has(> .site-footer--structured.site-footer--has-menus) {
    --site-footer-height: min(340px, 62vh);
  }

  .site-footer__content {
    grid-template-columns: minmax(0, 1.45fr) minmax(220px, .75fr);
    gap: 24px;
  }

  .site-footer--has-menus .site-footer__content {
    grid-template-columns: 1fr 1fr;
  }

  .site-footer--has-menus .site-footer__socials {
    grid-column: 1 / -1;
  }
}

@media (max-width: 767.98px) {
  body:has(> .site-footer--structured),
  body:has(> .site-footer--structured.site-footer--has-menus) {
    --site-footer-height: 194px;
  }

  .site-footer--structured .page-wrap {
    grid-template-rows: minmax(0, 1fr) 48px;
  }

  .site-footer__content--desktop {
    display: none;
  }

  .site-footer__mobile {
    min-height: 0;
    display: grid;
    grid-template-rows: minmax(70px, auto) 34px;
    gap: 6px;
    padding: 8px 0 6px;
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  .site-footer__mobile-offices {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(218px, 82vw);
    gap: 8px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
  }

  .site-footer__mobile-offices::-webkit-scrollbar,
  .site-footer__mobile-socials::-webkit-scrollbar {
    display: none;
  }

  .site-footer__mobile-office {
    min-width: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-content: center;
    gap: 3px 9px;
    padding: 7px 10px;
    border: 1px solid rgba(47, 125, 72, .16);
    border-left: 3px solid var(--hogart-green);
    border-radius: 9px;
    background: #fff;
    scroll-snap-align: start;
  }

  .site-footer__mobile-office strong {
    min-width: 0;
    color: var(--hogart-ink);
    font-size: 13px;
    line-height: 1.2;
  }

  .site-footer__mobile-place {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 5px;
    grid-column: 1 / -1;
    color: var(--hogart-text) !important;
    font-size: 11px;
    line-height: 1.2;
  }

  .site-footer__mobile-place span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .site-footer__mobile-place i {
    flex: 0 0 auto;
    color: var(--hogart-green);
  }

  .site-footer__mobile-phone {
    grid-column: 1 / -1;
    width: fit-content;
    font-size: 11px;
    font-weight: 750;
    line-height: 1.2;
  }

  .site-footer__mobile-socials {
    display: flex;
    align-items: center;
    gap: 6px;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
  }

  .site-footer__mobile-socials a {
    flex: 0 0 auto;
    min-height: 30px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 8px;
    border: 1px solid rgba(47, 125, 72, .18);
    border-radius: 8px;
    background: #fff;
    font-size: 11px;
    font-weight: 750;
  }

  .site-footer__mobile-socials .site-footer__social-icon {
    width: 14px;
    flex-basis: 14px;
    font-size: 13px;
  }

  .site-footer__mobile-menu {
    grid-column: 1 / -1;
    font-size: 11px;
  }

  .site-footer__mobile-menu summary {
    color: var(--hogart-green);
    cursor: pointer;
    font-weight: 750;
  }

  .site-footer__mobile-menu > div {
    display: flex;
    flex-wrap: wrap;
    gap: 5px 10px;
    padding-top: 5px;
  }

  .site-footer--structured .site-footer__row {
    height: 48px;
    min-height: 48px;
    padding: 5px 0;
  }

  .site-footer--structured .site-footer__top {
    width: 32px;
    height: 32px;
  }
}

/* Article + local catalog product collection */
.article-product-collection {
  margin: 34px 0 10px;
  color: var(--hogart-ink);
}

.article-product-collection__summary {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  cursor: pointer;
}

.article-product-collection__summary::-webkit-details-marker {
  display: none;
}

.article-product-collection__summary::before {
  content: "";
  width: 0;
  height: 0;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-left: 10px solid var(--hogart-green);
  transition: transform .18s ease;
}

.article-product-collection[open] > .article-product-collection__summary::before {
  transform: rotate(90deg);
}

.article-product-collection__summary span,
.article-product-collection--static > h2 {
  margin: 0;
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 800;
}

.article-product-collection__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 16px;
}

.article-product-card {
  min-width: 0;
  border: 1px solid var(--hogart-line);
  border-radius: 16px;
  background: #fff;
  overflow: hidden;
}

.article-product-card__link {
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 14px;
  color: var(--hogart-ink);
  text-decoration: none;
}

.article-product-card__link:visited,
.article-product-card__link:hover,
.article-product-card__link:focus-visible {
  color: var(--hogart-ink) !important;
  text-decoration: none !important;
}

.article-product-card__link > strong {
  color: var(--hogart-ink) !important;
  text-decoration: none !important;
}

.article-product-card__media {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  margin-bottom: 4px;
  border-radius: 12px;
  background: var(--hogart-surface);
  overflow: hidden;
}

.article-product-card__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.article-product-card__placeholder {
  color: var(--hogart-muted);
  font-size: 12px;
}

.article-product-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 9px;
  color: var(--hogart-muted);
}

.article-product-card__sku {
  color: var(--hogart-muted);
  font-size: 12px;
}

.article-product-card strong {
  line-height: 1.3;
}

.article-product-card__price {
  margin-top: auto;
  padding-top: 8px;
  color: var(--hogart-green);
  font-weight: 800;
}

@media (max-width: 767.98px) {
  .article-product-collection__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .article-product-card__link {
    padding: 10px;
  }
}


@media (max-width: 767.98px) {
  body:has(> .site-footer--structured),
  body:has(> .site-footer--structured.site-footer--has-menus) {
    --site-footer-height: 124px;
  }

  .site-footer--structured .page-wrap {
    grid-template-rows: 76px 48px;
  }

  .site-footer__mobile {
    position: relative;
    isolation: isolate;
    min-height: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: 28px 30px;
    align-items: center;
    justify-items: center;
    gap: 4px;
    padding: 7px 0;
    overflow: hidden;
  }

  .site-footer__mobile::before {
    content: "";
    position: absolute;
    z-index: -1;
    top: -24px;
    right: -12px;
    bottom: -22px;
    width: 176px;
    background: url("../img/admin/admin-rhino-coder.8bd3fec145cd.webp") right center / auto 112px no-repeat;
    opacity: .10;
    pointer-events: none;
  }

  .site-footer__mobile-phones {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
  }

  .site-footer__mobile-phone {
    min-width: 52px;
    min-height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 3px 7px;
    border: 1px solid rgba(47, 125, 72, .20);
    border-radius: 999px;
    background: rgba(255, 255, 255, .92);
    color: var(--hogart-green) !important;
    font-size: 12px;
    font-weight: 800;
    text-decoration: none !important;
  }

  .site-footer__mobile-socials {
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    overflow-x: visible;
    overflow-y: hidden;
    scrollbar-width: none;
  }

  .site-footer__mobile-socials::-webkit-scrollbar {
    display: none;
  }

  .site-footer__mobile-socials a {
    flex: 0 0 auto;
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 1px solid rgba(47, 125, 72, .20);
    border-radius: 50%;
    background: rgba(255, 255, 255, .92);
  }

  .site-footer__mobile-socials .site-footer__social-icon {
    width: auto;
    flex: 0 0 auto;
    font-size: 15px;
  }
}


@media (max-width: 359.98px) {
  .site-footer .page-wrap {
    padding-inline: 9px;
  }

  .site-footer__mobile {
    gap: 4px;
  }

  .site-footer__mobile-phones {
    gap: 4px;
  }

  .site-footer__mobile-phone {
    min-width: 48px;
    min-height: 28px;
    gap: 4px;
    padding-inline: 5px;
    font-size: 11px;
  }

  .site-footer__mobile-socials {
    gap: 4px;
  }

  .site-footer__mobile-socials a {
    width: 30px;
    height: 30px;
  }

  .site-footer__mobile-socials .site-footer__social-icon {
    font-size: 13px;
  }
}


/* Pagination is the permanent bottom rail. At page end it rises and reveals the configurable footer beneath it. */
body.site-has-pagination > .site-footer--structured {
  bottom: 0;
}

body.site-at-bottom:has(> .site-footer--structured) .site-pagination-rail {
  bottom: calc(var(--site-footer-height) + env(safe-area-inset-bottom, 0px)) !important;
}

/* The paginator replaces the copyright/scroll-to-top row on paginated pages. */
body.site-has-pagination > .site-footer--structured .site-footer__row {
  display: none;
}

body.site-has-pagination > .site-footer--structured .page-wrap {
  grid-template-rows: minmax(0, 1fr);
}

@media (min-width: 1200px) {
  body.site-has-pagination:has(> .site-footer--structured) {
    --site-footer-height: 176px;
  }

  body.site-has-pagination:has(> .site-footer--structured.site-footer--has-menus) {
    --site-footer-height: min(278px, calc(58vh - 52px));
  }
}

@media (min-width: 768px) and (max-width: 1199.98px) {
  body.site-has-pagination:has(> .site-footer--structured) {
    --site-footer-height: 198px;
  }

  body.site-has-pagination:has(> .site-footer--structured.site-footer--has-menus) {
    --site-footer-height: min(288px, calc(62vh - 52px));
  }
}

@media (max-width: 767.98px) {
  body.site-has-pagination:has(> .site-footer--structured),
  body.site-has-pagination:has(> .site-footer--structured.site-footer--has-menus) {
    --site-footer-height: 76px;
  }
}

.site-footer__social-list a,
.site-footer__mobile-socials a {
  border-color: #d7e7db;
  background-color: #fff;
  color: #2f7d48 !important;
}

.site-footer__social-list a:hover,
.site-footer__social-list a:focus-visible,
.site-footer__mobile-socials a:hover,
.site-footer__mobile-socials a:focus-visible {
  border-color: #2f7d48;
  background-color: #eef7f0;
  color: #23683a !important;
}

.site-footer__social-icon {
  color: currentColor;
}


/* Exact social marks and dimensions used by the current hogart.ru footer. */
.site-footer__social-list a,
.site-footer__mobile-socials a {
  width: 30px;
  height: 30px;
  min-height: 30px;
  flex: 0 0 30px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: #3e9349;
  color: #fff !important;
}

.site-footer__social-list a:hover,
.site-footer__social-list a:focus-visible,
.site-footer__mobile-socials a:hover,
.site-footer__mobile-socials a:focus-visible {
  border: 0;
  background: #327b3d;
  color: #fff !important;
}

.site-footer__brand-icon {
  display: block;
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.site-footer__brand-icon--max {
  object-fit: contain;
}

.site-footer__brand-glyph {
  display: block;
  color: currentColor;
  font: 900 16px/1 Arial, sans-serif;
}

/* Unified footer: the paginator is its fixed first row and lifts to reveal this panel. */
body:has(> .site-footer-sentinel) .site-pagination-rail {
  transition: bottom .24s ease, box-shadow .24s ease !important;
}

body.site-at-bottom:has(> .site-footer--structured) .site-pagination-rail {
  box-shadow: 0 8px 24px rgba(31, 41, 55, .11) !important;
}

.site-footer--structured {
  background:
    radial-gradient(circle at 88% 120%, rgba(62, 147, 73, .08), transparent 22rem),
    linear-gradient(180deg, #fff 0%, #f7faf7 100%);
}

.site-footer--structured .site-footer__content {
  padding-top: 14px;
  padding-bottom: 12px;
}

.site-footer--structured .site-footer__heading {
  margin-bottom: 8px;
  letter-spacing: -.01em;
}

.site-footer--structured .site-footer__office {
  gap: 3px;
  border-left-width: 2px;
}

.site-footer--structured .site-footer__social-list {
  gap: 8px;
}

@media (min-width: 1200px) {
  body.site-has-pagination:has(> .site-footer--structured) {
    --site-footer-height: 144px;
  }

  body.site-has-pagination:has(> .site-footer--structured.site-footer--has-menus) {
    --site-footer-height: min(244px, calc(58vh - 52px));
  }
}

@media (min-width: 768px) and (max-width: 1199.98px) {
  body.site-has-pagination:has(> .site-footer--structured) {
    --site-footer-height: 162px;
  }

  body.site-has-pagination:has(> .site-footer--structured.site-footer--has-menus) {
    --site-footer-height: min(254px, calc(62vh - 52px));
  }
}


/* The list rail is structurally the first footer row: always above the revealed information panel. */
body:has(.site-pagination-rail) > .site-footer--structured {
  bottom: 0 !important;
  z-index: 2147482480;
}

body:has(.site-pagination-rail) > .site-footer--structured .site-footer__row {
  display: none !important;
}

body:has(.site-pagination-rail) > .site-footer--structured .page-wrap {
  grid-template-rows: minmax(0, 1fr);
}

body.site-at-bottom:has(.site-pagination-rail):has(> .site-footer--structured) .site-pagination-rail {
  bottom: calc(var(--site-footer-height) + env(safe-area-inset-bottom, 0px)) !important;
  z-index: 2147482486 !important;
  box-shadow: 0 -1px 0 rgba(47, 125, 72, .08) !important;
}

.site-footer--structured .site-footer__content {
  align-items: center;
}

.site-footer--structured .site-footer__heading {
  color: #202721;
  font-size: 14px;
  font-weight: 700;
}

.site-footer--structured .site-footer__social-list {
  align-items: center;
  gap: 8px;
}

.site-footer__brand-icon {
  width: 17px;
  height: 17px;
}

@media (min-width: 1200px) {
  body:has(.site-pagination-rail):has(> .site-footer--structured) {
    --site-footer-height: 132px;
  }

  body:has(.site-pagination-rail):has(> .site-footer--structured.site-footer--has-menus) {
    --site-footer-height: min(232px, calc(58vh - 52px));
  }
}

@media (min-width: 768px) and (max-width: 1199.98px) {
  body:has(.site-pagination-rail):has(> .site-footer--structured) {
    --site-footer-height: 150px;
  }

  body:has(.site-pagination-rail):has(> .site-footer--structured.site-footer--has-menus) {
    --site-footer-height: min(242px, calc(62vh - 52px));
  }
}

@media (max-width: 767.98px) {
  body:has(.site-pagination-rail):has(> .site-footer--structured),
  body:has(.site-pagination-rail):has(> .site-footer--structured.site-footer--has-menus) {
    --site-footer-height: 76px;
  }
}


/* Unified lift-up footer.
 * Without pagination its service row is the always-visible top rail.
 * With pagination the list rail replaces that row and lifts the same panel. */
body:has(> .site-footer--structured) {
  --site-footer-rail-height: 46px;
  --site-footer-panel-height: 132px;
  --site-footer-total-height: calc(var(--site-footer-rail-height) + var(--site-footer-panel-height));
  --site-footer-height: var(--site-footer-rail-height);
  padding-bottom: calc(var(--site-footer-rail-height) + env(safe-area-inset-bottom, 0px));
}

body.site-at-bottom:not(:has(.site-pagination-rail)):has(> .site-footer--structured) {
  --site-footer-height: var(--site-footer-total-height);
}

body:has(.site-pagination-rail):has(> .site-footer--structured) {
  --site-footer-height: var(--site-footer-panel-height);
  padding-bottom: calc(46px + env(safe-area-inset-bottom, 0px));
}

.site-footer--structured {
  height: calc(var(--site-footer-total-height) + env(safe-area-inset-bottom, 0px));
  overflow: hidden;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(var(--site-footer-panel-height));
  transition:
    transform .28s cubic-bezier(.22, .61, .36, 1),
    box-shadow .22s ease !important;
  will-change: transform;
}

.site-footer--structured .page-wrap {
  height: var(--site-footer-total-height);
  display: grid;
  grid-template-rows: var(--site-footer-rail-height) minmax(0, var(--site-footer-panel-height));
}

.site-footer--structured .site-footer__row {
  grid-row: 1;
  height: var(--site-footer-rail-height);
  min-height: var(--site-footer-rail-height);
  padding: 5px 0;
  border-top: 0;
  border-bottom: 1px solid rgba(47, 125, 72, .13);
  background: rgba(255, 255, 255, .98);
  box-shadow: 0 -8px 22px rgba(31, 37, 48, .07);
}

.site-footer--structured .site-footer__content,
.site-footer--structured .site-footer__mobile {
  grid-row: 2;
  height: var(--site-footer-panel-height);
  min-height: 0;
}

.site-footer--structured .site-footer__content {
  padding-top: 11px;
  padding-bottom: 10px;
  overflow: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(47, 125, 72, .26) transparent;
}

.site-footer--structured .site-footer__office {
  padding-left: 11px;
}

.site-footer--structured .site-footer__office h3 {
  font-size: 14px;
}

.site-footer--structured .site-footer__office-place,
.site-footer--structured .site-footer__office > a {
  font-size: 12px;
}

.site-footer--structured .site-footer__top {
  width: 34px;
  height: 34px;
}

body.site-at-bottom:not(:has(.site-pagination-rail)) > .site-footer--structured,
body.page-home.site-at-bottom:not(:has(.site-pagination-rail)) > .site-footer--structured {
  transform: translateY(0);
  box-shadow: 0 -10px 32px rgba(31, 55, 38, .10);
}

/* Earlier sentinel rules suppressed movement. The rail now moves as part of one stable unit. */
body:has(> .site-footer-sentinel):not(.site-at-bottom):not(:has(.site-pagination-rail)) > .site-footer--structured {
  transform: translateY(var(--site-footer-panel-height)) !important;
}

body:has(> .site-footer-sentinel).site-at-bottom:not(:has(.site-pagination-rail)) > .site-footer--structured {
  transform: translateY(0) !important;
}

body:has(> .site-footer-sentinel) > .site-footer--structured {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition:
    transform .28s cubic-bezier(.22, .61, .36, 1),
    box-shadow .22s ease !important;
}

body:not(:has(.site-pagination-rail)) > .site-footer-sentinel {
  height: calc(var(--site-footer-total-height) + env(safe-area-inset-bottom, 0px));
}

/* On lists, pagination is the visible top rail and the footer contains only the panel below it. */
body:has(.site-pagination-rail) > .site-footer--structured {
  height: calc(var(--site-footer-panel-height) + env(safe-area-inset-bottom, 0px));
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(100%);
  transition:
    transform .28s cubic-bezier(.22, .61, .36, 1),
    opacity .16s ease,
    visibility 0s linear .28s !important;
}

body:has(.site-pagination-rail) > .site-footer--structured .page-wrap {
  height: var(--site-footer-panel-height);
  grid-template-rows: minmax(0, var(--site-footer-panel-height));
}

body:has(.site-pagination-rail) > .site-footer--structured .site-footer__content,
body:has(.site-pagination-rail) > .site-footer--structured .site-footer__mobile {
  grid-row: 1;
}

body.site-at-bottom:has(.site-pagination-rail) > .site-footer--structured {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
  transition-delay: 0s;
}

body:has(.site-pagination-rail) .site-pagination-rail {
  bottom: env(safe-area-inset-bottom, 0px) !important;
  transition:
    bottom .28s cubic-bezier(.22, .61, .36, 1),
    box-shadow .22s ease !important;
}

body.site-at-bottom:has(.site-pagination-rail):has(> .site-footer--structured) .site-pagination-rail {
  bottom: calc(var(--site-footer-panel-height) + env(safe-area-inset-bottom, 0px)) !important;
  box-shadow: 0 -1px 0 rgba(47, 125, 72, .08) !important;
}

body.site-has-pagination > .site-footer-sentinel {
  height: calc(
    var(--site-footer-panel-height) + 46px + 12px + env(safe-area-inset-bottom, 0px)
  );
}

@media (max-width: 767.98px) {
  body:has(> .site-footer--structured) {
    --site-footer-rail-height: 48px;
  }

  .site-footer--structured .page-wrap {
    width: 100%;
    padding-inline: 10px;
  }

  .site-footer--structured .site-footer__row {
    gap: 8px;
    padding: 6px 0;
  }

  .site-footer--structured .site-footer__item {
    max-width: calc(100vw - 96px);
    overflow: hidden;
    font-size: 11px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .site-footer--structured .site-footer__mobile {
    height: var(--site-footer-panel-height);
    padding: 8px 0;
  }

  .site-footer--structured .site-footer__top {
    width: 32px;
    height: 32px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-footer--structured,
  body:has(.site-pagination-rail) .site-pagination-rail {
    transition-duration: .01ms !important;
  }
}


/* Consumers such as catalog filters and specification settings use the actually
 * revealed panel height, not its potential configured height. */
body:has(.site-pagination-rail):has(> .site-footer--structured) {
  --site-footer-height: 0px;
}

body.site-at-bottom:has(.site-pagination-rail):has(> .site-footer--structured) {
  --site-footer-height: var(--site-footer-panel-height);
}


/* Optically balanced brand marks: compact tile, dominant readable logo. */
.site-footer__social-list a,
.site-footer__mobile-socials a {
  width: 30px;
  height: 30px;
  flex-basis: 30px;
  border-radius: 8px;
}

.site-footer__brand-icon {
  width: 21px;
  height: 21px;
  object-fit: contain;
}

.site-footer__brand-icon--max {
  width: 22px;
  height: 22px;
}

.site-footer__brand-icon--youtube {
  width: 22px;
  height: 22px;
}

.site-footer__brand-icon--rutube {
  width: 22px;
  height: 22px;
}

.site-footer__brand-icon--telegram,
.site-footer__brand-icon--vk {
  width: 21px;
  height: 21px;
}

/* Product cards keep only the compact service rail; the expanded panel would cover product content. */
body.page-product-detail:has(> .site-footer--structured) {
  --site-footer-height: var(--site-footer-rail-height) !important;
}

body.page-product-detail > .site-footer--structured,
body.page-product-detail.site-at-bottom > .site-footer--structured {
  transform: translateY(var(--site-footer-panel-height)) !important;
  box-shadow: none !important;
}

/* Brand identity: recognizable service colors instead of one generic green tile. */
.site-footer__social-list a.site-footer__social-link,
.site-footer__mobile-socials a.site-footer__social-link {
  --site-social-bg: #3e9349;
  width: 30px;
  height: 30px;
  flex-basis: 30px;
  align-items: center;
  justify-content: center;
  background: var(--site-social-bg);
  box-shadow: none;
}

.site-footer__social-list a.site-footer__social-link--max,
.site-footer__mobile-socials a.site-footer__social-link--max {
  --site-social-bg: linear-gradient(145deg, #665cff 0%, #28b8ef 100%);
}

.site-footer__social-list a.site-footer__social-link--youtube,
.site-footer__mobile-socials a.site-footer__social-link--youtube {
  --site-social-bg: #ff0033;
}

.site-footer__social-list a.site-footer__social-link--rutube,
.site-footer__mobile-socials a.site-footer__social-link--rutube {
  --site-social-bg: #100943;
}

.site-footer__social-list a.site-footer__social-link--telegram,
.site-footer__mobile-socials a.site-footer__social-link--telegram {
  --site-social-bg: #229ed9;
}

.site-footer__social-list a.site-footer__social-link--vk,
.site-footer__mobile-socials a.site-footer__social-link--vk {
  --site-social-bg: #0077ff;
}

.site-footer__social-list a.site-footer__social-link:hover,
.site-footer__social-list a.site-footer__social-link:focus-visible,
.site-footer__mobile-socials a.site-footer__social-link:hover,
.site-footer__mobile-socials a.site-footer__social-link:focus-visible {
  background: var(--site-social-bg);
  filter: brightness(.92);
  transform: translateY(-1px);
}

.site-footer__brand-icon--max,
.site-footer__brand-icon--youtube {
  width: 24px;
  height: 24px;
}

.site-footer__brand-icon--rutube {
  width: 25px;
  height: 25px;
}

.site-footer__brand-icon--telegram,
.site-footer__brand-icon--vk {
  width: 23px;
  height: 23px;
}

/* Footer visual polish: the rail/panel mechanics and configured heights stay unchanged. */
.site-footer--structured {
  border-top-color: rgba(47, 125, 72, .14);
  background:
    radial-gradient(circle at 91% 118%, rgba(62, 147, 73, .065), transparent 19rem),
    linear-gradient(180deg, #fff 0%, #f8fbf8 100%);
}

.site-footer--structured .site-footer__content {
  column-gap: clamp(36px, 6vw, 88px);
  padding-inline: clamp(2px, .8vw, 12px);
}

.site-footer--structured .site-footer__heading {
  color: #202721;
  letter-spacing: -.012em;
}

.site-footer--structured .site-footer__office {
  border-left-color: #3e9349;
}

.site-footer--structured:not(.site-footer--has-menus) .site-footer__socials {
  width: max-content;
  max-width: 100%;
  justify-self: center;
}

.site-footer--structured .site-footer__social-list {
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
}

.site-footer__social-list a.site-footer__social-link,
.site-footer__mobile-socials a.site-footer__social-link {
  border-radius: 9px;
  box-shadow: 0 1px 3px rgba(25, 45, 31, .12);
  transition:
    transform .16s ease,
    box-shadow .16s ease,
    filter .16s ease;
}

.site-footer__social-list a.site-footer__social-link:hover,
.site-footer__mobile-socials a.site-footer__social-link:hover {
  filter: brightness(.96);
  box-shadow: 0 3px 8px rgba(25, 45, 31, .16);
}

.site-footer__social-list a.site-footer__social-link:focus-visible,
.site-footer__mobile-socials a.site-footer__social-link:focus-visible,
.site-footer__mobile-phone:focus-visible {
  outline: 2px solid rgba(47, 125, 72, .48);
  outline-offset: 3px;
}

@media (max-width: 767.98px) {
  .site-footer--structured .site-footer__mobile {
    background:
      linear-gradient(
        90deg,
        rgba(255, 255, 255, .96),
        rgba(247, 251, 248, .92)
      );
  }

  .site-footer--structured .site-footer__mobile::before {
    right: -18px;
    width: 148px;
    background-size: auto 96px;
    opacity: .055;
  }

  .site-footer__mobile-phones {
    gap: 6px;
  }

  .site-footer__mobile-phone {
    min-width: 54px;
    min-height: 28px;
    padding: 3px 8px;
    border-color: rgba(47, 125, 72, .24);
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 1px 3px rgba(25, 45, 31, .08);
    font-size: 11px;
    letter-spacing: .01em;
  }

  .site-footer__mobile-phone i {
    font-size: 11px;
  }

  .site-footer__mobile-socials {
    max-width: 100%;
    gap: 5px;
  }
}

@media (max-width: 359.98px) {
  .site-footer__mobile-socials {
    gap: 4px;
  }

  .site-footer__mobile-socials a.site-footer__social-link {
    width: 28px;
    height: 28px;
    flex-basis: 28px;
    border-radius: 8px;
  }

  .site-footer__mobile-socials .site-footer__brand-icon {
    width: 21px;
    height: 21px;
  }

  .site-footer__mobile-socials .site-footer__brand-icon--rutube {
    width: 22px;
    height: 22px;
  }
}

@media (min-width: 768px) {
  .site-footer--structured::before {
    content: "";
    position: absolute;
    z-index: 0;
    left: clamp(20px, 2.8vw, 48px);
    top: calc(var(--site-footer-rail-height) + 11px);
    bottom: auto;
    width: clamp(240px, 21vw, 330px);
    height: 126px;
    background: url("../img/footer-rhino-brush.a687b19b759e.webp") left top / contain no-repeat;
    opacity: .32;
    filter: saturate(1.12) contrast(1.08);
    mix-blend-mode: multiply;
    pointer-events: none;
  }

  .site-footer--structured > .page-wrap {
    position: relative;
    z-index: 1;
  }

  body:has(.site-pagination-rail) > .site-footer--structured::before {
    top: 11px;
  }
}

@media (min-width: 1200px) {
  .site-footer--structured::before {
    top: calc(var(--site-footer-rail-height) + 22px);
  }

  body:has(.site-pagination-rail) > .site-footer--structured::before {
    top: 22px;
  }
}

/* Final responsive placement for the calligraphic rhino: keep the artwork
   fully saturated and reserve real layout space so it never sits under text. */
@media (min-width: 768px) {
  .site-footer--structured::before {
    opacity: 1;
    filter: none;
    mix-blend-mode: normal;
  }
}

@media (min-width: 768px) and (max-width: 991.98px) {
  .site-footer--structured::before {
    left: 10px;
    width: 128px;
    height: 108px;
  }

  .site-footer--structured .site-footer__content--desktop {
    grid-template-columns: minmax(0, 1fr) minmax(190px, .68fr);
    gap: 18px;
    padding-left: 128px;
  }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
  .site-footer--structured::before {
    left: 12px;
    width: 170px;
    height: 118px;
  }

  .site-footer--structured .site-footer__content--desktop {
    grid-template-columns: minmax(0, 1.48fr) minmax(200px, .72fr);
    gap: 22px;
    padding-left: 170px;
  }
}

@media (min-width: 1200px) and (max-width: 1599.98px) {
  .site-footer--structured::before {
    left: 20px;
    width: 235px;
  }

  .site-footer--structured .site-footer__content--desktop {
    padding-left: 230px;
  }
}

@media (min-width: 1600px) {
  .site-footer--structured .site-footer__content--desktop {
    padding-left: 24px;
  }
}

/* Compact mobile footer: service rail, equal office buttons and a centred social row. */
@media (max-width: 767.98px) {
  .site-footer--structured .site-footer__row {
    justify-content: space-between;
    padding-inline: 8px;
    box-shadow: none;
    border-bottom-color: rgba(47, 125, 72, .14);
  }

  .site-footer--structured .site-footer__top {
    flex: 0 0 32px;
    box-shadow: none;
  }

  .site-footer--structured .site-footer__mobile {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: 32px 32px;
    justify-items: center;
    align-content: center;
    align-items: center;
    gap: 4px;
    padding: 4px 0;
    overflow: hidden;
    background: none;
  }

  .site-footer--structured::before,
  .site-footer--structured .site-footer__mobile::before {
    content: none;
    display: none;
    background: none;
  }

  .site-footer--structured .site-footer__mobile-phones,
  .site-footer--structured .site-footer__mobile-socials {
    grid-column: 1;
    width: 100%;
    min-width: 0;
    justify-content: center;
  }

  .site-footer--structured .site-footer__mobile-phones {
    grid-row: 1;
    display: flex;
    max-width: 240px;
    gap: 20px;
  }

  .site-footer--structured .site-footer__mobile-phone {
    flex: 0 0 auto;
    min-width: 0;
    min-height: 32px;
    padding: 4px 8px;
    gap: 5px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    font-size: 13px;
    line-height: 16px;
    white-space: nowrap;
  }

  .site-footer--structured .site-footer__phone-icon {
    display: block;
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
    overflow: visible;
  }

  .site-footer--structured .site-footer__mobile-socials {
    grid-row: 2;
    gap: 8px;
  }

  .site-footer--structured .site-footer__mobile-socials a.site-footer__social-link {
    width: 32px;
    height: 32px;
    flex-basis: 32px;
    border-radius: 9px;
    box-shadow: none;
  }
}

/* Wide desktop: useful contact action fills the gap without repeating navigation. */
.site-footer__contact-help,
.site-footer__privacy-text {
  display: none;
}
@media (min-width: 1200px) {
  .site-footer a.site-footer__privacy-text {
    display: inline-block;
    margin-top: 10px;
    color: #576e5e;
    font-size: 12px;
    line-height: 1.4;
    text-decoration: underline;
    text-underline-offset: 3px;
  }
}
@media (min-width: 1600px) {
  .site-footer--structured:not(.site-footer--has-menus) .site-footer__content--desktop {
    grid-template-columns: minmax(0, 2fr) 178px 214px;
    column-gap: clamp(24px, 2vw, 40px);
    align-items: center;
  }
  .site-footer__contact-help {
    display: block;
    min-width: 0;
  }
  .site-footer__contact-help .site-footer__heading {
    margin-bottom: 6px;
  }
  .site-footer__contact-help p {
    margin: 0 0 10px;
    color: #68766c;
    font-size: 12px;
    line-height: 1.4;
  }
  .site-footer__contact-help > a {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    padding: 8px 14px;
    border-radius: 8px;
    color: #fff;
    background: var(--hogart-green);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
  }
  .site-footer__contact-help > a:hover {
    background: var(--hogart-green-dark);
  }
}

/* Privacy is a compact utility beside socials, not another copyright row. */
.site-footer a.site-footer__privacy-link {
  display: none;
}
@media (max-width: 1199.98px) {
  .site-footer a.site-footer__privacy-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    min-height: 32px;
    flex: 0 0 32px;
    padding: 4px;
    border: 0;
    border-radius: 50%;
    background: transparent;
    box-shadow: none;
    color: var(--hogart-green);
  }
  .site-footer__privacy-link svg {
    display: block;
    width: 24px;
    height: 24px;
    flex: none;
  }
  .site-footer a.site-footer__privacy-link:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: -2px;
  }
}

/* On phones keep privacy in the service rail; the five social icons retain their row. */
.site-footer a.site-footer__privacy-link--rail {
  display: none;
}
@media (max-width: 767.98px) {
  .site-footer .site-footer__row a.site-footer__privacy-link--rail {
    display: inline-flex;
    margin-left: auto;
    color: var(--hogart-green);
  }
}

/* Lower panel typography and surfaces; the service rail and reveal geometry stay intact. */
.site-footer--structured .site-footer__content,
.site-footer--structured .site-footer__mobile {
  background: linear-gradient(110deg, rgba(237, 246, 239, .65), rgba(255, 255, 255, .3) 65%);
  box-shadow: inset 0 1px 0 rgba(47, 125, 72, .08);
}

.site-footer--structured .site-footer__office {
  border-left-width: 1px;
  border-left-color: rgba(47, 125, 72, .3);
  padding-left: 16px;
}

.site-footer--structured .site-footer__office h3 {
  color: #253b2c;
  letter-spacing: -.02em;
}

.site-footer--structured .site-footer__office .site-footer__city-title {
  display: flex;
  align-items: flex-end;
  width: fit-content;
  max-width: 100%;
  height: 28px;
  min-width: 0;
}

.site-footer__city-art {
  display: block;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: left bottom;
}

.site-footer__city-art--moscow {
  width: 112px;
}

.site-footer__city-art--petersburg {
  width: 178px;
}

@media (min-width: 1200px) {
  .site-footer--structured .site-footer__office .site-footer__city-title {
    height: 40px;
  }

  .site-footer__city-art--moscow {
    width: 160px;
  }

  .site-footer__city-art--petersburg {
    width: 250px;
  }
}

.site-footer--structured .site-footer__office-place {
  color: #617066;
}

.site-footer--structured .site-footer__office-address {
  display: inline-flex;
  align-items: flex-start;
  gap: 9px;
  color: #25643a;
  text-decoration: underline;
  text-decoration-color: rgba(47, 125, 72, .35);
  text-underline-offset: 4px;
}

.site-footer__office-address svg {
  box-sizing: border-box;
  width: 22px;
  height: 24px;
  flex: 0 0 22px;
  padding: 0;
  background: transparent;
  color: #2f7d48;
}

.site-footer--structured .site-footer__office-address:hover {
  color: #184d2b;
  text-decoration-color: currentColor;
}

.site-footer__office-address:hover svg {
  color: #1f6235;
}

@media (min-width: 768px) {
  .site-footer--structured .site-footer__content {
    align-items: start;
  }
}

.site-footer--structured .site-footer__office > .site-footer__office-phone {
  color: #254e32;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: -.015em;
}

.site-footer--structured .site-footer__office > .site-footer__office-email {
  color: #526b59;
}

.site-footer__content .site-footer__heading {
  color: #526b59;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.site-footer__content .site-footer__menu a {
  color: #354b3c;
}

.site-footer__content .site-footer__menu a:hover {
  color: var(--hogart-green);
}

.site-footer__content .site-footer__social-list a.site-footer__social-link {
  border: 0;
  box-shadow: 0 2px 5px rgba(25, 45, 31, .12);
}

.site-footer__content a:focus-visible {
  outline: 2px solid var(--hogart-green);
  outline-offset: 3px;
  border-radius: 3px;
}

@media (max-width: 767.98px) {
  .site-footer--structured .site-footer__mobile-phone {
    min-width: 80px;
    border: 1px solid rgba(47, 125, 72, .18);
    border-radius: 999px;
    background: rgba(255, 255, 255, .85);
    color: #254e32;
    font-size: 12px;
    font-weight: 700;
  }

  .site-footer--structured .site-footer__mobile-phone:hover {
    background: #e6f2e8;
    text-decoration: none;
  }
}

@media (min-width: 1200px) {
  .site-footer--structured .site-footer__content {
    padding-top: 22px;
    padding-bottom: 20px;
  }

  .site-footer--structured .site-footer__office {
    gap: 8px;
  }

  .site-footer--structured .site-footer__office h3 {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.25;
  }

  .site-footer--structured .site-footer__office-place,
  .site-footer--structured .site-footer__office > a {
    color: #35483b;
    font-size: 17px;
    line-height: 1.4;
  }

  .site-footer--structured .site-footer__office > .site-footer__office-phone {
    font-size: 22px;
    line-height: 1.2;
  }

  .site-footer__content .site-footer__heading {
    margin-bottom: 12px;
    color: #253b2c;
    font-size: 17px;
    line-height: 1.3;
    letter-spacing: -.01em;
    text-transform: none;
  }

  .site-footer__content .site-footer__menu li {
    font-size: 16px;
    line-height: 1.45;
  }

  .site-footer__content .site-footer__contact-help p {
    margin-bottom: 14px;
    color: #35483b;
    font-size: 16px;
    line-height: 1.45;
  }

  .site-footer__content .site-footer__contact-help > a {
    padding: 10px 16px;
    font-size: 16px;
  }

  .site-footer .site-footer__content a.site-footer__privacy-text {
    margin-top: 14px;
    color: #35483b;
    font-size: 15px;
  }

  .site-footer__content .site-footer__social-list a.site-footer__social-link {
    width: 36px;
    height: 36px;
    flex-basis: 36px;
  }
}

@media (min-width: 1600px) {
  .site-footer--structured:not(.site-footer--has-menus) .site-footer__content--desktop {
    grid-template-columns: minmax(0, 2fr) 230px 245px;
    align-items: start;
  }
}

/* One footer surface: text and office artwork have no separate panels or dividers. */
body > .site-footer--structured {
  border: 0;
  box-shadow: none !important;
}

.site-footer--structured .site-footer__row,
.site-footer--structured .site-footer__content,
.site-footer--structured .site-footer__mobile,
.site-footer--structured .site-footer__office,
.site-footer--structured .site-footer__city-title {
  border: 0;
  background: none;
  box-shadow: none;
}

.site-footer--structured .site-footer__top,
.site-footer--structured .site-footer__top:hover,
.site-footer--structured .site-footer__top:focus-visible {
  border: 0;
  background: none;
  box-shadow: none;
  color: var(--hogart-brand-green);
}

.site-footer--structured .site-footer__top:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}

.site-footer--structured .site-footer__mobile-phone,
.site-footer--structured .site-footer__mobile-phone:hover {
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
}


/* Full footer: artwork participates in layout, so resizing cannot cover contacts. */
@media (min-width: 768px) {
  .site-footer--structured::before {
    display: none;
    content: none;
  }

  .site-footer--structured .page-wrap {
    width: 100%;
    max-width: 1920px;
    margin-inline: auto;
    padding-inline: clamp(16px, 2vw, 40px);
  }

  .site-footer--structured .site-footer__content--desktop,
  .site-footer--structured.site-footer--has-menus .site-footer__content--desktop {
    grid-template-columns: minmax(80px, .65fr) minmax(0, 2fr) minmax(170px, 1.05fr);
    gap: clamp(12px, 1.5vw, 28px);
    align-items: start;
    padding-inline: 0;
    overflow-x: hidden;
  }

  .site-footer__content--desktop::before {
    content: "";
    grid-column: 1;
    grid-row: 1;
    width: 100%;
    height: clamp(88px, 8vw, 126px);
    background: url("../img/footer-rhino-brush.a687b19b759e.webp") center top / contain no-repeat;
    pointer-events: none;
  }

  .site-footer--structured .site-footer__offices {
    grid-column: 2;
    grid-row: 1;
    min-width: 0;
  }

  .site-footer--structured .site-footer__office-grid {
    gap: clamp(12px, 1.5vw, 28px);
  }

  .site-footer--structured .site-footer__office {
    min-width: 0;
    padding-inline: 0;
  }

  .site-footer--structured .site-footer__office a,
  .site-footer--structured .site-footer__heading,
  .site-footer--structured .site-footer__menu,
  .site-footer--structured .site-footer__contact-help {
    max-width: 100%;
    min-width: 0;
    overflow-wrap: anywhere;
    white-space: normal;
  }

  .site-footer--structured:not(.site-footer--has-menus) .site-footer__socials,
  .site-footer--structured.site-footer--has-menus .site-footer__socials {
    grid-column: 3;
    grid-row: 1;
    width: 100%;
    min-width: 0;
    justify-self: stretch;
  }

  .site-footer--structured .site-footer__menus {
    grid-column: 2 / 4;
    grid-row: 2;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    min-width: 0;
  }
}

@media (min-width: 1200px) {
  .site-footer--structured:not(.site-footer--has-menus) .site-footer__content--desktop {
    grid-template-columns: minmax(0, 1fr) minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr);
  }

  .site-footer--structured.site-footer--has-menus .site-footer__content--desktop {
    grid-template-columns: minmax(0, 1fr) minmax(0, 2fr) minmax(0, 2fr) minmax(0, 1fr);
  }

  .site-footer--structured .site-footer__contact-help {
    display: block;
    grid-column: 3;
    grid-row: 1;
  }

  .site-footer--structured .site-footer__contact-help p {
    margin: 0 0 10px;
    font-size: clamp(13px, 1vw, 16px);
    line-height: 1.4;
  }

  .site-footer--structured .site-footer__contact-help > a {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 8px 12px;
    border-radius: 8px;
    color: #fff;
    background: var(--hogart-green);
    font-size: clamp(13px, 1vw, 16px);
    text-decoration: none;
  }

  .site-footer--structured .site-footer__office > .site-footer__office-phone {
    font-size: clamp(14px, 1.15vw, 22px);
  }

  .site-footer--structured.site-footer--has-menus .site-footer__menus {
    grid-column: 3;
    grid-row: 1;
  }

  .site-footer--structured:not(.site-footer--has-menus) .site-footer__socials,
  .site-footer--structured.site-footer--has-menus .site-footer__socials {
    grid-column: 4;
  }
}

/* Tablets have the full paginator; only phones use the abbreviated navigation. */
@media (min-width: 768px) and (max-width: 1199.98px) {
  .site-list-pagination,
  #catalog-pagination-wrap > .site-list-pagination--embedded {
    grid-template-columns: minmax(180px, 1fr) minmax(0, auto) minmax(150px, 1fr);
    gap: 8px !important;
  }

  .site-footer--structured .site-footer__office-place,
  .site-footer--structured .site-footer__office > a {
    font-size: 12px;
    line-height: 1.4;
  }

  .site-footer--structured .site-footer__office > .site-footer__office-phone {
    font-size: 14px;
  }

  .site-footer--structured .site-footer__heading {
    font-size: 13px;
  }

  .site-list-pagination > .site-pagination-pages--desktop {
    min-width: 0;
    max-width: 100%;
    overflow-x: auto;
    justify-content: safe center;
    scrollbar-width: thin;
  }

  .site-list-pagination__summary {
    min-width: 0;
    font-size: 11px;
    white-space: normal;
  }

  .site-list-pagination--embedded:has(.site-pagination-filter-action) .site-list-pagination__summary {
    margin-left: 64px;
  }

  .site-list-pagination__size {
    min-width: 0;
    margin-right: 48px;
    gap: 4px;
    font-size: 11px;
    white-space: normal;
  }

  .site-list-pagination__size select {
    min-width: 54px;
    padding: 3px 18px 3px 6px;
  }

  .site-pagination-pages--desktop {
    gap: 4px;
  }

  .site-pagination-page > a,
  .site-pagination-page > span {
    min-width: 28px !important;
    min-height: 30px !important;
    padding: 4px 6px !important;
    font-size: 12px;
  }
}

@media (min-width: 768px) {
  .site-list-pagination,
  #catalog-pagination-wrap > .site-list-pagination--embedded {
    box-sizing: border-box;
    padding-inline: calc(clamp(10px, 3vw, 48px) + 46px);
    grid-template-columns: minmax(0, 1fr) minmax(0, auto) minmax(0, 1fr);
  }

  .site-list-pagination--embedded:has(.site-pagination-filter-action) .site-list-pagination__summary {
    margin-left: 0;
  }

  .site-list-pagination .site-list-pagination__size {
    margin-right: 0;
    width: max-content;
    max-width: 100%;
  }

  .site-list-pagination .site-pagination-pages--desktop {
    min-width: 0;
    max-width: 100%;
    overflow-x: auto;
    justify-content: safe center;
  }

  .site-pagination-pages--desktop > li {
    flex-shrink: 0;
  }
}

@media (min-width: 768px) and (max-width: 1199.98px) {
  .site-list-pagination,
  #catalog-pagination-wrap > .site-list-pagination--embedded {
    grid-template-columns: minmax(110px, 1fr) minmax(0, 3fr) minmax(120px, 1fr);
  }
}

/* Quick access to the existing search while navigation is collapsed. */
.site-footer .site-footer__row {
  flex-wrap: nowrap;
}

.site-footer .site-footer__row > .site-footer__item {
  flex: 0 1 auto;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.site-footer .site-footer__row > .site-footer__top {
  flex-shrink: 0;
}

.site-footer__search[hidden] {
  display: none !important;
}

@media (max-width: 1199.98px) {


  body.site-has-pagination .site-footer .site-footer__search:not([hidden]) {
    display: inline-flex !important;
  }

}

/* Share the catalog search panel and its sheet appearance across pages. */
.footer-catalog-search .catalog-search-sheet__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 10px;
  right: 12px;
  z-index: 2;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 999px;
  background: #f1f3f6;
  color: #687182;
  font-size: 22px;
  line-height: 1;
}

.footer-catalog-search .catalog-hero {
  margin-bottom: 0.25rem;
}

.footer-catalog-search .catalog-hero__preview {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2147483008;
  padding: 56px 14px calc(16px + env(safe-area-inset-bottom, 0px));
  border-radius: 20px 20px 0 0;
  background: #fff;
  box-shadow: none;
  transform: translateY(110%);
  visibility: hidden;
  transition: transform 0.22s ease, visibility 0.22s ease;
}

.footer-catalog-search[open] .catalog-hero__preview {
  transform: translateY(0);
  visibility: visible;
}

.footer-catalog-search .catalog-hero__preview .catalog-menu-toggle-wrapper {
  display: none;
}

.footer-catalog-search .catalog-hero__frame {
  padding: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.footer-catalog-search .catalog-hero__row {
  display: block !important;
}

.footer-catalog-search .catalog-search__wrapper {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  min-height: 0;
  padding-right: 0;
}

.footer-catalog-search .catalog-search__input {
  min-height: 48px;
  padding: 11px 12px;
  border: 1px solid rgba(104, 111, 125, 0.2);
  border-radius: 12px;
  background: #f7f8fa;
  font-size: 16px;
}

.footer-catalog-search .catalog-search__submit {
  position: static;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 44px;
  transform: none;
  border-radius: 12px;
  background: var(--hogart-green, #408d47);
  color: #fff;
  font-weight: 700;
  opacity: 1 !important;
  pointer-events: auto !important;
}

.footer-catalog-search .catalog-search__submit-label {
  display: inline;
  margin: 0;
  color: #fff !important;
}

.footer-catalog-search .catalog-search__submit,
.footer-catalog-search .catalog-search__submit:hover,
.footer-catalog-search .catalog-search__submit:focus-visible {
  color: #fff !important;
}

.footer-catalog-search .catalog-search__icon {
  display: none;
}

.footer-catalog-search .catalog-hero__mobile-submit,
.footer-catalog-search .catalog-hero__breadcrumbs-row {
  display: none;
}


.footer-catalog-search {
  position: fixed;
  inset: auto 0 0;
  width: 100%;
  max-width: none;
  max-height: calc(100dvh - 24px);
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 20px 20px 0 0;
  background: #fff;
  color: inherit;
}

.footer-catalog-search::backdrop {
  background: rgba(0, 0, 0, .4);
}

.footer-catalog-search .catalog-hero__preview {
  position: relative;
  transform: none;
  visibility: visible;
}

/* Keep the service buttons together and reserve their space in the rail. */
.site-rail-actions {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.site-footer .site-footer__row {
  column-gap: 10px;
}

.site-rail-actions > button {
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
}

.site-pagination-rail > .site-rail-actions {
  position: absolute;
  top: 50%;
  right: clamp(10px, 3vw, 48px);
  margin-left: 0;
  transform: translateY(-50%);
}

.site-pagination-rail > .site-rail-actions > button {
  position: static;
  transform: none;
}

.site-pagination-rail > .site-rail-actions > .site-footer__search:not([hidden]) {
  display: inline-flex !important;
}

@media (max-width: 1199.98px) {
  .site-pagination-rail:has(> .site-rail-actions .site-footer__search:not([hidden])).site-list-pagination,
  .site-pagination-rail:has(> .site-rail-actions .site-footer__search:not([hidden])) > .site-list-pagination--embedded {
    padding-right: calc(clamp(10px, 3vw, 48px) + 78px) !important;
  }
}

/* Keep all three mobile utilities compact beside the copyright. */
@media (max-width: 1199.98px) {
  .site-footer .site-footer__row {
    justify-content: flex-start;
    column-gap: 4px;
  }

  .site-footer .site-rail-actions {
    gap: 0;
  }

  .site-footer .site-rail-actions > button,
  .site-footer .site-rail-actions > a.site-footer__privacy-link--rail {
    box-sizing: border-box;
    flex: 0 0 28px;
    width: 28px;
    height: 28px;
    min-height: 28px;
    margin: 0;
    padding: 0;
  }

  .site-footer .site-footer__row > .site-footer__item {
    flex: 0 1 auto;
    max-width: none;
  }
}
