:root {
  --navy: #0a2342;
  --navy-2: #12325c;
  --ink: #152033;
  --muted: #5e6b7d;
  --line: #dde3ec;
  --bg: #f4f6f9;
  --card: #ffffff;
  --accent: #e85d04;
  --accent-deep: #c44d03;
  --ok: #1b7a45;
  --pix: #32bcad;
  --font: "Source Sans 3", system-ui, sans-serif;
  --display: "Outfit", system-ui, sans-serif;
  --wrap: min(1180px, calc(100% - clamp(1rem, 4vw, 2rem)));
  --radius: 12px;
  --shadow: 0 10px 28px rgba(10, 35, 66, 0.08);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --safe-right: env(safe-area-inset-right, 0px);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  min-height: 100vh;
  line-height: 1.5;
  overflow-x: clip;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--navy-2);
  text-underline-offset: 3px;
}

a:hover {
  color: var(--accent);
}

.wrap {
  width: var(--wrap);
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--accent);
  color: #fff;
  padding: 0.5rem 1rem;
  z-index: 100;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.muted {
  color: var(--muted);
}

/* Topbar */
.topbar {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.85rem;
}

.topbar-inner {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  min-height: 2.25rem;
  flex-wrap: wrap;
  padding: 0.35rem 0;
}

.topbar p {
  margin: 0;
}

.topbar-links {
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
}

.topbar-links a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-weight: 600;
}

.topbar-wa {
  color: #7dffce !important;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: #fff;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 0 rgba(10, 35, 66, 0.04);
}

.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1rem;
  align-items: center;
  min-height: 4.5rem;
  padding: 0.55rem 0;
}

.brand {
  display: flex;
  flex-direction: column;
  line-height: 1;
  text-decoration: none;
  color: var(--navy);
}

.brand-mark-text {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.55rem;
  letter-spacing: -0.04em;
}

.brand-name {
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  color: var(--accent);
}

.header-search {
  position: relative;
  display: flex;
  width: min(100%, 520px);
  margin-inline: auto;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #f8fafc;
}

.header-search input {
  flex: 1;
  border: 0;
  background: transparent;
  padding: 0.7rem 1rem;
  font: inherit;
  outline: none;
  border-radius: 999px 0 0 999px;
  min-width: 0;
}

.header-search button {
  border: 0;
  background: var(--navy);
  color: #fff;
  font-weight: 700;
  padding: 0 1.1rem;
  cursor: pointer;
  border-radius: 0 999px 999px 0;
}

.search-suggest {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 0.4rem);
  z-index: 40;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
  overflow: hidden;
  max-height: min(70vh, 420px);
  overflow-y: auto;
}

.suggest-item {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 0.75rem;
  align-items: center;
  padding: 0.65rem 0.85rem;
  text-decoration: none;
  color: inherit;
  border-bottom: 1px solid var(--line);
}

.suggest-item:hover,
.suggest-item.is-active {
  background: #f4f7fb;
}

.suggest-item img,
.suggest-ph {
  width: 40px;
  height: 40px;
  object-fit: contain;
  background: var(--bg);
  border-radius: 6px;
}

.suggest-text {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
}

