/*
 * Jubiler Alicja / izuter — finalne porządki 2026-10-24
 * Ten plik jest ładowany jako ostatni i zawiera wyłącznie reguły zgodne
 * z aktualnym HTML motywu.
 */

html,
body {
  max-width: 100%;
  overflow-x: clip;
}

/* Nagłówek przewija się razem ze stroną. */
#header.header,
#header.header.is-sticky,
#header.header.sticky,
#header.header.header--sticky {
  position: relative !important;
  inset: auto !important;
  transform: none !important;
}

.header-placeholder,
.js-sticky-header-placeholder {
  display: none !important;
  height: 0 !important;
}

/* Facebook — aktualny szablon używa klasy izuter-top-phone. */
.izuter-top-phone__facebook {
  display: inline-flex !important;
  align-items: flex-end;
  justify-content: center;
  width: 31px;
  height: 31px;
  flex: 0 0 31px;
  overflow: hidden;
  border-radius: 4px;
  background: #9b150f;
  color: #fff !important;
  font: 700 29px/31px Arial, sans-serif;
  text-decoration: none;
}

/* Górny nagłówek: sztywna, przewidywalna siatka na komputerach. */
@media (min-width: 768px) {
  .header-bottom__container {
    max-width: 1400px;
  }

  .header-bottom__row {
    display: grid !important;
    grid-template-columns: minmax(220px, 1fr) auto minmax(220px, 1fr);
    grid-template-areas:
      "search logo empty"
      "menu menu menu";
    align-items: center !important;
    gap: .8rem 1.5rem;
    margin: 0 !important;
  }

  .header-bottom__logo {
    grid-area: logo;
    justify-self: center;
    margin: 0 !important;
    padding: 0 !important;
  }

  .header-bottom__row > #_desktop_ps_searchbar,
  .header-bottom__row > .ps-searchbar,
  .header-bottom__row > .search-widget {
    grid-area: search;
    justify-self: start;
    width: min(100%, 320px);
    margin: 0 !important;
  }

  .header-bottom__row > .ps-mainmenu {
    grid-area: menu;
    justify-self: center;
    width: auto !important;
    max-width: 100%;
    margin: 0 !important;
  }

  .header-bottom__row .ps-mainmenu__tree,
  .header-bottom__row .top-menu {
    justify-content: center;
    flex-wrap: wrap;
  }
}

/* Marki na stronie głównej — wszystkie odnośniki, niezależnie od klasy. */
.izuter-brands {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 1.25rem 0;
}

.izuter-brands__grid {
  display: grid !important;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  align-items: center;
  gap: 1rem 1.25rem;
  width: 100%;
  max-width: 100%;
}

.izuter-brands__grid > a {
  display: flex !important;
  align-items: center;
  justify-content: center;
  min-width: 0;
  height: 88px;
  padding: .65rem;
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: .25rem;
  background: #fff;
}

.izuter-brands__grid > a:hover,
.izuter-brands__grid > a:focus-visible {
  border-color: #e6ddd6;
  box-shadow: 0 .35rem 1rem rgba(67, 48, 40, .08);
  outline: none;
}

.izuter-brands__grid > a > img {
  display: block;
  width: auto !important;
  max-width: 100% !important;
  height: auto !important;
  max-height: 62px !important;
  object-fit: contain !important;
}

.izuter-brands__title {
  margin: 1rem 0 0;
  text-align: center;
}

@media (max-width: 991.98px) {
  .izuter-brands__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 575.98px) {
  .izuter-brands {
    padding-inline: .75rem;
  }

  .izuter-brands__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .6rem;
  }

  .izuter-brands__grid > a {
    height: 68px;
    padding: .45rem;
  }

  .izuter-brands__grid > a > img {
    max-height: 48px !important;
  }
}

