:root {
  --primary: hsl(224, 100%, 50%);
  --primary-soft: hsl(0, 100%, 37% / 0.2);
  --secondary: #ffffff;
  --background: rgb(9 9 11);
  --foreground: rgb(250 250 250);
  --border: rgb(255 255 255 / 0.08);
  --muted: rgb(255 255 255 / 0.04);
  --muted-foreground: rgb(171 171 171);
  --muted-solid: rgb(16 16 18);
  --card: var(--background);

  --radius: 0.6rem;
  --font: "Geist", system-ui, sans-serif;
  --shadow: 0 18px 50px rgba(0, 38, 255, 0.5);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--background);
  color: var(--foreground);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
button { font-family: var(--font); cursor: pointer; }

.container { width: min(1400px, 100% - 2rem); margin-inline: auto; }

.hidden { display: none !important; }

/* ---------- Barra de cupom ---------- */
.top-announce {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
  background: var(--primary);
  color: hsl(0, 0%, 12%);
  padding: 8px;
  font-size: 0.95rem;
  font-weight: 500;
  position: relative;
  z-index: 10;
}

.top-announce span {
  font-weight: 700;
  background: rgba(5, 1, 250, 0.25);
  color: #fff;
  padding: 2px 8px;
  border-radius: 6px;
  margin-inline: 4px;
}

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(10px);
  background: rgba(9, 9, 11, 0.82);
  border-bottom: 1px solid var(--border);
  padding-block: 16px;
}

.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; }

.nav__left { display: flex; align-items: center; gap: 22px; flex: 1; min-width: 0; }

.brand { display: flex; align-items: center; gap: 10px; }

.brand__logo {
  width: 46px;
  height: 46px;
  border-radius: 8px;
  background: var(--muted);
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  font-size: 1.3rem;
  object-fit: contain;
}

.brand__info { display: flex; align-items: center; gap: 6px; position: relative; }

.brand h1 { font-size: 1.15rem; font-weight: 600; letter-spacing: -0.02em; }

/* Selo verificado */
.verified {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #3b82f6;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-left: 2px;
}

.verified.hidden { display: none; }

.brand--footer .brand__logo { width: 50px; height: 50px; font-size: 1.4rem; }
.brand--footer h1 { font-size: 1.2rem; font-weight: 700; }

.search { position: relative; flex: 1; max-width: 440px; }

.search input {
  width: 100%;
  height: 40px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.05);
  color: var(--foreground);
  padding: 0 18px;
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s;
}

.search input:focus { border-color: var(--primary); }
.search input::placeholder { color: var(--muted-foreground); }

.search__result {
  position: absolute;
  top: 48px;
  left: 0;
  width: 100%;
  max-height: 380px;
  overflow-y: auto;
  background: var(--muted-solid);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow);
  z-index: 50;
  padding: 6px;
}

.search__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 8px;
  cursor: pointer;
}

.search__item:hover { background: var(--muted); }

.search__item img { width: 40px; height: 40px; border-radius: 6px; object-fit: cover; background: var(--muted); }

.search__item-name { font-weight: 600; font-size: 0.92rem; }
.search__item-price { color: var(--muted-foreground); font-size: 0.88rem; }

.search__empty { padding: 18px; color: var(--muted-foreground); font-size: 0.9rem; text-align: center; }

.nav__actions { list-style: none; display: flex; align-items: center; gap: 10px; }

