/* ════════════════════════════════════════════════════════
   CLIPS — Sistema Reels/TikTok Shop
   Mobile-first, premium, dark overlay
   ════════════════════════════════════════════════════════ */

/* ── Variáveis ────────────────────────────────────────── */
:root {
  --clips-dark:    #0a0a0a;
  --clips-surface: rgba(255,255,255,.08);
  --clips-text:    #ffffff;
  --clips-muted:   rgba(255,255,255,.65);
  --clips-accent:  #fe2c55;   /* TikTok vermelho */
  --clips-radius:  12px;
}

/* ════════════════════════════════════════════════════════
   HOME SECTION — Vitrine horizontal
   ════════════════════════════════════════════════════════ */
.clips-home {
  padding: 40px 0;
  background: #f8fafc;
  overflow: hidden;
}

.clips-home-header {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 12px; margin-bottom: 20px;
}

.clips-home-heading { }
.clips-home-badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 800; text-transform: uppercase;
  letter-spacing: 1px; color: var(--c-primary);
  margin-bottom: 6px;
}
.clips-pulse {
  display: inline-block;
  width: 8px; height: 8px;
  background: var( --c-primary);
  border-radius: 50%;
  animation: pulse 1.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1;   transform: scale(1); }
  50%       { opacity: .5; transform: scale(1.4); }
}

.clips-home-title {
  font-size: 26px; font-weight: 900;
  color: #0f172a; letter-spacing: -.5px;
  margin-bottom: 4px;
}
.clips-home-sub { font-size: 13.5px; color: #64748b; }

.clips-ver-todos {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 13.5px; font-weight: 700;
  color: var( --c-primary); text-decoration: none;
  white-space: nowrap; transition: gap .15s;
}
.clips-ver-todos:hover { gap: 8px; }

/* Carrossel */
.clips-carousel-wrap {
  position: relative;
}
.clips-carousel {
  display: flex; gap: 12px;
  overflow-x: auto; overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 8px;
  /* esconde scrollbar */
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.clips-carousel::-webkit-scrollbar { display: none; }

/* Card do clip na vitrine */
.clip-card {
  flex: 0 0 auto;
  width: 140px;
  scroll-snap-align: start;
  cursor: pointer;
  border-radius: var(--clips-radius);
  overflow: hidden;
  background: #fff;
  border: 1px solid #e2e8f0;
  transition: transform .2s, box-shadow .2s;
  user-select: none;
  position: relative;
}
.clip-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,.1);
}
.clip-card:active { transform: scale(.97); }

@media (min-width: 640px) { .clip-card { width: 160px; } }
@media (min-width: 1024px){ .clip-card { width: 180px; } }

.clip-card-media {
  position: relative;
  aspect-ratio: 9/16;
  background: #1e293b;
  overflow: hidden;
}
.clip-card-poster {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .3s;
}
.clip-card:hover .clip-card-poster { transform: scale(1.04); }
.clip-card-poster--empty {
  background: linear-gradient(135deg, #1e293b, #334155);
}

.clip-card-play {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,.2);
  opacity: 0; transition: opacity .15s;
}
.clip-card:hover .clip-card-play { opacity: 1; }

.clip-card-views {
  position: absolute; bottom: 6px; left: 6px;
  display: inline-flex; align-items: center; gap: 4px;
  padding: 2px 7px;
  background: rgba(0,0,0,.65);
  backdrop-filter: blur(4px);
  border-radius: 99px;
  color: #fff; font-size: 10.5px; font-weight: 700;
}

.clip-card-info { padding: 8px 10px 10px; }
.clip-card-titulo {
  font-size: 12.5px; font-weight: 700; color: #0f172a;
  margin-bottom: 5px; line-height: 1.3;
  display: -webkit-box; -webkit-line-clamp: 2;
  -webkit-box-orient: vertical; overflow: hidden;
}
.clip-card-meta {
  display: flex; gap: 10px;
  font-size: 11px; color: #94a3b8;
}
.clip-card-meta span {
  display: inline-flex; align-items: center; gap: 3px;
}

