/* =====================================================
   Ocean Product Reviews V2 — Carousel Layout
   (All styles scoped to .ofr-reviews--v2)
===================================================== */

/* Base section spacing */
.ofr-reviews--v2 {
  margin: 4rem 0;
  font-family: new-hero;
  color: #063647 !important;
}

/* Desktop row: summary + carousel
   This is the big rounded gradient block */
.ofr-reviews--v2 .ofr-reviews-row {
  position: relative; /* nav buttons anchor here on desktop */
  display: flex;
  gap: 16px;
  align-items: stretch;
  padding: 2.4rem 48px;
  border-radius: 30px;
  overflow: hidden;

  background:
    radial-gradient(100.1% 118.14% at 123.28% 127.56%, #7AD1F9 0%, rgba(122, 209, 249, 0) 100%),
    radial-gradient(116.76% 67.08% at -1.33% 107%, #69CDC3 0%, rgba(232, 248, 243, 0) 100%),
    var(--Color-Neutral-Lighter, #E8FAF8);
  background-blend-mode: multiply, normal, normal;
}

/* =====================================================
   SUMMARY COLUMN + CAROUSEL COLUMN
===================================================== */

.ofr-reviews--v2 .ofr-reviews-summary {
  flex: 0 0 calc((100% - 48px) / 4);
  max-width: calc((100% - 48px) / 4);
  display: flex;
  align-items: center;
  color: #063647;
}

.ofr-reviews--v2 .ofr-reviews-carousel-wrap {
  flex: 1 1 auto;
  min-width: 0;
  overflow: visible;
  position: relative; /* ✅ enables nav anchoring here on mobile */
}

.ofr-reviews--v2 .ofr-reviews-summary__inner {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.ofr-reviews--v2 .ofr-reviews-summary__score {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  margin-bottom: 0.2rem;
}

.ofr-reviews--v2 .ofr-reviews-summary__score-value {
  font-size: 2.6rem;
  font-weight: 600;
}

.ofr-reviews--v2 .ofr-reviews-summary__score-label {
  font-size: 0.95rem;
}

.ofr-reviews--v2 .ofr-reviews-summary__stars {
  font-size: 1rem;
  letter-spacing: 0.12em;
  margin-bottom: 0.5rem;
}

.ofr-reviews--v2 .ofr-reviews-summary__count {
  font-size: 0.9rem;
  opacity: 0.8;
}

/* =====================================================
   CAROUSEL + CARDS
===================================================== */

.ofr-reviews--v2 .ofr-reviews-carousel {
  position: relative;
}

.ofr-reviews--v2 .ofr-reviews-carousel .owl-stage-outer {
  overflow: visible;
}

.ofr-reviews--v2 .owl-carousel .owl-item {
  margin-right: 16px;
}

/* Cards */
.ofr-reviews--v2 .ofr-review-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 1.6rem 2.2rem;
  box-shadow: 0 8px 25px rgba(0,0,0,0.06);
  height: 100%;
  display: flex;
  flex-direction: column;
}

/* ✅ Replace 5/5 with stars and remove 5/5 from layout */
.ofr-reviews--v2 .ofr-review-card__rating {
  font-size: 0 !important;
  line-height: 0 !important;
  margin-bottom: 0.8rem !important;
}
.ofr-reviews--v2 .ofr-review-card__rating::before {
  content: "★★★★★";
  font-size: 1.2rem;
  line-height: 1;
  letter-spacing: 0.15em;
  color: #063647;
  display: inline-block;
}

.ofr-reviews--v2 .ofr-review-card__quote {
  font-size: 0.96rem;
  line-height: 1.6;
  margin: 0 0 1.4rem;
}

.ofr-reviews--v2 .ofr-review-card__meta {
  margin-top: auto;
  font-size: 0.9rem;
}

.ofr-reviews--v2 .ofr-review-card__author {
  font-weight: 600;
}

.ofr-reviews--v2 .ofr-review-card__date {
  display: block;
  margin-top: 0.35rem;
  opacity: 0.7;
}

/* =====================================================
   STATIC LIST FALLBACK
===================================================== */

.ofr-reviews--v2.ofr-reviews--static .ofr-review {
  margin-bottom: 1.5rem;
}

.ofr-reviews--v2.ofr-reviews--static .ofr-review__quote {
  margin: 0 0 0.75rem;
}

/* =====================================================
   RESPONSIVE ADJUSTMENTS
===================================================== */

@media (max-width: 1099px) {
  .ofr-reviews--v2 .ofr-reviews-row {
    flex-direction: column;
    padding: 2rem 24px;
    gap: 24px;
  }

  .ofr-reviews--v2 .ofr-reviews-summary {
    max-width: none;
    flex: 0 0 auto;
  }
}

@media (max-width: 767px) {
  .ofr-reviews--v2 {
    margin: 3rem 0;
  }

  .ofr-reviews--v2 .ofr-review-card {
    padding: 2.4rem 2.6rem;
  }
}

/* =====================================================
   NAVIGATION BUTTONS — DESKTOP (nav in .ofr-reviews-row)
===================================================== */

.ofr-reviews--v2 .ofr-reviews-row > .owl-nav {
  position: absolute;
  top: 50%;
  left: 16px;
  right: 16px;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  align-items: center;
  pointer-events: none;
  z-index: 5;
}



/* =====================================================
   NAVIGATION BUTTONS — MOBILE/TABLET (nav in .ofr-reviews-carousel-wrap)
   (JS moves nav here when stacked)
===================================================== */

.ofr-reviews--v2 .ofr-reviews-carousel-wrap > .owl-nav {
  position: absolute;
  top: 50%;
  left: 16px;
  right: 16px;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  align-items: center;
  pointer-events: none;
  z-index: 5;
}

@media (max-width: 767px) {
.ofr-reviews--v2 .ofr-reviews-carousel-wrap > .owl-nav {
  left: -20px;
  right: -20px;
  }
}

/* Shared button styles */
.ofr-reviews--v2 .owl-nav .owl-prev,
.ofr-reviews--v2 .owl-nav .owl-next {
  pointer-events: auto;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #ffffff;
  border: 0;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  outline: none;

  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  line-height: 1;
  color: #063647;

  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.ofr-reviews--v2 .owl-nav .owl-prev:hover,
.ofr-reviews--v2 .owl-nav .owl-next:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
}

.ofr-reviews--v2 .owl-nav .owl-prev.disabled,
.ofr-reviews--v2 .owl-nav .owl-next.disabled {
  opacity: 0;
  pointer-events: none;
}

@media (max-width: 640px) {
  .ofr-reviews--v2 .owl-nav .owl-prev,
  .ofr-reviews--v2 .owl-nav .owl-next {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }
}

/* =====================================================
   Typography overrides (force apply)
===================================================== */

.ofr-reviews--v2 .ofr-reviews-summary__title{
  font-family: inherit !important;
  font-size: 2.58rem !important;
  line-height: 1.2 !important;
  font-weight: 600 !important;
  text-transform: none !important;
  margin: 0 0 16px 0 !important;
  color: inherit !important;
  max-width:200px;
}

section.ofr-reviews.ofr-reviews--v2 .ofr-reviews-summary__score-value{
  font-size: 4rem !important;
  font-weight: 800 !important;
  line-height: 1 !important;
}

section.ofr-reviews.ofr-reviews--v2 .ofr-reviews-summary__score-label{
  font-size: 1.6rem !important;
  font-weight: 600 !important;
}

section.ofr-reviews.ofr-reviews--v2 .ofr-reviews-summary__stars{
  font-size: 1.6rem !important;
  letter-spacing: 0.15em !important;
  margin-bottom: 20px !important;
}

section.ofr-reviews.ofr-reviews--v2 .ofr-reviews-summary__count{
  font-size: 1.2rem !important;
  font-weight: 600 !important;
  opacity: 1 !important;
}

section.ofr-reviews.ofr-reviews--v2 .ofr-review-card__quote{
  font-size: 1.2rem !important;
  line-height: 1.6 !important;
  margin: 0.8rem 0 1rem !important;
}

section.ofr-reviews.ofr-reviews--v2 .ofr-review-card__meta{
  font-size: 1.2rem !important;
  font-weight: 600 !important;
}

section.ofr-reviews.ofr-reviews--v2 .ofr-review-card__author{
  font-weight: 600 !important;
  margin-bottom: 0.2rem !important;
}

section.ofr-reviews.ofr-reviews--v2 .ofr-review-card__date{
  font-size: 1.2rem !important;
  font-weight: 400 !important;
  opacity: 1 !important;
}

/* Reset global blockquote styling */
.ofr-reviews--v2 blockquote.ofr-review-card__quote{
  margin: 0 0 0.8rem !important;
  padding: 0 !important;
  border: 0 !important;
  background: none !important;
  box-shadow: none !important;
  position: static !important;
}

.ofr-reviews--v2 blockquote.ofr-review-card__quote::before,
.ofr-reviews--v2 blockquote.ofr-review-card__quote::after{
  content: none !important;
  display: none !important;
}
