/* ============================================
   RYX Detailing - Professional Design System
   Matching Screenshot Design
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@300;400;500;600;700&family=Roboto:wght@300;400;500;700&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css');
@import url('responsive.css');

:root {
  /* Colors */
  --primary: #e31e24;
  --primary-dark: #c1161b;
  --primary-light: #ff4d52;
  --secondary: #1a1a1a;
  --brand-black: #0a0a0a;
  --brand-dark: #121212;
  --white: #ffffff;

  /* Extreme Contrast Grays */
  --gray-50: #f1f3f5;
  --gray-100: #e9ecef;
  --gray-200: #dee2e6;
  --gray-300: #adb5bd;
  --gray-400: #868e96;
  --gray-500: #495057;
  --gray-600: #343a40;
  --gray-700: #212529;
  --gray-800: #1a1a1a;
  --gray-900: #0a0a0a;
  --gray-950: #000000;

  /* Semantic */
  --success: #2e7d32;
  --info: #0288d1;
  --warning: #ed6c02;
  --danger: #d32f2f;

  /* Surfaces */
  --surface-1: #ffffff;
  --surface-2: #fafafa;
  --surface-glass: rgba(255, 255, 255, 0.7);
  --border-light: rgba(0, 0, 0, 0.08);

  /* Spacing */
  --s-1: 8px;
  --s-2: 16px;
  --s-3: 24px;
  --s-4: 32px;
  --s-5: 40px;
  --s-6: 48px;
  --s-8: 64px;
  --s-10: 80px;
  --s-12: 96px;
  --s-16: 128px;

  /* Typography */
  --font-primary: 'Roboto', sans-serif;
  --font-display: 'Rajdhani', sans-serif;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.12);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 20px rgba(0, 0, 0, 0.15);
  --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.2);

  /* Borders */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-2xl: 24px;
  --radius-full: 9999px;

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  --gradient-dark: linear-gradient(135deg, var(--brand-black) 0%, var(--secondary) 100%);

  /* Layout */
  --header-height: 80px;
  --sidebar-width: 280px;
  --sidebar-collapsed: 80px;
  --max-width: 1400px;

  /* Transitions */
  --transition: 0.3s ease;
}

/* ============================================
   RESET
   ============================================ */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

/* ============================================
   CUSTOM SCROLLBARS (SYSTEM SLIDER)
   ============================================ */

::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: var(--brand-dark);
  border-left: 1px solid rgba(255, 255, 255, 0.05);
}

::-webkit-scrollbar-thumb {
  background: #2a2a2a;
  border-radius: 10px;
  border: 2px solid var(--brand-dark);
  transition: background 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

/* Sidebar Specific Scrollbar Slider */
.sidebar::-webkit-scrollbar {
  width: 4px;
}

.sidebar::-webkit-scrollbar-track {
  background: transparent;
}

.sidebar::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  border: none;
}

.sidebar::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

/* Main Content Scrollbar Slider */
.main-content::-webkit-scrollbar {
  width: 8px;
}

.main-content::-webkit-scrollbar-track {
  background: #f1f1f1;
}

.main-content::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 10px;
  border: 2px solid #f1f1f1;
}

.main-content::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

body {
  font-family: var(--font-primary);
  font-size: 15px;
  line-height: 1.6;
  color: var(--gray-900);
  background: var(--gray-50);
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  width: 100%;
  overflow-x: hidden;
}

main {
  flex: 1;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  color: var(--secondary);
  margin-bottom: var(--s-3);
  text-transform: uppercase;
  letter-spacing: 2px;
}

h1 {
  font-size: 48px;
}

h2 {
  font-size: 36px;
}

h3 {
  font-size: 28px;
}

h4 {
  font-size: 22px;
}

h5 {
  font-size: 18px;
}

h6 {
  font-size: 16px;
}

p {
  margin-bottom: var(--s-3);
  line-height: 1.7;
}

/* ============================================
   HEADER - EXACT MATCH TO SCREENSHOT
   ============================================ */

.public-header {
  height: var(--header-height);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
  background: rgba(10, 10, 10, 0.98);
  backdrop-filter: blur(20px);
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.public-header.scrolled {
  height: 70px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.header-container {
  max-width: 100%;
  /* Changed from var(--max-width) to 100% for extreme left/right */
  margin: 0;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--s-4);
  /* Reduced padding */
  width: 100%;
}

.header-logo {
  margin-right: var(--s-8);
}

.header-logo img {
  height: 55px;
  max-height: 55px;
  width: auto;
  transition: transform 0.3s ease;
  object-fit: contain;
}

.header-nav {
  display: flex;
  gap: var(--s-3);
  align-items: center;
}

.header-nav a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  transition: all 0.3s ease;
  padding: 10px 15px;
  /* Reduced horizontal padding */
  position: relative;
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  background: transparent;
  white-space: nowrap;
  /* Prevent wrapping */
}

.header-nav a:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

.header-nav a.active {
  color: var(--white);
  background: var(--primary);
  border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(227, 30, 36, 0.4);
}

.header-cta {
  display: flex;
  gap: var(--s-2);
  margin-left: auto;
}

.cart-btn {
  background: var(--primary) !important;
  border: 2px solid var(--primary) !important;
  color: white !important;
  padding: 10px 15px !important;
  /* Reduced padding */
  border-radius: var(--radius-sm) !important;
  font-weight: 800 !important;
  display: flex;
  align-items: center;
  gap: 8px;
  /* Reduced gap */
  font-family: var(--font-display);
  letter-spacing: 1.5px;
  transition: all 0.3s ease;
  white-space: nowrap;
  /* Prevent wrapping */
  position: relative;
}

