.customer-reviews-grid {
  /* padding-left: var(--page-gutter-left, 1rem);
  padding-right: var(--page-gutter-right, 1rem); */
  padding-top: clamp(1.75rem, 3.5vw, 2.75rem);
  padding-bottom: clamp(1.75rem, 3.5vw, 2.75rem);
}

.customer-reviews-grid__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: clamp(1rem, 2.5vw, 1.5rem);
}

.customer-reviews-grid__summary {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: clamp(1rem, 2.5vw, 1.4rem);
}

.customer-reviews-grid__summary-rating {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.customer-reviews-grid__summary-stars {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  color: #f4c63f;
  font-size: 14px;
}

.customer-reviews-grid__summary-text {
  color: #666;
  font-family: var(--wp--preset--font-family--proxima-nova);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.2;
}

.customer-reviews-grid__summary-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.customer-reviews-grid__filters {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  flex-wrap: wrap;
}

.customer-reviews-grid__filter-select-wrap {
  display: inline-flex;
  position: relative;
  width: auto;
  margin-bottom: 0 !important;
}

.customer-reviews-grid__filter-select {
  min-height: 38px;
  width: auto;
  min-width: 146px;
  max-width: 190px;
  border: 1px solid #e5e5e5;
  border-radius: 999px;
  padding: 0.35rem 2.1rem 0.35rem 0.85rem;
  color: #111;
  background: #fff;
  font-family: var(--wp--preset--font-family--proxima-nova);
  font-size: 14px;
  font-weight: 600;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  cursor: pointer;
}

.customer-reviews-grid__filter-select-wrap::after {
  content: '\f078';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: 12px;
  color: #555;
  position: absolute;
  right: 0.8rem;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}

.customer-reviews-grid__filter-select option {
  font-family: var(--wp--preset--font-family--proxima-nova);
  font-size: 14px;
}

.customer-reviews-grid__filter-photos {
  appearance: none;
  border: 1px solid #e5e5e5;
  border-radius: 999px;
  background: #fff;
  color: #111;
  min-height: 38px;
  padding: 0.35rem 0.8rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  cursor: pointer;
  font-family: var(--wp--preset--font-family--proxima-nova);
  font-size: 14px;
  font-weight: 600;
}

.customer-reviews-grid__filter-photos.is-active {
  border-color: #111;
  background: #111;
  color: #fff;
}

.customer-reviews-grid__showing {
  margin: 0;
  color: #888;
  font-family: var(--wp--preset--font-family--proxima-nova);
  font-size: 13px;
  line-height: 1.2;
}

.customer-reviews-grid__title {
  margin: 0;
  color: #111;
  font-family: var(--wp--preset--font-family--proxima-nova);
  font-size: var(--wp--preset--font-size--h-2);
  font-style: normal;
  font-weight: 700;
  line-height: 1.1;
}

.customer-reviews-grid__write-link {
  appearance: none;
  display: inline-flex;
  min-height: 44px;
  padding: 0.6rem 1.5rem;
  justify-content: center;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  border: 1.25px solid #111;
  background: #fff;
  color: #111;
  text-decoration: none;
  font-family: var(--wp--preset--font-family--proxima-nova);
  font-size: clamp(16px, 1.2vw, 18px);
  font-style: normal;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  transition: background-color 0.12s ease, color 0.12s ease;
}

.customer-reviews-grid__write-link:hover,
.customer-reviews-grid__write-link:focus-visible {
  background: #111;
  color: #fff;
}

.customer-reviews-grid__cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2.4vw, 1.6rem);
  align-items: start;
}

.customer-reviews-grid__card {
  border-radius: 18px;
  border: 1px solid #ececec;
  background: #fff;
  padding: clamp(14px, 1.8vw, 20px);
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.customer-reviews-grid__card[hidden] {
  display: none !important;
}

.customer-reviews-grid__card-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.7rem;
}

