.nixtheme-home-customer-reviews {
  padding: 34px 0 46px;
  background: transparent !important;
}

.nixtheme-home-customer-reviews__inner {
  width: min(100%, 1280px);
  margin: 0 auto;
  padding: 2px 0 40px;
  background: transparent !important;
  border-radius: 18px;
  overflow: hidden;
  position: relative;
  box-sizing: border-box;
}

.nixtheme-home-customer-reviews__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}

.nixtheme-home-customer-reviews__heading {
  margin: 0;
  color: #243b66;
  font: 700 25px/1.1 "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.nixtheme-home-customer-reviews__nav {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}

.nixtheme-home-customer-reviews__viewport {
  overflow: hidden;
}

.nixtheme-home-customer-reviews__track {
  display: flex;
  gap: 20px;
  will-change: transform;
  align-items: stretch;
}

.nixtheme-home-customer-reviews__card {
  min-width: 0;
  background: #ffffff;
  border-radius: 20px;
  padding: 28px 32px 26px;
  box-shadow: 0 1px 0 rgba(15, 23, 42, .04);
  box-sizing: border-box;
}

.nixtheme-home-customer-reviews__card h3 {
  margin: 0 0 12px;
  color: #243b66;
  font: 700 22px/1.2 "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.nixtheme-home-customer-reviews__card p {
  margin: 0;
  color: #243b66;
  font: 500 17px/1.55 "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  min-height: 132px;
}

.nixtheme-home-customer-reviews__footer {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid #e9edf3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.nixtheme-home-customer-reviews__person {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  align-items: center;
  flex: 1 1 auto;
  gap: 12px;
  min-width: 0;
}

.nixtheme-home-customer-reviews__avatar {
  width: 54px;
  height: 54px;
  border-radius: 999px;
  overflow: hidden;
  background: #dbe3ee;
  color: #243b66;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  font: 700 22px/1 "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.nixtheme-home-customer-reviews__avatar.has-image {
  background: transparent;
}

.nixtheme-home-customer-reviews__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.nixtheme-home-customer-reviews__identity {
  display: flex;
  flex-direction: column;
  min-width: 0;
  gap: 5px;
}

.nixtheme-home-customer-reviews__identity strong {
  color: #111827;
  font: 700 16px/1.2 "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nixtheme-home-customer-reviews__stars {
  display: flex;
  justify-content: flex-start;
  gap: 2px;
  color: #d1d5db;
  flex: 0 0 auto;
}

.nixtheme-home-customer-reviews__stars span {
  font-size: 12px;
  line-height: 1;
}

.nixtheme-home-customer-reviews__stars span.is-active {
  color: #f59e0b;
}

.nixtheme-home-customer-reviews__proof {
  width: 70px;
  height: 42px;
  border: 0;
  border-radius: 4px;
  overflow: hidden;
  padding: 0;
  background: #eef2f7;
  box-shadow: 0 0 0 1px rgba(36, 59, 102, .1);
  cursor: pointer;
  flex: 0 0 70px;
  display: inline-block;
}

.nixtheme-home-customer-reviews__proof img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.nixtheme-home-customer-reviews__lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(15, 23, 42, .72);
}

.nixtheme-home-customer-reviews__lightbox.is-open {
  display: flex;
}

.nixtheme-home-customer-reviews__lightbox img {
  max-width: min(92vw, 920px);
  max-height: 86vh;
  width: auto;
  height: auto;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .35);
}

.nixtheme-home-customer-reviews__lightbox-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 999px;
  background: #ffffff;
  color: #111827;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.nixtheme-home-customer-reviews__arrow {
  width: 46px;
  height: 46px;
  border-radius: 999px;
  border: 1px solid rgba(36, 59, 102, .12);
  background: #ffffff;
  color: #243b66;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 14px 28px rgba(15, 23, 42, .12);
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.nixtheme-home-customer-reviews__arrow:hover {
  transform: translateY(-1px);
  background: #f8fafc;
  box-shadow: 0 18px 34px rgba(15, 23, 42, .16);
}

.nixtheme-home-customer-reviews__arrow svg {
  width: 20px;
  height: 20px;
  display: block;
}

.nixtheme-home-customer-reviews__dots {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
}

.nixtheme-home-customer-reviews__dots button {
  width: 30px;
  height: 4px;
  border-radius: 999px;
  border: 0;
  padding: 0;
  background: rgba(36, 59, 102, 0.18);
  cursor: pointer;
}

