/* Nagłówek: pasek kontaktu, logo, usługi, kontakt, responsywna wyszukiwarka i ikony. Ładowany po store-redesign.css. */

/* Pasek kontaktu przewija się ze stroną; przyklejony zostaje tylko wiersz z logo i wyszukiwarką. */
#header { top: calc(-1 * var(--os-topbar-height, 0px)); }
#header .os-topbar { background: var(--os-ink); color: #cbd5e1; font-family: Arial, sans-serif; font-size: .875rem; line-height: 1.35; }
#header .os-topbar__inner { display: flex; flex-wrap: wrap; align-items: center; gap: .15rem 1.75rem; max-width: 1344px; min-height: 42px; padding-block: .4rem; padding-inline: 2rem; }
#header .os-topbar__contact { display: flex; flex-wrap: wrap; align-items: center; gap: .15rem 1.5rem; }
#header .os-topbar a { color: #fff; text-decoration: none; }
#header .os-topbar a:hover { text-decoration: underline; text-underline-offset: .2em; }
#header .os-topbar a:focus-visible { outline: 2px solid #fdba74; outline-offset: 3px; }
#header .os-topbar__phone, #header .os-topbar__email { display: inline-flex; align-items: center; gap: .45rem; min-height: 32px; font-weight: 700; white-space: nowrap; }
#header .os-topbar__phone { font-size: 1rem; font-weight: 800; }
#header .os-topbar svg { flex: none; color: #fdba74; }
#header .os-topbar__hours { display: flex; flex-wrap: wrap; gap: .1rem 1.5rem; margin: 0; }
#header .os-topbar__hours > div { display: flex; flex-wrap: wrap; gap: 0 .4rem; }
#header .os-topbar__hours dt { color: #94a3b8; font-weight: 400; }
#header .os-topbar__hours dd { margin: 0; color: #fff; font-weight: 700; }
#header .os-topbar__status { display:inline-flex; align-items:center; gap:.5rem; min-height:32px; margin-left: auto; font-weight: 700; white-space: nowrap; text-decoration: underline; text-decoration-color: #fdba74; text-underline-offset: .25em; }
.os-status-dot { display:inline-block; flex:0 0 8px; width:8px; height:8px; border-radius:50%; background:#94a3b8; box-shadow:0 0 0 3px rgba(148,163,184,.16); }
.os-status-dot--green { background:#22c55e; box-shadow:0 0 0 3px rgba(34,197,94,.16); }
.os-status-dot--yellow { background:#facc15; box-shadow:0 0 0 3px rgba(250,204,21,.16); }
.os-panel__status-label { display:inline-flex; align-items:center; gap:.6rem; }

/* Wiersz główny: logo, nawigacja, wyszukiwanie, koszyk i menu boczne. */
#header .header-bottom { position: relative; }
#header .header-bottom__row { flex-wrap: nowrap; align-items: center; }
#header .header-bottom__logo { order: 0; }
#header .os-nav { order: 1; display: none; flex: 0 0 auto; min-width: 0; margin: 0; }
#header .os-nav__list { display: flex; align-items: center; gap: .1rem; margin: 0; padding: 0; list-style: none; }
#header .os-nav__link { display: inline-flex; align-items: center; gap: .3rem; min-height: 44px; padding: .5rem .75rem; border: 0; border-radius: .65rem; background: transparent; color: var(--os-ink); font: inherit; font-size: .9375rem; font-weight: 700; line-height: 1.2; text-decoration: none; white-space: nowrap; cursor: pointer; }
#header .os-nav__link:hover, #header .os-nav__toggle[aria-expanded="true"] { background: #fff4eb; color: #94470c; }
#header .os-nav__link[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--os-orange); border-radius: .65rem .65rem 0 0; }
#header .os-nav__toggle svg { flex: none; transition: transform .15s; }
#header .os-nav__toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
#header .os-header-icon { display: grid; place-items: center; flex: 0 0 44px; width: 44px; height: 44px; min-height: 44px; padding: 0; border: 0; border-radius: .75rem; background: transparent; color: var(--os-ink); box-shadow: none; }
#header .os-header-icon:hover { background: #f1f5f9; }
#header .ostrzalnia-header-actions { order: 4; }
#header .ostrzalnia-desktop-menu-toggle { order: 6; margin: 0; }
/* Logowanie jest w menu bocznym; nagłówek zostaje przy tym, co potrzebne do zamówienia. */
#header #_desktop_ps_customersignin, #header #_mobile_ps_customersignin { display: none; }
#header .os-header-help { order: 3; display: inline-flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 0 .4rem; min-height: 44px; margin-left: auto; color: var(--os-text); font-size: .875rem; line-height: 1.3; text-align: right; text-decoration: none; }
#header .os-header-help strong { color: var(--os-ink); white-space: nowrap; }
#header .os-header-help svg { flex: none; color: var(--os-orange-dark); }

/* Lista usług z cenami „od”. */
#header .os-services-panel { position: absolute; z-index: 2; top: 100%; right: 0; left: 0; background: #fff; border-top: 1px solid var(--os-line); border-bottom: 3px solid var(--os-orange); box-shadow: 0 18px 30px rgba(15, 23, 42, .12); }
#header .os-services-panel[hidden] { display: none; }
#header .os-services-panel__inner { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr) minmax(14rem, 17rem); gap: 1.5rem 2.5rem; max-width: 1344px; padding: 1.5rem 2rem 1.75rem; }
#header .os-services-panel__title { margin: 0 0 .5rem; padding-inline: .75rem; color: var(--os-muted); font-size: .8125rem; font-weight: 700; }
#header .os-services-panel ul { margin: 0; padding: 0; list-style: none; }
#header .os-services-panel li a { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 44px; padding: .5rem .75rem; border-radius: .65rem; color: var(--os-ink); font-size: .9375rem; font-weight: 700; line-height: 1.3; text-decoration: none; }
#header .os-services-panel li a:hover { background: #fff4eb; color: #94470c; }
#header .os-services-panel__price { flex: none; color: #94470c; font-size: .875rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
#header .os-services-panel__aside { align-self: start; padding: 1.1rem 1.25rem 1.25rem; border: 1px solid var(--os-line); border-radius: 1rem; background: var(--os-soft); }
#header .os-services-panel__aside .os-services-panel__title { padding: 0; color: var(--os-ink); font-size: 1rem; }
#header .os-services-panel__aside p { margin: 0 0 .9rem; color: var(--os-text); font-size: .875rem; line-height: 1.5; }
#header .os-services-panel__photos { display: flex; align-items: center; justify-content: center; min-height: 46px; padding: .6rem 1rem; border: 1px solid #334155; border-radius: .75rem; background: #fff; color: var(--os-ink); font-size: .9375rem; font-weight: 700; text-decoration: none; }
#header .os-services-panel__photos:hover { border-color: var(--os-ink); background: #f1f5f9; }
#header .os-services-panel__all { display: inline-flex; align-items: center; min-height: 44px; margin-top: .35rem; color: #94470c; font-size: .875rem; font-weight: 700; }

/* Komunikat po skopiowaniu numeru. */
.os-toast { position: fixed; z-index: 1080; bottom: 1.5rem; left: 50%; max-width: calc(100vw - 2rem); margin: 0; padding: .7rem 1.1rem; border-radius: .75rem; background: #0f172a; color: #fff; font-size: .9375rem; font-weight: 700; line-height: 1.4; text-align: center; box-shadow: 0 10px 30px rgba(15, 23, 42, .3); transform: translateX(-50%); }
.os-toast[hidden] { display: none; }

@media (min-width: 768px) {
  #header .os-nav { display: flex; align-items: center; }
}
@media (min-width: 1100px) and (max-width: 1279.98px) {
  #header .header-bottom__row { gap: .6rem; }
  #header .header-bottom__logo { flex-basis: 170px; }
  #header .header-bottom .navbar-brand .logo { max-width: 170px; }
  #header .os-nav__link { padding-inline: .55rem; font-size: .875rem; }
}
@media (max-width: 767.98px) {
  #header .os-services-panel { display: none; }
}
@media (min-width: 768px) and (max-width: 1099.98px) {
  #header .header-bottom__logo { flex: 0 1 190px; }
  #header .header-bottom .navbar-brand .logo { max-width: 190px; max-height: 54px; }
}
@media (min-width: 768px) and (max-width: 899.98px) {
  #header .header-bottom__row { gap: .5rem; }
  #header .header-bottom__logo { flex-basis: 150px; }
  #header .header-bottom .navbar-brand .logo { max-width: 150px; }
}
@media (max-width: 1199.98px) {
  #header .os-topbar__inner { padding-inline: 1.25rem; }
}
/* Tablet i połowa ekranu: kontakt i status w pierwszym wierszu, godziny w drugim — bez osieroconego odnośnika. */
@media (min-width: 768px) and (max-width: 1099.98px) {
  #header .os-topbar__status { order: 2; }
  #header .os-topbar__hours { order: 3; flex-basis: 100%; }
}

/* Telefon: jeden przyklejony wiersz z ikoną wyszukiwania; zamówienie i telefon przy dolnej krawędzi ekranu. */
#header .os-mobile-cta { display: none; }
@media (max-width: 767.98px) {
  #header .os-topbar { font-size: .8125rem; }
  #header .os-topbar__inner { gap: .1rem 1rem; padding-inline: .75rem; }
  #header .os-topbar__contact { gap: .1rem 1rem; }
  /* Status zlecenia jest na telefonie w menu bocznym i stopce; pasek zostaje dla kontaktu i godzin. */
  #header .os-topbar__status { display: none; }
  #header .header-bottom__row { flex-wrap: nowrap; gap: .15rem; }
  #header .header-bottom__logo { flex: 1 1 96px; min-width: 84px; max-width: calc(100% - 15.1rem); }
  #header .header-bottom .navbar-brand .logo { max-width: 160px; max-height: 44px; }
  #header .ostrzalnia-header-actions { order: 3; gap: .15rem; margin-left: 0; }
  #header .ostrzalnia-desktop-menu-toggle { order: 4; }
  #header .os-header-help { flex-wrap: nowrap; font-size: .875rem; }
  /* W kasie na telefonie logo zachowuje pełną szerokość, a telefon pomocy mieści się obok koszyka. */
  #header .os-header--checkout .header-bottom__logo { max-width: calc(100% - 12.5rem); }
  #header .os-mobile-cta { position: fixed; z-index: 1; right: 0; bottom: 0; left: 0; display: flex; gap: .5rem; padding: .6rem .75rem calc(.6rem + env(safe-area-inset-bottom)); border-top: 1px solid var(--os-line); background: #fff; box-shadow: 0 -8px 24px rgba(15, 23, 42, .1); transition: transform .2s, opacity .2s, visibility .2s; }
  #header .os-mobile-cta:is(.is-redundant, .is-at-footer) { visibility: hidden; opacity: 0; transform: translateY(100%); }
  /* Szerokość logo na stronach z dolnym paskiem zamówienia. */
  #header:has(.os-mobile-cta:not(.is-at-footer)) .header-bottom__logo { max-width: calc(100% - 9.5rem); }
  #header .os-mobile-cta__order { display: flex; flex: 1 1 auto; align-items: center; justify-content: center; min-width: 0; min-height: 50px; padding: .6rem 1rem; border: 1px solid var(--os-orange); border-bottom: 3px solid var(--os-orange-dark); border-radius: .75rem; background: var(--os-orange); color: #1e293b; font-size: 1rem; font-weight: 700; text-align: center; text-decoration: none; }
  /* Numer rozwija się po pierwszym kliknięciu; drugie uruchamia telefon lub kopiowanie. */
  #header .os-mobile-cta__phone { display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: center; min-width: 50px; height: 50px; padding: 0 .85rem; border: 1px solid #334155; border-radius: .75rem; background: #fff; color: var(--os-ink); font-size: 1rem; font-weight: 800; text-decoration: none; white-space: nowrap; }
  #header .os-mobile-cta__phone svg { flex: none; }
  #header .os-mobile-cta__number { max-width: 0; margin-left: 0; overflow: hidden; opacity: 0; transition: max-width .25s, margin-left .25s, opacity .2s; }
  #header .os-mobile-cta__phone.is-open .os-mobile-cta__number { max-width: 9rem; margin-left: .5rem; opacity: 1; }
  body:has(#header .os-mobile-cta:not(.is-at-footer)) { padding-bottom: calc(4.6rem + env(safe-area-inset-bottom)); }
  .os-toast { bottom: calc(5.4rem + env(safe-area-inset-bottom)); }
}
@media (min-width: 420px) and (max-width: 767.98px) {
  #header .header-bottom__logo { max-width: calc(100% - 18.5rem); }
}
@media (max-width: 479.98px) {
  #header .os-header-help__label { display: none; }
}
@media (max-width: 359.98px) {
  #header .header-bottom .navbar-brand .logo { max-width: 124px; }
}

/* Panel boczny: logo, zamówienie, kategoria sklepu, status, konto, lista stron i kontakt. */
#mobileMenu.os-panel { display: flex; flex-direction: column; width: min(400px, 100vw); }
#mobileMenu .os-panel__head { flex: none; align-items: center; justify-content: space-between; gap: 1rem; min-height: 60px; padding: .5rem .75rem .5rem 1.25rem; border-bottom: 1px solid var(--os-line); }
#mobileMenu .os-panel__logo { display: inline-flex; align-items: center; min-height: 44px; color: var(--os-ink); font-weight: 800; text-decoration: none; }
#mobileMenu .os-panel__logo img { display: block; width: auto; max-width: 150px; height: 34px; object-fit: contain; }
#mobileMenu .os-panel__close { display: grid; place-items: center; flex: 0 0 44px; width: 44px; height: 44px; padding: 0; border: 0; border-radius: .75rem; background: transparent; color: var(--os-ink); }
#mobileMenu .os-panel__close:hover { background: #f1f5f9; }
#mobileMenu .os-panel__body { flex: 1 1 auto; height: auto; min-height: 0; padding: 1rem 1.25rem 1.25rem; overflow-y: auto; overscroll-behavior: contain; }
#mobileMenu .os-panel__order { display: flex; align-items: center; justify-content: center; min-height: 52px; padding: .7rem 1rem; border: 1px solid var(--os-orange); border-bottom: 3px solid var(--os-orange-dark); border-radius: .75rem; background: var(--os-orange); color: #17202e; font-size: 1.0625rem; font-weight: 800; text-decoration: none; }
#mobileMenu .os-panel__order:hover { background: #ed7718; }
#mobileMenu .os-panel__nav.menu { position: static; display: block; width: 100%; height: auto; margin: 0; padding: 0; overflow: visible; transform: none; }
#mobileMenu .os-panel__list, #mobileMenu .os-panel__group ul { margin: 0; padding: 0; list-style: none; }
#mobileMenu .os-panel__list > li { margin: 0; border: 0; border-bottom: 1px solid var(--os-line); }
#mobileMenu .os-panel__list > li:last-child { border-bottom: 0; }
#mobileMenu .os-panel__list > li > a, #mobileMenu .os-panel__group > summary { display: flex; align-items: center; justify-content: space-between; gap: .75rem; min-height: 52px; padding: .6rem .5rem; border-radius: .6rem; color: var(--os-ink); font-size: 1.0625rem; font-weight: 700; line-height: 1.3; text-decoration: none; }
#mobileMenu .os-panel__group > summary { cursor: pointer; list-style: none; }
#mobileMenu .os-panel__group > summary::-webkit-details-marker { display: none; }
#mobileMenu .os-panel__list > li > a:hover, #mobileMenu .os-panel__list > li > a[aria-current=page], #mobileMenu .os-panel__group > summary:hover, #mobileMenu .os-panel__group[open] > summary { background: #fff4eb; color: #94470c; }
#mobileMenu .os-panel__group > summary svg { flex: none; color: var(--os-muted); transition: transform .15s; }
#mobileMenu .os-panel__group[open] > summary svg { color: inherit; transform: rotate(180deg); }
#mobileMenu .os-panel__group > ul { padding: .35rem 0 .75rem .5rem; }
#mobileMenu .os-panel__group ul a { display: flex; align-items: center; justify-content: space-between; gap: .75rem; min-height: 44px; padding: .45rem .5rem .45rem .75rem; border-left: 2px solid var(--os-line); color: var(--os-ink); font-size: .9375rem; font-weight: 600; line-height: 1.35; text-decoration: none; }
#mobileMenu .os-panel__group ul a:hover, #mobileMenu .os-panel__group ul a[aria-current=page] { border-left-color: var(--os-orange); background: #fff4eb; color: #94470c; }
#mobileMenu .os-panel__price { flex: none; color: #94470c; font-size: .8125rem; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
#mobileMenu .os-panel__subhead { padding: .75rem .5rem .25rem .75rem; color: var(--os-muted); font-size: .8125rem; font-weight: 700; }
#mobileMenu .os-panel__group ul a.os-panel__all { color: #94470c; font-weight: 800; }
/* Compact phone row keeps the menu usable on short screens. */
#mobileMenu .os-panel__foot { flex: none; padding: .55rem 1.25rem calc(.55rem + env(safe-area-inset-bottom)); border-top: 1px solid var(--os-line); background: var(--os-soft); }
#mobileMenu .os-panel__call { display: grid; grid-template-columns: minmax(0,1fr) 44px; align-items: center; gap: 0; border: 1px solid var(--os-line); border-radius: .75rem; background: #fff; }
#mobileMenu .os-panel__phone { display: flex; align-items: center; gap: .65rem; min-height: 44px; padding: .4rem .85rem; color: var(--os-ink); font-size: 1.0625rem; font-weight: 800; line-height: 1.3; text-decoration: none; }
#mobileMenu .os-panel__phone > svg { flex: none; color: #94470c; }
#mobileMenu .os-panel__phone:hover { color: #94470c; }
#mobileMenu .os-panel__number { white-space: nowrap; }
#mobileMenu .os-panel__call .os-copy-button { width: 44px; height: 44px; min-height: 44px; padding: .65rem; border: 0; border-left: 1px solid var(--os-line); border-radius: 0 .75rem .75rem 0; background: transparent; color: var(--os-ink); }
#mobileMenu .os-panel__call .os-copy-button:hover { background: #fff4eb; }
#mobileMenu .os-panel__call .os-copy-status { grid-column: 1 / -1; min-height: 0; margin: 0; padding: .3rem .75rem; border-top: 1px solid var(--os-line); font-size: .8125rem; line-height: 1.4; color: #475569; }
#mobileMenu .os-panel__call .os-copy-status:empty { display: none; }
#mobileMenu :is(a, button, summary):focus-visible { outline: 3px solid #bd5b08; outline-offset: 2px; }
/* Niski ekran (telefon poziomo): kontakt przewija się razem z listą, żeby nie zabierać jej miejsca. */
@media (max-height: 560px) {
  #mobileMenu.os-panel { overflow-y: auto; }
  #mobileMenu .os-panel__body { flex: none; overflow: visible; }
}

@media (prefers-reduced-motion: reduce) {
  #header .os-nav__toggle svg, #header .os-mobile-cta, #header .os-mobile-cta__number, #mobileMenu .os-panel__group > summary svg { transition: none; }
}

/* Uproszczona nawigacja: dwa wejścia i stałe ikony, bez dodatkowego przycisku zamówienia. */
#header .os-nav { flex: 1 1 auto; justify-content: flex-end; margin-left: auto; }
#header .os-header-search-toggle { order: 2; display: grid; align-self: center; margin-left: auto; cursor: pointer; }
#header .os-nav + .os-header-search-toggle { margin-left: 0; }
#header .os-nav__item--contact { position: relative; }
#header .os-contact-panel { position: absolute; z-index: 3; top: calc(100% + .5rem); right: 0; width: 15rem; margin: 0; padding: .5rem; border: 1px solid var(--os-line); border-radius: .85rem; background: #fff; box-shadow: 0 12px 30px #0f172a1f; list-style: none; }
#header .os-contact-panel[hidden] { display: none; }
#header .os-contact-panel a { display: flex; align-items: center; min-height: 46px; padding: .6rem .85rem; border-radius: .5rem; color: var(--os-ink); font-weight: 700; text-decoration: none; }
#header .os-contact-panel a:hover { background: #fff4eb; }
#header .os-services-panel { max-height: calc(100dvh - 140px); overflow-y: auto; overscroll-behavior: contain; }
#header .os-services-panel__pricing { display: flex; justify-content: space-between; width: 100%; margin-top: .65rem; border-bottom: 1px solid var(--os-line); }
#header :is(.os-nav__link,.os-header-search-toggle,.os-contact-panel a):focus-visible { outline: 3px solid #bd5b08; outline-offset: 2px; }
@media (min-width: 768px) and (max-width: 1099.98px) {
  #header .os-services-panel__inner { grid-template-columns: minmax(0,1fr) minmax(0,1fr); }
  #header .os-services-panel__aside { grid-column: 1 / -1; }
}
@media (max-width: 767.98px) {
  #header .header-bottom__logo { flex: 1 1 auto; max-width: calc(100% - 140px); }
  /* The entire logo column is a touch target, including the space around a small logo. */
  #header .header-bottom__logo .navbar-brand {
    display: flex !important; align-items: center; width: 100%; min-height: 44px;
    margin: 0; padding: 0; touch-action: manipulation;
  }
  #header .os-header-search-toggle { flex: 0 0 44px; margin-left: 0; }
}

/* Jedna oś i jednakowy obszar kliknięcia dla wyszukiwania, koszyka oraz menu. */
#header .ostrzalnia-header-actions { align-items: center; align-self: center; flex-shrink: 0; }
#header :is(.os-header-search-toggle, .os-cart-open, .ostrzalnia-desktop-menu-toggle) {
  display: grid; place-items: center; align-self: center;
  flex: 0 0 44px; width: 44px; height: 44px; min-width: 44px; min-height: 44px;
  padding: 0 !important; border: 0; border-radius: .65rem;
  background: transparent; color: var(--os-ink); line-height: 1;
}
#header :is(.os-header-search-toggle, .os-cart-open, .ostrzalnia-desktop-menu-toggle) > svg { display: block; width: 24px; height: 24px; }
#header :is(.os-header-search-toggle, .os-cart-open, .ostrzalnia-desktop-menu-toggle):hover { background: #f1f5f9; }
#header :is(.os-header-search-toggle, .os-cart-open, .ostrzalnia-desktop-menu-toggle):focus-visible { outline: 3px solid #a84f09; outline-offset: 2px; }
#header .os-cart-open .header-block__badge {
  top: 0; right: 0; display: grid; place-items: center;
  min-width: 17px; height: 17px; padding: 0 3px;
  border: 2px solid #fff; box-sizing: border-box;
  font-size: .625rem; line-height: 1; font-weight: 700;
}

/* Od 1200 px pole mieści się obok nawigacji. Poniżej formularz trafia do dialogu. */
#header .os-header-search { display: none; }
@media (min-width: 1200px) {
  #header .os-header-search {
    display: block; order: 2; align-self: center;
    flex: 0 1 380px; min-width: 260px; max-width: 380px;
    width: 30vw; padding: 0; margin: 0;
  }
  #header .os-header-search-toggle { display: none; }
  #header .os-header-search :is(.ps-searchbar, .ps-searchbar__form) { width: 100%; min-width: 0; margin: 0; }
  #header .os-header-search .ps-searchbar__input {
    width: 100%; height: 44px; min-height: 44px; margin: 0;
    border: 1px solid #718096; border-radius: .65rem;
    background: #fff; color: #17212f; font-size: .9375rem;
  }
  #header .os-header-search .ps-searchbar__input::placeholder { color: #526071; opacity: 1; }
  #header .os-header-search .ps-searchbar__input:focus { border-color: #a84f09; outline: 2px solid #a84f09; outline-offset: 2px; box-shadow: none; }
  #header .os-header-search .ostrzalnia-search-submit { height: 44px; color: #334155; }
  #header .os-header-search .ps-searchbar__clear { top: 0; right: .25rem; width: 36px; height: 44px; padding: 0; transform: none; }
  #header .os-header-search .ps-searchbar__clear:not(.d-none) { display: grid; place-items: center; }
  #header .os-header-search .ostrzalnia-search-dropdown { text-align: left; }
}
#header .os-header--checkout .os-header-search { display: none; }

