/* ============================================================
   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%; overflow-x: hidden; }
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;
  overflow-x: hidden;
  width: 100%;
}
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 {
  display: flex; align-items: center; justify-content: center;
  background: transparent;
}
.pdp-logo > div { display: flex; flex-direction: column; }
.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; }

/* Seletor de Pacote (Design Boutique Premium) */
.pdp-packages-wrap {
  margin-bottom: 18px;
}
.pdp-packages-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 10px;
}
.pdp-packages-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: #0f172a;
  letter-spacing: 0.2px;
}
.pdp-packages-subtitle {
  font-size: 0.74rem;
  font-weight: 600;
  color: #059669;
}
.pdp-packages-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.pdp-package-card {
  position: relative;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  padding: 14px 11px 11px;
  background: #ffffff;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: left;
}
.pdp-package-card:hover {
  border-color: #cbd5e1;
}
.pdp-package-card.active {
  border-color: #059669;
  background: #f0fdf4;
  box-shadow: 0 4px 14px rgba(5, 150, 105, 0.12);
}
.pkg-badge-top {
  position: absolute;
  top: -9px;
  right: 10px;
  background: #047857;
  color: #ffffff;
  font-size: 0.58rem;
  font-weight: 700;
  padding: 2.5px 8px;
  border-radius: 999px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  box-shadow: 0 2px 5px rgba(4, 120, 87, 0.2);
}
.pkg-badge-top.pkg-badge-alt {
  background: #475569;
  box-shadow: 0 2px 5px rgba(71, 85, 105, 0.2);
}
.pkg-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}
.pkg-radio {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid #cbd5e1;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: #fff;
  transition: border-color 0.2s;
}
.pdp-package-card.active .pkg-radio {
  border-color: #059669;
}
.pkg-radio-inner {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #059669;
  display: none;
}
.pdp-package-card.active .pkg-radio-inner {
  display: block;
}
.pkg-title-wrap {
  display: flex;
  flex-direction: column;
}
.pkg-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.25;
}
.pkg-sub {
  font-size: 0.68rem;
  color: #64748b;
  margin-top: 2px;
  line-height: 1.2;
}
.pkg-pricing {
  display: flex;
  flex-direction: column;
  margin-top: 8px;
  border-top: 1px dashed #e2e8f0;
  padding-top: 6px;
}
.pkg-old {
  font-size: 0.68rem;
  color: #94a3b8;
  text-decoration: line-through;
  line-height: 1.2;
}
.pkg-price {
  font-size: 1.08rem;
  font-weight: 800;
  color: #047857;
  line-height: 1.2;
  margin-top: 1px;
}
.pkg-price small {
  font-size: 0.68rem;
  font-weight: 600;
  color: #059669;
}
.pkg-savings {
  font-size: 0.65rem;
  font-weight: 700;
  color: #065f46;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  border-radius: 4px;
  padding: 2px 6px;
  display: inline-block;
  margin-top: 5px;
  width: fit-content;
}