.icon-btn {
  width: 38px;
  height: 38px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: transparent;
  color: var(--foreground);
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.icon-btn:hover { background: rgba(255, 255, 255, 0.08); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 16px;
  height: 38px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.9rem;
  border: 1px solid transparent;
  transition: filter 0.2s, background 0.2s, border-color 0.2s;
  white-space: nowrap;
}

.btn--lg { height: 44px; padding: 0 22px; font-size: 0.95rem; }

.btn--primary { background: var(--primary); color: hsl(0, 0%, 12%); }

.btn--primary:hover { filter: brightness(1.15); }

.btn--ghost { background: transparent; border-color: var(--border); color: var(--foreground); }

.btn--ghost:hover { background: rgba(255, 255, 255, 0.05); }

.btn--success { background: #22c55e; color: #052012; }

.btn--block { width: 100%; }

.btn--cart b {
  background: rgba(0, 0, 0, 0.25);
  border-radius: 999px;
  padding: 1px 8px;
  font-size: 0.78rem;
  min-width: 22px;
  text-align: center;
}

/* ---------- Fundo e glow ---------- */
.bg-glow { position: fixed; inset: 0; z-index: -10; overflow: hidden; pointer-events: none; }

.glow { position: absolute; border-radius: 50%; filter: blur(90px); }

.glow--1 {
  width: 30rem; height: 30rem;
  background: radial-gradient(circle, hsl(0 100% 37% / 0.18), transparent 70%);
  top: -12rem; left: -6rem;
}

.glow--2 {
  width: 45rem; height: 45rem;
  background: radial-gradient(circle, hsl(0 100% 37% / 0.25), transparent 70%);
  top: -12rem; right: -18rem;
}

/* ---------- Hero ---------- */
.hero { padding: 40px 0 12px; }

.hero__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero__title {
  font-size: clamp(2rem, 5.5vw, 3.4rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
  max-width: 700px;
  line-height: 1.1;
}

.hero__desc {
  max-width: 600px;
  color: var(--muted-foreground);
  margin-bottom: 28px;
}

.hero__actions { display: flex; gap: 10px; }

/* ---------- Store / Categorias ---------- */
.store { padding-bottom: 48px; }

.store__layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 30px;
  align-items: start;
}

/* Sidebar de categorias (canto) */
.sidebar {
  position: sticky;
  top: 90px;
  background: var(--muted-solid);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px;
  box-shadow: var(--shadow);
}

.sidebar__title {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted-foreground);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}

.sidebar__nav { display: flex; flex-direction: column; gap: 4px; }

.sidebar__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 9px 12px;
  border-radius: 10px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--muted-foreground);
  border: 1px solid transparent;
  cursor: pointer;
  text-align: left;
  background: none;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.sidebar__link:hover { background: var(--muted); color: var(--foreground); }

.sidebar__link.active {
  background: var(--primary-soft);
  color: var(--foreground);
  border-color: var(--primary);
}

.sidebar__link .aria-label { font-size: 0.8rem; font-weight: 400; }

.cat { margin-bottom: 48px; scroll-margin-top: 100px; }

.cat__head {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--primary-soft, rgba(255, 0, 0, 0.15));
  border: 1px solid var(--primary);
  padding: 10px 18px;
  border-radius: var(--radius);
  width: fit-content;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.cat__head::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--primary); }

.cat__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 14px;
}

.cat__vazio {
  padding: 26px 0;
  text-align: center;
  color: var(--muted-foreground);
  font-size: 14px;
}

@media (min-width: 1200px) { .cat__grid { grid-template-columns: repeat(5, 1fr); } }

.cat__sub {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 26px 0 14px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--muted-foreground);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.cat__sub::after { content: ""; flex: 1; height: 1px; background: var(--border); }

.cat__sub-empty { color: var(--muted-foreground); font-size: 0.85rem; opacity: 0.7; margin: 2px 0 10px; }

/* ---------- Produto ---------- */
.product {
  position: relative;
  background: var(--muted-solid);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  cursor: pointer;
  transition: transform 0.18s, border-color 0.2s, box-shadow 0.2s;
}

.product:hover { transform: translateY(-4px); border-color: var(--primary); box-shadow: var(--shadow); }

.product__image {
  width: 100%;
  aspect-ratio: 1;
  border-radius: var(--radius);
  background: var(--muted);
  display: grid;
  place-items: center;
  font-size: 2.6rem;
  overflow: hidden;
}

.product__image img { width: 100%; height: 100%; object-fit: contain; }

.product__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--primary);
  color: hsl(0, 0%, 12%);
  font-size: 0.68rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 999px;
}

