/* Premium Industrial Platinum Design System for MEFA Sensör */
:root {
  --bg-primary: #cbd5e1;
  --bg-secondary: #d1dbe5;
  --bg-tertiary: #b9c8d6;
  --bg-card: rgba(255, 255, 255, 0.55);
  --bg-glass: rgba(255, 255, 255, 0.75);
  --bg-active-pill: rgba(15, 23, 42, 0.06);
  
  --border-color: rgba(15, 23, 42, 0.1);
  --border-glow: rgba(2, 132, 199, 0.35);
  
  --text-primary: #0f172a;
  --text-secondary: #1e293b;
  --text-muted: #334155;
  
  --accent-cyan: #0284c7;
  --accent-blue: #1d4ed8;
  --accent-purple: #4338ca;
  --accent-rose: #ef4444;
  --accent-gradient: linear-gradient(135deg, #0284c7 0%, #1d4ed8 50%, #4338ca 100%);
  --accent-glow: 0 0 20px rgba(29, 78, 216, 0.15);
  --card-shadow: 0 10px 25px rgba(15, 23, 42, 0.05);
  
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  --font-display: 'Outfit', sans-serif;
  --font-sans: 'Inter', sans-serif;
}

/* Amber Theme Class */
body.theme-amber {
  --accent-cyan: #ffb703;
  --accent-blue: #fb8500;
  --accent-purple: #d00000;
  --accent-gradient: linear-gradient(135deg, #ffb703 0%, #fb8500 50%, #d00000 100%);
  --accent-glow: 0 0 25px rgba(251, 133, 0, 0.35);
  --border-color: rgba(251, 133, 0, 0.1);
  --border-glow: rgba(251, 133, 0, 0.25);
}

/* Green Bio Theme Class */
body.theme-green {
  --accent-cyan: #39ff14;
  --accent-blue: #00ff7f;
  --accent-purple: #008000;
  --accent-gradient: linear-gradient(135deg, #39ff14 0%, #00ff7f 50%, #008000 100%);
  --accent-glow: 0 0 25px rgba(0, 255, 127, 0.35);
  --border-color: rgba(0, 255, 127, 0.1);
  --border-glow: rgba(0, 255, 127, 0.25);
}

/* Crimson Rogue Theme Class */
body.theme-crimson {
  --accent-cyan: #f43f5e;
  --accent-blue: #e11d48;
  --accent-purple: #9f1239;
  --accent-gradient: linear-gradient(135deg, #fb7185 0%, #e11d48 50%, #9f1239 100%);
  --accent-glow: 0 0 25px rgba(225, 29, 72, 0.25);
  --border-color: rgba(225, 29, 72, 0.1);
  --border-glow: rgba(225, 29, 72, 0.2);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-secondary);
  color: var(--text-primary);
  font-family: var(--font-sans);
  overflow-x: hidden;
  line-height: 1.6;
  position: relative;
}

/* Blueprint Grid Background Pattern & Animation */
body::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(rgba(15, 82, 186, 0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 82, 186, 0.015) 1px, transparent 1px);
  background-size: 60px 60px;
  background-position: center;
  pointer-events: none;
  z-index: -10;
}

/* Glowing background ambient highlights */
body::after {
  content: '';
  position: absolute;
  top: 15%;
  left: 50%;
  transform: translateX(-50%);
  width: 1000px;
  height: 1000px;
  background: radial-gradient(circle, rgba(0, 168, 204, 0.04) 0%, transparent 70%);
  filter: blur(100px);
  pointer-events: none;
  z-index: -9;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text-primary);
}

.text-glow {
  text-shadow: 0 0 10px rgba(0, 168, 204, 0.15);
}

.gradient-text {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: 1440px; /* Balanced widescreen width */
  margin: 0 auto;
  padding: 0 2rem;
}

section {
  padding: 5rem 0;
  position: relative;
}

/* Glassmorphism Panel */
.glass-panel {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  box-shadow: var(--card-shadow);
  transition: var(--transition-smooth);
}

/* Tab Panels Visibility */
.tab-content-panel {
  display: none;
}

.tab-content-panel.active-panel {
  display: block;
}

/* Header & Navbar */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: var(--bg-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition-smooth);
}

header.scrolled {
  padding: 0.1rem 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  background: rgba(8, 23, 33, 0.98);
}

.navbar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 92px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-family: var(--font-display);
  font-size: 2.15rem;
  font-weight: 800;
  text-decoration: none;
  color: var(--text-primary);
  letter-spacing: 0.5px;
}

.logo img,
.logo svg {
  color: var(--accent-blue);
  filter: drop-shadow(0 2px 4px rgba(15, 82, 186, 0.15));
}

.nav-links {
  display: flex;
  gap: 2.6rem; /* Spreads navigation text wider */
  list-style: none;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition-smooth);
  position: relative;
  padding: 0.5rem 0;
  cursor: pointer;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2.5px;
  background: var(--accent-gradient);
  transition: var(--transition-smooth);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--accent-blue);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

/* Button Component */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition-smooth);
  border: 1px solid transparent;
  outline: none;
}

.btn-primary {
  background: var(--accent-gradient);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(15, 82, 186, 0.2);
}

.btn-primary:hover {
  box-shadow: 0 6px 20px rgba(15, 82, 186, 0.35);
  transform: translateY(-2px);
}

.btn-secondary {
  background: var(--bg-card);
  color: var(--text-secondary);
  border-color: var(--border-color);
  box-shadow: 0 2px 8px rgba(15, 82, 186, 0.03);
}

.btn-secondary:hover {
  background: var(--bg-secondary);
  color: var(--accent-blue);
  border-color: var(--accent-blue);
  transform: translateY(-1px);
}

.btn-secondary.active-curr {
  background: rgba(14, 165, 233, 0.1);
  color: var(--accent-cyan);
  border-color: rgba(14, 165, 233, 0.35);
  box-shadow: 0 4px 12px rgba(14, 165, 233, 0.08);
}

.btn-icon {
  background: none;
  border: none;
  color: var(--text-secondary);
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 8px;
  transition: var(--transition-smooth);
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-icon:hover {
  background: var(--bg-tertiary);
  color: var(--accent-blue);
}

/* Language Toggle Switch */
.lang-toggle {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 0.25rem;
  display: flex;
  gap: 0.25rem;
}

.lang-btn {
  background: none;
  border: 1px solid transparent;
  color: var(--text-muted);
  font-weight: 800;
  font-size: 0.75rem;
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
  cursor: pointer;
  transition: var(--transition-smooth);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.lang-btn img {
  width: 15px;
  height: 10px;
  object-fit: cover;
  border-radius: 1px;
  vertical-align: middle;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.lang-btn.active {
  background: var(--accent-gradient);
  color: #ffffff;
}

/* --- Hero Banner Carousel --- */
.hero-carousel {
  position: relative;
  height: 80vh;
  width: 100%;
  overflow: hidden;
  background: linear-gradient(135deg, #040d12 0%, #0c202d 100%) !important; /* Premium dark blueprint theme */
  border-bottom: 1px solid rgba(0, 242, 254, 0.15);
}

/* Watermark in background */
.hero-carousel::before {
  content: 'MEFA SENSÖR';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-8deg);
  font-size: 9.5vw;
  font-family: var(--font-display);
  font-weight: 900;
  color: rgba(255, 255, 255, 0.055) !important; /* Extremely soft watermark on dark background */
  white-space: nowrap;
  pointer-events: none;
  z-index: 0;
  letter-spacing: 6px;
}

/* Legibility overrides for carousel on dark background */
.hero-carousel .carousel-content h1 {
  background: linear-gradient(135deg, #ffffff 0%, var(--accent-cyan) 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  text-shadow: 0 0 20px rgba(0, 242, 254, 0.2);
}

.hero-carousel .carousel-content p {
  color: var(--text-secondary) !important; /* Bright silver text on dark background */
}

.hero-carousel .carousel-control {
  background: rgba(12, 32, 45, 0.65) !important;
  border: 1px solid rgba(0, 242, 254, 0.25) !important;
  color: var(--text-primary) !important;
}

.hero-carousel .carousel-control:hover {
  background: rgba(0, 242, 254, 0.15) !important;
  color: var(--accent-cyan) !important;
  border-color: var(--accent-cyan) !important;
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.35) !important;
}

.hero-carousel .carousel-indicator {
  background-color: rgba(255, 255, 255, 0.15) !important;
  width: 12px;
  height: 6px;
  border-radius: 100px;
  transition: var(--transition-smooth) !important;
}

.hero-carousel .carousel-indicator.active {
  background-color: var(--accent-cyan) !important;
  width: 32px;
  box-shadow: 0 0 12px var(--accent-cyan) !important;
}

.carousel-inner {
  position: relative;
  width: 100%;
  height: 100%;
}

.carousel-item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  z-index: 1;
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  pointer-events: none;
}

.carousel-item.active {
  opacity: 1;
  z-index: 2;
  pointer-events: auto;
}

.carousel-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 242, 254, 0.08) 0%, transparent 70%);
  filter: blur(100px);
  pointer-events: none;
}

.carousel-item:nth-child(1) .carousel-glow { top: -10%; right: -5%; }
.carousel-item:nth-child(2) .carousel-glow { bottom: -10%; left: -5%; }
.carousel-item:nth-child(3) .carousel-glow { top: 20%; left: 30%; }

.carousel-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
  z-index: 5;
  width: 100%;
}

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

.carousel-content h1 {
  font-size: 3.6rem;
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
  transform: translateY(30px);
  opacity: 0;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.2s, opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.2s;
}

.carousel-content p {
  font-size: 1.15rem;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  max-width: 600px;
  transform: translateY(30px);
  opacity: 0;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.3s, opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.3s;
}

.carousel-content .btn {
  transform: translateY(30px);
  opacity: 0;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.4s, opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.4s;
}

.carousel-item.active .carousel-content h1,
.carousel-item.active .carousel-content p,
.carousel-item.active .carousel-content .btn {
  transform: translateY(0);
  opacity: 1;
}

/* Carousel Visual image slider */
.carousel-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(15, 82, 186, 0.1);
  border: 1px solid var(--border-color);
  background-color: var(--bg-tertiary);
}

.carousel-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 12s linear;
  filter: brightness(0.62) contrast(1.05) saturate(0.9);
}

.carousel-item.active .carousel-visual img {
  transform: scale(1.08);
}

/* Controls */
.carousel-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 50px;
  height: 50px;
  background: var(--bg-glass);
  border: 1px solid var(--border-color);
  border-radius: 50%;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(15, 82, 186, 0.05);
  transition: var(--transition-smooth);
}

.carousel-control:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--accent-cyan);
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  transform: translateY(-50%) scale(1.06);
}

.carousel-control-prev { left: 2rem; }
.carousel-control-next { right: 2rem; }

.carousel-indicators {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 0.75rem;
}

.carousel-indicator {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(15, 82, 186, 0.15);
  border: none;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.carousel-indicator.active {
  background: var(--accent-blue);
  width: 24px;
  border-radius: 9999px;
  box-shadow: 0 0 8px rgba(15, 82, 186, 0.3);
}

/* Section Header */
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.section-header p {
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.05rem;
}

/* Slogan Bar */
.slogan-bar {
  background: linear-gradient(90deg, rgba(0, 168, 204, 0.03) 0%, rgba(15, 82, 186, 0.03) 100%);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 2rem 0;
  text-align: center;
}

.slogan-content h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: 1px;
  font-weight: 800;
  margin: 0;
}

