/* Frosted circle arrow. Add wa-carousel-arrow plus --prev or --next on the control. */

:root {
  --wa-nav-chevron-left: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M15.5 4.5L8 12l7.5 7.5' fill='none' stroke='%23000' stroke-width='2.25' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  --wa-nav-chevron-right: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8.5 4.5L16 12l-7.5 7.5' fill='none' stroke='%23000' stroke-width='2.25' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.wa-carousel-arrow {
  pointer-events: all;
  position: absolute !important;
  top: 50% !important;
  bottom: auto !important;
  transform: translateY(-50%) !important;
  width: 40px !important;
  height: 40px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 1px solid rgba(0, 0, 0, 0.05) !important;
  border-radius: 50% !important;
  background: rgba(255, 255, 255, 0.72) !important;
  background-image: none !important;
  color: rgba(26, 26, 26, 0.75) !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08) !important;
  opacity: 0.72 !important;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  cursor: pointer;
  font-size: 0 !important;
  line-height: 0 !important;
  text-decoration: none !important;
  overflow: visible;
  z-index: 8;
  display: flex !important;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease, opacity 0.2s ease, color 0.2s ease;
}

.wa-carousel-arrow > .carousel-control-prev-icon,
.wa-carousel-arrow > .carousel-control-next-icon {
  display: none !important;
}

.wa-carousel-arrow::before {
  content: "" !important;
  display: block;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  background-color: currentColor;
  color: inherit !important;
  -webkit-mask: var(--wa-nav-chevron-left) center / contain no-repeat;
  mask: var(--wa-nav-chevron-left) center / contain no-repeat;
  opacity: 1 !important;
  font-size: 0 !important;
}

.wa-carousel-arrow--next::before {
  -webkit-mask-image: var(--wa-nav-chevron-right);
  mask-image: var(--wa-nav-chevron-right);
}

.wa-carousel-arrow--prev {
  left: 6px !important;
  right: auto !important;
}

.wa-carousel-arrow--next {
  right: 6px !important;
  left: auto !important;
}

.wa-carousel-arrow:hover {
  background: rgba(255, 255, 255, 0.95) !important;
  border-color: rgba(0, 0, 0, 0.08) !important;
  color: #1a1a1a !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12) !important;
  opacity: 1 !important;
  transform: translateY(-50%) scale(1.06) !important;
}

.wa-carousel-arrow:active {
  transform: translateY(-50%) scale(0.97) !important;
}

.wa-carousel-arrow.disabled {
  opacity: 0.4 !important;
  cursor: default;
  pointer-events: none;
}

@media (max-width: 768px) {
  .wa-carousel-arrow {
    width: 34px !important;
    height: 34px !important;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.14) !important;
  }

  .wa-carousel-arrow::before {
    width: 14px;
    height: 14px;
  }
}