.suggest-text strong {
  font-size: 0.92rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.suggest-text small {
  color: var(--muted);
  font-size: 0.82rem;
}

.suggest-all,
.suggest-empty {
  display: block;
  padding: 0.7rem 0.9rem;
  text-align: center;
  font-size: 0.9rem;
  color: var(--navy-2);
}

.suggest-empty {
  color: var(--muted);
  margin: 0;
}

.catalog-search-again {
  display: flex;
  gap: 0.5rem;
  margin: 0 0 1.25rem;
  max-width: 520px;
}

.catalog-search-again input {
  flex: 1;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.65rem 1rem;
  font: inherit;
  background: #fff;
}

.catalog-search-again button {
  border: 0;
  border-radius: 999px;
  background: var(--navy);
  color: #fff;
  font-weight: 700;
  padding: 0 1.1rem;
  cursor: pointer;
}

.header-actions {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.header-wa,
.header-pix {
  text-decoration: none;
  font-weight: 700;
  font-size: 0.86rem;
  border-radius: 999px;
  padding: 0.55rem 0.9rem;
  white-space: nowrap;
}

.header-wa {
  color: var(--navy);
  border: 1px solid var(--line);
}

.header-pix {
  background: var(--pix);
  color: #043833;
}

.cat-nav {
  background: var(--navy-2);
}

.cat-nav-inner {
  display: flex;
  gap: 0.15rem;
  overflow-x: auto;
  padding: 0.35rem 0;
  scrollbar-width: none;
}

.cat-nav-inner::-webkit-scrollbar {
  display: none;
}

.cat-nav a {
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.55rem 0.85rem;
  border-radius: 8px;
  white-space: nowrap;
}

.cat-nav a:hover,
.cat-nav a.is-active {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

/* Hero vitrine */
.store-hero {
  background:
    linear-gradient(120deg, rgba(10, 35, 66, 0.94), rgba(18, 50, 92, 0.88)),
    radial-gradient(circle at 80% 20%, rgba(232, 93, 4, 0.35), transparent 45%);
  color: #fff;
  padding: 2rem 0 2.4rem;
}

.store-hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.5rem;
  align-items: center;
}

.eyebrow {
  margin: 0 0 0.4rem;
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.82rem;
  color: #ffb078;
}

.store-hero h1 {
  margin: 0 0 0.75rem;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.store-hero .lead {
  margin: 0 0 1.2rem;
  max-width: 34rem;
  color: rgba(255, 255, 255, 0.84);
}

.store-hero-visual {
  position: relative;
  display: block;
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow);
  text-decoration: none;
}

.store-hero-visual img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  background: #fff;
  padding: 1rem;
}

.store-hero-price {
  position: absolute;
  left: 0.85rem;
  right: 0.85rem;
  bottom: 0.85rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(10, 35, 66, 0.92);
  color: #fff;
  border-radius: 10px;
  padding: 0.65rem 0.85rem;
  font-size: 0.92rem;
}

.store-hero-price strong {
  color: #ffd2ad;
  font-size: 1.1rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.btn-primary,
.btn-ghost,
.btn-buy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.65rem 1.1rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, background 0.15s ease;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--accent-deep);
  color: #fff;
  transform: translateY(-1px);
}

.store-hero .btn-ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
  background: transparent;
}

.btn-ghost {
  background: #fff;
  color: var(--navy);
  border-color: var(--line);
}

.btn-buy {
  width: 100%;
  background: var(--navy);
  color: #fff;
  border-radius: 10px;
  margin-top: 0.35rem;
}

.btn-buy:hover {
  background: var(--accent);
  color: #fff;
}

/* Sections */
.section,
.page {
  padding: 2rem 0 1.5rem;
}

.section-tight {
  padding-top: 1.5rem;
  padding-bottom: 0.5rem;
}

.section-head h1,
.section-head h2,
.two-col h2,
.product-buy h1 {
  margin: 0 0 0.35rem;
  font-family: var(--display);
  font-weight: 750;
  letter-spacing: -0.02em;
}

.row-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1rem;
  margin-bottom: 1rem;
}

.row-head a {
  font-weight: 700;
  text-decoration: none;
  color: var(--accent);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.p-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.p-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.p-card-media {
  background: #fff;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-bottom: 1px solid var(--line);
}

.p-card-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 0.85rem;
}

.p-card-body {
  padding: 0.85rem 0.9rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  flex: 1;
}

