/* ===== GRAPH PAPER — page backdrop only; cards/containers stay solid ===== */

:root {
  --graph-cell: 48px;
  --graph-line: #e5e7eb;
  --graph-plus: #d1d5db;
  --graph-bg:   #ffffff;
  --graph-shadow: 0 2px 12px rgba(15, 23, 42, 0.05);
  --graph-shadow-hover: 0 12px 36px rgba(34, 197, 94, 0.14), 0 4px 12px rgba(37, 99, 235, 0.08);
  --graph-ease: cubic-bezier(0.34, 1.45, 0.64, 1);
  --graph-transition: transform 0.35s var(--graph-ease), box-shadow 0.35s ease, border-color 0.25s ease;
}

body.neon-grid-page {
  background-color: var(--graph-bg);
  color: var(--text-primary);
}

.neon-grid-scene { display: none !important; }

/* Page backdrop — all pages except home */
body.neon-grid-page:not(.home-page)::before {
  display: none !important;
}

/* Home page — plain white background, no grid */
body.neon-grid-page.home-page {
  background: #ffffff;
}
body.neon-grid-page.home-page::before {
  display: none !important;
}

.page-grid-shell {
  position: relative;
  z-index: 1;
  isolation: isolate;
}

body.neon-grid-page .page-grid-shell::before,
body.neon-grid-page .page-grid-shell::after {
  display: none !important;
}

/* ── Interactive cards — solid surface ── */
body.neon-grid-page .graph-surface,
body.neon-grid-page .graph-interactive {
  background-color: #ffffff !important;
  background-image: none !important;
  border: 1px solid var(--graph-line) !important;
  box-shadow: var(--graph-shadow);
  transition: var(--graph-transition);
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
  will-change: transform;
}

/* Top accent line on hover — REMOVED */
body.neon-grid-page .graph-interactive::before {
  display: none;
}

/* Corner glow on hover — REMOVED */
body.neon-grid-page .graph-interactive::after {
  display: none;
}

/* Hover lift — no green border */
body.neon-grid-page .graph-interactive:hover,
body.neon-grid-page .graph-interactive.is-hover {
  border-color: var(--graph-line) !important;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.10) !important;
  transform: translateY(-4px);
}

body.neon-grid-page .graph-interactive:active,
body.neon-grid-page .graph-interactive.is-pressed {
  transform: translateY(-2px) scale(0.985);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08) !important;
  transition-duration: 0.1s;
}

body.neon-grid-page .graph-interactive:focus-visible {
  outline: 2px solid var(--secondary);
  outline-offset: 3px;
}

/* Click ripple — neutral */
.graph-ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.08);
  transform: scale(0);
  animation: graphRipple 0.55s ease-out forwards;
  pointer-events: none;
  z-index: 3;
}

