/* © Propriedade Intelectual Reservada - CliqueMaisDigital Soluções Online. Todos os direitos reservados. */
@charset "UTF-8";
/* === DNA TIPOGRÁFICO & UX KIT L2 v4 Build - Protocolo G2 === */

:root {
  --font-primary: 'Montserrat', sans-serif;
  --font-secondary: 'Inter', sans-serif;
  --z-wp: 60;
  --z-nav: 50;
  --z-dept: 30;
  --z-cookie: 999;
  --z-policy: 1000;
  --z-modal: 1100;
  --z-cart: 1200;
  --z-menu: 9999;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  hyphens: none !important;
  word-break: keep-all !important;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scrollbar-gutter: stable;
}

body {
  background-color: var(--brand-light, #FAFAFA);
  overflow-x: hidden;
  padding-top: 80px;
  font-family: var(--font-secondary);
  color: #0A0A0A;
  /* Cinemática Tipográfica - Aura AG-05 (Apple DNA) */
  letter-spacing: -0.02em;
  line-height: 1.65;
  --pulse-cine: 1;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  /* UX Tipográfica base */
  hyphens: none !important;
  word-wrap: break-word;
  /* Evita vazamentos flex */
  word-break: normal;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  text-wrap: balance;
  font-family: var(--font-primary);
  font-weight: 900;
  hyphens: none !important;
  word-break: keep-all;
}

p,
span,
div,
a,
li {
  hyphens: none !important;
}

p {
  text-wrap: pretty;
  font-family: var(--font-secondary);
  font-weight: 400;
}

/* Scrollbar Automática - Sleek! */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: #0F204B;
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: #E3000F;
}

.scrollbar-hide::-webkit-scrollbar {
  display: none;
}

.scrollbar-hide {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.custom-scrollbar::-webkit-scrollbar {
  width: 6px;
}

.custom-scrollbar::-webkit-scrollbar-track {
  background: transparent;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
  background-color: rgba(0, 0, 0, .2);
  border-radius: 10px;
}

/* Animações Premium */
@keyframes softPulse {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(227, 0, 15, 0.4);
  }

  50% {
    box-shadow: 0 0 0 10px rgba(227, 0, 15, 0);
  }
}

.btn-pulse {
  animation: softPulse 2.5s infinite;
}

@keyframes premium-pulse {
  0% {
    transform: scale(1);
    opacity: .6;
  }

  50% {
    transform: scale(1.25);
    opacity: 0;
  }

  100% {
    transform: scale(1);
    opacity: 0;
  }
}

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

@keyframes pingRgb {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6);
    opacity: 1;
  }

  15% {
    opacity: 0.4;
  }

  33% {
    box-shadow: 0 0 0 15px rgba(15, 32, 75, 0);
    opacity: 1;
  }

  34% {
    box-shadow: 0 0 0 0 rgba(15, 32, 75, 0.6);
    opacity: 1;
  }

  50% {
    opacity: 0.4;
  }

  66% {
    box-shadow: 0 0 0 15px rgba(227, 0, 15, 0);
    opacity: 1;
  }

  67% {
    box-shadow: 0 0 0 0 rgba(227, 0, 15, 0.6);
    opacity: 1;
  }

  85% {
    opacity: 0.4;
  }

  100% {
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    opacity: 1;
  }
}

.animate-ping-rgb {
  animation: pingRgb 4.5s ease-in-out infinite;
  border-radius: 50%;
}


@keyframes swipePingMobile {

  0%,
  100% {
    transform: translateX(0);
    opacity: 1;
  }

  40% {
    transform: translateX(5px);
    opacity: 0.5;
  }

  60% {
    transform: translateX(-2px);
    opacity: 0.9;
  }
}

.animate-swipe-ping-mobile {
  animation: swipePingMobile 1.2s ease-in-out infinite;
}

@keyframes scrollWheel {
  0% {
    transform: translateY(0);
    opacity: 1;
  }

  100% {
    transform: translateY(10px);
    opacity: 0;
  }
}

.fade-up {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}

.fade-up.visible {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}

/* Glassmorphism e Transparências */
.glass-card {
  background: #FFFFFF !important;
  border: 1.5px solid #0F204B !important;
  /* Borda Azul Marinho da marca Levix (AG-03) */
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03) !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.glass-card:hover {
  box-shadow: 0 20px 40px -15px rgba(15, 32, 75, 0.15) !important;
  border-color: #E3000F !important;
  /* Na hover assume a cor vermelha magnética da Levix */
}

.glass-nav {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.glass-accordion {
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.10);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 8px 32px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.glass-accordion:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.20);
}

/* Modulos Visuais de Produto */
.product-img-container {
  width: 100%;
  aspect-ratio: 3/4;
  border-radius: 1rem;
  overflow: hidden;
  position: relative;
  background-color: #f9f9f9;
}

.product-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}

.group:hover .product-img {
  transform: scale(1.12);
}

/* Helpers Line Clamp - Otimização p/ UX limpa */
.line-clamp-1 {
  display: -webkit-box;
  -webkit-line-clamp: 1;
  line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

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

/* Swiper ajustes PWA */
.main-swiper {
  margin: 0 !important;
}

.main-swiper > .swiper-wrapper {
  padding: 0 !important;
  margin: 0 !important;
  align-items: stretch !important;
}

.main-swiper .swiper-slide {
  height: auto !important;
  display: flex !important;
  flex-direction: column !important;
}

.main-swiper .glass-card {
  flex: 1;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.hero-pagination .swiper-pagination-bullet {
  background-color: rgba(255, 255, 255, 0.3) !important;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 1 !important;
  width: 6px !important;
  height: 6px !important;
  min-width: 6px !important;
  min-height: 6px !important;
  transition: all 0.3s;
  border-radius: 50% !important;
}

.hero-pagination .swiper-pagination-bullet-active {
  background-color: #E3000F !important;
  width: 20px !important;
  border-radius: 3px !important;
  box-shadow: 0 0 8px rgba(227, 0, 15, 0.4);
}

.modal-pagination .swiper-pagination-bullet {
  background: rgba(15, 32, 75, 0.4) !important;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 1 !important;
  width: 6px !important;
  height: 6px !important;
  min-width: 6px !important;
  min-height: 6px !important;
  transition: all 0.3s;
  border-radius: 50% !important;
}

.modal-pagination .swiper-pagination-bullet-active {
  background: #E3000F !important;
  width: 18px !important;
  border-radius: 3px !important;
  box-shadow: 0 0 8px rgba(227, 0, 15, 0.4);
}

.swiper-button-disabled {
  opacity: 0.3 !important;
  cursor: not-allowed !important;
  pointer-events: none !important;
}

/* Modais Dinâmicos */
#product-modal .modal-content {
  transition: opacity 0.3s ease, transform 0.35s cubic-bezier(0.32, 0.72, 0, 1);
}

@media(max-width: 639px) {
  #product-modal {
    align-items: flex-end;
  }

  #product-modal .modal-content {
    border-bottom-left-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    max-height: 90dvh !important;
    overflow-y: auto !important;
    flex-direction: column !important;
  }

  #product-modal .flex.gap-2 {
    flex-direction: column;
  }

  #tech-spec-modal .modal-content {
    max-height: 90dvh !important;
    border-bottom-left-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
  }
}

@media(min-width: 640px) {
  #product-modal .flex.gap-2 {
    flex-direction: row;
  }
}

.modal-prev,
.modal-next {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

/* Thumbnails */
.modal-thumb-strip {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 8px 4px 4px;
  scrollbar-width: none;
}

.modal-thumb-strip::-webkit-scrollbar {
  display: none;
}

.modal-thumb {
  width: 52px;
  height: 52px;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color 0.2s, transform 0.2s;
  flex-shrink: 0;
}

.modal-thumb.active {
  border-color: #E3000F;
  transform: scale(1.05);
}

.modal-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Carrinho Side Drawer */
#cart-drawer {
  position: fixed;
  inset: 0;
  z-index: var(--z-cart);
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  display: flex;
  justify-content: flex-end;
}

#cart-drawer.open {
  opacity: 1;
  pointer-events: all;
}

#cart-drawer-panel {
  width: 100%;
  max-width: 400px;
  background: #fff;
  height: 100%;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.32, 0.72, 0, 1);
  display: flex;
  flex-direction: column;
  box-shadow: -8px 0 40px rgba(0, 0, 0, 0.15);
}

#cart-drawer.open #cart-drawer-panel {
  transform: translateX(0);
}

#cart-items-list {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
}

.cart-item {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid #f0f0f0;
  align-items: center;
}

.cart-item img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 10px;
  flex-shrink: 0;
}

.cart-item-info {
  flex: 1;
  min-width: 0;
}

.cart-item-name {
  font-family: var(--font-primary);
  font-weight: 900;
  font-size: 13px;
  color: #0A0A0A;
  line-clamp: 2;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.cart-item-price {
  font-family: var(--font-primary);
  font-weight: 900;
  font-size: 14px;
  color: #0F204B;
  margin-top: 2px;
}

.cart-item-cat {
  font-size: 10px;
  font-weight: 700;
  color: #E3000F;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.cart-qty {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
}

.cart-qty button {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid #e5e7eb;
  background: #f9fafb;
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
}

.cart-qty button:hover {
  background: #E3000F;
  color: #fff;
  border-color: #E3000F;
}

.cart-qty span {
  font-weight: 700;
  font-size: 14px;
  min-width: 20px;
  text-align: center;
}

/* Botões Especializados */
.btn-fav {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 1.5px solid #e5e7eb;
  background: #f9fafb;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.2s;
}

.btn-fav.active {
  background: #fff0f0;
  border-color: #E3000F;
}

.btn-fav.active svg {
  fill: #E3000F;
  stroke: #E3000F;
}

.btn-fav svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: #6b7280;
  transition: all 0.2s;
}

/* PWA Install Banner e Específicos */
#pwa-install-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: var(--z-cookie);
  background: linear-gradient(135deg, #0F204B, #1A2F63);
  border-top: 3px solid #E3000F;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  transform: translateY(100%) !important;
  transition: transform 0.5s cubic-bezier(0.32, 0.72, 0, 1);
  box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.3);
}

#pwa-install-banner.show {
  transform: translateY(0) !important;
}



#cookie-banner.show {
  transform: translate(-50%, 0) !important;
}

#hero {
  padding-top: 0;
}

#hero .swiper {
  padding-top: 0 !important;
}
.heroSwiper {
  position: absolute !important;
}

#wp-balloon {
  transition: opacity 0.35s ease, transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Correção de Overflow (Gráfica etc) */
.graficaSwiper {
  overflow: visible !important;
}

#swiper-container-grafica {
  overflow: hidden;
  padding: 8px 4px;
  margin: -8px -4px;
}

.catalog-grid {
  display: none;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.catalog-grid.active {
  display: grid;
  opacity: 1;
  contain: layout paint;
}

/* AG-06: isola repaints e melhora scroll */
.custom-grid-scroll {
  max-height: none !important;
  overflow-y: visible !important;
  padding: 1rem 0.5rem;
  scroll-behavior: smooth;
}

/* Scroll indicators - Dept guides */
.scroll-indicator-right {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 80px;
  background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.95));
  z-index: 20;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 12px;
}

.scroll-indicator-left {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 80px;
  background: linear-gradient(to left, transparent, rgba(255, 255, 255, 0.95));
  z-index: 20;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-left: 12px;
}

@media (min-width: 1024px) {

  #dept-left-guide,
  #dept-right-guide,
  .scroll-indicator-left[id*="dept"],
  .scroll-indicator-right[id*="dept"],
  [id*="dept-left-guide"],
  [id*="dept-right-guide"] {
    display: none !important;
  }
}

/* Mouse Anim */
.mouse-icon {
  width: 20px;
  height: 32px;
  border: 2px solid rgba(255, 255, 255, 0.6);
  border-radius: 10px;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding-top: 4px;
}

.mouse-wheel {
  width: 3px;
  height: 6px;
  background: white;
  border-radius: 2px;
  animation: scrollWheel 1.5s infinite;
}

.item-card>div {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 420px;
}

/* Micro-resoluções de Alinhamento e UX Tipográfica */
h1,
h2,
h3 {
  text-wrap: balance !important;
}

p,
blockquote,
.modal-tech-spec {
  text-wrap: pretty !important;
  line-height: 1.5;
}

.text-justify {
  text-align: left !important;
}

/* Justify in web creates rivers of whitespace, left is better for web readability */
.modal-cta-text {
  letter-spacing: 0.1em;
}

/* DNA Levix Store Vilhena - Cores e Animações */
:root {
  --levix-blue: #0F204B;
  --levix-blue-dark: #09132E;
  --levix-red: #E3000F;
  --levix-red-dark: #B9000C;
  --wpp-green: #25D366;
  --wpp-green-dark: #1EAE53;
  --levix-cyan: #00B5E2;
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s infinite;
  z-index: 10;
  color: white;
  opacity: 0.8;
  cursor: pointer;
}

@keyframes bounce {

  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0) translateX(-50%);
  }

  40% {
    transform: translateY(-15px) translateX(-50%);
  }

  60% {
    transform: translateY(-7px) translateX(-50%);
  }
}

