.gmr-form {
	margin: 5px 0 0;
    padding: 20px 15px 20px;
    background: #f5ebd7;
    border: 2px solid #e3d1b3;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(149, 109, 52, 0.12);
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.gmr-form h3 {
	margin-bottom: 10px;
    font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
    font-size: 22px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    text-align: center;
    color: #3b2a16;
    font-weight: 700;
}

.gmr-form-field {
    border-bottom: 1px dashed rgba(160, 100, 26, 0.35);
}

.gmr-form-field:last-of-type {
  border-bottom: none;
  padding-bottom: 0;
}

.gmr-form-field.gmr-field-error {
  padding: 10px;
  border-radius: 10px;
  background: #fff1f1;
}

.gmr-form-field.gmr-field-error .gmr-form-label,
.gmr-form-field.gmr-field-error .gmr-form-value {
  color: #c42323;
}


.gmr-form-label {
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #4b3623;
  text-transform: capitalize;
}

.gmr-form-stars {
  display: inline-flex;
  flex-direction: row-reverse;
  gap: 6px;
  cursor: pointer;
}

.gmr-form-stars input {
  display: none;
}


.gmr-form-stars label {
  font-size: 22px;
  color: rgba(160, 100, 26, 0.25);
  transition: color 0.2s ease;
}

.gmr-form-stars label:hover,
.gmr-form-stars label:hover ~ label,
.gmr-form-stars input:checked ~ label {
  color: #ffb400;
  transform: translateY(-2px);
}

.gmr-form-value {
  color: #b57a33;
  font-size: 13px;
  font-style: italic;
}

.gmr-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}


.gmr-stars {
  position: relative;
  display: inline-block;
  color: #d0d7e5;
  letter-spacing: 2px;
  line-height: 1;
  white-space: nowrap;
}

.gmr-stars::after {
  content: '★★★★★';
  position: absolute;
  left: 0;
  top: 0;
  width: var(--gmr-rating, 0%);
  color: #ffb400;
  overflow: hidden;
  pointer-events: none;
  letter-spacing: 2px;
}

.gmr-stars-sm {
  font-size: 14px;
}

.gmr-stars-md {
  font-size: 16px;
}

.gmr-stars-lg {
  font-size: 20px;
}

.gmr-hero-rating {
  position: absolute;
  right: 16px;
  bottom: 96px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: rgba(26, 26, 48, 0.82);
  border-radius: 999px;
  backdrop-filter: blur(2px);
  pointer-events: none;
  z-index: 11;
}

.gmr-hero-rating .gmr-stars {
  color: rgba(255, 255, 255, 0.35);
}

.gmr-hero-score {
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
}

.gmr-hero-empty .gmr-hero-score {
  opacity: 0.8;
}

.gmr-hero-empty .gmr-stars::after {
  color: rgba(255, 180, 0, 0.6);
}

#item-main #item-image {
  position: relative;
}

.comment .gmr-comment-meta {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 12px;
  margin-bottom: 8px;
}

.comment .gmr-comment-meta .author {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.comment .gmr-comment-meta .author .name {
  font-size: 14px;
  font-weight: 600;
}

.comment .gmr-comment-meta .date {
  padding-bottom: 1px;
  color: #6b6b84;
}

.comment .gmr-form.gmr-form-static {
  margin: 12px 0;
  padding: 12px 16px;
  border: 1px solid #ececf3;
  border-radius: 10px;
  background: #fafbff;
}

.gmr-form.gmr-form-static .gmr-form-stars {
  pointer-events: none;
  cursor: default;
}

.gmr-form.gmr-form-static .gmr-form-stars label {
  cursor: default;
}

.gmr-form.gmr-form-static h3 {
  margin: 0 0 12px;
  text-align: left;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: normal;
  text-transform: none;
  color: #2d2d44;
}

.gmr-form.gmr-form-static .gmr-form-field {
  flex-direction: row;
  align-items: center;
  gap: 16px;
  padding-bottom: 0;
  margin-bottom: 12px;
  border-bottom: none;
}

.gmr-form.gmr-form-static .gmr-form-label {
  min-width: 160px;
  text-transform: none;
  letter-spacing: normal;
  color: #2d2d44;
}

.gmr-form.gmr-form-static .gmr-form-stars label {
  color: #d0d7e5;
}

.gmr-form.gmr-form-static .gmr-form-stars label:hover,
.gmr-form.gmr-form-static .gmr-form-stars label:hover ~ label,
.gmr-form.gmr-form-static .gmr-form-stars input:checked ~ label {
  color: #ffb400;
}

.gmr-form.gmr-form-static .gmr-form-value {
  color: #6b6b84;
  font-size: 14px;
  font-style: normal;
}

.comment .data .body {
  margin-top: 5px;
  padding: 12px 16px;
  border: 1px solid #dfe3fb;
  border-radius: 12px;
  background: #ffffff;
  color: #2d2d44;
  line-height: 1.55;
  font-size: 14px;
}

#comments {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

#comments .wrap {
  display: block;
  width: 100%;
}

