/* =========================================================
   ZARROE REVIEWS
   Homepage section only
========================================================= */

.zarroe-home-reviews {

  --zarroe-orange: #fe5a00;
  --zarroe-black: #111111;
  --zarroe-text: #111111;
  --zarroe-muted: #777777;
  --zarroe-border: #d9d9d9;
  --zarroe-background: #f5f5f5;
  --zarroe-white: #ffffff;

  width: 100%;

  margin: 0;

  padding: 40px 0 60px;

  background: var(--zarroe-background);

  color: var(--zarroe-text);

  /*
    IMPORTANT:
    inherit keeps the same font already being used
    by the ZARROE / Elementor website.
  */
  font-family: inherit;

  overflow: hidden;

  box-sizing: border-box;

}

.zarroe-home-reviews *,
.zarroe-home-reviews *::before,
.zarroe-home-reviews *::after {

  box-sizing: border-box;

}


/* =========================================================
   CONTAINER
   FIX #2: this class was missing from the markup, so the
   max-width / centering never actually applied. Fixed
   width is now capped at 1366px as requested.
========================================================= */

.zarroe-reviews-container {

    width: 100%;
    max-width: 1470px;
    margin-bottom: 0px;
    margin-top: 0px;
    margin-left: 15px;
    margin-right: 15px;

}


/* =========================================================
   HEADING
========================================================= */

.zarroe-reviews-heading {

  width: 100%;

  margin: 0 auto 55px;

  text-align: center;

}


.zarroe-reviews-eyebrow {

  display: block;

  margin-bottom: 13px;

  color: var(--zarroe-orange);

  font-size: 12px;

  font-weight: 700;

  line-height: 1.2;

  letter-spacing: 2px;

  text-transform: uppercase;

}


.zarroe-reviews-heading h2 {

  margin: 0;

  color: var(--zarroe-black);

  font-size: clamp(36px, 4vw, 58px);

  font-weight: 800;

  line-height: .98;

  letter-spacing: -2px;

  text-transform: uppercase;

}


/* =========================================================
   SLIDER VIEWPORT
========================================================= */

.zarroe-reviews-slider {

  position: relative;

  width: 100%;

  overflow: hidden;

  cursor: grab;

  /*
    Prevents browser scrolling from fighting
    with horizontal touch dragging.
  */
  touch-action: pan-y;

  user-select: none;

}


.zarroe-reviews-slider.is-dragging {

  cursor: grabbing;

}


/* =========================================================
   SLIDER TRACK
========================================================= */

.zarroe-reviews-track {

  display: flex;

  width: 100%;

  gap: 16px;

  /*
    JS controls the transform.
    CSS transition gives the smooth slide effect.
  */

  transform: translate3d(0, 0, 0);

  transition:
    transform 650ms cubic-bezier(.22,.61,.36,1);

  will-change: transform;

}


/* =========================================================
   REVIEW CARD
   FIX #3: default (desktop) card width now shows 3 per
   row, matching the JS "cardsPerView = 3" default used to
   calculate pages/dots. Previously the CSS showed 4 cards
   while the JS math assumed 3 — that mismatch was what
   broke the dot navigation (wrong page count, slides
   landing on blank/cut-off cards).
========================================================= */

.zarroe-review-card {

  /* 4 reviews visible on desktop, matches JS cardsPerView */
  flex: 0 0 calc(
    (100% - 48px) / 4
  );

  display: flex;
  flex-direction: column;
  padding: 33px;
  border-radius: 8px;

  background: var(--zarroe-white);

  border: 1px solid var(--zarroe-border);
}


/* =========================================================
   STARS
========================================================= */

.zarroe-review-stars {

  margin-bottom: 15px;

  color: var(--zarroe-orange);

  font-size: 17px;

  line-height: 1;

  letter-spacing: 1px;

}


/* =========================================================
   REVIEW TITLE
========================================================= */

.zarroe-review-title {

  margin: 0 0 15px;

  color: var(--zarroe-black);

  font-size: 21px;

  font-weight: 700;

  line-height: 1.2;

  letter-spacing: -.5px;

}


/* =========================================================
   REVIEW TEXT
========================================================= */

.zarroe-review-text {

  margin-bottom: 40px;

  color: #5f5f5f;

  font-size: 15px;

  font-weight: 500;

  line-height: 1.6;

}


/* =========================================================
   REVIEW FOOTER
========================================================= */

.zarroe-review-bottom {

  display: flex;

  justify-content: space-between;

  align-items: flex-end;

  gap: 20px;

  margin-top: auto;

  padding-top: 28px;

  border-top: 1px solid #dddddd;

}


.zarroe-review-author {

  display: flex;

  flex-direction: column;

  gap: 4px;

}


