/* Strona główna: oryginalny pas korzyści i logotypy marek. */
body#index .header {
  position: relative;
}

.izuter-top-phone {
  display: flex;
  align-items: center;
  gap: .65rem;
  min-height: 40px;
  color: #222;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 15px;
  line-height: 1.2;
}

.izuter-top-phone__facebook {
  display: inline-flex;
  align-items: flex-end;
  justify-content: center;
  flex: 0 0 31px;
  width: 31px;
  height: 31px;
  border-radius: 4px;
  background: #9b150f;
  color: #fff;
  font-family: Arial, sans-serif;
  font-size: 29px;
  font-weight: 700;
  line-height: 31px;
  text-decoration: none;
}

.izuter-top-phone__facebook:hover,
.izuter-top-phone__facebook:focus-visible {
  background: #76100b;
  color: #fff;
}

.izuter-top-phone__number {
  color: inherit;
  font-weight: 700;
  text-decoration: none;
}

.izuter-top-phone__number:hover,
.izuter-top-phone__number:focus-visible {
  color: #9b150f;
}

.header-top__right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1.25rem;
}

/* Układ nagłówka jak w starym sklepie: szukaj – logo – koszyk, menu niżej. */
@media (min-width: 1200px) {
  .header-bottom__container {
    width: 100%;
    max-width: 1400px;
    padding-right: 1rem;
    padding-left: 1rem;
  }

  .header-bottom__row {
    display: grid;
    grid-template-columns: minmax(330px, 1fr) auto minmax(330px, 1fr);
    grid-template-rows: minmax(150px, auto) auto;
    align-items: center !important;
    column-gap: 2rem;
    row-gap: .9rem;
    margin: 0;
  }

  .header-bottom__logo {
    grid-column: 2;
    grid-row: 1;
    justify-self: center;
    margin: 0 !important;
    padding: .75rem 0 1rem;
  }

  .header-bottom__logo img {
    width: auto;
    max-width: 290px;
    max-height: 130px;
  }

  .header-bottom__row #_desktop_ps_searchbar {
    grid-column: 1;
    grid-row: 1;
    justify-self: start;
    width: min(100%, 320px);
    margin: 0 !important;
    padding: 0;
  }

  .header-bottom__row > .ps-mainmenu {
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
    max-width: none;
    padding: 0;
    margin-top: .35rem;
    border-top: 1px solid #eee7e2;
  }

  .header-bottom__row .ps-mainmenu__tree {
    justify-content: flex-start;
    width: 100%;
    max-width: 1400px;
    margin-right: auto;
    margin-left: auto;
  }

  .header-bottom__row .ps-mainmenu__tree-link {
    padding-right: .8rem;
    padding-left: .8rem;
  }
}

@media (min-width: 1200px) {
  .izuter-brands {
    margin-top: 1.35rem;
  }
}

.izuter-benefits {
  padding-top: 1.25rem;
  padding-bottom: .75rem;
  text-align: center;
}

.izuter-benefits--footer {
  max-width: 1400px;
  margin: 1.5rem auto .5rem;
}

.izuter-benefits a,
.izuter-benefits img {
  display: block;
  width: 100%;
}

.izuter-benefits img {
  height: auto;
  max-height: 110px;
  object-fit: contain;
}

.izuter-brands {
  max-width: 880px;
  margin: .75rem auto .4rem;
}

.izuter-brands__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: center;
}

.izuter-brands__grid a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: .15rem .5rem;
  background: #fff;
}

.izuter-brands__grid img {
  display: block;
  width: 100%;
  max-width: 190px;
  max-height: 54px;
  object-fit: contain;
  filter: grayscale(100%);
  transition: opacity .2s ease, filter .2s ease;
}

.izuter-brands__grid a:hover img,
.izuter-brands__grid a:focus-visible img {
  filter: grayscale(0%);
  opacity: .72;
}

.izuter-brands__title {
  margin: .3rem 0 0;
  color: #8d140b;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-transform: none;
}

@media (max-width: 767.98px) {
  .izuter-benefits {
    padding: .45rem .4rem;
  }

  .izuter-benefits img {
    width: 100%;
    height: auto;
    min-height: 0;
    max-height: none;
    object-fit: contain;
  }

  .izuter-brands {
    margin-top: .35rem;
  }

  .izuter-brands__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .izuter-brands__grid a {
    min-height: 45px;
    padding: .1rem .3rem;
  }

  .izuter-brands__grid img {
    max-height: 42px;
  }
}

/* Jeden, zwarty format wszystkich slajdów niezależnie od rozmiaru pliku. */
body#index .ps-imageslider {
  width: calc(100% - 2rem);
  max-width: 1400px;
  margin-right: auto;
  margin-left: auto;
  overflow: hidden;
  background: #f5f1ee;
}

body#index .ps-imageslider__figure {
  width: 100%;
  height: auto;
  aspect-ratio: 1400 / 440;
  overflow: hidden;
}

body#index .ps-imageslider__figure img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

body#index .ps-imageslider__figcaption {
  right: 50%;
  bottom: 8%;
  left: auto;
  width: min(560px, 70%);
  padding: 1.25rem 1.5rem;
  transform: translateX(50%);
}

body#index .ps-imageslider__figcaption h2 {
  margin-bottom: .4rem;
  font-size: clamp(1.45rem, 2.2vw, 2.15rem);
}

body#index .ps-imageslider__figcaption p {
  font-size: clamp(.95rem, 1.25vw, 1.15rem);
}