.nixtheme-home-customer-reviews__dots button.is-active {
  background: #243b66;
}

.nixtheme-home-customer-reviews--spotlight {
  padding: 42px 0 56px;
}

.nixtheme-home-customer-reviews--spotlight .nixtheme-home-customer-reviews__inner {
  padding-bottom: 24px;
}

.nixtheme-home-customer-reviews--spotlight .nixtheme-home-customer-reviews__header {
  justify-content: center;
  margin-bottom: 34px;
}

.nixtheme-home-customer-reviews--spotlight .nixtheme-home-customer-reviews__heading {
  color: #111827;
  font: 500 24px/1.15 "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  text-align: center;
}

.nixtheme-home-customer-reviews--spotlight .nixtheme-home-customer-reviews__nav {
  position: absolute;
  left: 14px;
  right: 14px;
  top: 50%;
  transform: translateY(-6px);
  justify-content: space-between;
  pointer-events: none;
  z-index: 4;
}

.nixtheme-home-customer-reviews--spotlight .nixtheme-home-customer-reviews__arrow {
  width: 52px;
  height: 52px;
  box-shadow: none;
  border: 1px solid #d6dbe4;
  background: rgba(255, 255, 255, .92);
  pointer-events: auto;
}

.nixtheme-home-customer-reviews--spotlight .nixtheme-home-customer-reviews__track {
  gap: 36px;
}

.nixtheme-home-customer-reviews__card--spotlight {
  padding: 28px 28px 30px;
  border: 1px solid #d9dee7;
  border-radius: 16px;
  box-shadow: none;
}

.nixtheme-home-customer-reviews__spotlight-shell {
  display: grid;
  grid-template-columns: minmax(180px, 224px) minmax(0, 1fr);
  align-items: center;
  gap: 34px;
  min-height: 330px;
}

.nixtheme-home-customer-reviews__spotlight-media {
  height: 100%;
  min-height: 330px;
  border-radius: 2px;
  background: linear-gradient(180deg, #f2f4f7 0%, #e5e7eb 100%);
  overflow: hidden;
}

.nixtheme-home-customer-reviews__spotlight-media.has-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.nixtheme-home-customer-reviews__spotlight-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 26px;
  min-width: 0;
}

.nixtheme-home-customer-reviews__spotlight-quote {
  margin: 0;
  color: #4b5563;
  font: italic 400 clamp(23px, 1.85vw, 36px)/1.36 "Instrument Serif", Georgia, serif;
  max-width: 640px;
}