/* Efeitos Especiais de Pulso e Ping organizados */
.hover-levix {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hover-levix:hover {
  background-color: var(--levix-blue) !important;
  transform: scale(1.02);
  box-shadow: 0 10px 25px -5px rgba(15, 32, 75, 0.4);
}

.ping-absolute {
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  border: 2px solid var(--wpp-green);
  animation: ping 2s cubic-bezier(0, 0, 0.2, 1) infinite;
  opacity: 0.5;
  pointer-events: none;
}

/* RESPONSIVIDADE CAMALEÃO - CYRUS / THERON */


/* will-change removido dos headings — evitava compositing desnecessário e travamentos no scroll */
h1,
h2,
h3,
h4 {
  backface-visibility: hidden;
}

.item-card {
  animation: fade-in-scale 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes fade-in-scale {
  0% {
    opacity: 0;
    transform: translateY(20px) scale(0.95);
  }

  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Ajustes Finos Tópicos e Erradicação Visuais */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-thumb {
  background: #0F204B;
  border-radius: 4px;
}

::-webkit-scrollbar-track {
  background: #FAFAFA;
}

/* ========================================================= */
/* FIX URGENTE TAILWIND ABSOLUTO - AG-12 NEMESIS */
/* ========================================================= */
.aspect-\[4\/3\] {
  aspect-ratio: 4 / 3 !important;
}

.w-14 {
  width: 3.5rem !important;
}

.h-14 {
  height: 3.5rem !important;
}

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

.text-\[11px\] {
  font-size: 11px !important;
}

.bg-\[\#00B5E2\] {
  background-color: #00B5E2 !important;
}

.text-\[\#00B5E2\] {
  color: #00B5E2 !important;
}

.hover\:bg-\[\#00B5E2\]:hover {
  background-color: #00B5E2 !important;
}

.hover\:border-\[\#00B5E2\]\/30:hover {
  border-color: rgba(0, 181, 226, 0.3) !important;
}

.hover\:text-\[\#00B5E2\]:hover {
  color: #00B5E2 !important;
}

.bg-\[\#E3000F\]\/10 {
  background-color: rgba(227, 0, 15, 0.1) !important;
}

.border-\[\#E3000F\]\/20 {
  border-color: rgba(227, 0, 15, 0.2) !important;
}

.hover\:bg-\[\#E3000F\]:hover {
  background-color: #E3000F !important;
}

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

.gap-3 {
  gap: 0.75rem !important;
}


/* AG-06: CWV Otimização Supreme */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* AG-03 Kaelen: Touch Targets Mínimos 44px (Lei de Fitts) — Exceção para bullets */
button,
a,
[role="button"],
input[type="button"],
input[type="submit"],
select {
  min-height: 44px;
  min-width: 44px;
}

.swiper-pagination-bullet {
  min-height: 6px !important;
  min-width: 6px !important;
}

/* AG-05 Aldric: Anti-overflow horizontal global — Lei Encravada */
img,
video,
iframe,
canvas,
svg {
  max-width: 100%;
  height: auto;
}

/* AG-03: Flex containers blindados contra overflow horizontal */
.swiper-slide,
.item-card,
.glass-card {
  min-width: 0;
  word-break: break-word;
}

/* AG-06: Preload dicas — Skeleton de produto para CLS=0 */
.product-img-container img {
  contain: layout style;
  will-change: transform;
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  /* Enquadramento perfeito sem cortar o celular (AG-03) */
  padding: 12px !important;
  /* Respiro de design */
}

/* AG-15 Alquimista: Micro-interações Hapticas premium */
button:active,
a:active,
[role="button"]:active {
  transform: scale(0.97);
  transition: transform 0.1s ease;
}

/* AG-03: Cart drawer touch-friendly scroll */
#cart-items-list,
#cart-items-wrapper {
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}

/* Drawer e Modal de Políticas — Sistema Robusto de Ativação (AG-03) */
#policy-drawer,
#policy-modal {
  transition: opacity 0.3s ease !important;
}

#policy-drawer.active,
#policy-modal.active {
  opacity: 1 !important;
  pointer-events: auto !important;
}

#policy-drawer-content {
  transition: transform 0.3s cubic-bezier(0.32, 0.72, 0, 1) !important;
}

#policy-drawer.active #policy-drawer-content {
  transform: translateX(0) !important;
}

/* Botão Lupa de Detalhes Premium (AG-03) */
.detail-lupa-btn {
  color: #00B5E2 !important;
  border-color: rgba(0, 181, 226, 0.4) !important;
  background-color: transparent !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.detail-lupa-btn:hover {
  color: #FFFFFF !important;
  border-color: #00B5E2 !important;
  background-color: #00B5E2 !important;
}

/* AG-11: Corrigir items-card height para Safari PWA */
.item-card .glass-card {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  min-height: 420px;
}

/* AG-03 Kaelen: UX Mobile Premium — Espaçamentos Reduzidos */
@media (max-width: 639px) {
  section[id^="catalogo"] {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
  }

  #assistencia {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
  }

  #instagram-reels {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
  }

  footer {
    padding-top: 2.5rem !important;
  }

  .glass-card {
    min-height: 400px;
  }

  .product-img-container {
    min-height: 180px;
  }

  /* Modal mobile — botões sempre visíveis */
  #product-modal .modal-content {
    max-height: 95vh !important;
  }

  #product-modal .shrink-0 {
    position: sticky;
    bottom: 0;
    z-index: 30;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
  }

  /* Tech Spec Modal mobile fixes */
  #tech-spec-modal .modal-content {
    max-height: 95vh !important;
    border-bottom-left-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
  }
}

/* AG-03: Modal Gallery responsivo e com altura compacta no mobile */
.modal-gallery-container-custom {
  min-height: 200px !important;
  height: 230px !important;
}

@media (min-width: 640px) {
  .modal-gallery-container-custom {
    min-height: 300px !important;
    height: auto !important;
  }
}

/* ============================================================
   AG-03 + AG-15: LEVIX CTA BUTTON SYSTEM (Math Premium 80%)
   Garante que ícone + texto preencham 80% do espaço interno
   em qualquer breakpoint e qualquer dispositivo.
   ============================================================ */
.levix-cta-btn {
  /* Altura fixa proporcional (nunca estica/encolhe) */
  min-height: 44px;
  max-height: 44px;
  /* Padding interno: 10% de margem em cada lado = 80% de conteúdo */
  padding-left: 10%;
  padding-right: 10%;
  padding-top: 0;
  padding-bottom: 0;
  /* Contenção */
  white-space: nowrap;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

/* Responsividade proporcional para tablets e desktops */
@media (min-width: 640px) {
  .levix-cta-btn {
    min-height: 48px;
    max-height: 48px;
  }
}

/* Botões dentro dos modais — mesma regra */
#product-modal .levix-cta-btn,
#tech-spec-modal .levix-cta-btn,
#product-modal a[id*="cta"],
#tech-spec-modal a[id*="cta"] {
  min-height: 48px;
  max-height: 52px;
  padding-left: 10%;
  padding-right: 10%;
  white-space: nowrap;
}

/* ============================================================
   AG-03 + AG-15: GLASSMORPHISM ULTRA (Tela de Smartphone Novo)
   Efeito de vidro com reflexo premium e brilho sutil.
   ============================================================ */
.glass-card {
  background: rgba(255, 255, 255, 0.92) !important;
  backdrop-filter: blur(16px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(16px) saturate(180%) !important;
  border: 1px solid rgba(255, 255, 255, 0.75) !important;
  box-shadow:
    0 4px 24px rgba(0, 0, 0, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    inset 0 -1px 0 rgba(0, 0, 0, 0.02) !important;
}

.glass-card:hover {
  box-shadow:
    0 20px 50px rgba(15, 32, 75, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 1),
    inset 0 -1px 0 rgba(0, 0, 0, 0.03) !important;
  border-color: rgba(255, 255, 255, 1) !important;
}

/* Reflexo de vidro premium (simula brilho de tela) */
.glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 45%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.35) 0%, rgba(255, 255, 255, 0) 100%);
  border-radius: inherit;
  pointer-events: none;
  z-index: 1;
}

/* Setas do carrossel — tamanho uniforme padronizado */
.catalog-arrow,
.swiper-button-prev,
.swiper-button-next {
  width: 36px !important;
  height: 36px !important;
  min-width: 36px !important;
  min-height: 36px !important;
}

/* Padronização Suprema de Todas as Setas de Navegação (Guia, Swiper, Modais e Hero) */
.instagram-guide,
.catalog-arrow,
.swiper-button-prev,
.swiper-button-next,
.swiper-button-prev-cell,
.swiper-button-next-cell,
.swiper-button-prev-store,
.swiper-button-next-store,
.swiper-button-prev-grafica,
.swiper-button-next-grafica,
.rail-arrow-prev,
.rail-arrow-next,
.swiper-nav-arrow,
.hero-prev,
.hero-next,
.modal-prev,
.modal-next {
  width: clamp(36px, 4.5vw, 44px) !important;
  height: clamp(36px, 4.5vw, 44px) !important;
  min-width: clamp(36px, 4.5vw, 44px) !important;
  min-height: clamp(36px, 4.5vw, 44px) !important;
  max-width: clamp(36px, 4.5vw, 44px) !important;
  max-height: clamp(36px, 4.5vw, 44px) !important;
  border-radius: 50% !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  cursor: pointer !important;
  position: relative !important;
}

.instagram-guide svg,
.catalog-arrow svg,
.swiper-button-prev svg,
.swiper-button-next svg,
.swiper-button-prev-cell svg,
.swiper-button-next-cell svg,
.swiper-button-prev-store svg,
.swiper-button-next-store svg,
.swiper-button-prev-grafica svg,
.swiper-button-next-grafica svg,
.rail-arrow-prev svg,
.rail-arrow-next svg,
.swiper-nav-arrow svg,
.hero-prev svg,
.hero-next svg,
.modal-prev svg,
.modal-next svg {
  width: calc(clamp(36px, 4.5vw, 44px) * 0.45) !important;
  height: calc(clamp(36px, 4.5vw, 44px) * 0.45) !important;
  min-width: calc(clamp(36px, 4.5vw, 44px) * 0.45) !important;
  min-height: calc(clamp(36px, 4.5vw, 44px) * 0.45) !important;
}

/* Saneamento de Setas: Eliminação absoluta de caracteres ou pseudo-elementos duplicados */
.swiper-button-prev::after,
.swiper-button-next::after,
.swiper-button-prev-cell::after,
.swiper-button-next-cell::after,
.swiper-button-prev-store::after,
.swiper-button-next-store::after,
.swiper-button-prev-grafica::after,
.swiper-button-next-grafica::after,
.rail-arrow-prev::after,
.rail-arrow-next::after,
.hero-prev::after,
.hero-next::after {
  content: none !important;
  display: none !important;
}

/* Pulse do botão de carrinho no card — reduzido e elegante */
.animate-premium-pulse {
  animation: premium-pulse 3s cubic-bezier(0.4, 0, 0.6, 1) infinite !important;
}

/* Expurgo total de hifenização em qualquer contexto */
* {
  hyphens: none !important;
  -webkit-hyphens: none !important;
  -ms-hyphens: none !important;
}

/* ========================================================= */
/* FIX DE MODAIS E CONTÊINERES DESKTOP — AG-12 NEMESIS */
/* ========================================================= */

/* Blindagem de Posicionamento Relativo para evitar desalinhamento de elementos absolutos */
#hero,
#swiper-container-cell,
#swiper-container-store,
#swiper-container-grafica,
.swiper {
  position: relative !important;
}

@media (min-width: 640px) {

  /* Alinhamento e limitação de modais no desktop */
  #product-modal .modal-content {
    max-width: 900px !important;
    width: 900px !important;
    max-height: 85vh !important;
    height: auto !important;
    margin: auto !important;
    border-radius: 24px !important;
  }

  #tech-spec-modal .modal-content {
    max-width: 650px !important;
    width: 650px !important;
    max-height: 82vh !important;
    height: auto !important;
    margin: auto !important;
    border-radius: 24px !important;
  }
}

/* Posicionamento Santo Graal das Setas do Hero (AG-03) */
.hero-prev,
.hero-next {
  position: absolute !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  bottom: auto !important;
  z-index: 50 !important;
  width: clamp(38px, 4.5vw, 44px) !important;
  height: clamp(38px, 4.5vw, 44px) !important;
  border-radius: 50% !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  background-color: rgba(10, 15, 29, 0.70) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  color: #FFFFFF !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  cursor: pointer !important;
}

.hero-prev {
  left: 20px !important;
}

.hero-next {
  right: 20px !important;
}

.hero-prev:hover {
  background-color: #0F204B !important;
  border-color: #0F204B !important;
  transform: scale(1.05) translateY(-50%) !important;
}

.hero-next:hover {
  background-color: #E3000F !important;
  border-color: #E3000F !important;
  transform: scale(1.05) translateY(-50%) !important;
}

.hero-prev svg,
.hero-next svg {
  width: 18px !important;
  height: 18px !important;
}

/* Efeito de Ping Suave para Setas do Hero (AG-15) */
.hero-next::after {
  content: '' !important;
  position: absolute !important;
  inset: -4px !important;
  border-radius: 50% !important;
  border: 1px solid rgba(227, 0, 15, 0.6) !important;
  animation: hero-ping-custom 2.2s cubic-bezier(0.16, 1, 0.3, 1) infinite !important;
  pointer-events: none !important;
}

.hero-prev::after {
  content: '' !important;
  position: absolute !important;
  inset: -4px !important;
  border-radius: 50% !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  animation: hero-ping-custom 2.2s cubic-bezier(0.16, 1, 0.3, 1) infinite !important;
  pointer-events: none !important;
}

@keyframes hero-ping-custom {
  0% {
    transform: scale(1);
    opacity: 0.8;
  }

  100% {
    transform: scale(1.35);
    opacity: 0;
  }
}