.product__name { font-size: 0.95rem; font-weight: 600; line-height: 1.3; min-height: 2.4em; }

.product__tag {
  display: inline-block;
  vertical-align: middle;
  margin-left: 5px;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #fff;
  background: var(--primary);
  border-radius: 999px;
  padding: 2px 7px;
}

.product__desc { font-size: 0.78rem; color: var(--muted-foreground); min-height: 2.4em; }

.product__price { font-size: 1.2rem; font-weight: 700; letter-spacing: -0.02em; }

.product .btn { width: 100%; height: 36px; font-size: 0.85rem; }

/* ---------- Footer ---------- */
.footer { margin-top: auto; position: relative; }

.footer__top { border-top: 1px solid var(--border); }

.footer__top-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 24px;
  padding-block: 28px;
}

.footer__desc { color: var(--muted-foreground); font-size: 0.9rem; max-width: 420px; margin-top: 6px; }

.footer__contact { color: var(--muted-foreground); font-size: 0.9rem; margin-top: 8px; }
.footer__contact a { color: var(--foreground); font-weight: 600; }

.footer__social { display: flex; gap: 10px; }

.social-btn {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--foreground);
  transition: background 0.2s;
}

.social-btn:hover { background: rgba(255, 255, 255, 0.12); }

.footer__bottom { border-top: 1px solid var(--border); padding-block: 22px; }

.footer__bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  color: var(--muted-foreground);
  font-size: 0.9rem;
}

.footer__terms { color: var(--muted-foreground); }
.footer__terms:hover { text-decoration: underline; }

/* ---------- Suporte dropdown ---------- */
.support { position: relative; }

.support__menu {
  position: absolute;
  top: 46px;
  right: 0;
  z-index: 60;
  width: 260px;
  background: var(--muted-solid);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px) scale(0.97);
  transition: all 0.2s;
  transform-origin: top right;
}

.support__menu.open { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }

.support__menu-head { display: flex; align-items: center; gap: 8px; font-size: 1rem; margin-bottom: 12px; }

.support__menu-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 11px 12px;
  border-radius: 10px;
  font-size: 0.92rem;
  font-weight: 600;
  transition: background 0.15s;
}

.support__menu-links a:hover { background: var(--muted); }
.support__menu-links a small { color: var(--muted-foreground); font-weight: 400; font-size: 0.75rem; }

/* ---------- Drawer carrinho ---------- */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  justify-content: flex-end;
}

.drawer[data-state="open"] { display: flex; }

.drawer__panel {
  width: 100%;
  max-width: 450px;
  height: 100dvh;
  background: var(--background);
  border-left: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  padding: 20px;
  animation: slideIn 0.25s ease;
}

@keyframes slideIn {
  from { transform: translateX(100%); }
  to { transform: translateX(0); }
}

.drawer__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }

.drawer__head h4 { font-size: 1.1rem; }

.drawer__body {
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.drawer__empty { margin: auto; text-align: center; color: var(--muted-foreground); }

.drawer__empty .empty-icon { font-size: 2.4rem; color: var(--primary); margin-bottom: 8px; }

.drawer__empty p:first-of-type { color: var(--foreground); font-weight: 600; font-size: 1rem; }
.drawer__empty p:last-of-type { font-size: 0.85rem; margin-top: 4px; }

/* Item do carrinho */
.cart-item {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px;
  background: var(--muted);
}

.cart-item__img {
  width: 58px; height: 58px;
  border-radius: 8px;
  background: var(--muted-solid);
  display: grid;
  place-items: center;
  font-size: 1.6rem;
  flex-shrink: 0;
  overflow: hidden;
}

.cart-item__img img { width: 100%; height: 100%; object-fit: cover; }

.cart-item__info { flex: 1; min-width: 0; }

.cart-item__name { font-size: 0.9rem; font-weight: 600; line-height: 1.25; }

.cart-item__price { font-size: 0.85rem; color: var(--muted-foreground); margin-top: 2px; }

.cart-item__controls { display: flex; align-items: center; gap: 6px; }

.qty-btn {
  width: 30px; height: 30px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--foreground);
  font-size: 1rem;
  display: grid;
  place-items: center;
}

