:root {
  --am-bg: #05070d;
  --am-bg-alt: #0a0f1c;
  --am-surface: #0f1626;
  --am-surface-2: #16203a;
  --am-border: #1f2c4d;
  --am-text: #eef3ff;
  --am-text-dim: #8794b3;
  --am-accent: #1f6bff;
  --am-accent-2: #3ea0ff;
  --am-accent-glow: rgba(31, 107, 255, 0.45);
  --am-green: #ffffff;
  --am-radius: 3px;
}

* { box-sizing: border-box; }

body {
  background:
    radial-gradient(900px 500px at 85% -5%, rgba(31, 107, 255, 0.16), transparent 60%),
    radial-gradient(700px 400px at -5% 40%, rgba(62, 160, 255, 0.07), transparent 60%),
    var(--am-bg);
  background-attachment: fixed;
  color: var(--am-text);
  font-family: 'Barlow', system-ui, sans-serif;
  min-height: 100vh;
}

h1, h2, h3, .am-brand, .am-hero-title {
  font-family: 'Chakra Petch', 'Barlow', sans-serif;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

a { text-decoration: none; }

/* ── Ticker de confiança ────────────────────────────────────────────── */
.mm-ticker {
  background: linear-gradient(90deg, #0b3fb8, var(--am-accent), #0b3fb8);
  color: #fff;
  overflow: hidden;
  white-space: nowrap;
  border-bottom: 1px solid #000;
}
.mm-ticker-track {
  display: inline-block;
  padding: 0.4rem 0;
  font-family: 'Chakra Petch', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  animation: mm-ticker-scroll 28s linear infinite;
}
.mm-ticker-track span { margin: 0 1.75rem; }
.mm-ticker-track span i { margin-right: 0.4rem; }
@keyframes mm-ticker-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .mm-ticker-track { animation: none; }
}

/* ── Navbar ─────────────────────────────────────────────────────────── */
.am-navbar {
  background: rgba(3, 5, 10, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 2px solid var(--am-accent);
  box-shadow: 0 6px 30px -12px var(--am-accent-glow);
}
.am-brand {
  font-size: 1.6rem;
  letter-spacing: 1px;
  color: var(--am-text) !important;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.am-brand i { color: var(--am-accent); }
.am-brand-logo {
  height: 50px;
  width: auto;
}
.navbar-nav .nav-link {
  color: var(--am-text-dim);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.6px;
  border-bottom: 2px solid transparent;
  padding-bottom: 2px !important;
}
.navbar-nav .nav-link.active,
.navbar-nav .nav-link:hover {
  color: var(--am-text);
  border-bottom-color: var(--am-accent);
}
.am-btn-cart {
  background: var(--am-accent);
  border: 1px solid var(--am-accent);
  color: #fff;
  border-radius: 0;
  clip-path: polygon(10px 0, 100% 0, 100% 100%, 0 100%, 0 10px);
  padding: 0.45rem 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.82rem;
  letter-spacing: 0.4px;
}
.am-btn-cart { box-shadow: 0 0 18px -4px var(--am-accent-glow); }
.am-btn-cart:hover { background: var(--am-accent-2); border-color: var(--am-accent-2); color: #fff; }
.am-badge {
  background: var(--am-bg-alt);
  color: #fff;
  margin-left: 0.35rem;
}

/* ── Mock banner ────────────────────────────────────────────────────── */
.am-mock-banner {
  background: var(--am-surface);
  border-bottom: 1px solid var(--am-border);
  color: var(--am-text-dim);
}
.am-mock-banner code { color: var(--am-accent-2); }

/* ── Hero ───────────────────────────────────────────────────────────── */
.am-hero {
  position: relative;
  background: var(--am-bg-alt);
  border-bottom: 1px solid var(--am-border);
  overflow: hidden;
}
.am-hero::before {
  content: '';
  position: absolute;
  top: 0; right: -10%; bottom: 0;
  width: 60%;
  background: linear-gradient(135deg, #0a2a7a 0%, var(--am-accent) 55%, var(--am-accent-2) 100%);
  clip-path: polygon(35% 0, 100% 0, 100% 100%, 10% 100%);
  opacity: 0.9;
}
.am-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(62, 160, 255, 0.07) 1px, transparent 1px) 0 0 / 44px 44px,
    linear-gradient(90deg, rgba(62, 160, 255, 0.07) 1px, transparent 1px) 0 0 / 44px 44px;
  -webkit-mask-image: radial-gradient(ellipse at 70% 50%, #000 0%, transparent 75%);
  mask-image: radial-gradient(ellipse at 70% 50%, #000 0%, transparent 75%);
  pointer-events: none;
}
.am-hero-inner {
  position: relative;
  z-index: 1;
}
.am-hero-art-wrap {
  position: relative;
}
.am-hero-art {
  position: relative;
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.5));
}
.am-hero-title {
  font-size: 3rem;
  color: var(--am-text);
  line-height: 1.05;
}
.am-hero-title .mm-n { color: var(--am-accent); }
.am-hero-sub { color: var(--am-text-dim); font-size: 1.05rem; max-width: 480px; }
.am-hero-cta { display: flex; gap: 0.75rem; flex-wrap: wrap; margin-top: 1.5rem; }
.am-hero-stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 2.25rem;
  flex-wrap: wrap;
}
.am-hero-stat-num {
  font-family: 'Chakra Petch', sans-serif;
  font-size: 1.9rem;
  color: var(--am-text);
  line-height: 1;
}
.am-hero-stat-num .mm-n { color: var(--am-accent); }
.am-hero-stat-label {
  color: var(--am-text-dim);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-top: 0.2rem;
}

/* ── Filters ────────────────────────────────────────────────────────── */
.am-filters { margin-top: 2rem; }
.am-input {
  background: var(--am-surface) !important;
  border: 1px solid var(--am-border) !important;
  color: var(--am-text) !important;
  border-radius: 0 !important;
}
.am-input::placeholder { color: var(--am-text-dim); }
.am-input:focus { box-shadow: 0 0 0 2px var(--am-accent-glow); border-color: var(--am-accent) !important; }
.am-input-icon {
  background: var(--am-surface) !important;
  border: 1px solid var(--am-border) !important;
  color: var(--am-text-dim) !important;
  border-radius: 0 !important;
}

.am-category-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  border-bottom: 1px solid var(--am-border);
}
.am-pill {
  background: transparent;
  border: none;
  border-bottom: 3px solid transparent;
  color: var(--am-text-dim);
  border-radius: 0;
  padding: 0.55rem 0.9rem;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  transition: all .15s ease;
}
.am-pill:hover { color: var(--am-text); }
.am-pill.active {
  background: transparent;
  border-bottom-color: var(--am-accent);
  color: var(--am-text);
}

/* ── Filtro de cor ─────────────────────────────────────────────────── */
.am-color-filter {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
  margin-top: 1rem;
}
.am-color-filter-label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: var(--am-text-dim);
  margin-right: 0.25rem;
}
.am-color-filter-label strong { color: var(--am-text); }
.am-swatch {
  width: 28px;
  height: 28px;
  padding: 0;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.35);
  background: var(--swatch, transparent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--am-text-dim);
  font-size: 0.85rem;
  cursor: pointer;
  transition: transform .12s ease, box-shadow .12s ease;
}
.am-swatch:hover { transform: scale(1.12); }
.am-swatch.active {
  border-color: #fff;
  box-shadow: 0 0 0 2px var(--am-bg), 0 0 0 4px var(--am-accent);
}
.am-swatch-all { background: var(--am-surface); border-color: var(--am-border); }
.am-swatch-all.active { color: var(--am-text); }