@keyframes graphRipple {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

/* ═══ Cards & containers — solid white, no grid pattern ═══ */
body.neon-grid-page .product-card,
body.neon-grid-page .featured-product-card,
body.neon-grid-page .wch-card,
body.neon-grid-page .why-card,
body.neon-grid-page .ash-stat,
body.neon-grid-page .gallery-item,
body.neon-grid-page .contact-info-card,
body.neon-grid-page .contact-form-card,
body.neon-grid-page .faq-item,
body.neon-grid-page .sidebar-block,
body.neon-grid-page .footer-brand-card,
body.neon-grid-page .footer-trust-badge,
body.neon-grid-page .promo-stat-card,
body.neon-grid-page .marquee-logo,
body.neon-grid-page .brand-item,
body.neon-grid-page .category-card,
body.neon-grid-page .about-split-home-grid,
body.neon-grid-page .timer-block,
body.neon-grid-page .contact-item,
body.neon-grid-page .cat-tree-item,
body.neon-grid-page .filter-item {
  background-color: #ffffff !important;
  background-image: none !important;
  border: 1px solid var(--graph-line) !important;
  box-shadow: var(--graph-shadow);
  transition: var(--graph-transition);
  position: relative;
  overflow: hidden;
}

body.neon-grid-page .product-card,
body.neon-grid-page .wch-card,
body.neon-grid-page .why-card,
body.neon-grid-page .gallery-item,
body.neon-grid-page .contact-info-card,
body.neon-grid-page .contact-form-card,
body.neon-grid-page .faq-item,
body.neon-grid-page .sidebar-block,
body.neon-grid-page .footer-brand-card,
body.neon-grid-page .about-split-home-grid,
body.neon-grid-page .contact-item {
  border-radius: var(--radius-xl) !important;
}

body.neon-grid-page .ash-stat { border-radius: var(--radius-lg) !important; }
body.neon-grid-page .brand-item,
body.neon-grid-page .footer-trust-badge,
body.neon-grid-page .timer-block,
body.neon-grid-page .filter-item { border-radius: var(--radius-full) !important; }
body.neon-grid-page .cat-tree-item { border-radius: var(--radius-md) !important; }

/* Promo section — frosted glass, no grid */
body.neon-grid-page .promo-section .promo-stat-card,
body.neon-grid-page .promo-section .timer-block {
  background-color: rgba(255, 255, 255, 0.14) !important;
  background-image: none !important;
  border-color: rgba(255, 255, 255, 0.28) !important;
  backdrop-filter: blur(8px);
}

body.neon-grid-page .promo-section .graph-interactive.is-hover,
body.neon-grid-page .promo-section .graph-interactive:hover {
  background-color: rgba(255, 255, 255, 0.22) !important;
  border-color: rgba(134, 239, 172, 0.55) !important;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(134, 239, 172, 0.2) !important;
}

/* Clickable cursor */
body.neon-grid-page .product-card,
body.neon-grid-page .gallery-item,
body.neon-grid-page .faq-item,
body.neon-grid-page .brand-item,
body.neon-grid-page .marquee-logo,
body.neon-grid-page .category-card,
body.neon-grid-page .gallery-tab {
  cursor: pointer;
}

body.neon-grid-page .brand-item {
  color: var(--text-secondary) !important;
  font-weight: 700 !important;
  overflow: visible !important;
}

body.neon-grid-page .brand-item.graph-interactive.is-hover,
body.neon-grid-page .brand-item.graph-interactive:hover {
  color: var(--secondary) !important;
}

/* ELGi action buttons — keep blue pill, not graph card style */
body.neon-grid-page .ash-elgi-btn {
  background: linear-gradient(135deg, var(--secondary), var(--secondary-dark)) !important;
  background-image: linear-gradient(135deg, var(--secondary), var(--secondary-dark)) !important;
  color: #ffffff !important;
  border: none !important;
  overflow: visible !important;
  cursor: pointer;
}

body.neon-grid-page .ash-elgi-btn svg {
  stroke: currentColor;
}

body.neon-grid-page .ash-elgi-btn:hover {
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.35) !important;
}

/* Product / gallery image — plain white */
body.neon-grid-page .product-card-img,
body.neon-grid-page .gallery-img-wrap {
  background: #ffffff !important;
  background-image: none !important;
  border-bottom: 1px solid var(--graph-line);
  position: relative;
  z-index: 1;
}

body.neon-grid-page .product-card:hover .product-card-img img,
body.neon-grid-page .graph-interactive:hover .product-card-img img,
body.neon-grid-page .graph-interactive.is-hover .product-card-img img {
  transform: scale(1.06);
}

body.neon-grid-page .graph-interactive:hover .gallery-img-wrap img,
body.neon-grid-page .graph-interactive.is-hover .gallery-img-wrap img {
  transform: scale(1.05);
}

body.neon-grid-page .product-card-img img,
body.neon-grid-page .gallery-img-wrap img {
  transition: transform 0.45s var(--graph-ease);
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: center;
}

/* Contact rows */
body.neon-grid-page .contact-item {
  padding: var(--space-md);
  margin-bottom: var(--space-sm);
  cursor: default;
}

