/* ============================================
   STRUCTON B2B WEBSHOP - GLOBAL STYLES
   Industriële, krachtige look met petrol accent
   ============================================ */

/* Import Component Styles */
@import url('components/account-dropdown.css');

/* ============================================
   CSS CUSTOM PROPERTIES (Design Tokens)
   ============================================ */
:root {
  /* Primary Colors - Petrol (Structon Brand) */
  --color-primary: #236773;
  --color-primary-dark: #1a4f59;
  --color-primary-light: #2d7f8d;
  
  /* Secondary Colors */
  --color-secondary: #2d3748;
  --color-secondary-light: #4a5568;
  
  /* Accent Colors */
  --color-accent: #f7b731;
  --color-accent-dark: #e5a82b;
  
  /* Neutral Colors */
  --color-white: #ffffff;
  --color-gray-50: #f9fafb;
  --color-gray-100: #f3f4f6;
  --color-gray-200: #e5e7eb;
  --color-gray-300: #d1d5db;
  --color-gray-400: #9ca3af;
  --color-gray-500: #6b7280;
  --color-gray-600: #4b5563;
  --color-gray-700: #374151;
  --color-gray-800: #1f2937;
  --color-gray-900: #111827;
  --color-black: #000000;
  
  /* Status Colors */
  --color-success: #10b981;
  --color-success-light: #d1fae5;
  --color-error: #ef4444;
  --color-error-light: #fee2e2;
  --color-warning: #f59e0b;
  --color-warning-light: #fef3c7;
  
  /* Typography */
  --font-heading: 'Arthouse', 'Arial Black', sans-serif;
  --font-body: 'Arthouse', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  
  /* Font Sizes */
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;
  --text-4xl: 2.25rem;
  --text-5xl: 3rem;
  --text-6xl: 3.75rem;
  
  /* Font Weights - Arthouse Owned */
  --font-light: 300;    /* Arthouse Owned Light */
  --font-normal: 400;   /* Fallback to Medium for body text */
  --font-medium: 500;   /* Arthouse Owned Medium */
  --font-bold: 700;     /* Arthouse Owned Bold */
  --font-black: 900;    /* Arthouse Owned Black */
  
  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 6rem; /* Increased from 4rem */
  --space-20: 8rem; /* Increased from 5rem */
  --space-24: 10rem; /* Increased from 6rem */
  
  /* Border Radius */
  --radius-sm: 0.25rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.5rem;
  --radius-full: 9999px;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  
  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 200ms ease;
  --transition-slow: 300ms ease;
  
  /* Key Specs Grid (Shared between Product Detail & List) */
  --spec-bg: var(--color-gray-50);
  --spec-icon-color: var(--color-primary);
  --spec-label-color: var(--color-gray-500);
  --spec-value-color: var(--color-gray-900);
  
  /* Layout */
  --container-max: 1280px;
  --container-padding: 1.5rem;
  
  /* Z-index */
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-fixed: 300;
  --z-modal-backdrop: 400;
  --z-modal: 500;
  --z-tooltip: 600;
}

/* ============================================
   AUTH-BASED VISIBILITY UTILITIES
   Controls content visibility based on login state
   Body gets 'is-logged-in' class via auth.js
   ============================================ */

/* Default: Show guest content, hide auth content */
.auth-only {
  display: none !important;
}

.guest-only {
  display: block !important;
}

/* When logged in: Show auth content, hide guest content */
body.is-logged-in .auth-only {
  display: block !important;
}

body.is-logged-in .guest-only {
  display: none !important;
}

/* Inline variants for spans/buttons */
.auth-only-inline {
  display: none !important;
}

.guest-only-inline {
  display: inline !important;
}

body.is-logged-in .auth-only-inline {
  display: inline !important;
}

body.is-logged-in .guest-only-inline {
  display: none !important;
}

/* Flex variants for buttons/cards */
body.is-logged-in .auth-only-flex {
  display: flex !important;
}

body:not(.is-logged-in) .auth-only-flex {
  display: none !important;
}

body.is-logged-in .guest-only-flex {
  display: none !important;
}

body:not(.is-logged-in) .guest-only-flex {
  display: flex !important;
}

/* ============================================
   RESET & BASE
   ============================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: var(--font-medium);
  line-height: 1.6;
  color: var(--color-gray-800);
  background-color: var(--color-white);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

input,
textarea,
select {
  font-family: inherit;
  font-size: inherit;
}

ul,
ol {
  list-style: none;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: var(--font-bold);
  line-height: 1.2;
  color: var(--color-gray-900);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

h1 { font-size: var(--text-4xl); }
h2 { font-size: var(--text-3xl); }
h3 { font-size: var(--text-2xl); }
h4 { font-size: var(--text-xl); }
h5 { font-size: var(--text-lg); }
h6 { font-size: var(--text-base); }

@media (min-width: 768px) {
  h1 { font-size: var(--text-5xl); }
  h2 { font-size: var(--text-4xl); }
  h3 { font-size: var(--text-3xl); }
}

.text-primary { color: var(--color-primary); }
.text-secondary { color: var(--color-secondary); }
.text-muted { color: var(--color-gray-500); }
.text-white { color: var(--color-white); }

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

/* ============================================
   LAYOUT
   ============================================ */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.container-fluid {
  width: 100%;
  padding: 0 var(--container-padding);
}

.section {
  padding: var(--space-16) 0;
}

.section-lg {
  padding: var(--space-24) 0;
}

/* ============================================
   PAGE HEADER (Consistent across pages)
   ============================================ */
.page-header {
  background-color: var(--color-gray-100);
  padding: var(--space-12) 0;
  margin-bottom: var(--space-8);
  text-align: center;
}

.page-title {
  font-size: var(--text-4xl);
  color: var(--color-primary-dark);
  margin-bottom: var(--space-2);
  text-transform: uppercase;
}

.page-subtitle {
  font-size: var(--text-lg);
  color: var(--color-gray-600);
  max-width: 700px;
  margin: 0 auto;
}

.breadcrumb {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: var(--space-4);
  font-size: var(--text-sm);
  color: var(--color-gray-500);
}

.breadcrumb a {
  color: var(--color-gray-500);
  transition: color 0.2s;
}

.breadcrumb a:hover {
  color: var(--color-primary);
}

.breadcrumb span[aria-current="page"] {
  color: var(--color-primary);
  font-weight: 600;
}