#comments .comment {
  width: 100%;
  padding: 10px 12px 12px;
  border: 1px solid #dfe3fb;
  border-radius: 16px;
  background: #f6f7ff;
  box-shadow: 0 14px 32px rgba(26, 26, 48, 0.08);
  display: flex;
  flex-direction: column;
  gap: 5px;
}

#comments .comment:not(:last-child) {
  margin-bottom: 8px;
}

#comments #comment-replies .comment {
  background: #ffffff;
  border-color: #e4e8ff;
  box-shadow: 0 8px 20px rgba(26, 26, 48, 0.06);
}

#comments .comment-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

#comments .author {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 0;
  margin: 0;
  background: transparent;
  border-radius: 999px;
  white-space: nowrap;
  max-width: 100%;
  transition: 0.2s;
}

#comments .author:hover {
    box-shadow: 0 0 0 2px #f9f9f9;
    text-decoration: none;
}
	
#comments .author .img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(26, 26, 48, 0.18);
  object-fit: cover;
  flex-shrink: 0;
}

#comments .author .name {
  color: #1a1a30;
  font-size: 16px;
  line-height: 20px;
  font-weight: 600;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#comments .comment-date {
  font-size: 13px;
  color: #75759a;
  line-height: 18px;
}

#comments .comment-content {
  width: 100%;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

#comments .comment-content h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: #1a1a30;
}

#comments .comment-content .rating {
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  gap: 4px;
  font-size: 12px;
  color: #6b6b84;
}

#comments .comment-content .rating > span {
  font-size: 11px;
  margin-left: 4px;
  line-height: 14px;
  color: #6b6b84;
}

#comments .rating i {
  margin: 0 1px 0 0;
  font-size: 16px;
  line-height: 16px;
  color: #d0d7e5;
}

#comments .rating i.fill,
.comment-leave-rating i.is-rating-item.fill {
  color: #ffb400;
}

#comments .comment-body {
  padding: 12px 16px;
  border: 1px solid #dfe3fb;
  border-radius: 12px;
  background: #ffffff;
  color: #2d2d44;
  line-height: 1.55;
  font-size: 14px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

#comments .comment-content .remove {
  margin-top: 8px;
  font-size: 12px;
  font-weight: 600;
}

#comments .add {
  height: 38px;
  font-size: 14px;
  border-radius: 8px;
  padding: 10px 14px;
  line-height: 16px;
  width: -webkit-fill-available;
}

#comments .add svg {
  float: left;
  width: 16px;
  height: 16px;
  fill: #fff;
  margin: 0 6px 0 0;
}

#comments .empty-comments {
  margin: -8px 0 18px 0;
  color: #666666;
}

.gmr-comment-ratings {
  margin: 0;
  padding: 5px 8px 5px 12px;
  border: 1px solid #dfe3fb;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
  display: grid;
  gap: 12px;
}