/* Menu kategorii — aktualny moduł ps_categorytree/Bootstrap accordion. */
@media (min-width: 768px) {
  body.layout-left-column .columns-container > .row {
    --bs-gutter-x: 2rem;
    flex-wrap: nowrap;
  }

  body.layout-left-column #left-column {
    flex: 0 0 240px;
    width: 240px;
    max-width: 240px;
  }

  body.layout-left-column #center-column {
    flex: 1 1 0;
    width: auto;
    max-width: calc(100% - 240px);
    min-width: 0;
  }
}

body.layout-left-column #left-column .ps-categorytree {
  position: static;
  top: auto;
  max-height: none;
  margin-bottom: 1rem;
  padding: .9rem .8rem;
  overflow: visible;
  border: 1px solid #eadfd9;
  border-radius: .35rem;
  background: #fff;
  box-shadow: 0 .2rem .8rem rgba(67, 48, 40, .045);
}

body.layout-left-column #left-column .left-block__title {
  margin: 0 0 .55rem;
  padding: 0 0 .55rem;
  border-bottom: 2px solid #9b150f;
  font: 600 1rem/1.3 Inter, Arial, sans-serif;
}

body.layout-left-column #left-column .category-tree__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

body.layout-left-column #left-column .category-tree__item-header {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 36px;
  border-bottom: 1px solid #f1ebe7;
}

body.layout-left-column #left-column .category-tree__item-link {
  display: block;
  flex: 1 1 auto;
  min-width: 0;
  padding: .43rem 2rem .43rem .25rem;
  color: #292522;
  font: 400 .86rem/1.3 Inter, Arial, sans-serif;
  overflow-wrap: anywhere;
  text-decoration: none;
}

body.layout-left-column #left-column .category-tree__item-link:hover,
body.layout-left-column #left-column .category-tree__item-link:focus-visible {
  color: #8d140b;
}

body.layout-left-column #left-column .accordion-button {
  position: absolute;
  top: 2px;
  right: 0;
  width: 32px;
  height: 32px;
  min-height: 32px;
  padding: .25rem;
  border: 0;
  background: transparent;
  box-shadow: none;
}

body.layout-left-column #left-column .accordion-body {
  padding: .2rem 0 .35rem .65rem;
}

body.layout-left-column #left-column .category-tree__list[data-depth]:not([data-depth="0"]) {
  padding-left: .35rem;
  border-left: 1px solid #eadfd9;
}

body.layout-left-column #left-column .accordion-collapse.collapse:not(.show),
body.layout-left-column #left-column .accordion-collapse.collapsing {
  display: none !important;
}

@media (max-width: 767.98px) {
  body.layout-left-column #left-column .ps-categorytree {
    position: static;
    max-height: none;
    padding: .75rem;
    overflow: visible;
  }
}

/* Elementy wskazane wcześniej do ukrycia. */
a[href*="/content/5-gwarancja"],
a[href*="id_cms=11"],
li:has(> a[href*="/content/5-gwarancja"]),
li:has(> a[href*="id_cms=11"]) {
  display: none !important;
}

/* Jednolity lewy panel na kategoriach i listach systemowych:
   promocje, nowe produkty oraz bestsellery. */
body.layout-left-column .columns-container {
  width: 100%;
  max-width: 1400px;
}

body.layout-left-column #left-column {
  position: relative;
}

body.layout-left-column #left-column .ps-categorytree {
  position: static;
  top: auto;
  max-height: none;
  margin-bottom: 1rem;
  padding: 1.15rem 1rem;
  overflow: visible;
  border: 1px solid #eee7e2;
  border-radius: .3rem;
  background: #fff;
  box-shadow: 0 .25rem 1rem rgba(58, 40, 34, .05);
}

body.layout-left-column #left-column .izuter-category-menu ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

body.layout-left-column #left-column .izuter-category-menu .category-tree__item {
  position: relative;
  margin: 0;
  border-bottom: 1px solid #eee7e3;
}

body.layout-left-column #left-column .izuter-category-menu .category-tree__item-link {
  display: block;
  padding: .48rem 2rem .48rem .2rem;
  color: #2e2927;
  font: 400 1rem/1.25 Inter, Arial, Helvetica, sans-serif;
  overflow-wrap: normal;
  text-decoration: none;
}

