/* ==========================================================================
   FACE CLEAN OFICIAL - ESTILOS PRINCIPAIS (MOBILE-FIRST & ALTA PERFORMANCE)
   ========================================================================== */

:root {
  /* Cores Principais da Marca */
  --color-primary: #005da8;
  --color-primary-light: #e6f1fb;
  --color-primary-hover: #004b87;
  --color-accent: #0679ff;
  --color-accent-subtle: #f0f7ff;
  
  /* Cores de Ação / Conversão (CTA) */
  --color-success: #1aa420;
  --color-success-hover: #158a1c;
  --color-success-active: #0f6b15;
  --color-success-subtle: #eaf3de;
  --color-success-border: #97c459;
  --color-success-text: #27500a;
  
  /* Cores de Destaque / Alertas */
  --color-danger: #dc2626;
  --color-warning: #b45309;
  --color-warning-subtle: #fff8f0;
  --color-warning-border: #f59e0b;
  
  /* Neutros e Tipografia */
  --color-bg: #f8fafc;
  --color-surface: #ffffff;
  --color-text-main: #111827;
  --color-text-muted: #4b5563;
  --color-text-subtle: #6b7280;
  --color-border: #e5e7eb;
  --color-border-hover: #9ca3af;
  
  /* Tipografia */
  --font-sans: 'Barlow', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  
  /* Dimensões e Espaçamentos */
  --header-height: 64px;
  --touch-target-min: 48px;
  --container-max-w: 1200px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  
  /* Sombras */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.12);
  --shadow-cta: 0 4px 14px rgba(26, 164, 32, 0.35);
  
  /* Transições Suaves */
  --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset Moderno */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  color: var(--color-text-main);
  background-color: var(--color-bg);
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  overflow-x: hidden;
  background-color: var(--color-bg);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

img, picture, svg, video {
  display: block;
  max-width: 100%;
  height: auto;
}

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ==========================================================================
   ACSIBILIDADE & FOCO VISÍVEL (WCAG 2.1)
   ========================================================================== */
:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 2px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

.skip-to-content {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 10000;
  background: var(--color-text-main);
  color: #fff;
  padding: 10px 16px;
  border-radius: var(--radius-md);
  font-weight: 700;
  transform: translateY(-150%);
  transition: transform var(--transition-fast);
}

.skip-to-content:focus {
  transform: translateY(0);
}

/* ==========================================================================
   BARRA DE ANÚNCIOS TOPO
   ========================================================================== */
.announcement-bar {
  background: #111827;
  color: #ffffff;
  font-size: 12px;
  font-weight: 600;
  text-align: center;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  letter-spacing: 0.02em;
}

.announcement-bar span.badge {
  background: var(--color-success);
  color: #fff;
  padding: 2px 6px;
  border-radius: var(--radius-full);
  font-size: 10px;
  font-weight: 800;
}

/* ==========================================================================
   ESTRUTURA DE NAVEGAÇÃO FIXA E RESPONSIVA
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  transition: background var(--transition-normal), box-shadow var(--transition-normal);
}

.site-header.scrolled {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.header-inner {
  max-width: var(--container-max-w);
  margin: 0 auto;
  height: 100%;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-logo {
  height: 36px;
  width: auto;
  object-fit: contain;
}

/* Navegação Desktop */
.nav-desktop {
  display: none;
}

@media (min-width: 900px) {
  .nav-desktop {
    display: flex;
    align-items: center;
    gap: 24px;
  }
  
  .nav-link {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-text-muted);
    padding: 8px 0;
    position: relative;
    transition: color var(--transition-fast);
  }
  
  .nav-link:hover {
    color: var(--color-primary);
  }
  
  .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-primary);
    transition: width var(--transition-fast);
  }
  
  .nav-link:hover::after {
    width: 100%;
  }
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-cta-btn {
  display: none;
  background: var(--color-success);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: var(--radius-md);
  transition: background var(--transition-fast), transform var(--transition-fast);
}

.header-cta-btn:hover {
  background: var(--color-success-hover);
  transform: translateY(-1px);
}

@media (min-width: 600px) {
  .header-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
  }
}

/* Botão de Menu Hambúrguer (Mobile) */
.menu-toggle-btn {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: var(--touch-target-min);
  height: var(--touch-target-min);
  background: transparent;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  padding: 8px;
  gap: 5px;
  -webkit-tap-highlight-color: transparent;
}

.menu-toggle-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-text-main);
  border-radius: 2px;
  transition: transform var(--transition-fast), opacity var(--transition-fast);
}

.menu-toggle-btn.is-active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle-btn.is-active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle-btn.is-active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (min-width: 900px) {
  .menu-toggle-btn {
    display: none;
  }
}

/* Gaveta de Navegação Mobile (Drawer) */
.mobile-nav-drawer {
  position: fixed;
  top: var(--header-height);
  left: 0;
  width: 100%;
  height: calc(100vh - var(--header-height));
  height: calc(100dvh - var(--header-height));
  background: #ffffff;
  z-index: 890;
  display: flex;
  flex-direction: column;
  padding: 0 0 32px;
  transform: translateX(-100%);
  transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
}

.mobile-nav-drawer.is-open {
  transform: translateX(0);
}

/* Cabeçalho da gaveta */
.mobile-nav-brand {
  padding: 20px 24px 18px;
  border-bottom: 1px solid #f0f0f0;
  margin-bottom: 8px;
}

.mobile-nav-tagline {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #999;
  margin-top: 4px;
}

/* Lista de links */
.mobile-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  padding: 0 16px;
  flex: 1;
}

.mobile-nav-list li + li {
  border-top: 1px solid #f5f5f5;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 8px;
  font-size: 15px;
  font-weight: 500;
  color: #1a1a1a;
  transition: color 0.15s;
  min-height: 52px;
  text-decoration: none;
}

.mobile-nav-link:active { color: var(--color-primary); }

.mnl-text { flex: 1; }

.mnl-arrow {
  color: #bbb;
  flex-shrink: 0;
  transition: transform 0.15s, color 0.15s;
}