.cart-btn:hover {
  background: var(--primary-dark) !important;
  border-color: var(--primary-dark) !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(227, 30, 36, 0.4);
}

.cart-badge {
  background: var(--white);
  color: var(--primary);
  font-size: 11px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 4px;
  margin-left: 8px;
}

/* Header Button Overrides - Solid Dark with Red Accents */
.public-header .btn-outline,
.public-header .login-btn,
.public-header .logout-btn {
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 1.5px;
  border: 2px solid var(--primary) !important;
  background: var(--brand-black) !important;
  color: var(--white) !important;
  padding: 10px 20px !important;
  font-weight: 800;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  text-transform: uppercase;
}

.public-header .btn-outline:hover,
.public-header .login-btn:hover,
.public-header .logout-btn:hover {
  background: var(--primary) !important;
  color: var(--white) !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(227, 30, 36, 0.4);
}

.public-header .btn-sm {
  padding: 8px 16px !important;
  font-size: 11px;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 24px;
  cursor: pointer;
  padding: var(--s-2);
}

/* ============================================
   BUTTONS - EXACT MATCH
   ============================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-2);
  padding: 12px 28px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  white-space: nowrap;
  transform: skewX(-10deg);
}

.btn>* {
  transform: skewX(10deg);
}

.btn-lg {
  padding: 16px 36px;
  font-size: 15px;
}

.btn-sm {
  padding: 8px 18px;
  font-size: 11px;
}

.btn:hover {
  transform: skewX(-10deg) translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.btn-primary {
  background: var(--gradient-primary);
  color: var(--white);
  border: none;
}

.btn-primary:active {
  transform: skewX(-10deg) translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--secondary);
  border: 2px solid var(--secondary);
}

.btn-outline:hover {
  background: var(--secondary);
  color: var(--white);
  border-color: var(--secondary);
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}

.btn-outline-white:hover {
  background: var(--white);
  color: var(--brand-black);
}

.btn i {
  font-size: 14px;
}

/* Hero Button Style */
.btn-hero {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 40px;
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  transform: skewX(-10deg);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
  position: relative;
  overflow: hidden;
}

.btn-hero>div {
  display: flex;
  align-items: center;
  gap: 12px;
  transform: skewX(10deg);
}

.btn-hero:hover {
  transform: skewX(-10deg) translateY(-5px) scale(1.02) !important;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4) !important;
}

/* Page Header - Global Standardized */
.hero-standard,
.page-header {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--header-height) + var(--s-10)) var(--s-6) var(--s-16);
  background-color: var(--brand-black);
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  margin-bottom: var(--s-1);
}

.hero-standard::before,
.page-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.7) 100%);
  z-index: 1;
}

.hero-standard-content,
.page-header .container {
  position: relative;
  z-index: 2;
  max-width: 900px;
  width: 100%;
  padding: 0 var(--s-4);
}

.hero-standard-title,
.page-header h1 {
  font-size: 4.5rem;
  font-weight: 900;
  color: var(--white);
  margin-bottom: var(--s-4);
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  line-height: 1.1;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: -0.02em;
  font-style: italic;
}

.hero-standard-subtitle,
.page-header p {
  font-size: 1.5rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: var(--s-8);
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  max-width: 750px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
  display: block;
}

/* ============================================
   SIDEBAR
   ============================================ */

.app-layout {
  display: flex;
  flex: 1;
  padding-top: var(--header-height);
}

.sidebar {
  position: fixed;
  left: 0;
  top: 79px;
  /* Slightly overlap header to prevent sub-pixel gaps */
  bottom: 0;
  width: var(--sidebar-width);
  background: #1A1A1A;
  border-right: 1px solid #2A2A2A;
  overflow-y: auto;
  transition: width var(--transition);
  z-index: 900;
}

.sidebar.collapsed {
  width: var(--sidebar-collapsed);
}

.sidebar-header {
  padding: var(--s-4);
  border-bottom: 1px solid #2A2A2A;
}

.sidebar-toggle {
  width: 40px;
  height: 40px;
  border: none;
  background: rgba(227, 30, 36, 0.1);
  color: var(--primary);
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 18px;
  transition: all var(--transition);
}

.sidebar.collapsed .sidebar-header {
  padding: var(--s-4) 0;
  display: flex;
  justify-content: center;
}

.sidebar.collapsed {
  width: 80px !important;
}

.sidebar-toggle:hover {
  background: var(--primary);
  color: var(--white);
}

.sidebar-nav {
  padding: var(--s-3) 0;
}

.sidebar-nav-item {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  padding: var(--s-3) var(--s-4);
  color: var(--gray-400);
  font-weight: 500;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: color 0.2s ease, background 0.2s ease, border-left-color 0.2s ease;
  cursor: pointer;
  text-decoration: none;
  border-left: 3px solid transparent;
}

.sidebar-nav-item:hover {
  background: rgba(227, 30, 36, 0.1);
  color: var(--white);
  border-left-color: var(--primary);
}

.sidebar-nav-item.active {
  background: rgba(227, 30, 36, 0.2);
  color: var(--white);
  border-left-color: var(--primary);
}