/* ============================================================
   AG-10: Acessibilidade WCAG — Screen Reader Only
   ============================================================ */
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* === ANIMAÇÕES DE NEUROMARKETING (AG-15) === */
.soft-ping {
  position: absolute;
  inset: -1px;
  border-radius: 9999px;
  border: 2px solid currentColor;
  animation: soft-ping-anim 2s cubic-bezier(0.16, 1, 0.3, 1) infinite;
  pointer-events: none;
}

@keyframes soft-ping-anim {
  0% {
    transform: scale(1);
    opacity: 0.8;
  }

  100% {
    transform: scale(1.5);
    opacity: 0;
  }
}

/* Performance L99+: Pulsar Inteligente em vez de animação contínua */
.btn-cardiac {
  will-change: transform, box-shadow;
}

@keyframes cardiac-anim {
  0% { transform: scale(0.98); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6); }
  50% { transform: scale(1.03); box-shadow: 0 0 0 6px rgba(37, 211, 102, 0); }
  100% { transform: scale(0.98); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

@media (hover: hover) and (pointer: fine) {
  .elite-card:hover .btn-cardiac,
  .netflix-card:hover .btn-cardiac,
  .product-card:hover .btn-cardiac,
  .rail-card:hover .btn-cardiac,
  .elite-card:hover .levix-cta-btn,
  .netflix-card:hover .levix-cta-btn,
  .rail-card:hover .levix-cta-btn {
    animation: cardiac-anim 1.8s cubic-bezier(0.25, 0.8, 0.25, 1) infinite !important;
  }
}

.elite-card.is-centered .btn-cardiac,
.netflix-card.is-centered .btn-cardiac,
.product-card.is-centered .btn-cardiac,
.rail-card.is-centered .btn-cardiac,
.elite-card.is-centered .levix-cta-btn,
.netflix-card.is-centered .levix-cta-btn,
.rail-card.is-centered .levix-cta-btn,
.is-centered .btn-cardiac {
  animation: cardiac-anim 1.8s cubic-bezier(0.25, 0.8, 0.25, 1) infinite !important;
}

/* WhatsApp Centralizado e Balão Mobile Garantidos */
#wp-float {
  position: fixed !important;
  bottom: 20px !important;
  /* Harmonioso no rodapé — mobile e desktop */
  right: 20px !important;
  z-index: 60 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 56px !important;
  height: 56px !important;
  pointer-events: auto !important;
  /* Transição suave para efeito de esmaecer no scroll */
  opacity: 1;
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

#wp-float::after {
  content: '' !important;
  position: absolute !important;
  inset: -4px !important;
  border-radius: 50% !important;
  border: 1.5px solid #2A3E84 !important;
  animation: premium-pulse 2.5s cubic-bezier(0.16, 1, 0.3, 1) infinite !important;
  pointer-events: none !important;
  z-index: -1 !important;
}

/* Ergonomia de Scroll: Fade dinâmico para 15% de visibilidade */
#wp-float.wp-scrolling,
#wp-float.is-scrolling,
#wp-float.wp-float-faded,
#wp-balloon.wp-scrolling,
#wp-balloon.is-scrolling {
  opacity: 0.15 !important;
  pointer-events: none !important;
  transition: opacity 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

/* Gestão de Camadas: Recuo absoluto do WhatsApp para segundo plano quando qualquer modal ou pop-up estiver ativo */
body.modal-active-hide-wp #wp-float,
body.modal-active-hide-wp #wp-balloon,
body.modal-open #wp-float,
body.modal-open #wp-balloon,
body.cart-open #wp-float,
body.cart-open #wp-balloon,
body.search-open #wp-float,
body.search-open #wp-balloon {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  z-index: -1 !important;
  transform: scale(0.8) translateY(20px) !important;
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s !important;
}

@media (min-width: 640px) {
  #wp-float {
    bottom: 24px !important;
    right: 24px !important;
  }

  #wp-balloon {
    bottom: 92px !important;
    right: 24px !important;
    min-width: 265px !important;
    max-width: 265px !important;
    padding: 12px 20px !important;
  }
}

#wp-balloon {
  position: fixed !important;
  bottom: 85px !important;
  right: 20px !important;
  background: rgba(255, 255, 255, 0.94) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  color: #0F204B !important;
  border: 1px solid rgba(255, 255, 255, 0.8) !important;
  box-shadow: 0 15px 35px -5px rgba(10, 15, 29, 0.15), 0 5px 15px -5px rgba(10, 15, 29, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.9) !important;
  border-radius: 18px !important;
  padding: 12px 20px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 235px !important;
  max-width: 235px !important;
  opacity: 1;
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), transform 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
  z-index: 99 !important;
  pointer-events: auto !important;
  transform: scale(1) !important;
}

/* Botão de Fechar Exclusivo para o Balão do WhatsApp */
#wp-balloon-close {
  position: absolute !important;
  top: -12px !important;
  right: -12px !important;
  width: 32px !important;
  height: 32px !important;
  border-radius: 50% !important;
  background: rgba(255, 255, 255, 0.85) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  color: #0F204B !important;
  font-size: 16px !important;
  font-family: var(--font-primary) !important;
  font-weight: 900 !important;
  border: 1px solid rgba(15, 32, 75, 0.2) !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  line-height: 1 !important;
  transition: all 0.2s ease-in-out !important;
  z-index: 101 !important;
  box-shadow: 0 4px 12px rgba(15, 32, 75, 0.15) !important;
}
#wp-balloon-close:hover,
#wp-balloon-close:active {
  background: rgba(15, 32, 75, 0.1) !important;
  color: #0c183a !important;
  transform: scale(1.1) !important;
}

/* Ocultado durante o scroll rápido */
#wp-balloon.balloon-hidden {
  opacity: 0 !important;
  transform: scale(0.85) translateY(10px) !important;
  pointer-events: none !important;
}

#wp-balloon:hover {
  transform: scale(1.03) !important;
  box-shadow: 0 20px 45px -5px rgba(10, 15, 29, 0.22) !important;
}

#wp-balloon-text {
  font-family: var(--font-primary) !important;
  font-weight: 900 !important;
  font-size: 12px !important;
  line-height: 1.25 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.04em !important;
  color: #0F204B !important;
  text-align: center !important;
  text-wrap: balance !important;
  hyphens: none !important;
}

#wp-balloon-sub {
  font-family: var(--font-secondary) !important;
  font-weight: 700 !important;
  font-size: 10px !important;
  color: #E3000F !important; /* Vermelho AIDA */
  margin-top: 3.5px !important;
  text-align: center !important;
  hyphens: none !important;
}

/* Balão balão pontinha do chat em Vidro */
#wp-balloon .arrow-tip {
  position: absolute !important;
  bottom: -5px !important;
  left: 82% !important;
  transform: rotate(45deg) !important;
  width: 10px !important;
  height: 10px !important;
  background: rgba(255, 255, 255, 0.94) !important;
  border-right: 1px solid rgba(255, 255, 255, 0.8) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.8) !important;
  z-index: 98 !important;
}
@media (min-width: 640px) {
  #wp-balloon .arrow-tip {
    left: 85% !important;
  }
}

/* Calibração Cirúrgica do Cabeçalho Mobile e Logo (AG-03 + AG-05) */
@media (max-width: 639px) {
  nav .max-w-\[1600px\] {
    padding-left: 8px !important;
    padding-right: 8px !important;
  }

  .glass-nav .max-w-\[1600px\]>div.flex.items-center.gap-4 {
    gap: 4px !important;
    /* Espaçamento menor no mobile */
  }

  /* Padronização tipográfica mobile: Store Vilhena com mesmo peso e proporção visual do Levix */
  nav .font-primary {
    font-size: 13px !important;
    font-weight: 900 !important;
    font-style: italic !important;
    text-transform: uppercase !important;
  }

  nav .font-primary span:nth-child(1),
  nav .font-primary span:nth-child(2),
  nav .font-primary span:nth-child(3) {
    font-size: 13px !important;
    font-weight: 900 !important;
    font-style: italic !important;
    letter-spacing: -0.03em !important;
    text-transform: uppercase !important;
  }

  nav .font-primary span:nth-child(3) {
    margin-left: 3px !important;
  }

  /* Espaçamento dos botões de busca / carrinho no mobile */
  nav .flex.items-center.gap-3 {
    gap: 4px !important;
  }

  nav button[onclick="openSearch()"],
  nav button[onclick="openCart()"] {
    padding: 6px !important;
  }

  nav button[onclick="openSearch()"] svg,
  nav button[onclick="openCart()"] svg {
    width: 16px !important;
    height: 16px !important;
  }

  /* Botão de fechar do modal ancorado de forma absoluta dentro do modal-content */
  #product-modal .modal-content {
    position: relative !important;
  }
  #product-modal .modal-close-btn {
    position: absolute !important;
    top: 1rem !important;
    right: 1rem !important;
    z-index: 60 !important;
  }
}

/* Estilos Absolutos de Busca Global (AG-13 Guardião Cibernético / Ooda) */
#global-search-overlay {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100vw !important;
  height: 100dvh !important;
  z-index: 99999 !important;
  background-color: rgba(10, 15, 29, 0.98) !important;
  backdrop-filter: blur(24px) !important;
  -webkit-backdrop-filter: blur(24px) !important;
}

/* ---- PADRONIZAÇÃO DO PING PULSAR CORPORATIVO: CÍRCULO AZUL (#0F204B) E PONTO CENTRAL VERMELHO (#E3000F) ---- */
.animate-ping-blue,
.animate-ping-red,
.animate-ping-pulsar {
  position: absolute !important;
  inset: 0 !important;
  border-radius: 50% !important;
  border: 2px solid #0F204B !important; /* Círculo em azul corporativo */
  animation: corporatePingRing 2.4s cubic-bezier(0.16, 1, 0.3, 1) infinite !important;
  pointer-events: none !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.animate-ping-blue::after,
.animate-ping-red::after,
.animate-ping-pulsar::after {
  content: '' !important;
  position: absolute !important;
  top: 2px !important;
  right: 2px !important;
  width: 5px !important;
  height: 5px !important;
  border-radius: 50% !important;
  background-color: #E3000F !important; /* Ponto central (ping) em vermelho */
  box-shadow: 0 0 5px rgba(227, 0, 15, 0.9) !important;
  animation: corporatePingDot 1.2s ease-in-out infinite alternate !important;
}

@keyframes corporatePingRing {
  0% {
    transform: scale(0.95);
    opacity: 0.85;
    border-color: #0F204B;
  }
  70% {
    transform: scale(1.5);
    opacity: 0;
    border-color: rgba(15, 32, 75, 0);
  }
  100% {
    transform: scale(1.5);
    opacity: 0;
  }
}

@keyframes corporatePingDot {
  0% {
    transform: scale(0.8);
    opacity: 0.7;
  }
  100% {
    transform: scale(1.25);
    opacity: 1;
    box-shadow: 0 0 7px rgba(227, 0, 15, 1);
  }
}

/* ---- ENGENHARIA TIPOGRÁFICA GLOBAL DE FORÇA MÁXIMA (Anti-Órfãs e Quebras) (AG-05) ---- */
html, body, body *, #levix-wrapper, #levix-wrapper * {
  hyphens: none !important;
  -webkit-hyphens: none !important;
  -moz-hyphens: none !important;
  -ms-hyphens: none !important;
  word-break: keep-all !important;
  word-wrap: normal !important;
}
p, span, h1, h2, h3, h4, h5, h6, li, details, summary, button, a {
  text-wrap: pretty !important;
}
h1, h2, h3, h4, h5, h6 {
  text-wrap: balance !important;
}

/* ========================================================================== */
/* REGRAS DE LAYOUT ABSOLUTO DAS SETAS SWIPER DO CATÁLOGO (AG-03) */
/* ========================================================================== */
.swiper-button-prev-cell,
.swiper-button-prev-store,
.swiper-button-prev-grafica,
.swiper-button-next-cell,
.swiper-button-next-store,
.swiper-button-next-grafica {
  position: absolute !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  z-index: 30 !important;
}

.swiper-button-prev-cell,
.swiper-button-prev-store,
.swiper-button-prev-grafica {
  left: 4px !important;
}

.swiper-button-next-cell,
.swiper-button-next-store,
.swiper-button-next-grafica {
  right: 4px !important;
}

@media (min-width: 640px) {
  .swiper-button-prev-cell,
  .swiper-button-prev-store,
  .swiper-button-prev-grafica {
    left: 10px !important;
  }
  
  .swiper-button-next-cell,
  .swiper-button-next-store,
  .swiper-button-next-grafica {
    right: 10px !important;
  }
}

@media (min-width: 1024px) {
  .cellSwiper, .storeSwiper, .graficaSwiper {
    overflow: visible !important;
  }
  #swiper-container-cell, #swiper-container-store, #swiper-container-grafica {
    overflow: hidden !important;
  }
  .swiper-button-prev-cell,
  .swiper-button-prev-store,
  .swiper-button-prev-grafica {
    left: 20px !important;
  }
  .swiper-button-next-cell,
  .swiper-button-next-store,
  .swiper-button-next-grafica {
    right: 20px !important;
  }
}

/* ========================================================================== */
/* CARDS DE DIFERENCIAIS GLASSMORPHISM PREMIUM (AG-03 + AG-15 ALQUIMISTA) */
/* ========================================================================== */
.glass-diferencial {
  background: rgba(255, 255, 255, 0.45) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border-radius: 1.5rem !important;
  padding: 1.5rem !important;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
  box-shadow: 0 8px 32px 0 rgba(15, 32, 75, 0.04) !important;
  cursor: pointer !important;
}

