:root {
  --blue: #075FC3;
  --blue-dark: #003B96;
  --blue-deep: #002E79;
  --text-dark: #082F75;
  --pink: #EF3F7F;
  --pink-dark: #C92E68;
  --pink-light: #FFEFF3;
  --yellow: #FFC900;
  --white: #FFFFFF;
  --font-display: 'League Spartan', 'Montserrat', sans-serif;
  --font-body: 'Montserrat', sans-serif;
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --radius-pill: 999px;
  --shadow-card: 0 14px 30px rgba(0, 46, 121, 0.28);
  --shadow-soft: 0 8px 20px rgba(0, 46, 121, 0.18);
  --panel-pad: clamp(28px, 4vw, 56px);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text-dark);
  background: linear-gradient(180deg, var(--blue) 0%, var(--blue-dark) 55%, var(--blue-deep) 100%);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

h1,
h2,
h3 {
  font-family: var(--font-display);
  margin: 0;
}

p {
  margin: 0;
}

/* ── Botão Voltar ─────────────────────────── */

.back-btn {
  position: fixed;
  top: 16px;
  left: 16px;
  z-index: 100;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(0, 46, 121, 0.15);
  border-radius: 12px;
  padding: 8px 10px 6px;
  cursor: pointer;
  color: var(--text-dark);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: background 0.2s, box-shadow 0.2s;
}

.back-btn:hover {
  background: rgba(255, 255, 255, 1);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.back-btn span {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 600;
  line-height: 1;
}

/* ── Main Container ───────────────────────── */

main {
  padding: var(--panel-pad);
  padding-top: calc(var(--panel-pad) + 60px);
  max-width: 1200px;
  margin: 0 auto;
}

/* ── Hero Header ──────────────────────────── */

.hero-header {
  text-align: center;
  margin-bottom: 40px;
}

.hero-header h1 {
  font-weight: 900;
  font-size: clamp(28px, 4vw, 42px);
  text-transform: uppercase;
  color: var(--white);
  letter-spacing: 0.04em;
}

.hero-header p {
  font-size: 15px;
  opacity: 0.85;
  margin-top: 8px;
  color: var(--white);
}

/* ── Tags Bar ─────────────────────────────── */

.tags-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 24px;
}

.tag-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  border: 2px solid transparent;
  transition: all 0.25s;
  cursor: pointer;
}

.tag-pill:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

.tag-pill.ativa {
  background: var(--pink);
  border-color: var(--pink);
  box-shadow: var(--shadow-soft);
}

.tag-cor-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  opacity: 0.7;
}

/* ── Busca ────────────────────────────────── */

.busca-bar {
  max-width: 500px;
  margin: 0 auto 32px;
}

.busca-bar form {
  display: flex;
  gap: 8px;
}

.busca-bar input {
  flex: 1;
  padding: 14px 20px;
  border: none;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 14px;
  outline: none;
  box-shadow: var(--shadow-soft);
}

.busca-bar button {
  padding: 14px 24px;
  border: none;
  border-radius: var(--radius-pill);
  background: var(--pink);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.2s;
  box-shadow: var(--shadow-soft);
}

.busca-bar button:hover {
  background: var(--pink-dark);
}

/* ── Grid de Produtos ─────────────────────── */

.produtos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

/* ── Pill de Linha (coleção) ──────────────── */
/* Skills: SK_loja_linhas, SK_design_system */

.linha-pill {
  border: 2px solid rgba(255, 255, 255, 0.45);
}

.linha-pill.ativa {
  border-color: var(--pink);
}

/* ── Título da Página de Linha ────────────── */
/* Skills: SK_loja_linhas, SK_design_system */

.linha-topo {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 8px 0 28px;
  padding-left: 18px;
  border-left: 6px solid var(--linha-cor, var(--pink));
}

.linha-topo-nome {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(26px, 3.6vw, 40px);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--white);
  line-height: 1.05;
}

.linha-descricao {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: clamp(14px, 1.5vw, 16px);
  line-height: 1.7;
  color: var(--white);
  opacity: 0.92;
  max-width: 860px;
  margin-top: 16px;
}

.linha-descricao strong {
  color: var(--yellow);
  font-weight: 800;
}

.linha-descricao-vazia {
  display: none;
}

/* ── Card de Produto ──────────────────────── */

.produto-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform 0.3s, box-shadow 0.3s;
}

.produto-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 46, 121, 0.35);
}

.produto-foto-link {
  display: block;
  overflow: hidden;
}

.produto-foto {
  width: 100%;
  height: 280px;
  object-fit: cover;
  transition: transform 0.4s;
}