/* Grid System */
.grid {
  display: grid;
  gap: var(--space-6);
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

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

@media (max-width: 640px) {
  .grid-2,
  .grid-3,
  .grid-4 { grid-template-columns: 1fr; }
}

/* Flexbox Utilities */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.items-end { align-items: flex-end; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.justify-end { justify-content: flex-end; }
.gap-2 { gap: var(--space-2); }
.gap-4 { gap: var(--space-4); }
.gap-6 { gap: var(--space-6); }
.gap-8 { gap: var(--space-8); }

/* ============================================
   BUTTON - Two Solid Blocks (Structon Style)
   ============================================ */
.btn-split {
  display: inline-flex;
  align-items: stretch;
  gap: 2px; /* Vaste afstand tussen de twee blokken */
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
  cursor: pointer;
  font-weight: 600;
  position: relative;
}

/* Blok 1: Tekst */
.btn-split-text {
  background-color: #1a4f59;
  color: white;
  padding: 14px 24px;
  font-size: 16px;
  font-weight: 700;
  border-radius: 8px 0 0 8px;
  display: flex;
  align-items: center;
  transition: all 0.2s ease;
}

/* Blok 2: Pijl */
.btn-split-icon {
  background-color: #1a4f59;
  color: white;
  width: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0 8px 8px 0;
  transition: all 0.2s ease;
}

.btn-split-icon svg {
  width: 20px;
  height: 20px;
}

/* Hover: hele knop omhoog */
.btn-split:hover {
  transform: translateY(-2px);
}

.btn-split:hover .btn-split-text,
.btn-split:hover .btn-split-icon {
  background-color: var(--color-primary);
}

.btn-split:active {
  transform: translateY(-1px);
}

/* Small variant (voor product cards) */
.btn-split-sm .btn-split-text {
  padding: 10px 16px;
  font-size: 13px;
}

.btn-split-sm .btn-split-icon {
  width: 40px;
}

.btn-split-sm .btn-split-icon svg {
  width: 16px;
  height: 16px;
}

/* ============================================
   RESPONSIVE - Tablet
   ============================================ */
@media (max-width: 1024px) {
  .btn-split-text {
    padding: 11px 18px;
    font-size: 15px;
  }
  .btn-split-icon {
    width: 46px;
  }
}

/* ============================================
   RESPONSIVE - Mobile
   ============================================ */
@media (max-width: 640px) {
  .btn-split-text {
    padding: 10px 14px;
    font-size: 14px;
  }
  .btn-split-icon {
    width: 40px;
  }
  .btn-split-icon svg {
    width: 18px;
    height: 18px;
  }
}

/* ============================================
   HEADER WRAPPER (Sticky Container)
   ============================================ */
.header-wrapper {
  position: sticky;
  top: 0;
  z-index: var(--z-sticky);
  background: white;
}

/* ============================================
   TOP BAR (Donker Petrol)
   ============================================ */
.top-bar {
  background-color: #236773;
  color: white;
  padding: 10px 0;
  font-size: 14px;
  position: relative;
  z-index: 300;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform, opacity;
}

/* Hide top-bar when scrolling down, show when scrolling up */
.header-wrapper.scrolled-down .top-bar {
  transform: translateY(-100%);
  opacity: 0;
  position: absolute;
  width: 100%;
  pointer-events: none;
}

.header-wrapper.scrolled-up .top-bar {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

/* Mobile: Scrollable top bar */
@media (max-width: 1023px) {
  .top-bar .container {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  
  .top-bar .container::-webkit-scrollbar {
    display: none;
  }
}

 .top-bar .top-nav {
   order: 1;
 }

 .top-bar .language-switcher--topbar {
   order: 2;
   margin-left: 12px;
   margin-right: 0;
   position: relative;
 }

 .top-bar .language-switcher--topbar .lang-dropdown {
   left: auto;
   right: 0;
   top: calc(100% + 12px);
 }

 .top-bar .language-switcher--topbar .lang-toggle {
   padding: 4px 10px;
   border: 1px solid rgba(255, 255, 255, 0.18);
   border-radius: 999px;
   background: transparent;
   color: #fff;
   font-size: 12px;
   line-height: 1;
   letter-spacing: 0.08em;
   text-transform: uppercase;
   transition: background 0.15s ease, border-color 0.15s ease;
 }

 .top-bar .language-switcher--topbar .lang-toggle:hover {
   background: rgba(255, 255, 255, 0.08);
   border-color: rgba(255, 255, 255, 0.28);
 }

 .top-bar .language-switcher--topbar .lang-toggle:focus-visible {
   outline: 2px solid rgba(255, 255, 255, 0.55);
   outline-offset: 2px;
 }

 .top-bar .language-switcher--topbar .lang-code {
   font-weight: 600;
 }

 .top-bar .language-switcher--topbar .lang-arrow {
   opacity: 0.9;
   font-size: 10px;
 }

 .top-bar .language-switcher--topbar .lang-dropdown {
   min-width: 200px;
   border-radius: 10px;
   border-color: rgba(17, 24, 39, 0.12);
   box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
   z-index: 5000;
 }

 .top-bar .language-switcher--topbar .lang-dropdown a {
   padding: 10px 14px;
   font-size: 13px;
   letter-spacing: 0.02em;
 }

 .top-bar .language-switcher--topbar .lang-dropdown a:hover {
   background: rgba(35, 103, 115, 0.08);
 }

 .top-bar .language-switcher--topbar .lang-dropdown a.active {
   background: rgba(35, 103, 115, 0.12);
   color: var(--color-primary);
 }

.tagline {
  display: none;
  font-size: 0.875rem;
}

@media (min-width: 768px) {
  .tagline {
    display: block;
  }
}

@media (min-width: 1024px) {
  .tagline {
    font-size: 1rem;
  }
}

.top-nav {
  display: flex;
  gap: 16px;
  margin-left: auto;
  align-items: center;
  justify-content: flex-end;
}

/* Mobile: Prevent wrapping and enable scroll */
@media (max-width: 1023px) {
  .top-nav {
    flex-wrap: nowrap;
    min-width: max-content;
    gap: 12px;
  }
}

.top-nav a {
  color: white;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.875rem;
  white-space: nowrap;
  transition: opacity 0.2s;
}

.top-nav a:hover {
  opacity: 0.8;
}

@media (min-width: 768px) {
  .top-nav {
    gap: 20px;
  }
  
  .top-nav a {
    font-size: 0.9375rem;
  }
}

@media (min-width: 1024px) {
  .top-nav {
    gap: 25px;
  }
  
  .top-nav a {
    font-size: 1rem;
  }
}

/* ============================================
   MAIN NAVIGATION (Wit)
   ============================================ */
.main-nav {
  background-color: white;
  border-bottom: 2px solid #2C5F6F;
  height: 90px;
  display: flex;
  align-items: center;
  position: relative;
  z-index: var(--z-sticky);
}

.main-nav .container {
  display: flex;
  align-items: center;
  max-width: var(--container-max); /* Align with global max width */
  margin: 0 auto;
  padding: 0 var(--container-padding);
  gap: 30px;
  position: static; /* Changed from relative to allow full-width dropdowns */
  height: 100%; /* Full height to match parent */
  width: 100%;
}

/* Logo */
.logo {
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #236773; /* Match Top Bar */
  height: 140px;
  width: 110px;
  min-width: 110px;
  position: absolute;
  top: -30px;
  left: max(16px, calc((100vw - var(--container-max)) / 2));
  border-radius: 0 0 16px 16px;
  z-index: 20;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  padding-top: 1.25rem;
  flex-shrink: 0;
}

.logo-image {
  height: auto;
  width: 42px;
  min-width: 42px;
  object-fit: contain;
}

@media (min-width: 768px) {
  .logo {
    height: 155px;
    width: 125px;
    min-width: 125px;
    top: -35px;
    border-radius: 0 0 18px 18px;
  }
  
  .logo-image {
    width: 46px;
    min-width: 46px;
  }
}

@media (min-width: 1024px) {
  .logo {
    height: 165px;
    width: 135px;
    min-width: 135px;
    top: -40px;
    border-radius: 0 0 20px 20px;
    padding-top: 1.5rem;
  }
  
  .logo-image {
    width: 50px;
    min-width: 50px;
  }
}
  
.logo-box {
  display: none; /* Remove old box style */
}

/* Menu items */
.menu {
  display: none;
  gap: 40px;
  flex: 1;
  justify-content: center;
  margin-left: 120px;
}

@media (min-width: 1024px) {
  .menu {
    display: flex;
  }
}

@media (min-width: 1200px) {
  .menu {
    gap: 50px;
    margin-left: 140px;
  }
}

@media (min-width: 1400px) {
  .menu {
    gap: 60px;
  }
}

/* Menu Item - Essential for hover bridge */
.menu-item {
  color: #2C5F6F;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  position: static; /* Keep static for full-width dropdown */
  cursor: pointer;
  padding: 0 15px; /* Horizontal padding only */
  height: 100%; /* Full height of nav bar */
  transition: color 0.4s cubic-bezier(1, 0.02, 1, 1);
}

.menu-item:hover {
  color: var(--color-primary);
}

/* Invisible Hover Bridge using pseudo-element on the container or dropdown itself */
/* Since menu-item is static, we can't easily position a pseudo-element relative to it without affecting layout.
   Instead, we'll use a transparent border-top on the dropdown to extend the hover area upwards. */

.menu-dropdown {
  position: absolute;
  top: 100%; 
  left: 0;
  width: 100%; 
  background: white;
  
  /* Invisible hover bridge - use padding trick */
  padding-top: 65px;
  margin-top: -23px;
  
  border-bottom: 4px solid #2C5F6F;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  
  /* Height */
  height: auto;
  min-height: 300px;
  max-height: calc(100vh - 90px);
  overflow-y: auto;
  
  /* CRITICAL: Always hidden by default - use !important to override inline styles */
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transform-origin: top center;
  transform: scaleY(0.95);
  
  /* Longer delay on exit */
  transition: 
    opacity 0.2s ease 0.15s,
    transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1) 0.15s,
    visibility 0s 0.35s;
  
  z-index: 11;
}

/* Remove pseudo-element bridge as it doesn't work reliably */
.menu-dropdown::before {
  display: none;
}

.menu-item:hover .menu-dropdown,
.menu-dropdown:hover {
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  transform: scaleY(1);
  
  /* Delay toegevoegd: 500ms wachten voordat menu verschijnt */
  transition: 
    opacity 0.15s ease 0.5s,
    transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1) 0.5s,
    visibility 0s 0.5s;
}

/* Full Width Layout */
.menu-dropdown-container {
  width: 100%;
  max-width: var(--container-max); /* Use standard 1280px max-width */
  margin: 0 auto;
  padding: 40px var(--container-padding) 40px; /* Use standard container padding */
}

.menu-dropdown-content {
  display: flex;
  flex-direction: column;
}

.menu-dropdown-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 20px;
}

/* Textual Item Styling */
.menu-dropdown-item {
  display: block;
  padding: 16px;
  background-color: #f8f9fa;
  border-radius: 8px;
  border: 1px solid #eee;
  transition: all 0.2s ease;
  text-decoration: none;
}

.menu-dropdown-item:hover {
  background-color: white;
  border-color: #2C5F6F;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  transform: translateY(-2px);
}

/* Advice Column Styling */
.menu-dropdown-advice {
  background-color: #2C5F6F;
  color: white;
  padding: 30px;
  border-radius: 12px;
  height: fit-content;
}

.menu-dropdown-advice h4 {
  font-family: var(--font-heading);
  font-size: 20px;
  margin-bottom: 15px;
  color: white;
}

.menu-dropdown-advice p {
  font-size: 14px;
  line-height: 1.6;
  opacity: 0.9;
  margin-bottom: 20px;
}

.btn-advice {
  display: inline-block;
  padding: 10px 20px;
  background: white;
  color: #2C5F6F;
  border-radius: 20px;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: opacity 0.2s;
}

.btn-advice:hover {
  opacity: 0.9;
}

/* Header styling */
.menu-dropdown-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #eee;
}

