/* Loja Red Shield: usa o site.css e só acrescenta o que é da loja */

.menu a[aria-current="page"] { color: #fff; background: rgba(255,255,255,.1); }

/* ---------- topo da loja: texto e carrossel lado a lado ---------- */
.loja-topo { position: relative; isolation: isolate; overflow: hidden; padding: calc(var(--topo) + 48px) 0 56px; }
.loja-topo-foto { position: absolute; inset: 0; z-index: -2; background: #0b0b0d url("comum/img/tatame.jpg") center 60% / cover no-repeat; }
.loja-topo-foto::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,11,13,.84), rgba(11,11,13,.92) 70%, #0b0b0d), radial-gradient(60% 80% at 85% 30%, rgba(200,22,29,.35), transparent 70%); }
.loja-topo-grade { display: grid; grid-template-columns: 1fr 440px; gap: 56px; align-items: center; }
.loja-topo .titulo-secao { font-size: clamp(2.4rem, 5vw, 4rem); margin-bottom: 16px; }
.loja-topo .titulo-secao em { color: #ff3b42; }

.carrossel { position: relative; }
.carrossel-janela, .carrossel { overflow: hidden; border-radius: 22px; }
.carrossel-trilho { display: flex; transition: transform .7s cubic-bezier(.65,0,.35,1); touch-action: pan-y; }
.slide { position: relative; flex: 0 0 100%; aspect-ratio: 1 / 1; display: block; text-decoration: none; color: #fff; user-select: none; -webkit-user-select: none; }
.slide img { width: 100%; height: 100%; object-fit: contain; display: block; pointer-events: none; }
.slide-texto { position: absolute; left: 0; right: 0; bottom: 0; padding: 60px 22px 46px; background: linear-gradient(transparent, rgba(11,11,13,.92)); display: flex; flex-direction: column; gap: 4px; }
.slide-texto small { font-size: .7rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #ff5a60; }
.slide-texto b { font-family: var(--titulo); font-weight: 700; font-size: 1.4rem; letter-spacing: -.02em; line-height: 1.1; }
.slide-texto i { font-style: normal; font-size: .86rem; font-weight: 600; color: rgba(255,255,255,.8); }
.slide-texto i::after { content: " →"; }
.carrossel-pontos { position: absolute; left: 22px; bottom: 18px; display: flex; gap: 6px; }
.carrossel-pontos button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 999px; background: rgba(255,255,255,.45); cursor: pointer; transition: width .3s, background .3s; }
.carrossel-pontos button[aria-current] { width: 26px; background: var(--rs-vermelho); }
.carrossel-pontos button::after { content: ""; display: block; margin: -10px; height: 28px; }

/* ---------- produtos: compactos, foto quadrada e texto ao lado ---------- */
.loja-lista { padding: 72px 0; }
.produto { display: grid; grid-template-columns: minmax(0, 440px) minmax(0, 1fr); gap: 48px; align-items: start; padding: 56px 0; scroll-margin-top: calc(var(--topo) + 16px); }
.produto:first-child { padding-top: 0; }
.produto:last-child { padding-bottom: 0; }
.produto + .produto { border-top: 1px solid #e3e1dd; }
.produto.invertido { grid-template-columns: minmax(0, 1fr) minmax(0, 440px); }
.produto.invertido .moldura { order: 2; }

/* todas as fotos na mesma moldura quadrada, com o fundo da própria arte */
.moldura { position: relative; display: block; width: 100%; aspect-ratio: 1 / 1; padding: 0; border: 0; border-radius: 20px; overflow: hidden; cursor: zoom-in; box-shadow: 0 22px 44px rgba(14,14,16,.14); transition: box-shadow .3s, transform .3s; }
.moldura:hover { transform: translateY(-3px); box-shadow: 0 28px 52px rgba(14,14,16,.2); }
.moldura img { width: 100%; height: 100%; object-fit: contain; display: block; transition: opacity .16s; }
.moldura img.trocando { opacity: 0; }
.dica-lupa { position: absolute; right: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; background: rgba(11,11,13,.7); color: #fff; font-size: .78rem; font-weight: 700; }

.prod-info h2 { font-family: var(--titulo); font-weight: 700; font-size: clamp(1.6rem, 2.6vw, 2.1rem); line-height: 1.08; letter-spacing: -.03em; margin: 0 0 10px; }
.prod-info h2 em { font-style: normal; color: var(--rs-vermelho); }
.prod-info .sobretitulo { margin-bottom: 10px; }
.prod-info .desc { margin: 0 0 10px; color: #4a4a52; font-size: .98rem; max-width: 560px; }
.caracteristicas { margin: 0 0 20px; font-size: .86rem; font-weight: 600; color: #6b6b75; }
.caracteristicas i { display: inline-block; width: 4px; height: 4px; border-radius: 50%; background: var(--rs-vermelho); margin: 0 10px; vertical-align: middle; }

/* escolhas em texto: sem caixa, a escolhida fica sublinhada em vermelho */
.campo-loja { margin-bottom: 14px; }
.campo-loja .rotulo { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #6b6b75; margin-bottom: 4px; }
.campo-loja .rotulo small { font-size: inherit; letter-spacing: inherit; color: var(--rs-vermelho); }
.escolhas { display: flex; flex-wrap: wrap; column-gap: 18px; row-gap: 2px; }
.escolha { position: relative; padding: 6px 0; min-height: 36px; border: 0; background: none; font: inherit; font-weight: 600; font-size: .95rem; color: #6b6b75; cursor: pointer; transition: color .15s; }
.escolha::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px; border-radius: 2px; background: var(--rs-vermelho); transform: scaleX(0); transition: transform .25s cubic-bezier(.2,.8,.2,1); }
.escolha:hover { color: var(--rs-preto); }
.escolha.on { color: var(--rs-preto); font-weight: 800; }
.escolha.on::after { transform: scaleX(1); }
.linha-tam { display: flex; align-items: baseline; gap: 14px; }
.linha-tam > small { width: 56px; flex: none; font-size: .78rem; color: #8a8a93; }
.aviso-tam { display: block; min-height: 1.1em; font-size: .84rem; font-weight: 600; color: var(--rs-vermelho); }
.campo-loja.falta .escolhas { animation: balanca .4s; }
@keyframes balanca { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }

.compra { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin: 6px 0 16px; padding-top: 14px; border-top: 1px solid #e3e1dd; }
.qtd { display: inline-flex; align-items: center; gap: 4px; }
.qtd span { font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #6b6b75; margin-right: 8px; }
.qtd button { width: 36px; height: 36px; border: 0; border-radius: 50%; background: transparent; font-size: 1.2rem; font-weight: 700; cursor: pointer; color: var(--rs-preto); transition: background .15s; }
.qtd button:hover { background: rgba(0,0,0,.06); }
.qtd output { min-width: 24px; text-align: center; font-weight: 800; }
.preco-loja { font-family: var(--titulo); font-weight: 700; font-size: 1.15rem; letter-spacing: -.02em; }
.btn-encomendar { width: 100%; justify-content: center; min-height: 52px; }

/* ---------- janela da foto ampliada ---------- */
.janela-foto { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 24px; background: rgba(11,11,13,.92); opacity: 0; transition: opacity .2s; cursor: zoom-out; }
.janela-foto[hidden] { display: none; }
.janela-foto.visivel { opacity: 1; }
.janela-foto img { max-width: min(1100px, 100%); max-height: calc(100vh - 48px); border-radius: 14px; box-shadow: 0 30px 80px rgba(0,0,0,.6); cursor: default; }
.fechar-foto { position: absolute; top: 16px; right: 16px; width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255,255,255,.12); color: #fff; cursor: pointer; display: grid; place-items: center; }

/* ---------- como encomendar ---------- */
.loja-como { background: var(--rs-preto); padding: 80px 0; }
.passos-loja { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 420px)); gap: 32px; }
.passos-loja b { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--rs-vermelho); font-family: var(--titulo); font-size: 1.1rem; margin-bottom: 14px; }
.passos-loja h3 { font-family: var(--titulo); font-weight: 700; font-size: 1.2rem; letter-spacing: -.02em; margin: 0 0 6px; }
.passos-loja p { margin: 0; color: var(--texto-claro); }

.whats-solto { position: fixed; right: 20px; bottom: 20px; z-index: 40; width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; background: var(--verde-whats); color: #fff; box-shadow: 0 12px 28px rgba(0,0,0,.35); transition: transform .2s; }
.whats-solto:hover { transform: scale(1.06); }

@media (max-width: 960px) {
  .loja-topo-grade { grid-template-columns: 1fr; gap: 32px; }
  .carrossel { max-width: 440px; }
  .produto, .produto.invertido { grid-template-columns: 1fr; gap: 24px; }
  .produto.invertido .moldura { order: 0; }
  .moldura { max-width: 440px; }
  .passos-loja { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 560px) {
  .loja-lista { padding: 48px 0; }
  .produto { padding: 40px 0; }
  .linha-tam { flex-direction: column; gap: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .carrossel-trilho, .escolha::after { transition: none; }
  .campo-loja.falta .escolhas { animation: none; }
}
