@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@500;600;700;800&display=swap");

:root {
  --ink: #171516;
  --panel: #211d20;
  --panel-soft: #2c292d;
  --muted: #6b6870;
  --line: #dfe7ec;
  --paper: #eef3f5;
  --surface: #f7f9f6;
  --surface-strong: #edf4f0;
  --card: #fffdf8;
  --card-soft: #f8fbf8;
  --white: #ffffff;
  --blue: #1869c9;
  --blue-dark: #0e438a;
  --mint: #d9ead2;
  --green: #9bc788;
  --gold: #d29b35;
  --shadow: 0 18px 44px rgba(23, 21, 22, 0.13);
  --shadow-soft: 0 1px 2px rgba(23, 21, 22, 0.04), 0 10px 28px rgba(28, 39, 52, 0.08);
  --shadow-card: 0 2px 6px rgba(23, 21, 22, 0.05), 0 28px 56px rgba(25, 34, 45, 0.16);
  --shadow-hover: 0 4px 10px rgba(23, 21, 22, 0.06), 0 36px 70px rgba(25, 34, 45, 0.2);
  --radius: 18px;
  --radius-sm: 12px;
  --radius-lg: 26px;
  --line-strong: #cdd9e0;
  --band: #e9efee;
  --band-2: #eef2f7;
  /* Premium layer: tipografia, timing e foco */
  --font-body: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "Plus Jakarta Sans", Inter, ui-sans-serif, system-ui, -apple-system, sans-serif;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --t-fast: 0.16s;
  --t-med: 0.28s;
  --ring: 0 0 0 3px rgba(24, 105, 201, 0.34);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(1100px 520px at 84% -10%, rgba(24, 105, 201, 0.13), transparent 58%),
    radial-gradient(820px 460px at -5% 6%, rgba(155, 199, 136, 0.13), transparent 55%),
    linear-gradient(180deg, #e7edef 0%, #eef3f2 40%, #e8efec 100%);
  color: var(--ink);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select {
  font: inherit;
}

img {
  display: block;
  max-width: 100%;
}

.promo-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 7px 18px;
  background: linear-gradient(90deg, #111416, #1d2d3a 56%, #13251b);
  color: #eef8ec;
  font-size: 0.78rem;
  font-weight: 950;
  line-height: 1.35;
  text-align: center;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 26px;
  min-height: 82px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(255, 253, 248, 0.9);
  border-bottom: 1px solid rgba(31, 45, 58, 0.1);
  box-shadow: 0 12px 30px rgba(20, 28, 38, 0.06);
  backdrop-filter: blur(18px);
}

.brand img {
  width: 150px;
  border-radius: 6px;
  box-shadow: 0 10px 24px rgba(23, 21, 22, 0.08);
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  font-size: 0.92rem;
  font-weight: 850;
}

.mobile-menu-toggle {
  display: none;
}

.mobile-header-actions {
  display: none;
}

.main-nav a {
  border-radius: 8px;
  padding: 10px 12px;
  color: #312e33;
  transition: background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.main-nav a:hover,
.nav-dropdown:hover summary {
  background: rgba(24, 105, 201, 0.08);
  color: var(--blue-dark);
  box-shadow: inset 0 0 0 1px rgba(24, 105, 201, 0.08);
}

.nav-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  margin-left: 5px;
  border-radius: 999px;
  background: var(--blue);
  color: var(--white);
  font-size: 0.76rem;
  font-weight: 950;
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown summary {
  display: block;
  border-radius: 8px;
  padding: 10px 12px;
  color: #312e33;
  cursor: pointer;
  list-style: none;
}

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

.nav-dropdown summary::after {
  content: "▾";
  margin-left: 7px;
  color: var(--blue);
  font-size: 0.76rem;
}

.submenu-panel {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  z-index: 40;
  display: none;
  min-width: 260px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--card);
  box-shadow: var(--shadow-card);
}

.nav-dropdown[open] .submenu-panel {
  display: grid;
}

.submenu-panel a {
  border-radius: 0;
  padding: 13px 15px;
  border-bottom: 1px solid var(--line);
}

.submenu-panel a:last-child {
  border-bottom: 0;
}

.submenu-panel a:hover {
  background: var(--surface-strong);
  color: var(--blue-dark);
}

.nav-cta,
.btn,
.cart-button {
  border: 0;
  border-radius: 12px;
  cursor: pointer;
  font-weight: 900;
}

.main-nav .nav-cta {
  background: linear-gradient(135deg, var(--ink), #243646);
  color: var(--white);
}

/* ===== Hero: banner full-bleed (imagem enviada pelo admin) ===== */
.hero-banner {
  position: relative;
  width: 100%;
  background: var(--ink);
  line-height: 0;
}

.hero-banner img {
  display: block;
  width: 100%;
  height: auto;
  animation: heroFade 0.5s ease;
}

.hero-banner-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: clamp(10px, 2vw, 20px);
  justify-content: center;
  margin: 0;
}

@keyframes heroFade {
  from { opacity: 0.55; }
  to { opacity: 1; }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 14px;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 24px;
  height: 3px;
  border-radius: 3px;
  background: currentColor;
}

.order-section .eyebrow {
  color: var(--mint);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(4rem, 10vw, 8.4rem);
  line-height: 0.86;
  letter-spacing: -0.022em;
}

h2 {
  margin-bottom: 12px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 4.8vw, 4rem);
  line-height: 0.98;
  letter-spacing: -0.018em;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.16rem;
}

p {
  color: #5f5b62;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 14px 20px;
  border-radius: 12px;
  letter-spacing: 0.005em;
  transition: transform var(--t-fast) var(--ease), box-shadow var(--t-med) var(--ease), filter var(--t-fast) var(--ease);
}

.btn:hover,
.cart-button:hover {
  transform: translateY(-2px);
}

.btn:active,
.cart-button:active {
  transform: translateY(0) scale(0.99);
}

.btn:focus-visible,
.cart-button:focus-visible,
.nav-cta:focus-visible {
  outline: none;
  box-shadow: var(--ring);
}

.btn.primary {
  background: linear-gradient(135deg, #2b7de0, var(--blue) 52%, #0f57ad);
  color: var(--white);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 16px 32px rgba(24, 105, 201, 0.28);
}

.btn.primary:hover {
  filter: saturate(1.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.26), 0 22px 44px rgba(24, 105, 201, 0.38);
}

.btn.primary:focus-visible {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), var(--ring);
}

.btn.secondary {
  border: 1px solid rgba(255, 255, 255, 0.26);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  backdrop-filter: blur(10px);
}

.btn.full {
  width: 100%;
}

.showcase {
  min-width: 0;
}

.showcase-stage {
  min-height: 460px;
}

.slide {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: end;
  gap: 22px;
  min-height: 460px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: clamp(22px, 4vw, 36px);
  box-shadow: var(--shadow);
  isolation: isolate;
}

.slide::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(8, 9, 12, 0.78), rgba(8, 9, 12, 0.46), rgba(8, 9, 12, 0.24)),
    linear-gradient(0deg, rgba(8, 9, 12, 0.76), transparent 60%);
}

.slide-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image:
    var(--slide-media),
    url("/assets/images/sports-hub-logo.jpeg"),
    radial-gradient(circle at 24% 24%, rgba(217, 234, 210, 0.36), transparent 22%),
    radial-gradient(circle at 76% 24%, rgba(24, 105, 201, 0.48), transparent 28%),
    linear-gradient(135deg, rgba(23, 21, 22, 0.88), rgba(24, 105, 201, 0.46));
  background-size: cover, min(420px, 70%), cover, cover, cover;
  background-position: center, 72% center, center, center, center;
  background-repeat: no-repeat;
  opacity: 0.88;
  transform: scale(1.02);
}

.slide::after {
  content: "";
  position: absolute;
  inset: -40%;
  z-index: -1;
  background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, 0.18), transparent 54%);
  animation: slideSweep 6s ease-in-out infinite;
  transform: translateX(-40%);
}

@keyframes slideSweep {
  0% {
    transform: translateX(-45%) rotate(4deg);
  }
  55% {
    transform: translateX(45%) rotate(4deg);
  }
  100% {
    transform: translateX(45%) rotate(4deg);
  }
}

.slide > * {
  position: relative;
  z-index: 1;
}

.slide span {
  display: inline-flex;
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.slide h2 {
  max-width: 560px;
  color: var(--white);
}

.slide p {
  max-width: 520px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.78);
}

.gradient-blue {
  background:
    linear-gradient(135deg, rgba(23, 21, 22, 0.34), rgba(24, 105, 201, 0.2)),
    linear-gradient(135deg, #151417, #1869c9 60%, #d9ead2);
}

.gradient-green {
  background:
    linear-gradient(135deg, rgba(23, 21, 22, 0.28), rgba(23, 21, 22, 0.34)),
    linear-gradient(135deg, #102016, #9bc788 48%, #1869c9);
}

.gradient-dark {
  background:
    linear-gradient(135deg, rgba(24, 105, 201, 0.2), rgba(23, 21, 22, 0.54)),
    linear-gradient(135deg, #171516, #2c292d 50%, #1869c9);
}

.showcase-controls {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  margin-top: 12px;
}

.showcase-controls button {
  width: 34px;
  height: 7px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.28);
  cursor: pointer;
}

.showcase-controls button.active {
  background: var(--mint);
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  padding: 8px clamp(18px, 5vw, 72px);
  background: linear-gradient(180deg, var(--white), var(--card-soft));
  border-top: 1px solid rgba(31, 45, 58, 0.06);
  border-bottom: 1px solid rgba(31, 45, 58, 0.08);
  box-shadow: 0 12px 30px rgba(20, 28, 38, 0.05);
}

.trust-strip div {
  padding: 0;
  background: transparent;
}

.trust-strip strong,
.trust-strip span {
  display: block;
}

.trust-strip strong {
  font-size: 1rem;
}

.trust-strip span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.9rem;
}

/* ===== Cards de destaque (home) — admin sobe a arte 1:1 ===== */
.highlight-section {
  padding-top: 14px;
  padding-bottom: 22px;
}

.highlight-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: clamp(12px, 2vw, 22px);
}

.highlight-card {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--ink);
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.highlight-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.highlight-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}

.highlight-card:hover img {
  transform: scale(1.05);
}

.highlight-empty {
  display: grid;
  place-content: center;
  gap: 6px;
  width: 100%;
  height: 100%;
  padding: 16px;
  text-align: center;
  color: rgba(255, 255, 255, 0.88);
  background:
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0 12px, transparent 12px 24px),
    linear-gradient(135deg, var(--ink), #26424f);
}

.highlight-empty strong {
  font-size: clamp(1rem, 2.4vw, 1.3rem);
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.highlight-empty span {
  font-size: 0.76rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.55);
}

@media (max-width: 640px) {
  .highlight-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px;
  }
}

.section {
  padding: clamp(36px, 5vw, 60px) clamp(18px, 5vw, 72px);
}

main > .section:nth-of-type(even):not(.brand-band):not(.order-section):not(.world-cup):not(.reviews-section) {
  background: var(--band-2);
  border-top: 1px solid rgba(31, 45, 58, 0.06);
  border-bottom: 1px solid rgba(31, 45, 58, 0.06);
}

.page-hero {
  padding: clamp(54px, 8vw, 92px) clamp(18px, 5vw, 72px);
  border-bottom: 1px solid rgba(31, 45, 58, 0.08);
  background:
    linear-gradient(115deg, rgba(255, 253, 248, 0.9), rgba(231, 240, 236, 0.86) 58%, rgba(219, 232, 239, 0.86)),
    var(--surface);
}