.glass-diferencial-blue {
  border: 1.5px solid rgba(15, 32, 75, 0.12) !important;
}
.glass-diferencial-blue:hover, 
.glass-diferencial-blue:active {
  transform: translateY(-8px) scale(1.03) !important;
  border-color: rgba(15, 32, 75, 0.45) !important;
  background: #ffffff !important;
  box-shadow: 0 20px 40px -10px rgba(15, 32, 75, 0.15) !important;
}

.glass-diferencial-red {
  border: 1.5px solid rgba(227, 0, 15, 0.12) !important;
}
.glass-diferencial-red:hover,
.glass-diferencial-red:active {
  transform: translateY(-8px) scale(1.03) !important;
  border-color: rgba(227, 0, 15, 0.45) !important;
  background: #ffffff !important;
  box-shadow: 0 20px 40px -10px rgba(227, 0, 15, 0.15) !important;
}

.glass-diferencial-turq {
  border: 1.5px solid rgba(0, 206, 209, 0.12) !important;
}
.glass-diferencial-turq:hover,
.glass-diferencial-turq:active {
  transform: translateY(-8px) scale(1.03) !important;
  border-color: rgba(0, 206, 209, 0.45) !important;
  background: #ffffff !important;
  box-shadow: 0 20px 40px -10px rgba(0, 206, 209, 0.15) !important;
}

/* Cores de par em par na seção de diferenciais (Azul, Vermelho, Turquesa) */
.glass-diferencial-blue .w-10 {
  background-color: rgba(15, 32, 75, 0.1) !important;
  color: #0F204B !important;
}
.glass-diferencial-red .w-10 {
  background-color: rgba(227, 0, 15, 0.1) !important;
  color: #E3000F !important;
}
.glass-diferencial-turq .w-10 {
  background-color: rgba(0, 206, 209, 0.1) !important;
  color: #00CED1 !important;
}

/* Erradicação Global de Hifenizações e Viúvas/Órfãs */
body, p, span, h1, h2, h3, h4, h5, h6, a, button, li, div {
  hyphens: none !important;
  -webkit-hyphens: none !important;
  word-break: keep-all !important;
  text-wrap: pretty !important;
}
h1, h2, h3 {
  text-wrap: balance !important;
}

/* BLINDAGEM DE OUTRAS CLASSES QUE TENTAM QUEBRAR PALAVRAS (AG-05) */
.break-words,
.break-all,
.word-break,
[class*="break-"] {
  word-break: keep-all !important;
  word-wrap: normal !important;
  hyphens: none !important;
  -webkit-hyphens: none !important;
}

/* ========================================================================== */
/* PROTOCOLO 2.0 BLINDAGEM DE LAYOUT FLUIDO DESKTOP & RESPIROS (AG-12 NEMESIS) */
/* ========================================================================== */

/* Restauração do wrapper com limites de largura centralizado em desktop para evitar esticamento do Hero e cards */
#levix-wrapper {
  max-width: 100% !important;
  width: 100% !important;
  margin: 0 auto !important;
  padding: 0 !important;
  overflow-x: hidden !important;
  background-color: #FAFAFA !important;
}

/* Setas do Swiper do Hero calibradas para exibição UX premium em todas as telas */
.hero-prev,
.hero-next {
  display: flex !important;
  width: 38px !important;
  height: 38px !important;
  border-radius: 50% !important;
  background: rgba(255, 255, 255, 0.85) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08) !important;
  transition: all 0.3s ease !important;
  border: 1px solid rgba(255, 255, 255, 0.6) !important;
}
.hero-prev:hover,
.hero-next:hover {
  background: rgba(255, 255, 255, 0.98) !important;
  transform: scale(1.05) !important;
}
.hero-prev {
  left: 12px !important;
}
.hero-next {
  right: 12px !important;
}
@media (min-width: 1024px) {
  .hero-prev,
  .hero-next {
    width: 48px !important;
    height: 48px !important;
  }
  .hero-prev {
    left: 32px !important;
  }
  .hero-next {
    right: 32px !important;
  }
}

/* Blindagem Grid de Diferenciais e FAQ nativo (independente do Tailwind) */
#diferenciais .grid {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 1.5rem !important;
}
@media (min-width: 768px) {
  #diferenciais .grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}
@media (min-width: 1024px) {
  #diferenciais .grid {
    grid-template-columns: repeat(3, 1fr) !important;
  }
}

#como-funciona .max-w-\[1000px\],
#faq .max-w-\[1000px\],
section[id*="funciona"] .max-w-\[1000px\] {
  max-width: 1000px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  width: 100% !important;
}

/* Centralização harmônica do Instagram no desktop (aproximação) */
@media (min-width: 1024px) {
  #instagram-reels .max-w-\[1200px\] > div {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6rem !important;
  }
  #instagram-reels .max-w-\[1200px\] > div > div:nth-child(1) {
    width: 44% !important;
    max-width: 480px !important;
    flex-shrink: 0 !important;
  }
  #instagram-reels .max-w-\[1200px\] > div > div:nth-child(2) {
    width: 44% !important;
    max-width: 320px !important;
    flex-shrink: 0 !important;
    justify-content: center !important;
  }
}

/* ==========================================================================
   FASE 15: ESTABILIZAÇÃO & CORREÇÕES DE NAVEGABILIDADE MOBILE/DESKTOP (AG-06)
   ========================================================================== */

/* 1. Destravar Scroll no Modal de Busca */
#global-search-overlay {
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch !important;
  max-height: 100vh !important;
}

#search-results {
  max-height: calc(100vh - 150px) !important;
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch !important;
  padding-bottom: 60px !important;
}

/* 2. Correção dos Botões CTA do Catálogo (Mobile) */
@media (max-width: 640px) {
  .levix-cta-btn {
    padding-left: 6px !important;
    padding-right: 6px !important;
    gap: 4px !important;
    font-size: 8px !important;
    letter-spacing: 0.02em !important;
  }
  .levix-cta-btn svg {
    width: 13px !important;
    height: 13px !important;
    min-width: 13px !important;
    min-height: 13px !important;
  }
}

/* 3. Evitar sobreposição do Close (X) no WhatsApp Balloon */
#wp-balloon {
  padding-right: 36px !important;
}

/* 4. Ajuste do Posicionamento do Hero Swiper */
.heroSwiper {
  position: relative !important;
}

/* 5. Indicador Swipe Mobile: Círculo em Azul (#0F204B) e Ícone em Vermelho (#E3000F) */
.glow-ping-container {
  width: 40px !important;
  height: 40px !important;
  border-radius: 50% !important;
  background: rgba(255, 255, 255, 0.96) !important;
  border: 2px solid #0F204B !important; /* Círculo em azul */
  box-shadow: 0 2px 10px rgba(15, 32, 75, 0.15) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  position: relative !important;
  animation: corporateGlowPulse 2.0s cubic-bezier(0.16, 1, 0.3, 1) infinite !important;
}

.glow-ping-container i,
.glow-ping-container svg {
  color: #E3000F !important; /* Seta/Ponto central em vermelho */
}

.glow-ping-container::before,
.glow-ping-container::after {
  display: none !important;
}

@keyframes corporateGlowPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(15, 32, 75, 0.5);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(15, 32, 75, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(15, 32, 75, 0);
  }
}
/* AG-03 + AG-10: Focus visible para navegação por teclado */
:focus-visible {
  outline: 3px solid #E3000F;
  outline-offset: 2px;
  border-radius: 4px;
}

/* FASE 5: Tipografia Fluida e Blindagem Anti-Quebra Mobile */
#diferenciais h2 {
  font-size: clamp(1.5rem, 5vw, 3rem) !important;
  line-height: 1.15 !important;
  text-wrap: balance !important;
}

.brand-heading-fluid {
  font-size: clamp(1.25rem, 4.5vw, 2.75rem) !important;
  line-height: 1.2 !important;
  white-space: nowrap !important;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid #E3000F;
  outline-offset: 2px;
}

/* AG-15: GPU Acceleration para elementos interativos */
.btn-cardiac,
.glass-card:hover,
.elite-card:hover {
  will-change: transform, opacity;
}

/* AG-05: Proteção de blocos lógicos — parênteses e aspas nunca quebram */
.protect-block {
  white-space: nowrap;
  display: inline;
}



 



/* Eliminação da Tarja Branca Inferior */







#levix-wrapper {
  background-color: #FAFAFA !important;
  min-height: 100vh !important;
  display: flex !important;
  flex-direction: column !important;
  position: relative !important;
}



#cookie-banner {
  position: fixed !important;
  bottom: 20px !important;
  left: 50% !important;
  transform: translateX(-50%) translateY(150px) !important;
  width: min(calc(100% - 2rem), 480px) !important;
  z-index: var(--z-cookie) !important;
  background: rgba(10, 15, 29, 0.98) !important;
  backdrop-filter: blur(24px) saturate(190%) !important;
  -webkit-backdrop-filter: blur(24px) saturate(190%) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  border-radius: 22px !important;
  padding: 20px !important;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.7) !important;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease !important;
  opacity: 0 !important;
  pointer-events: none !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
}

#cookie-banner.show {
  transform: translateX(-50%) translateY(0) !important;
  opacity: 1 !important;
  pointer-events: auto !important;
}

/* G8: identidade visual do banner LGPD - CSS proprio (independe do tailwind-build, gerado antes do banner) */
.cookie-kicker {
  display: block;
  font-family: Montserrat, Inter, Arial, sans-serif;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #00CED1 !important;
  margin-bottom: 6px;
}
.cookie-text {
  font-family: Inter, Arial, sans-serif;
  font-size: 13px;
  line-height: 1.6;
  color: rgba(250, 250, 250, 0.92) !important;
  margin: 0;
}
.cookie-link {
  color: #00CED1 !important;
  text-decoration: underline;
  font-weight: 700;
}
.cookie-actions {
  display: flex;
  gap: 10px;
  margin-top: 4px;
}
.cookie-btn {
  flex: 1;
  height: 44px;
  border-radius: 12px;
  font-family: Montserrat, Inter, Arial, sans-serif;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}
.cookie-btn:active {
  transform: scale(0.98);
}
.cookie-btn-outline {
  background: transparent;
  color: rgba(250, 250, 250, 0.92) !important;
  border: 1px solid rgba(255, 255, 255, 0.35);
}
.cookie-btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
}
.cookie-btn-solid {
  background: #00CED1 !important;
  color: #0A0F1D !important;
  border: 1px solid #00CED1;
  box-shadow: 0 8px 24px rgba(0, 206, 209, 0.35);
}
.cookie-btn-solid:hover {
  background: #00E5E5 !important;
}
@media (max-width: 480px) {
  .cookie-actions {
    flex-direction: column;
  }
}

/* G8: utilitarias pos-build ausentes no tailwind-build.css (defasado) - drawer, PWA banner e hero */
.bg-\[\#FAFAFA\] { background-color: #FAFAFA !important; }
.text-\[\#0F204B\] { color: #0F204B !important; }
.text-\[\#0A0A0A\] { color: #0A0A0A !important; }
.hover\:bg-\[\#E3000F\]:hover { background-color: #E3000F !important; }
.z-\[80\] { z-index: 80 !important; }
.bg-\[\#0A0F1D\]\/90 { background-color: rgba(10, 15, 29, 0.9) !important; }
.shadow-\[0_-10px_40px_rgba\(0\,0\,0\,0\.3\)\] { box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.3) !important; }
.bg-\[\#00CED1\] { background-color: #00CED1 !important; }
.text-\[\#0A0F1D\] { color: #0A0F1D !important; }
.text-\[\#E3000F\] { color: #E3000F !important; }
.hover\:bg-\[\#00A3A6\]:hover { background-color: #00A3A6 !important; }










html, body {
  background-color: #050A15 !important;
  color: #0A0A0A !important;
  margin: 0 !important;
  padding: 0 !important;
  width: 100% !important;
  min-height: 100vh !important;
  overflow-x: hidden !important;
  hyphens: none !important;
}

/* ==========================================================================
   PASSADA DE MAESTRIA — RESPONSIVIDADE & COMPLETUDE (AP-02/AP-05/AP-20/AP-21)
   ========================================================================== */

/* 1. Modal de Localização: scroll interno garantido (landscape / telas baixas) */
#location-modal .modal-content {
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch !important;
}

@media (max-height: 560px) {
  #location-modal .modal-content {
    max-height: 92vh !important;
  }
  /* Mapa cede verticalmente para o CTA "COMO CHEGAR" permanecer alcançável */
  #location-modal [class*="aspect-"] {
    max-height: 50vh !important;
    min-height: 0 !important;
  }
}

/* 2. Anel de foco imbatível no FAQ (utilitária tailwind outline-none é carregada depois) */
details summary:focus-visible {
  outline: 3px solid #E3000F !important;
  outline-offset: 3px !important;
  border-radius: 1rem !important;
}

/* 3. Chassis iPhone em telas ultra-estreitas (<360px): nunca estoura o viewport
   (especificidade elevada vence a regra do <style> do head) */
@media (max-width: 359px) {
  html body .iphone-3d-chassis {
    width: min(258px, 88vw) !important;
    height: auto !important;
    aspect-ratio: 9 / 19.2 !important;
  }
}

/* ==========================================================================
   FASE MAESTRIA 2 — MOTOR DE BUSCA GLOBAL COGNITIVO (AP-05/AP-07/AP-15/AP-20)
   ========================================================================== */

/* 1. Linha de metadados: contagem + seletor de ordenação */
#search-meta {
  display: flex !important;
}
#search-meta.hidden {
  display: none !important;
}
#global-search-sort {
  min-height: 44px;
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300CED1' stroke-width='3'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 14px;
  padding-right: 38px;
}
#global-search-sort option {
  color: #0A0F1D !important;
  background: #FFFFFF !important;
}

/* 2. Chips de sugestão — Carrossel horizontal limpo com respiro total (FASE 4) */
#search-placebos {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  -webkit-overflow-scrolling: touch !important;
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
  padding: 6px 0 10px 0 !important;
  gap: 8px !important;
  width: 100% !important;
}