/* Catalog Controls Container */
.catalog-controls {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.search-bar-container {
  width: 100%;
  position: relative;
}

.search-input {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 1rem 1.5rem 1rem 3rem;
  border-radius: 12px;
  color: var(--text-primary);
  font-size: 1rem;
  box-shadow: 0 2px 10px rgba(15, 82, 186, 0.02);
  transition: var(--transition-smooth);
}

.search-input:focus {
  outline: none;
  border-color: var(--accent-blue);
  box-shadow: 0 0 10px rgba(15, 82, 186, 0.1);
}

.search-bar-container svg {
  position: absolute;
  left: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
}

.category-tabs {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
  padding-bottom: 0.5rem;
}

.category-tab {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  padding: 0.4rem 0.8rem;
  border-radius: 8px;
  cursor: pointer;
  white-space: nowrap;
  font-weight: 500;
  font-size: 0.8rem;
  box-shadow: 0 2px 6px rgba(15, 82, 186, 0.02);
  transition: var(--transition-smooth);
}

.category-tab:hover {
  background: var(--bg-secondary);
  color: var(--accent-blue);
}

.category-tab.active {
  background: var(--accent-gradient);
  color: #ffffff;
  border-color: transparent;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(15, 82, 186, 0.2);
}
#panel-products .container {
  max-width: 1600px;
}
.catalog-split-layout {
  display: grid;
  grid-template-columns: 340px 1fr; /* Clean 2-column layout */
  gap: 1.5rem;
  align-items: start;
  margin-bottom: 80px; /* Leave space above the footer */
}

/* Faceted Filter Sidebar */
.filter-sidebar {
  padding: 1.5rem;
  position: sticky;
  top: 110px;
  max-height: calc(100vh - 140px);
  overflow-y: auto;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  scrollbar-color: rgba(255, 255, 255, 0.4) transparent;
  scrollbar-width: thin;
  overscroll-behavior: contain; /* Prevents scroll chaining to parent */
}

/* Datasheet Sidebar (Drawer) */
.datasheet-sidebar {
  padding: 1.5rem;
  position: fixed !important;
  top: 0 !important;
  right: -420px !important;
  width: 420px !important;
  height: 100vh !important;
  max-height: 100vh !important;
  z-index: 2000 !important;
  transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
  box-shadow: -10px 0 40px rgba(0,0,0,0.6) !important;
  border-radius: 0 !important;
  border: none !important;
  border-left: 1px solid var(--border-color) !important;
  background: rgba(10, 25, 47, 0.96) !important;
  backdrop-filter: blur(25px) !important;
  display: flex !important;
  flex-direction: column !important;
  box-sizing: border-box;
}

.datasheet-sidebar.open {
  right: 0 !important;
}

/* Scrollbar styling for sidebar */
.filter-sidebar::-webkit-scrollbar {
  width: 6px;
}
.filter-sidebar::-webkit-scrollbar-track {
  background: transparent;
}
.filter-sidebar::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.3);
  border-radius: 10px;
}
.filter-sidebar::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.6);
}

/* Scrollbar styling for subheading list */
#sidebar-subheading-list {
  scrollbar-color: rgba(0, 242, 254, 0.35) transparent;
  scrollbar-width: thin;
}
#sidebar-subheading-list::-webkit-scrollbar {
  width: 4px;
}
#sidebar-subheading-list::-webkit-scrollbar-track {
  background: transparent;
}
#sidebar-subheading-list::-webkit-scrollbar-thumb {
  background: rgba(0, 242, 254, 0.25);
  border-radius: 10px;
}
#sidebar-subheading-list::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 242, 254, 0.5);
}

.filter-sidebar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 0.75rem;
}

.filter-sidebar-header h3 {
  font-size: 1.2rem;
  font-family: var(--font-display);
}

.btn-clear-filters {
  background: none;
  border: none;
  color: var(--accent-blue);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-smooth);
  display: none;
}

.btn-clear-filters:hover {
  text-decoration: underline;
}

.filter-group {
  margin-bottom: 1.5rem;
  border-bottom: 1px solid rgba(15, 82, 186, 0.06);
  padding-bottom: 1.25rem;
}

.filter-group:last-child {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0;
}

.filter-group-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.filter-options {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  max-height: 240px; /* Büyütüldü */
  overflow-y: auto;
  width: 100%; /* Stretches to full width */
  padding-right: 0.75rem;
  scrollbar-color: rgba(255, 255, 255, 0.5) rgba(255, 255, 255, 0.05);
  scrollbar-width: thin;
}

/* Custom scrollbar for filter options */
.filter-options::-webkit-scrollbar {
  width: 6px;
}
.filter-options::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 4px;
}
.filter-options::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.5);
  border-radius: 10px;
}
.filter-options::-webkit-scrollbar-thumb:hover {
  background: #ffffff;
}

/* Custom Checkbox styles */
.filter-checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  width: 100%; /* Stretches to full width */
  font-size: 0.95rem;
  color: var(--text-secondary);
  cursor: pointer;
  user-select: none;
  transition: var(--transition-smooth);
}

.filter-checkbox-label:hover {
  color: var(--accent-blue);
}

.filter-checkbox-label input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  background: var(--bg-card);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
  cursor: pointer;
}

.filter-checkbox-label input[type="checkbox"]:checked {
  background: var(--accent-gradient);
  border-color: transparent;
}

.filter-checkbox-label input[type="checkbox"]::before {
  content: "✔";
  font-size: 11px;
  color: #ffffff;
  font-weight: 900;
  display: none;
}

.filter-checkbox-label input[type="checkbox"]:checked::before {
  display: block;
}

.filter-option-count {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-left: auto;
}

/* Products Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* Forced 2-column layout */
  gap: 1.5rem;
}

@media (max-width: 576px) {
  .products-grid {
    grid-template-columns: 1fr; /* Single column on small screens */
  }
}

@media (max-width: 1200px) {
  .catalog-split-layout {
    grid-template-columns: 340px 1fr;
  }
}

@media (max-width: 992px) {
  .catalog-split-layout {
    grid-template-columns: 1fr;
  }
  .filter-sidebar {
    position: static;
    max-height: none;
    grid-column: span 1;
  }
}

.product-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  transition: var(--transition-bounce);
  cursor: pointer;
  overflow: hidden;
  background: var(--bg-card) !important;
  border: 1px solid var(--border-color) !important;
  backdrop-filter: blur(12px) saturate(160%);
  -webkit-backdrop-filter: blur(12px) saturate(160%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.product-card:hover {
  transform: translateY(-6px);
  border-color: rgba(14, 165, 233, 0.3) !important;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.45), 
              0 0 20px rgba(14, 165, 233, 0.08),
              inset 0 1px 0 rgba(255, 255, 255, 0.05) !important;
}

.product-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--accent-gradient);
  opacity: 0;
  transition: var(--transition-smooth);
}

.product-card:hover::before {
  opacity: 1;
}

.product-image-area {
  height: 190px;
  background: linear-gradient(180deg, #f4f8fd 0%, #eaf1fc 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--border-color);
  position: relative;
  padding: 1.5rem;
  overflow: hidden; /* Clips zoomed images */
}

/* Custom Vector SVG Graphics on Cards Styling */
.sensor-svg {
  width: 100%;
  height: 100%;
  max-width: 150px;
  max-height: 100px;
  stroke: var(--accent-blue);
  stroke-width: 1.5;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 2px 4px rgba(15, 82, 186, 0.08));
  transition: var(--transition-smooth);
}

.product-card:hover .sensor-svg,
.product-card:hover .product-image-area img {
  transform: scale(1.05);
  filter: drop-shadow(0 4px 8px rgba(15, 82, 186, 0.2));
}

.product-tag {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--border-color);
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.product-card:hover .product-tag {
  border-color: var(--accent-blue);
  color: var(--accent-blue);
}

.product-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-model {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent-blue);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.5rem;
}

.product-title {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.product-description {
  font-size: 0.9rem;
  color: var(--text-secondary);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.product-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  border-top: 1px solid var(--border-color);
  padding-top: 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-blue);
}

/* --- Interactive Price List Sheet --- */
.price-list-container {
  max-width: 1150px; /* Widened slightly to the left and right */
  margin: 0 auto;
}

.price-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.price-table-card {
  padding: 1.5rem;
  overflow: hidden;
  background: var(--bg-card);
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.price-table th, .price-table td {
  padding: 1rem;
  border-bottom: 1px solid var(--border-color);
}

.price-table th {
  font-weight: 700;
  color: var(--text-secondary);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  background-color: var(--bg-secondary);
}

.price-table tr:hover {
  background-color: var(--bg-secondary);
}

.price-table td {
  font-size: 0.95rem;
}

.price-badge {
  font-family: monospace;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent-blue);
}

/* --- News & Updates Slider (Bizden Haberler) --- */
.news-section {
  padding: 5rem 0;
  border-top: 1px solid var(--border-color);
}

.news-slider-outer {
  position: relative;
  overflow: hidden;
  padding: 1rem 0;
}

.news-track {
  display: flex;
  gap: 2rem;
  transition: transform 0.5s ease;
}

.news-card {
  flex: 0 0 calc(33.333% - 1.333rem);
  padding: 2rem;
  height: 250px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: 12px;
  background-color: var(--bg-card);
}

