/* Custom CSS - Personals Suplementos — Paleta oficial: Grafite #242623, Cinza #E6E6E6, Neon #BBD02B */

:root {
  --ps-graphite: #242623;
  --ps-gray-light: #E6E6E6;
  --ps-neon: #BBD02B;
  --ps-neon-hover: #A3B826;
  --ps-pix: #32BCAD;
  --ps-muted: #5C5F5B;
  --ps-border: #D4D4D4;
  --ps-dark-bg: #1A1B19;
  --ps-dark-card: #2E302D;
}

@layer utilities {
    /* Custom Scrollbar Hide */
    .no-scrollbar::-webkit-scrollbar {
        display: none;
    }
    .no-scrollbar {
        -ms-overflow-style: none;
        scrollbar-width: none;
    }
}

/* Material Symbols Outlined Font definition */
.material-symbols-outlined {
  font-family: 'Material Symbols Outlined';
  font-weight: normal;
  font-style: normal;
  font-size: 24px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-smoothing: antialiased;
}

/* CTAs primários — texto grafite sobre verde neon */
a.bg-brand-primary:not(.text-white),
button.bg-brand-primary:not(.text-white),
.bg-brand-primary.text-brand-graphite {
    color: #242623;
}
.perf-grid {
    background-image: linear-gradient(to right, rgba(255, 255, 255, 0.06) 1px, transparent 1px),
                      linear-gradient(to bottom, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
    background-size: 36px 36px;
}

.perf-grid-dark {
    background-image: linear-gradient(to right, rgba(187, 208, 43, 0.08) 1px, transparent 1px),
                      linear-gradient(to bottom, rgba(187, 208, 43, 0.08) 1px, transparent 1px);
    background-size: 32px 32px;
}

/* Custom Scrollbar Light Styling */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: #E6E6E6;
}
::-webkit-scrollbar-thumb {
    background: #B8B8B8;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #BBD02B;
}

/* Card Hover Elevation */
.product-card {
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.25s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.25s ease, background-color 0.25s ease;
}
.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px -6px rgba(187, 208, 43, 0.18), 0 4px 8px -2px rgba(0, 0, 0, 0.04);
}

/* Badges Promocionais (Claro) */
.badge-discount {
    background-color: #BBD02B;
    color: #242623;
    font-weight: 700;
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 4px;
    text-transform: uppercase;
    transition: all 0.25s ease;
}

.badge-pix {
    background-color: rgba(50, 188, 173, 0.1);
    color: #32BCAD;
    border: 1px solid rgba(50, 188, 173, 0.35);
    font-weight: 700;
    font-size: 12px;
    padding: 3px 8px;
    border-radius: 4px;
    transition: all 0.25s ease;
}

/* Flash Sale Countdown Timer */
.countdown-box {
    background-color: #FFFFFF;
    color: #242623;
    font-weight: 800;
    padding: 4px 8px;
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.06);
    border: 1px solid #D4D4D4;
    transition: all 0.25s ease;
}

/* Glassmorphism Light */
.glass-panel-light {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid #EEEEEE;
}

/* Micro-interações */
.btn-primary-brand {
    background-color: #BBD02B;
    color: #242623;
    transition: background-color 0.2s ease, transform 0.15s ease;
}
.btn-primary-brand:hover {
    background-color: #A3B826;
    transform: translateY(-1px);
}

.btn-secondary-brand {
    background-color: #242623;
    color: #BBD02B;
    transition: background-color 0.2s ease, transform 0.15s ease;
}
.btn-secondary-brand:hover {
    background-color: #1A1B19;
    transform: translateY(-1px);
}


/* ==========================================================================
   TEMA DARK — Grafite + Verde Neon (#BBD02B)
   ========================================================================== */

html.dark {
    color-scheme: dark;
}

html.dark body {
    background-color: #1A1B19 !important;
    color: #E6E6E6 !important;
}

html.dark header,
html.dark nav,
html.dark footer,
html.dark section,
html.dark main,
html.dark div.bg-white,
html.dark div.bg-brand-light,
html.dark div.bg-brand-light-alt,
html.dark .tab-container {
    background-color: #1A1B19 !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
}