.p-card-cat {
  margin: 0;
  font-size: 0.78rem;
  color: var(--muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.p-card h3 {
  margin: 0;
  font-size: 0.98rem;
  font-weight: 650;
  line-height: 1.3;
  flex: 1;
}

.p-card h3 a {
  color: inherit;
  text-decoration: none;
}

.p-card-price {
  margin: 0.35rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: baseline;
}

.p-card-price .was {
  color: var(--muted);
  text-decoration: line-through;
  font-size: 0.85rem;
}

.p-card-price strong {
  font-family: var(--display);
  font-size: 1.2rem;
  color: var(--navy);
}

.p-card-ship {
  margin: 0;
  font-size: 0.82rem;
  color: var(--ok);
  font-weight: 600;
}

/* Trust + footer */
.trust-strip {
  margin-top: 2rem;
  background: #fff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 1.25rem 0;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.trust-grid strong {
  display: block;
  font-family: var(--display);
  font-size: 0.95rem;
}

.trust-grid span {
  color: var(--muted);
  font-size: 0.88rem;
}

.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.86);
  padding: 2.5rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 1.5rem;
}

.footer-brand {
  margin: 0 0 0.4rem;
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.25rem;
  color: #fff;
}

.footer-title {
  margin: 0 0 0.55rem;
  font-weight: 700;
  color: #fff;
}

.site-footer a {
  display: block;
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  margin: 0.25rem 0;
}

.site-footer a:hover {
  color: #ffb078;
}

.site-footer .muted {
  color: rgba(255, 255, 255, 0.68);
  margin: 0.2rem 0;
}

.footer-bottom {
  margin-top: 1.75rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.88rem;
}

/* Product page */
.product-hero {
  padding: 1.5rem 0 2rem;
}

.product-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  align-items: start;
}

.product-media {
  margin: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.product-media img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  padding: 1.25rem;
}

.product-thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.65rem;
}

.product-thumb {
  border: 2px solid var(--line);
  border-radius: 8px;
  padding: 0;
  background: #fff;
  cursor: pointer;
  overflow: hidden;
  width: 72px;
  height: 72px;
}

.product-thumb.is-active {
  border-color: var(--accent, #e85d04);
}

.product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 0.25rem;
}

.product-buy {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem;
}

.brand-mark {
  margin: 0 0 0.35rem;
  color: var(--accent);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.8rem;
}

.lead {
  color: var(--muted);
}

.price-row {
  display: flex;
  gap: 0.65rem;
  align-items: baseline;
  margin: 0.9rem 0;
}

.price-old {
  color: var(--muted);
  text-decoration: line-through;
}

.price {
  font-family: var(--display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--navy);
}

.shipping-line {
  margin: 0 0 0.4rem;
}

.shipping-notice {
  margin: 0.85rem 0 1.1rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.65);
}

.shipping-notice--free {
  border-color: rgba(12, 95, 87, 0.28);
  background: rgba(12, 95, 87, 0.06);
}

.shipping-notice--free .shipping-line strong {
  color: #0c5f57;
}

.badges {
  list-style: none;
  padding: 0;
  margin: 0.9rem 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.badges li {
  background: #eef3f9;
  border-radius: 999px;
  padding: 0.3rem 0.7rem;
  font-size: 0.82rem;
  font-weight: 600;
}

.dot.ok,
.dot.off {
  display: inline-block;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  margin-right: 0.25rem;
}

.dot.ok {
  background: var(--ok);
}

.dot.off {
  background: #b45309;
}

.btn-buy-disabled {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 2.75rem;
  margin-top: 0.35rem;
  border-radius: 10px;
  background: #e8edf3;
  color: var(--muted);
  font-weight: 700;
  cursor: default;
}

.oos-banner {
  margin: 1rem 0;
  padding: 0.9rem 1rem;
  border-radius: 10px;
  background: #fff4e5;
  color: #8a4b00;
  font-weight: 600;
}

.id-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
  margin: 0.9rem 0 1.1rem;
}

.id-list div {
  background: #f7f9fc;
  border-radius: 8px;
  padding: 0.55rem 0.7rem;
}

