/* NexOperandi / HCS — globalny motyw kolorow + uklad headera (wzor mopserwis.pl).
   Ladowany na kazdej stronie przez _partials/head.tpl, PO theme.css. */

:root {
  --hcs-glebia:    #0E3A4A;
  --hcs-mgla:      #DCE4E3;
  --hcs-czystosc:  #00A6A6;
  --hcs-grafit:    #141C1F;
  --hcs-papier:    #F2F4F3;
  --hcs-biel:      #FFFFFF;

  --hcs-lazur:     #1D7FD0;
  --hcs-bursztyn:  #E08A1E;
  --hcs-miedz:     #B0562F;
  --hcs-limonka:   #3AA655;

  --hcs-tekst:             var(--hcs-grafit);
  --hcs-tekst-drugorzedny: #5A6B72;
  --hcs-obramowanie:       #C9D4D3;
  --hcs-tlo-strony:        var(--hcs-papier);
  --hcs-tlo-karty:         var(--hcs-biel);

  /* nadpisanie zmiennych Bootstrapa — theme.css uzywa var(--bs-primary)
     m.in. w badge'ach i focus ringach; bez tego zostaje niebieski #0b69f6 */
  --bs-primary: #0E3A4A;
  --bs-primary-rgb: 14, 58, 74;
  --bs-link-color: #0E3A4A;
  --bs-link-color-rgb: 14, 58, 74;
  --bs-link-hover-color: #00A6A6;
  --bs-link-hover-color-rgb: 0, 166, 166;
}

/* ============ FUNDAMENT ============ */
body {
  background: var(--hcs-tlo-strony);
  color: var(--hcs-tekst);
  font-family: "Avenir Next", Avenir, "Segoe UI", sans-serif;
}
h1, h2, h3, .h1, .h2, .h3 { color: var(--hcs-grafit); font-family: "Avenir Next", Avenir, "Segoe UI", sans-serif; }
a { color: var(--hcs-glebia); }
a:hover { color: var(--hcs-czystosc); }

/* ============ HEADER (tlo glebia, tekst bialy) ============ */
.header-top,
.header-bottom {
  background: var(--hcs-glebia);
  color: var(--hcs-biel);
}
.header-top a, .header-bottom a,
.header-top .header-block__title, .header-bottom .header-block__title,
.header-top .header-block__icon, .header-bottom .header-block__icon,
.header-top .menu-toggle {
  color: var(--hcs-biel);
}
.header-top a:hover .header-block__title,
.header-top a:hover .header-block__icon,
.header-bottom a:hover .header-block__icon {
  color: var(--hcs-czystosc);
}
.header-block__badge {
  background: var(--hcs-czystosc);
  color: var(--hcs-glebia);
}

/* Wordmark jest renderowany jako tekst, dzięki czemu header i footer nie
   zależą od starego rastrowego logo skonfigurowanego w PrestaShop. */