#search-placebos::-webkit-scrollbar {
  display: none !important;
}

.search-placebo-chip {
  flex-shrink: 0 !important;
  white-space: nowrap !important;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  color: #ffffff !important;
  font-size: 11px !important;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.search-placebo-chip:hover {
  background: rgba(0, 206, 209, 0.18) !important;
  border-color: rgba(0, 206, 209, 0.55) !important;
}
.search-placebo-chip:active {
  transform: scale(0.97);
}

/* 3. Botões de fuga do estado vazio — retenção pós-busca-falha (AP-20 Houdini) */
.search-escape-btn {
  min-height: 44px;
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  color: #ffffff !important;
  font-size: 10px !important;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.search-escape-btn:hover {
  background: rgba(15, 32, 75, 0.95) !important;
  border-color: #0F204B !important;
  transform: translateY(-1px);
}
.search-escape-wa {
  background: rgba(37, 211, 102, 0.16) !important;
  border-color: rgba(37, 211, 102, 0.5) !important;
}
.search-escape-wa:hover {
  background: #25D366 !important;
  border-color: #25D366 !important;
  color: #0A0F1D !important;
}

/* ==========================================================================
   FASE MAESTRIA 3 — TRILHOS DE RAIAS NETFLIX L99+ (AP-02/AP-03/AP-05/AP-20)
   ========================================================================== */

/* 1. Geometria Otimizada do Bloco de Catálogo (1560px) */
.levix-catalog-container {
  width: 100%;
  max-width: 1560px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 0.75rem !important;
  padding-right: 0.75rem !important;
  box-sizing: border-box;
  position: relative;
}
@media (min-width: 640px) {
  .levix-catalog-container {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
}

/* 2. Refatoração das Pills (Subcategorias) — Ancoragem Sticky 58px e Setas Redondas 32px */
.levix-pills-wrapper,
.levix-pills-carousel,
.category-filter-bar {
  position: sticky !important;
  top: 58px !important;
  z-index: 40 !important;
  background: #ffffff !important;
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  max-width: 100%;
  margin-top: 0px !important;
  margin-bottom: 0px !important;
  padding-top: 4px !important;
  padding-bottom: 4px !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
  overflow: visible !important;
}

.levix-pills-track {
  display: flex;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
  overflow-y: visible !important;
  scroll-behavior: smooth;
  -ms-overflow-style: none;
  scrollbar-width: none;
  padding-top: 2px !important;
  padding-bottom: 2px !important;
  padding-left: 2px !important;
  padding-right: 2px !important;
  margin: 0px !important;
  width: 100%;
  flex: 1;
}

.levix-catalog-rail-wrapper,
.swiper-container-wrapper,
#swiper-container-cell,
#swiper-container-store,
#swiper-container-grafica {
  margin-top: 0px !important;
  padding-top: 0 !important;
  margin-bottom: 0px !important;
}

/* XEQUE-MATE L99+: Força a estrutura Flexbox na prateleira dinâmica */
.levix-catalog-rail,
.extra-rail {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding-top: 4px !important;
  padding-bottom: 4px !important;
}

.extra-rail {
  display: flex !important;
  flex-wrap: nowrap !important;
  overflow-x: auto !important;
  overflow-y: visible !important;
  scroll-snap-type: x mandatory !important;
  -webkit-overflow-scrolling: touch !important;
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
  margin-top: 0 !important; /* Zero corte superior do card */
  padding-top: 26px !important; /* Respiro estrito e proteção do botão 3D e badges */
  padding-bottom: 12px !important;
  gap: 16px !important;
  width: 100% !important;
}

.extra-rail::-webkit-scrollbar {
  display: none !important;
}

.levix-catalog-section,
#catalogo-cell,
#catalogo-store,
#catalogo-grafica {
  margin-top: 1.5rem !important;
  margin-bottom: 2rem !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  scroll-margin-top: 58px !important;
}

.btn-ver-mais-wrapper {
  margin-top: -18px !important;
  margin-bottom: 2rem !important;
  padding-bottom: 8px !important;
  position: relative !important;
  z-index: 30 !important;
  display: flex !important;
  justify-content: center !important;
}

/* 8. RESPONSIVIDADE CAMALEÔNICA — MEDIA QUERIES MOBILE / TABLET */
@media (max-width: 992px) {
  .levix-pills-wrapper,
  .levix-pills-carousel,
  .category-filter-bar {
    top: 56px !important;
    padding: 4px 0 !important;
  }
  .levix-catalog-section,
  #catalogo-cell,
  #catalogo-store,
  #catalogo-grafica {
    margin-top: 1.25rem !important;
    margin-bottom: 1.5rem !important;
    scroll-margin-top: 56px !important;
  }
  .levix-catalog-rail-wrapper,
  .swiper-container-wrapper,
  #swiper-container-cell,
  #swiper-container-store,
  #swiper-container-grafica {
    margin-top: 0px !important;
    padding-top: 0 !important;
  }
  .btn-ver-mais-wrapper {
    margin-top: -16px !important;
    margin-bottom: 18px !important;
  }
  .btn-ver-mais,
  #btn-toggle-cell,
  #btn-toggle-store,
  #btn-toggle-grafica {
    padding: 0.5rem 1.25rem !important;
    font-size: 10px !important;
  }
}

@media (max-width: 768px) {
  .levix-pills-wrapper,
  .levix-pills-carousel,
  .category-filter-bar {
    top: 52px !important;
    padding: 3px 0 !important;
  }
  .levix-catalog-section,
  #catalogo-cell,
  #catalogo-store,
  #catalogo-grafica {
    margin-top: 1rem !important;
    margin-bottom: 1.25rem !important;
    scroll-margin-top: 52px !important;
  }
  .levix-catalog-rail-wrapper,
  .swiper-container-wrapper,
  #swiper-container-cell,
  #swiper-container-store,
  #swiper-container-grafica {
    margin-top: 0px !important;
    padding-top: 0 !important;
  }
  .btn-ver-mais-wrapper {
    margin-top: -12px !important;
    margin-bottom: 16px !important;
  }
  .btn-ver-mais,
  #btn-toggle-cell,
  #btn-toggle-store,
  #btn-toggle-grafica {
    padding: 0.45rem 1rem !important;
    font-size: 9.5px !important;
    letter-spacing: 0.08em !important;
  }
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 58px !important;
}

section[id],
#catalogo-cell,
#catalogo-store,
#catalogo-grafica,
.levix-catalog-section {
  scroll-margin-top: 65px !important;
}

.levix-pills-track::-webkit-scrollbar {
  display: none !important;
}

.levix-pills-nav-btn,
.levix-pills-arrow,
.levix-pills-prev,
.levix-pills-next {
  position: relative;
  border-radius: 50% !important;
  aspect-ratio: 1/1 !important;
  width: 32px !important;
  height: 32px !important;
  min-width: 32px !important;
  min-height: 32px !important;
  background: #FFFFFF !important;
  border: 1.5px solid #0F204B !important;
  color: #0F204B !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  box-shadow: 0 2px 6px rgba(15, 32, 75, 0.12) !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
  z-index: 25 !important;
  flex-shrink: 0 !important;
  padding: 0 !important;
}

.levix-pills-arrow svg,
.levix-pills-nav-btn svg {
  width: 12px;
  height: 12px;
}

.levix-pills-arrow:hover {
  background: #E3000F;
  border-color: #E3000F;
  color: #FFFFFF;
  transform: scale(1.12);
}

.levix-pill-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 0.9rem;
  min-height: 34px;
  border-radius: 9999px;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
  flex-shrink: 0;
  cursor: pointer !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1.5px solid transparent;
}

.levix-pill-btn.active {
  background: #E3000F !important;
  color: #FFFFFF !important;
  border-color: #E3000F !important;
  box-shadow: 0 3px 10px rgba(227, 0, 15, 0.3) !important;
  transform: scale(1.02);
}

.levix-pill-btn:not(.active) {
  background: #F3F4F6;
  color: #0F204B;
  border-color: #E5E7EB;
}

.levix-pill-btn:not(.active):hover {
  background: #E5E7EB;
  color: #00CED1;
  border-color: #00CED1;
}

/* 3. Raias extras: entrada animada GPU */
.levix-catalog-rail {
  width: 100%;
  margin-top: 0px !important; /* Fechamento do Buraco Branco */
}

.levix-catalog-rail.rail-enter {
  animation: railRise 0.55s cubic-bezier(0.16, 1, 0.3, 1) both;
  will-change: transform, opacity;
}