.mobile-nav-link:active .mnl-arrow {
  color: var(--color-primary);
  transform: translateX(2px);
}

/* Rodapé */
.mobile-nav-footer {
  margin-top: 24px;
  padding: 0 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mobile-nav-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 50px;
  padding: 0 20px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 15px;
  text-align: center;
  text-decoration: none;
  letter-spacing: 0.01em;
}

.mobile-nav-btn.primary {
  background: var(--color-success);
  color: #fff;
}

.mobile-nav-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 11.5px;
  color: #999;
  text-align: center;
  flex-wrap: wrap;
}

.mobile-nav-trust .dot { color: #ddd; }

/* ==========================================================================
   LAYOUT PRINCIPAL E CONTEÚDO ADAPTATIVO
   ========================================================================== */
main {
  flex: 1 0 auto;
}

.container {
  max-width: var(--container-max-w);
  margin: 0 auto;
  padding: 0 16px;
}

@media (min-width: 768px) {
  .container {
    padding: 0 24px;
  }
}

/* Grid do Produto Principal */
.product-hero-section {
  padding: 16px 0 32px;
  background: #ffffff;
}

.product-layout {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

@media (min-width: 992px) {
  .product-layout {
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    gap: 40px;
    align-items: flex-start;
  }
}

/* ==========================================================================
   GALERIA DE IMAGENS E MÍDIA
   ========================================================================== */
.gallery-container {
  position: relative;
  width: 100%;
  max-width: 580px;
  margin: 0 auto;
}

.main-image-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #f1f5f9;
  aspect-ratio: 1 / 1;
  box-shadow: var(--shadow-sm);
}

.main-product-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gallery-thumbnails {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  overflow-x: auto;
  padding-bottom: 6px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.gallery-thumbnails::-webkit-scrollbar {
  display: none;
}

.thumb-btn {
  flex: 0 0 68px;
  height: 68px;
  border-radius: var(--radius-md);
  border: 2px solid transparent;
  overflow: hidden;
  cursor: pointer;
  background: #f8fafc;
  padding: 0;
  transition: border-color var(--transition-fast), transform var(--transition-fast);
}

.thumb-btn.is-active {
  border-color: var(--color-primary);
  transform: scale(0.96);
}

.thumb-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ==========================================================================
   INFORMAÇÕES DO PRODUTO & ELEMENTOS DE INTERFACE
   ========================================================================== */
.product-details {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Avaliações em Estrelas */
.reviews-summary-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 0;
  text-decoration: none;
}

.stars-rating {
  display: flex;
  color: #f59e0b;
  font-size: 16px;
  line-height: 1;
}

.reviews-count {
  font-size: 13px;
  color: var(--color-text-subtle);
  font-weight: 500;
}

.reviews-count strong {
  color: var(--color-text-main);
}

.product-title {
  font-size: 24px;
  line-height: 1.25;
  font-weight: 800;
  color: var(--color-text-main);
  letter-spacing: -0.01em;
}

@media (min-width: 768px) {
  .product-title {
    font-size: 30px;
  }
}

.product-tagline {
  font-size: 14px;
  color: var(--color-text-subtle);
  line-height: 1.4;
}

/* Tira de Fotos de Clientes */
.customer-photos-strip {
  margin: 6px 0 10px;
}

.customer-photos-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 6px;
}

.customer-photos-header h3 {
  font-size: 13px;
  font-weight: 700;
  color: var(--color-text-main);
}

.customer-photos-header a {
  font-size: 12px;
  color: var(--color-primary);
  text-decoration: underline;
  font-weight: 600;
}

.photos-scroll-row {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: none;
}

.photos-scroll-row::-webkit-scrollbar {
  display: none;
}

.photo-item {
  flex: 0 0 58px;
  height: 58px;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #e2e8f0;
}

.photo-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Bloco de Preço */
.pricing-block {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 10px 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.pricing-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
}

.current-price {
  font-size: 28px;
  font-weight: 800;
  color: var(--color-success);
  line-height: 1;
}

.old-price {
  font-size: 16px;
  color: #9ca3af;
  text-decoration: line-through;
}

.discount-tag {
  background: var(--color-danger);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: var(--radius-full);
}

.installments-text {
  font-size: 13px;
  color: var(--color-text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Bloco de Benefícios de Pagamento (Pix & Frete) */
.benefits-pills-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 6px 0 10px;
}

.pix-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  padding: 10px 14px;
  border-radius: var(--radius-md);
}

.pix-icon {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
}

.pix-pill-content {
  font-size: 13px;
  line-height: 1.3;
}

.pix-pill-content strong {
  font-size: 14px;
  color: #0f172a;
}

.badge-pix {
  display: inline-block;
  background: #0d9488;
  color: #ffffff;
  font-size: 10px;
  font-weight: 800;
  padding: 1px 6px;
  border-radius: var(--radius-full);
  margin-left: 4px;
}

.free-shipping-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--color-success-subtle);
  border: 1px solid var(--color-success-border);
  color: var(--color-success-text);
  font-size: 13px;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: var(--radius-md);
}

/* ==========================================================================
   SELETOR DE KITS (ACCESSIBLE RADIO GROUP)
   ========================================================================== */
.kits-section-title {
  font-size: 14px;
  font-weight: 800;
  color: var(--color-text-main);
  margin-top: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.kits-selector-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 6px 0 16px;
}

.kit-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  background: #ffffff;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-md);
  cursor: pointer;
  user-select: none;
  transition: all var(--transition-fast);
  min-height: 68px;
  -webkit-tap-highlight-color: transparent;
}

.kit-card.has-badge {
  padding-top: 20px;
}

.kit-badge {
  position: absolute;
  top: -1px;
  right: 12px;
  font-size: 10px;
  font-weight: 800;
  color: #ffffff;
  background: var(--color-danger);
  padding: 2px 10px;
  border-radius: 0 0 6px 6px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.kit-badge.popular {
  background: var(--color-warning);
}

.kit-card:hover {
  border-color: var(--color-border-hover);
}

.kit-card.is-active {
  border-color: var(--color-success);
  background: #f7fdf4;
  box-shadow: 0 0 0 1px var(--color-success);
}

/* Rádio Estilizado */
.kit-radio-custom {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid #cbd5e1;
  background: #ffffff;
  position: relative;
  transition: border-color var(--transition-fast), background-color var(--transition-fast);
}

.kit-card.is-active .kit-radio-custom {
  border-color: var(--color-success);
  background: var(--color-success);
}

.kit-card.is-active .kit-radio-custom::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ffffff;
}