/* Setas do carrossel (desktop) */
.clips-carousel-arrow {
  position: absolute; top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: #fff;
  border: 1.5px solid #e2e8f0;
  box-shadow: 0 4px 12px rgba(0,0,0,.1);
  cursor: pointer;
  display: none;
  align-items: center; justify-content: center;
  color: #0f172a;
  transition: all .15s;
}
.clips-carousel-arrow:hover {
  background: #0f172a; color: #fff; border-color: #0f172a;
}
@media (min-width: 768px) {
  .clips-carousel-arrow { display: flex; }
}
.clips-carousel-arrow--prev { left:  -20px; }
.clips-carousel-arrow--next { right: -20px; }

/* ════════════════════════════════════════════════════════
   FEED FULLSCREEN — Reels/TikTok
   ════════════════════════════════════════════════════════ */
.clips-feed-overlay {
  position: fixed; inset: 0; z-index: 9400;
  background: rgba(0,0,0,.85);
  display: flex; flex-direction: column;
  overflow: hidden;
}
.clips-feed-overlay[hidden] { display: none; }

/* Header */
.clips-feed-header {
  position: absolute; top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 16px;
  background: linear-gradient(to bottom, rgba(0,0,0,.6), transparent);
}
.clips-feed-close {
  width: 40px; height: 40px;
  background: rgba(255,255,255,.1);
  backdrop-filter: blur(8px);
  border: none; border-radius: 50%;
  color: #fff; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .15s;
}
.clips-feed-close:hover { background: rgba(255,255,255,.2); }
.clips-feed-logo {
  font-size: 16px; font-weight: 900; color: #fff;
  letter-spacing: .5px;
}

/* Container com scroll-snap vertical */
.clips-feed-container {
  position: relative;
  flex: 1;
  overflow-y: scroll;
  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.clips-feed-container::-webkit-scrollbar { display: none; }

/* Item do feed */
.clip-item {
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  display: flex; align-items: center; justify-content: center;
  background: #000;
  overflow: hidden;
}

/* Vídeo 9:16 centralizado */
.clip-item-video-wrap {
  position: relative;
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
}

.clip-item-video {
  width: 100%; height: 100%;
  object-fit: contain;
  display: block;
}

/* No desktop, limita largura para parecer Reels */
@media (min-width: 768px) {
  .clip-item { justify-content: center; }
  .clip-item-video-wrap {
    max-width: 400px;
    height: 100%;
    position: relative;
  }
  .clip-item-video { object-fit: cover; }
}

.clip-item-poster {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 1;
  transition: opacity .3s;
}
.clip-item-poster.is-hidden { opacity: 0; pointer-events: none; }

/* Tap overlay */
.clip-item-tap-overlay {
  position: absolute; inset: 0;
  z-index: 5;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
}
.clip-item-play-icon {
  opacity: 0;
  transform: scale(1.4);
  transition: opacity .25s, transform .25s;
  background: rgba(0,0,0,.5);
  border-radius: 50%;
  width: 72px; height: 72px;
  display: flex; align-items: center; justify-content: center;
}
.clip-item.is-paused .clip-item-play-icon { opacity: 1; transform: scale(1); }

/* Progress bar */
.clip-item-progress {
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 3px; background: rgba(255,255,255,.2);
  z-index: 10;
}
.clip-item-progress-bar {
  height: 100%;
  background: var( --c-primary);
  width: 0%; transition: none;
}

/* Overlay inferior com gradiente */
.clip-item-overlay-bottom {
  position: absolute; bottom: 0; left: 0; right: 0;
  z-index: 10;
  background: linear-gradient(to top, rgba(0,0,0,.85) 0%, rgba(0,0,0,.5) 50%, transparent 100%);
  padding: 40px 16px 24px;
  pointer-events: none;
}

/* No desktop, alinha com o vídeo */
@media (min-width: 768px) {
  .clip-item-overlay-bottom {
    max-width: 400px;
    left: 50%; transform: translateX(-50%);
  }
}

.clip-item-meta { pointer-events: auto; }
.clip-item-titulo {
  font-size: 15px; font-weight: 800; color: #fff;
  margin-bottom: 6px; text-shadow: 0 1px 4px rgba(0,0,0,.4);
  line-height: 1.3;
}
.clip-item-descricao {
  font-size: 13px; color: rgba(255,255,255,.8);
  margin-bottom: 0px; line-height: 1.4;
  display: -webkit-box; -webkit-line-clamp: 2;
  -webkit-box-orient: vertical; overflow: hidden;
}

/* Card produto dentro do clip */
.clip-item-produto {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,.12);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 5px !important;
  padding: 8px 10px;
  margin-bottom: 4px;
  -webkit-border-radius: 5px !important;
  -moz-border-radius: 5px !important;
  -ms-border-radius: 5px !important;
  -o-border-radius: 5px !important;
}
.clip-produto-img-wrap {
  width: 44px; height: 44px;
  border-radius: 8px; overflow: hidden;
  flex-shrink: 0; background: rgba(255,255,255,.1);
}
.clip-produto-img {
  width: 100%; height: 100%; object-fit: cover;
}
.clip-produto-info { flex: 1; min-width: 0; }
.clip-produto-nome {
  display: block;
  font-size: 12px; font-weight: 700; color: #fff;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  margin-bottom: 3px;
}
.clip-produto-precos { display: flex; gap: 6px; align-items: baseline; }
.clip-produto-preco {
  font-size: 13px; font-weight: 800; color: #fff;
}
.clip-produto-preco-promo {
  font-size: 13px; font-weight: 900; color: #4ade80;
}
.clip-produto-preco.is-riscado {
  font-size: 11px; text-decoration: line-through; opacity: .6; font-weight: 400;
}
.clip-produto-cta {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 8px 12px;
  background: var( --c-primary); color: #fff;
  border-radius: 8px;
  font-size: 12px; font-weight: 800; white-space: nowrap;
  text-decoration: none; flex-shrink: 0;
  transition: filter .15s;
}
.clip-produto-cta:hover { filter: brightness(1.1); }