@keyframes railRise {
  from { transform: translateY(18px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* 4. Surge 3D escalonado de cada card do trilho */
.rail-card {
  will-change: transform, opacity;
}
@keyframes railSurge {
  from { transform: translateX(56px) rotateY(-16deg) scale(0.94); opacity: 0; }
  to { transform: translateX(0) rotateY(0) scale(1); opacity: 1; }
}

/* 5. Trilhos Netflix Contínuos — Zero Grids */
.levix-catalog-rail .netflix-rail-container,
.netflix-rail-container,
.rail-snap,
.extra-rail {
  display: flex !important;
  gap: 12px !important;
  overflow-x: auto !important;
  overflow-y: visible !important;
  scroll-snap-type: x mandatory !important;
  -webkit-overflow-scrolling: touch !important;
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
  padding-top: 30px !important; /* Respiro estrito de 30px para o botão 3D half-in e balão cognitivo */
  padding-bottom: 20px !important; /* Proteção e resgate das sombras e CTAs dos cards na base */
  margin-top: 0px !important;
  margin-bottom: 0px !important;
  cursor: grab !important;
  touch-action: pan-x pan-y !important;
  width: 100% !important;
  max-width: 100% !important;
}

.main-swiper,
.cellSwiper,
.storeSwiper,
.graficaSwiper {
  width: 100% !important;
  max-width: 100% !important;
  position: relative !important;
  overflow: visible !important;
  padding-top: 30px !important;
  padding-bottom: 20px !important;
  margin-top: 0px !important;
  margin-bottom: 0px !important;
}

.main-swiper > .swiper-wrapper,
.cellSwiper > .swiper-wrapper,
.storeSwiper > .swiper-wrapper,
.graficaSwiper > .swiper-wrapper {
  display: flex !important;
  align-items: stretch !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.levix-catalog-rail .netflix-rail-container::-webkit-scrollbar,
.netflix-rail-container::-webkit-scrollbar,
.rail-snap::-webkit-scrollbar {
  display: none !important;
}

/* 6. Cards dentro das raias: Calibragem 5.2 Desktop / 3.2 Tablet / 1.1 Mobile (+5% Peek) */
.levix-catalog-rail-wrapper .rail-card,
.levix-catalog-rail .rail-card,
.extra-rail .rail-card,
.extra-rail > div,
.swiper-wrapper .rail-card,
.netflix-rail-container .rail-card,
.rail-snap .rail-card,
[id^="swiper-container"] .rail-card,
.rail-card {
  scroll-snap-align: start !important;
  flex: 0 0 calc(100% / 5.2) !important;
  max-width: calc(100% / 5.2) !important;
  min-width: calc(100% / 5.2) !important;
  height: auto !important;
  box-sizing: border-box !important;
  will-change: transform, opacity;
}

@media (max-width: 992px) {
  .levix-catalog-rail-wrapper .rail-card,
  .levix-catalog-rail .rail-card,
  .extra-rail .rail-card,
  .extra-rail > div,
  .swiper-wrapper .rail-card,
  .netflix-rail-container .rail-card,
  .rail-snap .rail-card,
  [id^="swiper-container"] .rail-card,
  .rail-card {
    flex: 0 0 calc(100% / 3.2) !important;
    max-width: calc(100% / 3.2) !important;
    min-width: calc(100% / 3.2) !important;
  }
}

@media (max-width: 768px) {
  .levix-catalog-rail-wrapper .rail-card,
  .levix-catalog-rail .rail-card,
  .extra-rail .rail-card,
  .extra-rail > div,
  .swiper-wrapper .rail-card,
  .netflix-rail-container .rail-card,
  .rail-snap .rail-card,
  [id^="swiper-container"] .rail-card,
  .rail-card {
    flex: 0 0 calc(100% / 1.15) !important;
    max-width: calc(100% / 1.15) !important;
    min-width: calc(100% / 1.15) !important;
  }
}

/* ==========================================================================
   FASE MAESTRIA 4 — QUICK VIEW 360° (AP-02/AP-05/AP-10/AP-20)
   ========================================================================== */

/* 1. Contador "N de M" — paginação cognitiva por subcategoria (gradiente injetado no JS) */
.modal-counter {
  display: inline-block;
  min-width: 20px;
  text-align: center;
}

/* 2. Setas do modal com ping cognitivo (leve, GPU, respeita prefers-reduced-motion) */
.modal-pulse-arrow::before {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 999px;
  border: 2px solid rgba(0, 206, 209, 0.45);
  opacity: 0;
  animation: cognitivePing 2.4s cubic-bezier(0.16, 1, 0.3, 1) infinite;
  pointer-events: none;
}
@keyframes cognitivePing {
  0% { transform: scale(0.85); opacity: 0; }
  35% { opacity: 1; }
  100% { transform: scale(1.25); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .modal-pulse-arrow::before,
  .swiper-nav-arrow,
  .rail-enter { animation: none !important; }
}

/* 3. Zoom do galeria do modal CONTIDO — nunca estoura a moldura (AP-03) */
.gallery-zoom {
  transform: scale(1);
  transform-origin: center;
  will-change: transform;
}
@media (hover: hover) {
  .group:hover .gallery-zoom { transform: scale(1.08); }
}

/* 5. Slides do swiper com entrada "saltante" escalonada + perspectiva 3D do coverflow */
.swiper-slide-pop {
  animation: slidePop 0.55s cubic-bezier(0.16, 1, 0.3, 1) both;
  will-change: transform, opacity;
}
@keyframes slidePop {
  from { opacity: 0; transform: translateY(18px) scale(0.94); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.swiper-container-3d,
.swiper-3d {
  perspective: 1200px;
}
.swiper-3d .swiper-slide {
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

/* 6. Navegação NOMEADA do quick view (continuidade — nunca órfão) */
.modal-sibling-nav {
  font-size: 9px;
  line-height: 1.2;
}
.modal-sibling-nav:active {
  transform: scale(0.96);
}

/* 7. Strip de irmãos — mini cards da mesma subcategoria */
.modal-sibling-card {
  flex-shrink: 0;
  width: 104px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 6px;
  background: #FAFAFA;
  border: 1px solid #F0F0F0;
  border-radius: 0.9rem;
  cursor: pointer;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s, box-shadow 0.25s;
  scroll-snap-align: start;
}
.modal-sibling-card:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 206, 209, 0.5);
  box-shadow: 0 8px 20px rgba(15, 32, 75, 0.12);
}
.modal-sibling-thumb {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 0.6rem;
  background: #fff;
  border: 1px solid #EDEDED;
}
.modal-sibling-name {
  font-size: 8px;
  font-weight: 800;
  line-height: 1.25;
  color: #0F204B;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-align: center;
}
#modal-siblings {
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
#modal-siblings::-webkit-scrollbar { display: none; }

/* 4. Zoom dos cards CONTIDO (template) — sem hover preso no touch (AP-25) */
/* Fim da proteção: em qualquer aparelho de toque, hover jamais "gruda" o zoom */
@media (hover: none) {
  .group:hover [data-card-img],
  .group:hover .gallery-zoom,
  .group:hover .search-result-zoom { transform: none !important; }
}

/* FASE 5 — Busca persuasiva: miniaturas com zoom contido + card acessível por teclado */
.search-result-zoom {
  transform: scale(1);
  transform-origin: center;
  will-change: transform;
}
@media (hover: hover) {
  .group:hover .search-result-zoom { transform: scale(1.07); }
}
[role="button"][tabindex]:focus-visible {
  outline: 2px solid #00CED1;
  outline-offset: 2px;
  border-radius: 1rem;
}

/* ============================================================
   FIXES_P1 — LEVIX 100/100 (runtime layer; sobrescreve only-BUGS
   de build-fallback.css/tailwind-build.css sem tocar nos read-only)
   1) scale(105) no fallback = zoom de 10500% no hover dos cards
   2) scale(95) no fallback = 9500% no modal fechado
   3) .lg:flex ausente no build tailwind = menu desktop invisível em lg+
   /* 2. Correção de CTA do Catálogo — Ergonômica Touch (AP-05 Touchstone & AP-02 Weaver) */
/* 2. Blindagem de CTA do Catálogo (Contenção de SVG e Proporções L99+) */
.levix-cta-btn,
[data-card-main-cta],
.cta-button {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  width: 100% !important;
  min-height: 40px !important;
  max-height: 44px !important;
  padding: 0.5rem 0.75rem !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
  font-family: var(--font-primary, 'Montserrat', sans-serif) !important;
  font-size: 11px !important;
  font-weight: 900 !important;
  letter-spacing: 0.05em !important;
  text-transform: uppercase !important;
  border-radius: 0.75rem !important;
  cursor: pointer !important;
}

.levix-cta-btn svg,
.levix-cta-btn img,
[data-card-main-cta] svg,
[data-card-main-cta] img,
.cta-button svg,
.cta-button img,
.wa-icon {
  width: 18px !important;
  height: 18px !important;
  max-width: 18px !important;
  max-height: 18px !important;
  min-width: 18px !important;
  min-height: 18px !important;
  flex-shrink: 0 !important;
  object-fit: contain !important;
  display: inline-block !important;
  vertical-align: middle !important;
}

[data-card-main-cta-text],
.levix-cta-btn span {
  flex-shrink: 1 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

/* 3. DNA do Botão "VER MAIS" (Elevação 3D e Cores Primárias) */
.btn-ver-mais,
#btn-toggle-cell,
#btn-toggle-store,
#btn-toggle-grafica {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.5rem !important;
  padding: 0.6rem 1.5rem !important;
  background: transparent !important;
  border-radius: 0.75rem !important;
  font-family: var(--font-primary, 'Montserrat', sans-serif) !important;
  font-size: 11px !important;
  font-weight: 900 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.1em !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
  cursor: pointer !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06) !important;
}

#btn-toggle-cell {
  border: 2px solid #0F204B !important;
  color: #0F204B !important;
}
#btn-toggle-cell:hover {
  transform: translateY(-3px) translateZ(0) !important;
  box-shadow: 0 8px 18px rgba(15, 32, 75, 0.25) !important;
  background: #0F204B !important;
  color: #FFFFFF !important;
}

#btn-toggle-store {
  border: 2px solid #E3000F !important;
  color: #E3000F !important;
}
#btn-toggle-store:hover {
  transform: translateY(-3px) translateZ(0) !important;
  box-shadow: 0 8px 18px rgba(227, 0, 15, 0.25) !important;
  background: #E3000F !important;
  color: #FFFFFF !important;
}

#btn-toggle-grafica {
  border: 2px solid #00CED1 !important;
  color: #00CED1 !important;
}
#btn-toggle-grafica:hover {
  transform: translateY(-3px) translateZ(0) !important;
  box-shadow: 0 8px 18px rgba(0, 206, 209, 0.3) !important;
  background: #00CED1 !important;
  color: #FFFFFF !important;
}

.btn-ver-mais:hover svg,
#btn-toggle-cell:hover svg,
#btn-toggle-store:hover svg,
#btn-toggle-grafica:hover svg {
  stroke: #FFFFFF !important;
  color: #FFFFFF !important;
}

/* 3. Evitar sobreposição no WhatsApp Balloon & Z-Index Vars */
#wp-balloon {
  padding-right: 36px !important;
}

/* 4. Ajuste do Posicionamento do Hero Swiper */
.heroSwiper {
  position: relative !important;
}

/* 5. Turquesa legível (WCAG AA 4.5:1) em fundos claros */
.card-surface .text-\[\#00CED1\],
[data-card-price].text-\[\#00CED1\],
#modal-price.text-\[\#00CED1\] { color: #0F766E; }

/* 6. Botões de Apoio no Card (Lupa Turquesa & Carrinho Vermelho Topo) */
.detail-lupa-btn {
  min-height: 48px !important;
  min-width: 48px !important;
  width: 48px !important;
  height: 48px !important;
  background-color: #00CED1 !important;
  color: #FFFFFF !important;
  border-radius: 0.75rem !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
  flex-shrink: 0 !important;
}
.detail-lupa-btn:hover {
  background-color: #00B3B5 !important;
  transform: scale(1.05) !important;
}

/* ==========================================================================
   BOTÃO DE AÇÃO FLUTUANTE 3D HALF-IN/HALF-OUT & TOOLTIPS INTELIGENTES (L99+)
   ========================================================================== */

.swiper-slide {
  position: relative !important;
  z-index: 1 !important;
  transition: z-index 0.1s ease;
}

.swiper-slide:hover,
.swiper-slide:focus-within {
  z-index: 50 !important;
}

.elite-card,
.netflix-card,
.product-card,
.rail-card {
  overflow: visible !important;
  position: relative !important;
  z-index: 1 !important;
  padding: 14px 16px !important;
  background: #ffffff !important;
  border-radius: 1.25rem !important;
  box-sizing: border-box !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease, z-index 0.1s ease !important;
}

.elite-card:hover,
.netflix-card:hover,
.product-card:hover,
.rail-card:hover {
  z-index: 50 !important;
}

/* Posição do Badge no topo absoluto esquerdo */
.elite-card [data-card-badge],
.netflix-card [data-card-badge],
.product-card [data-card-badge] {
  position: absolute !important;
  top: 12px !important;
  left: 12px !important;
  z-index: 10 !important;
}

/* Tipografia Fluida de até 2 linhas */
.elite-card h3,
.netflix-card h3,
.product-card h3,
[data-card-title],
.card-product-title {
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  white-space: normal !important;
  word-break: break-word !important;
}

.elite-card p,
.netflix-card p,
.product-card p,
[data-card-desc],
.card-product-desc {
  display: -webkit-box !important;
  -webkit-line-clamp: 4 !important;
  line-clamp: 4 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: normal !important;
  word-break: normal !important;
  line-height: 1.45 !important;
  min-height: 5rem !important;
  max-height: 5rem !important;
  font-size: 0.75rem !important;
  color: #4B5563 !important;
  margin-bottom: 0.75rem !important;
  text-wrap: pretty !important;
}

.card-top-cart-btn {
  position: absolute !important;
  top: 0 !important;
  right: 0 !important;
  transform: translate(30%, -30%) translateZ(0) !important;
  width: 40px !important;
  height: 40px !important;
  background: rgba(227, 0, 15, 0.94) !important;
  backdrop-filter: blur(10px) saturate(140%) !important;
  -webkit-backdrop-filter: blur(10px) saturate(140%) !important;
  border: 1px solid rgba(255, 255, 255, 0.4) !important;
  border-top: 1.5px solid rgba(255, 255, 255, 0.9) !important; /* Reflexo de luz na borda superior */
  color: #FFFFFF !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2), 0 4px 12px rgba(227, 0, 15, 0.4), inset 0 1px 1px rgba(255, 255, 255, 0.7) !important;
  z-index: 60 !important;
  transition: transform 0.25s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.25s ease, background 0.25s ease !important;
  will-change: transform, box-shadow;
  cursor: pointer !important;
}

.card-top-cart-btn:hover {
  transform: translate(30%, -30%) scale(1.14) translateZ(0) !important;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.25), 0 6px 18px rgba(227, 0, 15, 0.5), inset 0 1px 2px rgba(255, 255, 255, 0.9) !important;
  background: #E3000F !important;
  z-index: 100 !important;
}

.card-top-cart-btn.is-quote,
.card-top-quote-btn {
  background: rgba(0, 206, 209, 0.94) !important;
  border: 1px solid rgba(255, 255, 255, 0.4) !important;
  border-top: 1.5px solid rgba(255, 255, 255, 0.9) !important;
  color: #FFFFFF !important;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2), 0 4px 12px rgba(0, 206, 209, 0.4), inset 0 1px 1px rgba(255, 255, 255, 0.7) !important;
}

.card-top-cart-btn.is-quote:hover,
.card-top-quote-btn:hover {
  transform: translate(30%, -30%) scale(1.14) translateZ(0) !important;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.25), 0 6px 18px rgba(0, 206, 209, 0.5), inset 0 1px 2px rgba(255, 255, 255, 0.9) !important;
  background: #00CED1 !important;
  z-index: 100 !important;
}

/* Tooltips e Guias Visuais Assertivos — Inteligência Espacial Lateral (L99+) */
.card-top-cart-btn::before {
  content: 'Adicionar ao carrinho';
  position: absolute;
  top: 50% !important;
  background: rgba(15, 32, 75, 0.98) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  color: #FFFFFF !important;
  font-family: var(--font-primary, 'Montserrat', sans-serif);
  font-size: 10px !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.04em !important;
  white-space: nowrap !important;
  padding: 6px 12px !important;
  border-radius: 8px !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45) !important;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: opacity 0.2s cubic-bezier(0.25, 1, 0.5, 1), transform 0.2s cubic-bezier(0.25, 1, 0.5, 1), visibility 0.2s;
  z-index: 9999 !important;
  will-change: transform, opacity;
}

.card-top-cart-btn.is-quote::before {
  content: 'Listar para orçamento';
}

/* Setinha triangular do balão */
.card-top-cart-btn::after {
  content: '';
  position: absolute;
  top: 50% !important;
  width: 0;
  height: 0;
  border-style: solid;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: opacity 0.2s cubic-bezier(0.25, 1, 0.5, 1), transform 0.2s cubic-bezier(0.25, 1, 0.5, 1), visibility 0.2s;
  z-index: 10000 !important;
}

/* ÂNCORA DIREITA (.levix-tooltip-right) */
.card-top-cart-btn.levix-tooltip-right::before,
.card-top-cart-btn:not(.levix-tooltip-left)::before {
  left: calc(100% + 10px) !important;
  right: auto !important;
  transform: translateY(-50%) translateX(-4px) scale(0.95) !important;
}

.card-top-cart-btn.levix-tooltip-right::after,
.card-top-cart-btn:not(.levix-tooltip-left):after {
  left: calc(100% + 5px) !important;
  right: auto !important;
  transform: translateY(-50%) !important;
  border-width: 5px 6px 5px 0 !important;
  border-color: transparent rgba(15, 32, 75, 0.98) transparent transparent !important;
}

.card-top-cart-btn.levix-tooltip-right:hover::before,
.card-top-cart-btn:not(.levix-tooltip-left):hover::before {
  opacity: 1;
  visibility: visible;
  transform: translateY(-50%) translateX(0) scale(1) !important;
}

.card-top-cart-btn.levix-tooltip-right:hover::after,
.card-top-cart-btn:not(.levix-tooltip-left):hover::after {
  opacity: 1;
  visibility: visible;
}

