/* TH STORE V9.5.2 — Galeria editorial única: fotos + vídeos reais.
   Apenas apresentação: carrinho, Supabase e scripts permanecem intactos. */
.th-media-section { padding-block:clamp(55px,6vw,88px); }
.th-media-section .section-head { align-items:end; }
.th-media-subtitle { color:#c5c2ba; font-size:13px; line-height:1.55; margin:14px 0 0; max-width:470px; }
.th-media-track { align-items:stretch; gap:14px; padding-bottom:10px; }
.th-media-section .reel-card,
.th-media-section .th-media-photo {
  position:relative; display:block; flex:0 0 clamp(220px,22vw,300px);
  width:clamp(220px,22vw,300px); min-width:0; max-width:300px;
  aspect-ratio:4/5; overflow:hidden; border-radius:6px; scroll-snap-align:start;
  background:#292929; color:#fff; text-decoration:none;
}
.th-media-section .reel-card video,
.th-media-section .th-media-photo img {
  display:block; width:100%; height:100%; object-fit:cover;
}
.th-media-section .th-media-photo img { transition:transform .5s ease; }
.th-media-section .th-media-photo:hover img { transform:scale(1.05); }
.th-media-section .th-media-photo::after {
  content:""; position:absolute; inset:0; pointer-events:none;
  background:linear-gradient(180deg,rgba(0,0,0,.22), transparent 44%,rgba(0,0,0,.7));
}
.th-media-section .th-media-label {
  position:absolute; z-index:3; bottom:16px; left:15px; right:12px;
  font-weight:800; font-size:11px; letter-spacing:.09em; line-height:1.3;
}
.th-media-section .th-media-badge {
  position:absolute; z-index:5; top:12px; left:12px;
  padding:7px 9px; border:1px solid rgba(255,255,255,.55);
  background:rgba(12,12,12,.55); border-radius:2px; backdrop-filter:blur(4px);
  color:#fff; font-weight:700; font-size:9px; line-height:1; letter-spacing:.12em;
}
.th-media-section .reel-card > span { bottom:16px; font-size:11px; letter-spacing:.09em; }
.th-media-section .reel-card .reel-play { width:48px; height:48px; cursor:pointer; }
.th-media-section .th-media-photo:focus-visible,
.th-media-section .reel-play:focus-visible { outline:3px solid #f0c768; outline-offset:3px; }
@media(max-width:767px) {
  .th-media-section { padding:55px 0 62px 16px; }
  .th-media-section .section-head { padding-left:0; padding-right:16px; align-items:center; margin-bottom:23px; }
  .th-media-section .section-head > div { text-align:center; }
  .th-media-section .th-media-subtitle { margin:10px auto 0; max-width:30ch; font-size:12px; }
  .th-media-track { padding-right:16px; gap:11px; }
  .th-media-section .reel-card,
  .th-media-section .th-media-photo { flex:0 0 68vw; width:68vw; max-width:290px; aspect-ratio:4/5; border-radius:4px; }
}
@media(max-width:360px) {
  .th-media-section { padding-left:13px; }
  .th-media-section .section-head { padding-right:13px; }
  .th-media-track { padding-right:13px; }
}
@media(prefers-reduced-motion:reduce){ .th-media-section .th-media-photo img{transition:none} }