/* CTA genérico */
.clip-item-cta-link {
  display: inline-flex; align-items: center;
  padding: 8px 16px;
  background: rgba(255,255,255,.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 8px;
  color: #fff; font-size: 13px; font-weight: 700;
  text-decoration: none; transition: background .15s;
}
.clip-item-cta-link:hover { background: rgba(255,255,255,.25); }

/* Botões laterais direitos */
.clip-item-actions {
      position: absolute;
    right: 12px;
    bottom: 80px;
    z-index: 20;
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    height: calc(100% - 100px);
    flex-direction: column;
    align-items: center;
    justify-content: end;
}
@media (min-width: 768px) {
  .clip-item-actions { right: calc(50% - 340px/2 - 56px); }
}

.clip-action { display: flex; flex-direction: column; align-items: center; gap: 3px; }
.clip-action-btn {
  width: 35px; height: 35px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  backdrop-filter: blur(8px);
  border: none; cursor: pointer;
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  transition: all .15s;
}
.clip-action-btn:hover  { background: rgba(255,255,255,.2); transform: scale(1.08); }
.clip-action-btn:active { transform: scale(.94); }
.clip-action-count {
  font-size: 11px; color: rgba(255,255,255,.9);
  font-weight: 700; text-align: center;
  text-shadow: 0 1px 4px rgba(0,0,0,.5);
}

.clip-action-btn svg {
    width: 18px;
    height: 18px;
}

/* Like button animado */
.clip-like-btn.is-liked .clip-like-icon {
  fill: var( --c-primary);
  stroke: var( --c-primary);
  animation: heartBeat .4s ease;
}
@keyframes heartBeat {
  0%    { transform: scale(1); }
  30%   { transform: scale(1.35); }
  60%   { transform: scale(.9); }
  100%  { transform: scale(1); }
}

/* Mute btn */
.clip-mute-btn.is-muted .clip-sound-icon { display: none; }
.clip-mute-btn.is-muted .clip-mute-icon  { display: block !important; }

/* Loading */
.clips-feed-loading {
  position: absolute; bottom: 20px; left: 50%;
  transform: translateX(-50%);
  z-index: 50;
  display: none;
}
.clips-feed-loading.is-visible { display: block; }
.clips-spinner {
  width: 24px; height: 24px;
  border: 2.5px solid rgba(255,255,255,.2);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ════════════════════════════════════════════════════════
   DRAWER DE COMENTÁRIOS
   ════════════════════════════════════════════════════════ */
.clips-comments-drawer { }

.clips-comments-backdrop {
  position: fixed; inset: 0; z-index: 9998;
  background: rgba(0,0,0,.5);
  display: none;
}
.clips-comments-backdrop.is-open { display: block; }

.clips-comments-panel {
  position: fixed; bottom: 0; left: 0; right: 0;
  z-index: 9999;
  background: #1a1a1a;
  border-radius: 16px 16px 0 0;
  max-height: 80vh;
  display: flex; flex-direction: column;
  transform: translateY(100%);
  transition: transform .3s cubic-bezier(.4,0,.2,1);
}
.clips-comments-panel.is-open { transform: translateY(0); }

@media (min-width: 768px) {
  .clips-comments-panel {
    left: 50%; transform: translateX(-50%) translateY(100%);
    width: 480px; border-radius: 16px 16px 0 0;
  }
  .clips-comments-panel.is-open { transform: translateX(-50%) translateY(0); }
}

.clips-comments-header {
  display: flex; align-items: center; justify-content: center;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  position: relative;
}
.clips-comments-header h3 {
  font-size: 15px; font-weight: 800; color: #fff;
}
.clips-comments-close {
  position: absolute; right: 12px;
  background: none; border: none; cursor: pointer;
  color: rgba(255,255,255,.6); padding: 6px;
  border-radius: 6px; transition: color .15s;
}
.clips-comments-close:hover { color: #fff; }

.clips-comments-list {
  flex: 1; overflow-y: auto; padding: 12px 16px;
  display: flex; flex-direction: column; gap: 12px;
}
.clips-comments-empty {
  text-align: center; padding: 24px;
  color: rgba(255,255,255,.4); font-size: 13.5px;
}
.comment-item {
  display: flex; gap: 10px;
}
.comment-avatar {
  width: 32px; height: 32px; border-radius: 50%;
  background: #334155; display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 800; color: #94a3b8;
  flex-shrink: 0;
}
.comment-body { }
.comment-nome {
  font-size: 12.5px; font-weight: 800; color: #fff; margin-bottom: 2px;
}
.comment-texto {
  font-size: 13px; color: rgba(255,255,255,.8); line-height: 1.4;
}
.comment-data {
  font-size: 10.5px; color: rgba(255,255,255,.35); margin-top: 3px;
}

/* Formulário de comentário */
.clips-comments-form {
  padding: 10px 14px 16px;
  border-top: 1px solid rgba(255,255,255,.08);
  display: flex; flex-direction: column; gap: 8px;
}
.clips-comments-input-nome {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 8px;
  color: #fff; font-family: inherit; font-size: 13.5px;
  padding: 9px 12px; outline: none;
}
.clips-comments-input-nome:focus { border-color: rgba(255,255,255,.3); }
.clips-comments-input-row {
  display: flex; gap: 8px; align-items: flex-end;
}
.clips-comments-textarea {
  flex: 1;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 10px;
  color: #fff; font-family: inherit; font-size: 13.5px;
  padding: 10px 12px;
  resize: none; outline: none;
  min-height: 40px; max-height: 100px;
  transition: border-color .15s;
  field-sizing: content; /* auto-resize onde suportado */
}
.clips-comments-textarea:focus { border-color: rgba(255,255,255,.3); }
.clips-comments-textarea::placeholder { color: rgba(255,255,255,.35); }
.clips-comments-send {
  width: 40px; height: 40px;
  background: var( --c-primary); color: #fff;
  border: none; border-radius: 50%;
  cursor: pointer; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  transition: filter .15s;
}
.clips-comments-send:hover { filter: brightness(1.1); }

.product-clips-section {
  margin: 24px 0;
  padding: 20px 0;
  border-top: 1px solid #f1f5f9;
}
.product-clips-title {
  display: flex; align-items: center; gap: 8px;
  font-size: 16px; font-weight: 800; color: #0f172a;
  margin-bottom: 14px;
}
.product-clips-carousel {
  display: flex; gap: 12px; overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 4px;
}
.product-clips-carousel::-webkit-scrollbar { display: none; }

.product-clip-thumb {
  flex: 0 0 auto;
  display: flex; flex-direction: column; align-items: center; gap: 5px;
  cursor: pointer;
}
.product-clip-thumb-ring {
  width: 60px; height: 60px;
  border-radius: 50%;
  overflow: hidden;
  border: 2.5px solid var(--c-primary, #e63946);
  padding: 2px;
  background: #fff;
  transition: transform .2s;
}
.product-clip-thumb:hover .product-clip-thumb-ring { transform: scale(1.06); }
.product-clip-thumb-ring img {
  width: 100%; height: 100%;
  object-fit: cover; border-radius: 50%;
}
.product-clip-thumb span {
  font-size: 10.5px; font-weight: 600; color: #475569;
  white-space: nowrap; max-width: 70px;
  overflow: hidden; text-overflow: ellipsis;
}

/* ════════════════════════════════════════════════════════
   CLIPS — OVERRIDE VISUAL ESTILO PRINT
   Colar no FINAL do CSS atual
   ════════════════════════════════════════════════════════ */

:root {
  --clips-accent: #ff4b26;
  --clips-dark: #060606;
  --clips-radius: 16px;
}

/* HOME */
.clips-home {
  background: #fff;
  padding: 28px 0 42px;
}

.clips-home-title {
  font-size: 36px;
  font-weight: 950;
  letter-spacing: -1.4px;
  color: #020617;
}

.clips-home-sub {
  max-width: 520px;
  font-size: 15px;
  line-height: 1.55;
  color: #536079;
}

.clips-home-badge {
  color: var( --c-primary);
}

.clips-ver-todos {
  color: var( --c-primary);
}

/* CARROSSEL */
.clips-carousel {
  gap: 18px;
  padding: 16px 4px 12px;
}

/* CARD HOME — estilo Reels */
.clip-card {
  width: 208px;
  border: 0;
  border-radius: 16px;
  background: #000;
  /* box-shadow: 0 10px 28px rgba(15, 23, 42, .16); */
  overflow: hidden;
}

.clip-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 42px rgba(15, 23, 42, .22);
}

.clip-card-media {
  aspect-ratio: 9 / 16;
  border-radius: 16px;
  background: #000;
}

.clip-card-poster {
  border-radius: 16px;
  filter: saturate(1.05) contrast(1.04);
}

.clip-card-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(0,0,0,.18), transparent 26%),
    linear-gradient(to top, rgba(0,0,0,.90), rgba(0,0,0,.34) 35%, transparent 60%);
  z-index: 2;
  pointer-events: none;
}

/* views topo esquerdo */
.clip-card-views {
  top: 14px;
  bottom: auto;
  left: 14px;
  z-index: 4;
  height: 24px;
  padding: 0 9px;
  font-size: 11px;
  font-weight: 800;
  background: rgba(0,0,0,.62);
  border-radius: 999px;
}

/* botão play topo direito */
.clip-card-play {
  inset: auto 14px auto auto;
  top: 13px;
  z-index: 5;
  width: 38px;
  height: 38px;
  opacity: 1;
  border-radius: 50%;
  background: #f8fafc;
  color: #0f172a;
  box-shadow: 0 8px 18px rgba(0,0,0,.24);
}

.clip-card-play svg {
  width: 18px;
  height: 18px;
  fill: #333;
}

/* remove info fora da imagem e joga sobre o card */
.clip-card-info {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 5;
  padding: 0;
  color: #fff;
}

.clip-card-titulo {
  color: #fff;
  font-size: 13.5px;
  font-weight: 900;
  line-height: 1.25;
  margin-bottom: 9px;
  text-shadow: 0 2px 8px rgba(0,0,0,.45);
}

.clip-card-meta {
  color: rgba(255,255,255,.88);
  font-size: 11.5px;
  font-weight: 600;
}

/* DESKTOP maior */
@media (min-width: 1024px) {
  .clip-card {
    width: 208px;
  }
}

/* FULLSCREEN OVERLAY */
.clips-feed-overlay {
  /* background: rgba(0,0,0,.94);
  backdrop-filter: blur(12px); */
}

.clips-feed-overlay::before {
  content: "";
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at center, rgba(255,255,255,.04), transparent 38%);
  pointer-events: none;
}

