/* Nagłówek v2, wariant „Katalog”. Włączany stałą TECHTRU_HEADER_V2 (inc/header-v2.php).
   Komputer: pomarańczowy pasek u góry, wiersz z logo/menu/telefonem/kontem/koszykiem i pasek wyszukiwania
   z przyciskiem "Wszystkie produkty". Górny wiersz chowa się przy przewijaniu (sticky z ujemnym top), pasek zostaje.
   Telefon: logo + wyszukiwarka, dolny pasek i arkusz z menu (niżej). */

.h2 {
  --h2-ink: #181c22;
  --h2-text: #3a4148;
  --h2-muted: #5f6870;
  --h2-line: #ebe8e1;
  --h2-soft: #f4f2ed;
  --h2-cream: #f6f4ef;
  --h2-accent: #f39200;
  --h2-accent-hover: #ffa21f;
  --h2-accent-ink: #9a5a00;
  --h2-on-accent: #20140a;
  --h2-dark: #181c22;
  font-family: Inter, "IBM Plex Sans", system-ui, sans-serif;
  color: var(--h2-ink);
}

body.techtru-shop-home header.site.h2 {
  position: sticky; top: -68px; z-index: 80;
  background: #fff; color: var(--h2-ink);
  border: 0; box-shadow: 0 1px 0 var(--h2-line); padding: 0; margin: 0;
  transition: box-shadow .2s, transform .28s ease;
}
body.admin-bar.techtru-shop-home header.site.h2 { top: -36px; }
body.techtru-shop-home header.site.h2.h2-compact { box-shadow: 0 8px 28px rgba(24, 28, 34, .1); }
.h2 a { color: inherit; text-decoration: none; }
.h2 svg { flex: none; }
.h2-wrap { width: 100%; max-width: 1384px; margin: 0 auto; padding: 0 32px; box-sizing: border-box; }
.h2-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.h2-stripe { height: 4px; background: var(--h2-accent); position: relative; z-index: 3; }
.h2-top { position: relative; z-index: 3; background: #fff; }
.h2-bar { position: relative; z-index: 2; background: #fff; }

/* ---------- górny wiersz ---------- */
.h2-top-row { height: 64px; display: flex; align-items: center; gap: 24px; }
.h2-logo { flex: none; display: flex; align-items: center; margin-right: 8px; }
.h2-logo img { height: 40px; width: auto; display: block; }

.h2-links { flex: 1 1 0; min-width: 0; }
.h2-menu { display: flex; width: max-content; align-items: center; gap: 26px; list-style: none; margin: 0; padding: 0; }
.h2-menu > li { position: relative; margin: 0; flex: none; white-space: nowrap; }
.h2-menu > li > a { display: flex; align-items: center; height: 64px; font-size: 15px; font-weight: 500; line-height: 1; color: var(--h2-text); box-sizing: border-box; transition: color .15s, box-shadow .15s; }
.h2-menu > li > a:hover, .h2-menu > li:focus-within > a { color: var(--h2-ink); box-shadow: inset 0 -3px 0 var(--h2-accent); }
.h2-menu > li.current-menu-item > a, .h2-menu > li.current-menu-ancestor > a { color: var(--h2-ink); font-weight: 600; box-shadow: inset 0 -3px 0 var(--h2-accent); }
.h2-menu > li.menu-item-has-children > a::after { content: ""; width: 5px; height: 5px; margin: -3px 0 0 8px; border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; transform: rotate(45deg); opacity: .55; flex: none; }
.h2-menu .sub-menu {
  position: absolute; left: -14px; top: 100%; min-width: 250px; margin: 0; padding: 8px; list-style: none; background: #fff;
  border: 1px solid var(--h2-line); border-radius: 16px; box-shadow: 0 20px 50px rgba(24, 28, 34, .14);
  opacity: 0; visibility: hidden; transform: translateY(4px); transition: opacity .15s, transform .15s, visibility .15s; z-index: 10;
}
.h2-menu li:hover > .sub-menu, .h2-menu li:focus-within > .sub-menu, .h2-menu li.h2-open > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.h2-menu .sub-menu li { margin: 0; }
.h2-menu .sub-menu a { display: block; padding: 10px 12px; border-radius: 10px; font-size: 15px; color: var(--h2-ink); white-space: nowrap; }
.h2-menu .sub-menu a:hover { background: var(--h2-accent); color: var(--h2-on-accent); }

/* telefon / opiekun */
.h2-contact { position: relative; flex: none; }
.h2-contact .contact-pop { top: calc(100% + 6px); right: 0; left: auto; }
body.techtru-shop-home .h2 .h2-phone {
  display: flex; align-items: center; gap: 12px; height: 48px; padding: 0 14px 0 5px; border: 0; border-radius: 24px;
  background: transparent; color: var(--h2-ink); font: inherit; text-align: left; cursor: pointer; transition: background .15s;
}
body.techtru-shop-home .h2 .h2-phone:hover, body.techtru-shop-home .h2 .contact-btn.open > .h2-phone { background: var(--h2-soft); }
.h2-phone-ic { width: 38px; height: 38px; border-radius: 19px; background: var(--h2-accent); color: var(--h2-on-accent); display: flex; align-items: center; justify-content: center; }
.h2-phone-ic svg { width: 18px; height: 18px; }
/* stary styl sklepu chowa zawartość przycisku kontaktu na węższych ekranach - tu ma być zawsze widoczna */
body.techtru-shop-home .h2 .h2-phone > .h2-phone-ic, body.techtru-shop-home .h2 .h2-phone > .h2-phone-txt { display: flex !important; }
body.techtru-shop-home .h2 .h2-phone-txt b, body.techtru-shop-home .h2 .h2-phone-txt small { display: block !important; }
.h2-phone-txt { display: flex; flex-direction: column; line-height: 1.15; white-space: nowrap; }
.h2-phone-txt small { font-size: 12px; color: var(--h2-muted); font-weight: 400; max-width: 190px; overflow: hidden; text-overflow: ellipsis; }
.h2-phone-txt b { font: 600 16px Sora, Inter, sans-serif; color: var(--h2-ink); }

.h2-sep { width: 1px; height: 30px; background: #e3dfd7; flex: none; }

/* konto */
.h2-act { display: flex; align-items: center; gap: 8px; height: 44px; padding: 0 10px; border-radius: 22px; font-size: 15px; font-weight: 500; color: var(--h2-ink); white-space: nowrap; flex: none; transition: background .15s; }
.h2-act:hover { background: var(--h2-soft); }
.h2-act > svg { width: 22px; height: 22px; }
.h2-avatar { width: 32px; height: 32px; border-radius: 50%; background: var(--h2-accent); color: var(--h2-on-accent); font-weight: 700; font-size: 13px; display: flex; align-items: center; justify-content: center; }
.h2-account { position: relative; flex: none; }
.h2-account-menu {
  position: absolute; right: 0; top: 100%; min-width: 250px; padding: 8px; margin-top: 6px; background: #fff;
  border: 1px solid var(--h2-line); border-radius: 16px; box-shadow: 0 20px 50px rgba(24, 28, 34, .14);
  opacity: 0; visibility: hidden; transform: translateY(4px); transition: opacity .15s, transform .15s, visibility .15s; z-index: 10;
}
.h2-account:hover .h2-account-menu, .h2-account:focus-within .h2-account-menu { opacity: 1; visibility: visible; transform: none; }
.h2-account-head { padding: 10px 12px 12px; border-bottom: 1px solid var(--h2-line); margin-bottom: 6px; display: flex; flex-direction: column; gap: 2px; }
.h2-account-head span { font-size: 13px; color: var(--h2-muted); }
.h2-account-menu a { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 10px; font-size: 14.5px; }
.h2-account-menu a:hover { background: var(--h2-soft); }
.h2-account-menu a svg { width: 18px; height: 18px; color: var(--h2-muted); }
.h2-account-out { color: #a33 !important; }

/* ulubione */
.h2-fav { position: relative; width: 44px; height: 44px; border-radius: 22px; display: flex; align-items: center; justify-content: center; color: var(--h2-ink); flex: none; transition: background .15s; }
.h2-fav:hover { background: var(--h2-soft); }
.h2-fav > svg { width: 22px; height: 22px; }
.h2-badge { position: absolute; top: 2px; right: 0; min-width: 18px; height: 18px; border-radius: 9px; background: var(--h2-accent); color: var(--h2-on-accent); font-size: 11px; font-weight: 700; display: flex; align-items: center; justify-content: center; padding: 0 4px; box-sizing: border-box; }
.h2-badge[hidden] { display: none; }

/* koszyk: ciemna pigułka z kwotą */
.h2-cart, .h2-bar-cart {
  display: flex; align-items: center; gap: 12px; height: 46px; padding: 0 18px 0 7px; border-radius: 23px; flex: none;
  background: var(--h2-dark); color: #fff !important; transition: background .15s;
}
.h2-cart:hover, .h2-bar-cart:hover { background: #2a3038; }
.h2-cart-ic { position: relative; width: 32px; height: 32px; border-radius: 16px; background: var(--h2-accent); color: var(--h2-on-accent); display: flex; align-items: center; justify-content: center; }
.h2-cart-ic svg { width: 17px; height: 17px; }
.h2-cart-badge {
  position: absolute; top: -5px; right: -6px; min-width: 18px; height: 18px; padding: 0 4px; box-sizing: border-box; border-radius: 9px;
  background: #fff; color: var(--h2-dark); font: 700 11px Inter, sans-serif; font-style: normal; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 0 2px var(--h2-dark);
}
.h2-cart-badge[hidden] { display: none; }
.h2-cart-total { font: 600 15px Sora, Inter, sans-serif; white-space: nowrap; color: #fff; }
.h2-cart-total * { color: inherit !important; font: inherit !important; }

/* koszyk boczny i szuflady zawsze nad nagłówkiem */
body.techtru-shop-home .cart-drawer { z-index: 130; }

/* ---------- pasek wyszukiwania ---------- */
.h2-bar-row { position: relative; height: 64px; display: flex; align-items: center; gap: 14px; padding-bottom: 4px; }
.h2-bar-logo { display: none; flex: none; align-items: center; margin-right: 8px; }
.h2-bar-logo img { height: 30px; width: auto; display: block; }

body.techtru-shop-home .h2 .h2-all {
  height: 48px; padding: 0 18px 0 16px; border: 0; border-radius: 14px; background: var(--h2-accent); color: var(--h2-on-accent);
  display: flex; align-items: center; gap: 12px; cursor: pointer; white-space: nowrap; flex: none;
  font: 600 15px Sora, Inter, sans-serif; letter-spacing: 0; text-transform: none; transition: background .15s;
}
body.techtru-shop-home .h2 .h2-all:hover { background: var(--h2-accent-hover); }
.h2-all-ic { width: 18px; height: 18px; }
.h2-all-chev { width: 14px; height: 14px; transition: transform .2s; }
.h2.h2-mega-open .h2-all-chev { transform: rotate(180deg); }

body.techtru-shop-home .h2 .h2-search.hd-search {
  flex: 1 1 auto; min-width: 0; max-width: none; position: relative; height: 48px; margin: 0; gap: 0;
  border-radius: 14px; background: var(--h2-soft); border: 1.5px solid transparent; box-shadow: none; box-sizing: border-box;
  display: flex; align-items: center; padding: 0 4px 0 6px; transition: background .15s, border-color .15s, box-shadow .15s;
}
body.techtru-shop-home .h2 .h2-search.hd-search:focus-within { background: #fff; border-color: var(--h2-accent); box-shadow: 0 0 0 4px rgba(243, 146, 0, .18); }
body.techtru-shop-home .h2 .h2-search input[type="search"] {
  flex: 1; min-width: 0; height: 100%; margin: 0; padding: 0 14px; border: 0; border-radius: 0; background: transparent; box-shadow: none; outline: none;
  color: var(--h2-ink); font: 400 15px Inter, "IBM Plex Sans", sans-serif;
}
body.techtru-shop-home .h2 .h2-search input[type="search"]::placeholder { color: var(--h2-muted); opacity: 1; }
body.techtru-shop-home .h2 .h2-search .h2-search-btn {
  flex: none; width: 40px; height: 38px; margin: 0; padding: 0; border: 0; border-radius: 10px; background: var(--h2-dark); color: #fff;
  display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: none; transition: background .15s;
}
body.techtru-shop-home .h2 .h2-search .h2-search-btn:hover { background: var(--h2-accent); color: var(--h2-on-accent); }
.h2-search-btn svg { width: 18px; height: 18px; }

.h2-cta {
  flex: none; height: 48px; padding: 0 16px; border-radius: 14px; border: 1.5px solid #e3dfd7; box-sizing: border-box;
  display: flex; align-items: center; gap: 10px; font-size: 14.5px; font-weight: 600; white-space: nowrap; transition: border-color .15s;
}
.h2-cta:hover { border-color: var(--h2-accent); }
.h2-cta svg { width: 18px; height: 18px; color: #c96f00; }

.h2-bar-actions { display: none; align-items: center; gap: 6px; flex: none; }
.h2-bar-acc { width: 44px; height: 44px; border-radius: 22px; display: flex; align-items: center; justify-content: center; color: var(--h2-ink); }
.h2-bar-acc:hover { background: var(--h2-soft); }
.h2-bar-acc svg { width: 22px; height: 22px; }
.h2-bar-cart { height: 44px; }

/* po przewinięciu (komputer): górny wiersz schowany, w pasku pojawia się małe logo, konto i koszyk */
.h2.h2-compact .h2-bar-logo { display: flex; }
.h2.h2-compact .h2-bar-actions { display: flex; }
.h2.h2-compact .h2-cta { display: none; }

/* ---------- mega-menu "Wszystkie produkty" ---------- */
.h2-scrim { position: fixed; inset: 0; z-index: 1; background: rgba(17, 20, 24, .45); }
.h2-scrim[hidden] { display: none; }
.h2-allprod {
  position: absolute; left: 32px; right: 32px; top: calc(100% + 4px); z-index: 5;
  height: min(500px, calc(100vh - 170px)); display: flex; overflow: hidden;
  background: #fff; border-radius: 22px; box-shadow: 0 30px 80px rgba(0, 0, 0, .3);
  font-family: Inter, "IBM Plex Sans", sans-serif; color: var(--h2-ink);
}
.h2-allprod[hidden] { display: none; }
.h2-ap-k { font: 600 11.5px "IBM Plex Mono", monospace; letter-spacing: .12em; text-transform: uppercase; color: #7b838a; }
.h2-ap-list { width: 300px; flex: none; padding: 16px; box-sizing: border-box; border-right: 1px solid #efece6; display: flex; flex-direction: column; gap: 4px; overflow-y: auto; }
.h2-ap-list .h2-ap-k { padding: 6px 12px 10px; }
.h2-ap-cat { min-height: 48px; padding: 0 14px; border-radius: 12px; display: flex; align-items: center; gap: 12px; font-size: 15.5px; font-weight: 500; transition: background .12s; }
.h2-ap-cat > svg:first-child { width: 20px; height: 20px; color: #7b838a; }
.h2-ap-cat span { flex: 1; min-width: 0; }
.h2-ap-cat > svg:last-child:not(:first-child) { width: 14px; height: 14px; color: #b3b8bc; }
.h2-ap-cat:hover { background: var(--h2-soft); }
.h2-ap-cat.on { background: var(--h2-accent); color: var(--h2-on-accent); font-weight: 600; }
.h2-ap-cat.on svg { color: var(--h2-on-accent) !important; }
.h2-ap-every { margin-top: auto; min-height: 46px; padding: 0 14px; border-radius: 12px; background: var(--h2-soft); display: flex; align-items: center; justify-content: space-between; font-weight: 600; font-size: 14.5px; }
.h2-ap-every svg { width: 14px; height: 14px; }
.h2-ap-every:hover { background: var(--h2-dark); color: #fff !important; }

.h2-ap-main { flex: 1; min-width: 0; padding: 28px 30px; overflow-y: auto; }
.h2-ap-pane { display: none; }
.h2-ap-pane.on { display: block; }
.h2-ap-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.h2-ap-title { font: 700 30px/1.15 Sora, Inter, sans-serif; letter-spacing: -0.015em; }
.h2-ap-head p { margin: 6px 0 0; max-width: 560px; font-size: 15px; line-height: 1.5; color: var(--h2-muted); }
.h2-ap-go { flex: none; height: 42px; padding: 0 16px; border-radius: 12px; background: var(--h2-dark); color: #fff !important; display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14px; white-space: nowrap; }
.h2-ap-go span { opacity: .6; font-weight: 500; }
.h2-ap-go svg { width: 14px; height: 14px; color: var(--h2-accent); }
.h2-ap-go:hover { background: #2a3038; }
.h2-ap-main .h2-ap-k { margin-bottom: 8px; }
.h2-ap-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; }
.h2-ap-grid a { min-height: 46px; border-bottom: 1px solid #f1eee8; display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 15px; transition: color .12s; }
.h2-ap-grid a span { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.h2-ap-grid a b { font-weight: 600; }
.h2-ap-grid a:hover { color: var(--h2-accent-ink); }
.h2-ap-grid em { font-style: normal; font-size: 13px; color: #7b838a; font-variant-numeric: tabular-nums; }
.h2-ap-note { margin: 0; color: var(--h2-muted); font-size: 15px; }

.h2-ap-side { width: 320px; flex: none; padding: 16px; box-sizing: border-box; }
.h2-ap-card { height: 100%; box-sizing: border-box; border-radius: 18px; background: var(--h2-dark); color: #fff; padding: 26px; display: flex; flex-direction: column; gap: 14px; overflow-y: auto; }
.h2-ap-card-ic { width: 46px; height: 46px; border-radius: 14px; background: var(--h2-accent); color: var(--h2-on-accent); display: flex; align-items: center; justify-content: center; flex: none; font: 700 15px Sora, sans-serif; }
.h2-ap-card-ic svg { width: 22px; height: 22px; }
.h2-ap-card-title { font: 700 20px/1.25 Sora, Inter, sans-serif; }
.h2-ap-card p { margin: 0; font-size: 14.5px; line-height: 1.5; color: #cfd4d8; }
.h2-ap-card ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; font-size: 14.5px; color: #cfd4d8; }
.h2-ap-card li { display: flex; align-items: center; gap: 10px; margin: 0; }
.h2-ap-card li svg { width: 16px; height: 16px; color: var(--h2-accent); }
.h2-ap-card li a { color: #fff !important; }
.h2-ap-card-btn { margin-top: auto; height: 48px; border-radius: 14px; background: var(--h2-accent); color: var(--h2-on-accent) !important; display: flex; align-items: center; justify-content: center; font: 600 15px Sora, Inter, sans-serif; flex: none; }
.h2-ap-card-btn:hover { background: var(--h2-accent-hover); }
.h2-ap-card-link { text-align: center; font-size: 13.5px; color: #cfd4d8 !important; }
.h2-ap-card-link b { color: #fff; }

/* węższe ekrany komputerowe */
/* opis opiekuna ("Twój opiekun: imię nazwisko") mieści się dopiero na szerokich ekranach; niżej zostaje sam numer telefonu */
@media (max-width: 1480px) {
  body.techtru-shop-home .h2 .h2-phone-txt small { display: none !important; }
}
@media (max-width: 1240px) {
  .h2-act-text { display: none; }
  .h2-ap-side { display: none; }
}
@media (max-width: 1180px) {
  .h2-top-row { gap: 14px; }
  .h2-menu { gap: 18px; }
  .h2-menu > li > a { font-size: 14px; }
  body.techtru-shop-home .h2 .h2-phone > .h2-phone-txt { display: none !important; }
  body.techtru-shop-home .h2 .h2-phone { padding: 0 5px; }
}
/* menu z Wygląd → Menu nie może nachodzić na przycisk kontaktu */
.h2-links { padding-right: 16px; }
.h2-contact { margin-left: 4px; }
@media (max-width: 1100px) {
  .h2-cta { display: none; }
}

/* ---------- telefon: tylko pasek z logo i wyszukiwarką ---------- */
@media (max-width: 980px) {
  body.techtru-shop-home header.site.h2, body.admin-bar.techtru-shop-home header.site.h2 { top: 0; }
  body.techtru-shop-home header.site.h2.h2-stuck { box-shadow: 0 6px 24px rgba(24, 28, 34, .08); }
  body.techtru-shop-home header.site.h2.h2-hide { transform: translateY(-101%); box-shadow: none; }
  .h2-stripe { height: 3px; }
  .h2-top, .h2 .h2-all, .h2-cta, .h2-bar-actions, .h2-allprod, .h2-scrim { display: none !important; }
  .h2-wrap { padding: 0 14px; }
  .h2-bar-row { height: 60px; gap: 12px; padding-bottom: 0; }
  .h2-bar-logo { display: flex; }
  .h2-bar-logo img { height: 28px; }
  body.techtru-shop-home .h2 .h2-search.hd-search { height: 42px; border-radius: 12px; padding-left: 4px; }
  body.techtru-shop-home .h2 .h2-search input[type="search"] { font-size: 15px; padding: 0 10px; }
  body.techtru-shop-home .h2 .h2-search .h2-search-btn { width: 36px; height: 34px; }
}
@media (prefers-reduced-motion: reduce) {
  body.techtru-shop-home header.site.h2 { transition: none; }
}

/* uchwyt koszyka widoczny tylko na telefonie */
.h2-cart-handle { display: none; }

/* ---------- telefon: dolny pasek jak w aplikacji, menu i koszyk jako arkusze od dołu ---------- */
.h2-tabbar, .h2-sheet { display: none; }

@media (max-width: 980px) {
  :root { --h2-tab-h: 52px; }

  body.techtru-shop-home { padding-bottom: calc(var(--h2-tab-h) + 4px + env(safe-area-inset-bottom)); }
  .h2-tabbar {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 85;
    height: calc(var(--h2-tab-h) + env(safe-area-inset-bottom)); padding: 4px 4px env(safe-area-inset-bottom); box-sizing: border-box;
    background: #fff; border-top: 1px solid var(--h2-line); font-family: Inter, "IBM Plex Sans", sans-serif;
  }
  .h2-tab {
    flex: 1; position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
    border: 0; background: none; color: var(--h2-muted); font: 500 11.5px Inter, "IBM Plex Sans", sans-serif; cursor: pointer; padding: 0;
    text-decoration: none; -webkit-tap-highlight-color: transparent;
  }
  .h2-tab svg { width: 21px; height: 21px; }
  .h2-tab.on, .h2-tab[aria-expanded="true"] { color: var(--h2-accent-ink); font-weight: 600; }
  .h2-tab-badge {
    position: absolute; top: 1px; left: 50%; margin-left: 7px; min-width: 17px; height: 17px; padding: 0 4px; box-sizing: border-box;
    border-radius: 9px; background: var(--h2-accent); color: var(--h2-dark); font: 700 10.5px Inter, sans-serif; font-style: normal;
    display: flex; align-items: center; justify-content: center;
  }
  .h2-tab-badge[hidden] { display: none; }
  body.woocommerce-cart .h2-tabbar, body.woocommerce-checkout .h2-tabbar { display: none; }
  body.woocommerce-cart.techtru-shop-home, body.woocommerce-checkout.techtru-shop-home { padding-bottom: 0; }

  .h2-sheet { display: block; position: fixed; inset: 0; z-index: 120; }
  .h2-sheet[hidden] { display: none; }
  .h2-sheet-bg { position: absolute; inset: 0; background: rgba(24, 28, 34, .5); }
  .h2-sheet-panel {
    position: absolute; left: 0; right: 0; bottom: 0; height: min(640px, 84vh); height: min(640px, 84dvh); display: flex; flex-direction: column;
    background: #fff; border-radius: 26px 26px 0 0; font-family: Inter, "IBM Plex Sans", sans-serif; color: var(--h2-ink);
    animation: h2-sheet-up .25s ease;
  }
  @keyframes h2-sheet-up { from { transform: translateY(48px); opacity: .4; } to { transform: none; opacity: 1; } }
  .h2-sheet-handle { height: 44px; flex: none; display: flex; align-items: center; justify-content: center; touch-action: none; cursor: grab; }
  .h2-sheet-handle span { width: 40px; height: 5px; border-radius: 3px; background: #d9d5cc; }
  .h2-sheet-head { flex: none; display: flex; align-items: center; justify-content: space-between; padding: 0 18px 10px; touch-action: none; }
  .h2-sheet-head b { font: 700 20px Sora, Inter, sans-serif; }
  .h2-sheet-head a { font-size: 13.5px; font-weight: 600; color: var(--h2-accent-ink); }
  .h2-sheet-body { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 0 0 8px; }
  .h2-sh-acc > summary, .h2-sh-row {
    list-style: none; min-height: 58px; display: flex; align-items: center; gap: 14px; padding: 0 6px; border-bottom: 1px solid #f1eee8;
    cursor: pointer; color: inherit;
  }
  .h2-sh-acc > summary::-webkit-details-marker { display: none; }
  .h2-sh-ic { width: 38px; height: 38px; border-radius: 12px; display: flex; align-items: center; justify-content: center; flex: none; }
  .h2-sh-ic svg { width: 18px; height: 18px; }
  .h2-sh-name { flex: 1; font-weight: 600; font-size: 16px; }
  .h2-sheet-body em { font-style: normal; color: #7b838a; font-size: 13px; font-variant-numeric: tabular-nums; }
  .h2-sh-acc > summary, .h2-sh-row, .h2-sh-sub a, .h2-sh-link { -webkit-tap-highlight-color: transparent; transition: background .12s; }
  .h2-sh-acc > summary, .h2-sh-row { border-radius: 14px; }
  .h2-sh-acc > summary:active, .h2-sh-row:active { background: #f1eee8; }
  .h2-sh-acc[open] > summary { background: #f39200; }
  .h2-sh-acc[open] > summary .h2-sh-name { color: #20140a; }
  .h2-sh-acc[open] > summary em { color: #20140a; }
  .h2-sh-acc[open] > summary .h2-sh-ic { background: #fff; }
  .h2-sh-sub a:active, .h2-sh-link:active { background: #f6f4ef; }
  .h2-sh-chev, .h2-sh-go { width: 14px; height: 14px; color: #9aa1a7; flex: none; transition: transform .2s; }
  .h2-sh-acc[open] > summary .h2-sh-chev { transform: rotate(180deg); }
  .h2-sh-acc[open] > summary { border-bottom-color: transparent; }
  .h2-sh-acc { margin: 2px 0; }
  .h2-sh-sub { padding: 0 6px 8px 58px; border-bottom: 1px solid #f1eee8; display: flex; flex-direction: column; }
  .h2-sh-sub a { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding: 11px 0; font-size: 15px; border-bottom: 1px solid #f6f4ef; color: inherit; }
  .h2-sh-sub a:first-child { color: var(--h2-accent-ink); font-weight: 600; }
  .h2-sh-sub a:last-child { border-bottom: 0; }
  .h2-sh-label { font-size: 11.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: #7b838a; padding: 18px 6px 4px; }
  .h2-sh-link { display: block; padding: 12px 6px; font-size: 15px; border-bottom: 1px solid #f6f4ef; color: inherit; }
  .h2-sh-link.sub { padding-left: 24px; font-size: 14.5px; }
  .h2-sheet-foot { flex: none; display: flex; gap: 8px; padding: 10px 12px calc(14px + env(safe-area-inset-bottom)); border-top: 1px solid var(--h2-line); }
  body.techtru-shop-home .h2-sheet-foot a {
    flex: 1; height: 48px; border-radius: 14px; font: 600 14.5px Inter, "IBM Plex Sans", sans-serif; letter-spacing: 0; text-transform: none;
    display: flex; align-items: center; justify-content: center; text-decoration: none; border: 0; box-sizing: border-box;
  }
  body.techtru-shop-home .h2-sheet-foot a.h2-sf-dark { background: #181c22; color: #fff; }
  body.techtru-shop-home .h2-sheet-foot a.h2-sf-acc { background: #f39200; color: #181c22; }
  /* dolny pasek: jednakowa czcionka na wszystkich zakładkach (przycisk "Kategorie" dziedziczył większą z motywu) */
  body.techtru-shop-home .h2-tabbar .h2-tab, body.techtru-shop-home .h2-tabbar .h2-tab span {
    font: 500 10.5px/1.1 Inter, "IBM Plex Sans", sans-serif; letter-spacing: 0; text-transform: none;
  }
  body.techtru-shop-home .h2-tabbar .h2-tab.on span, body.techtru-shop-home .h2-tabbar .h2-tab[aria-expanded="true"] span { font-weight: 600; }

  /* koszyk jako arkusz od dołu, w tym samym stylu co menu */
  body.techtru-shop-home .cart-drawer .cart-drawer-panel {
    left: 0; right: 0; top: auto; bottom: 0; width: 100%; max-width: none;
    height: min(640px, 84vh); height: min(640px, 84dvh); border-radius: 26px 26px 0 0;
    transform: translateY(100%); transition: transform .28s ease; box-shadow: 0 -10px 40px rgba(24, 28, 34, .18);
  }
  body.techtru-shop-home .cart-drawer.open .cart-drawer-panel { transform: translateY(0); }
  .h2-cart-handle { display: flex; height: 44px; flex: none; align-items: center; justify-content: center; touch-action: none; cursor: grab; }
  .h2-cart-handle span { width: 40px; height: 5px; border-radius: 3px; background: #d9d5cc; }
  body.techtru-shop-home .cart-drawer-head { padding: 0 18px 10px; border-bottom: 0; touch-action: none; }
  body.techtru-shop-home .cart-drawer-head h2 { font: 700 20px Sora, Inter, sans-serif; }
  body.techtru-shop-home .cart-drawer-close { width: 40px; height: 40px; border-radius: 12px; background: #f4f2ed; }
  body.techtru-shop-home .cart-drawer-body { padding: 4px 16px; overscroll-behavior: contain; }
  body.techtru-shop-home .cart-drawer-foot { padding: 12px 16px calc(16px + env(safe-area-inset-bottom)); }

  /* paski doklejane do dołu strony (np. "Dodaj do koszyka" na karcie produktu) siedzą nad paskiem menu, a nie pod nim */
  body.techtru-shop-home .sp-sticky,
  body.techtru-shop-home .hp-sticky { bottom: calc(var(--h2-tab-h) + env(safe-area-inset-bottom)) !important; z-index: 90; }
}
@media (prefers-reduced-motion: reduce) { .h2-sheet-panel { animation: none; } }

/* ---------- ulubione ---------- */
body.techtru-shop-home .pcard { position: relative; }
.fav-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; cursor: pointer; border: 1px solid #e7e3dc; background: #fff; color: #5b6168; padding: 0; transition: color .15s, background .15s, border-color .15s, transform .15s; font: 600 14px/1 Inter, system-ui, sans-serif; }
.fav-btn svg { width: 19px; height: 19px; flex: none; }
.fav-btn:hover { color: #181c22; border-color: #cfcac1; }
.fav-btn.on { color: #fff; background: #f39200; border-color: #f39200; }
.fav-btn.on svg { fill: currentColor; }
.pcard > .fav-btn { position: absolute; top: 10px; left: 10px; z-index: 3; width: 36px; height: 36px; border-radius: 50%; box-shadow: 0 2px 8px rgba(24, 28, 34, .12); }
ul.products.view-list .pcard > .fav-btn { top: 4px; left: 4px; width: 28px; height: 28px; }
ul.products.view-list .pcard > .fav-btn svg { width: 15px; height: 15px; }
.fav-btn-wide { height: 40px; padding: 0 16px; border-radius: 999px; margin: 0 0 14px; }
.fav-page { padding: 8px 0 40px; }
.fav-title { margin: 0 0 22px; font-size: 30px; }
.fav-empty { padding: 36px; text-align: center; border: 1px dashed #d9d4ca; border-radius: 18px; }
.fav-empty[hidden] { display: none; }
.fav-empty p { margin: 0 0 16px; color: #5b6168; }