.page-hero.dark {
  background:
    radial-gradient(880px 480px at 86% -25%, rgba(24, 105, 201, 0.42), transparent 60%),
    radial-gradient(620px 420px at 4% 130%, rgba(45, 168, 120, 0.32), transparent 62%),
    linear-gradient(135deg, #11161c, #1d2c3a 56%, #14271c);
  color: var(--white);
}

.page-hero.world {
  background:
    linear-gradient(115deg, rgba(255, 253, 248, 0.9), rgba(217, 234, 210, 0.74) 48%, rgba(232, 240, 246, 0.9));
}

.page-hero h1 {
  margin-bottom: 16px;
  font-size: clamp(3.2rem, 8vw, 7rem);
}

.page-hero p {
  max-width: 820px;
}

.page-hero.dark p {
  color: rgba(255, 255, 255, 0.76);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 28px;
}

.section-heading.wide {
  max-width: 960px;
}

.league-grid,
.media-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.league-card,
.media-grid article,
.product-card,
details {
  border: 1px solid rgba(31, 45, 58, 0.08);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--card), var(--card-soft));
  box-shadow: var(--shadow-soft);
}

.league-card {
  display: flex;
  min-height: 210px;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.league-card:hover {
  border-color: rgba(24, 105, 201, 0.42);
  box-shadow: var(--shadow-card);
  transform: translateY(-3px);
}

.league-card span {
  color: var(--blue);
  font-size: 0.76rem;
  font-weight: 950;
  text-transform: uppercase;
}

.toolbar {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}

.segmented {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.segmented button,
.segmented a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  border: 1px solid rgba(23, 21, 22, 0.1);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.82);
  color: var(--ink);
  cursor: pointer;
  font-weight: 850;
  padding: 8px 13px;
}

.segmented button.active,
.segmented a.active {
  border-color: var(--blue);
  background: var(--blue);
  color: var(--white);
}

.cart-button {
  min-height: 42px;
  padding: 10px 14px;
  background: linear-gradient(135deg, var(--ink), #263543);
  color: var(--white);
}

.cart-button span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 24px;
  margin-left: 6px;
  border-radius: 999px;
  background: var(--blue);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(12px, 1.6vw, 20px);
  max-width: 1340px;
  margin-inline: auto;
}

/* Mantém os cabeçalhos das listagens alinhados à largura do grid */
.collection-row,
#bestsellersSection > .section-heading,
.section > .toolbar {
  max-width: 1340px;
  margin-inline: auto;
}

.product-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.product-card {
  transition: transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease), border-color var(--t-med) var(--ease);
}

.product-card:hover {
  border-color: rgba(24, 105, 201, 0.32);
  box-shadow: var(--shadow-hover);
  transform: translateY(-6px);
}

.product-media {
  position: relative;
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: linear-gradient(180deg, #ffffff, #f4f7fa);
}

.product-media img {
  width: 100%;
  height: 100%;
  /* A foto preenche a moldura inteira; o corte em quadrado vem do Cloudinary
     (g_auto mira no produto), então nada importante é perdido. */
  object-fit: cover;
  transition: transform 0.55s var(--ease-out);
}

.product-card:hover .product-media img {
  transform: scale(1.06);
}

.shirt-shape {
  width: 138px;
  height: 138px;
  border-radius: 22px 22px 46px 46px;
  background: var(--shirt, linear-gradient(135deg, #fff, #dce9f5));
  box-shadow: inset 0 -12px 0 rgba(0, 0, 0, 0.08), var(--shadow);
  transform: rotate(-4deg);
}

.tag {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 1;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(19, 28, 36, 0.86);
  color: var(--white);
  font-size: 0.66rem;
  font-weight: 950;
}

.product-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 4px;
  padding: 12px 13px 13px;
  background: linear-gradient(180deg, rgba(255, 253, 248, 0.42), rgba(248, 251, 248, 0.76));
}

.product-meta {
  color: var(--blue);
  font-size: 0.68rem;
  font-weight: 950;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.product-card h3 {
  margin: 2px 0 0;
  font-size: 0.94rem;
  line-height: 1.28;
  font-weight: 850;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.price {
  margin: auto 0 0;
  padding-top: 8px;
  color: var(--ink);
  font-size: 1.12rem;
  font-weight: 950;
}

.price-parcela {
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 700;
}

/* Botão flutuante de WhatsApp */
.wa-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 60;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  box-shadow: 0 10px 26px rgba(37, 211, 102, 0.45);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.wa-float:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 14px 32px rgba(37, 211, 102, 0.55);
}

@media (max-width: 780px) {
  .wa-float { width: 52px; height: 52px; right: 14px; bottom: 14px; }

  /* Com a barra fixa de compra visível, o WhatsApp sobe para não cobrir o CTA. */
  body:has(.sticky-buy:not([hidden])) .wa-float {
    bottom: calc(86px + env(safe-area-inset-bottom, 0px));
  }
}

/* Urgência de estoque (só pronta entrega) */
.stock-urgency {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  width: fit-content;
  margin: 2px 0 8px;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(224, 49, 49, 0.1);
  color: #d9480f;
  font-size: 0.72rem;
  font-weight: 950;
}

.stock-urgency.big {
  margin: 10px 0 0;
  font-size: 0.84rem;
  padding: 5px 12px;
}

.product-actions {
  display: grid;
  gap: 10px;
}

.product-actions select,
.product-actions input {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 9px 11px;
  background: var(--white);
}

.product-card .btn {
  width: 100%;
  min-height: 40px;
  padding: 9px 14px;
  border-radius: 10px;
  font-size: 0.86rem;
}

.empty-state {
  grid-column: 1 / -1;
  display: grid;
  justify-items: start;
  gap: 12px;
  border: 1px dashed rgba(24, 105, 201, 0.36);
  border-radius: 8px;
  padding: 28px;
  background:
    linear-gradient(180deg, rgba(255, 253, 248, 0.84), rgba(238, 245, 240, 0.7)),
    var(--card);
}

.empty-state strong {
  font-size: 1.2rem;
}

.empty-state p {
  margin: 0;
}

.empty-note {
  color: var(--muted);
  font-weight: 850;
}

.text-link {
  color: var(--blue);
  font-weight: 950;
}

.order-section {
  background: linear-gradient(135deg, var(--ink), #263543);
  color: var(--white);
}

.order-section p,
.order-section .product-card p {
  color: rgba(255, 255, 255, 0.72);
}

.world-cup {
  background:
    linear-gradient(115deg, rgba(255, 253, 248, 0.9), rgba(217, 234, 210, 0.74) 52%, rgba(232, 240, 246, 0.9));
}

.world-cup .section-heading {
  max-width: 900px;
}

.order-section .product-card {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.1);
}

.order-section .product-card h3,
.order-section .price {
  color: var(--white);
}

.order-section .product-actions select,
.order-section .product-actions input {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.95);
}

.media-bank {
  background:
    linear-gradient(180deg, rgba(255, 253, 248, 0.76), rgba(238, 245, 240, 0.72)),
    var(--surface);
}

.media-grid article {
  display: grid;
  gap: 10px;
  padding: 22px;
}

.media-grid code {
  width: fit-content;
  border-radius: 6px;
  padding: 7px 9px;
  background: var(--surface-strong);
  color: var(--blue-dark);
  font-size: 0.88rem;
}

.media-grid span {
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: minmax(260px, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(24px, 6vw, 72px);
}

.about-copy {
  max-width: 760px;
}

.tinted {
  background:
    linear-gradient(180deg, rgba(237, 244, 240, 0.88), rgba(231, 239, 244, 0.88)),
    var(--surface-strong);
}

.faq-list {
  display: grid;
  gap: 10px;
  max-width: 900px;
}

details {
  padding: 18px 20px;
}

details.nav-dropdown {
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  padding: 0;
}

summary {
  cursor: pointer;
  font-weight: 950;
}

details p {
  margin: 12px 0 0;
}

.contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  background: linear-gradient(180deg, var(--card), var(--card-soft));
}

.contact div {
  max-width: 760px;
}

.cart-drawer {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: flex;
  justify-content: flex-end;
  pointer-events: none;
  background: rgba(23, 21, 22, 0);
  transition: background 0.2s ease;
}

.cart-drawer.open {
  pointer-events: auto;
  background: rgba(23, 21, 22, 0.46);
}

.cart-panel {
  width: min(430px, 100vw);
  height: 100%;
  padding: 22px;
  background: linear-gradient(180deg, var(--card), #f2f7f5);
  transform: translateX(100%);
  transition: transform 0.22s ease;
  box-shadow: var(--shadow);
}

.cart-drawer.open .cart-panel {
  transform: translateX(0);
}

.cart-head,
.cart-line,
.cart-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.cart-head button {
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.84);
  cursor: pointer;
  font-size: 1.6rem;
}

.cart-items {
  display: grid;
  gap: 12px;
  max-height: calc(100vh - 250px);
  overflow: auto;
  padding: 12px 0;
}

.cart-line {
  align-items: flex-start;
  border-bottom: 1px solid var(--line);
  padding-bottom: 12px;
}

.cart-line strong,
.cart-line span {
  display: block;
}

.cart-line span {
  color: var(--muted);
  font-size: 0.9rem;
}

.cart-line button {
  border: 0;
  background: transparent;
  color: var(--blue);
  cursor: pointer;
  font-weight: 950;
}

.cart-total {
  border-top: 1px solid var(--line);
  margin: 8px 0 18px;
  padding-top: 16px;
  font-size: 1.15rem;
}

.cart-page {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  gap: 22px;
  align-items: start;
}

.cart-page-list,
.cart-summary {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, var(--card), var(--card-soft));
  box-shadow: var(--shadow-soft);
}

.cart-page-list {
  display: grid;
  gap: 12px;
  padding: 22px;
}

.cart-summary {
  position: sticky;
  top: 110px;
  display: grid;
  gap: 14px;
  padding: 22px;
}

.cart-summary span {
  color: var(--muted);
  font-weight: 850;
}

.cart-summary strong {
  font-size: 1.8rem;
}

.cart-summary-note {
  color: var(--green) !important;
  font-size: 0.92rem;
  font-weight: 850;
  line-height: 1.35;
}

.checkout-totals {
  display: grid;
  gap: 8px;
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

.checkout-totals div,
.shipping-line {
  display: flex;
  justify-content: space-between;
  gap: 14px;
}

.checkout-totals span,
.checkout-totals strong,
.shipping-line strong {
  font-size: 0.98rem;
}

.shipping-summary {
  display: grid;
  gap: 8px;
}

.shipping-summary p {
  margin: 0;
  color: var(--muted);
  font-weight: 750;
}

.shipping-line {
  align-items: flex-start;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, #fbfdf9, #f2f7f5);
  padding: 12px;
}

.shipping-line div {
  display: grid;
  gap: 3px;
}

.shipping-line span,
.shipping-line small {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
}

.shipping-warning {
  border: 1px solid rgba(227, 159, 0, 0.35);
  border-radius: 8px;
  background: #fff8e6;
  color: #6f5100 !important;
  font-size: 0.9rem;
  font-weight: 850;
  line-height: 1.35;
  padding: 10px 12px;
}

.shipping-warning[hidden] {
  display: none;
}

.checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 380px);
  gap: 22px;
  align-items: start;
}

.checkout-form,
.checkout-summary,
.payment-box,
.order-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, var(--card), var(--card-soft));
  box-shadow: var(--shadow-soft);
}

.checkout-form,
.checkout-summary {
  display: grid;
  gap: 14px;
  padding: 22px;
}

.checkout-form label {
  display: grid;
  gap: 7px;
  color: #312e33;
  font-weight: 850;
}

.checkout-form input,
.checkout-form textarea {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.74);
}

.checkout-form textarea {
  min-height: 98px;
  resize: vertical;
}

.payment-box {
  display: grid;
  gap: 8px;
  padding: 18px;
  background:
    linear-gradient(135deg, rgba(24, 105, 201, 0.1), rgba(217, 234, 210, 0.5)),
    var(--card);
}

.payment-box strong {
  font-size: 1.08rem;
}

.checkout-item {
  display: grid;
  gap: 4px;
  border-bottom: 1px solid var(--line);
  padding: 0 0 12px;
}

.checkout-item:last-child {
  border-bottom: 0;
}

.checkout-item span {
  color: var(--muted);
}

.checkout-total {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  padding-top: 16px;
  font-size: 1.18rem;
}

.orders-area {
  padding-top: 20px;
}

.orders-list {
  display: grid;
  gap: 14px;
  max-width: 980px;
}

.order-card {
  display: grid;
  gap: 16px;
  padding: 20px;
}

