.ks-review-block {
  width: 100%;
  margin-top: 18px;
}

.ks-review-wide {
  width: 100%;
}

.ks-review-wide .ks-review-block,
.ks-review-wide .ks-review-card {
  width: 100%;
  max-width: none;
}

.ks-review-card {
  border: 1px solid rgba(19, 253, 253, 0.14);
  border-radius: 18px;
  background:
    radial-gradient(circle at 12% 0%, rgba(19, 253, 253, 0.10), transparent 32%),
    linear-gradient(145deg, rgba(6, 19, 27, 0.94), rgba(1, 10, 16, 0.96));
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.18);
  width: 100%;
  padding: 20px;
}

.ks-review-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.ks-review-heading h4,
.ks-review-list-title {
  margin: 0;
  color: #fff;
  font-size: 17px;
  line-height: 1.25;
  font-weight: 600;
}

.ks-review-heading span {
  color: #13fdfd;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}

.ks-review-form {
  display: grid;
  width: 100%;
  gap: 15px;
}

.ks-review-field label {
  display: block;
  margin-bottom: 7px;
  color: #d8e4ef;
  font-size: 13px;
  font-weight: 600;
}

.ks-review-field input,
.ks-review-field textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  outline: 0;
  padding: 12px 14px;
  font-size: 15px;
  font-weight: 400;
}

.ks-review-field textarea {
  min-height: 112px;
  resize: vertical;
}

.ks-review-field input:focus,
.ks-review-field textarea:focus {
  border-color: rgba(19, 253, 253, 0.72);
  box-shadow: 0 0 0 4px rgba(19, 253, 253, 0.08);
}

.ks-rating-input {
  display: inline-flex;
  flex-direction: row;
  gap: 9px;
}

.ks-rating-input input,
.ks-rating-input input[type="radio"],
.ks-rating-input input[data-review-rating] {
  display: none !important;
  position: fixed !important;
  left: -99999px !important;
  width: 0 !important;
  height: 0 !important;
  min-width: 0 !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  appearance: none !important;
  -webkit-appearance: none !important;
}

.ks-rating-input label::before,
.ks-rating-input label::after {
  content: none !important;
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.ks-rating-input label {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  margin: 0;
  color: rgba(255, 255, 255, 0.24);
  cursor: pointer;
  font-size: 36px;
  font-family: Arial, sans-serif;
  font-weight: 400 !important;
  line-height: 1;
  transition: color 180ms ease, transform 180ms ease;
}

.ks-rating-input label.is-active,
.ks-rating-input label.is-hovered {
  color: #f8c84c;
}

.ks-rating-input label.is-hovered,
.ks-rating-input label:hover {
  color: #ffd966;
  text-shadow: 0 0 18px rgba(255, 217, 102, 0.26);
}

.ks-rating-input label:hover {
  transform: translateY(-1px);
}

.ks-review-submit {
  position: relative;
  min-height: 48px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #13fdfd, #139bfd);
  color: #010a10;
  font-weight: 650;
  font-size: 15px;
  padding: 0 20px;
  justify-self: stretch;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  transition: transform 180ms ease, filter 180ms ease, opacity 180ms ease;
}

.ks-review-submit:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.ks-review-submit:disabled {
  cursor: wait;
  opacity: 0.82;
}

.ks-review-submit.is-loading::before {
  content: "";
  width: 16px;
  height: 16px;
  border: 2px solid rgba(1, 10, 16, 0.28);
  border-top-color: #010a10;
  border-radius: 50%;
  animation: ks-review-spin 700ms linear infinite;
}

@keyframes ks-review-spin {
  to {
    transform: rotate(360deg);
  }
}

.ks-review-message {
  min-height: 20px;
  margin: 0;
  color: #b9c3d1;
  font-size: 13px;
}

.ks-review-message.is-error {
  color: #ff8f8f;
}

.ks-review-message.is-success {
  color: #13fdfd;
}

.ks-review-list {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.ks-review-item {
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.035);
  padding: 14px;
}

.ks-review-item-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 8px;
}

.ks-review-name {
  color: #fff;
  font-weight: 800;
}

.ks-review-time {
  color: #9da9b8;
  font-size: 12px;
  white-space: nowrap;
}

.ks-review-stars {
  color: #f8c84c;
  letter-spacing: 1px;
  font-size: 14px;
}

.ks-review-comment {
  margin: 8px 0 0;
  color: #d8e4ef;
  line-height: 1.65;
}

.ks-review-empty {
  border: 1px dashed rgba(19, 253, 253, 0.22);
  border-radius: 16px;
  color: #b9c3d1;
  padding: 18px;
  text-align: center;
}

.pm-product-info {
  margin-top: 18px;
  border: 1px solid rgba(19, 253, 253, 0.14);
  border-radius: 18px;
  background:
    radial-gradient(circle at 10% 0%, rgba(19, 253, 253, 0.08), transparent 32%),
    linear-gradient(145deg, rgba(6, 19, 27, 0.88), rgba(1, 10, 16, 0.92));
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.14);
  padding: 20px;
}

.pm-product-info .pm-title {
  margin-bottom: 8px;
  font-size: 23px;
  line-height: 1.25;
  font-weight: 600 !important;
  letter-spacing: 0;
}

.pm-product-info .pm-points {
  display: grid;
  gap: 4px !important;
  margin: 10px 0 0 !important;
  padding: 0 !important;
  list-style: none !important;
  color: #c9d1d9;
  font-size: 15.5px;
  line-height: 1.36 !important;
  font-weight: 400 !important;
}

.pm-product-info .pm-points li {
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1.36 !important;
  font-weight: 400 !important;
}

.pm-product-info #pmPoints.pm-points {
  gap: 2px !important;
}

.ks-review-card h4,
.ks-review-card label,
.ks-review-submit {
  letter-spacing: 0;
}

.pm-product-info .pm-rating {
  margin-bottom: 2px;
}

.pm-product-info .pm-stars {
  color: #f8c84c;
  letter-spacing: 2px;
  font-weight: 400;
}

@media (max-width: 767px) {
  .ks-review-card {
    padding: 16px;
    border-radius: 16px;
  }

  .ks-review-heading {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .ks-rating-input label {
    font-size: 32px;
  }

  .pm-product-info {
    padding: 16px;
  }

  .ks-review-item-head {
    flex-direction: column;
  }
}