.gmr-comment-row {
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.gmr-comment-row.gmr-comment-overall {
  padding-bottom: 10px;
  margin-bottom: -8px;
  border-bottom: 1px solid #2f3ab2;
}

.gmr-comment-toggle {
  width: 100%;
  border: 0;
  background: none;
  cursor: pointer;
  text-align: left;
  font: inherit;
  color: inherit;
}

.gmr-comment-toggle:focus-visible {
  outline: 2px solid #2f3ab2;
  outline-offset: 2px;
  border-radius: 6px;
}

.gmr-comment-toggle-icon {
  display: inline-block;
  position: relative;
  top: 9px;
  flex: 0 0 auto;
  font-size: 32px;
  color: #2f3ab2;
  transform: rotate(0deg);
  transform-origin: center;
  transition: transform 0.2s ease;
}

.gmr-comment-toggle[aria-expanded="true"] .gmr-comment-toggle-icon {
  transform: rotate(180deg);
}

.gmr-comment-details {
  display: grid;
  gap: 12px;
}

.gmr-comment-details[hidden] {
  display: none;
}

.gmr-comment-label {
  flex: 1 1 auto;
  font-weight: 600;
  color: #2d2d44;
  font-size: 14px;
}

.gmr-comment-score {
  min-width: 44px;
  text-align: right;
  font-weight: 600;
  color: #1a1a30;
  font-size: 14px;
}

.gmr-comment-row .gmr-stars {
  flex: 0 0 auto;
}

.gmr-summary {
  margin-bottom: 24px;
  padding: 22px 26px;
  background: #fcf5e4;
  border: 2px solid #d4b067;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: start;
  gap: 12px;
  box-shadow: 0 8px 24px rgba(154, 121, 55, 0.08);
}

.gmr-summary-title {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8c6d2e;
}

.gmr-summary-main {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.gmr-summary .gmr-stars {
  color: #d6c293;
}

.gmr-summary .gmr-stars::after {
  color: #c08a2b;
}

.gmr-summary-main .gmr-summary-score {
  font-size: 28px;
  font-weight: 700;
  color: #5f4b1c;
}

.gmr-summary-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  font-size: 14px;
  color: #8c6d2e;
}

.gmr-summary-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.gmr-summary-meta-item + .gmr-summary-meta-item {
  padding-left: 14px;
  position: relative;
}

.gmr-summary-meta-item + .gmr-summary-meta-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 14px;
  background: rgba(140, 109, 46, 0.35);
}

.gmr-summary-meta-item strong {
  font-size: 16px;
  font-weight: 700;
  color: #5f4b1c;
}

.gmr-summary-breakdown {
  width: 100%;
  padding-top: 10px;
  border-top: 1px solid rgba(140, 109, 46, 0.25);
  display: grid;
  gap: 2px;
}

.gmr-summary-placeholder {
  padding: 12px 16px;
  background: #f6f7ff;
  border: 1px dashed #c9cfee;
  border-radius: 12px;
  color: #5e6180;
  font-size: 14px;
}

.gmr-summary-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 8px;
}

.gmr-summary-row .gmr-stars {
  justify-self: center;
}

.gmr-summary-label {
  font-weight: 600;
  color: #8c6d2e;
}

.gmr-summary-breakdown .gmr-summary-score {
  min-width: 36px;
  text-align: right;
  font-weight: 600;
  color: #5f4b1c;
}

.gmr-summary-empty .gmr-summary-title,
.gmr-summary-empty .gmr-summary-meta,
.gmr-summary-empty .gmr-summary-label,
.gmr-summary-empty .gmr-summary-score {
  color: rgba(95, 75, 28, 0.65);
}

.gmr-summary-empty .gmr-stars::after,
.gmr-summary-empty .gmr-stars {
  color: rgba(208, 194, 147, 0.6);
}

/* ------------------------------------------------------------------ */
/* Comment form card                                                   */
/* ------------------------------------------------------------------ */

.gmr-form-card {
  margin: 5px 0 0;
  padding: 28px 28px 32px;
  background: #f5ebd7;
  border: 2px solid #e3d1b3;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(149, 109, 52, 0.12);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.gmr-form-reply {
  margin: 5px 0 0;
  padding: 10px 10px 10px;
  background: #f6f7ff;
  border: 2px solid #dfe3fb;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(149, 109, 52, 0.12);
  font-size: 12px;
  margin-bottom: 15px;
}
.gmr-form-card .gmr-form {
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 0;
  background: transparent;
}

.gmr-form-card .gmr-form h3 {
  margin-bottom: 10px;
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
  font-size: 22px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-align: center;
  color: #3b2a16;
  font-weight: 700;
}

