.av-product-carousel {
  width: 100%;
  overflow: hidden;
  padding: 24px 0 40px;
}

.av-product-carousel,
.av-product-carousel * {
  box-sizing: border-box;
}

.av-product-carousel-header {
  max-width: 760px;
  margin: 0 auto 28px;
  padding: 0 20px;
  text-align: center;
}

.av-product-carousel-header h3 {
  margin: 0 0 8px;
  font-size: 30px;
  line-height: 1.2;
  color: var(--e-global-color-primary, #183f43);
}

.av-product-carousel-header p {
  margin: 0 auto;
  max-width: 760px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--e-global-color-text, #183f43);
}

.av-product-swiper {
  position: relative;
  width: 100%;
  overflow: hidden;
  outline: none !important;
  padding-bottom: 34px;
}

.av-product-swiper:focus,
.av-product-swiper:focus-visible,
.av-product-swiper .swiper-wrapper:focus,
.av-product-swiper .swiper-wrapper:focus-visible {
  outline: none !important;
}

.av-product-card {
  position: relative;
  min-width: 0;
}

.av-product-image-link {
  display: block;
  text-decoration: none !important;
}

.av-product-image-wrap {
  position: relative;
  display: block;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #f7f7f7;
}

.av-product-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  transition: opacity 0.45s ease, transform 0.65s ease;
}

.av-product-image-main {
  opacity: 1;
  z-index: 1;
}

.av-product-image-hover {
  opacity: 0;
  z-index: 2;
}

.av-product-card:hover .av-product-image-main {
  opacity: 0;
}

.av-product-card:hover .av-product-image-hover {
  opacity: 1;
  transform: scale(1.03);
}

.av-product-info {
  padding: 18px 0 0;
}

.av-product-price {
  margin-bottom: 8px;
  font-size: 14px;
  line-height: 1.3;
  font-weight: 600;
  color: var(--e-global-color-text, #333);
}

.av-product-price del {
  opacity: 0.55;
  margin-right: 6px;
}

.av-product-price ins {
  text-decoration: none;
}

.av-product-title {
  margin: 0 0 14px;
  font-size: 15px;
  line-height: 1.45;
  font-weight: 400;
}

.av-product-title a {
  color: var(--e-global-color-text, #555);
  text-decoration: none !important;
}

.av-product-title a:hover {
  color: var(--e-global-color-primary, #183f43);
}

.av-product-variations {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 14px;
}

.av-product-variation-group {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.av-product-swatch {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(0, 0, 0, 0.28);
  background: #f5f5f5;
  color: #333;
  font-size: 8px;
  line-height: 1;
}

.av-product-swatch-color {
  background: var(--av-swatch-color);
}

.av-product-swatch-color[style*="#ffffff"] {
  border-color: rgba(0, 0, 0, 0.35);
}

.av-product-variation-more {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  background: #f0f0f0;
  color: #555;
}

.av-product-cart {
  margin-top: 12px;
}

.av-product-add-to-cart,
.woocommerce .av-product-add-to-cart.button {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 10px 18px !important;
  border-radius: 999px !important;
  border: 1px solid var(--e-global-color-primary, #183f43) !important;
  background: transparent !important;
  color: var(--e-global-color-primary, #183f43) !important;
  font-size: 13px !important;
  line-height: 1 !important;
  font-weight: 500 !important;
  text-decoration: none !important;
  transition: all 0.25s ease;
}

.av-product-add-to-cart:hover,
.woocommerce .av-product-add-to-cart.button:hover {
  background: var(--e-global-color-primary, #183f43) !important;
  color: #fff !important;
}

.av-product-side-nav {
  appearance: none;
  -webkit-appearance: none;
  position: absolute;
  top: 36%;
  z-index: 10;
  width: 58px !important;
  height: 58px !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 50% !important;
  background: rgba(255, 255, 255, 0.96) !important;
  color: var(--e-global-color-primary, #183f43) !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  font-size: 30px !important;
  font-weight: 300;
  line-height: 1 !important;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.10) !important;
  transition: all 0.25s ease;
}

.av-product-prev {
  left: 12px;
}

.av-product-next {
  right: 12px;
}

.av-product-side-nav:hover {
  background: var(--e-global-color-primary, #183f43) !important;
  color: #fff !important;
}

.av-product-side-nav:focus,
.av-product-side-nav:focus-visible {
  outline: none !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.10) !important;
}

.av-product-progress {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 320px;
  max-width: 70%;
  transform: translateX(-50%);
  z-index: 5;
}

.av-product-progress .swiper-pagination {
  position: static !important;
  height: 3px !important;
  background: rgba(24, 63, 67, 0.18) !important;
}

.av-product-progress .swiper-pagination-progressbar-fill {
  background: var(--e-global-color-primary, #183f43) !important;
}

@media (max-width: 767px) {
  .av-product-carousel {
    padding: 20px 0 34px;
  }

  .av-product-carousel-header {
    max-width: 100%;
    padding: 0 14px;
    margin: 0 auto 18px;
  }

  .av-product-carousel-header h3 {
    font-size: 28px;
  }

  .av-product-carousel-header p {
    font-size: 13px;
  }

  .av-product-info {
    padding-top: 14px;
  }

  .av-product-side-nav {
    width: 48px !important;
    height: 48px !important;
    font-size: 26px !important;
  }

  .av-product-prev {
    left: 8px;
  }

  .av-product-next {
    right: 8px;
  }

  .av-product-progress {
    width: 240px;
  }
}