.nixtheme-home-customer-reviews__spotlight-meta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.nixtheme-home-customer-reviews__spotlight-meta strong {
  color: #111827;
  font: 500 20px/1.2 "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.nixtheme-home-customer-reviews__spotlight-meta span {
  color: #4b5563;
  font: 400 16px/1.3 "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.nixtheme-home-customer-reviews--spotlight .nixtheme-home-customer-reviews__dots {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

.nixtheme-home-customer-reviews--spotlight .nixtheme-home-customer-reviews__dots button {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #d1d5db;
}

.nixtheme-home-customer-reviews--spotlight .nixtheme-home-customer-reviews__dots button.is-active {
  background: #111827;
}

.editor-styles-wrapper .nixfubu-customer-reviews-block-editor {
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 18px;
  background: #f8fafc;
  width: 100%;
  max-width: none;
  box-sizing: border-box;
}

.editor-styles-wrapper .nixfubu-cr-media-control {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.editor-styles-wrapper .nixfubu-cr-media-preview {
  width: 100%;
  max-width: 180px;
  height: 120px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid #dbe2ea;
}

.editor-styles-wrapper .nixfubu-cr-editor-preview {
  min-width: 0;
}

.editor-styles-wrapper .nixfubu-cr-editor-preview--full {
  width: 100%;
}

.editor-styles-wrapper .nixfubu-cr-editor-track {
  transform: none !important;
  visibility: visible !important;
}

.editor-styles-wrapper .nixtheme-home-customer-reviews.is-editor-preview {
  width: 100%;
  padding: 0;
}

.editor-styles-wrapper .nixtheme-home-customer-reviews.is-editor-preview .nixtheme-home-customer-reviews__inner {
  width: 100%;
  max-width: none;
}

.editor-styles-wrapper .nixtheme-home-customer-reviews.is-editor-preview .nixtheme-home-customer-reviews__track {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  transform: none !important;
}

.editor-styles-wrapper .nixtheme-home-customer-reviews.is-editor-preview .nixtheme-home-customer-reviews__track > * {
  width: auto !important;
  min-width: 0;
}

.editor-styles-wrapper .nixtheme-home-customer-reviews.is-editor-preview .nixtheme-home-customer-reviews__track > *:nth-child(n+4) {
  display: none;
}

.editor-styles-wrapper .nixtheme-home-customer-reviews--spotlight.is-editor-preview .nixtheme-home-customer-reviews__track {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.editor-styles-wrapper .nixtheme-home-customer-reviews--spotlight.is-editor-preview .nixtheme-home-customer-reviews__track > *:nth-child(n+3) {
  display: none;
}

.editor-styles-wrapper .nixtheme-home-customer-reviews.is-editor-preview .nixtheme-home-customer-reviews__nav,
.editor-styles-wrapper .nixtheme-home-customer-reviews.is-editor-preview .nixtheme-home-customer-reviews__dots,
.editor-styles-wrapper .nixtheme-home-customer-reviews.is-editor-preview .nixtheme-home-customer-reviews__lightbox {
  display: none !important;
}

@media (max-width: 1180px) {
  .nixtheme-home-customer-reviews--spotlight .nixtheme-home-customer-reviews__track {
    gap: 24px;
  }

  .nixtheme-home-customer-reviews__spotlight-shell {
    grid-template-columns: minmax(150px, 190px) minmax(0, 1fr);
    gap: 24px;
    min-height: 286px;
  }

  .nixtheme-home-customer-reviews__spotlight-media {
    min-height: 286px;
  }
}

@media (max-width: 767px) {
  .nixtheme-home-customer-reviews__heading {
    font-size: 28px;
  }

  .nixtheme-home-customer-reviews__inner {
    padding: 32px 16px;
    border-radius: 0;
  }

  .nixtheme-home-customer-reviews__header {
    margin-bottom: 20px;
  }

  .nixtheme-home-customer-reviews__card {
    padding: 22px 18px 20px;
    border-radius: 5px;
  }

  .nixtheme-home-customer-reviews__card h3 {
    font-size: 20px;
  }

  .nixtheme-home-customer-reviews__card p {
    font-size: 16px;
    min-height: 0;
  }

  .nixtheme-home-customer-reviews__footer {
    flex-direction: row;
    align-items: center;
    gap: 12px;
  }

  .nixtheme-home-customer-reviews__person {
    grid-template-columns: 42px minmax(0, 1fr);
    flex: 1 1 auto;
  }

  .nixtheme-home-customer-reviews__avatar {
    width: 42px;
    height: 42px;
    font-size: 18px;
  }

  .nixtheme-home-customer-reviews__proof {
    width: 70px;
    height: 42px;
    flex-basis: 70px;
  }

  .nixtheme-home-customer-reviews__arrow {
    display: none;
  }

  .nixtheme-home-customer-reviews__dots {
    display: flex;
  }

  .nixtheme-home-customer-reviews--spotlight {
    padding: 30px 0 42px;
  }

  .nixtheme-home-customer-reviews--spotlight .nixtheme-home-customer-reviews__header {
    margin-bottom: 18px;
  }

  .nixtheme-home-customer-reviews--spotlight .nixtheme-home-customer-reviews__nav {
    position: static;
    transform: none;
    margin-bottom: 14px;
    justify-content: flex-end;
  }

  .nixtheme-home-customer-reviews--spotlight .nixtheme-home-customer-reviews__arrow {
    width: 44px;
    height: 44px;
    display: inline-flex;
  }

  .nixtheme-home-customer-reviews__card--spotlight {
    padding: 18px 18px 22px;
  }

  .nixtheme-home-customer-reviews__spotlight-shell {
    grid-template-columns: 1fr;
    gap: 18px;
    min-height: 0;
  }

  .nixtheme-home-customer-reviews__spotlight-media {
    min-height: 300px;
  }

  .nixtheme-home-customer-reviews__spotlight-quote {
    font-size: 18px;
    line-height: 1.42;
  }

  .nixtheme-home-customer-reviews__spotlight-meta strong {
    font-size: 18px;
  }

  .nixtheme-home-customer-reviews__spotlight-meta span {
    font-size: 14px;
  }
}