.kit-thumb-img {
  width: 46px;
  height: 46px;
  object-fit: contain;
  flex-shrink: 0;
}

.kit-info {
  flex: 1;
  min-width: 0;
}

.kit-name {
  font-size: 14px;
  font-weight: 800;
  color: var(--color-text-main);
  line-height: 1.2;
}

.kit-desc {
  font-size: 11px;
  color: var(--color-text-subtle);
  margin-top: 2px;
}

.kit-unit-economy {
  font-size: 11px;
  font-weight: 700;
  color: #15803d;
  margin-top: 2px;
}

.kit-pricing {
  text-align: right;
  flex-shrink: 0;
}

.kit-price-val {
  font-size: 15px;
  font-weight: 800;
  color: var(--color-text-main);
}

.kit-price-old {
  font-size: 11px;
  color: var(--color-text-subtle);
  text-decoration: line-through;
}

.kit-discount-pill {
  display: inline-block;
  font-size: 10px;
  font-weight: 800;
  color: #fff;
  background: #15803d;
  padding: 1px 6px;
  border-radius: 4px;
  margin-top: 2px;
}

/* ==========================================================================
   BOTÃO DE COMPRA PRINCIPAL (CTA)
   ========================================================================== */
.main-cta-wrapper {
  margin-top: 6px;
}

.btn-buy-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 54px;
  padding: 14px 24px;
  background: var(--color-success);
  color: #ffffff;
  border: none;
  border-radius: var(--radius-md);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: var(--shadow-cta);
  transition: transform var(--transition-fast), background var(--transition-fast), box-shadow var(--transition-fast);
  -webkit-tap-highlight-color: transparent;
}

.btn-buy-primary:hover {
  background: var(--color-success-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(26, 164, 32, 0.45);
}

.btn-buy-primary:active {
  transform: scale(0.98);
  background: var(--color-success-active);
}

.trust-badges-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 10px;
  font-size: 11px;
  color: var(--color-text-subtle);
  font-weight: 600;
}

/* ==========================================================================
   SLIDERS INTERATIVOS DE ANTES / DEPOIS
   ========================================================================== */
.before-after-section {
  padding: 36px 0;
  background: #ffffff;
  border-top: 1px solid var(--color-border);
}

.section-header-centered {
  text-align: center;
  margin-bottom: 20px;
}

.section-tag {
  font-size: 12px;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  margin-bottom: 4px;
}

.section-heading {
  font-size: 20px;
  font-weight: 800;
  color: var(--color-text-main);
  line-height: 1.35;
}

@media (min-width: 768px) {
  .section-heading {
    font-size: 26px;
  }
}

.slider-container-ba {
  position: relative;
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  user-select: none;
  box-shadow: var(--shadow-md);
  aspect-ratio: 1 / 1;
}