.order-card-head,
.order-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.order-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.order-actions .btn {
  min-height: 40px;
  padding: 9px 14px;
  font-size: 0.86rem;
}

.order-card-head strong,
.order-card-head span,
.order-card-foot strong {
  display: block;
}

.order-number {
  color: var(--blue);
  font-size: 0.8rem;
  font-weight: 950;
}

.order-items {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.order-items li {
  display: grid;
  gap: 3px;
  border-top: 1px solid var(--line);
  padding-top: 10px;
}

.order-items small,
.order-card-head > span {
  color: var(--muted);
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(240px, 1.3fr) repeat(2, minmax(170px, 0.5fr));
  gap: 26px;
  padding: 42px clamp(18px, 5vw, 72px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(720px 380px at 88% -40%, rgba(24, 105, 201, 0.22), transparent 60%),
    radial-gradient(560px 360px at 6% 140%, rgba(45, 168, 120, 0.16), transparent 62%),
    linear-gradient(135deg, #0f1316, #1b2832 58%, #122019);
  color: rgba(255, 255, 255, 0.72);
}

.site-footer strong,
.site-footer span {
  display: block;
  color: var(--white);
  font-weight: 950;
}

.site-footer p {
  max-width: 360px;
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.66);
}

.site-footer a {
  display: block;
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.72);
}

.site-footer a:hover {
  color: var(--white);
}

.admin-layout {
  display: grid;
  grid-template-columns: minmax(280px, 430px) minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

.admin-form,
.admin-list {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, var(--card), var(--card-soft));
  box-shadow: var(--shadow-soft);
}

.admin-form {
  display: grid;
  gap: 14px;
  padding: 22px;
}

.admin-form label,
.admin-form fieldset {
  display: grid;
  gap: 7px;
  margin: 0;
  color: #312e33;
  font-weight: 850;
}

.admin-form input,
.admin-form select,
.admin-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.74);
}

.admin-form fieldset {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
}

.admin-form legend {
  padding: 0 6px;
  font-weight: 950;
}

.stock-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

/* Prévia de imagem única (slides e cards no painel) */
.image-preview {
  display: grid;
  place-items: center;
  min-height: 160px;
  overflow: hidden;
  border: 1px dashed rgba(24, 105, 201, 0.34);
  border-radius: 8px;
  background: linear-gradient(145deg, #eef3f6, #f7faf6);
  color: var(--muted);
  font-weight: 850;
}

.image-preview img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

/* Grade de fotos do produto no painel (galeria — a 1ª é a capa) */
.image-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: 10px;
}

.image-grid-empty {
  grid-column: 1 / -1;
  display: grid;
  place-items: center;
  min-height: 120px;
  border: 1px dashed rgba(24, 105, 201, 0.34);
  border-radius: 8px;
  background: linear-gradient(145deg, #eef3f6, #f7faf6);
  color: var(--muted);
  font-weight: 850;
}

.image-cell {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(15, 40, 80, 0.12);
  background: #f7faf6;
}

.image-cell.is-cover {
  border-color: rgba(24, 105, 201, 0.6);
  box-shadow: 0 0 0 2px rgba(24, 105, 201, 0.25);
}

.image-cell img {
  display: block;
  width: 100%;
  height: 120px;
  object-fit: cover;
}

.image-badge {
  position: absolute;
  left: 6px;
  bottom: 6px;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(24, 105, 201, 0.92);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 850;
}

.image-cover-btn {
  position: absolute;
  left: 6px;
  bottom: 6px;
  padding: 2px 8px;
  border: 0;
  border-radius: 999px;
  background: rgba(15, 30, 55, 0.72);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  cursor: pointer;
}

.image-cover-btn:hover {
  background: rgba(24, 105, 201, 0.92);
}

.image-remove {
  position: absolute;
  top: 5px;
  right: 5px;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 999px;
  background: rgba(15, 30, 55, 0.72);
  color: #fff;
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
}

.image-remove:hover {
  background: #c0392b;
}

.admin-actions {
  display: flex;
  gap: 10px;
}

.btn.plain {
  border: 1px solid var(--line);
  background: rgba(255, 253, 248, 0.82);
  color: var(--ink);
}

.admin-list {
  padding: 22px;
}

.compact-heading h2 {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
}

.admin-product {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
}

.admin-product:last-child {
  border-bottom: 0;
}

.admin-thumb {
  display: grid;
  place-items: center;
  width: 88px;
  height: 88px;
  overflow: hidden;
  border-radius: 8px;
  background: #eef3f6;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 850;
  text-align: center;
}

.admin-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 3px;
}

.admin-product strong,
.admin-product span {
  display: block;
}

.admin-product span {
  margin-top: 4px;
  color: var(--muted);
}

.admin-product-actions {
  display: flex;
  gap: 8px;
}

.admin-product-actions button {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.84);
  cursor: pointer;
  font-weight: 850;
  padding: 8px 10px;
}

.admin-page {
  background:
    radial-gradient(900px 500px at 90% -10%, rgba(24, 105, 201, 0.08), transparent 60%),
    linear-gradient(180deg, #e8eef2 0%, #f7faf6 44%, #edf4f0 100%);
}

.admin-page .page-hero.dark {
  min-height: 270px;
  background:
    radial-gradient(820px 460px at 86% -30%, rgba(24, 105, 201, 0.4), transparent 60%),
    radial-gradient(560px 380px at 6% 130%, rgba(45, 168, 120, 0.28), transparent 62%),
    linear-gradient(135deg, #111416, #263847 58%, #17291d);
}

.admin-overview {
  display: grid;
  gap: 16px;
  padding-top: 24px;
}

.admin-shortcuts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.admin-shortcuts a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  border: 1px solid rgba(24, 105, 201, 0.18);
  border-radius: 8px;
  padding: 9px 13px;
  background: rgba(255, 255, 255, 0.82);
  color: #24313c;
  font-size: 0.88rem;
  font-weight: 900;
  box-shadow: 0 10px 22px rgba(23, 21, 22, 0.05);
}

.admin-kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.admin-kpi {
  display: grid;
  gap: 7px;
  min-height: 118px;
  border: 1px solid rgba(31, 45, 58, 0.1);
  border-radius: 8px;
  padding: 18px;
  background: linear-gradient(180deg, rgba(255, 253, 248, 0.96), rgba(248, 251, 248, 0.9));
  box-shadow: var(--shadow-soft);
}

.admin-kpi span {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 950;
  text-transform: uppercase;
}

.admin-kpi strong {
  color: var(--ink);
  font-size: clamp(1.55rem, 2.5vw, 2.2rem);
  line-height: 1;
}

.admin-kpi small {
  color: #4f5c64;
  font-weight: 750;
}

.admin-orders-section {
  grid-template-columns: minmax(220px, 0.38fr) minmax(0, 1fr);
}

.admin-orders-list {
  display: grid;
  gap: 14px;
}

.admin-order-card {
  display: grid;
  gap: 14px;
  border: 1px solid rgba(31, 45, 58, 0.12);
  border-radius: 8px;
  padding: 18px;
  background: rgba(255, 253, 248, 0.92);
  box-shadow: 0 16px 34px rgba(25, 34, 45, 0.08);
}

.admin-order-head,
.admin-order-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.admin-order-head strong,
.admin-order-head span {
  display: block;
}

.admin-order-head strong {
  font-size: 1.08rem;
}

.admin-order-head > div > span {
  margin-top: 4px;
  color: var(--muted);
  font-weight: 750;
}

.admin-order-meta {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.admin-order-meta span,
.admin-order-items,
.admin-order-deliveries,
.admin-order-warning {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(247, 249, 246, 0.78);
}

.admin-order-meta span {
  display: grid;
  gap: 4px;
  padding: 10px;
  color: #34424b;
  font-weight: 800;
}

.admin-order-meta b {
  color: var(--muted);
  font-size: 0.72rem;
  text-transform: uppercase;
}

.admin-order-items,
.admin-order-deliveries {
  display: grid;
  gap: 6px;
  padding: 12px;
  color: #34424b;
  font-size: 0.9rem;
  font-weight: 760;
}

.admin-order-warning {
  margin: 0;
  padding: 10px 12px;
  color: #6d4a13;
  background: rgba(242, 216, 156, 0.32);
  font-weight: 850;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 32px;
  border-radius: 999px;
  padding: 6px 11px;
  background: #e8eef2;
  color: #263847;
  font-size: 0.76rem;
  font-weight: 950;
  text-transform: uppercase;
}

.status-pago {
  background: rgba(155, 199, 136, 0.26);
  color: #24512a;
}

.status-cancelado,
.status-pagamento-expirado {
  background: rgba(232, 86, 80, 0.14);
  color: #8e2a23;
}

.status-reembolsado {
  background: rgba(124, 92, 196, 0.16);
  color: #4a327e;
}

.status-revisao-manual {
  background: rgba(210, 155, 53, 0.2);
  color: #6d4a13;
}

.status-aguardando-pagamento,
.status-pagamento-pendente,
.status-pagamento-em-analise {
  background: rgba(24, 105, 201, 0.13);
  color: var(--blue-dark);
}

.admin-order-actions {
  flex-wrap: wrap;
  justify-content: flex-start;
}

.admin-order-actions label {
  display: grid;
  gap: 5px;
  min-width: min(260px, 100%);
  color: #312e33;
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.admin-order-actions select,
.admin-order-actions button {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 9px 12px;
  background: var(--white);
  color: var(--ink);
  font-weight: 900;
}

.admin-order-actions button {
  cursor: pointer;
}

.admin-order-actions .danger {
  border-color: rgba(232, 86, 80, 0.28);
  background: rgba(232, 86, 80, 0.1);
  color: #8e2a23;
}

.admin-mode-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 10px 18px;
  border-bottom: 1px solid rgba(31, 45, 58, 0.12);
  background: #17291d;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.86rem;
  font-weight: 780;
}

.admin-mode-strip strong,
.admin-mode-strip a {
  color: var(--white);
  font-weight: 950;
}

.admin-mode-strip a,
.admin-mode-strip button[data-admin-logout] {
  border-radius: 8px;
  padding: 7px 10px;
  background: rgba(255, 255, 255, 0.1);
}

.admin-mode-strip button[data-admin-logout] {
  border: 0;
  color: var(--white);
  font: inherit;
  font-weight: 950;
  cursor: pointer;
}

.admin-mode-strip button[data-admin-logout]:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* Atalho de controle do admin na página de produto (vê tudo igual ao cliente). */
.admin-product-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin-bottom: 4px;
  padding: 12px 14px;
  border: 1px solid rgba(24, 105, 201, 0.18);
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(255, 253, 248, 0.94), rgba(237, 244, 240, 0.86));
}

.admin-product-toolbar-note {
  flex: 1 1 200px;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 750;
}

.admin-product-toolbar .btn {
  margin-left: auto;
}

.auth-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 72% 12%, rgba(24, 105, 201, 0.22), transparent 28%),
    linear-gradient(135deg, var(--ink), #253444);
}

.auth-shell {
  display: grid;
  place-items: center;
  min-height: 100vh;
  padding: 28px;
}

.auth-brand img {
  width: 170px;
  margin-bottom: 18px;
  border-radius: 8px;
}

.auth-card {
  display: grid;
  gap: 14px;
  width: min(460px, 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: 26px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow);
}

.auth-card h1 {
  margin-bottom: 0;
  font-size: clamp(2.8rem, 8vw, 4.4rem);
}

.auth-card label {
  display: grid;
  gap: 7px;
  font-weight: 850;
}

.auth-card input {
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
}

.auth-switch,
.form-message {
  margin: 0;
  color: var(--muted);
}

.auth-switch a {
  color: var(--blue);
  font-weight: 950;
}

.auth-note {
  margin: -2px 0 0;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.45;
}

.auth-forgot {
  justify-self: end;
  margin-top: -4px;
  color: var(--blue);
  font-weight: 850;
  font-size: 0.86rem;
}

.auth-forgot:hover {
  text-decoration: underline;
}

.nav-button {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  cursor: pointer;
  font-weight: 900;
  padding: 10px 12px;
}

.account-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