.qty-btn:hover { background: rgba(255, 255, 255, 0.08); }

.qty-btn--remove { background: var(--primary); border: none; color: #fff; }

.cart-item__qty {
  width: 38px;
  text-align: center;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 8px;
  height: 30px;
  color: var(--foreground);
  font-size: 0.9rem;
}

.drawer__foot { margin-top: 16px; }

/* Cupom de desconto */
.coupon { display: flex; gap: 8px; margin-bottom: 12px; }

.coupon__input {
  flex: 1;
  height: 38px;
  background: var(--muted);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0 14px;
  color: var(--foreground);
  font-size: 0.9rem;
  outline: none;
  min-width: 0;
}

.coupon__input:focus { border-color: var(--primary); }
.coupon__input.erro { border-color: var(--primary); }

.coupon--applied .coupon__input {
  border-color: #22c55e;
  color: #22c55e;
  font-weight: 600;
}

.coupon--applied .coupon__msg { color: #22c55e; }

.coupon__msg { font-size: 0.8rem; margin-top: 6px; }

.coupon__msg.erro { color: var(--primary); }

.drawer__total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--muted);
  border-radius: var(--radius);
  padding: 0 14px;
  height: 48px;
  margin-bottom: 12px;
}

.drawer__total .row { display: flex; flex-direction: column; gap: 2px; padding: 8px 0; }
.drawer__total .row span { text-align: right; }
.drawer__total .linha-desconto { color: #22c55e; font-weight: 600; font-size: 0.88rem; }
.drawer__total .linha-orig { color: var(--muted-foreground); font-size: 0.8rem; text-decoration: line-through; }

/* ---------- Modal ---------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal.open { display: flex; }

.modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(4px);
}

.modal__content {
  position: relative;
  z-index: 1;
  width: min(520px, 100%);
  background: var(--muted-solid);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 30px;
  box-shadow: var(--shadow);
  max-height: 90vh;
  overflow-y: auto;
  animation: slideIn 0.22s ease;
}

.modal__close {
  position: absolute;
  top: 14px;
  right: 16px;
  background: none;
  border: none;
  color: var(--muted-foreground);
  font-size: 1.4rem;
  cursor: pointer;
}

.modal__close:hover { color: var(--foreground); }

.modal__title { font-size: 1.4rem; font-weight: 700; margin-bottom: 18px; }

.modal__sum {
  background: var(--muted);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 18px;
  font-size: 0.95rem;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.modal__sum .total { display: flex; justify-content: space-between; font-weight: 700; margin-top: 4px; }
.modal__sum .total span { color: var(--primary); font-size: 1.25rem; }

.checkout { display: flex; gap: 20px; flex-direction: column; align-items: center; }

.checkout__qr {
  width: 240px;
  height: 240px;
  border-radius: 12px;
  background: #fff;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.checkout__qr img { width: 100%; height: 100%; object-fit: contain; }
.checkout__qr p { color: #333; font-size: 0.85rem; padding: 12px; text-align: center; }

.checkout__info { width: 100%; display: flex; flex-direction: column; gap: 10px; }

.checkout__hint { color: var(--muted-foreground); font-size: 0.8rem; text-align: center; }

.input {
  width: 100%;
  background: var(--muted);
  border: 1px solid var(--border);
  color: var(--foreground);
  border-radius: var(--radius);
  padding: 12px 14px;
  font-size: 0.9rem;
}

/* Formulário de dados do cliente */
.checkout-form { display: flex; flex-direction: column; gap: 12px; }

.field { display: flex; flex-direction: column; gap: 6px; }

.field span { font-size: 0.82rem; color: var(--muted-foreground); font-weight: 600; }

.field .input:focus { border-color: var(--primary); outline: none; }

.field .input.erro { border-color: var(--primary); }

#cliente-erro { color: var(--primary); font-weight: 600; text-align: center; }

/* Upload de comprovante */
.upload-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 42px;
  background: var(--muted);
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  color: var(--foreground);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
  padding: 10px 14px;
  transition: border-color 0.2s, background 0.2s;
}

