/* Header shared only by Polunek pages. */
.tenant-polunek .polunek-topbar,
.tenant-polunek .polunek-header {
    --polunek-header-green: #104d36;
    --polunek-header-line: #e8ece9;
}
.tenant-polunek .polunek-topbar .shell,
.tenant-polunek .polunek-header .shell { width: min(1480px, 90%); }
.tenant-polunek .polunek-topbar { background: #104d36; color: #fff; font-size: 11px; }
.tenant-polunek .polunek-topbar__inner { min-height: 34px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.tenant-polunek .polunek-topbar__links,
.tenant-polunek .polunek-topbar__meta { display: flex; align-items: center; gap: 28px; }
.tenant-polunek .polunek-topbar__links a { display: inline-flex; align-items: center; gap: 8px; min-height: 34px; }
.tenant-polunek .polunek-topbar .polunek-header-icon { width: 15px; height: 15px; color: #b9d0c5; }
.tenant-polunek .polunek-topbar__meta { gap: 17px; color: #d9e6df; font-size: 10px; }
.tenant-polunek .polunek-topbar a:hover { text-decoration: underline; text-underline-offset: 3px; }
.tenant-polunek .polunek-header { position: sticky; top: 0; background: #fff; border-bottom: 1px solid var(--polunek-header-line); box-shadow: 0 3px 14px rgb(20 45 30 / 3%); }
.tenant-polunek .polunek-header__main { min-height: 94px; display: grid; grid-template-columns: 235px minmax(220px, 1fr) auto; align-items: center; gap: 36px; }
.tenant-polunek .polunek-header .brand { gap: 10px; }
.tenant-polunek .polunek-header .brand-mark { width: 49px; height: 49px; }
.tenant-polunek .polunek-header .brand-word { font-size: 31px; letter-spacing: -.035em; }
.tenant-polunek .polunek-header-icon { flex: 0 0 auto; display: block; }
.tenant-polunek .polunek-search { display: flex; align-items: center; height: 50px; border: 1px solid #dce3de; border-radius: 5px; background: #fff; transition: border-color .15s, box-shadow .15s; }
.tenant-polunek .polunek-search:focus-within { border-color: var(--polunek-header-green); box-shadow: 0 0 0 3px #edf3ef; }
.tenant-polunek .polunek-search input { min-width: 0; width: 100%; height: 100%; padding: 0 18px; border: 0; border-radius: 5px; background: transparent; font-size: 13px; }
.tenant-polunek .polunek-search input::placeholder { color: #7e8882; opacity: 1; }
.tenant-polunek .polunek-search input:focus-visible { outline: 0; }
.tenant-polunek .polunek-search button { flex: 0 0 49px; height: 46px; display: grid; place-items: center; border: 0; background: transparent; border-radius: 3px; color: #52645a; }
.tenant-polunek .polunek-search button:hover { background: #f0f5f1; color: var(--polunek-header-green); }
.tenant-polunek .polunek-search .polunek-header-icon { width: 21px; height: 21px; }
.tenant-polunek .polunek-header__actions { display: flex; align-items: center; gap: 28px; }
.tenant-polunek .polunek-header__action { position: relative; min-height: 48px; display: flex; align-items: center; gap: 11px; white-space: nowrap; }
.tenant-polunek .polunek-header__action:hover { color: var(--polunek-header-green); }
.tenant-polunek .polunek-header__action-label small { display: block; color: #7b857f; font-size: 10px; line-height: 1.4; }
.tenant-polunek .polunek-header__action-label b { display: block; font-size: 12px; line-height: 1.5; font-weight: 650; }
.tenant-polunek .polunek-header .cart-badge { position: absolute; top: 0; left: 15px; min-width: 18px; height: 18px; padding: 0 4px; display: grid; place-items: center; background: var(--polunek-header-green); color: #fff; border: 2px solid #fff; border-radius: 20px; font-size: 9px; line-height: 1; font-variant-numeric: tabular-nums; }
.tenant-polunek .polunek-menu-toggle { display: none; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 4px; background: transparent; }
.tenant-polunek .polunek-nav { border-top: 1px solid #f0f2f0; }
.tenant-polunek .polunek-nav__inner { display: flex; align-items: stretch; gap: 34px; min-height: 50px; }
.tenant-polunek .polunek-nav__inner > a { display: flex; align-items: center; position: relative; min-height: 50px; font-size: 12px; font-weight: 550; }
.tenant-polunek .polunek-nav__inner > a::after { content: ""; position: absolute; bottom: -1px; left: 0; right: 0; height: 2px; background: var(--polunek-header-green); transform: scaleX(0); transition: transform .15s; }
.tenant-polunek .polunek-nav__inner > a:hover::after { transform: scaleX(1); }
.tenant-polunek .polunek-categories { position: relative; margin-right: 12px; }
.tenant-polunek .polunek-categories summary { display: flex; align-items: center; gap: 10px; min-height: 50px; list-style: none; cursor: pointer; font-size: 11px; font-weight: 750; text-transform: uppercase; }
.tenant-polunek .polunek-categories summary::-webkit-details-marker { display: none; }
.tenant-polunek .polunek-categories summary .polunek-header-icon { width: 17px; height: 17px; }
.tenant-polunek .polunek-categories[open] summary { color: var(--polunek-header-green); }
.tenant-polunek .polunek-categories[open] summary .polunek-header-icon:last-child { transform: rotate(180deg); }
.tenant-polunek .polunek-categories__panel { position: absolute; top: 100%; left: 0; width: 310px; max-height: calc(100dvh - 200px); overflow-y: auto; overscroll-behavior: contain; padding: 14px; background: #fff; border: 1px solid var(--polunek-header-line); border-top: 2px solid var(--polunek-header-green); border-radius: 0 0 6px 6px; box-shadow: 0 14px 30px rgb(17 46 31 / 12%); z-index: 30; }
.tenant-polunek .polunek-categories__heading { display: block; padding: 9px 12px 13px; color: #7b857f; font-size: 10px; letter-spacing: .06em; text-transform: uppercase; }
.tenant-polunek .polunek-categories__panel a { display: flex; align-items: center; justify-content: space-between; min-height: 46px; gap: 14px; padding: 10px 12px; border-radius: 3px; font-size: 13px; }
.tenant-polunek .polunek-categories__panel a:hover { color: var(--polunek-header-green); background: #f0f5f1; }
.tenant-polunek .polunek-categories__panel a span { color: #83928a; }
.tenant-polunek .polunek-categories__all { margin-top: 8px; border-top: 1px solid var(--polunek-header-line); font-weight: 650; }
.tenant-polunek .polunek-categories summary:focus-visible { outline: 3px solid #d2a53b; outline-offset: 3px; }
.tenant-polunek .polunek-header__sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

@media (max-width: 1200px) {
    .tenant-polunek .polunek-topbar .shell,
    .tenant-polunek .polunek-header .shell { width: calc(100% - 48px); }
    .tenant-polunek .polunek-header__main { grid-template-columns: 200px minmax(180px, 1fr) auto; gap: 24px; }
    .tenant-polunek .polunek-header__actions { gap: 20px; }
    .tenant-polunek .polunek-topbar__links { gap: 20px; }
    .tenant-polunek .polunek-topbar__meta a { display: none; }
    .tenant-polunek .polunek-nav__inner { gap: 27px; }
}
@media (max-width: 900px) {
    .tenant-polunek .polunek-header { position: relative; }
    .tenant-polunek .polunek-header__main { min-height: 0; grid-template-columns: 1fr auto; gap: 10px; padding: 14px 0; }
    .tenant-polunek .polunek-header--enhanced .polunek-header__main { grid-template-columns: 38px minmax(0, 1fr) auto; }
    .tenant-polunek .polunek-header--enhanced .polunek-menu-toggle { display: flex; width: 38px; }
    .tenant-polunek .polunek-header .brand-mark { width: 40px; height: 40px; }
    .tenant-polunek .polunek-header .brand-word { font-size: 27px; }
    .tenant-polunek .polunek-search { grid-row: 2; grid-column: 1 / -1; width: 100%; height: 46px; }
    .tenant-polunek .polunek-search input { font-size: 16px; }
    .tenant-polunek .polunek-search button { height: 42px; }
    .tenant-polunek .polunek-header__actions { gap: 18px; }
    .tenant-polunek .polunek-header--enhanced .polunek-nav { display: none; }
    .tenant-polunek .polunek-header--enhanced.polunek-header--menu-open .polunek-nav { display: block; }
    .tenant-polunek .polunek-nav__inner { display: block; padding: 8px 0 16px; }
    .tenant-polunek .polunek-nav__inner > a { min-height: 46px; border-bottom: 1px solid var(--polunek-header-line); font-size: 14px; }
    .tenant-polunek .polunek-categories { margin: 0; }
    .tenant-polunek .polunek-categories summary { min-height: 46px; }
    .tenant-polunek .polunek-categories summary .polunek-header-icon:last-child { margin-left: auto; }
    .tenant-polunek .polunek-categories__panel { position: static; width: 100%; max-height: none; overflow: visible; box-shadow: none; margin-bottom: 8px; border-top: 1px solid var(--polunek-header-line); }
}
@media (max-width: 620px) {
    .tenant-polunek .polunek-topbar .shell,
    .tenant-polunek .polunek-header .shell { width: calc(100% - 32px); }
    .tenant-polunek .polunek-topbar { font-size: 10px; }
    .tenant-polunek .polunek-topbar__inner { min-height: 32px; }
    .tenant-polunek .polunek-topbar__links { width: 100%; justify-content: space-between; gap: 12px; }
    .tenant-polunek .polunek-topbar__links a { min-height: 32px; gap: 6px; }
    .tenant-polunek .polunek-topbar__links .polunek-topbar__returns,
    .tenant-polunek .polunek-topbar__meta { display: none; }
    .tenant-polunek .polunek-header__main { padding: 10px 0 12px; gap: 8px; }
    .tenant-polunek .polunek-header--enhanced .polunek-header__main { grid-template-columns: 32px minmax(0, 1fr) auto; }
    .tenant-polunek .polunek-header--enhanced .polunek-menu-toggle { width: 32px; }
    .tenant-polunek .polunek-header .brand { gap: 6px; }
    .tenant-polunek .polunek-header .brand-mark { width: 35px; height: 35px; }
    .tenant-polunek .polunek-header .brand-word { font-size: 25px; }
    .tenant-polunek .polunek-header__actions { gap: 4px; }
    .tenant-polunek .polunek-header__action { width: 40px; height: 44px; min-height: 44px; justify-content: center; }
    .tenant-polunek .polunek-header__action-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
    .tenant-polunek .polunek-header .cart-badge { left: 22px; }
    .tenant-polunek .polunek-search input { padding-left: 12px; }
}
@media (max-width: 359px) {
    .tenant-polunek .polunek-header .brand-mark { width: 29px; height: 29px; }
    .tenant-polunek .polunek-header .brand-word { font-size: 22px; }
    .tenant-polunek .polunek-header__actions { gap: 0; }
}
@media (prefers-reduced-motion: reduce) {
    .tenant-polunek .polunek-search,
    .tenant-polunek .polunek-nav__inner > a::after { transition: none; }
}
