/* Produtos NFC: catálogo, detalhes e pedido sem dependências adicionais. */
.products-section {
  background: #edf2ff;
  border-block: 1px solid #dce5f7;
}
.products-heading {
  max-width: 44rem;
  margin-bottom: 2.5rem;
}
.products-heading .section-title,
.products-heading .section-desc {
  text-align: left;
}
.products-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.75rem;
}
.product-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  border: 1px solid #dbe4f5;
  border-radius: 28px;
  background: #fff;
  overflow: hidden;
}
.product-card__image {
  display: block;
  overflow: hidden;
  background: #e5edfc;
}
.product-card__image img {
  width: 100%;
  height: auto;
  aspect-ratio: 6 / 5;
  object-fit: cover;
}
.product-card__image--personalized img {
  object-position: 50% 58%;
}
.product-card__body {
  padding: clamp(1.25rem, 3vw, 2rem);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex: 1;
  overflow-wrap: anywhere;
}
.product-kicker {
  color: var(--secondary);
  font-weight: 700;
  font-size: 0.875rem;
}
.product-card h3 {
  font-family: var(--font-title);
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  line-height: 1.3;
  margin-block: 0.75rem;
}
.product-card__body > p:not(.product-kicker) {
  color: var(--on-surface-variant);
}
.product-price {
  margin-block: 1.5rem 0.25rem;
  font-size: 1.85rem;
  font-family: var(--font-title);
  font-weight: 700;
  color: var(--primary);
  line-height: 1.3;
}
.product-price small {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 400;
}
.product-card__body .product-card__terms {
  margin-bottom: 1.5rem;
  font-size: 0.875rem;
}
.product-card .btn {
  margin-top: auto;
  max-width: 100%;
  white-space: normal;
  text-align: center;
}
.products-caption {
  font-size: 0.875rem;
  color: var(--on-surface-variant);
  margin-top: 1rem;
}
.product-wrap {
  width: min(calc(100% - clamp(2rem, 4vw, 3rem)), 74rem);
  margin-inline: auto;
}
.product-main {
  align-items: stretch;
  padding-top: 7rem;
}
.product-page .product-main > section {
  min-width: 0;
}
.product-hero {
  padding-block: clamp(2rem, 5vw, 5rem);
}
.product-breadcrumb {
  color: var(--on-surface-variant);
  font-size: 0.875rem;
  margin-bottom: 2rem;
}
.product-breadcrumb a {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.product-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 4rem);
}
.product-hero figure,
.product-gallery,
.product-hero__copy {
  min-width: 0;
}
.product-hero figure img {
  width: 100%;
  height: auto;
  border-radius: 28px;
  background: #e5edfc;
  object-fit: contain;
}
.product-hero__grid > figure {
  width: min(100%, 26rem);
  justify-self: center;
}
.product-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  width: 100%;
  max-width: 48rem;
  margin-inline: auto;
  align-items: start;
}
.product-gallery figure a {
  display: block;
}
.product-gallery figure {
  width: 100%;
}
.product-gallery figcaption {
  text-align: center;
}
.product-hero figcaption {
  font-size: 0.875rem;
  color: var(--on-surface-variant);
  margin-top: 0.75rem;
}
.product-hero h1 {
  font-family: var(--font-title);
  font-size: clamp(2rem, 3.5vw, 3.3rem);
  line-height: 1.12;
  letter-spacing: -0.04em;
  margin-block: 0.75rem 1.25rem;
  overflow-wrap: anywhere;
}
.product-hero__copy > p:not(.product-kicker, .product-price) {
  color: var(--on-surface-variant);
}
.product-hero__copy .btn {
  margin-top: 1.5rem;
  max-width: 100%;
  white-space: normal;
  text-align: center;
}
.product-benefits {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}
.product-benefits li {
  border: 1px solid #d4e1f7;
  border-radius: 99px;
  padding: 0.35rem 0.75rem;
  font-size: 0.875rem;
  color: var(--primary);
  max-width: 100%;
  overflow-wrap: anywhere;
}
.product-explainer {
  padding-block: 3.5rem;
  background: #edf2ff;
}
.product-page h2 {
  font-family: var(--font-title);
  font-size: clamp(1.5rem, 2.5vw, 2.2rem);
  line-height: 1.25;
  margin-bottom: 1.25rem;
}
.product-steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
}
.product-steps h3 {
  font-size: 1.125rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
}
.product-steps p,
.product-details p {
  color: var(--on-surface-variant);
}
.product-steps p,
.product-details p,
.product-order p,
.product-breadcrumb {
  overflow-wrap: anywhere;
}
.product-steps > li,
.product-details > div {
  min-width: 0;
}
.product-details {
  padding-block: 3.5rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
}
.product-details ul {
  padding-left: 1.2rem;
  color: var(--on-surface-variant);
}
.product-details li + li {
  margin-top: 0.6rem;
}
.product-order {
  background: #edf2ff;
  padding-block: 3.5rem;
  scroll-margin-top: 7.5rem;
}
.product-order__intro {
  max-width: 45rem;
  margin-bottom: 2rem;
}
.product-order__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: start;
}
.product-order__fields {
  min-width: 0;
  display: grid;
  gap: 1.75rem;
}
.product-order fieldset {
  min-width: 0;
  border: 0;
}
.product-order legend {
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1rem;
  font-size: 1.125rem;
}
.product-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.product-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  min-width: 0;
}
.product-field--full {
  grid-column: 1 / -1;
}
.product-field label {
  font-size: 0.875rem;
  font-weight: 600;
}
.product-field input,
.product-field select,
.product-field textarea {
  display: block;
  width: 100%;
  min-width: 0;
  padding: 0.8rem 0.9rem;
  background: #fff;
  border: 1px solid #bccce5;
  border-radius: 12px;
  font-size: 1rem;
  min-height: 3rem;
}
.product-field select {
  appearance: none;
  padding-right: 2.25rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23002764' stroke-width='2'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.8rem center;
}
.product-field textarea {
  resize: vertical;
  min-height: 7rem;
}
.product-field input:user-invalid,
.product-field select:user-invalid {
  border-color: #b42318;
}
.product-order__summary {
  position: static;
  padding: clamp(1.25rem, 3vw, 2rem);
  background: #fff;
  border: 1px solid #d1def3;
  border-radius: 24px;
  min-width: 0;
}
.product-order__summary.is-sticky {
  position: sticky;
  top: var(--order-summary-top, 7.5rem);
}
.product-order__summary h3 {
  font-size: 1.25rem;
  font-family: var(--font-title);
  margin-bottom: 1rem;
}
.product-order__summary dl {
  margin-block: 1.25rem;
}
.product-order__summary dl > div {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem;
  padding-block: 0.65rem;
  border-bottom: 1px solid #e3eaf7;
}
.product-order__summary dd {
  font-weight: 700;
  overflow-wrap: anywhere;
  min-width: 0;
}
.product-order__savings {
  color: #087647;
  font-size: 0.875rem;
}
.product-order__notice {
  color: var(--on-surface-variant);
  font-size: 0.875rem;
  margin-block: 1rem;
}
.product-order .btn {
  width: 100%;
  white-space: normal;
  text-align: center;
}
.product-order__error {
  color: #b42318;
  margin-top: 1rem;
}
.product-order__continue {
  display: block;
  text-decoration: underline;
  margin-top: 1rem;
  color: var(--secondary);
}
.product-order [hidden] {
  display: none;
}
.product-footer {
  background: #021230;
  color: #d1ddf4;
  padding-block: 2rem;
  font-size: 0.875rem;
}
.product-footer__inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.product-page :focus-visible,
.products-section :focus-visible {
  outline: 3px solid #0051d5;
  outline-offset: 4px;
}
.product-footer :focus-visible {
  outline-color: #8fbeff;
}
@media (max-width: 1023px) {
  .product-hero__grid,
  .product-order__layout,
  .product-steps,
  .product-details {
    grid-template-columns: minmax(0, 1fr);
  }
  .product-hero figure {
    max-width: 36rem;
    margin-inline: auto;
  }
  .product-order__summary.is-sticky {
    position: static;
  }
}
@media (max-width: 767px) {
  .products-grid {
    grid-template-columns: minmax(0, 1fr);
    max-width: 34rem;
    margin-inline: auto;
  }
}
@media (max-width: 600px) {
  .product-gallery {
    gap: 0.75rem;
  }
  .products-grid,
  .product-steps,
  .product-details,
  .product-fields {
    grid-template-columns: minmax(0, 1fr);
  }
  .product-wrap {
    width: calc(100% - 2rem);
  }
  .product-card .btn {
    width: 100%;
  }
}
@media (max-width: 479px) {
  .product-gallery {
    grid-template-columns: minmax(0, 1fr);
    max-width: 24rem;
    gap: 1.5rem;
  }
  .product-hero__copy .btn {
    width: 100%;
  }
}