.customer-reviews-grid__user {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.customer-reviews-grid__avatar {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: #f1f1f1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
  color: #8a8a8a;
  font-size: 22px;
}

.customer-reviews-grid__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.customer-reviews-grid__identity {
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
}

.customer-reviews-grid__name {
  color: #111;
  font-family: var(--wp--preset--font-family--proxima-nova);
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: 1.1;
}

.customer-reviews-grid__verified {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #46b86e;
  font-family: var(--wp--preset--font-family--proxima-nova);
  font-size: 12px;
  font-style: normal;
  font-weight: 600;
  line-height: 1;
}

.customer-reviews-grid__time {
  color: #999;
  font-family: var(--wp--preset--font-family--proxima-nova);
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: 1.1;
  white-space: nowrap;
}

.customer-reviews-grid__stars {
  margin-top: 0.72rem;
  margin-bottom: 0.55rem;
  display: inline-flex;
  align-items: center;
  gap: 2px;
  color: #f4c63f;
  font-size: 14px;
}

.customer-reviews-grid__review-title {
  margin: 0;
  color: #111;
  font-family: var(--wp--preset--font-family--proxima-nova);
  font-size: 18px;
  font-style: normal;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.customer-reviews-grid__product-meta {
  margin: 0.5rem 0 0;
  color: #6f6f6f;
  font-family: var(--wp--preset--font-family--proxima-nova);
  font-size: 13px;
  line-height: 1.4;
}

.customer-reviews-grid__product-label {
  font-weight: 600;
}

.customer-reviews-grid__product-link {
  color: #6f6f6f;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.customer-reviews-grid__variant {
  color: #8a5561;
  font-weight: 600;
}

.customer-reviews-grid__review-copy {
  margin: 0.55rem 0 0;
  color: #4b4b4b;
  font-family: var(--wp--preset--font-family--proxima-nova);
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 1.45;
}

.customer-reviews-grid__empty {
  margin: 0;
  color: #666;
  font-family: var(--wp--preset--font-family--proxima-nova);
  font-size: 16px;
  line-height: 1.45;
}

.customer-reviews-grid__media {
  margin-top: 0.8rem;
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
}

.customer-reviews-grid__media.is-empty {
  visibility: hidden;
}

.customer-reviews-grid__media-trigger {
  width: 42px;
  height: 42px;
  border-radius: 7px;
  border: 0;
  background: #d9d9d9;
  padding: 0;
  overflow: hidden;
  cursor: pointer;
}

.customer-reviews-grid__media-trigger img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.customer-reviews-grid__helpful {
  margin-top: auto;
  padding-top: 0.8rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.8rem;
  color: #8b8b8b;
  font-family: var(--wp--preset--font-family--proxima-nova);
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: 1.2;
}

.customer-reviews-grid__helpful-value {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #7a7a7a;
  font-size: 12px;
}

.customer-reviews-grid__helpful-btn {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #7a7a7a;
  font-size: 12px;
  line-height: 1.2;
  cursor: pointer;
}

.customer-reviews-grid__helpful-btn [data-review-helpful-count][hidden] {
  display: none;
}

.customer-reviews-grid__helpful-btn:hover,
.customer-reviews-grid__helpful-btn:focus-visible {
  color: #333;
}

.customer-reviews-grid__helpful-btn.is-voted {
  color: #3f7e46;
  font-weight: 600;
}

.customer-reviews-grid__helpful-btn.is-voted i::before {
  content: '\f164';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
}

.customer-reviews-grid__helpful-btn.is-loading {
  opacity: 0.65;
  pointer-events: none;
}

.customer-reviews-grid__footer {
  margin-top: clamp(2.2rem, 4.5vw, 3.4rem);
  display: flex;
  justify-content: center;
}

.customer-reviews-grid__read-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  color: #787878;
  text-decoration: none;
  font-family: var(--wp--preset--font-family--proxima-nova);
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
  line-height: 1.2;
}

.customer-reviews-grid__read-more-icon {
  display: inline-flex;
  min-width: 10px;
  justify-content: center;
  font-size: 14px;
  line-height: 1;
}

.customer-reviews-grid__read-more:hover,
.customer-reviews-grid__read-more:focus-visible {
  color: #4f4f4f;
}

.customer-reviews-grid__review-form-wrap {
  margin-top: clamp(2rem, 4vw, 3rem);
  padding: clamp(1rem, 2.4vw, 1.4rem);
  border: 1px solid #ececec;
  border-radius: 18px;
  background: #fff;
}

.customer-reviews-grid__review-form-title {
  margin: 0 0 0.8rem;
  color: #111;
  font-family: var(--wp--preset--font-family--proxima-nova);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  font-weight: 700;
  line-height: 1.2;
}

.customer-reviews-grid__review-form-wrap label {
  display: inline-block;
  margin-bottom: 0.35rem;
  color: #2c2c2c;
  font-family: var(--wp--preset--font-family--proxima-nova);
  font-size: 14px;
  font-weight: 600;
}

.customer-reviews-grid__review-form-wrap input,
.customer-reviews-grid__review-form-wrap select,
.customer-reviews-grid__review-form-wrap textarea {
  width: 100%;
  border: 1px solid #d7d7d7;
  border-radius: 10px;
  padding: 0.6rem 0.75rem;
  font-family: var(--wp--preset--font-family--proxima-nova);
  font-size: 15px;
  line-height: 1.3;
  max-width: 100%;
  box-sizing: border-box;
}

.customer-reviews-grid__review-form-wrap textarea {
  min-height: 130px;
  resize: vertical;
}

.customer-reviews-grid__submit,
.customer-reviews-grid__review-form-wrap .submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  margin-top: 0.5rem;
  border-radius: 999px;
  border: 1px solid #111;
  background: #111;
  color: #fff;
  padding: 0.6rem 1.2rem;
  font-family: var(--wp--preset--font-family--proxima-nova);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}

