/* ═══ Loja por categorias: carrossel, grelha de categorias e página da categoria ═══ */

/* Página principal: sem a lista toda nem a barra de pílulas; só destaques e categorias */
body.store-home #catalogo, body.store-home .store-category-shell { display: none !important; }
/* Página de categoria: sem o anúncio VIP e sem a lista de categorias da barra lateral */
body.store-cat #vip-hero, body.store-cat .store-category-shell { display: none !important; }
body.store-cat :has(> #sidebar-category-list) { display: none; }
body.store-cat #catalogo { scroll-margin-top: 110px; }

.scat-wrap { padding-top: 26px; }

/* ── Carrossel ── */
.scar { margin-bottom: 44px; }
.scar-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.scar-crumb { font-size: 13px; font-weight: 600; color: #cfd5d3; }
.scar-crumb i { font-style: normal; color: #5d666a; margin: 0 6px; }
.scar-ctrl { display: flex; align-items: center; gap: 6px; }
.scar-bars { display: flex; gap: 6px; margin-right: 10px; }
.scar-bar { width: 36px; height: 16px; padding: 6px 0; border: 0; background: none; cursor: pointer; }
.scar-bar i { display: block; height: 4px; border-radius: 2px; background: #ffffff2e; overflow: hidden; position: relative; transform-origin: left; }
.scar-bar.is-on { width: 70px; }
.scar-bar.is-on i, .scar-bar.is-done i { background: #ffffff2e; }
.scar-bar.is-on i::after { content: ''; position: absolute; inset: 0; background: #eef0ee; transform: scaleX(var(--p, 0)); transform-origin: left center; }
.scar-bar i { transform: none !important; }
.scar-btn { width: 30px; height: 30px; border: 0; border-radius: 8px; cursor: pointer; font-size: 18px; line-height: 1; color: #cfd5d3; background: transparent; }
.scar-btn:hover { background: #ffffff12; color: #fff; }
.scar-pause { font-size: 11px; letter-spacing: -1px; }
.scar-view { position: relative; aspect-ratio: 1600 / 440; }
.scar-slide { position: absolute; inset: 0; display: block; overflow: hidden; border-radius: 14px; color: #fff; text-decoration: none;
  box-shadow: 0 0 0 1px #ffffff14, 0 24px 60px #0007; transition: transform .7s cubic-bezier(.22,.8,.2,1), opacity .5s, filter .5s; }
.scar-slide img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 6s ease-out; }
.scar-slide.is-on img { transform: scale(1.035); }
.scar-slide.is-side { opacity: .55; filter: saturate(.8) brightness(.8); cursor: pointer; }
.scar-slide::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(8,9,12,.72) 0%, rgba(8,9,12,.15) 38%, transparent 60%); pointer-events: none; }
.scar-txt { position: absolute; left: 22px; bottom: 20px; z-index: 1; max-width: 70%; }
.scar-txt strong { display: block; font-size: clamp(20px, 2.2vw, 30px); font-weight: 700; letter-spacing: -.02em; text-shadow: 0 2px 14px #0008; }
.scar-txt span { display: block; margin-top: 4px; font-size: clamp(12.5px, 1.1vw, 15px); color: #e6e8e4; text-shadow: 0 2px 10px #0009; }
.scar-cta { position: absolute; right: 20px; bottom: 20px; z-index: 1; padding: 9px 16px; border-radius: 999px; font-size: 13px; font-weight: 700;
  color: #111; background: #eef0ee; opacity: 0; transform: translateY(6px); transition: opacity .3s, transform .3s; }
.scar-slide.is-on .scar-cta, .scar-slide.is-on:focus-visible .scar-cta { opacity: 1; transform: none; }
.scar-slide.is-on:hover .scar-cta { background: #fff; }
.scar-slide:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

/* ── Grelha de categorias ── */
.scat { margin-bottom: 56px; }
.scat-head { margin-bottom: 16px; }
.scat-head p { margin: 0 0 4px; font-size: 10px; font-weight: 700; letter-spacing: .2em; color: #8d9693; }
.scat-head h2 { margin: 0; font-size: clamp(22px, 2.4vw, 30px); font-weight: 600; letter-spacing: -.035em; color: #f0f2ef; }
.scat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.scat-tile { position: relative; display: block; overflow: hidden; aspect-ratio: 16 / 7; border-radius: 12px; color: #fff; text-decoration: none;
  background: #1a1c1f; box-shadow: 0 0 0 1px #ffffff12; transition: transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .25s; }
.scat-tile img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s cubic-bezier(.2,.8,.2,1); }
.scat-tile::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(8,9,12,.78), rgba(8,9,12,.1) 55%, transparent); }
.scat-tile:hover { transform: translateY(-4px); box-shadow: 0 0 0 1px #ffffff30, 0 18px 40px #0007; }
.scat-tile:hover img { transform: scale(1.06); }
.scat-meta { position: absolute; left: 14px; bottom: 12px; z-index: 1; }
.scat-meta strong { display: block; font-size: 17px; font-weight: 700; letter-spacing: -.01em; }
.scat-meta span { font-size: 12px; color: #cfd5d3; }
.scat-go { position: absolute; right: 14px; bottom: 12px; z-index: 1; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%;
  font-style: normal; color: #111; background: #eef0ee; opacity: 0; transform: translateX(-6px); transition: opacity .25s, transform .25s; }
.scat-tile:hover .scat-go { opacity: 1; transform: none; }
.scat-fallback { width: 100%; height: 100%; display: grid; place-items: center; background: radial-gradient(ellipse at 50% 40%, #363c40, #1c2023 80%); }
.scat-fallback svg { width: 48px; height: 48px; color: #cfd5d3; }
.scat-tile:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

/* ── Cabeçalho de categoria ── */
.scathero { margin-bottom: 26px; }
.scathero-nav { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 12px; }
.scathero-back { display: inline-block; font-size: 13px; font-weight: 600; color: #aab1b4; text-decoration: none; }
.scathero-back:hover { color: #fff; }
.scathero-switch { display: flex; align-items: center; gap: 9px; font-size: 12px; font-weight: 600; color: #aab1b4; }
.scathero-switch select { max-width: 220px; padding: 8px 30px 8px 11px; border: 1px solid #ffffff2b; border-radius: 8px; background: #1c2023; color: #f0f2ef; font: inherit; cursor: pointer; }
.scathero-switch select:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.scathero-banner { position: relative; overflow: hidden; aspect-ratio: 1600 / 440; border-radius: 14px; box-shadow: 0 0 0 1px #ffffff14, 0 24px 60px #0006; }
.scathero-banner img { width: 100%; height: 100%; object-fit: cover; display: block; animation: scathero-in 1.2s cubic-bezier(.2,.8,.2,1) both; }
@keyframes scathero-in { from { transform: scale(1.06); filter: brightness(.7); } }
.scathero-banner::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,9,12,.72) 0%, rgba(8,9,12,.2) 40%, transparent 60%); }
.scathero-txt { position: absolute; left: 28px; bottom: 24px; z-index: 1; max-width: 60%; }
.scathero-txt p { margin: 0 0 6px; font-size: 11px; font-weight: 700; letter-spacing: .18em; color: #e6e8e4; }
.scathero-txt h1 { margin: 0; font-size: clamp(30px, 4vw, 54px); font-weight: 700; letter-spacing: -.04em; line-height: 1; color: #fff; text-shadow: 0 4px 24px #0008; }
.scathero-txt span { display: block; margin-top: 8px; font-size: 14px; color: #e6e8e4; text-shadow: 0 2px 10px #0009; }
.scathero-fallback { width: 100%; height: 100%; display: grid; place-items: center; background: radial-gradient(ellipse at 60% 40%, #363c40, #1c2023 80%); }

@media (max-width: 700px) {
  .scathero-switch span { display: none; }
  .scathero-switch select { max-width: 150px; }
  .scar-view { aspect-ratio: 16 / 8; }
  .scar-top { flex-wrap: wrap; }
  .scar-bars { display: none; }
  .scar-cta { display: none; }
  .scar-txt { left: 14px; bottom: 12px; max-width: 90%; }
  .scathero-banner { aspect-ratio: 16 / 8; }
  .scathero-txt { left: 16px; bottom: 14px; max-width: 90%; }
  .scat-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .scat-meta strong { font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .scar-slide img, .scathero-banner img { transition: none; animation: none; }
}

/* ── Banner animado das Danças ── */
.dz { position: absolute; left: 50%; top: 50%; height: 100%; aspect-ratio: 1600 / 440; min-width: 100%; transform: translate(-50%, -50%); }
.dz img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: none !important; animation: none !important; transition: opacity .45s ease; }
.dz-bg, .dz-layer { opacity: 0; }
.dz-layer { position: absolute; inset: 0; transition: opacity .45s ease; }
.dz.is-play .dz-bg, .dz.is-play .dz-layer { opacity: 1; }
.dz.is-play .dz-final { opacity: 0; }
.dz.is-play.is-done .dz-final { opacity: 1; }
.dz-final { z-index: 2; }
.dz-layer { z-index: 1; }
.dz.is-play.is-done .dz-layer { opacity: 0; }
.dz-d { position: absolute; display: block; background-repeat: no-repeat; background-position: 0 0; opacity: 0;
  filter: drop-shadow(0 18px 22px rgba(0,0,0,.45)) drop-shadow(0 4px 6px rgba(0,0,0,.35)); }
.dz.is-play .dz-d { animation: dz-in .5s cubic-bezier(.2,.8,.2,1) calc(var(--i) * .38s) both, dz-play 1.05s steps(var(--steps)) calc(var(--i) * .38s) both; }
@keyframes dz-in { from { opacity: 0; transform: translateX(-70px) translateY(10px); } 60% { opacity: 1; } to { opacity: 1; transform: none; } }
@keyframes dz-play { from { background-position: 0% 0; } to { background-position: 100% 0; } }