.zarroe-review-author strong {

  color: #666666;

  font-size: 12px;

  font-weight: 700;

  line-height: 1.2;

  letter-spacing: .5px;

}


.zarroe-review-author span {

  color: #888888;

  font-size: 13px;

  line-height: 1.3;

}


.zarroe-review-product {

  flex-shrink: 0;

  color: var(--zarroe-orange);

  font-size: 11px;

  font-weight: 700;

  line-height: 1.2;

  letter-spacing: 1px;

  text-transform: uppercase;

  text-align: right;

}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1000px) {

  .zarroe-home-reviews {

    padding: 40px 0 70px;

  }


  .zarroe-reviews-container {

    padding-left: 4%;

    padding-right: 4%;

  }


  .zarroe-review-card {

    flex: 0 0 calc(
      (100% - 24px) / 2
    );

    min-height: 430px;

    padding: 40px 32px;

  }


  .zarroe-review-title {

    font-size: 23px;

  }


  .zarroe-review-text {

    font-size: 16px;
    margin-bottom: 28px;

  }

}


/* =========================================================
   MOBILE
   FIX #1: full mobile responsiveness — single card per
   view, tighter paddings/gaps so the track never overflows
   the viewport, and dots wrap instead of clipping.
========================================================= */

@media (max-width: 650px) {

  .zarroe-home-reviews {

    margin-left: -15px;

  }


  .zarroe-reviews-container {

    padding-left: 20px;

    padding-right: 20px;

  }


  .zarroe-reviews-heading {

    margin-bottom: 38px;

  }


  .zarroe-reviews-eyebrow {

    font-size: 11px;

  }


  .zarroe-reviews-heading h2 {

    font-size: 36px;

    letter-spacing: -1.5px;

  }


  .zarroe-reviews-track {

    gap: 16px;

  }


  /*
    One review at a time on mobile.
  */

  .zarroe-review-card {

    flex: 0 0 100%;

    width: 100%;

    min-height: 50px;

    padding: 36px 28px;

  }


  .zarroe-review-stars {

    margin-bottom: 25px;

    font-size: 18px;

    text-align: flex-start;

  }


  .zarroe-review-title {

    font-size: 23px;
    
    text-align: flex-start;

  }


  .zarroe-review-text {

    font-size: 15px;

    line-height: 1.7;
    
    text-align: flex-start;

  }


  .zarroe-review-bottom {

    align-items: flex-start;

  }


  .zarroe-review-product {

    font-size: 10px;

  }


}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 400px) {

  .zarroe-review-card {

    min-height: 402px;

    padding: 30px 24px;

  }


  .zarroe-review-bottom {

    flex-direction: column;

    align-items: flex-start;

  }


  .zarroe-review-product {

    text-align: flex-start;

  }

}


/* Homepage cards match the Reviews page; slider behavior remains unchanged. */
.zarroe-home-reviews .zarroe-review-card{min-height:320px;padding:24px;border:1px solid #dedede;border-radius:8px;background:#fff;color:#111}
.zarroe-home-reviews .zarroe-review-head{display:flex;align-items:center;gap:12px}
.zarroe-home-reviews .zarroe-review-avatar{display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:#ededed;font-size:18px;flex:none}
.zarroe-home-reviews .zarroe-review-head strong{display:block;color:#111;font-size:16px;font-weight:600;line-height:1.2;letter-spacing:0}
.zarroe-home-reviews .zarroe-review-verified{display:inline-flex;align-items:center;margin-top:6px;padding:4px 8px;border-radius:4px;background:rgba(254,72,0,.1);color:#FE4800;font-size:12px;font-weight:600;line-height:1}
.zarroe-home-reviews .zarroe-review-stars{margin-top:22px;margin-bottom:0;color:#ff4b00;font-size:19px;letter-spacing:1px;line-height:1}
.zarroe-home-reviews .zarroe-review-text{margin:16px 0;font-size:14px;font-weight:400;line-height:1.65;color:#111;overflow:auto}
.zarroe-home-reviews a.zarroe-review-product{display:block;margin-top:auto;color:#111;font-size:12px;font-weight:600;line-height:1.4;text-decoration:none;text-align:left;letter-spacing:0;text-transform:none}
.zarroe-home-reviews .zarroe-review-bottom,.zarroe-home-reviews .zarroe-review-title{display:none}
@media(max-width:1000px){.zarroe-home-reviews .zarroe-review-card{min-height:320px;padding:24px}}
@media(max-width:650px){.zarroe-home-reviews .zarroe-review-card{min-height:300px;padding:24px}.zarroe-home-reviews .zarroe-review-stars{margin-top:22px;text-align:left}.zarroe-home-reviews .zarroe-review-text{font-size:14px;line-height:1.65;text-align:left}}