/* botão fechar */
.clips-feed-close {
  position: fixed;
  top: 12px;
  right: 16px;
  width: 44px;
  height: 44px;
  background: rgba(255,255,255,.10);
  z-index: 99999;
}

.clips-feed-logo {
  display: none;
}

.clips-feed-header {
  background: transparent;
  /* pointer-events: none; */
}

/* item */
.clip-item {
  background: transparent;
}

/* card vertical central */
@media (min-width: 768px) {
  .clip-item-video-wrap {
    width: 456px;
    max-width: 456px;
    height: calc(100dvh - 82px);
    max-height: 796px;
    border-radius: 10px;
    overflow: hidden;
    border: 2px solid rgba(15, 23, 42, .72);
    box-shadow:      0 0 0 1px rgba(255,255,255,.04),      0 24px 80px rgba(0,0,0,.65);
    background: #000;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    -ms-border-radius: 10px;
    -o-border-radius: 10px;
}

  .clip-item-video,
  .clip-item-poster {
    border-radius: 9px;
    object-fit: cover;
    -webkit-border-radius: 9px;
    -moz-border-radius: 9px;
    -ms-border-radius: 9px;
    -o-border-radius: 9px;
}
}

.clip-item-video-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(0,0,0,.30), transparent 24%),
    linear-gradient(to top, rgba(0,0,0,.92), rgba(0,0,0,.44) 30%, transparent 58%);
  z-index: 4;
  pointer-events: none;
}