.gmr-form-card .gmr-form-field {
  justify-content: space-between;
  align-items: center;
  flex-wrap: nowrap;
  gap: 18px;
  margin: 0;
  padding: 0px 0;
  border-bottom: 1px dashed rgba(70, 44, 17, 0.25);
}

.gmr-form-card .gmr-form-field:last-of-type {
  border-bottom: none;
  padding-bottom: 4px;
}

.gmr-form-card .gmr-form-label {
  min-width: 0;
  font-size: 16px;
  font-weight: 600;
  color: #4b3623;
  text-transform: capitalize;
}

.gmr-form-card .gmr-form-stars {
  gap: 6px;
}

.gmr-form-card .gmr-form-stars label {
  font-size: 24px;
  color: #d7c5a8;
  transition: transform 0.2s ease, color 0.2s ease;
}

.gmr-form-card .gmr-form-stars label:hover,
.gmr-form-card .gmr-form-stars label:hover ~ label,
.gmr-form-card .gmr-form-stars input:checked ~ label {
  color: #ffb400;
  transform: translateY(-2px);
}

.gmr-form-card .gmr-form-value {
  min-width: auto;
  font-size: 13px;
  font-style: italic;
  color: rgba(75, 54, 35, 0.75);
}

.gmr-form-card .gmr-form-message {
  gap: 10px;
}

.gmr-form-card .gmr-form-message label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #604226;
}

.gmr-form-card .gmr-form-message .req {
  color: #bb2f2f;
}

.gmr-form-card .gmr-form-message .gmr-input {
  display: flex;
}

.gmr-form-card .gmr-form-message textarea {
  width: 100%;
  min-height: 140px;
  padding: 14px 16px;
  font-size: 14px;
  color: #4b3623;
  background: rgba(255, 255, 255, 0.75);
  border: 2px solid #d6c19d;
  border-radius: 16px;
  box-shadow: inset 0 4px 8px rgba(0, 0, 0, 0.08);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.gmr-form-card .gmr-form-message textarea:focus {
  outline: none;
  border-color: #c38d2d;
  box-shadow: 0 0 0 3px rgba(195, 141, 45, 0.2), inset 0 4px 8px rgba(0, 0, 0, 0.05);
}

.gmr-form-card .gmr-form-message textarea::placeholder {
  color: rgba(75, 54, 35, 0.5);
}

.gmr-form-card .gmr-form-stars input:focus-visible + label {
  outline: 2px solid rgba(195, 141, 45, 0.4);
  outline-offset: 2px;
  border-radius: 6px;
}

@media (max-width: 600px) {
  .gmr-form-field,
  .gmr-summary-row,
  .gmr-comment-row {
    gap: 8px;
  }

  .gmr-form-label {
    min-width: 0;
    width: 100%;
  }

  .gmr-form-value,
  .gmr-comment-score,
  .gmr-summary-score {
    text-align: end;
    width: 100%;
  }

  .gmr-summary-meta {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .gmr-form-stars {
    justify-content: flex-start;
	margin-inline-start: 5px;
  }

  .gmr-form-card {
    padding: 24px 20px 28px;
  }

  .gmr-form-card .gmr-form-field {
    flex-wrap: wrap;
    gap: 8px;
    align-items: flex-start;
  }

  .gmr-form-card .gmr-form-value {
    width: 100%;
  }
}

@media screen and (max-width: 767px) {
  #item-image .swiper-thumbs li {
    width: 82px;
    height: 70px;
    margin: 8px 4px 8px 4px;
    z-index: -1111;
  }
}

.guide-review-card {
  background: #fff;
  border: 1px solid #e4eaf5;
  border-radius: 18px;
  box-shadow: 0 10px 28px rgba(20, 35, 70, 0.1);
  margin: 14px 0;
  overflow: hidden;
}

.guide-bio-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 8px;
  background: linear-gradient(135deg, #d8a63c, #63bfff);
  border-radius: 14px;
  color: #fff;
  font-size: 18px;
  font-weight: 800;
  text-align: left;
}

.guide-bio-header strong {
  display: block;
  line-height: 34px;
}

#item-main #about .guide-bio-header strong {
  margin: 0;
  font-size: 18px;
  line-height: 34px;
  text-align: left;
}

