/*
 * CSS principal do frontend público.
 * Etapa 1 da migração: conteúdo extraído de includes/head_config.php
 * sem remoção do TailwindCSS e sem alteração visual intencional.
 */

    /* --- SISTEMA DE CORES (VARIÁVEIS CSS) --- */
    :root {
        --cor-fundo-pagina: #F3F4F6;
        --cor-fundo-card: #FFFFFF;
        --cor-texto-principal: #111827;
        --cor-texto-secundario: #4B5563;
        --cor-primaria: #2563EB; /* Azul */
        --cor-primaria-hover: #1D4ED8;
        --cor-borda: #E5E7EB;
    }

    /* --- Estilos Globais --- */
    body {
        font-family: 'Inter', sans-serif;
        background-color: var(--cor-fundo-pagina); /* Fundo Claro */
        color: var(--cor-texto-principal); /* Texto Escuro */
    }

    /* --- REMAPEAMENTO DE CLASSES ANTIGAS (CRÍTICO PARA FUNCIONAR O TEMA) --- */
    
    /* Onde era "highlight-pink" (Fundo Rosa), agora é Azul */
    .highlight-pink, .bg-pink-600, .bg-pink-500 { 
        background-color: var(--cor-primaria) !important; 
        color: white !important;
    }
    
    /* Onde era texto Rosa, agora é Azul */
    .highlight-pink-text, .text-pink-600, .text-pink-500, .text-f08aab { 
        color: var(--cor-primaria) !important; 
    }

    /* Onde era "indigo-dark" (Fundo Roxo Escuro), agora é Branco/Cinza */
    .bg-indigo-dark { 
        background-color: var(--cor-fundo-card) !important; 
        color: var(--cor-texto-principal) !important;
        border-bottom: 1px solid var(--cor-borda); /* Adiciona borda sutil para separar */
    }

    /* Onde era "indigo-light" (Cards), agora é Branco com Sombra */
    .bg-indigo-light { 
        background-color: #FFFFFF !important; 
        color: var(--cor-texto-principal) !important;
        border: 1px solid var(--cor-borda) !important;
        box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    }
    
    /* Ajuste de inputs para fundo claro */
    .form-input-dark { 
        width: 100%; 
        margin-top: 0.25rem; 
        padding: 0.75rem; 
        border-radius: 0.375rem; 
        border: 1px solid #D1D5DB; /* Borda cinza */
        background-color: #FFFFFF; /* Fundo branco */
        color: #111827 !important; /* Texto escuro */
    }
    .form-input-dark:focus { 
        border-color: var(--cor-primaria); 
        box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.2); 
        outline: none; 
    }
    .form-input-dark::placeholder { color: #9CA3AF; }
    .form-label-dark { 
        display: block; 
        font-size: 0.875rem; 
        font-weight: 600; 
        color: #374151; /* Cinza escuro */
    }

    /* Scrollbar Personalizada (Azul) */
    ::-webkit-scrollbar { width: 8px; }
    ::-webkit-scrollbar-track { background: #F3F4F6; }
    ::-webkit-scrollbar-thumb { background-color: #9CA3AF; border-radius: 4px; }
    ::-webkit-scrollbar-thumb:hover { background-color: var(--cor-primaria); }

    /* Toast de Notificação */
    #cart-toast {
        position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%);
        background-color: #059669; color: white; padding: 16px; border-radius: 8px;
        box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1); z-index: 1000;
        opacity: 0; transition: opacity 0.5s, bottom 0.5s; pointer-events: none;
    }
    #cart-toast.show { opacity: 1; bottom: 40px; }

    /* Animação Hero (Adaptada para Azul/Claro) */
    .hero-gradient-bg {
        background: linear-gradient(-45deg, #EFF6FF, #DBEAFE, #BFDBFE, #60A5FA); /* Tons de Azul Claro */
        background-size: 400% 400%; animation: gradientBG 15s ease infinite;
    }
    @keyframes gradientBG {
        0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; }
    }

    /* Contador do Carrinho */
    #cart-count {
        position: absolute; top: -8px; right: -10px;
        background-color: var(--cor-primaria); color: white;
        border-radius: 50%; padding: 2px 6px;
        font-size: 0.75rem; font-weight: bold; display: none;
    }
    
    /* Botões de Ação (Cards) */
    .btn-card-pink { 
        background-color: var(--cor-primaria) !important; 
        color: white !important; 
        font-weight: bold; 
    }
    .btn-card-pink:hover { 
        background-color: var(--cor-primaria-hover) !important; 
        transform: translateY(-1px);
    }
    
    .btn-card-dark { 
        background-color: #1F2937 !important; /* Cinza Escuro */
        color: white; 
        font-weight: bold; 
    }
    .btn-card-dark:hover { background-color: #000000 !important; }

    /* Overlay de adicionar ao carrinho */
    .add-to-cart-overlay {
        position: absolute; bottom: 0; left: 0; right: 0;
        background: rgba(255, 255, 255, 0.95); /* Fundo claro translúcido */
        color: #111827; padding: 0.75rem;
        transform: translateY(100%); transition: transform 0.3s ease-in-out; opacity: 0; z-index: 10;
        border-top: 1px solid #E5E7EB;
    }
    .group:hover .add-to-cart-overlay { transform: translateY(0); opacity: 1; }
    
    /* Ajuste de Texto em Links de Navegação (Header) */
    nav a, .nav-link { color: var(--cor-texto-secundario); }
    nav a:hover, .nav-link:hover { color: var(--cor-primaria); }

/* ==========================================================================
   ETAPA 2 — CAMADA LOCAL DE UTILITÁRIOS DO FRONTEND
   --------------------------------------------------------------------------
   Compatibilidade local para as classes atualmente usadas por:
   - includes/header.php
   - includes/footer.php
   - side_cart.php

   O TailwindCSS continua carregado nesta etapa. Estas regras reproduzem
   localmente apenas o subconjunto utilizado nesses componentes, sem alterar
   os nomes de classes no HTML/PHP/JavaScript.
   ========================================================================== */

@keyframes local-spin {
  to { transform: rotate(360deg); }
}

@keyframes local-pulse {
  50% { opacity: 0.5; }
}

/* Container compatível com os breakpoints usados pelo frontend. */
.container { width: 100%; }
@media (min-width: 640px) { .container { max-width: 640px; } }
@media (min-width: 768px) { .container { max-width: 768px; } }
@media (min-width: 1024px) { .container { max-width: 1024px; } }
@media (min-width: 1280px) { .container { max-width: 1280px; } }
@media (min-width: 1536px) { .container { max-width: 1536px; } }

.-inset-0\.5 {
  top:-0.125rem;
  right:-0.125rem;
  bottom:-0.125rem;
  left:-0.125rem;
}

.-m-2 {
  margin:-0.5rem;
}

.-my-6 {
  margin-top:-1.5rem;
  margin-bottom:-1.5rem;
}

.-right-1 {
  right:-0.25rem;
}

.-top-1 {
  top:-0.25rem;
}

.-translate-x-1\/2 {
  --local-translate-x:-50%;
  transform:translate(var(--local-translate-x, 0), var(--local-translate-y, 0)) rotate(var(--local-rotate, 0)) skewX(var(--local-skew-x, 0)) skewY(var(--local-skew-y, 0)) scaleX(var(--local-scale-x, 1)) scaleY(var(--local-scale-y, 1));
}

.-translate-y-1\/2 {
  --local-translate-y:-50%;
  transform:translate(var(--local-translate-x, 0), var(--local-translate-y, 0)) rotate(var(--local-rotate, 0)) skewX(var(--local-skew-x, 0)) skewY(var(--local-skew-y, 0)) scaleX(var(--local-scale-x, 1)) scaleY(var(--local-scale-y, 1));
}

.-translate-y-full {
  --local-translate-y:-100%;
  transform:translate(var(--local-translate-x, 0), var(--local-translate-y, 0)) rotate(var(--local-rotate, 0)) skewX(var(--local-skew-x, 0)) skewY(var(--local-skew-y, 0)) scaleX(var(--local-scale-x, 1)) scaleY(var(--local-scale-y, 1));
}

.absolute {
  position:absolute;
}

.animate-pulse {
  animation:local-pulse 2s cubic-bezier(0.4,0,0.6,1) infinite;
}

.animate-spin {
  animation:local-spin 1s linear infinite;
}

.aspect-square {
  aspect-ratio:1 / 1;
}

.backdrop-blur-sm {
  -webkit-backdrop-filter:blur(4px);
  backdrop-filter:blur(4px);
}

.bg-black {
  --local-bg-rgb:0 0 0;
  background-color:rgb(var(--local-bg-rgb) / var(--local-bg-opacity, 1));
}

.bg-black\/60 {
  background-color:rgb(0 0 0 / 0.60);
}

.bg-gray-100 {
  background-color:#f3f4f6;
}

.bg-gray-50 {
  background-color:#f9fafb;
}

.bg-gray-800 {
  background-color:#1f2937;
}

.bg-green-50 {
  background-color:#f0fdf4;
}

.bg-green-500 {
  background-color:#22c55e;
}

.bg-green-600 {
  background-color:#16a34a;
}

.bg-opacity-50 {
  --local-bg-opacity:0.5;
}

.bg-orange-50 {
  background-color:#fff7ed;
}

.bg-red-500 {
  background-color:#ef4444;
}

.bg-transparent {
  background-color:transparent;
}

.bg-white {
  background-color:#ffffff;
}

.bg-yellow-100 {
  background-color:#fef9c3;
}

.block {
  display:block;
}

.border {
  border-width:1px;
  border-style:solid;
}

.border-4 {
  border-width:4px;
  border-style:solid;
}

.border-b {
  border-bottom-width:1px;
  border-bottom-style:solid;
}

.border-b-2 {
  border-bottom-width:2px;
  border-bottom-style:solid;
}

.border-blue-600 {
  border-color:#2563eb;
}

.border-gray-100 {
  border-color:#f3f4f6;
}

.border-gray-200 {
  border-color:#e5e7eb;
}

.border-gray-300 {
  border-color:#d1d5db;
}

.border-green-200 {
  border-color:#bbf7d0;
}

.border-l {
  border-left-width:1px;
  border-left-style:solid;
}

.border-l-2 {
  border-left-width:2px;
  border-left-style:solid;
}

.border-r {
  border-right-width:1px;
  border-right-style:solid;
}

.border-t {
  border-top-width:1px;
  border-top-style:solid;
}

.border-t-transparent {
  border-top-color:transparent;
}

.border-transparent {
  border-color:transparent;
}

.border-yellow-200 {
  border-color:#fef08a;
}

.bottom-0 {
  bottom:0;
}

.col-span-full {
  grid-column:1 / -1;
}

.divide-gray-100 > :not([hidden]) ~ :not([hidden]) {
  border-color: #f3f4f6;
}

.divide-y > :not([hidden]) ~ :not([hidden]) {
  border-top-width: 1px;
  border-top-style: solid;
}

.duration-200 {
  transition-duration:200ms;
}

.duration-300 {
  transition-duration:300ms;
}

.duration-500 {
  transition-duration:500ms;
}

.ease-in-out {
  transition-timing-function:cubic-bezier(0.4,0,0.2,1);
}

.fixed {
  position:fixed;
}

.flex {
  display:flex;
}

.flex-1 {
  flex:1 1 0%;
}

.flex-col {
  flex-direction:column;
}

.flex-shrink-0 {
  flex-shrink:0;
}

.flex-wrap {
  flex-wrap:wrap;
}

.font-bold {
  font-weight:700;
}

.font-extrabold {
  font-weight:800;
}

.font-medium {
  font-weight:500;
}

.font-mono {
  font-family:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace;
}

.font-normal {
  font-weight:400;
}

.font-sans {
  font-family:'Inter', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.gap-1 {
  gap:0.25rem;
}

.gap-10 {
  gap:2.5rem;
}

.gap-12 {
  gap:3rem;
}

.gap-2 {
  gap:0.5rem;
}

.gap-3 {
  gap:0.75rem;
}

.gap-4 {
  gap:1rem;
}

.gap-5 {
  gap:1.25rem;
}

.gap-6 {
  gap:1.5rem;
}

.gap-8 {
  gap:2rem;
}

.grid {
  display:grid;
}

.grid-cols-1 {
  grid-template-columns:repeat(1, minmax(0, 1fr));
}

.grid-cols-2 {
  grid-template-columns:repeat(2, minmax(0, 1fr));
}

.h-12 {
  height:3rem;
}

.h-16 {
  height:4rem;
}

.h-3 {
  height:0.75rem;
}

.h-3\.5 {
  height:0.875rem;
}

.h-4 {
  height:1rem;
}

.h-5 {
  height:1.25rem;
}

.h-6 {
  height:1.5rem;
}

.h-7 {
  height:1.75rem;
}

.h-8 {
  height:2rem;
}

.h-full {
  height:100%;
}

.hidden {
  display:none;
}

.inline-block {
  display:inline-block;
}

.inset-0 {
  top:0;
  right:0;
  bottom:0;
  left:0;
}

.inset-y-0 {
  top:0;
  bottom:0;
}

.invisible {
  visibility:hidden;
}

.italic {
  font-style:italic;
}

.items-center {
  align-items:center;
}

.items-end {
  align-items:flex-end;
}

.items-start {
  align-items:flex-start;
}

.justify-between {
  justify-content:space-between;
}

.justify-center {
  justify-content:center;
}

.justify-end {
  justify-content:flex-end;
}

.leading-relaxed {
  line-height:1.625;
}

.leading-tight {
  line-height:1.25;
}

.left-0 {
  left:0;
}

.left-1\/2 {
  left:50%;
}

.line-clamp-2 {
  overflow:hidden;
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
}

.line-through {
  text-decoration-line:line-through;
}

.max-h-\[85vh\] {
  max-height:85vh;
}

.max-w-4xl {
  max-width:56rem;
}

.max-w-6xl {
  max-width:72rem;
}

.max-w-7xl {
  max-width:80rem;
}

.max-w-full {
  max-width:100%;
}

.max-w-md {
  max-width:28rem;
}

.mb-1 {
  margin-bottom:0.25rem;
}

.mb-12 {
  margin-bottom:3rem;
}

.mb-2 {
  margin-bottom:0.5rem;
}

.mb-4 {
  margin-bottom:1rem;
}

.mb-6 {
  margin-bottom:1.5rem;
}

.mb-8 {
  margin-bottom:2rem;
}

.min-h-\[250px\] {
  min-height:250px;
}

.min-w-\[64px\] {
  min-width:64px;
}

.ml-2 {
  margin-left:0.5rem;
}

.ml-3 {
  margin-left:0.75rem;
}

.ml-4 {
  margin-left:1rem;
}

.mr-1 {
  margin-right:0.25rem;
}

.mr-2 {
  margin-right:0.5rem;
}

.mt-1 {
  margin-top:0.25rem;
}

.mt-12 {
  margin-top:3rem;
}

.mt-2 {
  margin-top:0.5rem;
}

.mt-4 {
  margin-top:1rem;
}

.mt-8 {
  margin-top:2rem;
}

.mx-4 {
  margin-left:1rem;
  margin-right:1rem;
}

.mx-auto {
  margin-left:auto;
  margin-right:auto;
}

.my-1 {
  margin-top:0.25rem;
  margin-bottom:0.25rem;
}

.normal-case {
  text-transform:none;
}

.object-center {
  object-position:center;
}

.object-contain {
  object-fit:contain;
}

.object-cover {
  object-fit:cover;
}

.opacity-0 {
  opacity:0;
}

.opacity-50 {
  opacity:0.5;
}

.opacity-70 {
  opacity:0.7;
}

.opacity-80 {
  opacity:0.8;
}

.opacity-90 {
  opacity:0.9;
}

.overflow-hidden {
  overflow:hidden;
}

.overflow-y-auto {
  overflow-y:auto;
}

.p-2 {
  padding:0.5rem;
}

.p-3 {
  padding:0.75rem;
}

.p-8 {
  padding:2rem;
}

.pb-24 {
  padding-bottom:6rem;
}

.pb-4 {
  padding-bottom:1rem;
}

.pb-8 {
  padding-bottom:2rem;
}

.pl-10 {
  padding-left:2.5rem;
}

.pl-2 {
  padding-left:0.5rem;
}

.pl-4 {
  padding-left:1rem;
}

.pl-6 {
  padding-left:1.5rem;
}

.placeholder-gray-400::placeholder {
  color:#9ca3af;
}

.pointer-events-auto {
  pointer-events:auto;
}

.pointer-events-none {
  pointer-events:none;
}

.pr-8 {
  padding-right:2rem;
}

.pt-16 {
  padding-top:4rem;
}

.pt-2 {
  padding-top:0.5rem;
}

.pt-4 {
  padding-top:1rem;
}

.pt-8 {
  padding-top:2rem;
}

.px-2 {
  padding-left:0.5rem;
  padding-right:0.5rem;
}

.px-3 {
  padding-left:0.75rem;
  padding-right:0.75rem;
}

.px-4 {
  padding-left:1rem;
  padding-right:1rem;
}

.px-5 {
  padding-left:1.25rem;
  padding-right:1.25rem;
}

.px-6 {
  padding-left:1.5rem;
  padding-right:1.5rem;
}

.py-0\.5 {
  padding-top:0.125rem;
  padding-bottom:0.125rem;
}

.py-1\.5 {
  padding-top:0.375rem;
  padding-bottom:0.375rem;
}

.py-10 {
  padding-top:2.5rem;
  padding-bottom:2.5rem;
}

.py-2 {
  padding-top:0.5rem;
  padding-bottom:0.5rem;
}

.py-3 {
  padding-top:0.75rem;
  padding-bottom:0.75rem;
}

.py-4 {
  padding-top:1rem;
  padding-bottom:1rem;
}

.py-6 {
  padding-top:1.5rem;
  padding-bottom:1.5rem;
}

.py-8 {
  padding-top:2rem;
  padding-bottom:2rem;
}

.relative {
  position:relative;
}

.right-0 {
  right:0;
}

.right-2 {
  right:0.5rem;
}

.right-4 {
  right:1rem;
}

.ring-1 {
  --local-ring-shadow:0 0 0 1px var(--local-ring-color, rgb(59 130 246 / 0.5));
  box-shadow:var(--local-ring-offset-shadow, 0 0 #0000), var(--local-ring-shadow, 0 0 #0000), var(--local-shadow, 0 0 #0000);
}

.ring-black {
  --local-ring-color:rgb(0 0 0 / var(--local-ring-opacity, 1));
}

.ring-opacity-5 {
  --local-ring-opacity:0.05;
}

.rounded {
  border-radius:0.25rem;
}

.rounded-full {
  border-radius:9999px;
}

.rounded-lg {
  border-radius:0.5rem;
}

.rounded-md {
  border-radius:0.375rem;
}

.shadow-2xl {
  --local-shadow:0 25px 50px -12px rgb(0 0 0 / 0.25);
  box-shadow:var(--local-ring-offset-shadow, 0 0 #0000), var(--local-ring-shadow, 0 0 #0000), var(--local-shadow, 0 0 #0000);
}

.shadow-lg {
  --local-shadow:0 10px 15px -3px rgb(0 0 0 / 0.10), 0 4px 6px -4px rgb(0 0 0 / 0.10);
  box-shadow:var(--local-ring-offset-shadow, 0 0 #0000), var(--local-ring-shadow, 0 0 #0000), var(--local-shadow, 0 0 #0000);
}

.shadow-md {
  --local-shadow:0 4px 6px -1px rgb(0 0 0 / 0.10), 0 2px 4px -2px rgb(0 0 0 / 0.10);
  box-shadow:var(--local-ring-offset-shadow, 0 0 #0000), var(--local-ring-shadow, 0 0 #0000), var(--local-shadow, 0 0 #0000);
}

.shadow-sm {
  --local-shadow:0 1px 2px 0 rgb(0 0 0 / 0.05);
  box-shadow:var(--local-ring-offset-shadow, 0 0 #0000), var(--local-ring-shadow, 0 0 #0000), var(--local-shadow, 0 0 #0000);
}

.shadow-xl {
  --local-shadow:0 20px 25px -5px rgb(0 0 0 / 0.10), 0 8px 10px -6px rgb(0 0 0 / 0.10);
  box-shadow:var(--local-ring-offset-shadow, 0 0 #0000), var(--local-ring-shadow, 0 0 #0000), var(--local-shadow, 0 0 #0000);
}

.shrink-0 {
  flex-shrink:0;
}

.space-y-3 > :not([hidden]) ~ :not([hidden]) {
  margin-top:0.75rem;
}

.space-y-4 > :not([hidden]) ~ :not([hidden]) {
  margin-top:1rem;
}

.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;
}

.sticky {
  position:sticky;
}

.text-2xl {
  font-size:1.5rem;
  line-height:2rem;
}

.text-3xl {
  font-size:1.875rem;
  line-height:2.25rem;
}

.text-\[10px\] {
  font-size:10px;
}

.text-base {
  font-size:1rem;
  line-height:1.5rem;
}

.text-blue-600 {
  color:#2563eb;
}

.text-center {
  text-align:center;
}

.text-gray-400 {
  color:#9ca3af;
}

.text-gray-500 {
  color:#6b7280;
}

.text-gray-600 {
  color:#4b5563;
}

.text-gray-700 {
  color:#374151;
}

.text-gray-800 {
  color:#1f2937;
}

.text-gray-900 {
  color:#111827;
}

.text-green-600 {
  color:#16a34a;
}

.text-green-700 {
  color:#15803d;
}

.text-left {
  text-align:left;
}

.text-lg {
  font-size:1.125rem;
  line-height:1.75rem;
}

.text-orange-600 {
  color:#ea580c;
}

.text-red-500 {
  color:#ef4444;
}

.text-sm {
  font-size:0.875rem;
  line-height:1.25rem;
}

.text-white {
  color:#ffffff;
}

.text-xl {
  font-size:1.25rem;
  line-height:1.75rem;
}

.text-xs {
  font-size:0.75rem;
  line-height:1rem;
}

.text-yellow-800 {
  color:#854d0e;
}

.top-0 {
  top:0;
}

.top-1\/2 {
  top:50%;
}

.top-2 {
  top:0.5rem;
}

.top-full {
  top:100%;
}

.tracking-tight {
  letter-spacing:-0.025em;
}

.tracking-tighter {
  letter-spacing:-0.05em;
}

.tracking-wide {
  letter-spacing:0.025em;
}

.tracking-wider {
  letter-spacing:0.05em;
}

.transform {
  transform:translate(var(--local-translate-x, 0), var(--local-translate-y, 0)) rotate(var(--local-rotate, 0)) skewX(var(--local-skew-x, 0)) skewY(var(--local-skew-y, 0)) scaleX(var(--local-scale-x, 1)) scaleY(var(--local-scale-y, 1));
}

.transition {
  transition-property:color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
  transition-duration:150ms;
  transition-timing-function:cubic-bezier(0.4,0,0.2,1);
}

.transition-all {
  transition-property:all;
  transition-duration:150ms;
  transition-timing-function:cubic-bezier(0.4,0,0.2,1);
}

.transition-colors {
  transition-property:color, background-color, border-color, text-decoration-color, fill, stroke;
  transition-duration:150ms;
  transition-timing-function:cubic-bezier(0.4,0,0.2,1);
}

.transition-opacity {
  transition-property:opacity;
  transition-duration:150ms;
  transition-timing-function:cubic-bezier(0.4,0,0.2,1);
}

.transition-shadow {
  transition-property:box-shadow;
  transition-duration:150ms;
  transition-timing-function:cubic-bezier(0.4,0,0.2,1);
}

.transition-transform {
  transition-property:transform, translate, scale, rotate;
  transition-duration:150ms;
  transition-timing-function:cubic-bezier(0.4,0,0.2,1);
}

.translate-x-full {
  --local-translate-x:100%;
  transform:translate(var(--local-translate-x, 0), var(--local-translate-y, 0)) rotate(var(--local-rotate, 0)) skewX(var(--local-skew-x, 0)) skewY(var(--local-skew-y, 0)) scaleX(var(--local-scale-x, 1)) scaleY(var(--local-scale-y, 1));
}

.translate-y-2 {
  --local-translate-y:0.5rem;
  transform:translate(var(--local-translate-x, 0), var(--local-translate-y, 0)) rotate(var(--local-rotate, 0)) skewX(var(--local-skew-x, 0)) skewY(var(--local-skew-y, 0)) scaleX(var(--local-scale-x, 1)) scaleY(var(--local-scale-y, 1));
}

.truncate {
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.underline {
  text-decoration-line:underline;
}

.uppercase {
  text-transform:uppercase;
}

.w-1\/4 {
  width:25%;
}

.w-16 {
  width:4rem;
}

.w-24 {
  width:6rem;
}

.w-3 {
  width:0.75rem;
}

.w-3\.5 {
  width:0.875rem;
}

.w-32 {
  width:8rem;
}

.w-4 {
  width:1rem;
}

.w-5 {
  width:1.25rem;
}

.w-6 {
  width:1.5rem;
}

.w-7 {
  width:1.75rem;
}

.w-8 {
  width:2rem;
}

.w-\[600px\] {
  width:600px;
}

.w-auto {
  width:auto;
}

.w-fit {
  width:fit-content;
}

.w-full {
  width:100%;
}

.w-screen {
  width:100vw;
}

.z-50 {
  z-index:50;
}

.z-\[100\] {
  z-index:100;
}

.z-\[60\] {
  z-index:60;
}

.z-\[9999\] {
  z-index:9999;
}


.rotate-180 {
  --local-rotate:180deg;
  transform:translate(var(--local-translate-x, 0), var(--local-translate-y, 0)) rotate(var(--local-rotate, 0)) skewX(var(--local-skew-x, 0)) skewY(var(--local-skew-y, 0)) scaleX(var(--local-scale-x, 1)) scaleY(var(--local-scale-y, 1));
}

/* Variantes de estado usadas pelos componentes compartilhados. */

.focus\:border-blue-500:focus {
  border-color:#3b82f6;
}

.focus\:border-blue-600:focus {
  border-color:#2563eb;
}

.focus\:outline-none:focus {
  outline:2px solid transparent;
  outline-offset:2px;
}

.focus\:ring-1:focus {
  --local-ring-shadow:0 0 0 1px var(--local-ring-color, rgb(59 130 246 / 0.5));
  box-shadow:var(--local-ring-offset-shadow, 0 0 #0000), var(--local-ring-shadow, 0 0 #0000), var(--local-shadow, 0 0 #0000);
}

.focus\:ring-blue-500:focus {
  --local-ring-color:rgb(59 130 246 / var(--local-ring-opacity, 1));
}

.group:hover .group-hover\:opacity-100 {
  opacity:1;
}

.group:hover .group-hover\:scale-110 {
  --local-scale-x:1.10;
  --local-scale-y:1.10;
  transform:translate(var(--local-translate-x, 0), var(--local-translate-y, 0)) rotate(var(--local-rotate, 0)) skewX(var(--local-skew-x, 0)) skewY(var(--local-skew-y, 0)) scaleX(var(--local-scale-x, 1)) scaleY(var(--local-scale-y, 1));
}

.group:hover .group-hover\:text-blue-600 {
  color:#2563eb;
}

.group:hover .group-hover\:translate-y-0 {
  --local-translate-y:0;
  transform:translate(var(--local-translate-x, 0), var(--local-translate-y, 0)) rotate(var(--local-rotate, 0)) skewX(var(--local-skew-x, 0)) skewY(var(--local-skew-y, 0)) scaleX(var(--local-scale-x, 1)) scaleY(var(--local-scale-y, 1));
}

.group:hover .group-hover\:visible {
  visibility:visible;
}

.hover\:-translate-y-0\.5:hover {
  --local-translate-y:-0.125rem;
  transform:translate(var(--local-translate-x, 0), var(--local-translate-y, 0)) rotate(var(--local-rotate, 0)) skewX(var(--local-skew-x, 0)) skewY(var(--local-skew-y, 0)) scaleX(var(--local-scale-x, 1)) scaleY(var(--local-scale-y, 1));
}

.hover\:bg-black:hover {
  --local-bg-rgb:0 0 0;
  background-color:rgb(var(--local-bg-rgb) / var(--local-bg-opacity, 1));
}

.hover\:bg-blue-600:hover {
  background-color:#2563eb;
}

.hover\:bg-gradient-to-tr:hover {
  background-image:linear-gradient(to top right, var(--local-gradient-from, #facc15), var(--local-gradient-via, #ef4444), var(--local-gradient-to, #a855f7));
}

.hover\:bg-gray-100:hover {
  background-color:#f3f4f6;
}

.hover\:bg-gray-50:hover {
  background-color:#f9fafb;
}

.hover\:bg-gray-800:hover {
  background-color:#1f2937;
}

.hover\:bg-green-700:hover {
  background-color:#15803d;
}

.hover\:bg-red-600:hover {
  background-color:#dc2626;
}

.hover\:from-yellow-400:hover {
  --local-gradient-from:#facc15;
}

.hover\:opacity-100:hover {
  opacity:1;
}

.hover\:opacity-80:hover {
  opacity:0.8;
}

.hover\:opacity-90:hover {
  opacity:0.9;
}

.hover\:shadow-lg:hover {
  --local-shadow:0 10px 15px -3px rgb(0 0 0 / 0.10), 0 4px 6px -4px rgb(0 0 0 / 0.10);
  box-shadow:var(--local-ring-offset-shadow, 0 0 #0000), var(--local-ring-shadow, 0 0 #0000), var(--local-shadow, 0 0 #0000);
}

.hover\:text-black:hover {
  color:#000000;
}

.hover\:text-blue-600:hover {
  color:#2563eb;
}

.hover\:text-blue-800:hover {
  color:#1e40af;
}

.hover\:text-gray-600:hover {
  color:#4b5563;
}

.hover\:text-red-500:hover {
  color:#ef4444;
}

.hover\:text-red-600:hover {
  color:#dc2626;
}

.hover\:text-red-700:hover {
  color:#b91c1c;
}

.hover\:text-white:hover {
  color:#ffffff;
}

.hover\:to-purple-500:hover {
  --local-gradient-to:#a855f7;
}

.hover\:translate-x-1:hover {
  --local-translate-x:0.25rem;
  transform:translate(var(--local-translate-x, 0), var(--local-translate-y, 0)) rotate(var(--local-rotate, 0)) skewX(var(--local-skew-x, 0)) skewY(var(--local-skew-y, 0)) scaleX(var(--local-scale-x, 1)) scaleY(var(--local-scale-y, 1));
}

.hover\:via-red-500:hover {
  --local-gradient-via:#ef4444;
}

.last\:border-0:last-child {
  border-width:0;
}

.odd\:border-r:nth-child(odd) {
  border-right-width:1px;
  border-right-style:solid;
}


/* Variantes responsivas usadas pelos componentes compartilhados. */

@media (min-width: 1024px) {
  .lg\:col-span-1 {
    grid-column:span 1 / span 1;
  }
}

@media (min-width: 1024px) {
  .lg\:col-span-3 {
    grid-column:span 3 / span 3;
  }
}

@media (min-width: 1024px) {
  .lg\:flex {
    display:flex;
  }
}

@media (min-width: 1024px) {
  .lg\:grid-cols-3 {
    grid-template-columns:repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .lg\:grid-cols-4 {
    grid-template-columns:repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .lg\:hidden {
    display:none;
  }
}

@media (min-width: 768px) {
  .md\:flex {
    display:flex;
  }
}

@media (min-width: 768px) {
  .md\:flex-row {
    flex-direction:row;
  }
}

@media (min-width: 768px) {
  .md\:gap-4 {
    gap:1rem;
  }
}

@media (min-width: 768px) {
  .md\:grid-cols-2 {
    grid-template-columns:repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 768px) {
  .md\:grid-cols-4 {
    grid-template-columns:repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 768px) {
  .md\:h-10 {
    height:2.5rem;
  }
}

@media (min-width: 768px) {
  .md\:h-20 {
    height:5rem;
  }
}

@media (min-width: 768px) {
  .md\:inline {
    display:inline;
  }
}

@media (min-width: 768px) {
  .md\:justify-end {
    justify-content:flex-end;
  }
}

@media (min-width: 768px) {
  .md\:p-10 {
    padding:2.5rem;
  }
}

@media (min-width: 768px) {
  .md\:px-6 {
    padding-left:1.5rem;
    padding-right:1.5rem;
  }
}

@media (min-width: 768px) {
  .md\:text-2xl {
    font-size:1.5rem;
    line-height:2rem;
  }
}

@media (min-width: 768px) {
  .md\:text-4xl {
    font-size:2.25rem;
    line-height:2.5rem;
  }
}

@media (min-width: 768px) {
  .md\:text-\[11px\] {
    font-size:11px;
  }
}

@media (min-width: 768px) {
  .md\:w-1\/2 {
    width:50%;
  }
}

@media (min-width: 768px) {
  .md\:w-auto {
    width:auto;
  }
}

@media (min-width: 640px) {
  .sm\:block {
    display:block;
  }
}

@media (min-width: 640px) {
  .sm\:px-6 {
    padding-left:1.5rem;
    padding-right:1.5rem;
  }
}

@media (min-width: 1280px) {
  .xl\:flex-row {
    flex-direction:row;
  }
}

@media (min-width: 1280px) {
  .xl\:grid-cols-4 {
    grid-template-columns:repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 1280px) {
  .xl\:justify-start {
    justify-content:flex-start;
  }
}

@media (min-width: 1280px) {
  .xl\:text-left {
    text-align:left;
  }
}

/* ==========================================================================
   ETAPA 3 — COBERTURA LOCAL DAS PÁGINAS PÚBLICAS PRINCIPAIS
   --------------------------------------------------------------------------
   Compatibilidade local para utilitários usados por:
   - index.php
   - loja.php
   - produto.php
   - carrinho.php
   - conta.php

   O TailwindCSS continua carregado como fallback nesta etapa. O objetivo é
   reproduzir localmente o subconjunto usado por estas páginas sem reescrever
   o HTML/PHP/JavaScript nem alterar intencionalmente o layout.
   ========================================================================== */

@keyframes local-bounce { 0%, 100% { transform: translateY(-25%); animation-timing-function: cubic-bezier(0.8,0,1,1); } 50% { transform: none; animation-timing-function: cubic-bezier(0,0,0.2,1); } }
.-left-1 { left:-0.25rem; }
.-top-3 { top:-0.75rem; }
.active\:bg-gray-50:active { background-color:#f9fafb; }
.animate-bounce { animation:local-bounce 1s infinite; }
.antialiased { -webkit-font-smoothing:antialiased; -moz-osx-font-smoothing:grayscale; }
.appearance-none { appearance:none; -webkit-appearance:none; }
.bg-black\/90 { background-color:rgb(0 0 0 / 0.9); }
.bg-blue-100\/50 { background-color:rgb(219 234 254 / 0.5); }
.bg-blue-200 { background-color:#bfdbfe; }
.bg-blue-50 { background-color:#eff6ff; }
.bg-blue-500 { background-color:#3b82f6; }
.bg-blue-600 { background-color:#2563eb; }
.bg-gradient-to-r { background-image:linear-gradient(to right, var(--local-gradient-stops)); }
.bg-gradient-to-t { background-image:linear-gradient(to top, var(--local-gradient-stops)); }
.bg-gray-300 { background-color:#d1d5db; }
.bg-gray-900 { background-color:#111827; }
.bg-green-100 { background-color:#dcfce7; }
.bg-orange-100 { background-color:#ffedd5; }
.bg-orange-500 { background-color:#f97316; }
.bg-purple-600 { background-color:#9333ea; }
.bg-red-100 { background-color:#fee2e2; }
.bg-red-600 { background-color:#dc2626; }
.bg-white\/45 { background-color:rgb(255 255 255 / 0.45); }
.bg-white\/50 { background-color:rgb(255 255 255 / 0.5); }
.bg-white\/90 { background-color:rgb(255 255 255 / 0.9); }
.bg-white\/95 { background-color:rgb(255 255 255 / 0.95); }
.bg-yellow-400 { background-color:#facc15; }
.bg-yellow-50 { background-color:#fefce8; }
.blur-3xl { filter:blur(64px); }
.border-blue-100 { border-color:#dbeafe; }
.border-dashed { border-style:dashed; }
.border-gray-400 { border-color:#9ca3af; }
.border-l-4 { border-left-width:4px; border-left-style:solid; }
.border-orange-100 { border-color:#ffedd5; }
.border-red-100 { border-color:#fee2e2; }
.border-red-500 { border-color:#ef4444; }
.border-white\/10 { border-color:rgb(255 255 255 / 0.1); }
.break-inside-avoid { break-inside:avoid; }
.col-span-3 { grid-column:span 3 / span 3; }
.columns-1 { columns:1; }
.cursor-not-allowed { cursor:not-allowed; }
.cursor-pointer { cursor:pointer; }
.decoration-dotted { text-decoration-style:dotted; }
.drop-shadow-2xl { filter:drop-shadow(0 25px 25px rgb(0 0 0 / 0.15)); }
.drop-shadow-md { filter:drop-shadow(0 4px 3px rgb(0 0 0 / 0.07)) drop-shadow(0 2px 2px rgb(0 0 0 / 0.06)); }
.duration-700 { transition-duration:700ms; }
.ease-out { transition-timing-function:cubic-bezier(0,0,0.2,1); }
.flex-grow { flex-grow:1; }
.flex-nowrap { flex-wrap:nowrap; }
.focus\:ring-2:focus { --local-ring-shadow:0 0 0 2px var(--local-ring-color, rgb(59 130 246 / 0.5)); box-shadow:var(--local-ring-offset-shadow, 0 0 #0000), var(--local-ring-shadow, 0 0 #0000), var(--local-shadow, 0 0 #0000); }
.focus\:ring-blue-200:focus { --local-ring-color:#bfdbfe; }
.font-black { font-weight:900; }
.font-light { font-weight:300; }
.font-semibold { font-weight:600; }
.font-serif { font-family:ui-serif, Georgia, serif; }
.from-\[\#e93b77\] { --local-gradient-from:#e93b77; --local-gradient-to:rgb(233 59 119 / 0); --local-gradient-stops:var(--local-gradient-from), var(--local-gradient-to); }
.from-black\/80 { --local-gradient-from:rgb(0 0 0 / 0.8); --local-gradient-to:rgb(0 0 0 / 0); --local-gradient-stops:var(--local-gradient-from), var(--local-gradient-to); }
.from-fuchsia-600 { --local-gradient-from:#c026d3; --local-gradient-to:rgb(192 38 211 / 0); --local-gradient-stops:var(--local-gradient-from), var(--local-gradient-to); }
.from-gray-900 { --local-gradient-from:#111827; --local-gradient-to:rgb(17 24 39 / 0); --local-gradient-stops:var(--local-gradient-from), var(--local-gradient-to); }
.from-red-500 { --local-gradient-from:#ef4444; --local-gradient-to:rgb(239 68 68 / 0); --local-gradient-stops:var(--local-gradient-from), var(--local-gradient-to); }
.group:hover .group-hover\:decoration-solid { text-decoration-style:solid; }
.group:hover .group-hover\:text-yellow-400 { color:#facc15; }
.h-10 { height:2.5rem; }
.h-24 { height:6rem; }
.h-44 { height:11rem; }
.h-80 { height:20rem; }
.h-9 { height:2.25rem; }
.h-auto { height:auto; }
.h-px { height:1px; }
.hover\:-translate-y-1:hover { --local-translate-y:-0.25rem; transform:translate(var(--local-translate-x, 0), var(--local-translate-y, 0)) rotate(var(--local-rotate, 0)) skewX(var(--local-skew-x, 0)) skewY(var(--local-skew-y, 0)) scaleX(var(--local-scale-x, 1)) scaleY(var(--local-scale-y, 1)); }
.hover\:bg-blue-700:hover { background-color:#1d4ed8; }
.hover\:bg-gray-300:hover { background-color:#d1d5db; }
.hover\:bg-gray-900:hover { background-color:#111827; }
.hover\:bg-purple-700:hover { background-color:#7e22ce; }
.hover\:bg-red-100:hover { background-color:#fee2e2; }
.hover\:bg-white:hover { background-color:#ffffff; }
.hover\:bg-yellow-500:hover { background-color:#eab308; }
.hover\:border-blue-200:hover { border-color:#bfdbfe; }
.hover\:border-blue-300:hover { border-color:#93c5fd; }
.hover\:border-blue-600:hover { border-color:#2563eb; }
.hover\:border-gray-400:hover { border-color:#9ca3af; }
.hover\:border-gray-900:hover { border-color:#111827; }
.hover\:scale-110:hover { --local-scale-x:1.1; --local-scale-y:1.1; transform:translate(var(--local-translate-x, 0), var(--local-translate-y, 0)) rotate(var(--local-rotate, 0)) skewX(var(--local-skew-x, 0)) skewY(var(--local-skew-y, 0)) scaleX(var(--local-scale-x, 1)) scaleY(var(--local-scale-y, 1)); }
.hover\:scale-\[1\.01\]:hover { --local-scale-x:1.01; --local-scale-y:1.01; transform:translate(var(--local-translate-x, 0), var(--local-translate-y, 0)) rotate(var(--local-rotate, 0)) skewX(var(--local-skew-x, 0)) skewY(var(--local-skew-y, 0)) scaleX(var(--local-scale-x, 1)) scaleY(var(--local-scale-y, 1)); }
.hover\:scale-\[1\.02\]:hover { --local-scale-x:1.02; --local-scale-y:1.02; transform:translate(var(--local-translate-x, 0), var(--local-translate-y, 0)) rotate(var(--local-rotate, 0)) skewX(var(--local-skew-x, 0)) skewY(var(--local-skew-y, 0)) scaleX(var(--local-scale-x, 1)) scaleY(var(--local-scale-y, 1)); }
.hover\:shadow-blue-200:hover { --local-shadow-color:#bfdbfe; }
.hover\:shadow-green-500\/40:hover { --local-shadow-color:rgb(34 197 94 / 0.4); }
.hover\:shadow-lg:hover { --local-shadow:0 10px 15px -3px var(--local-shadow-color, rgb(0 0 0 / 0.10)), 0 4px 6px -4px var(--local-shadow-color, rgb(0 0 0 / 0.10)); box-shadow:var(--local-ring-offset-shadow, 0 0 #0000), var(--local-ring-shadow, 0 0 #0000), var(--local-shadow, 0 0 #0000); }
.hover\:shadow-md:hover { --local-shadow:0 4px 6px -1px var(--local-shadow-color, rgb(0 0 0 / 0.10)), 0 2px 4px -2px var(--local-shadow-color, rgb(0 0 0 / 0.10)); box-shadow:var(--local-ring-offset-shadow, 0 0 #0000), var(--local-ring-shadow, 0 0 #0000), var(--local-shadow, 0 0 #0000); }
.hover\:text-gray-300:hover { color:#d1d5db; }
.hover\:text-pink-700:hover { color:#be185d; }
.hover\:underline:hover { text-decoration-line:underline; }
.inline-flex { display:inline-flex; }
.leading-none { line-height:1; }
.left-2 { left:0.5rem; }
.left-3 { left:0.75rem; }
.left-4 { left:1rem; }
@media (min-width: 1024px) { .lg\:\!max-h-\[none\] { max-height:none !important; } }
@media (min-width: 1024px) { .lg\:\!opacity-100 { opacity:1 !important; } }
@media (min-width: 1024px) { .lg\:columns-3 { columns:3; } }
@media (min-width: 1024px) { .lg\:flex-row { flex-direction:row; } }
@media (min-width: 1024px) { .lg\:grid-cols-2 { grid-template-columns:repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .lg\:h-96 { height:24rem; } }
@media (min-width: 1024px) { .lg\:items-end { align-items:flex-end; } }
@media (min-width: 1024px) { .lg\:items-start { align-items:flex-start; } }
@media (min-width: 1024px) { .lg\:pl-8 { padding-left:2rem; } }
@media (min-width: 1024px) { .lg\:pr-8 { padding-right:2rem; } }
@media (min-width: 1024px) { .lg\:px-10 { padding-left:2.5rem; padding-right:2.5rem; } }
@media (min-width: 1024px) { .lg\:py-12 { padding-top:3rem; padding-bottom:3rem; } }
@media (min-width: 1024px) { .lg\:text-left { text-align:left; } }
@media (min-width: 1024px) { .lg\:w-1\/3 { width:33.3333%; } }
@media (min-width: 1024px) { .lg\:w-1\/4 { width:25%; } }
@media (min-width: 1024px) { .lg\:w-2\/3 { width:66.6667%; } }
@media (min-width: 1024px) { .lg\:w-3\/4 { width:75%; } }
@media (min-width: 1024px) { .lg\:w-96 { width:24rem; } }
.max-h-80 { max-height:20rem; }
.max-h-full { max-height:100%; }
.max-w-2xl { max-width:42rem; }
.max-w-3xl { max-width:48rem; }
.max-w-5xl { max-width:64rem; }
.max-w-lg { max-width:32rem; }
.max-w-none { max-width:none; }
.max-w-xl { max-width:36rem; }
.mb-10 { margin-bottom:2.5rem; }
.mb-3 { margin-bottom:0.75rem; }
@media (min-width: 768px) { .md\:block { display:block; } }
@media (min-width: 768px) { .md\:columns-2 { columns:2; } }
@media (min-width: 768px) { .md\:gap-12 { gap:3rem; } }
@media (min-width: 768px) { .md\:gap-8 { gap:2rem; } }
@media (min-width: 768px) { .md\:h-11 { height:2.75rem; } }
@media (min-width: 768px) { .md\:h-80 { height:20rem; } }
@media (min-width: 768px) { .md\:h-96 { height:24rem; } }
@media (min-width: 768px) { .md\:hidden { display:none; } }
@media (min-width: 768px) { .md\:items-start { align-items:flex-start; } }
@media (min-width: 768px) { .md\:left-4 { left:1rem; } }
@media (min-width: 768px) { .md\:mb-0 { margin-bottom:0rem; } }
@media (min-width: 768px) { .md\:mx-0 { margin-left:0rem; margin-right:0rem; } }
@media (min-width: 768px) { .md\:order-1 { order:1; } }
@media (min-width: 768px) { .md\:order-2 { order:2; } }
@media (min-width: 768px) { .md\:p-8 { padding:2rem; } }
@media (min-width: 768px) { .md\:px-12 { padding-left:3rem; padding-right:3rem; } }
@media (min-width: 768px) { .md\:py-10 { padding-top:2.5rem; padding-bottom:2.5rem; } }
@media (min-width: 768px) { .md\:py-24 { padding-top:6rem; padding-bottom:6rem; } }
@media (min-width: 768px) { .md\:right-4 { right:1rem; } }
@media (min-width: 768px) { .md\:text-5xl { font-size:3rem; line-height:1; } }
@media (min-width: 768px) { .md\:text-base { font-size:1rem; line-height:1.5rem; } }
@media (min-width: 768px) { .md\:text-left { text-align:left; } }
@media (min-width: 768px) { .md\:text-lg { font-size:1.125rem; line-height:1.75rem; } }
@media (min-width: 768px) { .md\:top-1\/2 { top:50%; } }
@media (min-width: 768px) { .md\:w-11 { width:2.75rem; } }
@media (min-width: 768px) { .md\:w-80 { width:20rem; } }
.min-h-\[200px\] { min-height:200px; }
.min-h-\[500px\] { min-height:500px; }
.min-h-\[70vh\] { min-height:70vh; }
.ml-auto { margin-left:auto; }
.mt-10 { margin-top:2.5rem; }
.mt-16 { margin-top:4rem; }
.mt-3 { margin-top:0.75rem; }
.mt-6 { margin-top:1.5rem; }
.mt-auto { margin-top:auto; }
.my-4 { margin-top:1rem; margin-bottom:1rem; }
.opacity-25 { opacity:0.25; }
.opacity-75 { opacity:0.75; }
.order-1 { order:1; }
.order-2 { order:2; }
.p-4 { padding:1rem; }
.p-5 { padding:1.25rem; }
.p-6 { padding:1.5rem; }
.pb-28 { padding-bottom:7rem; }
.pb-3 { padding-bottom:0.75rem; }
.pb-6 { padding-bottom:1.5rem; }
.pl-0 { padding-left:0rem; }
.pr-0 { padding-right:0rem; }
.pr-10 { padding-right:2.5rem; }
.pr-2 { padding-right:0.5rem; }
.pt-3 { padding-top:0.75rem; }
.pt-32 { padding-top:8rem; }
.pt-6 { padding-top:1.5rem; }
.px-1 { padding-left:0.25rem; padding-right:0.25rem; }
.px-10 { padding-left:2.5rem; padding-right:2.5rem; }
.px-12 { padding-left:3rem; padding-right:3rem; }
.px-8 { padding-left:2rem; padding-right:2rem; }
.py-12 { padding-top:3rem; padding-bottom:3rem; }
.py-16 { padding-top:4rem; padding-bottom:4rem; }
.py-20 { padding-top:5rem; padding-bottom:5rem; }
.right-3 { right:0.75rem; }
.rounded-2xl { border-radius:1rem; }
.rounded-3xl { border-radius:1.5rem; }
.rounded-xl { border-radius:.75rem; }
.scale-125 { --local-scale-x:1.25; --local-scale-y:1.25; transform:translate(var(--local-translate-x, 0), var(--local-translate-y, 0)) rotate(var(--local-rotate, 0)) skewX(var(--local-skew-x, 0)) skewY(var(--local-skew-y, 0)) scaleX(var(--local-scale-x, 1)) scaleY(var(--local-scale-y, 1)); }
.scale-75 { --local-scale-x:0.75; --local-scale-y:0.75; transform:translate(var(--local-translate-x, 0), var(--local-translate-y, 0)) rotate(var(--local-rotate, 0)) skewX(var(--local-skew-x, 0)) skewY(var(--local-skew-y, 0)) scaleX(var(--local-scale-x, 1)) scaleY(var(--local-scale-y, 1)); }
.select-none { user-select:none; }
.shadow { --local-shadow:0 1px 3px 0 var(--local-shadow-color, rgb(0 0 0 / 0.10)), 0 1px 2px -1px var(--local-shadow-color, rgb(0 0 0 / 0.10)); box-shadow:var(--local-ring-offset-shadow, 0 0 #0000), var(--local-ring-shadow, 0 0 #0000), var(--local-shadow, 0 0 #0000); }
.shadow-2xl { --local-shadow:0 25px 50px -12px var(--local-shadow-color, rgb(0 0 0 / 0.25)); box-shadow:var(--local-ring-offset-shadow, 0 0 #0000), var(--local-ring-shadow, 0 0 #0000), var(--local-shadow, 0 0 #0000); }
.shadow-blue-500\/30 { --local-shadow-color:rgb(59 130 246 / 0.3); }
.shadow-lg { --local-shadow:0 10px 15px -3px var(--local-shadow-color, rgb(0 0 0 / 0.10)), 0 4px 6px -4px var(--local-shadow-color, rgb(0 0 0 / 0.10)); box-shadow:var(--local-ring-offset-shadow, 0 0 #0000), var(--local-ring-shadow, 0 0 #0000), var(--local-shadow, 0 0 #0000); }
.shadow-md { --local-shadow:0 4px 6px -1px var(--local-shadow-color, rgb(0 0 0 / 0.10)), 0 2px 4px -2px var(--local-shadow-color, rgb(0 0 0 / 0.10)); box-shadow:var(--local-ring-offset-shadow, 0 0 #0000), var(--local-ring-shadow, 0 0 #0000), var(--local-shadow, 0 0 #0000); }
.shadow-none { --local-shadow:0 0 #0000; box-shadow:var(--local-ring-offset-shadow, 0 0 #0000), var(--local-ring-shadow, 0 0 #0000), var(--local-shadow, 0 0 #0000); }
.shadow-sm { --local-shadow:0 1px 2px 0 var(--local-shadow-color, rgb(0 0 0 / 0.05)); box-shadow:var(--local-ring-offset-shadow, 0 0 #0000), var(--local-ring-shadow, 0 0 #0000), var(--local-shadow, 0 0 #0000); }
.shadow-xl { --local-shadow:0 20px 25px -5px var(--local-shadow-color, rgb(0 0 0 / 0.10)), 0 8px 10px -6px var(--local-shadow-color, rgb(0 0 0 / 0.10)); box-shadow:var(--local-ring-offset-shadow, 0 0 #0000), var(--local-ring-shadow, 0 0 #0000), var(--local-shadow, 0 0 #0000); }
@media (min-width: 640px) { .sm\:flex-row { flex-direction:row; } }
@media (min-width: 640px) { .sm\:grid-cols-2 { grid-template-columns:repeat(2, minmax(0, 1fr)); } }
@media (min-width: 640px) { .sm\:grid-cols-4 { grid-template-columns:repeat(4, minmax(0, 1fr)); } }
@media (min-width: 640px) { .sm\:h-56 { height:14rem; } }
@media (min-width: 640px) { .sm\:items-end { align-items:flex-end; } }
@media (min-width: 640px) { .sm\:justify-start { justify-content:flex-start; } }
@media (min-width: 640px) { .sm\:px-8 { padding-left:2rem; padding-right:2rem; } }
@media (min-width: 640px) { .sm\:text-3xl { font-size:1.875rem; line-height:2.25rem; } }
@media (min-width: 640px) { .sm\:text-base { font-size:1rem; line-height:1.5rem; } }
@media (min-width: 640px) { .sm\:text-left { text-align:left; } }
@media (min-width: 640px) { .sm\:w-56 { width:14rem; } }
@media (min-width: 640px) { .sm\:w-auto { width:auto; } }
.space-x-8 > :not([hidden]) ~ :not([hidden]) { margin-left:2rem; }
.space-y-10 > :not([hidden]) ~ :not([hidden]) { margin-top:2.5rem; }
.space-y-16 > :not([hidden]) ~ :not([hidden]) { margin-top:4rem; }
.space-y-2 > :not([hidden]) ~ :not([hidden]) { margin-top:0.5rem; }
.space-y-5 > :not([hidden]) ~ :not([hidden]) { margin-top:1.25rem; }
.space-y-6 > :not([hidden]) ~ :not([hidden]) { margin-top:1.5rem; }
.space-y-8 > :not([hidden]) ~ :not([hidden]) { margin-top:2rem; }
.text-4xl { font-size:2.25rem; line-height:2.5rem; }
.text-6xl { font-size:3.75rem; line-height:1; }
.text-\[\#8637c3\] { color:#8637c3; }
.text-black { color:#000000; }
.text-blue-100 { color:#dbeafe; }
.text-blue-400 { color:#60a5fa; }
.text-blue-700 { color:#1d4ed8; }
.text-blue-900 { color:#1e3a8a; }
.text-gray-200 { color:#e5e7eb; }
.text-gray-300 { color:#d1d5db; }
.text-green-500 { color:#22c55e; }
.text-green-800 { color:#166534; }
.text-orange-300 { color:#fdba74; }
.text-orange-700 { color:#c2410c; }
.text-purple-700 { color:#7e22ce; }
.text-red-600 { color:#dc2626; }
.text-red-700 { color:#b91c1c; }
.text-right { text-align:right; }
.text-white\/50 { color:rgb(255 255 255 / 0.5); }
.text-white\/80 { color:rgb(255 255 255 / 0.8); }
.text-yellow-400 { color:#facc15; }
.text-yellow-500 { color:#eab308; }
.text-yellow-700 { color:#a16207; }
.text-yellow-900 { color:#713f12; }
.to-\[\#8637c3\] { --local-gradient-to:#8637c3; }
.to-black { --local-gradient-to:#000000; }
.to-orange-500 { --local-gradient-to:#f97316; }
.to-purple-700 { --local-gradient-to:#7e22ce; }
.to-transparent { --local-gradient-to:transparent; }
.top-2\.5 { top:0.625rem; }
.top-3 { top:0.75rem; }
.top-4 { top:1rem; }
.top-\[42\%\] { top:42%; }
.tracking-\[0\.2em\] { letter-spacing:0.2em; }
.tracking-widest { letter-spacing:0.1em; }
.translate-y-full { --local-translate-y:100%; transform:translate(var(--local-translate-x, 0), var(--local-translate-y, 0)) rotate(var(--local-rotate, 0)) skewX(var(--local-skew-x, 0)) skewY(var(--local-skew-y, 0)) scaleX(var(--local-scale-x, 1)) scaleY(var(--local-scale-y, 1)); }
.via-black\/20 { --local-gradient-to:rgb(0 0 0 / 0); --local-gradient-stops:var(--local-gradient-from), rgb(0 0 0 / 0.2), var(--local-gradient-to); }
.w-1\/2 { width:50%; }
.w-1\/3 { width:33.3333%; }
.w-10 { width:2.5rem; }
.w-3\/4 { width:75%; }
.w-44 { width:11rem; }
.w-9 { width:2.25rem; }
.whitespace-nowrap { white-space:nowrap; }
.whitespace-pre-line { white-space:pre-line; }
.z-0 { z-index:0; }
.z-10 { z-index:10; }
.z-20 { z-index:20; }
.z-30 { z-index:30; }

/* ==========================================================================
   ETAPA 4A — RODAPÉ PÚBLICO COM CLASSES CSS PRÓPRIAS
   --------------------------------------------------------------------------
   Migração isolada do bloco visual do includes/footer.php.
   O sistema de popup que também reside no footer.php permanece, por enquanto,
   com as classes Tailwind originais para evitar misturar responsabilidades.
   ========================================================================== */

.site-footer {
    position: relative;
    margin-top: 3rem;
    padding-top: 4rem;
    padding-bottom: 2rem;
    border-top: 1px solid #e5e7eb;
    background-color: #f9fafb;
    color: #4b5563;
    font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    font-size: 0.875rem;
    line-height: 1.25rem;
}

.site-footer__container,
.site-footer__container *,
.site-footer__container *::before,
.site-footer__container *::after {
    box-sizing: border-box;
}

.site-footer__container h2,
.site-footer__container h3,
.site-footer__container h4,
.site-footer__container h5,
.site-footer__container p,
.site-footer__container ul {
    margin: 0;
}

.site-footer__container ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-footer__container a {
    color: inherit;
    text-decoration: none;
}

.site-footer__container img,
.site-footer__container svg {
    display: block;
    vertical-align: middle;
}

.site-footer__container img {
    max-width: 100%;
}

.site-footer__container {
    width: 100%;
    max-width: 80rem;
    margin-right: auto;
    margin-left: auto;
    padding-right: 1.5rem;
    padding-left: 1.5rem;
}

.site-footer__grid {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 2.5rem;
    margin-bottom: 3rem;
}

.site-footer__about > * + * {
    margin-top: 1rem;
}

.site-footer__brand-title {
    margin-bottom: 1rem;
    color: #2563eb;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 2rem;
    letter-spacing: -0.05em;
}

.site-footer__text {
    margin-bottom: 0;
    color: #4b5563;
    line-height: 1.625;
}

.site-footer__heading {
    margin-bottom: 1.5rem;
    color: #111827;
    font-size: 1.125rem;
    font-weight: 700;
    line-height: 1.75rem;
}

.site-footer__links {
    color: inherit;
    font-size: 1rem;
    line-height: 1.5rem;
}

.site-footer__links > * + * {
    margin-top: 0.75rem;
}

.site-footer__link,
.site-footer__credit-link {
    color: #4b5563;
    transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
    transition-duration: 150ms;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

.site-footer__link:hover,
.site-footer__credit-link:hover {
    color: #2563eb;
}

.site-footer__favorites > * + * {
    margin-top: 1rem;
}

.site-footer-product {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.site-footer-product__thumb {
    position: relative;
    width: 4rem;
    height: 4rem;
    flex-shrink: 0;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    border-radius: 0.375rem;
    background-color: #fff;
}

.site-footer-product__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition-property: transform;
    transition-duration: 500ms;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

.site-footer-product:hover .site-footer-product__image {
    transform: scale(1.1);
}


.site-footer-product__name {
    display: -webkit-box;
    overflow: hidden;
    margin-bottom: 0;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    color: #1f2937;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.25;
    transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
    transition-duration: 150ms;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

.site-footer-product:hover .site-footer-product__name {
    color: #2563eb;
}

.site-footer-product__prices {
    margin-top: 0.25rem;
}

.site-footer-product__old-price {
    margin-right: 0.25rem;
    color: #9ca3af;
    font-size: 0.75rem;
    line-height: 1rem;
    text-decoration-line: line-through;
}

.site-footer-product__price {
    color: #2563eb;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.5rem;
}

.site-footer__empty {
    margin-bottom: 0;
    color: #9ca3af;
    font-size: 1rem;
    font-style: italic;
    line-height: 1.5rem;
}

.site-footer__socials {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.site-footer__social-link {
    padding: 0.75rem;
    border: 1px solid #e5e7eb;
    border-radius: 9999px;
    background-color: #fff;
    color: #6b7280;
    box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    transition-property: all;
    transition-duration: 150ms;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

.site-footer__social-link:hover {
    color: #fff;
}

.site-footer__social-link--instagram:hover {
    background-image: linear-gradient(to top right, #facc15, #ef4444, #a855f7);
}

.site-footer__social-link--red:hover {
    background-color: #dc2626;
}

.site-footer__social-link--facebook:hover {
    background-color: #2563eb;
}

.site-footer__social-link--tiktok:hover {
    background-color: #000;
}

.site-footer__social-link--twitter:hover {
    background-color: #1f2937;
}

.site-footer__social-icon {
    width: 1.5rem;
    height: 1.5rem;
}

.site-footer__bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #e5e7eb;
}

.site-footer__copyright {
    text-align: center;
}

.site-footer__copyright-text {
    margin-bottom: 0.5rem;
    color: #6b7280;
}

.site-footer__copyright-company {
    color: #374151;
}

.site-footer__credits {
    display: flex;
    justify-content: center;
    gap: 1rem;
    color: #9ca3af;
    font-size: 0.75rem;
    line-height: 1rem;
}

.site-footer__credit-link {
    color: #9ca3af;
}

.site-footer__payments {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
}

.site-footer__payment-custom {
    display: flex;
    min-width: 64px;
    height: 3rem;
    align-items: center;
    justify-content: center;
    padding-right: 0.75rem;
    padding-left: 0.75rem;
    border: 1px solid #e5e7eb;
    border-radius: 0.25rem;
    background-color: #fff;
}

.site-footer__payment-image {
    width: auto;
    height: 100%;
    padding-top: 0.375rem;
    padding-bottom: 0.375rem;
    object-fit: contain;
}

.site-footer__security {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding-left: 1.5rem;
    border-left: 1px solid #e5e7eb;
}

.site-footer__security-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    border-radius: 0.25rem;
}

.site-footer__security-badge--safe {
    border: 1px solid #bbf7d0;
    background-color: #f0fdf4;
    color: #15803d;
}

.site-footer__security-badge--ssl {
    border: 1px solid #e5e7eb;
    background-color: #fff;
    color: #6b7280;
    box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
}

.site-footer__security-icon {
    width: 1.25rem;
    height: 1.25rem;
}

.site-footer__security-text {
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1rem;
    text-transform: uppercase;
}

@media (min-width: 768px) {
    .site-footer__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .site-footer__grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (min-width: 1280px) {
    .site-footer__bottom {
        flex-direction: row;
    }

    .site-footer__copyright {
        text-align: left;
    }

    .site-footer__credits {
        justify-content: flex-start;
    }
}

/* =========================================================
   HEADER / NAVEGACAO - CSS PROPRIO (ETAPA 4B)
   Mantem o drawer de busca para uma etapa separada.
   ========================================================= */
.site-maintenance-notice {
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 9999;
    width: 100%;
    padding: 0.5rem;
    border-top: 1px solid #fde68a;
    background-color: #fef3c7;
    color: #92400e;
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1rem;
    text-align: center;
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}

.site-header-container {
    width: 100%;
    margin-right: auto;
    margin-left: auto;
    padding-right: 1rem;
    padding-left: 1rem;
}

.site-topbar {
    position: relative;
    z-index: 60;
    display: block;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #e5e7eb;
    background-color: #f3f4f6;
    color: #4b5563;
    font-size: 0.75rem;
    line-height: 1rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.site-topbar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.site-topbar__socials {
    display: none;
    align-items: center;
    gap: 0.75rem;
}

.site-topbar__social-link {
    color: inherit;
    transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
    transition-duration: 150ms;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

.site-topbar__social-link--instagram:hover { color: #2563eb; }
.site-topbar__social-link--pinterest:hover { color: #dc2626; }
.site-topbar__social-link--facebook:hover { color: #1e40af; }

.site-topbar__social-icon {
    width: 0.875rem;
    height: 0.875rem;
}

.site-topbar__meta {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    font-weight: 500;
}

.site-topbar__locale {
    display: flex;
    gap: 0.5rem;
    color: #6b7280;
}

.site-topbar__greeting {
    margin-left: 0.5rem;
    text-transform: none;
}

.site-topbar__greeting--guest {
    color: #6b7280;
    font-weight: 400;
}

.site-topbar__greeting--user {
    color: #2563eb;
    font-weight: 700;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    width: 100%;
    border-bottom: 1px solid #f3f4f6;
    background-color: rgba(255, 255, 255, 0.95);
    font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.site-header__nav {
    position: relative;
    z-index: 60;
    display: flex;
    height: 4rem;
    align-items: center;
    justify-content: space-between;
}

.site-header__brand {
    width: 25%;
    flex-shrink: 0;
}

.site-header__brand-link {
    display: inline-block;
    transition-property: opacity;
    transition-duration: 150ms;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

.site-header__brand-link:hover { opacity: 0.8; }

.site-header__logo {
    width: auto;
    height: 2rem;
    object-fit: contain;
}

.site-header__brand-name {
    color: #1f2937;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 2rem;
    letter-spacing: -0.05em;
}

.site-header__desktop-nav {
    position: absolute;
    left: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    transform: translateX(-50%);
}

.site-header__nav-link,
.site-header__category-button {
    color: #4b5563;
    font-size: 0.875rem;
    font-weight: 700;
    line-height: 1.25rem;
    letter-spacing: 0.025em;
    text-transform: uppercase;
    transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
    transition-duration: 150ms;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

.site-header__nav-link:hover,
.site-header__category-group:hover .site-header__category-button,
.site-header__category-group:hover .site-header__category-icon {
    color: #2563eb;
}

.site-header__category-group {
    position: relative;
    display: flex;
    height: 100%;
    align-items: center;
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
}

.site-header__category-button {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    border: 0;
    background: transparent;
    cursor: pointer;
    outline: 2px solid transparent;
    outline-offset: 2px;
}

.site-header__category-icon {
    width: 0.75rem;
    height: 0.75rem;
    color: #9ca3af;
    transition-property: color;
    transition-duration: 150ms;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

.site-header__category-dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    width: 600px;
    padding-top: 0.5rem;
    visibility: hidden;
    opacity: 0;
    transform: translate(-50%, 0.5rem);
    transition-property: all;
    transition-duration: 200ms;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

.site-header__category-group:hover .site-header__category-dropdown {
    visibility: visible;
    opacity: 1;
    transform: translate(-50%, 0);
}

.site-header__category-panel {
    overflow: hidden;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    background-color: #fff;
    box-shadow: 0 0 0 1px rgb(0 0 0 / 0.05), 0 25px 50px -12px rgb(0 0 0 / 0.25);
}

.site-header__category-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.site-header__category-link {
    display: block;
    overflow: hidden;
    padding: 0.75rem 1.25rem;
    border-bottom: 1px solid #f3f4f6;
    color: #4b5563;
    font-size: 1rem;
    line-height: 1.5rem;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
    transition-duration: 150ms;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

.site-header__category-link:nth-child(odd) {
    border-right: 1px solid #f3f4f6;
}

.site-header__category-link:hover {
    background-color: #f9fafb;
    color: #2563eb;
}

.site-header__category-all {
    display: block;
    width: 100%;
    padding: 0.75rem 1.25rem;
    border-top: 1px solid #e5e7eb;
    background-color: #f9fafb;
    color: #6b7280;
    font-size: 0.75rem;
    line-height: 1rem;
    text-align: center;
    transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
    transition-duration: 150ms;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

.site-header__category-all:hover { color: #2563eb; }

.site-header__actions {
    display: flex;
    width: 25%;
    align-items: center;
    justify-content: flex-end;
    gap: 1.25rem;
}

.site-header__action {
    border: 0;
    background: transparent;
    cursor: pointer;
    transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
    transition-duration: 150ms;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

.site-header__action--relative { position: relative; }
.site-header__action--primary { color: #4b5563; }
.site-header__action--primary:hover { color: #2563eb; }
.site-header__action--favorite { color: #4b5563; }
.site-header__action--favorite:hover { color: #ef4444; }
.site-header__action:focus { outline: 2px solid transparent; outline-offset: 2px; }

.site-header__action-icon {
    width: 1.5rem;
    height: 1.5rem;
}

.site-header__account { display: none; }

.site-header__badge {
    position: absolute;
    top: -0.25rem;
    right: -0.25rem;
    display: flex;
    width: 1rem;
    height: 1rem;
    align-items: center;
    justify-content: center;
    border-radius: 9999px;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    line-height: 1;
    box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
}

.site-header__badge--favorite { background-color: #ef4444; }
.site-header__badge--cart { background-color: #22c55e; }
.site-header__badge--hidden { display: none; }

.site-header__mobile-toggle {
    margin-left: 0.5rem;
    border: 0;
    background: transparent;
    color: #1f2937;
    cursor: pointer;
}

.site-header__mobile-toggle:hover { color: #2563eb; }

.site-header__mobile-toggle-icon {
    width: 1.75rem;
    height: 1.75rem;
}

.site-header__mobile-menu {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 50;
    width: 100%;
    max-height: 85vh;
    overflow-y: auto;
    border-top: 1px solid #e5e7eb;
    background-color: #fff;
    box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

.site-header__mobile-menu--hidden { display: none; }

.site-header__mobile-menu-inner {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding-top: 1rem;
    padding-bottom: 6rem;
}

.site-header__mobile-link {
    display: block;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    color: #374151;
    font-weight: 700;
}

.site-header__mobile-link:hover { color: #2563eb; }
.site-header__mobile-link--uppercase { text-transform: uppercase; }

.site-header__mobile-categories {
    margin-top: 0.25rem;
    margin-bottom: 0.25rem;
    padding-left: 1rem;
    border-left: 2px solid #e5e7eb;
}

.site-header__mobile-categories-button {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    border: 0;
    background: transparent;
    color: #6b7280;
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1rem;
    text-align: left;
    text-transform: uppercase;
    cursor: pointer;
    transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
    transition-duration: 150ms;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

.site-header__mobile-categories-button:hover { color: #2563eb; }
.site-header__mobile-categories-button:focus { outline: 2px solid transparent; outline-offset: 2px; }

.site-header__mobile-categories-icon {
    width: 1rem;
    height: 1rem;
    transform: rotate(0deg);
    transition-property: transform;
    transition-duration: 200ms;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

.site-header__mobile-categories-icon--open { transform: rotate(180deg); }

.site-header__mobile-categories-list {
    padding-left: 0.5rem;
    transition-property: all;
    transition-duration: 300ms;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

.site-header__mobile-categories-list--hidden { display: none; }

.site-header__mobile-category-link {
    display: block;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #f3f4f6;
    color: #4b5563;
    font-size: 1rem;
    line-height: 1.5rem;
}

.site-header__mobile-category-link:last-child { border-bottom-width: 0; }
.site-header__mobile-category-link:hover { color: #2563eb; }

.site-header__mobile-category-all {
    display: block;
    margin-top: 0.25rem;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
    color: #2563eb;
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1rem;
    letter-spacing: 0.025em;
    text-transform: uppercase;
}

.site-header__mobile-account {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 0.5rem;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    border-top: 1px solid #f3f4f6;
    color: #374151;
}

.site-header__mobile-account:hover { color: #2563eb; }

@media (min-width: 640px) {
    .site-header-container { max-width: 640px; }
    .site-header__account { display: block; }
}

@media (min-width: 768px) {
    .site-header-container {
        max-width: 768px;
        padding-right: 1.5rem;
        padding-left: 1.5rem;
    }

    .site-topbar { font-size: 11px; }
    .site-topbar__socials { display: flex; }
    .site-topbar__meta { width: auto; justify-content: flex-end; gap: 1rem; }
    .site-topbar__locale { gap: 1rem; }
    .site-header__nav { height: 5rem; }
    .site-header__logo { height: 2.5rem; }
}

@media (min-width: 1024px) {
    .site-header-container { max-width: 1024px; }
    .site-header__desktop-nav { display: flex; }
    .site-header__mobile-toggle { display: none; }
    .site-header__mobile-menu { display: none !important; }
}

@media (min-width: 1280px) {
    .site-header-container { max-width: 1280px; }
}

@media (min-width: 1536px) {
    .site-header-container { max-width: 1536px; }
}


/* Ajustes de independência do preflight do Tailwind para o header migrado. */
.site-topbar,
.site-topbar *,
.site-topbar *::before,
.site-topbar *::after,
.site-header,
.site-header *,
.site-header *::before,
.site-header *::after {
    box-sizing: border-box;
}

.site-topbar a,
.site-header a {
    text-decoration: none;
}

.site-topbar svg,
.site-header svg,
.site-header img {
    display: block;
    vertical-align: middle;
}

.site-header button {
    padding: 0;
}

.site-header-container.site-header__mobile-menu-inner {
    padding-right: 1rem;
    padding-left: 1rem;
}

/* ==========================================================
   ETAPA 4C — Drawer de busca do Header
   Componente independente das utilidades Tailwind.
   ========================================================== */
.site-search-drawer,
.site-search-drawer *,
.site-search-drawer *::before,
.site-search-drawer *::after {
    box-sizing: border-box;
}

.site-search-drawer {
    position: fixed;
    inset: 0;
    z-index: 9999;
    width: 100%;
    height: 100%;
    overflow-y: auto;
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transform: translateY(0);
    transition-property: transform;
    transition-duration: 500ms;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

.site-search-drawer--closed {
    transform: translateY(-100%);
}

.site-search-hidden {
    display: none !important;
}

.site-search-drawer a {
    text-decoration: none;
}

.site-search-drawer button,
.site-search-drawer input {
    margin: 0;
    font: inherit;
}

.site-search-drawer button {
    border: 0;
    background: transparent;
    cursor: pointer;
}

.site-search-drawer ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-search-drawer h2,
.site-search-drawer h3,
.site-search-drawer h4,
.site-search-drawer p {
    margin-top: 0;
}

.site-search-drawer img,
.site-search-drawer svg {
    display: block;
    vertical-align: middle;
}

.site-search-drawer__container {
    width: 100%;
    margin-right: auto;
    margin-left: auto;
    padding: 2rem 1rem;
}

.site-search-drawer__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e5e7eb;
}

.site-search-drawer__title {
    margin-bottom: 0;
    color: #1f2937;
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.75rem;
    letter-spacing: -0.025em;
}

.site-search-drawer__close {
    padding: 0.5rem;
    border-radius: 9999px;
    color: #9ca3af;
    transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
    transition-duration: 150ms;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

.site-search-drawer__close:hover {
    background-color: #f3f4f6;
    color: #ef4444;
}

.site-search-drawer__icon {
    width: 2rem;
    height: 2rem;
}

.site-search-drawer__input-wrap {
    position: relative;
    max-width: 56rem;
    margin-right: auto;
    margin-bottom: 3rem;
    margin-left: auto;
}

.site-search-drawer__input {
    width: 100%;
    padding: 1rem 0.5rem;
    border: 0;
    border-bottom: 2px solid #d1d5db;
    border-radius: 0;
    outline: none;
    background-color: transparent;
    color: #1f2937;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 2rem;
    transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
    transition-duration: 150ms;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

.site-search-drawer__input::placeholder {
    color: #9ca3af;
    opacity: 1;
}

.site-search-drawer__input:focus {
    border-bottom-color: #2563eb;
    outline: 2px solid transparent;
    outline-offset: 2px;
}

.site-search-drawer__submit {
    position: absolute;
    top: 50%;
    right: 0.5rem;
    padding: 0;
    color: #9ca3af;
    transform: translateY(-50%);
    transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
    transition-duration: 150ms;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

.site-search-drawer__submit:hover {
    color: #2563eb;
}

.site-search-drawer__initial {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 3rem;
    max-width: 72rem;
    margin-right: auto;
    margin-left: auto;
    transition-property: opacity;
    transition-duration: 300ms;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

.site-search-drawer__suggestions {
    padding-right: 2rem;
    border-right: 1px solid #f3f4f6;
}

.site-search-drawer__section-title {
    margin-bottom: 1.5rem;
    color: #9ca3af;
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.site-search-drawer__suggestion-list > li + li {
    margin-top: 0.75rem;
}

.site-search-drawer__suggestion-link {
    display: inline-block;
    color: #4b5563;
    font-size: 1.125rem;
    line-height: 1.75rem;
    transform: translateX(0);
    transition-property: all;
    transition-duration: 150ms;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

.site-search-drawer__suggestion-link:not(.site-search-drawer__suggestion-link--plain):hover {
    color: #2563eb;
    transform: translateX(0.25rem);
}

.site-search-drawer__featured-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
}

.site-search-card {
    overflow: hidden;
    border: 1px solid #f3f4f6;
    border-radius: 0.5rem;
    background-color: #fff;
    box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    transition-property: box-shadow;
    transition-duration: 150ms;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

.site-search-card:hover {
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}

.site-search-card__media {
    position: relative;
    aspect-ratio: 1 / 1;
}

.site-search-card__image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.site-search-card__body {
    padding: 0.75rem;
}

.site-search-card__title {
    overflow: hidden;
    margin-bottom: 0.25rem;
    color: #1f2937;
    font-size: 0.875rem;
    font-weight: 700;
    line-height: 1.25rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.site-search-card__title-link {
    color: inherit;
}

.site-search-card__title-link:hover {
    color: #2563eb;
}

.site-search-card__price-row {
    display: flex;
    align-items: center;
}

.site-search-card__price-row--gap {
    gap: 0.5rem;
}

.site-search-card__price-old {
    color: #9ca3af;
    font-size: 0.75rem;
    line-height: 1rem;
    text-decoration-line: line-through;
}

.site-search-card__price-old--spaced {
    margin-right: 0.5rem;
}

.site-search-card__price-current {
    color: #1f2937;
    font-size: 0.875rem;
    font-weight: 700;
    line-height: 1.25rem;
}

.site-search-card__price-current--sale {
    color: #2563eb;
}

.site-search-drawer__results {
    max-width: 72rem;
    margin-right: auto;
    margin-left: auto;
}

.site-search-drawer__results-grid {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 1.5rem;
}

.site-search-drawer__spinner-wrap {
    padding-top: 2rem;
    padding-bottom: 2rem;
    text-align: center;
}

.site-search-drawer__spinner {
    display: inline-block;
    width: 2rem;
    height: 2rem;
    border: 4px solid #2563eb;
    border-top-color: transparent;
    border-radius: 9999px;
    animation: site-search-spin 1s linear infinite;
}

.site-search-drawer__empty {
    grid-column: 1 / -1;
    margin-bottom: 0;
    padding-top: 2rem;
    padding-bottom: 2rem;
    color: #6b7280;
    text-align: center;
}

@keyframes site-search-spin {
    to { transform: rotate(360deg); }
}

@media (min-width: 640px) {
    .site-search-drawer__container { max-width: 640px; }
}

@media (min-width: 768px) {
    .site-search-drawer__container {
        max-width: 768px;
        padding-right: 1.5rem;
        padding-left: 1.5rem;
    }

    .site-search-drawer__title {
        font-size: 1.5rem;
        line-height: 2rem;
    }

    .site-search-drawer__input {
        font-size: 2.25rem;
        line-height: 2.5rem;
    }

    .site-search-drawer__featured-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .site-search-drawer__results-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .site-search-drawer__container { max-width: 1024px; }

    .site-search-drawer__initial {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .site-search-drawer__suggestions {
        grid-column: span 1 / span 1;
    }

    .site-search-drawer__featured {
        grid-column: span 3 / span 3;
    }

    .site-search-drawer__results-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 1280px) {
    .site-search-drawer__container { max-width: 1280px; }

    .site-search-drawer__results-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (min-width: 1536px) {
    .site-search-drawer__container { max-width: 1536px; }
}

/* ========================================================================== 
   Side cart — CSS próprio (Etapa 4D)
   ========================================================================== */
.site-sidecart {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
}

.site-sidecart--visible {
    display: block;
}

.site-sidecart__backdrop {
    position: absolute;
    inset: 0;
    background-color: rgb(0 0 0 / 0.5);
    opacity: 0;
    transition: opacity 150ms cubic-bezier(0.4, 0, 0.2, 1);
}

.site-sidecart__backdrop--visible {
    opacity: 1;
}

.site-sidecart__viewport {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    display: flex;
    max-width: 100%;
    padding-left: 2.5rem;
}

.site-sidecart__panel {
    width: 100vw;
    max-width: 28rem;
    pointer-events: auto;
    transform: translateX(100%);
    transition: transform 500ms cubic-bezier(0.4, 0, 0.2, 1);
}

.site-sidecart__panel--visible {
    transform: translateX(0);
}

.site-sidecart__surface {
    display: flex;
    height: 100%;
    flex-direction: column;
    border-left: 1px solid #e5e7eb;
    background-color: #fff;
    box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25);
}

.site-sidecart__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 1.5rem 1rem;
    border-bottom: 1px solid #f3f4f6;
}

.site-sidecart__title {
    color: #111827;
    font-size: 1.125rem;
    font-weight: 700;
    line-height: 1.75rem;
}

.site-sidecart__close-wrap {
    display: flex;
    height: 1.75rem;
    align-items: center;
    margin-left: 0.75rem;
}

.site-sidecart__close {
    position: relative;
    margin: -0.5rem;
    padding: 0.5rem;
    color: #9ca3af;
    transition: color 150ms cubic-bezier(0.4, 0, 0.2, 1);
}

.site-sidecart__close:hover {
    color: #4b5563;
}

.site-sidecart__close-hit {
    position: absolute;
    inset: -0.125rem;
}

.site-sidecart__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;
}

.site-sidecart__close-icon {
    width: 1.5rem;
    height: 1.5rem;
}

.site-sidecart__body {
    flex: 1 1 0%;
    overflow-y: auto;
    padding: 1.5rem 1rem;
}

.site-sidecart__items {
    margin-top: -1.5rem;
    margin-bottom: -1.5rem;
}

.site-sidecart__items > :not([hidden]) ~ :not([hidden]) {
    border-top: 1px solid #f3f4f6;
}

.site-sidecart__status {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
    color: #6b7280;
    text-align: center;
}

.site-sidecart__status--error {
    color: #ef4444;
}

.site-sidecart__empty {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
    color: #6b7280;
    font-style: italic;
    text-align: center;
}

.site-sidecart__footer {
    padding: 1.5rem 1rem;
    border-top: 1px solid #e5e7eb;
    background-color: #f9fafb;
}

.site-sidecart__coupon {
    margin-bottom: 1rem;
}

.site-sidecart__coupon-form {
    display: flex;
    gap: 0.5rem;
}

.site-sidecart__coupon-input {
    width: 100%;
    padding: 0.5rem 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    background-color: #fff;
    color: #111827;
    font-size: 0.875rem;
    line-height: 1.25rem;
    text-transform: uppercase;
    transition: box-shadow 150ms cubic-bezier(0.4, 0, 0.2, 1);
}

.site-sidecart__coupon-input:focus {
    border-color: #3b82f6;
    outline: 2px solid transparent;
    outline-offset: 2px;
    box-shadow: 0 0 0 1px #3b82f6;
}

.site-sidecart__coupon-apply {
    padding: 0.5rem 0.75rem;
    border-radius: 0.5rem;
    background-color: #1f2937;
    color: #fff;
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1.25rem;
    transition: background-color 150ms cubic-bezier(0.4, 0, 0.2, 1);
}

.site-sidecart__coupon-apply:hover {
    background-color: #000;
}

.site-sidecart__coupon-applied {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 0.75rem;
    border: 1px solid #bbf7d0;
    border-radius: 0.5rem;
    background-color: #f0fdf4;
}

.site-sidecart__coupon-success {
    color: #15803d;
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1.25rem;
}

.site-sidecart__coupon-remove {
    color: #ef4444;
    font-size: 0.75rem;
    font-weight: 500;
    line-height: 1rem;
    text-decoration-line: underline;
}

.site-sidecart__coupon-remove:hover {
    color: #b91c1c;
}

.site-sidecart__coupon-message {
    height: 1rem;
    margin-top: 0.25rem;
    color: #ef4444;
    font-size: 0.75rem;
    font-weight: 500;
    line-height: 1rem;
}

.site-sidecart__summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    color: #6b7280;
    font-size: 0.875rem;
    line-height: 1.25rem;
}

.site-sidecart__summary-value {
    color: #111827;
    font-weight: 500;
}

.site-sidecart__discount-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    color: #16a34a;
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1.25rem;
}

.site-sidecart__total-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid #e5e7eb;
    color: #111827;
    font-size: 1.25rem;
    font-weight: 800;
    line-height: 1.75rem;
}

.site-sidecart__total-value {
    color: #2563eb;
}

.site-sidecart__actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.site-sidecart__checkout,
.site-sidecart__view-cart {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-right: 1.5rem;
    padding-left: 1.5rem;
    border: 1px solid;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.5rem;
    transition: all 150ms cubic-bezier(0.4, 0, 0.2, 1);
}

.site-sidecart__checkout {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
    border-color: transparent;
    background-color: #16a34a;
    color: #fff;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
}

.site-sidecart__checkout:hover {
    background-color: #15803d;
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    transform: translateY(-0.125rem);
}

.site-sidecart__view-cart {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    border-color: #d1d5db;
    background-color: #fff;
    color: #374151;
    box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
}

.site-sidecart__view-cart:hover {
    background-color: #f9fafb;
    color: #000;
}

.site-sidecart__item {
    display: flex;
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
}

.site-sidecart__thumb {
    width: 4rem;
    height: 4rem;
    flex-shrink: 0;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    border-radius: 0.375rem;
    background-color: #f3f4f6;
}

.site-sidecart__thumb-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.site-sidecart__item-body {
    display: flex;
    flex: 1 1 0%;
    flex-direction: column;
    margin-left: 1rem;
    min-width: 0;
}

.site-sidecart__item-head {
    display: flex;
    justify-content: space-between;
    color: #111827;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.5rem;
}

.site-sidecart__item-title {
    width: 8rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.site-sidecart__item-link {
    color: inherit;
    transition: color 150ms cubic-bezier(0.4, 0, 0.2, 1);
}

.site-sidecart__item-link:hover {
    color: #2563eb;
}

.site-sidecart__price {
    margin-left: 1rem;
    color: #111827;
    font-weight: 700;
}

.site-sidecart__price-stack {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    margin-left: 1rem;
}

.site-sidecart__price-old {
    color: #9ca3af;
    font-size: 0.75rem;
    line-height: 1rem;
    text-decoration-line: line-through;
}

.site-sidecart__price-current {
    color: #2563eb;
    font-weight: 700;
}

.site-sidecart__offer {
    display: flex;
    width: fit-content;
    align-items: center;
    gap: 0.25rem;
    margin-top: 0.25rem;
    padding: 0.125rem 0.5rem;
    border-radius: 0.25rem;
    background-color: #fff7ed;
    color: #ea580c;
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1rem;
}

.site-sidecart__offer-icon {
    width: 0.75rem;
    height: 0.75rem;
    animation: site-sidecart-pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.site-sidecart__offer-time {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

.site-sidecart__offer-expired {
    color: #9ca3af;
    font-weight: 400;
}

.site-sidecart__item-meta {
    display: flex;
    flex: 1 1 0%;
    align-items: flex-end;
    justify-content: space-between;
    margin-top: 0.5rem;
    font-size: 0.875rem;
    line-height: 1.25rem;
}

.site-sidecart__quantity {
    color: #6b7280;
}

.site-sidecart__remove-item {
    color: #ef4444;
    font-weight: 500;
    transition: color 150ms cubic-bezier(0.4, 0, 0.2, 1);
}

.site-sidecart__remove-item:hover {
    color: #b91c1c;
}

.site-sidecart__is-hidden {
    display: none !important;
}

@keyframes site-sidecart-pulse {
    50% { opacity: 0.5; }
}

@media (min-width: 640px) {
    .site-sidecart__header,
    .site-sidecart__body,
    .site-sidecart__footer {
        padding-right: 1.5rem;
        padding-left: 1.5rem;
    }
}

/* ========================================================================== 
   ETAPA 4E — HOME (index.php) COM CSS PRÓPRIO
   --------------------------------------------------------------------------
   Estilos semânticos da Home. O Tailwind permanece carregado globalmente
   durante a migração, porém index.php não depende de utilitários Tailwind.
   ========================================================================== */

.home-page {
    margin: 0;
    background-color: #f9fafb;
    color: #1f2937;
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.home-page *,
.home-page *::before,
.home-page *::after {
    box-sizing: border-box;
}

.home-visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

.home-slider {
    border-bottom: 1px solid #e5e7eb;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.home-slider__slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.home-slider__loading,
.home-slider__empty {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.home-slider__loading { color: #9ca3af; }
.home-slider__empty { color: #6b7280; }

.home-spinner {
    display: block;
    animation: home-spin 1s linear infinite;
}

.home-spinner--large {
    width: 2rem;
    height: 2rem;
}

.home-spinner--button {
    width: 1.25rem;
    height: 1.25rem;
    margin-right: auto;
    margin-left: auto;
}

.home-spinner--blue { color: #2563eb; }
.home-spinner__track { opacity: 0.25; }
.home-spinner__arc { opacity: 0.75; }

@keyframes home-spin {
    to { transform: rotate(360deg); }
}

.home-slider__nav {
    position: absolute;
    top: 42%;
    z-index: 30;
    display: flex;
    width: 2.25rem;
    height: 2.25rem;
    padding: 0;
    align-items: center;
    justify-content: center;
    transform: translateY(-50%);
    border: 1px solid #dbeafe;
    border-radius: 9999px;
    background-color: rgba(255, 255, 255, 0.45);
    color: #1d4ed8;
    font: inherit;
    font-size: 0.875rem;
    line-height: 1.25rem;
    cursor: pointer;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: color 150ms ease, background-color 150ms ease, border-color 150ms ease, box-shadow 150ms ease, transform 150ms ease;
}

.home-slider__nav:hover { background-color: #ffffff; }
.home-slider__nav--prev { left: 0.5rem; }
.home-slider__nav--next { right: 0.5rem; }

.home-slider__dot {
    width: 0.75rem;
    height: 0.75rem;
    padding: 0;
    border: 1px solid #9ca3af;
    border-radius: 9999px;
    background-color: transparent;
    cursor: pointer;
    transition: all 150ms cubic-bezier(0.4, 0, 0.2, 1);
}

.home-slider__dot:hover { background-color: #d1d5db; }
.home-slider__dot.is-active {
    border-color: #2563eb;
    background-color: #2563eb;
    transform: scale(1.25);
}

.home-slide-content {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
}

.home-classic-picture {
    position: absolute;
    inset: 0;
    z-index: 0;
    display: block;
    width: 100%;
    height: 100%;
}

.home-product-hero {
    position: relative;
    z-index: 10;
    display: grid;
    width: 100%;
    max-width: 72rem;
    height: 100%;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    align-items: center;
    gap: 1rem;
    margin-right: auto;
    margin-left: auto;
    padding: 1.5rem 1.25rem 7rem;
}

.home-product-hero__copy {
    order: 2;
    display: flex;
    width: 100%;
    max-width: 36rem;
    flex-direction: column;
    align-items: center;
    margin-right: auto;
    margin-left: auto;
    padding: 1.25rem;
    border-radius: 1.5rem;
    text-align: center;
}

.home-product-hero__kicker { margin-bottom: 0.75rem; }

.home-product-hero__title {
    margin: 0 0 0.75rem;
    font-size: 1.5rem;
    line-height: 1.25;
    font-weight: 800;
    letter-spacing: -0.025em;
}

.home-product-hero__subtitle {
    max-width: 32rem;
    margin: 0 0 1rem;
    font-size: 0.875rem;
    line-height: 1.625;
    opacity: 0.9;
}

.home-product-hero__cta {
    display: inline-flex;
    width: 100%;
    align-items: center;
    justify-content: center;
    margin-top: 1rem;
    margin-bottom: 0.75rem;
    padding: 0.75rem 2rem;
    border-radius: 9999px;
    background-color: #2563eb;
    color: #ffffff;
    font-size: 1rem;
    line-height: 1.5rem;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    transition: all 150ms cubic-bezier(0.4, 0, 0.2, 1);
}

.home-product-hero__cta:hover {
    background-color: #1d4ed8;
    transform: translateY(-0.25rem);
}

.home-product-hero__visual {
    order: 1;
    display: flex;
    justify-content: center;
}

.home-product-hero__image-wrap {
    position: relative;
    width: 11rem;
    height: 11rem;
    transition: all 150ms cubic-bezier(0.4, 0, 0.2, 1);
}

.home-product-hero__glow {
    position: absolute;
    inset: 0;
    border-radius: 9999px;
    background-color: rgba(219, 234, 254, 0.5);
    filter: blur(64px);
    transform: scale(0.75);
}

.home-product-hero__image {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 25px 25px rgba(0, 0, 0, 0.15));
}

.home-sections {
    min-height: 200px;
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.home-sections > * + * { margin-top: 4rem; }

.home-favorite-pulse { transform: scale(1.25); }
.home-favorite-color { color: #ef4444; }

/* Vitrines e cards de produto */
.home-section {
    width: 100%;
    margin-right: auto;
    margin-left: auto;
    padding-right: 1.5rem;
    padding-left: 1.5rem;
}

.home-section--center { text-align: center; }

.home-section__header {
    margin-bottom: 2.5rem;
    text-align: center;
}

.home-section__title {
    margin: 0 0 0.5rem;
    color: #111827;
    font-size: 1.875rem;
    line-height: 2.25rem;
    font-weight: 700;
}

.home-section__title--strong {
    font-weight: 800;
    letter-spacing: -0.025em;
}

.home-section__subtitle {
    margin: 0;
    color: #6b7280;
    font-size: 1.125rem;
    line-height: 1.75rem;
    white-space: pre-line;
}

.home-products-grid {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 1.5rem;
}

.produto-card {
    position: relative;
    display: flex;
    overflow: hidden;
    flex-direction: column;
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    background-color: #ffffff;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

.produto-card:hover {
    border-color: #bfdbfe;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    transform: translateY(-0.25rem);
}

.home-product-card__media {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 1 / 1;
}

.home-product-card__media > a { display: block; width: 100%; height: 100%; }

.home-product-card__image {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 700ms cubic-bezier(0.4, 0, 0.2, 1);
}

.produto-card:hover .home-product-card__image { transform: scale(1.10); }

.home-product-card__badges {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    z-index: 10;
    display: flex;
    gap: 0.25rem;
    pointer-events: none;
}

.home-product-card__discount {
    display: inline-block;
    margin-right: 0.25rem;
    padding: 0.25rem 0.5rem;
    border-radius: 9999px;
    background-color: #dc2626;
    color: #ffffff;
    font-size: 0.75rem;
    line-height: 1rem;
    font-weight: 700;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
}

.home-product-card__wishlist {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    display: flex;
    width: 2rem;
    height: 2rem;
    padding: 0;
    align-items: center;
    justify-content: center;
    border: 1px solid #f3f4f6;
    border-radius: 9999px;
    background-color: #ffffff;
    color: #9ca3af;
    font: inherit;
    cursor: pointer;
    transition: all 150ms cubic-bezier(0.4, 0, 0.2, 1);
}

.home-product-card__wishlist:hover {
    background-color: #f9fafb;
    transform: scale(1.10);
}

.home-product-card__heart {
    width: 1.25rem;
    height: 1.25rem;
}

.home-product-card__actions {
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 20;
    display: flex;
    width: 100%;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1rem;
    border-top: 1px solid #f3f4f6;
    background-color: rgba(255, 255, 255, 0.9);
    transform: translateY(100%);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    transition: transform 300ms ease-in-out;
}

.produto-card:hover .home-product-card__actions { transform: translateY(0); }

.home-product-card__cart-button,
.home-product-card__buy-button {
    display: block;
    width: 100%;
    padding: 0.5rem 1rem;
    border: 0;
    border-radius: 0.375rem;
    color: #ffffff;
    font: inherit;
    font-size: 0.875rem;
    line-height: 1.25rem;
    font-weight: 700;
    text-align: center;
    cursor: pointer;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    transition: background-color 150ms cubic-bezier(0.4, 0, 0.2, 1);
}

.home-product-card__cart-button { background-color: #2563eb; }
.home-product-card__cart-button:hover { background-color: #1d4ed8; }
.home-product-card__cart-button.is-added { background-color: #16a34a; }
.home-product-card__buy-button { background-color: #1f2937; }
.home-product-card__buy-button:hover { background-color: #000000; }

.home-product-card__content {
    position: relative;
    z-index: 30;
    display: flex;
    flex: 1 1 0%;
    flex-direction: column;
    padding: 1.25rem;
    background-color: #ffffff;
}

.home-product-card__rating {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    line-height: 1.25rem;
}

.home-rating__star { font-size: 1rem; line-height: 1.5rem; }
.home-rating__star--filled { color: #facc15; }
.home-rating__star--empty { color: #d1d5db; }

.home-product-card__title {
    overflow: hidden;
    margin: 0 0 0.25rem;
    color: #111827;
    font-size: 1.125rem;
    line-height: 1.75rem;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.home-product-card__title-link {
    color: inherit;
    text-decoration: none;
    transition: color 150ms cubic-bezier(0.4, 0, 0.2, 1);
}

.home-product-card__title-link:hover { color: #2563eb; }

.home-product-card__description {
    display: -webkit-box;
    overflow: hidden;
    margin: 0.25rem 0 0.75rem;
    color: #6b7280;
    font-size: 0.875rem;
    line-height: 1.25rem;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.home-product-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 0.75rem;
    border-top: 1px solid #f3f4f6;
}

.home-product-card__price-stack {
    display: flex;
    flex-direction: column;
}

.home-product-card__old-price {
    color: #9ca3af;
    font-size: 0.75rem;
    line-height: 1rem;
    text-decoration-line: line-through;
}

.home-product-card__price {
    color: #111827;
    font-size: 1.125rem;
    line-height: 1.75rem;
    font-weight: 700;
}

.home-product-card__price--sale { color: #2563eb; }

/* Banner intermediário */
.home-banner-card {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 0.75rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
}

.home-banner-card--linked {
    transition: transform 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

.home-banner-card--linked:hover { transform: scale(1.01); }

.home-banner-card__image {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    margin-right: auto;
    margin-left: auto;
    border-radius: 0.75rem;
    object-fit: contain;
}

/* Depoimentos */
.home-testimonials {
    padding-top: 4rem;
    padding-bottom: 4rem;
    border-top: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
    background-color: #f9fafb;
}

.home-testimonials__container {
    width: 100%;
    max-width: 72rem;
    margin-right: auto;
    margin-left: auto;
    padding-right: 1.5rem;
    padding-left: 1.5rem;
}

.home-testimonials__columns {
    columns: 1;
    column-gap: 1.5rem;
}

.home-testimonial {
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    break-inside: avoid;
    border: 1px solid #f3f4f6;
    border-radius: 1rem;
    background-color: #ffffff;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    transition: all 150ms cubic-bezier(0.4, 0, 0.2, 1);
}

.home-testimonial:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    transform: translateY(-0.25rem);
}

.home-testimonial__head {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.home-testimonial__avatar {
    overflow: hidden;
    flex-shrink: 0;
    width: 2.5rem;
    height: 2.5rem;
    border: 1px solid #e5e7eb;
    border-radius: 9999px;
    background-color: #f3f4f6;
}

.home-testimonial__avatar-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-testimonial__name {
    margin: 0;
    color: #111827;
    font-size: 0.875rem;
    line-height: 1.25;
    font-weight: 700;
}

.home-testimonial__rating { display: flex; }
.home-testimonial__star { font-size: 0.875rem; line-height: 1.25rem; }
.home-testimonial__star--filled { color: #facc15; }
.home-testimonial__star--empty { color: #e5e7eb; }

.home-testimonial__body {
    position: relative;
    margin-top: 0.5rem;
}

.home-testimonial__quote {
    position: absolute;
    top: -0.75rem;
    left: -0.25rem;
    color: #dbeafe;
    font-family: ui-serif, Georgia, Cambria, "Times New Roman", Times, serif;
    font-size: 2.25rem;
    line-height: 1;
    user-select: none;
}

.home-testimonial__text {
    position: relative;
    z-index: 10;
    margin: 0;
    padding-left: 0.5rem;
    color: #4b5563;
    font-size: 0.875rem;
    line-height: 1.625;
    font-style: italic;
}

/* Banner duplo */
.home-promo-grid {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 1.5rem;
}

.home-promo-card {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 20rem;
    border-radius: 1rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
}

.home-promo-card__image {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 700ms cubic-bezier(0.4, 0, 0.2, 1);
}

.home-promo-card:hover .home-promo-card__image { transform: scale(1.10); }

.home-promo-card__overlay {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.2), transparent);
}

.home-promo-card__content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem;
}

.home-promo-card__badge {
    display: inline-block;
    margin-bottom: 0.5rem;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    color: #ffffff;
    font-size: 0.75rem;
    line-height: 1rem;
    font-weight: 700;
}

.home-promo-card__badge--blue,
.home-promo-card__button--blue { background-color: #2563eb; }
.home-promo-card__badge--purple,
.home-promo-card__button--purple { background-color: #9333ea; }

.home-promo-card__title {
    margin: 0 0 0.5rem;
    color: #ffffff;
    font-size: 1.5rem;
    line-height: 2rem;
    font-weight: 700;
}

.home-promo-card__description {
    display: -webkit-box;
    overflow: hidden;
    margin: 0 0 1rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.875rem;
    line-height: 1.25rem;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.home-promo-card__button {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    border-radius: 9999px;
    color: #ffffff;
    font-size: 0.875rem;
    line-height: 1.25rem;
    font-weight: 700;
    text-decoration: none;
    transition: transform 150ms cubic-bezier(0.4, 0, 0.2, 1), background-color 150ms cubic-bezier(0.4, 0, 0.2, 1);
}

.home-promo-card__button:hover { transform: translateY(-0.25rem); }
.home-promo-card__button--blue:hover { background-color: #1d4ed8; }
.home-promo-card__button--purple:hover { background-color: #7e22ce; }

/* Contador */
.home-countdown {
    width: 100%;
    padding-top: 5rem;
    padding-bottom: 5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.glass-section--default { background-image: linear-gradient(to right, #e93b77, #8637c3); }
.glass-section--purple { background-image: linear-gradient(to right, #c026d3, #7e22ce); }
.glass-section--urgent { background-image: linear-gradient(to right, #ef4444, #f97316); }
.glass-section--black { background-image: linear-gradient(to right, #111827, #000000); }

.home-countdown__container {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 72rem;
    margin-right: auto;
    margin-left: auto;
    padding-right: 1.5rem;
    padding-left: 1.5rem;
}

.home-countdown__grid {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    align-items: center;
    gap: 3rem;
}

.home-countdown__lead {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-left: 0;
    text-align: center;
}

.home-countdown__title {
    margin: 0 0 1rem;
    font-size: 2.25rem;
    line-height: 1;
    font-weight: 900;
    letter-spacing: -0.025em;
    text-shadow: 0 4px 3px rgba(0, 0, 0, 0.07), 0 2px 2px rgba(0, 0, 0, 0.06);
}

.home-countdown__description {
    max-width: 28rem;
    margin: 0 auto;
    font-size: 1.25rem;
    line-height: 1.625;
    font-weight: 300;
    white-space: pre-line;
    opacity: 0.9;
}

.home-countdown__cta {
    display: inline-block;
    margin-top: 2rem;
    padding: 0.75rem 3rem;
    font-size: 1.125rem;
    line-height: 1.75rem;
    text-decoration: none;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}

.btn-pill-white--default { color: #8637c3; }
.btn-pill-white--purple { color: #7e22ce; }
.btn-pill-white--urgent { color: #ef4444; }
.btn-pill-white--black { color: #000000; }

.home-countdown__aside {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-right: 0;
}

.home-countdown__content {
    display: flex;
    width: 100%;
    max-width: 32rem;
    flex-direction: column;
    align-items: center;
}

.home-countdown__timer {
    display: flex;
    width: 100%;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.home-countdown__coupon-wrap {
    width: 100%;
    margin-top: 2rem;
}

.home-countdown__coupon-label {
    margin: 0 0 0.5rem;
    font-size: 10px;
    line-height: 1rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-align: center;
    text-transform: uppercase;
    opacity: 0.8;
}

.home-countdown__coupon {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.5rem;
}

.home-countdown__coupon-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding-left: 0.5rem;
}

.home-countdown__coupon-kicker {
    margin-bottom: 0.25rem;
    color: #ffffff;
    font-size: 10px;
    line-height: 1rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    opacity: 0.8;
}

.home-countdown__coupon-code {
    color: #ffffff;
    font-size: 1.875rem;
    line-height: 1;
    font-weight: 700;
    letter-spacing: 0.025em;
}

.home-countdown__copy-button {
    display: flex;
    flex-shrink: 0;
    width: 2.5rem;
    height: 2.5rem;
    align-items: center;
    justify-content: center;
    border-radius: 9999px;
    background-color: #ffffff;
    color: #111827;
    cursor: pointer;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    transition: transform 150ms cubic-bezier(0.4, 0, 0.2, 1);
}

.home-countdown__copy-button:hover { transform: scale(1.10); }
.home-countdown__copy-icon { width: 1.25rem; height: 1.25rem; }

.home-countdown__expired {
    width: 100%;
    padding-top: 1rem;
    padding-bottom: 1rem;
    text-align: center;
}

.home-countdown__expired-text {
    color: rgba(255, 255, 255, 0.5);
    font-size: 1.875rem;
    line-height: 2.25rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* Instagram */
.home-instagram {
    overflow: hidden;
    width: 100%;
    padding-top: 3rem;
    padding-bottom: 3rem;
    border-top: 1px solid #f3f4f6;
    background-color: #ffffff;
}

.home-instagram__inner,
.home-instagram__grid { width: 100%; }

.home-instagram__header {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 2rem;
    padding-right: 1.5rem;
    padding-left: 1.5rem;
    text-align: center;
}

.home-instagram__title {
    margin: 0 0 0.25rem;
    color: #111827;
    font-size: 1.25rem;
    line-height: 1.75rem;
    font-weight: 700;
}

.home-instagram__profile {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    color: #2563eb;
    font-weight: 500;
    text-decoration: none;
}

.home-instagram__profile:hover { color: #1d4ed8; }
.home-instagram__profile-icon { width: 1rem; height: 1rem; }
.insta-overlay__icon { width: 2.5rem; height: 2.5rem; color: #ffffff; }

.home-instagram__footer {
    margin-top: 2.5rem;
    padding-right: 1.5rem;
    padding-left: 1.5rem;
    text-align: center;
}

.home-instagram__button {
    display: inline-block;
    padding: 0.75rem 2.5rem;
    border: 1px solid #d1d5db;
    border-radius: 9999px;
    background-color: #ffffff;
    color: #1f2937;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    transition: all 150ms cubic-bezier(0.4, 0, 0.2, 1);
}

.home-instagram__button:hover {
    border-color: #111827;
    background-color: #111827;
    color: #ffffff;
}

@media (min-width: 640px) {
    .home-product-hero { padding-right: 2rem; padding-left: 2rem; }
    .home-product-hero__title { font-size: 1.875rem; line-height: 2.25rem; }
    .home-product-hero__subtitle { font-size: 1rem; line-height: 1.5rem; }
    .home-product-hero__cta { width: auto; }
    .home-product-hero__image-wrap { width: 14rem; height: 14rem; }
    .home-products-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .home-section { max-width: 640px; }
}

@media (min-width: 768px) {
    .home-slider__nav {
        top: 50%;
        width: 2.75rem;
        height: 2.75rem;
        font-size: 1rem;
        line-height: 1.5rem;
    }
    .home-slider__nav--prev { left: 1rem; }
    .home-slider__nav--next { right: 1rem; }

    .home-product-hero {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 2rem;
        padding-top: 2.5rem;
        padding-bottom: 2.5rem;
    }
    .home-product-hero__copy {
        order: 1;
        align-items: flex-start;
        margin-right: 0;
        margin-left: 0;
        padding: 2rem;
        text-align: left;
    }
    .home-product-hero__title { font-size: 3rem; line-height: 1; }
    .home-product-hero__subtitle { font-size: 1.125rem; line-height: 1.75rem; }
    .home-product-hero__cta { margin-bottom: 0; font-size: 1.125rem; line-height: 1.75rem; }
    .home-product-hero__visual { order: 2; }
    .home-product-hero__image-wrap { width: 20rem; height: 20rem; }

    .home-section { max-width: 768px; }
    .home-section__title { font-size: 2.25rem; line-height: 2.5rem; }
    .home-products-grid { gap: 2rem; }
    .home-testimonials__columns { columns: 2; }
    .home-promo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .home-promo-card { height: 24rem; }
    .home-promo-card__content { padding: 2rem; }
    .home-countdown { padding-top: 6rem; padding-bottom: 6rem; }
    .home-countdown__container { padding-right: 3rem; padding-left: 3rem; }
    .home-countdown__title { font-size: 3rem; }
    .home-countdown__description { font-size: 1.5rem; line-height: 2rem; }
}

@media (min-width: 1024px) {
    .home-product-hero { padding-right: 2.5rem; padding-left: 2.5rem; }
    .home-product-hero__image-wrap { width: 24rem; height: 24rem; }
    .home-section { max-width: 1024px; }
    .home-products-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .home-testimonials__columns { columns: 3; }
    .home-countdown__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .home-countdown__lead { align-items: flex-start; padding-left: 2rem; text-align: left; }
    .home-countdown__description { margin-right: 0; margin-left: 0; }
    .home-countdown__aside { align-items: flex-end; padding-right: 2rem; }
}

@media (min-width: 1280px) {
    .home-section { max-width: 1280px; }
    .home-products-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (min-width: 1536px) {
    .home-section { max-width: 1536px; }
}

/* ========================================================================== 
   ETAPA 4F — LOJA (loja.php)
   --------------------------------------------------------------------------
   Classes semânticas próprias da página Loja. O CSS específico já existente
   em loja.php (busca, chips, slider, accordion, skeleton e urgency-bar) foi
   preservado e continua responsável por esses componentes.
   ========================================================================== */

.store-page {
    background-color: #f9fafb;
    color: #1f2937;
    font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.store-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;
}

.store-main { padding: 2rem 0; }
.store-container {
    width: 100%;
    max-width: 80rem;
    margin-right: auto;
    margin-left: auto;
    padding-right: 1rem;
    padding-left: 1rem;
}

.store-layout {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.store-sidebar { width: 100%; }

.store-filter-toggle {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
    padding: 1rem;
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    background-color: #ffffff;
    color: #1f2937;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    transition: all 150ms cubic-bezier(0.4, 0, 0.2, 1);
}
.store-filter-toggle:active { background-color: #f9fafb; }
.store-filter-toggle__label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.store-filter-toggle__icon,
.store-filter-toggle__chevron {
    width: 1.25rem;
    height: 1.25rem;
}
.store-filter-toggle__icon { color: #2563eb; }
.store-filter-toggle__chevron {
    color: #9ca3af;
    transform: translateZ(0);
    transition: transform 150ms cubic-bezier(0.4, 0, 0.2, 1);
}

.store-filters-panel { width: 100%; }
.store-filter-card {
    padding: 1.5rem;
    border: 1px solid #f3f4f6;
    border-radius: 1rem;
    background-color: #ffffff;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}
.store-filter-card__search { margin-bottom: 2rem; }
.store-search-icon { width: 1.25rem; height: 1.25rem; }

.store-filter-section {
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #f3f4f6;
}
.store-filter-section--spaced { padding-top: 1rem; }
.store-filter-section--rating {
    padding-top: 1rem;
    padding-bottom: 0;
    border-bottom: 0;
}

.store-accordion-button {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
    padding: 0;
    border: 0;
    background: transparent;
    color: #9ca3af;
    font: inherit;
    font-size: 0.75rem;
    line-height: 1rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    cursor: pointer;
    transition: color 150ms cubic-bezier(0.4, 0, 0.2, 1);
}
.store-accordion-button--price { margin-bottom: 2rem; }
.store-accordion-button:hover { color: #2563eb; }
.store-accordion-icon { width: 1rem; height: 1rem; }

.store-category-list {
    display: flex;
    max-height: 20rem;
    flex-wrap: wrap;
    gap: 0.5rem;
    overflow-y: auto;
    padding-right: 0.5rem;
}
.store-slider-wrapper { margin-bottom: 1.5rem; }
.store-price-shortcuts {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.store-rating-minimum {
    margin-left: 0.5rem;
    color: #4b5563;
    font-size: 0.875rem;
    line-height: 1.25rem;
}

.store-clear-filters {
    margin-top: 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid #f3f4f6;
}
.store-clear-filters__link {
    display: block;
    width: 100%;
    padding: 0.75rem 0;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    color: #6b7280;
    font-size: 0.875rem;
    line-height: 1.25rem;
    font-weight: 500;
    text-align: center;
    text-decoration: none;
    transition: color 150ms cubic-bezier(0.4, 0, 0.2, 1), background-color 150ms cubic-bezier(0.4, 0, 0.2, 1);
}
.store-clear-filters__link:hover {
    background-color: #f9fafb;
    color: #2563eb;
}
.store-hidden { display: none !important; }

.store-products-area {
    position: relative;
    width: 100%;
    min-height: 500px;
}

.store-grid-overlay {
    position: absolute;
    inset: 0;
    z-index: 20;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 8rem;
    background-color: rgba(255, 255, 255, 0.5);
}
.store-grid-spinner-shell {
    padding: 1rem;
    border: 1px solid #f3f4f6;
    border-radius: 9999px;
    background-color: #ffffff;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}
@keyframes store-spin { to { transform: rotate(360deg); } }
.store-grid-spinner {
    width: 2rem;
    height: 2rem;
    color: #2563eb;
    animation: store-spin 1s linear infinite;
}
.store-grid-spinner__track { opacity: 0.25; }
.store-grid-spinner__head { opacity: 0.75; }

.store-results-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e5e7eb;
}
.store-results-toolbar__summary {
    margin: 0;
    color: #6b7280;
    font-size: 0.875rem;
    line-height: 1.25rem;
}
.store-results__count { color: #111827; }

.store-sort { position: relative; }
.store-sort__label {
    margin-right: 0.5rem;
    color: #6b7280;
    font-size: 0.875rem;
    line-height: 1.25rem;
}
.store-sort__select {
    appearance: none;
    padding: 0.5rem 2.5rem 0.5rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    background-color: #ffffff;
    color: #374151;
    font: inherit;
    font-size: 0.875rem;
    line-height: 1.25rem;
    font-weight: 500;
    cursor: pointer;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    transition: all 150ms cubic-bezier(0.4, 0, 0.2, 1);
}
.store-sort__select:hover { border-color: #9ca3af; }
.store-sort__select:focus {
    border-color: #3b82f6;
    outline: 2px solid transparent;
    outline-offset: 2px;
    box-shadow: 0 0 0 1px #3b82f6;
}
.store-sort__chevron {
    position: absolute;
    top: 0.625rem;
    right: 0.75rem;
    width: 1rem;
    height: 1rem;
    color: #6b7280;
    pointer-events: none;
}

.store-products-grid {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 1.5rem;
}

.store-product-card {
    display: flex;
    height: 100%;
    overflow: hidden;
    flex-direction: column;
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    background-color: #ffffff;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
}
.store-product-card:hover {
    border-color: #bfdbfe;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
}
.store-product-card__media {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    background-color: #f3f4f6;
}
.store-product-card__image {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 700ms cubic-bezier(0.4, 0, 0.2, 1);
}
.store-product-card:hover .store-product-card__image { transform: scale(1.10); }
.store-product-card__badges {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    z-index: 10;
    display: flex;
    gap: 0.25rem;
    pointer-events: none;
}
.store-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.5rem;
    border-radius: 9999px;
    color: #ffffff;
    font-size: 0.75rem;
    line-height: 1rem;
    font-weight: 700;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
}
.store-badge--flash {
    gap: 0.25rem;
    margin-right: 0.25rem;
    background-color: #f97316;
}
.store-badge--discount {
    margin-right: 0.25rem;
    background-color: #dc2626;
}
.store-badge--new { background-color: #3b82f6; }
.store-badge__icon { width: 0.75rem; height: 0.75rem; }

.store-product-card__wishlist {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    z-index: 20;
    display: flex;
    width: 2rem;
    height: 2rem;
    padding: 0;
    align-items: center;
    justify-content: center;
    border: 1px solid #f3f4f6;
    border-radius: 9999px;
    background-color: #ffffff;
    color: #9ca3af;
    font: inherit;
    cursor: pointer;
    transition: all 150ms cubic-bezier(0.4, 0, 0.2, 1);
}
.store-product-card__wishlist:hover {
    background-color: #f9fafb;
    transform: scale(1.10);
}
.store-product-card__wishlist-icon { width: 1.25rem; height: 1.25rem; }

.store-product-card__hover-overlay {
    position: absolute;
    inset: 0;
    z-index: 10;
    background-color: rgba(0, 0, 0, 0.60);
    opacity: 0;
    pointer-events: none;
    transition: opacity 300ms cubic-bezier(0.4, 0, 0.2, 1);
}
.store-product-card:hover .store-product-card__hover-overlay { opacity: 1; }

.store-product-card__actions {
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 20;
    display: flex;
    width: 100%;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1rem;
    border-top: 1px solid #f3f4f6;
    background-color: rgba(255, 255, 255, 0.90);
    transform: translateY(100%);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    transition: transform 300ms ease-in-out;
}
.store-product-card:hover .store-product-card__actions { transform: translateY(0); }
.store-product-card__add,
.store-product-card__buy {
    width: 100%;
    padding: 0.5rem 1rem;
    border: 0;
    border-radius: 0.375rem;
    color: #ffffff;
    font: inherit;
    font-size: 0.875rem;
    line-height: 1.25rem;
    cursor: pointer;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
    transition: background-color 150ms cubic-bezier(0.4, 0, 0.2, 1);
}
.store-product-card__add {
    background-color: #2563eb;
    font-weight: 700;
}
.store-product-card__add:hover { background-color: #1d4ed8; }
.store-product-card__add--success,
.store-product-card__add--success:hover { background-color: #16a34a; }
.store-product-card__buy {
    background-color: #1f2937;
    font-weight: 600;
}
.store-product-card__buy:hover { background-color: #111827; }

.store-product-card__body {
    display: flex;
    flex-grow: 1;
    flex-direction: column;
    padding: 1rem;
    background-color: #ffffff;
}
.store-product-card__rating {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    margin-bottom: 0.5rem;
}
.store-rating-star { font-size: 0.875rem; line-height: 1.25rem; }
.store-rating-star--filled { color: #facc15; }
.store-rating-star--empty { color: #d1d5db; }
.store-product-card__rating-count {
    color: #9ca3af;
    font-size: 0.75rem;
    line-height: 1rem;
}
.store-product-card__title {
    overflow: hidden;
    margin: 0 0 0.25rem;
    color: #111827;
    font-size: 1.125rem;
    line-height: 1.75rem;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.store-product-card__title-link {
    color: inherit;
    text-decoration: none;
    transition: color 150ms cubic-bezier(0.4, 0, 0.2, 1);
}
.store-product-card__title-link:hover { color: #2563eb; }
.store-product-card__description {
    display: -webkit-box;
    overflow: hidden;
    margin: 0 0 0.75rem;
    color: #6b7280;
    font-size: 0.75rem;
    line-height: 1rem;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}
.store-product-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 0.75rem;
    border-top: 1px solid #f3f4f6;
}
.store-product-card__price-stack {
    display: flex;
    flex-direction: column;
}
.store-product-card__old-price {
    display: block;
    color: #9ca3af;
    font-size: 0.75rem;
    line-height: 1rem;
    text-decoration-line: line-through;
}
.store-product-card__price {
    color: #2563eb;
    font-size: 1.25rem;
    line-height: 1.75rem;
    font-weight: 700;
    letter-spacing: -0.025em;
}

.store-empty-state,
.store-grid-message {
    grid-column: span 3 / span 3;
    text-align: center;
}
.store-empty-state { padding: 5rem 0; }
.store-empty-state--ajax {
    border: 1px dashed #d1d5db;
    border-radius: 0.75rem;
    background-color: #f3f4f6;
}
.store-empty-state__title {
    margin: 0 0 0.5rem;
    color: #9ca3af;
    font-size: 1.25rem;
    line-height: 1.75rem;
    font-weight: 700;
}
.store-empty-state__title--large {
    color: #6b7280;
    font-size: 1.5rem;
    line-height: 2rem;
}
.store-empty-state__text {
    margin: 0;
    color: #6b7280;
}
.store-empty-state__text--muted { color: #9ca3af; }
.store-grid-message { padding: 2.5rem 0; }
.store-grid-message--error { color: #ef4444; }

.store-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 3rem;
}
.store-pagination__ellipsis,
.store-pagination__link {
    display: flex;
    width: 2.5rem;
    height: 2.5rem;
    align-items: center;
    justify-content: center;
}
.store-pagination__ellipsis {
    color: #9ca3af;
    font-weight: 700;
}
.store-pagination__link {
    border: 1px solid;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    line-height: 1.25rem;
    text-decoration: none;
    transition: all 150ms cubic-bezier(0.4, 0, 0.2, 1);
}
.store-pagination__link--active {
    border-color: transparent;
    background-color: #2563eb;
    color: #ffffff;
    font-weight: 700;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
}
.store-pagination__link--idle {
    border-color: #d1d5db;
    background-color: #ffffff;
    color: #4b5563;
}
.store-pagination__link--idle:hover {
    border-color: #2563eb;
    color: #2563eb;
}

.store-skeleton-card {
    overflow: hidden;
    border: 1px solid #f3f4f6;
    border-radius: 0.75rem;
    background-color: #ffffff;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}
.store-skeleton-card__media {
    width: 100%;
    aspect-ratio: 1 / 1;
}
.store-skeleton-card__body { padding: 1.25rem; }
.store-skeleton-card__body > :not([hidden]) ~ :not([hidden]) { margin-top: 0.75rem; }
.store-skeleton-card__line { height: 1rem; }
.store-skeleton-card__line--wide { width: 75%; }
.store-skeleton-card__line--medium { width: 50%; }
.store-skeleton-card__footer {
    display: flex;
    justify-content: space-between;
    padding-top: 0.5rem;
}
.store-skeleton-card__line--price { width: 33.333333%; }
.store-skeleton-card__circle {
    width: 2rem;
    height: 2rem;
    border-radius: 9999px;
}

@media (min-width: 640px) {
    .store-products-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1024px) {
    .store-main { padding: 3rem 0; }
    .store-layout { flex-direction: row; }
    .store-sidebar { width: 25%; }
    .store-filter-toggle { display: none; }
    .store-filters-panel {
        max-height: none !important;
        opacity: 1 !important;
    }
    .store-products-area { width: 75%; }
    .store-products-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ==========================================================================
   ETAPA 4G — PÁGINA DE PRODUTO
   --------------------------------------------------------------------------
   Camada semântica da produto.php. Mantém Tailwind ativo globalmente como
   fallback para páginas ainda não migradas, mas a página de produto deixa de
   depender das utilidades Tailwind em seu próprio markup e estados JS.
   ========================================================================== */

.product-page {
    background-color: #f9fafb;
    color: #1f2937;
}

.product-main {
    padding: 3rem 0;
    border-bottom: 1px solid #e5e7eb;
    background-color: #ffffff;
}
.product-container {
    width: 100%;
    max-width: 64rem;
    margin-right: auto;
    margin-left: auto;
    padding-right: 1.5rem;
    padding-left: 1.5rem;
}
.product-container--wide { max-width: 72rem; }
.product-main__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
}
.product-gallery-main {
    position: relative;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}
.product-main-wishlist,
.product-recommendation-wishlist {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 1px solid #f3f4f6;
    border-radius: 9999px;
    background-color: #ffffff;
    color: #9ca3af;
    font: inherit;
    cursor: pointer;
    transition: all 150ms cubic-bezier(0.4, 0, 0.2, 1);
}
.product-main-wishlist {
    top: 1rem;
    right: 1rem;
    z-index: 20;
    width: 2.5rem;
    height: 2.5rem;
}
.product-main-wishlist:hover,
.product-recommendation-wishlist:hover {
    background-color: #f9fafb;
    transform: scale(1.10);
}
.product-main-wishlist__icon { width: 1.5rem; height: 1.5rem; }

.product-preview {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #f3f4f6;
}
.product-preview__title {
    margin: 0 0 1rem;
    color: #1f2937;
    font-size: 1.25rem;
    line-height: 1.75rem;
    font-weight: 700;
}
.product-preview__media {
    border: 1px solid #f3f4f6;
    background-color: #f9fafb;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.product-info {
    display: flex;
    flex-direction: column;
}
.product-title {
    margin: 0 0 0.5rem;
    color: #111827;
    font-size: 1.875rem;
    line-height: 2.25rem;
    font-weight: 700;
}
.product-category-link {
    display: flex;
    width: fit-content;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    color: #6b7280;
    font-size: 0.875rem;
    line-height: 1.25rem;
    text-decoration: none;
    transition: color 150ms cubic-bezier(0.4, 0, 0.2, 1);
}
.product-category-link:hover { color: #2563eb; }
.product-icon--sm { width: 1rem; height: 1rem; flex: 0 0 auto; }
.product-category-link__label {
    text-decoration-line: underline;
    text-decoration-style: dotted;
}
.product-category-link:hover .product-category-link__label { text-decoration-style: solid; }
.product-rating-summary {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    cursor: pointer;
}
.product-rating-summary__count {
    margin-top: 0.25rem;
    color: #6b7280;
    font-size: 0.875rem;
    line-height: 1.25rem;
    text-decoration-line: underline;
    text-decoration-style: dotted;
    transition: color 150ms cubic-bezier(0.4, 0, 0.2, 1);
}
.product-rating-summary:hover .product-rating-summary__count { color: #2563eb; }
.product-rating-empty { margin-bottom: 1rem; }
.product-muted-small {
    color: #9ca3af;
    font-size: 0.875rem;
    line-height: 1.25rem;
}
.product-subtitle {
    margin: 0 0 1.5rem;
    color: #4b5563;
    font-size: 1.125rem;
    line-height: 1.75rem;
}
.product-price-panel {
    display: flex;
    width: fit-content;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    border: 1px solid #f3f4f6;
    border-radius: 0.5rem;
    background-color: #f9fafb;
}
.product-price {
    font-size: 2.25rem;
    line-height: 2.5rem;
    font-weight: 700;
}
.product-price--standard { color: #2563eb; }
.product-price--flash { color: #ea580c; }
.product-old-price {
    color: #9ca3af;
    font-size: 1.25rem;
    line-height: 1.75rem;
    text-decoration-line: line-through;
}
.product-discount-badge {
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.875rem;
    line-height: 1.25rem;
    font-weight: 700;
}
.product-discount-badge--flash { background-color: #ffedd5; color: #c2410c; }
.product-discount-badge--standard { background-color: #fee2e2; color: #b91c1c; }

.product-countdown {
    margin-bottom: 2rem;
    padding: 1rem;
    border: 1px solid #ffedd5;
    border-radius: 0.5rem;
    background-color: #fff7ed;
}
.product-countdown__heading {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0 0 0.5rem;
    color: #ea580c;
    font-size: 0.875rem;
    line-height: 1.25rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}
.product-countdown__icon {
    width: 1rem;
    height: 1rem;
    animation: product-pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}
.product-countdown__number { color: #ea580c; }
.product-countdown__separator { color: #fdba74; }
@keyframes product-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.product-stock { margin-bottom: 1.5rem; }
.product-stock-message {
    font-weight: 700;
}
.product-stock-message--unavailable {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    background-color: #fef2f2;
    color: #ef4444;
    font-size: 0.875rem;
    line-height: 1.25rem;
}
.product-stock-message--low {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    color: #ea580c;
    font-size: 0.75rem;
    line-height: 1rem;
    letter-spacing: 0.025em;
    text-transform: uppercase;
    animation: product-pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}
.product-benefits {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}
.product-benefit {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.25rem 0.75rem;
    border: 1px solid;
    border-radius: 9999px;
    font-size: 0.875rem;
    line-height: 1.25rem;
    font-weight: 500;
}
.product-benefit--digital {
    border-color: #e5e7eb;
    background-color: #f3f4f6;
    color: #4b5563;
}
.product-benefit--instant {
    border-color: #bbf7d0;
    background-color: #f0fdf4;
    color: #15803d;
}
.product-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: auto;
}
.product-add-button,
.product-buy-button {
    display: block;
    width: 100%;
    padding: 1rem 2rem;
    border-radius: 9999px;
    font: inherit;
    font-size: 1.125rem;
    line-height: 1.75rem;
    font-weight: 700;
    text-align: center;
    cursor: pointer;
    transition: all 150ms cubic-bezier(0.4, 0, 0.2, 1);
}
.product-add-button {
    border: 0;
    background-color: #2563eb;
    color: #ffffff;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
}
.product-add-button:hover {
    background-color: #1d4ed8;
    box-shadow: 0 10px 15px -3px rgba(191, 219, 254, 1), 0 4px 6px -4px rgba(191, 219, 254, 1);
    transform: scale(1.02);
}
.product-buy-button { border: 1px solid #e5e7eb; }
.product-buy-button--ready {
    background-color: #ffffff;
    color: #1f2937;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
}
.product-buy-button--ready:hover { background-color: #f9fafb; color: #000000; }
.product-buy-button--disabled {
    background-color: #f3f4f6;
    color: #9ca3af;
    cursor: not-allowed;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
}
.product-ssl-badge {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    margin-left: 0.5rem;
    padding: 0.25rem 0.5rem;
    border: 1px solid #bbf7d0;
    border-radius: 0.25rem;
    background-color: #f0fdf4;
    color: #16a34a;
    font-size: 0.75rem;
    line-height: 1rem;
    font-weight: 700;
}
.product-ssl-badge__icon { width: 0.75rem; height: 0.75rem; }
.product-share-icon { width: 1.25rem; height: 1.25rem; }

.product-details {
    padding: 3rem 0;
    border-top: 1px solid #e5e7eb;
    background-color: #f9fafb;
}
.product-tabs {
    display: flex;
    margin-bottom: 2rem;
    border-bottom: 1px solid #e5e7eb;
}
.product-tab-button {
    padding: 1rem 1.5rem;
    font: inherit;
    font-size: 1.125rem;
    line-height: 1.75rem;
    font-weight: 500;
    background: transparent;
    cursor: pointer;
}
.product-tab-button:focus { outline: 2px solid transparent; outline-offset: 2px; }
.product-description {
    max-width: none;
    color: #4b5563;
    font-size: 1.125rem;
    line-height: 1.625;
}
.product-description__empty { color: #6b7280; font-style: italic; }
.product-reviews-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 3rem;
}
.product-review-list > :not([hidden]) ~ :not([hidden]) { margin-top: 1.5rem; }
.product-review-empty {
    padding: 2.5rem 0;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    background-color: #ffffff;
    text-align: center;
}
.product-review-empty__title {
    margin: 0;
    color: #6b7280;
    font-size: 1.125rem;
    line-height: 1.75rem;
}
.product-review-card {
    padding: 1.5rem;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    background-color: #ffffff;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}
.product-review-card__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 0.75rem;
}
.product-review-card__name { margin: 0; color: #111827; font-weight: 700; }
.product-review-card__date { color: #9ca3af; font-size: 0.75rem; line-height: 1rem; }
.product-review-card__stars {
    color: #facc15;
    font-size: 1.125rem;
    line-height: 1.75rem;
    letter-spacing: 0.025em;
}
.product-review-card__comment { margin: 0; color: #4b5563; }
.product-review-form-card {
    position: sticky;
    top: 1rem;
    padding: 2rem;
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    background-color: #ffffff;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
}
.product-review-form__title {
    margin: 0 0 1.5rem;
    color: #111827;
    font-size: 1.5rem;
    line-height: 2rem;
    font-weight: 700;
}
.product-review-form > :not([hidden]) ~ :not([hidden]) { margin-top: 1.25rem; }
.product-form-label {
    display: block;
    color: #374151;
    font-size: 0.875rem;
    line-height: 1.25rem;
    font-weight: 500;
}
.product-form-control {
    width: 100%;
    margin-top: 0.25rem;
    padding: 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    background-color: #ffffff;
    color: inherit;
    font: inherit;
}
.product-form-control:focus { border-color: #3b82f6; outline: none; }
.product-rating-input { margin-top: 0.25rem; }
.product-recaptcha { margin-bottom: 1rem; }
.product-review-submit {
    display: block;
    width: 100%;
    padding: 0.75rem 1.5rem;
    border: 0;
    border-radius: 9999px;
    background-color: #111827;
    color: #ffffff;
    font: inherit;
    font-size: 1.125rem;
    line-height: 1.75rem;
    font-weight: 700;
    text-align: center;
    cursor: pointer;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
    transition: all 150ms cubic-bezier(0.4, 0, 0.2, 1);
}
.product-review-submit:hover { background-color: #000000; }
.product-review-status {
    margin-top: 1rem;
    font-size: 0.875rem;
    line-height: 1.25rem;
    font-weight: 500;
    text-align: center;
}
.product-review-status--error { color: #ef4444; }
.product-review-status--pending { color: #4b5563; }
.product-review-status--success { color: #16a34a; }

.product-related-section {
    padding: 2rem 0;
    border-top: 1px solid #e5e7eb;
    background-color: #f9fafb;
}
.product-related-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0 0 1rem;
    color: #6b7280;
    font-size: 0.875rem;
    line-height: 1.25rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}
.product-related-empty { color: #6b7280; font-size: 0.875rem; line-height: 1.25rem; }

.product-recommendations {
    padding: 3rem 0;
    border-top: 1px solid #e5e7eb;
    background-color: #ffffff;
}
.product-recommendations__title {
    margin: 0 0 2rem;
    color: #111827;
    font-size: 1.875rem;
    line-height: 2.25rem;
    font-weight: 700;
    text-align: center;
}
.product-recommendations__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}
.product-recommendation-card { height: 100%; }
.product-recommendation-card__media {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    background-color: #f3f4f6;
}
.product-recommendation-card__image {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 500ms cubic-bezier(0.4, 0, 0.2, 1);
}
.product-recommendation-card:hover .product-recommendation-card__image { transform: scale(1.10); }
.product-recommendation-badge {
    position: absolute;
    top: 0.5rem;
    left: 0.5rem;
    padding: 0.25rem 0.5rem;
    border-radius: 9999px;
    color: #ffffff;
    font-size: 0.75rem;
    line-height: 1rem;
    font-weight: 700;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
}
.product-recommendation-badge--flash { background-color: #f97316; }
.product-recommendation-badge--discount { background-color: #dc2626; }
.product-recommendation-wishlist {
    top: 0.5rem;
    right: 0.5rem;
    z-index: 10;
    width: 2rem;
    height: 2rem;
}
.product-recommendation-wishlist__icon { width: 1.25rem; height: 1.25rem; }
.product-recommendation-card__body {
    display: flex;
    flex-grow: 1;
    flex-direction: column;
    padding: 1rem;
}
.product-recommendation-card__title {
    overflow: hidden;
    margin: 0;
    color: #111827;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: color 150ms cubic-bezier(0.4, 0, 0.2, 1);
}
.product-recommendation-card__title:hover { color: #2563eb; }
.product-recommendation-card__title a { color: inherit; text-decoration: none; }
.product-recommendation-card__footer {
    margin-top: auto;
    padding-top: 0.5rem;
    border-top: 1px solid #f3f4f6;
}
.product-recommendation-card__price {
    color: #2563eb;
    font-size: 1.125rem;
    line-height: 1.75rem;
    font-weight: 700;
}
.product-recommendation-card__actions {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 0.75rem;
    border-top: 1px solid #e5e7eb;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}
.product-recommendation-card:hover .add-to-cart-overlay { transform: translateY(0); opacity: 1; }
.product-recommendation-card__add {
    width: 100%;
    padding: 0.5rem 0.75rem;
    border: 0;
    border-radius: 0.375rem;
    background-color: #2563eb;
    color: #ffffff;
    font: inherit;
    font-size: 0.875rem;
    line-height: 1.25rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    transition: background-color 150ms cubic-bezier(0.4, 0, 0.2, 1);
}
.product-recommendation-card__add:hover { background-color: #1d4ed8; }

.product-lightbox {
    position: fixed;
    inset: 0;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background-color: rgba(0, 0, 0, 0.90);
}
.product-lightbox--hidden { display: none; }
.product-lightbox__close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 50;
    padding: 0.5rem;
    border: 0;
    background: transparent;
    color: #ffffff;
    cursor: pointer;
}
.product-lightbox__close:hover { color: #d1d5db; }
.product-lightbox__icon { width: 2rem; height: 2rem; }
.product-lightbox__nav { position: absolute; z-index: 50; border: 0; cursor: pointer; }
.product-lightbox__nav--prev { left: 1rem; }
.product-lightbox__nav--next { right: 1rem; }
.product-lightbox__stage {
    position: relative;
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
}
.product-lightbox__image {
    max-width: 100%;
    max-height: 100%;
    border-radius: 0.375rem;
    object-fit: contain;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

@media (min-width: 640px) {
    .product-recommendations__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (min-width: 768px) {
    .product-main__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 3rem;
    }
    .product-title {
        font-size: 2.25rem;
        line-height: 2.5rem;
    }
    .product-reviews-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .product-recommendations__grid { gap: 2rem; }
}

/* ========================================================================== 
   ETAPA 4H — CARRINHO (carrinho.php) COM CSS PRÓPRIO
   --------------------------------------------------------------------------
   Camada semântica da página de carrinho. O Tailwind permanece carregado
   globalmente como fallback para páginas ainda não migradas, porém
   carrinho.php não depende de utilitários Tailwind em seu próprio markup ou
   nos estados visuais gerados por JavaScript.
   ========================================================================== */

.cart-page {
    margin: 0;
    background-color: #f9fafb;
    color: #1f2937;
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.cart-page *,
.cart-page *::before,
.cart-page *::after { box-sizing: border-box; }

.cart-page__main { padding: 3rem 0; }
.cart-page__container {
    width: 100%;
    max-width: 72rem;
    margin-right: auto;
    margin-left: auto;
    padding-right: 1rem;
    padding-left: 1rem;
}

@keyframes cart-page-bounce {
    0%, 100% { transform: translateY(-25%); animation-timing-function: cubic-bezier(0.8, 0, 1, 1); }
    50% { transform: none; animation-timing-function: cubic-bezier(0, 0, 0.2, 1); }
}

@keyframes cart-page-pulse {
    50% { opacity: 0.5; }
}

.cart-page__notice {
    margin-bottom: 2rem;
    padding: 1rem;
    border: 1px solid transparent;
    border-radius: 0.5rem;
    font-weight: 700;
    text-align: center;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}
.cart-page__notice--success {
    border-color: #bbf7d0;
    background-color: #dcfce7;
    color: #166534;
    animation: cart-page-bounce 1s infinite;
}
.cart-page__notice--warning {
    border-color: #fef08a;
    background-color: #fef9c3;
    color: #854d0e;
}

.cart-page__title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 0 0 2rem;
    color: #111827;
    font-size: 1.875rem;
    line-height: 2.25rem;
    font-weight: 700;
}
.cart-page__title-icon { width: 2rem; height: 2rem; color: #2563eb; }

.cart-page__empty {
    padding: 5rem 0;
    border: 1px dashed #e5e7eb;
    border-radius: 0.75rem;
    background-color: #ffffff;
    text-align: center;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}
.cart-page__empty-icon { margin-bottom: 1rem; font-size: 3.75rem; line-height: 1; opacity: 0.5; }
.cart-page__empty-text { margin: 0 0 1.5rem; color: #6b7280; font-size: 1.25rem; line-height: 1.75rem; }
.cart-page__empty-link {
    display: inline-block;
    padding: 0.75rem 2rem;
    border-radius: 9999px;
    background-color: #2563eb;
    color: #ffffff;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 10px 15px -3px rgba(59, 130, 246, 0.30), 0 4px 6px -4px rgba(59, 130, 246, 0.30);
    transition: background-color 150ms cubic-bezier(0.4, 0, 0.2, 1);
}
.cart-page__empty-link:hover { background-color: #1d4ed8; }

.cart-page__layout { display: flex; flex-direction: column; gap: 2rem; }
.cart-page__items { width: 100%; }
.cart-page__items > * + * { margin-top: 1rem; }

.cart-page-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    background-color: #ffffff;
    transition: all 300ms ease;
}
.cart-page-item:hover {
    border-color: #bfdbfe;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}
.cart-page-item__thumb {
    width: 6rem;
    height: 6rem;
    flex-shrink: 0;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    border-radius: 0.375rem;
    background-color: #f3f4f6;
}
.cart-page-item__image { display: block; width: 100%; height: 100%; object-fit: cover; }
.cart-page-item__details { flex: 1 1 0%; text-align: center; }
.cart-page-item__title { margin: 0; color: #111827; font-size: 1.125rem; line-height: 1.75rem; font-weight: 700; }
.cart-page-item__offer {
    display: flex;
    width: fit-content;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    margin-top: 0.25rem;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    background-color: #fff7ed;
    color: #ea580c;
    font-size: 0.75rem;
    line-height: 1rem;
    font-weight: 700;
}
.cart-page-item__offer-icon { width: 0.75rem; height: 0.75rem; animation: cart-page-pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite; }
.cart-page-item__offer-time { font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; }
.cart-page-item__offer-expired { color: #9ca3af; font-weight: 400; }
.cart-page-item__price-stack { display: flex; flex-direction: column; align-items: center; text-align: right; }
.cart-page-item__old-price { color: #9ca3af; font-size: 0.875rem; line-height: 1.25rem; text-decoration-line: line-through; }
.cart-page-item__price { color: #2563eb; font-size: 1.25rem; line-height: 1.75rem; font-weight: 700; }
.cart-page-item__remove {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    margin-top: 0.5rem;
    padding: 0;
    border: 0;
    background: transparent;
    color: #ef4444;
    font: inherit;
    font-size: 0.875rem;
    line-height: 1.25rem;
    font-weight: 500;
    text-decoration-line: underline;
    cursor: pointer;
}
.cart-page-item__remove:hover { color: #b91c1c; }
.cart-page-item__remove-icon { width: 1rem; height: 1rem; }

.cart-page__clear-wrap { display: flex; justify-content: flex-end; margin-top: 1rem; }
.cart-page__clear {
    padding: 0;
    border: 0;
    background: transparent;
    color: #6b7280;
    font: inherit;
    font-size: 0.875rem;
    line-height: 1.25rem;
    text-decoration-line: underline;
    cursor: pointer;
    transition: color 150ms cubic-bezier(0.4, 0, 0.2, 1);
}
.cart-page__clear:hover { color: #ef4444; }

.cart-page__summary-column { width: 100%; }
.cart-page-summary {
    position: sticky;
    top: 1rem;
    padding: 1.5rem;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    background-color: #ffffff;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
}
.cart-page-summary__title {
    margin: 0 0 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e5e7eb;
    color: #111827;
    font-size: 1.25rem;
    line-height: 1.75rem;
    font-weight: 700;
}
.cart-page-summary__rows { margin-bottom: 1.5rem; }
.cart-page-summary__rows > * + * { margin-top: 0.75rem; }
.cart-page-summary__row { display: flex; justify-content: space-between; color: #4b5563; }
.cart-page-summary__row--discount {
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    background-color: #f0fdf4;
    color: #16a34a;
    font-weight: 700;
}
.cart-page-summary__total {
    display: flex;
    justify-content: space-between;
    padding-top: 1rem;
    border-top: 1px solid #e5e7eb;
    color: #111827;
    font-size: 1.5rem;
    line-height: 2rem;
    font-weight: 800;
}
.cart-page-summary__total-value { color: #2563eb; }
.cart-page-summary__coupon { margin-bottom: 1.5rem; }
.cart-page-summary__coupon-label { display: block; margin-bottom: 0.5rem; color: #374151; font-size: 0.875rem; line-height: 1.25rem; font-weight: 700; }
.cart-page-summary__coupon-row { display: flex; gap: 0.5rem; }
.cart-page-summary__coupon-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    outline: none;
    background-color: #ffffff;
    color: #1f2937;
    font: inherit;
    text-transform: uppercase;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    transition: all 150ms cubic-bezier(0.4, 0, 0.2, 1);
}
.cart-page-summary__coupon-input:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 2px #bfdbfe;
}
.cart-page-summary__coupon-button {
    padding: 0.5rem 1.25rem;
    border: 0;
    border-radius: 0.5rem;
    background-color: #1f2937;
    color: #ffffff;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    transition: all 150ms cubic-bezier(0.4, 0, 0.2, 1);
}
.cart-page-summary__coupon-button:hover { background-color: #000000; }
.cart-page-summary__coupon-message {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    margin: 0.5rem 0 0;
    color: #16a34a;
    font-size: 0.75rem;
    line-height: 1rem;
    font-weight: 500;
}
.cart-page-summary__coupon-message-icon { width: 0.75rem; height: 0.75rem; }
.cart-page-summary__checkout {
    display: block;
    width: 100%;
    padding: 1rem 0;
    border-radius: 0.5rem;
    background-color: #16a34a;
    color: #ffffff;
    font-size: 1.125rem;
    line-height: 1.75rem;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    transition: all 150ms cubic-bezier(0.4, 0, 0.2, 1);
}
.cart-page-summary__checkout:hover {
    background-color: #15803d;
    box-shadow: 0 10px 15px -3px rgba(34, 197, 94, 0.4), 0 4px 6px -4px rgba(34, 197, 94, 0.4);
    transform: translateY(-0.25rem);
}
.cart-page-summary__security {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
    padding: 0.5rem 0;
    border-radius: 0.25rem;
    background-color: #f3f4f6;
    color: #6b7280;
    font-size: 0.75rem;
    line-height: 1rem;
}
.cart-page-summary__security-icon { width: 1rem; height: 1rem; color: #16a34a; }

.cart-page-popular { margin-top: 4rem; }
.cart-page-popular__title {
    margin: 0 0 1.5rem;
    padding-left: 1rem;
    border-left: 4px solid #2563eb;
    color: #111827;
    font-size: 1.5rem;
    line-height: 2rem;
    font-weight: 700;
}
.cart-page-popular__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
.cart-page__hidden { display: none !important; }

.cart-popular-card__media {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    background-color: #f3f4f6;
}
.cart-popular-card__image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 500ms cubic-bezier(0.4, 0, 0.2, 1);
}
.cart-popular-card:hover .cart-popular-card__image { transform: scale(1.10); }
.cart-popular-card__content { padding: 0.75rem; }
.cart-popular-card__title {
    overflow: hidden;
    margin: 0 0 0.25rem;
    color: #111827;
    font-size: 0.875rem;
    line-height: 1.25rem;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.cart-popular-card__price-row { display: flex; align-items: center; justify-content: space-between; }
.cart-popular-card__price { color: #2563eb; font-size: 1.125rem; line-height: 1.75rem; font-weight: 700; }
.cart-popular-card__overlay {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 0.75rem;
    border-top: 1px solid #f3f4f6;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}
.cart-popular-card:hover .cart-popular-card__overlay { transform: translateY(0); opacity: 1; }
.cart-popular-card__button {
    width: 100%;
    padding: 0.5rem 0.75rem;
    border: 0;
    border-radius: 0.375rem;
    background-color: #2563eb;
    color: #ffffff;
    font: inherit;
    font-size: 0.875rem;
    line-height: 1.25rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    transition: background-color 150ms cubic-bezier(0.4, 0, 0.2, 1);
}
.cart-popular-card__button:hover { background-color: #1d4ed8; }
.cart-popular-card__button:disabled { cursor: default; opacity: 0.65; }

@media (min-width: 640px) {
    .cart-page-item { flex-direction: row; }
    .cart-page-item__details { text-align: left; }
    .cart-page-item__offer { justify-content: flex-start; }
    .cart-page-item__price-stack { align-items: flex-end; }
}

@media (min-width: 768px) {
    .cart-page-popular__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (min-width: 1024px) {
    .cart-page__layout { flex-direction: row; }
    .cart-page__items { width: 66.666667%; }
    .cart-page__summary-column { width: 33.333333%; }
}

/* ==========================================================================\n   ETAPA 4I — CHECKOUT.PHP COM CSS PRÓPRIO\n   --------------------------------------------------------------------------\n   Camada visual semântica da página de checkout. O Tailwind permanece\n   carregado temporariamente como fallback nesta etapa, mas checkout.php\n   não depende mais de utilitários Tailwind em seu próprio markup/JS.\n   ========================================================================== */
.checkout-header {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 1rem 0;
  background: #fff;
  border-bottom: 1px solid #e5e7eb;
  box-shadow: 0 1px 2px 0 rgba(0,0,0,.05);
}
.checkout-header-inner {
  width: 100%;
  max-width: 1536px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.checkout-brand { display: flex; align-items: center; gap: .5rem; transition: opacity .15s ease; }
.checkout-brand:hover { opacity: .8; }
.checkout-brand-logo { width: auto; height: 2rem; object-fit: contain; }
.checkout-brand-name { font-size: 1.25rem; line-height: 1.75rem; font-weight: 700; color: #111827; letter-spacing: -.025em; }
.checkout-security-badge {
  display: flex; align-items: center; gap: .5rem; padding: .375rem .75rem;
  color: #15803d; font-size: .75rem; line-height: 1rem; font-weight: 700;
  background: #f0fdf4; border: 1px solid #bbf7d0; border-radius: 9999px;
}
.checkout-security-icon { width: 1rem; height: 1rem; }
.checkout-security-full { display: none; }
.checkout-security-short { display: inline; }

.checkout-main { padding: 3rem 0; }
.checkout-shell { width: 100%; max-width: 72rem; margin: 0 auto; padding: 0 1.5rem; }
.checkout-page-title { margin: 0 0 2rem; text-align: center; color: #111827; font-size: 1.875rem; line-height: 2.25rem; font-weight: 800; letter-spacing: -.025em; }
.checkout-alert { margin-bottom: 2rem; padding: 1rem; border-radius: .25rem; }
.checkout-alert--warning { display: flex; align-items: flex-start; gap: .75rem; color: #92400e; background: #fffbeb; border-left: 4px solid #facc15; border-radius: 0 .5rem .5rem 0; box-shadow: 0 1px 2px rgba(0,0,0,.05); }
.checkout-alert--error { color: #b91c1c; background: #fef2f2; border: 1px solid #fecaca; text-align: center; font-weight: 500; }
.checkout-alert-icon { width: 1.5rem; height: 1.5rem; flex-shrink: 0; color: #eab308; }
.checkout-alert-title { margin: 0; color: #854d0e; font-weight: 700; }
.checkout-alert-text { margin: 0; color: #a16207; font-size: .875rem; line-height: 1.25rem; }

.checkout-layout { display: grid; grid-template-columns: minmax(0,1fr); gap: 2rem; }
.checkout-panel, .checkout-summary { padding: 1.5rem; background: #fff; border: 1px solid #f3f4f6; border-radius: .75rem; box-shadow: 0 10px 15px -3px rgba(0,0,0,.1), 0 4px 6px -4px rgba(0,0,0,.1); }
.checkout-form { display: flex; flex-direction: column; gap: 2rem; }
.checkout-section-title { margin: 0 0 1.5rem; display: flex; align-items: center; gap: .5rem; color: #111827; font-size: 1.25rem; line-height: 1.75rem; font-weight: 700; }
.checkout-section-title--compact { margin-bottom: 1rem; }
.checkout-step-badge { width: 2rem; height: 2rem; display: inline-flex; align-items: center; justify-content: center; flex: 0 0 2rem; color: #2563eb; background: #dbeafe; border-radius: 9999px; font-size: .875rem; line-height: 1.25rem; }
.checkout-fields { padding-left: 2.5rem; display: flex; flex-direction: column; gap: 1rem; }
.checkout-fields-grid { display: grid; grid-template-columns: minmax(0,1fr); gap: 1rem; }
.checkout-separator { margin: 0; border: 0; border-top: 1px solid #f3f4f6; }

.checkout-payment-grid { margin-bottom: 2rem; padding-left: 2.5rem; display: grid; grid-template-columns: minmax(0,1fr); gap: 1rem; }
.checkout-payment-card { position: relative; height: 8rem; padding: 1rem; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .75rem; overflow: hidden; border-radius: .75rem; box-shadow: 0 1px 2px rgba(0,0,0,.05); }
.checkout-payment-icon { width: 2rem; height: 2rem; transition: color .15s ease; }
.checkout-payment-icon--pix { color: #22c55e; }
.checkout-payment-icon--card { color: #3b82f6; }
.checkout-payment-icon--paypal { color: #1d4ed8; }
.checkout-payment-name { color: #4b5563; font-size: .875rem; line-height: 1.25rem; font-weight: 700; }
.payment-card:hover .checkout-payment-name { color: #111827; }
.checkout-payment-tag { padding: .125rem .5rem; border-radius: .25rem; font-size: 10px; line-height: 1rem; font-weight: 700; text-transform: uppercase; }
.checkout-payment-tag--green { color: #15803d; background: #dcfce7; }
.checkout-payment-tag--neutral { color: #4b5563; background: #f3f4f6; }
.checkout-payment-tag--blue { color: #1d4ed8; background: #dbeafe; }
.checkout-payment-logo { width: auto; height: 2rem; object-fit: contain; transition: transform .15s ease; }
.payment-card:hover .checkout-payment-logo { transform: scale(1.05); }
.checkout-payment-fields { padding-left: 0; }
.checkout-document-grid { margin-bottom: 1rem; display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1rem; }
.checkout-pix-info { margin-top: .5rem; padding: 1.5rem; text-align: center; background: #f0fdf4; border: 1px solid #dcfce7; border-radius: .5rem; }
.checkout-pix-icon { width: 4rem; height: 4rem; margin: 0 auto .75rem; color: #22c55e; }
.checkout-pix-title { margin: 0; color: #166534; font-size: 1.125rem; line-height: 1.75rem; font-weight: 700; }
.checkout-pix-text { margin: .25rem 0 1rem; color: #16a34a; font-size: .875rem; line-height: 1.25rem; }
.checkout-card-container { min-height: 300px; padding-top: .5rem; }
.checkout-paypal-container { padding-top: .5rem; text-align: center; }
.checkout-paypal-info { padding: 1.5rem; background: #eff6ff; border: 1px solid #dbeafe; border-radius: .5rem; }
.checkout-paypal-title { margin: 0 0 .5rem; color: #1e40af; font-weight: 700; }
.checkout-paypal-text { margin: 0 0 1.5rem; color: #2563eb; font-size: .875rem; line-height: 1.25rem; }
.checkout-paypal-button-shell { max-width: 24rem; margin: 0 auto; padding: 1rem; background: #fff; border: 1px solid #f3f4f6; border-radius: .75rem; box-shadow: 0 1px 2px rgba(0,0,0,.05); }

.checkout-is-hidden { display: none !important; }
.checkout-is-disabled { opacity: .5; pointer-events: none; }
.checkout-form-error { margin: 1rem 0; padding: .75rem; text-align: center; color: #ef4444; background: #fef2f2; border-radius: .25rem; font-size: 1.125rem; line-height: 1.75rem; font-weight: 700; }
.checkout-payment-status { margin: 1rem 0; display: flex; align-items: center; justify-content: center; gap: .5rem; text-align: center; color: #2563eb; font-size: 1.125rem; line-height: 1.75rem; font-weight: 700; }
.checkout-status-spinner { width: 1.25rem; height: 1.25rem; }
.checkout-spinner-track { opacity: .25; }
.checkout-spinner-head { opacity: .75; }
.checkout-submit-wrap { padding-left: 2.5rem; }
.checkout-submit-button { width: 100%; display: block; padding: 1rem 2rem; color: #fff; background: #16a34a; border: 0; border-radius: .5rem; box-shadow: 0 10px 15px -3px rgba(0,0,0,.1), 0 4px 6px -4px rgba(0,0,0,.1); text-align: center; font-size: 1.125rem; line-height: 1.75rem; font-weight: 700; cursor: pointer; transition: all .15s ease; }
.checkout-submit-button:hover { background: #15803d; transform: translateY(-.125rem); box-shadow: 0 10px 15px -3px rgba(187,247,208,.75), 0 4px 6px -4px rgba(187,247,208,.6); }
.checkout-submit-button:disabled { opacity: .5; cursor: not-allowed; }
.checkout-protection-note { margin: 1rem 0 0; display: flex; align-items: center; justify-content: center; gap: .25rem; color: #9ca3af; text-align: center; font-size: .75rem; line-height: 1rem; }
.checkout-protection-icon { width: .75rem; height: .75rem; }

.checkout-summary { height: fit-content; position: sticky; top: 6rem; }
.checkout-summary-title { margin: 0 0 1.5rem; padding-bottom: 1rem; color: #111827; border-bottom: 1px solid #f3f4f6; font-size: 1.25rem; line-height: 1.75rem; font-weight: 700; }
.checkout-summary-items { max-height: 24rem; margin-bottom: 1.5rem; padding: 0 .5rem 1.5rem 0; overflow-y: auto; border-bottom: 1px solid #f3f4f6; }
.checkout-summary-item { margin-bottom: 1rem; display: flex; gap: 1rem; }
.checkout-summary-image { width: 4rem; height: 4rem; flex-shrink: 0; object-fit: cover; background: #f9fafb; border: 1px solid #e5e7eb; border-radius: .5rem; }
.checkout-summary-content { min-width: 0; flex: 1 1 0%; display: flex; align-items: flex-start; justify-content: space-between; }
.checkout-summary-copy { margin-right: .5rem; overflow: hidden; }
.checkout-summary-name { margin: 0 0 .25rem; color: #1f2937; font-size: .875rem; line-height: 1.25; font-weight: 700; }
.checkout-summary-qty { margin: 0; color: #6b7280; font-size: .75rem; line-height: 1rem; }
.checkout-summary-gift { width: fit-content; margin-top: .25rem; padding: 0 .25rem; display: block; color: #9333ea; background: #faf5ff; border-radius: .25rem; font-size: 10px; line-height: 1rem; font-weight: 700; text-transform: uppercase; }
.checkout-summary-offer { width: fit-content; margin-top: .25rem; padding: 0 .375rem; display: flex; align-items: center; gap: .25rem; color: #ea580c; background: #fff7ed; border-radius: .25rem; font-size: 10px; line-height: 1rem; font-weight: 700; text-transform: uppercase; }
.checkout-inline-icon { width: .75rem; height: .75rem; }
.checkout-summary-price { flex-shrink: 0; text-align: right; }
.checkout-price-free { color: #16a34a; font-weight: 700; }
.checkout-price-value { color: #2563eb; font-weight: 700; }
.checkout-totals { display: flex; flex-direction: column; gap: .75rem; font-size: .875rem; line-height: 1.25rem; }
.checkout-total-row { display: flex; align-items: center; justify-content: space-between; }
.checkout-total-label { color: #6b7280; }
.checkout-total-value { color: #374151; font-size: 1.125rem; line-height: 1.75rem; font-weight: 700; }
.checkout-total-discount { color: #16a34a; font-size: 1.125rem; line-height: 1.75rem; font-weight: 700; }
.checkout-coupon-row { padding: .5rem; display: flex; align-items: center; justify-content: space-between; background: #f0fdf4; border: 1px solid #dcfce7; border-radius: .25rem; }
.checkout-coupon-label { color: #15803d; font-weight: 500; }
.checkout-coupon-value { color: #15803d; font-size: 1.125rem; line-height: 1.75rem; font-weight: 700; }
.checkout-grand-total { margin-top: .5rem; padding-top: 1rem; display: flex; align-items: center; justify-content: space-between; border-top: 1px solid #f3f4f6; font-size: 1.5rem; line-height: 2rem; font-weight: 800; }
.checkout-grand-total-label { color: #111827; }
.checkout-grand-total-value { color: #2563eb; }

.checkout-footer { margin-top: 3rem; padding: 2rem 0; background: #fff; border-top: 1px solid #e5e7eb; }
.checkout-footer-inner { width: 100%; max-width: 1536px; margin: 0 auto; padding: 0 1.5rem; color: #6b7280; text-align: center; font-size: .875rem; line-height: 1.25rem; }

.checkout-result-card { padding: 2rem; text-align: center; border-radius: .75rem; }
.checkout-result-card--pending { background: #fff; border: 1px solid #dcfce7; box-shadow: 0 25px 50px -12px rgba(0,0,0,.25); }
.checkout-result-card--approved { padding: 2.5rem; color: #fff; background: #16a34a; box-shadow: 0 25px 50px -12px rgba(0,0,0,.25); }
.checkout-result-card--rejected { background: #fff; border: 1px solid #fee2e2; box-shadow: 0 10px 15px -3px rgba(0,0,0,.1), 0 4px 6px -4px rgba(0,0,0,.1); }
.checkout-result-title { margin: 0; font-weight: 700; }
.checkout-result-title--pending { margin-bottom: 1rem; color: #111827; font-size: 1.875rem; line-height: 2.25rem; }
.checkout-result-title--approved { margin-bottom: .5rem; font-size: 2.25rem; line-height: 2.5rem; font-weight: 800; }
.checkout-result-title--rejected { margin-bottom: 1rem; color: #dc2626; font-size: 1.5rem; line-height: 2rem; }
.checkout-result-subtitle { margin: 0; font-size: 1.125rem; line-height: 1.75rem; opacity: .9; }
.checkout-result-message { margin: 0 0 1.5rem; color: #6b7280; }
.checkout-qr-shell { margin-bottom: 1.5rem; padding: 1rem; display: inline-block; background: #f9fafb; border: 1px solid #e5e7eb; border-radius: .5rem; box-shadow: inset 0 2px 4px 0 rgba(0,0,0,.06); }
.checkout-qr-image { width: 16rem; height: 16rem; margin: 0 auto; }
.checkout-copy-section { max-width: 28rem; margin: 0 auto; }
.checkout-copy-label { margin: 0 0 .5rem; color: #6b7280; font-size: .875rem; line-height: 1.25rem; font-weight: 700; text-transform: uppercase; letter-spacing: .025em; }
.checkout-copy-row { display: flex; gap: .5rem; }
.checkout-copy-input { flex: 1 1 0%; background: #f9fafb; font-size: .75rem; line-height: 1rem; }
.checkout-copy-button, .checkout-retry-button { color: #fff; background: #2563eb; border: 0; font-weight: 700; cursor: pointer; transition: background-color .15s ease; }
.checkout-copy-button { padding: 0 1rem; border-radius: .25rem; font-size: .75rem; line-height: 1rem; }
.checkout-copy-button:hover, .checkout-retry-button:hover { background: #1d4ed8; }
.checkout-waiting { margin-top: 2rem; padding: 1rem; background: #fffbeb; border: 1px solid #fef3c7; border-radius: .25rem; }
.checkout-waiting-line { display: flex; align-items: center; justify-content: center; gap: .75rem; }
.checkout-waiting-dot { width: .5rem; height: .5rem; background: #eab308; border-radius: 9999px; }
.checkout-waiting-title { color: #a16207; font-size: .875rem; line-height: 1.25rem; font-weight: 700; }
.checkout-waiting-text { margin: .25rem 0 0; color: #ca8a04; font-size: .75rem; line-height: 1rem; }
.checkout-retry-button { padding: .75rem 2rem; border-radius: 9999px; box-shadow: 0 10px 15px -3px rgba(0,0,0,.1), 0 4px 6px -4px rgba(0,0,0,.1); }

@keyframes checkout-spin { to { transform: rotate(360deg); } }
@keyframes checkout-pulse { 50% { opacity: .5; } }
@keyframes checkout-bounce { 0%,100% { transform: translateY(-25%); animation-timing-function: cubic-bezier(.8,0,1,1); } 50% { transform: none; animation-timing-function: cubic-bezier(0,0,.2,1); } }
.checkout-animate-spin { animation: checkout-spin 1s linear infinite; }
.checkout-animate-pulse { animation: checkout-pulse 2s cubic-bezier(.4,0,.6,1) infinite; }
.checkout-animate-bounce { animation: checkout-bounce 1s infinite; }

@media (min-width: 640px) {
  .checkout-payment-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
}
@media (min-width: 768px) {
  .checkout-brand-logo { height: 2.5rem; }
  .checkout-security-badge { font-size: .875rem; line-height: 1.25rem; }
  .checkout-security-full { display: inline; }
  .checkout-security-short { display: none; }
  .checkout-page-title { font-size: 2.25rem; line-height: 2.5rem; }
  .checkout-layout { gap: 3rem; }
  .checkout-panel, .checkout-summary { padding: 2rem; }
  .checkout-fields-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .checkout-payment-fields { padding-left: 2.5rem; }
}
@media (min-width: 1024px) {
  .checkout-layout { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .checkout-result-card { grid-column: span 2 / span 2; }
}


/* =========================================================
   CONTA.PHP - CAMADA CSS PRÓPRIA (ETAPA 4J)
   ========================================================= */
.account-body {
    background-color: #f9fafb;
    color: #1f2937;
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.account-main {
    min-height: 70vh;
    padding: 3rem 0;
    background-color: #f9fafb;
}

.account-container,
.account-auth-shell {
    width: 100%;
    max-width: 56rem;
    margin-left: auto;
    margin-right: auto;
}

.account-container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.account-card,
.account-auth-card {
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
}

.account-card--guest {
    padding: 2rem;
    background: #fff;
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}

.account-guest-header {
    margin-bottom: 2rem;
    text-align: center;
}

.account-status-icon-wrap {
    display: inline-flex;
    width: 4rem;
    height: 4rem;
    margin-bottom: 1rem;
    align-items: center;
    justify-content: center;
    border: 1px solid #e5e7eb;
    border-radius: 9999px;
    background-color: #f3f4f6;
}

.account-status-icon {
    width: 2rem;
    height: 2rem;
}

.account-status-icon--success { color: #22c55e; }
.account-status-icon--pending {
    color: #eab308;
    animation: account-pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.account-page-title {
    margin: 0;
    color: #111827;
    font-size: 1.875rem;
    line-height: 2.25rem;
    font-weight: 800;
}

.account-status-line {
    margin-top: 0.5rem;
    color: #6b7280;
    font-size: 0.875rem;
    line-height: 1.25rem;
    font-weight: 700;
    letter-spacing: 0.025em;
    text-transform: uppercase;
}

.account-status-pill {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
}

.account-payment-wait {
    display: inline-block;
    margin-top: 0.5rem;
    padding: 0.25rem 0.75rem;
    border: 1px solid #ffedd5;
    border-radius: 0.25rem;
    background: #fff7ed;
    color: #ea580c;
    font-size: 0.75rem;
    line-height: 1rem;
}

.account-section-title {
    margin: 0 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #f3f4f6;
    font-size: 1.25rem;
    line-height: 1.75rem;
    font-weight: 700;
}

.account-section-title--primary { color: #2563eb; }
.account-item-list > * + * { margin-top: 0.75rem; }

.account-download-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    background: #f9fafb;
    transition: border-color 0.15s ease;
}

.account-download-item:hover { border-color: #93c5fd; }

.account-download-name {
    color: #374151;
    font-size: 1.125rem;
    line-height: 1.75rem;
    font-weight: 700;
    text-align: center;
}

.account-download-btn,
.account-logout-btn,
.account-order-download {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.account-download-btn {
    gap: 0.5rem;
    padding: 0.5rem 1.5rem;
    border-radius: 9999px;
    background: #16a34a;
    color: #fff;
    box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    font-size: 0.875rem;
    line-height: 1.25rem;
    font-weight: 700;
    white-space: nowrap;
    transition: all 0.15s ease;
}

.account-download-btn:hover {
    background: #15803d;
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}

.account-icon--md { width: 1.25rem; height: 1.25rem; }
.account-icon--sm { width: 1rem; height: 1rem; }

.account-release-status {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.25rem 0.75rem;
    border: 1px solid #fde68a;
    border-radius: 0.25rem;
    background: #fefce8;
    color: #a16207;
    font-size: 0.875rem;
    line-height: 1.25rem;
    font-weight: 700;
}

.account-spin { animation: account-spin 1s linear infinite; }
.account-opacity-25 { opacity: 0.25; }
.account-opacity-75 { opacity: 0.75; }

.account-guest-save {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #f3f4f6;
    text-align: center;
}

.account-muted {
    color: #6b7280;
    font-size: 0.875rem;
    line-height: 1.25rem;
}
.account-muted--spaced { margin-bottom: 0.5rem; }

.account-text-link {
    color: #2563eb;
    font-weight: 700;
}
.account-text-link:hover { color: #1e40af; }
.account-text-link--underline { text-decoration: underline; }

.account-dashboard-card {
    padding: 1.5rem;
    background: #fff;
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}

.account-dashboard-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #f3f4f6;
}

.account-greeting {
    margin-top: 0.25rem;
    color: #6b7280;
    font-size: 0.875rem;
    line-height: 1.25rem;
}
.account-highlight { color: #2563eb; font-weight: 700; }

.account-logout-btn {
    gap: 0.5rem;
    padding: 0.5rem 1.5rem;
    border: 1px solid #fee2e2;
    border-radius: 9999px;
    background: #fef2f2;
    color: #dc2626;
    font-size: 0.875rem;
    line-height: 1.25rem;
    font-weight: 700;
    transition: all 0.15s ease;
}
.account-logout-btn:hover { background: #fee2e2; }

.account-tabs {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid #f3f4f6;
}

.tab-btn {
    padding: 0 0.25rem 0.5rem;
    border: 0;
    border-bottom: 2px solid transparent;
    background: transparent;
    color: #9ca3af;
    font-size: 1.125rem;
    line-height: 1.75rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
}
.tab-btn:hover { color: #4b5563; }
.tab-btn.is-active { border-bottom-color: #2563eb; color: #2563eb; }

.account-orders-list > * + * { margin-top: 1.5rem; }
.account-empty-note { color: #9ca3af; font-style: italic; }
.account-profile-content { max-width: 48rem; }
.account-profile-content > * + * { margin-top: 2.5rem; }
.account-hidden { display: none; }

.account-form-title {
    margin: 0 0 1rem;
    color: #1f2937;
    font-size: 1.25rem;
    line-height: 1.75rem;
    font-weight: 700;
}

.account-form-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1.5rem;
}

.account-input-disabled {
    background: #f3f4f6;
    color: #6b7280;
    cursor: not-allowed;
}

.account-form-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 1.5rem;
}

.account-btn {
    padding: 0.75rem 2rem;
    border: 0;
    border-radius: 0.5rem;
    color: #fff;
    box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    font-weight: 700;
    cursor: pointer;
    transition: all 0.15s ease;
}
.account-btn--primary { background: #2563eb; }
.account-btn--primary:hover { background: #1d4ed8; }
.account-btn--dark { background: #1f2937; }
.account-btn--dark:hover { background: #000; }
.account-divider { border: 0; border-top: 1px solid #e5e7eb; }
.account-password-spacer { display: none; }

.account-guest-checkout {
    max-width: 42rem;
    margin: 0 auto 2rem;
    padding: 1.5rem;
    border: 1px solid #dbeafe;
    border-radius: 0.75rem;
    background: #eff6ff;
    box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    text-align: center;
}
.account-guest-checkout.account-hidden { display: none; }
.account-guest-title {
    margin: 0 0 0.5rem;
    color: #1e3a8a;
    font-size: 1.25rem;
    line-height: 1.75rem;
    font-weight: 700;
}
.account-guest-message {
    margin-bottom: 1rem;
    color: #1d4ed8;
    font-size: 0.875rem;
    line-height: 1.25rem;
}
.account-guest-checkout-btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    border: 0;
    border-radius: 9999px;
    background: #2563eb;
    color: #fff;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    font-weight: 700;
    cursor: pointer;
    transition: all 0.15s ease;
}
.account-guest-checkout-btn:hover { background: #1d4ed8; transform: translateY(-0.125rem); }

.account-separator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
}
.account-separator-line { width: 6rem; height: 1px; background: #bfdbfe; }
.account-separator-label {
    color: #60a5fa;
    font-size: 0.75rem;
    line-height: 1rem;
    font-weight: 600;
    text-transform: uppercase;
}

.account-auth-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-bottom: 2rem;
    border-bottom: 1px solid #e5e7eb;
    text-align: center;
}
.account-auth-tab {
    padding: 1rem 0;
    border: 0;
    border-bottom: 2px solid transparent;
    background: transparent;
    color: #9ca3af;
    font-size: 1.125rem;
    line-height: 1.75rem;
    font-weight: 700;
    cursor: pointer;
    transition: color 0.15s ease, border-color 0.15s ease;
}
.account-auth-tab:hover { color: #4b5563; }
.account-auth-tab.is-active { border-bottom-color: #2563eb; color: #2563eb; }

.account-auth-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
}
.account-auth-card { padding: 2rem; }
.account-login-card {
    background: #fff;
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}
.account-register-card {
    background: #f9fafb;
}
.account-auth-title {
    margin: 0 0 0.5rem;
    color: #111827;
    font-size: 1.5rem;
    line-height: 2rem;
    font-weight: 700;
}
.account-auth-title--login { margin-bottom: 1.5rem; }
.account-auth-subtitle {
    margin-bottom: 1.5rem;
    color: #6b7280;
    font-size: 0.875rem;
    line-height: 1.25rem;
}
.account-form-stack > * + * { margin-top: 1rem; }
.account-form-stack--login > * + * { margin-top: 1.25rem; }
.account-field-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.25rem;
}
.account-forgot-link {
    color: #2563eb;
    font-size: 0.75rem;
    line-height: 1rem;
    font-weight: 700;
    text-decoration: none;
}
.account-forgot-link:hover { text-decoration: underline; }
.account-recaptcha { display: flex; justify-content: center; margin: 1rem 0; }
.account-form-status {
    min-height: 1.25rem;
    color: #ef4444;
    font-size: 0.875rem;
    line-height: 1.25rem;
    font-weight: 500;
    text-align: center;
}
.account-submit {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 0;
    border-radius: 0.5rem;
    color: #fff;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    font-weight: 700;
    cursor: pointer;
    transition: all 0.15s ease;
}
.account-submit:hover { transform: translateY(-0.125rem); }
.account-submit--login { background: #2563eb; }
.account-submit--login:hover { background: #1d4ed8; }
.account-submit--register { background: #16a34a; }
.account-submit--register:hover { background: #15803d; }
.account-name-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem; }
.account-field-label-compact {
    color: #6b7280;
    font-size: 0.75rem;
    line-height: 1rem;
    font-weight: 700;
    text-transform: uppercase;
}
.account-placeholder-muted::placeholder { color: #9ca3af; }
.account-inline-error { color: #ef4444; font-size: 0.75rem; line-height: 1rem; font-weight: 700; }
.form-input-light.is-invalid { border-color: #ef4444; }

.account-order-download {
    gap: 0.25rem;
    margin-left: auto;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    background: #16a34a;
    color: #fff;
    box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    font-size: 0.75rem;
    line-height: 1rem;
    font-weight: 700;
    transition: all 0.15s ease;
}
.account-order-download:hover { background: #15803d; }
.account-order-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
    padding: 0.75rem;
    border: 1px solid #f3f4f6;
    border-radius: 0.25rem;
    background: #f9fafb;
}
.account-order-item-name { flex: 1 1 0%; color: #374151; font-size: 0.875rem; line-height: 1.25rem; font-weight: 700; }
.account-order-badge { padding: 0.25rem 0.75rem; border-radius: 9999px; font-size: 0.75rem; line-height: 1rem; }
.account-order-pay {
    display: block;
    margin-top: 0.75rem;
    padding: 0.5rem 1rem;
    border-radius: 0.25rem;
    background: #facc15;
    color: #713f12;
    box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    transition: background-color 0.15s ease;
}
.account-order-pay:hover { background: #eab308; }
.account-order-card {
    padding: 1.5rem;
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    background: #fff;
    box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    transition: box-shadow 0.15s ease;
}
.account-order-card:hover { box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1); }
.account-order-head {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.75rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #f3f4f6;
}
.account-order-code { color: #111827; font-size: 1.125rem; line-height: 1.75rem; font-weight: 700; }
.account-order-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    color: #6b7280;
    font-size: 0.875rem;
    line-height: 1.25rem;
}
.account-order-total { color: #111827; }
.account-order-items > * + * { margin-top: 0.5rem; }
.account-load-error { color: #ef4444; }

@keyframes account-spin { to { transform: rotate(360deg); } }
@keyframes account-pulse { 50% { opacity: 0.5; } }

@media (min-width: 640px) {
    .account-download-item { flex-direction: row; }
    .account-download-name { text-align: left; }
}

@media (min-width: 768px) {
    .account-main { padding-top: 6rem; padding-bottom: 6rem; }
    .account-dashboard-card { padding: 2rem; }
    .account-form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .account-password-spacer { display: block; }
    .account-auth-tabs { display: none; }
    .account-auth-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .account-register-card { display: block; }
    .account-register-card.account-hidden,
    .account-login-card.account-hidden { display: block; }
}


/* =========================================================
   ETAPA 4K — PÁGINAS PÚBLICAS DE BAIXO RISCO
   404.php + contato.php + pagina.php
   ========================================================= */

/* ---------- 404 ---------- */
.not-found-body {
    min-height: 100vh;
    background: #f9fafb;
    color: #1f2937;
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
.not-found-main { min-height: 100vh; display: flex; flex-direction: column; }
.not-found-hero {
    position: relative;
    overflow: hidden;
    padding: 5rem 0;
    text-align: center;
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
}
.not-found-code {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 0;
    transform: translate(-50%, -50%);
    font-size: 12rem;
    line-height: 1;
    font-weight: 700;
    color: #f3f4f6;
    opacity: .6;
    user-select: none;
}
.not-found-hero-inner {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}
.not-found-title {
    margin: 0 0 1.5rem;
    font-size: 2.25rem;
    line-height: 1.1;
    font-weight: 700;
    letter-spacing: -.025em;
    color: #2563eb;
}
.not-found-lead {
    max-width: 42rem;
    margin: 0 auto 2.5rem;
    font-size: 1.125rem;
    line-height: 1.625;
    color: #6b7280;
}
.not-found-search { position: relative; max-width: 36rem; margin: 0 auto 3rem; }
.not-found-search-form { position: relative; }
.not-found-search-input {
    width: 100%;
    padding: 1rem 4.5rem 1rem 2rem;
    border: 1px solid #d1d5db;
    border-radius: 9999px;
    background: #fff;
    color: #1f2937;
    font-size: 1.125rem;
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);
    transition: border-color .2s, box-shadow .2s;
}
.not-found-search-input::placeholder { color: #9ca3af; }
.not-found-search-input:hover {
    box-shadow: 0 20px 25px -5px rgb(0 0 0 / .1), 0 8px 10px -6px rgb(0 0 0 / .1);
}
.not-found-search-input:focus {
    outline: 0;
    border-color: #3b82f6;
    box-shadow: 0 0 0 2px #dbeafe, 0 10px 15px -3px rgb(0 0 0 / .1);
}
.not-found-search-button {
    position: absolute;
    top: .5rem;
    right: .5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: .625rem;
    border: 0;
    border-radius: 9999px;
    background: #2563eb;
    color: #fff;
    cursor: pointer;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);
    transition: background-color .2s;
}
.not-found-search-button:hover { background: #1d4ed8; }
.not-found-icon { width: 1.25rem; height: 1.25rem; }
.not-found-icon--search { width: 1.5rem; height: 1.5rem; }
.not-found-home-link {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .75rem 2rem;
    border-radius: 9999px;
    background: #111827;
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);
    transition: transform .2s, background-color .2s;
}
.not-found-home-link:hover { background: #000; transform: scale(1.05); }
.not-found-recommendations { padding: 4rem 0; background: #f9fafb; border-top: 1px solid #e5e7eb; }
.not-found-products-inner { width: 100%; max-width: 80rem; margin: 0 auto; padding: 0 1.5rem; }
.not-found-section-title {
    margin: 0 0 .5rem;
    text-align: center;
    font-size: 1.5rem;
    line-height: 2rem;
    font-weight: 700;
    color: #111827;
}
.not-found-section-lead { margin: 0 0 2.5rem; text-align: center; color: #6b7280; }
.not-found-product-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
.not-found-product-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    border-radius: .75rem;
    background: #fff;
    box-shadow: 0 1px 2px rgb(0 0 0 / .05);
    transition: border-color .3s, box-shadow .3s;
}
.not-found-product-card:hover {
    border-color: #bfdbfe;
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);
}
.not-found-product-media {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    background: #f3f4f6;
}
.not-found-product-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .7s;
}
.not-found-product-card:hover .not-found-product-image { transform: scale(1.10); }
.not-found-product-badges {
    position: absolute;
    top: .75rem;
    left: .75rem;
    z-index: 10;
    display: flex;
    gap: .25rem;
    pointer-events: none;
}
.not-found-discount-badge {
    display: inline-flex;
    padding: .25rem .5rem;
    margin-right: .25rem;
    border-radius: 9999px;
    background: #dc2626;
    color: #fff;
    font-size: .75rem;
    line-height: 1rem;
    font-weight: 700;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / .1);
}
.not-found-wishlist {
    position: absolute;
    top: .75rem;
    right: .75rem;
    z-index: 20;
    width: 2rem;
    height: 2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #f3f4f6;
    border-radius: 9999px;
    background: #fff;
    color: #9ca3af;
    cursor: pointer;
    transition: transform .2s, background-color .2s;
}
.not-found-wishlist:hover { background: #f9fafb; transform: scale(1.10); }
.not-found-heart { width: 1.25rem; height: 1.25rem; }
.not-found-product-overlay {
    position: absolute;
    inset: 0;
    z-index: 10;
    background: rgb(0 0 0 / .60);
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s;
}
.not-found-product-card:hover .not-found-product-overlay { opacity: 1; }
.not-found-product-actions {
    position: absolute;
    left: 0;
    bottom: 0;
    z-index: 20;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: .5rem;
    padding: 1rem;
    border-top: 1px solid #f3f4f6;
    background: rgb(255 255 255 / .90);
    backdrop-filter: blur(4px);
    transform: translateY(100%);
    transition: transform .3s ease-in-out;
}
.not-found-product-card:hover .not-found-product-actions { transform: translateY(0); }
.not-found-cart-button,
.not-found-buy-button {
    width: 100%;
    padding: .5rem 1rem;
    border: 0;
    border-radius: .375rem;
    color: #fff;
    font-size: .875rem;
    line-height: 1.25rem;
    cursor: pointer;
    box-shadow: 0 1px 3px rgb(0 0 0 / .1);
    transition: background-color .2s;
}
.not-found-cart-button { background: #2563eb; font-weight: 700; }
.not-found-cart-button:hover { background: #1d4ed8; }
.not-found-cart-button.is-added { background: #16a34a; }
.not-found-buy-button { background: #1f2937; font-weight: 600; }
.not-found-buy-button:hover { background: #111827; }
.not-found-product-content { display: flex; flex: 1 1 auto; flex-direction: column; padding: 1rem; }
.not-found-rating { display: flex; align-items: center; gap: .25rem; margin-bottom: .5rem; }
.not-found-star { font-size: .875rem; line-height: 1.25rem; }
.not-found-star--filled { color: #facc15; }
.not-found-star--empty { color: #d1d5db; }
.not-found-rating-count { color: #9ca3af; font-size: .75rem; line-height: 1rem; }
.not-found-product-name {
    overflow: hidden;
    margin: 0 0 .25rem;
    color: #111827;
    font-size: 1.125rem;
    line-height: 1.75rem;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.not-found-product-link { color: inherit; text-decoration: none; transition: color .2s; }
.not-found-product-link:hover { color: #2563eb; }
.not-found-product-description {
    display: -webkit-box;
    overflow: hidden;
    margin: 0 0 .75rem;
    color: #6b7280;
    font-size: .75rem;
    line-height: 1rem;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.not-found-product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: .75rem;
    border-top: 1px solid #f3f4f6;
}
.not-found-price-stack { display: flex; flex-direction: column; }
.not-found-old-price { color: #9ca3af; font-size: .75rem; line-height: 1rem; text-decoration: line-through; }
.not-found-current-price {
    color: #2563eb;
    font-size: 1.25rem;
    line-height: 1.75rem;
    font-weight: 700;
    letter-spacing: -.025em;
}
@media (min-width: 640px) {
    .not-found-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 768px) {
    .not-found-code { font-size: 16rem; }
    .not-found-title { font-size: 3.75rem; }
    .not-found-lead { font-size: 1.25rem; }
    .not-found-section-title { font-size: 1.875rem; line-height: 2.25rem; }
}
@media (min-width: 1024px) {
    .not-found-product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* ---------- Contato ---------- */
.contact-body { min-height: 100vh; display: flex; flex-direction: column; }
.contact-main { flex: 1 1 auto; padding: 3rem 0; }
.contact-container { width: 100%; max-width: 72rem; margin: 0 auto; padding: 0 1.5rem; }
.contact-intro { margin-bottom: 3rem; text-align: center; }
.contact-title {
    margin: 0 0 1rem;
    color: #111827;
    font-size: 1.875rem;
    line-height: 2.25rem;
    font-weight: 800;
    letter-spacing: -.025em;
}
.contact-lead { max-width: 42rem; margin: 0 auto; color: #6b7280; font-size: 1.125rem; line-height: 1.75rem; }
.contact-layout { display: grid; grid-template-columns: 1fr; gap: 3rem; }
.contact-info > * + * { margin-top: 2.5rem; }
.contact-channels { display: grid; grid-template-columns: 1fr; gap: 1rem; }
.contact-channel {
    display: flex;
    height: 100%;
    flex-direction: column;
    align-items: center;
    padding: 1.5rem;
    border: 1px solid #e5e7eb;
    border-radius: .75rem;
    background: #fff;
    text-align: center;
    text-decoration: none;
    box-shadow: 0 1px 2px rgb(0 0 0 / .05);
    transition: border-color .2s, box-shadow .2s;
}
.contact-channel:hover { box-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1); }
.contact-channel--email:hover { border-color: #93c5fd; }
.contact-channel--whatsapp:hover { border-color: #86efac; }
.contact-channel-icon {
    width: 3rem;
    height: 3rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: .75rem;
    border-radius: 9999px;
    transition: background-color .2s, color .2s;
}
.contact-channel-icon--email { background: #eff6ff; color: #2563eb; }
.contact-channel--email:hover .contact-channel-icon--email { background: #2563eb; color: #fff; }
.contact-channel-icon--whatsapp { background: #f0fdf4; color: #16a34a; }
.contact-channel--whatsapp:hover .contact-channel-icon--whatsapp { background: #16a34a; color: #fff; }
.contact-icon { width: 1.5rem; height: 1.5rem; }
.contact-channel-title { margin: 0 0 .25rem; color: #111827; font-weight: 700; }
.contact-channel-text { margin: 0; font-size: .875rem; line-height: 1.25rem; }
.contact-channel-text--break { color: #6b7280; overflow-wrap: anywhere; }
.contact-channel-text--muted { color: #9ca3af; }
.contact-faq-title {
    display: flex;
    align-items: center;
    gap: .5rem;
    margin: 0 0 1.5rem;
    color: #111827;
    font-size: 1.25rem;
    line-height: 1.75rem;
    font-weight: 700;
}
.contact-faq-accent { width: .5rem; height: 2rem; border-radius: 9999px; background: #2563eb; }
.contact-faq-icon { width: 1.25rem; height: 1.25rem; }
.contact-form-card {
    padding: 2rem;
    border: 1px solid #f3f4f6;
    border-radius: 1rem;
    background: #fff;
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);
}
.contact-form-title { margin: 0 0 1.5rem; color: #111827; font-size: 1.5rem; line-height: 2rem; font-weight: 700; }
.contact-form > * + * { margin-top: 1.25rem; }
.contact-form-grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
.contact-label { display: block; margin-bottom: .25rem; color: #374151; font-size: .875rem; line-height: 1.25rem; font-weight: 700; }
.contact-input::placeholder { color: #9ca3af; }
.contact-select { cursor: pointer; }
.contact-textarea { resize: none; }
.contact-form-message {
    padding: .75rem;
    border-radius: .25rem;
    text-align: center;
    font-size: .875rem;
    line-height: 1.25rem;
    font-weight: 700;
}
.contact-form-message.is-hidden { display: none; }
.contact-form-message.is-success { border: 1px solid #bbf7d0; background: #dcfce7; color: #166534; }
.contact-form-message.is-error { border: 1px solid #fecaca; background: #fee2e2; color: #991b1b; }
.contact-submit {
    width: 100%;
    padding: 1rem;
    border: 0;
    border-radius: .5rem;
    background: #2563eb;
    color: #fff;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);
    transition: background-color .2s, transform .2s, opacity .2s;
}
.contact-submit:hover { background: #1d4ed8; transform: scale(1.02); }
.contact-submit:disabled { cursor: wait; opacity: .65; }
@media (min-width: 640px) {
    .contact-channels { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 768px) {
    .contact-title { font-size: 2.25rem; line-height: 2.5rem; }
    .contact-form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
    .contact-main { padding: 4rem 0; }
    .contact-layout { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4rem; }
}

/* ---------- Página / CMS ---------- */
.cms-body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: #f9fafb;
    color: #1f2937;
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
.cms-banner-link,
.cms-banner-picture { display: block; width: 100%; overflow: hidden; }
.cms-banner-image {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: cover;
    transition: transform .7s;
}
.cms-banner-image:hover { transform: scale(1.01); }
.cms-main { flex: 1 1 auto; padding: 2rem 0; }
.cms-container { width: 100%; max-width: 80rem; margin: 0 auto; padding: 0 1.5rem; }
.cms-layout { display: grid; grid-template-columns: 1fr; gap: 2rem; }
.cms-sidebar { display: none; }
.cms-sidebar-card {
    position: sticky;
    top: 6rem;
    padding: 1.5rem;
    border: 1px solid #e5e7eb;
    border-radius: .75rem;
    background: #fff;
    box-shadow: 0 1px 2px rgb(0 0 0 / .05);
}
.cms-sidebar-title {
    margin: 0 0 1rem;
    padding-bottom: .5rem;
    border-bottom: 1px solid #f3f4f6;
    color: #111827;
    font-size: 1.125rem;
    line-height: 1.75rem;
    font-weight: 700;
}
.cms-sidebar-nav > * + * { margin-top: .25rem; }
.cms-nav-link { display: block; padding: .5rem 1rem; border-radius: .375rem; transition: background-color .2s, color .2s; }
.cms-sidebar-empty { margin: 0; color: #6b7280; font-size: .875rem; line-height: 1.25rem; }
.cms-content { min-width: 0; }
.cms-article {
    min-height: 500px;
    padding: 2rem;
    margin-bottom: 2rem;
    border: 1px solid #e5e7eb;
    border-radius: .75rem;
    background: #fff;
    box-shadow: 0 1px 2px rgb(0 0 0 / .05);
}
.cms-article--landing { min-height: 0; padding: 1.5rem 0; border: 0; background: transparent; box-shadow: none; }
.cms-title {
    margin: 0 0 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #f3f4f6;
    color: #111827;
    font-size: 1.875rem;
    line-height: 2.25rem;
    font-weight: 800;
}
.cms-title--landing {
    padding-bottom: 0;
    border-bottom: 0;
    text-align: center;
    font-size: 2.25rem;
    line-height: 2.5rem;
    text-shadow: 0 1px 2px rgb(0 0 0 / .05);
}
.cms-empty { padding: 2.5rem 0; text-align: center; }
.cms-empty-title { margin: 0 0 .5rem; color: #1f2937; font-size: 1.5rem; line-height: 2rem; font-weight: 700; }
.cms-empty-text { margin: 0 0 .5rem; color: #6b7280; }
.cms-empty-link { color: #2563eb; text-decoration: underline; }
.cms-empty-link:hover { color: #1e40af; }
.cms-error-text { color: #ef4444; }
.cms-coupons {
    margin-top: 2rem;
    padding: 1.5rem;
    border: 1px solid #e5e7eb;
    border-radius: 1rem;
    background: rgb(249 250 251 / .5);
    box-shadow: 0 1px 2px rgb(0 0 0 / .05);
}
.cms-coupons-header { margin-bottom: 2.5rem; text-align: center; }
.cms-coupons-title { margin: 0 0 .5rem; color: #111827; font-size: 1.875rem; line-height: 2.25rem; font-weight: 700; }
.cms-coupons-lead { margin: 0; color: #6b7280; font-size: .875rem; line-height: 1.25rem; }
.cms-coupon-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .75rem;
    margin-bottom: 2.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e5e7eb;
}
.cupom-filter-btn {
    padding: .625rem 1.25rem;
    border: 0;
    border-radius: .5rem;
    background: #e5e7eb;
    color: #374151;
    font-size: .875rem;
    line-height: 1.25rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color .2s, color .2s, box-shadow .2s;
}
.cupom-filter-btn:hover { background: #d1d5db; }
.cupom-filter-btn.is-active {
    background: #2563eb;
    color: #fff;
    font-weight: 600;
    box-shadow: 0 1px 2px rgb(0 0 0 / .05);
}
.cms-coupon-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
.cms-coupon-card {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    padding: 1.5rem;
    border: 1px solid #e5e7eb;
    border-radius: .75rem;
    background: #fff;
    box-shadow: 0 1px 2px rgb(0 0 0 / .05);
    transition: transform .2s, box-shadow .2s, filter .2s, opacity .2s;
}
.cms-coupon-card:hover { transform: translateY(-.25rem); box-shadow: 0 4px 6px -1px rgb(0 0 0 / .1); }
.cms-coupon-card.is-expired { opacity: .6; filter: grayscale(1); transform: none; box-shadow: 0 1px 2px rgb(0 0 0 / .05); }
.cms-coupon-accent { position: absolute; inset: 0 auto 0 0; width: .375rem; background: #2563eb; }
.cms-coupon-timer {
    display: inline-flex;
    align-items: center;
    gap: .375rem;
    align-self: flex-start;
    margin-bottom: 1rem;
    padding: .375rem .75rem;
    border-radius: 9999px;
    font-size: .75rem;
    line-height: 1rem;
    font-weight: 700;
}
.cms-coupon-timer--limited { background: #ffedd5; color: #9a3412; }
.cms-coupon-timer--unlimited { background: #dcfce7; color: #166534; }
.cms-coupon-expired-text { color: #dc2626; font-weight: 700; }
.cms-icon-xs { width: .875rem; height: .875rem; }
.cms-icon-sm { width: 1rem; height: 1rem; }
.cms-coupon-value { margin: 0 0 .5rem; color: #2563eb; font-size: 2.25rem; line-height: 2.5rem; font-weight: 800; letter-spacing: -.025em; }
.cms-coupon-name { margin: 0 0 .5rem; color: #111827; font-size: 1.125rem; line-height: 1.75rem; font-weight: 700; }
.cms-coupon-description { flex: 1 1 auto; margin: 0 0 1.5rem; color: #6b7280; font-size: .875rem; line-height: 1.625; }
.cms-coupon-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    padding-top: 1rem;
    border-top: 1px solid #f3f4f6;
}
.cms-coupon-code-label {
    display: flex;
    align-items: center;
    gap: .375rem;
    color: #2563eb;
    font-size: .6875rem;
    line-height: 1rem;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
}
.cms-coupon-action {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .5rem 1.25rem;
    border: 0;
    border-radius: .375rem;
    background: #2563eb;
    color: #fff;
    font-size: .875rem;
    line-height: 1.25rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 1px 2px rgb(0 0 0 / .05);
    transition: background-color .2s, transform .2s;
}
.cms-coupon-action:hover { background: #1d4ed8; }
.cms-coupon-action:active { transform: scale(.95); }
.cms-coupon-action.is-success { background: #16a34a; }
.cms-coupon-action.is-disabled { background: #d1d5db; color: #6b7280; cursor: not-allowed; transform: none; }
.cms-coupon-empty { grid-column: 1 / -1; padding: 3rem 0; text-align: center; }
.cms-coupon-empty-text { margin: 0; color: #6b7280; font-size: 1.125rem; line-height: 1.75rem; }
.cms-offers { margin: 2.5rem 0 4rem; }
.cms-offers-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .75rem;
    margin: 0 0 2rem;
    color: #111827;
    font-size: 1.875rem;
    line-height: 2.25rem;
    font-weight: 700;
    text-align: center;
}
.cms-offers-icon { color: #2563eb; }
.cms-product-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
.cms-product-card {
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    border-radius: .75rem;
    background: #fff;
    box-shadow: 0 1px 2px rgb(0 0 0 / .05);
    transition: transform .3s, box-shadow .3s, border-color .3s;
}
.cms-product-card:hover {
    transform: translateY(-.25rem);
    border-color: #bfdbfe;
    box-shadow: 0 20px 25px -5px rgb(0 0 0 / .1), 0 8px 10px -6px rgb(0 0 0 / .1);
}
.cms-product-media { position: relative; display: block; overflow: hidden; aspect-ratio: 1 / 1; background: #f9fafb; }
.cms-product-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    mix-blend-mode: multiply;
    transition: transform .7s;
}
.cms-product-card:hover .cms-product-image { transform: scale(1.05); }
.cms-product-badges { position: absolute; top: .75rem; left: .75rem; z-index: 10; display: flex; gap: .25rem; pointer-events: none; }
.cms-product-badge {
    display: inline-flex;
    margin-right: .25rem;
    padding: .25rem .5rem;
    border-radius: .375rem;
    background: #ef4444;
    color: #fff;
    font-size: .75rem;
    line-height: 1rem;
    font-weight: 700;
    box-shadow: 0 1px 2px rgb(0 0 0 / .05);
}
.cms-wishlist {
    position: absolute;
    top: .75rem;
    right: .75rem;
    z-index: 20;
    width: 2rem;
    height: 2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 9999px;
    background: rgb(255 255 255 / .80);
    color: #6b7280;
    cursor: pointer;
    box-shadow: 0 1px 2px rgb(0 0 0 / .05);
    transition: transform .2s, background-color .2s, color .2s;
}
.cms-wishlist:hover { transform: scale(1.10); background: #2563eb; color: #fff; }
.cms-wishlist.active,
.cms-wishlist.is-favorite { color: #2563eb; }
.cms-wishlist.is-pulsing .cms-heart { transform: scale(1.25); color: #2563eb; }
.cms-heart { width: 1rem; height: 1rem; transition: transform .2s; }
.cms-product-overlay {
    position: absolute;
    inset: 0;
    z-index: 10;
    background: rgb(255 255 255 / .40);
    backdrop-filter: blur(2px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s;
}
.cms-product-card:hover .cms-product-overlay { opacity: 1; }
.cms-product-actions {
    position: absolute;
    left: 0;
    bottom: 0;
    z-index: 20;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: .5rem;
    padding: 1rem;
    transform: translateY(100%);
    transition: transform .3s ease-in-out;
}
.cms-product-card:hover .cms-product-actions { transform: translateY(0); }
.cms-cart-button,
.cms-buy-button {
    width: 100%;
    display: block;
    padding: .5rem 1rem;
    border: 0;
    border-radius: .375rem;
    color: #fff;
    font-size: .875rem;
    line-height: 1.25rem;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / .1);
    transition: background-color .2s;
}
.cms-cart-button { background: #2563eb; }
.cms-cart-button:hover { background: #1d4ed8; }
.cms-cart-button.is-added { background: #16a34a; }
.cms-buy-button { background: #1f2937; }
.cms-buy-button:hover { background: #111827; }
.cms-product-content { position: relative; z-index: 30; display: flex; flex: 1 1 auto; flex-direction: column; padding: 1.25rem; background: #fff; }
.cms-product-rating { display: flex; align-items: center; gap: .25rem; margin-bottom: .5rem; font-size: .875rem; line-height: 1.25rem; }
.cms-star--filled { color: #facc15; }
.cms-star--empty { color: #d1d5db; }
.cms-product-name {
    overflow: hidden;
    margin: 0 0 .25rem;
    color: #111827;
    font-size: 1.125rem;
    line-height: 1.75rem;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.cms-product-link { color: inherit; text-decoration: none; transition: color .2s; }
.cms-product-link:hover { color: #2563eb; }
.cms-product-description {
    display: -webkit-box;
    overflow: hidden;
    margin: .25rem 0 .75rem;
    color: #6b7280;
    font-size: .75rem;
    line-height: 1rem;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}
.cms-product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: .75rem;
    border-top: 1px solid #f3f4f6;
}
.cms-price-stack { display: flex; flex-direction: column; }
.cms-old-price { color: #9ca3af; font-size: .75rem; line-height: 1rem; text-decoration: line-through; }
.cms-current-price { color: #2563eb; font-size: 1.125rem; line-height: 1.75rem; font-weight: 700; }
.cms-current-price--regular { color: #111827; }
.cms-spinner { display: inline-block; animation: cms-spin 1s linear infinite; }
.cms-spinner--button { width: 1rem; height: 1rem; color: #fff; }
.cms-spinner--cart { width: 1.25rem; height: 1.25rem; margin: 0 auto; }
.cms-spinner-track { opacity: .25; }
.cms-spinner-head { opacity: .75; }
@keyframes cms-spin { to { transform: rotate(360deg); } }
@media (min-width: 640px) {
    .cms-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 768px) {
    .cms-main { padding: 3rem 0; }
    .cms-layout { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .cms-sidebar { display: block; grid-column: span 1 / span 1; }
    .cms-content { grid-column: span 3 / span 3; }
    .cms-content--full { grid-column: span 4 / span 4; }
    .cms-article { padding: 3rem; }
    .cms-article--landing { padding: 1.5rem 0; }
    .cms-title { font-size: 2.25rem; line-height: 2.5rem; }
    .cms-title--landing { font-size: 3rem; line-height: 1; }
    .cms-coupons { padding: 2.5rem; }
    .cms-coupons-header { text-align: left; }
    .cms-coupon-filters { justify-content: flex-start; }
    .cms-coupon-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .cms-offers-title { justify-content: flex-start; text-align: left; }
    .cms-product-grid { gap: 2rem; }
}
@media (min-width: 1024px) {
    .cms-title--landing { font-size: 3.75rem; }
    .cms-coupon-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .cms-product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .cms-product-grid--wide { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* ========================================================================== 
   AJUSTE CONTATO — MOBILE / OVERFLOW HORIZONTAL
   --------------------------------------------------------------------------
   Mantém a estrutura visual existente e limita elementos internos do
   formulário, especialmente o reCAPTCHA v2 (304px), à largura disponível.
   ========================================================================== */
.contact-container,
.contact-layout,
.contact-info,
.contact-form-card,
.contact-form,
.contact-form-grid,
.contact-form-grid > * {
    min-width: 0;
}

.contact-form .form-input-light {
    max-width: 100%;
    box-sizing: border-box;
}

.contact-form .g-recaptcha {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.contact-form .g-recaptcha > div {
    transform-origin: left top;
}

@media (max-width: 399px) {
    .contact-container {
        padding-right: 1rem;
        padding-left: 1rem;
    }

    .contact-layout {
        gap: 2rem;
    }

    .contact-form-card {
        padding: 1.25rem;
    }

    .contact-channel {
        min-width: 0;
        padding-right: 1rem;
        padding-left: 1rem;
    }

    .faq-button {
        min-width: 0;
        gap: .75rem;
        overflow-wrap: anywhere;
    }
}

@media (max-width: 359px) {
    .contact-form .g-recaptcha {
        height: 62px;
    }

    .contact-form .g-recaptcha > div {
        transform: scale(.79);
    }
}

@media (min-width: 360px) and (max-width: 399px) {
    .contact-form .g-recaptcha {
        height: 72px;
    }

    .contact-form .g-recaptcha > div {
        transform: scale(.92);
    }
}


/* ========================================================================== 
   ETAPA 4L — FAVORITOS + DESCADASTRO DE E-MAIL
   --------------------------------------------------------------------------
   Camada semântica própria para favoritos.php e unsubscribe.php.
   Não altera regras de negócio, endpoints, sessão ou persistência.
   ========================================================================== */

/* --- favoritos.php --- */
.favorites-page {
    margin: 0;
    background: #f9fafb;
    color: #1f2937;
    font-family: 'Inter', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.favorites-main { min-height: 60vh; padding: 3rem 0; }
.favorites-container { width: 100%; max-width: 80rem; margin: 0 auto; padding: 0 1rem; box-sizing: border-box; }
.favorites-heading { display: flex; flex-direction: column; align-items: center; justify-content: space-between; margin-bottom: 2rem; padding-bottom: 1rem; border-bottom: 1px solid #e5e7eb; }
.favorites-title { display: flex; align-items: center; gap: .5rem; margin: 0; color: #111827; font-size: 1.875rem; line-height: 2.25rem; font-weight: 700; }
.favorites-title-icon { width: 2rem; height: 2rem; color: #ef4444; }
.favorites-subtitle { margin: .25rem 0 0; color: #6b7280; }
.favorites-explore-link { display: flex; align-items: center; gap: .25rem; margin-top: 1rem; color: #2563eb; font-size: .875rem; font-weight: 700; text-decoration: none; transition: color .15s ease; }
.favorites-explore-link:hover { color: #1e40af; }
.favorites-small-icon { width: 1rem; height: 1rem; }

.favorites-empty { max-width: 42rem; margin: 0 auto; padding: 3rem; text-align: center; background: #fff; border: 1px solid #e5e7eb; border-radius: .75rem; box-shadow: 0 1px 2px rgba(0,0,0,.05); box-sizing: border-box; }
.favorites-empty-icon-wrap { display: flex; align-items: center; justify-content: center; width: 6rem; height: 6rem; margin: 0 auto 1.5rem; background: #f9fafb; border-radius: 9999px; }
.favorites-empty-icon { width: 3rem; height: 3rem; color: #d1d5db; }
.favorites-empty-title { margin: 0 0 .5rem; color: #111827; font-size: 1.5rem; line-height: 2rem; font-weight: 700; }
.favorites-empty-text { margin: 0 0 2rem; color: #6b7280; }
.favorites-empty-action { display: inline-block; padding: .75rem 2rem; background: #2563eb; color: #fff; border-radius: 9999px; box-shadow: 0 10px 15px -3px rgba(0,0,0,.1), 0 4px 6px -4px rgba(0,0,0,.1); font-weight: 700; text-decoration: none; transition: transform .2s ease, background-color .2s ease; }
.favorites-empty-action:hover { background: #1d4ed8; transform: translateY(-.25rem); }

.favorites-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
.favorites-card { position: relative; display: flex; flex-direction: column; height: 100%; overflow: hidden; background: #fff; border: 1px solid #e5e7eb; border-radius: .75rem; box-shadow: 0 1px 2px rgba(0,0,0,.05); transition: all .3s ease; }
.favorites-card:hover { transform: translateY(-4px); box-shadow: 0 10px 15px -3px rgba(0,0,0,.1), 0 4px 6px -2px rgba(0,0,0,.05); }
.favorites-card-media { position: relative; overflow: hidden; aspect-ratio: 1 / 1; background: #f3f4f6; }
.favorites-card-media > a { display: block; width: 100%; height: 100%; }
.favorites-card-image { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.favorites-card:hover .favorites-card-image { transform: scale(1.10); }
.favorites-remove { position: absolute; top: .5rem; right: .5rem; z-index: 10; display: inline-flex; align-items: center; justify-content: center; padding: .5rem; border: 0; background: rgba(255,255,255,.9); color: #9ca3af; border-radius: 9999px; box-shadow: 0 1px 2px rgba(0,0,0,.05); cursor: pointer; transition: color .2s ease, background-color .2s ease; }
.favorites-remove:hover { color: #ef4444; background: #fef2f2; }
.favorites-remove:hover svg { fill: #ef4444; stroke: #ef4444; }
.favorites-remove-icon { width: 1.25rem; height: 1.25rem; }
.favorites-offer-badge { position: absolute; top: .5rem; left: .5rem; padding: .25rem .5rem; background: #22c55e; color: #fff; border-radius: .25rem; box-shadow: 0 1px 2px rgba(0,0,0,.05); font-size: .75rem; line-height: 1rem; font-weight: 700; }
.favorites-card-content { display: flex; flex: 1 1 auto; flex-direction: column; padding: 1rem; }
.favorites-card-title { display: -webkit-box; height: 2.5rem; margin: 0 0 .25rem; overflow: hidden; color: #111827; font-size: .875rem; line-height: 1.25rem; font-weight: 700; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.favorites-card-link { color: inherit; text-decoration: none; transition: color .15s ease; }
.favorites-card-link:hover { color: #2563eb; }
.favorites-card-footer { margin-top: auto; padding-top: .75rem; border-top: 1px solid #f3f4f6; }
.favorites-price-stack { display: flex; flex-direction: column; margin-bottom: .75rem; }
.favorites-price-original { color: #9ca3af; font-size: .75rem; line-height: 1rem; text-decoration: line-through; }
.favorites-price-current { color: #2563eb; font-size: 1.125rem; line-height: 1.75rem; font-weight: 700; }
.favorites-add-button { display: flex; align-items: center; justify-content: center; gap: .5rem; width: 100%; padding: .5rem .75rem; border: 0; background: #2563eb; color: #fff; border-radius: .5rem; box-shadow: 0 1px 2px rgba(0,0,0,.05); font-size: .875rem; line-height: 1.25rem; font-weight: 700; cursor: pointer; transition: background-color .15s ease, opacity .15s ease; }
.favorites-add-button:hover { background: #1d4ed8; }
.favorites-add-button:disabled { cursor: wait; opacity: .8; }
.favorites-add-button--success, .favorites-add-button--success:hover { background: #16a34a; }
.favorites-spinner { width: 1rem; height: 1rem; border: 2px solid #fff; border-top-color: transparent; border-radius: 9999px; animation: favorites-spin 1s linear infinite; }
@keyframes favorites-spin { to { transform: rotate(360deg); } }

@media (min-width: 640px) {
    .favorites-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 768px) {
    .favorites-heading { flex-direction: row; }
    .favorites-explore-link { margin-top: 0; }
}
@media (min-width: 1024px) {
    .favorites-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 639px) {
    .favorites-main { padding: 2rem 0; }
    .favorites-heading { align-items: flex-start; }
    .favorites-empty { padding: 2rem 1.25rem; }
}

/* --- unsubscribe.php --- */
.unsubscribe-page { min-height: 100vh; margin: 0; padding: 1rem; box-sizing: border-box; display: flex; align-items: center; justify-content: center; background: #f9fafb; color: #111827; font-family: 'Inter', sans-serif; }
.unsubscribe-card { width: 100%; max-width: 28rem; overflow: hidden; background: #fff; border: 1px solid #f3f4f6; border-radius: 1rem; box-shadow: 0 20px 25px -5px rgba(0,0,0,.10), 0 8px 10px -6px rgba(0,0,0,.10); }
.unsubscribe-header { padding: 1.5rem; text-align: center; background: #111827; }
.unsubscribe-title { margin: 0; color: #fff; font-size: 1.25rem; line-height: 1.75rem; font-weight: 700; letter-spacing: .025em; }
.unsubscribe-email { margin: .25rem 0 0; color: #9ca3af; font-size: .75rem; line-height: 1rem; overflow-wrap: anywhere; }
.unsubscribe-content { padding: 2rem; }
.unsubscribe-intro { margin-bottom: 1.5rem; text-align: center; }
.unsubscribe-warning-icon, .unsubscribe-success-icon { display: inline-flex; align-items: center; justify-content: center; border-radius: 9999px; }
.unsubscribe-warning-icon { width: 3rem; height: 3rem; margin-bottom: 1rem; background: #fef3c7; color: #ca8a04; }
.unsubscribe-success-icon { width: 4rem; height: 4rem; margin-bottom: 1.5rem; background: #dcfce7; color: #16a34a; animation: unsubscribe-bounce 1s infinite; }
.unsubscribe-icon-sm { width: 1.5rem; height: 1.5rem; }
.unsubscribe-icon-md { width: 2rem; height: 2rem; }
.unsubscribe-question-title, .unsubscribe-error-title { margin: 0; color: #1f2937; font-size: 1.125rem; line-height: 1.75rem; font-weight: 700; }
.unsubscribe-question-text, .unsubscribe-error-text { margin: .5rem 0 0; color: #6b7280; font-size: .875rem; line-height: 1.25rem; }
.unsubscribe-options { display: grid; gap: .75rem; margin-bottom: 1.5rem; }
.unsubscribe-option-label { display: block; cursor: pointer; }
.unsubscribe-radio { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.unsubscribe-option { display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding: .75rem; border: 1px solid #e5e7eb; border-radius: .5rem; color: #4b5563; font-size: .875rem; line-height: 1.25rem; transition: background-color .15s ease, border-color .15s ease, color .15s ease; }
.unsubscribe-option-label:hover .unsubscribe-option { background: #f9fafb; border-color: #d1d5db; }
.unsubscribe-check { display: none; color: #ef4444; font-weight: 700; }
.unsubscribe-radio:checked + .unsubscribe-option { border-color: #ef4444; background: #fef2f2; color: #991b1b; }
.unsubscribe-radio:checked + .unsubscribe-option .unsubscribe-check { display: block; }
.unsubscribe-submit { width: 100%; padding: .75rem 1rem; border: 0; background: #dc2626; color: #fff; border-radius: .5rem; box-shadow: 0 10px 15px -3px rgba(0,0,0,.1), 0 4px 6px -4px rgba(0,0,0,.1); font: inherit; font-weight: 700; cursor: pointer; transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease; }
.unsubscribe-submit:hover { background: #b91c1c; box-shadow: 0 20px 25px -5px rgba(0,0,0,.1), 0 8px 10px -6px rgba(0,0,0,.1); }
.unsubscribe-submit:active { transform: scale(.95); }
.unsubscribe-stay-link { display: block; margin-top: 1rem; color: #9ca3af; font-size: .75rem; line-height: 1rem; text-align: center; text-decoration: underline; }
.unsubscribe-stay-link:hover { color: #4b5563; }
.unsubscribe-status { padding: 1rem 0; text-align: center; }
.unsubscribe-success-title { margin: 0 0 .5rem; color: #1f2937; font-size: 1.5rem; line-height: 2rem; font-weight: 700; }
.unsubscribe-success-text { margin: 0 0 2rem; color: #6b7280; }
.unsubscribe-back-link { display: inline-block; padding: .5rem 1.5rem; background: #111827; color: #fff; border-radius: .5rem; font-weight: 500; text-decoration: none; transition: background-color .15s ease; }
.unsubscribe-back-link:hover { background: #1f2937; }
.unsubscribe-error-emoji { margin-bottom: 1rem; font-size: 3rem; line-height: 1; }
@keyframes unsubscribe-bounce {
    0%, 100% { transform: translateY(-25%); animation-timing-function: cubic-bezier(.8,0,1,1); }
    50% { transform: translateY(0); animation-timing-function: cubic-bezier(0,0,.2,1); }
}
@media (max-width: 479px) {
    .unsubscribe-page { padding: .75rem; }
    .unsubscribe-content { padding: 1.5rem 1.25rem; }
}


/* ========================================================================== 
   ETAPA 4M — RECUPERAÇÃO DE SENHA + 2FA
   --------------------------------------------------------------------------
   Camada semântica própria para esqueci_senha.php, redefinir_senha.php e
   login_2fa.php. Mantém intactos tokens, sessão, endpoints e regras de acesso.
   ========================================================================== */

/* --- Recuperação / redefinição de senha --- */
.auth-recovery-page {
    min-height: 100vh;
    margin: 0;
    color: #111827;
    background: var(--cor-fundo-pagina, #f3f4f6);
}
.auth-recovery-main {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
    padding: 3rem 0;
    background: var(--cor-fundo-card, #fff);
    color: var(--cor-texto-principal, #111827);
    border-bottom: 1px solid var(--cor-borda, #e5e7eb);
}
.auth-recovery-container {
    width: 100%;
    max-width: 28rem;
    margin: 0 auto;
    padding: 0 1.5rem;
    box-sizing: border-box;
}
.auth-recovery-card {
    padding: 1.5rem;
    background: #fff;
    color: #111827;
    border: 1px solid var(--cor-borda, #e5e7eb);
    border-radius: .5rem;
    box-shadow: 0 10px 15px -3px rgba(0,0,0,.08), 0 4px 6px -4px rgba(0,0,0,.05);
}
.auth-recovery-intro { margin-bottom: 1.5rem; text-align: center; }
.auth-recovery-title { margin: 0 0 .5rem; color: #111827; font-size: 1.5rem; line-height: 2rem; font-weight: 700; text-align: center; }
.auth-recovery-title--form { margin-bottom: 1.5rem; }
.auth-recovery-copy { margin: 0; color: #9ca3af; font-size: .875rem; line-height: 1.25rem; }
.auth-recovery-form > * + * { margin-top: 1.5rem; }
.auth-recovery-input { box-sizing: border-box; }
.auth-recovery-recaptcha { display: flex; justify-content: center; margin: 1rem 0; max-width: 100%; overflow: hidden; }
.auth-recovery-recaptcha .g-recaptcha { max-width: 100%; transform-origin: center top; }
.auth-recovery-status { min-height: 1.5rem; color: #4b5563; font-size: .875rem; line-height: 1.5rem; font-weight: 500; text-align: center; }
.auth-recovery-status--success { color: #16a34a; }
.auth-recovery-status--error { color: #dc2626; }
.auth-recovery-submit {
    display: block;
    width: 100%;
    padding: .75rem 2rem;
    border: 0;
    border-radius: 9999px;
    background: var(--cor-primaria, #2563eb);
    color: #fff;
    box-shadow: 0 10px 15px -3px rgba(0,0,0,.10), 0 4px 6px -4px rgba(0,0,0,.10);
    font: inherit;
    font-size: 1.125rem;
    line-height: 1.75rem;
    font-weight: 700;
    text-align: center;
    cursor: pointer;
    transition: background-color .2s ease, opacity .2s ease, transform .2s ease;
}
.auth-recovery-submit:hover { background: var(--cor-primaria-hover, #1d4ed8); }
.auth-recovery-submit:disabled { cursor: wait; opacity: .65; }
.auth-recovery-back { margin-top: 1.5rem; padding-top: 1rem; border-top: 1px solid #374151; text-align: center; }
.auth-recovery-back-link { color: #9ca3af; font-size: .875rem; text-decoration: none; transition: color .15s ease; }
.auth-recovery-back-link:hover { color: #111827; }
.auth-recovery-invalid { text-align: center; }
.auth-recovery-invalid-icon { margin-bottom: 1rem; color: #f87171; }
.auth-recovery-invalid-svg { width: 4rem; height: 4rem; margin: 0 auto; }
.auth-recovery-invalid-title { margin: 0 0 .5rem; color: #111827; font-size: 1.25rem; line-height: 1.75rem; font-weight: 700; }
.auth-recovery-invalid-copy { margin: 0 0 1.5rem; color: #9ca3af; }
.auth-recovery-invalid-link { color: var(--cor-primaria, #2563eb); font-weight: 700; text-decoration: none; }
.auth-recovery-invalid-link:hover { text-decoration: underline; }

@media (min-width: 768px) {
    .auth-recovery-main { padding: 6rem 0; }
    .auth-recovery-card { padding: 2rem; }
}
@media (max-width: 380px) {
    .auth-recovery-container { padding: 0 1rem; }
    .auth-recovery-card { padding: 1.25rem; }
    .auth-recovery-recaptcha .g-recaptcha {
        transform: scale(.88);
        margin-left: -1.1rem;
        margin-right: -1.1rem;
    }
}

/* --- login_2fa.php --- */
.twofa-page {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    margin: 0;
    padding: 1rem;
    box-sizing: border-box;
    background: #fff;
    color: #111827;
}
.twofa-shell {
    position: absolute;
    top: 50%;
    left: 50%;
    width: calc(100% - 2rem);
    max-width: 24rem;
    transform: translate(-50%, -50%);
}
.twofa-shell > * + * { margin-top: 2rem; }
.twofa-heading { text-align: center; }
.twofa-brand { margin: 0 0 .5rem; color: #2563eb; font-size: 1.875rem; line-height: 2.25rem; font-weight: 900; letter-spacing: -.025em; }
.twofa-title { margin: 0 0 .25rem; color: #111827; font-size: 1.25rem; line-height: 1.75rem; font-weight: 700; }
.twofa-copy { margin: 0; color: #6b7280; font-size: .875rem; line-height: 1.25rem; font-weight: 500; }
.twofa-email { color: #374151; }
.twofa-form > * + * { margin-top: 1.5rem; }
.twofa-otp-section { display: flex; flex-direction: column; align-items: center; }
.twofa-otp-section > * + * { margin-top: 1.5rem; }
.twofa-otp-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: .5rem; width: 100%; }
.twofa-otp-grid .otp-input { width: 100%; min-width: 0; max-width: 3rem; justify-self: center; box-sizing: border-box; }
.twofa-timer { color: #6b7280; font-size: .875rem; line-height: 1.25rem; font-weight: 500; text-align: center; }
.twofa-timer-value { color: #374151; font-weight: 700; }
.twofa-resend { padding: 0; border: 0; background: transparent; color: #2563eb; font: inherit; font-weight: 700; cursor: pointer; transition: color .15s ease; }
.twofa-resend:hover { color: #1e40af; }
.twofa-recovery-field { position: relative; }
.twofa-recovery-input {
    display: block;
    width: 100%;
    padding: 1rem 1.25rem;
    box-sizing: border-box;
    border: 1px solid #d1d5db;
    border-radius: 9999px;
    outline: none;
    background: transparent;
    color: #111827;
    font: inherit;
    font-weight: 700;
    text-align: center;
    text-transform: uppercase;
    transition: border-color .15s ease, box-shadow .15s ease;
}
.twofa-recovery-input:focus { border-color: #2563eb; box-shadow: 0 0 0 1px #2563eb; }
.twofa-recovery-label {
    position: absolute;
    top: -.625rem;
    left: 50%;
    padding: 0 .5rem;
    transform: translateX(-50%);
    background: #fff;
    color: #6b7280;
    font-size: .875rem;
    line-height: 1.25rem;
    font-weight: 700;
    white-space: nowrap;
    transition: color .15s ease;
}
.twofa-recovery-input:focus + .twofa-recovery-label { color: #2563eb; }
.twofa-toggle { margin-top: .5rem; text-align: center; }
.twofa-toggle-button { padding: 0; border: 0; background: transparent; color: #9ca3af; font: inherit; font-size: .75rem; line-height: 1rem; font-weight: 700; cursor: pointer; transition: color .15s ease; }
.twofa-toggle-button:hover { color: #4b5563; }
.twofa-status { min-height: 1.25rem; color: #4b5563; font-size: .875rem; line-height: 1.25rem; font-weight: 700; text-align: center; }
.twofa-status--info { color: #2563eb; }
.twofa-status--success { color: #16a34a; }
.twofa-status--error { color: #dc2626; }
.twofa-submit-wrap { padding-top: .5rem; }
.twofa-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: .75rem 1rem;
    border: 1px solid transparent;
    border-radius: 9999px;
    background: #2563eb;
    color: #fff;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,.10), 0 2px 4px -2px rgba(0,0,0,.10);
    font: inherit;
    font-size: 1rem;
    line-height: 1.5rem;
    font-weight: 700;
    cursor: pointer;
    transition: background-color .2s ease, transform .2s ease, box-shadow .2s ease, opacity .2s ease;
}
.twofa-submit:hover { background: #1d4ed8; transform: scale(1.05); box-shadow: 0 10px 18px rgba(59,130,246,.30); }
.twofa-submit:disabled { cursor: wait; opacity: .65; transform: none; }
.twofa-back { margin-top: 1.5rem; text-align: center; }
.twofa-back-link { display: inline-flex; align-items: center; justify-content: center; gap: .25rem; color: #9ca3af; font-size: .75rem; line-height: 1rem; font-weight: 500; text-decoration: none; transition: color .15s ease; }
.twofa-back-link:hover { color: #4b5563; }
.twofa-back-icon { width: 1rem; height: 1rem; }
.twofa-hidden { display: none !important; }

@media (min-width: 768px) {
    .twofa-otp-grid { gap: .75rem; }
}
@media (max-width: 359px) {
    .twofa-page { padding: .75rem; }
    .twofa-shell { width: calc(100% - 1.5rem); }
    .twofa-otp-grid { gap: .375rem; }
    .twofa-otp-grid .otp-input { height: 3.25rem; font-size: 1.25rem; }
}