html.dark header,
html.dark nav,
html.dark header.border-b,
html.dark nav.border-t,
html.dark div.bg-brand-light.border-b {
    background-color: #242623 !important;
    border-color: rgba(255, 255, 255, 0.07) !important;
}

html.dark .product-card,
html.dark .bg-white.border,
html.dark .bg-brand-light.border,
html.dark #cartDrawer {
    background-color: #2E302D !important;
    border-color: #3D403C !important;
}

html.dark .product-card:hover {
    border-color: #BBD02B !important;
    box-shadow: 0 0 25px rgba(187, 208, 43, 0.3) !important;
}

html.dark .text-brand-dark,
html.dark .text-brand-heading,
html.dark h1, html.dark h2, html.dark h3, html.dark h4, html.dark h5, html.dark h6 {
    color: #FFFFFF !important;
}

html.dark .text-brand-gray,
html.dark .text-brand-muted {
    color: #A8AAA6 !important;
}

html.dark .text-brand-primary {
    color: #BBD02B !important;
}

html.dark .text-brand-secondary {
    color: #BBD02B !important;
}

html.dark .bg-brand-primary,
html.dark button[data-add-to-cart].flex-1,
html.dark a.bg-brand-primary {
    background-color: #BBD02B !important;
    color: #242623 !important;
    font-weight: 800 !important;
    box-shadow: 0 0 16px rgba(187, 208, 43, 0.35) !important;
    transition: all 0.25s ease !important;
}

html.dark .bg-brand-primary:hover,
html.dark button[data-add-to-cart].flex-1:hover,
html.dark a.bg-brand-primary:hover {
    background-color: #A3B826 !important;
    box-shadow: 0 0 25px rgba(187, 208, 43, 0.55) !important;
    transform: translateY(-1px) !important;
}

html.dark button[data-add-to-cart].w-11,
html.dark button[data-toggle-cart],
html.dark .theme-switch-btn {
    background-color: #2E302D !important;
    border-color: rgba(255, 255, 255, 0.15) !important;
    color: #FFFFFF !important;
}

html.dark button[data-add-to-cart].w-11:hover,
html.dark button[data-toggle-cart]:hover,
html.dark .theme-switch-btn:hover {
    border-color: #BBD02B !important;
    box-shadow: 0 0 14px rgba(187, 208, 43, 0.35) !important;
}

html.dark button[data-filter].bg-white {
    background-color: #2E302D !important;
    color: #A8AAA6 !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
}

html.dark button[data-filter].bg-white:hover {
    background-color: #3D403C !important;
    color: #FFFFFF !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
}

html.dark button[data-filter].bg-brand-primary {
    background-color: #BBD02B !important;
    color: #242623 !important;
    border-color: #BBD02B !important;
    box-shadow: 0 0 14px rgba(187, 208, 43, 0.4) !important;
}

html.dark .badge-discount {
    background-color: #BBD02B !important;
    color: #242623 !important;
    font-weight: 900 !important;
    box-shadow: 0 0 10px rgba(187, 208, 43, 0.4) !important;
}

html.dark .badge-pix {
    background-color: rgba(50, 188, 173, 0.15) !important;
    color: #32BCAD !important;
    border-color: rgba(50, 188, 173, 0.4) !important;
}

html.dark .product-card .text-brand-primary {
    color: #BBD02B !important;
}

html.dark .text-amber-400,
html.dark .text-amber-500,
html.dark span.material-symbols-outlined.text-amber-400 {
    color: #FBBF24 !important;
    filter: drop-shadow(0 0 5px rgba(251, 191, 36, 0.45));
}

html.dark .product-card .bg-red-50 {
    background-color: rgba(187, 208, 43, 0.12) !important;
    color: #BBD02B !important;
    border-color: rgba(187, 208, 43, 0.3) !important;
}

html.dark header .material-symbols-outlined,
html.dark header form button .material-symbols-outlined {
    color: #FFFFFF !important;
}

html.dark .countdown-box {
    background-color: #2E302D !important;
    color: #BBD02B !important;
    border-color: rgba(187, 208, 43, 0.4) !important;
    box-shadow: 0 0 10px rgba(187, 208, 43, 0.25) !important;
}