@media (max-width: 1120px) {
  .hero-store {
    grid-template-columns: 1fr;
  }

  .league-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 780px) {
  .topbar {
    position: static;
    grid-template-columns: 1fr;
  }

  .promo-bar {
    display: block;
    min-height: 0;
    padding: 8px 14px;
    font-size: 0.68rem;
    line-height: 1.35;
    text-align: center;
    white-space: normal;
  }

  .main-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    justify-content: stretch;
    max-width: 326px;
    width: 100%;
  }

  .main-nav a,
  .nav-dropdown summary {
    border: 1px solid var(--line);
    background: var(--white);
    font-size: 0.78rem;
    padding: 10px 8px;
    text-align: center;
  }

  .nav-dropdown {
    position: static;
  }

  .submenu-panel {
    position: static;
    grid-column: 1 / -1;
    margin-top: 8px;
    min-width: 0;
    width: 100%;
    box-shadow: none;
  }

  .submenu-panel a {
    border: 0;
    border-bottom: 1px solid var(--line);
    font-size: 0.82rem;
    text-align: left;
  }

  .main-nav .nav-cta {
    background: var(--ink);
  }

  .hero-store {
    align-items: start;
    padding-top: 38px;
  }

  .hero-copy,
  .showcase,
  .page-hero > * {
    max-width: 320px;
    width: 100%;
    min-width: 0;
  }

  .page-hero p,
  .hero-store p {
    max-width: 300px;
  }

  h1 {
    font-size: clamp(3.5rem, 19vw, 5rem);
  }

  .hero-actions,
  .toolbar,
  .contact {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .btn {
    max-width: 326px;
    width: 100%;
  }

  .showcase-stage,
  .slide {
    min-height: 390px;
  }

  .slide {
    grid-template-columns: 1fr;
  }

  .trust-strip,
  .league-grid,
  .media-grid,
  .split,
  .admin-layout,
  .cart-page,
  .checkout-layout {
    grid-template-columns: 1fr;
  }

  .product-grid,
  .stock-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .admin-product {
    grid-template-columns: 72px minmax(0, 1fr);
  }

  .admin-product-actions {
    grid-column: 1 / -1;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }

  .order-card-head,
  .order-card-foot {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* ===== Ícones ===== */
.icon {
  display: inline-block;
  vertical-align: middle;
  flex: none;
}

.icon-slot {
  display: inline-flex;
  align-items: center;
}

.main-nav .nav-icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px;
  border-radius: 10px;
  color: #312e33;
}

.main-nav .nav-icon:hover {
  background: rgba(24, 105, 201, 0.08);
  color: var(--blue);
}

.main-nav .nav-icon .icon {
  color: inherit;
}

.main-nav .nav-icon .nav-count {
  position: absolute;
  top: 1px;
  right: 1px;
  min-width: 17px;
  height: 17px;
  margin: 0;
  padding: 0 4px;
  border: 2px solid var(--paper);
  font-size: 0.62rem;
}

.main-nav .nav-auth {
  display: inline-flex;
  align-items: center;
  padding: 9px 14px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--ink), #263543);
  color: var(--white);
  font-weight: 900;
}

.main-nav .nav-auth:hover {
  background: var(--blue);
  color: var(--white);
}

.main-nav .nav-logout {
  display: inline-flex;
  align-items: center;
  padding: 9px 14px;
  border: 1px solid rgba(31, 45, 58, 0.18);
  border-radius: 8px;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.main-nav .nav-logout:hover {
  background: var(--ink);
  color: var(--white);
}

/* Botão favoritar nos cards de produto */
.fav-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: #312e33;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(23, 21, 22, 0.16);
  transition: transform 0.15s ease, color 0.15s ease;
}

.fav-btn:hover {
  transform: scale(1.08);
  color: var(--blue);
}

.fav-btn[aria-pressed="true"] {
  color: #e0245e;
}

.fav-btn[aria-pressed="true"] svg path {
  fill: currentColor;
}

/* ===== Área de conta ===== */
.page-hero.account-hero {
  padding: clamp(32px, 5vw, 56px) clamp(18px, 5vw, 72px) clamp(18px, 3vw, 30px);
}

.account-hero h1 {
  margin-bottom: 10px;
  font-size: clamp(2.4rem, 5vw, 3.6rem);
}

.account-hero p {
  max-width: 620px;
}

.account-shell {
  display: grid;
  grid-template-columns: minmax(240px, 300px) minmax(0, 1fr);
  gap: 22px;
  align-items: start;
  padding-top: clamp(16px, 3vw, 28px);
}

.account-menu {
  position: sticky;
  top: 100px;
  display: grid;
  gap: 14px;
  align-content: start;
}

.account-id {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: linear-gradient(180deg, var(--card), var(--card-soft));
  box-shadow: var(--shadow-soft);
}

.account-avatar {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  flex: none;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(24, 105, 201, 0.16), rgba(217, 234, 210, 0.6));
  color: var(--blue);
}

.account-id-text {
  min-width: 0;
}

.account-id-text strong {
  display: block;
}

.account-id-text span {
  display: block;
  overflow: hidden;
  color: var(--muted);
  font-size: 0.86rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-nav {
  display: grid;
  gap: 4px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: linear-gradient(180deg, var(--card), var(--card-soft));
  box-shadow: var(--shadow-soft);
}

.account-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 12px;
  border-radius: 8px;
  color: #312e33;
  font-weight: 850;
}

.account-link-icon {
  display: inline-flex;
  color: var(--muted);
}

.account-link-label {
  flex: 1;
}

.account-link-chevron {
  display: inline-flex;
  color: rgba(23, 21, 22, 0.28);
}

.account-link:hover {
  background: rgba(24, 105, 201, 0.08);
}

.account-link.active {
  background: var(--blue);
  color: var(--white);
}

.account-link.active .account-link-icon,
.account-link.active .account-link-chevron {
  color: var(--white);
}

.account-logout {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 253, 248, 0.82);
  color: var(--ink);
  cursor: pointer;
  font-weight: 900;
}

.account-logout:hover {
  border-color: rgba(224, 36, 94, 0.4);
  color: #e0245e;
}

.account-content {
  display: grid;
  gap: 18px;
  min-width: 0;
}

.account-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.stat-card {
  display: grid;
  gap: 8px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: linear-gradient(180deg, var(--card), var(--card-soft));
  box-shadow: var(--shadow-soft);
  transition: transform 0.16s ease, border-color 0.16s ease;
}

.stat-card:hover {
  transform: translateY(-3px);
  border-color: rgba(24, 105, 201, 0.4);
}

.stat-icon {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(24, 105, 201, 0.14), rgba(217, 234, 210, 0.55));
  color: var(--blue);
}

.stat-card strong {
  font-size: 1.9rem;
  line-height: 1;
}

.stat-card > span:last-child {
  color: var(--muted);
  font-weight: 850;
}

.account-card {
  display: grid;
  gap: 14px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: linear-gradient(180deg, var(--card), var(--card-soft));
  box-shadow: var(--shadow-soft);
}

.account-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.account-card-head h2 {
  margin: 0;
  font-size: 1.3rem;
}

.account-card-head h2.with-icon,
.order-status,
.address-card-head strong {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.muted-count {
  color: var(--muted);
  font-weight: 850;
  font-size: 0.9rem;
}

.order-status .icon {
  color: var(--blue);
}

.account-empty {
  display: grid;
  justify-items: start;
  gap: 10px;
  padding: 26px;
  border: 1px dashed rgba(24, 105, 201, 0.34);
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(255, 253, 248, 0.7), rgba(238, 245, 240, 0.72));
}

.account-empty-icon {
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--white);
  color: var(--blue);
  box-shadow: 0 8px 20px rgba(23, 21, 22, 0.08);
}

.account-empty strong {
  font-size: 1.15rem;
}

.account-empty p {
  margin: 0;
}

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

.address-card {
  display: grid;
  gap: 10px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(255, 253, 248, 0.76), rgba(238, 245, 240, 0.72));
}

.address-card.is-default {
  border-color: rgba(24, 105, 201, 0.5);
  background: linear-gradient(135deg, rgba(24, 105, 201, 0.06), rgba(217, 234, 210, 0.3));
}

.address-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.address-card p {
  margin: 0;
  color: #4f4b53;
  line-height: 1.6;
}

.address-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 9px;
  border-radius: 999px;
  background: var(--blue);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 950;
  text-transform: uppercase;
}

.badge-admin {
  background: var(--ink);
}

.badge-test {
  background: #b45309;
}

.link-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--blue);
  cursor: pointer;
  font-weight: 900;
  font-size: 0.9rem;
}

.link-btn:hover {
  text-decoration: underline;
}

.link-btn.danger {
  color: #e0245e;
}

.account-form {
  display: grid;
  gap: 14px;
}

.account-form label {
  display: grid;
  gap: 7px;
  color: #312e33;
  font-weight: 850;
}

.account-form input {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.74);
}

.form-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.form-row > label {
  flex: 1 1 150px;
}

.form-row > label.grow {
  flex: 2 1 220px;
}

.account-form label.check {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  color: #4f4b53;
  font-weight: 700;
}

.account-form label.check input {
  width: auto;
  min-height: 0;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.profile-head-card {
  display: flex;
  align-items: center;
  gap: 18px;
}

.profile-avatar {
  display: inline-grid;
  place-items: center;
  width: 74px;
  height: 74px;
  flex: none;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(24, 105, 201, 0.18), rgba(217, 234, 210, 0.6));
  color: var(--blue);
}

.profile-head-text {
  display: grid;
  gap: 6px;
}

.profile-head-text h2 {
  margin: 0;
}

.profile-email {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: 0;
  color: var(--muted);
}

.profile-email .icon {
  color: var(--blue);
}

.security-card p {
  margin: 0;
}

@media (max-width: 900px) {
  .account-shell {
    grid-template-columns: 1fr;
  }

  .account-menu {
    position: static;
  }
}

