/* ==========================================================================
   TAS Factoryshop — motyw potomny Hummingbirda 2.1 (PS 9.2)
   Arkusz bez @layer: wygrywa z warstwami theme.css rodzica.
   Paleta ze starego AngarTheme: granat #112d45 (tło z deseniem), menu #8bbbe0,
   ceny #0f5394 / #081752, granat logo #0f2a47.
   ========================================================================== */

@font-face { font-family: "Poppins"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/Poppins-Regular.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/Poppins-Medium.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/Poppins-SemiBold.woff2") format("woff2"); }

:root, [data-bs-theme=light] {
  --tas-navy: #112d45;
  --tas-navy-ink: #0f2a47;
  --tas-navy-deep: #092329;
  --tas-blue: #8bbbe0;
  --tas-blue-dark: #3b76a3;
  --tas-blue-soft: #eaf3fa;
  --tas-price: #0f5394;
  --tas-price-list: #081752;
  --tas-border: #dfe5eb;
  --tas-muted: #5f6b77;
  --tas-box: 1240px;

  --bs-primary: #0f2a47;
  --bs-primary-rgb: 15, 42, 71;
  --bs-primary-text-emphasis: #0f2a47;
  --bs-primary-bg-subtle: #eaf3fa;
  --bs-primary-border-subtle: #b9d4ea;
  --bs-link-color: #0f5394;
  --bs-link-color-rgb: 15, 83, 148;
  --bs-link-hover-color: #3b76a3;
  --bs-link-hover-color-rgb: 59, 118, 163;
  --bs-body-font-family: "Poppins", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --bs-body-color: #1f2933;
  --bs-heading-color: #14202b;
  --bs-border-color: var(--tas-border);
  --bs-focus-ring-color: rgba(59, 118, 163, .35);
}

/* ---------- tło z deseniem i układ „boxed” ---------- */
body {
  font-family: var(--bs-body-font-family);
  background-color: var(--tas-navy);
  background-image: url("../img/bg26.png");
  background-repeat: repeat;
  background-attachment: fixed;
}
#header, #wrapper, #footer { max-width: var(--tas-box); margin-inline: auto; }
#wrapper { background: #fff; padding-bottom: 2rem; }
.container, .container-md, .container-lg, .container-xl, .container-xxl { max-width: var(--tas-box); }

/* ---------- przyciski ---------- */
.btn-primary {
  --bs-btn-bg: #0f2a47; --bs-btn-border-color: #0f2a47; --bs-btn-color: #fff;
  --bs-btn-hover-bg: #3b76a3; --bs-btn-hover-border-color: #3b76a3; --bs-btn-hover-color: #fff;
  --bs-btn-active-bg: #0b2035; --bs-btn-active-border-color: #0b2035;
  --bs-btn-disabled-bg: #0f2a47; --bs-btn-disabled-border-color: #0f2a47;
  --bs-btn-focus-shadow-rgb: 59, 118, 163;
}
.btn-outline-primary {
  --bs-btn-color: #0f2a47; --bs-btn-border-color: #0f2a47;
  --bs-btn-hover-bg: #0f2a47; --bs-btn-hover-border-color: #0f2a47; --bs-btn-hover-color: #fff;
  --bs-btn-active-bg: #0f2a47; --bs-btn-active-border-color: #0f2a47; --bs-btn-active-color: #fff;
}
.form-control:focus, .form-select:focus { border-color: var(--tas-blue-dark); box-shadow: 0 0 0 .2rem rgba(59,118,163,.2); }
.form-check-input:checked { background-color: var(--tas-navy-ink); border-color: var(--tas-navy-ink); }

/* ---------- górny pasek ---------- */
.tas-topbar { display: block !important; background: var(--tas-navy-ink); color: #dce8f3; font-size: .8125rem; border: 0; }
.tas-topbar__row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 38px; }
.tas-topbar__contact { display: flex; align-items: center; gap: 1.25rem; min-width: 0; }
.tas-topbar__item { display: inline-flex; align-items: center; gap: .35rem; color: #dce8f3; text-decoration: none; white-space: nowrap; }
.tas-topbar__item:hover { color: #fff; }
.tas-topbar__item strong { color: #fff; font-weight: 500; }
.tas-topbar__item .material-icons { font-size: 1rem; color: var(--tas-blue); }
.tas-topbar__label { opacity: .8; }
.tas-topbar__right { display: flex; align-items: center; justify-content: flex-end; gap: .75rem; }
.tas-topbar__right .header-block__action-btn,
.tas-topbar__right .header-block__title,
.tas-topbar__right .header-block__icon,
.tas-topbar__right .dropdown-toggle { color: #fff !important; font-size: .8125rem; }
.tas-topbar__right .header-block__icon { font-size: 1.1rem; }
.tas-topbar__right .header-block__action-btn { padding: .25rem; min-height: 0; }
.tas-topbar .ps-languageselector .form-select {
  background-color: transparent; color: #fff; border: 1px solid rgba(255,255,255,.3);
  padding: .15rem 2rem .15rem .6rem; font-size: .8125rem; min-height: 0; height: auto;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23ffffff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
}
.tas-topbar .ps-languageselector .form-select option { color: #000; }
@media (max-width: 767.98px) {
  .tas-topbar__row { min-height: 34px; }
  .tas-topbar__right #_desktop_ps_customersignin { display: none; }
}

/* ---------- nagłówek: logo, szukajka, koszyk ---------- */
.header-bottom { background: #fff; border-bottom: 0; }
.header-bottom__row { min-height: 84px; padding-block: .75rem; }
.header-bottom__logo img { max-height: 52px; width: auto; height: auto; }
.header-bottom__h1 { line-height: 0; }
#_desktop_ps_searchbar { flex: 1 1 auto; justify-content: center; order: initial; margin-inline: auto; }
#_desktop_ps_searchbar .ps-searchbar { width: 100%; max-width: 560px; position: relative; }
.ps-searchbar__form { position: relative; }
.ps-searchbar__input {
  height: 46px; border: 2px solid var(--tas-border); border-radius: 999px;
  padding-left: 1.1rem; padding-right: 3.2rem; background: #f6f8fa; font-size: .9375rem;
}
.ps-searchbar__input:focus { background: #fff; border-color: var(--tas-blue); box-shadow: none; }
.ps-searchbar__magnifier {
  position: absolute; right: 4px; left: auto !important; top: 50%; transform: translateY(-50%);
  width: 38px; height: 38px; border-radius: 50%; background: var(--tas-navy-ink); color: #fff !important;
  display: flex !important; align-items: center; justify-content: center; font-size: 1.25rem !important; pointer-events: none; z-index: 2;
}
.ps-searchbar__clear { right: 46px !important; }
.ps-searchbar__dropdown { border-radius: .5rem; box-shadow: 0 .75rem 2rem rgba(15,42,71,.18); }

.tas-cart__btn {
  display: inline-flex !important; align-items: center; gap: .6rem; background: var(--tas-navy-ink); color: #fff !important;
  border-radius: 999px; padding: .55rem 1rem .55rem .9rem !important; text-decoration: none; position: relative;
}
.tas-cart__btn:hover { background: var(--tas-blue-dark); }
.tas-cart__btn .header-block__icon { color: #fff !important; font-size: 1.4rem; }
.tas-cart__text { flex-direction: column; line-height: 1.15; }
.tas-cart__title { font-size: .75rem; opacity: .8; }
.tas-cart__total { font-weight: 600; font-size: .9375rem; white-space: nowrap; }
.tas-cart .header-block__badge {
  position: absolute; top: -6px; right: -6px; background: #e8731a; color: #fff; min-width: 22px; height: 22px;
  border-radius: 11px; font-size: .75rem; display: flex; align-items: center; justify-content: center; padding: 0 5px; border: 2px solid #fff;
}
@media (max-width: 767.98px) {
  .header-bottom__row { min-height: 64px; padding-block: .5rem; }
  .header-bottom__logo img { max-height: 40px; }
  .tas-cart__btn { padding: .5rem !important; border-radius: 50%; }
  .header-bottom .header-block__icon { font-size: 1.6rem; color: var(--tas-navy-ink); }
  #_mobile_ps_shoppingcart .header-block__badge { background: #e8731a; color: #fff; }
}

/* ---------- menu główne (jasnoniebieski pas) ---------- */
.tas-menubar { background: var(--tas-blue); position: relative; z-index: 20; }
.tas-menubar__inner { display: flex; align-items: center; min-height: 48px; }
.tas-menubar .ps-mainmenu--desktop { width: 100%; position: static; }
.tas-menubar .ps-mainmenu__tree { display: flex; flex-wrap: wrap; margin: 0; padding: 0; list-style: none; gap: 0; }
.tas-menubar .ps-mainmenu__tree-item { position: static; }
.tas-menubar .ps-mainmenu__tree-item-wrapper { display: flex; align-items: center; height: 48px; padding: 0; }
.tas-menubar .ps-mainmenu__tree-link {
  color: #fff !important; text-transform: uppercase; font-weight: 600; font-size: .875rem; letter-spacing: .02em;
  padding: 0 1rem; height: 48px; display: flex; align-items: center; text-decoration: none; border: 0 !important;
}
.tas-menubar .ps-mainmenu__tree-link::after, .tas-menubar .ps-mainmenu__tree-link::before { display: none !important; }
.tas-menubar .ps-mainmenu__tree-dropdown-toggle { color: #fff; margin-left: -.65rem; padding: 0 .65rem 0 .15rem; height: 48px; background: transparent; border: 0; }
.tas-menubar .ps-mainmenu__tree-dropdown-toggle::after { border-top-color: #fff; color: #fff; }
.tas-menubar .ps-mainmenu__tree-item:hover > .ps-mainmenu__tree-item-wrapper,
.tas-menubar .ps-mainmenu__tree-item:focus-within > .ps-mainmenu__tree-item-wrapper,
.tas-menubar .ps-mainmenu__tree-item.current > .ps-mainmenu__tree-item-wrapper { background: var(--tas-blue-dark); }
.tas-menubar .tas-menu-home .material-icons { font-size: 1.35rem; }
.tas-menubar .submenu { border-top: 3px solid var(--tas-blue-dark); box-shadow: 0 1rem 2rem rgba(15,42,71,.15); }
.tas-menubar .submenu__left-item { font-weight: 500; }
.tas-menubar .ps-mainmenu__mobile-toggle .menu-toggle {
  color: #fff !important; display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; text-transform: uppercase; text-decoration: none; padding: .6rem 0;
}
.tas-menubar .ps-mainmenu__mobile-toggle .material-icons { font-size: 1.6rem; color: #fff; }
@media (min-width: 992px) {
  .tas-menubar .ps-mainmenu__mobile-toggle { display: none !important; }
}
.ps-mainmenu--mobile .offcanvas-header { background: var(--tas-blue); }
.ps-mainmenu--mobile .menu__link { font-weight: 500; }
.ps-mainmenu--mobile .menu__title { color: var(--tas-navy-ink); font-weight: 600; text-transform: uppercase; }

/* ---------- okruszki ---------- */
.breadcrumb { font-size: .8125rem; }
.breadcrumb-item a { color: var(--tas-muted); text-decoration: none; }
.breadcrumb-item a:hover { color: var(--tas-price); }

/* ---------- tytuły sekcji ---------- */
.tas-section-title { font-size: 1.125rem; margin: 2rem 0 1rem; border-bottom: 1px solid var(--tas-border); text-transform: uppercase; font-weight: 600; letter-spacing: .02em; }
.tas-section-title span { display: inline-block; padding-bottom: .5rem; border-bottom: 3px solid var(--tas-blue); margin-bottom: -2px; }

/* ---------- lewa kolumna ---------- */
#left-column { padding-top: 1.25rem; }
.left-block { margin-bottom: 1.75rem; }
.left-block__title { font-size: .9375rem !important; font-weight: 600; text-transform: uppercase; letter-spacing: .02em; margin-bottom: .5rem; padding-bottom: .5rem; border-bottom: 3px solid var(--tas-blue); }
.left-block__title a { color: inherit; text-decoration: none; }
.category-tree__item-link { color: #26323d; font-size: .875rem; font-weight: 500; text-decoration: none; }
.category-tree__item-link:hover { color: var(--tas-price); }
.tas-payments img { width: 100%; height: auto; border: 1px solid #edf0f3; border-radius: .375rem; }
.tas-payments__text { font-size: .8125rem; color: var(--tas-muted); margin: .5rem 0 0; }

/* ---------- kafle produktów ---------- */
.product-miniature__inner { border: 1px solid var(--tas-border); border-radius: .5rem; padding: .75rem; height: 100%; display: flex; flex-direction: column; background: #fff; transition: box-shadow .2s, border-color .2s; }
.product-miniature__inner:hover { border-color: #c7d5e2; box-shadow: 0 .5rem 1.25rem rgba(15,42,71,.1); }
.product-miniature__bottom { display: flex; flex-direction: column; flex: 1; }
.product-miniature__infos { flex: 1; }
.product-miniature__image { width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: contain; }
.product-miniature__title {
  color: #292929; text-transform: uppercase; font-size: .8125rem; font-weight: 600; line-height: 1.35; text-decoration: none;
  /* poprawki: pełna nazwa (rozmiar/waga są na końcu nazwy — przycięta nie odróżniała produktów) */
  display: block; overflow-wrap: anywhere; hyphens: auto; min-height: 2.7em; margin-top: .5rem;
}
.product-miniature__title:hover { color: var(--tas-price); }
.product-miniature__price { color: var(--tas-price-list); font-weight: 600; font-size: 1.0625rem; }

/* ---------- karta produktu ---------- */
.product__name { font-size: 1.5rem; font-weight: 600; line-height: 1.3; }
.tas-product-ref { color: var(--tas-muted); font-size: .8125rem; margin: .25rem 0 1rem; }
.tas-product-ref span { color: #26323d; font-weight: 500; }
.product-variant__legend { font-weight: 600; font-size: .875rem; }
.product-variant__selected { display: none; }
.product-variant__radios { display: flex; flex-wrap: wrap; gap: .5rem; }
.product-variant__radio .btn {
  min-width: 56px; padding: .5rem .9rem; font-weight: 600; border: 2px solid #c9d3dc; color: #14202b; background: #fff; border-radius: .375rem;
}
.product-variant__radio .btn-check:checked + .btn { border-color: var(--tas-navy-ink); background: var(--tas-navy-ink); color: #fff; }
.product-variant__radio .btn:hover { border-color: var(--tas-blue-dark); }
.tas-unit-price {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: .25rem .6rem; margin: .75rem 0 0; padding: .6rem .8rem;
  background: var(--tas-blue-soft); border-radius: .375rem; font-size: .875rem; color: #26323d;
}
.tas-unit-price strong { color: var(--tas-price); font-weight: 600; }
.tas-unit-price__sep { color: #9aa9b6; }
.product__prices { margin: 1.25rem 0 .5rem; }
.product__price { color: var(--tas-price); font-size: 2rem; font-weight: 600; line-height: 1.1; }
.product__tax-infos, .product__tax-label { color: var(--tas-muted); font-size: .8125rem; }
.tas-net-price { display: block; margin-top: .25rem; color: #26323d; font-size: .9375rem; font-weight: 500; }
.tas-qty-label { display: block; font-weight: 600; font-size: .875rem; margin: .75rem 0 .35rem; }
.product__add-to-cart-button { padding-inline: 1.5rem; min-height: 48px; font-weight: 600; }
.tas-b2b-note {
  display: flex; gap: .75rem; align-items: flex-start; margin-top: 1.25rem; padding: .9rem 1rem;
  border: 1px dashed #b9d4ea; border-radius: .5rem; background: #f7fbfe; font-size: .8125rem; line-height: 1.5;
}
.tas-b2b-note .material-icons { color: var(--tas-blue-dark); font-size: 1.5rem; }
.tas-b2b-note p { margin: 0; }
.tas-b2b-note a { color: #26323d; text-decoration: none; }
.tas-b2b-note a:hover { color: var(--tas-price); text-decoration: underline; }
.product__accordion .accordion-button { font-weight: 600; text-transform: uppercase; font-size: .9375rem; }

/* ---------- strona główna ---------- */
.page-content--home { padding-top: 1.25rem; }
.page-content--home .hbe-slider { border-radius: .5rem; overflow: hidden; margin-bottom: 1.25rem; }
.page-content--home .hbe-slider img { width: 100%; height: auto; display: block; aspect-ratio: 870 / 440; object-fit: cover; }
.tas-promo { margin: 0 0 1rem; }
.tas-promo img { width: 100%; height: auto; display: block; border-radius: .5rem; border: 1px solid #edf0f3; }
.tas-promo__link { display: block; transition: transform .2s; }
.tas-promo__link:hover { transform: translateY(-2px); }

.tas-homecats__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.tas-homecats__tile {
  display: grid; grid-template-columns: 96px 1fr; gap: .9rem; align-items: center; padding: .9rem; text-decoration: none;
  border: 1px solid var(--tas-border); border-radius: .5rem; background: #fff; color: #14202b; transition: box-shadow .2s, border-color .2s;
}
.tas-homecats__tile:hover { border-color: var(--tas-blue); box-shadow: 0 .5rem 1.25rem rgba(15,42,71,.1); color: #14202b; }
.tas-homecats__img { width: 96px; height: 96px; display: flex; align-items: center; justify-content: center; background: #f6f8fa; border-radius: .375rem; overflow: hidden; }
.tas-homecats__img img { width: 100%; height: 100%; object-fit: contain; }
.tas-homecats__img--empty .material-icons { font-size: 2.25rem; color: #a9bccd; }
.tas-homecats__body { display: flex; flex-direction: column; align-items: flex-start; gap: .5rem; }
.tas-homecats__name { text-transform: uppercase; font-weight: 600; font-size: .875rem; line-height: 1.3; }
.tas-homecats__btn { font-size: .75rem; font-weight: 600; color: #fff; background: var(--tas-navy-ink); padding: .3rem .75rem; border-radius: 999px; }
.tas-homecats__tile:hover .tas-homecats__btn { background: var(--tas-blue-dark); }
@media (max-width: 991.98px) { .tas-homecats__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 575.98px) {
  .tas-homecats__grid { gap: .6rem; }
  .tas-homecats__tile { grid-template-columns: 1fr; text-align: center; padding: .6rem; }
  .tas-homecats__img { width: 100%; height: auto; aspect-ratio: 1/1; }
  .tas-homecats__body { align-items: center; }
  .tas-homecats__btn { display: none; }
}
.tas-about { margin-top: 2rem; }
.tas-about__text { font-size: .875rem; color: #33414d; }
.tas-about__addr { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-top: .75rem; }
.tas-about__addr p { background: #f6f8fa; border-radius: .5rem; padding: .9rem 1rem; margin: 0; }
@media (max-width: 575.98px) { .tas-about__addr { grid-template-columns: 1fr; } }

.tas-home-full { background: #fff; }
.tas-parallax {
  position: relative; min-height: 300px; display: flex; align-items: center; justify-content: center; text-align: center;
  background-image: var(--tas-parallax-webp, var(--tas-parallax-img)); background-size: cover; background-position: center; background-attachment: fixed;
}
.tas-parallax::before { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(15,42,71,.35), rgba(15,42,71,.55)); }
.tas-parallax__inner { position: relative; color: #fff; padding: 3rem 1rem; }
.tas-parallax__title { color: #fff; font-size: 2.25rem; font-weight: 500; margin: 0 0 .25rem; }
.tas-parallax__text { margin: 0 0 1.25rem; font-size: 1rem; opacity: .95; }
.tas-parallax__btn { background: #fff; color: var(--tas-navy-ink); font-weight: 600; text-transform: uppercase; border-radius: 999px; padding: .6rem 1.5rem; }
.tas-parallax__btn:hover { background: var(--tas-blue); color: #fff; }
@media (max-width: 767.98px) { .tas-parallax { background-attachment: scroll; min-height: 220px; } .tas-parallax__title { font-size: 1.6rem; } }
.tas-banners { padding: 1.5rem 0 .5rem; }
.tas-banners__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.tas-banners__item { display: block; border-radius: .5rem; overflow: hidden; border: 1px solid #edf0f3; transition: transform .2s, box-shadow .2s; }
.tas-banners__item:hover { transform: translateY(-2px); box-shadow: 0 .5rem 1.25rem rgba(15,42,71,.12); }
.tas-banners__item img { width: 100%; height: auto; display: block; }
@media (max-width: 575.98px) { .tas-banners__grid { grid-template-columns: 1fr; } }

/* ---------- stopka ---------- */
#footer { background: var(--tas-navy-ink); }
.footer__main { background: var(--tas-navy-ink); color: #c9d8e6; padding-top: 2.5rem; }
.footer__main a { color: #c9d8e6; text-decoration: none; }
.footer__main a:hover { color: #fff; text-decoration: underline; }
.footer-block__title { color: #fff !important; text-transform: uppercase; font-weight: 600; font-size: .875rem; letter-spacing: .04em; padding-bottom: .6rem; border-bottom: 1px solid rgba(255,255,255,.15); position: relative; }
.footer-block__title::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 40px; height: 3px; background: var(--tas-blue); }
.footer-block__title a { color: #fff !important; }
.footer-block__list { list-style: none; padding: 0; font-size: .875rem; }
.footer-block__list li { margin-bottom: .45rem; }
.tas-footer-contact__list .material-icons { font-size: 1rem; vertical-align: -3px; color: var(--tas-blue); }
.tas-copyright { background: var(--tas-navy-deep); color: #d5e0ea; font-size: .8125rem; padding: .9rem 0; margin: 0; }
.tas-copyright__row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .75rem; }
.tas-copyright__pay { display: inline-flex; align-items: center; gap: .5rem; }
.tas-copyright__pay-txt { border: 1px solid rgba(255,255,255,.35); border-radius: 4px; padding: 0 .45rem; line-height: 18px; font-size: .75rem; }
@media (max-width: 767.98px) {
  .footer__main { padding-top: 1rem; }
  .footer-block__title::after { display: none; }
  .tas-copyright__row { justify-content: center; text-align: center; }
}

/* ---------- mobile: lewa kolumna pod treścią na stronie głównej ---------- */
@media (max-width: 767.98px) {
  #index #left-column { order: 2; }
  #index #center-column { order: 1; }
}

/* ---------- poprawki po pierwszych zrzutach ---------- */
.header-bottom__logo .logo { max-width: 300px; max-height: 52px; width: auto; }
#_desktop_ps_searchbar { order: 2; }
#_desktop_ps_shoppingcart { order: 3; }
#_mobile_ps_customersignin, #_mobile_ps_shoppingcart, .ps-searchbar--mobile { order: 3; }
.hbe-slider { position: relative; }
.hbe-slider__dots { position: absolute !important; left: 0; right: 0; bottom: 0; padding: .75rem 0 !important; }
.hbe-slider__dot { background: rgba(255,255,255,.7) !important; box-shadow: 0 0 0 1px rgba(15,42,71,.25); }
.hbe-slider__dot.is-active { background: var(--tas-navy-ink) !important; }
.page-content--home .hbe-slider { margin-bottom: 1rem; }
.tas-home-products .section-title, .tas-home-products h2 {
  font-size: 1.125rem; text-transform: uppercase; font-weight: 600; letter-spacing: .02em; margin: 2rem 0 1rem;
  padding-bottom: .5rem; border-bottom: 1px solid var(--tas-border); box-shadow: inset 0 -3px 0 -0px transparent;
}

/* ---------- siatki produktów: 4 w rzędzie przy lewej kolumnie (jak w starym sklepie) ---------- */
@media (min-width: 1200px) {
  .layout-left-column .products, .layout-right-column .products { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
  #index .tas-home-products .products { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (min-width: 992px) and (max-width: 1199.98px) {
  .layout-left-column .products { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
}
@media (max-width: 575.98px) { .products { gap: .6rem !important; } .product-miniature__inner { padding: .5rem; } }
.tas-home-products .module-products.container { padding-inline: 0; max-width: none; }
.product-variant { margin-bottom: .25rem; }
.product-variant__legend { float: none; display: block; width: 100%; margin-bottom: .4rem; }

/* karuzela „N andere Artikel in der gleichen Kategorie” (przewijanie poziome + strzałki z tas.js) */
.ps-categoryproducts { position: relative; margin-top: 2rem; }
.ps-categoryproducts .products {
  display: grid !important; grid-auto-flow: column; grid-template-columns: none !important;
  grid-auto-columns: calc((100% - 3rem) / 4); gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory;
  scrollbar-width: thin; padding-bottom: .5rem; overscroll-behavior-x: contain;
}
.ps-categoryproducts .products > * { scroll-snap-align: start; }
@media (max-width: 991.98px) { .ps-categoryproducts .products { grid-auto-columns: calc((100% - 1rem) / 2.3); } }
@media (max-width: 575.98px) { .ps-categoryproducts .products { grid-auto-columns: 62%; } }
.tas-carousel-nav { position: absolute; right: 0; top: 1.6rem; display: flex; gap: .35rem; }
.tas-carousel-nav button {
  width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--tas-border); background: #fff; color: var(--tas-navy-ink);
  display: flex; align-items: center; justify-content: center; padding: 0;
}
.tas-carousel-nav button:hover { background: var(--tas-navy-ink); color: #fff; border-color: var(--tas-navy-ink); }
.ps-categoryproducts .tas-section-title { padding-right: 90px; }

/* ---------- kafel: bez pola ilości, pełny przycisk „In den Warenkorb” (jak w starym sklepie) ---------- */
.product-miniature__form .quantity-button { display: none !important; }
.product-miniature__form { display: block; }
.product-miniature__add { width: 100%; display: inline-flex !important; align-items: center; justify-content: center; gap: .4rem; white-space: nowrap; font-size: .8125rem; font-weight: 600; padding: .5rem .5rem; height: auto; }
.product-miniature__add .product-miniature__add-text { display: inline !important; }
.product-miniature__add .material-icons { font-size: 1.15rem; }

/* ---------- Verkaufshits w lewej kolumnie — zwarta lista ---------- */
#left-column .ps-bestsellers { margin-bottom: 1.75rem; }
#left-column .ps-bestsellers .module-products { padding: 0; max-width: none; }
#left-column .ps-bestsellers .tas-section-title { font-size: .9375rem; margin: 0 0 .5rem; border-bottom: 0; }
#left-column .ps-bestsellers .tas-section-title span { display: block; border-bottom-width: 3px; }
#left-column .ps-bestsellers .products { display: block !important; }
#left-column .ps-bestsellers .product-miniature { margin: 0; }
#left-column .ps-bestsellers .product-miniature__inner { display: grid; grid-template-columns: 64px 1fr; gap: .75rem; align-items: center; padding: .5rem 0; border: 0; border-bottom: 1px solid #edf0f3; border-radius: 0; box-shadow: none; }
#left-column .ps-bestsellers .product-miniature__top { margin: 0; }
#left-column .ps-bestsellers .product-miniature__image-container { width: 64px; }
#left-column .ps-bestsellers .product-miniature__title { font-size: .75rem; min-height: 0; margin: 0 0 .15rem;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
#left-column .ps-bestsellers .product-miniature__price { font-size: .875rem; }
#left-column .ps-bestsellers .product-miniature__actions,
#left-column .ps-bestsellers .product-flags,
#left-column .ps-bestsellers .product-miniature__variants,
#left-column .ps-bestsellers .module-products__buttons { display: none !important; }

/* ---------- mobile: nagłówek w jednym rzędzie ---------- */
@media (max-width: 767.98px) {
  .header-bottom__row { flex-wrap: nowrap; }
  .header-bottom__logo { flex: 1 1 auto; min-width: 0; }
  .header-bottom__logo .logo { max-width: min(200px, 100%); max-height: none; }
  .header-bottom .header-block__action-btn { padding: .35rem; }
  .hbe-slider__arrow { display: none !important; }
  .tas-promo { margin-bottom: .5rem; }
  .tas-section-title { margin-top: 1.5rem; font-size: 1rem; }
}
.tas-footer-contact__list li { display: flex; align-items: flex-start; gap: .4rem; }
.tas-footer-contact__list li .material-icons { margin-top: 2px; }
.tas-footer-contact__list a { word-break: break-word; }

/* ---------- rejestracja: pola B2B rdzenia (Firma, Steuernummer) ukryte — konto firmowe ma własne pola lpsproaccount
   (stary sklep ukrywał je skryptem modułu, który w jQuery 3 już nie działa) ---------- */
body#registration .mb-3:has(> input[name="company"]), body#registration .mb-3:has(input[name="company"]),
body#registration .mb-3:has(input[name="siret"]) { display: none; }
.tas-contact-card p { font-size: .875rem; margin-bottom: .5rem; display: flex; gap: .4rem; align-items: flex-start; }
.tas-contact-card .material-icons { font-size: 1.05rem; color: var(--tas-blue-dark); margin-top: 2px; }
.tas-contact-card__company { font-weight: 600; }

/* logowanie: wybór konta prywatne / firmowe (lpsproaccount) zamiast podwójnego „Kein Konto?” */
.tas-account-choice { margin-top: 1.5rem; }
.tas-account-choice__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem; }
.tas-account-choice__item { display: flex; flex-direction: column; align-items: flex-start; gap: .5rem; padding: 1rem 1.25rem; border: 1px solid var(--tas-border); border-radius: .5rem; background: #f7fbfe; }
.tas-account-choice__item .material-icons { font-size: 1.75rem; color: var(--tas-blue-dark); }
.login:has(#lpsproaccount) [class$="__register-prompt"], #authentication:has(#lpsproaccount) [class*="__register-prompt"] { display: none; }
.tas-account-choice__item strong { color: #14202b; font-weight: 600; }
.product-miniature__quickview-button, .product-miniature__quickview-touch { display: none !important; }
@media (min-width: 1200px) { #index .tas-home-products .products { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
/* mobile: lewa kolumna (drzewo kategorii, Verkaufshits, płatności) pod listą produktów na wszystkich stronach */
@media (max-width: 767.98px) {
  .columns-container > .row > #left-column { order: 2; }
  .columns-container > .row > #center-column { order: 1; }
  #left-column { border-top: 1px solid var(--tas-border); margin-top: 1.5rem; }
  #left-column .ps-bestsellers { display: none; }
}

/* strony CMS: treści wklejone ze starego edytora mają inline Verdana/małe rozmiary — ujednolicone do kroju motywu */
body.page-cms #content :is(p, span, div, td, li, font, strong, b, a) { font-family: inherit !important; }
body.page-cms #content :is(p, span, div, td, li, font) { font-size: inherit !important; line-height: 1.6; }
body.page-cms #content { font-size: .9375rem; color: #26323d; }
body.page-cms #content h2, body.page-cms #content h3 { font-family: inherit !important; font-weight: 600; margin-top: 1.25rem; }
.tas-promo, .tas-banners__item { display: flow-root; }
.tas-promo picture, .tas-promo img, .tas-promo a { margin: 0; }
/* rodzic daje siatkę z gap 2.5rem między sekcjami strony głównej — odstępy ustawiamy sami */
.page-content--home { gap: 0; }

/* ---------- poprawki: podpowiedzi ambjolisearch (jedyne podpowiedzi — lista Hummingbirda usunięta w modules/ps_searchbar) ---------- */
.ui-menu.ui-jolisearch { border: 1px solid #d9e2ec; border-radius: .5rem; box-shadow: 0 .75rem 2rem rgba(15,42,71,.18); z-index: 1060; }
@media (max-width: 767.98px) {
  .ui-menu.ui-jolisearch {
    position: fixed !important; top: 64px !important; left: 8px !important; right: 8px !important; width: auto !important; transform: none !important; max-width: none;
    max-height: calc(100vh - 72px); max-height: calc(100dvh - 72px); overflow-y: auto; overscroll-behavior: contain; padding: .25rem .5rem;
  }
  .ui-menu.ui-jolisearch .jolisearch-body { width: auto; }
  .ui-menu.ui-jolisearch .jolisearch-body aside[role="complementary"],
  .ui-menu.ui-jolisearch .jolisearch-body section[role="main"] { width: 100%; float: none; padding: 0; }
  .ui-menu.ui-jolisearch .jolisearch-body aside[role="complementary"] > div { padding-bottom: 0; margin-bottom: 0; }
  .ui-menu.ui-jolisearch .jolisearch-body h4 { font-size: 1rem; margin: .5rem 0; }
  .ui-menu.ui-jolisearch .jolisearch-body aside[role="complementary"] li { padding: .35rem .25rem; }
  .ui-menu.ui-jolisearch .jolisearch-body section[role="main"] .product { width: 100%; float: none; padding: .35rem .25rem; }
  .ui-menu.ui-jolisearch .jolisearch-body section[role="main"] .product > a { display: flex; align-items: center; gap: .75rem; text-align: left; }
  .ui-menu.ui-jolisearch .jolisearch-body section[role="main"] .product img { flex: 0 0 56px; width: 56px; height: 56px; object-fit: contain; margin: 0; }
  .ui-menu.ui-jolisearch .jolisearch-body section[role="main"] .product .jolisearch-product {
    flex: 1 1 auto; text-align: left; align-items: flex-start; margin: 0; padding: 0; gap: .15rem;
  }
  .ui-menu.ui-jolisearch .jolisearch-body section[role="main"] .product .jolisearch-product span { font-size: 13px; line-height: 17px; }
  .ui-menu.ui-jolisearch .jolisearch-body section[role="main"] .product .product-price { font-weight: 600; color: var(--tas-price-list, #0f2a47); }
}

/* ---------- poprawki: strona 404 (sekcja hbe) ---------- */
.hbe-404-cats { margin-top: 2.5rem; }
.hbe-404-links { margin-top: 2rem; }
.hbe-404-cats__title, .hbe-404-links__title { font-size: 1.25rem; margin-bottom: 1rem; }
.hbe-404-cats__list, .hbe-404-links__list {
  list-style: none; padding: 0; margin: 0 auto; max-width: 820px;
  display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem;
}
.hbe-404-cats__link, .hbe-404-links__link {
  display: inline-block; padding: .4rem .9rem; border: 1px solid #d9e2ec; border-radius: 999px;
  text-decoration: none; background: #fff;
}
.hbe-404-cats__link:hover, .hbe-404-links__link:hover { border-color: var(--tas-blue); background: #f3f8fd; }

/* ---------- motyw-2: przycisk „In den Warenkorb” w kaflu na wąskich ekranach (tekst wychodził poza przycisk) ---------- */
@media (max-width: 575.98px) {
  .product-miniature__add { padding-inline: .5rem; gap: .25rem; font-size: .8125rem; white-space: nowrap; min-width: 0; max-width: 100%; }
  .product-miniature__add .material-icons { font-size: 1.15rem; }
}
@media (max-width: 429.98px) {
  .product-miniature__add .material-icons { display: none; }
  .product-miniature__form { min-width: 0; }
}

/* runda 2 (11.11.2026): kafle podkategorii — Hummingbird dziedziczy word-break:break-word z .subcategory__link,
   przez co „Mittelalterspitzen” łamało się jako „Mittelalterspitze / n”. Dzielenie słów wg języka (html lang=de-DE). */
.subcategory__link, .subcategory__name { word-break: normal; overflow-wrap: break-word; -webkit-hyphens: auto; hyphens: auto; }

/* ==========================================================================
   V2 (12.11.2026) — kierunek izpol / dlachinczyka.pl:
   białe tło na całą szerokość (bez deseniu i „pudełka”), lekki nagłówek, menu kategorii,
   strona główna bez lewej kolumny: galeria kafli → zalety → karuzele produktów → akcje → o nas.
   ========================================================================== */
:root, [data-bs-theme=light] {
  --tas-box: 1320px;
  --tas-ink: #0f2a47;          /* granat logo — kolor główny */
  --tas-accent: #b7712f;       /* drewno/skóra — akcent */
  --tas-accent-strong: #965a22;
  --tas-soft: #f4f5f2;         /* jasne tło pasów */
  --tas-line: #e6e9ec;
  --bs-link-color: #0f2a47; --bs-link-color-rgb: 15, 42, 71;
  --bs-link-hover-color: #965a22; --bs-link-hover-color-rgb: 150, 90, 34;
}

/* 1. bez deseniu i boxed */
body { background: #fff; background-image: none; }
#header, #wrapper, #footer { max-width: none; }
#wrapper { padding-bottom: 0; overflow-x: clip; }

/* 2. nagłówek: biały, cienka linia, koszyk i konto jako ikony */
.header-bottom { border-bottom: 1px solid var(--tas-line); }
.header-bottom__row { min-height: 78px; }
.ps-searchbar__input { border: 1px solid #d9dee3; background: var(--tas-soft); height: 46px; }
.ps-searchbar__input:focus { border-color: var(--tas-ink); background: #fff; }
.ps-searchbar__magnifier { background: transparent; color: var(--tas-ink) !important; }
.tas-cart__btn { background: transparent !important; color: var(--tas-ink) !important; padding: .4rem .5rem !important; border-radius: .5rem; }
.tas-cart__btn:hover { background: var(--tas-soft) !important; }
.tas-cart__btn .header-block__icon { color: var(--tas-ink) !important; font-size: 1.6rem; }
.tas-cart__title { display: none; }
.tas-cart__total { font-size: .875rem; }
.tas-cart .header-block__badge { background: var(--tas-accent); top: -2px; right: auto; left: 24px; }

/* 3. menu główne: biały pas z kategoriami, podkreślenie akcentem */
.tas-menubar { background: #fff; border-bottom: 1px solid var(--tas-line); }
.tas-menubar__inner { min-height: 52px; }
.tas-menubar .ps-mainmenu__tree { justify-content: center; }
.tas-menubar .ps-mainmenu__tree-item-wrapper { height: 52px; }
.tas-menubar .ps-mainmenu__tree-link { color: var(--tas-ink) !important; font-size: .8125rem; letter-spacing: .07em; font-weight: 600; height: 52px; padding: 0 .95rem; position: relative; }
.tas-menubar .ps-mainmenu__tree-dropdown-toggle { color: var(--tas-ink); height: 52px; }
.tas-menubar .ps-mainmenu__tree-dropdown-toggle::after { border-top-color: var(--tas-ink); color: var(--tas-ink); }
.tas-menubar .ps-mainmenu__tree-item:hover > .ps-mainmenu__tree-item-wrapper,
.tas-menubar .ps-mainmenu__tree-item:focus-within > .ps-mainmenu__tree-item-wrapper,
.tas-menubar .ps-mainmenu__tree-item.current > .ps-mainmenu__tree-item-wrapper { background: transparent; box-shadow: inset 0 -3px 0 var(--tas-accent); }
.tas-menubar .submenu { border-top: 1px solid var(--tas-line); box-shadow: 0 1.25rem 2.5rem -1rem rgba(15,42,71,.25); }
.tas-menubar .ps-mainmenu__mobile-toggle .menu-toggle, .tas-menubar .ps-mainmenu__mobile-toggle .material-icons { color: var(--tas-ink) !important; }
.ps-mainmenu--mobile .offcanvas-header { background: var(--tas-ink); color: #fff; }
.ps-mainmenu--mobile .offcanvas-header .btn-close { filter: invert(1); }

/* 4. strona główna bez lewej kolumny */
#index #wrapper > .container, #index .columns-container { max-width: none; padding-inline: 0; }
#index #content-wrapper, #index #center-column { padding-inline: 0; }
.page-content--home { padding-top: 0; display: block; }
.page-content--home > section, .page-content--home > div { margin-bottom: clamp(2.25rem, 5vw, 4rem); }
.page-content--home > .hbe-galeria { margin-bottom: 0; }
.page-content--home > .tas-usp { margin-bottom: clamp(2rem, 4vw, 3rem); }
.page-content--home .hbe-products > .module-products.container,
.page-content--home .tas-about, .page-content--home .tas-aktion,
.page-content--home .tas-home-products { max-width: var(--tas-box); margin-inline: auto; padding-inline: 1rem; }

/* 5. galeria kategorii = sekcja wbudowana hbe „galeria” (moduł 1.26.0, views/css/galeria.css) — tu tylko kolory TAS */
.hbe-galeria { --hbe-galeria-bg: var(--tas-ink); --hbe-galeria-focus: var(--tas-accent); }

/* 6. pas zalet */
.tas-usp { border-bottom: 1px solid var(--tas-line); }
.tas-usp__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; list-style: none; margin: 0 auto; padding: 1.4rem 1rem; max-width: var(--tas-box); }
.tas-usp__item { display: flex; gap: .85rem; align-items: flex-start; }
.tas-usp__icon { flex: 0 0 44px; height: 44px; border-radius: 12px; background: var(--tas-soft); color: var(--tas-accent-strong); display: grid; place-items: center; }
.tas-usp__icon .material-icons { font-size: 1.45rem; }
.tas-usp__body { display: flex; flex-direction: column; gap: .15rem; min-width: 0; }
.tas-usp__title { font-weight: 600; font-size: .9375rem; color: var(--tas-ink); }
.tas-usp__text { font-size: .8125rem; color: var(--tas-muted); line-height: 1.45; }
@media (max-width: 991.98px) { .tas-usp__list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem 1.25rem; } }
@media (max-width: 575.98px) { .tas-usp__list { grid-template-columns: 1fr; padding-block: 1.1rem; } }

/* 7. karuzele produktów hbe: tytuł z lewej, strzałki pod nim (jak izpol / dlachinczyka) */
.page-content--home .hbe-products .section-title, .page-content--home .hbe-products h2 {
  font-size: clamp(1.5rem, 2.3vw, 2rem); font-weight: 600; text-transform: none; letter-spacing: -.01em; color: var(--tas-ink); border: 0; padding: 0; margin: 0 0 .6rem;
}
.page-content--home .hbe-products .section-title::after { display: none; }
.hbe-products__text { color: var(--tas-muted); font-size: .9375rem; margin-bottom: .9rem; }
.hbe-products .hbe-section-link { background: transparent !important; border: 0 !important; color: var(--tas-ink) !important; padding: 0 !important; text-decoration: underline; text-underline-offset: 4px; font-weight: 600; font-size: .9375rem; }
.hbe-products .hbe-section-link:hover { color: var(--tas-accent-strong) !important; }
.hbe-carousel-nav__btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid #c9d0d6; background: #fff; color: var(--tas-ink); }
.hbe-carousel-nav__btn:hover:not(:disabled) { background: var(--tas-ink); border-color: var(--tas-ink); color: #fff; }

/* 8. pas „Unsere Aktionen” */
.tas-aktion__inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.25rem 2rem;
  padding: clamp(1.75rem, 4vw, 2.75rem) clamp(1.5rem, 4vw, 3rem); border-radius: 16px; color: #fff;
  background: radial-gradient(ellipse 55% 120% at 95% 0%, rgba(183,113,47,.38), transparent 70%), var(--tas-ink);
}
.tas-aktion__kicker { margin: 0 0 .35rem; font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #e2b98e; }
.tas-aktion__title { margin: 0 0 .35rem; color: #fff; font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 600; letter-spacing: -.01em; }
.tas-aktion__text { margin: 0; color: #cfd9e3; max-width: 46rem; }
.tas-aktion__btn { display: inline-flex; align-items: center; gap: .4rem; padding: .85rem 1.5rem; border-radius: 999px; background: #fff; color: var(--tas-ink); font-weight: 600; text-decoration: none; white-space: nowrap; }
.tas-aktion__btn:hover { background: #f3e3d1; color: var(--tas-ink); }

/* 9. o nas, paralaksa, banery dolne — spójne z nową stroną */
.page-content--home .tas-about h2, .page-content--home .tas-section-title { text-transform: none; font-size: clamp(1.4rem, 2.2vw, 1.85rem); letter-spacing: -.01em; border: 0; }
.page-content--home .tas-section-title span { border: 0; padding: 0; }
.tas-home-full .tas-banners { max-width: var(--tas-box); margin-inline: auto; padding-inline: 1rem; }
.tas-banners__item { border-radius: 14px; }

/* V2: Verkaufshits na głównej — jeden równy rząd zamiast wielkich kafli */
@media (min-width: 1200px) { #index .tas-home-products .products { grid-template-columns: repeat(6, minmax(0, 1fr)) !important; gap: .75rem; } }
@media (min-width: 768px) and (max-width: 1199.98px) { #index .tas-home-products .products { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; } }
#index .tas-home-products .tas-section-title { margin-top: 0; }

/* V2: kafle produktów jak izpol / dlachinczyka — bez ramki, zdjęcie na jasnym tle (białe tło JPG wtapia multiply), zwykłe litery */
.product-miniature__inner { border: 0; padding: 0; background: transparent; box-shadow: none !important; }
.product-miniature__inner:hover { border: 0; }
.product-miniature__image-container { background: var(--tas-soft); border-radius: 12px; overflow: hidden; }
.product-miniature__image { mix-blend-mode: multiply; padding: 9%; transition: transform .35s ease; }
.product-miniature__inner:hover .product-miniature__image { transform: scale(1.04); }
@media (hover: none) { .product-miniature__inner:hover .product-miniature__image { transform: none; } }
.product-miniature__title { text-transform: none; font-size: .9rem; font-weight: 500; line-height: 1.4; color: var(--tas-ink); letter-spacing: 0; margin-top: .7rem; min-height: 0; }
.product-miniature__title:hover { color: var(--tas-accent-strong); }
.product-miniature__price { color: var(--tas-ink); font-size: 1.05rem; font-weight: 600; }
.product-miniature__add { border-radius: 8px; min-height: 40px; }
.product-flags .badge, .product-flag { border-radius: 6px; }
/* karuzele hbe: mniej pustki nad i pod */
.page-content--home .hbe-products { margin-block: 0; }
.page-content--home > section.hbe-products, .page-content--home > div { margin-bottom: clamp(2.5rem, 5vw, 3.75rem); }
/* V2: karuzele hbe — odstęp między kaflami zamiast ramek (carousel.css modułu daje border 1px i gap 0) */
.hbe-products .module-products__carousel .product-miniature, .ps-viewedproduct .module-products__carousel .product-miniature,
.hbe-products .hbe-products__skeleton-card { border: 0 !important; padding-inline: .5rem; }
.hbe-products .module-products__carousel .products { margin-inline: -.5rem; }
@media (max-width: 575px) {
  .hbe-products .module-products__carousel .product-miniature, .ps-viewedproduct .module-products__carousel .product-miniature,
  .hbe-products .hbe-products__skeleton-card { flex-basis: 64%; min-width: 64%; }
}

/* V2: listing (kategorie, wyszukiwanie, Verkaufshits …) bez lewej kolumny — filtry w szufladzie z prawej (ps_facetedsearch.tpl motywu) */
@media (min-width: 768px) {
  body.layout-left-column #left-column { display: none; }
  body.layout-left-column #center-column { flex: 0 0 100%; max-width: 100%; width: 100%; }
}
@media (max-width: 767.98px) { body.layout-left-column #left-column { display: none; } }
@media (min-width: 992px) { body.layout-left-column #js-product-list .products { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; gap: 1.75rem 1.25rem; } }
@media (min-width: 1400px) { body.layout-left-column #js-product-list .products { grid-template-columns: repeat(5, minmax(0, 1fr)) !important; } }
.products__selection { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem; }
.products__sort { display: flex; align-items: center; gap: .75rem; }
.tas-filter-btn { display: inline-flex !important; align-items: center; gap: .4rem; border-radius: 999px; padding: .45rem 1.1rem; font-weight: 600; }
.ps-facetedsearch--drawer { --bs-offcanvas-width: min(420px, 92vw); }
.ps-facetedsearch--drawer .offcanvas-header { border-bottom: 1px solid var(--tas-line); }
.ps-facetedsearch--drawer .offcanvas-title { font-weight: 600; margin: 0; }
.ps-facetedsearch--drawer .tas-facets__footer { padding: 1rem; border-top: 1px solid var(--tas-line); }
.ps-facetedsearch--drawer .facet__title, .ps-facetedsearch--drawer .facet .h6 { font-weight: 600; }
/* nagłówek kategorii: zdjęcie okładki mniejsze, podkategorie jak kafle-pigułki */
#category .category__cover img, .category-cover img { max-height: 220px; width: auto; }
.subcategory { border-radius: 12px !important; }
.ps-facetedsearch--drawer .left-block__title { display: none !important; }
.ps-facetedsearch--drawer .accordion-collapse.collapse:not(.show) { display: block; }   /* jeden filtr — od razu rozwinięty */
.ps-facetedsearch--drawer .accordion-button { font-weight: 600; pointer-events: none; }
.ps-facetedsearch--drawer .accordion-button::after { display: none; }
.ps-facetedsearch--drawer .search-filters__item { padding-block: .3rem; font-size: 1rem; }
/* V2: karta produktu — zdjęcie na jasnym tle jak w kaflach, cena w kolorze marki */
.product__images .carousel-inner, .product__images .product__carousel, .product-images .carousel-inner { background: var(--tas-soft); border-radius: 16px; }
.product__images .carousel-item img, .product__images .product__image img { mix-blend-mode: multiply; }
.product__thumbnails img, .product-images__thumb img { background: var(--tas-soft); border-radius: 8px; mix-blend-mode: multiply; }
.product__price { color: var(--tas-ink); }
.tas-unit-price { background: var(--tas-soft); }
.tas-unit-price strong { color: var(--tas-ink); }

/* V2: dwa banery nad stopką — zdjęcie + tekst (tas-banners.tpl) */
.tas-home-full .tas-banners { padding: 0 1rem clamp(2.5rem, 5vw, 4rem); }
.tas-banners__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; max-width: var(--tas-box); margin: 0 auto; }
.tas-ban { position: relative; display: block; aspect-ratio: 1200 / 560; overflow: hidden; border-radius: 16px; background: var(--tas-ink); color: #fff; text-decoration: none; isolation: isolate; }
.tas-ban:hover, .tas-ban:focus { color: #fff; text-decoration: none; }
.tas-ban__pic, .tas-ban__img { position: absolute; inset: 0; width: 100%; height: 100%; }
.tas-ban__img { object-fit: cover; object-position: right center; transition: transform .6s ease; }
.tas-ban:hover .tas-ban__img { transform: scale(1.035); }
.tas-ban::after { content: ""; position: absolute; inset: 0; z-index: 0; background: linear-gradient(90deg, rgba(9,20,32,.55) 0%, rgba(9,20,32,.15) 55%, rgba(9,20,32,0) 75%); }
.tas-ban__body { position: absolute; z-index: 1; left: clamp(1.25rem, 3.5vw, 2.5rem); top: 50%; transform: translateY(-50%); width: min(52%, 22rem); display: flex; flex-direction: column; align-items: flex-start; gap: .55rem; }
.tas-ban__kicker { font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #e2b98e; }
.tas-ban__title { font-size: clamp(1.25rem, 2.2vw, 1.85rem); font-weight: 600; line-height: 1.15; letter-spacing: -.01em; text-shadow: 0 1px 14px rgba(0,0,0,.35); }
.tas-ban__btn { margin-top: .4rem; display: inline-flex; align-items: center; gap: .35rem; padding: .6rem 1.15rem; border-radius: 999px; background: #fff; color: var(--tas-ink); font-weight: 600; font-size: .9rem; transition: background .2s; }
.tas-ban__btn .material-icons { font-size: 1.1rem; }
.tas-ban:hover .tas-ban__btn { background: #f3e3d1; }
@media (hover: none) { .tas-ban:hover .tas-ban__img { transform: none; } }
@media (max-width: 767.98px) {
  .tas-banners__grid { grid-template-columns: 1fr; }
  .tas-ban { aspect-ratio: 4 / 3; }
  .tas-ban__body { width: 62%; }
}
/* V2: nowe logo (wektor → PNG 2×, przezroczyste, granat + akcent) */
.header-bottom__logo .logo, .header-bottom__logo img { max-height: 58px; max-width: 300px; width: auto; height: auto; }
@media (max-width: 767.98px) { .header-bottom__logo .logo, .header-bottom__logo img { max-height: 42px; max-width: min(214px, 100%); } }
/* V2: banery na telefonie — całe zdjęcie (bez kadru 4:3), tekst pod nim na ciemnym pasku */
@media (max-width: 767.98px) {
  .tas-ban { aspect-ratio: auto; display: flex; flex-direction: column; }
  .tas-ban__pic { position: relative; inset: auto; display: block; aspect-ratio: 1200 / 560; }
  .tas-ban__img { object-position: center; }
  .tas-ban::after { display: none; }
  .tas-ban__body { position: static; transform: none; width: auto; padding: 1rem 1.15rem 1.2rem; }
  .tas-ban__title { font-size: 1.3rem; }
}
/* banery przeniesione na górę strony głównej (pod pasem zalet) */
.page-content--home > .tas-banners { padding: 0 1rem; }

/* 16.11.2026: menu kategorii zawsze w jednej linii (EN ma dłuższe nazwy: „All categories” spadało do 2. linii) */
@media (min-width: 992px) {
  .tas-menubar .ps-mainmenu__tree { flex-wrap: nowrap; }
  .tas-menubar .ps-mainmenu__tree-item { flex: 0 0 auto; }
  .tas-menubar .ps-mainmenu__tree-link { white-space: nowrap; padding: 0 clamp(.45rem, .75vw, .95rem); font-size: clamp(.72rem, .68vw, .8125rem); letter-spacing: clamp(.02em, .25vw, .07em); }
  .tas-menubar .ps-mainmenu__tree-dropdown-toggle { padding: 0 clamp(.35rem, .5vw, .65rem) 0 .1rem; }
}
@media (min-width: 992px) and (max-width: 1199.98px) {
  .tas-menubar .ps-mainmenu__tree-link { padding: 0 .4rem; font-size: .69rem; letter-spacing: .02em; }
  .tas-menubar .ps-mainmenu__tree-dropdown-toggle { padding: 0 .3rem 0 0; margin-left: -.4rem; }
}

/* 16.11.2026: strona CMS „Hilfe und häufige Fragen” (.tas-hilfe) — motyw zeruje list-style */
.tas-hilfe { max-width: 52rem; }
.tas-hilfe .lead { font-size: 1.05rem; margin-bottom: 1.5rem; }
.tas-hilfe h2 { margin: 2rem 0 .75rem; font-size: 1.35rem; }
.tas-hilfe ol, .tas-hilfe ul { padding-left: 1.4rem; margin-bottom: 1rem; }
.tas-hilfe ol { list-style: decimal; }
.tas-hilfe ul { list-style: disc; }
.tas-hilfe li { margin-bottom: .4rem; line-height: 1.55; }
