.abwc-wrap { position: relative; width: 100%; }

/* Safeguards: avoid Elementor/theme box-sizing surprises */
.abwc-wrap, .abwc-wrap * { box-sizing: border-box; }

/* Swiper base styles */
.abwc-swiper {
	width: 100%;
	height: 100%;
	overflow: hidden;
}

.abwc-swiper .swiper-wrapper {
	display: flex;
	transition-property: transform;
	box-sizing: content-box;
}

.abwc-swiper .swiper-slide {
	flex-shrink: 0;
	width: 100%;
	height: 100%;
	position: relative;
	transition-property: transform;
}

.abwc-card-wrapper {
  width: 100%;
  height: 100%;
  display: block;
  position: relative;
}

.abwc-card {
  display: block;
  text-decoration: none;
  overflow: hidden;
  width: 100%;
  height: 100%;
  position: relative;
}

/* For categories where card is direct link in slide */
.swiper-slide > .abwc-card {
  display: block;
  text-decoration: none;
  overflow: hidden;
  width: 100%;
  height: 100%;
  position: relative;
}

/* Center alignment helpers */
.abwc-card .abwc-rating {
  display: flex;
  justify-content: center;
}

.abwc-card .abwc-rating .star-rating {
  margin-left: auto;
  margin-right: auto;
}

.abwc-thumb {
  width: 100%;
  height: auto;
  overflow: hidden;
  display: block;
}

.abwc-thumb img {
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

.abwc-title {
  display: block;
  line-height: 1.3;
  font-weight: 600;
  margin-top: 12px;
}

.abwc-title a {
  text-decoration: none;
  color: inherit;
  display: block;
}

.abwc-title a:hover {
  text-decoration: underline;
}

.abwc-count {
  font-weight: 500;
  opacity: 0.75;
  margin-left: 6px;
}

.abwc-meta {
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.abwc-price .price { 
  display: inline-block; 
}

.abwc-rating {
  display: flex;
  justify-content: center;
  width: 100%;
}

.abwc-rating .star-rating {
  float: none;
  margin: 0 0 6px 0;
}

.abwc-atc {
  width: 100%;
  display: flex;
  justify-content: center;
}

.abwc-atc a.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 8px;
  width: 100%;
  max-width: 100%;
}

/* Empty state */
.abwc-empty {
  padding: 16px;
  border: 1px dashed #ccc;
  border-radius: 10px;
}

/* Arrows */
.abwc-arrow {
  position: absolute;
  top: 45%;
  transform: translateY(-50%);
  z-index: 5;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.12);
  background: #fff;
  color: #111;
}

.abwc-prev { left: -8px; }
.abwc-next { right: -8px; }

.abwc-arrow span {
  font-size: 26px;
  line-height: 1;
}

/* Dots */
.abwc-dots {
  margin-top: 14px;
  text-align: center;
  position: relative;
}

.abwc-dots .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  display: inline-block;
  border-radius: 50%;
  background: #ccc;
  opacity: 0.5;
  margin: 0 4px;
  cursor: pointer;
  transition: opacity 0.3s, background 0.3s;
}

.abwc-dots .swiper-pagination-bullet-active {
  opacity: 1;
  background: #333;
}

/* Swiper navigation arrows base */
.abwc-swiper .swiper-button-disabled {
  opacity: 0.35;
  cursor: auto;
  pointer-events: none;
}

/* View More Button - Below carousel */
.abwc-view-more-wrap {
  margin-top: 24px;
  text-align: center !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
}

/* View More Button - In each card */
.abwc-view-more-card {
  margin-top: 12px;
  text-align: center !important;
  padding: 0 8px 8px;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  width: 100%;
}

.abwc-view-more-card .abwc-view-more {
  display: inline-block;
  width: auto;
  min-width: 120px;
  text-align: center;
  margin: 0 auto !important;
}

.abwc-view-more {
  display: inline-block;
  padding: 12px 24px;
  background-color: #333;
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
  text-align: center;
  margin: 0 auto;
}

.abwc-view-more:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}
