/* Ajustes da loja — complementa o CSS base (Tailwind compilado) */

/* Order bump no carrinho — kit de barba */
.ob-bump {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1rem;
  padding: 0.85rem;
  border: 2px dashed #f59e0b;
  border-radius: 0.75rem;
  background: #fffbeb;
  cursor: pointer;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}
.ob-bump:hover {
  background: #fef3c7;
}
.ob-bump-marcado {
  border-style: solid;
  border-color: #059669;
  background: #ecfdf5;
}
/* caixinha de marcar desenhada, para ficar igual em todo navegador */
.ob-bump-check {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.ob-bump-marca {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border: 2px solid #d97706;
  border-radius: 0.35rem;
  background: #fff;
  position: relative;
}
.ob-bump-marcado .ob-bump-marca {
  border-color: #059669;
  background: #059669;
}
.ob-bump-marcado .ob-bump-marca::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 2px;
  width: 5px;
  height: 10px;
  border: solid #fff;
  border-width: 0 2.5px 2.5px 0;
  transform: rotate(45deg);
}
.ob-bump-foto {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 0.5rem;
  border: 1px solid #e5e7eb;
  background: #fff;
}
.ob-bump-texto {
  flex: 1;
  min-width: 0;
}
.ob-bump-titulo {
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  color: #111827;
  line-height: 1.25;
}
.ob-bump-sub {
  display: block;
  font-size: 0.72rem;
  color: #6b7280;
  line-height: 1.3;
  margin-top: 0.1rem;
}
.ob-bump-precos {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  flex-wrap: wrap;
  margin-top: 0.3rem;
}
.ob-bump-precio {
  font-size: 0.95rem;
  font-weight: 700;
  color: #111827;
}
.ob-bump-antes {
  font-size: 0.75rem;
  color: #9ca3af;
  text-decoration: line-through;
}
.ob-bump-badge {
  font-size: 0.65rem;
  font-weight: 700;
  color: #b45309;
  background: #fde68a;
  padding: 0.1rem 0.35rem;
  border-radius: 100px;
}
.ob-bump-marcado .ob-bump-badge {
  color: #047857;
  background: #a7f3d0;
}

/* Seletor de pack (1, 2 ou 3 cuchillas) */
.ob-kits {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}
.ob-kit {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  width: 100%;
  padding: 0.9rem 1rem;
  border: 2px solid #e5e7eb;
  border-radius: 0.75rem;
  background: #fff;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}
.ob-kit:hover {
  border-color: #9ca3af;
}
.ob-kit-ativo,
.ob-kit-ativo:hover {
  border-color: #111827;
  background: #f9fafb;
}
/* bolinha do rádio */
.ob-kit-radio {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border: 2px solid #d1d5db;
  border-radius: 50%;
  position: relative;
}
.ob-kit-ativo .ob-kit-radio {
  border-color: #111827;
}
.ob-kit-ativo .ob-kit-radio::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: #111827;
}
.ob-kit-info {
  flex: 1;
  min-width: 0;
}
.ob-kit-linha {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.ob-kit-titulo {
  font-size: 0.95rem;
  font-weight: 700;
  color: #111827;
}
.ob-kit-badge {
  background: #111827;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.15rem 0.5rem;
  border-radius: 100px;
  white-space: nowrap;
}
.ob-kit-sub {
  display: block;
  font-size: 0.8rem;
  color: #6b7280;
  margin-top: 0.15rem;
}
.ob-kit-precos {
  flex-shrink: 0;
  text-align: right;
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.ob-kit-precio {
  font-size: 1.05rem;
  font-weight: 700;
  color: #111827;
}
.ob-kit-antes {
  font-size: 0.8rem;
  color: #9ca3af;
  text-decoration: line-through;
}
@media (max-width: 380px) {
  .ob-kit {
    padding: 0.75rem 0.7rem;
    gap: 0.6rem;
  }
  .ob-kit-precos {
    flex-direction: column;
    align-items: flex-end;
    gap: 0;
  }
}

/* Logo do cabeçalho — bem maior que o padrão do tema (era 32px).
   A barra também cresce de 64px para 84px, senão a logo encostaria nas bordas. */
header .h-16 {
  height: 104px;
}
header img[alt="Logo"] {
  height: 78px;
  max-width: 280px;
}
@media (max-width: 640px) {
  header .h-16 {
    height: 84px;
  }
  header img[alt="Logo"] {
    height: 62px;
  }
}

/* Galeria: tira de miniaturas em linha única, sem barra de rolagem à mostra */
#galeriaThumbs {
  scrollbar-width: none;
  -ms-overflow-style: none;
}
#galeriaThumbs::-webkit-scrollbar {
  display: none;
}
/* a foto acompanha o dedo/mouse ao arrastar e engata ao soltar */
#galeriaTrack {
  transition: transform 0.35s ease;
}
#galeriaTrack img {
  user-select: none;
  -webkit-user-drag: none;
}