.nexo-wordmark {
  display: inline-flex;
  align-items: baseline;
  color: var(--hcs-biel);
  font-size: clamp(1.18rem, 1.7vw, 1.52rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.055em;
  white-space: nowrap;
}
.nexo-wordmark__accent { color: #58c8c4; }
.nexo-wordmark--footer { font-size: clamp(1.55rem, 2.5vw, 2.15rem); }
.header-bottom .navbar-brand { padding: 0; text-decoration: none; }
.header-bottom .navbar-brand:hover .nexo-wordmark { color: var(--hcs-biel); }
.header-bottom .navbar-brand:hover .nexo-wordmark__accent { color: #83ded9; }

/* Akcje użytkownika: jedna, spójna warstwa zamiast mieszaniny ikon fontowych
   z modułów. SVG dziedziczą kolor i zachowują ten sam stroke na każdym DPI. */
.header-top .row { align-items: center; min-height: 48px; }
.header-top__right { display: flex; justify-content: flex-end; }
.nexo-header-actions { display: flex; align-items: center; justify-content: flex-end; gap: 2px; }
.nexo-language-switch { display: inline-flex; align-items: center; gap: 6px; margin-right: 12px; padding-right: 16px; border-right: 1px solid rgba(255,255,255,.18); color: rgba(255,255,255,.38); font-size: .7rem; font-weight: 750; letter-spacing: .08em; }
.nexo-lang-option { position: relative; padding: 4px 2px; color: rgba(255,255,255,.58) !important; text-decoration: none; transition: color .2s ease; }
.nexo-lang-option:hover, .nexo-lang-option.is-active { color: var(--hcs-biel) !important; }
.nexo-lang-option.is-active::after { content: ""; position: absolute; left: 2px; right: 2px; bottom: 0; height: 2px; background: var(--hcs-czystosc); }
.nexo-header-action { min-height: 40px; display: inline-flex; align-items: center; gap: 7px; position: relative; padding: 0 10px; color: rgba(255,255,255,.82) !important; border-radius: 5px; font-size: .8rem; font-weight: 600; text-decoration: none; transition: color .2s ease, background-color .2s ease, transform .2s ease; }
.nexo-header-action svg, .nexo-mobile-action svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.nexo-header-action:hover { color: var(--hcs-biel) !important; background: rgba(255,255,255,.08); }
.nexo-header-action:active { transform: translateY(1px); }
.nexo-header-action__badge { min-width: 19px; height: 19px; box-sizing: border-box; display: inline-grid; place-items: center; padding: 0 5px; background: var(--hcs-czystosc); color: var(--hcs-glebia); border-radius: 999px; font-size: .67rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.nexo-mobile-actions { display: flex; align-items: center; gap: 2px; padding-left: 0; }
.nexo-mobile-action { width: 38px; height: 42px; display: grid; place-items: center; position: relative; color: var(--hcs-biel) !important; border-radius: 5px; }
.nexo-mobile-action:hover { background: rgba(255,255,255,.08); color: var(--hcs-biel) !important; }
.nexo-mobile-action .nexo-header-action__badge { position: absolute; top: 1px; right: -2px; min-width: 17px; height: 17px; padding: 0 4px; }
.nexo-header-action:focus-visible, .nexo-mobile-action:focus-visible, .nexo-lang-option:focus-visible { outline: 2px solid var(--hcs-czystosc); outline-offset: 2px; }

/* menu kategorii: bialy tekst, hover turkus */
.header-bottom .ps-mainmenu__tree-link,
.header-bottom .ps-mainmenu__tree-dropdown-toggle {
  color: var(--hcs-biel);
}
.header-bottom .menu-toggle {
  width: 44px;
  height: 44px;
  display: inline-grid;
  place-items: center;
  padding: 0;
  color: var(--hcs-biel);
  border-radius: 5px;
  opacity: 1;
  transition: color .18s ease, background-color .18s ease;
}
.header-bottom .menu-toggle .material-icons { color: currentColor; font-size: 1.7rem; }
.header-bottom .menu-toggle:hover,
.header-bottom .menu-toggle:focus-visible {
  color: var(--hcs-biel);
  background: rgba(255,255,255,.1);
}
.header-bottom .menu-toggle[aria-expanded="true"] {
  color: #83ded9;
  background: rgba(255,255,255,.08);
}
.header-bottom .ps-mainmenu__tree-link:hover { color: var(--hcs-czystosc); }

/* Mobilne menu jest jasnym panelem poza ciemnym nagłówkiem. Nadpisujemy
   dziedziczony biały kolor nagłówka, żeby etykiety nie znikały na bieli. */
.header-bottom .ps-mainmenu--mobile {
  background: var(--hcs-biel);
  color: var(--hcs-glebia);
}
.header-bottom .ps-mainmenu--mobile .offcanvas-header {
  min-height: 72px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--hcs-obramowanie);
}
.header-bottom .ps-mainmenu--mobile .menu__list {
  margin: 0;
  padding: 8px 20px 24px;
  list-style: none;
}
.header-bottom .ps-mainmenu--mobile .menu__list > li {
  min-height: 58px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 52px;
  align-items: center;
  border-bottom: 1px solid var(--hcs-obramowanie);
}
.header-bottom .ps-mainmenu--mobile .menu__link,
.header-bottom .ps-mainmenu--mobile .js-back-button,
.header-bottom .ps-mainmenu--mobile .js-menu-back-title {
  color: var(--hcs-glebia) !important;
}
.header-bottom .ps-mainmenu--mobile .menu__link {
  min-width: 0;
  display: flex;
  align-items: center;
  min-height: 58px;
  padding: 10px 8px 10px 0;
  font-size: 1rem;
  font-weight: 650;
  line-height: 1.3;
  text-decoration: none;
}
.header-bottom .ps-mainmenu--mobile .menu__link:hover,
.header-bottom .ps-mainmenu--mobile .menu__link:focus-visible { color: #007f82 !important; }
.header-bottom .ps-mainmenu--mobile .menu__toggle-child {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  justify-self: end;
  padding: 0;
  color: var(--hcs-glebia);
}
.header-bottom .ps-mainmenu--mobile .menu__toggle-child:focus-visible,
.header-bottom .ps-mainmenu--mobile .js-back-button:focus-visible {
  outline: 2px solid var(--hcs-czystosc);
  outline-offset: -2px;
}
.header-bottom .ps-mainmenu--mobile .ps-mainmenu__additionnals { color: var(--hcs-grafit); }
/* mega-submenu rozwija sie nad strona — jasny panel, ciemny tekst */
.header-bottom .submenu {
  background: var(--hcs-biel);
  color: var(--hcs-tekst);
  border-top: 3px solid var(--hcs-czystosc);
}
.header-bottom .submenu a { color: var(--hcs-glebia); }
.header-bottom .submenu a:hover { color: var(--hcs-czystosc); }

@media (min-width: 1200px) {
  /* menu do wlasnego, pelnego wiersza pod logo+szukajka */
  .header-bottom__row { flex-wrap: wrap; }
  .header-bottom .ps-mainmenu--desktop {
    order: 5;
    flex: 0 0 100%;
    max-width: 100%;
    border-top: 1px solid rgba(255,255,255,0.14);
    margin-top: 0.5rem;
    padding-top: 0.25rem;
  }
  .header-bottom .ps-mainmenu__desktop > ul,
  .header-bottom .ps-mainmenu__desktop {
    justify-content: center;
  }

  /* wyszukiwarka: szeroka, wysrodkowana miedzy logo a prawa krawedzia */
  #_desktop_ps_searchbar {
    flex: 1 1 auto;
    max-width: 620px;
    margin-left: auto;
    margin-right: auto;
  }
  #_desktop_ps_searchbar .ps-searchbar,
  #_desktop_ps_searchbar .ps-searchbar__form {
    width: 100%;
  }
}

/* pole wyszukiwarki: biale, obramowanie, focus turkus */
.ps-searchbar__input {
  width: 100%;
  background: var(--hcs-biel);
  border: 1px solid var(--hcs-obramowanie);
  border-radius: 999px;
  padding-left: 2.6rem;
  color: var(--hcs-tekst);
}
.ps-searchbar__input:focus {
  border-color: var(--hcs-czystosc);
  box-shadow: 0 0 0 3px rgba(0,166,166,0.25);
  outline: none;
}
.ps-searchbar__magnifier { color: var(--hcs-tekst-drugorzedny); }

/* ============ STOPKA ============ */
.footer {
  background: var(--hcs-glebia);
  color: var(--hcs-biel);
}
.footer a, .footer .footer-block__title { color: var(--hcs-biel); }
.footer a:hover { color: var(--hcs-czystosc); }

/* Newsletter z modułu ps_emailsubscription. Natywny formularz, komunikaty i
   walidacja pozostają bez zmian; warstwa wizualna tworzy jeden spokojny panel. */
.footer__before {
  padding: clamp(2.5rem, 5vw, 4.75rem) 18px;
  background: var(--hcs-biel);
  color: var(--hcs-grafit);
  border-top: 1px solid var(--hcs-obramowanie);
  border-bottom: 1px solid var(--hcs-obramowanie);
}
.footer__before .ps-emailsubscription {
  width: 100%;
  max-width: 1180px;
  box-sizing: border-box;
  margin: 0 auto;
  padding: clamp(2.5rem, 4.5vw, 4rem) !important;
  background: #f3f6f5 !important;
  border-radius: 18px;
}
.footer__before .ps-emailsubscription > .container {
  max-width: none;
  padding: 0;
}
.footer__before .ps-emailsubscription .row {
  display: grid !important;
  grid-template-columns: minmax(0, .82fr) minmax(420px, 1.18fr);
  align-items: center;
  gap: clamp(2.5rem, 5vw, 4.75rem);
  margin: 0 !important;
}
.footer__before .ps-emailsubscription .h3 {
  width: 100% !important;
  display: grid;
  gap: clamp(1.25rem, 2vw, 1.75rem);
  max-width: 15ch;
  margin: 0;
  padding: 0 !important;
  color: var(--hcs-glebia);
  font-size: clamp(2rem, 3.2vw, 3.25rem);
  font-weight: 590;
  line-height: 1.03;
  letter-spacing: -.035em;
  text-wrap: balance;
}
.footer__before .ps-emailsubscription .h3::before {
  content: "Newsletter";
  width: max-content;
  padding-bottom: .65rem;
  color: var(--hcs-tekst-drugorzedny);
  border-bottom: 1px solid var(--hcs-czystosc);
  font-size: .72rem;
  font-weight: 750;
  line-height: 1;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.footer__before .ps-emailsubscription form {
  width: 100% !important;
  max-width: 620px;
  padding: 0 !important;
}
.footer__before .ps-emailsubscription .d-flex {
  display: flex !important;
  min-height: 66px;
  align-items: center !important;
  gap: 8px !important;
  margin-bottom: 14px !important;
  padding: 6px;
  background: var(--hcs-biel);
  border: 1px solid #aebdbc;
  border-radius: 999px;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.footer__before .ps-emailsubscription .d-flex:focus-within {
  border-color: var(--hcs-glebia);
  box-shadow: 0 0 0 3px rgba(14,58,74,.12);
}
.footer__before .ps-emailsubscription .form-control {
  flex: 1 1 auto;
  min-width: 0;
  min-height: 52px;
  padding: 0 clamp(14px, 2vw, 22px);
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--hcs-grafit);
  font-size: .94rem;
}
.footer__before .ps-emailsubscription .form-control::placeholder { color: #68787d; opacity: 1; }
.footer__before .ps-emailsubscription .form-control:focus { border: 0; box-shadow: none; outline: 0; }
.footer__before .ps-emailsubscription .btn {
  flex: 0 0 auto;
  margin-left: auto;
  min-height: 52px;
  padding: 0 58px 0 24px;
  border: 0;
  border-radius: 999px;
  background-color: var(--hcs-glebia);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 36 36'%3E%3Ccircle cx='18' cy='18' r='17' fill='%2358c8c4'/%3E%3Cpath d='M12.5 18h11m-4-4 4 4-4 4' fill='none' stroke='%230e3a4a' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: calc(100% - 8px) 50%;
  background-size: 36px 36px;
  color: var(--hcs-biel);
  font-size: .78rem;
  font-weight: 750;
  letter-spacing: .045em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background-color .2s ease, transform .2s ease;
}
.footer__before .ps-emailsubscription .btn:hover { background-color: #082f3d; color: var(--hcs-biel); }
.footer__before .ps-emailsubscription .btn:active { transform: translateY(1px); }
.footer__before .ps-emailsubscription .btn:focus-visible { outline: 2px solid var(--hcs-czystosc); outline-offset: 3px; }
.footer__before .ps-emailsubscription .btn:disabled { cursor: not-allowed; opacity: .48; }
.footer__before .ps-emailsubscription .text-body-secondary {
  max-width: 580px;
  margin: 0;
  color: #526369 !important;
  font-size: .76rem !important;
  line-height: 1.55;
}
.footer__before .ps-emailsubscription .alert {
  margin: 16px 0 0;
  border-radius: 12px;
  font-size: .86rem;
}
.nexo-newsletter-consent { display: flex; align-items: flex-start; gap: 10px; margin: 4px 0 10px; color: #34484e; font-size: .76rem; line-height: 1.45; }
.nexo-newsletter-consent input { width: 18px; height: 18px; flex: 0 0 18px; margin: 0; accent-color: var(--hcs-glebia); }
.nexo-newsletter-consent a { color: var(--hcs-glebia); font-weight: 700; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.nexo-newsletter-consent a:hover { color: #007f82; }
.nexo-newsletter-consent input:focus-visible { outline: 2px solid var(--hcs-czystosc); outline-offset: 3px; }

.footer__main { padding: clamp(3.5rem, 7vw, 7rem) 0 1.5rem; background: var(--hcs-glebia); }
.nexo-footer-lead { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 3rem; padding-bottom: clamp(3rem, 6vw, 5.5rem); border-bottom: 1px solid rgba(255,255,255,.14); }
.nexo-footer-wordmark { display: inline-flex; text-decoration: none; }
.nexo-footer-lead__brand p { max-width: 520px; margin: 24px 0 0; color: rgba(255,255,255,.62); font-size: 1rem; line-height: 1.6; }
.nexo-footer-lead__actions { display: flex; gap: 12px; }
.nexo-footer-lead__actions a { min-width: 150px; display: inline-flex; justify-content: space-between; gap: 28px; padding: 15px 16px; border: 1px solid rgba(255,255,255,.24); font-weight: 700; text-decoration: none; }
.nexo-footer-lead__actions a:hover { border-color: var(--hcs-czystosc); }
.nexo-logistics { display: grid; grid-template-columns: minmax(190px, .55fr) minmax(0, 1.45fr); align-items: center; gap: clamp(32px, 6vw, 90px); padding: clamp(2rem, 4vw, 3.5rem) 0; border-bottom: 1px solid rgba(255,255,255,.14); }
.nexo-logistics > div > span { display: block; margin-bottom: 9px; color: #71d4cf; font-size: .68rem; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; }
.nexo-logistics h2 { margin: 0; color: #fff; font-size: clamp(1.2rem, 2vw, 1.7rem); font-weight: 650; letter-spacing: -.02em; }
.nexo-logistics ul { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; margin: 0; padding: 0; list-style: none; }
.nexo-logistics li { min-width: 112px; height: 50px; display: grid; place-items: center; padding: 0 16px; background: #fff; border-radius: 8px; }
.nexo-logistics__logo { display: inline-block; font-size: .95rem; font-weight: 850; line-height: 1; letter-spacing: -.035em; }
.nexo-logistics__logo--inpost { padding: 7px 9px; background: #ffdc00; color: #1a1a1a; border-radius: 3px; font-size: .77rem; letter-spacing: -.06em; }
.nexo-logistics__logo--dpd { color: #d71920; font-size: 1.08rem; }
.nexo-logistics__logo--gls { color: #163c75; font-style: italic; }
.nexo-logistics__logo--orlen { color: #d71920; font-size: .8rem; letter-spacing: .02em; }
.nexo-logistics__logo--geodis { color: #2738ad; font-size: .78rem; letter-spacing: .02em; }
.footer__main-top { padding-top: clamp(2.5rem, 5vw, 4.5rem); }
.footer .footer-block__title { margin-bottom: 1.35rem; font-size: .76rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.footer .footer-block__list { display: grid; gap: .55rem; }
.footer .footer-block__list a, .footer .footer-block__content { color: rgba(255,255,255,.64); font-size: .86rem; line-height: 1.55; }
.footer .footer-block__list a:hover { color: #fff; }
.nexo-footer-meta { display: flex; flex-wrap: wrap; gap: 12px 32px; margin-top: 3rem; padding: 1.4rem 0; border-top: 1px solid rgba(255,255,255,.14); border-bottom: 1px solid rgba(255,255,255,.14); color: rgba(255,255,255,.5); font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; }
.footer .copyright { padding-top: 1.4rem; color: rgba(255,255,255,.42); font-size: .72rem; }

/* ============ PRZYCISKI ============ */
.btn-primary {
  --bs-btn-bg: var(--hcs-glebia);
  --bs-btn-border-color: var(--hcs-glebia);
  --bs-btn-color: var(--hcs-biel);
  --bs-btn-hover-bg: var(--hcs-czystosc);
  --bs-btn-hover-border-color: var(--hcs-czystosc);
  --bs-btn-hover-color: var(--hcs-glebia);
  --bs-btn-active-bg: var(--hcs-czystosc);
  --bs-btn-active-border-color: var(--hcs-czystosc);
  --bs-btn-active-color: var(--hcs-glebia);
  --bs-btn-focus-shadow-rgb: 0, 166, 166;
  --bs-btn-disabled-bg: var(--hcs-glebia);
  --bs-btn-disabled-border-color: var(--hcs-glebia);
  --bs-btn-disabled-color: var(--hcs-biel);
}
/* twarda gwarancja: bialy napis na ciemnym przycisku, niezaleznie od
   lancucha zmiennych --bs-btn-* (rowniez <a class="btn btn-primary">) */
.btn-primary, a.btn-primary,
.btn-primary:disabled, .btn-primary.disabled,
.btn-dark, a.btn-dark {
  color: var(--hcs-biel);
}
.btn-primary:hover, a.btn-primary:hover,
.btn-primary:active, .btn-primary:focus-visible {
  color: var(--hcs-glebia);
}
.btn-outline-primary {
  --bs-btn-color: var(--hcs-glebia);
  --bs-btn-border-color: var(--hcs-glebia);
  --bs-btn-hover-bg: var(--hcs-glebia);
  --bs-btn-hover-border-color: var(--hcs-glebia);
  --bs-btn-hover-color: var(--hcs-biel);
  --bs-btn-focus-shadow-rgb: 14, 58, 74;
}

/* ============ KARTA PRODUKTU ============ */
.product-miniature__inner {
  position: relative;
  background: var(--hcs-tlo-karty);
  border: 1px solid var(--hcs-obramowanie);
  border-radius: 0.35rem;
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, outline-color 0.3s ease, transform 0.3s cubic-bezier(.22,1,.36,1);
}
.product-miniature__inner:hover,
.product-miniature__inner:focus-within {
  border-color: transparent;
  outline: 2px solid var(--hcs-czystosc);
  outline-offset: -2px;
  box-shadow: 0 18px 44px rgba(14,58,74,0.12);
  transform: translateY(-5px);
}
/* zdjecia produktow maja biale tlo — wydziel strefe zdjecia cienka linia */
.product-miniature__top {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--hcs-biel);
  border-bottom: 1px solid var(--hcs-mgla);
}
.product-miniature__image { transition: transform .48s cubic-bezier(.22,1,.36,1), filter .3s ease; }
.product-miniature__inner:hover .product-miniature__image,
.product-miniature__inner:focus-within .product-miniature__image {
  filter: saturate(1.04) contrast(1.02);
  transform: translateY(-5px) scale(1.045);
}
.product-miniature__quickview-button {
  min-height: 44px;
  width: auto;
  max-width: calc(100% - 86px);
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  position: absolute;
  top: auto;
  right: 58px;
  bottom: 14px;
  left: 14px;
  z-index: 5;
  padding: 0 16px;
  overflow: hidden;
  background: var(--hcs-glebia);
  color: var(--hcs-biel);
  border: 0;
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(14,58,74,.2);
  font-size: .76rem;
  font-weight: 750;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: opacity .24s ease, transform .3s cubic-bezier(.22,1,.36,1), visibility .24s ease, background-color .2s ease;
  pointer-events: none;
}
.product-miniature__quickview-button:hover { background: #092d3a; color: var(--hcs-biel); }
.product-miniature__inner:hover .product-miniature__quickview-button,
.product-miniature__inner:focus-within .product-miniature__quickview-button {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}
.product-miniature__quickview-button:focus-visible,
.nexo-product-favourite:focus-visible,
.product-miniature__quickview-touch:focus-visible {
  outline: 3px solid var(--hcs-czystosc);
  outline-offset: 3px;
}
.product-miniature__quickview-touch { display: none !important; }
.nexo-product-favourite {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  position: absolute;
  top: 13px;
  right: 13px;
  z-index: 7;
  padding: 0;
  background: rgba(255,255,255,.94);
  color: var(--hcs-glebia);
  border: 1px solid rgba(14,58,74,.18);
  border-radius: 50%;
  box-shadow: 0 8px 22px rgba(14,58,74,.12);
  transition: color .2s ease, background-color .2s ease, border-color .2s ease, transform .24s cubic-bezier(.22,1,.36,1);
}
.nexo-product-favourite svg { width: 19px; height: 19px; fill: transparent; stroke: currentColor; stroke-width: 1.8; transition: fill .2s ease, transform .24s cubic-bezier(.22,1,.36,1); }
.nexo-product-favourite:hover { color: var(--hcs-czystosc); border-color: var(--hcs-czystosc); transform: translateY(-2px); }
.nexo-product-favourite:hover svg { transform: scale(1.08); }
.nexo-product-favourite.is-active { background: var(--hcs-czystosc); color: var(--hcs-glebia); border-color: var(--hcs-czystosc); }
.nexo-product-favourite.is-active svg { fill: currentColor; }
.nexo-favourites-badge[hidden] { display: none; }
.nexo-favourite-toast {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 1085;
  max-width: min(360px, calc(100vw - 32px));
  padding: 14px 18px;
  background: var(--hcs-glebia);
  color: var(--hcs-biel);
  border-radius: 10px;
  box-shadow: 0 16px 34px rgba(14,58,74,.24);
  font-size: .82rem;
  font-weight: 650;
  opacity: 0;
  transform: translateY(14px);
  visibility: hidden;
  transition: opacity .2s ease, transform .3s cubic-bezier(.22,1,.36,1), visibility .2s ease;
  pointer-events: none;
}
.nexo-favourite-toast.is-visible { opacity: 1; transform: translateY(0); visibility: visible; }
.product-miniature__bottom { padding: 1rem 0.875rem 1.125rem; }
/* tytul: 2 linie, rowna wysokosc kart w wierszu */
.product-miniature__title {
  color: var(--hcs-glebia);
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.6em;
  text-decoration: none;
}
.product-miniature__title:hover { color: var(--hcs-czystosc); }
.product-miniature__price,
.product-miniature__discount-price {
  color: var(--hcs-grafit);
  font-weight: 700;
  font-size: 1.1rem;
}
.product-miniature__regular-price {
  color: var(--hcs-tekst-drugorzedny);
  font-size: 0.85rem;
  font-weight: 400;
  text-decoration: line-through;
}
.product-miniature__add {
  border-radius: 0.5rem;
  font-weight: 600;
  padding-block: 0.55rem;
}
/* stepper ilosci na karcie */
.product-miniature__form .btn.increment,
.product-miniature__form .btn.decrement { color: var(--hcs-glebia); }

/* cena na karcie produktu (strona produktu) */
.product-prices .current-price-display { color: var(--hcs-grafit); font-weight: 700; }
.product-prices .product-price-tax, .product-prices .tax-shipping-delivery-label {
  color: var(--hcs-tekst-drugorzedny);
}

/* badge "Na stanie" — limonka z alfa, ciemniejsza zielen na tekst */
#product-availability.product-available,
.product-availability--available,
#product-availability:not(.product-unavailable):not(.product-last-items) {
  background: rgba(58,166,85,0.15);
  color: #26703A;
  border-radius: 999px;
  padding: 0.25rem 0.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

/* etykiety produktow: hummingbird renderuje <li class="badge new|discount">.
   Motyw domyslnie NIE daje tla badge'owi "new" (bialy tekst na bialym zdjeciu
   = niewidoczny) — dlatego tlo ustawiamy jawnie. */
.product-flags .badge {
  border-radius: 999px;
  padding: 0.25rem 0.6rem;
  font-weight: 600;
}
.product-flags .badge:not(.discount) {
  background: var(--hcs-lazur);
  border-color: var(--hcs-lazur);
  color: var(--hcs-biel);
}
.product-flags .badge.discount,
.product-flags .badge.on-sale {
  background: var(--hcs-bursztyn);
  border: 1px solid var(--hcs-bursztyn);
  color: var(--hcs-biel);
}

/* ============ FILTRY FASETOWE ============ */
.search-filters, .ps-facetedsearch .left-block {
  background: var(--hcs-tlo-karty);
}
.active-filters, .search-filters__active {
  background: var(--hcs-mgla);
  color: var(--hcs-glebia);
  border-radius: 0.5rem;
}
.active-filters a, .search-filters__active a { color: var(--hcs-glebia); }
.search-filters__magnitude { color: var(--hcs-tekst-drugorzedny); }
.form-check-input:checked {
  background-color: var(--hcs-czystosc);
  border-color: var(--hcs-czystosc);
}

/* ============ PASEK PROMOCYJNY (nad headerem) ============ */
.nexo-promobar {
  background: var(--hcs-czystosc);
  text-align: center;
  padding: 0.48rem 1rem;
  font-size: 0.85rem;
  font-weight: 600;
}
.nexo-promobar a {
  color: var(--hcs-glebia);
  text-decoration: none;
}
.nexo-promobar a:hover { text-decoration: underline; color: var(--hcs-glebia); }
.nexo-promobar span { margin-right: .75rem; padding-right: .75rem; border-right: 1px solid rgba(14,58,74,.28); font-size: .7rem; letter-spacing: .09em; text-transform: uppercase; }
.nexo-promobar strong { margin-left: .75rem; }

@media (max-width: 767px) {
  .nexo-promobar span { display: none; }
  .nexo-promobar strong { display: block; margin: .15rem 0 0; font-size: .75rem; }
  .header-bottom__container { padding-inline: 14px; }
  .header-bottom__row { align-items: center !important; }
  .header-bottom__logo { padding-right: 4px; }
  .nexo-wordmark { font-size: 1.08rem; }
  .nexo-mobile-actions { margin-left: auto; }
  .nexo-mobile-action { width: 32px; }
  .nexo-mobile-actions .nexo-language-switch { gap: 0; margin-right: 2px; padding-right: 6px; font-size: .65rem; }
  .nexo-mobile-actions .nexo-language-switch > span { display: none; }
  [data-nexo-language="pl"] .nexo-mobile-actions [data-nexo-lang="pl"],
  [data-nexo-language="en"] .nexo-mobile-actions [data-nexo-lang="en"] { display: none; }
  .footer__before { padding: 32px 14px; }
  .footer__before .ps-emailsubscription { padding: 34px 24px !important; border-radius: 14px; }
  .footer__before .ps-emailsubscription .row { grid-template-columns: 1fr; align-items: start; gap: 2rem; }
  .footer__before .ps-emailsubscription .h3 { max-width: 18ch; font-size: clamp(1.9rem, 8vw, 2.75rem); }
  .nexo-footer-lead { grid-template-columns: 1fr; align-items: start; }
  .nexo-footer-lead__actions { width: 100%; flex-direction: column; }
  .nexo-logistics { grid-template-columns: 1fr; align-items: start; }
  .nexo-logistics ul { justify-content: flex-start; }
  .footer__main-top { row-gap: 1.5rem; }
}

@media (max-width: 520px) {
  .footer__before { padding: 24px 10px; }
  .footer__before .ps-emailsubscription { padding: 30px 18px !important; }
  .footer__before .ps-emailsubscription .row { gap: 1.75rem; }
  .footer__before .ps-emailsubscription .h3 { gap: 1.25rem; font-size: clamp(1.8rem, 9vw, 2.35rem); }
  .footer__before .ps-emailsubscription .d-flex { min-height: 60px; padding: 4px; }
  .footer__before .ps-emailsubscription .form-control { min-height: 50px; padding: 0 12px; font-size: .87rem; }
  .footer__before .ps-emailsubscription .btn { min-height: 50px; padding: 0 48px 0 16px; background-position: calc(100% - 7px) 50%; background-size: 34px 34px; font-size: .7rem; }
  .nexo-logistics ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; }
  .nexo-logistics li { min-width: 0; }
}

@media (max-width: 767px), (hover: none) {
  .product-miniature__inner:hover { transform: none; }
  .product-miniature__quickview-button { display: none !important; }
  .product-miniature__quickview-touch {
    width: 42px;
    height: 42px;
    display: grid !important;
    place-items: center;
    position: absolute;
    bottom: 12px;
    left: 12px;
    z-index: 6;
    padding: 0;
    background: var(--hcs-glebia);
    color: var(--hcs-biel);
    border: 0;
    border-radius: 50%;
  }
  .nexo-product-favourite { top: 10px; right: 10px; }
  .nexo-favourite-toast { right: 16px; bottom: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .product-miniature__inner { transition: none; }
  .product-miniature__inner:hover { transform: none; }
  .product-miniature__image,
  .product-miniature__quickview-button,
  .nexo-product-favourite,
  .nexo-favourite-toast { transition: none; }
}