.sidebar-nav-item i {
  font-size: 18px;
  width: 24px;
  text-align: center;
}

.sidebar.collapsed .sidebar-nav-item span {
  display: none;
}

.sidebar.collapsed .sidebar-nav-item {
  justify-content: center;
  padding-left: 0;
  padding-right: 0;
  gap: 0;
}

.sidebar.collapsed .sidebar-nav-item i {
  margin: 0;
}

.sidebar-close-mobile {
  display: none;
  background: none;
  border: none;
  color: var(--gray-400);
  font-size: 20px;
  cursor: pointer;
  padding: var(--s-2);
}

@media (max-width: 768px) {
  .sidebar-close-mobile {
    display: block;
    margin-left: auto;
  }

  .sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .sidebar-toggle {
    display: none;
  }
}

/* ============================================
   MAIN CONTENT
   ============================================ */

.main-content {
  flex: 1;
  margin-left: var(--sidebar-width);
  padding: var(--s-6);
  transition: margin-left var(--transition);
  background: var(--gray-50);
}

.sidebar.collapsed~.main-content {
  margin-left: 80px !important;
}

/* Admin Page Header */
.admin-page-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--s-8);
  flex-wrap: wrap;
  gap: var(--s-4);
}

.admin-page-title h1 {
  font-family: var(--font-display);
  font-weight: 900;
  text-transform: uppercase;
  font-size: 2.25rem;
  letter-spacing: -1px;
  line-height: 1;
  margin-bottom: var(--s-2);
  display: flex;
  align-items: center;
  gap: var(--s-3);
  color: var(--brand-black);
}

.admin-page-title h1 i {
  color: var(--primary);
  font-size: 0.8em;
}

.admin-page-title p {
  color: var(--gray-500);
  font-size: 1rem;
}

.admin-page-actions {
  display: flex;
  gap: var(--s-3);
}

/* responsive admin header */
@media (max-width: 768px) {
  .admin-page-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .admin-page-actions {
    width: 100%;
  }
}

.public-content {
  flex: 1;
  padding-top: var(--header-height);
  background: var(--gray-50);
  width: 100%;
}

/* ============================================
   FOOTER
   ============================================ */

.public-footer {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, transparent 40%, transparent 60%, rgba(0, 0, 0, 0.2) 100%),
    linear-gradient(45deg, #1a1a1a 25%, transparent 25%, transparent 75%, #1a1a1a 75%, #1a1a1a),
    linear-gradient(45deg, #1a1a1a 25%, transparent 25%, transparent 75%, #1a1a1a 75%, #1a1a1a);
  background-size: 100% 100%, 4px 4px, 4px 4px;
  background-position: 0 0, 0 0, 2px 2px;
  background-color: #111;
  color: var(--white);
  padding: var(--s-12) 0 var(--s-8);
  margin-top: auto;
  border-top: 2px solid var(--primary);
  position: relative;
  overflow: hidden;
}

.public-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  z-index: 1;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--s-6);
  margin-bottom: var(--s-6);
}

.footer-links ul li {
  margin-bottom: var(--s-2);
}

.footer-links ul li a {
  color: var(--gray-400);
  text-decoration: none;
  font-size: 14px;
  transition: all var(--transition);
}

.footer-links ul li a:hover {
  color: var(--primary);
  padding-left: 5px;
}

.footer-bottom {
  padding-top: var(--s-4);
  margin-top: var(--s-4);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.social-links {
  display: flex;
  gap: var(--s-4);
}

.social-links a {
  color: var(--gray-400);
  font-size: 18px;
  transition: all var(--transition);
}

.social-links a:hover {
  color: var(--white);
  transform: translateY(-3px);
}

/* ============================================
   CONTAINER
   ============================================ */

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--s-6);
}

/* ============================================
   CARDS
   ============================================ */

.card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: var(--s-8);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  margin-bottom: var(--s-8);
  border: 1px solid var(--border-light);
  transition: transform var(--transition), box-shadow var(--transition);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--s-6);
  padding-bottom: var(--s-4);
  border-bottom: 1px solid var(--gray-100);
}

.card-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--secondary);
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: var(--s-2);
}

.card-title i {
  color: var(--primary);
}

/* ============================================
   FORMS
   ============================================ */

.form-group {
  margin-bottom: var(--s-4);
}