/* Banner animado dentro da descrição (substituiu o quadro "¿Qué incluye la caja?") */
.ob-descripcion .ob-banner {
  position: relative;
}
.ob-descripcion .ob-banner img {
  width: 100%;
  height: auto;
  border-radius: 20px;
}
/* botão sobreposto ao GIF, cobrindo a escrita "Introducing OneBlade".
   No GIF renderizado a 896x504 a escrita ocupa x 470→710 e y 200→275;
   as medidas abaixo são em % do banner, então a cobertura vale em qualquer tamanho. */
.ob-descripcion .ob-banner-btn {
  position: absolute;
  left: 48.3%;
  top: 36.5%;
  width: 35%;
  height: 21%;
  display: flex;
  align-items: center;
  justify-content: center;
  /* o fundo do GIF é verde-limão: botão azul-marinho para destacar */
  background: var(--navy);
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
  border-radius: 100px;
  font-size: clamp(11px, 1.7vw, 19px);
  box-shadow: 0 10px 28px rgba(11, 37, 69, 0.35);
  transition: transform 0.15s ease;
}
.ob-descripcion .ob-banner-btn:hover {
  transform: scale(1.04);
}
.ob-descripcion .ob-banner small {
  display: block;
  text-align: center;
  margin-top: 14px;
  font-size: 13px;
  color: #5a6572;
}

/* Bandeiras de pagamento (mesmo padrão do ConectaCar) */
.ob-pagos {
  display: flex;
  flex-wrap: nowrap;
  gap: 7px;
  align-items: center;
  justify-content: center;
  margin-top: 14px;
}
.ob-pagos-label {
  font-size: 12.5px;
  font-weight: 700;
  color: #111827;
  margin-right: 2px;
  white-space: nowrap;
}
.ob-pago {
  height: 21px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.ob-pago img {
  height: 100%;
  width: auto;
  object-fit: contain;
  display: block;
}
.ob-pago.alta {
  height: 23px;
}
.ob-pago.mono {
  height: 15px;
}
.ob-pago-seguro {
  text-align: center;
  font-size: 13px;
  color: #6b7280;
  margin-top: 10px;
}
.ob-pagos-rodape {
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 0;
}
/* rodapé escuro: sem chip branco.
   Visa e Mastercard já trazem o próprio fundo de cartão; Apple Pay e Google Pay
   usam os arquivos -dark (tinta branca) e o Link é clareado por filtro. */
.ob-pagos-rodape .ob-pago {
  height: 24px;
}
.ob-pagos-rodape .ob-pago.alta {
  height: 26px;
}
.ob-pagos-rodape .ob-pago.mono {
  height: 17px;
}
.ob-pagos-rodape .ob-pago.mono img[src$="link.png"] {
  filter: brightness(0) invert(1);
}
/* em telas estreitas as bandeiras podem quebrar em duas linhas */
@media (max-width: 420px) {
  .ob-pagos {
    flex-wrap: wrap;
  }
}

/* Destaques do produto — lista de benefícios + selo de oferta (abaixo das estrelas) */
.ob-destaques {
  margin-top: 1rem;
}
.ob-destaques ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}
.ob-destaques li {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.9375rem;
  line-height: 1.35;
  color: #374151;
}
.ob-destaques li svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: #10b981;
}
.ob-destaques li strong {
  font-weight: 600;
  color: #111827;
}