html.dark .bg-emerald-50 {
    background-color: rgba(50, 188, 173, 0.1) !important;
    border-color: rgba(50, 188, 173, 0.35) !important;
    color: #32BCAD !important;
}

html.dark .sabor-pill,
html.dark .peso-pill {
    background-color: #2E302D !important;
    border-color: rgba(255, 255, 255, 0.12) !important;
    color: #CBD5E1 !important;
}

html.dark .sabor-pill:hover,
html.dark .peso-pill:hover {
    border-color: #BBD02B !important;
    color: #FFFFFF !important;
}

html.dark .sabor-pill.border-brand-primary,
html.dark .sabor-pill.bg-brand-primary\/10,
html.dark .peso-pill.border-brand-primary {
    background-color: rgba(187, 208, 43, 0.2) !important;
    border-color: #BBD02B !important;
    color: #BBD02B !important;
    box-shadow: 0 0 12px rgba(187, 208, 43, 0.35) !important;
}

html.dark a[href*="page=carrinho"].border-2 {
    background-color: #BBD02B !important;
    border-color: #BBD02B !important;
    color: #242623 !important;
    box-shadow: 0 0 18px rgba(187, 208, 43, 0.45) !important;
    transition: all 0.25s ease !important;
}

html.dark a[href*="page=carrinho"].border-2:hover {
    background-color: #A3B826 !important;
    border-color: #A3B826 !important;
    box-shadow: 0 0 25px rgba(187, 208, 43, 0.6) !important;
    transform: translateY(-1px) !important;
}

html.dark .lg\:col-span-6 div.border.p-3 {
    background-color: #2E302D !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
}

html.dark .lg\:col-span-6 div.border.p-3 .material-symbols-outlined {
    color: #BBD02B !important;
}

html.dark .tab-container button[data-tab-target] {
    color: #94A3B8 !important;
}

html.dark .tab-container button[data-tab-target]:hover {
    color: #FFFFFF !important;
}

html.dark .tab-container button[data-tab-target].border-brand-primary,
html.dark .tab-container button[data-tab-target].text-brand-primary {
    color: #BBD02B !important;
    border-color: #BBD02B !important;
    filter: drop-shadow(0 0 6px rgba(187, 208, 43, 0.4));
}

html.dark .tab-content p,
html.dark .tab-content li {
    color: #CBD5E1 !important;
}

html.dark .tab-content h4 {
    color: #FFFFFF !important;
}

html.dark a[href*="loja"].text-brand-primary {
    color: #BBD02B !important;
}

html.dark input,
html.dark select,
html.dark textarea {
    background-color: #1A1B19 !important;
    color: #FFFFFF !important;
    border-color: #3D403C !important;
}

html.dark input:focus,
html.dark select:focus {
    border-color: #BBD02B !important;
    box-shadow: 0 0 8px rgba(187, 208, 43, 0.35) !important;
}

html.dark ::-webkit-scrollbar-track {
    background: #1A1B19;
}
html.dark ::-webkit-scrollbar-thumb {
    background: #3D403C;
}
html.dark ::-webkit-scrollbar-thumb:hover {
    background: #BBD02B;
}

html.dark aside {
    background-color: #242623 !important;
    border-color: #3D403C !important;
}

html.dark aside a.bg-brand-primary {
    background-color: #BBD02B !important;
    color: #242623 !important;
    box-shadow: 0 0 15px rgba(187, 208, 43, 0.4) !important;
}

html.dark .bg-surface-container,
html.dark .bg-surface-container-high,
html.dark .bg-surface-container-low {
    background-color: #2E302D !important;
    border-color: #3D403C !important;
    color: #FFFFFF !important;
}

html.dark .border-outline-variant,
html.dark .border-brand-border {
    border-color: #3D403C !important;
}

html.dark main.bg-brand-light,
html.dark main.bg-background,
html.dark body.bg-brand-light {
    background-color: #1A1B19 !important;
}

html.dark table {
    background-color: #2E302D !important;
    border-color: #3D403C !important;
}

html.dark thead.bg-surface-container-high,
html.dark thead {
    background-color: #242623 !important;
    color: #FFFFFF !important;
}