.id-list dt {
  font-size: 0.72rem;
  color: var(--muted);
  text-transform: uppercase;
}

.id-list dd {
  margin: 0.15rem 0 0;
  font-weight: 700;
}

.buy-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.buy-form label {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  font-size: 0.88rem;
  font-weight: 600;
}

.buy-form .full {
  grid-column: 1 / -1;
}

.buy-form input,
.buy-form textarea,
.contact-form input,
.contact-form textarea,
.header-search input,
.catalog-search-again input {
  font: inherit;
  font-size: 16px; /* evita zoom automático no iOS */
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.65rem 0.75rem;
  background: #fff;
}

.header-search input {
  border: 0;
  background: transparent;
  border-radius: 999px 0 0 999px;
}

.pix-only-badge {
  background: rgba(50, 188, 173, 0.15);
  border: 1px solid rgba(50, 188, 173, 0.35);
  color: #0c5f57;
  border-radius: 10px;
  padding: 0.7rem 0.85rem;
  font-weight: 700;
}

.payment-fieldset {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.75rem 0.9rem 0.9rem;
  margin: 0;
}

.payment-fieldset legend {
  padding: 0 0.35rem;
  font-weight: 700;
  font-size: 0.92rem;
}

.pay-option {
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
  margin: 0.45rem 0;
  font-weight: 500;
  cursor: pointer;
}

.pay-option input {
  margin-top: 0.25rem;
}

.boleto-box {
  margin: 1.25rem 0;
  padding: 1rem 1.15rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
}

.fineprint {
  font-size: 0.85rem;
  color: var(--muted);
}

.freight-box {
  margin: 0.85rem 0 1.1rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.65);
}

.freight-label {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  font-weight: 600;
  font-size: 0.92rem;
}