@media (max-width: 620px) {
  .account-stats {
    grid-template-columns: 1fr;
  }

  .profile-head-card {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Transição suave ao trocar de slide (carrossel) */
.showcase-stage .slide {
  animation: slideFade 0.55s ease;
}

@keyframes slideFade {
  from {
    opacity: 0.25;
    transform: scale(0.99);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Card do carrossel vira painel de vidro sobre o GIF do hero */
.showcase-stage .slide {
  background: rgba(10, 14, 22, 0.42);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-color: rgba(255, 255, 255, 0.18);
}

/* ===== Trust strip com ícones ===== */
.trust-strip > div {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 22px;
  border-left: 1px solid rgba(31, 45, 58, 0.07);
  transition: transform var(--t-fast) var(--ease);
}

.trust-strip > div:first-child {
  border-left: 0;
}

.trust-strip > div:hover {
  transform: translateY(-2px);
}

.trust-strip > div > div {
  padding: 0;
  background: transparent;
}

.trust-strip i[data-icon],
.trust-strip .icon {
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(24, 105, 201, 0.14), rgba(155, 199, 136, 0.18));
  color: var(--blue);
  transition: transform var(--t-fast) var(--ease), background var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}

.trust-strip > div:hover i[data-icon],
.trust-strip > div:hover .icon {
  transform: scale(1.08);
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  color: #fff;
}

@media (max-width: 780px) {
  .trust-strip > div {
    border-left: 0;
    border-top: 1px solid rgba(31, 45, 58, 0.07);
    padding: 12px 6px;
  }

  .trust-strip > div:first-child {
    border-top: 0;
  }
}

/* ===== Seção de avaliações (home) ===== */
.reviews-section {
  background:
    radial-gradient(700px 320px at 50% -10%, rgba(24, 105, 201, 0.1), transparent 60%),
    linear-gradient(180deg, rgba(232, 240, 246, 0.92), rgba(217, 234, 210, 0.5)),
    var(--band);
  border-top: 1px solid rgba(31, 45, 58, 0.06);
  border-bottom: 1px solid rgba(31, 45, 58, 0.06);
}

.section-heading.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.review-card {
  display: grid;
  gap: 14px;
  align-content: start;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(180deg, var(--card), var(--card-soft));
  box-shadow: var(--shadow-soft);
}

.stars {
  display: inline-flex;
  gap: 3px;
}

.stars .star {
  display: inline-flex;
  color: #cfd6de;
}

.stars .star.on {
  color: #f6b01e;
}

.stars .star.on svg path {
  fill: currentColor;
}

.review-text {
  margin: 0;
  color: #3f3b43;
  font-size: 1.02rem;
  line-height: 1.6;
}

.review-foot {
  display: flex;
  align-items: center;
  gap: 12px;
}

.review-avatar {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  color: var(--white);
  font-weight: 950;
}

.review-who strong {
  display: block;
}

.review-who span {
  color: var(--muted);
  font-size: 0.88rem;
}

.reviews-empty {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--muted);
  text-align: center;
}

/* ===== Faixa de marca ===== */
.brand-band {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(900px 520px at 10% -15%, rgba(24, 105, 201, 0.5), transparent 58%),
    radial-gradient(820px 560px at 94% 120%, rgba(45, 168, 120, 0.42), transparent 60%),
    radial-gradient(600px 420px at 72% 6%, rgba(24, 105, 201, 0.22), transparent 55%),
    linear-gradient(135deg, #0e131a, #16242f 52%, #112b22);
  color: var(--white);
}

.brand-band-inner {
  max-width: 860px;
}

.brand-band .eyebrow {
  color: var(--mint);
}

.brand-band p {
  color: rgba(255, 255, 255, 0.78);
}

.btn.plain.light {
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: transparent;
  color: var(--white);
}

/* Divisor "ou" e botão de login com Google */
.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.auth-divider::before,
.auth-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}

.google-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid var(--line);
  background: var(--white);
  color: #312e33;
}

.google-btn:hover {
  background: #f7fafb;
}

.google-btn:disabled {
  opacity: 0.6;
  cursor: default;
}

.google-g {
  flex: none;
}

/* ===== Banner de consentimento (LGPD) ===== */
.consent-banner {
  position: fixed;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  z-index: 80;
  display: flex;
  align-items: center;
  gap: 16px;
  width: min(820px, calc(100% - 28px));
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  box-shadow: 0 18px 44px rgba(23, 21, 22, 0.22);
}

.consent-banner p {
  flex: 1;
  margin: 0;
  color: #4f4b53;
  font-size: 0.9rem;
}

.consent-banner a {
  color: var(--blue);
  font-weight: 850;
}

.consent-banner .btn {
  flex: none;
  min-height: 40px;
}

@media (max-width: 620px) {
  .consent-banner {
    flex-direction: column;
    align-items: stretch;
  }
}

/* ===== Rodapé legal ===== */
.footer-legal {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.84rem;
}

.footer-legal-links {
  display: inline-flex;
  gap: 18px;
}

.footer-legal-links a {
  display: inline;
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
}

.footer-legal-links a:hover {
  color: var(--white);
}

/* ===== Apagar conta (discreto) ===== */
.account-delete {
  margin: 4px 2px 0;
  text-align: right;
}

.account-delete .link-btn {
  font-size: 0.82rem;
  font-weight: 700;
  opacity: 0.7;
}

.account-delete .link-btn:hover {
  opacity: 1;
}

/* ===== Páginas legais ===== */
.legal-content {
  display: grid;
  gap: 8px;
  max-width: 860px;
}

.legal-content h2 {
  margin: 22px 0 4px;
  font-size: 1.3rem;
  scroll-margin-top: 100px;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content p,
.legal-content li {
  color: #4f4b53;
  line-height: 1.7;
}

.legal-content ul {
  display: grid;
  gap: 6px;
  margin: 0;
  padding-left: 20px;
}

.legal-content a {
  color: var(--blue);
  font-weight: 700;
}

.legal-updated {
  color: var(--muted);
  font-weight: 850;
  font-size: 0.86rem;
}

/* ===== Rodapé completo ===== */
.site-footer {
  display: block;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1.4fr;
  gap: 32px;
}

.footer-col {
  display: grid;
  gap: 10px;
  align-content: start;
}

.footer-col > span {
  margin-bottom: 4px;
  color: var(--white);
  font-weight: 950;
}

.footer-col a {
  display: block;
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
}

.footer-col a:hover {
  color: var(--white);
}

.footer-brand {
  display: grid;
  gap: 14px;
  align-content: start;
}

.footer-logo img {
  width: 140px;
  border-radius: 6px;
}

.footer-brand p {
  max-width: 380px;
  margin: 0;
  color: rgba(255, 255, 255, 0.66);
}

.footer-ig {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px;
  color: rgba(255, 255, 255, 0.8);
}

.footer-ig:hover {
  border-color: rgba(255, 255, 255, 0.45);
  color: var(--white);
}

.footer-contact {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-top: 30px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-contact-info span {
  display: block;
  margin-bottom: 6px;
  color: var(--white);
  font-weight: 950;
}

.footer-contact-info a {
  color: var(--mint);
}

.footer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.badge-group > span {
  display: block;
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.76rem;
  font-weight: 850;
  font-style: normal;
}

.chip-secure {
  color: var(--mint);
}

@media (max-width: 780px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== Modal de confirmação ===== */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(8, 9, 12, 0);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, background 0.2s ease;
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
  background: rgba(8, 9, 12, 0.55);
}

.modal-card {
  width: min(420px, 100%);
  padding: 24px;
  border-radius: 14px;
  background: var(--white);
  box-shadow: var(--shadow);
  transform: translateY(10px);
  transition: transform 0.2s ease;
}

.modal-overlay.open .modal-card {
  transform: translateY(0);
}

.modal-card h3 {
  margin: 0 0 8px;
  font-size: 1.25rem;
}

.modal-card p {
  margin: 0 0 18px;
  color: #4f4b53;
}

.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.btn.danger-btn {
  background: #e0245e;
  color: var(--white);
}

.btn.danger-btn:hover {
  background: #c81e50;
}

/* ===== Mega-menu de categorias ===== */
.submenu-panel.mega {
  display: grid;
  grid-template-columns: repeat(4, minmax(150px, 1fr));
  gap: 6px 22px;
  /* Ancorado pela direita p/ não vazar da tela (o gatilho "Categorias" fica à direita do menu) */
  left: auto;
  right: 0;
  width: min(760px, calc(100vw - 40px));
  max-width: calc(100vw - 40px);
  padding: 20px 24px;
}

.mega-col {
  display: grid;
  gap: 2px;
  align-content: start;
}

.submenu-panel.mega .mega-head {
  margin-bottom: 6px;
  padding: 6px 0;
  border: 0;
  border-bottom: 2px solid var(--blue);
  color: var(--blue);
  font-weight: 950;
  text-transform: uppercase;
  font-size: 0.82rem;
  letter-spacing: 0.03em;
}

.submenu-panel.mega a {
  border: 0;
  padding: 7px 0;
  color: #4f4b53;
  font-size: 0.9rem;
}

.submenu-panel.mega a:hover {
  background: transparent;
  color: var(--blue);
}

.submenu-panel.mega .mega-head:hover {
  color: var(--blue);
}

@media (max-width: 780px) {
  .submenu-panel.mega {
    grid-template-columns: 1fr 1fr;
    width: min(440px, calc(100vw - 24px));
    gap: 4px 16px;
    padding: 14px;
  }
}

/* ===== Card clicável ===== */
.product-card {
  position: relative;
}

.product-card .product-media {
  width: 100%;
}

.product-titlelink {
  display: block;
  color: inherit;
}

.product-titlelink:hover h3 {
  color: var(--blue);
}

/* ===== Página de produto ===== */
.product-page {
  max-width: 1280px;
  margin: 0 auto;
}

.breadcrumb {
  margin-bottom: 18px;
  color: var(--muted);
  font-weight: 850;
  font-size: 0.86rem;
}

.breadcrumb a {
  color: var(--blue);
}

.product-detail {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: start;
}

.product-detail-media {
  position: relative;
  display: grid;
  gap: 12px;
  justify-self: center;
  width: 100%;
  max-width: 460px;
  padding: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.74), rgba(217, 234, 210, 0.34)),
    #edf3f6;
  box-shadow: var(--shadow-soft);
}

.product-detail-main {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 12px;
  background: linear-gradient(180deg, #ffffff, #f4f7fa);
}

.product-detail-main img {
  display: block;
  width: 100%;
  height: 100%;
  /* Mostra a foto inteira em qualquer proporção (sem corte). */
  object-fit: contain;
  padding: 10px;
  border-radius: 12px;
}

.gallery-thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  width: 100%;
}

.gallery-thumb {
  width: 62px;
  height: 62px;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #edf3f6;
  cursor: pointer;
}

.gallery-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 3px;
}

.gallery-thumb.active {
  border-color: rgba(24, 105, 201, 0.7);
  box-shadow: 0 0 0 2px rgba(24, 105, 201, 0.28);
}

.product-detail-info {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
  align-content: start;
  min-width: 0;
  max-width: 610px;
  padding-top: 4px;
}

.product-detail-info h1 {
  margin: 0;
  font-size: clamp(1.8rem, 3.2vw, 2.35rem);
  line-height: 1.05;
}

.product-detail-info .price {
  margin: 4px 0;
  font-size: 2.1rem;
  font-weight: 950;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.product-detail .product-actions {
  max-width: 420px;
  margin-top: 8px;
}

.product-detail .field {
  display: grid;
  gap: 6px;
  color: #312e33;
  font-weight: 850;
}

.tag-inline {
  width: fit-content;
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--mint);
  color: var(--ink);
  font-size: 0.74rem;
  font-weight: 950;
  text-transform: uppercase;
}

@media (max-width: 780px) {
  .product-detail {
    grid-template-columns: minmax(0, 1fr);
  }

  .product-detail-media {
    width: min(100%, 440px);
  }
}

/* ===== Página de produto: compra ===== */
.price-block {
  display: grid;
  gap: 3px;
  margin: 2px 0 4px;
}

.price-block .price {
  margin: 0;
}

.price-pix {
  width: fit-content;
  padding: 4px 11px;
  border-radius: 999px;
  background: rgba(26, 127, 55, 0.1);
  color: #1a7f37;
  font-weight: 900;
  font-size: 0.9rem;
}

.price-installments,
.price-boleto {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.buy-section {
  display: grid;
  /* Uma coluna que pode encolher: sem isso, qualquer filho "largo" (inputs,
     textos sem quebra) empurra o card para fora da tela no mobile. */
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
  margin-top: 2px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow-soft);
}

.buy-label {
  color: #312e33;
  font-weight: 900;
  font-size: 0.92rem;
}

.size-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 6px;
}

.size-btn {
  min-width: 48px;
  min-height: 44px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  font-weight: 900;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.size-btn:hover:not(:disabled) {
  border-color: var(--blue);
}

.size-btn.selected {
  border-color: var(--blue);
  background: var(--blue);
  color: var(--white);
}

.size-btn:disabled {
  opacity: 0.4;
  text-decoration: line-through;
  cursor: not-allowed;
}

.personalize {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
}

.personalize-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  color: #312e33;
}

.personalize-head input {
  flex: none;
}

.personalize-fields {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 90px;
  gap: 10px;
}

.personalize-fields input {
  width: 100%;
  min-width: 0;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 9px 11px;
  background: var(--white);
}

.qty-line {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 6px;
}

.qty-control {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.qty-control button {
  width: 42px;
  height: 44px;
  border: 0;
  background: var(--white);
  font-size: 1.3rem;
  cursor: pointer;
}

.qty-control button:hover {
  background: var(--paper);
}

.qty-control input {
  width: 52px;
  height: 44px;
  border: 0;
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
  text-align: center;
  font-weight: 900;
}

.product-actions-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
  margin-top: 4px;
}

.trust-badges {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 10px;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  color: #312e33;
  font-weight: 850;
  font-size: 0.86rem;
}

.trust-badge .icon {
  flex: none;
  color: var(--blue);
}

.product-extra {
  display: grid;
  gap: 14px;
  padding-top: 0;
}

@media (max-width: 520px) {
  .trust-badges,
  .personalize-fields {
    grid-template-columns: 1fr;
  }
}