.guide-bio-header-icon {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 34px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  text-decoration: none;
}

.guide-bio-header-icon img {
  width: 34px;
  height: 34px;
  display: block;
  border-radius: 50%;
  object-fit: cover;
}

.guide-bio-content {
  padding: 16px;
  background: linear-gradient(180deg, #fff, #f8fbff);
  color: #263247;
  font-size: 14px;
  line-height: 1.7;
}

.guide-rating-section {
  margin: 0;
}

.guide-review-card .gmr-summary {
  margin: 0;
  padding: 10px 14px 12px;
  background: linear-gradient(135deg, rgba(251,191,36,.22), rgba(37,99,235,.10));
  border: 1px solid #e2b457;
  border-radius: 16px;
  box-shadow: none;
  gap: 0;
}

.guide-review-card .gmr-summary-title {
  margin-bottom: 8px;
  color: #8a5a12;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0.18em;
}

.guide-review-card .gmr-summary-main {
  text-align: center;
  gap: 2px;
}

.guide-review-card .gmr-summary-main > div:first-child {
  justify-content: center;
  gap: 14px !important;
}

.guide-review-card .gmr-summary-score {
  width: auto;
  color: #3b2608;
  font-weight: 800;
}

.guide-review-card .gmr-summary-main .gmr-summary-score {
  font-size: 28px;
}

.guide-review-card .gmr-summary-meta {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 3px;
  color: #755018;
  font-size: 13px;
}

.guide-review-card .gmr-summary-meta-item + .gmr-summary-meta-item {
  border-left: 1px solid #d9ad58;
  padding-left: 16px;
}

.guide-review-card .gmr-summary-meta-item + .gmr-summary-meta-item::before {
  display: none;
}

.guide-review-card .gmr-summary-breakdown {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid rgba(166, 116, 30, 0.25);
}

.guide-review-card .gmr-summary-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto 34px;
  align-items: center;
  gap: 8px;
}

.guide-review-card .gmr-summary-label {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  color: #3d2d17;
  font-size: 13px;
  font-weight: 700;
}

.guide-review-card .rating-icon {
  width: 28px;
  height: 28px;
  min-width: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 13px;
}

.guide-review-card .city-knowledge-icon {
  background: #e7f1ff;
  color: #245dff;
}

.guide-review-card .language-icon {
  background: #e8f8ef;
  color: #168a4c;
}

.guide-review-card .personality-icon {
  background: #f0e8ff;
  color: #7a45d1;
}

.guide-review-card .recommendation-icon {
  background: #fff0e3;
  color: #c46a18;
}

.guide-review-card .gmr-stars {
  color: #ddd2bd;
}

.guide-review-card .gmr-stars::after {
  color: #e09a14;
}

.guide-review-card .gmr-stars-lg {
  font-size: 24px;
}

.guide-review-card .gmr-stars-sm {
  font-size: 14px;
}

.gmr-summary-public-profile .gmr-summary-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto 34px;
  align-items: center;
  gap: 8px;
}

.gmr-summary-public-profile .gmr-summary-label {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  color: #3d2d17;
  font-size: 13px;
  font-weight: 700;
}

.gmr-summary-public-profile .rating-icon {
  width: 28px;
  height: 28px;
  min-width: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 13px;
}

.gmr-summary-public-profile .city-knowledge-icon {
  background: #e7f1ff;
  color: #245dff;
}

.gmr-summary-public-profile .language-icon {
  background: #e8f8ef;
  color: #168a4c;
}

.gmr-summary-public-profile .personality-icon {
  background: #f0e8ff;
  color: #7a45d1;
}

.gmr-summary-public-profile .recommendation-icon {
  background: #fff0e3;
  color: #c46a18;
}

@media (max-width: 360px) {
  .guide-review-card .gmr-summary-row {
    grid-template-columns: minmax(0, 1fr) auto 28px;
    gap: 5px;
  }

  .guide-review-card .gmr-summary-label {
    font-size: 12px;
  }

  .guide-review-card .gmr-stars-sm {
    font-size: 12px;
    letter-spacing: 1px;
  }
}
