/* ============================================================
   SOARFLY SHOP — Global Styles (TikTok Shop Clone)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800;900&family=Inter:wght@400;500;600;700;800;900&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --red: #fe2c55;
  --red-dark: #d91b43;
  --orange: #ff6a1f;
  --black: #161823;
  --gray: #8a8b91;
  --light-gray: #f5f5f5;
  --border: #f0f0f2;
  --teal: #00b8a9;
  --gold: #8a5a1e;
  --star: #f2b900;
  --white: #ffffff;
  --max-w: 440px;
  --font: 'TikTok Sans', 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

html { font-size: 16px; -webkit-text-size-adjust: 100%; }

body, html, button, input, select, textarea, h1, h2, h3, h4, h5, h6, p, span, a, div {
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  background: #e5e5e7;
  color: var(--black);
  min-height: 100vh;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font-family: var(--font); }
/* Global Image Reset - Never distort or stretch images anywhere */
img, video, canvas, svg {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Tailwind utility compatibility for scraped elements */
.aspect-square {
  aspect-ratio: 1 / 1 !important;
}
.w-full {
  width: 100% !important;
}
.h-full {
  height: 100% !important;
}
.object-cover {
  object-fit: cover !important;
}
.object-contain {
  object-fit: contain !important;
}
.rounded-md {
  border-radius: 6px !important;
}
.rounded-lg {
  border-radius: 8px !important;
}
.space-y-2 > * + * {
  margin-top: 8px !important;
}
.space-y-3 > * + * {
  margin-top: 12px !important;
}
.space-y-4 > * + * {
  margin-top: 16px !important;
}

input, select, textarea { font-family: var(--font); }

/* Page wrapper */
.page-wrap {
  margin: 0 auto;
  min-height: 100vh;
  width: 100%;
  max-width: var(--max-w);
  background: #fff;
  box-shadow: 0 0 40px rgba(0,0,0,.08);
  position: relative;
}

/* ============================================================
   VITRINE (store listing page)
   ============================================================ */

/* Top info bar */
.vt-fina {
  background: var(--black);
  color: rgba(255,255,255,.75);
  font-size: 11px;
  padding: 6px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}
.vt-fina-loja { font-weight: 700; font-size: 11px; color: #fff; }
.vt-fina-links { display: flex; gap: 12px; list-style: none; }
.vt-fina-links a { font-size: 11px; opacity: .7; }
.vt-fina-links a:hover { opacity: 1; }
.vt-fina-black {
  display: flex; align-items: center; gap: 4px;
  font-size: 11px; font-weight: 700;
  color: #ffcf00;
}
.vt-fina-black svg { color: #ffcf00; }

/* Header */
.vt-cab {
  background: #fff;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}
.vt-cab-in {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  height: 56px;
}
.vt-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  text-decoration: none;
}
.vt-logo img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; }
.vt-logo-nome {
  font-size: 15px;
  font-weight: 800;
  color: var(--black);
  white-space: nowrap;
}
.vt-busca {
  flex: 1;
  display: flex;
  align-items: center;
  background: var(--light-gray);
  border-radius: 20px;
  padding: 0 12px;
  height: 36px;
  gap: 6px;
}
.vt-busca input {
  flex: 1;
  border: none;
  background: none;
  outline: none;
  font-size: 13px;
  color: var(--black);
}
.vt-busca input::placeholder { color: var(--gray); }
.vt-busca-bt {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--gray);
  display: flex;
  align-items: center;
}
.vt-busca-bt:hover { color: var(--black); }
.vt-cab-pedidos { color: var(--black); display: flex; align-items: center; flex-shrink: 0; }
.vt-cab-pedidos:hover { color: var(--red); }

/* Sugestões */
.vt-sugs {
  background: #fff;
  padding: 8px 16px;
  border-bottom: 1px solid var(--border);
  overflow-x: auto;
  scrollbar-width: none;
}
.vt-sugs::-webkit-scrollbar { display: none; }
.vt-sugs-in {
  display: flex;
  gap: 8px;
  list-style: none;
  white-space: nowrap;
}
.vt-sug {
  font-size: 12px;
  color: var(--black);
  background: var(--light-gray);
  border-radius: 20px;
  padding: 5px 12px;
  font-weight: 500;
  flex-shrink: 0;
  transition: background .15s;
}
.vt-sug:hover { background: #e0e0e2; }

/* Banner carousel */
.vt-banners {
  padding: 12px 16px 0;
}
.vt-carrossel {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
}
.vt-slides {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  scroll-behavior: smooth;
}
.vt-slides::-webkit-scrollbar { display: none; }
.vt-slide {
  flex-shrink: 0;
  width: 100%;
  scroll-snap-align: start;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 20px;
  min-height: 130px;
  gap: 12px;
  position: relative;
  text-decoration: none;
  color: #fff;
}

/* Banner types */
.vt-bn-black { background: linear-gradient(135deg, #161823, #2d2f3e); }
.vt-bn-frete { background: linear-gradient(135deg, #00b8a9, #00927d); }
.vt-bn-kit { background: linear-gradient(135deg, var(--red), #c01a3d); }
.vt-bn-novos { background: linear-gradient(135deg, #ff6a1f, #e84d00); }

.vt-bn-texto {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
  min-width: 0;
}
.vt-bn-kicker {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .05em;
  opacity: .8;
}
.vt-bn-titulo {
  font-size: 22px;
  font-weight: 900;
  line-height: 1.1;
}
.vt-bn-titulo b { color: #ffcf00; }
.vt-bn-titulo-kit { font-size: 17px; }
.vt-bn-linha {
  font-size: 11px;
  opacity: .85;
  margin-top: 2px;
}
.vt-bn-preco {
  font-size: 13px;
  margin-top: 2px;
}
.vt-bn-por { font-size: 18px; font-weight: 900; }
.vt-bn-por .vt-rs { font-size: 11px; }
.vt-bn-por s { font-size: 11px; font-weight: 400; opacity: .7; }
.vt-bn-pct {
  background: #ffcf00;
  color: #000;
  font-size: 10px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
  margin-left: 4px;
}
.vt-bn-bt {
  display: inline-block;
  background: #fff;
  color: var(--black);
  font-size: 11px;
  font-weight: 800;
  padding: 6px 14px;
  border-radius: 20px;
  margin-top: 8px;
  align-self: flex-start;
}
.vt-bn-black .vt-bn-bt { background: var(--red); color: #fff; }

.vt-bn-fotos {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
}
.vt-bn-tile {
  position: relative;
  width: 70px;
  height: 70px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
}
.vt-bn-tile-g { width: 100px; height: 100px; }
.vt-bn-tile img { width: 100%; height: 100%; object-fit: cover; }
.vt-bn-caminhao { opacity: .3; }
.vt-bn-fotos-5 { gap: 4px; }
.vt-bn-fotos-5 .vt-bn-tile { width: 52px; height: 52px; border-radius: 6px; }

/* Pontos */
.vt-pontos {
  display: flex;
  justify-content: center;
  gap: 5px;
  padding: 8px 0 0;
}
.vt-ponto {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #d0d0d3;
  transition: all .2s;
}
.vt-ponto[aria-current="true"] {
  background: var(--red);
  width: 14px;
  border-radius: 3px;
}

.vt-seta {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,.25);
  backdrop-filter: blur(4px);
  border-radius: 50%;
  width: 28px; height: 28px;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  z-index: 10;
}
.vt-seta-esq { left: 8px; }
.vt-seta-dir { right: 8px; }

/* Laterais (trust badges) */
.vt-laterais {
  display: flex;
  flex-direction: column;
  gap: 1px;
  margin-top: 8px;
}
.vt-lateral {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  padding: 10px 16px;
  text-decoration: none;
  color: var(--black);
}
.vt-lat-ic { color: var(--teal); flex-shrink: 0; }
.vt-lat-txt {
  display: flex;
  flex-direction: column;
  font-size: 12px;
  color: var(--gray);
}
.vt-lat-txt b { color: var(--black); font-size: 13px; }

/* Icons nav */
.vt-icones {
  background: #fff;
  padding: 14px 16px;
  margin-top: 8px;
  border-radius: 12px;
}
.vt-ic-lista {
  display: flex;
  gap: 2px;
  overflow-x: auto;
  scrollbar-width: none;
  list-style: none;
  padding-bottom: 4px;
}
.vt-ic-lista::-webkit-scrollbar { display: none; }
.vt-ic {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  color: var(--black);
  min-width: 60px;
  padding: 4px;
  border-radius: 8px;
  transition: background .15s;
}
.vt-ic:hover { background: var(--light-gray); }
.vt-ic-bola {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--light-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--black);
}
.vt-ic-rot {
  font-size: 10px;
  font-weight: 600;
  text-align: center;
  white-space: nowrap;
  color: var(--gray);
}

/* Sections common */
.vt-caixa {
  background: #fff;
  border-radius: 12px;
  margin-top: 8px;
  overflow: hidden;
}
.vt-larg {
  max-width: 100%;
}
.vt-sec-cab {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px 10px;
}
.vt-of-tit {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 800;
  color: var(--red);
}
.vt-tit-cinza { font-size: 12px; font-weight: 800; color: var(--gray); letter-spacing: .04em; }
.vt-tit-cor { font-size: 13px; font-weight: 900; color: var(--black); letter-spacing: .03em; }
.vt-ver-tudo {
  font-size: 12px;
  color: var(--gray);
  display: flex;
  align-items: center;
  gap: 2px;
  text-decoration: none;
}
.vt-ver-tudo:hover { color: var(--black); }

/* Contagem */
.vt-contagem {
  display: flex;
  align-items: center;
  gap: 2px;
  font-size: 12px;
  font-weight: 700;
  color: var(--black);
}
.vt-cx {
  background: var(--black);
  color: #fff;
  padding: 2px 5px;
  border-radius: 4px;
  min-width: 22px;
  text-align: center;
  font-size: 11px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}
.vt-cx-rot { font-size: 11px; font-weight: 700; color: var(--black); }

/* Faixa horizontal scroll */
.vt-tira {
  display: flex;
  overflow-x: auto;
  gap: 10px;
  padding: 0 16px 14px;
  scrollbar-width: none;
}
.vt-tira::-webkit-scrollbar { display: none; }

/* Ofertas */
.vt-of {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--black);
  min-width: 140px;
  max-width: 140px;
  flex-shrink: 0;
  gap: 6px;
}
.vt-of-foto {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 1;
  background: var(--light-gray);
}
.vt-of-foto img { width: 100%; height: 100%; object-fit: cover; }
.vt-selo {
  position: absolute;
  top: 6px;
  left: 6px;
  background: var(--red);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
}
.vt-black-pos {
  position: absolute;
  bottom: 6px;
  right: 0;
}
.vt-black {
  background: var(--black);
  color: #fff;
  font-size: 9px;
  font-weight: 900;
  padding: 3px 5px;
  letter-spacing: .05em;
  border-radius: 3px 0 0 3px;
}
.vt-of-nome { font-size: 12px; font-weight: 500; line-height: 1.3; }
.vt-of-precos { display: flex; flex-direction: column; gap: 2px; }
.vt-por { font-size: 15px; font-weight: 800; }
.vt-rs { font-size: 10px; font-weight: 700; }
.vt-de { font-size: 11px; color: var(--gray); text-decoration: line-through; }
.vt-of-barra {
  font-size: 10px;
  color: var(--gray);
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.vt-of-sem .vt-of-barra-txt { color: var(--teal); font-weight: 600; }
.vt-of-trilho {
  width: 100%;
  height: 3px;
  background: #f0f0f2;
  border-radius: 2px;
  overflow: hidden;
}
.vt-of-cheio { height: 100%; background: var(--red); border-radius: 2px; }

/* Largão */
.vt-largo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
  background: #fff;
  margin-top: 8px;
  text-decoration: none;
  color: var(--black);
  border-radius: 12px;
  gap: 12px;
}
.vt-lg-texto {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}
.vt-lg-texto b { font-size: 14px; font-weight: 800; }
.vt-lg-texto span { font-size: 11px; color: var(--gray); }
.vt-lg-fotos { display: flex; gap: -8px; }
.vt-lg-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  margin-left: -8px;
}
.vt-lg-foto {
  width: 52px; height: 52px;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid #fff;
}
.vt-lg-foto img { width: 100%; height: 100%; object-fit: cover; }
.vt-lg-top { font-size: 9px; font-weight: 800; color: var(--red); }
.vt-lg-vend { font-size: 9px; color: var(--gray); }
.vt-lg-bt {
  background: var(--red);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 20px;
  flex-shrink: 0;
}

/* Categorias */
.vt-cat-grade {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  padding: 0 16px 16px;
  list-style: none;
}
.vt-cat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  color: var(--black);
}
.vt-cat-bola {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--light-gray);
}
.vt-cat-bola img { width: 100%; height: 100%; object-fit: cover; }
.vt-cat-rot { font-size: 11px; font-weight: 600; text-align: center; color: var(--gray); }

/* Destaques */
.vt-dt-tira { }
.vt-dt {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-decoration: none;
  color: var(--black);
  min-width: 110px;
  max-width: 110px;
  flex-shrink: 0;
}
.vt-dt-foto {
  position: relative;
  aspect-ratio: 1;
  border-radius: 8px;
  overflow: hidden;
  background: var(--light-gray);
}
.vt-dt-foto img { width: 100%; height: 100%; object-fit: cover; }
.vt-top {
  position: absolute;
  top: 6px;
  left: 0;
  font-size: 9px;
  font-weight: 900;
  padding: 3px 7px;
  border-radius: 0 4px 4px 0;
  letter-spacing: .04em;
}
.vt-top-1 { background: var(--red); color: #fff; }
.vt-top-2 { background: var(--orange); color: #fff; }
.vt-top-3 { background: var(--black); color: #fff; }
.vt-dt-nome { font-size: 11px; font-weight: 500; line-height: 1.3; }

/* Descobertas grid */
.vt-descobertas { padding: 0 8px; margin-top: 8px; }
.vt-desc-cab {
  padding: 14px 8px 10px;
}
.vt-desc-cab h2 {
  font-size: 12px;
  font-weight: 800;
  color: var(--gray);
  letter-spacing: .04em;
}
.vt-desc-grade {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.vt-dc {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
}
.vt-dc-link {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--black);
}
.vt-dc-foto {
  position: relative;
  aspect-ratio: 1;
  background: var(--light-gray);
  overflow: hidden;
}
.vt-dc-foto img { width: 100%; height: 100%; object-fit: cover; }
.vt-dc-corpo { padding: 8px 8px 10px; display: flex; flex-direction: column; gap: 4px; }
.vt-dc-nome { font-size: 12px; font-weight: 500; line-height: 1.3; }
.vt-dc-precos { display: flex; flex-direction: column; gap: 2px; }
.vt-apartir { font-size: 10px; color: var(--gray); }
.vt-dc-pe { display: flex; flex-direction: column; gap: 2px; font-size: 10px; color: var(--gray); }
.vt-frete { color: var(--teal); font-weight: 600; }
.vt-vendidos { }

/* Frete section */
.vt-frete-box {
  background: #fff;
  border-radius: 12px;
  margin: 8px 8px;
  padding: 16px;
}
.vt-frete-box h2 { font-size: 15px; font-weight: 800; margin-bottom: 8px; }
.vt-frete-box p { font-size: 13px; color: var(--gray); line-height: 1.5; }

/* Footer */
.vt-footer {
  padding: 24px 16px;
  text-align: center;
  font-size: 11px;
  color: var(--gray);
  line-height: 1.6;
}

/* ============================================================
   PRODUTO — Product detail page
   ============================================================ */

.prod-wrap {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Sticky top tabs */
.prod-tabs {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%) translateY(-100%);
  width: 100%;
  max-width: var(--max-w);
  background: #fff;
  border-bottom: 1px solid var(--border);
  z-index: 200;
  transition: transform .2s ease;
}
.prod-tabs.visible { transform: translateX(-50%) translateY(0); }
.prod-tabs-inner {
  display: flex;
  height: 44px;
}
.prod-tab-btn {
  flex: 1;
  font-size: 14px;
  font-weight: 500;
  color: var(--gray);
  position: relative;
  transition: color .15s;
}
.prod-tab-btn.active { color: var(--black); }
.prod-tab-btn .tab-line {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 32px;
  height: 2px;
  background: var(--red);
  border-radius: 2px;
  display: none;
}
.prod-tab-btn.active .tab-line { display: block; }

/* Gallery */
.prod-gallery {
  position: relative;
  background: #fff;
}
.prod-gallery-slides {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  scroll-behavior: smooth;
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #fff;
}
.prod-gallery-slides::-webkit-scrollbar { display: none; }
.prod-gallery-slides img {
  flex-shrink: 0;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  aspect-ratio: 1 / 1 !important;
  object-fit: cover !important;
  object-position: center !important;
  scroll-snap-align: start;
  display: block !important;
}
.prod-gallery-counter {
  position: absolute;
  bottom: 8px;
  right: 10px;
  background: rgba(0,0,0,.5);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 20px;
}

/* Flash sale banner */
.prod-flash {
  background: var(--orange);
  padding: 8px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  position: relative;
  overflow: hidden;
  color: #fff;
}
.prod-flash::before {
  content: '';
  position: absolute;
  inset-y: 0;
  right: 38%;
  width: 26%;
  background: rgba(255,255,255,.07);
  transform: skewX(-12deg);
}
.prod-price-block { display: flex; flex-direction: column; }
.prod-price-row { display: flex; align-items: flex-end; gap: 4px; }
.prod-discount-badge {
  background: #fff;
  color: var(--red);
  font-size: 10px;
  font-weight: 900;
  padding: 2px 5px;
  border-radius: 4px;
  margin-bottom: 5px;
}
.prod-price-cur {
  font-size: 28px;
  font-weight: 900;
  line-height: .9;
  letter-spacing: -.02em;
}
.prod-price-cur .cents { font-size: 15px; }
.prod-price-rs { font-size: 12px; font-weight: 700; margin-bottom: 5px; }
.prod-price-original { font-size: 11px; color: rgba(255,255,255,.85); text-decoration: line-through; margin-top: 4px; }
.prod-flash-right { text-align: right; flex-shrink: 0; }
.prod-flash-label {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
}
.prod-flash-timer { font-size: 11px; font-weight: 700; white-space: nowrap; margin-top: 6px; font-variant-numeric: tabular-nums; }

/* Discount notice */
.prod-discount-notice {
  background: #fff;
  padding: 7px 16px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 900;
  color: #d62955;
}

/* Title */
.prod-title-block {
  background: #fff;
  padding: 8px 16px 10px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}
.prod-title {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.28;
  letter-spacing: -.005em;
  color: var(--black);
  cursor: pointer;
  flex: 1;
}
.prod-bookmark { flex-shrink: 0; padding: 4px; color: var(--black); margin-top: 2px; }
.prod-bookmark:hover { color: var(--red); }
.prod-bookmark.saved svg { fill: var(--red); color: var(--red); }

/* Info block */
.prod-info-block {
  background: #fff;
  margin-top: 8px;
}
.prod-info-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 16px;
}
.prod-info-left { display: flex; align-items: flex-start; gap: 8px; }
.prod-info-icon { flex-shrink: 0; margin-top: 1px; }
.prod-info-text { display: flex; flex-direction: column; font-size: 13px; line-height: 1.2; }
.prod-info-text .badge-green {
  display: inline-flex;
  align-items: center;
  background: #e7f7f5;
  color: var(--teal);
  font-size: 11.5px;
  font-weight: 900;
  padding: 2px 8px;
  border-radius: 4px;
}
.prod-info-text .delivery { font-weight: 900; color: var(--black); margin-top: 4px; font-size: 13px; }
.prod-info-row .strike { text-decoration: line-through; color: var(--black); font-size: 13px; }
.prod-divider { height: 1px; background: var(--border); margin: 0 16px; }

/* Variant selector */
.prod-variant-btn {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
}
.prod-variant-left { display: flex; align-items: center; gap: 10px; }
.prod-variant-left img { width: 36px; height: 36px; border-radius: 6px; object-fit: cover; }
.prod-variant-txt { font-size: 13px; color: #5a5b60; }
.prod-variant-txt span { color: var(--black); }

/* Protection */
.prod-protection {
  padding: 12px 16px;
}
.prod-protection-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
}
.prod-protection-title {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 700;
  color: var(--gold);
}
.prod-protection-items {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px 16px;
  margin-top: 4px;
  padding-left: 21px;
  font-size: 12.5px;
  color: var(--black);
}
.prod-protection-item { display: flex; align-items: flex-start; gap: 4px; }
.prod-protection-item svg { flex-shrink: 0; margin-top: 2px; color: var(--gold); }

/* Criadores */
.tsc { padding: 12px 16px 0; margin-top: 8px; background: #fff; }
.tsc-titulo { font-size: 14px; font-weight: 700; margin-bottom: 10px; }
.tsc-sub { font-size: 13px; font-weight: 700; margin: 14px 0 8px; }
.tsc-faixa {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  list-style: none;
  padding-bottom: 8px;
}
.tsc-faixa::-webkit-scrollbar { display: none; }
.tsc-cartao {
  position: relative;
  width: 90px;
  flex-shrink: 0;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 9/16;
  cursor: pointer;
}
.tsc-capa { width: 100%; height: 100%; object-fit: cover; }
.tsc-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,.2);
}
.tsc-play svg { width: 28px; height: 28px; fill: #fff; filter: drop-shadow(0 1px 3px rgba(0,0,0,.4)); }
.tsc-autor {
  position: absolute;
  bottom: 6px;
  left: 6px;
  right: 6px;
  display: flex;
  align-items: center;
  gap: 4px;
}
.tsc-avatar { width: 20px; height: 20px; border-radius: 50%; object-fit: cover; }
.tsc-nome { font-size: 9px; color: #fff; font-weight: 600; text-shadow: 0 1px 2px rgba(0,0,0,.5); }
.tsc-fotos {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  list-style: none;
  padding-bottom: 12px;
}
.tsc-foto { width: 80px; height: 80px; border-radius: 6px; overflow: hidden; cursor: pointer; padding: 0; border: 0; }
.tsc-foto img { width: 100%; height: 100%; object-fit: cover; }

/* Reviews */
.prod-reviews { background: #fff; margin-top: 8px; padding: 12px 16px; }
.prod-reviews-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.prod-reviews-score { display: flex; align-items: center; gap: 6px; font-size: 14px; }
.prod-reviews-score b { font-size: 15px; }
.prod-reviews-score .sep { color: #d0d0d3; margin: 0 2px; }
.prod-reviews-link { font-size: 13px; color: var(--gray); display: flex; align-items: center; gap: 2px; text-decoration: none; }
.prod-reviews-photos {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 4px;
  margin-bottom: 14px;
}
.prod-reviews-photos::-webkit-scrollbar { display: none; }
.rev-photo-btn {
  width: 84px;
  height: 84px;
  flex-shrink: 0;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  border: 0;
  padding: 0;
}
.rev-photo-btn img { width: 100%; height: 100%; object-fit: cover; }
.prod-review-item { display: flex; gap: 10px; margin-bottom: 14px; }
.rev-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}
.rev-body { flex: 1; min-width: 0; }
.rev-name { font-size: 12px; font-weight: 600; }
.rev-meta { display: flex; flex-wrap: wrap; gap: 4px; font-size: 12px; color: var(--gray); margin-top: 2px; align-items: center; }
.rev-stars { color: var(--star); letter-spacing: 1px; }
.rev-dot { color: var(--gray); }
.rev-text { font-size: 14px; margin-top: 4px; white-space: pre-line; }
.rev-photos { display: flex; gap: 6px; margin-top: 8px; flex-wrap: wrap; }
.rev-photo { width: 80px; height: 80px; border-radius: 6px; overflow: hidden; cursor: pointer; border: 0; padding: 0; flex-shrink: 0; }
.rev-photo img { width: 100%; height: 100%; object-fit: cover; }
.rev-all-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 10px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--black);
  text-decoration: none;
  margin-top: 14px;
}

/* Seller */
.prod-seller { background: #fff; margin-top: 8px; padding: 12px 16px; }
.prod-seller-top { display: flex; align-items: center; gap: 12px; }
.prod-seller-logo {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid #ececec;
  overflow: hidden;
  flex-shrink: 0;
}
.prod-seller-logo img { width: 100%; height: 100%; object-fit: contain; }
.prod-seller-name { font-size: 15px; font-weight: 600; }
.prod-seller-badge { font-size: 12px; color: var(--gray); }
.prod-seller-tags {
  display: flex;
  gap: 16px;
  font-size: 12px;
  color: var(--gray);
  margin-top: 10px;
  flex-wrap: wrap;
}

/* Description */
.prod-desc { background: #fff; margin-top: 8px; padding: 12px 16px; }
.prod-desc h2 { font-size: 17px; font-weight: 700; }
.prod-desc h3 { font-size: 15px; font-weight: 600; margin-top: 12px; }
.prod-desc p { font-size: 14px; line-height: 1.55; margin-top: 8px; }
.prod-desc p.bold { font-weight: 600; }
.prod-desc .detail-row { display: flex; justify-content: space-between; font-size: 14px; margin-top: 8px; }
.prod-desc .detail-row .label { color: var(--gray); }
.prod-desc .prod-desc-imgs { display: flex; flex-direction: column; gap: 8px; margin-top: 10px; }
.prod-desc img,
.prod-desc-imgs img,
.prod-desc [class*="space-y-"] img,
.prod-desc .aspect-square,
[id="secao-descricao"] img,
[id="secao-descricao"] .aspect-square {
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  aspect-ratio: auto !important;
  object-fit: contain !important;
  display: block !important;
  border-radius: 8px !important;
  cursor: pointer;
  margin-left: auto;
  margin-right: auto;
}
.prod-company { padding: 16px; text-align: center; font-size: 11.5px; line-height: 1.5; color: var(--gray); }

.prod-bottom {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: var(--max-w);
  background: #fff;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  padding-bottom: max(env(safe-area-inset-bottom), 8px);
  z-index: 200;
}
.prod-bottom-store {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 4px;
  font-size: 11px;
  color: var(--black);
  text-decoration: none;
  flex-shrink: 0;
}
.prod-bottom-store:hover { color: var(--red); }
.prod-bottom-store svg { margin-bottom: 2px; }

/* TikTok Shop Exact Product Bottom Bar (matching screenshot) */
.prod-tt-bottom-bar {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 440px;
  background: #ffffff;
  border-top: 1px solid #f0f0f2;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px max(env(safe-area-inset-bottom), 8px);
  z-index: 200;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.04);
}
.prod-tt-store-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2px 4px;
  font-size: 11px;
  font-weight: 500;
  color: #161823;
  text-decoration: none;
  flex-shrink: 0;
  min-width: 38px;
}
.prod-tt-store-btn svg {
  width: 22px;
  height: 22px;
  margin-bottom: 2px;
  stroke: #161823;
}
.prod-tt-cart-btn {
  flex: 1;
  background: #f1f1f2;
  border-radius: 999px;
  padding: 6px 4px;
  text-align: center;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  line-height: 1.15;
  height: 44px;
  transition: transform .1s, background .15s;
}
.prod-tt-cart-btn:active {
  transform: scale(0.98);
}
.prod-tt-cart-btn .t-line {
  font-size: 13.5px;
  font-weight: 700;
  color: #161823;
  letter-spacing: -0.01em;
}
.prod-tt-buy-btn {
  flex: 1.25;
  background: #fe2c55;
  border-radius: 999px;
  padding: 6px 4px;
  text-align: center;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  line-height: 1.15;
  height: 44px;
  box-shadow: 0 4px 14px rgba(254,44,85,0.3);
  transition: transform .1s, background .15s;
}
.prod-tt-buy-btn:active {
  transform: scale(0.98);
}
.prod-tt-buy-btn .t-main {
  font-size: 14px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.01em;
}
.prod-tt-buy-btn .t-sub {
  font-size: 10.5px;
  font-weight: 600;
  color: #ffffff;
  margin-top: 1px;
  opacity: 0.95;
}

/* Fallback utilities to guarantee exact bottom bar aesthetic on all 19 products */
.bg-\[\#f1f1f2\] { background-color: #f1f1f2 !important; }
.bg-\[\#fe2c55\] { background-color: #fe2c55 !important; }
.text-\[\#161823\] { color: #161823 !important; }
.text-\[\#fe2c55\] { color: #fe2c55 !important; }
.rounded-full { border-radius: 9999px !important; }
.leading-\[1\.05\] { line-height: 1.05 !important; }
.py-2\.5 { padding-top: 10px !important; padding-bottom: 10px !important; }
  height: 48px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  transition: background .15s;
}
.prod-buy-btn:hover { background: var(--red-dark); }
.prod-spacer { height: 80px; }

/* ============================================================
   LIGHTBOX
   ============================================================ */

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.95);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
}
.lightbox.open { display: flex; }
.lightbox img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 8px;
  object-fit: contain;
}
.lightbox-close {
  position: absolute;
  top: 16px;
  right: 16px;
  color: #fff;
  font-size: 28px;
  cursor: pointer;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
}

/* ============================================================
   CHECKOUT
   ============================================================ */

.ck-page {
  background: var(--light-gray);
  min-height: 100vh;
  font-family: var(--font);
}
.ck-wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  background: #fff;
  min-height: 100vh;
}
.ck-header {
  background: var(--red);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
}
.ck-header svg { flex-shrink: 0; }
.ck-header-title { font-size: 17px; font-weight: 800; }
.ck-header-sub { font-size: 11px; opacity: .8; }
.ck-body { padding: 16px; display: flex; flex-direction: column; gap: 16px; }
.ck-section {
  background: #fff;
  border-radius: 12px;
  border: 1px solid var(--border);
  overflow: hidden;
}
.ck-section-title {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
  font-weight: 700;
}
.ck-section-title .num {
  width: 22px;
  height: 22px;
  background: var(--red);
  color: #fff;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 800;
  flex-shrink: 0;
}
.ck-section-body { padding: 14px 16px; }
.ck-product-row {
  display: flex;
  gap: 12px;
  align-items: center;
}
.ck-product-img {
  width: 64px;
  height: 64px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--light-gray);
}
.ck-product-img img { width: 100%; height: 100%; object-fit: cover; }
.ck-product-info { flex: 1; }
.ck-product-name { font-size: 13px; font-weight: 600; line-height: 1.3; }
.ck-product-variant { font-size: 12px; color: var(--gray); margin-top: 2px; }
.ck-product-price { font-size: 16px; font-weight: 800; color: var(--red); }
.ck-product-original { font-size: 11px; color: var(--gray); text-decoration: line-through; }

/* Form */
.ck-form { display: flex; flex-direction: column; gap: 12px; }
.ck-field { display: flex; flex-direction: column; gap: 6px; }
.ck-label { font-size: 12px; font-weight: 600; color: var(--gray); }
.ck-input {
  border: 1.5px solid var(--border);
  border-radius: 8px;
  padding: 11px 14px;
  font-size: 15px;
  font-family: var(--font);
  color: var(--black);
  outline: none;
  transition: border-color .15s;
  background: #fff;
}
.ck-input:focus { border-color: var(--red); }
.ck-input.error { border-color: #e53935; }
.ck-input-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ck-error-txt { font-size: 11px; color: #e53935; display: none; }
.ck-field.has-error .ck-error-txt { display: block; }
.ck-field.has-error .ck-input { border-color: #e53935; }

/* Summary */
.ck-summary { }
.ck-summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  padding: 6px 0;
}
.ck-summary-row .label { color: var(--gray); }
.ck-summary-row .value { font-weight: 600; }
.ck-summary-row.total { border-top: 1px solid var(--border); margin-top: 4px; padding-top: 10px; font-size: 16px; font-weight: 800; }
.ck-summary-row.total .value { color: var(--red); }

/* PIX */
.ck-pix-section { }
.ck-pay-btn {
  width: 100%;
  background: var(--red);
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  padding: 16px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: background .15s;
  font-family: var(--font);
}
.ck-pay-btn:hover:not(:disabled) { background: var(--red-dark); }
.ck-pay-btn:disabled { opacity: .7; cursor: default; }

/* PIX Result */
.ck-pix-result { display: none; flex-direction: column; gap: 14px; }
.ck-pix-result.show { display: flex; }
.ck-qr-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: var(--light-gray);
  border-radius: 10px;
}
.ck-qr-box img { width: 200px; height: 200px; border-radius: 8px; }
.ck-qr-label { font-size: 13px; font-weight: 600; color: var(--black); text-align: center; }
.ck-copy-box { display: flex; flex-direction: column; gap: 8px; }
.ck-copy-label { font-size: 12px; font-weight: 600; color: var(--gray); }
.ck-copy-input-row { display: flex; gap: 8px; }
.ck-copy-input {
  flex: 1;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 11px;
  font-family: monospace;
  color: var(--gray);
  background: #fff;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ck-copy-btn {
  background: var(--red);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 10px 16px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  font-family: var(--font);
  white-space: nowrap;
  flex-shrink: 0;
}
.ck-status-box {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
}
.ck-status-pending { background: #fff7e6; color: #b45309; border: 1px solid #fcd34d; }
.ck-status-paid { background: #ecfdf5; color: #065f46; border: 1px solid #6ee7b7; }
.ck-status-pulse { width: 10px; height: 10px; border-radius: 50%; background: #f59e0b; animation: pulse 1.5s infinite; flex-shrink: 0; }
.ck-status-paid .ck-status-pulse { background: #10b981; animation: none; }

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .6; transform: scale(.85); }
}

.ck-pix-instructions { font-size: 12px; color: var(--gray); line-height: 1.6; }
.ck-pix-instructions ol { padding-left: 18px; }
.ck-pix-instructions li { margin-bottom: 4px; }
.ck-trust-badges { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; padding-bottom: 8px; }
.ck-trust-badge { display: flex; align-items: center; gap: 5px; font-size: 11px; color: var(--gray); }
.ck-trust-badge svg { color: var(--teal); }

/* Loading spinner */
.spinner {
  width: 20px; height: 20px;
  border: 2px solid rgba(255,255,255,.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin .7s linear infinite;
  flex-shrink: 0;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Scroll to top btn */
.scroll-top-btn {
  position: fixed;
  bottom: 90px;
  right: calc(50% - var(--max-w)/2 + 16px);
  width: 40px;
  height: 40px;
  background: rgba(0,0,0,.5);
  color: #fff;
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 100;
  border: none;
}
.scroll-top-btn.show { display: flex; }

/* Responsive helpers */
@media (max-width: 440px) {
  .page-wrap { max-width: 100%; box-shadow: none; }
  .prod-tabs { max-width: 100%; }
  .prod-bottom { max-width: 100%; }
}

/* Ancora scroll */
.vt-ancora { display: block; position: relative; top: -60px; visibility: hidden; }

/* Pular nav */
.vt-pular { position: absolute; left: -999px; opacity: 0; }
.vt-pular:focus { left: 16px; opacity: 1; background: var(--red); color: #fff; padding: 8px 12px; border-radius: 4px; z-index: 1000; }

/* ============================================================
   TIKTOK SHOP — EXACT MOBILE APP INTERFACE (SCREENSHOT CLONE)
   ============================================================ */

.tt-app-container {
  max-width: 440px;
  margin: 0 auto;
  background: #f7f7f8;
  min-height: 100vh;
  box-shadow: 0 0 40px rgba(0,0,0,.08);
  position: relative;
  padding-bottom: 74px; /* Space for bottom tab bar */
}

/* TOP HEADER */
.tt-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid #f0f0f2;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.tt-shop-pill {
  background: #161823;
  color: #fff;
  border-radius: 999px;
  height: 32px;
  padding: 0 10px;
  display: flex;
  align-items: center;
  gap: 5px;
  flex-shrink: 0;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: -0.01em;
  text-decoration: none;
}
.tt-shop-pill svg {
  width: 15px;
  height: 15px;
  fill: #fff;
}
.tt-search-bar {
  flex: 1;
  background: #f1f1f2;
  border-radius: 999px;
  height: 34px;
  display: flex;
  align-items: center;
  padding: 0 12px;
  gap: 6px;
}
.tt-search-bar svg {
  width: 15px;
  height: 15px;
  stroke: #8a8b91;
  flex-shrink: 0;
}
.tt-search-input {
  border: none;
  background: transparent;
  outline: none;
  font-size: 12.5px;
  font-family: inherit;
  color: #161823;
  width: 100%;
}
.tt-search-input::placeholder {
  color: #8a8b91;
}
.tt-cart-btn {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  color: #161823;
  text-decoration: none;
  flex-shrink: 0;
}
.tt-cart-badge {
  position: absolute;
  top: 1px;
  right: 1px;
  background: #fe2c55;
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  min-width: 15px;
  height: 15px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid #fff;
}

/* FLASH SALE HEADER */
.tt-flash-box {
  background: #fff;
  padding: 10px 14px 12px;
  border-bottom: 1px solid #f0f0f2;
}
.tt-flash-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.tt-flash-title-group {
  display: flex;
  align-items: center;
  gap: 6px;
}
.tt-pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #fe2c55;
  animation: ttPulse 1.2s infinite;
}
@keyframes ttPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .4; transform: scale(1.3); }
}
.tt-flash-title {
  font-size: 13px;
  font-weight: 900;
  color: #fe2c55;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 4px;
}
.tt-flash-timer-pill {
  background: #161823;
  color: #fff;
  border-radius: 5px;
  padding: 3px 8px;
  font-size: 12px;
  font-weight: 800;
  font-family: monospace;
  display: flex;
  align-items: center;
  gap: 4px;
}
.tt-flash-timer-pill svg {
  width: 12px;
  height: 12px;
  stroke: #fff;
}
.tt-flash-sub {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  margin-top: 8px;
}
.tt-flash-sub-label {
  color: #8a8b91;
}
.tt-flash-sub-status {
  color: #fe2c55;
  font-weight: 700;
}
.tt-progress-track {
  width: 100%;
  height: 4px;
  background: #f0f0f2;
  border-radius: 999px;
  margin-top: 5px;
  overflow: hidden;
}
.tt-progress-fill {
  width: 93%;
  height: 100%;
  background: linear-gradient(90deg, #ff6a1f 0%, #fe2c55 100%);
  border-radius: 999px;
}

/* CIRCULAR CATEGORIES (STORY STYLE) */
.tt-categories-row {
  background: #fff;
  padding: 12px 14px 10px;
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.tt-categories-row::-webkit-scrollbar { display: none; }
.tt-cat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  text-decoration: none;
  cursor: pointer;
}
.tt-cat-circle {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #f9f9f9;
  border: 1.5px solid #eee;
  overflow: hidden;
  transition: all .15s;
}
.tt-cat-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.tt-cat-item.active .tt-cat-circle {
  border-color: #fe2c55;
  box-shadow: 0 0 0 2px rgba(254,44,85,.25);
  background: #fff0f3;
}
.tt-cat-item.active .tt-cat-icon-all {
  color: #fe2c55;
}
.tt-cat-name {
  font-size: 11px;
  font-weight: 600;
  color: #161823;
  text-align: center;
  max-width: 62px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tt-cat-item.active .tt-cat-name {
  color: #fe2c55;
  font-weight: 800;
}

/* HERO BANNER CARD */
.tt-hero-card {
  margin: 10px 12px 8px;
  border-radius: 14px;
  padding: 16px 14px;
  background: linear-gradient(135deg, #1b0c14 0%, #3a0d1e 50%, #161823 100%);
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,.15);
  display: block;
  text-decoration: none;
}
.tt-hero-card::after {
  content: '';
  position: absolute;
  top: -30px;
  right: -30px;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, rgba(254,44,85,.3) 0%, transparent 70%);
  pointer-events: none;
}
.tt-hero-tags {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
}
.tt-tag-exclusive {
  background: #fe2c55;
  color: #fff;
  font-size: 9px;
  font-weight: 900;
  padding: 2px 7px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.tt-tag-live {
  background: rgba(0, 184, 169, 0.2);
  color: #00e0cf;
  border: 1px solid rgba(0, 224, 207, 0.4);
  font-size: 9px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 4px;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.tt-tag-live::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #00e0cf;
  animation: ttPulse 1s infinite;
}
.tt-hero-title {
  font-size: 17px;
  font-weight: 900;
  color: #fff;
  line-height: 1.15;
  text-transform: uppercase;
  letter-spacing: -0.02em;
}
.tt-hero-brand {
  font-size: 13.5px;
  font-weight: 900;
  color: #fe2c55;
  margin-top: 2px;
}
.tt-hero-sub {
  font-size: 11px;
  color: rgba(255,255,255,.8);
  margin-top: 4px;
  max-width: 65%;
  line-height: 1.3;
}
.tt-hero-cta {
  position: absolute;
  right: 14px;
  bottom: 14px;
  background: #fe2c55;
  color: #fff;
  font-size: 11.5px;
  font-weight: 800;
  padding: 7px 14px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  box-shadow: 0 4px 12px rgba(254,44,85,.45);
}

/* 3 TRUST CHIPS */
.tt-guarantee-row {
  display: flex;
  gap: 8px;
  padding: 4px 12px 10px;
  overflow-x: auto;
  scrollbar-width: none;
}
.tt-guarantee-row::-webkit-scrollbar { display: none; }
.tt-guarantee-chip {
  flex: 1;
  min-width: 115px;
  background: #fff;
  border: 1px solid #ebebed;
  border-radius: 8px;
  padding: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.tt-chip-icon {
  font-size: 15px;
  flex-shrink: 0;
}
.tt-chip-texts {
  display: flex;
  flex-direction: column;
}
.tt-chip-title {
  font-size: 10.5px;
  font-weight: 800;
  color: #161823;
  line-height: 1.1;
  white-space: nowrap;
}
.tt-chip-sub {
  font-size: 9px;
  color: #8a8b91;
  line-height: 1.1;
  margin-top: 2px;
  white-space: nowrap;
}

/* FEED HEADER */
.tt-feed-header {
  padding: 8px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.tt-feed-title {
  font-size: 15.5px;
  font-weight: 900;
  color: #161823;
  letter-spacing: -0.01em;
}
.tt-feed-sub {
  font-size: 11px;
  color: #8a8b91;
  margin-top: 1px;
}
.tt-filter-pill {
  border: 1px solid #e0e0e3;
  border-radius: 8px;
  padding: 5px 10px;
  font-size: 11px;
  font-weight: 700;
  color: #161823;
  background: #fff;
  display: flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
}

/* PRODUCT GRID (2 COLS) */
.tt-product-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 4px 10px 16px;
}
.tt-prod-card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #f0f0f2;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: transform .12s, box-shadow .12s;
}
.tt-prod-card:active {
  transform: scale(0.98);
}
.tt-card-media {
  position: relative;
  width: 100%;
  aspect-ratio: 1/1;
  background: #f7f7f8;
  overflow: hidden;
}
.tt-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.tt-badge-discount {
  position: absolute;
  top: 6px;
  left: 6px;
  background: #fe2c55;
  color: #fff;
  font-size: 10px;
  font-weight: 900;
  padding: 2px 5px;
  border-radius: 3px;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.tt-badge-flag {
  position: absolute;
  top: 6px;
  right: 6px;
  background: rgba(22, 24, 35, 0.85);
  backdrop-filter: blur(4px);
  color: #fff;
  font-size: 8.5px;
  font-weight: 800;
  padding: 2px 5px;
  border-radius: 3px;
  display: flex;
  align-items: center;
  gap: 3px;
  text-transform: uppercase;
}
.tt-badge-flag::before {
  content: '';
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #fe2c55;
}
.tt-card-info {
  padding: 8px 8px 10px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.tt-card-official {
  display: flex;
  align-items: center;
  gap: 3px;
  color: #fe2c55;
  font-size: 10px;
  font-weight: 800;
  margin-bottom: 3px;
}
.tt-card-official svg {
  width: 10px;
  height: 10px;
  fill: #fe2c55;
}
.tt-card-title {
  font-size: 12.5px;
  font-weight: 700;
  color: #161823;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 32px;
}
.tt-card-pricing {
  margin-top: 6px;
  display: flex;
  align-items: baseline;
  gap: 4px;
}
.tt-card-now {
  font-size: 16px;
  font-weight: 900;
  color: #fe2c55;
  letter-spacing: -0.02em;
}
.tt-card-old {
  font-size: 10.5px;
  color: #8a8b91;
  text-decoration: line-through;
}
.tt-card-ratings {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 4px;
  font-size: 10px;
  color: #8a8b91;
}
.tt-card-stars {
  display: flex;
  align-items: center;
  gap: 2px;
  font-weight: 800;
  color: #161823;
}
.tt-card-stars svg {
  width: 10px;
  height: 10px;
  fill: #f2b900;
  color: #f2b900;
}
.tt-card-shipping-tag {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  background: #e7f7f5;
  color: #00b8a9;
  font-size: 9.5px;
  font-weight: 800;
  padding: 2px 5px;
  border-radius: 3px;
  margin-top: 6px;
  width: fit-content;
}

/* COMMITMENT BOX (FOOTER) */
.tt-commitment-box {
  margin: 6px 10px 14px;
  background: #fff;
  border-radius: 12px;
  border: 1px solid #f0f0f2;
  padding: 14px;
}
.tt-commit-head {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 900;
  color: #161823;
  margin-bottom: 12px;
}
.tt-commit-head svg {
  width: 16px;
  height: 16px;
  color: #00b8a9;
}
.tt-commit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 10px;
}
.tt-commit-item {
  display: flex;
  gap: 6px;
  align-items: flex-start;
}
.tt-commit-icon {
  font-size: 13px;
  line-height: 1;
  margin-top: 2px;
}
.tt-commit-texts {
  display: flex;
  flex-direction: column;
}
.tt-commit-title {
  font-size: 11px;
  font-weight: 800;
  color: #161823;
}
.tt-commit-desc {
  font-size: 9.5px;
  color: #8a8b91;
  line-height: 1.25;
  margin-top: 1px;
}
.tt-commit-foot {
  border-top: 1px solid #f0f0f2;
  padding-top: 10px;
  margin-top: 12px;
  text-align: center;
  font-size: 9px;
  color: #8a8b91;
  line-height: 1.4;
}

/* FIXED BOTTOM TAB BAR (IDENTICAL TO SCREENSHOT) */
.tt-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 440px;
  height: 56px;
  background: #ffffff;
  border-top: 1px solid #e5e5e7;
  display: flex;
  align-items: center;
  justify-content: space-around;
  z-index: 100;
  box-shadow: 0 -2px 10px rgba(0,0,0,.04);
  padding: 0 4px max(env(safe-area-inset-bottom), 0px);
}
.tt-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #4a4d53;
  font-size: 10px;
  font-weight: 500;
  gap: 2px;
  position: relative;
  flex: 1;
  padding-top: 3px;
  transition: opacity .15s;
}
.tt-nav-item:active {
  opacity: .7;
}
.tt-nav-item.active {
  color: #fe2c55;
  font-weight: 700;
}
.tt-nav-icon-wrap {
  position: relative;
  width: 32px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.tt-nav-icon-wrap svg {
  display: block;
}

/* Badge HOT: bright red pill with white text */
.tt-badge-hot {
  position: absolute;
  top: -5px;
  right: -9px;
  background: #fe2c55;
  color: #ffffff;
  font-size: 8px;
  font-weight: 900;
  padding: 1px 4.5px;
  border-radius: 999px;
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-family: system-ui, -apple-system, sans-serif;
  box-shadow: 0 1px 4px rgba(254,44,85,.35);
}

/* Badge LIVE: bright electric cyan pill with black bold text */
.tt-badge-live-cyan {
  position: absolute;
  top: -5px;
  right: -9px;
  background: #00e5ff;
  color: #000000;
  font-size: 8px;
  font-weight: 900;
  padding: 1px 4.5px;
  border-radius: 4px;
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-family: system-ui, -apple-system, sans-serif;
}

/* Badge 3: red circle with white 3 */
.tt-badge-count-3 {
  position: absolute;
  top: -5px;
  right: -6px;
  background: #fe2c55;
  color: #ffffff;
  font-size: 9px;
  font-weight: 900;
  min-width: 15px;
  height: 15px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  border: 1.5px solid #ffffff;
}

/* ============================================================
   FUNNEL IMAGE RATIO & SCALE GUARANTEES
   Never distort, squash, or vertically elongate images
   ============================================================ */

/* Cart & Checkout Thumbnails */
.cart-prod-thumb,
.ck-prod-thumb {
  width: 76px !important;
  height: 76px !important;
  min-width: 76px !important;
  min-height: 76px !important;
  border-radius: 8px !important;
  aspect-ratio: 1 / 1 !important;
  object-fit: cover !important;
  object-position: center !important;
  background: #f0f0f2;
  flex-shrink: 0 !important;
  display: block !important;
}

.cart-bump-thumb,
.ck-bump-thumb {
  width: 48px !important;
  height: 48px !important;
  min-width: 48px !important;
  min-height: 48px !important;
  border-radius: 6px !important;
  aspect-ratio: 1 / 1 !important;
  object-fit: cover !important;
  object-position: center !important;
  background: #f5f5f5;
  flex-shrink: 0 !important;
  display: block !important;
}

/* Vitrine / Home cards */
.tt-card-media {
  position: relative !important;
  width: 100% !important;
  aspect-ratio: 1 / 1 !important;
  background: #f7f7f8;
  overflow: hidden !important;
}
.tt-card-media img,
.vt-dc-foto img,
.vt-dt-foto img,
.vt-bn-tile img {
  width: 100% !important;
  height: 100% !important;
  aspect-ratio: 1 / 1 !important;
  object-fit: cover !important;
  object-position: center !important;
  display: block !important;
}

/* Review and Creator Media */
.tsc-capa {
  width: 100% !important;
  height: 100% !important;
  aspect-ratio: 9 / 16 !important;
  object-fit: cover !important;
  object-position: center !important;
  display: block !important;
}

.tsc-foto,
.rev-photo,
.rev-photo-btn {
  width: 80px !important;
  height: 80px !important;
  min-width: 80px !important;
  min-height: 80px !important;
  border-radius: 6px !important;
  aspect-ratio: 1 / 1 !important;
  overflow: hidden !important;
  flex-shrink: 0 !important;
}
.tsc-foto img,
.rev-photo img,
.rev-photo-btn img {
  width: 100% !important;
  height: 100% !important;
  aspect-ratio: 1 / 1 !important;
  object-fit: cover !important;
  object-position: center !important;
  display: block !important;
}

/* Variant & Seller */
.prod-variant-left img {
  width: 36px !important;
  height: 36px !important;
  border-radius: 6px !important;
  aspect-ratio: 1 / 1 !important;
  object-fit: cover !important;
  flex-shrink: 0 !important;
}
.prod-seller-logo img {
  width: 48px !important;
  height: 48px !important;
  border-radius: 50% !important;
  aspect-ratio: 1 / 1 !important;
  object-fit: cover !important;
}

