/* =========================================================
   Loja Lucão — estilos
   Cores: edite config/theme.php (não precisa mexer aqui)
   ========================================================= */

:root {
  /* Fallbacks caso o theme.php não carregue */
  --ink: #0f172a;
  --ink-soft: #334155;
  --text-muted: #64748b;
  --bg: #f8fafc;
  --bg-soft: #eff6ff;
  --line: #dbe3f0;
  --accent: #2563eb;
  --accent-hover: #1d4ed8;
  --accent-contrast: #ffffff;
  --accent-soft: #dbeafe;
  --hero-from: #bfdbfe;
  --hero-to: #e0f2fe;
  --danger: #dc2626;
  --success: #059669;
  --admin-sidebar: #0f172a;
  --admin-sidebar-text: #ffffff;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 2px rgba(26,21,35,.06);
  --shadow-md: 0 8px 24px rgba(26,21,35,.08);
  --shadow-lg: 0 24px 60px rgba(26,21,35,.14);
  --font: 'Helvetica Neue', Arial, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }
html { height: 100%; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  min-height: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main { flex: 1 0 auto; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3 { letter-spacing: -0.02em; font-weight: 600; margin: 0 0 .5rem; }

.container { max-width: 1160px; margin: 0 auto; padding: 0 1.5rem; }
.muted { color: var(--text-muted); }

/* ---------------- Header ---------------- */
.site-header { border-bottom: 1px solid #111; position: sticky; top: 0; background: #000; z-index: 20; flex-shrink: 0; }
.site-header__inner { display: flex; align-items: center; gap: 2rem; height: 72px; }
.brand { display: flex; align-items: center; margin-right: auto; line-height: 0; }
.brand-logo { height: 44px; width: auto; max-width: 220px; object-fit: contain; }
.brand-logo--admin { height: 36px; max-width: 180px; }
.brand-logo--footer { height: 36px; max-width: 180px; }
.brand-logo--login { height: 48px; max-width: 240px; margin: 0 auto 1.25rem; background: #000; border-radius: 6px; padding: .35rem .7rem; }
.admin-brand { display: flex; flex-direction: column; align-items: flex-start; gap: .35rem; margin-bottom: 2rem; }
.admin-brand__label { font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.45); font-weight: 700; }
.site-nav { display: flex; gap: 1.5rem; font-size: .92rem; }
.site-nav a { color: rgba(255,255,255,.78); transition: color .15s; }
.site-nav a:hover,
.site-nav a.is-current { color: #4db8ff; }
.cart-link { display: flex; align-items: center; gap: .4rem; font-size: .92rem; font-weight: 600; white-space: nowrap; color: #fff; }
.cart-link:hover { color: #4db8ff; }
.cart-badge { background: #0099ff; color: #fff; border-radius: 999px; font-size: .72rem; min-width: 20px; height: 20px; display: inline-flex; align-items: center; justify-content: center; padding: 0 5px; }
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid #2a2a2a;
  border-radius: var(--radius-sm);
  background: #0a0a0a;
  flex-shrink: 0;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 0 auto;
  background: #fff;
  transition: transform .2s, opacity .2s;
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-dock { display: none; }

/* ---------------- Footer ---------------- */
.site-footer { border-top: 1px solid #111; margin-top: auto; padding: 1.75rem 0; flex-shrink: 0; background: #000; }
.site-footer__inner { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; font-size: .85rem; color: rgba(255,255,255,.55); }
.site-footer__inner p { margin: 0; line-height: 1.45; }
.brand--footer { margin-right: 0; flex: 0 0 auto; }

.wa-float {
  position: fixed;
  right: 1.05rem;
  bottom: calc(1.05rem + env(safe-area-inset-bottom, 0px));
  z-index: 40;
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #39ff7a;
  color: #fff;
  border: 2px solid rgba(210, 255, 226, .95);
  border-radius: 26px 26px 26px 7px;
  box-shadow:
    0 0 6px rgba(57, 255, 122, .85),
    0 0 16px rgba(37, 211, 102, .55),
    0 0 28px rgba(37, 211, 102, .28);
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  text-decoration: none;
  animation: wa-neon 2.4s ease-in-out infinite;
}
.wa-float::before {
  content: '';
  position: absolute;
  inset: -5px;
  border-radius: 30px 30px 30px 10px;
  background: radial-gradient(circle, rgba(57, 255, 122, .35) 0%, rgba(57, 255, 122, 0) 70%);
  z-index: -1;
  animation: wa-aura 2.4s ease-out infinite;
  pointer-events: none;
}
.wa-float svg {
  display: block;
  filter: drop-shadow(0 0 4px rgba(255, 255, 255, .65));
}
.wa-float:hover { color: #fff; }
.wa-float:active { transform: scale(.97); }
@keyframes wa-neon {
  0%, 100% {
    box-shadow:
      0 0 6px rgba(57, 255, 122, .75),
      0 0 14px rgba(37, 211, 102, .45),
      0 0 24px rgba(37, 211, 102, .2);
  }
  50% {
    box-shadow:
      0 0 10px rgba(57, 255, 122, 1),
      0 0 22px rgba(37, 211, 102, .7),
      0 0 36px rgba(37, 211, 102, .35);
  }
}
@keyframes wa-aura {
  0% { transform: scale(.92); opacity: .55; }
  70% { transform: scale(1.18); opacity: 0; }
  100% { transform: scale(1.18); opacity: 0; }
}

/* ---------------- Buttons ---------------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .4rem; padding: .75rem 1.4rem; border-radius: var(--radius-sm); border: 1px solid transparent; font-size: .92rem; font-weight: 600; transition: transform .1s, opacity .15s, background .15s, border-color .15s; }
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--accent); color: var(--accent-contrast); }
.btn-primary:hover { background: var(--accent-hover); }
.btn-outline { background: transparent; border-color: var(--line); color: var(--ink); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.btn-danger { background: var(--danger); color: #fff; }
.btn-danger-outline { background: transparent; border-color: #f0b7b7; color: var(--danger); }
.btn-danger-outline:hover { border-color: var(--danger); background: #fdf1f1; }
.btn-block { width: 100%; }
.btn-sm { padding: .4rem .75rem; font-size: .8rem; }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.table-actions { display: inline-flex; flex-wrap: wrap; gap: .4rem; align-items: center; }

/* ---------------- Hero ---------------- */
.hero {
  padding: 4.5rem 0 3rem;
  text-align: center;
  background: linear-gradient(135deg, var(--hero-from), var(--hero-to));
}
.hero h1 { font-size: 2.6rem; margin-bottom: .75rem; color: var(--ink); }
.hero p { color: var(--ink-soft); font-size: 1.05rem; max-width: 480px; margin: 0 auto; }

.hero-banner { position: relative; background: #000; overflow: hidden; }
.hero-banner__viewport {
  position: relative;
  width: 100%;
  aspect-ratio: 100 / 29;
  max-width: 100%;
}
.hero-banner__slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity .55s ease, visibility .55s ease;
  pointer-events: none;
}
.hero-banner__slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
  pointer-events: auto;
}
.hero-banner__slide a {
  display: block;
  width: 100%;
  height: 100%;
}
.hero-banner__slide img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  margin: 0 auto;
  object-fit: contain;
  object-position: center center;
}
.hero-banner__nav {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 42px;
  height: 42px;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 50%;
  background: rgba(0,0,0,.45);
  color: #fff;
  transform: translateY(-50%);
}
.hero-banner__nav::before {
  content: '';
  display: block;
  width: 9px;
  height: 9px;
  margin: 0 auto;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
}
.hero-banner__nav--prev { left: 1rem; }
.hero-banner__nav--prev::before { transform: rotate(-135deg) translate(1px, 1px); }
.hero-banner__nav--next { right: 1rem; }
.hero-banner__nav--next::before { transform: rotate(45deg) translate(-1px, 1px); }
.hero-banner__nav:hover { background: rgba(0,153,255,.85); border-color: transparent; }
.hero-banner__dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: .85rem;
  z-index: 3;
  display: flex;
  justify-content: center;
  gap: .45rem;
}
.hero-banner__dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.4);
}
.hero-banner__dot.is-active { background: #0099ff; width: 22px; border-radius: 999px; }
.storefront-search { background: #0a0a0a; padding: .85rem 0; }
.storefront-search__form {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: .5rem;
  max-width: 44px;
  margin: 0;
  transition: max-width .28s ease;
}
.storefront-search__form.is-open { max-width: 520px; width: 100%; }
.storefront-search__form input[type="search"] {
  flex: 1;
  min-width: 0;
  width: 0;
  height: 44px;
  padding: 0;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  background: #141414;
  color: #fff;
  font-size: 16px;
  opacity: 0;
  pointer-events: none;
}
.storefront-search__form.is-open input[type="search"] {
  width: auto;
  padding: 0 .85rem;
  border-color: #2a2a2a;
  opacity: 1;
  pointer-events: auto;
}
.storefront-search__form input[type="search"]::placeholder { color: rgba(255,255,255,.45); }
.storefront-search__lupa {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #2a2a2a;
  border-radius: 50%;
  background: #141414;
  color: #fff;
  padding: 0;
}
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* ---------------- Category chips ---------------- */
.chip-row { display: flex; gap: .6rem; flex-wrap: wrap; justify-content: center; padding: 1.5rem 0; }
.chip { padding: .5rem 1rem; border: 1px solid var(--line); border-radius: 999px; font-size: .85rem; color: var(--ink-soft); background: var(--bg); transition: background .15s, border-color .15s, color .15s; }
.chip.active, .chip:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); }

/* ---------------- Product grid ---------------- */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 1.75rem; padding: 2.5rem 0 4rem; }
.product-card { display: block; }
.product-card__img { aspect-ratio: 3/4; background: var(--bg-soft); border-radius: var(--radius-md); overflow: hidden; margin-bottom: .85rem; display:flex; align-items:center; justify-content:center; }
.product-card__img img { width: 100%; height: 100%; object-fit: cover; }
.product-card:hover .product-card__name { color: var(--accent); }
.product-card__name { font-size: .95rem; font-weight: 600; margin-bottom: .2rem; transition: color .15s; }
.product-card__price { font-size: .92rem; color: var(--text-muted); }
.product-card__price strong { color: var(--ink); font-weight: 700; }
.product-card__sizes { display: flex; flex-wrap: wrap; gap: .22rem; margin-top: .4rem; }
.product-card__size {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.45rem;
  height: 1.2rem;
  padding: 0 .28rem;
  border: 1px solid var(--line);
  border-radius: 3px;
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .03em;
  line-height: 1;
  color: var(--ink-soft);
  background: var(--bg);
}
.badge-tier { display:inline-block; margin-top:.35rem; font-size:.72rem; background:var(--accent-soft); color:var(--accent); padding:.15rem .5rem; border-radius:999px; font-weight: 600; }

/* ---------------- Product detail ---------------- */
.product-page { padding-top: 1.15rem; }
.product-back {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  margin-bottom: .25rem;
  font-size: .88rem;
  font-weight: 600;
  color: var(--ink-soft);
}
.product-back svg { display: block; }
.product-back:hover { color: var(--accent); }
.product-detail { display: grid; grid-template-columns: 1.1fr 1fr; gap: 3.5rem; padding-top: 1.15rem; padding-bottom: 3rem; overflow: visible; }
.product-gallery { position: relative; z-index: 5; overflow: visible; }
.product-gallery__main { position: relative; aspect-ratio: 3/4; background: var(--bg-soft); border-radius: var(--radius-lg); overflow: hidden; cursor: crosshair; }
.product-gallery__main > img { width: 100%; height: 100%; object-fit: cover; display: block; user-select: none; -webkit-user-drag: none; }
.zoom-reticle {
  position: absolute;
  width: 220px;
  height: 220px;
  border: 2px solid var(--accent);
  background: rgba(37, 99, 235, .15);
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  z-index: 4;
  box-sizing: border-box;
}
.zoom-preview {
  display: none;
  position: fixed;
  width: 380px;
  height: 480px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  z-index: 9999;
  pointer-events: none;
}
.zoom-preview img {
  position: absolute;
  max-width: none !important;
  width: auto;
  height: auto;
  display: block;
  object-fit: cover;
  pointer-events: none;
  user-select: none;
}
.zoom-hint { margin: .65rem 0 0; font-size: .8rem; color: var(--text-muted); text-align: center; }

@media (max-width: 860px) {
  .product-gallery__main { cursor: default; }
  .zoom-reticle, .zoom-preview, .zoom-hint { display: none !important; }
}
.product-info h1 { font-size: 1.9rem; }
.product-price { font-size: 1.6rem; font-weight: 700; margin: .75rem 0 .2rem; color: var(--accent); }
.product-price small { font-size: .85rem; font-weight: 500; color: var(--text-muted); }
.product-price .old { font-size: 1rem; color: var(--text-muted); text-decoration: line-through; margin-left: .5rem; font-weight: 400; }
.product-price-sum { min-height: 1.2rem; font-size: .95rem; color: var(--text-muted); margin: 0 0 .75rem; }
.tier-table { border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; margin: 1rem 0 1.5rem; }
.tier-table__row { display: flex; justify-content: space-between; padding: .6rem 1rem; font-size: .88rem; border-bottom: 1px solid var(--line); }
.tier-table__row:last-child { border-bottom: none; }
.tier-table__row.active { background: var(--accent-soft); font-weight: 700; color: var(--accent); }
.option-group { margin-bottom: 1.25rem; }
.option-group__label { font-size: .82rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--text-muted); margin-bottom: .5rem; display: block; }
.option-pill { display: inline-flex; align-items: center; justify-content: center; min-width: 42px; height: 42px; padding: 0 .8rem; border: 1px solid var(--line); border-radius: var(--radius-sm); margin: 0 .4rem .4rem 0; font-size: .88rem; background: none; }
.option-pill.selected { border-color: var(--accent); background: var(--accent); color: var(--accent-contrast); }
.option-pill:disabled { opacity: .35; text-decoration: line-through; cursor: not-allowed; }
.qty-input { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; touch-action: manipulation; }
.qty-input button { width: 38px; height: 42px; background: none; border: none; font-size: 1.1rem; touch-action: manipulation; -webkit-user-select: none; user-select: none; }
.qty-input button:hover { color: var(--accent); }
.qty-input button:disabled { opacity: .35; cursor: not-allowed; }
.qty-input input { width: 48px; text-align: center; border: none; font-size: 1rem; background: transparent; touch-action: manipulation; }
.stock-note { font-size: .82rem; color: var(--text-muted); margin-top: .5rem; }
.size-qty-placeholder { margin: 0; font-size: .88rem; color: var(--text-muted); }
#size-qty-list { display: flex; flex-direction: column; gap: .45rem; }
.size-qty-row {
  display: grid;
  grid-template-columns: 3.2rem 1fr auto;
  align-items: center;
  gap: .65rem;
  padding: .45rem .6rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
}
.size-qty-row.is-picked { border-color: var(--accent); background: var(--accent-soft); }
.size-qty-row.is-max { box-shadow: inset 0 0 0 1px var(--accent); }
.size-qty-row.is-out { opacity: .45; }
.size-qty-row__size { font-weight: 800; font-size: 1rem; letter-spacing: .02em; }
.size-qty-row__stock { font-size: .78rem; color: var(--text-muted); }
.product-desc { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--line); color: var(--ink-soft); font-size: .93rem; }

.shipping-box { margin-top: 1.35rem; }
.shipping-hint { font-size: .8rem; color: var(--text-muted); margin: .35rem 0 0; }
.shipping-options { display: flex; flex-direction: column; gap: .5rem; margin-top: .45rem; }
.shipping-option {
  display: grid;
  grid-template-columns: 36px 1fr auto;
  gap: .75rem;
  align-items: center;
  width: 100%;
  padding: .7rem .85rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  cursor: pointer;
  background: #fff;
  text-align: left;
  font-family: inherit;
  color: inherit;
}
.shipping-option:hover { border-color: var(--accent); }
.shipping-option.is-selected { border-color: var(--accent); background: var(--accent-soft); }
.shipping-option img { width: 32px; height: 32px; object-fit: contain; }
.shipping-option__name { display: block; font-weight: 600; font-size: .9rem; }
.shipping-option__time { display: block; font-size: .78rem; color: var(--text-muted); margin-top: .15rem; }
.shipping-option__price { font-weight: 700; white-space: nowrap; }
.summary-card .shipping-box { margin-top: .25rem; margin-bottom: .75rem; }

/* ---------------- Cart ---------------- */
.cart-layout { display: grid; grid-template-columns: 1fr 340px; gap: 3rem; padding: 3rem 0 5rem; align-items: start; }
.cart-item { display: grid; grid-template-columns: 84px 1fr auto; gap: 1rem; align-items: center; padding: 1.25rem 0; border-bottom: 1px solid var(--line); }
.cart-item__img { width: 84px; height: 104px; border-radius: var(--radius-sm); background: var(--bg-soft); overflow: hidden; }
.cart-item__img img { width: 100%; height: 100%; object-fit: cover; }
.cart-item__name { font-weight: 600; font-size: .95rem; margin-bottom: .15rem; }
.cart-item__meta { font-size: .82rem; color: var(--text-muted); }
.cart-item__price { text-align: right; font-weight: 700; }
.cart-item__remove { font-size: .78rem; color: var(--danger); margin-top: .4rem; display: inline-block; }
.summary-card { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.75rem; position: sticky; top: 90px; background: var(--bg); }
.summary-row { display: flex; justify-content: space-between; font-size: .92rem; margin-bottom: .65rem; }
.summary-row.total { font-size: 1.1rem; font-weight: 700; border-top: 1px solid var(--line); padding-top: .85rem; margin-top: .5rem; color: var(--accent); }
.coupon-row { display: flex; gap: .5rem; margin: 1rem 0; }
.coupon-row input { flex: 1; }
.empty-state { text-align: center; padding: 5rem 1rem; color: var(--text-muted); }

/* ---------------- Forms ---------------- */
.field { display: block; margin-bottom: 1rem; }
.field span { display: block; font-size: .82rem; font-weight: 700; margin-bottom: .35rem; color: var(--ink-soft); }
.field input, .field select, .field textarea {
  width: 100%; padding: .7rem .85rem; border: 1px solid var(--line); border-radius: var(--radius-sm);
  font-size: .93rem; font-family: inherit; background: #fff; color: var(--ink);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.field-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.field-check { display: flex; align-items: center; gap: .5rem; margin-bottom: 1.25rem; font-size: .9rem; }
.form-card { max-width: 460px; margin: 3rem auto; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 2.5rem; background: #fff; }
.form-card h1 { text-align: center; margin-bottom: .25rem; }
.form-card p.lead { text-align: center; color: var(--text-muted); margin-bottom: 1.75rem; font-size: .9rem; }
.form-foot { text-align: center; font-size: .87rem; color: var(--text-muted); margin-top: 1.25rem; }
.form-foot a { color: var(--accent); font-weight: 600; }

.alert { padding: .75rem 1rem; border-radius: var(--radius-sm); font-size: .87rem; margin-bottom: 1rem; }
.alert-error { background: #fdf1f1; border: 1px solid #f0b7b7; color: #a12a2a; }
.alert-success { background: #f0fbf4; border: 1px solid #b6e6c9; color: #1c7a44; }
.alert a { color: inherit; font-weight: 700; text-decoration: underline; }

.cart-added {
  display: flex;
  align-items: center;
  gap: .9rem;
  padding: 1rem 1.1rem;
  margin-top: .9rem;
  background: #ecfdf5;
  border: 1px solid #6ee7b7;
  border-radius: var(--radius-md);
  animation: cartAddedIn .28s ease;
}
.cart-added__icon {
  width: 28px;
  height: 28px;
  max-width: 28px;
  max-height: 28px;
  flex: 0 0 28px;
  box-sizing: border-box;
  overflow: hidden;
  border-radius: 50%;
  background: var(--success);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.cart-added__icon svg {
  width: 14px;
  height: 14px;
  max-width: 14px;
  max-height: 14px;
  display: block;
  flex: none;
}
.cart-added__text { flex: 1; min-width: 0; }
.cart-added__text strong { display: block; font-size: .98rem; color: var(--ink); line-height: 1.25; }
.cart-added__text span { display: block; margin-top: .15rem; font-size: .82rem; color: var(--text-muted); }
.cart-added .btn { flex-shrink: 0; white-space: nowrap; }
.cart-badge.pop { animation: cartBadgePop .45s ease; }
.pay-methods { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; margin-bottom: 1.15rem; }
.pay-method {
  height: 46px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  font-weight: 700;
}
.pay-method.is-current { border-color: var(--accent); background: var(--accent-soft); color: var(--accent); }
.pay-qr { display: flex; justify-content: center; margin: .75rem 0; }
.pay-qr img { width: 220px; height: 220px; background: #fff; }
.pay-copy { width: 100%; min-height: 5.5rem; font-size: .82rem; }

@keyframes cartAddedIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}
@keyframes cartBadgePop {
  0% { transform: scale(1); }
  35% { transform: scale(1.35); }
  100% { transform: scale(1); }
}

/* ---------------- Order tracking ---------------- */
.timeline { border-left: 2px solid var(--line); margin: 1.5rem 0 1.5rem 1rem; padding-left: 1.5rem; }
.timeline-step { position: relative; padding-bottom: 1.5rem; }
.timeline-step::before { content: ''; position: absolute; left: -1.65rem; top: 2px; width: 12px; height: 12px; border-radius: 50%; background: var(--line); }
.timeline-step.done::before { background: var(--accent); }
.timeline-step strong { display: block; font-size: .92rem; }
.timeline-step span { font-size: .8rem; color: var(--text-muted); }
.tracking-box { border: 1px solid var(--line); border-radius: var(--radius-md); padding: 1.25rem 1.5rem; margin: 1.5rem 0; display:flex; justify-content:space-between; align-items:center; background: var(--accent-soft); }
.tracking-box code { font-size: 1.05rem; font-weight: 700; letter-spacing: .04em; color: var(--accent); }

/* ---------------- Tables ---------------- */
.table { width: 100%; border-collapse: collapse; font-size: .88rem; }
.table th, .table td { padding: .7rem .8rem; border-bottom: 1px solid var(--line); text-align: left; }
.table th { color: var(--text-muted); font-weight: 600; font-size: .78rem; text-transform: uppercase; letter-spacing: .03em; }
.table tr:hover td { background: var(--bg-soft); }
.table-wrap { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table a { color: var(--accent); font-weight: 600; }
.table a.btn { color: inherit; font-weight: 600; }
.table a.btn-outline { color: var(--ink); }
.table a.btn-outline:hover { color: var(--accent); }
.table a.btn-danger-outline { color: var(--danger); }

.status-tag { display: inline-block; padding: .25rem .65rem; border-radius: 999px; font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .02em; }
.status-pending { background: #fdf3e3; color: #a3711b; }
.status-paid { background: #e7f0fd; color: #1a56b0; }
.status-processing { background: #eee7fd; color: #5a2eb0; }
.status-shipped { background: #e3f6fd; color: #147a9c; }
.status-delivered { background: #e6f8ec; color: #1c7a44; }
.status-cancelled { background: #fdeaea; color: #a12a2a; }
.status-approved { background: #e6f8ec; color: #1c7a44; }
.status-rejected { background: #fdeaea; color: #a12a2a; }
.status-in_process, .status-authorized { background: #e7f0fd; color: #1a56b0; }
.status-refunded, .status-charged_back { background: #fdeaea; color: #a12a2a; }

/* ---------------- Sobre nós ---------------- */
.about-hero {
  background: #0a0a0a;
  color: #fff;
  padding: 3.25rem 0 2.75rem;
  border-bottom: 3px solid var(--accent);
}
.about-hero__tag {
  margin: 0 0 .75rem;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255,255,255,.45);
}
.about-hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 5vw, 3.15rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
  font-weight: 700;
}
.about-hero__lead {
  margin: 0;
  max-width: 38rem;
  font-size: 1.05rem;
  line-height: 1.55;
  color: rgba(255,255,255,.72);
}
.about-body { padding: 2.75rem 0 3.5rem; }
.about-split {
  display: grid;
  grid-template-columns: 1.3fr .7fr;
  gap: 2.5rem;
  align-items: center;
  margin-bottom: 2.5rem;
}
.about-copy h2 { font-size: 1.35rem; margin-bottom: .75rem; }
.about-copy p { margin: 0 0 1rem; color: var(--ink-soft); }
.about-copy p:last-child { margin-bottom: 0; }
.about-plate {
  background: #111;
  color: #fff;
  border-radius: var(--radius-md);
  padding: 1.6rem 1.5rem 1.4rem;
  text-align: center;
  box-shadow: var(--shadow-md);
  border-top: 6px solid var(--accent);
}
.about-plate__league {
  display: block;
  font-size: .68rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(255,255,255,.45);
  font-weight: 700;
}
.about-plate__logo {
  display: block;
  height: 52px;
  width: auto;
  max-width: 220px;
  margin: .7rem auto .55rem;
  object-fit: contain;
}
.about-plate__city {
  display: block;
  font-size: .82rem;
  color: rgba(255,255,255,.62);
}
.about-stripes { display: flex; flex-direction: column; gap: .7rem; }
.about-stripe {
  display: grid;
  grid-template-columns: 7.2rem 1fr;
  gap: 1.1rem;
  align-items: start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 1.05rem 1.15rem;
}
.about-stripe__mark {
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  padding-top: .2rem;
}
.about-stripe h3 { font-size: 1rem; margin: 0 0 .3rem; }
.about-stripe p { margin: 0; font-size: .92rem; color: var(--ink-soft); }
.about-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .7rem;
  margin-top: 2rem;
}

/* ---------------- Admin ---------------- */
.admin-body { background: var(--bg-soft); min-height: 100vh; }
.admin-shell { display: flex; min-height: 100vh; }
.admin-sidebar { width: 230px; background: #000; color: var(--admin-sidebar-text); padding: 1.5rem 1.1rem; flex-shrink: 0; }
.admin-sidebar .brand { color: var(--admin-sidebar-text); font-size: 1.15rem; display:flex; margin-right: 0; }
.admin-sidebar nav a { display: block; padding: .65rem .8rem; border-radius: var(--radius-sm); color: rgba(255,255,255,.75); font-size: .9rem; margin-bottom: .2rem; }
.admin-sidebar nav a:hover, .admin-sidebar nav a.active { background: rgba(255,255,255,.12); color: #fff; }
.admin-main { flex: 1; padding: 2.25rem 2.75rem; max-width: 1180px; min-width: 0; }
.admin-topbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.75rem; gap: 1rem; flex-wrap: wrap; }
.admin-topbar h1 { font-size: 1.5rem; margin: 0; }
.card { background: #fff; border-radius: var(--radius-lg); padding: 1.75rem; box-shadow: var(--shadow-sm); margin-bottom: 1.5rem; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 1.25rem; margin-bottom: 1.75rem; }
.stat-card { background: #fff; border-radius: var(--radius-md); padding: 1.4rem; box-shadow: var(--shadow-sm); border-top: 3px solid var(--accent); }
.stat-card .value { font-size: 1.7rem; font-weight: 700; word-break: break-word; }
.stat-card .label { font-size: .82rem; color: var(--text-muted); }
.toolbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.25rem; gap: 1rem; flex-wrap: wrap; }
.variant-row { display: grid; grid-template-columns: 1fr 1fr 1fr 1fr auto; gap: .6rem; align-items: end; margin-bottom: .6rem; }
.tier-row { display: grid; grid-template-columns: 1fr 1fr auto; gap: .6rem; align-items: end; margin-bottom: .6rem; }
.remove-row-btn { height: 42px; padding: 0 .8rem; border: 1px solid var(--line); border-radius: var(--radius-sm); background: none; color: var(--danger); }
.modal-overlay { position: fixed; inset: 0; background: rgba(20,22,26,.5); display: none; align-items: center; justify-content: center; z-index: 50; padding: 1.5rem; }
.modal-overlay.open { display: flex; }
.modal-box { background: #fff; border-radius: var(--radius-lg); padding: 2rem; max-width: 460px; width: 100%; max-height: 88vh; overflow-y: auto; }

/* ---------------- Responsive ---------------- */
@media (max-width: 860px) {
  .container { padding: 0 1rem; }
  .site-header__inner { gap: .75rem; height: 62px; position: relative; }
  .site-header .brand { margin-right: 0; flex: 1; min-width: 0; }
  .brand-logo { height: 34px; max-width: 150px; }
  .site-footer { padding: 1.35rem 0 calc(1.35rem + env(safe-area-inset-bottom, 0px)); }
  .site-footer__inner {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: .7rem;
    flex-wrap: nowrap;
  }
  .brand--footer,
  .brand-logo--footer { flex: 0 0 auto; }
  .site-footer__inner p { max-width: 22rem; }
  .site-header { position: relative; z-index: 22; }
  .site-header .cart-link { display: none; }
  .site-nav .nav-about { display: none; }
  .nav-toggle { display: flex; order: -1; }
  .mobile-dock {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    position: sticky;
    top: 0;
    z-index: 21;
    background: #000;
    border-bottom: 1px solid #1a1a1a;
    padding: .35rem .25rem .4rem;
  }
  .mobile-dock__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .2rem;
    min-width: 0;
    padding: .35rem .15rem;
    color: rgba(255,255,255,.7);
    font-size: .62rem;
    font-weight: 700;
    letter-spacing: .02em;
    text-align: center;
    line-height: 1.15;
  }
  .mobile-dock__item.is-current,
  .mobile-dock__item:hover { color: #4db8ff; }
  .mobile-dock__cart { position: relative; display: inline-flex; }
  .mobile-dock__cart .cart-badge {
    position: absolute;
    top: -7px;
    right: -10px;
    min-width: 16px;
    height: 16px;
    font-size: .62rem;
    padding: 0 4px;
  }
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: #000;
    border-bottom: 1px solid #1a1a1a;
    box-shadow: var(--shadow-md);
    padding: .5rem 0;
    z-index: 30;
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: .85rem 1rem; border-bottom: 1px solid #1a1a1a; color: rgba(255,255,255,.85); }
  .site-nav a:last-child { border-bottom: none; }
  .cart-link { font-size: .85rem; }

  .hero { padding: 2.5rem 0 1.75rem; }
  .hero h1 { font-size: 1.9rem; }
  .hero p { font-size: .95rem; padding: 0 .5rem; }
  .hero-banner__viewport { aspect-ratio: 100 / 29; }
  .hero-banner__nav { width: 34px; height: 34px; }
  .hero-banner__nav--prev { left: .5rem; }
  .hero-banner__nav--next { right: .5rem; }

  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; padding: 1.5rem 0 3rem; }
  .product-page { padding-top: 1rem; }
  .product-detail { grid-template-columns: 1fr; gap: 1.75rem; padding-top: 1rem; padding-bottom: 2.5rem; }
  .product-info h1 { font-size: 1.45rem; }
  .cart-added { flex-wrap: wrap; }
  .cart-added .btn { width: 100%; }
  .product-price { font-size: 1.35rem; }
  .about-hero { padding: 2.25rem 0 2rem; }
  .about-split { grid-template-columns: 1fr; gap: 1.5rem; }
  .about-stripe { grid-template-columns: 1fr; gap: .35rem; }
  .about-actions .btn { width: 100%; }
  .qty-input button { width: 44px; height: 44px; }
  .qty-input input { font-size: 16px; width: 44px; }

  .cart-layout { grid-template-columns: 1fr; gap: 1.5rem; padding: 1.5rem 0 3rem; }
  .summary-card { position: static; }
  .cart-item { grid-template-columns: 72px 1fr; gap: .85rem; }
  .cart-item__price { grid-column: 2; text-align: left; margin-top: .35rem; }
  .cart-item__img { width: 72px; height: 90px; }

  .field-row { grid-template-columns: 1fr; }
  .field input, .field select, .field textarea { font-size: 16px; }
  .form-card { margin: 1.5rem auto; padding: 1.5rem; border-radius: var(--radius-md); }
  .tracking-box { flex-direction: column; align-items: flex-start; gap: .75rem; padding: 1rem; }
  .empty-state { padding: 3rem 1rem; }

  .admin-shell { flex-direction: column; }
  .admin-sidebar { width: 100%; padding: 1rem; }
  .admin-sidebar .brand { margin-bottom: 1rem; }
  .admin-sidebar nav { display: flex; flex-wrap: wrap; gap: .25rem; }
  .admin-sidebar nav a { margin-bottom: 0; }
  .admin-main { padding: 1.25rem 1rem; }
  .admin-topbar h1 { font-size: 1.25rem; }
  .card { padding: 1.15rem; }
  .variant-row, .tier-row { grid-template-columns: 1fr 1fr; }
  .variant-row .remove-row-btn, .tier-row .remove-row-btn { grid-column: 1 / -1; width: 100%; }
  .stat-card .value { font-size: 1.35rem; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-banner__slide { transition: none; }
  .wa-float, .wa-float::before { animation: none; }
}

@media (max-width: 480px) {
  .product-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 1.65rem; }
  .hero-banner__viewport { aspect-ratio: 100 / 29; }
  .chip-row { justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; padding: 1rem 0; -webkit-overflow-scrolling: touch; }
  .chip { flex-shrink: 0; }
  .variant-row, .tier-row { grid-template-columns: 1fr; }
  .coupon-row { flex-direction: column; }
  .table { font-size: .8rem; }
  .table th, .table td { padding: .55rem .5rem; white-space: nowrap; }
}