.menu-dropdown-image {
  display: none; /* Hide image as requested */
}

.menu-dropdown-title {
  font-size: 20px;
  font-weight: 700;
  color: #2C5F6F;
  margin: 0;
}

.menu-dropdown-view-all {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  background-color: #2C5F6F;
  color: white;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  border-radius: 25px;
  transition: all 0.3s ease;
}

.menu-dropdown-view-all:hover {
  background-color: #3a7a8c;
}

.menu-dropdown-item {
  display: block;
  padding: 12px 16px;
  color: #2C5F6F;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  border-radius: 6px;
  transition: all 0.2s ease;
  border-left: 3px solid transparent;
}

.menu-dropdown-item:hover {
  background-color: #f8f9fa;
  color: #3a7a8c;
  border-left-color: #2C5F6F;
}

/* Responsive mega menu */
@media (max-width: 1023px) {
  .menu-dropdown {
    display: none !important;
  }
}

/* CTA Button on Border */
.nav-actions {
  height: 100%;
  display: flex;
  align-items: center;
  /* Removed position: relative to allow button to position relative to container */
}

.cta-button {
  display: none;
  background-color: var(--color-primary);
  color: white;
  padding: 12px 35px; /* Adjusted padding */
  border-radius: 25px; /* Specific radius requested */
  text-decoration: none;
  font-weight: bold;
  transition: all 0.2s ease;
  position: absolute; /* Absolute positioning for centering */
  left: 50%;
  transform: translateX(-50%);
  bottom: -27px; /* Half of height (approx 44px) to center on border */
  top: auto; /* Reset top */
  z-index: 10;
  white-space: nowrap;
}

@media (min-width: 1024px) {
  .cta-button {
    display: block;
  }
}

.cta-button:hover {
  background-color: #1a4f59;
  transform: translateX(-50%) translateY(-1px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 10px;
  margin-left: auto;
  cursor: pointer;
  background: transparent;
  border: none;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  transition: background-color 0.2s ease;
  z-index: 501; /* Ensure above mobile nav (z-index 500) */
  position: relative;
}

.menu-toggle:hover {
  background-color: rgba(44, 95, 111, 0.1);
}

.menu-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  background-color: #2C5F6F;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 2px;
  transform-origin: center;
}

.menu-toggle.is-active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.menu-toggle.is-active span:nth-child(2) {
  opacity: 0;
  transform: scale(0);
}

.menu-toggle.is-active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

@media (min-width: 1024px) {
  .menu-toggle {
    display: none;
  }
}