.upload-btn:hover { border-color: var(--primary); background: rgba(255, 255, 255, 0.06); }

/* ---------- Checkout estilo Nova SP ---------- */
.nsp-card {
  background: var(--muted);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}

.nsp-card + .nsp-card { margin-top: 0; }

.nsp-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
}

.nsp-card__head h4 { font-size: 1rem; font-weight: 700; }

.nsp-card__body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px;
}

.nsp-method {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  text-align: left;
  background: var(--muted-solid);
  border: 1px solid var(--border);
  padding: 12px;
  border-radius: 12px;
}

.nsp-method[data-selected="true"] { box-shadow: 0 0 0 2px var(--primary); }

.nsp-method__icon {
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--background);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.nsp-method__name {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 0.9rem;
  font-weight: 600;
}

.nsp-method__desc { font-size: 0.75rem; color: var(--muted-foreground); margin-top: 2px; }

.nsp-badge {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 0.65rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 999px;
  line-height: 1.3;
  white-space: nowrap;
}

.nsp-badge--fast { background: rgba(16, 185, 129, 0.12); color: #10b981; border: 1px solid rgba(16, 185, 129, 0.35); }

.nsp-badge--safe { background: rgba(16, 185, 129, 0.1); color: #10b981; border: 1px solid rgba(16, 185, 129, 0.3); }

.nsp-summary-item { display: flex; align-items: center; gap: 10px; }

.nsp-summary-item + .nsp-summary-item { margin-top: 10px; }

.nsp-summary-item__img {
  width: 46px;
  height: 46px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--background);
  overflow: hidden;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.nsp-summary-item__img img { width: 100%; height: 100%; object-fit: cover; }

.nsp-summary-item__img span { font-size: 1.2rem; }

.nsp-summary-item__info { flex: 1; min-width: 0; }

.nsp-summary-item__name {
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nsp-summary-item__meta { font-size: 0.75rem; color: var(--muted-foreground); }

.nsp-summary-item__price { font-size: 0.85rem; font-weight: 700; white-space: nowrap; }

.nsp-pricing {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.9rem;
}

.nsp-pricing li { display: flex; justify-content: space-between; color: var(--muted-foreground); }

.nsp-pricing li.nsp-pricing--total {
  color: var(--foreground);
  font-size: 1.05rem;
  font-weight: 700;
  border-top: 1px solid var(--border);
  padding-top: 10px;
  margin-top: 4px;
}

.nsp-pricing .nsp-pricing--desc { color: #10b981; }

.nsp-terms {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 14px;
  font-size: 0.82rem;
  color: var(--muted-foreground);
  cursor: pointer;
}

.nsp-terms input {
  margin-top: 2px;
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  accent-color: var(--primary);
}

.nsp-terms a { color: var(--foreground); font-weight: 600; text-decoration: underline; cursor: pointer; }

#pay-button-price { font-size: inherit; }

/* Regras */
.rules {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.rules li {
  background: var(--muted);
  border: 1px solid var(--border);
  border-left: 3px solid var(--primary);
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 0.92rem;
}

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--muted-solid);
  border: 1px solid var(--primary);
  border-radius: 12px;
  padding: 13px 20px;
  font-weight: 600;
  font-size: 0.92rem;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s, transform 0.3s;
  z-index: 200;
  max-width: 90vw;
  text-align: center;
}

.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast.ok { border-color: #22c55e; }
.toast.err { border-color: var(--primary); }

/* ---------- Responsivo ---------- */
@media (max-width: 820px) {
  .search { display: none; }
  .btn--cart span { display: none; }
  .btn--cart { width: 42px; padding: 0; }
  .hero { padding: 28px 0 8px; }
  .nav__actions { gap: 8px; }
  .footer__top-inner { flex-direction: column; }

  /* Sidebar vira chips horizontais com rolagem */
  .store__layout { grid-template-columns: 1fr; gap: 18px; }
  .sidebar { position: static; }
  .sidebar__title { display: none; }
  .sidebar__nav { flex-direction: row; overflow-x: auto; gap: 8px; padding-bottom: 6px; scrollbar-width: thin; }
  .sidebar__link { white-space: nowrap; border: 1px solid var(--border); }
}

@media (max-width: 480px) {
  .cat__grid { grid-template-columns: repeat(2, 1fr); }
}

/* ============ ESTRUTURA ESTILO MIL GRAU ============ */

/* ---- Abas (pills) ---- */
.cat-nav {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  padding: 14px 16px 6px;
  max-width: 1200px;
  margin: 0 auto;
}

.cat-pill {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 15px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--muted);
  color: var(--foreground);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-decoration: none;
  text-transform: uppercase;
  transition: all 0.2s;
  cursor: pointer;
  flex: none;
}

.cat-pill:hover { border-color: var(--primary); color: #fff; }

.cat-pill.active {
  background: var(--primary);
  border-color: var(--primary);
  color: hsl(0, 0%, 12%);
  font-weight: 700;
}

.cat-pill-home { background: var(--muted); font-weight: 700; }

/* ---- Título de seção estilo Mil Grau ---- */
.bc-title {
  font-size: clamp(1.35rem, 3vw, 1.9rem);
  font-weight: 800;
  letter-spacing: 0.04em;
  text-align: center;
  margin: 0 0 12px;
}

.mg-hl { color: var(--primary); }

/* ---- Escada VIP ---- */
.vipsec { text-align: center; padding: 30px 0 8px; }

.mg-vipsec-sub {
  color: var(--muted-foreground);
  text-align: center;
  margin: 0 auto 24px;
  max-width: 640px;
  font-size: 14.5px;
  line-height: 1.6;
}

.mg-viprail {
  display: grid;
  grid-auto-columns: minmax(190px, 1fr);
  grid-auto-flow: column;
  gap: 12px;
  overflow-x: auto;
  padding: 14px 6px 18px;
  scroll-snap-type: x mandatory;
}

.mg-viptier {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding: 18px 16px 16px;
  border-radius: 16px;
  background: linear-gradient(180deg, rgb(255 255 255 / 0.05), rgb(255 255 255 / 0.02));
  border: 1px solid var(--border);
  color: var(--foreground);
  font-family: inherit;
  text-align: left;
  cursor: pointer;
  scroll-snap-align: start;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.mg-viptier:hover {
  border-color: var(--primary);
  transform: translateY(-3px);
  box-shadow: 0 14px 34px -14px rgba(0, 112, 255, 0.35);
}

.mg-viptier.is-feat {
  border-color: var(--primary);
  background: linear-gradient(180deg, hsl(224 100% 50% / 0.14), rgb(255 255 255 / 0.03));
}

.mg-viptier.is-feat:hover {
  border-color: var(--primary);
  box-shadow: 0 16px 38px -12px rgba(0, 112, 255, 0.4);
}

.mg-viptier-flag {
  position: absolute;
  top: -10px;
  left: 14px;
  background: var(--primary);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 3px 9px;
  border-radius: 999px;
  text-transform: uppercase;
}

.mg-viptier-flag.is-start { background: var(--muted-solid); border: 1px solid var(--border); }

.mg-viptier-name { font-size: 18px; font-weight: 800; line-height: 1.1; margin-top: 6px; }

.mg-viptier-price { font-size: 20px; font-weight: 800; color: var(--primary); }

.mg-viptier-tag {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: #999;
  text-transform: uppercase;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 3px 9px;
}

.mg-viptier-tag.is-life { color: var(--primary); border-color: hsl(224 100% 50% / 0.5); }

.mg-viptier-cta { margin-top: 10px; font-size: 13px; font-weight: 600; color: var(--primary); }

.mg-vipsec-foot {
  color: var(--muted-foreground);
  font-size: 13.5px;
  margin-top: 6px;
}

.mg-vipsec-foot a { color: var(--primary); }

/* ---- Mais Vendidos ---- */
.mais-sec { padding-top: 30px; }

.mais-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 14px;
}

@media (min-width: 1200px) { .mais-grid { grid-template-columns: repeat(5, 1fr); } }

/* ---- FAQ ---- */
.faq { padding: 44px 16px 10px; }

.faq__list { max-width: 760px; margin: 18px auto 0; display: flex; flex-direction: column; gap: 10px; }

.faq__item {
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--muted);
  padding: 0 16px;
  overflow: hidden;
}

.faq__item summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 15px;
  padding: 14px 0;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 10px;
}

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

.faq__item summary::before { content: "+"; color: var(--primary); font-weight: 800; font-size: 18px; }

.faq__item[open] summary::before { content: "–"; }

.faq__item p { padding: 0 0 14px 28px; color: var(--muted-foreground); font-size: 14.5px; }

/* ---- Pagamento ---- */
.pay { padding: 40px 16px 20px; }

.pay__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin-top: 18px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.pay__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
  padding: 22px 18px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--muted);
}