/* ÂNCORA ESQUERDA (.levix-tooltip-left) */
.card-top-cart-btn.levix-tooltip-left::before {
  right: calc(100% + 10px) !important;
  left: auto !important;
  transform: translateY(-50%) translateX(4px) scale(0.95) !important;
}

.card-top-cart-btn.levix-tooltip-left::after {
  right: calc(100% + 5px) !important;
  left: auto !important;
  transform: translateY(-50%) !important;
  border-width: 5px 0 5px 6px !important;
  border-color: transparent transparent transparent rgba(15, 32, 75, 0.98) !important;
}

.card-top-cart-btn.levix-tooltip-left:hover::before {
  opacity: 1;
  visibility: visible;
  transform: translateY(-50%) translateX(0) scale(1) !important;
}

.card-top-cart-btn.levix-tooltip-left:hover::after {
  opacity: 1;
  visibility: visible;
}

/* Otimização do Timer de 3 segundos e eliminação de sobreposições em telas compactas (FASE 5) */
@media (hover: none) or (max-width: 1024px) {
  .card-top-cart-btn:hover::before,
  .card-top-cart-btn:hover::after {
    opacity: 0 !important;
    visibility: hidden !important;
  }
  .card-top-cart-btn.tooltip-active::before,
  .card-top-cart-btn.is-active-tooltip::before {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(-50%) translateX(0) scale(1) !important;
  }
  .card-top-cart-btn.tooltip-active::after,
  .card-top-cart-btn.is-active-tooltip::after {
    opacity: 1 !important;
    visibility: visible !important;
  }
}

.elite-card h3.line-clamp-2 {
  min-height: 2.8rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Hero Setas Flutuantes Unificadas (AP-03 Kinetic / AP-15 Apex) */
.hero-prev, .hero-next {
  position: absolute !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  z-index: 40 !important;
  width: 44px !important;
  height: 44px !important;
  border-radius: 50% !important;
  background: rgba(10, 15, 29, 0.65) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  color: #FFFFFF !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.hero-prev {
  left: 16px !important;
}

.hero-next {
  right: 16px !important;
}

.hero-prev:hover, .hero-next:hover {
  background: #00CED1 !important;
  border-color: #00CED1 !important;
  color: #FFFFFF !important;
  transform: translateY(-50%) scale(1.1) !important;
  box-shadow: 0 0 20px rgba(0, 206, 209, 0.6) !important;
}

/* ==========================================================================
   BLOCO 01.7: ACABAMENTO SUPREMO, LUPA TURQUESA & ACESSIBILIDADE 100/100
   ========================================================================== */

/* 1. Correção dos Textos Fantasmas e Rótulos Estáticos (Acessibilidade 100/100) */
#search-placebos span,
#search-placebos label,
#search-meta label,
#search-meta p,
label[for="global-search-sort"],
#search-placebos .text-white\/50,
#global-search-overlay label,
#global-search-overlay span:not(.search-placebo-chip) {
  color: rgba(255, 255, 255, 0.85) !important;
  font-weight: 600 !important;
}

#search-count {
  color: rgba(255, 255, 255, 0.7) !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
}

/* 2. O Input Centralizado e Lupa Turquesa Embutida */
#global-search-input {
  max-width: 768px !important;
  margin: 0 auto !important;
  height: 64px !important;
  padding: 1rem 4.5rem 1rem 2rem !important;
  display: flex !important;
  align-items: center !important;
  line-height: 1.5 !important;
  border-radius: 12px !important;
}

.search-input-lupa-icon {
  position: absolute !important;
  right: 24px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  color: #00CED1 !important;
  stroke: #00CED1 !important;
  cursor: pointer !important;
  pointer-events: auto !important;
  z-index: 10 !important;
  transition: transform 0.2s ease, opacity 0.2s ease !important;
}

.search-input-lupa-icon:hover {
  transform: translateY(-50%) scale(1.1) !important;
  opacity: 0.9 !important;
}

.nav-search-btn svg,
header button[aria-label="Abrir Busca"] svg {
  color: #00CED1 !important;
  stroke: #00CED1 !important;
}

/* ============================================================
   FASE 1: MODAL QUICK VIEW (PRODUTO) — GEOMETRIA CAMALEÔNICA INFALÍVEL
   ============================================================ */
#product-modal {
  position: fixed !important;
  inset: 0 !important;
  z-index: 1000 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: clamp(0.5rem, 2vw, 1.5rem) !important;
  background-color: rgba(0, 0, 0, 0.8) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
}

#product-modal .modal-content {
  position: relative !important;
  width: 100% !important;
  max-width: min(960px, 94vw) !important;
  max-height: 90vh !important;
  max-height: 90dvh !important;
  border-radius: clamp(1rem, 2vw, 1.75rem) !important;
  background: #FFFFFF !important;
  overflow: hidden !important;
  display: flex !important;
  flex-direction: column !important;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5) !important;
  margin: auto !important;
}

@media (min-width: 640px) {
  #product-modal .modal-content {
    flex-direction: row !important;
    max-height: 85vh !important;
    max-height: 85dvh !important;
  }
}

/* Botão X de Fechar Ancorado Estritamente no Topo Direito do Modal */
#product-modal .modal-close-btn {
  position: absolute !important;
  top: clamp(0.75rem, 1.5vw, 1rem) !important;
  right: clamp(0.75rem, 1.5vw, 1rem) !important;
  z-index: 70 !important;
  width: 2.5rem !important;
  height: 2.5rem !important;
  border-radius: 9999px !important;
  background: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
  color: #0A0A0A !important;
  cursor: pointer !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15) !important;
  transition: all 0.2s ease !important;
}

#product-modal .modal-close-btn:hover {
  background: #E3000F !important;
  color: #FFFFFF !important;
  transform: scale(1.05) !important;
}

/* Imagem Principal com Proporção Matemática Controlada (max-h 50vh, contain) */
#product-modal .modal-gallery-col {
  width: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  background: #FAFAFA !important;
  position: relative !important;
  overflow: hidden !important;
}

@media (min-width: 640px) {
  #product-modal .modal-gallery-col {
    width: 50% !important;
    border-right: 1px solid #F3F4F6 !important;
  }
}

#product-modal .modalProductSwiper {
  width: 100% !important;
  height: clamp(220px, 45vh, 400px) !important;
  max-height: 50vh !important;
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

#product-modal .modalProductSwiper .swiper-slide {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 100% !important;
  width: 100% !important;
  padding: 1rem !important;
}

#product-modal .modalProductSwiper img,
#product-modal .modal-zoom-img {
  max-width: 100% !important;
  max-height: clamp(200px, 42vh, 380px) !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain !important;
  display: block !important;
  margin: auto !important;
}

/* Oculta paginação swiper de bolinhas sobrepostas (thumbs inferiores já cumprem o papel) */
#product-modal .swiper-pagination {
  display: none !important;
}

/* Setas de navegação internas à coluna de imagem */
#product-modal .modal-prev,
#product-modal .modal-next {
  position: absolute !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  z-index: 40 !important;
  width: 2.5rem !important;
  height: 2.5rem !important;
  border-radius: 9999px !important;
  background: rgba(255, 255, 255, 0.9) !important;
  backdrop-filter: blur(6px) !important;
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
}

#product-modal .modal-prev { left: 0.75rem !important; }
#product-modal .modal-next { right: 0.75rem !important; }

#product-modal .modal-prev:hover,
#product-modal .modal-next:hover {
  background: #00CED1 !important;
  color: #FFFFFF !important;
}

/* Strip de miniaturas na base da imagem */
#product-modal .modal-thumb-strip {
  padding: 0.5rem !important;
  gap: 0.5rem !important;
  overflow-x: auto !important;
  display: flex !important;
  justify-content: center !important;
}

/* Coluna de Conteúdo do Modal */
#product-modal .modal-info-col {
  width: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  flex: 1 1 auto !important;
  overflow: hidden !important;
  background: #FFFFFF !important;
}

@media (min-width: 640px) {
  #product-modal .modal-info-col {
    width: 50% !important;
  }
}

#product-modal .modal-info-scroll {
  flex: 1 1 auto !important;
  overflow-y: auto !important;
  padding: clamp(1rem, 2vw, 1.75rem) !important;
  min-height: 0 !important;
}

#product-modal .modal-footer-cta {
  flex-shrink: 0 !important;
  padding: clamp(0.75rem, 1.5vw, 1.25rem) !important;
  background: #FFFFFF !important;
  border-top: 1px solid #F3F4F6 !important;
}

/* ============================================================
   FASE 2: BUSCADOR GLOBAL — ARQUITETURA FLEXBOX INFALÍVEL
   ============================================================ */
.search-result-card {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: space-between !important;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 1rem !important;
  padding: 0.875rem 1.25rem !important;
  gap: 1rem !important;
  overflow: hidden !important;
  cursor: pointer !important;
  transition: all 0.25s ease !important;
  text-decoration: none !important;
}

.search-result-card:hover {
  background: rgba(255, 255, 255, 0.1) !important;
  border-color: #00CED1 !important;
  box-shadow: 0 0 20px rgba(0, 206, 209, 0.25) !important;
  transform: translateY(-2px) !important;
}

/* Lado esquerdo: miniatura 64px + bloco de textos */
.search-card-left {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 1rem !important;
  min-width: 0 !important;
  flex: 1 1 auto !important;
  overflow: hidden !important;
}

.search-card-thumb {
  width: 64px !important;
  height: 64px !important;
  min-width: 64px !important;
  max-width: 64px !important;
  border-radius: 12px !important;
  overflow: hidden !important;
  flex-shrink: 0 !important;
  background: #0A0F1D !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.search-card-thumb img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
}

.search-card-info {
  display: flex !important;
  flex-direction: column !important;
  gap: 0.25rem !important;
  min-width: 0 !important;
  flex: 1 1 auto !important;
  overflow: hidden !important;
}