html.dark tbody tr {
    background-color: #2E302D !important;
    border-color: #3D403C !important;
}

html.dark tbody tr:hover {
    background-color: rgba(255, 255, 255, 0.04) !important;
}

html.dark tr, html.dark td, html.dark th {
    border-color: #3D403C !important;
}

html.dark .badge-pago {
    background-color: rgba(50, 188, 173, 0.15) !important;
    color: #32BCAD !important;
    border: 1px solid rgba(50, 188, 173, 0.4) !important;
}

html.dark .badge-pendente {
    background-color: rgba(187, 208, 43, 0.15) !important;
    color: #BBD02B !important;
    border: 1px solid rgba(187, 208, 43, 0.4) !important;
}

html.dark .badge-enviado {
    background-color: rgba(187, 208, 43, 0.12) !important;
    color: #BBD02B !important;
    border: 1px solid rgba(187, 208, 43, 0.35) !important;
}

/* --------------------------------------------------------------------------
   DARK MODE — Polimento (slate, checkout, loja, cards)
   -------------------------------------------------------------------------- */

html.dark .text-slate-900,
html.dark .text-slate-800 {
    color: #FFFFFF !important;
}

html.dark .text-slate-700,
html.dark .text-slate-600 {
    color: #C4C6C2 !important;
}

html.dark .text-slate-500,
html.dark .text-slate-400 {
    color: #A8AAA6 !important;
}

html.dark .bg-slate-50,
html.dark .hover\:bg-slate-50:hover {
    background-color: #2E302D !important;
}

html.dark .border-slate-200,
html.dark .border-slate-100,
html.dark .hover\:border-slate-300:hover {
    border-color: #3D403C !important;
}

html.dark .product-card .bg-\[\#F5F7FA\] {
    background-color: #242623 !important;
    border-color: #3D403C !important;
}

html.dark .product-card .bg-white {
    background-color: transparent !important;
}

html.dark [data-payment-option],
html.dark [data-shipping-option] {
    color: #E6E6E6;
}

html.dark [data-payment-option].bg-slate-50,
html.dark [data-shipping-option].bg-slate-50,
html.dark [data-payment-option]:not([aria-checked="true"]),
html.dark [data-shipping-option]:not([aria-checked="true"]) {
    background-color: #2E302D !important;
    border-color: #3D403C !important;
}

html.dark [data-shipping-option][aria-checked="true"] {
    border-color: #BBD02B !important;
}