.news-card-date {
  font-size: 0.8rem;
  color: var(--accent-blue);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.news-card-title {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.news-card-content {
  font-size: 0.9rem;
  color: var(--text-secondary);
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
}

.news-controls {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2rem;
}

.news-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(15, 82, 186, 0.15);
  border: none;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.news-dot.active {
  background: var(--accent-blue);
  width: 20px;
  border-radius: 9999px;
}

/* --- E-Katalog Banner Section --- */
.catalog-download-card {
  padding: 3rem;
  text-align: center;
  max-width: 800px;
  margin: 4rem auto;
  border: 1px solid rgba(15, 82, 186, 0.1);
  box-shadow: var(--card-shadow);
  background: var(--bg-card);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

/* --- Technical Explanation Panel --- */
.explanation-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  max-width: 1100px;
  margin: 0 auto;
}

.explanation-card {
  padding: 1.25rem;
  background-color: var(--bg-card);
  border-radius: 12px;
  border: 1px solid var(--border-color);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: var(--transition-smooth);
}

.explanation-card:hover {
  transform: translateY(-2px);
  border-color: var(--accent-blue);
}

.explanation-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  border-bottom: 1px solid rgba(15, 82, 186, 0.15);
  padding-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.explanation-card h3 svg {
  color: var(--accent-blue);
  width: 20px;
  height: 20px;
}

.explanation-card p {
  color: var(--text-secondary);
  font-size: 0.82rem;
  line-height: 1.4;
}

@media (max-width: 992px) {
  .explanation-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .explanation-grid {
    grid-template-columns: 1fr;
  }
}

/* About and Capabilities */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.about-text h3 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.about-text p {
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
  font-size: 1.05rem;
}

.capabilities-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.capability-item {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  border-left: 3px solid var(--accent-blue);
  background-color: var(--bg-card);
}

.capability-item h4 {
  font-size: 1.15rem;
}

.capability-item p {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* Workshop Gallery */
.gallery-section {
  padding: 4rem 0;
  border-top: 1px solid var(--border-color);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.gallery-item {
  height: 180px;
  border-radius: 12px;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border-color);
  cursor: pointer;
  background: var(--bg-card);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 1rem;
  transition: var(--transition-smooth);
}

.gallery-item svg {
  color: var(--text-muted);
  width: 44px;
  height: 44px;
  transition: var(--transition-smooth);
}

.gallery-item:hover {
  transform: translateY(-3px);
  border-color: var(--accent-blue);
  box-shadow: 0 8px 20px rgba(15, 82, 186, 0.05);
}

.gallery-item:hover svg {
  color: var(--accent-blue);
  transform: scale(1.08);
}

.gallery-item span {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: var(--transition-smooth);
}

.gallery-item:hover span {
  color: var(--accent-blue);
}

/* Contact Section */
.contact-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr; /* Shifted ratio to make form column narrower */
  gap: 3.5rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.info-block {
  display: flex;
  gap: 1rem;
}

.info-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: var(--bg-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-blue);
  border: 1px solid var(--border-color);
  flex-shrink: 0;
}

.info-details h4 {
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.info-details p, .info-details a {
  color: var(--text-secondary);
  font-size: 0.95rem;
  text-decoration: none;
  transition: var(--transition-smooth);
}

.info-details a:hover {
  color: var(--accent-blue);
}

/* Contact Form styling */
.contact-form {
  padding: 2rem; /* Reduced padding from 2.5rem to shrink card */
  background: var(--bg-card);
  max-width: 480px; /* Constrained width to make form compact */
  width: 100%;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-secondary);
}

.form-control {
  width: 100%;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  transition: var(--transition-smooth);
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-blue);
  box-shadow: 0 0 8px rgba(15, 82, 186, 0.1);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

.alert-success {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.2);
  color: #10b981;
  padding: 1rem;
  border-radius: 8px;
  margin-bottom: 1.5rem;
  display: none;
  font-size: 0.9rem;
  font-weight: 600;
  align-items: center;
  gap: 0.5rem;
}

/* Footer */
footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
  margin-bottom: 3rem;
}

.footer-brand h4 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--accent-blue);
}

.footer-brand p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.footer-slogan {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent-blue);
  letter-spacing: 0.5px;
}

.footer-links-group h5 {
  font-size: 1.1rem;
  margin-bottom: 1.25rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 0.95rem;
  transition: var(--transition-smooth);
}

.footer-links a:hover {
  color: var(--accent-blue);
  padding-left: 4px;
}

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.legal-link:hover {
  color: var(--accent-cyan) !important;
  text-shadow: 0 0 8px rgba(0, 242, 254, 0.4);
}

.print-only-cover-page {
  display: none;
}

@media print {
  .print-only-cover-page {
    display: block !important;
    position: relative;
    width: 100%;
    height: 100vh;
    box-sizing: border-box;
    page-break-after: always;
    overflow: hidden;
  }
}

/* Modals */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 82, 186, 0.2);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.modal-content {
  width: 100%;
  max-width: 640px;
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
  border-radius: 16px;
  border: 1px solid var(--border-color);
  background: var(--bg-card);
  box-shadow: 0 20px 50px rgba(15, 82, 186, 0.15);
}

.modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition-smooth);
  z-index: 10;
}

.modal-close:hover {
  background: var(--bg-tertiary);
  color: var(--accent-blue);
}

.modal-body {
  padding: 2.5rem;
}

.specs-modal-header {
  margin-bottom: 2rem;
}

.specs-modal-header .model {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent-blue);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.specs-modal-header h3 {
  font-size: 2rem;
  margin-top: 0.25rem;
  line-height: 1.2;
}

.specs-description {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-color);
}

.specs-table {
  width: 100%;
  border-collapse: collapse;
}

.specs-table tr {
  border-bottom: 1px solid var(--border-color);
}

.specs-table tr:last-child {
  border-bottom: none;
}

.specs-table td {
  padding: 0.75rem 0;
  font-size: 0.95rem;
}

.specs-table td:first-child {
  font-weight: 600;
  color: var(--text-secondary);
  width: 40%;
}

.specs-table td:last-child {
  color: var(--text-primary);
}

/* --- Admin Panel Layout --- */
.admin-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg-secondary);
  z-index: 100005;
  overflow-y: auto;
  display: none;
}

.admin-header {
  border-bottom: 1px solid var(--border-color);
  padding: 1.5rem 0;
  background: var(--bg-card);
  position: sticky;
  top: 0;
  z-index: 10;
}

.admin-header-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Admin Sidebar CMS tabs */
.admin-split-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 2rem;
}

.admin-nav-sidebar {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1.5rem;
  background-color: var(--bg-card);
  border-right: 1px solid var(--border-color);
  min-height: calc(100vh - 90px);
}

.admin-nav-tab {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.8rem 1rem;
  border-radius: 8px;
  background: none;
  border: none;
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition-smooth);
  text-align: left;
}

.admin-nav-tab:hover {
  background: var(--bg-secondary);
  color: var(--accent-blue);
}

.admin-nav-tab.active {
  background: rgba(15, 82, 186, 0.08);
  color: var(--accent-blue);
  border-left: 3px solid var(--accent-blue);
  border-radius: 0 8px 8px 0;
}

.admin-content-section {
  display: none;
  padding: 2rem;
}

.admin-content-section.active {
  display: block;
}

.admin-settings-card {
  padding: 2rem;
  background-color: var(--bg-card);
}

.admin-settings-flex {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.admin-settings-flex .form-group:last-child {
  grid-column: span 2;
}

.admin-products-card {
  padding: 2.2rem;
  background-color: var(--bg-card);
}

.admin-products-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.admin-table-container {
  width: 100%;
  overflow-x: auto;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.admin-table th, .admin-table td {
  padding: 1rem;
  border-bottom: 1px solid var(--border-color);
}

.admin-table th {
  font-weight: 700;
  color: var(--text-secondary);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  background-color: var(--bg-secondary);
}

.admin-table td {
  font-size: 0.95rem;
}

.admin-actions {
  display: flex;
  gap: 0.5rem;
}

.btn-sm {
  padding: 0.4rem 0.8rem;
  font-size: 0.8rem;
  border-radius: 6px;
}

.btn-danger {
  background: rgba(244, 63, 94, 0.08);
  color: #f43f5e;
  border-color: rgba(244, 63, 94, 0.15);
}

.btn-danger:hover {
  background: rgba(244, 63, 94, 0.15);
}

/* Edit/Add Product Form Modal */
.admin-form-modal {
  display: none;
  align-items: center;
  justify-content: center;
}

.specs-input-row {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.specs-builder {
  margin-top: 1rem;
  border-top: 1px solid var(--border-color);
  padding-top: 1rem;
}

.specs-builder-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 0.75rem;
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ==================== @MEDIA PRINT LAYOUT ==================== */
@media print {
  :root {
    --font-sans: Arial, Helvetica, sans-serif !important;
    --font-display: Arial, Helvetica, sans-serif !important;
  }
  /* Hide all interactive screen elements */
  header, 
  footer, 
  .slogan-bar, 
  .news-section, 
  .gallery-section, 
  .catalog-download-card, 
  .catalog-controls, 
  .price-controls, 
  .filter-sidebar, 
  .modal-overlay,
  .admin-overlay,
  #btn-admin-open,
  .carousel-control,
  .carousel-indicators,
  .product-tag,
  .product-footer i,
  .ai-bot-float,
  .phone-float,
  .whatsapp-float,
  .cart-sticky-bar,
  #mefa-cart-drawer,
  #cart-drawer-overlay,
  #digital-mesh-canvas,
  .laser-wipe-beam,
  #laser-scan-wipe {
    display: none !important;
  }

  body {
    background: #ffffff !important;
    color: #000000 !important;
    font-size: 11pt !important;
    line-height: 1.4 !important;
  }

  /* Only print the active panel selected by the user! */
  .tab-content-panel {
    display: none !important;
  }
  .tab-content-panel.active-panel {
    display: block !important;
    opacity: 1 !important;
    padding-top: 0 !important;
  }

  /* Document header header print layout */
  .section-header {
    margin-bottom: 2rem !important;
  }

  .section-header h2 {
    font-size: 24pt !important;
    color: #0f52ba !important;
    border-bottom: 2px solid #0f52ba;
    padding-bottom: 5px;
    text-align: left;
  }

  /* Catalog grid layout in print */
  .catalog-split-layout {
    display: block !important;
  }

  .products-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important; /* Two product cards per row */
    gap: 20px !important;
  }

  .product-card {
    border: 1px solid #cccccc !important;
    border-radius: 8px !important;
    page-break-inside: avoid !important;
    box-shadow: none !important;
    background: #ffffff !important;
    padding: 12px !important;
    height: auto !important;
  }

  .product-image-area {
    display: none !important;
  }

  .product-body {
    padding: 0 !important;
  }

  .product-footer {
    display: none !important;
  }

  .product-model {
    font-size: 9pt !important;
    color: #0f52ba !important;
  }

  .product-title {
    font-size: 13pt !important;
    margin-bottom: 5px !important;
  }

  .product-description {
    font-size: 9pt !important;
    color: #333333 !important;
    margin-bottom: 10px !important;
    display: block !important;
    -webkit-line-clamp: none !important;
    overflow: visible !important;
  }

  .product-print-specs {
    display: block !important;
    margin-top: 10px !important;
    border-top: 1px dashed #cccccc !important;
    padding-top: 8px !important;
  }

  .product-specs-print-table {
    width: 100% !important;
    border-collapse: collapse !important;
    font-size: 8pt !important;
    color: #333333 !important;
  }

  .product-specs-print-table td {
    padding: 4px 6px !important;
    border-bottom: 1px solid #eeeeee !important;
    line-height: 1.2 !important;
  }

  .product-specs-print-table td.spec-name {
    font-weight: 600 !important;
    width: 40% !important;
    color: #0f52ba !important;
  }

  .product-specs-print-table td.spec-value {
    width: 60% !important;
    text-align: right !important;
  }

  /* Prices list printing layout */
  .price-list-print-header,
  .price-list-print-footer {
    display: block !important;
  }

  #panel-prices .section-header {
    display: none !important;
  }

  .price-list-container {
    max-width: 100% !important;
  }

  .price-table-card {
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
  }

  .price-table {
    width: 100% !important;
    border-collapse: collapse !important;
    border: 1px solid #cbd5e1 !important;
    margin-bottom: 20px !important;
  }

  .price-table th {
    background-color: #0f52ba !important;
    color: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    font-size: 11pt !important;
    font-weight: 700 !important;
    padding: 10px 12px !important;
    text-align: left !important;
  }

  .price-table th:last-child {
    text-align: right !important;
  }

  .price-table td {
    border: 1px solid #e2e8f0 !important;
    font-size: 10pt !important;
    padding: 8px 12px !important;
    color: #334155 !important;
  }

  /* Alternating row background for high legibility print */
  .price-table tbody tr:nth-child(even) {
    background-color: #f8fafc !important;
  }

  .price-table tbody tr:nth-child(odd) {
    background-color: #ffffff !important;
  }

  .price-badge {
    color: #0f52ba !important;
    font-weight: 700 !important;
    font-size: 10.5pt !important;
  }
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .carousel-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }
  
  .carousel-content p {
    margin-left: auto;
    margin-right: auto;
  }
  
  .carousel-content .btn {
    margin: 0 auto;
  }
  
  .carousel-visual {
    height: 300px;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
  }

  .catalog-split-layout {
    grid-template-columns: 1fr;
  }
  
  .filter-sidebar {
    position: static;
    margin-bottom: 2rem;
  }
  
  .about-grid, .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .news-card {
    flex: 0 0 calc(50% - 1rem);
  }
  
  .admin-split-layout {
    grid-template-columns: 1fr;
  }
  
  .admin-nav-sidebar {
    flex-direction: row;
    overflow-x: auto;
    min-height: auto;
    border-right: none;
    border-bottom: 1px solid var(--border-color);
    padding: 0.75rem;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 1.5rem;
  }
  
  .navbar-container {
    height: 70px;
  }
  
  .nav-links {
    display: none;
  }
  
  .carousel-content h1 {
    font-size: 2.2rem;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .admin-settings-flex {
    grid-template-columns: 1fr;
  }
  
  .news-card {
    flex: 0 0 100%;
  }
  
  .price-controls {
    flex-direction: column;
    align-items: stretch;
  }
}

