/* naradovna.sk – kompaktná hlavička pri posune (ako Alza), v2 16. 11. 2026
   Hore na stránke ostáva PÔVODNÁ hlavička Shoptetu bez zmeny. Keď pri posune nadol zmizne z obrazovky, hlavicka.js pridá
   html.nd-hl-fix a tá istá hlavička sa zhora vysunie v kompaktnej bielej podobe (logo, Kategórie, vyhľadávanie, účet, košík;
   na detaile produktu po posune pod nákupný blok lišta nákupu). Miesto pôvodnej hlavičky drží .nd-hl-spacer – nič neskočí.
   Len desktop a tablet (≥ 768 px), nie v košíku a objednávke. Mobil ostáva pôvodný (má vlastnú spodnú lištu nákupu).
   Všetky pravidlá hlavičky platia len pod html.nd-hl-fix. */
@keyframes nd-hl-in { from { transform: translateY(-100%); } to { transform: none; } }
@media (prefers-reduced-motion: reduce) { html.nd-hl-fix #header { animation: none !important; } }
.nd-hl-spacer { display: none; }
html.nd-hl-fix .nd-hl-spacer { display: block; }
/* mimo kompaktného režimu: naše prvky skryté, tlačidlo Hľadať bez lupy (pôvodný vzhľad) */
html:not(.nd-hl-fix) .nd-hl-cat, html:not(.nd-hl-fix):not(.nd-hl-pdol) .nd-hl-panel, html:not(.nd-hl-fix) .nd-hl-buy,
html:not(.nd-hl-fix) #formSearchForm button[type="submit"] svg { display: none !important; }

:root {
  --nd-hl-red: #d0150a;
  --nd-hl-red-hover: #b01208;
  --nd-hl-ink: #171717;
  --nd-hl-muted: #525960;
  --nd-hl-line: #e1e2e4;
  --nd-hl-field: #c9ccd0;
  --nd-hl-warm: #f7f5f0;
  --nd-hl-i-user: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 7a4 4 0 1 0 8 0a4 4 0 0 0 -8 0'/%3E%3Cpath d='M6 21v-2a4 4 0 0 1 4 -4h4a4 4 0 0 1 4 4v2'/%3E%3C/svg%3E");
  --nd-hl-i-bag: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6.331 8h11.339a2 2 0 0 1 1.977 2.304l-1.255 8.152a3 3 0 0 1 -2.966 2.544h-6.852a3 3 0 0 1 -2.965 -2.544l-1.255 -8.152a2 2 0 0 1 1.977 -2.304z'/%3E%3Cpath d='M9 11v-5a3 3 0 0 1 6 0v5'/%3E%3C/svg%3E");   /* košík = taška ako na celom webe (tlačidlá Pridať do košíka) */
  --nd-hl-i-menu: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 6h16'/%3E%3Cpath d='M4 12h16'/%3E%3Cpath d='M4 18h16'/%3E%3C/svg%3E");
  --nd-hl-i-x: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 6l-12 12'/%3E%3Cpath d='M6 6l12 12'/%3E%3C/svg%3E");
  --nd-hl-i-search: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 10a7 7 0 1 0 14 0a7 7 0 1 0 -14 0'/%3E%3Cpath d='M21 21l-6 -6'/%3E%3C/svg%3E");
}

/* kroky objednávky: Shoptet tam namiesto vyhľadávania dáva telefón (doteraz červený na červenom = neviditeľný);
   telefón do hlavičky nedávame (Andrej) – je na Kontakte a stránke Vrátenie */
html.nd-hl-fix #header .header-top > div.search > .project-phone { display: none !important; }

/* ---------- Spoločné: vyhľadávanie (desktop aj mobil) ---------- */
html.nd-hl-fix #header #formSearchForm::before { display: none !important; }            /* lupa Merkuru v poli vľavo */
html.nd-hl-fix #header #formSearchForm .query-input {
  height: 48px; border: 1px solid var(--nd-hl-field); border-radius: 6px;
  padding: 0 64px 0 16px; color: var(--nd-hl-ink); font-size: 16px; box-shadow: none;
}
html.nd-hl-fix #header #formSearchForm .query-input::placeholder { color: #6b7178; opacity: 1; }
html.nd-hl-fix #header #formSearchForm:focus-within .query-input { border-color: var(--nd-hl-ink); box-shadow: 0 0 0 3px rgba(23, 23, 23, .16); outline: 0; }
html.nd-hl-fix #header #formSearchForm button[type="submit"] {
  position: absolute; top: 0; right: 0; bottom: 0; height: 48px; width: auto; min-width: 48px; margin: 0;
  display: flex; align-items: center; justify-content: center; gap: 8px; padding: 0 18px;
  border: 0 !important; border-radius: 0 6px 6px 0; background: var(--nd-hl-red) !important; color: #fff;
  font-size: 16px; font-weight: 700; text-transform: none; letter-spacing: 0; line-height: 1;
}
html.nd-hl-fix #header #formSearchForm button[type="submit"]:hover { background: var(--nd-hl-red-hover) !important; }
html.nd-hl-fix #header #formSearchForm button[type="submit"]:focus-visible { outline: 3px solid var(--nd-hl-ink) !important; outline-offset: 2px; }
html.nd-hl-fix #header #formSearchForm button[type="submit"] svg { display: block; flex: none; }
html.nd-hl-fix #header #formSearchForm .query-input:focus-visible { outline: none !important; } /* fokus = tmavý rámik + tieň okolo poľa */
/* šepkač Shoptetu: rovnaké zaoblenie, hneď pod poľom */
html.nd-hl-fix #header .search-whisperer { border-radius: 0 0 8px 8px; }