.form-label {
  display: block;
  margin-bottom: var(--s-2);
  font-weight: 600;
  color: var(--gray-700);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-control {
  width: 100%;
  padding: var(--s-3);
  font-size: 15px;
  color: var(--gray-800);
  background: var(--white);
  border: 2px solid var(--gray-300);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(227, 30, 36, 0.1);
}

textarea.form-control {
  resize: vertical;
  min-height: 100px;
}

/* ============================================
   BADGES
   ============================================ */

.badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  font-size: 11px;
  font-weight: 700;
  border-radius: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge-primary {
  background: #FEE2E2;
  color: #991B1B;
}

.badge-success {
  background: #D1FAE5;
  color: #065F46;
}

.badge-warning {
  background: #FEF3C7;
  color: #92400E;
}

.badge-danger {
  background: #FEE2E2;
  color: #991B1B;
}

.badge-info {
  background: #DBEAFE;
  color: #1E40AF;
}

.badge-secondary {
  background: var(--gray-200);
  color: var(--gray-700);
}

/* ============================================
   ALERTS
   ============================================ */

.alert {
  padding: var(--s-4) var(--s-5);
  margin-bottom: var(--s-4);
  border-radius: var(--radius-md);
  border-left: 4px solid;
  display: flex;
  align-items: center;
  gap: var(--s-3);
  font-weight: 500;
}

.alert-success {
  background: #D1FAE5;
  border-color: #10B981;
  color: #065F46;
}

.alert-error {
  background: #FEE2E2;
  border-color: #E31E24;
  color: #991B1B;
}

.alert-warning {
  background: #FEF3C7;
  border-color: #F59E0B;
  color: #92400E;
}

.alert-info {
  background: #DBEAFE;
  border-color: #3B82F6;
  color: #1E40AF;
}

/* ============================================
   UTILITIES
   ============================================ */

/* Flexbox */
.flex {
  display: flex;
}

.flex-col {
  flex-direction: column;
}

.items-center {
  align-items: center;
}

.justify-between {
  justify-content: space-between;
}

.justify-center {
  justify-content: center;
}

.justify-end {
  justify-content: flex-end;
}

.gap-1 {
  gap: var(--s-1);
}

.gap-2 {
  gap: var(--s-2);
}

.gap-3 {
  gap: var(--s-3);
}

.gap-4 {
  gap: var(--s-4);
}

.flex-wrap {
  flex-wrap: wrap;
}

.grow {
  flex-grow: 1;
}

/* Spacing - Margins */
.m-0 {
  margin: 0;
}

.mt-0 {
  margin-top: 0;
}

.mb-0 {
  margin-bottom: 0;
}

.mb-1 {
  margin-bottom: var(--s-1);
}

.mb-2 {
  margin-bottom: var(--s-2);
}

.mb-3 {
  margin-bottom: var(--s-3);
}

.mb-4 {
  margin-bottom: var(--s-4);
}

.mb-5 {
  margin-bottom: var(--s-5);
}

.mb-6 {
  margin-bottom: var(--s-6);
}

.mt-1 {
  margin-top: var(--s-1);
}

.mt-2 {
  margin-top: var(--s-2);
}

.mt-3 {
  margin-top: var(--s-3);
}

.mt-4 {
  margin-top: var(--s-4);
}

.mt-5 {
  margin-top: var(--s-5);
}

.mr-1 {
  margin-right: var(--s-1);
}

.mr-2 {
  margin-right: var(--s-2);
}

.mr-3 {
  margin-right: var(--s-3);
}

.mr-4 {
  margin-right: var(--s-4);
}

.ml-auto {
  margin-left: auto;
}

/* Spacing - Padding */
.p-0 {
  padding: 0;
}

.p-1 {
  padding: var(--s-1);
}

.p-2 {
  padding: var(--s-2);
}

.p-3 {
  padding: var(--s-3);
}

.p-4 {
  padding: var(--s-4);
}

.p-5 {
  padding: var(--s-5);
}

.py-1 {
  padding-top: var(--s-1);
  padding-bottom: var(--s-1);
}

.py-2 {
  padding-top: var(--s-2);
  padding-bottom: var(--s-2);
}

.py-3 {
  padding-top: var(--s-3);
  padding-bottom: var(--s-3);
}

.py-4 {
  padding-top: var(--s-4);
  padding-bottom: var(--s-4);
}

.px-1 {
  padding-left: var(--s-1);
  padding-right: var(--s-1);
}

.px-2 {
  padding-left: var(--s-2);
  padding-right: var(--s-2);
}

.px-3 {
  padding-left: var(--s-3);
  padding-right: var(--s-3);
}

.px-4 {
  padding-left: var(--s-4);
  padding-right: var(--s-4);
}

/* Text */
.text-center {
  text-align: center;
}

.text-right {
  text-align: right;
}

.text-white {
  color: var(--white);
}

.text-primary {
  color: var(--primary);
}

.text-secondary {
  color: var(--secondary);
}

.text-success {
  color: #059669;
}

.text-danger {
  color: #dc2626;
}

/* Base Icon Style & Visibility */
i[class*="fa-"] {
  display: inline-block;
  min-width: 1em;
  text-align: center;
  font-style: normal;
  vertical-align: middle;
}

/* Force light icons on all dark surfaces */
.btn-primary i,
.btn-secondary i,
.btn-dark i,
.badge i,
.sidebar i,
.public-footer i,
.card-dark i,
.feature-icon i,
.hero-cta i {
  color: inherit !important;
}

.bg-dark i,
.bg-secondary i {
  color: var(--white) !important;
}

.w-full {
  width: 100%;
}

.h-full {
  height: 100%;
}

/* Premium Utilities */
.glass {
  background: rgba(255, 255, 255, 0.1) !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.text-premium {
  background: linear-gradient(135deg, var(--white) 0%, var(--gray-300) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.shadow-premium {
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12);
}

/* ============================================
   GRID
   ============================================ */

.grid {
  display: grid;
  gap: var(--s-4);
}

.grid-cols-2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid-cols-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-cols-4 {
  grid-template-columns: repeat(4, 1fr);
}

/* ============================================
   TABLES
   ============================================ */

.table-responsive {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  margin-bottom: var(--s-4);
  border: 1px solid var(--gray-200);
}

table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
}

thead {
  background: #1A1A1A;
  color: var(--white);
}

th {
  padding: var(--s-4);
  text-align: left;
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

td {
  padding: var(--s-4);
  border-bottom: 1px solid var(--gray-200);
  color: var(--gray-700);
}

tbody tr {
  transition: background var(--transition);
}

tbody tr:hover {
  background: var(--gray-50);
}

/* ============================================
   UTILITIES
   ============================================ */

.text-center {
  text-align: center;
}

.text-white {
  color: var(--white);
}

.mb-4 {
  margin-bottom: var(--s-4);
}

.mb-5 {
  margin-bottom: var(--s-5);
}

.mt-4 {
  margin-top: var(--s-4);
}

/* ============================================
   LANGUAGE SWITCHER
   ============================================ */

.language-switcher {
  display: flex;
  gap: 4px;
  background: rgba(255, 255, 255, 0.05);
  padding: 4px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.lang-btn {
  padding: 6px 12px;
  background: transparent;
  border: none;
  color: #999;
  font-weight: 700;
  font-size: 11px;
  font-family: var(--font-display);
  letter-spacing: 1px;
  border-radius: 3px;
  cursor: pointer;
  transition: all var(--transition);
}

.lang-btn:hover {
  background: rgba(227, 30, 36, 0.2);
  color: var(--white);
}

.lang-btn.active {
  background: var(--primary);
  color: var(--white);
}

/* ============================================
   SPINNER
   ============================================ */

.spinner {
  border: 3px solid var(--gray-200);
  border-top: 3px solid var(--primary);
  border-radius: 50%;
  width: 48px;
  height: 48px;
  animation: spin 0.8s linear infinite;
  margin: 0 auto;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Dashboard Stat Cards */
.dashboard-stat-card {
  color: white;
  border: none;
  min-height: 120px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.stat-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.stat-label {
  opacity: 0.9;
  margin-bottom: var(--s-1);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}

.stat-value {
  color: white;
  font-size: 32px;
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
}

.stat-icon {
  font-size: 40px;
  opacity: 0.25;
}

.stat-users {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.stat-appointments {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.stat-orders {
  background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.stat-revenue {
  background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

/* ============================================
   MOBILE NAVIGATION (Hidden by Default)
   ============================================ */

.mobile-nav-overlay,
.mobile-nav,
.mobile-menu-toggle {
  display: none;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 1024px) {
  .grid-cols-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-cols-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .header-nav {
    display: none;
  }

  .mobile-menu-toggle {
    display: block;
  }

  .sidebar {
    transform: translateX(-100%);
  }

  .sidebar.open {
    transform: translateX(0);
  }

  .main-content {
    margin-left: 0;
    padding: var(--s-4);
  }

  .grid-cols-4,
  .grid-cols-3,
  .grid-cols-2 {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   MODALS - SYSTEM WIDE
   ============================================ */
.modal {
  display: none;
  position: fixed;
  z-index: 20000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  animation: fadeIn 0.3s ease;
  padding-top: 30px;
}

.modal-content {
  background-color: #ffffff;
  margin: 5vh auto;
  padding: 0;
  border-radius: var(--radius-xl);
  width: 95%;
  max-width: 650px;
  box-shadow: 0 40px 100px -20px rgba(0, 0, 0, 0.5);
  animation: slideDown 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: visible;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--brand-black);
  position: relative;
}

.modal-header {
  padding: var(--s-5) var(--s-6);
  background: var(--brand-black);
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid var(--primary);
}

.modal-header h2,
.modal-header h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 1.25rem;
  color: white !important;
}

/* Floating close bubble — sits above the top-right corner of the modal */
.modal-content>.close,
.modal-header .close {
  position: absolute;
  top: -18px;
  right: -18px;
  width: 40px;
  height: 40px;
  background: var(--brand-black);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 900;
  cursor: pointer;
  transition: all 0.2s ease;
  line-height: 1;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
  z-index: 100;
  border: 2px solid rgba(255, 255, 255, 0.25);
  flex-shrink: 0;
  user-select: none;
}

.modal-content>.close:hover,
.modal-header .close:hover {
  background: var(--primary);
  transform: rotate(90deg) scale(1.1);
  box-shadow: 0 8px 24px rgba(227, 30, 36, 0.5);
}

.modal-body,
.modal form {
  padding: var(--s-6);
  color: var(--brand-black);
}

.modal-body p,
.modal form p {
  color: var(--gray-700);
}

.modal-footer {
  padding: var(--s-4) var(--s-6);
  background: var(--gray-50);
  border-top: 1px solid var(--gray-200);
  display: flex;
  justify-content: flex-end;
  gap: var(--s-3);
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes slideDown {
  from {
    transform: translateY(-40px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* responsive modal height */
@media (max-width: 768px) {
  .modal {
    padding: 0 !important;
  }

  .modal-content {
    margin: 1vh auto !important;
    width: 98% !important;
    max-width: 98% !important;
    max-height: 98vh !important;
    overflow-y: auto;
    border-radius: var(--radius-md) !important;
  }

  .modal-header {
    padding: var(--s-3) var(--s-4) !important;
  }

  .modal-header h2,
  .modal-header h3 {
    font-size: 1rem !important;
  }

  .modal-header .close {
    font-size: 24px !important;
  }

  /* Force single column for all grids in modals */
  .modal form .grid,
  .modal .grid,
  .modal form .grid.grid-cols-2,
  .modal .grid.grid-cols-2,
  .modal form .grid.grid-cols-3,
  .modal .grid.grid-cols-3 {
    grid-template-columns: 1fr !important;
    gap: 0 !important;
  }

  .modal-body,
  .modal form {
    padding: var(--s-3) var(--s-4) !important;
  }

  .form-group {
    margin-bottom: var(--s-3) !important;
  }

  .form-control {
    font-size: 16px !important;
    /* Prevents zoom on iOS */
    padding: var(--s-2) var(--s-3) !important;
  }

  .btn-block {
    width: 100% !important;
    padding: var(--s-3) !important;
  }

  /* Ensure modal footer buttons stack */
  .modal-footer {
    flex-direction: column !important;
    gap: var(--s-2) !important;
  }

  .modal-footer .btn {
    width: 100% !important;
  }
}

/* ============================================
   ADMIN TABS SYSTEM
   ============================================ */
.admin-tabs {
  display: flex;
  gap: 0.5rem;
  background: #f3f4f6;
  padding: 0.25rem;
  border-radius: 0.75rem;
  width: fit-content;
  margin-bottom: var(--s-6);
}

.admin-tab {
  padding: 0.625rem 1.25rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gray-600);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
}

.admin-tab i {
  font-size: 1rem;
}

.admin-tab.active {
  background: var(--white);
  color: var(--primary);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.admin-tab:hover:not(.active) {
  background: rgba(255, 255, 255, 0.5);
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
  animation: fadeInTab 0.3s ease;
}

@keyframes fadeInTab {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================================
   CUSTOMER PORTAL STYLES
   ============================================ */

.appointments-container,
.orders-container,
.details-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--s-16) var(--s-6);
}

/* Common Components */
.premium-card {
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: var(--s-8);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.status-pill {
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  border: 1px solid currentColor;
  min-width: 120px;
  text-align: center;
  display: inline-block;
}

/* Status variants used across customer/public */
.status-new,
.status-info {
  border-color: var(--info);
  color: var(--info);
}

.status-completed,
.status-success {
  border-color: #10B981;
  color: #10B981;
}

.status-cancelled,
.status-danger {
  border-color: var(--danger);
  color: var(--danger);
}

.status-pending,
.status-warning {
  border-color: var(--warning);
  color: var(--warning);
}

/* Form Overrides - Now for Light Theme */
.appointments-container .form-control,
.orders-container .form-control,
.details-container .form-control,
.modal-content .form-control,
.public-content .form-control {
  background: white;
  border: 1px solid var(--gray-200);
  color: var(--gray-900);
  padding: 12px 16px;
  border-radius: var(--radius-md);
  font-size: 14px;
  transition: all 0.3s ease;
}

.appointments-container .form-control:focus,
.orders-container .form-control:focus,
.details-container .form-control:focus,
.modal-content .form-control:focus,
.public-content .form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(227, 30, 36, 0.1);
  outline: none;
}

.appointments-container .form-label,
.orders-container .form-label,
.details-container .form-label,
.modal-content .form-label,
.public-content .form-label {
  display: block;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
  color: var(--gray-700);
}

/* Heading & Text Color Overrides for Dark Backgrounds */
.public-content[style*="background: var(--brand-dark)"] h1,
.public-content[style*="background: var(--brand-dark)"] h2,
.public-content[style*="background: var(--brand-dark)"] h3,
.public-content[style*="background: var(--brand-dark)"] .section-header h2,
.public-content[style*="background: var(--brand-dark)"] .empty-state h2 {
  color: var(--white);
}

.public-content[style*="background: var(--brand-dark)"] p,
.public-content[style*="background: var(--brand-dark)"] .empty-state p {
  color: var(--gray-400);
}

/* Appointments Page Specific */
.section-split {
  display: grid;
  grid-template-columns: 350px 1fr;
  gap: var(--s-10);
  align-items: start;
}

@media (max-width: 1024px) {
  .section-split {
    grid-template-columns: 1fr;
  }
}

.vehicle-item {
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: var(--s-4);
  margin-bottom: var(--s-4);
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
}

.vehicle-item:hover {
  border-color: var(--primary);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transform: translateX(5px);
}

.vehicle-info h4 {
  font-size: 1.1rem;
  color: var(--brand-black);
  margin: 0;
  letter-spacing: 1px;
}

.vehicle-info span {
  font-size: 0.8rem;
  color: var(--gray-600);
  text-transform: uppercase;
  font-weight: 700;
}

.booking-row {
  background: white;
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  margin-bottom: var(--s-4);
  padding: var(--s-6);
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.booking-row:hover {
  border-color: var(--primary);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.booking-date {
  min-width: 150px;
}

.booking-date .day {
  font-size: 1.5rem;
  font-weight: 800;
  font-family: var(--font-display);
  color: var(--primary);
  line-height: 1;
}

.booking-date .month {
  font-size: 0.9rem;
  color: var(--gray-600);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.booking-details {
  flex: 1;
  padding: 0 var(--s-6);
}

.booking-details h3 {
  font-size: 1.2rem;
  margin: 0;
  color: var(--brand-black);
}

.booking-details p {
  color: var(--primary);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.8rem;
  margin: 0;
  letter-spacing: 1px;
}

/* Orders Page Specific */
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--s-10);
  border-bottom: 2px solid rgba(255, 255, 255, 0.05);
  padding-bottom: var(--s-4);
}

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 0;
  display: flex;
  align-items: center;
  gap: var(--s-4);
}

.order-card {
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  padding: var(--s-8);
  margin-bottom: var(--s-4);
  display: grid;
  grid-template-columns: auto 1fr auto auto auto;
  align-items: center;
  gap: var(--s-8);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.order-card:hover {
  background: white;
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.order-icon {
  width: 50px;
  height: 50px;
  background: rgba(227, 30, 36, 0.1);
  color: var(--primary);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.order-info h3 {
  font-size: 1.2rem;
  color: var(--brand-black);
  margin-bottom: 4px;
  font-family: var(--font-display);
  text-transform: uppercase;
  font-style: italic;
  font-weight: 900;
}

.order-info p {
  font-size: 0.8rem;
  color: var(--gray-500);
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.order-total {
  text-align: right;
  min-width: 120px;
}

.order-total .label {
  font-size: 0.7rem;
  color: var(--gray-500);
  text-transform: uppercase;
  font-weight: 800;
  display: block;
  margin-bottom: 2px;
  letter-spacing: 0.1em;
}

.order-total .value {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--primary);
  font-style: italic;
}

.order-status {
  min-width: 140px;
  text-align: center;
}

.empty-state {
  padding: var(--s-16);
  text-align: center;
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-2xl);
  max-width: 800px;
  margin: var(--s-12) auto;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.empty-state i {
  font-size: 5rem;
  color: var(--gray-200);
  margin-bottom: var(--s-6);
}

.empty-state h2 {
  font-size: 2.5rem;
  margin-bottom: var(--s-4);
}

.empty-state p {
  color: var(--gray-400);
  font-size: 1.1rem;
  margin-bottom: var(--s-8);
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 992px) {
  .order-card {
    grid-template-columns: auto 1fr auto;
    gap: var(--s-4);
  }

  .order-status,
  .order-total {
    grid-row: 2;
    text-align: left;
    min-width: 0;
  }

  .order-card .btn {
    grid-row: 1 / span 2;
    grid-column: 3;
  }
}

/* Page Header Overrides for Customer Portal */
.public-content[style*="background: var(--brand-dark)"] .page-header {
  margin-bottom: 0;
}

/* Order Details Specific */
.order-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: var(--s-12);
  background: white;
  padding: var(--s-10);
  border-left: 6px solid var(--primary);
  border-radius: 4px 20px 20px 4px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--gray-200);
}

.order-title h1 {
  font-size: 3.5rem;
  margin: 0;
  color: var(--brand-black);
  font-family: var(--font-display);
  font-weight: 900;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: -2px;
  line-height: 0.9;
}

.order-title p {
  color: var(--gray-500);
  font-size: 0.8rem;
  margin: 10px 0 0;
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: 0.2em;
}

.status-badge {
  padding: 10px 30px;
  border-radius: 4px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 0.9rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  border: 1px solid var(--gray-200);
  background: var(--gray-50);
  color: var(--brand-black);
}

.details-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: var(--s-10);
}

@media (max-width: 1024px) {
  .details-grid {
    grid-template-columns: 1fr;
  }
}

.items-card {
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.item-row {
  display: grid;
  grid-template-columns: 80px 1fr auto auto;
  align-items: center;
  padding: var(--s-8);
  border-bottom: 1px solid var(--gray-100);
  gap: var(--s-8);
  transition: background 0.3s ease;
}

.item-row:hover {
  background: var(--gray-50);
}

.item-img {
  width: 80px;
  height: 80px;
  background: #000;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid #333;
}

.item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.item-info h4 {
  font-size: 1.2rem;
  color: var(--brand-black);
  margin: 0;
  font-family: var(--font-display);
  text-transform: uppercase;
  font-weight: 800;
  font-style: italic;
}

.item-info p {
  font-size: 0.8rem;
  color: var(--gray-500);
  margin: 4px 0 0;
  font-weight: 700;
}

.item-price {
  font-family: var(--font-display);
  font-weight: 900;
  color: var(--primary);
  font-size: 1.4rem;
  font-style: italic;
}

.summary-card {
  background: white;
  border: 2px solid var(--primary);
  border-radius: 20px;
  padding: var(--s-8);
  height: fit-content;
  position: sticky;
  top: 100px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
}

.summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: var(--s-4);
  color: var(--gray-400);
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.summary-row.total {
  margin-top: var(--s-8);
  padding-top: var(--s-8);
  border-top: 2px solid var(--gray-100);
  color: var(--brand-black);
  font-weight: 900;
  font-size: 2.2rem;
  font-family: var(--font-display);
  font-style: italic;
}

.info-section {
  margin-top: var(--s-10);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-6);
}

.info-card {
  background: white;
  border: 1px solid var(--gray-200);
  padding: var(--s-8);
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.info-card h5 {
  font-size: 0.7rem;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: var(--s-4);
  font-weight: 900;
}

.info-card p {
  color: var(--gray-900);
  margin: 0;
  line-height: 1.6;
  font-weight: 600;
  font-size: 0.95rem;
}


/* Standardized High-Impact CTA */
.cta-vibrant {
  background-color: var(--primary);
  background-image: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  padding: var(--s-16) 0;
  position: relative;
  text-align: center;
  color: white;
  overflow: hidden;
  border-top: 4px solid rgba(255, 255, 255, 0.2);
}

.cta-vibrant::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('data:image/svg+xml,<svg width="10" height="10" viewBox="0 0 10 10" xmlns="http://www.w3.org/2000/svg"><circle cx="1" cy="1" r="0.8" fill="white" fill-opacity="0.05"/></svg>');
  pointer-events: none;
}

.cta-vibrant h2 {
  color: white !important;
  font-size: 3.5rem;
  margin-bottom: var(--s-4);
  font-style: italic;
  font-weight: 900;
}

.cta-vibrant p {
  font-size: 1.5rem;
  margin-bottom: var(--s-12);
  color: rgba(255, 255, 255, 0.9) !important;
}

@media (max-width: 768px) {
  .cta-vibrant {
    padding: var(--s-12) var(--s-4);
  }

  .cta-vibrant h2 {
    font-size: 2.25rem;
  }

  .cta-vibrant p {
    font-size: 1.1rem;
  }
}

/* End of Design System */

/* ============================================
   PREMIUM STORE UPGRADE - INDUSTRIAL STYLE
   ============================================ */

.store-banners-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: repeat(2, 200px);
  gap: 20px;
  margin-bottom: 40px;
}

.banner-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background-size: cover;
  background-position: center;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.banner-item:hover {
  transform: scale(1.02);
}

.banner-item.large {
  grid-row: span 2;
}

.banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
}

.banner-tag {
  background: #28a745;
  color: white;
  padding: 4px 12px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  width: fit-content;
  margin-bottom: 8px;
  transform: skewX(-15deg);
}

.banner-tag span {
  transform: skewX(15deg);
  display: block;
}

.banner-title {
  color: white;
  font-size: 24px;
  font-weight: 900;
  margin: 0;
  font-family: var(--font-display);
  font-style: italic;
}

.banner-subtitle {
  color: rgba(255, 255, 255, 0.8);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

/* Section Dividers with Blue Marker */
.store-section-title {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 30px;
  border-left: 6px solid #0056b3;
  /* Blue Marker from Image 1 */
  padding-left: 20px;
  margin-top: 40px;
}

.store-section-title h2 {
  margin: 0;
  font-size: 28px;
  font-weight: 900;
  color: var(--brand-black);
}

/* Premium Product Cards */
.bestsellers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 24px;
  margin-bottom: 60px;
}

.premium-product-card {
  background: white;
  border: 1px solid #eee;
  padding: 20px;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  margin-top: 8px;
}

.premium-product-card:hover {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  border-color: #ddd;
}

.premium-product-image {
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.premium-product-image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.premium-product-info {
  flex: 1;
}

.premium-category {
  font-size: 10px;
  font-weight: 800;
  color: #888;
  text-transform: uppercase;
  margin-bottom: 5px;
}

.premium-title {
  font-size: 13px;
  font-weight: 800;
  color: var(--brand-black);
  margin-bottom: 15px;
  min-height: 40px;
}

.premium-pricing {
  font-size: 12px;
  font-weight: 700;
  color: var(--brand-black);
  margin-bottom: 20px;
}

.premium-pricing .excl {
  color: #888;
  font-weight: 500;
  margin-left: 8px;
}

.btn-bekijk {
  background: #28a745;
  color: white;
  border: none;
  padding: 8px 16px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  width: fit-content;
  cursor: pointer;
  transition: background 0.3s ease;
  text-decoration: none;
}

.btn-bekijk:hover {
  background: #218838;
}

/* Category Grid */
.category-banners-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.category-banner {
  height: 300px;
}

/* Product Detail Page Specifics */
.product-detail-container {
  padding: 60px 0;
}

.product-gallery {
  background: white;
  border: 1px solid #eee;
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-lg);
}

.product-gallery img {
  max-width: 100%;
  height: auto;
}

.product-info-wrap {
  padding-left: 40px;
}

.breadcrumb {
  font-size: 11px;
  font-weight: 700;
  color: #888;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.breadcrumb a {
  color: #0056b3;
  text-decoration: none;
}

.product-detail-title {
  font-size: 32px;
  font-weight: 900;
  color: var(--brand-black);
  margin-bottom: 20px;
}

.price-box {
  margin-bottom: 30px;
}

.main-price {
  font-size: 24px;
  font-weight: 900;
  color: var(--brand-black);
}

.excl-price {
  font-size: 18px;
  font-weight: 700;
  color: #888;
  display: block;
}

.purchase-row {
  display: flex;
  gap: 15px;
  margin-bottom: 30px;
  align-items: center;
}

.quantity-picker {
  display: flex;
  border: 1px solid #ddd;
  border-radius: 4px;
  overflow: hidden;
}

.quantity-picker button {
  border: none;
  background: #f8f9fa;
  padding: 8px 12px;
  cursor: pointer;
}

.quantity-picker input {
  width: 60px;
  border: none;
  border-left: 1px solid #ddd;
  border-right: 1px solid #ddd;
  text-align: center;
  font-weight: 700;
}

.btn-add-cart {
  background: #28a745;
  color: white;
  border: none;
  padding: 12px 30px;
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  flex: 1;
  cursor: pointer;
}

.product-trust-badges {
  margin-top: 30px;
  border-top: 1px solid #eee;
  padding-top: 20px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: #28a745;
  font-weight: 700;
  margin-bottom: 10px;
}

.description-section {
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid #eee;
  background: #f9f9f9;
  padding: 40px;
}

.description-section h3 {
  margin-bottom: 30px;
}

@media (max-width: 992px) {
  .store-banners-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .banner-item.large {
    grid-row: auto;
    height: 300px;
  }

  .product-info-wrap {
    padding-left: 0;
    margin-top: 40px;
  }

  .category-banners-grid {
    grid-template-columns: 1fr;
  }
}