body.neon-grid-page .contact-item .contact-item-icon {
  transition: transform 0.35s var(--graph-ease);
}

body.neon-grid-page .contact-item.graph-interactive.is-hover .contact-item-icon,
body.neon-grid-page .contact-item.graph-interactive:hover .contact-item-icon {
  transform: scale(1.15);
}

/* Sidebar filters */
body.neon-grid-page .filter-item,
body.neon-grid-page .cat-tree-item,
body.neon-grid-page .cat-filter-item,
body.neon-grid-page .cat-filter-subitem {
  padding: 8px 12px;
  margin-bottom: 4px;
  cursor: pointer;
  transition: var(--graph-transition);
}

body.neon-grid-page .cat-tree-item.active,
body.neon-grid-page .filter-item:has(input:checked),
body.neon-grid-page .cat-filter-item--active,
body.neon-grid-page .cat-filter-subitem--active {
  border-color: var(--primary) !important;
  background-color: #f0fdf4 !important;
  box-shadow: var(--graph-shadow-hover);
}

/* Large panels — lift only, no 3D tilt */
body.neon-grid-page .about-split-home-grid.graph-interactive.is-hover,
body.neon-grid-page .about-split-home-grid.graph-interactive:hover,
body.neon-grid-page .footer-brand-card.graph-interactive.is-hover,
body.neon-grid-page .footer-brand-card.graph-interactive:hover,
body.neon-grid-page .contact-form-card.graph-interactive.is-hover,
body.neon-grid-page .contact-form-card.graph-interactive:hover {
  transform: translateY(-4px);
}

/* FAQ accordion */
body.neon-grid-page .faq-item.graph-interactive.is-hover,
body.neon-grid-page .faq-item.graph-interactive:hover {
  transform: translateY(-3px);
}

body.neon-grid-page .product-card-body,
body.neon-grid-page .wch-body,
body.neon-grid-page .wch-icon,
body.neon-grid-page .why-icon,
body.neon-grid-page .gallery-item-info,
body.neon-grid-page .ash-col {
  position: relative;
  z-index: 1;
}

/* Stat pulse on hover */
body.neon-grid-page .ash-stat:hover .ash-stat-num {
  color: var(--primary-dark);
  transform: scale(1.06);
  transition: transform 0.3s var(--graph-ease);
  display: inline-block;
}

/* Sections — transparent so page grid shows through */
body.neon-grid-page .grid-bg,
body.neon-grid-page .grid-bg--clean,
body.neon-grid-page .grid-bg--mint,
body.neon-grid-page .grid-bg--blue,
body.neon-grid-page .grid-bg--dots,
body.neon-grid-page .grid-bg--bento,
body.neon-grid-page .grid-bg--shop,
body.neon-grid-page .grid-bg--gallery,
body.neon-grid-page .grid-bg--form,
body.neon-grid-page .featured-section,
body.neon-grid-page .featured-products-body {
  background-color: transparent !important;
  background-image: none !important;
  border-top: none;
  border-bottom: none;
}

body.neon-grid-page .grid-bg::before,
body.neon-grid-page .grid-bg::after { display: none !important; }

body.neon-grid-page .grid-bg--hero {
  background-color: transparent !important;
  background-image: none !important;
  border-bottom: none;
}

body.neon-grid-page .grid-bg--hero .section-header h2 {
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: black;
  color: black;
}

/* Navbar & search — solid, no grid */
body.neon-grid-page .navbar,
body.neon-grid-page .search-bar-strip {
  background-color: rgba(255, 255, 255, 0.92) !important;
  background-image: none !important;
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--graph-line) !important;
  transition: box-shadow 0.3s ease;
}

body.neon-grid-page .navbar.scrolled {
  background: #ffffff !important;
  box-shadow: 0 4px 16px rgba(15,23,42,0.10) !important;
}

