.wrv-reviews-widget {
  margin: 56px 0 28px;
  padding: 26px;
  border-radius: 18px;
  border: 1px solid #3e2e15;
  background: linear-gradient(180deg, rgba(10, 10, 10, 0.96) 0%, rgba(18, 18, 18, 0.96) 100%);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.38);
  color: #f5ead5;
}

.wrv-header {
  margin-bottom: 20px;
}

.wrv-header h2 {
  margin: 0 0 6px;
  font-size: 31px;
  line-height: 1.2;
  color: #f3e3c1;
}

.wrv-header p {
  margin: 0;
  color: #cfb680;
  font-size: 15px;
}

.wrv-review-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}


.wrv-pagination {
  margin-top: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.wrv-page-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 92px;
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid rgba(217, 178, 99, 0.5);
  color: #ecd5a5;
  background: rgba(36, 28, 14, 0.65);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
}

.wrv-page-link:hover {
  border-color: #d9b263;
}

.wrv-page-link.is-disabled {
  opacity: 0.45;
  pointer-events: none;
}

.wrv-page-status {
  color: #cfb680;
  font-size: 13px;
}

.wrv-review-card {
  background: rgba(23, 23, 23, 0.95);
  border: 1px solid #4d3a1a;
  border-radius: 14px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  min-height: 240px;
  overflow: hidden;
}

.wrv-review-photo {
  margin: -16px -16px 12px;
  border-bottom: 1px solid #433217;
}

.wrv-review-photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.wrv-review-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  gap: 12px;
}

.wrv-stars {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  line-height: 1;
  white-space: nowrap;
}

.wrv-star {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #6f5a31;
}

.wrv-star.is-on {
  color: #deb766;
}

.wrv-star-icon {
  width: 15px;
  height: 15px;
  display: block;
}

.wrv-review-top time {
  color: #ab996f;
  font-size: 12px;
}

.wrv-review-content {
  margin: 0;
  color: #ebdeca;
  font-size: 14px;
  line-height: 1.6;
  flex: 1;
}

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

.wrv-author {
  color: #f6ead4;
  font-size: 14px;
  font-weight: 600;
}

.wrv-verified {
  background: rgba(222, 183, 102, 0.14);
  color: #e7c784;
  border: 1px solid rgba(222, 183, 102, 0.45);
  font-size: 11px;
  border-radius: 999px;
  padding: 3px 8px;
  white-space: nowrap;
}

.wrv-empty {
  border: 1px dashed #594320;
  border-radius: 12px;
  padding: 14px 16px;
  color: #c9af78;
  background: rgba(17, 17, 17, 0.75);
}

.wrv-form-wrap {
  margin-top: 24px;
  padding: 18px;
  border: 1px solid #4e3a1a;
  border-radius: 14px;
  background: rgba(16, 16, 16, 0.95);
}

.wrv-form-wrap h3 {
  margin: 0 0 14px;
  font-size: 20px;
  color: #f3e3c1;
}

.wrv-login-required,
.wrv-review-form label {
  color: #e3d1ae;
}

.wrv-review-form p {
  margin: 0 0 12px;
}

.wrv-review-form label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  font-size: 13px;
}

.wrv-review-form input,
.wrv-review-form select,
.wrv-review-form textarea {
  width: 100%;
  border: 1px solid #624923;
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 14px;
  background: #141414;
  color: #f5ead6;
}

.wrv-review-form input::placeholder,
.wrv-review-form textarea::placeholder {
  color: #9e8a62;
}

.wrv-review-form input:focus,
.wrv-review-form select:focus,
.wrv-review-form textarea:focus {
  outline: none;
  border-color: #d9b263;
  box-shadow: 0 0 0 2px rgba(217, 178, 99, 0.2);
}

.wrv-review-form button {
  border: 1px solid #d9b263;
  background: linear-gradient(180deg, #d9b263 0%, #b78737 100%);
  color: #1a1204;
  padding: 10px 16px;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 700;
}

.wrv-review-form button:hover {
  filter: brightness(1.05);
}

@media (max-width: 1100px) {
  .wrv-review-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .wrv-reviews-widget {
    margin-top: 38px;
    padding: 16px;
    overflow-x: clip;
  }

  .wrv-header h2 {
    font-size: 24px;
  }

  .wrv-review-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .wrv-review-card {
    min-height: 0;
    padding: 12px;
    max-width: 100%;
    overflow: hidden;
  }

  .wrv-review-photo {
    margin: -12px -12px 10px;
    width: calc(100% + 24px);
    max-width: calc(100% + 24px);
  }

  .wrv-review-photo img {
    width: 100%;
    max-width: 100%;
    height: auto;
    aspect-ratio: auto;
    object-fit: contain;
  }

  .wrv-review-content {
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .wrv-review-top {
    flex-wrap: wrap;
    gap: 6px;
  }

  .wrv-review-bottom {
    flex-wrap: wrap;
  }

  .wrv-form-wrap {
    padding: 14px;
  }

  .wrv-write-review-link {
    width: 100%;
  }

  .wrv-pagination {
    flex-wrap: wrap;
    justify-content: center;
  }

  .wrv-page-link,
  .wrv-page-status {
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  .wrv-review-form-page {
    padding-top: 22px;
  }

  .wrv-review-form-page-title {
    font-size: 23px;
  }
}


.wrv-review-cta {
  margin-top: 22px;
}

.wrv-write-review-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border: 1px solid #d9b263;
  background: linear-gradient(180deg, #d9b263 0%, #b78737 100%);
  color: #1a1204;
  padding: 10px 16px;
  border-radius: 10px;
  font-weight: 700;
}

.wrv-write-review-link:hover {
  filter: brightness(1.05);
}

.wrv-review-form-page {
  padding: 28px 14px 40px;
}

.wrv-review-form-page-inner {
  max-width: 760px;
  margin: 0 auto;
}

.wrv-review-form-page-title {
  margin: 0 0 12px;
  color: #f3e3c1;
  font-size: 28px;
  line-height: 1.25;
}

.wrv-review-form-back {
  margin: 0 0 10px;
}

.wrv-review-form-back a {
  color: #d9b263;
}


.wrv-title-review-count {
  margin: 10px 0 14px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-family: var(--royal-font-body, "Montserrat", sans-serif);
}

.wrv-title-row {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 24px;
  color: #cfb680;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.1;
}

.wrv-title-row-stars {
  gap: 4px;
}

.wrv-title-row-count,
.wrv-title-row-write {
  gap: 7px;
}

.wrv-title-row-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #deb766;
}

.wrv-title-row-icon svg {
  width: 14px;
  height: 14px;
  display: block;
}

.wrv-title-stars {
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

.wrv-title-star {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #6f5a31;
}

.wrv-title-star.is-on {
  color: #deb766;
}

.wrv-title-star-icon {
  display: block;
  width: 13px;
  height: 13px;
}

.wrv-title-count {
  line-height: 1.2;
}

.wrv-title-write-label {
  line-height: 1.2;
}

.wrv-title-row:hover {
  color: #e3cb97;
}

.wrv-title-row:hover .wrv-title-row-icon {
  color: #e3cb97;
}

@media (max-width: 767px) {
  .wrv-title-review-count {
    margin: 8px 0 12px;
    gap: 5px;
  }

  .wrv-title-row {
    font-size: 13px;
    min-height: 22px;
  }

  .wrv-title-row-icon svg {
    width: 13px;
    height: 13px;
  }

  .wrv-title-star-icon {
    width: 12px;
    height: 12px;
  }

  .wrv-star-icon {
    width: 14px;
    height: 14px;
  }
}