html.dark .card-endereco-item:not(.border-\[\#BBD02B\]) {
    background-color: #2E302D !important;
    border-color: #3D403C !important;
}

html.dark .card-endereco-item.border-2 {
    background-color: rgba(187, 208, 43, 0.08) !important;
    border-color: #BBD02B !important;
}

html.dark form label.text-slate-700 {
    color: #C4C6C2 !important;
}

html.dark form input.bg-slate-50,
html.dark form select.bg-slate-50,
html.dark form textarea.bg-slate-50 {
    background-color: #1A1B19 !important;
    border-color: #3D403C !important;
    color: #FFFFFF !important;
}

html.dark form input.bg-slate-50:focus,
html.dark form select.bg-slate-50:focus,
html.dark form textarea.bg-slate-50:focus {
    background-color: #242623 !important;
    border-color: #BBD02B !important;
}

html.dark aside .bg-gradient-to-b,
html.dark aside .bg-gradient-to-br {
    background: linear-gradient(to bottom, #2E302D, #242623) !important;
    border-color: #3D403C !important;
}

html.dark aside a:hover {
    background-color: rgba(255, 255, 255, 0.05) !important;
}

html.dark aside #priceDisplay {
    background-color: #1A1B19 !important;
    border-color: #3D403C !important;
    color: #BBD02B !important;
}

html.dark section.bg-gradient-to-b.from-\[\#F1F5F9\],
html.dark section.bg-gradient-to-r.from-\[\#071426\] {
    background: #1A1B19 !important;
}

html.dark .bg-gradient-to-r.from-\[\#071426\],
html.dark .bg-gradient-to-b.from-\[\#071426\] {
    background: linear-gradient(to right, #1A1B19, #242623, #1A1B19) !important;
}

html.dark .from-emerald-500\/10.to-teal-500\/10 {
    background: linear-gradient(to bottom right, rgba(50, 188, 173, 0.12), rgba(50, 188, 173, 0.06)) !important;
    border-color: rgba(50, 188, 173, 0.3) !important;
}

html.dark .text-emerald-950 {
    color: #32BCAD !important;
}

html.dark .text-emerald-800 {
    color: #A8AAA6 !important;
}

html.dark .p-4.bg-white.border,
html.dark .p-12.bg-white.border {
    background-color: #2E302D !important;
    border-color: #3D403C !important;
}

/* Animações de Transição de Filtro da Vitrine */
.filter-card-item {
    transition: opacity 0.28s cubic-bezier(0.16, 1, 0.3, 1), transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}
.filter-card-item.filtering-out {
    opacity: 0;
    transform: scale(0.95) translateY(8px);
    pointer-events: none;
}
.filter-card-item.filtering-in {
    animation: filterIn 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* ==========================================================================
   REGRAS GLOBAIS DE ADAPTAÇÃO RESPONSIVA & ERGONOMIA TÁTIL (IMPECCABLE ADAPT)
   ========================================================================== */

/* 1. Safe Areas para Smartphones Modernos (iPhone Notch, Dynamic Island, Home Bar) */
body {
    padding-left: env(safe-area-inset-left, 0px);
    padding-right: env(safe-area-inset-right, 0px);
    overflow-x: hidden;
}

@media screen and (max-width: 768px) {
    body {
        padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px)) !important;
    }
}

/* 2. Suporte a Rolagem Tátil Suave em Tabelas e Modais */
.overflow-x-auto, .overflow-y-auto, [class*="overflow-"] {
    -webkit-overflow-scrolling: touch;
}

/* 3. Prevenção de Zoom Indesejado no iOS Safari ao Focar em Inputs */
@media screen and (max-width: 640px) {
    input[type="text"],
    input[type="number"],
    input[type="email"],
    input[type="password"],
    input[type="tel"],
    input[type="search"],
    input[type="date"],
    select,
    textarea {
        font-size: 16px !important; /* Evita que o Safari dê zoom automático ao focar no campo */
    }
}

/* 4. Ergonomia para Dispositivos com Touchscreen (Coarse Pointer) */
@media (pointer: coarse) {
    /* Touch Target mínimo recomendado pela WCAG (44x44px) */
    button, 
    a.btn,
    .btn-action,
    .touch-target {
        min-height: 44px;
        min-width: 44px;
    }

    /* Feedback tátil imediato no toque (Active State) */
    button:active, 
    a:active,
    .product-card:active {
        transform: scale(0.98);
        transition: transform 0.1s ease;
    }
}

/* 5. Adaptações Específicas para Modais em Telas Pequenas (<= 640px) */
@media screen and (max-width: 640px) {
    .modal-card,
    [id^="modal"] > div {
        max-height: 90vh !important;
        margin: 10px auto !important;
        width: calc(100% - 20px) !important;
    }

    /* Ajuste de espaçamento em tabelas responsivas no mobile */
    table th, table td {
        padding-left: 8px !important;
        padding-right: 8px !important;
    }
}

/* 6. Fluidez de Layouts e Grids sem Quebra Horizontal */
img, svg, video, canvas {
    max-width: 100%;
    height: auto;
}

/* ==========================================================================
   HERO AURORA — Mesh gradient animado (grafite + neon)
   ========================================================================== */

@property --aurora-angle {
    syntax: '<angle>';
    inherits: false;
    initial-value: 120deg;
}

.hero-aurora {
    isolation: isolate;
    background-color: var(--ps-graphite);
}

.hero-aurora__bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.hero-aurora__orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(72px);
    will-change: transform;
}

.hero-aurora__orb--primary {
    width: min(58vw, 640px);
    height: min(58vw, 640px);
    top: -18%;
    right: -8%;
    background: radial-gradient(circle at 40% 40%, rgba(187, 208, 43, 0.48) 0%, rgba(187, 208, 43, 0.16) 38%, transparent 72%);
    animation: hero-aurora-drift-primary 11s cubic-bezier(0.45, 0.05, 0.25, 1) infinite alternate;
}

.hero-aurora__orb--secondary {
    width: min(44vw, 480px);
    height: min(44vw, 480px);
    bottom: -22%;
    left: -12%;
    background: radial-gradient(circle at 55% 45%, rgba(187, 208, 43, 0.28) 0%, rgba(163, 184, 38, 0.1) 42%, transparent 70%);
    animation: hero-aurora-drift-secondary 13s cubic-bezier(0.45, 0.05, 0.25, 1) infinite alternate;
}

.hero-aurora__orb--accent {
    width: min(36vw, 400px);
    height: min(36vw, 400px);
    top: 48%;
    left: 58%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(187, 208, 43, 0.24) 0%, transparent 68%);
    animation: hero-aurora-drift-accent 9s cubic-bezier(0.45, 0.05, 0.25, 1) infinite alternate;
}

.hero-aurora__orb--copy {
    width: min(42vw, 460px);
    height: min(42vw, 460px);
    top: 22%;
    left: 8%;
    background: radial-gradient(circle at 60% 50%, rgba(187, 208, 43, 0.3) 0%, rgba(187, 208, 43, 0.08) 45%, transparent 72%);
    animation: hero-aurora-drift-copy 10s cubic-bezier(0.45, 0.05, 0.25, 1) infinite alternate;
}

.hero-aurora__beam {
    position: absolute;
    inset: -20% -10%;
    background: conic-gradient(
        from var(--aurora-angle) at 72% 48%,
        transparent 0deg,
        rgba(187, 208, 43, 0.1) 38deg,
        rgba(187, 208, 43, 0.24) 72deg,
        rgba(187, 208, 43, 0.08) 104deg,
        transparent 150deg,
        transparent 360deg
    );
    opacity: 1;
    animation: hero-aurora-beam-rotate 14s linear infinite;
}

.hero-aurora__vignette {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 92% 75% at 50% 48%, transparent 42%, rgba(26, 27, 25, 0.35) 100%),
        linear-gradient(180deg, rgba(36, 38, 35, 0.1) 0%, transparent 32%, rgba(26, 27, 25, 0.22) 100%);
}

