/* ===== REVIEWS SECTION ===== */
.reviews-section {
  position: relative;
  padding: 80px 0 60px;
  background: linear-gradient(180deg, #0d0d14 0%, #1a1520 50%, #0d0d14 100%);
  overflow: hidden;
}

.reviews-section .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.reviews-header {
  text-align: center;
  margin-bottom: 48px;
}

.reviews-header .section-label {
  display: block;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 13px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #c9a96e;
  margin-bottom: 16px;
}

.reviews-header .section-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(28px, 4vw, 42px);
  color: #f0e6d3;
  font-weight: 300;
  line-height: 1.3;
  margin-bottom: 16px;
}

.reviews-header .section-divider {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, transparent, #c9a96e, transparent);
  margin: 0 auto 24px;
}

.reviews-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 8px;
}

.reviews-avg-stars {
  display: flex;
  gap: 3px;
}

.reviews-avg-stars .star {
  color: #c9a96e;
  font-size: 20px;
}

.reviews-avg-stars .star.empty {
  color: #3a3540;
}

.reviews-avg-stars .star.half {
  position: relative;
}

.reviews-count {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: #a09aaf;
}

/* ===== CAROUSEL ===== */
.reviews-carousel-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, black 5%, black 95%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 5%, black 95%, transparent);
  margin-bottom: 40px;
}

.reviews-carousel-track {
  display: flex;
  gap: 24px;
  animation: reviews-scroll 60s linear infinite;
  width: max-content;
}

.reviews-carousel-track:hover {
  animation-play-state: paused;
}

@keyframes reviews-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ===== REVIEW CARD ===== */
.review-card {
  flex-shrink: 0;
  width: 360px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(201, 169, 110, 0.15);
  border-radius: 16px;
  padding: 28px;
  backdrop-filter: blur(10px);
  transition: transform 0.3s ease, border-color 0.3s ease;
  cursor: pointer;
}

.review-card:hover {
  transform: translateY(-4px);
  border-color: rgba(201, 169, 110, 0.4);
}

.review-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.review-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(201, 169, 110, 0.3);
  background: #2a2530;
}

.review-avatar-placeholder {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #c9a96e, #8b7355);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: #0d0d14;
  flex-shrink: 0;
}

.review-author-info {
  flex: 1;
  min-width: 0;
}

.review-author-name {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: #f0e6d3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.review-source {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  color: #7a7488;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 2px;
}

.review-source.amazon {
  color: #f59e0b;
}

.review-source.google {
  background: linear-gradient(90deg, #4285F4, #34A853, #FBBC05, #EA4335);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 600;
}

.review-stars {
  display: flex;
  gap: 2px;
  margin-bottom: 12px;
}

.review-stars .star {
  color: #c9a96e;
  font-size: 14px;
}

.review-stars .star.empty {
  color: #3a3540;
}

.review-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 17px;
  font-weight: 600;
  color: #e8dcc8;
  margin-bottom: 8px;
  line-height: 1.3;
}

.review-body {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: #a09aaf;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 12px;
}

.review-images {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}

.review-images img {
  width: 64px;
  height: 64px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid rgba(201, 169, 110, 0.2);
  cursor: pointer;
  transition: transform 0.2s;
}

.review-images img:hover {
  transform: scale(1.1);
}

.review-date {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  color: #5a5468;
}

/* ===== LEAVE REVIEW CTA ===== */
.review-cta-wrapper {
  text-align: center;
}

.review-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #c9a96e, #a08245);
  color: #0d0d14;
  border: none;
  padding: 14px 36px;
  border-radius: 50px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  letter-spacing: 0.5px;
}

.review-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(201, 169, 110, 0.3);
}

.review-cta-btn svg {
  width: 18px;
  height: 18px;
}

/* ===== REVIEW MODAL ===== */
.review-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(5px);
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.review-modal-overlay.visible {
  display: flex;
}

.review-modal {
  background: #1a1520;
  border: 1px solid rgba(201, 169, 110, 0.2);
  border-radius: 20px;
  padding: 40px;
  max-width: 520px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
}

.review-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  color: #7a7488;
  font-size: 24px;
  cursor: pointer;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.2s;
}

.review-modal-close:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #f0e6d3;
}

.review-modal h3 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 28px;
  color: #f0e6d3;
  margin-bottom: 8px;
}

.review-modal .modal-subtitle {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: #7a7488;
  margin-bottom: 28px;
}

/* User info in modal */
.review-modal-user {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  margin-bottom: 24px;
}

.review-modal-user img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid rgba(201, 169, 110, 0.3);
}

.review-modal-user .user-name {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  color: #f0e6d3;
  font-weight: 600;
}