/* Mobile Navigation */
.nav-mobile {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: white;
  z-index: 190; /* Below main-nav (200) so header stays visible */
  padding: 100px 24px 24px; /* Increased top padding to clear header */
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  opacity: 0;
  transform: translateX(100%);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.nav-mobile-close {
  display: none; /* Hide separate close button, use toggle instead */
}

.nav-mobile.active {
  display: flex;
  flex-direction: column;
  gap: 0;
  opacity: 1;
  transform: translateX(0);
}

/* Mobile menu sections */
.mobile-menu-section {
  display: none; /* Verberg op desktop */
}

@media (max-width: 1023px) {
  .mobile-menu-section {
    display: block; /* Toon op mobiel */
    padding: var(--space-6) 0;
    border-bottom: 1px solid var(--color-gray-200);
  }

  .mobile-menu-section:last-child {
    border-bottom: none;
    padding-bottom: var(--space-8);
  }

  /* Hide brands section in mobile menu (4th section, not 3rd!) */
  .mobile-menu-section:nth-child(4) {
    display: none;
  }
}

.menu-section-title {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-gray-500);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: var(--space-3) var(--space-2);
  margin-bottom: var(--space-2);
}

/* Nav links */
.nav-mobile .nav-link {
  font-size: 1rem;
  color: var(--color-gray-800);
  padding: 12px 16px;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.2s ease;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  margin-bottom: 4px;
}

.nav-mobile .nav-link svg {
  flex-shrink: 0;
  opacity: 0.6;
}

.nav-mobile .nav-link:hover,
.nav-mobile .nav-link:active {
  background-color: rgba(35, 103, 115, 0.08);
  color: var(--color-primary);
  transform: translateY(-1px);
}

.nav-mobile .nav-link:hover svg,
.nav-mobile .nav-link:active svg {
  opacity: 1;
}

/* Primary action link */
.nav-mobile .nav-link-primary {
  background-color: var(--color-primary);
  color: white;
  font-weight: 600;
  font-size: 1.125rem;
  padding: 16px 20px;
  margin-bottom: 8px;
}

.nav-mobile .nav-link-primary svg {
  opacity: 1;
}

.nav-mobile .nav-link-primary:hover {
  background-color: #1a4a56;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* CTA link */
.nav-mobile .nav-link-cta {
  background-color: rgba(35, 103, 115, 0.1);
  color: var(--color-primary);
  font-weight: 600;
  border: 2px solid var(--color-primary);
}

.nav-mobile .nav-link-cta:hover {
  background-color: var(--color-primary);
  color: white;
  transform: translateY(-2px);
}

/* Compact link variant */
.nav-mobile .nav-link-compact {
  font-size: 0.9375rem;
  padding: 10px 16px;
  font-weight: 500;
}

/* More link */
.nav-mobile .nav-link-more {
  display: inline-block;
  font-size: 0.875rem;
  color: var(--color-primary);
  padding: 8px 16px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.2s ease;
}

.nav-mobile .nav-link-more:hover {
  transform: translateY(-1px);
}

/* Button styling in mobile menu */
.nav-mobile .btn-block {
  width: 100%;
  justify-content: center;
  margin-top: var(--space-2);
}

.nav-mobile-close {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 32px;
  color: var(--color-gray-800);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  cursor: pointer;
  border-radius: 8px;
  transition: all 0.2s ease;
  line-height: 1;
}

.nav-mobile-close:hover {
  background-color: rgba(44, 95, 111, 0.1);
  transform: rotate(90deg);
}

/* Responsive improvements for smaller screens */
@media (max-width: 480px) {
  .nav-mobile {
    padding: 80px 16px 16px;
  }
  
  .nav-mobile .nav-link {
    font-size: 1rem;
    padding: 12px 12px;
  }
}

/* Prevent body scroll when mobile menu is open */
body.nav-mobile-open {
  overflow: hidden;
  position: fixed;
  width: 100%;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  position: relative;
  padding: var(--space-16) 0;
  background-color: var(--color-gray-100);
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.hero-title {
  font-size: var(--text-4xl);
  margin-bottom: var(--space-4);
}

.hero-subtitle {
  font-size: var(--text-lg);
  color: var(--color-gray-600);
  margin-bottom: var(--space-8);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 768px) {
  .hero {
    padding: var(--space-24) 0;
  }
  
  .hero-title {
    font-size: var(--text-6xl);
  }
  
  .hero-subtitle {
    font-size: var(--text-xl);
  }
}

/* Product Hero - Smaller and left aligned */
body[data-page="product"] .hero {
  padding: var(--space-8) 0;
}

body[data-page="product"] .hero-content {
  text-align: left;
}

body[data-page="product"] .hero-subtitle {
  margin-left: 0;
  margin-right: 0;
}

@media (min-width: 768px) {
  body[data-page="product"] .hero {
    padding: var(--space-12) 0;
  }
  
  body[data-page="product"] .hero-title {
    font-size: var(--text-4xl);
  }
}

/* Hero Categories Grid */
.hero-categories {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
  margin-top: var(--space-12);
}

@media (max-width: 768px) {
  .hero-categories {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }
}

.hero-category {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background-color: var(--color-gray-200);
}

.hero-category img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.hero-category:hover img {
  transform: scale(1.05);
}

.hero-category-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 60%);
  display: flex;
  align-items: flex-end;
  padding: var(--space-6);
}

.hero-category-title {
  color: var(--color-white);
  font-size: var(--text-xl);
  margin: 0;
}

/* ============================================
   PRODUCT CARDS - Universal Design (Vertical)
   Voor uitgelichte producten op industrie pagina's
   ============================================ */
.product-card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
  will-change: transform, box-shadow;
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  border-color: transparent;
}

/* Image Wrapper met Zoom Effect */
.product-card-image-wrapper {
  position: relative;
  aspect-ratio: 4/3;
  padding: var(--space-6);
  background: linear-gradient(135deg, var(--color-gray-50) 0%, #fafbfc 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.product-card-image-wrapper img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1), filter 0.3s ease;
  filter: drop-shadow(3px 6px 8px rgba(0, 0, 0, 0.2));
  will-change: transform;
}

.product-card:hover .product-card-image-wrapper img {
  transform: scale(1.12);
  filter: drop-shadow(4px 8px 12px rgba(0, 0, 0, 0.3));
}

/* Mobile: grotere afbeeldingen door minder padding */
@media (max-width: 768px) {
  .product-card-image-wrapper {
    padding: var(--space-3);
  }
}

@media (max-width: 480px) {
  .product-card-image-wrapper {
    padding: var(--space-2);
  }
}

/* Gradient Divider */
.product-card-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(35, 103, 115, 0.1) 50%, transparent 100%);
  width: 100%;
}

/* Content Area */
.product-card-content {
  padding: 0;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: var(--space-3);
}

/* Category Badge */
.product-card-category {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-primary);
  opacity: 0.95;
  display: inline-block;
  width: fit-content;
}

/* Title */
.product-card-title {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  line-height: 1.3;
  color: var(--color-gray-900);
  margin: 0;
  transition: color 0.2s ease;
  min-height: 2.6em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.product-card-title a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s ease;
}

.product-card-title a:hover {
  color: var(--color-primary);
}