.hero-aurora__fade-bottom {
    position: absolute;
    inset: auto 0 0 0;
    height: 120px;
    background: linear-gradient(
        to bottom,
        transparent 0%,
        rgba(36, 38, 35, 0.45) 55%,
        rgba(230, 230, 230, 0.12) 100%
    );
    pointer-events: none;
}

.hero-aurora__headline-glow {
    text-shadow: 0 0 48px rgba(187, 208, 43, 0.45);
}

.hero-aurora__product-frame {
    box-shadow:
        0 0 0 1px rgba(187, 208, 43, 0.12),
        0 24px 48px rgba(0, 0, 0, 0.45),
        0 0 60px rgba(187, 208, 43, 0.08);
}

.hero-aurora__product-glow {
    position: absolute;
    inset: 10% 5% auto 5%;
    height: 55%;
    border-radius: 50%;
    background: radial-gradient(ellipse at center, rgba(187, 208, 43, 0.2) 0%, transparent 70%);
    filter: blur(24px);
    pointer-events: none;
    animation: hero-aurora-product-pulse 6s ease-in-out infinite alternate;
}

@keyframes hero-aurora-drift-primary {
    0%   { transform: translate(0, 0) scale(1); }
    100% { transform: translate(-8%, 10%) scale(1.08); }
}

@keyframes hero-aurora-drift-secondary {
    0%   { transform: translate(0, 0) scale(1); }
    100% { transform: translate(12%, -8%) scale(1.12); }
}

@keyframes hero-aurora-drift-accent {
    0%   { transform: translate(-50%, -50%) scale(0.92); opacity: 0.75; }
    100% { transform: translate(-44%, -62%) scale(1.1); opacity: 1; }
}

@keyframes hero-aurora-drift-copy {
    0%   { transform: translate(0, 0) scale(1); opacity: 0.8; }
    100% { transform: translate(6%, -5%) scale(1.06); opacity: 1; }
}

