/* Cards do catálogo: fotografia lateral e faixa de compra independente. */
#produtos.grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  max-width: 1240px;
  margin: 0 auto;
  padding: 20px 24px 48px;
  align-items: stretch;
}
.bc-product {
  --bc-ink: #142135;
  --bc-muted: #526174;
  box-sizing: border-box;
  display: grid;
  grid-template-columns: 45% minmax(0, 1fr);
  grid-template-rows: 1fr auto;
  min-width: 0;
  overflow: hidden;
  background: #fff;
  color: var(--bc-ink);
  border: 1px solid #dce2e9;
  border-radius: 14px;
  font-family: Inter, sans-serif;
  text-align: left;
}
.bc-product[data-card-index] { cursor: pointer; }
.bc-product *, .bc-product *::before, .bc-product *::after { box-sizing: border-box; }
.bc-product button { font: inherit; cursor: pointer; }
.bc-product button:focus-visible { outline: 3px solid #1760cb; outline-offset: -4px; }
.bc-photo {
  appearance: none;
  border: 0;
  border-radius: 0;
  margin: 0;
  padding: 20px 14px;
  display: grid;
  place-items: center;
  position: relative;
  background: #f5f6f8;
  min-width: 0;
  min-height: 264px;
}
.bc-photo img {
  display: block;
  width: 100%;
  height: 224px;
  object-fit: contain;
  filter: none;
  transition: transform 180ms ease;
}
@media (hover: hover) { .bc-photo:hover img { transform: scale(1.035); } }
.bc-content { display: flex; flex-direction: column; padding: 28px 22px 20px; min-width: 0; }
.bc-eyebrow { margin: 0 0 10px; color: var(--bc-muted); font-size: 12px; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; }
.bc-product h3 { margin: 0 0 16px; padding: 0; font-size: 23px; line-height: 1.18; font-weight: 650; letter-spacing: -.045em; color: var(--bc-ink); display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; }
.bc-specs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; }
.bc-specs span { padding: 5px 7px; background: #f2f4f7; border-radius: 4px; font-size: 12px; line-height: 1.3; color: #42516a; }
.bc-availability { --bc-status: #1f7a4d; display: flex; align-items: center; gap: 8px; color: var(--bc-muted); font-size: 13px; font-weight: 500; line-height: 1.4; margin: auto 0 12px; }
.bc-availability[data-status="warn"] { --bc-status: #a15c07; }
.bc-availability[data-status="off"] { --bc-status: #b42318; }
.bc-dot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--bc-status); box-shadow: 0 0 0 3px color-mix(in srgb, var(--bc-status) 18%, transparent); }
.bc-colors { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 0; }
.bc-swatch { width: 16px; height: 16px; border-radius: 50%; border: 1px solid #a4adba; display: inline-block; }
.bc-colors-label { margin-left: 4px; font-size: 12px; color: var(--bc-muted); }
.bc-purchase { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 22px; border-top: 1px solid #e7ebef; }
.bc-price { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; gap: 2px; }
.bc-old { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; min-height: 18px; font-size: 13px; color: var(--bc-muted); }
.bc-saving { color: #246342; text-decoration: none; font-weight: 600; }
.bc-amount { font-size: 29px; font-weight: 700; line-height: 1.2; letter-spacing: -.06em; color: var(--bc-ink); font-variant-numeric: tabular-nums; }
.bc-payment { font-size: 13px; color: var(--bc-muted); }
.bc-open { display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: center; gap: 12px; min-height: 46px; border: 0; border-radius: 7px; padding: 12px 17px; background: #194d88; color: #fff; font-size: 14px; font-weight: 600; line-height: 1.4; }
.bc-open:hover { background: #123b6a; }
@media (prefers-reduced-motion: no-preference) {
  .bc-open span { display: inline-block; transition: transform 160ms ease; }
  .bc-product:hover .bc-open span, .bc-open:focus-visible span { transform: translateX(3px); }
}
.bc-empty { grid-column: 1 / -1; padding: 48px 16px; text-align: center; color: #526174; }
@media (max-width: 1000px) {
  #produtos.grid { gap: 16px; padding: 16px 16px 32px; }
  .bc-content { padding: 22px 14px 18px; }
  .bc-product h3 { font-size: 21px; }
  .bc-photo { padding: 18px 12px; }
  .bc-purchase { padding: 16px; }
  .bc-open { padding: 11px 13px; gap: 7px; }
}
@media (max-width: 760px) {
  #produtos.grid { grid-template-columns: minmax(0, 1fr); max-width: 580px; }
  .bc-photo { min-height: 226px; }
  .bc-photo img { height: 190px; }
  .bc-content { padding: 23px 16px 18px; }
}
@media (max-width: 380px) {
  #produtos.grid { padding-inline: 10px; }
  .bc-content { padding: 20px 12px 16px; }
  .bc-product h3 { font-size: 20px; }
  .bc-amount { font-size: 26px; }
  .bc-purchase { gap: 8px; padding: 14px 12px; }
  .bc-open { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) { .bc-photo img { transition: none; } }


/* ==================================================================
   BARRA DE PROGRESSO DE ROLAGEM + AURORA BOREAL
   Cores locais a estes blocos; o :root e a paleta do catálogo não mudam.
   ================================================================== */
.bc-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 130;
  pointer-events: none;
}
.bc-progress span {
  display: block;
  height: 100%;
  width: calc(var(--p, 0) * 100%);
  background: linear-gradient(90deg, #4a8af4 0%, #2dd4bf 34%, #818cf8 68%, #c084fc 100%);
  background-size: 100vw 100%;
  background-repeat: no-repeat;
  border-radius: 0 3px 3px 0;
  box-shadow: 0 1px 6px rgba(74, 138, 244, 0.35);
}

/* Aurora: faixas suaves no topo da página, apagadas para baixo.
   Fica acima do conteúdo com "multiply" (só tinge o fundo, o texto continua escuro),
   abaixo do header (z-index 120) e dos painéis. Não intercepta cliques. */
.bc-aurora {
  --au-azul: rgba(74, 138, 244, 0.42);
  --au-teal: rgba(45, 212, 191, 0.38);
  --au-indigo: rgba(129, 140, 248, 0.42);
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 360px;
  z-index: 20;
  overflow: hidden;
  pointer-events: none;
  mix-blend-mode: multiply;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 35%, transparent 100%);
          mask-image: linear-gradient(180deg, #000 0%, #000 35%, transparent 100%);
}
.bc-aurora span {
  position: absolute;
  left: -15%;
  width: 130%;
  border-radius: 50%;
  filter: blur(48px);
  will-change: transform;
}
.bc-aurora span:nth-child(1) {
  top: -8%;
  height: 50%;
  background: linear-gradient(90deg, transparent 0%, var(--au-azul) 30%, var(--au-teal) 62%, transparent 100%);
  animation: bcAuroraA 26s ease-in-out infinite alternate;
}
.bc-aurora span:nth-child(2) {
  top: 18%;
  height: 42%;
  background: linear-gradient(90deg, transparent 5%, var(--au-indigo) 35%, var(--au-azul) 70%, transparent 100%);
  animation: bcAuroraB 32s ease-in-out infinite alternate;
}
.bc-aurora span:nth-child(3) {
  top: 42%;
  height: 34%;
  background: linear-gradient(90deg, transparent 10%, var(--au-teal) 40%, var(--au-indigo) 75%, transparent 100%);
  animation: bcAuroraC 38s ease-in-out infinite alternate;
}
.bc-aurora.is-paused span { animation-play-state: paused; }

@keyframes bcAuroraA {
  from { transform: translate3d(-6%, 0, 0) rotate(-4deg) scaleY(1); }
  to   { transform: translate3d(6%, 8%, 0) rotate(2deg) scaleY(1.3); }
}
@keyframes bcAuroraB {
  from { transform: translate3d(5%, 0, 0) rotate(3deg) scaleY(1); }
  to   { transform: translate3d(-7%, -6%, 0) rotate(-3deg) scaleY(1.2); }
}
@keyframes bcAuroraC {
  from { transform: translate3d(-4%, 4%, 0) rotate(-2deg) scaleY(1); }
  to   { transform: translate3d(8%, -4%, 0) rotate(4deg) scaleY(1.15); }
}

@media (max-width: 760px) {
  .bc-aurora { height: 300px; }
  .bc-aurora span { filter: blur(34px); }
  .bc-aurora span:nth-child(3) { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .bc-aurora span { animation: none !important; }
}