.product-reviews-scope .review-avt-initial {
  align-items: center;
  background: var(--main-3, #f5f5f5);
  border-radius: 50%;
  color: var(--main, #111);
  display: flex;
  font-size: 14px;
  font-weight: 600;
  height: 48px;
  justify-content: center;
  width: 48px;
}

.product-reviews-scope .review-images {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.product-reviews-scope .review-image-thumb {
  background: transparent;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 8px;
  cursor: pointer;
  display: block;
  height: 72px;
  overflow: hidden;
  padding: 0;
  position: relative;
  width: 72px;
}

.product-reviews-scope .review-image-thumb:hover {
  border-color: var(--primary, #111);
}

.product-reviews-scope .review-image-thumb:hover .review-image-thumb-zoom {
  opacity: 1;
  visibility: visible;
}

.product-reviews-scope .review-image-thumb-zoom {
  align-items: center;
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  display: flex;
  height: 100%;
  justify-content: center;
  left: 0;
  opacity: 0;
  position: absolute;
  top: 0;
  transition: opacity 0.2s ease, visibility 0.2s ease;
  visibility: hidden;
  width: 100%;
}

.product-reviews-scope .review-image-thumb img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.product-reviews-scope .review-admin-reply {
  background: rgba(0, 0, 0, 0.03);
  border-radius: 8px;
  margin-top: 12px;
  padding: 10px 12px;
}

.product-reviews-scope .review-votes {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}

.product-reviews-scope .review-vote-btn {
  align-items: center;
  background: transparent;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 999px;
  color: inherit;
  display: inline-flex;
  font-size: 12px;
  gap: 6px;
  padding: 4px 10px;
}

.product-reviews-scope .review-vote-btn.is-active {
  border-color: var(--primary, #111);
  color: var(--primary, #111);
}

.product-reviews-scope .review-upload {
  border: 1px dashed rgba(0, 0, 0, 0.18);
  border-radius: 12px;
  margin: 16px 0;
  position: relative;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.product-reviews-scope .review-upload.is-dragover {
  background: rgba(0, 0, 0, 0.02);
  border-color: var(--primary, #111);
}

.product-reviews-scope .review-upload.has-error {
  border-color: #dc3545;
}

.product-reviews-scope .review-upload-input {
  height: 0;
  opacity: 0;
  overflow: hidden;
  position: absolute;
  width: 0;
}

.product-reviews-scope .review-upload-label {
  cursor: pointer;
  display: block;
  padding: 24px 16px;
  text-align: center;
}

.product-reviews-scope .review-upload-icon {
  display: block;
  font-size: 24px;
  line-height: 1;
  margin-bottom: 8px;
}

.product-reviews-scope .review-upload-title {
  display: block;
  font-size: 14px;
  font-weight: 500;
}

.product-reviews-scope .review-upload-hint {
  color: rgba(0, 0, 0, 0.55);
  display: block;
  font-size: 12px;
  margin-top: 4px;
}

.product-reviews-scope .review-upload-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
}

.product-reviews-scope .review-upload-preview-item {
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 8px;
  height: 72px;
  overflow: hidden;
  position: relative;
  width: 72px;
}

.product-reviews-scope .review-upload-preview-item img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.product-reviews-scope .review-upload-remove {
  align-items: center;
  background: rgba(0, 0, 0, 0.65);
  border: 0;
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  display: flex;
  font-size: 14px;
  height: 22px;
  justify-content: center;
  line-height: 1;
  padding: 0;
  position: absolute;
  right: 4px;
  top: 4px;
  width: 22px;
}

.product-reviews-scope .form-review-login {
  margin-bottom: 20px;
}

.product-reviews-scope .review-form-message {
  margin-bottom: 12px;
}

.product-reviews-scope .list-rating-check {
  position: relative;
}

.product-reviews-scope .list-rating-check > input {
  cursor: pointer;
  height: 18px;
  margin: 0;
  opacity: 0;
  position: absolute;
  width: 18px;
  z-index: 1;
}

.product-reviews-scope .list-rating-check > label {
  cursor: pointer;
  display: inline-block;
  pointer-events: auto;
  position: relative;
  z-index: 2;
}

.product-reviews-scope [x-cloak] {
  display: none !important;
}

html.review-lightbox-open {
  overflow: hidden;
}

.review-lightbox {
  align-items: center;
  display: flex;
  inset: 0;
  justify-content: center;
  padding: 24px 16px;
  position: fixed;
  z-index: 2000;
}

.review-lightbox-backdrop {
  backdrop-filter: blur(8px);
  background: rgba(16, 24, 40, 0.72);
  inset: 0;
  position: absolute;
}

.review-lightbox-shell {
  background: var(--white, #fff);
  border-radius: 16px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
  max-height: calc(100vh - 48px);
  max-width: 1120px;
  overflow: hidden;
  position: relative;
  width: 100%;
  z-index: 1;
}

.review-lightbox-close {
  color: var(--dark, #111);
  position: absolute;
  right: 8px;
  top: 8px;
  z-index: 5;
}

.review-lightbox-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  max-height: calc(100vh - 48px);
  min-height: 520px;
}

.review-lightbox-stage {
  align-items: center;
  background: var(--dark-5, #252525);
  display: flex;
  justify-content: center;
  min-height: 420px;
  position: relative;
}

.review-lightbox-image-wrap {
  align-items: center;
  display: flex;
  height: 100%;
  justify-content: center;
  max-height: calc(100vh - 48px);
  padding: 48px 72px;
  width: 100%;
}

.review-lightbox-image {
  display: block;
  max-height: calc(100vh - 160px);
  max-width: 100%;
  object-fit: contain;
  width: auto;
}

.review-lightbox-nav {
  align-items: center;
  background: rgba(255, 255, 255, 0.94);
  border: 0;
  border-radius: 50%;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
  color: var(--dark, #111);
  cursor: pointer;
  display: flex;
  height: 44px;
  justify-content: center;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  transition: background-color 0.2s ease, color 0.2s ease;
  width: 44px;
  z-index: 2;
}

.review-lightbox-nav:hover {
  background: var(--primary, #ff6f61);
  color: var(--white, #fff);
}

.review-lightbox-nav--prev {
  left: 16px;
}

.review-lightbox-nav--next {
  right: 16px;
}

.review-lightbox-gallery-count {
  background: rgba(0, 0, 0, 0.55);
  border-radius: 999px;
  bottom: 16px;
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  left: 50%;
  letter-spacing: 0.02em;
  padding: 6px 12px;
  position: absolute;
  transform: translateX(-50%);
}

.review-lightbox-sidebar {
  background: var(--white, #fff);
  border-left: 1px solid var(--line, #ebebeb);
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.review-lightbox-sidebar-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
}

.review-lightbox-sidebar-header {
  border-bottom: 1px solid var(--line, #ebebeb);
  padding: 20px 20px 16px;
}

.review-lightbox-sidebar-user {
  align-items: center;
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
}

.review-lightbox-sidebar-avatar {
  align-items: center;
  background: var(--primary-4, #fff1ef);
  border-radius: 50%;
  color: var(--primary, #ff6f61);
  display: flex;
  flex-shrink: 0;
  font-size: 14px;
  font-weight: 600;
  height: 44px;
  justify-content: center;
  width: 44px;
}

.review-lightbox-sidebar-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.review-lightbox-sidebar-author {
  color: var(--dark, #111);
  display: block;
  font-size: 14px;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.review-lightbox-sidebar-date {
  color: rgba(0, 0, 0, 0.45);
  display: block;
  font-size: 12px;
}

.review-lightbox-sidebar-body {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 16px 20px;
}

.review-lightbox-sidebar-body p {
  color: var(--dark-3, #282828);
  font-size: 14px;
  line-height: 1.65;
  margin: 0;
  white-space: pre-wrap;
}

.review-lightbox-sidebar-reply {
  background: var(--line-2, #f2f4f7);
  border-radius: 10px;
  color: var(--dark-3, #282828);
  font-size: 13px;
  line-height: 1.55;
  margin-top: 16px;
  padding: 12px 14px;
}

.review-lightbox-sidebar-reply strong {
  display: block;
  font-size: 12px;
  margin-bottom: 4px;
}

.review-lightbox-sidebar-footer {
  align-items: center;
  border-top: 1px solid var(--line, #ebebeb);
  color: rgba(0, 0, 0, 0.55);
  display: flex;
  font-size: 12px;
  gap: 12px;
  justify-content: space-between;
  padding: 14px 20px 18px;
}

.review-lightbox-comment-dots {
  display: flex;
  gap: 6px;
}

.review-lightbox-comment-dot {
  background: var(--line-3, #c9c9c9);
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  height: 8px;
  padding: 0;
  transition: background-color 0.2s ease, transform 0.2s ease;
  width: 8px;
}

.review-lightbox-comment-dot.is-active {
  background: var(--primary, #ff6f61);
  transform: scale(1.15);
}

.review-lightbox-sidebar-enter {
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.review-lightbox-sidebar-enter-start {
  opacity: 0;
  transform: translateX(12px);
}

.review-lightbox-sidebar-enter-end {
  opacity: 1;
  transform: translateX(0);
}

@media (max-width: 991px) {
  .review-lightbox {
    padding: 0;
  }

  .review-lightbox-shell {
    border-radius: 0;
    max-height: 100vh;
    max-width: none;
  }

  .review-lightbox-layout {
    grid-template-columns: 1fr;
    max-height: 100vh;
    min-height: 100vh;
  }

  .review-lightbox-stage {
    min-height: 55vh;
  }

  .review-lightbox-image-wrap {
    max-height: 55vh;
    padding: 56px 56px 40px;
  }

  .review-lightbox-image {
    max-height: calc(55vh - 96px);
  }

  .review-lightbox-sidebar {
    border-left: 0;
    border-top: 1px solid var(--line, #ebebeb);
    max-height: 45vh;
  }
}

@media (max-width: 575px) {
  .review-lightbox-nav {
    height: 38px;
    width: 38px;
  }

  .review-lightbox-nav--prev {
    left: 10px;
  }

  .review-lightbox-nav--next {
    right: 10px;
  }

  .review-lightbox-image-wrap {
    padding: 52px 44px 36px;
  }
}