@keyframes hero-aurora-beam-rotate {
    0%   { --aurora-angle: 108deg; }
    100% { --aurora-angle: 468deg; }
}

@keyframes hero-aurora-product-pulse {
    0%   { opacity: 0.6; transform: scale(0.96); }
    100% { opacity: 1; transform: scale(1.06); }
}

html.dark .hero-aurora {
    background-color: var(--ps-dark-bg);
}

html.dark .hero-aurora__orb--primary {
    background: radial-gradient(circle at 40% 40%, rgba(187, 208, 43, 0.55) 0%, rgba(187, 208, 43, 0.18) 38%, transparent 72%);
}

html.dark .hero-aurora__orb--copy {
    background: radial-gradient(circle at 60% 50%, rgba(187, 208, 43, 0.34) 0%, rgba(187, 208, 43, 0.1) 45%, transparent 72%);
}

html.dark .hero-aurora__fade-bottom {
    background: linear-gradient(
        to bottom,
        transparent 0%,
        rgba(26, 27, 25, 0.5) 55%,
        rgba(26, 27, 25, 0.85) 100%
    );
}

html.dark .hero-aurora__product-frame {
    background-color: rgba(46, 48, 45, 0.75) !important;
    box-shadow:
        0 0 0 1px rgba(187, 208, 43, 0.2),
        0 24px 48px rgba(0, 0, 0, 0.55),
        0 0 80px rgba(187, 208, 43, 0.12);
}

@media (prefers-reduced-motion: reduce) {
    .hero-aurora__orb,
    .hero-aurora__beam,
    .hero-aurora__product-glow {
        animation: none !important;
    }

    .hero-aurora__beam {
        --aurora-angle: 125deg;
        opacity: 0.75;
    }
}

@media (max-width: 1023px) {
    .hero-aurora__orb--accent {
        left: 55%;
        top: 58%;
        width: min(75vw, 440px);
        height: min(75vw, 440px);
    }

    .hero-aurora__orb--copy {
        left: -5%;
        top: 35%;
        width: min(65vw, 380px);
        height: min(65vw, 380px);
    }

    .hero-aurora__beam {
        opacity: 0.8;
    }

    .hero-aurora__fade-bottom {
        height: 80px;
    }
}

/* Formulário de produto: 16px no toque evita zoom do iOS; no tablet/desktop volta ao tamanho do painel. */
#formProdutoAdmin input:not([type="hidden"]):not([type="file"]),
#formProdutoAdmin select,
#formProdutoAdmin textarea {
    font-size: 1rem;
}

@media (min-width: 768px) {
    #formProdutoAdmin input:not([type="hidden"]):not([type="file"]),
    #formProdutoAdmin select,
    #formProdutoAdmin textarea {
        font-size: 0.875rem;
    }
}

#formNovaCompra input:not([type="hidden"]),
#formNovaCompra select,
#formNovaCompra textarea,
#formNovoPedido input:not([type="hidden"]),
#formNovoPedido select,
#formNovoPedido textarea,
#formNovoFornecedor input:not([type="hidden"]),
#formNovoFornecedor select,
#formNovoFornecedor textarea {
    font-size: 1rem;
}

#form_config_loja input:not([type="hidden"]):not([type="checkbox"]),
#form_config_loja select,
#form_config_loja textarea,
#formCupomAdmin input:not([type="hidden"]):not([type="checkbox"]),
#formCupomAdmin select {
    font-size: 1rem;
}

@media (min-width: 768px) {
    #formNovaCompra input:not([type="hidden"]),
    #formNovaCompra select,
    #formNovaCompra textarea,
    #formNovoPedido input:not([type="hidden"]),
    #formNovoPedido select,
    #formNovoPedido textarea,
    #formNovoFornecedor input:not([type="hidden"]),
    #formNovoFornecedor select,
    #formNovoFornecedor textarea,
    #form_config_loja input:not([type="hidden"]):not([type="checkbox"]),
    #form_config_loja select,
    #form_config_loja textarea,
    #formCupomAdmin input:not([type="hidden"]):not([type="checkbox"]),
    #formCupomAdmin select {
        font-size: 0.875rem;
    }
}