/* ---------- Desktop a tablet (od 768 px – tam končí mobilná hlavička Shoptetu) ---------- */
@media (min-width: 768px) {
  /* jedna hlavička v kompaktnej podobe Medusy (sticky-header.tsx), prilepená navrchu: sticky = miesto v stránke ostáva,
     obsah neskočí; nepriehľadná, bez animácie; panel Kategórie a šepkač sú v nej (z-index nad obsahom) */
  html.nd-hl-fix #header { background: #fff !important; border-top: 0 !important; border-bottom: 1px solid var(--nd-hl-line); }
  /* košík a kroky objednávky nie – Shoptet tam má vlastné súhrny a nechceme nič prekryť */
  html.nd-hl-fix #header { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; box-shadow: 0 4px 12px rgba(0, 0, 0, .08); animation: nd-hl-in .18s ease-out; }
  html.nd-hl-fix { scroll-padding-top: 84px; }                             /* odkazy na kotvy (#parametre…) neskončia pod hlavičkou */
  html:has(body.ordering-process) { scroll-padding-top: 0; }   /* košík a objednávka: hlavička nie je prilepená */
  html.nd-hl-fix #header .header-top { height: 68px; flex-wrap: nowrap; align-items: center; gap: 20px; }
  html.nd-hl-fix #header .header-top > div { height: auto; flex: 0 0 auto; align-self: center; }
  html.nd-hl-fix #header .header-top > div.site-name-wrapper { flex: 0 0 auto; }
  html.nd-hl-fix #header .header-top .site-name { height: auto; padding: 0; border: 0; }
  html.nd-hl-fix #header .header-top .site-name a img { max-height: 44px; width: auto; }
  html.nd-hl-fix #header .header-top > div.search { flex: 1 1 auto; min-width: 0; padding: 0; background: none !important; }
  html.nd-hl-fix #header .header-top .search-form { max-width: none; width: 100%; margin: 0; }
  html.nd-hl-fix #header .header-top > div.navigation-buttons { flex: 0 0 auto; background: none; gap: 6px; align-items: center; }

  /* šepkač: na šírku poľa (Merkur ho mal 732 px posunutý doľava pod pôvodné úzke pole) */
  html.nd-hl-fix #header .search-whisperer.active { left: 0; right: auto; width: 100%; margin-left: 0; top: calc(100% + 4px); border: 1px solid var(--nd-hl-line); padding: 24px 28px 28px; }
  html.nd-hl-fix #header .search-whisperer.active::before { display: none; }
}
@media (min-width: 1100px) {
  /* dva stĺpce produktov potrebujú ~730 px (inak sa oreže dostupnosť) – zarovnané k pravému okraju poľa */
  html.nd-hl-fix #header .search-whisperer.active { left: auto; right: 0; width: 100%; width: max(100%, 732px); }
}
@media (min-width: 768px) {

  /* účet: len ikona (meno ostáva pre čítačky v <span>), ako v predlohe */
  html.nd-hl-fix #header .navigation-buttons > .top-nav-button {
    width: 48px; height: 48px; min-width: 48px; padding: 0; border: 0; border-radius: 6px;
    display: flex; align-items: center; justify-content: center; color: var(--nd-hl-ink); background: none;
  }
  html.nd-hl-fix #header .navigation-buttons > .top-nav-button > span {
    position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
  }
  html.nd-hl-fix #header .navigation-buttons > .top-nav-button::before {
    content: "" !important; display: block; width: 26px; height: 26px; margin: 0;
    background: currentColor; -webkit-mask: var(--nd-hl-i-user) center / contain no-repeat; mask: var(--nd-hl-i-user) center / contain no-repeat;
    color: var(--nd-hl-ink) !important;
  }
  html.nd-hl-fix #header .navigation-buttons > .top-nav-button::after { display: none !important; }
  html.nd-hl-fix #header .navigation-buttons > .top-nav-button:hover { background: var(--nd-hl-warm); }

  /* košík: ikona s počtom v červenom krúžku + „Košík“ (pod ním suma od 1200 px, keď Shoptet sumu ukazuje) */
  html.nd-hl-fix #header .header-top .btn.cart-count {
    position: relative; display: grid; grid-template-columns: 26px auto; grid-template-rows: auto auto;
    column-gap: 14px; align-items: center; align-content: center;
    width: auto; min-width: 0; height: 48px; padding: 0 8px 0 6px; margin: 0;
    border: 0 !important; border-radius: 6px; background: none; color: var(--nd-hl-ink); text-align: left;
  }
  html.nd-hl-fix #header .header-top .btn.cart-count:hover { background: var(--nd-hl-warm); }
  html.nd-hl-fix #header .header-top .btn.cart-count::before {
    content: "" !important; grid-column: 1; grid-row: 1 / span 2; display: block; width: 26px; height: 26px; line-height: 0;
    background: var(--nd-hl-ink) !important; color: var(--nd-hl-ink) !important;
    -webkit-mask: var(--nd-hl-i-bag) center / contain no-repeat; mask: var(--nd-hl-i-bag) center / contain no-repeat;
  }
  html.nd-hl-fix #header .header-top .btn.cart-count::after {
    content: "Košík" !important; display: block !important; position: static; grid-column: 2; grid-row: 1; width: auto; height: auto; margin: 0;
    font-family: inherit !important; font-size: 16px; font-weight: 700; line-height: 1.2; color: var(--nd-hl-ink) !important;
    text-transform: none; letter-spacing: 0; transform: none !important;
  }
  html.nd-hl-fix #header .header-top .btn.cart-count.full .cart-price {
    display: block !important; grid-column: 2; grid-row: 2; position: static; margin: 0; padding: 0;
    font-size: 12px; font-weight: 400; line-height: 1.3; color: var(--nd-hl-muted) !important; white-space: nowrap;
  }
  html.nd-hl-fix #header .header-top .btn.cart-count:not(.full) .cart-price { display: none !important; } /* „Prázdny košík“ – krúžok bez čísla to povie */
  html.nd-hl-fix #header .header-top .btn.cart-count:not(.full)::before { grid-row: 1; }
  html.nd-hl-fix #header .header-top .btn.cart-count i, html.nd-hl-fix #header .navigation-buttons > a[data-target="cart"] i {
    position: absolute; left: 21px; right: auto; top: 0; bottom: auto; margin: 0;
    min-width: 20px; width: auto; height: 20px; padding: 0 5px; border: 2px solid #fff; border-radius: 10px;
    background: var(--nd-hl-red) !important; color: #fff !important;
    font-size: 12px; font-weight: 700; font-style: normal; line-height: 16px; text-align: center; box-sizing: border-box;
  }
  html.nd-hl-fix #header .header-top a:focus-visible, html.nd-hl-fix #header .header-top button:focus-visible { outline: 3px solid var(--nd-hl-ink) !important; outline-offset: 2px; }

  /* kompaktné ovládacie prvky (44 px ako sticky-header Medusy) */
  html.nd-hl-fix #header #formSearchForm .query-input, html.nd-hl-fix #header #formSearchForm button[type="submit"], html.nd-hl-fix #header .navigation-buttons > .top-nav-button, html.nd-hl-fix #header .header-top .btn.cart-count, html.nd-hl-fix #header .nd-hl-cat-btn { height: 44px; }
  html.nd-hl-fix #header .navigation-buttons > .top-nav-button { width: 44px; min-width: 44px; }

  /* tlačidlo „Kategórie“ (vkladá skript) */
  html.nd-hl-fix #header .nd-hl-cat { flex: 0 0 auto; position: static; }
  html.nd-hl-fix .nd-hl-cat-btn {
    display: flex; align-items: center; gap: 8px; height: 48px; padding: 0 14px;
    border: 1px solid var(--nd-hl-ink); border-radius: 6px; background: #fff; color: var(--nd-hl-ink);
    font-family: inherit; font-size: 16px; font-weight: 700; line-height: 1; text-transform: none; white-space: nowrap; cursor: pointer;
  }
  html.nd-hl-fix .nd-hl-cat-btn:hover, html.nd-hl-fix .nd-hl-cat-btn[aria-expanded="true"] { background: var(--nd-hl-ink); color: #fff; }
  html.nd-hl-fix .nd-hl-cat-btn svg { display: block; flex: none; }
  html.nd-hl-fix .nd-hl-cat-btn .nd-hl-chev { transition: transform .15s; }
  html.nd-hl-fix .nd-hl-cat-btn[aria-expanded="true"] .nd-hl-chev { transform: rotate(180deg); }

  /* sivý pruh kategórií (Merkur) a „Viac“ – skryť hneď (inak po dobehnutí skriptu obsah poskočí o 57 px);
     v krokoch objednávky skript menu nestavia, tam ostáva; keď menu postaviť nejde, skript pridá html.nd-hl-fail a pruh sa vráti;
     keď sa skript vôbec nenačíta, pridá ju poistka v záhlaví (load + 3 s bez nd-hl-on) */
  html.nd-hl-fix #navigation, html.nd-hl-fix #header::after, html.nd-hl-fix .menu-helper { display: none !important; }

  /* panel kategórií pod hlavičkou (nie modálne okno; stránka sa neposunie) */
  :is(html.nd-hl-fix, html.nd-hl-pdol) .nd-hl-panel {
    position: absolute; top: 100%; z-index: 1001; display: grid; grid-template-columns: 290px minmax(0, 1fr);
    background: #fff; border-top: 3px solid var(--nd-hl-red); border-radius: 0 0 8px 8px;
    box-shadow: 0 16px 32px rgba(0, 0, 0, .18); overflow: hidden; text-align: left;
  }
  :is(html.nd-hl-fix, html.nd-hl-pdol) .nd-hl-panel[hidden] { display: none; }
  :is(html.nd-hl-fix, html.nd-hl-pdol) .nd-hl-list { margin: 0; padding: 8px 0; list-style: none; border-right: 1px solid var(--nd-hl-line); overflow-y: auto; }
  :is(html.nd-hl-fix, html.nd-hl-pdol) .nd-hl-list li { margin: 0; padding: 0; }
  :is(html.nd-hl-fix, html.nd-hl-pdol) .nd-hl-list a {
    display: flex; align-items: center; gap: 10px; padding: 11px 16px; min-height: 44px; box-sizing: border-box;
    color: var(--nd-hl-ink); font-size: 16px; font-weight: 600; line-height: 1.25; text-decoration: none;
  }
  :is(html.nd-hl-fix, html.nd-hl-pdol) .nd-hl-list a span { flex: 1; }
  :is(html.nd-hl-fix, html.nd-hl-pdol) .nd-hl-list a svg { flex: none; color: var(--nd-hl-muted); }
  :is(html.nd-hl-fix, html.nd-hl-pdol) .nd-hl-list a.is-active { background: var(--nd-hl-warm); color: var(--nd-hl-red); }
  :is(html.nd-hl-fix, html.nd-hl-pdol) .nd-hl-list a.is-active svg { color: var(--nd-hl-red); }
  :is(html.nd-hl-fix, html.nd-hl-pdol) .nd-hl-list a:focus-visible, :is(html.nd-hl-fix, html.nd-hl-pdol) .nd-hl-cards a:focus-visible { outline: 3px solid var(--nd-hl-ink) !important; outline-offset: -3px !important; }
  :is(html.nd-hl-fix, html.nd-hl-pdol) .nd-hl-cards { padding: 20px 24px 24px; overflow-y: auto; }
  :is(html.nd-hl-fix, html.nd-hl-pdol) .nd-hl-all { display: inline-flex; align-items: center; gap: 6px; margin: 0 0 16px; color: var(--nd-hl-red); font-size: 17px; font-weight: 700; text-decoration: none; }
  :is(html.nd-hl-fix, html.nd-hl-pdol) .nd-hl-all:hover { text-decoration: underline; }
  :is(html.nd-hl-fix, html.nd-hl-pdol) .nd-hl-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px 20px; margin: 0; padding: 0; list-style: none; }
  :is(html.nd-hl-fix, html.nd-hl-pdol) .nd-hl-grid li { margin: 0; padding: 0; }
  :is(html.nd-hl-fix, html.nd-hl-pdol) .nd-hl-grid a { display: flex; align-items: center; gap: 12px; padding: 6px; border-radius: 6px; color: var(--nd-hl-ink); font-size: 15px; font-weight: 700; line-height: 1.3; text-decoration: none; }
  :is(html.nd-hl-fix, html.nd-hl-pdol) .nd-hl-grid a:hover { background: var(--nd-hl-warm); color: var(--nd-hl-red); }
  :is(html.nd-hl-fix, html.nd-hl-pdol) .nd-hl-grid img, :is(html.nd-hl-fix, html.nd-hl-pdol) .nd-hl-grid .nd-hl-noimg { flex: none; width: 72px; height: 54px; object-fit: contain; border: 1px solid var(--nd-hl-line); border-radius: 4px; background: #fff; }

  /* okná Shoptetu (košík, prihlásenie) boli posadené pod pôvodnú 168 px hlavičku */
  html.nd-hl-fix .popup-widget.cart-widget, html.nd-hl-fix .popup-widget.login-widget { top: 69px; }
  html.nd-hl-fix .empty-cart-hover { top: 69px; }
  html.nd-hl-fix .popup-widget.cart-widget, html.nd-hl-fix .popup-widget.login-widget { margin-top: 0 !important; }
  html.nd-hl-fix .popup-widget.cart-widget::before, html.nd-hl-fix .popup-widget.login-widget::before, html.nd-hl-fix .empty-cart-hover::before { display: none !important; } /* biely „jazyk“ k starým 106 px tlačidlám */
  /* hlavička je prilepená → okná Shoptetu (košík, prihlásenie) tiež k oknu, inak by po posune boli mimo obrazovky */
  html.nd-hl-fix .popup-widget.cart-widget, html.nd-hl-fix .popup-widget.login-widget, html.nd-hl-fix .empty-cart-hover { position: fixed; }
}