/* Analytics Dashboard CSS */
.analytics-panel {
  transition: var(--transition-smooth);
  animation: slideDown 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-glow);
  box-shadow: 0 15px 40px rgba(2, 128, 144, 0.08);
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.analytics-title {
  font-size: 1.5rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 0.75rem;
}

.analytics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  gap: 2rem;
  margin-top: 1rem;
}

.chart-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: inset 0 2px 4px rgba(2, 128, 144, 0.02);
  transition: var(--transition-smooth);
  position: relative;
  min-height: 320px;
}

.chart-wrapper:hover {
  border-color: var(--border-glow);
  box-shadow: var(--card-shadow);
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .analytics-grid {
    grid-template-columns: 1fr;
  }
  .chart-wrapper {
    min-height: 280px;
    padding: 1rem;
  }
}

/* --- Online Sales Shopping Cart Sticky Bar --- */
.cart-sticky-bar {
  position: fixed;
  bottom: -120px;
  left: 0;
  width: 100%;
  background: rgba(10, 25, 41, 0.98);
  border-top: 1px dashed #dc2626;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 1rem 2rem;
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.6);
  z-index: 10002;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: bottom 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  
  /* Force high contrast dark theme colors inside sticky bar */
  --text-primary: #ffffff !important;
  --text-secondary: #e2e8f0 !important;
  --text-muted: #cbd5e1 !important;
  --accent-cyan: #f87171 !important; /* light red/coral for contrast */
  --accent-blue: #fca5a5 !important; /* lighter pink/red for pricing contrast */
}

.cart-sticky-bar.active {
  bottom: 0 !important;
}

#btn-sales-view-cart:hover {
  background: rgba(248, 113, 113, 0.1) !important;
  border-color: #ef4444 !important;
  color: #ffffff !important;
}

#btn-sticky-clear-cart:hover {
  background: #ef4444 !important;
  border-color: #ef4444 !important;
  color: #ffffff !important;
}

#btn-clear-cart:hover {
  background: #ef4444 !important;
  border-color: #ef4444 !important;
  color: #ffffff !important;
}

.cart-bar-info {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.cart-bar-stat {
  font-size: 1rem;
  color: var(--text-secondary);
}

.cart-bar-stat strong {
  color: var(--accent-cyan);
  font-size: 1.2rem;
}

.cart-bar-total {
  font-size: 1.15rem;
  color: var(--text-primary);
  font-weight: 700;
}

.cart-bar-total span {
  color: var(--accent-blue);
  font-size: 1.4rem;
}

/* Quantity selector controls */
.qty-input-group {
  display: flex;
  align-items: center;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
  background: var(--bg-secondary);
  width: 110px;
  height: 36px;
}

.qty-btn {
  background: none;
  border: none;
  color: var(--text-secondary);
  width: 32px;
  height: 100%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: bold;
  transition: var(--transition-smooth);
}

.qty-btn:hover {
  background: rgba(15, 82, 186, 0.15);
  color: var(--accent-cyan);
}

.qty-val {
  flex-grow: 1;
  border: none;
  background: none;
  color: var(--text-primary);
  text-align: center;
  font-size: 0.95rem;
  font-weight: 700;
  width: 100%;
  pointer-events: none;
}

/* Highlighting table rows for items in cart */
.price-table tbody tr.row-in-cart {
  background-color: rgba(220, 38, 38, 0.04) !important;
  border-left: 3px solid #dc2626 !important;
}

/* Floating WhatsApp Button */
.whatsapp-float {
  position: fixed;
  width: 64px;
  height: 64px;
  bottom: 24px;
  right: 24px;
  background-color: #25D366;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  text-decoration: none;
  animation: whatsapp-pulse 2s infinite, whatsapp-float-anim 3s ease-in-out infinite;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), background-color 0.3s ease;
}

.whatsapp-float:hover {
  transform: scale(1.15);
  background-color: #128C7E;
  animation-play-state: paused; /* Pause floating while interacting */
}

.whatsapp-float svg {
  width: 34px;
  height: 34px;
  fill: currentColor;
}

/* Animations */
@keyframes whatsapp-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5), 0 4px 12px rgba(0, 0, 0, 0.3);
  }
  70% {
    box-shadow: 0 0 0 14px rgba(37, 211, 102, 0), 0 4px 12px rgba(0, 0, 0, 0.2);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0), 0 4px 12px rgba(0, 0, 0, 0.2);
  }
}

@keyframes whatsapp-float-anim {
  0%, 100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-8px) scale(1.02);
  }
}

/* Floating Phone Button */
.phone-float {
  position: fixed;
  width: 64px;
  height: 64px;
  bottom: 108px; /* Positioned slightly higher for better gap */
  right: 24px;
  background: var(--accent-gradient);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  text-decoration: none;
  animation: phone-pulse 2s infinite, phone-float-anim 3.2s ease-in-out infinite; /* Slightly staggered float for organic look */
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), background-color 0.3s ease;
}

.phone-float:hover {
  transform: scale(1.15);
  animation-play-state: paused;
}

.phone-float svg {
  width: 28px;
  height: 28px;
  color: #ffffff;
}

/* Animations for Floating Phone */
@keyframes phone-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(0, 242, 254, 0.5), 0 4px 12px rgba(0, 0, 0, 0.3);
  }
  70% {
    box-shadow: 0 0 0 14px rgba(0, 242, 254, 0), 0 4px 12px rgba(0, 0, 0, 0.2);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(0, 242, 254, 0), 0 4px 12px rgba(0, 0, 0, 0.2);
  }
}

@keyframes phone-float-anim {
  0%, 100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-8px) scale(1.02);
  }
}

/* Datasheet items in list styling */
.datasheet-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  text-decoration: none;
  color: var(--text-secondary);
  transition: var(--transition-smooth);
  cursor: pointer;
}

.datasheet-item:hover {
  background: rgba(0, 242, 254, 0.05) !important;
  border-color: var(--accent-cyan) !important;
  transform: translateX(4px);
}

/* Responsive Mobile Header & Navbar (Tabs Segments Visibility Fix) */
@media (max-width: 992px) {
  .navbar-container {
    display: flex !important;
    flex-direction: column !important;
    height: auto !important;
    padding: 0.8rem 1rem !important;
    align-items: flex-start !important;
    gap: 0.6rem !important;
  }
  
  .navbar-container .logo {
    font-size: 1.4rem !important;
    width: 100% !important;
    justify-content: flex-start !important;
  }

  .navbar-container .logo svg {
    width: 22px !important;
    height: 22px !important;
  }
  
  .navbar-container .nav-actions {
    position: absolute !important;
    top: 0.8rem !important;
    right: 1rem !important;
    gap: 0.75rem !important;
  }
  
  .nav-links {
    display: flex !important;
    width: 100% !important;
    overflow-x: auto !important;
    gap: 1.25rem !important;
    scrollbar-width: none !important; /* Hide scrollbar for Firefox */
    -webkit-overflow-scrolling: touch !important;
    padding-bottom: 0.4rem !important;
    border-top: 1px solid rgba(0, 242, 254, 0.08) !important;
    padding-top: 0.6rem !important;
    margin: 0 !important;
  }
  
  .nav-links::-webkit-scrollbar {
    display: none !important; /* Hide scrollbar for Chrome/Safari */
  }
  
  .nav-links li {
    flex-shrink: 0 !important;
  }
  
  .nav-links a {
    font-size: 0.88rem !important;
    white-space: nowrap !important;
    padding: 0.25rem 0.1rem !important;
  }
  
  /* Widen top padding for all panels on mobile to clear the stacked header */
  .tab-content-panel {
    padding-top: 155px !important;
  }

  /* Responsive Hero Carousel for Mobile */
  .hero-carousel {
    height: auto !important;
    padding-top: 155px !important; /* Clear mobile header */
    padding-bottom: 3rem !important;
  }
  
  .carousel-grid {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }
  
  .carousel-content {
    text-align: center !important;
  }
  
  .carousel-content h1 {
    font-size: 2.15rem !important;
    line-height: 1.25 !important;
  }
  
  .carousel-content p {
    font-size: 0.98rem !important;
    margin-bottom: 1.75rem !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
  
  .carousel-visual {
    height: 240px !important;
    width: 100% !important;
  }
}

@media (max-width: 480px) {
  .navbar-container .logo span {
    font-size: 1.2rem !important; /* Even smaller logo text on narrow screens */
  }
  .navbar-container .logo svg {
    width: 18px !important;
    height: 18px !important;
  }
  .tab-content-panel {
    padding-top: 145px !important;
  }
  .hero-carousel {
    padding-top: 145px !important;
  }
}

/* Subcategory Tabs Navigation Styles */
.subcategory-tab {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  padding: 0.45rem 1rem;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(15, 82, 186, 0.02);
  transition: var(--transition-smooth);
}

.subcategory-tab:hover {
  background: var(--bg-secondary);
  border-color: var(--accent-cyan);
  color: var(--text-primary);
}

.subcategory-tab.active {
  background: rgba(0, 242, 254, 0.08) !important;
  border-color: var(--accent-cyan) !important;
  color: var(--accent-cyan) !important;
  box-shadow: 0 0 10px rgba(0, 242, 254, 0.15);
}

/* Sidebar hover effects for active/sub items */
.sidebar-subcat-item {
  transition: var(--transition-smooth);
}

.sidebar-subcat-item:hover {
  background: rgba(255, 255, 255, 0.03) !important;
  color: var(--text-primary) !important;
}

.sidebar-subcat-item.active {
  background: rgba(0, 242, 254, 0.05) !important;
}
/* Sidebar category item hover animations */
.sidebar-cat-item {
  transition: var(--transition-smooth) !important;
}

.sidebar-cat-item:hover {
  70% {
    box-shadow: 0 0 0 14px rgba(0, 242, 254, 0), 0 4px 12px rgba(0, 0, 0, 0.2);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(0, 242, 254, 0), 0 4px 12px rgba(0, 0, 0, 0.2);
  }
}

@keyframes phone-float-anim {
  0%, 100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-8px) scale(1.02);
  }
}