.pay__icon { font-size: 26px; }

.pay__item h4 { font-size: 16px; font-weight: 800; }

.pay__item p { color: var(--muted-foreground); font-size: 13.5px; }

/* ---- Ajuste mobile ---- */
@media (max-width: 820px) {
  .cat-nav { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; padding-bottom: 10px; scrollbar-width: none; }
  .cat-nav::-webkit-scrollbar { display: none; }
}

/* ---------- Modal Produto (estilo Nova SP) ---------- */
.modal__content--wide { width: min(920px, 100%); }

.pd__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 26px;
  align-items: start;
}

.pd__img {
  position: relative;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--muted);
  min-height: 260px;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 10px;
}

.pd__img img {
  width: 100%;
  max-height: 380px;
  object-fit: contain;
}

.pd__categoria {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-foreground);
  margin-bottom: 6px;
}

.pd__nome { font-size: 1.55rem; font-weight: 800; letter-spacing: -0.02em; line-height: 1.25; }

.pd__badges { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 18px; }

.pd__badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 5px 11px;
  border-radius: 999px;
  border: 1px solid var(--border);
}

.pd__badge--stock { background: rgba(16, 185, 129, 0.12); color: #10b981; border-color: rgba(16, 185, 129, 0.35); }
.pd__badge--auto { background: rgba(59, 130, 246, 0.12); color: #60a5fa; border-color: rgba(59, 130, 246, 0.35); }

.pd__preco { margin-bottom: 18px; }

#pd-preco-orig { display: flex; align-items: center; gap: 10px; margin-bottom: 2px; }
#pd-preco-orig s { color: var(--muted-foreground); font-size: 1rem; }

.pd__off {
  color: #10b981;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.14);
  border: 1px solid rgba(16, 185, 129, 0.4);
}

.pd__preco-atual { font-size: 2rem; font-weight: 900; letter-spacing: -0.03em; }

.pd__pix { color: var(--muted-foreground); font-size: 0.9rem; }

.pd__acoes { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 20px; }

.pd__trust { list-style: none; display: grid; gap: 10px; padding: 0; }

.pd__trust li {
  display: grid;
  grid-template-columns: 26px 1fr;
  align-items: start;
  gap: 2px 8px;
  font-size: 0.85rem;
  line-height: 1.4;
}

.pd__trust li small { grid-column: 2; color: var(--muted-foreground); }

.pd__desc { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--border); }

.pd__desc h4 { font-size: 1.1rem; font-weight: 800; margin-bottom: 14px; }

#pd-descricao p { color: var(--muted-foreground); margin-bottom: 12px; font-size: 0.95rem; }
#pd-descricao strong { color: var(--foreground); }

.pd__lista { margin: 0 0 14px; padding-left: 20px; display: grid; gap: 4px; }
.pd__lista li { color: var(--muted-foreground); font-size: 0.92rem; }

@media (max-width: 700px) {
  .pd__grid { grid-template-columns: 1fr; }
  .pd__img { min-height: 200px; }
  .pd__acoes { grid-template-columns: 1fr; }
}