/* Wyszukiwanie na żądanie; dialog działa również z klawiaturą i ekranem dotykowym. */
.os-search-dialog { inset: 0; width: min(680px,calc(100% - 24px)); max-height: calc(100dvh - 32px); margin: min(12vh,100px) auto auto; padding: 1.25rem; border: 1px solid #e2e8f0; border-radius: 1.15rem; background: #fff; color: #0f172a; overflow-y: auto; overscroll-behavior: contain; box-shadow: 0 24px 70px #0f172a33; }
.os-search-dialog:not([open]) { display: none; }
.os-search-dialog::backdrop { background: #0f172a80; }
.os-search-dialog__head { display: flex; align-items: center; justify-content: space-between; gap: .75rem; margin-bottom: 1rem; }
.os-search-dialog__head h2 { margin: 0; font-size: 1.25rem; line-height: 1.3; }
.os-search-dialog__close { display: grid; flex: none; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid #e2e8f0; border-radius: .7rem; background: #f8fafc; color: #0f172a; }
.os-search-dialog .ps-searchbar, .os-search-dialog .ps-searchbar__form { width: 100%; min-width: 0; }
.os-search-dialog .ps-searchbar__input { width: 100%; height: 52px; border: 1px solid #cbd5e1; border-radius: .7rem; background: #f8fafc; font-size: 1rem; }
.os-search-dialog .ostrzalnia-search-dropdown { position: static; width: 100%; max-width: 100%; margin-top: .75rem; border-radius: .7rem; box-shadow: none; }
.os-search-dialog button:focus-visible { outline: 3px solid #bd5b08; outline-offset: 2px; }

/* Sklep jest kategorią; status i konto to osobne, spokojne skróty. */
#mobileMenu .os-panel__shop { margin: .85rem 0 .6rem; border: 1px solid #fed7aa; border-radius: .75rem; background: #fff8f2; }
#mobileMenu .os-panel__shop > summary { min-height: 54px; padding: .65rem .8rem; }
#mobileMenu .os-panel__shop > summary > span { display: flex; align-items: center; gap: .7rem; }
#mobileMenu .os-panel__shop > summary > span > svg { color: #94470c; transform: none; }
#mobileMenu .os-panel__shop > ul { padding-inline: .6rem; }
#mobileMenu .os-panel__shortcuts { display: grid; gap: .5rem; margin: 0 0 .8rem; padding: 0; list-style: none; }
#mobileMenu .os-panel__shortcut { display: flex; align-items: center; gap: .7rem; min-height: 50px; padding: .65rem .8rem; border: 1px solid var(--os-line); border-radius: .75rem; background: var(--os-soft); color: var(--os-ink); font-size: .9375rem; font-weight: 700; text-decoration: none; }
#mobileMenu .os-panel__shortcut > svg { flex: none; color: #64748b; }
#mobileMenu .os-panel__shortcut > span:last-child { margin-left: auto; color: #64748b; }
#mobileMenu .os-panel__shortcut:hover, #mobileMenu .os-panel__shortcut[aria-current=page] { border-color: #fdba74; background: #fff4eb; }

/* The order and phone buttons share space smoothly, without touch-hover states. */
@media(max-width:767.98px) {
  #header .os-mobile-cta { display:grid; grid-template-columns:minmax(50px,1fr) minmax(50px,0fr); transition:grid-template-columns .28s cubic-bezier(.2,.7,.2,1),transform .2s,opacity .2s,visibility .2s; }
  #header .os-mobile-cta.is-phone-open { grid-template-columns:minmax(50px,0fr) minmax(50px,1fr); }
  #header .os-mobile-cta:not(:has(.os-mobile-cta__phone)) { grid-template-columns:minmax(0,1fr); }
  #header .os-mobile-cta__order { overflow:hidden; padding:.6rem .625rem; white-space:nowrap; }
  #header .os-mobile-cta__order-icon { flex:none; }
  #header .os-mobile-cta__order-label { min-width:0; max-width:14rem; margin-left:.5rem; overflow:hidden; opacity:1; transition:max-width .28s cubic-bezier(.2,.7,.2,1),margin-left .28s,opacity .18s; }
  #header .is-phone-open .os-mobile-cta__order-label { max-width:0; margin-left:0; opacity:0; }
  #header .os-mobile-cta__phone { min-width:0; overflow:hidden; padding:0 .625rem; }
  #header .os-mobile-cta__number { transition:max-width .28s cubic-bezier(.2,.7,.2,1),margin-left .28s,opacity .2s; }
  #header .os-mobile-cta__phone.is-open .os-mobile-cta__number { max-width:14rem; }
}
@media(prefers-reduced-motion:reduce) {
  #header .os-mobile-cta, #header .os-mobile-cta__order-label, #header .os-mobile-cta__number { transition:none; }
}

@media (max-width: 1099.98px) {
  #header .os-topbar--inner-page { display: none; }
}

/* Homepage hours move below the banner on phones and tablets. */
@media(max-width:1199.98px) {
  #index #header .os-topbar__hours { display:none; }
}