/* Datasheet items in list styling */
.datasheet-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  text-decoration: none;
  color: var(--text-secondary);
  transition: var(--transition-smooth);
  cursor: pointer;
}
.datasheet-item:hover {
  background: rgba(0, 242, 254, 0.05) !important;
  border-color: var(--accent-cyan) !important;
  transform: translateX(4px);
}

/* Responsive Mobile Header & Navbar (Tabs Segments Visibility Fix) */
@media (max-width: 992px) {
  .navbar-container {
    display: flex !important;
    flex-direction: column !important;
    height: auto !important;
    padding: 0.8rem 1rem !important;
    align-items: flex-start !important;
    gap: 0.6rem !important;
  }
  
  .navbar-container .logo {
    font-size: 1.4rem !important;
    width: 100% !important;
    justify-content: flex-start !important;
  }

  .navbar-container .logo svg {
    width: 22px !important;
    height: 22px !important;
  }
  
  .navbar-container .nav-actions {
    position: absolute !important;
    top: 0.8rem !important;
    right: 1rem !important;
    gap: 0.75rem !important;
  }
  
  .nav-links {
    display: flex !important;
    width: 100% !important;
    overflow-x: auto !important;
    gap: 1.25rem !important;
    scrollbar-width: none !important; /* Hide scrollbar for Firefox */
    -webkit-overflow-scrolling: touch !important;
    padding-bottom: 0.4rem !important;
    border-top: 1px solid rgba(0, 242, 254, 0.08) !important;
    padding-top: 0.6rem !important;
    margin: 0 !important;
  }
  
  .nav-links::-webkit-scrollbar {
    display: none !important; /* Hide scrollbar for Chrome/Safari */
  }
  
  .nav-links li {
    flex-shrink: 0 !important;
  }
  
  .nav-links a {
    font-size: 0.88rem !important;
    white-space: nowrap !important;
    padding: 0.25rem 0.1rem !important;
  }
  
  /* Widen top padding for all panels on mobile to clear the stacked header */
  .tab-content-panel {
    padding-top: 155px !important;
  }

  /* Responsive Hero Carousel for Mobile */
  .hero-carousel {
    height: auto !important;
    padding-top: 155px !important; /* Clear mobile header */
    padding-bottom: 3rem !important;
  }
  
  .carousel-grid {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }
  
  .carousel-content {
    text-align: center !important;
  }
  
  .carousel-content h1 {
    font-size: 2.15rem !important;
    line-height: 1.25 !important;
  }
  
  .carousel-content p {
    font-size: 0.98rem !important;
    margin-bottom: 1.75rem !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
  
  .carousel-visual {
    height: 240px !important;
    width: 100% !important;
  }
}

@media (max-width: 480px) {
  .navbar-container .logo span {
    font-size: 1.2rem !important; /* Even smaller logo text on narrow screens */
  }
  .navbar-container .logo svg {
    width: 18px !important;
    height: 18px !important;
  }
  .tab-content-panel {
    padding-top: 145px !important;
  }
  .hero-carousel {
    padding-top: 145px !important;
  }
}

/* ==========================================================================
   SPARKLING & GLOWING ANIMATED CATEGORY TABS
   ========================================================================== */

@keyframes tabShimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

@keyframes neonPulseGlow {
  0%, 100% {
    box-shadow: 0 0 14px rgba(0, 242, 254, 0.4), 0 0 28px rgba(0, 242, 254, 0.18), inset 0 0 10px rgba(0, 242, 254, 0.2);
    border-color: rgba(0, 242, 254, 0.85);
  }
  50% {
    box-shadow: 0 0 24px rgba(0, 242, 254, 0.7), 0 0 40px rgba(0, 242, 254, 0.35), inset 0 0 16px rgba(0, 242, 254, 0.4);
    border-color: rgba(0, 242, 254, 1);
  }
}

@keyframes sparkleSpin {
  0% { transform: scale(1) rotate(0deg); opacity: 0.8; }
  50% { transform: scale(1.3) rotate(180deg); opacity: 1; filter: drop-shadow(0 0 8px #00f2fe); }
  100% { transform: scale(1) rotate(360deg); opacity: 0.8; }
}

/* Subcategory Tabs Navigation Styles */
.subcategory-tab {
  position: relative;
  background: rgba(15, 23, 42, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-secondary);
  padding: 0.45rem 1rem;
  border-radius: 10px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.subcategory-tab:hover {
  background: rgba(0, 242, 254, 0.1);
  border-color: rgba(0, 242, 254, 0.45);
  color: var(--accent-cyan);
  transform: translateY(-1px);
}

.subcategory-tab.active {
  background: rgba(0, 242, 254, 0.18) !important;
  border-color: var(--accent-cyan) !important;
  color: var(--accent-cyan) !important;
  box-shadow: 0 0 16px rgba(0, 242, 254, 0.35), inset 0 0 10px rgba(0, 242, 254, 0.2) !important;
  font-weight: 700;
}

/* Sidebar category & subheading item animations */
.sidebar-cat-item {
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
  border-radius: 10px !important;
}

.sidebar-cat-item:hover {
  background: rgba(0, 242, 254, 0.08) !important;
  color: var(--accent-cyan) !important;
  padding-left: 1rem !important;
  transform: translateX(4px);
  box-shadow: 0 4px 15px rgba(0, 242, 254, 0.15);
}

.sidebar-cat-item.active {
  background: linear-gradient(90deg, rgba(0, 242, 254, 0.15) 0%, rgba(15, 82, 186, 0.08) 100%) !important;
  border-left: 4px solid var(--accent-cyan) !important;
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.25), inset 0 0 10px rgba(0, 242, 254, 0.15) !important;
  color: var(--accent-cyan) !important;
}

.sidebar-subheading-item {
  transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.sidebar-subheading-item:hover {
  background: rgba(0, 242, 254, 0.08) !important;
  border-color: rgba(0, 242, 254, 0.3) !important;
  color: var(--accent-blue) !important;
  transform: translateX(4px);
  box-shadow: 0 4px 14px rgba(0, 242, 254, 0.1);
}

.sidebar-subheading-item.active {
  background: rgba(0, 242, 254, 0.12) !important;
  border-color: rgba(0, 242, 254, 0.45) !important;
  color: var(--accent-cyan) !important;
  box-shadow: 0 0 14px rgba(0, 242, 254, 0.25) !important;
}

/* Hide footer on Products Page and extend catalog downwards */
body.page-products footer,
body:has(#panel-products.active-panel) footer {
  display: none !important;
}

body.page-products #panel-products,
body:has(#panel-products.active-panel) #panel-products {
  padding-bottom: 20px !important;
}

@media (min-width: 1201px) {
  
  .catalog-split-layout {
    display: grid !important;
    grid-template-columns: 340px 1fr !important;
    gap: 1.5rem !important;
    height: calc(100vh - 85px) !important; /* Fixed viewport height fit stretched downwards */
    align-items: stretch !important; /* Stretch columns to match layout height */
    overflow: hidden !important;
    box-sizing: border-box;
    margin-bottom: 0 !important;
  }
  
  .products-grid {
    height: 100% !important;
    max-height: calc(100vh - 85px) !important;
    overflow-y: auto !important; /* Internal scrolling for products list */
    padding-right: 0.75rem;
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    grid-auto-rows: max-content !important;
    gap: 1.5rem !important;
    scrollbar-color: rgba(0, 242, 254, 0.4) transparent;
    scrollbar-width: thin;
    overscroll-behavior: contain;
  }

  .products-grid::-webkit-scrollbar {
    width: 8px;
  }
  .products-grid::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 10px;
  }
  .products-grid::-webkit-scrollbar-thumb {
    background: rgba(0, 242, 254, 0.3);
    border-radius: 10px;
    border: 1px solid rgba(0, 242, 254, 0.15);
  }
  .products-grid::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 242, 254, 0.6);
    box-shadow: 0 0 10px rgba(0, 242, 254, 0.4);
  }

  .products-grid .product-card {
    height: auto !important;
  }
  
  .filter-sidebar {
    height: 100% !important;
    max-height: calc(100vh - 85px) !important; /* Fit within viewport stretched downwards */
    overflow-y: auto !important; /* Scroll internally only */
    position: static !important; /* Sits naturally inside the split layout */
    scrollbar-color: rgba(0, 242, 254, 0.3) transparent;
    scrollbar-width: thin;
    overscroll-behavior: contain;
  }

  .datasheet-sidebar .filter-options {
    max-height: none !important; /* Remove the 240px restriction */
    flex-grow: 1 !important;
    overflow-y: auto !important; /* Scroll items internally */
    scrollbar-color: rgba(0, 242, 254, 0.3) transparent;
    scrollbar-width: thin;
    overscroll-behavior: contain;
  }

  .filter-sidebar::-webkit-scrollbar,
  .datasheet-sidebar::-webkit-scrollbar {
    width: 6px;
  }
  .filter-sidebar::-webkit-scrollbar-track,
  .datasheet-sidebar::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.01);
    border-radius: 10px;
  }
  .filter-sidebar::-webkit-scrollbar-thumb,
  .datasheet-sidebar::-webkit-scrollbar-thumb {
    background: rgba(0, 242, 254, 0.2);
    border-radius: 10px;
  }
  .filter-sidebar::-webkit-scrollbar-thumb:hover,
  .datasheet-sidebar::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 242, 254, 0.5);
  }
}

/* Product Finder Modal Styles */
.finder-modal-container {
  width: 90% !important;
  max-width: 1200px !important;
  height: 85vh !important;
  max-height: 800px !important;
  display: flex !important;
  flex-direction: column !important;
  padding: 1.5rem !important;
}

.finder-modal-body {
  flex: 1 !important;
  overflow: hidden !important;
  padding: 0.5rem 0 0 0 !important;
}

.finder-layout {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 1.5rem;
  height: 100%;
  overflow: hidden;
}

.finder-config-panel {
  display: flex;
  flex-direction: column;
  height: 100%;
  border-right: 1px solid var(--border-color);
  padding-right: 1.5rem;
  overflow-y: auto;
  scrollbar-width: thin;
}

.finder-steps {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  flex: 1;
}

.finder-step-group {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.01);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-left: 3px solid rgba(255, 255, 255, 0.1);
  transition: all 0.35s cubic-bezier(0.25, 1, 0.5, 1);
}

.finder-step-group:hover {
  background: rgba(255, 255, 255, 0.02);
  border-left-color: var(--accent-cyan);
}

.finder-step-group.completed {
  background: rgba(16, 185, 129, 0.02);
  border-color: rgba(16, 185, 129, 0.12);
  border-left-color: #10b981;
}

.finder-step-label {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  user-select: none;
}

.finder-step-label .step-num {
  background: var(--accent-gradient);
  color: #ffffff;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 800;
  transition: all 0.3s ease;
}

.finder-step-group.completed .step-num {
  background: #10b981 !important;
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.3);
}

.finder-pill-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.finder-pill {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
  user-select: none;
}

.finder-pill:hover:not(.disabled) {
  border-color: var(--accent-cyan);
  background: rgba(0, 242, 254, 0.04);
  color: var(--text-primary);
  transform: translateY(-1px);
}

.finder-pill.active {
  background: rgba(0, 242, 254, 0.12) !important;
  border-color: var(--accent-cyan) !important;
  color: var(--accent-cyan) !important;
  box-shadow: 0 4px 12px rgba(0, 242, 254, 0.15);
}