/* views no topo do vídeo */
.clip-item .clip-card-views,
.clip-item-views {
  position: absolute;
  top: 24px;
  left: 20px;
  z-index: 25;
}

/* botão mute */
.clip-mute-btn {
  position: absolute;
  top: 70px;
  left: 20px;
  z-index: 30;
  width: 36px;
  height: 36px;
  background: rgba(0,0,0,.52);
}

/* ações laterais grudadas no card */
/* .clip-item-actions {
  right: calc(50% - 228px + 16px);
  bottom: 168px;
  gap: 18px;
}

.clip-action-btn {
  width: 42px;
  height: 42px;
  background: rgba(0,0,0,.42);
  backdrop-filter: blur(10px);
} */

.clip-action-count {
  font-size: 11px;
  font-weight: 800;
}

/* loja/produtos */
.clip-item-produto {
  background: #fff;
  color: #111827;
  border-radius: 999px;
  border: 0;
  padding: 8px 12px;
  width: max-content;
  max-width: calc(100% - 70px);
}

.clip-produto-nome,
.clip-produto-preco {
  color: #111827;
}

.clip-produto-cta {
  background: var( --c-primary);
  border-radius: 999px;
}

/* texto inferior */
.clip-item-overlay-bottom {
  left: 50%;
  right: auto;
  bottom: 80px;
  transform: translateX(-50%);
  width: 456px;
  max-width: calc(100vw - 80px);
  padding: 0 18px 0;
  background: transparent;
  z-index: 20;
}