/* 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; }

/* Kits */
.pdp-kits-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; margin-bottom: 14px; margin-top: 6px; }
.pdp-kit-btn {
  position: relative;
  border: 2px solid var(--border); border-radius: var(--radius-sm); padding: 9px 5px 7px; cursor: pointer;
  background: #fafafa; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  transition: border-color 0.15s, background 0.15s; min-height: 60px;
}
.pdp-kit-btn.active { border-color: var(--brown); background: var(--brown-light); }
.pdp-kit-btn .kit-lbl { font-size: 0.68rem; font-weight: 700; color: #0f172a; text-align: center; line-height: 1.15; }
.pdp-kit-btn .kit-badge-top {
  position: absolute; top: -8px; left: 50%; transform: translateX(-50%);
  background: #059669; color: #fff; font-size: 0.48rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.3px; padding: 1.5px 5px;
  border-radius: 4px; white-space: nowrap; box-shadow: 0 1px 3px rgba(0,0,0,0.12);
}
.pdp-kit-dots { display: flex; gap: 3px; }
.pdp-kit-dot { width: 14px; height: 14px; border-radius: 50%; border: 1px solid rgba(0,0,0,0.08); }

/* 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 (Remastered) */
.pdp-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  padding: 0 16px;
  margin-top: 10px;
  margin-bottom: 16px;
  box-sizing: border-box;
}
.pdp-feat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  background: #ffffff;
  border: 1.5px solid #eef2f6;
  border-radius: 14px;
  padding: 14px 8px 12px;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.03), 0 1px 2px rgba(15, 23, 42, 0.02);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  position: relative;
  overflow: hidden;
}
.pdp-feat:hover {
  transform: translateY(-2px);
  border-color: #cbd5e1;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.06);
}
.pdp-feat::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(22, 163, 74, 0.25), transparent);
}
.feat-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.04), inset 0 1px 1px #fff;
  transition: transform 0.25s ease;
}
.pdp-feat:hover .feat-icon-wrap {
  transform: scale(1.08) rotate(-2deg);
}
.feat-icon-1 {
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  border: 1px solid #bfdbfe;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.12), inset 0 1px 1px rgba(255,255,255,0.8);
}
.feat-icon-2 {
  background: linear-gradient(135deg, #fdf2f8 0%, #fce7f3 100%);
  border: 1px solid #fbcfe8;
  box-shadow: 0 4px 12px rgba(236, 72, 153, 0.12), inset 0 1px 1px rgba(255,255,255,0.8);
}
.feat-icon-3 {
  background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
  border: 1px solid #bbf7d0;
  box-shadow: 0 4px 12px rgba(22, 163, 74, 0.12), inset 0 1px 1px rgba(255,255,255,0.8);
}
.feat-icon-4 {
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
  border: 1px solid #fde68a;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.12), inset 0 1px 1px rgba(255,255,255,0.8);
}
.feat-icon {
  font-size: 1.55rem;
  line-height: 1;
  display: inline-block;
  filter: drop-shadow(0 3px 3px rgba(0, 0, 0, 0.16));
  user-select: none;
}
.feat-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}
.feat-title {
  font-size: 0.82rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.2px;
  line-height: 1.2;
}
.feat-desc {
  font-size: 0.68rem;
  font-weight: 500;
  color: #64748b;
  line-height: 1.25;
}

/* 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;
  }
}

/* ============================================================
   15. PROVA SOCIAL & REVIEWS (Estilo Instagram / Cards)
   ============================================================ */
.pdp-reviews-section {
  margin-top: 18px;
  padding: 16px 0;
  border-top: 1px solid #f1f5f9;
}
.pdp-reviews-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.pdp-reviews-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: #111827;
  display: flex;
  align-items: center;
  gap: 6px;
}
.pdp-reviews-score {
  font-size: 0.78rem;
  font-weight: 700;
  color: #059669;
  background: #ecfdf5;
  padding: 3px 8px;
  border-radius: 6px;
  border: 1px solid #a7f3d0;
}
.insta-sim-trigger {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  color: #fff;
  padding: 9px 14px;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 14px;
  cursor: pointer;
  transition: opacity 0.2s;
  text-decoration: none;
}
.insta-sim-trigger:hover { opacity: 0.92; }

.reviews-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.review-card {
  display: flex;
  gap: 12px;
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  padding: 12px;
  align-items: center;
  transition: border-color 0.2s;
}
.review-card:hover { border-color: #cbd5e1; }
.review-left {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.review-stars {
  color: #f59e0b;
  font-size: 0.85rem;
  letter-spacing: 1px;
  margin-bottom: 4px;
}
.review-text {
  font-size: 0.82rem;
  color: #334155;
  line-height: 1.4;
  margin-bottom: 8px;
}
.review-author {
  font-size: 0.75rem;
  font-weight: 700;
  color: #0f172a;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.review-verified {
  font-size: 0.68rem;
  font-weight: 600;
  color: #059669;
  background: #ecfdf5;
  padding: 1px 6px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  gap: 3px;
}
.review-right {
  width: 90px;
  height: 90px;
  flex-shrink: 0;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  background: #e2e8f0;
  border: 1px solid #cbd5e1;
}
.review-right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.25s ease;
}
.review-right:hover img {
  transform: scale(1.08);
}
.review-zoom-hint {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0,0,0,0.7);
  color: #fff;
  font-size: 0.58rem;
  font-weight: 600;
  text-align: center;
  padding: 3px 0;
  pointer-events: none;
}