.finder-pill.disabled {
  opacity: 0.22;
  cursor: not-allowed;
  background: transparent;
  border-color: rgba(255, 255, 255, 0.05) !important;
  color: var(--text-muted) !important;
}

.finder-no-options {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-style: italic;
  padding: 0.25rem 0.5rem;
  display: block;
}

.finder-results-panel {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
}

.finder-results-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 0.5rem;
}

.finder-badge {
  background: rgba(0, 242, 254, 0.1);
  color: var(--accent-cyan);
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  border: 1px solid rgba(0, 242, 254, 0.2);
}

.finder-results-grid {
  flex: 1;
  overflow-y: auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  padding-right: 0.5rem;
  grid-auto-rows: max-content;
  scrollbar-width: thin;
}

/* Modal result card styling */
.finder-result-card {
  display: flex;
  gap: 0.75rem;
  padding: 0.75rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.finder-result-card:hover {
  background: rgba(0, 242, 254, 0.04);
  border-color: var(--accent-cyan);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 242, 254, 0.08);
}

.finder-result-img {
  width: 70px;
  height: 70px;
  border-radius: 6px;
  overflow: hidden;
  background: linear-gradient(180deg, #f4f8fd 0%, #eaf1fc 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid var(--border-color);
}

.finder-result-img img, .finder-result-img svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.finder-result-info {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.finder-result-model {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-cyan);
  margin-bottom: 0.2rem;
}

.finder-result-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.finder-result-category {
  font-size: 0.75rem;
  color: var(--text-muted);
}

@media (max-width: 992px) {
  .finder-modal-container {
    height: 90vh !important;
    max-height: 95vh !important;
  }
  .finder-layout {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
    overflow-y: auto;
  }
  .finder-config-panel {
    border-right: none;
    border-bottom: 1px solid var(--border-color);
    padding-right: 0;
    padding-bottom: 1.5rem;
    height: auto;
    overflow-y: visible;
  }
  .finder-results-panel {
    height: auto;
    overflow-y: visible;
    padding-top: 1rem;
  }
  .finder-results-grid {
    overflow-y: visible;
    height: auto;
  }
}

@media (max-width: 576px) {
  .finder-results-grid {
    grid-template-columns: 1fr;
  }
}

/* Futuristic Floating Cyber-Header Styles */
body {
  padding-top: 80px !important;
  padding-left: 0 !important;
  padding-bottom: 0 !important;
}

.cyber-header {
  position: fixed !important;
  top: 0.75rem !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  width: 95% !important;
  max-width: 1650px !important;
  height: 54px !important;
  background: var(--bg-glass) !important;
  backdrop-filter: blur(16px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(16px) saturate(180%) !important;
  border: 1px solid var(--border-color) !important;
  border-radius: 100px !important;
  box-shadow: var(--card-shadow) !important;
  z-index: 10000 !important;
  transition: var(--transition-smooth);
  display: flex;
  align-items: center;
}

.cyber-header.scrolled {
  top: 0.35rem !important;
  background: var(--bg-glass) !important;
  border-color: var(--border-glow) !important;
  box-shadow: var(--card-shadow) !important;
}

/* Responsive cyber-header sizes to ensure menu options (Kariyer, İletişim) never overflow or wrap out of view */
@media (max-width: 1550px) {
  .cyber-nav-menu {
    gap: 0.25rem !important;
  }
  .logo span {
    font-size: 1.1rem !important;
  }
  .logo img {
    height: 28px !important;
  }
  .cyber-clock-ticker {
    font-size: 0.78rem !important;
  }
}

@media (max-width: 1300px) {
  .logo span {
    display: none !important; /* Hide logo text to free up substantial horizontal space */
  }
  .cyber-nav-item {
    font-size: 0.78rem !important;
    padding: 0.25rem 0.45rem !important;
  }
}

@media (max-width: 1200px) {
  .cyber-clock-ticker {
    display: none !important; /* Hide clock on mid-size screens to save space */
  }
  .cyber-header {
    height: 46px !important;
  }
  .cyber-nav-item {
    font-size: 0.76rem !important;
    padding: 0.25rem 0.4rem !important;
  }
  .lang-toggle {
    padding: 1px !important;
  }
  .lang-btn {
    padding: 0.15rem 0.35rem !important;
    font-size: 0.7rem !important;
  }
}

@media (max-width: 992px) {
  .logo span {
    display: none !important; /* Hide logo text on tablets/mobile, show only icon image */
  }
  .cyber-nav-menu {
    overflow-x: auto !important; /* Enable scrollable touch swipe menu on mobile */
  }
}

@media (max-width: 768px) {
  .cyber-header {
    height: 44px !important;
    top: 0.25rem !important;
    width: 99% !important;
  }
  .cyber-nav-item {
    font-size: 0.7rem !important;
    padding: 0.15rem 0.35rem !important;
  }
  .btn-icon {
    padding: 0.3rem !important;
  }
}

.cyber-nav-menu {
  display: flex !important;
  flex-direction: row !important;
  gap: 0.35rem !important;
}

.cyber-nav-item {
  color: var(--text-secondary) !important;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition-smooth);
  border-radius: 100px;
  padding: 0.4rem 0.75rem !important;
  font-size: 0.88rem !important;
  border: 1px solid transparent;
  display: inline-block;
  text-align: center;
  letter-spacing: 0.2px;
}

.cyber-nav-item:hover {
  background: var(--bg-active-pill) !important;
  color: var(--text-primary) !important;
}

.cyber-nav-item.active {
  background: var(--bg-active-pill) !important;
  border: 1px solid var(--border-glow) !important;
  color: var(--accent-cyan) !important;
  font-weight: 600;
  box-shadow: var(--card-shadow) !important;
  text-shadow: none !important;
}

/* Site Preloader Splash Screen Styles */
.preloader-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #02060c !important; /* Pitch black solid backdrop */
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999999999 !important; /* Top layer above the cyber-header */
  opacity: 1;
  transition: opacity 0.4s ease-out;
}

.preloader-overlay.preloader-fade-out {
  opacity: 0;
  pointer-events: none;
}

.preloader-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  max-width: 90%;
  text-align: center;
}

.preloader-logo-container {
  position: relative;
  width: 340px; /* Enlarged from 270px */
  height: 120px; /* Enlarged from 95px */
  display: flex;
  align-items: center;
  justify-content: center;
}

.preloader-glow-ring {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 16px;
  background: transparent;
  border: 2px solid rgba(0, 242, 254, 0.4);
  box-shadow: 0 0 25px rgba(0, 242, 254, 0.25);
  animation: preloader-ring-pulse 2.2s infinite ease-in-out;
}

.preloader-logo-core {
  width: 320px; /* Enlarged from 250px */
  height: 100px; /* Enlarged from 78px */
  background: #02060c !important; /* Pitch black match background */
  border: 1px solid rgba(0, 242, 254, 0.15) !important;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 30px rgba(0, 242, 254, 0.2);
  z-index: 2;
  transform-style: preserve-3d;
  animation: preloader-logo-lux 1.8s infinite ease-in-out;
}

.preloader-img-logo {
  filter: invert(0.95) hue-rotate(190deg) brightness(0.82) contrast(1.1) !important; /* Dimmed and inverted to prevent brightness */
}

.preloader-cpu-icon {
  width: 38px;
  height: 38px;
  color: #ffffff;
}

.preloader-text-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.preloader-title {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 900;
  letter-spacing: 0.25em;
  background: linear-gradient(135deg, #a0c2d3 0%, rgba(160, 194, 211, 0.5) 100%); /* Ice-blue gradient instead of bright white */
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.05);
  animation: preloader-title-anim 1.8s forwards cubic-bezier(0.25, 1, 0.5, 1);
  opacity: 0;
}

.preloader-subtitle {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-cyan);
  letter-spacing: 0.4em;
  text-transform: uppercase;
  animation: preloader-subtitle-anim 1.8s 0.2s forwards cubic-bezier(0.25, 1, 0.5, 1);
  opacity: 0;
}

.preloader-progress-bar {
  width: 180px;
  height: 3px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  overflow: hidden;
  position: relative;
}

.preloader-progress-line {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background: var(--accent-gradient);
  box-shadow: 0 0 10px rgba(0, 242, 254, 0.5);
  animation: preloader-progress-fill 2.2s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

/* Preloader Animations Keyframes */
@keyframes preloader-ring-pulse {
  0%, 100% {
    transform: rotate(0deg) scale(1);
    border-color: rgba(0, 242, 254, 0.4);
    box-shadow: 0 0 25px rgba(0, 242, 254, 0.25);
  }
  50% {
    transform: rotate(180deg) scale(1.1);
    border-color: rgba(0, 242, 254, 0.8);
    box-shadow: 0 0 35px rgba(0, 242, 254, 0.45);
  }
}

@keyframes preloader-logo-lux {
  0% {
    transform: perspective(600px) rotateY(0deg) scale(1);
    box-shadow: 0 0 30px rgba(0, 242, 254, 0.4);
  }
  50% {
    transform: perspective(600px) rotateY(180deg) scale(1.06);
    box-shadow: 0 0 45px rgba(0, 242, 254, 0.6);
  }
  100% {
    transform: perspective(600px) rotateY(360deg) scale(1);
    box-shadow: 0 0 30px rgba(0, 242, 254, 0.4);
  }
}

@keyframes preloader-title-anim {
  0% {
    opacity: 0;
    transform: translateY(15px) scale(0.95);
    letter-spacing: 0.15em;
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    letter-spacing: 0.25em;
  }
}

@keyframes preloader-subtitle-anim {
  0% {
    opacity: 0;
    transform: translateY(10px);
    letter-spacing: 0.3em;
  }
  100% {
    opacity: 1;
    transform: translateY(0);
    letter-spacing: 0.4em;
  }
}

@keyframes preloader-progress-fill {
  0% {
    width: 0%;
  }
  100% {
    width: 100%;
  }
}

/* MEFA AI Bot Chatbot Styles */
#ai-bot-messages {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.chat-bubble {
  max-width: 85%;
  padding: 0.85rem 1.15rem;
  border-radius: 14px;
  line-height: 1.55;
  font-size: 0.92rem;
  white-space: pre-line;
  animation: chat-bubble-in 0.3s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.chat-bubble.bot {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  align-self: flex-start;
  border-top-left-radius: 2px;
}

.chat-bubble.user {
  background: linear-gradient(135deg, #7b2cbf 0%, #3a0ca3 100%);
  color: #ffffff;
  align-self: flex-end;
  border-top-right-radius: 2px;
  box-shadow: 0 4px 12px rgba(123, 44, 191, 0.2);
}

.chat-action-btn {
  background: rgba(0, 242, 254, 0.08) !important;
  border: 1px solid rgba(0, 242, 254, 0.25) !important;
  color: var(--accent-cyan) !important;
  cursor: pointer;
  margin-top: 8px;
  padding: 4px 12px;
  border-radius: 6px;
  font-weight: 600;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.chat-action-btn:hover {
  background: var(--accent-blue) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 12px rgba(29, 78, 216, 0.3);
}

.suggestion-pill {
  background: rgba(123, 44, 191, 0.08);
  border: 1px solid rgba(123, 44, 191, 0.3);
  color: #7b2cbf;
  border-radius: 20px;
  padding: 6px 14px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.suggestion-pill:hover {
  background: #7b2cbf;
  border-color: #7b2cbf;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(123, 44, 191, 0.3);
}

.chat-bubble.bot.typing-bubble {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.75rem 1rem;
}

.typing-dot {
  width: 6px;
  height: 6px;
  background: var(--text-muted);
  border-radius: 50%;
  animation: typing-dot-bounce 1s infinite alternate;
}
.typing-dot:nth-child(2) { animation-delay: 0.2s; }
.typing-dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes chat-bubble-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes typing-dot-bounce {
  from { transform: translateY(0); opacity: 0.3; }
  to { transform: translateY(-4px); opacity: 1; }
}

/* Floating MEFA AI Bot Button */
.ai-bot-float {
  position: fixed;
  width: 64px;
  height: 64px;
  bottom: 192px;
  right: 24px;
  background: linear-gradient(135deg, #7b2cbf 0%, #3a0ca3 100%);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  text-decoration: none;
  border: 1px solid rgba(0, 242, 254, 0.25);
  box-shadow: 0 4px 15px rgba(123, 44, 191, 0.4);
  animation: ai-pulse 2s infinite, ai-float-anim 3.4s ease-in-out infinite;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), background-color 0.3s ease;
  cursor: pointer;
}

.ai-bot-float:hover {
  transform: scale(1.15);
  box-shadow: 0 0 20px rgba(123, 44, 191, 0.6);
  animation-play-state: paused;
}

.ai-bot-float i, .ai-bot-float svg {
  width: 28px;
  height: 28px;
  color: #00f2fe;
}

@keyframes ai-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(123, 44, 191, 0.6), 0 4px 12px rgba(0, 0, 0, 0.3);
  }
  70% {
    box-shadow: 0 0 0 14px rgba(123, 44, 191, 0), 0 4px 12px rgba(0, 0, 0, 0.2);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(123, 44, 191, 0), 0 4px 12px rgba(0, 0, 0, 0.2);
  }
}

@keyframes ai-float-anim {
  0%, 100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-8px) scale(1.02);
  }
}

