/* Exact Ollie Mexico Judge.me Reviews Layout (Img 02 & 03) */

#ollie-reviews-section {
  width: 100%;
  clear: both;
  background-color: #fcf8fa;
  padding: 50px 0 60px 0;
  margin-top: 20px;
}

.ollie-jm-container {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 20px;
  font-family: "Outfit", "Gotham Book", "Gotham", -apple-system, BlinkMacSystemFont, sans-serif;
  color: #2b2b2b;
  box-sizing: border-box;
}

/* Header */
.ollie-jm-header-title {
  font-family: "Gotham Cond Bold", "Gotham Condensed", "Outfit", sans-serif;
  font-size: 28px;
  font-weight: 700;
  text-align: center;
  color: #1a1a1a;
  margin: 0 0 6px 0;
  letter-spacing: 0.5px;
}

.ollie-jm-score-summary {
  text-align: center;
  font-size: 15px;
  color: #666666;
  margin-bottom: 30px;
}

.ollie-jm-score-summary strong {
  font-size: 24px;
  font-weight: 700;
  color: #1a1a1a;
  margin-right: 4px;
}

/* Histogram & Write Review Row */
.ollie-jm-summary-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 50px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.ollie-jm-histogram {
  display: flex;
  flex-direction: column;
  gap: 7px;
  width: 320px;
}

.ollie-jm-histo-line {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: #4a4a4a;
}

.ollie-jm-histo-star-lbl {
  width: 30px;
  display: flex;
  align-items: center;
  gap: 3px;
  font-weight: 600;
}

.ollie-jm-histo-bar-bg {
  flex: 1;
  height: 7px;
  background-color: #eaeaea;
  border-radius: 4px;
  overflow: hidden;
}

.ollie-jm-histo-bar-fill {
  height: 100%;
  background-color: #ffc107;
  border-radius: 4px;
  transition: width 0.3s ease;
}

.ollie-jm-histo-count {
  width: 45px;
  text-align: right;
  font-size: 12px;
  color: #777777;
}

.ollie-jm-write-btn {
  font-family: "Outfit", "Gotham Cond Bold", sans-serif;
  font-size: 15px;
  font-weight: 700;
  background-color: #ff5b26;
  color: #ffffff;
  border: none;
  padding: 13px 32px;
  border-radius: 24px;
  cursor: pointer;
  letter-spacing: 0.3px;
  box-shadow: 0 4px 12px rgba(255, 91, 38, 0.25);
  transition: all 0.2s ease;
}

.ollie-jm-write-btn:hover {
  background-color: #e04a18;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(255, 91, 38, 0.35);
}

/* Photo Gallery Grid (Image 02) */
.ollie-jm-photo-grid-wrap {
  margin-bottom: 35px;
  border-radius: 14px;
  overflow: hidden;
}

.ollie-jm-photo-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
}

.ollie-jm-photo-item-wrap {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 10px;
  background-color: #eee;
  cursor: pointer;
}

.ollie-jm-photo-item {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.25s ease;
}

.ollie-jm-photo-item-wrap:hover .ollie-jm-photo-item {
  transform: scale(1.06);
}

.ollie-jm-photo-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: rgba(0,0,0,0.45);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  font-weight: 700;
  backdrop-filter: blur(2px);
}

/* Filter Controls Bar */
.ollie-jm-filters-bar {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 12px;
  margin-bottom: 25px;
}

.ollie-jm-filter-btn, .ollie-jm-select-btn {
  font-family: "Outfit", sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: #2b2b2b;
  border: 1px solid #2b2b2b;
  background: #ffffff;
  padding: 7px 16px;
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  outline: none;
  transition: all 0.15s ease;
}

.ollie-jm-filter-btn:hover, .ollie-jm-select-btn:hover {
  background-color: #f7f7f7;
}

/* Reviews List (Image 03) */
.ollie-jm-reviews-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.ollie-jm-card {
  display: flex;
  gap: 40px;
  border-bottom: 1px solid #e8dedf;
  padding-bottom: 24px;
}

.ollie-jm-card-left {
  width: 240px;
  flex-shrink: 0;
}

.ollie-jm-author-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.ollie-jm-author-name {
  font-size: 16px;
  font-weight: 700;
  color: #1a1a1a;
}

.ollie-jm-verified-pill {
  font-size: 11px;
  border: 1px solid #1a1a1a;
  color: #1a1a1a;
  padding: 1px 8px;
  border-radius: 12px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

.ollie-jm-card-date {
  font-size: 12px;
  color: #888888;
  margin-bottom: 14px;
}

.ollie-jm-qa-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 12px;
}

.ollie-jm-qa-item {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.ollie-jm-qa-q {
  color: #888888;
  font-weight: 400;
}

.ollie-jm-qa-a {
  color: #2b2b2b;
  font-weight: 600;
}

.ollie-jm-card-right {
  flex: 1;
}

.ollie-jm-stars-row {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-bottom: 8px;
}

.ollie-jm-card-title {
  font-size: 17px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 6px;
  line-height: 1.3;
}

.ollie-jm-card-body {
  font-size: 14px;
  line-height: 1.6;
  color: #3a3a3a;
  margin-bottom: 14px;
}

/* Variant Tag Box (Soft pink background from Img 03) */
.ollie-jm-variant-box {
  background-color: #fde8ed;
  border-radius: 8px;
  padding: 8px 16px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  max-width: 100%;
  margin-top: 6px;
}

.ollie-jm-variant-img {
  width: 34px;
  height: 34px;
  border-radius: 4px;
  object-fit: contain;
  background: #ffffff;
  padding: 2px;
  border: 1px solid #f7cad4;
}

.ollie-jm-variant-text {
  font-size: 13px;
  color: #2b2b2b;
  font-weight: 600;
}

/* Pagination Bar */
.ollie-jm-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 40px;
  font-size: 14px;
}

.ollie-jm-page-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #4a4a4a;
  font-weight: 500;
  transition: all 0.2s ease;
  user-select: none;
}

.ollie-jm-page-num.active {
  background-color: #ff5b26;
  color: #ffffff;
  font-weight: 700;
}

.ollie-jm-page-num:hover:not(.active) {
  background-color: #ede2e5;
}

/* Lightbox Modal */
.ollie-jm-lightbox {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: rgba(0,0,0,0.85);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.ollie-jm-lightbox.open {
  opacity: 1;
  pointer-events: auto;
}

.ollie-jm-lightbox-img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  object-fit: contain;
}

.ollie-jm-lightbox-close {
  position: absolute;
  top: 24px;
  right: 28px;
  color: #ffffff;
  cursor: pointer;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}

.ollie-jm-lightbox-close:hover {
  background: rgba(255,255,255,0.4);
}

@media (max-width: 768px) {
  .ollie-jm-photo-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .ollie-jm-card {
    flex-direction: column;
    gap: 16px;
  }
  .ollie-jm-card-left {
    width: 100%;
  }
  .ollie-jm-summary-row {
    gap: 24px;
  }
  .ollie-jm-histogram {
    width: 100%;
  }
}