/* ===== Estoque, vitrines, sobre, configurações ===== */
.stock-note {
  color: #1a7f37;
  font-weight: 850;
  font-size: 0.85rem;
}

.collection-row {
  margin-bottom: clamp(28px, 5vw, 48px);
}

.collection-row:last-child {
  margin-bottom: 0;
}

.collection-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  max-width: none;
  margin-bottom: 16px;
}

.about-section {
  background: var(--white);
}

.about-inner {
  max-width: 820px;
}

.about-inner h2 {
  margin-bottom: 10px;
}

.about-inner p {
  font-size: 1.05rem;
  line-height: 1.7;
  white-space: pre-line;
}

.settings-form {
  max-width: 720px;
}

.form-hint {
  margin: 0;
  color: var(--muted);
  font-size: 0.85rem;
}

/* Botão de gerar descrição com IA no formulário de produto */
.ai-describe {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  margin: -4px 0 4px;
}
.ai-describe .form-hint {
  flex-basis: 100%;
}

/* ===== Avaliações no admin ===== */
.admin-review {
  display: grid;
  gap: 8px;
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
}

.admin-review:last-child {
  border-bottom: 0;
}

.admin-review-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.admin-stars {
  color: #f6b01e;
  letter-spacing: 1px;
}

.admin-review-product {
  color: var(--blue);
  font-weight: 850;
  font-size: 0.86rem;
}

.admin-review p {
  margin: 0;
  color: #4f4b53;
}

.check-inline {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  color: #4f4b53;
  font-weight: 700;
}

.check-inline input {
  width: auto;
}

@media (max-width: 1120px) {
  .reviews-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 780px) {
  .reviews-grid {
    grid-template-columns: 1fr;
  }

  .hero-caption {
    max-width: 100%;
  }

  .hero-foot {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* ===== Menu mobile ancorado ===== */
@media (max-width: 900px) {
  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }

  .topbar {
    position: sticky;
    top: 0;
    z-index: 70;
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    width: 100vw;
    max-width: 100vw;
    min-height: 70px;
    padding: 10px 176px 10px 14px;
  }

  .brand img {
    width: 118px;
  }

  .topbar .brand {
    min-width: 0;
    justify-self: start;
  }

  .mobile-header-actions {
    position: absolute;
    top: 50%;
    right: 14px;
    left: auto;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: flex-end;
    justify-self: end;
    gap: 8px;
    min-width: 0;
  }

  .mobile-header-action,
  .mobile-menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 8px;
    cursor: pointer;
    font: inherit;
  }

  .mobile-header-action {
    background: var(--white);
    color: #312e33;
  }

  .mobile-menu-toggle {
    background: var(--ink);
    color: var(--white);
  }

  .mobile-header-action .nav-count {
    position: absolute;
    top: -5px;
    right: -5px;
    margin: 0;
  }

  .mobile-header-action .icon,
  .mobile-menu-toggle .icon {
    color: currentColor;
  }

  .main-nav {
    position: absolute;
    top: calc(100% + 8px);
    left: 12px;
    right: calc(12px + max(0px, 100% - 100vw));
    z-index: 80;
    display: none;
    grid-template-columns: 1fr;
    gap: 8px;
    width: auto;
    max-width: none;
    max-height: calc(100vh - 112px);
    padding: 10px;
    overflow: auto;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(246, 248, 250, 0.98);
    box-shadow: var(--shadow);
  }

  .topbar.mobile-nav-open .main-nav {
    display: grid;
  }

  .main-nav a,
  .nav-dropdown summary,
  .main-nav .nav-auth,
  .main-nav .nav-icon {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 44px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    padding: 10px 12px;
    color: #312e33;
    font-size: 0.88rem;
    text-align: left;
  }

  .main-nav .nav-auth {
    background: var(--ink);
    color: var(--white);
  }

  .main-nav > a[href$="/carrinho"],
  .main-nav > [data-account-link] {
    display: none;
  }

  .main-nav .nav-icon {
    min-width: 0;
  }

  .main-nav .nav-icon .nav-count {
    position: static;
    margin-left: auto;
  }

  .nav-dropdown {
    position: static;
  }

  .nav-dropdown summary::after {
    margin-left: auto;
  }

  .submenu-panel,
  .submenu-panel.mega {
    position: static;
    grid-column: auto;
    grid-template-columns: 1fr;
    width: 100%;
    max-width: none;
    min-width: 0;
    max-height: none;
    margin-top: 8px;
    padding: 12px;
    overflow: visible;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: none;
  }

  .mega-col {
    gap: 0;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--line);
  }

  .mega-col:last-child {
    border-bottom: 0;
    padding-bottom: 0;
  }

  .submenu-panel.mega .mega-head {
    margin: 0 0 4px;
    padding: 6px 0;
    font-size: 0.78rem;
  }

  .submenu-panel a,
  .submenu-panel.mega a {
    min-height: 0;
    border: 0;
    padding: 8px 0;
    background: transparent;
    font-size: 0.86rem;
    text-align: left;
  }
}

@media (max-width: 480px) {
  .topbar {
    gap: 8px;
    padding: 10px 138px 10px 10px;
  }

  .brand img {
    width: 104px;
  }

  .mobile-header-actions {
    gap: 6px;
    right: 10px;
    left: auto;
  }

  .mobile-header-action,
  .mobile-menu-toggle {
    width: 38px;
    height: 38px;
  }

  .mobile-header-action .icon,
  .mobile-menu-toggle .icon {
    width: 20px;
    height: 20px;
  }

  .main-nav {
    left: 10px;
    right: calc(10px + max(0px, 100% - 100vw));
  }
}

@media (max-width: 900px) {
  .admin-kpis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-orders-section,
  .admin-order-meta {
    grid-template-columns: 1fr;
  }

  .admin-mode-strip {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }
}

@media (max-width: 560px) {
  .admin-shortcuts,
  .admin-order-head,
  .admin-order-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .admin-kpis {
    grid-template-columns: 1fr;
  }

  .admin-shortcuts a,
  .admin-order-actions button,
  .admin-order-actions select {
    width: 100%;
  }
}

/* ============================================================= */
/* Camada premium — foco acessível, seleção, scrollbar e movimento */
/* ============================================================= */

input:focus-visible,
select:focus-visible,
textarea:focus-visible,
.size-btn:focus-visible,
.qty-control:focus-within,
.segmented a:focus-visible,
.segmented button:focus-visible,
.google-btn:focus-visible {
  outline: none;
  border-color: var(--blue);
  box-shadow: var(--ring);
}

a:focus-visible,
summary:focus-visible,
.account-link:focus-visible,
.link-btn:focus-visible,
.fav-btn:focus-visible {
  outline: none;
  border-radius: 8px;
  box-shadow: var(--ring);
}

/* Hover sutil nos campos: sinaliza que são interativos */
.checkout-form input:hover,
.account-form input:hover,
.personalize-fields input:hover,
.auth-card input:hover {
  border-color: var(--line-strong);
}

::selection {
  background: rgba(24, 105, 201, 0.18);
  color: var(--ink);
}

/* Scrollbar discreta e moderna */
* {
  scrollbar-width: thin;
  scrollbar-color: rgba(24, 105, 201, 0.32) transparent;
}

::-webkit-scrollbar {
  width: 11px;
  height: 11px;
}

::-webkit-scrollbar-thumb {
  border: 3px solid transparent;
  border-radius: 999px;
  background: rgba(24, 105, 201, 0.3);
  background-clip: padding-box;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(24, 105, 201, 0.5);
  background-clip: padding-box;
}

/* Realce premium ao passar o mouse nos cards de avaliação */
.review-card {
  transition: transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease);
}

.review-card:hover {
  box-shadow: var(--shadow-card);
  transform: translateY(-3px);
}

/* Respeita usuários que preferem menos animação */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ============================================================= */
/* Premium dedicado — PÁGINA DE PRODUTO (escopo data-page)        */
/* ============================================================= */

[data-page="produto"] .product-detail-media {
  border-radius: var(--radius-lg);
  background:
    radial-gradient(120% 90% at 50% 0%, rgba(24, 105, 201, 0.09), transparent 62%),
    linear-gradient(160deg, rgba(255, 255, 255, 0.82), rgba(217, 234, 210, 0.34)),
    #edf3f6;
  box-shadow: var(--shadow-card);
}

[data-page="produto"] .product-detail-main img {
  transition: transform 0.6s var(--ease-out);
}

[data-page="produto"] .product-detail-main:hover img {
  transform: scale(1.04);
}

[data-page="produto"] .fav-btn {
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

/* Pílula do Pix com mais presença */
[data-page="produto"] .price-pix {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, rgba(26, 127, 55, 0.16), rgba(26, 127, 55, 0.07));
  box-shadow: inset 0 0 0 1px rgba(26, 127, 55, 0.2);
}

/* Card de compra com faixa de acento no topo e mais profundidade */
[data-page="produto"] .buy-section {
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

[data-page="produto"] .buy-section::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--green));
}

/* Seleção de tamanho mais tátil */
[data-page="produto"] .size-btn {
  border-radius: 10px;
  transition: transform var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease),
    background var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
}

[data-page="produto"] .size-btn.selected {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(24, 105, 201, 0.3);
}

[data-page="produto"] .qty-control {
  border-radius: 10px;
}

/* Selos de confiança: card com hover */
[data-page="produto"] .trust-badge {
  border-radius: 12px;
  transition: transform var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease),
    box-shadow var(--t-fast) var(--ease);
}

[data-page="produto"] .trust-badge:hover {
  transform: translateY(-2px);
  border-color: rgba(24, 105, 201, 0.3);
  box-shadow: var(--shadow-soft);
}

/* Botão secundário "Comprar agora" com hover (vale para .btn.plain em geral, menos a variante clara) */
.btn.plain:not(.light):hover {
  border-color: rgba(24, 105, 201, 0.4);
  color: var(--blue-dark);
  background: rgba(24, 105, 201, 0.06);
}

/* ============================================================= */
/* Premium dedicado — CHECKOUT (escopo data-page)                */
/* ============================================================= */

[data-page="checkout"] .admin-form,
[data-page="checkout"] .cart-summary {
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}

[data-page="checkout"] .admin-form input,
[data-page="checkout"] .admin-form textarea {
  min-height: 46px;
  border-radius: 10px;
  background: #ffffff;
  transition: border-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
}

[data-page="checkout"] .admin-form input:hover,
[data-page="checkout"] .admin-form textarea:hover {
  border-color: var(--line-strong);
}

[data-page="checkout"] .payment-box {
  border-radius: var(--radius);
  box-shadow: inset 0 0 0 1px rgba(24, 105, 201, 0.14);
}

/* Cabeçalho "Resumo" como título de verdade */
[data-page="checkout"] .cart-summary > span:first-child {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

/* Total final ganha rótulo e divisória (o markup só tem o valor) */
[data-page="checkout"] #checkoutTotal {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-top: 2px;
  padding-top: 14px;
  border-top: 2px solid var(--line);
}

[data-page="checkout"] #checkoutTotal::before {
  content: "Total";
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 0.84rem;
  font-weight: 850;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ============================================================= */
/* Premium global — round 2: catálogo, carrinho, conta, auth, FAQ */
/* ============================================================= */

/* --- Filtros (catálogo / pronta entrega): chips em pílula --- */
.segmented a,
.segmented button {
  border-radius: 999px;
  transition: transform var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease),
    background var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}

.segmented a:hover:not(.active),
.segmented button:hover:not(.active) {
  border-color: rgba(24, 105, 201, 0.4);
  color: var(--blue-dark);
}

.segmented a.active,
.segmented button.active {
  box-shadow: 0 8px 18px rgba(24, 105, 201, 0.28);
}

.collection-head h2 {
  letter-spacing: -0.01em;
}

/* --- Carrinho: painéis mais suaves e profundos --- */
.cart-page-list,
.cart-summary {
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}

.cart-summary > span:first-child {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

/* --- Área da conta: navegação e cards --- */
.account-link {
  transition: transform var(--t-fast) var(--ease), background var(--t-fast) var(--ease),
    color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
}

.account-link:hover {
  transform: translateX(2px);
}

.account-link.active {
  box-shadow: 0 8px 18px rgba(24, 105, 201, 0.26);
}

.account-card,
.address-card,
.order-card,
.admin-order-card,
.admin-kpi {
  transition: transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease),
    border-color var(--t-med) var(--ease);
}

