/* HINCCO Reviews v1.4.1 — Luxury Automotive Design */
:root {
  --hincco-brand-red: #ff0000;
  --hincco-brand-red-hover: #dc2626;
  --hincco-brand-dark: #1e293b;
  --hincco-brand-black: #0f172a;
  --hincco-text-main: #334155;
  --hincco-text-muted: #64748b;
  --hincco-card-bg: #ffffff;
  --hincco-bg-soft: #f8fafc;
  --hincco-border: #e2e8f0;
  --hincco-gold: #f59e0b;
  --hincco-gold-hover: #d97706;
  --hincco-emerald: #10b981;
  --hincco-radius-lg: 18px;
  --hincco-radius-md: 12px;
  --hincco-radius-pill: 50px;
  --hincco-shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --hincco-shadow-md: 0 10px 30px -5px rgba(0, 0, 0, 0.07);
  --hincco-shadow-lg: 0 20px 45px -10px rgba(0, 0, 0, 0.1);
}

/* ════ 1. PORTAL PAGE (/customer-reviews/) ════ */
.hincco-portal-outer-wrap {
  max-width: 780px;
  margin: 30px auto 60px;
  padding: 0 16px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Helvetica Neue", Arial, sans-serif;
  color: var(--hincco-text-main);
  box-sizing: border-box;
}

.hincco-portal-hero {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  border-radius: var(--hincco-radius-lg);
  padding: 38px 30px 34px;
  text-align: center;
  color: #ffffff;
  margin-bottom: 24px;
  box-shadow: var(--hincco-shadow-md);
  border-bottom: 4px solid var(--hincco-brand-red);
}

.hincco-hero-badge {
  display: inline-block;
  background: rgba(255, 0, 0, 0.18);
  color: #ff6b6b;
  border: 1px solid rgba(255, 107, 107, 0.35);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  padding: 5px 14px;
  border-radius: var(--hincco-radius-pill);
  margin-bottom: 14px;
  text-transform: uppercase;
}

