.customer-review-wrap {
  margin-top: 44px;
}

.customer-review-trigger {
  display: flex;
  justify-content: center;
}

.customer-review-toggle {
  border: 1px solid #c8ff36;
  background: #c8ff36;
  color: #0b0b0a;
  padding: 16px 26px;
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, transform 0.2s;
}

.customer-review-toggle:hover,
.customer-review-toggle:focus-visible {
  background: transparent;
  color: #c8ff36;
  transform: translateY(-1px);
}

.customer-review-panel {
  margin-top: 20px;
  padding: 34px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background:
    radial-gradient(circle at top right, rgba(200, 255, 54, 0.12), transparent 34%),
    #121210;
  color: #fff;
}

.customer-review-panel[hidden] {
  display: none;
}

.customer-review-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.7fr);
  gap: 40px;
  align-items: end;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
}

.customer-review-kicker {
  display: block;
  margin-bottom: 12px;
  color: #c8ff36;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.customer-review-intro h3 {
  margin: 0;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1;
  letter-spacing: -0.045em;
}

.customer-review-intro p {
  margin: 0;
  color: #a9a9a1;
  font-size: 13px;
  line-height: 1.7;
}

.customer-review-form {
  margin-top: 28px;
}

.customer-review-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.customer-review-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.customer-review-field.is-full {
  grid-column: 1 / -1;
}

.customer-review-field > span,
.customer-review-rating legend {
  color: #d7d7d0;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.customer-review-field input,
.customer-review-field select,
.customer-review-field textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 0;
  outline: none;
  background: #090908;
  color: #fff;
  padding: 14px 15px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.customer-review-field input:focus,
.customer-review-field select:focus,
.customer-review-field textarea:focus {
  border-color: #c8ff36;
  box-shadow: 0 0 0 3px rgba(200, 255, 54, 0.1);
}

.customer-review-field textarea {
  min-height: 140px;
  resize: vertical;
  line-height: 1.6;
}

.customer-review-field select {
  color-scheme: dark;
}

.customer-review-rating {
  grid-column: 1 / -1;
  margin: 0;
  padding: 0;
  border: 0;
}

.customer-review-rating legend {
  margin-bottom: 10px;
}

.customer-review-stars {
  display: flex;
  gap: 8px;
}

.customer-review-star {
  display: grid;
  width: 45px;
  height: 45px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: #090908;
  color: #64645e;
  font-size: 24px;
  line-height: 1;
  transition: 0.18s ease;
}

.customer-review-star:hover,
.customer-review-star:focus-visible,
.customer-review-star.is-active {
  border-color: #c8ff36;
  color: #c8ff36;
  transform: translateY(-1px);
}

.customer-review-upload {
  position: relative;
  display: grid;
  min-height: 118px;
  place-items: center;
  border: 1px dashed rgba(200, 255, 54, 0.55);
  background: rgba(200, 255, 54, 0.04);
  cursor: pointer;
  text-align: center;
}

.customer-review-upload-grid {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.customer-review-upload input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.customer-review-upload strong {
  display: block;
  color: #fff;
  font-size: 13px;
}

.customer-review-upload small {
  display: block;
  margin-top: 6px;
  color: #83837c;
  font-size: 11px;
}

.customer-review-upload.has-file {
  border-style: solid;
  background: rgba(200, 255, 54, 0.09);
}

.customer-review-consent {
  grid-column: 1 / -1;
  display: flex;
  gap: 11px;
  align-items: flex-start;
  color: #9b9b94;
  font-size: 12px;
  line-height: 1.55;
}

.customer-review-consent input {
  flex: 0 0 auto;
  margin-top: 3px;
  accent-color: #c8ff36;
}

.customer-review-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 24px;
}

.customer-review-submit {
  border: 0;
  background: #c8ff36;
  color: #0b0b0a;
  padding: 15px 22px;
  font-size: 13px;
  font-weight: 950;
  cursor: pointer;
}

.customer-review-submit:disabled {
  cursor: wait;
  opacity: 0.6;
}

.customer-review-status {
  color: #aaa;
  font-size: 12px;
  line-height: 1.5;
}

.customer-review-status.is-success {
  color: #c8ff36;
}

.customer-review-status.is-error {
  color: #fca5a5;
}

.customer-review-honeypot {
  position: absolute !important;
  left: -9999px !important;
}

@media (max-width: 760px) {
  .customer-review-wrap {
    margin-top: 30px;
  }

  .customer-review-toggle {
    width: 100%;
  }

  .customer-review-panel {
    padding: 24px 18px;
  }

  .customer-review-intro,
  .customer-review-fields {
    grid-template-columns: 1fr;
  }

  .customer-review-intro {
    gap: 14px;
  }

  .customer-review-field.is-full,
  .customer-review-rating,
  .customer-review-consent,
  .customer-review-upload-grid {
    grid-column: 1;
  }

  .customer-review-upload-grid {
    grid-template-columns: 1fr;
  }

  .customer-review-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .customer-review-submit {
    width: 100%;
  }
}