/* ── Admin: classificar cores ──────────────────────────────────────── */
.am-cor-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.9rem;
  background: var(--am-surface);
  border: 1px solid var(--am-border);
  border-left: 3px solid var(--am-border);
  padding: 0.5rem 0.85rem;
  margin-bottom: 0.5rem;
}
.am-cor-row.manual { border-left-color: var(--am-accent); }
.am-cor-thumb { width: 64px; height: 48px; object-fit: contain; flex-shrink: 0; }
.am-cor-info { flex: 1 1 220px; min-width: 0; }
.am-cor-nome { font-weight: 600; }
.am-cor-swatches { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.am-cor-row .am-swatch { width: 26px; height: 26px; }
.am-cor-row .am-swatch:not(.active) { opacity: 0.35; }
.am-cor-row .am-swatch:not(.active):hover { opacity: 0.8; }
.am-cor-salvo { color: #4ade80; opacity: 0; transition: opacity .2s ease; width: 1.2rem; }
.am-cor-salvo.show { opacity: 1; }

/* ── Menu de categoria com hover (mostra armas específicas) ──────────── */
.am-nav-item { position: relative; }
.am-nav-dropdown {
  /* top:100% sem vão nenhum até o botão de propósito — qualquer espaço
     em branco entre os dois quebra o :hover no meio do caminho do mouse
     (área sem elemento nenhum embaixo do cursor = sai do hover antes de
     chegar no menu). padding-top aqui dentro dá o respiro visual sem
     criar essa zona morta. */
  position: absolute;
  top: 100%;
  left: 0;
  padding-top: 8px;
  z-index: 20;
  display: none;
}
.am-nav-dropdown-inner {
  display: flex;
  flex-direction: column;
  min-width: 190px;
  max-height: 320px;
  overflow-y: auto;
  background: var(--am-bg-alt);
  border: 1px solid var(--am-border);
  border-top: 2px solid var(--am-accent);
  padding: 0.4rem;
  box-shadow: 0 12px 30px -10px rgba(0, 0, 0, 0.8);
}
.am-nav-item:hover .am-nav-dropdown,
.am-nav-item.open .am-nav-dropdown {
  display: block;
}
.am-nav-dropdown button {
  background: transparent;
  border: none;
  color: var(--am-text-dim);
  text-align: left;
  padding: 0.45rem 0.6rem;
  font-size: 0.85rem;
  text-transform: none;
  font-weight: 500;
  letter-spacing: normal;
}
.am-nav-dropdown button:hover {
  background: var(--am-surface);
  color: var(--am-text);
}

/* ── Skin card ──────────────────────────────────────────────────────── */
.am-card {
  background: var(--am-surface);
  border: 1px solid var(--am-border);
  border-radius: var(--am-radius);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.am-card:hover {
  transform: translateY(-3px);
  border-color: var(--am-accent);
  box-shadow: 0 0 0 1px var(--am-accent), 0 12px 34px -10px var(--am-accent-glow);
}

.am-card-thumb {
  position: relative;
  aspect-ratio: 4 / 3;
  background:
    radial-gradient(circle at 50% 40%, color-mix(in srgb, var(--rarity, var(--am-accent)) 30%, transparent), transparent 70%),
    var(--am-bg-alt);
  border-bottom: 1px solid var(--am-border);
  display: flex;
  align-items: center;
  justify-content: center;
}
.am-card-category {
  position: absolute;
  top: 0;
  left: 0;
  background: var(--am-accent);
  color: #fff;
  font-size: 0.65rem;
  padding: 0.25rem 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  font-weight: 700;
  clip-path: polygon(0 0, 100% 0, 88% 100%, 0% 100%);
}
.am-thumb-img {
  width: 100%;
  height: 100%;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
}
.am-thumb-placeholder {
  font-size: 2.4rem;
  color: color-mix(in srgb, var(--rarity, var(--am-accent)) 70%, white 10%);
  opacity: 0.85;
}
.am-card-thumb::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 3px;
  background: var(--rarity, var(--am-accent));
}

.am-card-body { padding: 0.85rem; flex: 1; display: flex; flex-direction: column; gap: 0.15rem; }
.am-card-wear { font-size: 0.7rem; color: var(--am-text-dim); text-transform: uppercase; letter-spacing: 0.4px; }
.am-card-name { font-size: 0.95rem; font-weight: 600; margin: 0 0 0.4rem; line-height: 1.25; min-height: 2.4em; color: var(--am-text); text-transform: none; font-family: 'Barlow', sans-serif; }
.am-card-price {
  display: inline-block;
  align-self: flex-start;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--am-green);
  background: rgba(255, 255, 255, 0.05);
  border-left: 3px solid var(--am-accent);
  padding: 0.15rem 0.5rem;
  margin-bottom: 0.6rem;
}
.am-card-actions { display: flex; gap: 0.4rem; margin-top: auto; }
.am-card-actions .btn { flex: 1; font-size: 0.78rem; padding: 0.4rem 0.4rem; }

.am-btn-solid {
  background: var(--am-accent);
  border: none;
  color: #fff;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  border-radius: 0;
  clip-path: polygon(8px 0, 100% 0, 100% 100%, 0 100%, 0 8px);
}
.am-btn-solid { box-shadow: 0 0 22px -6px var(--am-accent-glow); }
.am-btn-solid:hover { color: #fff; background: var(--am-accent-2); }
.am-btn-outline {
  background: transparent;
  border: 1px solid var(--am-border);
  color: var(--am-text);
  border-radius: 0;
  font-weight: 600;
}
.am-btn-outline:hover { border-color: var(--am-accent); color: var(--am-text); background: var(--am-surface-2); }

.am-spinner { color: var(--am-accent); }

.am-card-clickable { cursor: pointer; }
.am-card-clickable:focus-visible { outline: 2px solid var(--am-accent); outline-offset: 2px; }

/* ── Página de produto (skin.php) ──────────────────────────────────── */
.am-breadcrumb a { color: var(--am-text-dim); }
.am-breadcrumb a:hover { color: var(--am-accent); }
.am-breadcrumb i { font-size: 0.7rem; margin: 0 0.2rem; }

.am-product-image {
  aspect-ratio: 1 / 1;
  border-radius: var(--am-radius);
  background:
    radial-gradient(circle at 50% 40%, color-mix(in srgb, var(--rarity, var(--am-accent)) 30%, transparent), transparent 70%),
    var(--am-surface);
  border: 1px solid var(--am-border);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.am-product-image img { max-width: 85%; max-height: 85%; object-fit: contain; }

.am-product-title { font-size: 1.8rem; margin: 0.35rem 0 0.15rem; text-transform: none; font-family: 'Barlow', sans-serif; font-weight: 700; }
.am-product-price { font-size: 2.1rem; font-weight: 800; color: var(--am-green); }

.am-wear-list-inline { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.am-wear-list-inline .am-wear-option { flex: 0 0 auto; min-width: 160px; }

.am-float-section {
  background: var(--am-surface);
  border: 1px solid var(--am-border);
  border-left: 3px solid var(--am-accent);
  border-radius: var(--am-radius);
  padding: 1rem 1.25rem;
  margin-top: 1rem;
}
.am-float-range-text { font-size: 1.1rem; font-weight: 700; color: var(--am-text); }
.am-float-bar {
  position: relative;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, #fff, var(--am-accent-2), var(--am-accent));
  opacity: 0.3;
  margin-top: 0.6rem;
}
.am-float-bar-fill {
  position: absolute;
  top: -3px;
  height: 14px;
  border-radius: 999px;
  background: var(--am-accent);
  box-shadow: 0 0 0 2px var(--am-bg), 0 0 10px var(--am-accent);
}
.am-float-disclaimer { color: var(--am-text-dim); }

.am-product-actions { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.am-product-actions .btn { min-width: 200px; }
.am-product-actions .btn:disabled { opacity: 0.4; }

/* ── Modal de desgastes ─────────────────────────────────────────────── */
.am-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(3px);
  z-index: 1050;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.am-modal {
  background: var(--am-surface);
  border: 1px solid var(--am-border);
  border-top: 3px solid var(--am-accent);
  border-radius: var(--am-radius);
  width: 100%;
  max-width: 460px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 20px 60px -15px rgba(0, 0, 0, 0.8);
}
.am-modal-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background: var(--am-surface-2);
  border: 1px solid var(--am-border);
  color: var(--am-text-dim);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  z-index: 2;
}
.am-modal-close:hover { color: #fff; border-color: var(--am-accent); background: var(--am-accent); }

.am-modal-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem;
  border-bottom: 1px solid var(--am-border);
}
.am-modal-thumb {
  width: 84px;
  height: 84px;
  flex-shrink: 0;
  border-radius: 4px;
  background:
    radial-gradient(circle at 50% 40%, color-mix(in srgb, var(--rarity, var(--am-accent)) 35%, transparent), transparent 70%),
    var(--am-bg-alt);
  border: 1px solid var(--am-border);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
}
.am-modal-title { font-size: 1.1rem; margin: 0.2rem 0 0; text-transform: none; font-family: 'Barlow', sans-serif; font-weight: 700; }

.am-modal-body { padding: 1.25rem; }
.am-wear-list { display: flex; flex-direction: column; gap: 0.5rem; }
.am-wear-option {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--am-surface-2);
  border: 1px solid var(--am-border);
  border-radius: 2px;
  padding: 0.65rem 0.9rem;
  color: var(--am-text);
  font-weight: 500;
  transition: all .15s ease;
}
.am-wear-option:hover { border-color: var(--am-accent); }
.am-wear-option.selected {
  border-color: var(--am-accent);
  background: color-mix(in srgb, var(--am-accent) 15%, var(--am-surface-2));
  box-shadow: 0 0 0 1px var(--am-accent);
}
.am-wear-option-price { color: var(--am-green); font-weight: 700; }

.am-modal-footer {
  padding: 1.25rem;
  border-top: 1px solid var(--am-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.am-modal-selected-price { font-size: 1.3rem; font-weight: 700; color: var(--am-green); }
.am-modal-actions { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.am-modal-actions .btn:disabled { opacity: 0.4; }

/* ── Cart page ──────────────────────────────────────────────────────── */
.am-page-title { font-size: 1.7rem; }
.am-cart-list { display: flex; flex-direction: column; gap: 0.75rem; }
.am-cart-item {
  background: var(--am-surface);
  border: 1px solid var(--am-border);
  border-radius: var(--am-radius);
  padding: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.9rem;
}
.am-cart-item-thumb {
  width: 64px;
  height: 64px;
  flex-shrink: 0;
  border-radius: 4px;
  background:
    radial-gradient(circle at 50% 40%, color-mix(in srgb, var(--rarity, var(--am-accent)) 35%, transparent), transparent 70%),
    var(--am-bg-alt);
  border: 1px solid var(--am-border);
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}
.am-cart-item-info { flex: 1; min-width: 0; }
.am-cart-item-wear { font-size: 0.68rem; color: var(--am-text-dim); text-transform: uppercase; }
.am-cart-item-name { font-size: 0.95rem; font-weight: 600; margin: 0.1rem 0; }
.am-cart-item-price { color: var(--am-green); font-weight: 700; font-size: 0.9rem; }
.am-cart-item-price-tbd { color: var(--am-text-dim); font-weight: 500; font-style: italic; font-size: 0.8rem; }
.am-cart-item-qty {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--am-surface-2);
  border-radius: 2px;
  padding: 0.2rem 0.4rem;
}
.am-qty-btn {
  background: transparent;
  border: none;
  color: var(--am-text);
  font-size: 1.1rem;
  width: 26px;
  height: 26px;
  border-radius: 2px;
}
.am-qty-btn:hover { background: var(--am-border); }
.qty-value { min-width: 1.2rem; text-align: center; font-weight: 600; }
.am-cart-item-remove {
  background: transparent;
  border: none;
  color: var(--am-text-dim);
  font-size: 1rem;
  padding: 0.4rem;
}
.am-cart-item-remove:hover { color: var(--am-accent); }

.am-cart-summary {
  background: var(--am-surface);
  border: 1px solid var(--am-border);
  border-top: 3px solid var(--am-accent);
  border-radius: var(--am-radius);
  padding: 1.25rem;
}
.am-cart-total { font-size: 1.5rem; font-weight: 800; color: var(--am-green); }

/* ── Paginação ──────────────────────────────────────────────────────── */
.am-pagination .page-link {
  background: var(--am-surface);
  border: 1px solid var(--am-border);
  color: var(--am-text-dim);
  margin: 0 3px;
  border-radius: 0 !important;
  min-width: 40px;
  text-align: center;
}
.am-pagination .page-link:hover { border-color: var(--am-accent); color: var(--am-text); background: var(--am-surface-2); }
.am-pagination .page-item.active .page-link {
  background: var(--am-accent);
  border-color: var(--am-accent);
  color: #fff;
}
.am-pagination .page-item.disabled .page-link {
  background: transparent;
  border-color: transparent;
  color: var(--am-text-dim);
  opacity: 0.5;
}

/* ── Alertas (login, feedback de forms) ────────────────────────────── */
.alert-danger {
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #ff9a9a;
}
.alert-info {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #e8e8e8;
}

/* ── Admin ──────────────────────────────────────────────────────────── */
.am-login-box {
  background: var(--am-surface);
  border: 1px solid var(--am-border);
  border-top: 3px solid var(--am-accent);
  border-radius: var(--am-radius);
  padding: 2rem;
  width: 100%;
  max-width: 360px;
}
.am-order-card {
  background: var(--am-surface);
  border: 1px solid var(--am-border);
  border-left: 3px solid var(--am-accent);
  border-radius: var(--am-radius);
  padding: 1rem 1.25rem;
  margin-bottom: 0.9rem;
}
.am-order-total { font-size: 1.2rem; font-weight: 800; color: var(--am-green); }
.am-order-items { list-style: none; padding: 0; color: var(--am-text-dim); font-size: 0.9rem; }
.am-order-items li { padding: 0.15rem 0; }
.am-status-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.15rem 0.55rem;
  border-radius: 0;
  margin-left: 0.5rem;
}
.am-status-novo { background: rgba(255, 255, 255, 0.12); color: #fff; }
.am-status-atendido { background: var(--am-accent); color: #fff; }
.am-status-cancelado { background: rgba(255, 255, 255, 0.06); color: var(--am-text-dim); }

/* ── FAQ ────────────────────────────────────────────────────────────── */
.am-faq-list { max-width: 760px; }
.am-faq-item {
  background: var(--am-surface);
  border: 1px solid var(--am-border);
  border-radius: var(--am-radius);
  margin-bottom: 0.75rem;
  padding: 0 1.1rem;
}
.am-faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1rem 0;
  font-weight: 600;
  color: var(--am-text);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.am-faq-item summary::-webkit-details-marker { display: none; }
.am-faq-item summary::after {
  content: '+';
  font-size: 1.3rem;
  color: var(--am-accent);
  flex-shrink: 0;
  transition: transform 0.15s ease;
}
.am-faq-item[open] summary::after { transform: rotate(45deg); }
.am-faq-item summary:hover { color: var(--am-accent); }
.am-faq-answer { padding: 0 0 1.1rem; color: var(--am-text-dim); }
.am-faq-answer p { margin-bottom: 0; line-height: 1.6; }
.am-faq-answer a { color: var(--am-accent); }

/* ── Footer ─────────────────────────────────────────────────────────── */
.am-footer {
  border-top: 3px solid var(--am-accent);
  background: var(--am-bg-alt);
}
.mm-footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
}
.mm-footer-brand { font-size: 1.3rem; margin-bottom: 0.6rem; }
.mm-footer-blurb { color: var(--am-text-dim); font-size: 0.88rem; max-width: 340px; }
.mm-footer-heading {
  font-family: 'Chakra Petch', sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.6px;
  color: var(--am-text);
  margin-bottom: 0.75rem;
}
.mm-footer-links { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.5rem; }
.mm-footer-links a { color: var(--am-text-dim); font-size: 0.88rem; }
.mm-footer-links a:hover { color: var(--am-accent); }
.mm-footer-bottom {
  border-top: 1px solid var(--am-border);
  margin-top: 2rem;
  padding-top: 1.25rem;
  color: var(--am-text-dim);
  font-size: 0.78rem;
}
@media (max-width: 768px) {
  .mm-footer-grid { grid-template-columns: 1fr; gap: 1.5rem; text-align: left; }
}

@media (max-width: 991.98px) {
  /* A faixa diagonal só faz sentido acompanhando a arte na coluna direita
     do hero — abaixo de lg essa coluna some (d-lg-block) e o hero vira
     uma coluna só, então a faixa passava por cima do texto (inclusive o
     "aqui" em vermelho, ilegível em cima do próprio vermelho). */
  .am-hero::before, .am-hero::after { display: none; }
}

@media (max-width: 576px) {
  .am-hero-title { font-size: 2.1rem; }
  .am-cart-item { flex-wrap: wrap; }
}

/* ── Kits ───────────────────────────────────────────────────────────── */
.am-kit-product-item {
  display: none;
  background: var(--am-surface);
  border: 1px solid var(--am-border);
  border-left: 3px solid var(--rarity, var(--am-accent));
  border-radius: var(--am-radius);
  padding: 1rem;
  margin-bottom: 1rem;
}
.am-kit-product-item.am-kit-active { display: block; }

.am-kit-carousel-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}
.am-kit-carousel-arrow {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--am-border);
  background: var(--am-surface);
  color: var(--am-text);
  font-size: 1.1rem;
  cursor: pointer;
  transition: .15s;
}
.am-kit-carousel-arrow:hover:not(:disabled) { border-color: var(--am-accent); color: var(--am-accent); }
.am-kit-carousel-arrow:disabled { opacity: 0.3; cursor: default; }

.am-kit-carousel-dots {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}
.am-kit-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid var(--am-border);
  background: var(--am-bg-alt);
  padding: 0;
  cursor: pointer;
}
.am-kit-dot.done { background: var(--am-green); border-color: var(--am-green); }
.am-kit-dot.skipped { background: var(--am-text-dim); border-color: var(--am-text-dim); }
.am-kit-dot.active { border-color: var(--am-accent); transform: scale(1.25); }

.am-kit-skipped-banner {
  background: var(--am-bg-alt);
  border: 1px dashed var(--am-border);
  border-radius: 2px;
  padding: 0.8rem 1rem;
  color: var(--am-text-dim);
  font-size: 0.85rem;
  margin-top: 0.5rem;
}
.am-kit-product-image {
  aspect-ratio: 1 / 1;
  height: auto;
  padding: 0.5rem;
}
.am-kit-item-title { font-size: 1.05rem; margin: 0.2rem 0 0.3rem; text-transform: none; font-family: 'Barlow', sans-serif; font-weight: 700; }
.am-kit-item-price { font-size: 1.3rem; font-weight: 800; color: var(--am-green); margin-bottom: 0.6rem; }

.am-kit-summary {
  background: var(--am-surface);
  border: 1px solid var(--am-border);
  border-top: 3px solid var(--am-accent);
  border-radius: var(--am-radius);
  padding: 1.4rem;
  text-align: center;
  position: sticky;
  top: 90px;
}

.am-kit-card-price { color: var(--am-green); font-weight: 700; }

/* ── Monte seu kit ──────────────────────────────────────────────────── */
.am-mk-step-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}
.am-mk-step-title { font-size: 1.2rem; margin: 0; text-transform: none; font-family: 'Barlow', sans-serif; font-weight: 700; }
.am-mk-browse-tools .am-category-pills { display: flex; flex-wrap: wrap; gap: 0.4rem; }

.am-mk-summary-list { text-align: left; display: flex; flex-direction: column; gap: 0.6rem; max-height: 320px; overflow-y: auto; }
.am-mk-summary-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--am-border);
}
.am-mk-summary-item:last-child { border-bottom: none; padding-bottom: 0; }
.am-mk-summary-thumb {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  background-color: var(--am-bg);
  border-radius: 2px;
}
.am-mk-summary-info { flex: 1; min-width: 0; }
.am-mk-summary-name { font-size: 0.8rem; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.am-mk-summary-wear { font-size: 0.7rem; color: var(--am-text-dim); }
.am-mk-summary-price { font-size: 0.78rem; font-weight: 600; color: var(--am-green); white-space: nowrap; }

.am-cart-kit-header {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--am-accent);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  margin: 1rem 0 0.4rem;
}
.am-cart-kit-header:first-child { margin-top: 0; }

