.loja-banner {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 420px;
  color: #fff;
  background:
    radial-gradient(ellipse at 78% 40%, rgba(140, 196, 0, .22), transparent 42%),
    linear-gradient(180deg, #1a211c 0%, #101412 58%, #0E1112 100%);
  overflow: hidden;
}
.loja-banner-foto {
  background-size: cover;
  background-position: center;
}
.loja-banner-foto::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(14, 17, 18, .78) 0%, rgba(14, 17, 18, .28) 52%, rgba(14, 17, 18, .18) 100%);
}
.loja-banner-miolo {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 48px 0 36px;
}
.loja-banner h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(2.2rem, 4.4vw, 3.4rem);
  letter-spacing: -0.045em;
  line-height: 1;
}
.loja-banner .olho { color: #8CC400; }
.loja-banner .sacola-abre { background: #fff; color: #0E1112; }
.loja-banner-lead {
  max-width: 36ch;
  margin: 12px 0 0;
  color: rgba(255, 255, 255, .82);
  font-size: 1.05rem;
  font-weight: 700;
}
body:has(main.loja) { background: #f3f4f2; }
.loja { padding: 28px 0 64px; }
.loja h1 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 2.8rem);
  letter-spacing: -0.045em;
  line-height: 1;
}
.loja h2 {
  margin: 0 0 6px;
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  letter-spacing: -0.03em;
}
@media (max-width: 720px) {
  .loja-banner { min-height: 300px; }
  .loja-banner-miolo { align-items: flex-start; flex-direction: column; padding-top: 28px; }
}
.loja-lead { margin: 0 0 14px; color: #3d4742; font-weight: 700; }
.sacola-abre {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 14px 0 16px;
  border: 0;
  border-radius: 999px;
  background: #0E1112;
  color: #fff;
  font-weight: 800;
  cursor: pointer;
}
.sacola-abre b {
  display: grid;
  place-items: center;
  min-width: 26px;
  height: 26px;
  padding: 0 6px;
  border-radius: 999px;
  background: #8CC400;
  color: #0E1112;
}
.caminhos { padding-top: 22px; }
.caminhos-grade {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 14px;
}
.caminho {
  display: grid;
  grid-template-columns: 132px 1fr;
  gap: 16px;
  align-items: center;
  padding: 16px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(14, 17, 18, .06);
  transition: transform .35s cubic-bezier(.2, .7, .2, 1), box-shadow .35s ease;
}
.caminho:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 40px rgba(14, 17, 18, .12);
}
.caminho-fotos { display: grid; gap: 6px; }
.caminho-fotos a {
  display: grid;
  place-items: center;
  height: 88px;
  border-radius: 10px;
  background: #fff;
  overflow: hidden;
}
.caminho-fotos img { width: 100%; height: 88px; object-fit: contain; }
.caminho-frase {
  margin: 0 0 6px;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
}
.caminho-frase span { color: #8CC400; }
.caminho-nomes { margin: 0 0 8px; color: #5c6560; font-size: .86rem; font-weight: 700; }
.caminho-preco { display: block; margin-bottom: 10px; font-size: 1.15rem; }
.caminho-levar {
  min-height: 40px;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  background: #8CC400;
  color: #0E1112;
  font-weight: 800;
  cursor: pointer;
}
.loja-grupo { padding-top: 42px; }
.loja-grupo h2 { font-size: clamp(1.8rem, 2.6vw, 2.3rem); }
.loja-trilho { position: relative; margin-top: 8px; }
.loja-grade {
  --loja-cols: 5;
  --loja-gap: 16px;
  display: flex;
  gap: var(--loja-gap);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding: 14px 0 26px;
  margin: 0;
}
.loja-grade::-webkit-scrollbar { display: none; }
.loja-card {
  position: relative;
  flex: 0 0 calc((100% - (var(--loja-cols) - 1) * var(--loja-gap)) / var(--loja-cols));
  width: calc((100% - (var(--loja-cols) - 1) * var(--loja-gap)) / var(--loja-cols));
  display: flex;
  flex-direction: column;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(14, 17, 18, .07);
  overflow: hidden;
  scroll-snap-align: start;
  transition: transform .4s cubic-bezier(.2, .7, .2, 1), box-shadow .4s ease;
}
.loja-seta {
  position: absolute;
  top: 132px;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: #0E1112;
  box-shadow: 0 10px 24px rgba(14, 17, 18, .16);
  cursor: pointer;
}
.loja-seta.prev { left: -12px; }
.loja-seta.next { right: -12px; }
.loja-seta svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.2; }
.loja-seta[hidden] { display: none !important; }
.loja-card::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  z-index: 2;
  height: 3px;
  background: #8CC400;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .4s cubic-bezier(.2, .7, .2, 1);
}
.loja-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 28px 44px rgba(14, 17, 18, .18);
}
.loja-card:hover::before { transform: scaleX(1); }
.loja-card > a {
  display: flex;
  flex: 1;
  flex-direction: column;
  color: inherit;
  text-decoration: none;
}
.loja-foto {
  display: grid;
  place-items: center;
  height: 248px;
  background:
    radial-gradient(ellipse at 50% 80%, rgba(140, 196, 0, .16), transparent 58%),
    #f6f7f4;
  overflow: hidden;
  transition: background .4s ease;
}
.loja-card:hover .loja-foto { background: #0E1112; }
.loja-foto img { width: 100%; height: 248px; object-fit: contain; }
.loja-sem-foto {
  padding: 12px;
  font-size: .82rem;
  font-weight: 800;
  text-align: center;
}
.loja-info { display: grid; gap: 8px; padding: 14px 14px 12px; }
.loja-info strong {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.5em;
  font-size: .95rem;
  letter-spacing: -0.02em;
  line-height: 1.25;
}
.loja-info b { font-size: 1.15rem; letter-spacing: -0.03em; }
.loja-info b.mudo { color: #667068; font-size: .82rem; }
.loja-acoes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: auto;
}
.loja-por {
  width: 100%;
  min-height: 46px;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: #8CC400;
  color: #0E1112;
  font-weight: 800;
  font-size: .82rem;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background .3s ease, color .3s ease;
}
.loja-comprar {
  background: #fff;
  color: #0E1112;
  box-shadow: inset 0 1px 0 #e6e8ec, inset -1px 0 0 #e6e8ec;
}
.loja-card:hover .loja-carrinho,
.loja-card:hover .loja-ver { background: #0E1112; color: #8CC400; }
.loja-card:hover .loja-comprar { background: #f4f8e8; }
@media (max-width: 1100px) {
  .loja-grade { --loja-cols: 4; }
}
@media (max-width: 800px) {
  .loja-grade { --loja-cols: 3; }
  .loja-seta.prev { left: 0; }
  .loja-seta.next { right: 0; }
}
@media (max-width: 560px) {
  .loja-grade { --loja-cols: 2; }
}
@media (prefers-reduced-motion: reduce) {
  .loja-card, .loja-card::before, .loja-foto, .loja-por, .caminho, .loja-grade { transition: none; scroll-behavior: auto; }
  .loja-card:hover, .caminho:hover { transform: none; }
}
.loja-ver { display: grid; place-items: center; }
.sacola-fundo {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: rgba(14, 17, 18, .46);
}
.sacola {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 41;
  display: flex;
  flex-direction: column;
  width: min(400px, 100%);
  height: 100%;
  background: #fff;
  box-shadow: -20px 0 50px rgba(14, 17, 18, .18);
}
.sacola[hidden], .sacola-fundo[hidden], .sacola-aviso[hidden] { display: none !important; }
.sacola header, .sacola footer { padding: 18px 18px 16px; }
.sacola header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(14, 17, 18, .08);
}
.sacola header h2 { margin: 0; font-size: 1.35rem; }
#fechar-sacola {
  width: 36px;
  height: 36px;
  min-height: 0;
  border: 0;
  border-radius: 50%;
  background: #f3f4f2;
  font-size: 1.3rem;
  cursor: pointer;
}
.sacola-lista { flex: 1; overflow: auto; padding: 8px 18px 12px; }
.sacola-vazia { margin: 28px 0; color: #5c6560; font-weight: 700; }
.sacola-item {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(14, 17, 18, .08);
}
.sacola-item img, .sacola-item .loja-sem-foto {
  width: 64px;
  height: 64px;
  object-fit: contain;
  border-radius: 8px;
  background: #f7f8f6;
}
.sacola-item strong { display: block; font-size: .92rem; }
.sacola-item small { color: #5c6560; font-weight: 700; }
.sacola-qtd {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}
.sacola-qtd button {
  width: 28px;
  height: 28px;
  min-height: 0;
  border: 0;
  border-radius: 8px;
  background: #f3f4f2;
  font-weight: 800;
  cursor: pointer;
}
.sacola-tirar {
  margin-left: auto;
  border: 0;
  background: none;
  color: #8d1d1d;
  font-weight: 800;
  cursor: pointer;
}
.sacola footer { border-top: 1px solid rgba(14, 17, 18, .08); padding-bottom: calc(16px + env(safe-area-inset-bottom)); }
.sacola-total { display: flex; justify-content: space-between; margin: 0 0 8px; font-weight: 800; font-size: 1.15rem; }
.sacola-nota, .sacola-aviso { margin: 0 0 12px; color: #5c6560; font-size: .88rem; font-weight: 700; }
.sacola-aviso { color: #3f6212; }
.sacola-fechar-pedido { width: 100%; }

.sacola-flutuante {
  position: fixed;
  top: 96px;
  right: 16px;
  z-index: 24;
  width: 196px;
}
.sacola-flutuante[hidden] { display: none !important; }
.sacola-flutuante button {
  width: 100%;
  padding: 14px 14px 12px;
  border: 0;
  border-radius: 16px;
  background: #fff;
  color: #0E1112;
  text-align: left;
  box-shadow: 0 16px 36px rgba(14, 17, 18, .16);
  cursor: pointer;
  font: inherit;
}
.sacola-flutuante span {
  display: block;
  margin-bottom: 4px;
  color: #3d5210;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.sacola-flutuante strong {
  display: block;
  margin-bottom: 10px;
  font-size: 1.05rem;
}
.sacola-flutuante p {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin: 0;
  padding-top: 6px;
  font-size: .84rem;
  font-weight: 700;
}
.sacola-flutuante em { font-style: normal; color: #5c6560; }

@media (max-width: 900px) {
  .sacola-flutuante {
    top: auto;
    right: 12px;
    bottom: calc(78px + env(safe-area-inset-bottom));
    left: 12px;
    width: auto;
  }
}
@media (max-width: 1079px) {
  .sacola footer { padding-bottom: calc(84px + env(safe-area-inset-bottom)); }
}