.freight-row {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.freight-row input {
  flex: 1;
  min-width: 0;
  padding: 0.55rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
}

.freight-result {
  margin-top: 0.55rem;
  font-size: 0.9rem;
}

.freight-result.is-ok,
[data-cep-status].is-ok {
  color: #0c5f57;
}

.freight-result.is-err,
[data-cep-status].is-err {
  color: #a11;
}

.freight-services {
  margin: 0.65rem 0 0;
  padding: 0;
  border: 0;
  display: grid;
  gap: 0.35rem;
}

.freight-opt {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
  font-weight: 500;
  font-size: 0.9rem;
  cursor: pointer;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
}

.spec-table th,
.spec-table td {
  text-align: left;
  padding: 0.7rem 0.9rem;
  border-bottom: 1px solid var(--line);
}

.spec-table th {
  width: 38%;
  color: var(--muted);
  font-weight: 600;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.check-list {
  margin: 0.5rem 0 0;
  padding-left: 1.1rem;
}

.policy,
.content-card,
.golive,
.pedido-box {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem;
}

/* Política de trocas — estilo seções (CDC / Merchant) */
.policy-page .lead {
  max-width: 42rem;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.55;
}

.policy-highlights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 1.35rem 0 1.5rem;
}

.policy-chip {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.85rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.policy-chip strong {
  font-family: var(--display);
  font-size: 1.05rem;
  color: var(--navy);
  letter-spacing: -0.01em;
}

.policy-chip span {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.35;
}

.policy-accordions {
  display: grid;
  gap: 0.55rem;
  margin-bottom: 1.75rem;
}

.policy-acc {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.policy-acc summary {
  list-style: none;
  cursor: pointer;
  padding: 1rem 1.15rem;
  font-family: var(--display);
  font-weight: 650;
  font-size: 1.02rem;
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  user-select: none;
}

.policy-acc summary::-webkit-details-marker {
  display: none;
}

.policy-acc summary::after {
  content: "+";
  flex-shrink: 0;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 8px;
  background: var(--bg);
  color: var(--navy);
  font-size: 1.1rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.policy-acc[open] summary::after {
  content: "−";
}

.policy-acc summary:hover {
  background: #fafbfc;
}

.policy-acc-body {
  padding: 0 1.15rem 1.15rem;
  border-top: 1px solid var(--line);
  color: var(--ink);
  font-size: 0.98rem;
  line-height: 1.55;
}

.policy-acc-body > :first-child {
  margin-top: 0.9rem;
}

.policy-acc-body ul,
.policy-acc-body ol {
  margin: 0.5rem 0 0.75rem;
  padding-left: 1.2rem;
}

.policy-acc-body li {
  margin: 0.35rem 0;
}

.policy-legal {
  margin-top: 0.5rem;
  font-size: 0.9rem;
  line-height: 1.5;
}

@media (max-width: 720px) {
  .policy-highlights {
    grid-template-columns: 1fr;
  }
}

.contact-form {
  display: grid;
  gap: 0.75rem;
  max-width: 560px;
}

/* Legacy card aliases */
.product-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.product-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
}

.card-media {
  aspect-ratio: 1;
  background: #fff;
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 0.75rem;
}

.card-body {
  padding: 0.85rem;
}

.card-brand {
  margin: 0;
  font-size: 0.78rem;
  color: var(--muted);
}

.card-price {
  margin: 0.35rem 0 0;
}

.strip,
.strip-grid,
.home-hero,
.home-copy,
.trust-row {
  /* kept for older pages if any */
}

/* WhatsApp flutuante */
.wa-float {
  position: fixed;
  right: calc(1.1rem + var(--safe-right));
  bottom: calc(1.1rem + var(--safe-bottom));
  z-index: 50;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 3.35rem;
  padding: 0.7rem 1rem 0.7rem 0.85rem;
  border-radius: 999px;
  background: #25d366;
  color: #fff !important;
  text-decoration: none !important;
  font-weight: 700;
  font-size: 0.92rem;
  box-shadow: 0 10px 28px rgba(14, 70, 36, 0.28);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.wa-float:hover {
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(14, 70, 36, 0.34);
}

.wa-float svg {
  width: 1.55rem;
  height: 1.55rem;
  flex-shrink: 0;
}

.wa-float-label {
  line-height: 1;
}

/* ——— Responsivo: desktop → tablet → celular ——— */

/* Tablet grande / notebook estreito */
@media (max-width: 1100px) {
  .product-grid,
  .product-cards {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1.2fr 1fr 1fr;
  }

  .footer-grid > :first-child {
    grid-column: 1 / -1;
  }
}

/* Tablet */
@media (max-width: 980px) {
  .header-inner {
    grid-template-columns: 1fr auto;
    gap: 0.75rem;
  }

  .header-search {
    grid-column: 1 / -1;
    order: 3;
    width: 100%;
  }

  .header-actions .header-wa {
    display: none;
  }

  .store-hero-inner,
  .product-layout,
  .two-col {
    grid-template-columns: 1fr;
  }

  .product-grid,
  .product-cards,
  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid > :first-child {
    grid-column: 1 / -1;
  }

  .pix-box {
    grid-template-columns: 1fr;
  }

  .pix-qr {
    width: min(280px, 100%);
    height: auto;
    aspect-ratio: 1;
    margin: 0 auto;
  }

  .row-head {
    flex-wrap: wrap;
    align-items: flex-start;
  }

  .store-hero {
    padding: 1.6rem 0 2rem;
  }

  .product-buy {
    position: static;
  }
}

/* Celular */
@media (max-width: 640px) {
  .topbar {
    font-size: 0.78rem;
  }

  .topbar-inner {
    justify-content: center;
    text-align: center;
    gap: 0.35rem 0.75rem;
  }

  .topbar-inner p {
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .header-inner {
    min-height: 0;
    padding: 0.65rem 0 0.45rem;
  }

  .brand-mark-text {
    font-size: 1.35rem;
  }

  .brand-name {
    font-size: 0.7rem;
    letter-spacing: 0.1em;
  }

  .header-pix {
    padding: 0.5rem 0.75rem;
    font-size: 0.8rem;
  }

  .header-search button {
    padding: 0 0.85rem;
    font-size: 0.88rem;
  }

  .product-grid,
  .product-cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.65rem;
  }

  .p-card-body {
    padding: 0.65rem 0.7rem 0.8rem;
  }

  .p-card h3 {
    font-size: 0.88rem;
  }

  .p-card-price strong {
    font-size: 1.05rem;
  }

  .trust-grid,
  .footer-grid,
  .buy-form,
  .id-list {
    grid-template-columns: 1fr;
  }

  .footer-grid > :first-child {
    grid-column: auto;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .section,
  .page {
    padding: 1.35rem 0 1.1rem;
  }

  .product-buy {
    padding: 1rem;
  }

  .price {
    font-size: 1.65rem;
  }

  .btn-primary,
  .btn-ghost,
  .btn-buy,
  .buy-form button {
    width: 100%;
  }

  .hero-cta .btn-primary,
  .hero-cta .btn-ghost {
    flex: 1 1 calc(50% - 0.35rem);
    min-width: 9rem;
  }

  .catalog-search-again {
    max-width: none;
    flex-direction: column;
  }

  .catalog-search-again button {
    min-height: 2.75rem;
  }

  .freight-row {
    flex-wrap: wrap;
  }

  .freight-row input {
    flex: 1 1 100%;
  }

  .freight-row button {
    width: 100%;
  }

  .order-summary {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .order-summary img {
    width: 140px;
    height: 140px;
  }

  .spec-table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .spec-table th {
    width: auto;
    white-space: nowrap;
  }

  .prose,
  .policy,
  .content-card,
  .golive {
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .wa-float-label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
  }

  .wa-float {
    width: 3.5rem;
    height: 3.5rem;
    min-height: 0;
    padding: 0;
    justify-content: center;
    border-radius: 50%;
  }
}

/* Celulares bem estreitos */
@media (max-width: 380px) {
  .product-grid,
  .product-cards {
    grid-template-columns: 1fr;
  }

  .topbar-links {
    justify-content: center;
    width: 100%;
  }
}

.order-status-ok {
  display: inline-block;
  margin: 0 0 0.5rem;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: #e8f7ee;
  color: var(--ok);
  font-weight: 700;
  font-size: 0.85rem;
}

.flash-inline {
  padding: 0.75rem 1rem;
  border-radius: 10px;
  margin: 0 0 1rem;
}

.flash-inline.ok {
  background: #e8f7ee;
  color: var(--ok);
}

.flash-inline.warn {
  background: #fff4e5;
  color: #a15c00;
}

.order-summary {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 1rem;
  align-items: start;
  margin: 1.25rem 0;
  padding: 1rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.order-summary img {
  width: 120px;
  height: 120px;
  object-fit: contain;
  background: var(--bg);
  border-radius: 8px;
}

.pix-box {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 1.25rem;
  align-items: start;
  margin: 1.25rem 0 1.75rem;
  padding: 1rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.pix-qr {
  width: 280px;
  height: 280px;
  border-radius: 8px;
  background: #fff;
}

.pix-label {
  display: block;
  font-weight: 600;
  margin: 0.75rem 0 0.35rem;
}

.pix-copy textarea {
  width: 100%;
  font: inherit;
  font-size: 0.85rem;
  padding: 0.65rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  resize: vertical;
}

/* Tablet estreito / celular largo — checkout PIX/boleto */
@media (max-width: 720px) {
  .pix-box,
  .order-summary {
    grid-template-columns: 1fr;
  }

  .pix-qr {
    margin: 0 auto;
  }

  .boleto-box {
    padding: 0.9rem 1rem;
  }
}
