/* ============================================================
   PRODUCT DETAIL SECTION
   ============================================================ */
.sec-product-detail {
  background: var(--clr-bg);
}

.product-gallery__main {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-card);
  border: 1px solid var(--clr-border);
  background: var(--clr-bg);
}

.product-gallery__main img{
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-highlights {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.product-highlights li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9375rem;
  color: var(--clr-text-mid);
}

.product-highlights .bi-check-circle-fill {
  color: var(--clr-yellow-dk);
  font-size: 1rem;
  flex-shrink: 0;
}

/* CTA buttons */
.btn-cta-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #25D366;
  color: var(--clr-white);
  font-size: 1rem;
  font-weight: 700;
  padding: 0.8rem 2rem;
  border-radius: var(--radius-btn);
  border: none;
  text-decoration: none;
  transition: background .18s, box-shadow .18s;
  flex: 1 1 0;
  min-width: 180px;
}

.btn-cta-whatsapp:hover,
.btn-cta-whatsapp:focus-visible {
  background: #1ebe5d;
  color: var(--clr-white);
  box-shadow: 0 4px 14px rgba(37, 211, 102, .4);
}


/* Specs table (legacy) */
.product-specs {
  background: var(--clr-bg-alt);
  border-radius: var(--radius-card);
  padding: 2rem 2rem 2.25rem;
}

.product-apps {
  background: var(--clr-bg);
  border-radius: var(--radius-card);
  padding: 2rem 2rem 2.25rem;
}

.specs-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--clr-red);
  margin: 0;
}

.specs-table {
  border-radius: 10px;
  overflow: hidden;
  margin: 0;
}

.specs-table thead tr {
  background: var(--clr-red);
}

.specs-table thead th {
  color: var(--clr-white);
  font-size: 0.8125rem;
  font-weight: 700;
  border: none;
  padding: 0.75rem 1rem;
  white-space: nowrap;
}

.specs-table tbody tr:nth-child(even) {
  background: var(--clr-bg);
}

.specs-table tbody td {
  font-size: 0.875rem;
  color: var(--clr-text-mid);
  border: none;
  padding: 0.65rem 1rem;
  border-bottom: 1px solid var(--clr-border);
}

/* Application items (legacy) */
.app-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  background: var(--clr-white);
  border: 1px solid var(--clr-border);
  border-radius: 10px;
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  color: var(--clr-text-mid);
  font-weight: 500;
}

.app-item__icon {
  color: var(--clr-red);
  font-size: 1.15rem;
  flex-shrink: 0;
}

/* Related products section */
.sec-related {
  background: var(--clr-bg-alt);
}

/* ============================================================
   PRODUCT DETAIL — Figma-aligned styles
   ============================================================ */
.sec-product-detail .product-gallery__main {
  aspect-ratio: 4 / 4.5;
  border-radius: 12px;
}

.product-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--clr-text);
  line-height: 1.3;
  margin: 0;
}

.product-lead {
  font-size: 0.9375rem;
  color: var(--clr-text-mid);
  line-height: 1.7;
  margin: 0;
}

.product-divider {
  border: none;
  border-top: 1px solid var(--clr-border);
  margin: 1.5rem 0;
}

.product-section-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--clr-text);
  margin: 0 0 0.25rem;
}

.product-specs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.25rem 1rem;
}

.product-spec-item {
  display: flex;
  flex-direction: column;
  padding: 0.35rem 0;
}

.product-spec-label {
  font-size: 0.8125rem;
  color: var(--clr-text-muted);
  font-weight: 500;
}

.product-spec-value {
  font-size: 0.9375rem;
  color: var(--clr-text);
  font-weight: 400;
  margin-top: 0.15rem;
}

.product-apps-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem 1rem;
}

.product-app-item {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--clr-text-mid);
}

.product-app-icon {
  color: #22c55e;
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 0.12rem;
}

.btn-product-cta {
  display: block;
  width: 100%;
  background: var(--clr-red);
  color: var(--clr-white);
  font-size: 1rem;
  font-weight: 600;
  padding: 1rem 1.5rem;
  border-radius: var(--radius-btn);
  border: none;
  text-align: center;
  text-decoration: none;
  transition: background .18s, box-shadow .18s;
}

.btn-product-cta:hover,
.btn-product-cta:focus-visible {
  background: var(--clr-red-dark);
  color: var(--clr-white);
  box-shadow: 0 4px 12px rgba(204, 18, 32, .3);
}

/* ============================================================
   CTA BANNER
   ============================================================ */
.sec-cta-banner {
  background: var(--clr-red);
  padding: 3.5rem 1.5rem;
  text-align: center;
  margin-bottom: 90px;
  border-radius: 15px;
}

.cta-banner__label {
  font-size: 1.2rem;
  font-weight: 600;
  color: rgba(255, 255, 255, .9);
  margin-bottom: 0.75rem;
}

.cta-banner__text {
  font-size: 1rem;
  color: rgba(255, 255, 255, .92);
  max-width: 640px;
  margin: 0 auto 2rem;
  line-height: 1.65;
}

.cta-banner__btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-cta-banner {
  background: var(--clr-bg);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--clr-red);
  font-size: 0.9375rem;
  font-weight: 600;
  padding: 0.7rem 1.75rem;
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, .75);
  text-decoration: none;
  white-space: nowrap;
  transition: background .18s, border-color .18s;
}

.btn-cta-banner:hover,
.btn-cta-banner:focus-visible {
  background: var(--clr-red);
  border-color: var(--clr-white);
  color: var(--clr-white);
}

/* ============================================================
   RESPONSIVE — detalhes do produto
   ============================================================ */
@media (max-width: 991px) {
  .product-cta {
    flex-direction: column;
  }

  .btn-cta-whatsapp,
  .btn-cta-outline {
    flex: unset;
    width: 100%;
  }
}

@media (max-width: 767px) {
  .product-specs-grid {
    grid-template-columns: 1fr;
  }

  .product-apps-grid {
    grid-template-columns: 1fr;
  }

  .cta-banner__btns {
    flex-direction: column;
    align-items: center;
  }

  .btn-cta-banner {
    width: 100%;
    max-width: 320px;
    justify-content: center;
  }

  .sec-product-detail .product-gallery__main {
    aspect-ratio: 4 / 3;
  }

  .product-specs,
  .product-apps {
    padding: 1.5rem 1.25rem;
  }
}