.promoted-accessories {
  margin: 2rem 0;
}

.promoted-accessories .promoted-accessories__title {
  margin-bottom: .5rem;
  font-size: 2rem;
  line-height: 1;
  font-weight: 500;
}

/* ─── Siatka ─────────────────────────────────────────────────── */

.promoted-accessories .promoted-accessories__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2.6rem;
}

/* Każdy element: dokładnie 1/6 dostępnej szerokości, max 204px */
.promoted-accessories .promoted-accessories__item {
  flex: 0 0 calc((100% - 5 * 2.6rem) / 6);
}

.promoted-accessories--bordered .promoted-accessories__item {
  padding: 5px;
  border: .1rem solid #ddd;
  border-radius: .8rem;
}

/* ─── Obrazki i linki ─────────────────────────────────────────── */

.promoted-accessories .promoted-accessories__link {
  display: block;
  width: 100%;
}

.promoted-accessories .promoted-accessories__img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: .8rem;
  aspect-ratio: 204 / 152;
}

.promoted-accessories .promoted-accessories__img:hover:not(a[href="javascript:void(0)"] > .promoted-accessories__img) {
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  border: 1px solid #111;
}

/* ================================================================
   RESPONSIVE
   ================================================================ */

/* ─── ≤ 991.98px: 4 w rzędzie (4+2) ────────────────────────────
   Przy 960px: (960 - 3×26) / 4 = 208.5px → max-width 204px → OK
   Przy 768px: (768 - 78) / 4 = 172.5px → lekkie kurczenie → OK  */
@media (max-width: 991.98px) {
  .promoted-accessories .promoted-accessories__item {
    flex: 0 1 calc((100% - 3 * 2.6rem) / 4);
  }
}

/* ─── ≤ 767.98px: 3 w rzędzie (3+3) ────────────────────────────
   Przy 767px: (767 - 2×26) / 3 = 238px → max-width 204px → OK
   Przy 575px: (575 - 52) / 3 = 174.3px → lekkie kurczenie → OK  */
@media (max-width: 767.98px) {
  .promoted-accessories .promoted-accessories__item {
    flex: 0 1 calc((100% - 2 * 2.6rem) / 3);
  }
}

/* ─── ≤ 575.98px: 2 w rzędzie (2+2+2) ──────────────────────────
   Przy 575px: (575 - 26) / 2 = 274.5px → max-width 204px → OK
   Przy 360px: (360 - 26) / 2 = 167px → lekkie kurczenie → OK    */
@media (max-width: 575.98px) {
  .promoted-accessories .promoted-accessories__item {
    flex: 0 1 calc((100% - 2.6rem) / 2);
  }
}

/* ================================================================
   SLIDER MODE  (.promoted-accessories--slider)
   ================================================================ */

.promoted-accessories--slider .promoted-accessories__carousel-wrapper {
  position: relative;
}

.promoted-accessories--slider .promoted-accessories__slide {
  width: 100%;
}

.promoted-accessories--slider .promoted-accessories__link {
  display: block;
  width: 100%;
}

/* ─── Strzałki (identyczne pozycjonowanie jak our-collection) ── */

.promoted-accessories--slider .owl-nav {
  margin: 0;
}

.promoted-accessories--slider .owl-prev,
.promoted-accessories--slider .owl-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 4.1rem;
  height: 4.1rem;
  border-radius: 50% !important;
  border: 1px solid #CACACA !important;
  background: #fff !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  margin: 0 !important;
  padding: 0 !important;
  cursor: pointer;
  transition: border-color .2s;
  line-height: 0;
}

.promoted-accessories--slider .owl-prev {
  left: -2.05rem;
}

.promoted-accessories--slider .owl-next {
  right: -2.05rem;
}

.promoted-accessories--slider .owl-prev:hover,
.promoted-accessories--slider .owl-next:hover {
  border-color: #626262 !important;
}

.promoted-accessories--slider .owl-prev.disabled,
.promoted-accessories--slider .owl-next.disabled {
  opacity: .35;
  cursor: default;
}
