/* === Nase prodejny – carousel sekce === */

/* Oprava zapati po presunu banneru prodejen */
.footer-banner[data-editorid="element-331"] {
  display: none !important;
}

.footer-banner[data-editorid="element-322"] {
  width: 100% !important;
  max-width: 100% !important;
  flex: 0 0 100% !important;
}

.our-stores {
  position: relative;
  background-color: #239D38;
  background-image: url('/user/documents/upload/our_stores/pozadi.svg');
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: 100% auto;
  overflow: hidden;
  padding: 52px 0 60px;
  font-family: 'Nunito Sans', sans-serif;
  margin: 50px auto 30px;
  box-sizing: border-box;
}

/* Shoptet container sirky 
@media (min-width: 768px)  { .our-stores { width: 742px; } }
@media (min-width: 992px)  { .our-stores { width: 972px; } }
@media (min-width: 1200px) { .our-stores { width: 1178px; } }
@media (min-width: 1440px) { .our-stores { width: 1394px; } }*/

.our-stores *,
.our-stores *::before,
.our-stores *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.our-stores__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

.our-stores__title {
  color: #fff !important;
  font-size: 28px !important;
  font-weight: 700 !important;
  text-align: center !important;
  margin: 0 0 36px 0 !important;
  line-height: 1.3 !important;
  letter-spacing: -0.01em;
}

/* === Carousel layout === */

.our-stores__carousel-wrap {
  position: relative;
}

.our-stores__carousel {
  overflow: hidden;
}

.our-stores__track {
  display: flex;
  gap: 20px;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}

/* === Card === */

.our-stores__card {
  flex: 0 0 calc(25% - 15px);
  min-width: 0;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  cursor: default;
}

.our-stores__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.13);
}

/* Card image */

.our-stores__card-img {
  width: 100%;
  height: 140px;
  overflow: hidden;
  background: #E5E5E5;
  flex-shrink: 0;
  position: relative;
}

.our-stores__card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.55s ease;
}

.our-stores__card:hover .our-stores__card-img img {
  transform: scale(1.07);
}

/* Card body */

.our-stores__card-body {
  padding: 18px 20px 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.our-stores__card-name {
  font-size: 15px !important;
  font-weight: 700 !important;
  color: #24242E !important;
  margin: 0 0 5px 0 !important;
  line-height: 1.35 !important;
}

.our-stores__card-address {
  font-size: 12.5px !important;
  color: #888 !important;
  line-height: 1.45 !important;
  margin: 0 !important;
}

/* Meta (hours + phone) pushed to bottom */

.our-stores__card-meta {
  margin-top: auto;
  padding-top: 14px;
}

.our-stores__card-info {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #24242E;
  margin-bottom: 5px;
  line-height: 1.4;
}

.our-stores__card-info:last-child {
  margin-bottom: 0;
}

.our-stores__card-icon {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  display: block;
}

.our-stores__card-info span,
.our-stores__card-info a {
  font-size: 13px !important;
  color: #24242E !important;
  text-decoration: none !important;
  transition: color 0.2s ease;
  line-height: 1.4;
}

.our-stores__card-info a:hover {
  color: #239D38 !important;
}

/* === Navigation arrows === */

.our-stores__arrow {
  display: none;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.93);
  border: none;
  cursor: pointer;
  z-index: 3;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
  transition: background 0.2s ease, box-shadow 0.2s ease, opacity 0.25s ease;
  padding: 0;
  color: #24242E;
  -webkit-tap-highlight-color: transparent;
}

.our-stores__arrow:hover {
  background: #fff;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.16);
}

.our-stores__arrow:active {
  transform: translateY(-50%) scale(0.95);
}

.our-stores__arrow:disabled {
  opacity: 0.3;
  cursor: default;
  pointer-events: none;
}

.our-stores__arrow--prev {
  left: -8px;
}

.our-stores__arrow--next {
  right: -8px;
}

.our-stores__arrow svg {
  width: 20px;
  height: 20px;
  display: block;
  margin: auto;
}

/* === Dots === */

.our-stores__dots {
  display: none;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 28px;
}

.our-stores__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.3s ease, transform 0.3s ease;
  -webkit-tap-highlight-color: transparent;
}

.our-stores__dot:hover {
  background: rgba(255, 255, 255, 0.55);
}

.our-stores__dot.active {
  background: #fff;
  transform: scale(1.3);
}

/* ==============================
   RESPONSIVE
   ============================== */

/* Tablet: 2 cards visible */
@media screen and (max-width: 1199px) {
  .our-stores__card {
    flex: 0 0 calc(50% - 10px);
  }

  .our-stores__arrow {
    display: flex;
  }

  .our-stores__dots {
    display: flex;
  }
}

/* Small tablet */
@media screen and (max-width: 767px) {
  .our-stores {
    padding: 40px 0 48px;
  }

  .our-stores__title {
    font-size: 24px !important;
    margin-bottom: 28px !important;
  }

  .our-stores__card-img {
    height: 130px;
  }
}

/* Mobile: 1 card visible */
@media screen and (max-width: 479px) {
  .our-stores {
    padding: 32px 0 40px;
  }

  .our-stores__inner {
    padding: 0 16px;
  }

  .our-stores__title {
    font-size: 22px !important;
    margin-bottom: 22px !important;
  }

  .our-stores__card {
    flex: 0 0 100%;
  }

  .our-stores__card-img {
    height: 180px;
  }

  .our-stores__card-name {
    font-size: 16px !important;
  }

  .our-stores__card-address {
    font-size: 13px !important;
  }

  .our-stores__card-info span,
  .our-stores__card-info a {
    font-size: 14px !important;
  }

  .our-stores__arrow {
    width: 36px;
    height: 36px;
  }

  .our-stores__arrow svg {
    width: 18px;
    height: 18px;
  }

  .our-stores__arrow--prev {
    left: -2px;
  }

  .our-stores__arrow--next {
    right: -2px;
  }

  .our-stores__dots {
    margin-top: 22px;
  }
}
