/* loox-replica.css — réplica visual do widget Loox (review cards com mídia clicável) */

.lhr-container {
  max-width: 1200px;
  margin: 32px auto;
  padding: 0 16px;
}

.lhr-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid #E5E5E5;
  flex-wrap: wrap;
  gap: 12px;
}
.lhr-summary {
  display: flex;
  align-items: center;
  gap: 12px;
}
.lhr-summary__stars {
  display: flex;
  gap: 2px;
}
.lhr-summary__stars svg {
  width: 24px;
  height: 24px;
}
.lhr-summary__count {
  font-family: 'Fraunces', serif;
  font-size: 18px;
  font-weight: 500;
  color: #1a1a1a;
}

/* Grid responsivo 2/2/3/4 colunas (mobile sempre 2 columns) */
.lhr-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
@media (min-width: 900px) {
  .lhr-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
}
@media (min-width: 1200px) {
  .lhr-grid { grid-template-columns: repeat(4, 1fr); gap: 16px; }
}

/* Card */
.lhr-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  transition: box-shadow 0.2s;
}
.lhr-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

/* Media (top half) */
.lhr-card__media {
  position: relative;
  aspect-ratio: 1;
  background: #f5f5f5;
  cursor: zoom-in;
  overflow: hidden;
}
.lhr-card__media img,
.lhr-card__media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.lhr-card__play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  background: rgba(0, 0, 0, 0.55);
  border: 2px solid #fff;
  border-radius: 50%;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  padding-left: 4px;
  pointer-events: none;
  z-index: 2;
  transition: transform 0.2s;
}
.lhr-card:hover .lhr-card__play {
  transform: translate(-50%, -50%) scale(1.1);
}

/* Body (bottom half) */
.lhr-card__body {
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.lhr-card__name {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: 'ESRebondGrotesque-Semibold', sans-serif;
  font-weight: 600;
  font-size: 14px;
  color: #1a1a1a;
}
.lhr-card__verified {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}
.lhr-card__date {
  color: #888;
  font-size: 12px;
  margin: 0 0 2px;
}
.lhr-card__stars {
  display: flex;
  gap: 1px;
  margin: 2px 0 6px;
}
.lhr-star {
  width: 14px;
  height: 14px;
}
.lhr-card__text {
  font-family: 'ESRebondGrotesque-Regular', sans-serif;
  font-size: 13px;
  line-height: 1.45;
  color: #1a1a1a;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 6;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (max-width: 599px) {
  .lhr-summary__count { font-size: 16px; }
  .lhr-summary__stars svg { width: 20px; height: 20px; }
  .lhr-card__text { font-size: 13px; -webkit-line-clamp: 5; }
}