.review-modal-user .user-email {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  color: #7a7488;
}

/* Star rating input */
.star-rating-input {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
}

.star-rating-input .star-btn {
  background: none;
  border: none;
  font-size: 32px;
  color: #3a3540;
  cursor: pointer;
  transition: all 0.15s ease;
  padding: 0;
  line-height: 1;
}

.star-rating-input .star-btn.active,
.star-rating-input .star-btn:hover {
  color: #c9a96e;
  transform: scale(1.15);
}

.star-rating-input .star-btn:hover ~ .star-btn {
  color: #3a3540 !important;
  transform: none !important;
}

.star-rating-label {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: #a09aaf;
  margin-bottom: 8px;
  display: block;
}

/* Review text input */
.review-input-group {
  margin-bottom: 20px;
}

.review-input-group label {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: #a09aaf;
  margin-bottom: 8px;
  letter-spacing: 0.5px;
}

.review-input-group input[type="text"],
.review-input-group textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(201, 169, 110, 0.15);
  border-radius: 10px;
  padding: 12px 16px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: #f0e6d3;
  outline: none;
  transition: border-color 0.2s;
  box-sizing: border-box;
}

.review-input-group input:focus,
.review-input-group textarea:focus {
  border-color: rgba(201, 169, 110, 0.5);
}

.review-input-group textarea {
  min-height: 120px;
  resize: vertical;
}

/* Image upload */
.review-image-upload {
  margin-bottom: 24px;
}

.review-image-upload label {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: #a09aaf;
  margin-bottom: 8px;
}

.upload-zone {
  border: 2px dashed rgba(201, 169, 110, 0.2);
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
}

.upload-zone:hover {
  border-color: rgba(201, 169, 110, 0.4);
  background: rgba(201, 169, 110, 0.03);
}

.upload-zone-text {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: #7a7488;
}

.upload-zone-icon {
  font-size: 28px;
  margin-bottom: 8px;
  display: block;
}

.upload-previews {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  flex-wrap: wrap;
}

.upload-preview {
  position: relative;
  width: 72px;
  height: 72px;
}

.upload-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid rgba(201, 169, 110, 0.2);
}

.upload-preview .remove-img {
  position: absolute;
  top: -6px;
  right: -6px;
  width: 20px;
  height: 20px;
  background: #e53e3e;
  border: none;
  border-radius: 50%;
  color: white;
  font-size: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Submit button */
.review-submit-btn {
  width: 100%;
  background: linear-gradient(135deg, #c9a96e, #a08245);
  color: #0d0d14;
  border: none;
  padding: 14px;
  border-radius: 12px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}

.review-submit-btn:hover {
  box-shadow: 0 6px 20px rgba(201, 169, 110, 0.3);
}

.review-submit-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.review-submit-msg {
  text-align: center;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  margin-top: 12px;
  display: none;
}

.review-submit-msg.success { color: #48bb78; display: block; }
.review-submit-msg.error { color: #fc8181; display: block; }

/* ===== IMAGE LIGHTBOX ===== */
.review-lightbox {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.9);
  z-index: 10001;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.review-lightbox.visible { display: flex; }

.review-lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  border-radius: 8px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .reviews-section { padding: 60px 0 40px; }
  .review-card { width: 300px; padding: 20px; }
  .review-modal { padding: 28px 20px; margin: 10px; }
  .review-modal h3 { font-size: 22px; }
  .star-rating-input .star-btn { font-size: 28px; }
}

/* ===== NO REVIEWS STATE ===== */
.reviews-empty {
  text-align: center;
  padding: 40px 20px;
  color: #7a7488;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
}

.reviews-empty .empty-icon {
  font-size: 48px;
  margin-bottom: 16px;
  display: block;
}

/* ===== REVIEW DETAIL POPUP ===== */
.review-detail-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
  z-index: 10002;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.review-detail-overlay.visible {
  display: flex;
}

.review-detail-modal {
  background: #1a1520;
  border: 1px solid rgba(201, 169, 110, 0.25);
  border-radius: 20px;
  padding: 36px;
  max-width: 580px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  position: relative;
  animation: fadeInScale 0.25s ease-out;
}

@keyframes fadeInScale {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

.review-detail-body {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  color: #c8c0d4;
  line-height: 1.75;
  margin-bottom: 16px;
  white-space: pre-wrap;
}

.review-detail-images {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.review-detail-images img {
  width: 120px;
  height: 120px;
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid rgba(201, 169, 110, 0.2);
  cursor: pointer;
  transition: transform 0.2s;
}

.review-detail-images img:hover {
  transform: scale(1.05);
}

.review-detail-date {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  color: #5a5468;
  margin-top: 8px;
}
