:root {
  --yellow: #fff159;
  --blue: #3483fa;
  --blue-hot: #2968c8;
  --green: #00a650;
  --page: #ebebeb;
  --card: #fff;
  --ink: #333;
  --muted: #666;
  --line: #e6e6e6;
  --sans: "DM Sans", "Segoe UI", Roboto, Arial, sans-serif;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--page);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.45;
  overflow-x: hidden;
}
body.is-admin { display: block; background: #f5f5f5; }
main { flex: 1; }
img { max-width: 100%; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-hot); }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--yellow); color: #333; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }

h1, h2, h3 { font-weight: 600; letter-spacing: 0; line-height: 1.2; color: #333; }
h1 { margin: 0 0 12px; font-size: 28px; }
h2 { margin: 0 0 14px; font-size: 22px; font-weight: 500; }
p { margin: 0 0 10px; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
.skip {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 80;
  background: var(--yellow);
  color: #333;
  padding: 8px 12px;
}
.skip:focus { top: 12px; }

.wrap { width: min(1200px, calc(100% - 32px)); margin-inline: auto; }
.narrow { width: min(760px, calc(100% - 32px)); }
.page { padding: 20px 0 48px; }
.inst { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 22px; align-items: start; }
.inst-nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
  background: #fff;
  border-radius: 6px;
  padding: 10px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
  position: sticky;
  top: 12px;
}
.inst-nav a {
  display: block;
  padding: 8px 10px;
  border-radius: 4px;
  color: #333;
  font-size: 14px;
  font-weight: 600;
}
.inst-nav a:hover, .inst-nav a[aria-current="page"] { background: #e8f1ff; color: var(--blue); }
.inst-body h2 { margin-top: 22px; }
.inst-steps, .inst-list { margin: 0 0 16px; padding-left: 18px; color: #333; }
.inst-steps li, .inst-list li { margin: 0 0 8px; }
.inst-address { font-style: normal; line-height: 1.6; margin: 0 0 16px; }
.inst-address span { display: block; }
.inst-body .cats { margin-top: 8px; }
.section { padding: 8px 0 20px; }
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 14px;
}
.section-head h1, .section-head h2 { margin: 0; }
.section-head a { font-size: 14px; }

.eyebrow {
  margin: 0 0 6px;
  color: #666;
  font-size: 13px;
  font-weight: 600;
}
.lead, .prose { color: #333; }
.prose { white-space: pre-line; }
.hint { color: var(--muted); font-size: 14px; }
.crumb { color: #666; margin: 0 0 12px; font-size: 14px; }

.header { background: #fdb802; }
.header-bar {
  min-height: 64px;
  display: flex;
  align-items: center;
  gap: 18px;
}
.logo {
  display: flex;
  align-items: center;
  line-height: 0;
  background: none;
  border: 0;
  padding: 0;
}
.logo img { display: block; height: 48px; width: auto; background: none; }
.search-box { position: relative; width: min(420px, 100%); flex: 0 1 420px; min-width: 0; }
.header-tools { margin-left: auto; display: flex; align-items: center; gap: 18px; }
.search {
  display: flex;
  align-items: center;
  background: #fff;
  height: 40px;
  border-radius: 2px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
  overflow: hidden;
}
.search-results {
  position: absolute;
  z-index: 50;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16);
  overflow: auto;
  max-height: min(420px, 70vh);
}
.search-results[hidden] { display: none; }
.search-hit, .search-all {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 8px 12px;
  color: #333;
  font-size: 14px;
}
.search-all { grid-template-columns: 1fr; color: var(--blue); font-weight: 700; border-top: 1px solid var(--line); }
.search-hit img { width: 48px; height: 48px; object-fit: contain; background: #fff; }
.search-hit strong { font-weight: 600; line-height: 1.3; }
.search-hit em { font-style: normal; color: #333; font-weight: 600; font-size: 13px; white-space: normal; }
.search-hit:hover, .search-hit.is-on, .search-all:hover, .search-all.is-on { background: #f5f5f5; color: #333; }
.search-all:hover, .search-all.is-on { color: var(--blue); }
.search-empty { margin: 0; padding: 14px 12px; color: #666; font-size: 14px; }
.header .search input {
  flex: 1;
  width: auto;
  min-width: 0;
  height: 40px;
  min-height: 40px;
  border: 0;
  border-radius: 0;
  background: #fff;
  color: #333;
  padding: 0 16px;
  box-shadow: none;
}
.header .search input:focus { outline: none; border: 0; }
.search button {
  width: 46px;
  height: 40px;
  border: 0;
  background: #fff;
  color: #666;
  cursor: pointer;
  display: grid;
  place-items: center;
}
.search button:hover { color: #333; }
.search svg { width: 18px; height: 18px; }
.account-link, .cart-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #333;
  font-size: 14px;
  font-weight: 500;
  position: relative;
}
button.account-link { border: 0; background: none; padding: 0; cursor: pointer; font: inherit; }
.account-link:hover, .cart-link:hover { color: #333; }
.account-link svg, .cart-link svg { width: 24px; height: 24px; }
.cart-link em {
  position: absolute;
  top: -6px;
  left: 14px;
  background: #fff;
  color: #333;
  font-style: normal;
  font-size: 11px;
  font-weight: 700;
  min-width: 16px;
  height: 16px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  padding: 0 4px;
}
.subnav { background: #fdb802; box-shadow: inset 0 1px 0 rgba(0, 0, 0, 0.06); }
.subnav-bar {
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.nav { display: flex; gap: 18px; }
.nav a { color: #333; font-size: 14px; font-weight: 600; padding: 8px 0; }
.nav a:hover, .nav a[aria-current="page"] { color: #012b91; }
.subnav-account { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.subnav-account a { color: #333; font-size: 14px; font-weight: 700; padding: 8px 0; }
.subnav-account a + a::before { content: "–"; margin-right: 8px; font-weight: 600; color: rgba(51, 51, 51, 0.55); }
.subnav-account a:hover, .subnav-account a[aria-current="page"] { color: #012b91; }
.subnav p {
  margin: 0;
  color: rgba(51, 51, 51, 0.78);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.flash { padding: 12px 16px; text-align: center; font-weight: 600; }
.flash.is-ok { background: #e6f7ee; color: #067036; }
.flash.is-error { background: #ffe8e8; color: #b00020; }

.hero { position: relative; background: #1a1a1a; }
.hero-track { position: relative; height: 300px; }
.hero-track .hero-frame {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.5s ease;
}
.hero-track .hero-frame.is-on { opacity: 1; visibility: visible; pointer-events: auto; z-index: 1; }
.hero-nav, .hero-dots { position: absolute; z-index: 2; }
.hero-nav {
  top: 42%;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  color: #012b91;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.16);
}
.hero-prev { left: 16px; }
.hero-next { right: 16px; }
.hero-dots {
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.35);
}
.hero-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.55);
  cursor: pointer;
}
.hero-dot.is-on { width: 22px; background: #fff; }
.hero-frame {
  position: relative;
  display: block;
  height: 300px;
  overflow: hidden;
  background: #012b91;
  color: #fff;
}
.hero-frame:hover { color: #fff; }
.hero-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.hero-frame::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 88px;
  background: linear-gradient(to bottom, rgba(235, 235, 235, 0), var(--page) 92%);
  pointer-events: none;
}
.hero-fallback {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px max(16px, calc((100% - 1200px) / 2));
  background:
    radial-gradient(circle at 82% 30%, rgba(253, 184, 2, 0.32), transparent 38%),
    #012b91;
}
.hero-fallback::after { display: none; }
.hero-fallback em {
  display: block;
  margin-bottom: 8px;
  font-style: normal;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fdb802;
}
.hero-fallback strong {
  display: block;
  max-width: 16ch;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.05;
  font-weight: 700;
}
.hero-cta {
  display: inline-flex;
  align-items: center;
  margin-top: 18px;
  min-height: 36px;
  padding: 0 16px;
  border-radius: 6px;
  background: #fff;
  color: #012b91;
  font-size: 14px;
  font-weight: 700;
}
.hero-fallback img {
  width: min(280px, 32vw);
  height: auto;
  object-fit: contain;
  background: transparent;
}
.home-shortcuts { position: relative; z-index: 1; margin-top: -36px; }

.benefits {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding: 12px 0 0;
  margin: 0;
}
.benefits li {
  background: #fff;
  border-radius: 6px;
  padding: 16px 16px 14px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12);
}
.benefits strong { display: block; margin-bottom: 4px; font-size: 15px; }
.benefits p { margin: 0; color: #666; font-size: 14px; }
.ventures a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  min-height: 132px;
  color: #333;
  text-align: center;
}
.ventures a:hover { color: #333; }
.ventures img {
  display: block;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: center;
}
.venture-nu { height: 86px; }
.venture-polo { height: 74px; }
.venture-pot { height: 64px; }
.ventures a:hover p { color: var(--blue); }

.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.card {
  background: var(--card);
  border-radius: 6px;
  min-width: 0;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12);
  transition: box-shadow 0.15s ease;
  content-visibility: auto;
  contain-intrinsic-size: auto 340px;
}
.card:hover { box-shadow: 0 6px 16px rgba(0, 0, 0, 0.14); }
.card-link { display: flex; flex-direction: column; height: 100%; color: inherit; }
.card-link:hover { color: inherit; }
.card-shot { position: relative; }
.card-media {
  display: grid;
  aspect-ratio: 1;
  background: #fff;
  overflow: hidden;
  padding: 12px;
}
.card-media img, .product-media img, .line-media img, .thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.card-fallback {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  text-align: center;
  padding: 12px;
  background: #fafafa;
  color: var(--blue);
  font-size: 22px;
  font-weight: 600;
}
.tag {
  position: absolute;
  top: 8px;
  left: 8px;
  background: var(--green);
  color: #fff;
  font-style: normal;
  font-size: 12px;
  font-weight: 700;
  border-radius: 3px;
  padding: 3px 6px;
}
.tag-out { background: #999; }
.off-badge {
  flex: 0 0 auto;
  margin-left: auto;
  display: grid;
  place-items: center;
  min-width: 58px;
  height: 36px;
  padding: 0 6px;
  background: #fdb802;
  color: #012b91;
  font-style: normal;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  white-space: nowrap;
}
.price-deal.is-lg .off-badge { height: 44px; min-width: 72px; font-size: 15px; }
.card-body { padding: 8px 16px 16px; }
.card h3 {
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.25;
  min-height: 2.5em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.price {
  margin: 0;
  color: #333;
  font-size: 24px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.1;
}
.price-lg { font-size: 36px; margin: 2px 0 8px; }
.price-deal { display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; margin: 0; }
.price-main { min-width: 0; }
.price-deal .price { display: block; }
.price-was { display: block; margin: 0 0 2px; color: #8a8f98; font-size: 13px; font-weight: 500; }
.price-was s { color: #8a8f98; }
.por { font-size: 0.62em; font-weight: 600; margin-right: 4px; }
.price-lg .por { font-size: 18px; }
.ship-note { margin: 6px 0 0; color: var(--green); font-size: 14px; font-weight: 600; }

.cats { display: flex; flex-wrap: wrap; gap: 12px; }
.cats a {
  display: flex;
  flex-direction: column;
  gap: 2px;
  background: #fff;
  color: #333;
  border-radius: 6px;
  padding: 14px 16px;
  min-width: 180px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}
.cats a:hover { color: var(--blue); }
.cats strong { font-size: 16px; font-weight: 600; }
.cats span { color: #666; font-size: 13px; }
.cats a.cat-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: 12px;
  align-items: center;
  min-width: 220px;
}
.cat-ico {
  grid-row: 1 / span 2;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: #f3f6fd;
  font-size: 22px;
}
.cat-card strong, .cat-card span { grid-column: 2; }

.footer { background: #012b91; margin-top: 28px; border-top: 3px solid #fdb802; }
.footer-main {
  display: grid;
  grid-template-columns: 180px minmax(0, 1.4fr) minmax(220px, 0.7fr);
  gap: 32px 48px;
  align-items: start;
  padding: 36px 0 28px;
}
.login img {
  width: min(240px, 70vw);
  background: none;
  border-radius: 0;
}
.footer-logo { width: 168px; height: auto; background: none; padding: 0; }
.footer-links { display: flex; justify-content: center; gap: 72px; }
.footer-links a, .footer-group a { display: block; margin: 0; padding: 3px 0; font-size: 14px; color: #fff; line-height: 1.35; }
.footer-title {
  margin: 0 0 10px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.footer-pay .pay-brands + .footer-title { margin-top: 20px; }
.footer .pay-brands { display: flex; flex-wrap: wrap; gap: 6px; }
.safe-seals { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.safe-seals img { height: 42px; width: auto; max-width: 100%; display: block; background: none; }
.footer-group {
  display: flex;
  align-items: center;
  gap: 8px 28px;
  flex-wrap: wrap;
  padding: 14px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}
.footer-group p {
  margin: 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.footer-group nav { display: flex; flex-wrap: wrap; gap: 4px 22px; }
.footer a { color: #fff; }
.footer a:hover { color: #fdb802; }
.footer-base {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  padding: 14px 0 18px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
}
.footer-base a { display: inline; color: rgba(255, 255, 255, 0.75); margin: 0; }
.footer-base a:hover { color: #fdb802; }
.wa-float {
  position: fixed;
  right: 16px;
  bottom: 16px;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  background: #25d366;
  color: #fff;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  z-index: 30;
}
.wa-float svg { width: 28px; height: 28px; }
.wa-float:hover { background: #1ebe5b; color: #fff; }

.tabbar {
  display: none;
}
.order-list { display: flex; flex-direction: column; gap: 10px; margin: 16px 0 24px; }
.order-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 6px 16px;
  align-items: center;
  background: #fff;
  border-radius: 6px;
  padding: 14px 16px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
  color: inherit;
}
.order-row:hover { color: inherit; }
.order-row strong { font-size: 16px; }
.order-row p { margin: 2px 0 0; color: #666; font-size: 13px; }
.order-row em { font-style: normal; font-weight: 700; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--blue);
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
}
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { background: var(--blue-hot); color: #fff; }
.btn-gold { background: var(--yellow); color: #333; }
.btn-gold:hover { background: #ffe600; color: #333; }
.btn-ghost { border: 1px solid var(--blue); color: var(--blue); background: #fff; }
.btn-ghost:hover { background: #e8f1ff; color: var(--blue-hot); }
.btn-danger { border: 1px solid #e23; color: #e23; background: #fff; }
.btn-danger:hover { background: #e23; color: #fff; }
.btn-block { width: 100%; }
.btn-small { min-height: 34px; background: #333; color: #fff; margin-top: 8px; }
.btn-small:hover { background: #111; color: #fff; }
.btn:disabled { opacity: 0.45; cursor: not-allowed; }
.text-btn {
  background: none;
  border: 0;
  padding: 0;
  color: var(--blue);
  cursor: pointer;
  font: inherit;
}

.filters { display: flex; gap: 10px; align-items: end; margin: 8px 0 16px; }
.filters .grow { flex: 1; }
.filters .field:not(.grow) { width: 220px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.chips a {
  background: #fff;
  border: 1px solid #ddd;
  color: #333;
  border-radius: 16px;
  padding: 6px 12px;
  font-size: 14px;
}
.chips a:hover, .chips a[aria-current="page"] { border-color: var(--blue); color: var(--blue); }

.empty {
  background: #fff;
  border-radius: 6px;
  padding: 28px 18px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
}
.product {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 380px);
  gap: 16px;
  align-items: start;
}
.product-side {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}
.product-side > * { width: 100%; }
.product-media, .buy-card, .seller-card, .rating-card, .pay-card {
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12);
}
.buy-card { padding: 20px 24px 28px; }
.seller-card, .rating-card, .pay-card { padding: 16px 20px 18px; }
.seller-card p, .rating-card > p:first-child { margin: 0 0 12px; color: #666; font-size: 14px; }
.seller-card .seller-sales { margin: 12px 0 0; color: #00a650; font-size: 15px; font-weight: 700; }
.rating-score { display: flex; align-items: center; gap: 10px; margin: 0; }
.rating-score strong { font-size: 28px; line-height: 1; }
.rating-empty { margin: 0; color: #666; }
.stars { position: relative; display: inline-block; color: #e2e2e2; font-size: 18px; letter-spacing: 1px; line-height: 1; }
.stars span:last-child { position: absolute; left: 0; top: 0; overflow: hidden; color: #3483fa; white-space: nowrap; width: 0; }
.stars.score-10 span:last-child { width: 20%; }
.stars.score-20 span:last-child { width: 40%; }
.stars.score-30 span:last-child { width: 60%; }
.stars.score-40 span:last-child { width: 80%; }
.stars.score-46 span:last-child { width: 92%; }
.stars.score-48 span:last-child { width: 96%; }
.stars.score-49 span:last-child { width: 98%; }
.stars.score-50 span:last-child { width: 100%; }
.pay-card h2 { margin-bottom: 16px; font-size: 18px; }
.pay-label { margin: 14px 0 8px; color: #666; font-size: 14px; }
.pay-brands { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 28px;
  min-width: 46px;
  padding: 0 8px;
  border: 1px solid #e6e6e6;
  border-radius: 4px;
  background: #fff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.3px;
}
.brand-visa { background: #1a1f71; color: #fff; border-color: #1a1f71; font-style: italic; letter-spacing: 0.5px; }
.brand-elo { background: #000; color: #fff; border-color: #000; font-weight: 700; letter-spacing: -0.4px; }
.brand-elo { position: relative; }
.brand-master { position: relative; width: 46px; padding: 0; }
.brand-master i {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  position: absolute;
  top: 5px;
}
.brand-master i:first-child { left: 8px; background: #eb001b; }
.brand-master i:last-child { left: 20px; background: #f79e1b; mix-blend-mode: multiply; }
.brand-pix { background: #32bcad; color: #fff; border-color: #32bcad; font-weight: 700; letter-spacing: -0.3px; }
.brand-boleto { gap: 2px; width: 54px; padding: 0 6px; }
.brand-boleto i { display: block; width: 2px; height: 16px; background: #333; }
.brand-boleto i:nth-child(3),
.brand-boleto i:nth-child(6) { width: 3px; }
.opinion-list { list-style: none; margin: 0; padding: 0; }
.opinion-list li { padding: 14px 0; border-top: 1px solid #eee; }
.opinion-list li:first-child { border-top: 0; padding-top: 0; }
.opinion-meta { display: flex; align-items: center; gap: 10px; margin: 0 0 6px; color: #666; font-size: 13px; }
.opinion-list p:last-child { margin: 0; line-height: 1.5; }
.seller-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #012b91;
}
.seller-brand img {
  height: 46px;
  width: auto;
  background: #012b91;
  border-radius: 6px;
  padding: 6px 8px;
}
.seller-brand strong { font-size: 16px; font-weight: 700; }
.product-media { display: flex; flex-direction: column; gap: 10px; padding: 16px; }
.gallery-stage {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: #fff;
}
.gallery-stage > img,
.gallery-stage > video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.gallery-stage img { object-fit: contain; }
.gallery-stage video {
  object-fit: contain;
  object-position: center center;
  background: #000;
}
.gallery-thumbs { display: flex; flex-wrap: wrap; gap: 8px; }
.gallery-thumbs button {
  position: relative;
  width: 76px;
  height: 76px;
  padding: 4px;
  border: 2px solid #e5e5e5;
  border-radius: 6px;
  background: #fff;
  cursor: pointer;
  overflow: hidden;
}
.gallery-thumbs button[aria-current="true"] { border-color: var(--blue); }
.gallery-thumbs img,
.gallery-thumbs video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  pointer-events: none;
}
.gallery-thumbs video { background: #000; }
.thumb-play {
  position: absolute;
  inset: 4px;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, 0.28);
  border-radius: 4px;
  pointer-events: none;
}
.thumb-play::before {
  content: "";
  width: 0;
  height: 0;
  margin-left: 3px;
  border-style: solid;
  border-width: 7px 0 7px 12px;
  border-color: transparent transparent transparent #fff;
}
.product-media .card-fallback { font-size: 32px; }
.detail {
  margin-top: 16px;
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12);
  padding: 20px 24px 28px;
}
.prose { white-space: pre-line; color: #333; line-height: 1.55; }
.desc-lead {
  margin: 0;
  padding: 16px 18px;
  background: #f4f7ff;
  border: 1px solid #d9e3f8;
  border-left: 4px solid #012b91;
  border-radius: 8px;
  font-size: 16px;
  line-height: 1.5;
}
.desc-block, .desc-card { margin-top: 16px; }
.desc-block h3, .desc-card h3 { margin: 0 0 10px; font-size: 16px; }
.desc-tiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 10px;
}
.desc-tiles article {
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: 8px;
  padding: 14px;
  font-weight: 600;
  line-height: 1.35;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}
.desc-card {
  border: 1px solid #e6e6e6;
  border-radius: 8px;
  padding: 16px;
  background: #fafafa;
}
.desc-card p { margin: 0 0 8px; line-height: 1.5; }
.desc-card ul { margin: 8px 0 0; padding-left: 18px; }
.desc-card li + li { margin-top: 4px; }
.desc-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 8px 0 0;
}
.desc-specs div {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 10px 12px;
}
.desc-specs dt { margin: 0; color: #666; font-size: 12px; }
.desc-specs dd { margin: 2px 0 0; font-weight: 700; }
.players { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 12px; }
.players video {
  width: min(360px, 100%);
  max-height: 640px;
  background: #000;
  border-radius: 8px;
}
.stock { color: var(--green); font-size: 14px; font-weight: 600; }
.stock.is-out { color: #c00; }
.buy { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 16px 0; }
.buy .qty input, form.qty input, form.qty button {
  width: 40px;
  height: 40px;
  text-align: center;
  background: #fff;
  color: #333;
  border: 1px solid #ddd;
}
form.qty { display: inline-flex; border-radius: 6px; overflow: hidden; }
form.qty button { cursor: pointer; }
form.qty button:hover { background: #f5f5f5; }
.buy .qty input { width: 64px; border-radius: 6px; }

.cart-layout, .checkout, .order-layout { display: grid; grid-template-columns: 1.4fr 0.7fr; gap: 16px; align-items: start; }
.cart-lines, .checkout > div, .order-layout > section {
  background: #fff;
  border-radius: 6px;
  padding: 8px 20px 20px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}
.cart-line {
  display: grid;
  grid-template-columns: 84px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}
.cart-line:first-child { border-top: 0; }
.line-media { width: 84px; height: 84px; background: #fff; display: block; border: 1px solid #eee; border-radius: 4px; overflow: hidden; }
.line-actions { display: flex; gap: 14px; align-items: center; }
.line-total { font-size: 18px; color: #333; margin: 0; font-weight: 600; }
.cart-line h2 { font-size: 16px; font-weight: 500; margin: 0 0 4px; }
.cart-line h2 a { color: #333; }
.cart-line .price { font-size: 16px; }

.summary {
  background: #fff;
  border-radius: 6px;
  padding: 16px 18px 18px;
  position: sticky;
  top: 12px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12);
}
.summary h2 { font-size: 18px; }
.sum-line, .summary dl div, .order-layout dl div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  border-top: 1px solid var(--line);
}
.summary dl, .order-layout dl { margin: 8px 0 14px; }
.summary dt, .order-layout dt { color: #666; }
.summary dd, .order-layout dd { margin: 0; }
.grand dt, .grand dd { color: #333; font-size: 20px; font-weight: 600; }

fieldset { border: 0; margin: 0 0 18px; padding: 0; }
legend { font-size: 18px; font-weight: 600; margin-bottom: 10px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-grid .full, .field.full { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field span {
  font-size: 13px;
  color: #666;
}
input[type="text"], input[type="email"], input[type="password"], input[type="search"], input[type="number"], input:not([type]), textarea, select {
  width: 100%;
  background: #fff;
  color: #333;
  border: 1px solid #d5d5d5;
  border-radius: 6px;
  padding: 10px 12px;
  min-height: 42px;
}
textarea { min-height: 110px; resize: vertical; }
input::placeholder, textarea::placeholder { color: #999; }
input:focus, textarea:focus, select:focus { border-color: var(--blue); outline: 2px solid rgba(52, 131, 250, 0.25); }
input.invalid, textarea.invalid { border-color: #e23; }
.field small { color: #c00; }
.field small.hint { color: var(--muted); }
input[type="checkbox"], input[type="radio"] { accent-color: var(--blue); width: 18px; height: 18px; }
.ship {
  display: flex;
  gap: 12px;
  align-items: center;
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 12px;
  margin-bottom: 8px;
  cursor: pointer;
  background: #fff;
}
.ship:has(input:checked) { border-color: var(--blue); background: #f5f9ff; }
.ship span { display: grid; }
.ship strong { font-weight: 600; }
.ship em { font-style: normal; color: #333; }
.ship small, .ship s { color: #888; }
.checkline { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.checkline label { display: flex; gap: 8px; align-items: center; }
.hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
.stack { display: flex; flex-direction: column; gap: 14px; max-width: 880px; }
.contact-links { display: flex; flex-wrap: wrap; gap: 14px; }

.steps { display: flex; gap: 8px; list-style: none; padding: 0; margin: 8px 0 22px; }
.steps li {
  flex: 1;
  border-top: 3px solid #ddd;
  padding-top: 8px;
  color: #888;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.01em;
}
.steps li.is-on { border-color: #012b91; color: #012b91; }
.order-page, .account-page { max-width: 1080px; }
.order-head { margin-bottom: 8px; }
.order-head h1 { margin-bottom: 6px; }
.order-card {
  background: #fff;
  border: 1px solid rgba(1, 43, 145, 0.08);
  border-radius: 16px;
  padding: 22px;
  box-shadow: 0 10px 28px rgba(15, 35, 80, 0.05);
}
.order-card h2 { margin: 0 0 14px; font-size: 18px; }
.order-card h2 + h2, .detail-list + h2 { margin-top: 22px; }
.pix-panel { display: grid; justify-items: center; text-align: center; margin: 4px 0 16px; }
.pix-panel img { width: 220px; height: auto; background: #fff; border: 1px solid #eee; border-radius: 12px; padding: 10px; }
.pix-panel p { margin: 12px 0 0; color: #6d7890; font-size: 13px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }
.pix-panel strong { margin-top: 2px; font-size: 32px; letter-spacing: -0.03em; color: #1a1a1a; }
.order-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.order-items { list-style: none; margin: 0 0 8px; padding: 0; }
.order-items li, .detail-list div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: start;
  padding: 10px 0;
  border-top: 1px solid #eee;
}
.order-items li span { line-height: 1.35; }
.detail-list { margin: 0; }
.detail-list div { grid-template-columns: 108px minmax(0, 1fr); }
.detail-list dt { margin: 0; color: #6d7890; font-size: 13px; font-weight: 700; }
.detail-list dd { margin: 0; line-height: 1.4; }
.detail-list .is-total dt, .detail-list .is-total dd { font-size: 18px; font-weight: 700; color: #1a1a1a; }
.track-line { margin: 12px 0 0; }
.account-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(240px, 0.7fr); gap: 16px; align-items: start; }
.account-login { max-width: 440px; }
.account-pop {
  width: min(420px, calc(100vw - 32px));
  border: 0;
  border-radius: 16px;
  padding: 22px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
}
.account-pop::backdrop { background: rgba(1, 20, 70, 0.55); }
.account-pop h2 { margin: 0 0 8px; }
.account-pop p { margin: 0 0 14px; color: #333; }
.account-pop form + form { margin-top: 8px; text-align: center; }
.account-page .section-head { align-items: center; }
.receipt {
  background: #fff;
  border: 3px solid #fdb802;
  border-radius: 18px;
  padding: 22px;
}
.receipt-top { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(240px, 0.8fr); gap: 16px; align-items: center; }
.receipt-ok { display: flex; gap: 14px; align-items: flex-start; }
.receipt-check {
  width: 54px;
  height: 54px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #16a34a;
  color: #fff;
  font-size: 28px;
  font-weight: 700;
}
.receipt-ok h1 { margin: 0 0 4px; font-size: 28px; letter-spacing: -0.03em; }
.receipt-ok p { margin: 0; color: #444; }
.receipt-number { display: flex; align-items: center; gap: 8px; margin-top: 6px; }
.receipt-number strong {
  background: #fff3bf;
  color: #7a5b00;
  border-radius: 6px;
  padding: 2px 8px;
  white-space: nowrap;
}
.copy-mini {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 0;
  background: transparent;
  color: #667085;
  cursor: pointer;
  padding: 0;
}
.copy-mini svg { width: 16px; height: 16px; }
.receipt-banner {
  display: flex;
  gap: 12px;
  align-items: center;
  background: #e8f8ee;
  border: 1px solid #b7ebc9;
  border-radius: 14px;
  padding: 14px 16px;
}
.receipt-banner svg { width: 28px; height: 28px; color: #067036; flex: 0 0 auto; }
.receipt svg { max-width: 32px; max-height: 32px; }
.receipt-banner strong { display: block; color: #067036; font-size: 18px; }
.receipt-banner p { margin: 2px 0 0; color: #3d6b4f; font-size: 14px; }
.receipt-steps {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  list-style: none;
  margin: 22px 0;
  padding: 0 8px;
  position: relative;
}
.receipt-steps::before {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  top: 16px;
  height: 2px;
  background: #e4e7ee;
}
.receipt-steps li {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 6px;
  min-width: 0;
  color: #98a2b3;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
}
.receipt-steps li > span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  border: 1px solid #e4e7ee;
  color: #98a2b3;
}
.receipt-steps li > span svg { width: 16px; height: 16px; }
.receipt-steps li.is-current > span, .receipt-steps li.is-done > span { color: #16a34a; border-color: #b7ebc9; }
.receipt-steps li.is-done { color: #067036; }
.receipt-steps li.is-current { color: #067036; }
.receipt-steps li.is-current em {
  font-style: normal;
  background: #16a34a;
  color: #fff;
  border-radius: 999px;
  padding: 3px 10px;
}
.receipt-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.8fr); gap: 16px; align-items: start; }
.pix-card {
  background: #012b91;
  color: #fff;
  border-radius: 16px;
  padding: 18px;
}
.pix-card header { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.pix-card h2 { margin: 0; display: flex; align-items: center; gap: 8px; font-size: 22px; }
.pix-card header p { margin: 4px 0 0; color: rgba(255, 255, 255, 0.75); font-size: 14px; }
.pix-card header em {
  font-style: normal;
  background: #fdb802;
  color: #1a1a1a;
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}
.pix-body { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 16px; align-items: center; margin: 16px 0; }
.pix-body img { width: 180px; height: auto; background: #fff; border-radius: 12px; padding: 8px; }
.pix-body p { margin: 0; color: rgba(255, 255, 255, 0.72); font-size: 13px; }
.pix-body strong { display: block; margin: 2px 0 10px; font-size: 34px; letter-spacing: -0.03em; }
.pix-label { margin-top: 8px; }
.pix-card textarea {
  width: 100%;
  margin-top: 6px;
  border: 0;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  padding: 8px;
  resize: vertical;
}
.pix-note {
  margin: 14px 0 0;
  background: #e8f3ff;
  color: #1a3f73;
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 14px;
}
.pix-note a { color: #012b91; font-weight: 700; }
.btn-wa { background: #fff; color: #128c7e; border: 2px solid #25d366; }
.btn-wa:hover { background: #e9f9ef; color: #0d6b4c; }
.receipt-side { display: flex; flex-direction: column; gap: 12px; }
.sheet { border: 1px solid #e6ebf2; border-radius: 14px; padding: 14px 14px 6px; }
.sheet h2 { margin: 0 0 8px; font-size: 16px; }
.sheet-lines { list-style: none; margin: 0; padding: 0; }
.sheet-lines li, .sheet dl div {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  padding: 8px 0;
  border-top: 1px solid #f0f2f6;
}
.sheet dl { margin: 0; }
.sheet dl div { grid-template-columns: 118px minmax(0, 1fr); }
.sheet dt { white-space: nowrap; }
.sheet dt { color: #667085; font-size: 13px; font-weight: 700; }
.sheet dd { margin: 0; }
.sheet-lines img, .sheet-fallback {
  width: 36px;
  height: 36px;
  object-fit: contain;
  border-radius: 8px;
  background: #f6f8fb;
}
.sheet-fallback, .sheet-ico { display: grid; place-items: center; }
.sheet-lines small { display: block; color: #667085; font-size: 12px; }
.sheet-lines .is-total {
  background: #e8f8ee;
  border: 0;
  border-radius: 10px;
  margin: 6px 0 8px;
  padding: 10px 8px;
}
.sheet-lines .is-total strong { color: #067036; }

.login {
  min-height: 100vh;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 8px;
  padding: 28px 16px 48px;
  background:
    radial-gradient(circle at 80% 0%, rgba(253, 184, 2, 0.28), transparent 32%),
    #012b91;
}
.login form, .login .flash { width: min(360px, 92vw); }
.login form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 10px;
  background: none;
  padding: 0;
  box-shadow: none;
}
.login .field span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.login input {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 12px;
  color: #fff;
  min-height: 48px;
}
.login input:focus {
  border-color: #fdb802;
  outline: 2px solid rgba(253, 184, 2, 0.35);
}
.login .btn-blue {
  min-height: 48px;
  border-radius: 12px;
  background: #fdb802;
  color: #1a1a1a;
}
.login .btn-blue:hover { background: #ffc72c; color: #1a1a1a; }
.login h1 {
  margin: 0;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.03em;
  text-align: center;
  color: #fff;
}
.login .text-btn { color: rgba(255, 255, 255, 0.75); font-size: 14px; }
.login .text-btn:hover { color: #fdb802; }
.login .flash { border-radius: 12px; text-align: center; }

body.is-admin { background: #eef1f6; font-family: "Outfit", "DM Sans", "Segoe UI", sans-serif; }
.admin-shell { display: grid; grid-template-columns: 252px 1fr; min-height: 100vh; }
.admin-side {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 20px 14px 16px;
  background: #012b91;
  color: #fff;
}
.admin-brand img { width: 100%; height: auto; border-radius: 0; background: none; display: block; }
.admin-side nav { display: flex; flex-direction: column; gap: 4px; }
.admin-side a {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.9);
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 14.5px;
  font-weight: 600;
}
.admin-side a span { width: 1.3em; text-align: center; font-size: 16px; }
.admin-side a[aria-current="page"] { background: #fdb802; color: #1a1a1a; }
.admin-side a:hover { background: rgba(255, 255, 255, 0.12); color: #fff; }
.admin-side a[aria-current="page"]:hover { background: #ffc72c; color: #1a1a1a; }
.admin-side em { background: #fff; color: #012b91; font-style: normal; margin-left: auto; padding: 0 6px; border-radius: 8px; font-size: 12px; }
.admin-side a[aria-current="page"] em { background: #012b91; color: #fff; }
.admin-side form { margin-top: auto; }
.admin-side button {
  width: 100%;
  min-height: 40px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 10px;
  color: #fff;
  cursor: pointer;
  font-weight: 600;
}
.admin-side button:hover { background: rgba(255, 255, 255, 0.12); }
.admin-main { min-width: 0; padding: 32px 32px 80px; }
.admin-main .stack { width: 100%; max-width: 880px; min-width: 0; }
.admin-main fieldset {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
  min-width: 0;
  margin: 0 0 16px;
  padding: 20px;
}
.admin-main legend {
  float: left;
  width: 100%;
  margin: 0;
  padding: 0;
}
.admin-main .form-grid,
.admin-main .ship-edit,
.admin-main .field,
.admin-main .admin-card,
.admin-main .table-wrap { min-width: 0; max-width: 100%; }
.admin-main input,
.admin-main textarea,
.admin-main select { width: 100%; max-width: 100%; min-width: 0; }
.admin-main textarea { overflow-wrap: break-word; }
.admin-main .table td, .admin-main .table th { overflow-wrap: anywhere; }
.admin-main .ship-edit { grid-template-columns: minmax(0, 1.4fr) minmax(110px, 0.7fr) minmax(0, 1fr) auto; }
.admin-kicker {
  margin: 0 0 4px;
  color: #6d7890;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.admin-main h1 { font-size: 32px; font-weight: 700; letter-spacing: -0.03em; margin-bottom: 18px; }
.admin-main h2 { display: flex; align-items: center; gap: 8px; font-size: 18px; font-weight: 700; letter-spacing: -0.02em; }
.warn { background: #fff7d6; color: #333; padding: 14px 16px; margin-bottom: 12px; border-radius: 14px; border: 1px solid #f3e2a2; }
.warn a { color: #333; text-decoration: underline; }
.admin-card, .admin-main .table-wrap, .admin-main fieldset, .admin-main .message {
  background: #fff;
  border: 1px solid rgba(1, 43, 145, 0.08);
  border-radius: 16px;
  box-shadow: 0 10px 28px rgba(15, 35, 80, 0.05);
}
.admin-card, .admin-main fieldset { overflow: clip; }
.admin-card { padding: 18px 18px 16px; margin-top: 8px; }
.admin-card .table-wrap { background: transparent; border: 0; box-shadow: none; border-radius: 0; }
.admin-main fieldset { margin: 0 0 16px; padding: 18px 18px 8px; }
.admin-main legend { display: flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 700; }
.admin-main .table-wrap { overflow: auto; }
.admin-main .table th {
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #7a8499;
  padding: 12px;
}
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 8px 0 18px; }
.stat {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  column-gap: 12px;
  align-items: center;
  background: #fff;
  border: 1px solid rgba(1, 43, 145, 0.08);
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 10px 28px rgba(15, 35, 80, 0.05);
}
.stat-ico {
  grid-row: 1 / span 2;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: #f3f6fd;
  font-size: 22px;
}
.stat span { color: #667085; font-size: 13px; font-weight: 600; }
.stat strong { margin-top: 2px; font-size: 26px; font-weight: 700; letter-spacing: -0.03em; color: #1a1a1a; line-height: 1; }
.slide-panel { margin-bottom: 16px; }
.slide-panel > h2 { margin-bottom: 8px; }
.slide-list { display: flex; flex-direction: column; gap: 12px; margin: 14px 0; }
.slide-card {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 12px;
  border: 1px solid #e6ebf5;
  border-radius: 14px;
  background: #f7f9fd;
}
.slide-card img { width: 180px; height: 68px; object-fit: cover; border-radius: 8px; background: #012b91; }
.slide-name { margin: 0 0 10px; font-size: 13px; font-weight: 700; color: #344054; }
.slide-state { display: inline-block; margin-left: 6px; padding: 2px 8px; border-radius: 999px; font-size: 11px; font-weight: 700; vertical-align: 1px; }
.slide-state.is-on { background: #e5f8ee; color: #067036; }
.slide-state.is-wait { background: #fff3bf; color: #7a5b00; }
.slide-state.is-off { background: #eee; color: #667085; }
.slide-card form { display: flex; gap: 8px; align-items: end; }
.slide-card form.slide-edit {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 12px;
  align-items: end;
}
.slide-card form.slide-edit .span-2 { grid-column: 1 / -1; }
.slide-card form.slide-edit .field { min-width: 0; }
.slide-card .field { flex: 1; min-width: 0; }
.slide-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.table-wrap { overflow-x: auto; background: #fff; border-radius: 6px; }
.table { width: 100%; border-collapse: collapse; }
.table th { text-align: left; font-size: 12px; color: #666; padding: 10px; }
.table td { border-top: 1px solid var(--line); padding: 10px 8px; vertical-align: middle; }
.table a { font-weight: 600; }
.row-actions { display: flex; gap: 8px; justify-content: flex-end; align-items: center; white-space: nowrap; }
.row-actions.is-start { justify-content: flex-start; }
a.icon-btn { text-decoration: none; }
.row-actions form { margin: 0; }
.icon-btn {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(1, 43, 145, 0.14);
  border-radius: 10px;
  background: #fff;
  color: #012b91;
  cursor: pointer;
}
.icon-btn svg { width: 18px; height: 18px; }
.icon-btn:hover { background: #f3f6fd; }
.icon-btn.is-danger { color: #c4322b; border-color: rgba(196, 50, 43, 0.22); }
.icon-btn.is-danger:hover { background: #fff1f0; }
.thumb { width: 72px; }
.thumb img { width: 64px; height: 64px; object-fit: contain; background: #fff; border: 1px solid #eee; border-radius: 4px; }
.badge { display: inline-block; padding: 4px 8px; border-radius: 4px; font-size: 11px; font-weight: 700; }
.status-aguardando_pagamento { background: #fff3bf; color: #7a5b00; }
.status-pago { background: #e7f0ff; color: #1f5fbf; }
.status-enviado { background: #eee; color: #333; }
.status-entregue { background: #e5f8ee; color: #067036; }
.status-cancelado { background: #ffe8e8; color: #a40018; }
.preview { width: min(220px, 100%); margin: 8px 0; background: #fff; border: 1px solid #eee; border-radius: 6px; }
.preview[hidden] { display: none; }
.ship-edit { display: grid; grid-template-columns: 1.3fr 0.6fr 1fr auto; gap: 10px; align-items: end; margin-bottom: 12px; }
.status-actions { display: flex; flex-direction: column; gap: 8px; }
.message { background: #fff; border-radius: 6px; padding: 14px 16px; margin-bottom: 10px; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06); }
.message header { display: flex; justify-content: space-between; gap: 12px; }

@media (max-width: 1100px) {
  .grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 980px) {
  .grid { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .product, .cart-layout, .checkout, .order-layout, .account-grid, .receipt-top, .receipt-grid, .pix-body, .inst { grid-template-columns: 1fr; }
  .pix-card header { flex-direction: column; }
  .receipt-steps { overflow: auto; }
  .footer-main { grid-template-columns: 160px minmax(0, 1fr); gap: 28px 32px; }
  .footer-pay { grid-column: 1 / -1; }
  .inst-nav { position: static; flex-direction: row; overflow: auto; scrollbar-width: none; }
  .inst-nav::-webkit-scrollbar { display: none; }
  .inst-nav a { white-space: nowrap; }
  .summary { position: static; }
  .checkout .summary { order: -1; }
  .benefits {
    grid-auto-flow: column;
    grid-auto-columns: minmax(220px, 78%);
    grid-template-columns: none;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    padding-bottom: 2px;
  }
  .benefits::-webkit-scrollbar { display: none; }
  .benefits li { scroll-snap-align: start; }
}
@media (max-width: 860px) {
  .admin-shell { grid-template-columns: 1fr; }
  .admin-side {
    position: sticky;
    top: 0;
    z-index: 20;
    height: auto;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    overflow: auto;
    border-bottom: 0;
    scrollbar-width: none;
  }
  .admin-side::-webkit-scrollbar { display: none; }
  .admin-brand { flex: 0 0 auto; }
  .admin-brand img { width: 86px; }
  .admin-side nav { flex-direction: row; }
  .admin-side a { white-space: nowrap; }
  .admin-side form { margin-top: 0; }
  .admin-side button { width: auto; padding: 0 12px; }
  .admin-main { padding: 18px 14px 56px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .slide-card { grid-template-columns: 1fr; }
  .slide-card img { width: 100%; height: 96px; }
  .slide-card form { flex-wrap: wrap; }
  .slide-card form.slide-edit { grid-template-columns: 1fr; }
  .slide-card form.slide-edit .span-2 { grid-column: auto; }
  .ship-edit { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  body:not(.is-admin) { padding-bottom: calc(62px + env(safe-area-inset-bottom)); }
  .cart-link, .subnav-account { display: none; }
  .tabbar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 40;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: #fff;
    border-top: 1px solid #e6e6e6;
    box-shadow: 0 -1px 0 rgba(0, 0, 0, 0.04);
    padding: 6px 4px calc(6px + env(safe-area-inset-bottom));
  }
  .tabbar a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    min-height: 48px;
    color: #666;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.15;
    text-align: center;
    position: relative;
    -webkit-tap-highlight-color: transparent;
  }
  .tabbar a svg { width: 22px; height: 22px; }
  .tabbar a.is-on, .tabbar a[aria-current="page"] { color: var(--blue); }
  .tabbar em {
    position: absolute;
    top: 2px;
    margin-left: 16px;
    background: var(--blue);
    color: #fff;
    font-style: normal;
    font-size: 10px;
    font-weight: 700;
    min-width: 16px;
    height: 16px;
    border-radius: 8px;
    display: grid;
    place-items: center;
    padding: 0 4px;
  }
  .wa-float { bottom: calc(74px + env(safe-area-inset-bottom)); }
}
@media (max-width: 720px) {
  .wrap { width: min(1200px, calc(100% - 20px)); }
  .header-bar { display: grid; grid-template-columns: auto 1fr auto; min-height: 0; padding: 8px 0 10px; gap: 10px; }
  .logo img { height: 40px; }
  .search-box { width: auto; flex: none; grid-column: 1 / -1; grid-row: 2; }
  .header-tools { margin-left: 0; grid-column: 3; grid-row: 1; }
  .search { height: 36px; }
  .header .search input, .search button { height: 36px; min-height: 36px; }
  .subnav-bar { min-height: 36px; padding: 0; }
  .subnav p { display: none; }
  .nav { overflow: auto; gap: 16px; scrollbar-width: none; }
  .nav::-webkit-scrollbar { display: none; }
  .nav a { white-space: nowrap; padding: 8px 0; font-size: 13px; }
  .grid { gap: 10px; }
  .card-media { padding: 8px; }
  .footer-main { grid-template-columns: 1fr; gap: 26px; padding: 28px 0 22px; }
  .footer-logo { width: 140px; }
  .footer-links { display: grid; grid-template-columns: 1fr 1fr; justify-content: stretch; gap: 16px 20px; }
  .footer-group { align-items: flex-start; flex-direction: column; gap: 6px; }
  .footer-base { flex-direction: column; align-items: flex-start; }
  .hero-track, .hero-frame { height: 180px; }
  .hero-nav { top: 36%; }
  .hero-fallback {
    background: linear-gradient(160deg, #012b91 0%, #0236b5 72%, #fdb802 140%);
    align-items: flex-end;
    padding: 20px 16px 34px;
  }
  .hero-fallback img { display: none; }
  .hero-fallback strong { max-width: 14ch; font-size: 26px; }
  .home-shortcuts { margin-top: -20px; }
  .form-grid { grid-template-columns: 1fr; }
  .cart-line { grid-template-columns: 72px 1fr; }
  .line-total { grid-column: 2; }
  .desc-specs { grid-template-columns: 1fr; }
  .filters { flex-direction: column; align-items: stretch; }
  .filters .field:not(.grow) { width: 100%; }
  .order-row { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .card { transition: none; }
}
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: #f3f3f3; }
::-webkit-scrollbar-thumb { background: #ccc; border-radius: 8px; }
::-webkit-scrollbar-thumb:hover { background: #aaa; }