/* ---------- Detail produktu: hlavička ako lišta nákupu (sticky-purchase v Meduse) ----------
   Prepína skript triedou #header.nd-hl-buying, keď nákupný blok odíde nad hlavičku. Výška hlavičky sa nemení (žiadny skok). */
.nd-hl-buy { display: none; }
@media (min-width: 768px) {
  html.nd-hl-fix #header.nd-hl-buying .nd-hl-cat, html.nd-hl-fix #header.nd-hl-buying .header-top > div.search, html.nd-hl-fix #header.nd-hl-buying .navigation-buttons > .top-nav-button { display: none !important; }
  html.nd-hl-fix #header.nd-hl-buying .nd-hl-buy { display: flex; flex: 1 1 auto; min-width: 0; align-items: center; gap: 24px; }
  html.nd-hl-fix .nd-hl-buy-prod { display: flex; flex: 1 1 auto; min-width: 0; align-items: center; gap: 14px; }
  html.nd-hl-fix .nd-hl-buy-prod img { flex: none; width: 48px; height: 48px; object-fit: contain; }
  html.nd-hl-fix .nd-hl-buy-prod > span { display: flex; flex-direction: column; min-width: 0; gap: 2px; }
  html.nd-hl-fix .nd-hl-buy-prod strong { overflow: hidden; color: var(--nd-hl-ink); font-size: 17px; font-weight: 700; line-height: 1.25; white-space: nowrap; text-overflow: ellipsis; }
  html.nd-hl-fix .nd-hl-buy-avail { display: flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; line-height: 1.2; white-space: nowrap; }
  html.nd-hl-fix .nd-hl-buy-avail:not(.is-in-cart)::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; flex: none; }
  html.nd-hl-fix .nd-hl-buy-avail.is-in-cart { color: #007a01; }
  html.nd-hl-fix .nd-hl-buy-price { flex: none; display: flex; flex-direction: column; align-items: flex-end; line-height: 1.15; }
  html.nd-hl-fix .nd-hl-buy-price strong { color: var(--nd-hl-red); font-size: 22px; font-weight: 800; white-space: nowrap; }
  html.nd-hl-fix .nd-hl-buy-price small { color: var(--nd-hl-muted); font-size: 13px; white-space: nowrap; }
  html.nd-hl-fix .nd-hl-buy-btn {
    /* rovnaké ako pôvodné tlačidlo na stránke: zelené, VEĽKÉ písmená, taška – zákazník spozná tú istú akciu */
    flex: none; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-width: 230px; height: 52px; padding: 0 24px;
    border: 0; border-radius: 6px; background: #007a01; color: #fff; cursor: pointer;
    font-family: inherit; font-size: 16px; font-weight: 700; line-height: 1; white-space: nowrap; text-transform: uppercase;
  }
  html.nd-hl-fix .nd-hl-buy-btn::before {
    content: ""; width: 22px; height: 22px; flex: none; background: currentColor;
    -webkit-mask: var(--nd-hl-i-bag) center / contain no-repeat; mask: var(--nd-hl-i-bag) center / contain no-repeat;
  }
  html.nd-hl-fix .nd-hl-buy-btn:hover { background: #005f01; }
  html.nd-hl-fix .nd-hl-buy-btn:focus-visible { outline: 3px solid var(--nd-hl-ink); outline-offset: 2px; }
  html.nd-hl-fix .nd-hl-buy-btn[aria-disabled="true"] { opacity: .75; cursor: progress; }
}
@media (min-width: 768px) and (max-width: 1099px) {
  html.nd-hl-fix #header.nd-hl-buying .nd-hl-buy { gap: 14px; }
  html.nd-hl-fix .nd-hl-buy-btn { min-width: 0; height: 44px; padding: 0 18px; font-size: 14px; }
  html.nd-hl-fix .nd-hl-buy-price strong { font-size: 19px; }
}
@media (min-width: 768px) and (max-width: 899px) {
  html.nd-hl-fix .nd-hl-buy-prod img, html.nd-hl-fix .nd-hl-buy-price small { display: none; }
}

/* 768–991 px: okná Shoptetu sú tu vždy fixed na celú šírku od 56 px – posunúť pod 69 px hlavičku */
@media (min-width: 768px) and (max-width: 991px) {
  html.nd-hl-fix .popup-widget.cart-widget, html.nd-hl-fix .popup-widget.login-widget, html.nd-hl-fix .popup-widget.search-widget { top: 69px; }
}

/* tablet: menej textu, aby sa zmestilo vyhľadávanie */
@media (min-width: 768px) and (max-width: 1099px) {
  html.nd-hl-fix #header .header-top { gap: 12px; }
  html.nd-hl-fix #header .header-top .site-name a img { max-height: 40px; max-width: 160px !important; }
  html.nd-hl-fix #header #formSearchForm button[type="submit"] { padding: 0 14px; }
  html.nd-hl-fix #header .search-whisperer ul li, html.nd-hl-fix #header .search-whisperer ul li:nth-child(2n) { width: 100%; padding-left: 0; padding-right: 0; margin-bottom: 20px; }
}
@media (min-width: 768px) and (max-width: 899px) {
  html.nd-hl-fix #header #formSearchForm .nd-hl-txt { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  html.nd-hl-fix .nd-hl-cat-btn { padding: 0 10px; }
  html.nd-hl-fix #header .header-top .btn.cart-count { grid-template-columns: 26px; padding: 0 11px; }
  html.nd-hl-fix #header .header-top .btn.cart-count::after, html.nd-hl-fix #header .header-top .btn.cart-count .cart-price { display: none !important; }
  :is(html.nd-hl-fix, html.nd-hl-pdol) .nd-hl-panel { grid-template-columns: 240px minmax(0, 1fr); }
}

/* ---------- Tvar tlačidiel: rohy 6 px, nie oválne „pilulky“ ----------
   Tlačidlá Shoptetu/Merkuru nastavuje riadok v HTML kóde → záhlavie (.btn:not(.cart-count)… border-radius: 6px, predtým 30px).
   Tu len naše vlastné tlačidlá z naradovna-ux.css, ktoré ten riadok nepokryje. */
.nd-sticky-btn, .nd-acc-btn, .nd-grid-more, .nd-atc-go, .nd-rm-btn, .nd-404 li a { border-radius: 6px !important; }
/* ---------- Ikony košíka a účtu = ikony Shoptetu (písmo „ikony“ šablóny Merkur) ----------
   Taška \e900 je rovnaká ako na „Pridať do košíka“ na celom webe, postavička \e903 ako v pôvodnej hlavičke.
   Prebíja masky (Tabler) vyššie; ponuka MENU a lupa ostávajú čiarové (Shoptet ich má z iného písma). */
html.nd-hl-fix #header .header-top .btn.cart-count::before, html.nd-hl-fix .nd-hl-buy-btn::before, html.nd-hl-fix #header .navigation-buttons > .top-nav-button::before {
  content: "\e900" !important; font-family: ikony !important; font-style: normal; font-weight: normal; text-transform: none;
  font-size: 26px; line-height: 26px; text-align: center; -webkit-font-smoothing: antialiased;
  background: none !important; -webkit-mask: none !important; mask: none !important;
}
html.nd-hl-fix #header .navigation-buttons > .top-nav-button::before { content: "\e903" !important; }
html.nd-hl-fix #header .header-top .btn.cart-count::before, html.nd-hl-fix #header .navigation-buttons > .top-nav-button::before { color: var(--nd-hl-ink) !important; }
html.nd-hl-fix #header .header-top .btn.cart-count:hover::before, html.nd-hl-fix #header .navigation-buttons > .top-nav-button:hover::before { color: var(--nd-hl-red) !important; }
html.nd-hl-fix .nd-hl-buy-btn::before { width: auto; height: auto; font-size: 22px; line-height: 1; color: inherit; position: relative; top: -2px; }
/* Nunito Sans sedí v riadku vysoko a taška má ucho – opticky zarovnať: text o 1 px nižšie, taška o 2 px vyššie */
@media (min-width: 768px) { html.nd-hl-fix .nd-hl-buy-btn { padding-top: 2px; } }
html.nd-hl-fix #header .header-top .btn.cart-count::before, html.nd-hl-fix #header .navigation-buttons > .top-nav-button::before { position: relative; top: -1px; }

/* ---------- Pätička: odrážky pri článkoch blogu (widget má riadok 28 px, odrážka bola na 8 px → vyššie ako text) ---------- */
#footer .newsItemWidget__heading::before { top: 13px !important; }

/* ---------- Farby šablóny (16. 11.): v Editore vzhľadu tmavšie kvôli kontrastu (Farba šablóny 1–4 d0150a, konverzná 007a01 –
   biely text na červenej a červený text na bielej 5,5:1 namiesto 3,9:1). Pravý blok a pruh v hlavičke berú farbu šablóny,
   nie farbu záhlavia – v hlavičke ostáva pôvodná jasná červená, aby bola jednofarebná. ---------- */
#header { --color-primary: #ff1f13; --color-primary-hover: #ff1f13; --color-tertiary: #ff1f13; --color-tertiary-hover: #ff1f13; }