body.neon-grid-page .search-bar-input-wrap {
  background-color: #ffffff !important;
  background-image: none !important;
  border: 1px solid var(--graph-line) !important;
  border-radius: var(--radius-md);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

body.neon-grid-page .search-bar-input-wrap:hover {
  border-color: rgba(37, 99, 235, 0.35) !important;
}

body.neon-grid-page .search-bar-input-wrap:focus-within {
  border-color: var(--primary) !important;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.15);
}

body.neon-grid-page .search-bar-input-wrap input {
  background: transparent !important;
  border: none !important;
}

/* Footer — solid, no grid */
body.neon-grid-page .footer,
body.neon-grid-page .footer-inner {
  background-color: rgba(255, 255, 255, 0.95) !important;
  background-image: none !important;
  border-top: 1px solid var(--graph-line);
}

body.neon-grid-page .footer .social-links a {
  background-color: #ffffff !important;
  background-image: none !important;
  border: 1px solid var(--graph-line) !important;
  transition: var(--graph-transition);
}

body.neon-grid-page .footer .social-links a:hover {
  transform: translateY(-4px) scale(1.08);
  border-color: var(--primary) !important;
  box-shadow: var(--graph-shadow-hover);
  background: var(--gradient-primary) !important;
  background-image: var(--gradient-primary) !important;
  color: #fff;
}

body.neon-grid-page .footer-trust-badge:hover {
  border-color: var(--secondary) !important;
  color: var(--secondary);
  transform: translateY(-3px);
}

body.neon-grid-page .footer-mini-link {
  transition: color 0.2s ease, transform 0.2s ease;
}

body.neon-grid-page .footer-mini-link:hover {
  transform: translateX(4px);
}

/* Gallery tabs */
body.neon-grid-page .gallery-tab {
  background-color: #ffffff !important;
  background-image: none !important;
  border: 1px solid var(--graph-line) !important;
  transition: var(--graph-transition);
}

body.neon-grid-page .gallery-tab:hover {
  border-color: var(--secondary) !important;
  transform: translateY(-2px);
}

body.neon-grid-page .gallery-tab.active {
  background: var(--gradient-primary) !important;
  background-image: var(--gradient-primary) !important;
  border-color: transparent !important;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(34, 197, 94, 0.3);
}

/* Form inputs */
body.neon-grid-page .form-input,
body.neon-grid-page .form-select,
body.neon-grid-page .sort-select {
  background-color: #ffffff !important;
  background-image: none !important;
  border: 1px solid var(--graph-line) !important;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

body.neon-grid-page .form-input:hover,
body.neon-grid-page .form-select:hover {
  border-color: rgba(37, 99, 235, 0.35) !important;
}

body.neon-grid-page .form-input:focus,
body.neon-grid-page .form-select:focus {
  border-color: var(--primary) !important;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.12);
}

/* FAQ open state */
body.neon-grid-page .faq-item.open {
  border-color: var(--primary) !important;
  box-shadow: var(--graph-shadow-hover) !important;
}

body.neon-grid-page .faq-item.open .faq-question {
  color: var(--secondary);
}

/* WCH / why icon bounce on card hover */
body.neon-grid-page .graph-interactive:hover .wch-icon svg,
body.neon-grid-page .graph-interactive.is-hover .wch-icon svg,
body.neon-grid-page .graph-interactive:hover .why-icon svg,
body.neon-grid-page .graph-interactive.is-hover .why-icon svg {
  animation: graphIconPop 0.45s var(--graph-ease);
}

@keyframes graphIconPop {
  0%, 100% { transform: scale(1); }
  40%       { transform: scale(1.12); }
  70%       { transform: scale(0.96); }
}

@media (max-width: 768px) {
  :root { --graph-cell: 40px; }
  body.neon-grid-page .graph-interactive:hover,
  body.neon-grid-page .graph-interactive.is-hover {
    transform: translateY(-3px);
  }
}

@media (prefers-reduced-motion: reduce) {
  body.neon-grid-page .graph-interactive,
  body.neon-grid-page .graph-interactive:hover,
  .graph-ripple {
    transition: none !important;
    animation: none !important;
    transform: none !important;
  }
}