/* Description */
.product-card-description {
  font-size: 0.9rem;
  color: var(--color-gray-600);
  line-height: 1.65;
  margin: 0;
  flex-grow: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Actions Row */
.product-card-actions {
  display: flex;
  gap: var(--space-3);
  margin-top: auto;
  padding-top: var(--space-4);
}

.product-card-actions .btn-split {
  flex: 1;
}

/* Card Button Adjustments */
.product-card-actions .btn-split-text {
  padding: 11px 14px;
  font-size: 0.85rem;
  justify-content: center;
}

.product-card-actions .btn-split-icon {
  width: 38px;
}

.product-card-actions .btn-split-icon svg {
  width: 16px;
  height: 16px;
}

/* Secondary Button (Gray Info Button) */
.card-btn-secondary .btn-split-text {
  background-color: var(--color-gray-100);
  color: var(--color-gray-700);
}

.card-btn-secondary .btn-split-icon {
  background-color: var(--color-gray-200);
  color: var(--color-gray-700);
}

.card-btn-secondary:hover .btn-split-text,
.card-btn-secondary:hover .btn-split-icon {
  background-color: var(--color-gray-300);
}

/* Price Display */
.price {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: var(--font-bold);
  color: var(--color-gray-900);
}

.price-locked {
  font-size: var(--text-sm);
  color: var(--color-gray-500);
  font-style: italic;
}

/* ============================================
   FILTERS SIDEBAR
   ============================================ */
.filters {
  background-color: var(--color-white);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
}

.filter-group {
  margin-bottom: var(--space-6);
  padding-bottom: var(--space-6);
  border-bottom: 1px solid var(--color-gray-200);
}

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

.filter-title {
  font-size: var(--text-sm);
  font-weight: var(--font-bold);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-4);
  color: var(--color-gray-900);
}

.filter-options {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

/* ============================================
   UNIVERSAL CHECKBOX STYLES - HARDCODED
   DO NOT OVERRIDE - Used across all pages
   ============================================ */
.checkbox-label {
  display: flex !important;
  align-items: center !important;
  gap: var(--space-3) !important;
  margin-bottom: var(--space-2) !important;
  cursor: pointer !important;
  font-size: var(--text-sm) !important;
  color: var(--color-gray-700) !important;
  transition: color 0.2s ease !important;
}

.checkbox-label:hover {
  color: var(--color-primary) !important;
}

.checkbox-label input[type="checkbox"] {
  appearance: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  width: 18px !important;
  height: 18px !important;
  min-width: 18px !important;
  min-height: 18px !important;
  border: 2px solid var(--color-gray-300) !important;
  border-radius: 4px !important;
  background-color: var(--color-white) !important;
  cursor: pointer !important;
  position: relative !important;
  transition: all 0.2s ease !important;
  flex-shrink: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

.checkbox-label input[type="checkbox"]:checked {
  background-color: var(--color-primary) !important;
  border-color: var(--color-primary) !important;
}

.checkbox-label input[type="checkbox"]:checked::after {
  content: '' !important;
  display: block !important;
  position: absolute !important;
  top: 45% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) rotate(45deg) !important;
  width: 5px !important;
  height: 9px !important;
  border: solid white !important;
  border-width: 0 2px 2px 0 !important;
}

.checkbox-label input[type="checkbox"]:focus {
  outline: none !important;
  box-shadow: 0 0 0 3px var(--color-primary-light) !important;
}

/* Range Slider */
.range-slider {
  width: 100%;
}

.range-slider input[type="range"] {
  width: 100%;
  accent-color: var(--color-primary);
}

.range-values {
  display: flex;
  justify-content: space-between;
  font-size: var(--text-sm);
  color: var(--color-gray-500);
  margin-top: var(--space-2);
}

/* ============================================
   PRODUCT DETAIL PAGE
   ============================================ */
.product-detail {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
}

@media (min-width: 1024px) {
  .product-detail {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-12);
  }
}

.product-gallery {
  background-color: var(--color-white);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
}

.product-main-image {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-4);
}

.product-main-image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.product-thumbnails {
  display: flex;
  gap: var(--space-3);
  overflow-x: auto;
}

.product-thumbnail {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-md);
  border: 2px solid transparent;
  cursor: pointer;
  flex-shrink: 0;
  overflow: hidden;
}

.product-thumbnail.active,
.product-thumbnail:hover {
  border-color: var(--color-primary);
}

.product-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-info {
  display: flex;
  flex-direction: column;
}

.product-category {
  font-size: var(--text-sm);
  font-weight: var(--font-semibold);
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-2);
}

.product-title {
  font-size: var(--text-3xl);
  margin-bottom: var(--space-4);
}

.product-description {
  color: var(--color-gray-600);
  margin-bottom: var(--space-8);
}

/* Specifications Table */
.specs-table {
  width: 100%;
  margin-bottom: var(--space-8);
}

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

.specs-table th,
.specs-table td {
  padding: var(--space-3) 0;
  text-align: left;
}

.specs-table th {
  font-weight: var(--font-medium);
  color: var(--color-gray-500);
  width: 40%;
}

.specs-table td {
  font-weight: var(--font-semibold);
  color: var(--color-gray-900);
}

/* Price Section (Login Required) */

.product-price {
  font-family: var(--font-heading);
  font-size: var(--text-3xl);
  font-weight: var(--font-bold);
  color: var(--color-gray-900);
}

.product-price-locked {
  color: var(--color-gray-500);
  font-style: italic;
}

.product-actions {
  display: flex;
  gap: var(--space-4);
}

/* ============================================
   SECTION HEADERS
   ============================================ */
.section-header {
  text-align: center;
  margin-bottom: var(--space-12);
}

.section-title {
  margin-bottom: var(--space-4);
}

.section-subtitle {
  font-size: var(--text-lg);
  color: var(--color-gray-600);
  max-width: 600px;
  margin: 0 auto;
}

/* ============================================
   USP / FEATURES SECTION
   ============================================ */
.usp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
}

@media (max-width: 768px) {
  .usp-grid {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }
}

.usp-item {
  text-align: center;
  padding: var(--space-8);
}

.usp-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto var(--space-6);
  background-color: var(--color-primary);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
}

.usp-icon svg {
  width: 32px;
  height: 32px;
}

.usp-title {
  font-size: var(--text-xl);
  margin-bottom: var(--space-3);
}

.usp-description {
  color: var(--color-gray-600);
  font-size: var(--text-sm);
}

/* ============================================
   BRANDS SECTION
   ============================================ */
.brands-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-8);
}

.brand-logo {
  height: 48px;
  opacity: 0.6;
  transition: opacity var(--transition-base);
  filter: grayscale(100%);
}

.brand-logo:hover {
  opacity: 1;
  filter: grayscale(0%);
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background-color: #236773;
  color: var(--color-gray-300);
  padding: var(--space-12) 0 var(--space-6);
}

@media (min-width: 768px) {
  .site-footer {
    padding: var(--space-16) 0 var(--space-8);
  }
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  margin-bottom: var(--space-8);
}

@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-10);
    margin-bottom: var(--space-10);
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: repeat(4, 1fr);
    margin-bottom: var(--space-12);
  }
}

.footer-col-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  color: var(--color-white);
  margin-bottom: var(--space-4);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.05em;
}

