/* =========================================================
   Azul Marinho Sports — tema esportivo nas cores da marca (marinho + ciano)
   ========================================================= */
:root {
  --bg: #08122e;
  --bg-2: #0b1838;
  --panel: #0f1f47;
  --panel-2: #152a5a;
  --line: #22396b;
  --text: #eef4ff;
  --muted: #9db0d3;
  --accent: #00adef;        /* azul ciano da marca */
  --accent-ink: #061334;
  --grass: #0077c8;
  --hot: #ff3d5a;
  --gold: #ffc531;
  --whats: #00adef;
  /* escala de azuis da identidade Azul Marinho */
  --blue-950: #050c22;
  --blue-900: #08122e;
  --blue-800: #0f1f47;      /* azul-marinho da marca */
  --blue-700: #16306b;
  --blue-600: #1d4a9a;
  --blue-500: #0077c8;
  --blue-400: #00adef;      /* azul ciano da marca */
  --blue-300: #5cc9f5;
  --blue-200: #a8e3fa;
  --blue-50: #e8f7fe;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 18px 50px rgba(0, 0, 0, .45);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --logo: "Montserrat", "Inter", system-ui, sans-serif;
  --display: "Bebas Neue", "Impact", "Arial Narrow", sans-serif;
  --top: 64px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}