.slider-img-after {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.slider-img-before-wrap {
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  overflow: hidden;
}

.slider-img-before {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left top;
}

.slider-handle-ba {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 44px;
  height: 100%;
  z-index: 10;
  cursor: ew-resize;
  touch-action: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slider-divider-line {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 100%;
  background: #ffffff;
}

.slider-knob-circle {
  position: relative;
  z-index: 2;
  width: 40px;
  height: 40px;
  background: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
  font-size: 16px;
  color: var(--color-primary);
  font-weight: 900;
}

.label-ba {
  position: absolute;
  top: 12px;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  z-index: 5;
}

.label-ba.before {
  left: 12px;
  background: rgba(0, 0, 0, 0.6);
  color: #ffffff;
}

.label-ba.after {
  right: 12px;
  background: var(--color-primary);
  color: #ffffff;
}

/* ==========================================================================
   SEÇÃO DE BENEFÍCIOS & PARA QUEM É INDICADO
   ========================================================================== */
.benefits-cards-section {
  padding: 36px 0;
  background: var(--color-bg);
}

.pain-hook-card {
  background: var(--color-warning-subtle);
  border-left: 4px solid var(--color-warning-border);
  padding: 16px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin-bottom: 24px;
}

.pain-hook-card h4 {
  font-size: 15px;
  font-weight: 800;
  color: #92400e;
  margin-bottom: 6px;
}

.pain-hook-card p {
  font-size: 13.5px;
  color: #78350f;
  line-height: 1.55;
}

.indications-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 14px;
}

@media (min-width: 600px) {
  .indications-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.indication-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #ffffff;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  font-size: 13.5px;
  font-weight: 600;
  color: #1e3a5f;
}

.indication-icon {
  font-size: 22px;
  flex-shrink: 0;
}

/* Bloco Sem Rebote */
.no-rebound-box {
  background: #eef7f1;
  border-left: 4px solid #1f7a4d;
  padding: 16px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 24px 0 16px;
}

.no-rebound-box h4 {
  font-size: 16px;
  font-weight: 800;
  color: #14532d;
  margin-bottom: 4px;
}

.no-rebound-box p {
  font-size: 13.5px;
  color: #1f4032;
  line-height: 1.5;
}

/* ==========================================================================
   SEÇÃO FAQ (ACORDEÕES ACESSÍVEIS)
   ========================================================================== */
.faq-section {
  padding: 36px 0;
  background: #ffffff;
  border-top: 1px solid var(--color-border);
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 760px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: #ffffff;
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

.faq-item[open] {
  border-color: var(--color-primary);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
  font-size: 15px;
  font-weight: 700;
  color: var(--color-text-main);
  cursor: pointer;
  list-style: none;
  min-height: var(--touch-target-min);
  -webkit-tap-highlight-color: transparent;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question::after {
  content: '+';
  font-size: 20px;
  color: var(--color-primary);
  font-weight: 700;
  transition: transform var(--transition-fast);
}

.faq-item[open] .faq-question::after {
  content: '−';
}

.faq-answer {
  padding: 0 16px 16px;
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.6;
}

.faq-answer strong {
  color: var(--color-text-main);
}

/* ==========================================================================
   FEEDBACK DO USUÁRIO (COLETA CONTÍNUA)
   ========================================================================== */
.feedback-box-section {
  margin: 30px auto;
  max-width: 500px;
  padding: 16px 20px;
  background: #f8fafc;
  border: 1px dashed var(--color-border-hover);
  border-radius: var(--radius-md);
  text-align: center;
}

.feedback-box-section p {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--color-text-muted);
  margin-bottom: 10px;
}

.feedback-buttons {
  display: flex;
  justify-content: center;
  gap: 12px;
}

.btn-feedback {
  min-height: 40px;
  padding: 6px 16px;
  border: 1px solid var(--color-border);
  background: #ffffff;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all var(--transition-fast);
}

.btn-feedback:active {
  transform: scale(0.95);
}

/* ==========================================================================
   STICKY ADD TO CART (BARRA FIXA MOBILE DE COMPRA)
   ========================================================================== */
.sticky-atc-bar {
  display: none;
  flex-direction: column;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 850;
  background: #ffffff;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.12);
  contain: layout paint style;
  transition: transform 0.25s ease-out;
}

@media (max-width: 768px) {
  .sticky-atc-bar:not([hidden]) {
    display: flex;
  }
}

.sticky-pix-notice {
  background: var(--color-accent);
  color: #ffffff;
  text-align: center;
  font-size: 11.5px;
  font-weight: 700;
  padding: 5px 12px;
  letter-spacing: 0.02em;
}

.sticky-content {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: #ffffff;
  border-top: 1px solid var(--color-border);
}

.sticky-thumb {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  flex-shrink: 0;
  border: 1px solid var(--color-border);
}

.sticky-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sticky-details {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.sticky-price {
  font-size: 17px;
  font-weight: 800;
  color: var(--color-text-main);
  line-height: 1.1;
}

.sticky-installments {
  font-size: 11px;
  color: var(--color-text-subtle);
}

.sticky-btn-buy {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--color-success);
  color: #ffffff;
  border: none;
  border-radius: var(--radius-md);
  padding: 12px 18px;
  font-size: 13.5px;
  font-weight: 800;
  cursor: pointer;
  flex-shrink: 0;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(26, 164, 32, 0.35);
  transition: transform 0.1s ease-out;
  -webkit-tap-highlight-color: transparent;
}

.sticky-btn-buy:active {
  transform: scale(0.97);
  background: var(--color-success-active);
}

/* Telas muito pequenas (até 340px): botão da barra fixa um pouco menor para não cobrir o preço */
@media (max-width: 340px) {
  .sticky-btn-buy {
    padding: 12px 12px;
    font-size: 12.5px;
  }
}

/* ==========================================================================
   TOAST / NOTIFICAÇÃO DE FEEDBACK TÁCTIL E VISUAL
   ========================================================================== */
.toast-notification {
  position: fixed;
  top: 80px;
  left: 50%;
  transform: translateX(-50%) translateY(-20px);
  background: #111827;
  color: #ffffff;
  padding: 10px 18px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  box-shadow: var(--shadow-lg);
  z-index: 10000;
  opacity: 0;
  pointer-events: none;
  transition: all var(--transition-normal);
  display: flex;
  align-items: center;
  gap: 8px;
}

.toast-notification.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ==========================================================================
   WIDGET DE AVALIAÇÕES RYVIU (IDÊNTICO / NATIVO & RESPONSIVO)
   ========================================================================== */
.ryviu-widget-section {
  padding: 40px 0 50px;
  background: #ffffff;
  border-top: 1px solid var(--color-border);
}

.ryviu-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

/* Header Box */
.ryviu-header {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  border: 1px solid var(--color-border);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
  margin-bottom: 24px;
}

.ryviu-head-top {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

@media (min-width: 900px) {
  .ryviu-head-top {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
  }
}

/* Rating Score & Bar */
.ryviu-score-col {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.ryviu-average-big {
  font-size: 44px;
  font-weight: 800;
  color: #1a1a1a;
  line-height: 1;
}

.ryviu-stars-score {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ryviu-gold-stars {
  color: #fdbc00;
  font-size: 18px;
  letter-spacing: 2px;
  line-height: 1;
}

.ryviu-reviews-count {
  font-size: 13px;
  color: #666;
}

/* Rating Breakdown Table */
.ryviu-rate-table {
  border-collapse: collapse;
  min-width: 220px;
}

.ryviu-rate-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #555;
  margin-bottom: 4px;
}

.ryviu-rate-row:not(.is-disabled) {
  cursor: pointer;
  border-radius: 4px;
  padding: 1px 4px;
  transition: background var(--transition-fast);
}

.ryviu-rate-row:not(.is-disabled):hover {
  background: #f1f5f9;
}

.ryviu-rate-row.is-active {
  background: #e0f2fe;
}

.ryviu-rate-row.is-disabled {
  opacity: 0.45;
}

.ryviu-rate-label {
  display: flex;
  align-items: center;
  gap: 2px;
  width: 26px;
  font-weight: 600;
}

.ryviu-rate-label span {
  color: #fdbc00;
}

.ryviu-bar-track {
  flex: 1;
  height: 8px;
  background: #e6e6e6;
  border-radius: 999px;
  overflow: hidden;
  min-width: 90px;
}

.ryviu-bar-fill {
  height: 100%;
  background: #fdbc00;
  border-radius: 999px;
}

.ryviu-rate-num {
  width: 26px;
  text-align: right;
  font-weight: 600;
  color: #777;
}

/* Customer Photos Strip */
.ryviu-photos-box {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ryviu-photos-title {
  font-size: 13px;
  font-weight: 700;
  color: #1a1a1a;
}

.ryviu-thumbs-list {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}

.ryviu-thumb-item {
  width: 60px;
  height: 60px;
  border-radius: 8px;
  overflow: hidden;
  background: #f1f5f9;
  border: 1px solid var(--color-border);
  position: relative;
  flex-shrink: 0;
}

.ryviu-thumb-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ryviu-thumb-more {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
}

/* Write Review Button */
.ryviu-write-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  background: #ffb102;
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  box-shadow: 0 3px 10px rgba(255, 177, 2, 0.35);
  transition: background var(--transition-fast), transform var(--transition-fast);
  white-space: nowrap;
}

.ryviu-write-btn:hover {
  background: #e69f00;
  transform: translateY(-1px);
}

.ryviu-write-btn:active {
  transform: scale(0.97);
}

/* ==========================================================================
   FORMULÁRIO DE ENVIO DE AVALIAÇÃO (RYVIU STYLE)
   ========================================================================== */
.ryviu-form-box {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: var(--radius-lg);
  padding: 22px 24px;
  margin: 18px 0;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.07);
  animation: ryviuSlideDown 0.3s ease-out;
}

.ryviu-form-box[hidden] {
  display: none !important;
}

@keyframes ryviuSlideDown {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.ryviu-form-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid #f1f5f9;
}

.ryviu-form-title {
  font-size: 17px;
  font-weight: 700;
  color: #1e293b;
  display: flex;
  align-items: center;
  gap: 8px;
}

.ryviu-form-title svg {
  color: #ffb102;
}

.ryviu-form-close {
  background: none;
  border: none;
  font-size: 26px;
  line-height: 1;
  color: #94a3b8;
  cursor: pointer;
  padding: 2px 8px;
  border-radius: 6px;
  transition: color 0.15s, background 0.15s;
}

.ryviu-form-close:hover {
  color: #0f172a;
  background: #f1f5f9;
}

.ryviu-review-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.ryviu-form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ryviu-form-label {
  font-size: 13.5px;
  font-weight: 600;
  color: #334155;
}

.ryviu-form-label .required {
  color: #ef4444;
}

.ryviu-form-label .optional {
  color: #94a3b8;
  font-weight: 400;
  font-size: 12px;
}

/* Star Rating Picker */
.ryviu-star-picker {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.ryviu-star-picker-icons {
  display: inline-flex;
  gap: 2px;
}

.star-btn {
  background: none;
  border: none;
  font-size: 28px;
  line-height: 1;
  color: #cbd5e1;
  cursor: pointer;
  padding: 0 3px;
  transition: color 0.15s, transform 0.15s;
  user-select: none;
}

.star-btn.active,
.star-btn.hover {
  color: #f59e0b;
}

.star-btn:hover {
  transform: scale(1.18);
}

.ryviu-star-picker-text {
  font-size: 13.5px;
  font-weight: 700;
  color: #b45309;
}

/* Form Fields */
.ryviu-form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

@media (min-width: 640px) {
  .ryviu-form-row {
    grid-template-columns: 1fr 1fr;
  }
}

.ryviu-input,
.ryviu-textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid #cbd5e1;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-family: inherit;
  color: #1e293b;
  background: #ffffff;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.ryviu-input:focus,
.ryviu-textarea:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.ryviu-input.is-invalid,
.ryviu-textarea.is-invalid {
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.12);
}

.ryviu-textarea {
  resize: vertical;
  min-height: 85px;
}

.ryviu-char-counter {
  font-size: 12px;
  color: #94a3b8;
  text-align: right;
}

/* Photo Upload Zone */
.ryviu-photo-upload-zone {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
}

.ryviu-upload-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #f8fafc;
  border: 1.5px dashed #94a3b8;
  padding: 10px 16px;
  border-radius: var(--radius-md);
  font-size: 13.5px;
  font-weight: 600;
  color: #334155;
  cursor: pointer;
  transition: all 0.2s;
}

.ryviu-upload-btn:hover {
  background: #eff6ff;
  border-color: #2563eb;
  color: #2563eb;
}

.ryviu-upload-hint {
  font-size: 12px;
  color: #94a3b8;
}

.ryviu-photo-previews {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.ryviu-preview-item {
  position: relative;
  width: 72px;
  height: 72px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #cbd5e1;
  background: #f1f5f9;
}

.ryviu-preview-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ryviu-preview-remove {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.7);
  color: #ffffff;
  border: none;
  font-size: 13px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.ryviu-form-alert {
  padding: 10px 14px;
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #b91c1c;
  border-radius: var(--radius-md);
  font-size: 13.5px;
  font-weight: 500;
}

.ryviu-form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  padding-top: 12px;
  border-top: 1px solid #f1f5f9;
}

.ryviu-btn-cancel {
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  color: #475569;
  padding: 10px 18px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.15s;
}

.ryviu-btn-cancel:hover {
  background: #e2e8f0;
}

.ryviu-btn-submit {
  background: #ffb102;
  border: none;
  color: #ffffff;
  padding: 10px 22px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 12px rgba(255, 177, 2, 0.35);
  transition: background 0.2s, transform 0.15s;
}

.ryviu-btn-submit:hover {
  background: #e69f00;
  transform: translateY(-1px);
}

/* Empty State */
.ryviu-empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 40px 20px;
  background: #f8fafc;
  border: 1.5px dashed #cbd5e1;
  border-radius: var(--radius-lg);
  margin: 10px 0;
}

.ryviu-empty-state[hidden] {
  display: none !important;
}

.ryviu-reset-filter-btn {
  background: #2563eb;
  color: #ffffff;
  border: none;
  padding: 8px 18px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 13.5px;
  cursor: pointer;
  transition: background 0.2s;
}

.ryviu-reset-filter-btn:hover {
  background: #1d4ed8;
}

/* Newly submitted review pulse animation */
.ryviu-card.ryviu-card-new {
  animation: ryviuCardHighlight 1.8s ease-out;
  border-color: #93c5fd;
}

@keyframes ryviuCardHighlight {
  0% {
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.35);
    transform: scale(1.02);
  }
  100% {
    box-shadow: var(--shadow-sm);
    transform: scale(1);
  }
}