@media (min-width: 768px) {
  .footer-col-title {
    font-size: var(--text-lg);
    margin-bottom: var(--space-6);
  }
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

@media (min-width: 768px) {
  .footer-links {
    gap: var(--space-3);
  }
}

.footer-link {
  color: var(--color-gray-400);
  font-size: 0.875rem;
  transition: color var(--transition-fast);
  text-decoration: none;
  padding: 4px 0;
  display: inline-block;
}

@media (min-width: 768px) {
  .footer-link {
    font-size: var(--text-sm);
  }
}

.footer-link:hover {
  color: var(--color-white);
  transform: translateY(-1px);
}

.footer-contact p {
  display: flex;
  align-items: flex-start;
  gap: var(--space-2);
  margin-bottom: var(--space-3);
  font-size: 0.875rem;
  line-height: 1.6;
}

@media (min-width: 768px) {
  .footer-contact p {
    gap: var(--space-3);
    font-size: var(--text-sm);
    align-items: center;
  }
}

.footer-contact svg {
  flex-shrink: 0;
  margin-top: 2px;
}

@media (min-width: 768px) {
  .footer-contact svg {
    margin-top: 0;
  }
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: var(--space-6);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: var(--space-3);
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
    padding-top: var(--space-8);
    gap: var(--space-4);
  }
}

.footer-copyright {
  font-size: 0.8125rem;
  color: var(--color-gray-500);
}

@media (min-width: 768px) {
  .footer-copyright {
    font-size: var(--text-sm);
  }
}

/* Footer social links or additional bottom links */
.footer-bottom-links {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
  justify-content: center;
}

@media (min-width: 768px) {
  .footer-bottom-links {
    justify-content: flex-end;
  }
}

.footer-bottom-links a {
  color: var(--color-gray-400);
  font-size: 0.8125rem;
  text-decoration: none;
}

@media (min-width: 768px) {
  .footer-bottom-links a {
    font-size: var(--text-sm);
  }
}

.footer-bottom-links a:hover {
  color: var(--color-white);
}

/* ============================================
   FORMS
   ============================================ */
.form-group {
  margin-bottom: var(--space-6);
}

.form-label {
  display: block;
  font-size: var(--text-sm);
  font-weight: var(--font-medium);
  color: var(--color-gray-700);
  margin-bottom: var(--space-2);
}

.form-input {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  font-size: var(--text-base);
  border: 1.5px solid var(--color-gray-300);
  border-radius: var(--radius-lg);
  background-color: var(--color-white);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-input:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(13, 92, 99, 0.1);
}

.form-input::placeholder {
  color: var(--color-gray-400);
}

.form-input.error {
  border-color: var(--color-error);
}

.form-error {
  font-size: var(--text-sm);
  color: var(--color-error);
  margin-top: var(--space-2);
}

.form-hint {
  font-size: var(--text-sm);
  color: var(--color-gray-500);
  margin-top: var(--space-2);
}

/* ============================================
   LOGIN PAGE
   ============================================ */
.login-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-8);
  background-color: var(--color-gray-100);
}

.login-card {
  width: 100%;
  max-width: 420px;
  background-color: var(--color-white);
  border-radius: var(--radius-2xl);
  padding: var(--space-10);
  box-shadow: var(--shadow-xl);
}

.login-header {
  text-align: center;
  margin-bottom: var(--space-8);
}

.login-title {
  font-size: var(--text-2xl);
  margin-bottom: var(--space-2);
}

.login-subtitle {
  color: var(--color-gray-500);
}

.login-form .btn {
  width: 100%;
  margin-top: var(--space-4);
}

.login-footer {
  text-align: center;
  margin-top: var(--space-6);
}

.login-footer a {
  color: var(--color-primary);
  font-size: var(--text-sm);
}

.login-footer a:hover {
  text-decoration: underline;
}

/* ============================================
   QUOTE REQUEST SECTION
   ============================================ */
.quote-section {
  background: var(--color-gray-50);
}

.quote-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-12);
  align-items: start;
}

@media (min-width: 1024px) {
  .quote-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.quote-content {
  padding: var(--space-8) 0;
}

.quote-title {
  font-size: var(--text-3xl);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-4);
}

.quote-text {
  font-size: var(--text-lg);
  color: var(--color-gray-600);
  margin-bottom: var(--space-6);
  line-height: 1.7;
}

.quote-features {
  list-style: none;
  padding: 0;
  margin: 0;
}

.quote-features li {
  padding: var(--space-3) 0;
  font-size: var(--text-base);
  color: var(--color-gray-700);
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.quote-form-container {
  background: white;
  padding: var(--space-8);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}

.quote-form .form-group {
  margin-bottom: var(--space-5);
}

.quote-form label {
  display: block;
  font-weight: 600;
  margin-bottom: var(--space-2);
  color: var(--color-text);
  font-size: var(--text-sm);
}

.quote-form input,
.quote-form textarea {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  border: 1px solid var(--color-gray-300);
  border-radius: var(--radius-lg);
  font-size: var(--text-base);
  transition: all 0.2s ease;
}

.quote-form input:focus,
.quote-form textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(35, 103, 115, 0.1);
}

.quote-form textarea {
  resize: vertical;
  min-height: 100px;
}

.btn-full {
  width: 100%;
}

.quote-success {
  text-align: center;
  padding: var(--space-8);
  background: var(--color-success-light);
  border-radius: var(--radius-lg);
  border: 2px solid var(--color-success);
}

.quote-success svg {
  width: 64px;
  height: 64px;
  color: var(--color-success);
  margin: 0 auto var(--space-4);
}

.quote-success h3 {
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--color-success);
  margin-bottom: var(--space-2);
}

.quote-success p {
  color: var(--color-gray-700);
  font-size: var(--text-base);
}

.quote-error {
  padding: var(--space-4);
  background: var(--color-error-light);
  border: 1px solid var(--color-error);
  border-radius: var(--radius-lg);
  margin-top: var(--space-4);
}

.quote-error p {
  color: var(--color-error);
  font-size: var(--text-sm);
  margin: 0;
}

/* ============================================
   ALERTS & NOTIFICATIONS
   ============================================ */
.alert {
  padding: var(--space-4) var(--space-6);
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-4);
  font-size: var(--text-sm);
}

.alert-success {
  background-color: var(--color-success-light);
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.alert-error {
  background-color: var(--color-error-light);
  color: #991b1b;
  border: 1px solid #fecaca;
}

.alert-warning {
  background-color: var(--color-warning-light);
  color: #92400e;
  border: 1px solid #fde68a;
}

/* ============================================
   LOADING STATES - UNIVERSAL LOADER COMPONENT
   ============================================ */
.structon-loader {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--space-12);
  min-height: 200px;
}

.structon-loader.loader-small {
  padding: var(--space-6);
  min-height: 100px;
}

.structon-loader.loader-medium {
  padding: var(--space-12);
  min-height: 200px;
}

.structon-loader.loader-large {
  padding: var(--space-16);
  min-height: 300px;
}