body.layout-left-column #left-column .izuter-category-menu .category-tree__toggle,
body.layout-left-column #left-column .izuter-category-menu .izuter-category-menu__mobile-toggle {
  position: absolute;
  top: .27rem;
  right: 0;
  width: 1.8rem;
  height: 1.8rem;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #5b514d;
  cursor: pointer;
}

body.layout-left-column #left-column .izuter-category-menu .category-tree__toggle span::before,
body.layout-left-column #left-column .izuter-category-menu .izuter-category-menu__mobile-toggle span::before {
  content: '';
  display: block;
  width: .48rem;
  height: .48rem;
  margin: -.15rem auto 0;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform .18s ease;
}

body.layout-left-column #left-column .izuter-category-menu .category-tree__item.is-open > .category-tree__toggle span::before {
  margin-top: .15rem;
  transform: rotate(225deg);
}

body.layout-left-column #left-column .izuter-category-menu .category-tree__item > .category-tree__list {
  display: none !important;
}

body.layout-left-column #left-column .izuter-category-menu .category-tree__item.is-open > .category-tree__list {
  display: block !important;
}

body.layout-left-column #left-column .izuter-category-menu > .left-block__title {
  position: relative;
  margin: 0 0 .65rem;
  padding: 0 2rem .65rem 0;
  border-bottom: 2px solid #9b150f;
}

body.layout-left-column #left-column .izuter-category-menu .left-block__title-link {
  color: #292522;
  font: 600 1.25rem/1.3 Inter, Arial, Helvetica, sans-serif;
  text-decoration: none;
}

body.layout-left-column #left-column .izuter-category-menu [data-depth="1"] {
  padding: 0 0 .35rem .7rem;
}

body.layout-left-column #left-column .izuter-category-menu [data-depth="2"],
body.layout-left-column #left-column .izuter-category-menu [data-depth="3"] {
  padding-left: .85rem;
}

body.layout-left-column #left-column .izuter-category-menu [data-depth]:not([data-depth="0"]) .category-tree__item {
  border-bottom: 0;
}

body.layout-left-column #left-column .izuter-category-menu [data-depth]:not([data-depth="0"]) .category-tree__item-link {
  padding: .25rem .15rem;
  font-size: .93rem;
}

/* Newsletter: stały kontrast tekstów niezależnie od stylów stopki. */
.ps-emailsubscription,
.ps-emailsubscription .h3,
.ps-emailsubscription p,
.ps-emailsubscription .text-body-secondary,
.ps-emailsubscription label {
  color: #292522 !important;
  opacity: 1 !important;
}

.ps-emailsubscription .form-control,
.ps-emailsubscription .form-control::placeholder {
  color: #4d4642 !important;
  opacity: 1 !important;
}

@media (max-width: 767.98px) {
  body#category .izuter-category-intro {
    margin-bottom: 1rem;
    padding: .85rem 1rem;
  }

  body#category .izuter-category-intro .page-title-section,
  body#category .izuter-category-intro h1 {
    margin-bottom: 0;
  }

  body#category .category__description {
    display: none !important;
  }

  body.layout-left-column #left-column .izuter-category-menu .izuter-category-menu__mobile-toggle {
    display: block;
  }

  body.layout-left-column #left-column .izuter-category-menu .izuter-category-menu__nav {
    display: none;
  }

  body.layout-left-column #left-column .izuter-category-menu.is-mobile-open .izuter-category-menu__nav {
    display: block;
  }
}

.page-product #product_details_heading .izuter-product-details-static,
.page-product #product_details_heading .accordion-button {
  cursor: default;
  pointer-events: none;
}

.page-product #product_details_heading .accordion-button::after,
.page-product #product_features_heading .accordion-button::after {
  display: none;
}

.page-product #product_details_collapse {
  display: block !important;
  height: auto !important;
  visibility: visible !important;
}