/* Lightbox de Imagens */
.ryviu-lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.ryviu-lightbox[hidden] {
  display: none !important;
}

.ryviu-lightbox-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.88);
  backdrop-filter: blur(4px);
}

.ryviu-lightbox-wrap {
  position: relative;
  max-width: 90vw;
  max-height: 85vh;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: ryviuSlideDown 0.25s ease-out;
}

.ryviu-lightbox-wrap img {
  max-width: 100%;
  max-height: 75vh;
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  object-fit: contain;
  background: #000;
}

.ryviu-lightbox-close {
  position: absolute;
  top: -42px;
  right: 0;
  background: none;
  border: none;
  color: #ffffff;
  font-size: 36px;
  cursor: pointer;
  line-height: 1;
  padding: 4px;
  transition: transform 0.15s;
}

.ryviu-lightbox-close:hover {
  transform: scale(1.2);
}

.ryviu-lightbox-caption {
  color: #e2e8f0;
  font-size: 13.5px;
  margin-top: 10px;
  text-align: center;
}

.ryviu-card-media img,
.ryviu-thumb-item img {
  cursor: zoom-in;
  transition: opacity 0.2s;
}

.ryviu-card-media img:hover,
.ryviu-thumb-item img:hover {
  opacity: 0.95;
}

/* Filter & Sorting Bar */
.ryviu-filter-bar {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 18px;
  margin-top: 18px;
  border-top: 1px solid #f1f5f9;
}