.clip-item-titulo {
  font-size: 14px;
  font-weight: 950;
  margin-bottom: 5px;
}

.clip-item-descricao {
  font-size: 12.5px;
  line-height: 1.45;
  color: rgba(255,255,255,.9);
}

/* mobile fullscreen ocupa tela */
@media (max-width: 767px) {
  .clip-item-video-wrap {
    width: 100%;
    height: 100dvh;
    border-radius: 0;
  }

  .clip-item-video,
  .clip-item-poster {
    object-fit: cover;
  }

  .clip-item-overlay-bottom {
    width: 100%;
    max-width: 100%;
    bottom: 24px;
    padding: 0 16px;
  }

  

  .clips-feed-close {
    top: 10px;
    right: 10px;
  }
}


/* ════════════════════════════════════════════════════════
   clips-v2.css — Adicionar ao assets/css/clips.css
   Novidades: share box, stories do produto, multi-produtos
   ════════════════════════════════════════════════════════ */

/* ── Comentário novo (animação) ──────────────────────── */
.comment-item.is-new {
  animation: comment-slide-in .3s ease both;
}
@keyframes comment-slide-in {
  from { opacity:0; transform:translateY(10px); }
  to   { opacity:1; transform:translateY(0); }
}
.clips-comment-pending {
  font-size:12px;
  color:#f59e0b;
  padding:8px 12px;
  background:rgba(245,158,11,.12);
  border-radius:8px;
  margin-bottom:10px;
  animation:comment-slide-in .3s ease;
}