.page-product #product_features_collapse {
  display: block !important;
  height: auto !important;
  visibility: visible !important;
}

/* Kontakt: szersze dane sklepu i mapa punktu stacjonarnego. */
body#contact .columns-container > .row {
  --bs-gutter-x: 2.25rem;
  align-items: stretch;
}

body#contact #left-column {
  flex: 0 0 390px;
  width: 390px;
  max-width: 390px;
}

body#contact #center-column {
  flex: 1 1 0;
  width: auto;
  max-width: calc(100% - 390px);
  min-width: 0;
}

body#contact #left-column .ps-contactinfo {
  height: 100%;
  padding: 1.5rem;
  border: 1px solid #eee7e2;
  border-radius: .35rem;
  background: #fff;
}

body#contact #left-column .ps-contactinfo__title {
  margin-bottom: 1.25rem;
  white-space: nowrap;
}

body#contact #left-column .ps-contactinfo__item {
  align-items: flex-start;
}

body#contact #left-column .ps-contactinfo__info,
body#contact #left-column .ps-contactinfo__info a,
body#contact #left-column .ps-contactinfo__info--email a {
  white-space: nowrap;
  overflow-wrap: normal;
  word-break: normal;
}

.izuter-contact-map {
  padding: 1.5rem;
  border: 1px solid #eee7e2;
  border-radius: .35rem;
  background: #fff;
}

.izuter-contact-map__title {
  margin: 0 0 .4rem;
  color: #292522;
  font-size: 1.65rem;
}

.izuter-contact-map__address {
  margin: 0 0 1rem;
  color: #5b514d;
}

.izuter-contact-map__frame {
  position: relative;
  min-height: 390px;
  overflow: hidden;
  border-radius: .3rem;
  background: #f4f1ef;
}

.izuter-contact-map__frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.izuter-contact-map__link {
  display: inline-block;
  margin-top: 1rem;
  color: #8d140b;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: .15em;
}

@media (max-width: 767.98px) {
  body#contact #left-column,
  body#contact #center-column {
    flex: 0 0 100%;
    width: 100%;
    max-width: 100%;
  }

  body#contact #left-column {
    margin-bottom: 1rem;
  }

  body#contact #left-column .ps-contactinfo,
  .izuter-contact-map {
    padding: 1rem;
  }

  body#contact #left-column .ps-contactinfo__title {
    white-space: normal;
  }

  .izuter-contact-map__frame {
    min-height: 320px;
  }
}

/* Oficjalne materiały Przelewy24 zamiast nieaktualnego paska banków. */
.izuter-payments {
  padding: .65rem 0;
  border-top: 1px solid #eee7e2;
  background: #fff;
}

.izuter-payments__logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: .6rem 1.8rem;
}

.izuter-payments__method {
  display: flex;
  align-items: center;
  gap: .65rem;
  color: #413a36;
  font-size: .95rem;
  font-weight: 600;
  white-space: nowrap;
}

.izuter-payments__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 108px;
  height: 54px;
}

.izuter-payments__logo img {
  display: block;
  width: auto;
  max-width: 108px;
  height: 54px;
  margin: 0;
  object-fit: contain;
}

.izuter-payments__method:last-child .izuter-payments__logo img {
  width: 108px;
  height: auto;
  max-height: 54px;
}

@media (max-width: 575.98px) {
  .izuter-payments__logos {
    gap: .45rem 1.2rem;
  }

  .izuter-payments__method {
    gap: .45rem;
    font-size: .85rem;
  }

  .izuter-payments__logo {
    width: 88px;
    height: 44px;
  }

  .izuter-payments__logo img {
    max-width: 88px;
    height: 44px;
  }

  .izuter-payments__method:last-child .izuter-payments__logo img {
    width: 88px;
    max-height: 44px;
  }
}
body.category-id-33 .category__cover-image,
body.category-id-33 .category__cover-image-wrap,
body.category-id-33 picture:has(> .category__cover-image) {
  display: none !important;
}