.search-card-tag {
  display: inline-block !important;
  align-self: flex-start !important;
  padding: 0.15rem 0.5rem !important;
  background: rgba(0, 206, 209, 0.18) !important;
  color: #00CED1 !important;
  font-size: 0.65rem !important;
  font-weight: 900 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.08em !important;
  border-radius: 6px !important;
  white-space: nowrap !important;
  max-width: 100% !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

.search-card-title {
  font-size: 0.95rem !important;
  font-weight: 900 !important;
  color: #FFFFFF !important;
  line-height: 1.3 !important;
  margin: 0 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

.search-result-card:hover .search-card-title {
  color: #00CED1 !important;
}

.search-card-desc {
  font-size: 0.78rem !important;
  font-weight: 500 !important;
  color: rgba(255, 255, 255, 0.75) !important;
  line-height: 1.35 !important;
  margin: 0 !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

/* Lado direito: preço + botão CTA */
.search-card-right {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 0.875rem !important;
  flex-shrink: 0 !important;
}

.search-card-price {
  font-size: 1rem !important;
  font-weight: 900 !important;
  color: #E3000F !important;
  white-space: nowrap !important;
}

.search-card-price.is-budget {
  color: #00CED1 !important;
}

.search-card-btn {
  width: 40px !important;
  height: 40px !important;
  border-radius: 12px !important;
  background: rgba(255, 255, 255, 0.1) !important;
  color: #FFFFFF !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  border: none !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  flex-shrink: 0 !important;
}

.search-result-card:hover .search-card-btn {
  background: #00CED1 !important;
  color: #0A0F1D !important;
}

@media (max-width: 520px) {
  .search-result-card {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0.75rem !important;
  }
  .search-card-right {
    justify-content: space-between !important;
    width: 100% !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
    padding-top: 0.5rem !important;
  }
}

/* Scroll Limpo do Buscador — Container Único */
#search-results {
  max-height: calc(85vh - 200px) !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  padding-top: 0.5rem !important;
  padding-bottom: 2rem !important;
  margin-top: 0.5rem !important;
}

#search-grid,
.search-vertical-list {
  max-height: none !important;
  overflow: visible !important;
  width: 100% !important;
  max-width: 800px !important;
  margin: 0 auto !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 0.75rem !important;
  padding: 0 !important;
}

/* 6. Botão Institucional de Atendimento WhatsApp */
.search-escape-btn.search-escape-wa {
  background-color: #25D366 !important;
  color: #FFFFFF !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  font-weight: 700 !important;
  border-radius: 12px !important;
  transition: background-color 0.2s ease, box-shadow 0.2s ease !important;
}

.search-escape-btn.search-escape-wa:hover {
  background-color: #1EBE5D !important;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4) !important;
}

/* ==========================================================================
   BLOCO 02.5: ENGENHARIA FINAL DO HERO & RODAPÉ ULTRALINHO
   ========================================================================== */

/* 1. Uniformização Rígida de Altura dos 7 Slides */
#hero,
.hero-viewport-fluid,
.hero-container,
.heroSwiper,
.heroSwiper .swiper-slide {
  height: 500px !important;
  min-height: 500px !important;
  max-height: 500px !important;
  display: flex !important;
  align-items: center !important;
  position: relative !important;
  overflow: hidden !important;
}

.heroSwiper .swiper-slide {
  width: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: flex-start !important;
  text-align: left !important;
  transform: translateZ(0) !important;
  will-change: transform !important;
}

/* 2. Alinhamento à Esquerda e Salvaguarda do Selo Superior */
#hero .relative.z-10,
.heroSwiper .swiper-slide .relative.z-10,
.hero-content,
.hero-text-block {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: flex-start !important;
  text-align: left !important;
  padding: 1.5rem 0 1.5rem 5% !important;
  height: 100% !important;
  max-width: 650px !important;
  margin-left: 0 !important;
  margin-right: auto !important;
  text-wrap: balance !important;
}

#hero .inline-flex,
.heroSwiper .swiper-slide .inline-flex,
.hero-badge {
  margin-top: 1rem !important;
  margin-bottom: 1rem !important;
  position: relative !important;
}

/* 3. Otimização da Tipografia dos 7 Slides */
#hero h1,
#hero h2,
#hero h3,
.heroSwiper h1,
.heroSwiper h2 {
  height: auto !important;
  max-height: none !important;
  overflow: visible !important;
  line-height: 1.1 !important;
  margin-bottom: 0.75rem !important;
  text-wrap: balance !important;
  text-align: left !important;
}

#hero p,
.heroSwiper p {
  height: auto !important;
  max-height: none !important;
  overflow: visible !important;
  line-height: 1.5 !important;
  margin-bottom: 0.75rem !important;
  text-wrap: balance !important;
  text-align: left !important;
}

/* Camada de Imagem de Fundo Imersiva — Nitidez Total das Imagens .webp */
.hero-slide-bg {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  background-size: cover !important;
  background-position: center right !important;
  background-repeat: no-repeat !important;
  pointer-events: none !important;
  opacity: 1 !important;
  z-index: 0 !important;
}

/* FASE 1: Overlay Escuro Esmaecido para Exatos 5% (Garante Nitidez e Contraste Ouro) */
.heroSwiper .swiper-slide .absolute.inset-0.bg-gradient-to-r,
.heroSwiper .swiper-slide > div:first-of-type + div,
.hero-slide-overlay {
  position: absolute !important;
  inset: 0 !important;
  z-index: 1 !important;
  background: rgba(10, 15, 29, 0.05) !important;
  pointer-events: none !important;
}

@media (max-width: 767px) {
  .heroSwiper .swiper-slide {
    justify-content: flex-start !important;
    padding-top: 3rem !important; /* pt-12 */
  }
  #hero .relative.z-10,
  .heroSwiper .swiper-slide .relative.z-10,
  .hero-content,
  .hero-text-block {
    justify-content: flex-start !important;
    padding-top: 1.5rem !important;
    padding-bottom: 0.5rem !important;
  }
  .hero-slide-bg {
    background-position: center !important;
    opacity: 1 !important;
  }
  .heroSwiper .swiper-slide .absolute.inset-0.bg-gradient-to-r,
  .heroSwiper .swiper-slide > div:first-of-type + div,
  .hero-slide-overlay {
    background: rgba(10, 15, 29, 0.05) !important;
    pointer-events: none !important;
  }
}

/* ==========================================================================
   BLOCO 02.5: INJEÇÃO E BLINDAGEM DE PAGINAÇÃO DO HERO (PADRÃO OURO L99+)
   ========================================================================== */

.hero-footer-bar {
  position: absolute !important;
  bottom: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 38px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 0 5% !important;
  background: rgba(7, 11, 20, 0.85) !important;
  z-index: 50 !important;
  isolation: isolate !important;
}

.hero-scroll-indicator {
  position: static !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  color: rgba(255, 255, 255, 0.7) !important;
  font-size: 0.85rem !important;
}

.hero-pagination.swiper-pagination,
.swiper-pagination.hero-pagination,
.hero-pagination {
  position: static !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  margin: 0 auto !important;
  width: auto !important;
  z-index: 100 !important;
}

.swiper-pagination-bullet {
  background: transparent !important;
  border: 2px solid rgba(255, 255, 255, 0.7) !important;
  width: 10px !important;
  height: 10px !important;
  opacity: 1 !important;
  border-radius: 50% !important;
  margin: 0 !important;
  transition: all 0.3s ease !important;
  cursor: pointer !important;
  z-index: 101 !important;
}

.swiper-pagination-bullet-active {
  background-color: #00CED1 !important;
  border: none !important;
  width: 28px !important;
  height: 10px !important;
  border-radius: 4px !important;
  opacity: 1 !important;
}

/* ==========================================================================
   REFINAMENTO ESTÉTICO DO BADGE DE NOTIFICAÇÃO DO CARRINHO (PADRÃO OURO L99+)
   ========================================================================== */

/* 1. Destravando o contêiner para o Sonar não ser cortado (CRÍTICO) */
.header-cart-wrapper,
.header-cart-btn,
.cart-trigger,
#cart-icon {
  overflow: visible !important;
}

.header-cart-wrapper {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* 2. O Badge (Bolinha Vermelha) e a Injeção do Sonar */
.cart-badge,
.header-cart-count,
.cart-badge-indicator,
#cart-count {
  position: absolute !important;
  top: 4px !important;
  right: 4px !important;
  background-color: #ef4444 !important;
  color: #ffffff !important;
  font-size: 10px !important;
  font-weight: 700 !important;
  width: 16px !important;
  height: 16px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 50% !important;
  border: 1px solid #ffffff !important;
  box-shadow: none !important;
  transform: translateZ(0);
  overflow: visible !important;
}

/* Sonar redesenhado e centralizado perfeitamente */
.cart-badge.pulsing::after,
.cart-badge-indicator.pulsing::after,
.header-cart-count.pulsing::after,
#cart-count.pulsing::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 2px solid #ef4444; /* Traço vermelho sutil e premium */
  transform: translate(-50%, -50%) translateZ(0);
  animation: redSonarPingPremium 1.5s infinite ease-out;
  pointer-events: none; /* Não interfere no clique */
}

@keyframes redSonarPingPremium {
  0% { transform: translate(-50%, -50%) scale(1) translateZ(0); opacity: 0.8; }
  100% { transform: translate(-50%, -50%) scale(2.5) translateZ(0); opacity: 0; }
}

@keyframes redSonarPing {
  0% { transform: scale(0.96); box-shadow: 0 0 0 0 rgba(227, 0, 15, 0.7); }
  70% { transform: scale(1.04); box-shadow: 0 0 0 8px rgba(227, 0, 15, 0); }
  100% { transform: scale(0.96); box-shadow: 0 0 0 0 rgba(227, 0, 15, 0); }
}

/* 3. Balão de Notificação (Estética WhatsApp Flutuante - Glassmorphism & Largura Fluida) */
.levix-cart-toast {
  position: absolute;
  top: 135%;
  right: -5px;
  /* Efeito Glassmorphism Vídrico no Balão */
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  border: 1px solid rgba(255, 255, 255, 0.5);
  /* Respiro e Largura Forçada (Obriga a manter em uma linha) */
  padding: 12px 24px;
  width: max-content;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-radius: 12px;
  pointer-events: none;
  opacity: 0;
  transform: translateY(-10px) scale(0.9) translateZ(0);
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  z-index: 9999;
  will-change: transform, opacity;
  -webkit-font-smoothing: antialiased;
}

/* O biquinho (caret) também precisa acompanhar a transparência do vidro */
.levix-cart-toast::after {
  content: '';
  position: absolute;
  bottom: 100%;
  right: 18px;
  border-width: 0 8px 8px 8px;
  border-style: solid;
  border-color: transparent transparent rgba(255, 255, 255, 0.85) transparent;
}

.levix-cart-toast.show {
  opacity: 1;
  transform: translateY(0) scale(1) translateZ(0);
}

/* =========================================
   DNA LEVIX: TIPOGRAFIA BIFURCADA (NAVY / RED)
   ========================================= */

.toast-title-navy {
  /* Azul Marinho DNA Oficial LeviX (#0F204B) */
  color: #0F204B !important;
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
  font-family: var(--font-primary, 'Montserrat', sans-serif);
}

.toast-subtitle-red {
  /* Vermelho Vibrante DNA Oficial LeviX (#E3000F) */
  color: #E3000F !important;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  font-family: var(--font-primary, 'Montserrat', sans-serif);
}

/* ==========================================================================
   REFINAMENTO DO TRAÇO SVG DO CARRINHO E NEUTRALIZAÇÃO DE FUNDOS (L99+)
   ========================================================================== */

.header-cart-icon svg, 
header button svg,
#cart-icon svg {
  stroke-width: 1.5px !important;
}

.header-cart-icon svg path,
#cart-icon svg path,
#cart-icon svg circle {
  stroke-width: 1.5px !important;
}

/* =========================================
   DNA LEVIX: GLASSMORFISMO VÍDRICO & SONAR RED PING
   ========================================= */

.cart-floating-btn,
.header-cart-btn,
.cart-trigger,
#cart-icon {
  /* Fundo altamente transparente para não ficar branco chapado */
  background: rgba(255, 255, 255, 0.25) !important;
  backdrop-filter: blur(12px) saturate(120%);
  -webkit-backdrop-filter: blur(12px) saturate(120%);
  
  /* Borda interna (inset) para simular o reflexo da luz no vidro e elevação externa */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1), inset 0 0 0 1px rgba(255, 255, 255, 0.6) !important;
  border: none !important; /* Removemos a borda sólida para usar o inset shadow */
  
  will-change: transform, box-shadow;
  -webkit-font-smoothing: antialiased;
  transform: translateZ(0);
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  outline: none !important;
}

/* Gatilho de hidratação (mantido do script anterior) */
.cart-floating-btn.has-items,
.header-cart-btn.has-items,
.cart-trigger.has-items,
#cart-icon.has-items {
  animation: pulsarSonarRed 2s infinite cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* Batimento cardíaco com anel de sonar vermelho sutil */
@keyframes pulsarSonarRed {
  0% {
    transform: scale(1) translateZ(0);
    /* Mantém a elevação do vidro + anel vermelho espessura zero */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1), inset 0 0 0 1px rgba(255, 255, 255, 0.6), 0 0 0 0 rgba(239, 68, 68, 0.7);
  }
  50% {
    transform: scale(1.08) translateZ(0); /* Leve pulsação da bolha */
    /* O anel vermelho expande para 20px mas fica 100% transparente, criando o efeito de onda/risquinho sumindo */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15), inset 0 0 0 1px rgba(255, 255, 255, 0.6), 0 0 0 20px rgba(239, 68, 68, 0); 
  }
  100% {
    transform: scale(1) translateZ(0);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1), inset 0 0 0 1px rgba(255, 255, 255, 0.6), 0 0 0 0 rgba(239, 68, 68, 0);
  }
}

/* ==========================================================================
   SCROLL NATIVO E ESTRUTURAÇÃO DO CORPO DO CARRINHO (PADRÃO OURO L99+)
   ========================================================================== */

.sidebar-cart-content,
.cart-drawer-body,
#cart-items-list {
  overflow-y: auto !important;
  max-height: calc(100vh - 180px) !important;
  scrollbar-width: thin !important;
  scrollbar-color: rgba(0, 0, 0, 0.2) transparent !important;
}

.sidebar-cart-content::-webkit-scrollbar,
.cart-drawer-body::-webkit-scrollbar,
#cart-items-list::-webkit-scrollbar {
  width: 6px !important;
}

.sidebar-cart-content::-webkit-scrollbar-thumb,
.cart-drawer-body::-webkit-scrollbar-thumb,
#cart-items-list::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.2) !important;
  border-radius: 4px !important;
}

/* Botão Enviar Pedido (desafogamento, respiro e proporção ~80%) */
.cart-send-btn,
#cart-send-btn,
#cart-drawer button[onclick="levixBridgeQuote()"] {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  white-space: nowrap !important;
  width: auto !important;
  min-width: 240px !important;
  max-width: 85% !important;
  margin: 0 auto !important;
  padding: 12px 24px !important;
  border-radius: 14px !important;
  background-color: #25D366 !important;
  color: #ffffff !important;
  font-weight: 900 !important;
  font-size: 13px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.06em !important;
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.25) !important;
  transition: all 0.25s ease !important;
}

.cart-send-btn:hover,
#cart-send-btn:hover,
#cart-drawer button[onclick="levixBridgeQuote()"]:hover {
  background-color: #1EBE5D !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.35) !important;
}

.cart-continue-btn,
#cart-continue-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 6px auto 0 auto;
  padding: 10px 24px;
  border: 1.5px solid #0F204B;
  border-radius: 12px;
  color: #0F204B;
  font-weight: 800;
  font-size: 11px;
  text-transform: uppercase;
  background-color: transparent;
  cursor: pointer;
  transition: all 0.25s ease;
  width: 100%;
  max-width: 280px;
}

.cart-continue-btn:hover,
#cart-continue-btn:hover {
  background-color: rgba(0, 206, 209, 0.1) !important;
  border-color: #00CED1 !important;
  color: #00CED1 !important;
}

/* ==========================================================================
   BLOCO DE ORÇAMENTO — VERMELHO DNA LEVIX (#E3000F) L99+
   ========================================================================== */

#cart-total-budget-row span:first-child {
  color: #E3000F !important;
  font-weight: 900 !important;
}

#cart-budget-count {
  color: #E3000F !important;
  background-color: rgba(227, 0, 15, 0.08) !important;
  border: 1px solid rgba(227, 0, 15, 0.2) !important;
  font-weight: 900 !important;
}

#cart-budget-microcopy {
  color: #E3000F !important;
  font-weight: 700 !important;
}

/* ==========================================================================
   BLINDAGEM DO LAYOUT DO CARRINHO CONTRA SOBREPOSIÇÃO (CSS GRID)
   ========================================================================== */

.cart-item-row {
  display: grid !important;
  grid-template-columns: 1fr auto auto !important;
  gap: 12px !important;
  align-items: center !important;
  padding: 0.875rem !important;
  background-color: #FAFAFA !important;
  border: 1px solid #F3F4F6 !important;
  border-radius: 0.75rem !important;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05) !important;
  transition: all 0.25s ease !important;
}

.cart-item-row h4 {
  white-space: normal !important;
  word-break: normal !important;
  overflow-wrap: break-word !important;
  line-height: 1.35 !important;
  margin: 0 !important;
}