body.lock { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
button:disabled { cursor: default; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.wrap { width: 100%; max-width: 1360px; margin: 0 auto; padding: 0 16px; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 0 20px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 700; text-decoration: none; letter-spacing: .01em; transition: transform .15s, background .2s, border-color .2s, box-shadow .2s;
  background: var(--panel-2);
}
.btn:active { transform: scale(.97); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn--primary { background: var(--accent); color: var(--accent-ink); box-shadow: 0 8px 30px rgba(0, 173, 239, .25); }
.btn--primary:hover { box-shadow: 0 10px 36px rgba(0, 173, 239, .4); }
.btn--ghost { background: rgba(255, 255, 255, .04); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--accent); }
.btn--whats { background: var(--whats); color: var(--accent-ink); }
.btn--whats:hover { filter: brightness(1.06); }
.btn--whats.disabled { opacity: .45; pointer-events: none; }
.btn--sm { min-height: 40px; padding: 0 14px; font-size: 14px; }
.btn--block { width: 100%; }
.btn--grow { flex: 1; }
.linkbtn { background: none; border: 0; padding: 4px 0; color: var(--accent); font-weight: 600; font-size: 14px; }
.linkbtn:hover { text-decoration: underline; }
.iconbtn {
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line);
  background: var(--panel); display: grid; place-items: center; font-size: 16px; flex: none;
}
.iconbtn:hover { border-color: var(--accent); }
.pill-n {
  display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; margin-left: 6px;
  border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-size: 12px; font-weight: 800;
}

/* ---------- Topo ---------- */
.topbar {
  position: sticky; top: 0; z-index: 40; height: var(--top);
  background: rgba(8, 18, 46, .85); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}
.topbar__in { height: 100%; display: flex; align-items: center; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.brand__logo { display: flex; flex-direction: column; align-items: flex-end; line-height: 1; }
.brand__word { display: flex; align-items: center; font-family: var(--logo); font-weight: 800; font-size: 24px; letter-spacing: -.01em; color: #fff; white-space: nowrap; }
.brand__power { width: .84em; height: .84em; margin-left: .04em; color: var(--accent); flex: none; }
.brand__sub { margin-top: 2px; font-family: var(--font); font-weight: 500; font-size: 12px; letter-spacing: .32em; text-transform: uppercase; color: var(--accent); margin-right: -.32em; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@keyframes spin { to { transform: rotate(360deg); } }

.search {
  flex: 1; min-width: 0; max-width: 620px; margin-left: auto; position: relative; display: flex; align-items: center;
  background: var(--panel); border: 1px solid var(--line); border-radius: 999px; height: 44px; padding: 0 14px; gap: 10px;
  transition: border-color .2s, box-shadow .2s;
}
.search:focus-within { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(0, 173, 239, .12); }
.search svg { width: 18px; height: 18px; color: var(--muted); flex: none; }
.search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--text); font: inherit; font-size: 15px; }
.search input::placeholder { color: #6c7889; }
.search kbd { font: 600 12px var(--font); color: var(--muted); border: 1px solid var(--line); border-radius: 6px; padding: 1px 7px; }
.bagbtn {
  position: relative; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--panel);
  display: grid; place-items: center; flex: none;
}
.bagbtn:hover { border-color: var(--accent); }
.bagbtn svg { width: 22px; height: 22px; }
.bagbtn__n {
  position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px;
  background: var(--hot); color: #fff; font-size: 12px; font-weight: 800; display: grid; place-items: center;
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  background:
    radial-gradient(60% 80% at 15% -10%, rgba(255, 255, 255, .16), transparent 60%),
    radial-gradient(60% 80% at 85% -10%, rgba(255, 255, 255, .12), transparent 60%),
    linear-gradient(180deg, #0f1f47 0%, #0c2a5e 45%, var(--bg) 100%);
}
.hero__pitch {
  position: absolute; inset: 0; z-index: -1; opacity: .5;
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .025) 0 80px, transparent 80px 160px),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 500' preserveAspectRatio='xMidYMid slice'%3E%3Cg fill='none' stroke='rgba(255,255,255,.14)' stroke-width='2'%3E%3Crect x='20' y='20' width='1160' height='460'/%3E%3Cline x1='600' y1='20' x2='600' y2='480'/%3E%3Ccircle cx='600' cy='250' r='80'/%3E%3Ccircle cx='600' cy='250' r='4' fill='rgba(255,255,255,.3)'/%3E%3Crect x='20' y='120' width='170' height='260'/%3E%3Crect x='20' y='190' width='60' height='120'/%3E%3Crect x='1010' y='120' width='170' height='260'/%3E%3Crect x='1120' y='190' width='60' height='120'/%3E%3Cpath d='M190 200a60 60 0 010 100M1010 200a60 60 0 000 100'/%3E%3C/g%3E%3C/svg%3E") center/cover no-repeat;
  mask-image: linear-gradient(180deg, #000 30%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, #000 30%, transparent 100%);
}
.hero__in { padding: 64px 16px 56px; }
.hero__kicker {
  display: inline-flex; align-items: center; gap: 8px; margin: 0 0 14px; padding: 6px 12px; border-radius: 999px;
  background: rgba(0, 173, 239, .1); border: 1px solid rgba(0, 173, 239, .35); color: var(--accent);
  font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
}
.hero__kicker::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px var(--accent); animation: pulse 1.6s infinite; }
@keyframes pulse { 50% { opacity: .35; } }
.hero__title {
  margin: 0; font-family: var(--display); font-weight: 400; font-size: clamp(54px, 9vw, 112px); line-height: .9; letter-spacing: .01em;
  text-transform: uppercase; text-shadow: 0 6px 40px rgba(0, 0, 0, .5);
}
.hero__title span { color: var(--accent); -webkit-text-stroke: 0; }
.hero__sub { margin: 16px 0 0; color: #c5cfdc; font-size: clamp(16px, 2vw, 19px); max-width: 560px; }
.hero__stats { display: flex; gap: 28px; margin: 28px 0 0; flex-wrap: wrap; }
.hero__stats div { display: flex; flex-direction: column; }
.hero__stats strong { font-family: var(--display); font-size: 44px; line-height: 1; color: #fff; font-weight: 400; }
.hero__stats span { color: var(--muted); font-size: 13px; text-transform: uppercase; letter-spacing: .08em; font-weight: 600; }
.hero__cta { display: flex; gap: 10px; margin-top: 28px; flex-wrap: wrap; }

.perks { border-block: 1px solid var(--line); background: var(--bg-2); overflow: hidden; }
.perks__in { display: flex; gap: 32px; padding: 12px 16px; white-space: nowrap; overflow-x: auto; scrollbar-width: none; font-size: 14px; color: #c5cfdc; }
.perks__in::-webkit-scrollbar { display: none; }
.perks b { font-weight: 600; }

/* ---------- Times ---------- */
.teams { padding: 28px 0 8px; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.section-head h2 { margin: 0; font-family: var(--display); font-weight: 400; font-size: 32px; letter-spacing: .03em; }
.teams__rail {
  display: grid; grid-auto-flow: column; grid-auto-columns: 96px; gap: 10px; overflow-x: auto; padding: 4px 2px 14px;
  scroll-snap-type: x proximity; scrollbar-width: thin; scrollbar-color: var(--line) transparent;
}
.team {
  scroll-snap-align: start; display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 12px 6px 10px;
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); transition: transform .15s, border-color .2s, background .2s;
}
.team:hover { transform: translateY(-3px); border-color: #3a4658; }
.team.on { border-color: var(--accent); background: linear-gradient(180deg, rgba(0, 173, 239, .12), var(--panel)); }
.team__name { font-size: 12.5px; font-weight: 700; text-align: center; line-height: 1.15; min-height: 2.3em; display: flex; align-items: center; }
.team__n { font-size: 11px; color: var(--muted); font-weight: 600; }
.team--f1 .crest { border-radius: 10px; }

.crest {
  --c1: #333; --c2: #fff; --ct: #fff;
  width: 26px; height: 26px; border-radius: 50%; flex: none; display: inline-grid; place-items: center;
  background: linear-gradient(135deg, var(--c1) 0 50%, var(--c2) 50% 100%);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .18), 0 2px 8px rgba(0, 0, 0, .4);
}
.crest b { display: none; }
.team .crest { width: 52px; height: 52px; }
.team .crest b {
  display: block; font-family: var(--display); font-weight: 400; font-size: 18px; letter-spacing: .04em; color: var(--ct);
  background: var(--c1); padding: 1px 6px; border-radius: 6px; box-shadow: 0 1px 4px rgba(0, 0, 0, .35);
}

/* ---------- Catálogo ---------- */
.catalog { display: grid; grid-template-columns: 270px 1fr; gap: 28px; padding-top: 18px; padding-bottom: 60px; align-items: start; }

.filters {
  position: sticky; top: calc(var(--top) + 16px); max-height: calc(100vh - var(--top) - 32px);
  display: flex; flex-direction: column; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
}
.filters__head { display: flex; align-items: center; justify-content: space-between; padding: 16px 16px 8px; gap: 8px; }
.filters__head h2 { margin: 0; font-family: var(--display); font-weight: 400; font-size: 26px; letter-spacing: .03em; }
.filters__close, .filters__foot { display: none; }
.filters__body { overflow-y: auto; padding: 0 8px 12px; scrollbar-width: thin; scrollbar-color: var(--line) transparent; }

.fgroup { border-top: 1px solid var(--line); padding: 4px 8px; }
.fgroup:first-child { border-top: 0; }
.fgroup summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; padding: 12px 0; font-weight: 700; font-size: 14px;
  text-transform: uppercase; letter-spacing: .06em; color: #d9e0ea;
}
.fgroup summary::-webkit-details-marker { display: none; }
.fgroup summary::after { content: ""; margin-left: auto; width: 8px; height: 8px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); transition: transform .2s; }
.fgroup[open] summary::after { transform: rotate(-135deg); }
.fgroup__opts { display: flex; flex-direction: column; gap: 2px; padding-bottom: 10px; }
.fgroup__search {
  width: 100%; margin: 0 0 8px; height: 36px; padding: 0 12px; border-radius: 8px; border: 1px solid var(--line);
  background: var(--bg-2); color: var(--text); font: inherit; font-size: 14px; outline: 0;
}
.fgroup__search:focus { border-color: var(--accent); }
.opt {
  display: flex; align-items: center; gap: 10px; width: 100%; padding: 7px 8px; border: 0; border-radius: 8px; background: none; text-align: left; font-size: 14.5px;
}
.opt:hover:not(:disabled) { background: rgba(255, 255, 255, .04); }
.opt:disabled { opacity: .35; }
.opt__box { width: 18px; height: 18px; border-radius: 5px; border: 2px solid #3a4658; flex: none; display: grid; place-items: center; transition: background .15s, border-color .15s; }
.opt.on .opt__box { background: var(--accent); border-color: var(--accent); }
.opt.on .opt__box::after { content: ""; width: 5px; height: 9px; border: solid var(--accent-ink); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg) translate(-1px, -1px); }
.opt__label { flex: 1; }
.opt__n { color: var(--muted); font-size: 12.5px; font-variant-numeric: tabular-nums; }
.fgroup__opts--sw { flex-direction: row; flex-wrap: wrap; gap: 8px; }
.swatch {
  display: flex; align-items: center; gap: 6px; padding: 5px 10px 5px 5px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg-2); font-size: 13px;
}
.swatch i { width: 20px; height: 20px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25); }
.swatch.on { border-color: var(--accent); background: rgba(0, 173, 239, .1); }
.swatch:disabled { opacity: .35; }