.customer-reviews-grid__review-form-wrap .comment-form {
  width: 100%;
  max-width: 100%;
}

.customer-reviews-grid__review-form-wrap .comment-form > p {
  margin: 0 0 1rem;
}

.customer-reviews-grid__review-form-wrap .comment-form-noyona-images input[type='file'] {
  border-style: dashed;
  padding: 0.6rem;
  background: #fcfcfc;
}

.customer-reviews-grid__review-form-wrap .comment-form-noyona-images small {
  display: block;
  margin-top: 0.35rem;
  color: #808080;
  font-size: 12px;
  line-height: 1.3;
}

.customer-reviews-grid__review-form-note {
  margin: 0;
  color: #666;
  font-family: var(--wp--preset--font-family--proxima-nova);
  line-height: 1.45;
}

.customer-reviews-grid__modal,
.customer-reviews-grid__form-modal {
  position: fixed;
  inset: 0;
  z-index: 100000;
}

.customer-reviews-grid__modal[hidden],
.customer-reviews-grid__form-modal[hidden] {
  display: none;
}

.customer-reviews-grid__modal-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(0, 0, 0, 0.72);
}

.customer-reviews-grid__modal-dialog {
  position: relative;
  z-index: 1;
  width: fit-content;
  max-width: calc(100vw - 24px);
  max-height: calc(100vh - 24px);
  margin: 0;
  border-radius: 14px;
  background: #000;
  padding: 0;
  overflow: hidden;
}

.customer-reviews-grid__form-dialog {
  position: relative;
  width: min(94vw, 820px);
  margin: 5vh auto;
  max-height: 90vh;
  overflow-y: auto;
  overflow-x: hidden;
  border-radius: 16px;
  background: #fff;
  padding: clamp(1rem, 2.4vw, 1.4rem);
}