/* Bloco de urgência acima do preço: mais vendido + desconto por pack + estoque */
.ob-urgencia {
  margin-top: 1.25rem;
}
.ob-urg-vendido {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1rem;
  font-weight: 700;
  color: #22c55e;
}
.ob-urg-ponto {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #22c55e;
  flex-shrink: 0;
}
.ob-urg-pack {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 0.7rem;
  font-size: 1rem;
  color: #374151;
}
.ob-urg-pack svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: #6b7280;
}
.ob-urg-pack strong {
  font-weight: 700;
  color: #111827;
}
.ob-urg-stock {
  margin-top: 0.9rem;
  padding: 0.9rem 1.1rem;
  border: 1px solid #e5e7eb;
  border-radius: 0.75rem;
}
.ob-urg-stock-titulo {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: #dc2626;
  letter-spacing: 0.03em;
  margin-bottom: 0.35rem;
}
/* Bolinha vermelha piscando, no estilo "ao vivo".
   Anima só opacity e transform: são as duas propriedades que o Safari do iPhone
   entrega para a GPU. box-shadow animado é repintado a cada quadro e o iOS
   costuma engasgar ou pular a animação, principalmente em Modo de Baixo Consumo. */
.ob-urg-pulso {
  position: relative;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #dc2626;
  flex-shrink: 0;
  animation: obPulsoNucleo 1.4s ease-in-out infinite;
  will-change: opacity;
}
/* anel que se abre e some, feito com escala em vez de sombra */
.ob-urg-pulso::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #dc2626;
  animation: obPulsoAnel 1.4s ease-out infinite;
  will-change: transform, opacity;
  pointer-events: none;
}
@keyframes obPulsoNucleo {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
@keyframes obPulsoAnel {
  0% { opacity: 0.55; transform: scale(1); }
  80%, 100% { opacity: 0; transform: scale(2.8); }
}
/* quem pediu menos movimento no sistema continua vendo o pisca,
   só sem o anel se expandindo — piscar não é movimento na tela */
@media (prefers-reduced-motion: reduce) {
  .ob-urg-pulso::after {
    animation: none;
    opacity: 0;
  }
  .ob-urg-pulso {
    animation-duration: 2.2s;
  }
}
.ob-urg-stock p {
  font-size: 1rem;
  color: #111827;
  margin: 0;
}
.ob-urg-stock strong {
  font-weight: 700;
  color: #dc2626;
}

/* Descrição completa do produto (era um iframe no original) */
.ob-descripcion-wrap {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #0f172a;
  /* o iframe original tinha overflow:hidden — mantém o mesmo recorte no celular */
  overflow-x: hidden;
}

/* Carrossel de vídeos */
#videoTrack {
  transition: transform 0.4s ease;
}

/* FAQ aberto */
.faq-toggle[aria-expanded="true"] .lucide-chevron-down {
  transform: rotate(180deg);
}

/* Conteúdo dos modais de política */
#modalPoliticaCorpo h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 0.75rem;
}
#modalPoliticaCorpo h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: #111827;
  margin: 1.25rem 0 0.35rem;
}
#modalPoliticaCorpo p {
  margin-bottom: 0.6rem;
  font-size: 0.9rem;
}
#modalPoliticaCorpo ul {
  list-style: disc;
  padding-left: 1.25rem;
  margin-bottom: 0.6rem;
  font-size: 0.9rem;
}
#modalPoliticaCorpo li {
  margin-bottom: 0.25rem;
}