/* Lightbox Modal */
.review-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  z-index: 10000;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.review-modal-overlay.active {
  display: flex;
}
.review-modal-box {
  background: #fff;
  border-radius: 14px;
  max-width: 380px;
  width: 100%;
  overflow: hidden;
  box-shadow: 0 12px 36px rgba(0,0,0,0.4);
  position: relative;
  animation: zoomIn 0.2s ease-out;
}
@keyframes zoomIn {
  from { transform: scale(0.92); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.review-modal-img {
  width: 100%;
  max-height: 380px;
  object-fit: cover;
  background: #f1f5f9;
}
.review-modal-content {
  padding: 14px 16px;
}
.review-modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(0,0,0,0.65);
  color: #fff;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  border: none;
  z-index: 10;
}

/* ============================================================
   16. COMPARATIVO
   ============================================================ */
.pdp-comparison {
  margin: 16px 16px 14px;
  background: #f8fafc;
  border-radius: 14px;
  padding: 16px 14px;
  border: 1px solid #e2e8f0;
  box-sizing: border-box;
}
.pdp-comparison-title {
  text-align: center;
  font-size: 1.05rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 4px;
}
.pdp-comparison-sub {
  text-align: center;
  font-size: 0.8rem;
  color: #64748b;
  margin-bottom: 14px;
}
.comparison-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 10px;
}
.comp-card {
  border-radius: 10px;
  padding: 12px 10px;
  font-size: 0.78rem;
  line-height: 1.35;
  min-width: 0;
  word-break: break-word;
  overflow-wrap: break-word;
}
.comp-card-bad {
  background: #fff;
  border: 1px solid #fecaca;
}
.comp-card-bad h4 {
  color: #dc2626;
  font-size: 0.8rem;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}
.comp-card-bad ul { list-style: none; }
.comp-card-bad li {
  margin-bottom: 8px;
  color: #475569;
  position: relative;
  padding-left: 14px;
}
.comp-card-bad li::before {
  content: '✕';
  position: absolute;
  left: 0;
  color: #ef4444;
  font-weight: 700;
}

.comp-card-good {
  background: #f0fdf4;
  border: 1.5px solid #86efac;
}
.comp-card-good h4 {
  color: #15803d;
  font-size: 0.8rem;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}
.comp-card-good ul { list-style: none; }
.comp-card-good li {
  margin-bottom: 8px;
  color: #166534;
  font-weight: 500;
  position: relative;
  padding-left: 14px;
}
.comp-card-good li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #16a34a;
  font-weight: 800;
}

/* ============================================================
   17. MINI FAQ
   ============================================================ */
.pdp-faq {
  margin: 16px 16px 85px; /* 85px no mobile para nunca ser coberto pela barra de compra */
  background: #fff;
  border-radius: 14px;
  padding: 16px 14px;
  border: 1px solid #e2e8f0;
  box-sizing: border-box;
}
.pdp-faq-title {
  text-align: center;
  font-size: 1.05rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 12px;
}
.faq-item {
  border-bottom: 1px solid #f1f5f9;
}
.faq-item:last-child { border-bottom: none; }
.faq-question {
  width: 100%;
  text-align: left;
  padding: 12px 4px;
  font-size: 0.84rem;
  font-weight: 700;
  color: #1e293b;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: none;
  border: none;
  cursor: pointer;
}
.faq-question span.arrow {
  font-size: 0.75rem;
  color: #94a3b8;
  transition: transform 0.2s ease;
}
.faq-answer {
  display: none;
  padding: 0 4px 12px;
  font-size: 0.8rem;
  color: #475569;
  line-height: 1.45;
}
.faq-item.active .faq-answer { display: block; }
.faq-item.active .faq-question span.arrow { transform: rotate(180deg); }

@media (min-width: 768px) {
  .pdp-comparison {
    max-width: 900px;
    margin: 24px auto 16px;
    padding: 18px;
  }
  .pdp-faq {
    max-width: 900px;
    margin: 16px auto 28px;
    padding: 18px;
  }
}