.loader-spinner {
  width: 48px;
  height: 48px;
  border: 4px solid var(--color-primary);
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.loader-small .loader-spinner {
  width: 32px;
  height: 32px;
  border-width: 3px;
}

.loader-large .loader-spinner {
  width: 64px;
  height: 64px;
  border-width: 5px;
}

.loader-message {
  margin-top: var(--space-4);
  font-size: 0.95rem;
  color: var(--color-gray-600);
  text-align: center;
}

.loader-inline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.loader-spinner-inline {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid var(--color-primary);
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.products-grid .structon-loader,
.products-list .structon-loader,
.industry-products-grid .structon-loader,
.subcategories-grid .structon-loader {
  grid-column: 1 / -1;
}

/* Legacy support - unified loader styling */
.loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--space-12);
  min-height: 200px;
  gap: var(--space-4);
}

.loading p {
  font-size: 0.95rem;
  color: var(--color-gray-600);
  margin: 0;
}

.spinner {
  width: 48px;
  height: 48px;
  border: 4px solid var(--color-primary);
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.spinner-small {
  width: 20px;
  height: 20px;
  border: 2px solid var(--color-primary);
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  display: inline-block;
}

/* Skeleton Loading */
.skeleton {
  background: linear-gradient(90deg, var(--color-gray-200) 25%, var(--color-gray-100) 50%, var(--color-gray-200) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--radius-md);
}

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

/* ============================================
   UTILITY CLASSES
   ============================================ */
.hidden { display: none !important; }
.visible { visibility: visible; }
.invisible { visibility: hidden; }

.mt-4 { margin-top: var(--space-4); }
.mt-8 { margin-top: var(--space-8); }
.mb-4 { margin-bottom: var(--space-4); }
.mb-8 { margin-bottom: var(--space-8); }

.p-4 { padding: var(--space-4); }
.p-6 { padding: var(--space-6); }
.p-8 { padding: var(--space-8); }

.bg-white { background-color: var(--color-white); }
.bg-gray { background-color: var(--color-gray-100); }
.bg-primary { background-color: var(--color-primary); }

.rounded { border-radius: var(--radius-lg); }
.rounded-xl { border-radius: var(--radius-xl); }

.shadow { box-shadow: var(--shadow-md); }
.shadow-lg { box-shadow: var(--shadow-lg); }

/* ============================================
   RESPONSIVE UTILITIES
   ============================================ */
@media (max-width: 640px) {
  .hide-mobile { display: none !important; }
}

@media (min-width: 641px) and (max-width: 1023px) {
  .hide-tablet { display: none !important; }
}

@media (min-width: 1024px) {
  .hide-desktop { display: none !important; }
}

/* Button Variants */
.btn-dark-petrol {
  background-color: #1E4851;
  color: white;
  border: 2px solid #1E4851;
}

.btn-dark-petrol:hover {
  background-color: #16363d;
  border-color: #16363d;
  transform: translateY(-2px);
}

.btn-outline-light {
  background-color: transparent;
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.4);
}

.btn-outline-light:hover {
  background-color: white;
  color: #236773;
  border-color: white;
  transform: translateY(-2px);
}

.btn-outline-petrol {
  background-color: transparent;
  color: #236773;
  border: 2px solid #236773;
}

.btn-outline-petrol:hover {
  background-color: #236773;
  color: white;
}

/* ============================================
   FOOTER STYLES
   ============================================ */
.site-footer {
  background-color: #236773;
  color: white;
  padding: 80px 0 30px;
  font-size: 15px;
}

.site-footer .container {
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.footer-top {
  display: grid;
  grid-template-columns: 280px 1fr 250px; /* Logo - Sitemap - Contact */
  gap: 60px;
  align-items: start;
}

/* Brand Column */
.footer-logo img {
  margin-bottom: 20px;
  width: 3rem;

}

.footer-tagline {
  opacity: 0.8;
  line-height: 1.6;
  margin-bottom: 20px;
}

/* Sitemap Column */
.footer-sitemap-col {
  padding-left: 40px;
  border-left: 1px solid rgba(255,255,255,0.1);
}

.sitemap-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 40px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.sitemap-heading {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 20px;
  color: white;
}

.sitemap-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sitemap-links a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  transition: all 0.2s ease;
}

.sitemap-links a:hover {
  color: white;
  transform: translateY(-1px);
}

/* Contact Column */
.footer-contact-col {
  border-left: 1px solid rgba(255,255,255,0.1);
  padding-left: 40px;
}

.footer-heading {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 20px;
  color: white;
}

.footer-address {
  font-style: normal;
  line-height: 1.6;
  color: rgba(255,255,255,0.8);
}

.footer-address a {
  color: white;
  text-decoration: none;
  font-weight: 500;
}

/* Footer Bottom */
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  color: rgba(255,255,255,0.6);
}

.footer-legal {
  display: flex;
  align-items: center;
  gap: 20px;
}

.legal-links {
  display: flex;
  align-items: center;
  gap: 10px;
}

.legal-links a {
  color: inherit;
  text-decoration: none;
}

.legal-links a:hover {
  color: white;
}

.footer-creator {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-creator a {
  color: white;
  text-decoration: none;
  font-weight: 500;
}

.creator-separator {
  color: rgba(255,255,255,0.3);
  font-size: 10px;
  display: inline-block;
  margin: 0 4px;
}

.cms-lock-link {
  opacity: 0.4;
  transition: opacity 0.2s ease;
  display: flex;
  align-items: center;
  color: white;
}

.cms-lock-link:hover {
  opacity: 1;
}

/* Responsive */
@media (max-width: 1024px) {
  .footer-top {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .footer-sitemap-col,
  .footer-contact-col {
    border-left: none;
    padding-left: 0;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
  
  .footer-legal {
    flex-direction: column;
    gap: 10px;
  }
}

/* ============================================
   PRINT STYLES
   ============================================ */
@media print {
  .site-header,
  .site-footer,
  .btn,
  .filters,
  .cms-admin-icon {
    display: none !important;
  }
  
  body {
    font-size: 12pt;
    color: #000;
    background: #fff;
  }
}
/* ============================================
   ECOMMERCE ELEMENTS (Product Cards, Badges, Stock)
   ============================================ */

/* Product Header Layout */
.product-header {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 8px;
}

/* Stock Status - DISABLED (werken op bestelling, niet op voorraad) */
/*
.stock-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 500;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}

.status-in-stock {
  color: var(--color-success);
}
.status-in-stock .status-dot {
  background-color: var(--color-success);
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.2);
}

.status-low-stock {
  color: var(--color-warning);
}
.status-low-stock .status-dot {
  background-color: var(--color-warning);
}

.status-out-stock {
  color: var(--color-error);
}
.status-out-stock .status-dot {
  background-color: var(--color-error);
}
*/

/* New Badge */
.badge-new {
  position: absolute;
  top: 10px;
  left: 10px;
  background-color: #236773;
  color: white;
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 600;
  z-index: 10;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Price on Request */
.product-price-hidden {
  font-size: 1rem;
  color: var(--color-text-light);
  font-style: italic;
  display: block;
  margin-bottom: 8px;
}

.product-price-row {
  margin-bottom: 8px;
}

/* ============================================
   TOAST NOTIFICATIONS
   ============================================ */
.toast-notification {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #1a365d;
  color: white;
  padding: 16px 24px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  z-index: 10000;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.3s ease;
}

.toast-notification.show {
  transform: translateY(0);
  opacity: 1;
}

.toast-notification svg {
  width: 24px;
  height: 24px;
  color: #4ade80;
  flex-shrink: 0;
}

.toast-notification span {
  font-size: 0.95rem;
  font-weight: 500;
}

/* ============================================
   LOGIN MODAL POPUP
   ============================================ */
.login-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.login-modal.active {
  display: flex;
}

.login-modal-backdrop {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
}

.login-modal-content {
  position: relative;
  width: 100%;
  max-width: 420px;
  background-color: white;
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-20px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.login-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  border: none;
  background: var(--color-gray-100);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.login-modal-close:hover {
  background: var(--color-gray-200);
}

.login-modal-close svg {
  width: 18px;
  height: 18px;
  color: var(--color-gray-600);
}

.login-modal-header {
  text-align: center;
  margin-bottom: 32px;
}

.login-modal-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #2C5F6F;
  padding: 16px 24px;
  border-radius: 12px;
  margin-bottom: 20px;
}

.login-modal-logo img {
  height: 50px;
  width: auto;
}

.login-modal-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-gray-900);
  margin: 0 0 8px 0;
}

.login-modal-subtitle {
  font-size: 0.9rem;
  color: var(--color-gray-500);
  margin: 0;
}

.login-modal-form .form-group {
  margin-bottom: 20px;
}

.login-modal-form .form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-gray-700);
  margin-bottom: 6px;
}