@media (min-width: 640px) {
  .ryviu-filter-bar {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.ryviu-showing-text {
  font-size: 13px;
  color: #666;
}

.ryviu-filters-group {
  display: flex;
  gap: 8px;
}

.ryviu-select {
  padding: 7px 12px;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  background: #fff;
  font-size: 12.5px;
  color: #333;
  outline: none;
  cursor: pointer;
}

/* Grid Layout (Masonry / Cards) */
.ryviu-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

@media (min-width: 640px) {
  .ryviu-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .ryviu-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1200px) {
  .ryviu-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Card Individual */
.ryviu-card {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.ryviu-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

/* Image(s) inside card */
.ryviu-card-media {
  border-radius: 10px;
  overflow: hidden;
  background: #111;
  width: 100%;
}

.ryviu-card-media.single img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}

.ryviu-card-media.double {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  background: #f1f5f9;
}

.ryviu-card-media.double img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}

/* Author block */
.ryviu-card-author {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ryviu-avatar-circle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: #ffffff;
  font-weight: 800;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-transform: uppercase;
  flex-shrink: 0;
}

.ryviu-author-info {
  display: flex;
  flex-direction: column;
}

.ryviu-author-name {
  font-size: 14px;
  font-weight: 800;
  color: #111827;
  line-height: 1.2;
}

.ryviu-verified-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 600;
  color: #16a34a;
  margin-top: 2px;
}

.ryviu-verified-tag svg {
  width: 13px;
  height: 13px;
}

/* Rating Stars */
.ryviu-card-stars {
  color: #fdbc00;
  font-size: 15px;
  letter-spacing: 2px;
  line-height: 1;
}

/* Comment text */
.ryviu-card-text {
  font-size: 13.5px;
  color: #374151;
  line-height: 1.55;
  flex: 1;
}

/* Helpful Row */
.ryviu-card-helpful {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid #f1f5f9;
  font-size: 12px;
  color: #6b7280;
}

.ryviu-like-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ryviu-like-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
  background: #f8fafc;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  color: #4b5563;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.ryviu-like-btn:hover {
  background: #f1f5f9;
  color: #111827;
}

.ryviu-like-btn:active {
  transform: scale(0.95);
}

.ryviu-like-btn.liked {
  color: #0284c7;
  background: #e0f2fe;
  border-color: #bae6fd;
}

/* Load more button */
.ryviu-load-more-row {
  text-align: center;
  margin-top: 36px;
}

.ryviu-load-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  background: #ffffff;
  color: #111827;
  border: 1px solid var(--color-border-hover);
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  transition: all var(--transition-fast);
}

.ryviu-load-more-btn:hover {
  background: #f8fafc;
  border-color: #6b7280;
}

.ryviu-load-more-btn:active {
  transform: scale(0.97);
}

/* ==========================================================================
   RODAPÉ
   ========================================================================== */
.site-footer {
  background: #111827;
  color: #9ca3af;
  padding: 40px 0 calc(70px + env(safe-area-inset-bottom));
  font-size: 13px;
  border-top: 1px solid #1f2937;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-bottom: 24px;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.footer-col h5 {
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 12px;
}

.footer-col p, .footer-col ul {
  line-height: 1.6;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 8px;
}

.footer-col a:hover {
  color: #ffffff;
}

.footer-bottom {
  border-top: 1px solid #1f2937;
  padding-top: 20px;
  text-align: center;
  font-size: 12px;
}

/* ==========================================================================
   CHATBOT CONSULTIVO VALÉRIA (WIDGET FLUTUANTE)
   ========================================================================== */
#fc-chat-root {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 999999;
  font-family: var(--font-sans);
  transition: opacity .18s ease, visibility .18s ease;
}

.fc-avatar-wrap {
  position: relative;
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: var(--radius-full);
  border: 2px solid var(--color-success);
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.2);
  overflow: visible;
}

.fc-avatar-wrap::after {
  content: "";
  position: absolute;
  right: -1px;
  bottom: 2px;
  width: 12px;
  height: 12px;
  background: var(--color-success);
  border: 2px solid #ffffff;
  border-radius: var(--radius-full);
}

.fc-avatar-wrap img {
  width: 100%;
  height: 100%;
  border-radius: var(--radius-full);
  object-fit: cover;
  display: block;
}

#fc-chat-bubble {
  display: none;
  width: 58px;
  height: 58px;
  border-radius: var(--radius-full);
  background: var(--color-accent);
  border: 2px solid var(--color-success);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18), 0 0 0 4px rgba(34, 197, 94, 0.18);
  cursor: pointer;
  margin-left: auto;
  position: relative;
  overflow: visible;
  padding: 0;
  transition: transform var(--transition-fast);
}