.toolbar { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; flex-wrap: wrap; }
.toolbar__filters { display: none; }
.toolbar__filters svg { width: 18px; height: 18px; }
.toolbar__count { margin: 0; color: var(--muted); }
.toolbar__count b { color: var(--text); font-size: 18px; }
.sort { margin-left: auto; display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 14px; }
.sort select {
  height: 40px; padding: 0 34px 0 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--panel) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%2394a0b2' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 14px center;
  color: var(--text); font: inherit; font-size: 14px; appearance: none; -webkit-appearance: none; cursor: pointer;
}

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.chips:empty { display: none; }
.chip { padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(0, 173, 239, .4); background: rgba(0, 173, 239, .08); color: var(--accent); font-size: 13px; font-weight: 600; }
.chip:hover { background: rgba(0, 173, 239, .16); }
.chip--clear { border-color: var(--line); background: none; color: var(--muted); }

/* ---------- Cards ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px; }
.card {
  position: relative; display: flex; flex-direction: column; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: transform .2s, border-color .2s, box-shadow .2s; animation: rise .35s both;
}
@keyframes rise { from { opacity: 0; transform: translateY(10px); } }
.card:hover { transform: translateY(-4px); border-color: #3a4658; box-shadow: var(--shadow); }
.card__img { position: relative; display: block; aspect-ratio: 1; background: #fff; overflow: hidden; }
.card__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .35s, transform .5s; }
.card__alt { opacity: 0; }
.card:hover .card__alt.ready { opacity: 1; }
.card:hover .card__img img { transform: scale(1.04); }
.card__badges { position: absolute; top: 10px; left: 10px; right: 10px; display: flex; flex-wrap: wrap; gap: 5px; pointer-events: none; }
.badge {
  padding: 3px 8px; border-radius: 6px; font-size: 10.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
  background: rgba(6, 15, 40, .82); color: #fff; backdrop-filter: blur(6px);
}
.badge--new { background: var(--accent); color: var(--accent-ink); }
.badge--retro { background: var(--gold); color: #2b1d00; }
.badge--pro { background: var(--hot); }
.card__photos { position: absolute; right: 8px; bottom: 8px; padding: 3px 8px; border-radius: 999px; background: rgba(6, 15, 40, .7); font-size: 11px; font-weight: 600; color: #fff; }
.card__body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card__team { display: flex; align-items: center; gap: 7px; color: var(--muted); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.card__team .crest { width: 16px; height: 16px; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .25); }
.card__title { margin: 0; font-size: 15px; font-weight: 700; line-height: 1.3; }
.card__title a { text-decoration: none; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card__title a::after { content: ""; position: absolute; inset: 0; } /* card inteiro clicável */
.card__foot { margin-top: auto; padding-top: 6px; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.card__sizes { font-size: 12px; color: var(--muted); border: 1px solid var(--line); border-radius: 6px; padding: 2px 7px; }
.card__price { font-weight: 800; color: var(--accent); }
.card__price--ask { font-size: 13px; font-weight: 700; color: #c5cfdc; }

.empty { text-align: center; padding: 60px 16px; color: var(--muted); }
.empty__ball { font-size: 54px; animation: bounce 1.2s infinite; }
@keyframes bounce { 50% { transform: translateY(-14px); } }
.empty h3 { color: var(--text); font-family: var(--display); font-weight: 400; font-size: 36px; margin: 10px 0 4px; }
.sentinel { height: 1px; }

/* ---------- Modal ---------- */
.modal, .drawer { position: fixed; inset: 0; z-index: 80; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(3, 9, 26, .78); backdrop-filter: blur(4px); opacity: 0; transition: opacity .2s; }
.modal.open .modal__backdrop, .drawer.open .modal__backdrop { opacity: 1; }
.modal__box {
  position: relative; margin: 4vh auto; width: min(1100px, calc(100% - 32px)); max-height: 92vh; overflow: auto;
  display: grid; grid-template-columns: 1.15fr 1fr; background: var(--panel); border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow);
  opacity: 0; transform: translateY(16px) scale(.98); transition: opacity .2s, transform .2s;
}
.modal.open .modal__box { opacity: 1; transform: none; }
.modal__close { position: absolute; top: 12px; right: 12px; z-index: 3; }
.gallery { background: #fff; display: flex; flex-direction: column; min-width: 0; }
.gallery__main { position: relative; aspect-ratio: 1; overflow: hidden; touch-action: pan-y; }
.gallery__main img { width: 100%; height: 100%; object-fit: contain; transition: opacity .2s; }
.gallery__main img.fade { opacity: .25; }
.gallery__nav {
  position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; border: 0;
  background: rgba(6, 15, 40, .75); color: #fff; font-size: 28px; line-height: 1; display: grid; place-items: center;
}
.gallery__nav:hover { background: #000; }
.gallery__nav--prev { left: 12px; }
.gallery__nav--next { right: 12px; }
.gallery__count { position: absolute; left: 12px; bottom: 12px; padding: 3px 10px; border-radius: 999px; background: rgba(6, 15, 40, .75); color: #fff; font-size: 12px; font-weight: 700; }
.gallery__thumbs { display: flex; gap: 8px; padding: 10px; overflow-x: auto; background: #f2f4f7; scrollbar-width: thin; }
.thumb { flex: none; width: 64px; height: 64px; border-radius: 10px; overflow: hidden; border: 2px solid transparent; padding: 0; background: #fff; opacity: .65; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb.on { border-color: var(--accent); opacity: 1; }
.pinfo { padding: 28px 26px; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.pinfo__team { display: flex; align-items: center; gap: 8px; color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: 13px; }
.pinfo__title { margin: 0; font-family: var(--display); font-weight: 400; font-size: clamp(30px, 3.4vw, 42px); line-height: 1; letter-spacing: .01em; padding-right: 40px; }
.pinfo__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { padding: 4px 10px; border-radius: 999px; background: var(--panel-2); border: 1px solid var(--line); font-size: 12.5px; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.tag--color i { width: 12px; height: 12px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .3); }
.pinfo__price strong { font-size: 28px; color: var(--accent); }
.pinfo__price span { font-size: 18px; font-weight: 700; }
.pinfo__price small { color: var(--muted); margin-left: 4px; }
.pinfo__label { font-weight: 700; margin-bottom: 8px; font-size: 14px; }
.pinfo__label small { color: var(--muted); font-weight: 500; }
.pinfo__row { display: flex; gap: 10px; align-items: stretch; }
.sizes { display: flex; flex-wrap: wrap; gap: 8px; }
.sizes.shake { animation: shake .4s; }
@keyframes shake { 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }
.size {
  min-width: 52px; height: 46px; padding: 0 10px; border-radius: 10px; border: 1px solid var(--line); background: var(--bg-2);
  font-weight: 800; display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1.1; transition: border-color .15s, background .15s;
}
.size small { font-size: 9.5px; font-weight: 600; color: var(--muted); }
.size:hover { border-color: #4a586c; }
.size.on { border-color: var(--accent); background: rgba(0, 173, 239, .14); color: var(--accent); }
.qty { display: flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; background: var(--bg-2); }
.qty button { width: 42px; height: 46px; border: 0; background: none; font-size: 20px; }
.qty span { min-width: 22px; text-align: center; font-weight: 800; }
.qty--sm button { width: 32px; height: 32px; font-size: 16px; }
.pinfo__share { align-self: flex-start; }
.pinfo__orig { color: var(--muted); font-size: 13px; }
.pinfo__orig summary { cursor: pointer; }
.pinfo__orig p { margin: 6px 0 0; word-break: break-word; }

/* ---------- Sacola ---------- */
.drawer__panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(420px, 100%); display: flex; flex-direction: column;
  background: var(--panel); border-left: 1px solid var(--line); transform: translateX(100%); transition: transform .25s ease;
}
.drawer.open .drawer__panel { transform: none; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 16px; border-bottom: 1px solid var(--line); }
.drawer__head h2 { margin: 0; font-family: var(--display); font-weight: 400; font-size: 30px; letter-spacing: .03em; }
.drawer__body { flex: 1; overflow-y: auto; padding: 8px 16px; }
.drawer__foot { padding: 16px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; align-items: center; }
.drawer__note { margin: 0; color: var(--muted); font-size: 13px; text-align: center; }
.bag-item { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); align-items: center; }
.bag-item img { width: 72px; height: 72px; border-radius: 10px; object-fit: cover; background: #fff; flex: none; }
.bag-item__info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; font-size: 13px; }
.bag-item__info strong { font-size: 14px; line-height: 1.25; }
.bag-item__info span { color: var(--muted); }
.bag-item .qty { align-self: flex-start; }
.bag-empty { text-align: center; padding: 60px 10px; color: var(--muted); }
.bag-empty div { font-size: 48px; }
.bag-empty p { color: var(--text); font-weight: 700; margin: 10px 0 4px; }

/* ---------- Toast / rodapé ---------- */
.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 120; transform: translate(-50%, 30px); opacity: 0; pointer-events: none;
  background: #fff; color: #0f1f47; padding: 12px 18px; border-radius: 999px; font-weight: 700; font-size: 14px; box-shadow: var(--shadow); transition: .25s;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.toast a { color: #0077c8; }
.footer { border-top: 1px solid var(--line); background: var(--bg-2); padding: 32px 0 calc(32px + env(safe-area-inset-bottom)); color: var(--muted); font-size: 14px; }
.footer__in { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; align-items: center; }
.footer__brand { font-family: var(--logo); font-weight: 800; font-size: 22px; color: var(--text); letter-spacing: -.01em; }
.footer p { margin: 4px 0 0; }
.footer__links { display: flex; gap: 16px; }
.footer__links a { text-decoration: none; font-weight: 700; color: var(--text); }
.footer__links a:hover { color: var(--accent); }

/* ---------- Responsivo ---------- */
@media (max-width: 960px) {
  .catalog { grid-template-columns: 1fr; }
  .toolbar__filters { display: inline-flex; }
  .filters {
    position: fixed; inset: auto 0 0 0; top: auto; z-index: 90; max-height: 88vh; border-radius: 22px 22px 0 0;
    transform: translateY(100%); transition: transform .25s ease; box-shadow: 0 -20px 60px rgba(0, 0, 0, .6);
  }
  body.filters-open { overflow: hidden; }
  body.filters-open .filters { transform: none; }
  body.filters-open::after { content: ""; position: fixed; inset: 0; z-index: 85; background: rgba(3, 9, 26, .7); }
  .filters__close { display: grid; }
  .filters__head .linkbtn { margin-left: auto; }
  .filters__foot { display: block; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }
  .modal__box { grid-template-columns: 1fr; margin: 0; width: 100%; max-height: 100%; height: 100%; border-radius: 0; border: 0; }
  .pinfo { padding: 20px 16px 32px; }
}
@media (max-width: 640px) {
  :root { --top: 60px; }
  .topbar__in { gap: 10px; }
  .brand__word { font-size: 17px; }
  .brand__sub { font-size: 9px; }
  .search kbd { display: none; }
  .search input { font-size: 16px; } /* evita zoom no iOS */
  .hero__in { padding: 40px 16px 36px; }
  .hero__stats { gap: 18px; }
  .hero__stats strong { font-size: 36px; }
  .hero__cta .btn { flex: 1 1 auto; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .card__body { padding: 10px 10px 12px; }
  .card__title { font-size: 13.5px; }
  .card__team { font-size: 10.5px; }
  .badge { font-size: 9.5px; padding: 2px 6px; }
  .card__photos { display: none; }
  .sort span { display: none; }
  .toolbar__count { order: 3; width: 100%; }
  .teams__rail { grid-auto-columns: 84px; }
  .team .crest { width: 44px; height: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* =========================================================
   Identidade Azul Marinho — faixas e tons de azul
   (gola da polo, envelope)
   ========================================================= */
.topbar { box-shadow: inset 0 -3px 0 var(--blue-400); }
.hero {
  background:
    radial-gradient(55% 75% at 12% -10%, rgba(92, 201, 245, .22), transparent 60%),
    radial-gradient(55% 75% at 88% -10%, rgba(29, 74, 154, .55), transparent 60%),
    linear-gradient(180deg, var(--blue-800) 0%, var(--blue-700) 50%, var(--blue-900) 100%);
}
.hero__stats strong { color: var(--blue-200); }
.btn--ghost { background: rgba(29, 74, 154, .35); border-color: var(--blue-600); }
.btn--ghost:hover { background: rgba(29, 74, 154, .6); border-color: var(--blue-400); }
.perks { background: var(--blue-400); border-block: 0; box-shadow: inset 0 3px 0 var(--blue-500); }
.perks__in { color: var(--blue-800); font-weight: 600; }
.perks b { font-weight: 800; }
.section-head h2 { color: #fff; }
.section-head h2::after { content: ""; display: block; width: 44px; height: 4px; margin-top: 6px; border-radius: 2px; background: linear-gradient(90deg, var(--blue-400), var(--blue-600)); }
.team { background: linear-gradient(180deg, var(--blue-700), var(--blue-800)); }
.team:hover { border-color: var(--blue-500); }
.card { background: linear-gradient(180deg, var(--blue-800), #0c1a3e); }
.card:hover { border-color: var(--blue-600); }
.card__team { color: var(--blue-300); }
.card__price--ask { color: var(--blue-200); }
.badge--pro { background: var(--blue-600); }
.footer { background: var(--blue-800); border-top: 6px solid var(--blue-400); box-shadow: inset 0 6px 0 var(--blue-500); }
.footer__links a { color: var(--blue-200); }