/* Right Sidebar Tabs */
.sidebar-tab {
  border-bottom: 2px solid transparent !important;
  color: rgba(255, 255, 255, 0.55) !important;
  padding-bottom: 0.6rem !important;
  transition: var(--transition-smooth) !important;
}

.sidebar-tab:hover {
  color: #ffffff !important;
}

.sidebar-tab.active {
  border-bottom: 2px solid var(--accent-cyan) !important;
  color: #ffffff !important;
  text-shadow: 0 0 10px rgba(0, 242, 254, 0.4);
}

/* Specs Modal Tabs */
.modal-tab-btn {
  border-bottom: 2px solid transparent !important;
  color: var(--text-muted) !important;
}

.modal-tab-btn:hover {
  color: var(--text-primary) !important;
}

.modal-tab-btn.active {
  border-bottom: 2px solid var(--accent-cyan) !important;
  color: var(--accent-cyan) !important;
}

/* Price List Page Enhancements */
.price-list-row:hover {
  background: rgba(0, 242, 254, 0.05) !important;
  transform: translateX(6px);
}

.price-list-row:hover .row-info-icon {
  opacity: 1 !important;
}

.sortable-header {
  transition: background-color 0.2s ease;
}

.sortable-header:hover {
  background: rgba(255, 255, 255, 0.03) !important;
}

.sortable-header:active {
  background: rgba(255, 255, 255, 0.06) !important;
}

/* --- Next-Gen Conveyor Belt Simulator Styles --- */
.simulator-section {
  background: radial-gradient(circle at top, rgba(0, 242, 254, 0.04) 0%, transparent 60%);
  padding: 4rem 0;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.sim-workspace {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 1.5rem;
  border-radius: 16px;
  overflow: hidden;
  background: rgba(8, 23, 33, 0.4);
}

.sim-belt-area {
  position: relative;
  height: 200px;
  background: rgba(2, 6, 12, 0.85);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.9);
}

.sensors-rack {
  position: absolute;
  top: 15px;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-around;
  padding: 0 50px;
  z-index: 10;
}

.sensor-station {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  transition: var(--transition-smooth);
  cursor: pointer;
}

.sensor-station.disabled-station {
  opacity: 0.25;
  filter: grayscale(1);
}

.sensor-station.disabled-station:hover {
  opacity: 0.5;
  filter: grayscale(0.6);
}

.sensor-icon-wrapper {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
  transition: var(--transition-smooth);
}

.modal-content {
  width: 100%;
  max-width: 900px;
  position: relative;
  max-height: 88vh;
  overflow-y: auto;
  border-radius: 20px;
  border: 1px solid var(--border-color) !important;
  background: var(--bg-glass) !important;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15) !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 10;
}

.modal-close:hover {
  background: rgba(244, 63, 94, 0.2);
  border-color: #f43f5e;
  color: #ffffff;
  transform: rotate(90deg);
}

.modal-body {
  padding: 2.25rem;
}

.specs-modal-header {
  margin-bottom: 1.5rem;
}

.specs-modal-header .model {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  border-radius: 20px;
  background: rgba(2, 132, 199, 0.08);
  border: 1px solid rgba(2, 132, 199, 0.3);
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--accent-blue);
  letter-spacing: 0.8px;
  font-family: monospace;
}

.specs-modal-header h3 {
  font-size: 1.85rem;
  font-weight: 800;
  margin-top: 0.5rem;
  line-height: 1.25;
  color: var(--text-primary);
}

.specs-description {
  color: var(--text-secondary);
  font-size: 0.92rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border-color);
  line-height: 1.6;
}

.specs-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  background: var(--bg-card);
}

.specs-table tr {
  border-bottom: 1px solid var(--border-color);
  transition: background 0.15s ease;
}

.specs-table tr:hover {
  background: rgba(15, 23, 42, 0.03);
}

.specs-table tr:last-child {
  border-bottom: none;
}

.specs-table td {
  padding: 0.85rem 1.1rem;
  font-size: 0.9rem;
}

.specs-table td:first-child {
  font-weight: 700;
  color: var(--accent-blue);
  width: 38%;
  background: rgba(0, 0, 0, 0.01);
  border-right: 1px solid var(--border-color);
}

.specs-table td:last-child {
  color: var(--text-primary);
}

.sensor-icon-wrapper i, .sensor-icon-wrapper svg {
  width: 22px;
  height: 22px;
}

.sensor-station.active .sensor-icon-wrapper {
  color: var(--accent-cyan);
  border-color: var(--accent-cyan);
  box-shadow: 0 0 20px rgba(0, 242, 254, 0.55);
  background: rgba(0, 242, 254, 0.08);
}

.sensor-status-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--text-muted);
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.5);
  transition: var(--transition-smooth);
}

.sensor-station.active .sensor-status-indicator {
  background: var(--accent-cyan);
  box-shadow: 0 0 10px var(--accent-cyan);
}

.sensor-station-label {
  font-family: monospace;
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--text-muted);
  letter-spacing: 0.5px;
}

.conveyor-belt-track {
  position: absolute;
  bottom: 35px;
  left: 0;
  width: 100%;
  height: 24px;
  background: linear-gradient(180deg, #09131a 0%, #02060c 100%);
  border-top: 2px solid rgba(0, 242, 254, 0.35);
  border-bottom: 2px solid rgba(0, 242, 254, 0.35);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.6);
}

.belt-rollers {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 0 50px;
}

.roller-wheel {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px dashed rgba(0, 242, 254, 0.25);
  animation: spin-rollers 3s linear infinite;
}

@keyframes spin-rollers {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.conveyor-targets-container {
  position: absolute;
  top: -30px;
  left: 0;
  width: 100%;
  height: 30px;
}

.sim-target-item {
  position: absolute;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: #628ea4;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
  transition: transform 0.1s linear;
}

.sim-target-item.metal {
  background: linear-gradient(135deg, #f8fafc 0%, #cbd5e1 100%);
  border-color: #f1f5f9;
  border-radius: 4px;
}

.sim-target-item.plastic {
  background: linear-gradient(135deg, #ff7b00 0%, #cc3300 100%);
  border-color: #ff9d42;
  border-radius: 50%;
}

.sim-target-item.organic {
  background: linear-gradient(135deg, #10b981 0%, #047857 100%);
  border-color: #34d399;
  width: 6px;
  height: 34px;
  top: -4px;
  border-radius: 3px;
}

.sim-controls-grid {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.sim-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 5px;
  border-radius: 3px;
  background: var(--bg-tertiary);
  outline: none;
  margin: 10px 0;
}

.sim-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--accent-cyan);
  cursor: pointer;
  box-shadow: 0 0 10px var(--accent-cyan);
  transition: var(--transition-smooth);
}

.sim-slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

.sim-material-btn {
  flex: 1;
  height: 38px;
  border-radius: 8px;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  font-weight: 800;
  font-size: 0.8rem;
  cursor: pointer;
  transition: var(--transition-smooth);
  text-transform: uppercase;
}

.sim-material-btn:hover {
  color: var(--text-primary);
  border-color: var(--text-muted);
}

.sim-material-btn.active {
  background: rgba(14, 165, 233, 0.1);
  color: var(--accent-cyan);
  border-color: rgba(14, 165, 233, 0.35);
  box-shadow: 0 4px 12px rgba(14, 165, 233, 0.1);
}

/* --- Specs Modal Layout & Configurator Visualizer --- */
.modal-specs-layout {
  display: block;
  width: 100%;
}

@media (max-width: 820px) {
  .modal-specs-layout {
    grid-template-columns: 1fr;
  }
}

.interactive-spec-playground {
  display: flex;
  flex-direction: column;
  padding: 1.25rem;
  border-radius: 12px;
  background: rgba(2, 6, 12, 0.6);
  border: 1px solid var(--border-color);
  align-items: center;
  justify-content: space-between;
  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.5);
}

.control-indicator-badge {
  font-family: monospace;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 0.35rem 0.6rem;
  border-radius: 6px;
  border: 1px solid var(--border-color);
  background: var(--bg-tertiary);
  color: var(--text-muted);
  text-align: center;
  transition: var(--transition-smooth);
}

.control-indicator-badge.active {
  border-color: var(--accent-cyan);
  background: rgba(0, 242, 254, 0.08);
  color: var(--accent-cyan);
  text-shadow: 0 0 6px rgba(0, 242, 254, 0.4);
  box-shadow: 0 0 10px rgba(0, 242, 254, 0.15);
}

/* --- Sensor Academy Layout --- */
.academy-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 2rem;
  min-height: 480px;
  align-items: start;
}

@media (max-width: 900px) {
  .academy-layout {
    grid-template-columns: 1fr;
  }
}

.academy-sidebar {
  display: flex;
  flex-direction: column;
  padding: 1rem;
  gap: 0.6rem;
  border-radius: 12px;
  background: rgba(8, 23, 33, 0.4);
}

.academy-tab-btn {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  border-radius: 8px;
  background: none;
  border: 1px solid transparent;
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  text-align: left;
  transition: var(--transition-smooth);
  outline: none;
}

.academy-tab-btn i, .academy-tab-btn svg {
  width: 18px;
  height: 18px;
  color: var(--text-muted);
  transition: var(--transition-smooth);
}

.academy-tab-btn:hover {
  background: rgba(255, 255, 255, 0.02);
  color: var(--text-primary);
}

