body.product-page {
  --bg: #f8fafc;
  --text: #0f172a;
  --muted: #475569;
  --card: #ffffff;
  --stroke: rgba(15, 23, 42, 0.12);
  --shadow: 0 20px 45px rgba(15, 23, 42, 0.08);
  --product-brand: #1d4ed8;
  --product-brand-dark: #1e40af;
  --product-accent: #f1f5f9;
  --product-success: #16a34a;
  background: var(--bg);
  color: var(--text);
}

body.product-page a {
  color: var(--product-brand);
}

body.product-page a:hover,
body.product-page a:focus-visible {
  color: var(--product-brand-dark);
}

body.product-page .product-main {
  max-width: 1120px;
  margin: 0 auto;
  padding: 2rem 1.5rem 4rem;
}

body.product-page .product-main > * + * {
  margin-top: 2.5rem;
}

body.product-page nav.breadcrumbs {
  font-size: 0.95rem;
  color: var(--muted);
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

body.product-page nav.breadcrumbs a {
  color: inherit;
}

body.product-page nav.breadcrumbs span[aria-current="page"] {
  color: var(--text);
  font-weight: 600;
}

body.product-page #hero {
  display: grid;
  gap: 2rem;
  align-items: center;
  padding-top: 1rem;
}

body.product-page #hero h1 {
  margin: 0;
  font-size: clamp(2.1rem, 3vw, 2.9rem);
  color: var(--text);
}

body.product-page #hero p {
  margin: 0.75rem 0 1.5rem;
  font-size: 1.05rem;
  color: var(--muted);
}

body.product-page .hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

body.product-page .cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  font-weight: 600;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

body.product-page .cta-primary {
  background: var(--product-brand);
  color: #ffffff;
  box-shadow: 0 18px 30px rgba(29, 78, 216, 0.28);
}

body.product-page .cta-primary:hover,
body.product-page .cta-primary:focus-visible {
  background: var(--product-brand-dark);
  transform: translateY(-1px);
}

body.product-page .cta-secondary {
  background: transparent;
  color: var(--product-brand);
  border: 1px solid rgba(29, 78, 216, 0.4);
  box-shadow: none;
}

body.product-page .cta-secondary:hover,
body.product-page .cta-secondary:focus-visible {
  background: rgba(29, 78, 216, 0.1);
  color: var(--product-brand-dark);
}

body.product-page .cta-secondary[disabled],
body.product-page .cta-secondary:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

body.product-page .hero-media img {
  width: 100%;
  height: auto;
  border-radius: 1rem;
  box-shadow: var(--shadow);
  background: #0f172a;
}

body.product-page .quick-specs {
  background: var(--card);
  border-radius: 1rem;
  padding: 1.75rem;
  box-shadow: var(--shadow);
  display: grid;
  gap: 0.75rem;
}

body.product-page .quick-specs h2 {
  margin: 0;
  font-size: 1.35rem;
  color: var(--text);
}

body.product-page .quick-specs ul {
  margin: 0;
  padding-left: 1.25rem;
  display: grid;
  gap: 0.4rem;
  color: var(--muted);
}

body.product-page .table-wrapper {
  overflow-x: auto;
  border-radius: 1rem;
  box-shadow: var(--shadow);
}

body.product-page table {
  width: 100%;
  border-collapse: collapse;
  min-width: 680px;
  background: var(--card);
}

body.product-page th,
body.product-page td {
  padding: 0.9rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--stroke);
}

body.product-page th {
  background: var(--product-accent);
  font-weight: 600;
}

body.product-page tbody tr:last-child td {
  border-bottom: none;
}

body.product-page .grid-two {
  display: grid;
  gap: 1.5rem;
}

body.product-page .grid-two > div {
  background: var(--card);
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

body.product-page .grid-two h2 {
  margin-top: 0;
}

body.product-page .grid-two ul {
  margin: 0;
  padding-left: 1.2rem;
  display: grid;
  gap: 0.5rem;
  color: var(--muted);
}

body.product-page .ratings-badges {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

body.product-page .badge {
  background: var(--card);
  border-radius: 0.9rem;
  padding: 1rem 1.25rem;
  box-shadow: var(--shadow);
  border: 1px solid rgba(15, 23, 42, 0.08);
}

body.product-page .badge strong {
  display: block;
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
  color: var(--text);
}

body.product-page .badge .source {
  font-size: 0.85rem;
  color: var(--muted);
}

body.product-page .faq-list {
  background: var(--card);
  border-radius: 1rem;
  box-shadow: var(--shadow);
  padding: 0 1.5rem;
}

body.product-page .faq-item {
  border-top: 1px solid var(--stroke);
}

body.product-page .faq-item:first-child {
  border-top: none;
}

body.product-page .faq-button {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 1rem 0;
  font-weight: 600;
  font-size: 1.05rem;
  cursor: pointer;
  color: var(--text);
}

body.product-page .faq-button:focus-visible {
  outline: 3px solid rgba(30, 64, 175, 0.35);
  outline-offset: 2px;
}

body.product-page .faq-content {
  padding-bottom: 1rem;
  color: var(--muted);
}

body.product-page .faq-content[hidden] {
  display: none;
}

body.product-page .comparativo {
  background: var(--card);
  border-radius: 1rem;
  padding: 1.75rem;
  box-shadow: var(--shadow);
}

body.product-page .comparativo__options {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin: 1.5rem 0 0;
}

body.product-page .comparativo__options a {
  border-radius: 0.75rem;
  border: 1px solid rgba(29, 78, 216, 0.18);
  padding: 1rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  background: rgba(37, 99, 235, 0.04);
}

body.product-page .comparativo__options a strong {
  font-size: 1.05rem;
  color: var(--text);
}

body.product-page .comparativo__options a span {
  font-size: 0.9rem;
  color: var(--muted);
}

body.product-page .sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.92);
  color: #ffffff;
  padding: 0.85rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  transform: translateY(120%);
  transition: transform 0.3s ease;
  z-index: 40;
}

body.product-page .sticky-cta.visible {
  transform: translateY(0);
}

body.product-page .sticky-cta span {
  font-size: 0.95rem;
}

body.product-page .sticky-cta .cta {
  min-width: 0;
  padding: 0.65rem 1.2rem;
  border-radius: 0.75rem;
}

body.product-page .comparativo__options a[data-best="true"] {
  border-color: var(--product-success);
  background: rgba(22, 163, 74, 0.08);
}

body.product-page .comparativo__options a[data-best="true"] strong {
  color: var(--product-success);
}

body.product-page .visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

@media (max-width: 768px) {
  body.product-page header {
    position: static;
  }

  body.product-page .product-main {
    padding: 1.5rem 1.25rem 4rem;
  }

  body.product-page #hero {
    padding-top: 0.5rem;
  }

  body.product-page table {
    min-width: 600px;
  }

  body.product-page .sticky-cta {
    padding: 0.75rem 1rem;
  }

  body.product-page .sticky-cta span {
    font-size: 0.85rem;
  }
}

@media (min-width: 768px) {
  body.product-page #hero {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding-top: 2.5rem;
  }

  body.product-page .grid-two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  body.product-page .sticky-cta {
    display: none;
  }
}