.password-input-wrapper {
  position: relative;
}

.password-input-wrapper .form-input {
  padding-right: 48px;
}

.password-toggle {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  padding: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gray-500);
  transition: color 0.2s;
}

.password-toggle:hover {
  color: var(--color-primary);
}

.password-toggle svg {
  width: 20px;
  height: 20px;
}

.login-modal-form .form-input {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--color-gray-300);
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.login-modal-form .form-input:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(35, 103, 115, 0.1);
}

.login-modal-form .btn-login {
  width: 100%;
  padding: 14px 24px;
  background: var(--color-primary);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
  margin-top: 8px;
}

.login-modal-form .btn-login:hover {
  background: var(--color-primary-dark);
}

.login-modal-form .btn-login:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.login-modal-footer {
  text-align: center;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--color-gray-200);
}

.login-modal-footer a {
  color: var(--color-primary);
  font-size: 0.875rem;
  text-decoration: none;
}

.login-modal-footer a:hover {
  text-decoration: underline;
}

.login-modal-info {
  text-align: center;
  margin-top: 20px;
  font-size: 0.85rem;
  color: var(--color-gray-500);
}

.login-modal-info a {
  color: var(--color-primary);
  font-weight: 500;
}

.login-modal-alert {
  padding: 12px 16px;
  border-radius: 8px;
  margin-bottom: 20px;
  font-size: 0.875rem;
}

.login-modal-alert.error {
  background: #fef2f2;
  color: #dc2626;
  border: 1px solid #fecaca;
}

.login-modal-alert.success {
  background: #f0fdf4;
  color: #16a34a;
  border: 1px solid #bbf7d0;
}

/* Modal Views - for switching between login/forgot/reset */
.modal-view {
  display: none;
}

.modal-view.active {
  display: block;
}

/* ============================================
   UNIVERSAL PAGE HERO
   Voor: Merken, Industrieën, Blog, Dealer, Over, FAQ, Configurator
   ============================================ */

.page-hero {
  /* Gradient: Light (Top) to Dark (Bottom) */
  background: linear-gradient(180deg, var(--color-primary-light) 0%, var(--color-primary-dark) 100%);
  
  /* Equal padding top & bottom for vertical centering */
  padding: var(--space-20) 0;
  
  margin-top: 0;
  position: relative;
  text-align: center;
}

.page-hero::before {
  /* Subtle pattern overlay */
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 20px 20px;
  opacity: 0.3;
  pointer-events: none;
}

.page-hero .container {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  /* Removed extra padding-top hack, relying on hero padding */
}

/* Breadcrumb Styles within Hero */
.page-hero .breadcrumb {
  justify-content: center;
  margin-bottom: var(--space-6);
  color: rgba(255, 255, 255, 0.7);
}

.page-hero .breadcrumb a {
  color: rgba(255, 255, 255, 0.7);
}

.page-hero .breadcrumb a:hover {
  color: var(--color-white);
}

.page-hero .breadcrumb span {
  color: rgba(255, 255, 255, 0.4);
}

.page-hero .breadcrumb span[aria-current="page"] {
  color: var(--color-white);
  font-weight: 600;
}

/* Layout Grid - Simplified for text-only */
.page-hero-grid {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  width: 100%;
}

.page-hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 900px;
  margin: 0 auto;
}

.page-hero-text {
  width: 100%;
}

/* Typography */
.page-title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 6vw, var(--text-6xl)); /* Slightly larger for impact */
  font-weight: var(--font-black); /* Extra bold */
  line-height: 1.1;
  margin-bottom: var(--space-4);
  color: var(--color-white);
  text-transform: uppercase;
  text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.page-subtitle {
  font-size: var(--text-xl);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  max-width: 700px;
  margin: 0 auto;
  font-weight: var(--font-light);
}

/* Hide media in new design */
.page-hero-media {
  display: none;
}

/* Responsive */
@media (max-width: 768px) {
  .page-hero {
    /* Smaller equal padding for mobile */
    padding: var(--space-12) 0;
  }

  .page-hero .container {
    padding-top: 0;
  }
  
  .page-title {
    font-size: 2.25rem;
  }
  
  .page-subtitle {
    font-size: var(--text-base);
  }
}

/* Key Specs Grid Component */
.key-specs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 8px;
  margin-bottom: 16px;
}

.key-spec-item {
  background: var(--spec-bg);
  padding: 8px;
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.spec-icon {
  color: var(--spec-icon-color);
  display: flex;
  align-items: center;
  margin-bottom: 2px;
}

.spec-label {
  font-size: 0.7rem;
  color: var(--spec-label-color);
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.spec-value {
  font-weight: 600;
  color: var(--spec-value-color);
  font-size: 0.85rem;
}

/* ============================================
   MOBILE CTA PADDING REDUCTION
   ============================================ */
@media (max-width: 640px) {
  .btn-login,
  .login-modal-form .btn-login,
  .btn-primary,
  .btn-secondary,
  .btn,
  button[type="submit"] {
    padding: 10px 16px !important;
  }
  
  .btn-block {
    padding: 12px 16px !important;
  }
}

/* ============================================
   GLOBAL MOBILE RESPONSIVE - NO HORIZONTAL SCROLL
   ============================================ */
@media (max-width: 768px) {
  main,
  section,
  .container,
  .container-fluid {
    max-width: 100vw;
    overflow-x: hidden;
  }
  
  img, video, iframe, embed, object, table {
    max-width: 100%;
  }
  
  h1, h2, h3, h4, h5, h6, p, span, a, li {
    word-break: break-word;
    overflow-wrap: break-word;
  }
  
  .breadcrumb {
    flex-wrap: wrap;
    font-size: 0.8rem;
    gap: 4px;
  }
  
  pre, code {
    overflow-x: auto;
    max-width: 100%;
  }
  
  table {
    display: block;
    overflow-x: auto;
  }
}
