/* Customer Reviews — pixel match from index.html + brand guide */
.ipc-customer-reviews-widget {
  --page-max: 1400px;
  --page-gutter: clamp(24px, 3.5vw, 40px);
  --teal: #0090DC;
  --navy: #0A2E4F;
  --text-muted: #6B7C8C;
  --gray: #E5F4FC;
  --transition: 0.2s ease;
  --ipc-reviews-cols: 5;
  font-family: 'Montserrat', 'Segoe UI', Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  color: #33414E;
}
.ipc-customer-reviews-widget *,
.ipc-customer-reviews-widget *::before,
.ipc-customer-reviews-widget *::after {
  box-sizing: border-box;
}
.elementor-widget-ipc-customer-reviews,
.elementor-widget-ipc-customer-reviews > .elementor-widget-container {
  width: 100% !important;
  max-width: none !important;
}

.ipc-customer-reviews-widget .reviews-bottom {
  padding: 96px 0;
  background: var(--gray);
  overflow: hidden;
}
.ipc-customer-reviews-widget .section-container {
  max-width: var(--page-max);
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  padding-left: var(--page-gutter);
  padding-right: var(--page-gutter);
  box-sizing: border-box;
}
.ipc-customer-reviews-widget .section-tag {
  display: inline-block;
  color: var(--teal);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.ipc-customer-reviews-widget .section-title {
  font-family: 'Montserrat', 'Segoe UI', Arial, sans-serif;
  font-size: clamp(32px, 3.5vw, 48px);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.12;
  margin: 0 0 0;
  letter-spacing: -0.02em;
}

.ipc-customer-reviews-widget .reviews-google {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 8px;
  margin-top: 14px;
  font-family: 'Montserrat', 'Segoe UI', Arial, sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #6B7C8C;
  line-height: 1.3;
}
.ipc-customer-reviews-widget .reviews-google-logo {
  width: 19px;
  height: 19px;
  object-fit: contain;
  flex-shrink: 0;
}
.ipc-customer-reviews-widget .reviews-google-stars {
  color: #F4B400;
  font-size: 13px;
  letter-spacing: 0.04em;
}
.ipc-customer-reviews-widget .reviews-google-score {
  color: #0A2E4F;
  font-weight: 800;
}
.ipc-customer-reviews-widget .reviews-google-count {
  font-weight: 500;
}

.ipc-customer-reviews-widget .reviews-stores {
  display: grid;
  grid-template-columns: repeat(var(--ipc-reviews-cols, 5), minmax(0, 1fr));
  gap: 14px;
  margin: 32px 0 28px;
}
.ipc-customer-reviews-widget .reviews-store-chip {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  padding: 16px 16px 14px;
  border-radius: 14px;
  border: 1px solid rgba(185, 198, 210, 0.55);
  background: #ffffff;
  font-family: 'Montserrat', 'Segoe UI', Arial, sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #6B7C8C;
  cursor: pointer;
  text-align: left;
  min-height: 96px;
  box-shadow: none;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
  appearance: none;
  -webkit-appearance: none;
}
.ipc-customer-reviews-widget .reviews-store-chip:hover {
  border-color: rgba(0, 144, 220, 0.45);
  background: #ffffff;
  box-shadow: none;
  transform: translateY(-2px);
}
.ipc-customer-reviews-widget .reviews-store-chip.is-active {
  border-color: #0090DC;
  background: linear-gradient(180deg, #ffffff 0%, #E5F4FC 100%);
  box-shadow: none;
  transform: translateY(-2px);
}
.ipc-customer-reviews-widget .reviews-store-chip-top {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  margin-bottom: 10px;
}
.ipc-customer-reviews-widget .reviews-store-chip-pin {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(0, 144, 220, 0.1);
  color: #0090DC;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.ipc-customer-reviews-widget .reviews-store-chip-pin svg {
  width: 14px;
  height: 14px;
}
.ipc-customer-reviews-widget .reviews-store-chip-name {
  color: #0A2E4F;
  font-weight: 800;
  font-size: 14px;
  line-height: 1.2;
}
.ipc-customer-reviews-widget .reviews-store-chip-rating {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 4px;
}
.ipc-customer-reviews-widget .reviews-store-chip-stars {
  color: #F4B400;
  font-size: 13px;
  letter-spacing: 0.03em;
  line-height: 1;
}
.ipc-customer-reviews-widget .reviews-store-chip-score {
  color: #0A2E4F;
  font-weight: 800;
  font-size: 15px;
}
.ipc-customer-reviews-widget .reviews-store-chip-count {
  font-weight: 500;
  font-size: 12px;
  color: #6B7C8C;
  line-height: 1.35;
}

.ipc-customer-reviews-widget .reviews-track-wrap {
  overflow: hidden;
  margin-top: 52px;
  position: relative;
}
.ipc-customer-reviews-widget .reviews-track-wrap::before,
.ipc-customer-reviews-widget .reviews-track-wrap::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}
.ipc-customer-reviews-widget .reviews-track-wrap::before {
  left: 0;
  background: linear-gradient(to right, #E5F4FC, transparent);
}
.ipc-customer-reviews-widget .reviews-track-wrap::after {
  right: 0;
  background: linear-gradient(to left, #E5F4FC, transparent);
}
.ipc-customer-reviews-widget .reviews-track {
  display: flex;
  gap: 20px;
  align-items: stretch;
  animation: ipc-reviews-scroll 30s linear infinite;
  width: max-content;
}
.ipc-customer-reviews-widget .reviews-track.is-store-filtered {
  animation: ipc-reviews-scroll 30s linear infinite;
  transform: none;
  width: max-content;
  display: flex;
  gap: 20px;
  overflow: visible;
}
.ipc-customer-reviews-widget .reviews-track.is-store-filtered .review-card {
  width: 320px;
  max-width: none;
  flex-shrink: 0;
}
.ipc-customer-reviews-widget .reviews-track:hover {
  animation-play-state: paused;
}
@keyframes ipc-reviews-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.ipc-customer-reviews-widget .review-card {
  width: 320px;
  flex-shrink: 0;
  background: #ffffff;
  border-radius: 14px;
  padding: 28px;
  border: 1px solid #E8F1F7;
  box-shadow: none;
  display: flex;
  flex-direction: column;
  min-height: 248px;
  transition: border-color var(--transition);
}
.ipc-customer-reviews-widget .review-card:hover {
  box-shadow: none;
  border-color: #D8E6F0;
}
.ipc-customer-reviews-widget .review-card.is-filtered-out {
  display: none !important;
}
.ipc-customer-reviews-widget .review-stars {
  display: flex;
  gap: 3px;
  margin-bottom: 18px;
}
.ipc-customer-reviews-widget .review-stars span {
  color: #fbbc04;
  font-size: 16px;
}
.ipc-customer-reviews-widget .review-text {
  flex: 1 1 auto;
  font-size: 14px;
  color: #6b7280;
  line-height: 1.6;
  margin: 0 0 22px;
}
.ipc-customer-reviews-widget .review-author {
  font-size: 13px;
  font-weight: 700;
  color: #0A2E4F;
  margin-top: 2px;
}
.ipc-customer-reviews-widget .review-store {
  font-size: 12px;
  color: #9ca3af;
  margin-top: 6px;
}

@media (max-width: 1280px) and (min-width: 1141px) {
  .ipc-customer-reviews-widget .reviews-stores {
    gap: 10px;
  }
  .ipc-customer-reviews-widget .reviews-store-chip {
    padding: 14px 12px 12px;
    min-height: 88px;
  }
}
@media (max-width: 1140px) {
  .ipc-customer-reviews-widget .reviews-stores {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-bottom: 24px;
  }
}

@media (max-width: 768px) {
  .ipc-customer-reviews-widget .reviews-bottom {
    overflow: visible;
    padding-top: 48px;
    padding-bottom: 56px;
    background: #E5F4FC;
  }
  .ipc-customer-reviews-widget .section-title {
    font-size: 26px !important;
    line-height: 1.2;
    margin-bottom: 12px;
  }
  .ipc-customer-reviews-widget .reviews-google {
    font-size: 13px;
    gap: 4px 6px;
    margin-top: 10px;
    margin-bottom: 4px;
  }
  .ipc-customer-reviews-widget .reviews-google-count {
    font-size: 12px;
  }
  .ipc-customer-reviews-widget .reviews-stores {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin: 20px 0 12px;
    padding: 0;
    overflow: visible;
  }
  .ipc-customer-reviews-widget .reviews-store-chip {
    flex: none;
    width: auto !important;
    max-width: none !important;
    min-width: 0;
    min-height: 88px;
    padding: 12px;
    box-sizing: border-box;
  }
  .ipc-customer-reviews-widget .reviews-store-chip[data-reviews-store="all"] {
    grid-column: 1 / -1;
    min-height: 76px;
  }
  .ipc-customer-reviews-widget .reviews-store-chip-name {
    font-size: 13px;
  }
  .ipc-customer-reviews-widget .reviews-store-chip-count {
    font-size: 11px;
  }
  .ipc-customer-reviews-widget .reviews-store-chip:hover,
  .ipc-customer-reviews-widget .reviews-store-chip.is-active {
    transform: none;
  }
  .ipc-customer-reviews-widget .reviews-track-wrap {
    overflow: hidden;
    margin-top: 16px;
    margin-left: calc(-1 * var(--page-gutter));
    margin-right: calc(-1 * var(--page-gutter));
    padding: 0;
  }
  .ipc-customer-reviews-widget .reviews-track-wrap::before,
  .ipc-customer-reviews-widget .reviews-track-wrap::after {
    display: block;
    width: 28px;
  }
  .ipc-customer-reviews-widget .reviews-track {
    display: flex;
    flex-wrap: nowrap;
    gap: 12px;
    width: max-content;
    max-width: none;
    animation: ipc-reviews-scroll 32s linear infinite;
    transform: none;
    overflow: visible;
    padding: 4px 16px 16px;
  }
  .ipc-customer-reviews-widget .reviews-track.is-store-filtered {
    display: flex;
    width: max-content;
    max-width: none;
    animation: ipc-reviews-scroll 32s linear infinite;
    transform: none;
    overflow: visible;
    padding: 4px 16px 16px;
  }
  .ipc-customer-reviews-widget .reviews-track.is-store-filtered .review-card {
    width: min(82vw, 300px);
    max-width: min(82vw, 300px);
    flex-shrink: 0;
  }
  .ipc-customer-reviews-widget .review-card {
    flex: 0 0 min(82vw, 300px);
    width: min(82vw, 300px);
    max-width: min(82vw, 300px);
    min-height: 0 !important;
    height: auto;
    padding: 20px 18px !important;
    background: #ffffff !important;
    border: 1px solid #E8F1F7 !important;
    border-radius: 14px !important;
    box-shadow: 0 2px 10px rgba(10, 46, 79, 0.06) !important;
    display: flex !important;
    flex-direction: column !important;
    box-sizing: border-box;
  }
  .ipc-customer-reviews-widget .review-card.is-filtered-out {
    display: none !important;
  }
  .ipc-customer-reviews-widget .review-stars {
    margin-bottom: 12px;
  }
  .ipc-customer-reviews-widget .review-text {
    font-size: 14px !important;
    line-height: 1.55 !important;
    color: #374151 !important;
    margin-bottom: 16px !important;
    flex: 1 1 auto;
  }
  .ipc-customer-reviews-widget .review-author {
    font-size: 13px !important;
    font-weight: 800 !important;
    color: #0A2E4F !important;
    margin-top: auto;
  }
  .ipc-customer-reviews-widget .review-store {
    font-size: 12px !important;
    color: #6B7C8C !important;
    margin-top: 4px !important;
  }
}

@media (max-width: 480px) {
  .ipc-customer-reviews-widget .reviews-bottom {
    padding: 40px 0 48px;
  }
}

/* Elementor locks */
.elementor .ipc-customer-reviews-widget .section-tag {
  color: #0090DC !important;
  text-transform: uppercase !important;
  letter-spacing: 0.12em !important;
  font-weight: 700 !important;
}
.elementor .ipc-customer-reviews-widget .section-title {
  color: #0A2E4F !important;
  font-weight: 800 !important;
}
.elementor .ipc-customer-reviews-widget .reviews-google-score,
.elementor .ipc-customer-reviews-widget .reviews-store-chip-score,
.elementor .ipc-customer-reviews-widget .reviews-store-chip-name,
.elementor .ipc-customer-reviews-widget .review-author {
  color: #0A2E4F !important;
}
.elementor .ipc-customer-reviews-widget .reviews-bottom {
  background: #E5F4FC !important;
}
.elementor .ipc-customer-reviews-widget button.reviews-store-chip {
  background: #ffffff !important;
  border: 1px solid rgba(185, 198, 210, 0.55) !important;
  border-radius: 14px !important;
  box-shadow: none !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  min-height: 96px !important;
  padding: 16px 16px 14px !important;
  color: #6B7C8C !important;
}
.elementor .ipc-customer-reviews-widget button.reviews-store-chip.is-active {
  border-color: #0090DC !important;
  background: linear-gradient(180deg, #ffffff 0%, #E5F4FC 100%) !important;
}
.elementor .ipc-customer-reviews-widget .review-card {
  background: #ffffff !important;
  border: 1px solid #E8F1F7 !important;
  border-radius: 14px !important;
  box-shadow: none !important;
}
