/* Product reviews — creative pro layout */
#tab-review {
  padding: 4px 0 0;
}

.ie-reviews-list {
  margin: 0 0 28px;
}

.ie-review-card {
  background: #fff;
  border: 1px solid #ececec;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
  margin: 0 0 16px;
  overflow: hidden;
  padding: 18px 20px;
}

.ie-review-card-head {
  align-items: flex-start;
  display: flex;
  gap: 14px;
  margin-bottom: 12px;
}

.ie-review-avatar {
  align-items: center;
  background: linear-gradient(135deg, #f12a43 0%, #c91e3a 100%);
  border-radius: 50%;
  color: #fff;
  display: flex;
  flex-shrink: 0;
  font-size: 18px;
  font-weight: 700;
  height: 44px;
  justify-content: center;
  width: 44px;
}

.ie-review-meta {
  flex: 1;
  min-width: 0;
}

.ie-review-author {
  color: #222;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
  margin: 0 0 4px;
}

.ie-review-date {
  color: #888;
  font-size: 12px;
}

.ie-review-stars {
  margin-top: 6px;
}

.ie-review-stars .fa-stack {
  height: 14px;
  width: 14px;
}

.ie-review-stars .fa-star {
  color: #f5a623;
  font-size: 14px;
}

.ie-review-stars .fa-star.off {
  color: #ddd;
}

.ie-review-body {
  color: #444;
  font-size: 14px;
  line-height: 1.65;
  margin: 0 0 12px;
}

.ie-review-photos {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

.ie-review-photo {
  border: 1px solid #eee;
  border-radius: 10px;
  cursor: zoom-in;
  display: block;
  height: 88px;
  object-fit: cover;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  width: 88px;
}

.ie-review-photo:hover {
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
  transform: scale(1.03);
}

.ie-reviews-empty {
  background: #fafafa;
  border: 1px dashed #ddd;
  border-radius: 12px;
  color: #777;
  font-size: 14px;
  margin: 0 0 24px;
  padding: 28px 20px;
  text-align: center;
}

.ie-review-form-panel {
  background: linear-gradient(180deg, #fff 0%, #fafafa 100%);
  border: 1px solid #ececec;
  border-radius: 14px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  padding: 22px 22px 18px;
}

.ie-review-form-title {
  color: #222;
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 6px;
}

.ie-review-form-sub {
  color: #777;
  font-size: 13px;
  line-height: 1.5;
  margin: 0 0 18px;
}

.ie-review-field {
  margin-bottom: 16px;
}

.ie-review-field label {
  color: #333;
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
}

.ie-review-field .form-control {
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: none;
  font-size: 14px;
}

.ie-review-field .form-control:focus {
  border-color: #f12a43;
  box-shadow: 0 0 0 3px rgba(241, 42, 67, 0.12);
}

.ie-review-stars-input {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin: 0;
}

.ie-review-stars-input button {
  background: none;
  border: none;
  color: #ddd;
  cursor: pointer;
  font-size: 26px;
  line-height: 1;
  padding: 2px;
  transition: color 0.12s ease, transform 0.12s ease;
}

.ie-review-stars-input button:hover,
.ie-review-stars-input button.is-on {
  color: #f5a623;
  transform: scale(1.08);
}

.ie-review-stars-input button:focus {
  outline: none;
}

.ie-review-upload-zone {
  background: #fff;
  border: 2px dashed #d8d8d8;
  border-radius: 12px;
  cursor: pointer;
  padding: 20px 16px;
  text-align: center;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.ie-review-upload-zone:hover,
.ie-review-upload-zone.is-dragover {
  background: #fff8f9;
  border-color: #f12a43;
}

.ie-review-upload-zone.has-image {
  border-style: solid;
  padding: 12px;
}

.ie-review-upload-icon {
  color: #f12a43;
  font-size: 28px;
  margin-bottom: 8px;
}

.ie-review-upload-text {
  color: #444;
  font-size: 14px;
  font-weight: 600;
  margin: 0 0 4px;
}

.ie-review-upload-hint {
  color: #888;
  font-size: 12px;
  margin: 0;
}

.ie-review-upload-preview {
  display: none;
  margin-top: 12px;
  position: relative;
}

.ie-review-upload-zone.has-image .ie-review-upload-preview {
  display: block;
}

.ie-review-upload-zone.has-image .ie-review-upload-prompt {
  display: none;
}

.ie-review-upload-preview img {
  border-radius: 10px;
  display: block;
  max-height: 160px;
  max-width: 100%;
  object-fit: contain;
}

.ie-review-upload-remove {
  background: rgba(0, 0, 0, 0.65);
  border: none;
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  font-size: 16px;
  height: 28px;
  line-height: 28px;
  position: absolute;
  right: 8px;
  top: 8px;
  width: 28px;
}

.ie-review-submit {
  background: #f12a43 !important;
  border: none !important;
  border-radius: 8px !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  min-width: 160px;
  padding: 11px 22px !important;
}

.ie-review-submit:hover,
.ie-review-submit:focus {
  background: #c91e3a !important;
}

.ie-review-pagination {
  margin-top: 8px;
  text-align: right;
}

#tab-review .alert {
  border-radius: 8px;
  margin-top: 14px;
}

@media (max-width: 767px) {
  .ie-review-form-panel {
    padding: 16px 14px;
  }

  .ie-review-card {
    padding: 14px;
  }
}