.customer-reviews-grid__modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 0 !important;
  background: rgba(0, 0, 0, 0.65);
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.customer-reviews-grid__modal-image {
  width: auto;
  height: auto;
  max-width: calc(100vw - 24px);
  max-height: calc(100vh - 24px);
  object-fit: contain;
  border-radius: 0;
  background: #000;
  display: block;
}

.customer-reviews-grid__form-dialog .customer-reviews-grid__review-form-wrap {
  margin-top: 0;
  border: 0;
  border-radius: 0;
  padding: 0;
}

/* --- Write Review modal redesign --- */
.customer-reviews-grid__form-modal .customer-reviews-grid__modal-backdrop {
  background: rgba(9, 16, 27, 0.48);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.customer-reviews-grid__form-dialog {
  width: min(94vw, 760px);
  margin: 4vh auto;
  max-height: 92vh;
  border-radius: 28px;
  padding: clamp(1.25rem, 2.2vw, 1.85rem) clamp(1.1rem, 2.4vw, 1.9rem) clamp(1.2rem, 2.2vw, 1.7rem);
  box-shadow: 0 28px 64px rgba(10, 14, 24, 0.22);
}

.customer-reviews-grid__form-dialog .customer-reviews-grid__modal-close {
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 0;
  background: transparent;
  color: #74809a;
  font-size: 18px;
}

.customer-reviews-grid__form-dialog .customer-reviews-grid__modal-close:hover,
.customer-reviews-grid__form-dialog .customer-reviews-grid__modal-close:focus-visible {
  background: #f1f4f8;
  color: #2d3748;
}

.customer-reviews-grid__review-form-title {
  margin: 0 0 1rem;
  color: #0f1728;
  font-size: var(--wp--preset--font-size--h-3);
  line-height: 1.15;
  letter-spacing: 0;
}

.customer-reviews-grid__reviewer {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.15rem;
  padding: 0.7rem 0.8rem;
  border-radius: 14px;
  background: #fafbfc;
}

.customer-reviews-grid__reviewer-avatar {
  width: 46px;
  height: 46px;
  border-radius: 999px;
  overflow: hidden;
  background: #e6ebf1;
  color: #8e9aaf;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.customer-reviews-grid__reviewer-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.customer-reviews-grid__reviewer-meta {
  display: inline-flex;
  flex-direction: column;
  min-width: 0;
}

.customer-reviews-grid__reviewer-name {
  color: #0f1728;
  font-size: 1.05rem;
  line-height: 1.1;
  font-weight: 700;
}

.customer-reviews-grid__reviewer-email {
  margin-top: 3px;
  color: #768199;
  font-size: 0.95rem;
  line-height: 1.2;
}

.customer-reviews-grid__review-form-wrap .comment-form {
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
}

.customer-reviews-grid__review-form-wrap .comment-form > p {
  margin: 0;
}

.customer-reviews-grid__field label {
  display: block;
  margin-bottom: 0.5rem;
  color: #0f1728;
  font-size: 1rem;
  font-weight: 700;
}

.customer-reviews-grid__field .required {
  color: #f294a7;
}

.customer-reviews-grid__optional {
  color: #727d96;
  font-weight: 600;
  font-size: 0.95em;
}

.customer-reviews-grid__review-form-wrap input[type='text'],
.customer-reviews-grid__review-form-wrap input[type='email'],
.customer-reviews-grid__review-form-wrap textarea {
  border: 1.5px solid #d9e2f0;
  border-radius: 14px;
  min-height: 56px;
  padding: 0.85rem 1rem;
  font-size: 1rem;
  font-family: var(--wp--preset--font-family--proxima-nova);
  color: #0f1728;
  background: #fff;
}

.customer-reviews-grid__review-form-wrap input[type='text']::placeholder,
.customer-reviews-grid__review-form-wrap input[type='email']::placeholder,
.customer-reviews-grid__review-form-wrap textarea::placeholder {
  color: #b5bfd1;
}

.customer-reviews-grid__review-form-wrap textarea {
  min-height: 140px;
  line-height: 1.42;
}

.customer-reviews-grid__review-form-wrap input:focus,
.customer-reviews-grid__review-form-wrap textarea:focus {
  border-color: #9cb5dc;
  box-shadow: 0 0 0 3px rgba(156, 181, 220, 0.17);
  outline: none;
}

.customer-reviews-grid__rating-stars-input {
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

.customer-reviews-grid__rating-star {
  border: 0;
  background: transparent;
  width: 34px;
  height: 34px;
  padding: 0;
  color: #d8dee8;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  line-height: 1;
}

.customer-reviews-grid__rating-star:hover,
.customer-reviews-grid__rating-star:focus-visible,
.customer-reviews-grid__rating-star.is-active {
  color: #f6c64f;
}

.customer-reviews-grid__rating-select {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  border: 0 !important;
  clip: rect(0 0 0 0) !important;
  overflow: hidden !important;
  opacity: 0 !important;
}

.customer-reviews-grid__upload-field {
  border: 1.5px solid #d9e2f0;
  border-radius: 14px;
  min-height: 54px;
  padding: 0.75rem 1rem;
  display: flex !important;
  align-items: center;
  gap: 0.65rem;
  color: #74809a;
  font-size: 1rem;
  cursor: pointer;
  width: 100%;
  box-sizing: border-box;
  margin-top: 0.2rem;
}

.customer-reviews-grid__field .customer-reviews-grid__upload-field {
  display: flex !important;
}

.customer-reviews-grid__upload-field i {
  color: #8696b5;
  font-size: 1.15em;
}

.customer-reviews-grid__review-form-wrap .comment-form-noyona-images input[type='file'] {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  border: 0;
  padding: 0;
}

.customer-reviews-grid__review-form-wrap .stars {
  display: none !important;
}

.customer-reviews-grid__submit,
.customer-reviews-grid__review-form-wrap .submit {
  width: 100%;
  min-height: 58px;
  margin-top: 0.2rem;
  border-radius: 999px;
  border: 0;
  background: #cfd6df;
  color: #fff;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.customer-reviews-grid__submit:disabled,
.customer-reviews-grid__review-form-wrap .submit:disabled {
  opacity: 1;
  cursor: not-allowed;
}

.customer-reviews-grid__submit:not(:disabled),
.customer-reviews-grid__review-form-wrap .submit:not(:disabled) {
  background: #e199a4;
  cursor: pointer;
}

.customer-reviews-grid__submit:not(:disabled):hover,
.customer-reviews-grid__review-form-wrap .submit:not(:disabled):hover {
  background: #d58895;
}

.customer-reviews-grid__review-form-wrap .comment-notes,
.customer-reviews-grid__review-form-wrap .form-submit .logged-in-as,
.customer-reviews-grid__review-form-wrap .comment-form-cookies-consent {
  display: none;
}

/* --- Login modal (guest) --- */
.customer-reviews-grid__login-modal {
  position: fixed;
  inset: 0;
  z-index: 100001;
}

.customer-reviews-grid__login-modal[hidden] {
  display: none;
}

.customer-reviews-grid__login-dialog {
  position: relative;
  width: min(92vw, 440px);
  margin: 5vh auto;
  max-height: 90vh;
  overflow-y: auto;
  border-radius: 24px;
  background: #fff;
  padding: 1.35rem 1.35rem 1.25rem;
  box-shadow: 0 28px 64px rgba(10, 14, 24, 0.22);
}

.customer-reviews-grid__login-dialog .customer-reviews-grid__modal-close {
  top: 10px;
  right: 10px;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 0;
  background: transparent;
  color: #71809a;
  font-size: 18px;
}

.customer-reviews-grid__login-dialog .customer-reviews-grid__modal-close:hover {
  background: #f1f4f8;
}

.customer-reviews-grid__login-icon {
  width: 74px;
  height: 74px;
  margin: 0 auto 0.95rem;
  border-radius: 999px;
  background: #ffe6ef;
  color: #e199a4;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}

.customer-reviews-grid__login-dialog {
  text-align: center;
}

.customer-reviews-grid__login-title {
  margin: 0 0 0.45rem;
  color: #0f1728;
  font-size: clamp(1.6rem, 3.2vw, 2rem);
  line-height: 1.15;
  font-weight: 700;
}

.customer-reviews-grid__login-copy {
  margin: 0 0 1rem;
  color: #6e7a91;
  font-size: 1rem;
  line-height: 1.4;
}

.customer-reviews-grid__login-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  text-align: left;
}

.customer-reviews-grid__login-form label {
  color: #101828;
  font-size: 0.96rem;
  font-weight: 700;
}

.customer-reviews-grid__login-form input {
  width: 100%;
  min-height: 52px;
  border: 1.5px solid #e2e8f0;
  border-radius: 14px;
  padding: 0.75rem 0.95rem;
  font-size: 1rem;
  font-family: var(--wp--preset--font-family--proxima-nova);
  box-sizing: border-box;
}

.customer-reviews-grid__login-form input::placeholder {
  color: #b4bfd2;
}

.customer-reviews-grid__login-submit {
  width: 100%;
  min-height: 56px;
  border: 0;
  border-radius: 999px;
  background: #e199a4;
  color: #fff;
  font-size: 1.08rem;
  font-weight: 700;
  cursor: pointer;
}

.customer-reviews-grid__login-separator {
  margin: 0.95rem 0;
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.customer-reviews-grid__login-separator span {
  flex: 1 1 auto;
  height: 1px;
  background: #e3e8f0;
}

.customer-reviews-grid__login-separator em {
  font-style: normal;
  color: #8e9ab0;
  font-size: 0.92rem;
}

.customer-reviews-grid__login-google,
.customer-reviews-grid__login-register {
  min-height: 54px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: 100%;
  text-decoration: none;
  box-sizing: border-box;
  font-weight: 700;
}

.customer-reviews-grid__login-google {
  border: 1.5px solid #d9e2ef;
  color: #111;
  background: #fff;
}

.customer-reviews-grid__login-google i {
  font-size: 1.15rem;
  background: conic-gradient(
    from 180deg,
    #ea4335 0deg 90deg,
    #fbbc05 90deg 180deg,
    #34a853 180deg 270deg,
    #4285f4 270deg 360deg
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.customer-reviews-grid__login-register {
  margin-top: 0.65rem;
  border: 2px solid #111;
  color: #111;
  background: #fff;
}

.customer-reviews-grid__login-note {
  margin: 0.85rem 0 0;
  color: #97a3b8;
  font-size: 0.95rem;
}

html.customer-reviews-modal-open {
  overflow: hidden;
}

.customer-reviews-grid__modal {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
}

@media (max-width: 1024px) {
  .customer-reviews-grid__cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .customer-reviews-grid__header {
    justify-content: center;
    text-align: center;
  }

  .customer-reviews-grid__title {
    width: 100%;
  }

  .customer-reviews-grid__cards {
    grid-template-columns: 1fr;
  }

  .customer-reviews-grid__summary-controls {
    flex-direction: column;
    align-items: flex-start;
  }

  .customer-reviews-grid__write-link {
    width: min(100%, 280px);
  }

  .customer-reviews-grid__modal {
    padding: 0;
  }

  .customer-reviews-grid__modal-backdrop {
    background: #000;
  }

  .customer-reviews-grid__modal-dialog {
    max-width: 100vw;
    max-height: 100vh;
    width: 100vw;
    height: 100vh;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
  }

  .customer-reviews-grid__modal-image {
    max-width: 100vw;
    max-height: 100vh;
  }

  .customer-reviews-grid__modal-close {
    top: 14px;
    right: 14px;
  }
}
