/* ═══════════════════════════════════════════
   ROGUE XPRESS — Página de Produto
   ═══════════════════════════════════════════ */

/* ── BREADCRUMB ── */
.breadcrumb {
  max-width: var(--max);
  margin: 0 auto;
  padding: 14px 16px 0;
  font-size: 12.5px;
  color: var(--text-muted);
}
.breadcrumb a { color: var(--text-muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb b { color: var(--navy); font-weight: 700; }

/* ── PRODUCT HERO ── */
.product-hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: 18px 16px 40px;
  display: grid;
  gap: 28px;
  grid-template-columns: 1fr;
  align-items: start;
}
@media (min-width: 900px) {
  .product-hero { grid-template-columns: 1.02fr 0.98fr; gap: 44px; padding-top: 26px; }
}

/* GALLERY */
.gallery { position: sticky; top: 80px; }
@media (max-width: 899px) { .gallery { position: static; } }
.gallery__main {
  position: relative;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow);
}
.gallery__main img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  background: #fff;
  transition: opacity 0.2s ease;
}
.gallery__main img.fading { opacity: 0; }
.gallery__hint {
  position: absolute;
  bottom: 10px; right: 10px;
  background: rgba(22, 49, 84, 0.75);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 999px;
  pointer-events: none;
}
.gallery__off {
  position: absolute;
  top: 12px; left: 12px;
  background: var(--red);
  color: #fff;
  font-size: 13px; font-weight: 900;
  padding: 6px 11px;
  border-radius: 10px;
  z-index: 2;
}
/* Uma ÚNICA linha de miniaturas — no mobile ela rola na horizontal */
.gallery__thumbs {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  margin-top: 10px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 2px;
}
.gallery__thumbs::-webkit-scrollbar { display: none; }
.gallery__thumb {
  flex: 1 1 0;
  min-width: 0;
  border: 2px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  background: #fff;
  transition: border-color 0.15s, transform 0.15s;
}
@media (max-width: 899px) { .gallery__thumb { flex: 0 0 62px; } }
.gallery__thumb img { width: 100%; aspect-ratio: 1/1; object-fit: cover; }
.gallery__thumb:hover { transform: translateY(-2px); }
.gallery__thumb.active { border-color: var(--gold); box-shadow: 0 0 0 2px rgba(195,143,42,0.25); }