.am-order-kit-header {
  color: var(--am-accent);
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  list-style: none;
  margin-top: 0.4rem;
}

/* ── Sobre nós ──────────────────────────────────────────────────────── */
.am-about-story p {
  color: var(--am-text-dim);
  line-height: 1.75;
  font-size: 1.02rem;
  margin-bottom: 1.1rem;
  max-width: 800px;
}
.am-about-story strong { color: var(--am-text); }

.am-about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.am-about-stat {
  background: var(--am-surface);
  border: 1px solid var(--am-border);
  border-top: 3px solid var(--am-accent);
  border-radius: var(--am-radius);
  padding: 1.6rem 1rem;
  text-align: center;
}
.am-about-stat-num {
  font-size: 2rem;
  font-weight: 700;
  color: var(--am-text);
  line-height: 1.1;
}
.am-about-stat-label {
  color: var(--am-text-dim);
  font-size: 0.85rem;
  margin-top: 0.4rem;
}

.am-about-cta {
  background: var(--am-surface);
  border: 1px solid var(--am-border);
  border-radius: var(--am-radius);
  padding: 2rem 1rem;
}

@media (max-width: 576px) {
  .am-about-stats { grid-template-columns: 1fr; }
}

/* ── Botão flutuante WhatsApp ──────────────────────────────────────── */
.am-whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 58px;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  font-size: 1.7rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
  z-index: 1000;
  animation: am-whatsapp-pulse 2.4s infinite;
  transition: transform .15s;
}
.am-whatsapp-float:hover { color: #fff; transform: scale(1.08); }

@keyframes am-whatsapp-pulse {
  0% { box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5), 0 0 0 0 rgba(37, 211, 102, 0.55); }
  70% { box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5), 0 0 0 14px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5), 0 0 0 0 rgba(37, 211, 102, 0); }
}