#fc-chat-bubble:active {
  transform: scale(0.95);
}

#fc-chat-bubble::after {
  content: "";
  position: absolute;
  right: 3px;
  bottom: 5px;
  width: 13px;
  height: 13px;
  background: var(--color-success);
  border: 2px solid #fff;
  border-radius: var(--radius-full);
}

#fc-chat-bubble img {
  width: 100%;
  height: 100%;
  border-radius: var(--radius-full);
  object-fit: cover;
  display: block;
}

#fc-chat-box {
  display: none;
  flex-direction: column;
  width: 350px;
  max-width: calc(100vw - 28px);
  height: 500px;
  max-height: calc(100vh - 40px);
  max-height: calc(100dvh - 40px);
  background: #ffffff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.22);
  border: 1px solid var(--color-border);
  animation: fcFadeUp 0.25s ease;
  contain: layout paint;
}

#fc-chat-box.fc-aberto {
  display: flex;
}

#fc-chat-header {
  flex: 0 0 auto;
  background: var(--color-primary);
  color: #ffffff;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

#fc-chat-header-profile {
  display: flex;
  align-items: center;
  gap: 10px;
}

#fc-chat-header strong {
  display: block;
  font-size: 15px;
  line-height: 1.2;
}

#fc-chat-header span {
  display: block;
  font-size: 12px;
  opacity: 0.9;
}

#fc-chat-close {
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 26px;
  cursor: pointer;
  line-height: 1;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

#fc-chat-messages {
  flex: 1 1 auto;
  min-height: 0;
  padding: 14px;
  overflow-y: auto;
  background: #f8fafc;
  -webkit-overflow-scrolling: touch;
}

.fc-msg {
  max-width: 85%;
  padding: 10px 14px;
  border-radius: 14px;
  margin-bottom: 10px;
  font-size: 13.5px;
  line-height: 1.45;
  word-break: break-word;
}

.fc-msg-bot {
  background: #ffffff;
  color: var(--color-text-main);
  border: 1px solid var(--color-border);
  border-bottom-left-radius: 4px;
}

.fc-msg-user {
  background: var(--color-primary);
  color: #ffffff;
  margin-left: auto;
  border-bottom-right-radius: 4px;
}

#fc-chat-typing {
  flex: 0 0 auto;
  display: none;
  font-size: 11.5px;
  color: var(--color-text-subtle);
  padding: 0 14px 8px;
  background: #f8fafc;
}

#fc-chat-form {
  flex: 0 0 auto;
  display: flex;
  gap: 8px;
  padding: 10px;
  border-top: 1px solid var(--color-border);
  background: #ffffff;
}

#fc-chat-input {
  flex: 1;
  min-width: 0;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  padding: 10px 14px;
  font-size: 16px; /* 16px evita zoom automático no Safari iOS */
  min-height: 44px;
  outline: none;
}

#fc-chat-input:focus {
  border-color: var(--color-primary);
}

#fc-chat-send {
  border: none;
  background: var(--color-primary);
  color: #ffffff;
  border-radius: var(--radius-full);
  padding: 0 18px;
  min-height: 44px;
  cursor: pointer;
  font-weight: 700;
  font-size: 14px;
  transition: background var(--transition-fast);
}

#fc-chat-send:active {
  transform: scale(0.96);
}

@keyframes fcFadeUp {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
  /* Acima da barra fixa de compra (≈ 92 px), alinhado com o botão "Rastrear pedido" */
  #fc-chat-root {
    bottom: 102px;
  }

  #fc-chat-box {
    max-height: calc(100vh - 120px);
    max-height: calc(100dvh - 120px);
  }
}

@media (max-width: 480px) {
  #fc-chat-root {
    right: 12px;
    bottom: 102px; /* Acima da barra fixa de compra (≈ 92 px) */
  }

  #fc-chat-bubble {
    width: 50px;
    height: 50px;
  }

  #fc-chat-box {
    width: calc(100vw - 24px);
    height: 480px;
    max-height: calc(100vh - 120px);
    max-height: calc(100dvh - 120px);
  }
}

/* ==========================================================================
   ÍCONE DE CARRINHO NO HEADER
   ========================================================================== */

.header-cart-btn {
  position: relative;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-main);
  border-radius: var(--radius-sm);
  transition: background 0.15s;
}

.header-cart-btn:hover {
  background: var(--color-border);
}

.header-cart-badge {
  position: absolute;
  top: 0;
  right: 0;
  min-width: 17px;
  height: 17px;
  background: var(--color-danger);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 3px;
  line-height: 1;
}

/* ==========================================================================
   CART DRAWER
   ========================================================================== */

.cart-drawer {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: flex;
  justify-content: flex-end;
}

.cart-drawer[hidden] {
  display: none !important;
}

.cart-drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(2px);
}

.cart-drawer-panel {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 420px;
  height: 100%;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: -4px 0 24px rgba(0,0,0,0.12);
}

.cart-drawer-panel.is-open {
  transform: translateX(0);
}

/* Header */
.cart-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--color-border);
  flex-shrink: 0;
}

.cart-drawer-title {
  font-size: 17px;
  font-weight: 800;
  color: var(--color-text-main);
  display: flex;
  align-items: center;
  gap: 8px;
}

.cart-count-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  background: var(--color-text-main);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  border-radius: var(--radius-full);
  padding: 0 4px;
}

.cart-drawer-close {
  background: transparent;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  cursor: pointer;
  color: var(--color-text-muted);
  transition: background 0.15s;
}

.cart-drawer-close:hover {
  background: #f1f5f9;
}

/* Banner frete grátis */
.cart-shipping-banner {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: #f0fdf4;
  border-bottom: 1px solid #bbf7d0;
  font-size: 13px;
  color: #166534;
  font-weight: 600;
  flex-shrink: 0;
}

/* Cupom */
.cart-coupon-section {
  padding: 12px 20px;
  border-bottom: 1px solid var(--color-border);
  flex-shrink: 0;
}

.cart-coupon-label {
  font-size: 11.5px;
  color: var(--color-text-subtle);
  margin-bottom: 6px;
}