.order-card:hover,
.address-card:hover,
.admin-order-card:hover {
  border-color: rgba(24, 105, 201, 0.22);
  box-shadow: var(--shadow-card);
}

.admin-kpi:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}

/* Pílulas de status totalmente arredondadas */
.status-pill {
  border-radius: 999px;
  letter-spacing: 0.01em;
}

/* Painéis do admin com cantos mais modernos */
.admin-form,
.admin-list {
  border-radius: var(--radius);
}

/* --- FAQ (dúvidas): acordeão premium com +/− --- */
.faq-list details {
  overflow: hidden;
  transition: border-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
}

.faq-list details:hover {
  border-color: rgba(24, 105, 201, 0.28);
  box-shadow: var(--shadow-soft);
}

.faq-list details[open] {
  border-color: rgba(24, 105, 201, 0.32);
  box-shadow: var(--shadow-card);
}

.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  list-style: none;
}

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

.faq-list summary::after {
  content: "+";
  flex: none;
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: rgba(24, 105, 201, 0.1);
  color: var(--blue);
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1;
  transition: transform var(--t-fast) var(--ease), background var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}

.faq-list details[open] summary::after {
  content: "\2212";
  background: var(--blue);
  color: var(--white);
}

/* --- Login / Cadastro: fundo e cartão premium --- */
.auth-page {
  background:
    radial-gradient(680px 380px at 78% 8%, rgba(24, 105, 201, 0.3), transparent 60%),
    radial-gradient(560px 360px at 12% 92%, rgba(155, 199, 136, 0.18), transparent 60%),
    linear-gradient(135deg, var(--ink), #20303f 56%, #16271d);
}

.auth-card {
  border-radius: var(--radius-lg);
  padding: 30px 28px;
  box-shadow: 0 30px 70px rgba(8, 12, 18, 0.45);
}

.auth-card input {
  border-radius: 10px;
  transition: border-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
}

/* --- Páginas legais: títulos com acento lateral --- */
.legal-content h2 {
  padding-left: 14px;
  border-left: 3px solid var(--blue);
}

/* ============================================================= */
/* Home hero ousado — brand-band cinematografico                 */
/* ============================================================= */

.brand-band {
  position: relative;
  overflow: hidden;
  display: grid;
  align-items: center;
  min-height: clamp(460px, 74vh, 720px);
  background:
    radial-gradient(900px 540px at 8% -18%, rgba(24, 105, 201, 0.6), transparent 58%),
    radial-gradient(860px 580px at 96% 120%, rgba(45, 168, 120, 0.5), transparent 60%),
    radial-gradient(620px 430px at 74% 4%, rgba(56, 132, 229, 0.3), transparent 55%),
    linear-gradient(135deg, #0a0f15, #14222d 52%, #0d2a1f);
  background-size: 160% 160%, 160% 160%, 160% 160%, auto;
  animation: bandDrift 20s ease-in-out infinite alternate;
}

@keyframes bandDrift {
  from { background-position: 0% 0%, 100% 100%, 55% 0%, center; }
  to { background-position: 18% 12%, 82% 88%, 70% 12%, center; }
}

/* Orbe verde desfocado p/ profundidade */
.brand-band::before {
  content: "";
  position: absolute;
  width: 560px;
  height: 560px;
  top: -180px;
  right: -120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(45, 168, 120, 0.5), transparent 68%);
  filter: blur(46px);
  pointer-events: none;
}

/* Marca d'agua gigante ao fundo */
.brand-band::after {
  content: "SPORTS HUB";
  position: absolute;
  right: -1%;
  bottom: -7%;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(5rem, 16vw, 15rem);
  line-height: 0.78;
  letter-spacing: -0.04em;
  color: rgba(255, 255, 255, 0.045);
  white-space: nowrap;
  pointer-events: none;
}

.brand-band-inner {
  position: relative;
  z-index: 1;
  max-width: 940px;
}

.brand-band h2 {
  margin-bottom: 18px;
  font-size: clamp(2.6rem, 6vw, 5.4rem);
  line-height: 0.96;
}

.brand-band p {
  max-width: 580px;
  font-size: 1.08rem;
}

.brand-band .hero-actions {
  margin-top: 34px;
}

.brand-band .hero-actions .btn {
  min-height: 56px;
  padding: 17px 28px;
  font-size: 1.02rem;
}

/* Botão secundário em vidro */
.brand-band .btn.plain.light {
  background: rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

@media (max-width: 780px) {
  .brand-band::after {
    font-size: clamp(3.4rem, 22vw, 8rem);
  }

  .brand-band .hero-actions .btn {
    width: 100%;
    max-width: 360px;
  }
}

/* ============================================================= */
/* Rodapé: largura organizada + corrige links legais colados     */
/* ============================================================= */

.footer-grid,
.footer-contact,
.footer-legal {
  max-width: 1280px;
  margin-inline: auto;
}

/* vence o ".site-footer span { display:block }" que matava o gap */
.site-footer .footer-legal-links {
  display: inline-flex;
  gap: 20px;
}

/* ============================================================= */
/* Opções de transportadora no checkout (SuperFrete)             */
/* ============================================================= */

.shipping-line-options {
  display: grid;
  gap: 12px;
}

.shipping-group-title {
  font-size: 0.98rem;
}

.shipping-options {
  display: grid;
  gap: 8px;
}

.shipping-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  cursor: pointer;
  transition: border-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease),
    background var(--t-fast) var(--ease);
}

.shipping-option:hover {
  border-color: rgba(24, 105, 201, 0.4);
}

.shipping-option.selected {
  border-color: var(--blue);
  background: rgba(24, 105, 201, 0.05);
  box-shadow: inset 0 0 0 1px rgba(24, 105, 201, 0.35);
}

.shipping-option input[type="radio"] {
  flex: none;
  width: 18px;
  height: 18px;
  accent-color: var(--blue);
}

.shipping-option-main {
  display: grid;
  gap: 2px;
  flex: 1;
}

.shipping-option-main strong {
  font-size: 0.92rem;
}

.shipping-option-main small {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.shipping-option-price {
  flex: none;
  font-size: 1rem;
}

/* ============================================================= */
/* Skeletons — placeholders animados enquanto o conteúdo carrega */
/* ============================================================= */

@keyframes skeletonShimmer {
  100% { transform: translateX(100%); }
}

.skeleton {
  position: relative;
  overflow: hidden;
  background: #e6edf1;
}

.skeleton::after {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-100%);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.65), transparent);
  animation: skeletonShimmer 1.25s ease-in-out infinite;
}

.skeleton-highlight {
  aspect-ratio: 1 / 1;
  border-radius: var(--radius);
}

.skeleton-product {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
}

.skeleton-product .skel-img {
  aspect-ratio: 1 / 1;
}

.skeleton-product .skel-line {
  height: 12px;
  margin: 10px 13px 0;
  border-radius: 6px;
}

.skeleton-product .skel-line.short {
  width: 55%;
}

.skeleton-product .skel-line.price {
  width: 38%;
  height: 18px;
  margin: 14px 13px;
}

/* ============================================================= */
/* Conversão + Avaliações — PÁGINA DE PRODUTO                     */
/* ============================================================= */

/* CTA principal "Comprar agora" (verde, destaque de conversão) */
.btn.buy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  color: var(--white);
  background: linear-gradient(135deg, #2fae7a, #1a7f37 55%, #14692f);
  box-shadow: 0 10px 24px rgba(26, 127, 55, 0.32);
  font-weight: 950;
}

.btn.buy:hover {
  filter: brightness(1.04);
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(26, 127, 55, 0.4);
}

.btn.buy .icon { color: currentColor; }

/* Nota resumida abaixo do título */
.rating-inline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  padding: 2px 2px;
  border: 0;
  background: none;
  cursor: pointer;
  font-weight: 800;
  color: var(--ink);
}

.rating-inline strong { font-size: 1.02rem; }
.rating-inline span { color: var(--muted); font-weight: 700; font-size: 0.9rem; text-decoration: underline; text-underline-offset: 3px; }
.rating-inline.muted span { text-decoration: none; }
.rating-inline:hover span { color: var(--blue); }

/* Reforço de confiança sob os botões */
.cta-reassure {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #1a7f37;
  font-weight: 800;
  font-size: 0.82rem;
}
.cta-reassure .icon { flex: none; }

/* Calculadora de frete */
.shipping-estimator {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
  padding: 14px;
  border: 1px dashed var(--line-strong);
  border-radius: 12px;
  background: var(--paper);
}
.shipping-estimator-row {
  display: grid;
  /* minmax(0,...) deixa o campo de CEP encolher: input tem largura intrínseca
     (~250px) e, sem isso, o min-content estoura o card inteiro no mobile. */
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}
.shipping-estimator-row input {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 9px 12px;
  background: var(--white);
  font-weight: 700;
}
.shipping-estimator-result {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 1em;
  font-weight: 800;
  font-size: 0.9rem;
  color: var(--muted);
}
.shipping-estimator-result.ok { color: #1a7f37; }
.shipping-estimator-result.error { color: #c0392b; }
.shipping-estimator .text-link { font-size: 0.82rem; }

/* ===== Abas (Descrição / Avaliações / Cuidados) ===== */
.product-tabs { display: grid; gap: 20px; }

.tabs-nav {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--line);
}
.tab-btn {
  position: relative;
  padding: 12px 18px;
  border: 0;
  background: none;
  color: var(--muted);
  font-weight: 900;
  font-size: 1rem;
  cursor: pointer;
  border-radius: 10px 10px 0 0;
  transition: color var(--t-fast) var(--ease), background var(--t-fast) var(--ease);
}
.tab-btn:hover { color: var(--ink); background: rgba(24, 105, 201, 0.05); }
.tab-btn.active { color: var(--blue-dark); }
.tab-btn.active::after {
  content: "";
  position: absolute;
  left: 12px; right: 12px; bottom: -1px;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--blue), var(--green));
}
.tab-count {
  display: inline-grid;
  place-items: center;
  min-width: 22px;
  height: 20px;
  padding: 0 6px;
  margin-left: 4px;
  border-radius: 999px;
  background: var(--mint);
  color: var(--ink);
  font-size: 0.75rem;
  font-weight: 950;
}