.produto-card:hover .produto-foto {
  transform: scale(1.05);
}

.produto-foto-placeholder {
  width: 100%;
  height: 280px;
  background: linear-gradient(135deg, #e0e0e0, #f5f5f5);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  color: #ccc;
}

/* ── Info do Produto ──────────────────────── */

.produto-info {
  padding: 20px 22px 24px;
}

.produto-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}

.produto-tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.produto-nome {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 18px;
  color: var(--text-dark);
  margin-bottom: 8px;
  text-transform: uppercase;
  line-height: 1.2;
}

.produto-nome a {
  color: inherit;
  transition: color 0.2s;
}

.produto-nome a:hover {
  color: var(--pink);
}

.produto-preco {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 17px;
  color: var(--pink);
  margin-bottom: 16px;
}

/* ── Botão Saber Mais ─────────────────────── */

.btn-saber-mais {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 14px 24px;
  border-radius: var(--radius-pill);
  background: var(--pink);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.25s;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  box-shadow: var(--shadow-soft);
}

.btn-saber-mais:hover {
  background: var(--pink-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(0, 46, 121, 0.35);
}

/* ── Sem Resultados ───────────────────────── */

.sem-resultados {
  text-align: center;
  padding: 80px 20px;
  grid-column: 1 / -1;
}

.sem-resultados i {
  font-size: 48px;
  opacity: 0.4;
  margin-bottom: 16px;
  display: block;
  color: var(--white);
}

.sem-resultados p {
  font-size: 16px;
  opacity: 0.7;
  color: var(--white);
}

/* ── Paginação ────────────────────────────── */

.paginacao {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 24px 0;
  grid-column: 1 / -1;
}

.paginacao a,
.paginacao span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.2s;
}

.paginacao a {
  background: rgba(255, 255, 255, 0.15);
  color: var(--white);
}

.paginacao a:hover {
  background: rgba(255, 255, 255, 0.3);
}

.paginacao .ativa {
  background: var(--pink);
  color: var(--white);
}

/* ── Footer ───────────────────────────────── */

.loja-footer {
  text-align: center;
  padding: 40px 20px;
  opacity: 0.6;
  font-size: 13px;
  color: var(--white);
}

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

/* ── Responsive ───────────────────────────── */

@media (max-width: 767px) {
  main {
    padding: 20px 12px;
    padding-top: 70px;
  }

  .produtos-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .produto-foto {
    height: 160px;
  }

  .produto-foto-placeholder {
    height: 160px;
    font-size: 36px;
  }

  .produto-info {
    padding: 12px 14px 16px;
  }

  .linha-topo {
    margin: 4px 0 18px;
    padding-left: 12px;
    border-left-width: 4px;
    gap: 10px;
  }

  .linha-topo-nome {
    font-size: 22px;
  }

  .linha-descricao {
    font-size: 13px;
    line-height: 1.6;
    margin-top: 10px;
  }

  .produto-tag {
    font-size: 9px;
    padding: 3px 8px;
  }

  .produto-nome {
    font-size: 13px;
    margin-bottom: 4px;
  }

  .produto-preco {
    font-size: 13px;
    margin-bottom: 10px;
  }

  .btn-saber-mais {
    padding: 10px 14px;
    font-size: 11px;
  }

  .back-btn {
    top: 10px;
    left: 10px;
    padding: 6px 8px 4px;
  }
}

@media (max-width: 420px) {
  .produtos-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }

  .produto-foto {
    height: 120px;
  }

  .produto-foto-placeholder {
    height: 120px;
    font-size: 28px;
  }

  .produto-info {
    padding: 8px 8px 12px;
  }

  .produto-tag {
    font-size: 8px;
    padding: 2px 6px;
    gap: 4px;
  }

  .produto-tags {
    gap: 3px;
    margin-bottom: 6px;
  }

  .produto-nome {
    font-size: 11px;
  }

  .produto-preco {
    font-size: 11px;
    margin-bottom: 8px;
  }

  .btn-saber-mais {
    padding: 8px 10px;
    font-size: 10px;
  }

  .hero-header h1 {
    font-size: 22px;
  }

  .hero-header p {
    font-size: 12px;
  }

  .tags-bar {
    gap: 6px;
    margin-bottom: 16px;
  }

  .tag-pill {
    padding: 7px 14px;
    font-size: 11px;
  }

  .busca-bar {
    margin-bottom: 20px;
  }

  .busca-bar input {
    padding: 10px 14px;
    font-size: 13px;
  }

  .busca-bar button {
    padding: 10px 16px;
    font-size: 13px;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}
