/**
 * Copyright since 2007 PrestaShop SA and Contributors
 * PrestaShop is an International Registered Trademark & Property of PrestaShop SA
 *
 * NOTICE OF LICENSE
 *
 * This source file is subject to the Academic Free License version 3.0
 * that is bundled with this package in the file LICENSE.md.
 * It is also available through the world-wide-web at this URL:
 * https://opensource.org/licenses/AFL-3.0
 * If you did not receive a copy of the license and are unable to
 * obtain it through the world-wide-web, please send an email
 * to license@prestashop.com so we can send you a copy immediately.
 *
 * @author    PrestaShop SA and Contributors <contact@prestashop.com>
 * @copyright Since 2007 PrestaShop SA and Contributors
 * @license   https://opensource.org/licenses/AFL-3.0 Academic Free License version 3.0
 */
.homeslider-container {
  margin-bottom: 0;
  position: relative;
  float: left;
  width: 100%;
  padding-top: 15px;
}

.homeslider {
  position: relative;
  list-style: none;
  overflow: hidden;
  width: 100%;
  padding: 0;
  margin: 0;
}

.homeslider li {
  position: absolute;
  width: 100%;
  left: 0;
  top: 0;
}

.homeslider img {
  display: block;
  position: relative;
  z-index: 1;
  height: auto;
  width: 100%;
  border: 0;
}

.homeslider .caption {
  display: block;
  position: absolute;
  z-index: 2;
  font-size: 1em;
  text-shadow: none;
  color: #fff;
  background: #000;
  background: rgba(0, 0, 0, .6);
  left: 0;
  right: 0;
  bottom: 0;
  padding: 10px 20px;
  margin: 0;
  max-width: none;
}

.homeslider_nav {
  position: absolute;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  top: 52%;
  left: 0;
  opacity: 0.7;
  z-index: 3;
  text-indent: -9999px;
  overflow: hidden;
  text-decoration: none;
  height: 61px;
  width: 38px;
  background: transparent url("../homeslider.gif") no-repeat left top;
  margin-top: -45px;
}

.homeslider_nav:active {
  opacity: 1.0;
}

.homeslider_nav.next {
  left: auto;
  background-position: right top;
  right: 0;
}

/* Strzałki dla #homeslider — bez obrazków */
.homeslider-container {
  position: relative !important;
}

/* rodzic do pozycjonowania */

.homeslider-container a.homeslider_nav {
  position: absolute !important;
  top: 54% !important;
  left: 12px !important;
  /* prev po lewej */
  transform: translateY(-50%) !important;
  z-index: 3 !important;

  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;

  width: 44px !important;
  height: 44px !important;
  border-radius: 50% !important;
  /* ukryj tekst "Previous/Next" */
  font-size: 0 !important;
  line-height: 0 !important;
  text-decoration: none !important;
  background-image: none !important;
  /* kasuje GIF */
  overflow: visible !important;

  transition: background-color .2s ease, box-shadow .2s ease, opacity .2s ease;
}

.homeslider-container a.homeslider_nav::before {
  content: "" !important;
  display: block !important;
  /* <— kluczowe */
  width: 12px !important;
  height: 12px !important;
  border-right: 2px solid #000 !important;
  border-bottom: 2px solid #000 !important;
  transform: rotate(135deg) !important;
  /* prev: w lewo */
}

.homeslider-container a.homeslider_nav:hover,
.homeslider-container a.homeslider_nav:focus-visible {
  background: rgba(0, 0, 0, .7) !important;
}

/* Next po prawej + obrócenie grotu */
.homeslider-container a.homeslider_nav.next,
.homeslider-container a.homeslider_nav.homeslider1_nav_next {
  left: auto !important;
  right: 12px !important;
}

.homeslider-container a.homeslider_nav.next::before,
.homeslider-container a.homeslider_nav.homeslider1_nav_next::before {
  transform: rotate(-45deg) !important;
}

/* (opcjonalnie) jawne przypięcie prev po lewej */
.homeslider-container a.homeslider_nav.homeslider1_nav_prev {
  left: 12px !important;
  right: auto !important;
}

/* Pokazuj od razu tylko pierwszy slajd, resztę ukryj do czasu inicjalizacji */
.homeslider-container .rslides>li {
  display: none;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
}

.homeslider-container .rslides>li:first-child {
  display: block;
  position: relative;
}