.tab-panel { display: none; }
.tab-panel.active { display: block; }
.tab-panel > p { margin: 0; color: #3f3b43; line-height: 1.7; font-size: 1.02rem; }

/* ===== Resumo de avaliações ===== */
.reviews-summary {
  display: grid;
  grid-template-columns: minmax(160px, 220px) 1fr;
  gap: 28px;
  align-items: center;
  padding: 22px;
  margin-bottom: 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(180deg, var(--card), var(--card-soft));
  box-shadow: var(--shadow-soft);
}
.reviews-summary-score {
  display: grid;
  justify-items: center;
  gap: 6px;
  text-align: center;
}
.reviews-avg { font-size: 3rem; font-weight: 950; line-height: 1; color: var(--ink); }
.reviews-total { color: var(--muted); font-weight: 700; font-size: 0.9rem; }
.reviews-recommend {
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(26, 127, 55, 0.12);
  color: #1a7f37;
  font-weight: 900;
  font-size: 0.82rem;
}

.rating-bars { display: grid; gap: 7px; }
.rating-bar-row {
  display: grid;
  grid-template-columns: 46px 1fr 28px;
  align-items: center;
  gap: 10px;
  padding: 3px 6px;
  border: 0;
  background: none;
  cursor: pointer;
  border-radius: 8px;
  transition: background var(--t-fast) var(--ease);
}
.rating-bar-row:hover { background: rgba(24, 105, 201, 0.06); }
.rating-bar-row.active { background: rgba(24, 105, 201, 0.1); }
.rating-bar-label {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-weight: 900;
  font-size: 0.85rem;
  color: var(--ink);
}
.rating-bar-label .icon { color: #f6b01e; }
.rating-bar-track {
  height: 9px;
  border-radius: 999px;
  background: #e6ebf0;
  overflow: hidden;
}
.rating-bar-fill {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #f6b01e, #f39c12);
}
.rating-bar-count { color: var(--muted); font-weight: 800; font-size: 0.82rem; text-align: right; }

/* Filtros */
.review-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.review-filter {
  padding: 7px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  font-weight: 800;
  font-size: 0.85rem;
  cursor: pointer;
  transition: border-color var(--t-fast) var(--ease), background var(--t-fast) var(--ease);
}
.review-filter:hover { border-color: var(--blue); }
.review-filter.active { border-color: var(--blue); background: var(--blue); color: var(--white); }

/* Lista de avaliações */
.review-list { display: grid; gap: 16px; margin-bottom: 26px; }
.review-item {
  display: grid;
  gap: 10px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--card);
  box-shadow: var(--shadow-soft);
}
.review-item-head { display: flex; align-items: center; gap: 12px; }
.review-item-head .review-avatar { width: 40px; height: 40px; }
.review-item .review-who strong {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.review-item .review-who span { color: var(--muted); font-size: 0.84rem; }
.verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(26, 127, 55, 0.12);
  color: #1a7f37;
  font-size: 0.72rem;
  font-weight: 900;
}
.verified-badge .icon { color: currentColor; }
.review-item-title { margin: 0; font-weight: 900; color: var(--ink); }
.review-item-text { margin: 0; color: #3f3b43; line-height: 1.6; }

.review-photos { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 2px; }
.review-photo {
  width: 76px;
  height: 76px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  background: #edf3f6;
  transition: transform var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
}
.review-photo:hover { transform: scale(1.05); box-shadow: var(--shadow-soft); }
.review-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

.reviews-empty { color: var(--muted); margin: 0; }
.reviews-empty-state {
  display: grid;
  gap: 6px;
  padding: 30px 20px;
  text-align: center;
  border: 1px dashed var(--line-strong);
  border-radius: 14px;
  color: var(--muted);
}
.reviews-empty-state strong { color: var(--ink); font-size: 1.05rem; }

/* Formulário de avaliação */
.review-form-card {
  display: grid;
  gap: 12px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(180deg, var(--card), var(--card-soft));
  box-shadow: var(--shadow-soft);
}
.review-form-card > strong { font-size: 1.1rem; }
.review-login-cta { text-align: center; justify-items: center; }
.review-login-cta p { margin: 0; color: var(--muted); }
.review-login-cta .btn { width: fit-content; margin-top: 4px; }

.star-input { display: inline-flex; gap: 4px; }
.star-pick {
  border: 0;
  background: none;
  padding: 2px;
  cursor: pointer;
  color: #cfd6de;
  line-height: 0;
  transition: transform var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}
.star-pick:hover { transform: scale(1.15); }
.star-pick.on { color: #f6b01e; }
.star-pick.on svg path { fill: currentColor; }

.review-form-card input[type="text"],
.review-form-card textarea {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 11px 13px;
  background: var(--white);
  font: inherit;
  resize: vertical;
}

.review-photo-upload { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.review-photo-btn { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; width: fit-content; }
.review-photo-hint { color: var(--muted); font-size: 0.82rem; }

.review-photo-previews { display: flex; flex-wrap: wrap; gap: 8px; }
.review-photo-preview { position: relative; width: 72px; height: 72px; }
.review-photo-preview img { width: 100%; height: 100%; object-fit: cover; border-radius: 10px; border: 1px solid var(--line); }
.review-photo-preview button {
  position: absolute;
  top: -7px; right: -7px;
  width: 22px; height: 22px;
  border: 0;
  border-radius: 999px;
  background: #c0392b;
  color: #fff;
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: var(--shadow-soft);
}
.review-form-card .btn.buy { width: fit-content; }

.form-message.ok { color: #1a7f37; font-weight: 800; }
.form-message.error { color: #c0392b; font-weight: 800; }

/* Barra fixa de compra (mobile) */
.sticky-buy {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 40;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
  background: var(--white);
  border-top: 1px solid var(--line);
  box-shadow: 0 -8px 24px rgba(23, 21, 22, 0.12);
}
.sticky-buy-info { display: grid; line-height: 1.2; }
.sticky-buy-info strong { font-size: 1.15rem; font-weight: 950; }
.sticky-buy-info span { color: var(--muted); font-size: 0.8rem; font-weight: 700; }
.sticky-buy .btn.buy { flex: none; }

@media (max-width: 780px) {
  .sticky-buy:not([hidden]) { display: flex; }
  main { padding-bottom: 76px; }
  .reviews-summary { grid-template-columns: 1fr; gap: 18px; }
}

/* Lightbox de fotos */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(15, 20, 26, 0.86);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.lightbox[hidden] { display: none; }
.lightbox img {
  max-width: min(92vw, 900px);
  max-height: 88vh;
  border-radius: 14px;
  box-shadow: var(--shadow);
}
.lightbox-close {
  position: absolute;
  top: 18px; right: 22px;
  width: 44px; height: 44px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
}
.lightbox-close:hover { background: rgba(255, 255, 255, 0.28); }

/* ===================== Carrinho moderno ===================== */
.cart-page-list { display: grid; gap: 14px; padding: 18px; }

.cart-item {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 14px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--card);
  box-shadow: var(--shadow-soft);
  transition: box-shadow 0.2s var(--ease, ease), transform 0.2s var(--ease, ease);
}
.cart-item:hover { box-shadow: var(--shadow-card); transform: translateY(-1px); }

.cart-item-media {
  display: block;
  width: 76px;
  height: 76px;
  border-radius: 12px;
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
}
.cart-item-media img { width: 100%; height: 100%; object-fit: contain; padding: 3px; display: block; }
.cart-item-shape { width: 100%; height: 100%; background: linear-gradient(135deg, #e9eef2, #f6f9fb); }

.cart-item-main { display: grid; gap: 8px; min-width: 0; align-content: start; }
.cart-item-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.cart-item-name {
  font-family: var(--font-display, inherit);
  font-weight: 900;
  color: var(--ink);
  line-height: 1.25;
  text-decoration: none;
  letter-spacing: -0.01em;
}
.cart-item-name:hover { color: var(--blue); }

.cart-item-remove {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--muted);
  cursor: pointer;
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}
.cart-item-remove:hover { color: #c0392b; border-color: #e7b7b0; background: #fdf3f1; }

.cart-item-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.cart-chip {
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--blue-dark);
  background: rgba(24, 105, 201, 0.09);
  border-radius: 999px;
  padding: 3px 10px;
  white-space: nowrap;
}
.cart-chip.subtle { color: var(--muted); background: var(--paper); }

.cart-item-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 2px; }

.qty-stepper {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px;
  background: var(--card);
}
.qty-stepper button {
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease;
}
.qty-stepper button:hover { background: var(--paper); }
.qty-value { min-width: 26px; text-align: center; font-weight: 900; font-variant-numeric: tabular-nums; }

.cart-item-price { text-align: right; line-height: 1.2; white-space: nowrap; }
.cart-item-price strong { font-size: 1.06rem; }
.cart-item-price span { display: block; color: var(--muted); font-size: 0.78rem; margin-top: 2px; }

/* Estado vazio */
.cart-empty { display: grid; justify-items: center; gap: 10px; text-align: center; padding: 40px 18px; }
.cart-empty-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 66px;
  height: 66px;
  border-radius: 50%;
  background: var(--paper);
  color: var(--blue);
}
.cart-empty strong { font-family: var(--font-display, inherit); font-size: 1.2rem; }
.cart-empty p { color: var(--muted); max-width: 340px; }
.cart-empty-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 6px; }

/* Resumo do pedido (página do carrinho) */
[data-page="cart"] .cart-summary { gap: 15px; align-content: start; }
.cart-summary-title {
  font-family: var(--font-display, inherit);
  font-size: 1.15rem;
  font-weight: 900;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.cart-summary-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.cart-summary-row span { color: var(--muted); font-weight: 800; }
.cart-summary-row .val { color: var(--ink); font-weight: 900; }
.cart-summary-row .val.muted { color: var(--muted); font-weight: 800; }
.cart-summary-row.total { border-top: 1px solid var(--line); padding-top: 14px; margin-top: 2px; }
.cart-summary-row.total span { color: var(--ink); font-weight: 900; }
.cart-summary-row.total strong { font-family: var(--font-display, inherit); font-size: 1.7rem; letter-spacing: -0.01em; }

.freeship { display: grid; gap: 8px; }
.freeship-track { height: 8px; border-radius: 999px; background: var(--paper); overflow: hidden; }
.freeship-fill { height: 100%; border-radius: 999px; background: linear-gradient(90deg, #7fb069, var(--green)); transition: width 0.35s ease; }
.freeship-hint { display: flex; align-items: center; gap: 7px; color: var(--muted); font-size: 0.9rem; font-weight: 800; }
.freeship-hint.ok { color: #2f8f4e; }
.freeship-hint strong { color: inherit; }

.checkout-cta { display: inline-flex; align-items: center; justify-content: center; gap: 9px; }
.btn.is-disabled { opacity: 0.5; pointer-events: none; }

.cart-trust { display: grid; gap: 9px; border-top: 1px solid var(--line); padding-top: 14px; margin-top: 2px; }
.cart-trust div { display: flex; align-items: center; gap: 9px; color: var(--muted); font-size: 0.85rem; font-weight: 700; }
.cart-trust .icon-slot { color: var(--green); flex: 0 0 auto; display: inline-flex; }

@media (max-width: 560px) {
  .cart-item { grid-template-columns: 60px minmax(0, 1fr); gap: 12px; padding: 12px; }
  .cart-item-media { width: 60px; height: 60px; }
  .cart-page-list { padding: 14px; }
}

/* Filtros de catálogo organizados em grupos rotulados (página de tênis) */
.filter-groups {
  display: grid;
  gap: 10px;
  width: 100%;
}
.filter-group {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.filter-group-label {
  flex: 0 0 auto;
  min-width: 86px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.filter-group .segmented {
  flex: 1 1 auto;
}
@media (max-width: 560px) {
  .filter-group { align-items: flex-start; flex-direction: column; gap: 6px; }
  .filter-group-label { min-width: 0; }
}

/* "Ver tudo" em destaque nos submenus do menu (é sempre o último item; a classe
   .submenu-all é aplicada pelo header.js e o :last-child cobre os navs estáticos) */
.submenu-panel a:last-child,
.submenu-panel a.submenu-all {
  background: rgba(24, 105, 201, 0.07);
  color: var(--blue-dark);
  font-weight: 950;
  border-top: 1px solid var(--line);
}
.submenu-panel a:last-child:hover,
.submenu-panel a.submenu-all:hover {
  background: rgba(24, 105, 201, 0.14);
  color: var(--blue-dark);
}

/* Frete grátis: tag no card do produto e selo na página do produto (tênis) */
.tag.tag-free { background: #2f8f4e; }
.freeship-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  width: fit-content;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(47, 143, 78, 0.1);
  color: #2f8f4e;
  font-size: 0.9rem;
  font-weight: 900;
}

/* Cadastro separado por tipo de produto (painel): seletor + dois formulários */
.admin-form-col { display: grid; gap: 14px; align-content: start; }
.admin-form[hidden] { display: none; } /* .admin-form é grid; sem isto o hidden não teria efeito */
.kind-switch { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.kind-switch button {
  padding: 14px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--card);
  font-weight: 900;
  font-size: 1rem;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.kind-switch button:hover { border-color: var(--line-strong); }
.kind-switch button.active {
  border-color: var(--blue);
  background: rgba(24, 105, 201, 0.08);
  color: var(--blue-dark);
  box-shadow: inset 0 0 0 1px var(--blue);
}

/* Numerações disponíveis (cadastro de tênis no painel) */
.size-check-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(60px, 1fr)); gap: 8px; }
.size-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 8px 6px;
  font-weight: 800;
  cursor: pointer;
  background: var(--card);
  transition: border-color 0.15s ease, background 0.15s ease;
}
.size-check:hover { border-color: var(--line-strong); }
.size-check input { accent-color: var(--blue); }