/* PRODUCT INFO */
.product-info { display: flex; flex-direction: column; }
.product-title {
  font-size: clamp(21px, 2.8vw, 27px);
  font-weight: 900;
  color: var(--navy);
  line-height: 1.25;
  margin-bottom: 10px;
}
.product-title .verified { color: #2E9BFF; font-size: 0.8em; }
.badges-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.stars-row {
  display: flex; align-items: center; gap: 7px;
  cursor: pointer;
  margin-bottom: 16px;
}
.stars-row .stars { color: #F5B301; font-size: 17px; letter-spacing: 1.5px; }
.stars-score { font-weight: 800; color: var(--navy); font-size: 14px; }
.stars-count { font-size: 13px; color: var(--text-muted); text-decoration: underline; }

.offer-banner {
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  color: #fff;
  border-radius: var(--radius);
  padding: 13px 16px;
  margin-bottom: 16px;
  border-left: 4px solid var(--gold);
}
.offer-banner__title { font-size: 14.5px; font-weight: 900; letter-spacing: 0.3px; }
.offer-banner__subtitle { font-size: 12.5px; color: rgba(255,255,255,0.75); margin-top: 2px; }

.price-block {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  margin-bottom: 12px;
  box-shadow: var(--shadow);
}
.price-old-line { font-size: 13.5px; color: var(--text-muted); }
.price-old-line s { color: var(--red); text-decoration-color: var(--red); }
.price-current-line { display: flex; align-items: center; gap: 10px; margin: 2px 0; }
.price-current { font-size: 38px; font-weight: 900; color: var(--navy); line-height: 1.1; }
.price-badge-save {
  background: #FDECEC; color: var(--red);
  font-size: 13px; font-weight: 900;
  padding: 4px 10px; border-radius: 8px;
}
.price-installment { font-size: 13.5px; color: var(--text-muted); }

.price-pix-block {
  display: flex; align-items: center; gap: 12px;
  background: #E8F8EE;
  border: 1px solid #BFEACD;
  border-radius: var(--radius);
  padding: 12px 14px;
  margin-bottom: 12px;
}
.price-pix-main { font-size: 22px; font-weight: 900; color: var(--green); }
.price-pix-label { font-size: 13px; font-weight: 700; color: var(--green); }
.price-pix-note { font-size: 12px; color: #157A39; }

.shipping-block {
  display: flex; align-items: center; gap: 12px;
  border: 1px dashed var(--gold);
  background: var(--gold-soft);
  border-radius: var(--radius);
  padding: 12px 14px;
  margin-bottom: 16px;
  color: var(--gold-dark);
}
.shipping-block svg { width: 26px; height: 26px; flex-shrink: 0; }
.shipping-label { font-size: 12px; font-weight: 700; color: var(--gold-dark); letter-spacing: 0.3px; }
.shipping-days { font-size: 13.5px; font-weight: 800; color: var(--navy); }

/* Ícones de pagamento — mesmo padrão do projeto antigo (ícones puros, 20px) */
.payment-icons {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
  padding: 0 8px;
}
.payment-icons img { height: 20px; width: auto; }

.stock-note {
  text-align: center;
  font-size: 12.5px;
  color: var(--text-muted);
  margin-top: 10px;
}
.stock-note b { color: var(--red); }

/* ── LIVES (discreto) ── */
.lv-sec {
  max-width: var(--max);
  margin: 0 auto;
  padding: 30px 16px 8px;
}
.lv-title {
  display: flex; align-items: center; gap: 9px;
  font-size: 18px; font-weight: 900; color: var(--navy);
}
.lv-dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--red);
  animation: lvBlink 1.4s ease-in-out infinite;
}
.lv-dot--sm { width: 5px; height: 5px; background: #fff; }
@keyframes lvBlink { 0%,100% { opacity: 1; } 50% { opacity: 0.4; } }
.lv-sub { font-size: 13px; color: var(--text-muted); margin: 3px 0 14px; }
.lv-row {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 190px));
}
@media (max-width: 700px) {
  .lv-row {
    display: flex;
    overflow-x: auto;
    scrollbar-width: none;
    padding-bottom: 6px;
  }
  .lv-row::-webkit-scrollbar { display: none; }
  .lv-card { flex: 0 0 138px; }
}
.lv-card {
  position: relative;
  display: block;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 9 / 14;
  text-decoration: none;
  color: #fff;
  background: var(--navy-dark);
  border: 1px solid var(--border);
}
.lv-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.lv-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0.3), transparent 35%, transparent 55%, rgba(0,0,0,0.72)); }
.lv-badge {
  position: absolute; top: 8px; left: 8px;
  display: inline-flex; align-items: center; gap: 4px;
  background: var(--red);
  font-size: 9px; font-weight: 900; letter-spacing: 0.5px;
  padding: 3px 7px; border-radius: 5px;
}
.lv-views {
  position: absolute; top: 8px; right: 8px;
  background: rgba(0,0,0,0.55);
  font-size: 10px; font-weight: 700;
  padding: 3px 7px; border-radius: 5px;
}
.lv-play {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 34px; height: 34px;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.lv-foot { position: absolute; left: 8px; right: 8px; bottom: 8px; }
.lv-host { display: flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 700; margin-bottom: 3px; }
.lv-host img { width: 20px; height: 20px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.5); background: #fff; }
.lv-cap { font-size: 10px; color: rgba(255,255,255,0.85); line-height: 1.35; }

/* ── FEATURES (dark & light) ── */
.media-frame { max-width: 780px; margin: 0 auto 28px; }
.media-frame img { width: 100%; border-radius: 14px; box-shadow: 0 14px 40px rgba(0,0,0,0.25); }
.feature-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
  max-width: 880px;
  margin: 0 auto;
}
@media (min-width: 720px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
.feature-item {
  display: flex; gap: 13px; align-items: flex-start;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  padding: 16px;
}
.feature-item__icon {
  width: 40px; height: 40px; flex-shrink: 0;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 12px rgba(195,143,42,0.4);
}
.feature-item__label { font-size: 14px; font-weight: 900; letter-spacing: 0.3px; margin-bottom: 3px; }
.feature-item__sub { font-size: 13px; color: rgba(255,255,255,0.7); line-height: 1.55; }
.feature-item--light { background: #fff; border-color: var(--border); box-shadow: var(--shadow); }
.feature-item--light .feature-item__label { color: var(--navy); }
.feature-item--light .feature-item__sub { color: var(--text-muted); }

/* ── SPECS ── */
.specs-table {
  max-width: 720px;
  margin: 0 auto;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.14);
}
.specs-row { display: flex; }
.specs-row:nth-child(odd) { background: rgba(255,255,255,0.05); }
.specs-row:nth-child(even) { background: rgba(255,255,255,0.1); }
.specs-label { flex: 1; padding: 12px 16px; font-size: 13px; font-weight: 700; color: var(--gold-light); }
.specs-value { flex: 1.4; padding: 12px 16px; font-size: 13.5px; color: #fff; }

.quality-list { list-style: none; max-width: 720px; margin: 24px auto 0; display: grid; gap: 10px; }
.quality-list li { display: flex; align-items: center; gap: 10px; font-size: 14px; color: rgba(255,255,255,0.9); }

.quality-item {
  max-width: 880px;
  margin: 26px auto 0;
  display: grid;
  gap: 0;
  border-radius: 16px;
  overflow: hidden;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
}
@media (min-width: 760px) {
  .quality-item { grid-template-columns: 1fr 1fr; align-items: center; }
  .quality-item:nth-child(even) img { order: 2; }
}
.quality-item img { width: 100%; height: 100%; object-fit: cover; min-height: 220px; }
.quality-item__body { padding: 24px; }
.quality-item__label { font-size: 16px; font-weight: 900; color: var(--gold-light); margin-bottom: 8px; letter-spacing: 0.4px; }
.quality-item__text { font-size: 14px; color: rgba(255,255,255,0.8); line-height: 1.65; margin-bottom: 12px; }
.quality-checks { list-style: none; display: grid; gap: 7px; }
.quality-checks li {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; color: rgba(255,255,255,0.85);
}
.quality-checks li::before {
  content: '✓';
  color: var(--gold-light);
  font-weight: 900;
}

/* ── KIT INCLUSO ── */
.kit-include {
  max-width: 880px;
  margin: 0 auto;
  background: var(--gold-soft);
  border: 1px solid #EBD9AC;
  border-radius: 16px;
  padding: 24px;
}
.kit-include__title { font-size: 17px; font-weight: 900; color: var(--navy); margin-bottom: 16px; }
.kit-include__grid {
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr;
}
@media (min-width: 620px) { .kit-include__grid { grid-template-columns: repeat(2, 1fr); } }
.kit-include__item {
  display: flex; align-items: center; gap: 10px;
  font-size: 14px; font-weight: 600; color: var(--text);
  background: #fff;
  border: 1px solid #EBD9AC;
  border-radius: 10px;
  padding: 11px 14px;
}
.kit-include__item svg { flex-shrink: 0; }

/* ── AVALIAÇÕES ── */
.reviews-rating {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 20px;
  max-width: 640px;
  margin: 0 auto 26px;
  box-shadow: var(--shadow);
}
.reviews-rating__score { font-size: 44px; font-weight: 900; color: var(--navy); line-height: 1; }
.reviews-rating__stars { color: #F5B301; font-size: 19px; letter-spacing: 2px; }
.reviews-rating__count { font-size: 13px; color: var(--text-muted); }
.reviews-rating__badge {
  margin-left: auto;
  display: inline-flex; align-items: center; gap: 6px;
  background: #E8F8EE; color: var(--green);
  font-size: 12px; font-weight: 800;
  padding: 7px 12px; border-radius: 999px;
}
.reviews-list {
  max-width: 880px;
  margin: 0 auto;
  display: grid;
  gap: 16px;
}
@media (min-width: 860px) { .reviews-list { grid-template-columns: repeat(2, 1fr); } }
.review-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
}
.review-card__head { display: flex; align-items: center; gap: 11px; margin-bottom: 8px; }
.review-avatar {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--navy);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 900; font-size: 15px;
  flex-shrink: 0;
}
.review-name { font-size: 14.5px; font-weight: 800; color: var(--navy); }
.review-meta { font-size: 12px; color: var(--text-muted); }
.review-stars { color: #F5B301; font-size: 14px; letter-spacing: 1.5px; margin-bottom: 6px; }
.review-text { font-size: 14px; color: var(--text); line-height: 1.65; margin-bottom: 10px; }
.review-photos { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 10px; }
.review-photos img, .review-photos video {
  width: 86px; height: 86px;
  object-fit: cover;
  border-radius: 9px;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: transform 0.15s;
}
.review-photos img:hover { transform: scale(1.04); }
.review-photos video { width: 130px; height: 86px; background: #000; }
.review-verified { font-size: 12px; color: var(--green); font-weight: 700; }

/* ── FAQ ── */
.faq-list { max-width: 760px; margin: 0 auto; display: grid; gap: 10px; }
.faq-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.faq-question {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: none; border: none;
  text-align: left;
  padding: 16px 18px;
  font-size: 14.5px; font-weight: 700;
  color: var(--navy);
  cursor: pointer;
}
.faq-arrow { transition: transform 0.25s; color: var(--gold); font-size: 16px; }
.faq-item.open .faq-arrow { transform: rotate(180deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 18px;
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.7;
}
/* Folga grande de propósito: no celular a mesma resposta ocupa o dobro de
   linhas do desktop, e um teto justo corta o final sem avisar. */
.faq-item.open .faq-answer { max-height: 500px; padding: 0 18px 16px; }

/* ── FINAL CTA ── */
.final-cta { text-align: center; padding: 52px 16px 60px; background: var(--bg-alt); }
.final-cta .price-final { font-size: 40px; font-weight: 900; color: var(--navy); margin: 8px 0 2px; }
.final-cta .price-info { color: var(--text-muted); font-size: 14px; margin-bottom: 20px; }

/* ── LIGHTBOX ── */
#lightbox {
  display: none;
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(10, 20, 34, 0.88);
  align-items: center; justify-content: center;
  padding: 20px;
  cursor: zoom-out;
}
#lightbox img {
  max-width: 92vw; max-height: 88vh;
  border-radius: 10px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.6);
  animation: lbZoom 0.22s ease;
  display: block;
}
@keyframes lbZoom { from { transform: scale(0.85); opacity: 0; } to { transform: scale(1); opacity: 1; } }