/* ── Múltiplos produtos — nav ────────────────────────── */
.clip-item-produto.is-multi { overflow:hidden; }
.clip-prod-nav {
  display:flex; align-items:center; justify-content:center;
  gap:8px; margin-top:8px;
}
.clip-prod-prev,
.clip-prod-next {
  width:26px; height:26px;
  background:rgba(255,255,255,.15);
  backdrop-filter:blur(8px);
  border:1px solid rgba(255,255,255,.2);
  border-radius:50%; cursor:pointer;
  display:flex; align-items:center; justify-content:center;
  transition:background .15s;
}
.clip-prod-prev:hover,
.clip-prod-next:hover { background:rgba(255,255,255,.3); }
.clip-prod-counter {
  font-size:11px; color:rgba(255,255,255,.7);
  font-weight:700; min-width:32px; text-align:center;
}

/* ── Share Box ───────────────────────────────────────── */
.clip-share-box {
  position:fixed; inset:0; z-index:9500;
  display:flex; align-items:flex-end; justify-content:center;
}
.clip-share-box[hidden] { display:none; }

.clip-share-backdrop {
  position:absolute; inset:0;
  background:rgba(0,0,0,.6);
  backdrop-filter:blur(0px);
}

.clip-share-panel {
  position:relative; z-index:1;
  background:#1a1a1a;
  border-radius:20px 20px 0 0;
  width:100%; max-width:480px;
  padding:0 0 env(safe-area-inset-bottom,0);
  animation:share-slide-up .3s cubic-bezier(.4,0,.2,1) both;
}
@keyframes share-slide-up {
  from { transform:translateY(100%); }
  to   { transform:translateY(0); }
}

