/* ============================================
   VITERTRADE – Global Stylesheet
   Design System: "The Digital Loom"
   ============================================ */

/* --- Base Reset & Defaults --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Work Sans', sans-serif;
  background-color: #faf9f7;
  color: #1b1c1b;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection { background: rgba(0, 50, 125, 0.15); }

/* --- Typography --- */
.font-headline { font-family: 'Manrope', sans-serif; }
.font-body    { font-family: 'Work Sans', sans-serif; }
.font-label   { font-family: 'Work Sans', sans-serif; }

/* --- Material Symbols --- */
.material-symbols-outlined {
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

/* --- Glassmorphism Nav --- */
.glass-nav {
  background: rgba(250, 249, 247, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

/* --- Shadows --- */
.whisper-shadow {
  box-shadow: 0px 24px 48px rgba(27, 28, 27, 0.06);
}

/* --- Signature Gradient --- */
.cobalt-gradient {
  background: linear-gradient(135deg, #00327d 0%, #0047ab 100%);
}

/* --- Editorial Glow --- */
.text-editorial-glow {
  text-shadow: 0 0 40px rgba(255, 255, 255, 0.3);
}

/* --- Scrollbar Hiding --- */
.no-scrollbar::-webkit-scrollbar { display: none; }
.no-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }

/* --- Image Gallery --- */
.gallery-thumb {
  cursor: pointer;
  opacity: 0.6;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}
.gallery-thumb:hover,
.gallery-thumb.active {
  opacity: 1;
  border-color: #0047ab;
}

/* --- Mobile Nav Overlay --- */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(250, 249, 247, 0.97);
  backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.mobile-nav.open {
  opacity: 1;
  pointer-events: all;
}

/* --- Page Transitions --- */
main {
  animation: fadeIn 0.4s ease-out;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* --- Product Row Hover --- */
.product-row {
  cursor: pointer;
  transition: background-color 0.2s ease;
}
.product-row:hover {
  background-color: rgba(245, 243, 241, 0.5);
}

/* --- Responsive Table --- */
@media (max-width: 768px) {
  .specs-table { font-size: 0.75rem; }
  .specs-table th,
  .specs-table td { padding: 0.75rem 0.5rem; }
}