@media (max-width: 991.98px) {
  body#index .ps-imageslider {
    width: 100%;
  }

  body#index .ps-imageslider__figure {
    height: auto;
    aspect-ratio: 16 / 6;
  }
}

@media (max-width: 767.98px) {
  body#index .ps-imageslider__figure {
    aspect-ratio: 16 / 8;
  }
}

/* Kolejność sekcji strony głównej i oryginalny baner Ti Sento. */
body#index .page-content--home > .ps-imageslider {
  order: 10;
}

body#index .page-content--home > .ps-customtext {
  order: 20;
}

body#index .ps-customtext .container {
  max-width: 1180px;
  text-align: center;
}

body#index .ps-customtext h2 {
  margin-bottom: .75rem;
  color: #8d140b;
  font-size: clamp(1.55rem, 2.4vw, 2.15rem);
  text-transform: none;
}

body#index .ps-customtext h3 {
  margin: 1.15rem 0 .55rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.15rem, 1.7vw, 1.45rem);
}

body#index .ps-customtext p {
  max-width: 1080px;
  margin: 0 auto;
  line-height: 1.55;
}

body#index .page-content--home > .izuter-promo-banner {
  order: 30;
}

body#index .page-content--home > .ps-featuredproducts {
  order: 40;
}

body#index .page-content--home > .ps-newproducts {
  order: 50;
}

body#index .page-content--home > .ps-bestsellers {
  order: 60;
}

.izuter-promo-banner {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
}

.izuter-promo-banner__link,
.izuter-promo-banner img {
  display: block;
  width: 100%;
}

.izuter-promo-banner img {
  height: auto;
  border-radius: .15rem;
}

/* Równe i spokojniejsze wizualnie karty produktów na stronie głównej. */
body#index .module-products__list .products {
  align-items: stretch;
}

body#index .product-miniature,
body#index .product-miniature__inner {
  height: 100%;
}

body#index .product-miniature__inner {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #eee7e2;
  border-radius: .25rem;
  box-shadow: 0 .25rem 1.1rem rgba(58, 40, 34, .06);
}

body#index .product-miniature__top,
body#index .product-miniature__image-container,
body#index .product-miniature__image-link {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #fff;
}

body#index .product-miniature__image {
  width: 100%;
  height: 100%;
  padding: .65rem;
  object-fit: contain;
}

body#index .product-miniature__bottom {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: .85rem .75rem 1rem;
}

body#index .product-miniature__infos {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
}

body#index .product-miniature__title {
  display: -webkit-box;
  min-height: 2.8em;
  overflow: hidden;
  color: #8d140b;
  font-family: Georgia, "Times New Roman", serif;
  font-size: .9rem;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

body#index .product-miniature__prices {
  min-height: 2rem;
  margin-top: .35rem;
}

body#index .product-miniature__price {
  color: #211347;
  font-size: 1rem;
  font-weight: 700;
}

body#index .product-miniature__actions {
  width: 100%;
  margin-top: auto;
}

body#index .product-miniature__form {
  display: flex;
  justify-content: center;
}

body#index .product-miniature__form .quantity-button {
  display: none;
}

body#index .product-miniature__add,
body#index .product-miniature__details {
  width: auto;
  min-width: 142px;
  min-height: 36px;
  padding: .45rem 1rem;
  border-color: #322f2d;
  border-radius: 999px;
  background: #322f2d;
  color: #fff;
  font-size: .78rem;
  line-height: 1.2;
}

body#index .product-miniature__add:hover,
body#index .product-miniature__details:hover {
  border-color: #8d140b;
  background: #8d140b;
  color: #fff;
}

body#index .product-miniature__add .material-icons {
  font-size: 1rem;
}

/* Pasek płatności i dane firmy jak w poprzedniej wersji sklepu. */
.izuter-payments {
  padding: 1.25rem 0 1rem;
  background: #fff;
  text-align: center;
}

.izuter-watches-banner {
  padding: 1.4rem 0 1rem;
  background: #fff;
}

.izuter-watches-banner a,
.izuter-watches-banner img {
  display: block;
  width: 100%;
}

.izuter-watches-banner img {
  max-width: 1300px;
  height: auto;
  margin: 0 auto;
  object-fit: contain;
}

.izuter-payments img {
  display: block;
  width: 100%;
  max-width: 1100px;
  height: auto;
  margin: 0 auto;
  object-fit: contain;
}

.izuter-company {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .35rem 1rem;
  margin: .25rem 0 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, .18);
  color: #ddd;
  font-size: .84rem;
  text-align: center;
}

.izuter-company a {
  color: #fff;
}

@media (max-width: 575.98px) {
  body#index .page-content--home {
    gap: 1.6rem;
  }

  .izuter-promo-banner {
    padding: 0 .5rem;
  }

  .izuter-promo-banner img {
    min-height: 92px;
    object-fit: cover;
    object-position: center;
  }

  body#index .product-miniature__image {
    padding: .35rem;
  }

  body#index .product-miniature__bottom {
    padding: .65rem .4rem .75rem;
  }

  body#index .product-miniature__title {
    font-size: .78rem;
  }

  body#index .product-miniature__add,
  body#index .product-miniature__details {
    min-width: 0;
    width: 100%;
    padding-right: .5rem;
    padding-left: .5rem;
    font-size: .7rem;
  }

  .izuter-payments {
    padding: .8rem .35rem;
  }

  .izuter-watches-banner {
    padding: .75rem .4rem;
  }

  .izuter-company {
    flex-direction: column;
    align-items: center;
  }
}
