/* ==========================================================
   W.Rubens Advanced Testimonial Carousel — style.css
   Snippet ID: 45580 | Version: 1.0.0
========================================================== */

/* ── Wrapper ─────────────────────────────────────────── */
.wrt-45580-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

/* ── Custom Cursors ──────────────────────────────────── */
.wrt-45580-wrapper.cursor-drag {
  cursor: grab;
}
.wrt-45580-wrapper.cursor-drag:active {
  cursor: grabbing;
}
.wrt-45580-wrapper.cursor-next {
  cursor: e-resize;
}

/* ── Swiper Reset ────────────────────────────────────── */
.wrt-45580-swiper {
  width: 100%;
  overflow: visible;
}
.wrt-45580-swiper .swiper-wrapper {
  align-items: stretch;
}
.wrt-45580-swiper .swiper-slide {
  height: auto;
  box-sizing: border-box;
}

/* ── Card ────────────────────────────────────────────── */
.wrt-45580-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  box-sizing: border-box;
  background-color: #ffffff;
  transition: border-color 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              box-shadow 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  overflow: hidden;
}
.wrt-45580-card.is-bordered {
  border: 1px solid #eeeeee;
}
.wrt-45580-card.is-bordered:hover {
  border-color: #111111;
}

/* ── Inner Split Layout ──────────────────────────────── */
.wrt-45580-inner {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  width: 100%;
  height: 100%;
  gap: 40px;
}
.wrt-45580-inner.is-reversed {
  flex-direction: row-reverse;
}

/* ── Image Column ────────────────────────────────────── */
.wrt-45580-image-col {
  flex: 0 0 45%;
  max-width: 45%;
  overflow: hidden;
  position: relative;
}

/* ── Image Wrap & Aspect Ratios ──────────────────────── */
.wrt-45580-image-wrap {
  width: 100%;
  height: 100%;
  overflow: hidden;
  position: relative;
}
.wrt-45580-image-wrap.aspect-1-1 {
  aspect-ratio: 1 / 1;
}
.wrt-45580-image-wrap.aspect-4-5 {
  aspect-ratio: 4 / 5;
}
.wrt-45580-image-wrap.aspect-original {
  aspect-ratio: auto;
  height: 100%;
}
.wrt-45580-customer-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}
.wrt-45580-card.has-zoom:hover .wrt-45580-customer-img {
  transform: scale(1.06);
}

/* ── Content Column ──────────────────────────────────── */
.wrt-45580-content {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
  min-width: 0;
}

/* ── Stars ───────────────────────────────────────────── */
.wrt-45580-stars {
  display: flex;
  flex-direction: row;
  gap: 2px;
  line-height: 1;
}
.wrt-45580-star {
  font-style: normal;
  font-size: 16px;
  line-height: 1;
  display: inline-block;
}
.wrt-45580-star.filled {
  color: #111111;
}
.wrt-45580-star.empty {
  color: #cccccc;
}
.wrt-45580-star.half {
  position: relative;
  color: #cccccc;
}
.wrt-45580-star.half::before {
  content: '\2605';
  position: absolute;
  left: 0;
  top: 0;
  width: 50%;
  overflow: hidden;
  color: #111111;
}

/* ── Quote ───────────────────────────────────────────── */
.wrt-45580-quote {
  margin: 0;
  padding: 0;
  border: none;
  font-size: 1rem;
  line-height: 1.7;
  color: #333333;
  font-style: italic;
}

/* ── Read More ───────────────────────────────────────── */
.wrt-45580-read-more {
  display: inline-block;
  margin-top: 6px;
  background: none;
  border: none;
  padding: 0;
  font-size: 0.85rem;
  font-weight: 600;
  color: #111111;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: opacity 0.2s ease;
}
.wrt-45580-read-more:hover {
  opacity: 0.6;
}