.clip-share-header {
  display:flex; align-items:center; justify-content:center;
  padding:16px 20px;
  border-bottom:1px solid rgba(255,255,255,.08);
  position:relative;
}
.clip-share-header span {
  font-size:15px; font-weight:800; color:#fff;
}
.clip-share-header button {
  position:absolute; right:14px;
  background:rgba(255,255,255,.08);
  border:none; border-radius:50%;
  width:32px; height:32px;
  cursor:pointer; color:rgba(255,255,255,.6);
  display:flex; align-items:center; justify-content:center;
  transition:background .15s;
}
.clip-share-header button:hover { background:rgba(255,255,255,.18); color:#fff; }

.clip-share-networks {
  display:grid; grid-template-columns:repeat(4,1fr);
  gap:4px; padding:16px 20px;
}
.clip-share-net {
  display:flex; flex-direction:column; align-items:center; gap:7px;
  padding:12px 8px;
  background:none; border:none;
  cursor:pointer;
  border-radius:12px; transition:background .15s;
}
.clip-share-net:hover { background:rgba(255,255,255,.06); }
.clip-share-net-icon {
  width:48px; height:48px;
  border-radius:14px;
  display:flex; align-items:center; justify-content:center;
}
.clip-share-net-icon svg { width:24px; height:24px; }
.clip-share-net {
  font-size:11.5px; font-weight:700;
  color:rgba(255,255,255,.75);
}

.clip-share-link-row {
  display:flex; align-items:center; gap:8px;
  margin:0 16px 16px;
  background:rgba(255,255,255,.07);
  border:1px solid rgba(255,255,255,.12);
  border-radius:12px; padding:10px 12px;
}
.clip-share-link-icon {
  color:rgba(255,255,255,.4);
  flex-shrink:0;
  display:flex; align-items:center;
}
.clip-share-link-input {
  flex:1; background:none; border:none; outline:none;
  font-size:12.5px; color:rgba(255,255,255,.6);
  font-family:inherit;
  white-space:nowrap; overflow:hidden; text-overflow:ellipsis;
}
.clip-share-copy-btn {
  padding:6px 14px;
  background:rgba(255,255,255,.12);
  border:1px solid rgba(255,255,255,.15);
  border-radius:8px; cursor:pointer;
  font-family:inherit; font-size:12px; font-weight:700;
  color:#fff; white-space:nowrap;
  transition:background .15s;
}
.clip-share-copy-btn:hover { background:rgba(255,255,255,.22); }
.clip-share-copy-btn.is-copied { background:#16a34a; border-color:#16a34a; }

/* ── Product Stories (bolinhas) ──────────────────────── */
.product-clips-stories {
  margin: 0 0;
  padding: 18px 0;
  border-top: 1px solid #f1f5f9;
}

.product-clips-stories-label {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11.5px; font-weight: 800;
  text-transform: uppercase; letter-spacing: .6px;
  color: #64748b;
  margin-bottom: 14px;
}

.product-clips-stories-row {
  display: flex; gap: 14px;
  overflow-x: auto; scroll-snap-type: x mandatory;
  scrollbar-width: none; padding-bottom: 6px;
}
.product-clips-stories-row::-webkit-scrollbar { display:none; }

.product-story-circle {
  flex: 0 0 auto; scroll-snap-align: start;
  display: flex; flex-direction: column;
  align-items: center; gap: 5px;
  background: none; border: none;
  cursor: pointer; padding: 0;
  transition: transform .2s;
}
.product-story-circle:hover { 
/* transform: scale(1.08); */
 }

.product-story-ring {
  /* Gradiente estilo Instagram */
  width: 68px; height: 68px;
  border-radius: 50%;
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  padding: 2.5px;
  transition: transform .2s;
}
.product-story-circle.is-seen .product-story-ring {
  background: #cbd5e1; /* Visto = cinza */
}

.product-story-thumb {
  width: 100%; height: 100%;
  border-radius: 50%;
  overflow: hidden;
  border: 2.5px solid #fff;
  position: relative;
  background: #1e293b;
}
.product-story-thumb img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}
.product-story-thumb-empty {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.5);
}

.product-story-play {
  position: absolute; inset: 0;
  background: rgba(0,0,0,.25);
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  opacity: 0; transition: opacity .15s;
}
.product-story-circle:hover .product-story-play { opacity: 1; }

.product-story-views {
  font-size: 10.5px; font-weight: 700;
  color: #64748b;
  display: flex; align-items: center; gap: 3px;
}





/* ════════════════════════════════════════════════════════
   Badge de produtos no card do clip (home carousel)
   ════════════════════════════════════════════════════════ */

.clip-card-produtos-badge {
    inset: auto 14px auto auto;
    position: absolute;
    /*left: 50%;
    */top: 60px;
    /*transform: translate(-50%, 28px);
    */z-index: 4;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 10px;
    background: var(--c-primary);
    border-radius: 99px;
    border: 1.5px solid rgba(255, 255, 255, .25);
    font-size: 12px;
    font-weight: 800;
    color: #fff;
    white-space: nowrap;
    cursor: pointer;
    pointer-events: none;
    box-shadow: 0 2px 4px var(--c-primary-t);
}

/* No hover do card, sobe levemente junto */


.clip-card-produtos-badge svg {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
  stroke: rgba(255,255,255,.9);
}

.clip-card-produtos-badge span {
  line-height: 1;
  letter-spacing: -.2px;
}

/* Variante compacta para cards menores */
.clip-card--sm .clip-card-produtos-badge {
  padding: 4px 8px;
  font-size: 11px;
  transform: translate(-50%, 22px);
}