/* ============================================================
   produto.css — Luma Basics | Página de Produto (PDP)
   Mobile-first. Leve. Alta conversão.
   ============================================================ */

/* 1. RESET & BASE */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: #1e293b;
  background: #fff;
}
img, video { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* 2. VARIÁVEIS */
:root {
  --brown: #16a34a;
  --brown-dark: #15803d;
  --brown-light: #f0fdf4;
  --green: #059669;
  --green-bg: #ecfdf5;
  --green-border: #a7f3d0;
  --red: #dc2626;
  --slate: #64748b;
  --slate-light: #f1f5f9;
  --border: #e2e8f0;
  --radius: 10px;
  --radius-sm: 6px;
}

/* 3. PROMO BAR */
.promo-bar {
  background: #111; color: #fff;
  font-size: 0.75rem; font-weight: 600;
  text-align: center; padding: 7px 12px;
  display: flex; align-items: center; justify-content: center; gap: 6px;
  position: sticky; top: 0; z-index: 200;
  line-height: 1.3;
}
.promo-bar .countdown {
  background: var(--red); border-radius: 4px;
  padding: 1px 6px; font-variant-numeric: tabular-nums; font-size: 0.78rem;
}

/* 4. HEADER */
.pdp-header {
  background: #fff; border-bottom: 1px solid var(--border);
  padding: 10px 16px; display: flex; align-items: center; justify-content: space-between;
  position: relative; top: auto; z-index: 10;
}
.pdp-logo { display: flex; align-items: center; gap: 8px; }
.logo-placeholder {
  width: 36px; height: 36px; border-radius: 50%; background: var(--brown-light);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.42rem; font-weight: 700; color: var(--brown); text-align: center; line-height: 1.2;
}
.pdp-logo-text { font-size: 0.88rem; font-weight: 700; letter-spacing: 0.5px; line-height: 1.2; }
.pdp-logo-sub { font-size: 0.52rem; font-weight: 400; color: var(--slate); text-transform: uppercase; letter-spacing: 1px; }
.header-badge {
  background: var(--red); color: #fff; font-size: 0.65rem; font-weight: 700;
  padding: 3px 8px; border-radius: 4px; letter-spacing: 0.3px;
}

/* 5. MAIN LAYOUT */
.pdp-container { max-width: 900px; margin: 0 auto; padding-bottom: 12px; }

/* 6. GALERIA */
.pdp-gallery { position: relative; }
.pdp-gallery__main {
  width: 100%; aspect-ratio: 1/1; overflow: hidden;
  background: var(--slate-light); position: relative;
}
.pdp-gallery__main .media-item {
  width: 100%; height: 100%; display: none; position: absolute; inset: 0;
}
.pdp-gallery__main .media-item.active { display: block; }
.pdp-gallery__main img, .pdp-gallery__main video { width: 100%; height: 100%; object-fit: cover; }

.gallery-ph {
  width: 100%; height: 100%; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 6px; color: var(--slate);
  font-size: 0.78rem; font-weight: 500; text-align: center; padding: 16px;
}
.gallery-ph-icon { font-size: 2.5rem; opacity: 0.4; }
.gallery-ph-label { font-weight: 700; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.5px; color: var(--slate); }
.gallery-ph-desc { font-size: 0.7rem; color: #94a3b8; }

.gallery-sale-badge {
  position: absolute; top: 10px; left: 10px; z-index: 10;
  background: var(--red); color: #fff; font-size: 0.72rem; font-weight: 800;
  padding: 4px 8px; border-radius: 4px;
}

.pdp-gallery__thumbs {
  display: flex; gap: 6px; padding: 8px 12px; overflow-x: auto; scrollbar-width: none;
  background: #fff; border-bottom: 1px solid var(--border);
}
.pdp-gallery__thumbs::-webkit-scrollbar { display: none; }
.pdp-thumb {
  flex: 0 0 60px; height: 60px; border-radius: var(--radius-sm); overflow: hidden;
  border: 2px solid transparent; cursor: pointer;
  background: var(--slate-light); display: flex; align-items: center; justify-content: center;
  position: relative; transition: border-color 0.15s;
}
.pdp-thumb.active { border-color: var(--brown); }
.pdp-thumb img, .pdp-thumb video { width: 100%; height: 100%; object-fit: cover; }
.pdp-thumb .th-ph {
  font-size: 0.5rem; font-weight: 600; color: var(--slate);
  text-align: center; padding: 2px; line-height: 1.2;
}
.pdp-thumb.th-video::after {
  display: none !important;
}

/* 7. INFO PANEL */
.pdp-info { padding: 14px 16px; }

.pdp-meta-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 8px; }
.pdp-badge-tag {
  display: inline-block; font-size: 0.65rem; font-weight: 700; text-transform: uppercase;
  padding: 3px 7px; border-radius: 4px; letter-spacing: 0.3px;
}
.badge-hot { background: var(--red); color: #fff; }
.badge-sold { background: #1e293b; color: #fff; }
.pdp-stars { display: flex; align-items: center; gap: 3px; font-size: 0.78rem; color: var(--slate); }
.pdp-stars .star { color: #f59e0b; }
.pdp-stars .count { font-weight: 700; color: var(--brown); margin-left: 2px; }
.pdp-sold { font-size: 0.75rem; color: var(--slate); border-left: 1px solid var(--border); padding-left: 8px; }

.pdp-title { font-size: 1.05rem; font-weight: 700; line-height: 1.35; color: #0f172a; margin-bottom: 10px; }

/* Preço */
.pdp-price-block {
  background: #fffbf8; border: 1px solid #f0e0d6;
  border-radius: var(--radius); padding: 12px 14px; margin-bottom: 12px;
}
.pdp-price-old { font-size: 0.8rem; color: var(--slate); text-decoration: line-through; }
.pdp-price-main { font-size: 1.9rem; font-weight: 800; color: var(--brown); line-height: 1; margin: 2px 0 4px; }
.pdp-price-inst { font-size: 0.8rem; color: var(--slate); }
.pdp-price-inst strong { color: #0f172a; }
.pdp-price-badges { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 6px; }
.pdp-unit-badge {
  display: inline-block; background: var(--green-bg); border: 1px solid var(--green-border);
  color: var(--green); font-size: 0.72rem; font-weight: 700; padding: 2px 8px; border-radius: 999px;
}
.pdp-discount-badge {
  display: inline-flex; align-items: center; gap: 3px;
  background: var(--red); color: #fff; font-size: 0.72rem; font-weight: 700;
  padding: 2px 7px; border-radius: 4px;
}

/* Frete */
.pdp-shipping {
  display: flex; align-items: center; gap: 6px; font-size: 0.8rem; font-weight: 600;
  color: var(--green); padding: 8px 10px; background: var(--green-bg);
  border: 1px solid var(--green-border); border-radius: var(--radius-sm); margin-bottom: 12px;
}

/* Urgência */
.pdp-urgency { margin-bottom: 14px; }
.pdp-urgency-text { display: flex; align-items: center; gap: 5px; font-size: 0.78rem; font-weight: 600; color: var(--red); margin-bottom: 5px; }
.pdp-urgency-bar { height: 6px; background: #fee2e2; border-radius: 999px; overflow: hidden; }
.pdp-urgency-fill { height: 100%; background: var(--red); width: 78%; border-radius: 999px; }

/* Seção Labels */
.pdp-sect-label {
  font-size: 0.72rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.7px; color: var(--slate); margin-bottom: 8px;
  display: flex; align-items: center; gap: 6px;
}
.pdp-sect-label .sel-val { font-size: 0.82rem; font-weight: 600; text-transform: none; letter-spacing: 0; color: #0f172a; }

/* Seletor de Ofertas / Pacotes */
.pdp-offers-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
}
.pdp-offer-card {
  position: relative;
  border: 2px solid #e2e8f0;
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  cursor: pointer;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  transition: all 0.2s ease;
  user-select: none;
}
.pdp-offer-card:hover {
  border-color: #cbd5e1;
}
.pdp-offer-card.active {
  border-color: var(--brown);
  background: #fffcf8;
  box-shadow: 0 4px 14px rgba(140, 109, 88, 0.14);
}
.offer-radio {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid #94a3b8;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s ease;
}
.pdp-offer-card.active .offer-radio {
  border-color: var(--brown);
}
.offer-radio .radio-circle {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: transparent;
  transition: background 0.2s ease;
}
.pdp-offer-card.active .offer-radio .radio-circle {
  background: var(--brown);
}
.offer-info {
  flex: 1;
}
.offer-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.25;
}
.offer-sub {
  font-size: 0.74rem;
  color: #64748b;
  margin-top: 2px;
}
.offer-pricing {
  text-align: right;
  flex-shrink: 0;
}
.offer-price {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--brown);
  line-height: 1.1;
}
.offer-inst {
  font-size: 0.72rem;
  color: #64748b;
  margin-top: 2px;
}
.offer-save {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  color: #059669;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  padding: 1px 6px;
  border-radius: 4px;
  margin-top: 3px;
}
.offer-badge-ribbon {
  position: absolute;
  top: -10px;
  right: 14px;
  background: linear-gradient(135deg, #ef4444, #dc2626);
  color: #ffffff;
  font-size: 0.62rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  padding: 2px 9px;
  border-radius: 999px;
  box-shadow: 0 2px 6px rgba(220, 38, 38, 0.35);
}

/* Kits */
.pdp-kits-grid {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  grid-auto-flow: row !important;
  gap: 8px !important;
  margin-bottom: 14px;
}
.pdp-kit-btn {
  grid-column: auto !important;
  grid-row: auto !important;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 6px !important;
  cursor: pointer;
  background: #fafafa;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 3px;
  transition: all 0.15s ease;
  min-height: 70px !important;
  height: 100% !important;
  position: relative;
  text-align: center;
}
.pdp-kit-btn.active {
  border-color: #059669 !important;
  background: #ecfdf5 !important;
  box-shadow: 0 2px 8px rgba(5, 150, 105, 0.12);
}
.pdp-kit-btn.sold-out {
  opacity: 0.5;
  cursor: not-allowed !important;
  background: #f8fafc !important;
  border-color: #cbd5e1 !important;
}
.pdp-kit-btn .kit-lbl {
  font-size: 0.74rem !important;
  font-weight: 700 !important;
  color: #0f172a;
  line-height: 1.2;
}
.pdp-kit-btn .kit-sub {
  font-size: 0.62rem !important;
  font-weight: 500 !important;
  color: #64748b;
  margin-top: 1px;
}
.pdp-kit-btn.sold-out .kit-lbl,
.pdp-kit-btn.sold-out .kit-sub {
  color: #94a3b8 !important;
}
.kit-soldout-badge {
  position: absolute;
  top: -6px;
  right: -4px;
  background: #ef4444;
  color: #fff;
  font-size: 0.52rem;
  font-weight: 800;
  padding: 1px 5px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  box-shadow: 0 1px 3px rgba(239,68,68,0.3);
}
.pdp-kit-dots {
  display: flex;
  gap: 4px;
  justify-content: center;
  margin-top: 5px;
}
.pdp-kit-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1px solid rgba(0,0,0,0.12);
  flex-shrink: 0;
}

/* Tamanhos */
.pdp-sizes { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 6px; }
.pdp-size-btn {
  border: 2px solid var(--border); border-radius: var(--radius-sm); min-width: 50px;
  padding: 8px 10px; font-size: 0.88rem; font-weight: 600; color: #0f172a;
  background: #fff; cursor: pointer; text-align: center; transition: border-color 0.15s, background 0.15s;
}
.pdp-size-btn.active { border-color: #111; background: #111; color: #fff; }
.pdp-guide-link { font-size: 0.75rem; color: var(--brown); text-decoration: underline; cursor: pointer; margin-bottom: 14px; display: inline-block; }

/* CTA */
.pdp-cta-btn {
  width: 100%; background: var(--brown); color: #fff; font-size: 1rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.5px; padding: 15px; border-radius: var(--radius);
  border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 8px;
  box-shadow: 0 4px 15px rgba(140,109,88,0.35); transition: background 0.2s, transform 0.1s;
  margin-bottom: 10px;
}
.pdp-cta-btn:active { transform: scale(0.98); }
.pdp-cta-btn:hover { background: var(--brown-dark); }

/* Mercado Pago Badge */
.pdp-mp-badge {
  display: flex; align-items: center; gap: 8px;
  background: #fff8e1; border: 1px solid #ffe082; border-radius: var(--radius-sm);
  padding: 10px 12px; margin-bottom: 12px; font-size: 0.74rem; color: #5a3e00; line-height: 1.4;
}
.pdp-mp-logo {
  background: #009ee3; color: #fff; font-size: 0.55rem; font-weight: 800; padding: 3px 6px;
  border-radius: 4px; white-space: nowrap; flex-shrink: 0;
}

/* Segurança */
.pdp-security-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px; margin-bottom: 12px;
}
.pdp-sec-item {
  display: flex; align-items: center; gap: 6px;
  background: var(--slate-light); border-radius: var(--radius-sm); padding: 8px 9px;
  font-size: 0.72rem; color: #374151; line-height: 1.3; font-weight: 500;
}
.pdp-sec-item .sec-icon { font-size: 0.9rem; flex-shrink: 0; }

/* Pagamento icons */
.pdp-pay-icons { display: flex; gap: 5px; flex-wrap: wrap; margin-bottom: 4px; }
.pdp-pay-icon {
  height: 22px; padding: 2px 6px; border: 1px solid var(--border); border-radius: 4px;
  display: flex; align-items: center; font-size: 0.58rem; font-weight: 700; color: var(--slate); background: #fff;
}

/* Garantia */
.pdp-guarantee {
  display: flex; align-items: center; gap: 12px;
  background: #fff; border: 1.5px solid var(--green-border);
  border-radius: var(--radius); padding: 14px 16px; margin: 0 16px 16px;
}
.pdp-guarantee-icon { font-size: 2.2rem; flex-shrink: 0; }
.pdp-guarantee-text { font-size: 0.78rem; line-height: 1.4; color: #374151; }
.pdp-guarantee-text strong { color: var(--green); font-size: 0.84rem; }

/* Features */
.pdp-features {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; padding: 0 16px; margin-top: 8px; margin-bottom: 16px;
}
.pdp-feat {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px;
  background: #f8fafc; border: 1px solid #e2e8f0; border-radius: var(--radius); padding: 14px 10px;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.03); transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.pdp-feat:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(15, 23, 42, 0.08);
}
.pdp-feat .feat-icon {
  display: flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; margin-bottom: 2px;
}
.pdp-feat .feat-icon img {
  width: 40px; height: 40px; object-fit: contain; display: block;
  filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.1));
}
.pdp-feat .feat-text { font-size: 0.72rem; font-weight: 700; color: #1e293b; line-height: 1.35; }

/* Checkout Drawer */
.checkout-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(15,23,42,0.6); z-index: 299; backdrop-filter: blur(2px);
}
.checkout-overlay.active { display: block; }
.checkout-drawer {
  position: fixed; bottom: 0; left: 0; right: 0; background: #fff;
  border-radius: 20px 20px 0 0; z-index: 300;
  transform: translateY(100%); transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
  max-height: 92dvh; display: flex; flex-direction: column; overflow: hidden;
}
.checkout-drawer.active { transform: translateY(0); }
.checkout-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 18px 12px; border-bottom: 1px solid var(--border); flex-shrink: 0;
}
.checkout-title { font-size: 1rem; font-weight: 700; }
.checkout-close {
  width: 30px; height: 30px; display: flex; align-items: center; justify-content: center;
  border-radius: 50%; background: var(--slate-light); border: none; cursor: pointer; color: #0f172a;
}
.checkout-body { flex: 1; overflow-y: auto; padding: 14px 18px; }
.checkout-section { margin-bottom: 18px; }
.checkout-section h3 {
  font-size: 0.75rem; font-weight: 700; margin-bottom: 8px; color: var(--slate);
  text-transform: uppercase; letter-spacing: 0.5px;
}
.checkout-summary { display: flex; align-items: center; gap: 10px; }
.checkout-summary__img { width: 60px; height: 60px; border-radius: 6px; overflow: hidden; flex-shrink: 0; background: var(--slate-light); }
.checkout-summary__info h4 { font-size: 0.85rem; font-weight: 600; margin-bottom: 2px; }
.checkout-summary__info p { font-size: 0.75rem; color: var(--slate); line-height: 1.4; }
.checkout-summary__info .price { font-size: 0.95rem; font-weight: 700; color: var(--brown); }
.checkout-input {
  width: 100%; padding: 10px 12px; border: 1.5px solid var(--border);
  border-radius: var(--radius-sm); font-size: 0.88rem; color: #0f172a;
  background: #fff; margin-bottom: 7px; outline: none; transition: border-color 0.15s;
  font-family: inherit;
}
.checkout-input:focus { border-color: var(--brown); }
.mp-field { min-height: 42px; padding: 10px 12px; }
.checkout-tabs {
  display: flex; margin-bottom: 10px;
  border: 1.5px solid var(--border); border-radius: var(--radius-sm); overflow: hidden;
}
.checkout-tab {
  flex: 1; padding: 8px; font-size: 0.83rem; font-weight: 600;
  color: var(--slate); background: #fff; border: none; cursor: pointer; transition: background 0.15s, color 0.15s;
}
.checkout-tab.active { background: #0f172a; color: #fff; }
.installments-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 10px; }
.inst-btn {
  border: 1.5px solid var(--border); border-radius: var(--radius-sm); padding: 7px 3px;
  text-align: center; cursor: pointer; background: #fff; font-size: 0.7rem; font-weight: 500; color: var(--slate);
}
.inst-btn.active { border-color: var(--brown); color: var(--brown); font-weight: 700; background: var(--brown-light); }
.inst-x { font-size: 0.82rem; font-weight: 700; color: #0f172a; display: block; }
.inst-btn.active .inst-x { color: var(--brown); }
.inst-toggle { width: 100%; margin-top: 5px; padding: 7px; background: none; border: 1px dashed var(--border); border-radius: var(--radius-sm); font-size: 0.76rem; color: var(--brown); cursor: pointer; font-weight: 500; }
.checkout-footer { padding: 10px 18px 14px; border-top: 1px solid var(--border); flex-shrink: 0; }
.btn-confirmar {
  width: 100%; background: var(--brown); color: #fff; font-size: 1rem; font-weight: 700;
  padding: 14px; border-radius: var(--radius); border: none; cursor: pointer;
  box-shadow: 0 4px 12px rgba(140,109,88,0.3); transition: background 0.15s; display: block;
}
.btn-confirmar:disabled { opacity: 0.6; pointer-events: none; }
.checkout-secure {
  display: flex; align-items: center; justify-content: center; gap: 5px;
  font-size: 0.7rem; color: var(--slate); margin-top: 7px;
}

/* PIX Modal */
.pix-modal-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,0.85); z-index: 9999; align-items: center; justify-content: center;
  backdrop-filter: blur(4px);
}
.pix-modal-overlay.active { display: flex; }
.pix-modal-box { background: #1e293b; border: 1px solid #334155; padding: 24px; border-radius: 16px; text-align: center; max-width: 360px; width: 90%; }
.pix-modal-box h2 { color: #fff; font-size: 1.2rem; margin-bottom: 6px; }
.pix-modal-box p { color: #94a3b8; font-size: 0.82rem; margin-bottom: 14px; line-height: 1.5; }
.pix-qr-wrap { background: #fff; padding: 10px; border-radius: 10px; display: inline-block; margin-bottom: 12px; }
.pix-qr-wrap img { width: 170px; height: 170px; }
.pix-copy-input { width: 100%; padding: 9px; border-radius: 7px; border: 1px solid #475569; background: #0f172a; color: #94a3b8; font-family: monospace; font-size: 0.72rem; text-align: center; margin-bottom: 10px; box-sizing: border-box; }
.pix-copy-btn { width: 100%; background: #10B981; color: #fff; font-weight: 700; font-size: 0.92rem; padding: 12px; border-radius: 9px; border: none; cursor: pointer; margin-bottom: 7px; }
.pix-close-btn { width: 100%; background: #334155; color: #fff; font-weight: 600; font-size: 0.88rem; padding: 11px; border-radius: 9px; border: none; cursor: pointer; }

/* Sticky bar */
.pdp-sticky-bar {
  display: none; position: fixed; bottom: 0; left: 0; right: 0;
  background: #fff; border-top: 1px solid var(--border); padding: 10px 16px;
  z-index: 150; gap: 10px; align-items: center;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
}
.pdp-sticky-bar.visible { display: flex; }
.sticky-price { flex: 1; }
.sticky-price .sp { font-size: 1.15rem; font-weight: 800; color: var(--brown); }
.sticky-price .si { font-size: 0.68rem; color: var(--slate); }
.pdp-sticky-btn { background: var(--brown); color: #fff; font-size: 0.88rem; font-weight: 700; padding: 12px 18px; border-radius: var(--radius); border: none; cursor: pointer; text-transform: uppercase; white-space: nowrap; }

/* Guia Tamanhos */
.size-guide-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.55); z-index: 200; align-items: flex-end; justify-content: center; }
.size-guide-overlay.active { display: flex; }
.size-guide-panel { background: #fff; border-radius: 20px 20px 0 0; padding: 20px; width: 100%; max-width: 480px; max-height: 80dvh; overflow-y: auto; }
.size-guide-panel h3 { font-size: 0.95rem; font-weight: 700; margin-bottom: 12px; }
.sgt { width: 100%; border-collapse: collapse; font-size: 0.8rem; }
.sgt th { background: var(--brown-light); color: var(--brown); padding: 8px 10px; text-align: left; font-weight: 700; }
.sgt td { padding: 8px 10px; border-bottom: 1px solid var(--border); color: #374151; }
.sg-close { width: 100%; margin-top: 12px; padding: 12px; background: #111; color: #fff; font-size: 0.88rem; font-weight: 600; border-radius: var(--radius); border: none; cursor: pointer; }

/* Desktop */
@media (min-width: 768px) {
  .pdp-container { display: grid; grid-template-columns: 1fr 1fr; gap: 0; align-items: start; }
  .pdp-gallery { position: sticky; top: 36px; }
  .pdp-title { font-size: 1.2rem; }
  .pdp-kits-grid { grid-template-columns: repeat(4, 1fr); }
  .pdp-sticky-bar { display: none !important; }
  .pdp-features { grid-template-columns: repeat(4, 1fr); }
}

/* Espaço entre bandeiras de pagamento e features */
.pdp-features { margin-top: 10px; padding-top: 0; }


/* ============================================================
   WhatsApp Integrations (PDP)
   ============================================================ */
.pdp-header-wa {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #f0fdf4;
  color: #16a34a;
  border: 1px solid #bbf7d0;
  text-decoration: none;
  transition: all 0.2s ease;
}
.pdp-header-wa:hover {
  background: #25D366;
  color: #fff;
  transform: scale(1.06);
}
.pdp-header-wa svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}
.whatsapp-float-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 58px;
  height: 58px;
  background-color: #25D366;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4), 0 2px 8px rgba(0, 0, 0, 0.12);
  z-index: 9999;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.whatsapp-float-btn:hover {
  background-color: #20ba5a;
  transform: scale(1.08) translateY(-3px);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.5), 0 4px 12px rgba(0, 0, 0, 0.15);
}
.whatsapp-float-btn svg {
  width: 32px;
  height: 32px;
  fill: #ffffff;
}
.whatsapp-float-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 50%;
  border: 2px solid #25D366;
  animation: wa-pulse 2s infinite ease-out;
  pointer-events: none;
}
@media (max-width: 768px) {
  .whatsapp-float-btn {
    bottom: 84px; /* Fica acima da barra fixa de comprar no celular */
    right: 16px;
    width: 52px;
    height: 52px;
  }
  .whatsapp-float-btn svg {
    width: 28px;
    height: 28px;
  }
}

/* ═══════════════════════════════════════════════════════
   COMPARATIVO LUMA VS COMUNS
═══════════════════════════════════════════════════════ */
.pdp-comparison {
  max-width: 900px;
  margin: 28px auto 16px;
  padding: 0 16px;
}
.comp-title {
  text-align: center;
  font-size: 1.25rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 18px;
}
.comp-table {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 640px) {
  .comp-table { grid-template-columns: 1fr 1fr; }
}
.comp-col {
  border-radius: 16px;
  padding: 20px 18px;
  border: 1.5px solid #e2e8f0;
  background: #f8fafc;
}
.comp-col.luma {
  border-color: #059669;
  background: #f0fdf4;
  box-shadow: 0 4px 14px rgba(5, 150, 105, 0.08);
}
.comp-badge {
  display: inline-block;
  background: #059669;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.comp-badge.others {
  background: #64748b;
}
.comp-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.comp-col li {
  font-size: 0.85rem;
  line-height: 1.4;
  color: #334155;
}

/* ═══════════════════════════════════════════════════════
   AVALIAÇÕES DE CLIENTES (PROVA SOCIAL)
═══════════════════════════════════════════════════════ */
.pdp-reviews-section {
  max-width: 900px;
  margin: 32px auto 20px;
  padding: 0 16px;
}
.reviews-header {
  text-align: center;
  margin-bottom: 22px;
}
.reviews-header h3 {
  font-size: 1.3rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 10px;
}
.reviews-rating-summary {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #fefce8;
  border: 1px solid #fef08a;
  padding: 8px 16px;
  border-radius: 999px;
}
.rating-big {
  font-size: 1.6rem;
  font-weight: 900;
  color: #854d0e;
  line-height: 1;
}
.rating-stars-col {
  text-align: left;
}
.rating-stars-col .stars {
  color: #eab308;
  font-size: 0.95rem;
  letter-spacing: 1px;
}
.rating-stars-col span {
  font-size: 0.72rem;
  color: #713f12;
  font-weight: 600;
}
.reviews-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.review-item {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 16px 18px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}
.review-user {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}
.review-avatar {
  width: 38px;
  height: 38px;
  background: #f1f5f9;
  color: #334155;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.82rem;
  border: 1px solid #cbd5e1;
  overflow: hidden;
  flex-shrink: 0;
}
.review-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
  pointer-events: none;
}
.review-meta {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.review-meta strong {
  font-size: 0.88rem;
  color: #0f172a;
}
.review-meta .verified {
  font-size: 0.7rem;
  color: #059669;
  font-weight: 700;
}
.review-date {
  font-size: 0.72rem;
  color: #94a3b8;
}
.review-stars {
  color: #eab308;
  font-size: 0.9rem;
  margin-bottom: 8px;
}
.review-text {
  font-size: 0.86rem;
  color: #334155;
  line-height: 1.48;
  margin: 0 0 10px;
}
.review-tag {
  display: inline-block;
  font-size: 0.72rem;
  color: #64748b;
  background: #f8fafc;
  padding: 3px 8px;
  border-radius: 6px;
  border: 1px solid #e2e8f0;
}

/* Mídias de Prova Social (Foto + Vídeo) */
.review-media-grid {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}
.review-media-thumb {
  position: relative;
  width: 95px;
  height: 120px;
  border-radius: 10px;
  overflow: hidden;
  background: #0f172a;
  border: 1.5px solid #e2e8f0;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0,0,0,0.06);
  transition: transform 0.15s ease, border-color 0.15s ease;
}
.review-media-thumb:active {
  transform: scale(0.96);
  border-color: #059669;
}
.review-media-thumb img,
.review-media-thumb video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.review-media-thumb .media-badge {
  position: absolute;
  bottom: 6px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(4px);
  color: #ffffff;
  font-size: 0.62rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  white-space: nowrap;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  gap: 3px;
}
.review-media-thumb .media-badge.video-badge {
  background: rgba(5, 150, 105, 0.9);
}

/* Lightbox Modal de Avaliações */
.review-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  z-index: 10000;
  align-items: center;
  justify-content: center;
  padding: 16px;
  backdrop-filter: blur(4px);
}
.review-modal-overlay.active {
  display: flex;
}
.review-modal-box {
  background: #ffffff;
  border-radius: 16px;
  max-width: 400px;
  width: 100%;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
  position: relative;
  animation: zoomReview 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes zoomReview {
  from { transform: scale(0.9); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.review-modal-media-wrap {
  width: 100%;
  max-height: 440px;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
}
.review-modal-media-wrap img,
.review-modal-media-wrap video {
  width: 100%;
  max-height: 440px;
  object-fit: contain;
  display: block;
}
.review-modal-content {
  padding: 14px 16px 16px;
  background: #fff;
}
.review-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(0,0,0,0.7);
  color: #ffffff;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  border: none;
  z-index: 20;
}

/* Mini FAQ (Dúvidas Frequentes) */
.pdp-faq {
  margin: 20px 16px 110px;
  background: #fff;
  border-radius: 14px;
  padding: 18px 16px;
  border: 1px solid #e2e8f0;
  max-width: 900px;
}
@media (min-width: 768px) {
  .pdp-faq {
    margin: 24px auto 36px;
    padding: 22px;
  }
}
.pdp-faq-title {
  text-align: center;
  font-size: 1.15rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 14px;
}
.faq-item {
  border-bottom: 1px solid #f1f5f9;
}
.faq-item:last-child {
  border-bottom: none;
}
.faq-question {
  width: 100%;
  text-align: left;
  padding: 13px 4px;
  font-size: 0.88rem;
  font-weight: 700;
  color: #1e293b;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}
.faq-question span.arrow {
  font-size: 0.75rem;
  color: #94a3b8;
  transition: transform 0.2s ease;
}
.faq-answer {
  display: none;
  padding: 0 4px 14px;
  font-size: 0.82rem;
  color: #475569;
  line-height: 1.5;
}
.faq-item.active .faq-answer {
  display: block;
}
.faq-item.active .faq-question span.arrow {
  transform: rotate(180deg);
}