/* ── Author Row ──────────────────────────────────────── */
.wrt-45580-author {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.wrt-45580-author-name {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.8rem;
  color: #111111;
}

/* ── Verified Badge ──────────────────────────────────── */
.wrt-45580-verified {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  background-color: #111111;
  color: #ffffff;
  padding: 3px 8px;
  border-radius: 2px;
  line-height: 1.4;
}

/* ── Location ────────────────────────────────────────── */
.wrt-45580-location {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  color: #888888;
  letter-spacing: 0.3px;
}
.wrt-45580-flag {
  width: 18px;
  height: auto;
  display: inline-block;
  vertical-align: middle;
  border-radius: 2px;
}

/* ── Product Card ────────────────────────────────────── */
.wrt-45580-product-card {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  background-color: #f8f8f8;
  padding: 12px;
  margin-top: 4px;
  border-radius: 2px;
  box-sizing: border-box;
}
.wrt-45580-product-img-link {
  flex: 0 0 56px;
  display: block;
}
.wrt-45580-product-img {
  width: 56px;
  height: 56px;
  object-fit: cover;
  display: block;
  border-radius: 2px;
}
.wrt-45580-product-info {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.wrt-45580-product-title {
  font-size: 0.78rem;
  font-weight: 600;
  color: #111111;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
}
.wrt-45580-product-title:hover {
  text-decoration: underline;
}
.wrt-45580-price-wrap {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.wrt-45580-price-old {
  font-size: 0.72rem;
  color: #aaaaaa;
}
.wrt-45580-price-old del {
  text-decoration: line-through;
}
.wrt-45580-price-sale {
  font-size: 0.82rem;
  font-weight: 700;
  color: #c0392b;
}
.wrt-45580-price-regular {
  font-size: 0.82rem;
  font-weight: 600;
  color: #111111;
}
.wrt-45580-atc-btn {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background-color: #111111;
  color: #ffffff;
  font-size: 1.2rem;
  font-weight: 400;
  line-height: 1;
  border-radius: 2px;
  text-decoration: none;
  transition: opacity 0.2s ease;
  cursor: pointer;
  border: none;
}
.wrt-45580-atc-btn:hover {
  opacity: 0.75;
}

/* ── Progress Bar Pagination ─────────────────────────── */
.wrt-45580-progress-bar {
  position: relative;
  width: 100%;
  height: 2px;
  background-color: #eeeeee;
  margin-top: 28px;
  border-radius: 2px;
  overflow: hidden;
}
.wrt-45580-progress-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background-color: #111111;
  border-radius: 2px;
  transition: width 0.1s linear;
}

/* ── Transition: Scale-In ────────────────────────────── */
.wrt-45580-wrapper.transition-scale-in .swiper-slide {
  opacity: 0;
  transform: scale(0.94);
  transition: opacity 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.wrt-45580-wrapper.transition-scale-in .swiper-slide-active {
  opacity: 1;
  transform: scale(1);
}

/* ── Transition: Fade (via Swiper fade effect) ───────── */
.wrt-45580-wrapper.transition-fade .swiper-slide {
  pointer-events: none;
}
.wrt-45580-wrapper.transition-fade .swiper-slide-active {
  pointer-events: auto;
}

/* ── RTL Support ─────────────────────────────────────── */
.wrt-45580-wrapper.is-rtl {
  direction: rtl;
}
.wrt-45580-wrapper.is-rtl .wrt-45580-inner {
  flex-direction: row-reverse;
}
.wrt-45580-wrapper.is-rtl .wrt-45580-inner.is-reversed {
  flex-direction: row;
}
.wrt-45580-wrapper.is-rtl .wrt-45580-author {
  flex-direction: row-reverse;
  justify-content: flex-end;
}
.wrt-45580-wrapper.is-rtl .wrt-45580-location {
  flex-direction: row-reverse;
}
.wrt-45580-wrapper.is-rtl .wrt-45580-stars {
  flex-direction: row-reverse;
}
.wrt-45580-wrapper.is-rtl .wrt-45580-progress-fill {
  left: auto;
  right: 0;
}

/* ── Responsive ──────────────────────────────────────── */
@media (max-width: 1024px) {
  .wrt-45580-inner {
    gap: 24px;
  }
  .wrt-45580-image-col {
    flex: 0 0 40%;
    max-width: 40%;
  }
}
@media (max-width: 767px) {
  .wrt-45580-inner {
    flex-direction: column !important;
    gap: 20px;
  }
  .wrt-45580-image-col {
    flex: 0 0 auto;
    max-width: 100%;
    width: 100%;
  }
  .wrt-45580-image-wrap.aspect-4-5 {
    aspect-ratio: 3 / 2;
  }
  .wrt-45580-product-card {
    flex-wrap: wrap;
  }
}