@media (max-width: 576px) {
  .am-whatsapp-float { right: 16px; bottom: 16px; width: 52px; height: 52px; font-size: 1.5rem; }
}

/* ── Marca MM ───────────────────────────────────────────────────────── */
.am-brand-logo { height: 34px; width: auto; filter: drop-shadow(0 0 10px var(--am-accent-glow)); }
.mm-wordmark {
  font-family: 'Chakra Petch', sans-serif;
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: 2px;
  background: linear-gradient(90deg, #fff, var(--am-accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.am-hero-art { animation: mm-float 6s ease-in-out infinite; filter: drop-shadow(0 0 40px var(--am-accent-glow)); }
@keyframes mm-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@media (prefers-reduced-motion: reduce) { .am-hero-art { animation: none; } }

/* Logo MM Float (PNG redondo com fundo escuro) */
.am-brand-logo { height: 44px; border-radius: 50%; }
.am-hero-logo {
  width: min(380px, 100%);
  margin: 0 auto;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(31, 107, 255, 0.5), 0 0 90px var(--am-accent-glow);
}

/* ── Conta do cliente / inventário ──────────────────────────────────── */
.am-status-em_andamento { background: rgba(62, 160, 255, 0.18); color: var(--am-accent-2); border: 1px solid rgba(62, 160, 255, 0.5); }
.am-inv-summary { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.75rem; }
.am-inv-summary-box {
  background: var(--am-surface);
  border: 1px solid var(--am-border);
  border-top: 3px solid var(--am-border);
  padding: 0.8rem 1rem;
}
.am-inv-summary-box.am-inv-em_andamento { border-top-color: var(--am-accent-2); }
.am-inv-summary-box.am-inv-atendido { border-top-color: #22c55e; }
.am-inv-summary-box.am-inv-novo { border-top-color: #facc15; }
.am-inv-summary-num { font-family: 'Chakra Petch', sans-serif; font-size: 1.8rem; font-weight: 700; line-height: 1; }
.am-inv-summary-label { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.6px; color: var(--am-text-dim); margin-top: 0.25rem; }
.am-inv-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 0.9rem; }
.am-inv-card {
  display: flex;
  gap: 0.9rem;
  background: var(--am-surface);
  border: 1px solid var(--am-border);
  border-left: 3px solid var(--am-accent);
  padding: 0.8rem;
}
.am-inv-card.am-inv-atendido { border-left-color: #22c55e; }
.am-inv-card.am-inv-novo { border-left-color: #facc15; }
.am-inv-card.am-inv-cancelado { border-left-color: var(--am-border); opacity: 0.65; }
.am-inv-thumb {
  flex: 0 0 110px;
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--am-bg-alt);
}
.am-inv-thumb img { max-width: 100%; max-height: 100%; object-fit: contain; }
.am-inv-body { min-width: 0; }
.am-inv-name { font-size: 0.98rem; font-weight: 600; margin: 0; text-transform: none; font-family: 'Barlow', sans-serif; line-height: 1.25; }
.am-inv-body .am-status-badge { margin-left: 0; }
@media (max-width: 575.98px) {
  .am-inv-summary { grid-template-columns: repeat(2, 1fr); }
  .am-inv-grid { grid-template-columns: 1fr; }
}

/* ── Pagamento PIX / retirada ───────────────────────────────────────── */
.alert-success.am-pay-ok, .alert-success {
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.45);
  color: #86efac;
}
.am-itst-aguardando_pagamento { background: rgba(250, 204, 21, 0.15); color: #facc15; }
.am-itst-a_combinar { background: rgba(255, 255, 255, 0.12); color: #fff; }
.am-itst-em_andamento { background: rgba(62, 160, 255, 0.18); color: var(--am-accent-2); }
.am-itst-disponivel { background: var(--am-accent); color: #fff; }
.am-itst-solicitada { background: rgba(168, 85, 247, 0.2); color: #d8b4fe; }
.am-itst-enviada { background: rgba(34, 197, 94, 0.2); color: #86efac; }
.am-itst-cancelada { background: rgba(255, 255, 255, 0.06); color: var(--am-text-dim); }
.am-inv-card.am-inv-aguardando_pagamento { border-left-color: #facc15; }
.am-inv-card.am-inv-a_combinar { border-left-color: #fff; }
.am-inv-card.am-inv-em_andamento { border-left-color: var(--am-accent-2); }
.am-inv-card.am-inv-disponivel { border-left-color: var(--am-accent); }
.am-inv-card.am-inv-solicitada { border-left-color: #a855f7; }
.am-inv-card.am-inv-enviada { border-left-color: #22c55e; }
.am-inv-card.am-inv-cancelada { border-left-color: var(--am-border); opacity: 0.65; }
.am-inv-summary-box.am-inv-disponivel { border-top-color: var(--am-accent); }
.am-inv-summary-box.am-inv-solicitada { border-top-color: #a855f7; }
.am-inv-summary-box.am-inv-enviada { border-top-color: #22c55e; }
.am-inv-summary-box.am-inv-aguardando_pagamento { border-top-color: #facc15; }
.am-inv-tabs { display: flex; gap: 0; border-bottom: 1px solid var(--am-border); }
.am-inv-tab {
  padding: 0.65rem 1.1rem;
  color: var(--am-text-dim);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.82rem;
  letter-spacing: 0.4px;
  border-bottom: 3px solid transparent;
}
.am-inv-tab:hover { color: var(--am-text); }
.am-inv-tab.active { color: var(--am-text); border-bottom-color: var(--am-accent); }
.am-inv-pick { position: relative; cursor: pointer; }
.am-inv-pick:hover { border-color: var(--am-accent); }
.am-inv-pick .pick-item { position: absolute; top: 0.6rem; right: 0.6rem; width: 1.2rem; height: 1.2rem; }
.am-inv-pick:has(.pick-item:checked) { box-shadow: 0 0 0 2px var(--am-accent), 0 0 24px -6px var(--am-accent-glow); }
.am-trade-box {
  background: var(--am-surface);
  border: 1px solid var(--am-border);
  border-left: 3px solid var(--am-accent);
  padding: 0.7rem 1rem;
  font-size: 0.9rem;
  color: var(--am-text-dim);
}
.am-trade-box-warn { border-left-color: #facc15; color: #fde68a; }
.am-retirada-card { border-left-color: #a855f7; }
.am-inv-summary { grid-template-columns: repeat(4, 1fr); }
