:root { --eco-green: #244B38; --eco-header-height: 136px; }
html { scroll-padding-top: calc(var(--eco-header-height) + 16px); }
.eco-announcement { min-height: 38px; display: grid; place-items: center; padding: 6px 16px; background: #244B38; color: #FFFFFF; text-align: center; font-size: 13px; line-height: 20px; letter-spacing: .015em; }
.eco-announcement p { margin: 0; }
.eco-header { position: sticky; top: 0; z-index: 40; background: #FFFFFF; color: var(--eco-green); border-bottom: 1px solid #e6ebe7; box-shadow: 0 3px 12px rgb(12 32 24 / 4%); }
.eco-header-main { min-height: 88px; padding: 16px var(--pad); display: grid; grid-template-columns: minmax(160px, 1fr) minmax(280px, 620px) minmax(100px, 1fr); align-items: center; gap: 36px; }
.eco-header .brand { color: var(--eco-green); white-space: nowrap; width: 200px; max-width: 100%; min-width: 0; }
.eco-header .brand picture { display: block; width: 100%; }
.eco-header .brand img { width: 100%; height: auto; }
.eco-search { display: flex; align-items: center; width: 100%; min-width: 0; padding: 0 6px 0 18px; border: 1px solid #dce4de; border-radius: 8px; background: #f7f9f7; }
.eco-search:focus-within { border-color: var(--eco-green); box-shadow: 0 0 0 2px rgb(36 75 56 / 10%); }
.eco-search input { min-width: 0; width: 100%; min-height: 48px; background: transparent; border: 0; outline: 0; color: var(--ink); font-size: 14px; }
.eco-search input::placeholder { color: #63716a; opacity: 1; }
.eco-actions { justify-self: end; display: flex; align-items: center; gap: 8px; }
.eco-icon { position: relative; width: 44px; height: 44px; flex: 0 0 44px; display: inline-flex; align-items: center; justify-content: center; padding: 10px; border: 0; border-radius: 8px; background: transparent; color: var(--eco-green); cursor: pointer; }
.eco-header svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.eco-icon:hover { background: #eef3ef; }
.eco-header :is(a, button, summary):focus-visible { outline: 2px solid var(--eco-green); outline-offset: 3px; border-radius: 4px; }
.eco-cart-count { position: absolute; top: 0; right: -4px; min-width: 19px; height: 19px; padding: 0 4px; display: grid; place-items: center; border: 2px solid #fff; border-radius: 12px; background: var(--eco-green); color: #fff; font-size: 10px; line-height: 1; font-weight: 600; }
.eco-menu-toggle, .eco-search-toggle { display: none; }
.eco-nav > .eco-mobile-account { display: none; }
.eco-nav { display: flex; justify-content: center; align-items: center; gap: clamp(14px, 2.8vw, 42px); min-height: 48px; padding: 0 var(--pad); border-top: 1px solid #eef1ee; font-size: 13px; font-weight: 500; }
.eco-nav > a, .eco-shop-link, .eco-categories > summary { min-height: 47px; display: flex; align-items: center; gap: 5px; white-space: nowrap; }
.eco-nav > a:hover, .eco-shop-link:hover, .eco-nav a[aria-current="page"], .eco-nav a[aria-current="location"] { color: #152e21; text-decoration: underline; text-underline-offset: 6px; }
.eco-shop-menu { position: relative; display: flex; align-items: center; }
.eco-categories > summary { width: 44px; justify-content: center; cursor: pointer; list-style: none; border-radius: 6px; }
.eco-categories > summary:hover, .eco-categories[open] > summary { background: #eef3ef; }
.eco-categories > summary::-webkit-details-marker { display: none; }
.eco-categories > summary svg { width: 16px; height: 16px; }
.eco-categories[open] > summary svg { transform: rotate(180deg); }
.eco-category-panel { position: absolute; top: 100%; left: 0; width: 260px; padding: 10px; background: #fff; border: 1px solid #e2e9e3; border-radius: 0 0 10px 10px; box-shadow: 0 12px 30px rgb(12 32 24 / 10%); }
.eco-category-panel a { display: flex; align-items: center; min-height: 44px; padding: 10px 12px; line-height: 1.5; border-radius: 5px; }
.eco-category-panel a:hover { background: #eef3ef; }
.eco-category-status { margin: 6px 12px 12px; color: #63716a; font-size: 12px; line-height: 1.6; }
.eco-all-products { border-top: 1px solid #e6ebe7; margin-top: 4px; font-weight: 600; }
.eco-header [hidden] { display: none !important; }
.catalog-tools { top: var(--eco-header-height); }
.category-list { top: calc(var(--eco-header-height) + 96px); }
.product-summary, .order-summary { top: calc(var(--eco-header-height) + 24px); }
@media (max-width: 980px) {
  :root { --eco-header-height: 72px; }
  .eco-header-main { min-height: 72px; padding: 12px max(12px, env(safe-area-inset-left)) 12px max(12px, env(safe-area-inset-right)); grid-template-columns: 88px minmax(0, 1fr) 88px; gap: 0; }
  .eco-header .brand { justify-self: center; width: 160px; }
  .eco-actions { gap: 0; }
  .eco-menu-toggle, .eco-search-toggle { display: inline-flex; }
  .eco-account { display: none; }
  .eco-nav > .eco-mobile-account { display: flex; }
  .eco-search { position: absolute; top: 100%; left: 0; width: 100%; padding: 12px 16px; border-radius: 0; background: #fff; border: 0; border-bottom: 1px solid #dce4de; box-shadow: 0 6px 12px rgb(12 32 24 / 6%); }
  .eco-search input { padding-left: 12px; background: #f7f9f7; font-size: 16px; border-radius: 6px; }
  .eco-nav { position: absolute; top: 100%; left: 0; right: 0; display: block; max-height: calc(100dvh - var(--eco-header-height)); overflow-y: auto; overscroll-behavior: contain; padding: 12px 20px 20px; background: #fff; border-bottom: 1px solid #dce4de; box-shadow: 0 10px 20px rgb(12 32 24 / 8%); font-size: 15px; }
  .eco-nav > a, .eco-shop-link { min-height: 48px; justify-content: space-between; padding: 0 8px; }
  .eco-shop-menu { display: block; }
  .eco-shop-link { margin-right: 44px; }
  .eco-categories > summary { position: absolute; top: 0; right: 0; min-height: 48px; }
  .eco-category-panel { position: static; width: 100%; border: 0; box-shadow: none; padding: 0 8px 8px; background: #f7f9f7; border-radius: 8px; }
}
@media (max-width: 380px) {
  .eco-announcement { font-size: 11px; }
  .eco-header .brand { font-size: 16px; gap: 6px; }
}
@media (max-width: 650px) {
  .eco-announcement { min-height: 34px; padding-block: 5px; font-size: 12px; line-height: 20px; }
  .catalog-tools { top: var(--eco-header-height); }
}