.cart-coupon-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1.5px dashed var(--color-border-hover);
  border-radius: var(--radius-md);
  padding: 9px 12px;
  background: #fafafa;
}

.cart-coupon-code {
  font-size: 15px;
  font-weight: 800;
  color: var(--color-text-main);
  letter-spacing: 0.05em;
}

.cart-coupon-copy-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  background: transparent;
  border: none;
  cursor: pointer;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--color-primary);
  padding: 4px 6px;
  border-radius: var(--radius-sm);
  transition: background 0.15s;
}

.cart-coupon-copy-btn:hover {
  background: var(--color-primary-light);
}

/* Lista de itens — scrollável */
.cart-items-list {
  flex: 1;
  overflow-y: auto;
  padding: 12px 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cart-empty-state {
  text-align: center;
  padding: 32px 0;
  color: var(--color-text-subtle);
  font-size: 14px;
}

/* Item do carrinho */
.cart-item {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  grid-template-rows: auto auto;
  gap: 0 12px;
  align-items: start;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--color-border);
}

.cart-item img {
  grid-row: 1 / 3;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  object-fit: contain;
  background: #fafafa;
  width: 72px;
  height: 72px;
}

.cart-item-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.cart-item-name {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--color-text-main);
  line-height: 1.3;
}

.cart-item-price {
  font-size: 14px;
  font-weight: 800;
  color: var(--color-text-main);
}

.cart-item-subtitle {
  font-size: 11.5px;
  color: var(--color-text-subtle);
}

.cart-item-qty-controls {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  grid-row: 1;
  grid-column: 3;
}

.cart-qty-btn {
  width: 30px;
  height: 30px;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: #fff;
  cursor: pointer;
  font-size: 16px;
  font-weight: 700;
  color: var(--color-text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.12s, border-color 0.12s;
  line-height: 1;
}

.cart-qty-btn:hover {
  background: #f1f5f9;
  border-color: var(--color-border-hover);
}

.cart-qty-value {
  font-size: 14px;
  font-weight: 800;
  color: var(--color-text-main);
  min-width: 20px;
  text-align: center;
}

.cart-item-remove {
  grid-column: 2 / 4;
  background: transparent;
  border: none;
  cursor: pointer;
  font-size: 12px;
  color: var(--color-text-subtle);
  text-align: right;
  text-decoration: underline;
  padding: 4px 0;
  margin-top: 2px;
}

.cart-item-remove:hover {
  color: var(--color-danger);
}

/* Bônus grátis */
.cart-bonus-item {
  padding: 10px 20px;
  flex-shrink: 0;
}

.cart-bonus-inner {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border: 1.5px dashed #86efac;
  border-radius: var(--radius-md);
  background: #f0fdf4;
}

.cart-bonus-icon {
  font-size: 18px;
  flex-shrink: 0;
}

.cart-bonus-text {
  font-size: 12.5px;
  color: #166534;
  flex: 1;
}

.cart-bonus-tag {
  font-size: 12px;
  font-weight: 800;
  color: #15803d;
  letter-spacing: 0.04em;
  flex-shrink: 0;
}

/* Upsell */
.cart-upsell-section {
  padding: 12px 20px;
  background: #f8fafc;
  border-top: 1px solid var(--color-border);
  flex-shrink: 0;
}

.cart-upsell-title {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--color-text-muted);
  margin-bottom: 10px;
}

.cart-upsell-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cart-upsell-item img {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
  object-fit: contain;
  background: #fff;
  flex-shrink: 0;
}

.cart-upsell-info {
  flex: 1;
  min-width: 0;
}

.cart-upsell-name {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--color-text-main);
  line-height: 1.3;
  margin-bottom: 3px;
}

.cart-upsell-prices {
  display: flex;
  align-items: center;
  gap: 6px;
}

.cart-upsell-price {
  font-size: 13px;
  font-weight: 800;
  color: var(--color-success);
}

.cart-upsell-old-price {
  font-size: 11.5px;
  color: var(--color-text-subtle);
  text-decoration: line-through;
}

.cart-upsell-add-btn {
  flex-shrink: 0;
  padding: 8px 14px;
  background: #f1f5f9;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-full);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--color-text-main);
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
  white-space: nowrap;
}

.cart-upsell-add-btn:hover {
  background: var(--color-primary-light);
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.cart-upsell-add-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Footer */
.cart-drawer-footer {
  padding: 16px 20px;
  border-top: 2px solid var(--color-border);
  background: #ffffff;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cart-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cart-total-label {
  font-size: 15px;
  font-weight: 700;
  color: var(--color-text-main);
}

.cart-total-value {
  font-size: 17px;
  font-weight: 800;
  color: var(--color-text-main);
}

.cart-checkout-btn {
  width: 100%;
  padding: 15px;
  background: var(--color-success);
  color: #ffffff;
  font-weight: 800;
  font-size: 16px;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background 0.15s;
}

.cart-checkout-btn:hover {
  background: var(--color-success-hover);
}

.cart-trust-text {
  text-align: center;
  font-size: 12px;
  color: var(--color-text-subtle);
  margin: 0;
}

/* ==========================================================================
   REDUÇÃO DE MOVIMENTO (PREFERS-REDUCED-MOTION)
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}



/* ── Confirmação WhatsApp no chat ───────────────────────────────────────── */
.fc-wa-confirm {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 12px;
}

.fc-wa-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 11px 16px;
  background: #25d366;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s;
}
.fc-wa-btn:hover { background: #1ebe5a; }

.fc-wa-cancel {
  width: 100%;
  padding: 8px;
  background: none;
  border: none;
  font-size: 12.5px;
  color: #888;
  cursor: pointer;
  text-align: center;
}
.fc-wa-cancel:hover { color: #555; }

/* Chat no modo confirmação WhatsApp — sem header/form */
#fc-chat-box.fc-aberto #fc-chat-header[style*="none"] ~ #fc-chat-messages {
  border-radius: 16px;
}

#fc-chat-messages:only-child,
#fc-chat-box .fc-msg:only-child {
  border-radius: 16px;
}