.hincco-hero-title {
  font-size: 30px;
  font-weight: 900;
  color: #ffffff;
  margin: 0 0 10px;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.hincco-hero-subtitle {
  font-size: 15px;
  color: #cbd5e1;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

.hincco-portal-card {
  background: var(--hincco-card-bg);
  border: 1px solid var(--hincco-border);
  border-radius: var(--hincco-radius-lg);
  padding: 36px 32px;
  box-shadow: var(--hincco-shadow-lg);
}

.hincco-form-section {
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid #f1f5f9;
}
.hincco-form-section:last-of-type {
  border-bottom: none;
  padding-bottom: 0;
}

.hincco-section-label {
  display: flex;
  align-items: center;
  font-size: 14px;
  font-weight: 800;
  color: var(--hincco-brand-black);
  margin-bottom: 12px;
}

.hincco-section-label .step-num {
  display: inline-flex;
  width: 24px;
  height: 24px;
  background: var(--hincco-brand-red);
  color: #fff;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 900;
  align-items: center;
  justify-content: center;
  margin-right: 10px;
}

.hincco-section-label .req {
  color: var(--hincco-brand-red);
  margin-left: 4px;
}

.hincco-optional-badge {
  font-size: 11px;
  font-weight: 600;
  background: #f1f5f9;
  color: var(--hincco-text-muted);
  padding: 3px 8px;
  border-radius: 6px;
  margin-left: 8px;
}

.hincco-select-wrapper select,
.hincco-input,
.hincco-textarea {
  width: 100%;
  box-sizing: border-box;
  background: #f8fafc;
  border: 1.5px solid var(--hincco-border);
  border-radius: var(--hincco-radius-md);
  padding: 13px 16px;
  font-size: 15px;
  color: var(--hincco-brand-black);
  outline: none;
  transition: all 0.2s ease;
  font-family: inherit;
}

.hincco-select-wrapper select:focus,
.hincco-input:focus,
.hincco-textarea:focus {
  background: #ffffff;
  border-color: var(--hincco-brand-red);
  box-shadow: 0 0 0 3px rgba(255, 0, 0, 0.1);
}

.hincco-mt-4 { margin-top: 18px !important; }
.hincco-char-count { font-size: 12px; color: var(--hincco-text-muted); text-align: right; margin-top: 6px; }

/* Product Preview Card */
.hincco-product-card-preview {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: var(--hincco-radius-md);
  padding: 14px 18px;
  margin-top: 14px;
}

.hincco-preview-thumb-box img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  background: #ffffff;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  padding: 4px;
}

.hincco-preview-content { flex: 1; }
.hincco-preview-tag {
  display: inline-block;
  background: rgba(16, 185, 129, 0.12);
  color: var(--hincco-emerald);
  font-size: 10.5px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 4px;
  margin-bottom: 4px;
  text-transform: uppercase;
}
.hincco-preview-content h4 { margin: 0 0 4px; font-size: 15px; font-weight: 700; color: var(--hincco-brand-black); }
.hincco-preview-meta { display: flex; align-items: center; gap: 12px; }
.hincco-preview-price { font-weight: 800; color: var(--hincco-brand-red); font-size: 14px; }
.hincco-preview-link { font-size: 12.5px; color: var(--hincco-text-muted); text-decoration: none; font-weight: 600; }
.hincco-preview-link:hover { color: var(--hincco-brand-red); text-decoration: underline; }

/* Rating Box */
.hincco-rating-picker-box {
  background: #f8fafc;
  border: 1.5px solid var(--hincco-border);
  border-radius: var(--hincco-radius-md);
  padding: 20px 24px;
  text-align: center;
}
.hincco-stars-interactive { display: inline-flex; gap: 8px; margin-bottom: 8px; }
.hincco-star-btn {
  background: none; border: none; font-size: 38px; color: #cbd5e1;
  cursor: pointer; padding: 0; line-height: 1;
  transition: transform 0.15s ease, color 0.15s ease;
}
.hincco-star-btn.active, .hincco-star-btn.hover { color: var(--hincco-gold); transform: scale(1.18); }
.hincco-rating-status { font-size: 14px; font-weight: 700; color: var(--hincco-text-muted); }
.hincco-rating-status.rated { color: var(--hincco-gold-hover); }

/* Dropzone */
.hincco-dropzone {
  border: 2px dashed #cbd5e1; border-radius: var(--hincco-radius-md);
  padding: 26px 20px; text-align: center; cursor: pointer;
  background: #f8fafc; transition: all 0.2s ease;
}
.hincco-dropzone:hover, .hincco-dropzone.drag-over { border-color: var(--hincco-brand-red); background: #fff5f5; }
.hincco-camera-icon { color: var(--hincco-text-muted); margin-bottom: 8px; }
.hincco-dropzone:hover .hincco-camera-icon { color: var(--hincco-brand-red); }
.hincco-drop-title { font-size: 14.5px; font-weight: 700; color: var(--hincco-brand-black); margin: 0 0 4px; }
.hincco-drop-title span { color: var(--hincco-brand-red); text-decoration: underline; }
.hincco-drop-sub { font-size: 12px; color: var(--hincco-text-muted); margin: 0; }
.hincco-photos-grid-preview { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 14px; }
.hincco-photo-thumb-card {
  width: 80px; height: 80px; border-radius: 8px; overflow: hidden;
  border: 2px solid var(--hincco-brand-red); box-shadow: var(--hincco-shadow-sm);
}
.hincco-photo-thumb-card img { width: 100%; height: 100%; object-fit: cover; }

/* Split Fields */
.hincco-fields-split { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 12px; }
@media (max-width: 600px) { .hincco-fields-split { grid-template-columns: 1fr; } }
.hincco-input-group label { display: block; font-size: 13px; font-weight: 700; color: var(--hincco-brand-dark); margin-bottom: 6px; }
.hincco-private-pill { font-size: 10.5px; font-weight: 600; color: var(--hincco-emerald); background: rgba(16,185,129,0.1); padding: 1px 6px; border-radius: 4px; margin-left: 6px; }
.hincco-trust-note { display: flex; align-items: flex-start; gap: 8px; font-size: 12px; color: var(--hincco-text-muted); line-height: 1.5; background: #f1f5f9; padding: 10px 14px; border-radius: 8px; }

/* Submit Button */
.hincco-submit-wrapper { margin-top: 30px; }
.hincco-btn-primary {
  width: 100%; background: var(--hincco-brand-red); color: #ffffff !important;
  font-size: 16px; font-weight: 800; padding: 16px 28px; border: none;
  border-radius: var(--hincco-radius-pill); cursor: pointer;
  box-shadow: 0 6px 20px rgba(255,0,0,0.28); transition: all 0.25s ease;
  display: flex; align-items: center; justify-content: center;
}
.hincco-btn-primary:hover { background: var(--hincco-brand-red-hover); transform: translateY(-2px); box-shadow: 0 10px 25px rgba(255,0,0,0.35); }
.hincco-btn-primary:disabled { opacity: 0.65; cursor: not-allowed; transform: none; }

/* Success Screen */
.hincco-success-container { text-align: center; padding: 40px 16px; }
.hincco-success-check-badge {
  width: 72px; height: 72px; background: linear-gradient(135deg, #10b981, #059669);
  color: #ffffff; font-size: 38px; font-weight: 900; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 25px rgba(16,185,129,0.35); margin-bottom: 20px;
}
.hincco-success-heading { font-size: 26px; font-weight: 900; color: var(--hincco-brand-black); margin: 0 0 10px; }
.hincco-success-message { font-size: 15px; color: var(--hincco-text-muted); max-width: 520px; margin: 0 auto 26px; line-height: 1.6; }
.hincco-success-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hincco-btn-return {
  background: var(--hincco-brand-red); color: #ffffff !important; font-size: 14.5px;
  font-weight: 700; padding: 12px 24px; border-radius: var(--hincco-radius-pill);
  text-decoration: none; box-shadow: 0 4px 14px rgba(255,0,0,0.25);
}
.hincco-btn-shop {
  background: #f1f5f9; color: var(--hincco-brand-dark) !important; font-size: 14.5px;
  font-weight: 700; padding: 12px 24px; border-radius: var(--hincco-radius-pill);
  text-decoration: none; border: 1px solid var(--hincco-border);
}

/* ════ 2. PRODUCT PAGE REVIEWS SHOWCASE (#tab-reviews) ════ */
.hincco-reviews-showcase-container {
  padding: 10px 0;
  font-family: inherit;
}

.hincco-product-reviews-hub {
  background: #ffffff;
  border: 1.5px solid var(--hincco-border);
  border-radius: var(--hincco-radius-lg);
  padding: 28px 26px;
  margin-bottom: 30px;
  box-shadow: var(--hincco-shadow-sm);
}

.hincco-hub-grid {
  display: grid;
  grid-template-columns: 210px 1fr 250px;
  gap: 26px;
  align-items: center;
}
@media (max-width: 900px) {
  .hincco-hub-grid { grid-template-columns: 1fr; text-align: center; }
}

.hincco-hub-score {
  text-align: center;
  border-right: 1.5px solid #e2e8f0;
  padding-right: 22px;
}
@media (max-width: 900px) {
  .hincco-hub-score { border-right: none; padding-right: 0; border-bottom: 1.5px solid #e2e8f0; padding-bottom: 20px; }
}

.hincco-big-number {
  font-size: 54px; font-weight: 900; color: var(--hincco-brand-black);
  line-height: 1; letter-spacing: -0.03em; display: block;
}
.hincco-stars-row { margin: 6px 0; }
.hincco-gold-stars { color: var(--hincco-gold); font-size: 24px; letter-spacing: 2px; }
.hincco-verified-badge {
  display: inline-block; font-size: 11px; font-weight: 800;
  color: var(--hincco-emerald); background: rgba(16,185,129,0.12);
  padding: 3px 8px; border-radius: 4px;
}
.hincco-total-reviews { font-size: 13px; color: var(--hincco-text-muted); margin: 6px 0 0; font-weight: 600; }

.hincco-hub-breakdown { display: flex; flex-direction: column; gap: 7px; }
.hincco-bar-row { display: flex; align-items: center; gap: 10px; font-size: 13px; }
.hincco-bar-label { width: 46px; font-weight: 700; color: var(--hincco-text-muted); }
.hincco-bar-track { flex: 1; height: 9px; background: #f1f5f9; border-radius: 6px; overflow: hidden; border: 1px solid #e2e8f0; }
.hincco-bar-fill { height: 100%; background: var(--hincco-gold); border-radius: 6px; }
.hincco-bar-pct { width: 34px; font-weight: 700; color: var(--hincco-brand-black); text-align: right; font-size: 12px; }

.hincco-hub-cta {
  background: #f8fafc; border: 1px solid var(--hincco-border);
  border-radius: var(--hincco-radius-md); padding: 18px; text-align: center;
}
.hincco-hub-cta h4 { margin: 0 0 6px; font-size: 15px; font-weight: 800; color: var(--hincco-brand-black); }
.hincco-hub-cta p { font-size: 12px; color: var(--hincco-text-muted); line-height: 1.5; margin: 0 0 12px; }

.hincco-write-review-btn {
  display: inline-block; background: var(--hincco-brand-red); color: #ffffff !important;
  font-size: 13px; font-weight: 800; padding: 11px 20px; border-radius: var(--hincco-radius-pill);
  text-decoration: none; box-shadow: 0 4px 14px rgba(255,0,0,0.25); transition: all 0.2s ease;
}
.hincco-write-review-btn:hover { background: var(--hincco-brand-red-hover); transform: translateY(-1px); }

/* Review Card List */
.hincco-reviews-card-list { display: flex; flex-direction: column; gap: 16px; }
.hincco-list-heading { font-size: 19px; font-weight: 800; color: var(--hincco-brand-black); margin: 0 0 14px; }

.hincco-single-review-card {
  background: #ffffff; border: 1.5px solid #edf2f7; border-radius: 14px;
  padding: 24px 22px; box-shadow: var(--hincco-shadow-sm); transition: all 0.2s ease;
}
.hincco-single-review-card:hover { box-shadow: var(--hincco-shadow-md); border-color: #e2e8f0; }

.hincco-rev-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 12px; }
.hincco-rev-author-group { display: flex; align-items: center; gap: 12px; }
.hincco-rev-avatar {
  width: 44px; height: 44px; background: linear-gradient(135deg, #1e293b, #0f172a);
  color: #fff; font-size: 15px; font-weight: 800; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.hincco-rev-name { display: block; font-size: 15px; font-weight: 800; color: var(--hincco-brand-black); }
.hincco-rev-badges { display: flex; align-items: center; gap: 8px; margin-top: 3px; }
.hincco-buyer-pill { font-size: 11px; font-weight: 700; color: var(--hincco-emerald); background: rgba(16,185,129,0.1); padding: 1px 7px; border-radius: 4px; }
.hincco-rev-date { font-size: 12px; color: var(--hincco-text-muted); }
.hincco-rev-stars { color: #cbd5e1; font-size: 18px; letter-spacing: 1px; }
.hincco-star-icon.active { color: var(--hincco-gold); }

.hincco-showcase-title { font-size: 16px; font-weight: 800; color: var(--hincco-brand-black); margin: 0 0 8px; }
.hincco-showcase-text p { font-size: 14.5px; color: var(--hincco-text-main); line-height: 1.65; margin: 0; }

.hincco-showcase-photos { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.hincco-showcase-photos a.hincco-lightbox-trigger {
  position: relative; display: inline-block; width: 90px; height: 90px;
  border-radius: 8px; overflow: hidden; border: 1.5px solid #cbd5e1; transition: all 0.2s ease;
}
.hincco-showcase-photos a.hincco-lightbox-trigger:hover { transform: scale(1.05); border-color: var(--hincco-brand-red); }
.hincco-showcase-photos a.hincco-lightbox-trigger img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hincco-photo-zoom-icon {
  position: absolute; right: 4px; bottom: 4px; background: rgba(0,0,0,0.65);
  color: #fff; font-size: 11px; width: 20px; height: 20px; border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
}

/* Empty State */
.hincco-no-reviews-card {
  background: #f8fafc; border: 2px dashed #cbd5e1; border-radius: var(--hincco-radius-lg);
  padding: 44px 20px; text-align: center;
}
.hincco-no-rev-icon { color: var(--hincco-gold); font-size: 28px; letter-spacing: 4px; margin-bottom: 12px; }
.hincco-no-reviews-card h3 { font-size: 20px; font-weight: 800; color: var(--hincco-brand-black); margin: 0 0 8px; }
.hincco-no-reviews-card p { font-size: 14.5px; color: var(--hincco-text-muted); max-width: 480px; margin: 0 auto 20px; line-height: 1.6; }
.hincco-center-btn { margin: 0 auto; }

/* Lightbox Modal */
.hincco-lightbox-modal { position: fixed; top: 0; left: 0; right: 0; bottom: 0; z-index: 999999; display: flex; align-items: center; justify-content: center; }
.hincco-lightbox-backdrop { position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,0.85); backdrop-filter: blur(4px); }
.hincco-lightbox-dialog { position: relative; z-index: 2; max-width: 90vw; max-height: 90vh; text-align: center; }
.hincco-lightbox-dialog img { max-width: 90vw; max-height: 85vh; border-radius: 10px; box-shadow: 0 10px 40px rgba(0,0,0,0.5); object-fit: contain; }
.hincco-lightbox-close {
  position: absolute; top: -38px; right: 0; background: none; border: none;
  color: #fff; font-size: 36px; cursor: pointer; line-height: 1; padding: 0;
}