.academy-tab-btn.active {
  background: rgba(0, 242, 254, 0.08);
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  text-shadow: 0 0 5px rgba(0, 242, 254, 0.25);
}

.academy-tab-btn.active i, .academy-tab-btn.active svg {
  color: var(--accent-cyan);
}

.academy-content {
  padding: 2.5rem;
  border-radius: 12px;
  min-height: 400px;
  background: rgba(8, 23, 33, 0.3);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  animation: fadeIn 0.4s ease-out;
}

/* --- Stock Level Bar Chart Component --- */
.stock-level-track {
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.05);
  overflow: hidden;
  position: relative;
  margin-top: 6px;
}

.stock-level-fill {
  height: 100%;
  background: linear-gradient(90deg, #10b981 0%, #059669 100%);
  border-radius: 4px;
  transition: width 1s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.4);
}

/* --- Ultra-Premium CAD Configurator Styles --- */
.cad-workspace-grid {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 1.5rem;
}

@media (max-width: 900px) {
  .cad-workspace-grid {
    grid-template-columns: 1fr;
  }
}

.config-field-group label {
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.cad-svg-viewport svg {
  filter: drop-shadow(0 4px 15px rgba(0, 242, 254, 0.15));
}

/* --- Interactive Wiring Sandbox Styles --- */
.wiring-sandbox-workspace {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.wiring-node-card {
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.wiring-node-card:hover {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6);
  border-color: rgba(0, 242, 254, 0.3);
}

.wiring-pin-jack {
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.6);
}

.wiring-pin-jack:hover {
  transform: scale(1.25);
  box-shadow: 0 0 8px currentColor;
}

.wiring-pin-jack.connected {
  border-color: #39ff14 !important;
  box-shadow: 0 0 10px #39ff14 !important;
}

.relay-light-bulb {
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.relay-light-bulb.active {
  background: #22c55e !important;
  box-shadow: 0 0 15px #22c55e, 0 0 30px #22c55e !important;
}

.wiring-controls-bar {
  display: flex;
  gap: 1rem;
  justify-content: flex-start;
  background: rgba(8, 23, 33, 0.3);
  padding: 1rem;
  border-radius: 12px;
  border: 1px solid var(--border-color);
}

/* Realistic Sensor SVGs Styles */
.realistic-sensor-svg {
  width: 50px;
  height: 50px;
  transition: var(--transition-smooth);
  filter: drop-shadow(0 2px 4px rgba(0, 242, 254, 0.1));
}

.sensor-station.active .realistic-sensor-svg {
  transform: scale(1.08) translateY(-2px);
  filter: drop-shadow(0 0 10px rgba(0, 242, 254, 0.5));
}

/* Wiring Grid Workspace Layout */
.wiring-grid-container {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 1.5rem;
  align-items: start;
}

@media (max-width: 1024px) {
  .wiring-grid-container {
    grid-template-columns: 1fr;
  }
}

.wiring-guide-sidebar {
  border: 1px solid var(--border-color);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

/* Interactive Corporate Video Player Styles */
.corp-scene-btn:hover {
  background: rgba(255, 255, 255, 0.03) !important;
  color: var(--text-primary) !important;
  border-color: rgba(0, 242, 254, 0.3) !important;
}

.corp-scene-btn.active-scene {
  background: rgba(0, 242, 254, 0.06) !important;
  border-color: var(--accent-cyan) !important;
  color: var(--text-primary) !important;
}

/* Pulsating Pin Jack Tutorial Guides for Wiring Lab */
@keyframes pinPulse {
  0% { box-shadow: 0 0 0 0 rgba(0, 242, 254, 0.85); }
  70% { box-shadow: 0 0 0 8px rgba(0, 242, 254, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 242, 254, 0); }
}

.pulsating-pin-jack {
  animation: pinPulse 1.0s infinite !important;
  border-color: #ffffff !important;
  transform: scale(1.28);
  z-index: 50;
}

/* Conveyor Telemetry Styles */
.sim-telemetry-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.85rem;
}

.telemetry-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.telemetry-label {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

.telemetry-value {
  font-family: monospace;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
}

.telemetry-value-indicator {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.telemetry-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--text-muted);
  display: inline-block;
  box-shadow: 0 0 5px rgba(0,0,0,0.5);
  transition: var(--transition-smooth);
}

.telemetry-dot.active {
  background: var(--accent-cyan);
  box-shadow: 0 0 12px var(--accent-cyan);
  animation: pulse-dot 0.8s infinite alternate;
}

@keyframes pulse-dot {
  from { opacity: 0.5; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1.15); }
}

/* EFSANE Modernization Upgrades */

#digital-mesh-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -5;
  pointer-events: none;
  opacity: 0.85;
}



/* Laser sweep wipe effect */
.laser-wipe-beam {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 6px;
  background: var(--accent-gradient);
  box-shadow: 0 0 20px var(--accent-cyan), 0 0 40px var(--accent-blue);
  z-index: 999999;
  pointer-events: none;
  opacity: 0;
  transform: translateY(-20px);
}

@keyframes laser-sweep {
  0% {
    top: 0%;
    opacity: 1;
    height: 6px;
  }
  50% {
    height: 12px;
    opacity: 1;
  }
  100% {
    top: 100%;
    opacity: 0;
    height: 4px;
  }
}

.laser-wipe-active {
  animation: laser-sweep 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Panel spring transition reveal */
.tab-content-panel {
  opacity: 0;
  transform: scale(0.99) translateY(4px);
  transition: opacity 0.22s cubic-bezier(0.16, 1, 0.3, 1), transform 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.tab-content-panel.active-panel {
  opacity: 1 !important;
  transform: scale(1) translateY(0) !important;
}

/* 3D Tilt Cyber Cards */
.cyber-card-tilt {
  position: relative;
  transform-style: preserve-3d;
  will-change: transform;
  transition: transform 0.1s ease, box-shadow 0.25s ease;
}

.cyber-card-tilt:hover {
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), 0 0 15px var(--border-glow);
}

/* Dynamic reflective glare sheet */
.cyber-glare {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  background: radial-gradient(circle at var(--glare-x, 50%) var(--glare-y, 50%), rgba(255, 255, 255, 0.12) 0%, transparent 60%);
  z-index: 5;
  border-radius: inherit;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.cyber-card-tilt:hover .cyber-glare {
  opacity: 1;
}



/* Custom Cursor Glow */
.custom-cursor-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 24px;
  height: 24px;
  border: 2px solid var(--accent-cyan);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999999;
  transform: translate(-50%, -50%);
  transition: width 0.25s ease, height 0.25s ease, border-color 0.25s ease;
  mix-blend-mode: screen;
  box-shadow: 0 0 8px var(--accent-cyan);
  opacity: 0;
}

.custom-cursor-glow::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 4px;
  height: 4px;
  background: var(--accent-cyan);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.custom-cursor-glow.hovered {
  width: 44px;
  height: 44px;
  background: rgba(0, 242, 254, 0.05);
  border-color: var(--accent-blue);
  box-shadow: 0 0 16px var(--accent-blue);
}

.custom-cursor-glow.clicked {
  width: 14px;
  height: 14px;
  border-color: var(--accent-purple);
  box-shadow: 0 0 20px var(--accent-purple);
}

@media (max-width: 1024px) {
  .custom-cursor-glow {
    display: none !important;
  }
}

/* Custom Visualizer Bars Animation */
@keyframes bounce-vis {
  0% { height: 3px; }
  100% { height: 14px; }
}

.theme-dot-btn {
  transition: transform 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275), border-color 0.25s, box-shadow 0.25s;
}

.theme-dot-btn:hover {
  transform: scale(1.3);
  box-shadow: 0 0 10px var(--accent-cyan);
}

.theme-dot-btn.active {
  border-color: #ffffff !important;
  box-shadow: 0 0 12px var(--accent-cyan);
  transform: scale(1.25);
}

/* Scramble Text Glitch Styles */
.scramble-text {
  font-family: var(--font-display);
  position: relative;
}

/* Custom Cursor square-morph and scanning details */
.custom-cursor-glow.hovering-link {
  width: 48px;
  height: 48px;
  border-radius: 4px; /* morph into a glass square crosshair! */
  background: rgba(0, 242, 254, 0.08);
  border-color: var(--accent-cyan);
  box-shadow: 0 0 12px var(--accent-cyan);
  transform: translate(-50%, -50%) rotate(45deg);
}

.custom-cursor-glow.hovering-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 1px dashed rgba(255, 255, 255, 0.3);
  animation: spin-cursor-ring 4s linear infinite;
  border-radius: 4px;
}

@keyframes spin-cursor-ring {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Telemetry mini boxes styles */
.mini-telemetry-box {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s, background 0.3s;
}
.mini-telemetry-box:hover {
  background: rgba(0, 242, 254, 0.05) !important;
  border-color: rgba(0, 242, 254, 0.3) !important;
  transform: translateY(-2px);
}

/* --- B2B Cart Drawer Styles --- */
.cart-drawer {
  position: fixed;
  top: 0;
  right: -420px;
  width: 400px;
  height: 100%;
  background: rgba(10, 18, 30, 0.98);
  border-left: 1px solid var(--border-color);
  box-shadow: -10px 0 35px rgba(0, 0, 0, 0.7);
  z-index: 100010;
  display: flex;
  flex-direction: column;
  transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  
  /* Force dark theme colors inside cart drawer */
  --text-primary: #ffffff !important;
  --text-secondary: #cbd5e1 !important;
  --text-muted: #94a3b8 !important;
  --border-color: rgba(255, 255, 255, 0.15) !important;
  --bg-primary: #0a121e !important;
  --bg-secondary: #111a2e !important;
  --bg-tertiary: #1b253b !important;
}

.cart-drawer.active {
  right: 0;
}

.cart-drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 100008;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.cart-drawer-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.cart-drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  border-bottom: 1px solid var(--border-color);
  background: rgba(15, 23, 42, 0.4);
}

.drawer-close-btn {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.drawer-close-btn:hover {
  background: var(--accent-rose);
  color: #fff;
  border-color: var(--accent-rose);
  transform: rotate(90deg);
}

.cart-drawer-items-list {
  flex-grow: 1;
  overflow-y: auto;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.cart-drawer-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  transition: var(--transition-smooth);
}

.cart-drawer-item:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(0, 242, 254, 0.25);
}

.cart-drawer-item-info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  max-width: 60%;
}

.cart-drawer-item-model {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--text-primary);
}

.cart-drawer-item-price {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent-cyan);
  font-family: monospace;
}

.cart-drawer-item-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.btn-drawer-remove {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  border-radius: 4px;
  transition: var(--transition-smooth);
}

.btn-drawer-remove:hover {
  color: var(--accent-rose);
  background: rgba(244, 63, 94, 0.1);
}

.cart-drawer-footer {
  padding: 1.5rem;
  border-top: 1px solid var(--border-color);
  background: rgba(15, 23, 42, 0.6);
}

.cart-drawer-summary {
  margin-bottom: 1.25rem;
}

@media (max-width: 480px) {
  .cart-drawer {
    width: 100%;
    right: -100%;
  }
}
.product-print-specs {
  display: none;
}

.guide-section {
  background: var(--bg-secondary) !important;
  border: 1px solid var(--border-color) !important;
  border-radius: 12px;
  padding: 1.25rem;
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-6px); }
  40%, 80% { transform: translateX(6px); }
}
