.wanha-swiper {
  width: 100%;
  min-width: 0;
  max-width: 100%;
}

/* Swiper's positioned slide layer must not cover the theme's arrow controls. */
.restaurant-testimonials-slider .restaurant-testimonials-button {
  z-index: 2;
}

.restaurant-testimonials-button button {
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.restaurant-testimonials-button button:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}

.wanha-swiper > .swiper-wrapper {
  align-items: stretch;
}

.wanha-swiper > .swiper-wrapper > .swiper-slide {
  height: auto;
  min-width: 0;
  box-sizing: border-box;
}

.wanha-swiper .fast-food-products-card {
  height: 100%;
}

/* The editor lays out every slide vertically; ancestors must not clip them. */
body.scomediting .products-dishes-slider:has(.swiper-disabled-for-edit),
body.scomediting .restaurant-testimonials-slider:has(.swiper-disabled-for-edit),
body.scomediting .fast-food-products-slider:has(.swiper-disabled-for-edit),
body.scomediting .restaurant-testimonials-panel:has(.swiper-disabled-for-edit) {
  overflow: visible !important;
}

body.scomediting .wanha-swiper.swiper-disabled-for-edit {
  overflow: visible !important;
  height: auto !important;
}

body.scomediting .wanha-swiper.swiper-disabled-for-edit > .swiper-wrapper > .swiper-slide {
  margin-bottom: 24px;
}
