@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
  /* Color Palette - Premium 2RTECH Teal/Cyan Industrial Theme */
  --primary: #0E8388;
  --primary-hover: #00ADB5;
  --primary-dark: #072E33;
  --primary-bg: #0F1A1C;
  --secondary-bg: #2E4F4F;
  --bg-light: #F0F4F5;
  --bg-white: #FFFFFF;
  --text-dark: #0F1A1C;
  --text-light: #F0F4F5;
  --text-muted: #537A7A;
  --text-muted-dark: #8FB0B0;
  --border-color: rgba(14, 131, 136, 0.15);
  --border-color-light: #D5E2E2;
  
  --success: #10B981;
  --warning: #F59E0B;
  --danger: #EF4444;
  
  --max-width: 1280px;
  
  --radius-lg: 16px;
  --radius-md: 10px;
  --radius-sm: 6px;
  
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.05), 0 1px 2px rgba(0,0,0,0.1);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.05), 0 2px 4px -1px rgba(0,0,0,0.05);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.03);
  --shadow-premium: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  
  --font-primary: 'Outfit', sans-serif;
  --font-secondary: 'Inter', sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: var(--font-secondary);
}

body {
  background-color: var(--bg-light);
  color: var(--text-dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-primary);
  font-weight: 700;
  color: var(--text-dark);
}

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

ul {
  list-style: none;
}

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

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-light);
}
::-webkit-scrollbar-thumb {
  background: #CBD5E1;
  border-radius: var(--radius-sm);
}
::-webkit-scrollbar-thumb:hover {
  background: #94A3B8;
}

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

@keyframes slideInRight {
  from { transform: translateX(100%); }
  to { transform: translateX(0); }
}

@keyframes pulseBorder {
  0% { box-shadow: 0 0 0 0 rgba(0, 141, 218, 0.4); }
  70% { box-shadow: 0 0 0 10px rgba(0, 141, 218, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 141, 218, 0); }
}

.animate-fade-in {
  animation: fadeIn var(--transition-normal) forwards;
}

/* General Layout Utilities */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.grid-cols-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.grid-cols-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

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

@media (max-width: 768px) {
  .grid-cols-2, .grid-cols-3 {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .container {
    padding: 0 16px;
  }
}

/* Premium Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  font-family: var(--font-primary);
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
  border: none;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--text-light);
  box-shadow: 0 4px 14px rgba(0, 141, 218, 0.4);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 141, 218, 0.5);
}

.btn-secondary {
  background-color: var(--secondary-bg);
  color: var(--text-light);
  border: 1px solid var(--border-color);
}

.btn-secondary:hover {
  background-color: #274C77;
  transform: translateY(-2px);
}

.btn-outline {
  background-color: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-outline:hover {
  background-color: var(--primary);
  color: var(--text-light);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.9rem;
}

/* Section Title Utility */
.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-tag {
  font-family: var(--font-primary);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--primary);
  margin-bottom: 12px;
  display: block;
}

.section-title {
  font-size: 2.2rem;
  color: var(--text-dark);
  position: relative;
  display: inline-block;
  padding-bottom: 12px;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background-color: var(--primary);
  border-radius: 2px;
}

/* Form Styles */
.form-group {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-label {
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-dark);
}

.form-input, .form-select, .form-textarea {
  padding: 12px 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color-light);
  background-color: var(--bg-white);
  transition: all var(--transition-fast);
  color: var(--text-dark);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 141, 218, 0.15);
}

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

/* ─── Responsive: New Sections ─── */
@media (max-width: 768px) {
  /* Stats grid: 2 cols on mobile */
  .stats-grid-inner {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  /* Quote banner: single column */
  .quote-grid-inner {
    grid-template-columns: 1fr !important;
  }

  /* Appointment booking calendar: stack */
  .appt-date-time-grid {
    grid-template-columns: 1fr !important;
  }

  /* Blog section: 1 col */
  .blog-grid {
    grid-template-columns: 1fr !important;
  }

  /* Document center: 1 col */
  .doc-grid {
    grid-template-columns: 1fr !important;
  }
}

/* Scroll Animations */
.reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.reveal.fade-left {
  transform: translateX(-50px);
}
.reveal.fade-right {
  transform: translateX(50px);
}
.reveal.fade-left.active, .reveal.fade-right.active {
  transform: translateX(0);
}

.reveal.delay-100 { transition-delay: 0.1s; }
.reveal.delay-200 { transition-delay: 0.2s; }
.reveal.delay-300 { transition-delay: 0.3s; }

/* ━━━ Brands Scrolling Marquee ━━━ */
.marquee-container {
  overflow: hidden;
  position: relative;
  width: 100%;
  padding: 30px 0;
  background-color: transparent;
  display: flex;
  align-items: center;
}

/* Gradient fade masks on both sides for premium look */
.marquee-container::before,
.marquee-container::after {
  content: '';
  position: absolute;
  top: 0;
  width: 140px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.marquee-container::before {
  left: 0;
  background: linear-gradient(to right, #F8FAFC 0%, rgba(248, 250, 252, 0) 100%);
}

.marquee-container::after {
  right: 0;
  background: linear-gradient(to left, #F8FAFC 0%, rgba(248, 250, 252, 0) 100%);
}

/* For white background marquee sections */
.marquee-container.bg-white::before {
  background: linear-gradient(to right, #FFFFFF 0%, rgba(255, 255, 255, 0) 100%) !important;
}
.marquee-container.bg-white::after {
  background: linear-gradient(to left, #FFFFFF 0%, rgba(255, 255, 255, 0) 100%) !important;
}

.marquee-content {
  display: flex;
  gap: 24px;
  width: max-content;
  animation: marquee-scroll 75s linear infinite;
}


.marquee-content:hover {
  animation-play-state: paused;
}

@keyframes marquee-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.brand-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 18px 36px;
  background-color: var(--brand-bg, #FFFFFF);
  border: 1.5px solid var(--brand-border, rgba(14, 131, 136, 0.08));
  border-radius: 50px;
  font-family: var(--font-primary);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--brand-color, var(--primary-dark));
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03);
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  user-select: none;
}

.brand-badge:hover {
  transform: translateY(-4px) scale(1.06);
  background-color: #FFFFFF;
  border-color: var(--brand-color, var(--primary));
  color: var(--brand-color, var(--primary));
  box-shadow: 0 10px 22px rgba(14, 131, 136, 0.18);
}

/* ━━━ Image Zoom Lightbox ━━━ */
.lightbox-backdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(8, 18, 22, 0.95);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  user-select: none;
  overflow: hidden;
}

.lightbox-content {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.lightbox-image-container {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
  will-change: transform;
}

.lightbox-image {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  border-radius: 8px;
  user-select: none;
  pointer-events: auto;
}

/* Floating control bar in Lightbox */
.lightbox-toolbar {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(14, 131, 136, 0.15);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(14, 131, 136, 0.25);
  border-radius: 50px;
  padding: 10px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  z-index: 2010;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  animation: fadeIn 0.3s ease;
}

.lightbox-btn {
  background: transparent;
  border: none;
  color: #FFFFFF;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.lightbox-btn:hover {
  background: var(--primary);
  color: #FFFFFF;
  transform: scale(1.1);
}

.lightbox-btn-close {
  background: rgba(239, 68, 68, 0.2);
  border: 1px solid rgba(239, 68, 68, 0.4);
}

.lightbox-btn-close:hover {
  background: #EF4444;
}

.detail-image-wrapper img {
  cursor: zoom-in;
  transition: opacity 0.2s ease;
}

.detail-image-wrapper img:hover {
  opacity: 0.92;
}



/* ==========================================
   SITE HEADER STYLING
   ========================================== */
.app-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.main-content-layout {
  flex-grow: 1;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
  background-color: var(--bg-white);
}

/* ── TopBar: hidden (removed from header) ── */
.header-topbar { display: none; }

.lang-switcher {
  background: transparent;
  border: 1px solid var(--border-color);
  color: var(--text-light);
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  transition: all var(--transition-fast);
}

.lang-switcher:hover {
  background-color: var(--secondary-bg);
  border-color: var(--primary);
}

.desktop-lang-switcher {
  color: var(--primary-bg) !important;
  border: 1.5px solid var(--border-color) !important;
  padding: 6px 12px !important;
  border-radius: 30px !important;
  font-weight: 600;
  transition: all var(--transition-fast);
}

.desktop-lang-switcher:hover {
  background-color: var(--primary-bg) !important;
  border-color: var(--primary) !important;
  color: var(--text-light) !important;
}

@media (max-width: 992px) {
  .desktop-lang-switcher {
    display: none !important;
  }
}


.header-mainbar {
  padding: 16px 0;
  border-bottom: 1px solid var(--border-color-light);
}

.mainbar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

/* Logo */
.logo-container {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  font-family: var(--font-primary);
  cursor: pointer;
  user-select: none;
  text-decoration: none;
}

.logo-accent {
  font-size: 1.7rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-hover) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -1px;
}

.logo-text {
  font-size: 1.7rem;
  font-weight: 900;
  color: var(--primary-bg);
  letter-spacing: -0.5px;
}

.logo-container.light .logo-text {
  color: var(--text-light);
}

/* Search Box */
.header-search-form {
  flex-grow: 1;
  max-width: 450px;
  display: flex;
  position: relative;
}

.search-input {
  width: 100%;
  padding: 10px 48px 10px 18px;
  border-radius: 30px;
  border: 1px solid #CBD5E1;
  background-color: #F1F5F9;
  font-size: 0.9rem;
  transition: all var(--transition-fast);
}

.search-input:focus {
  background-color: var(--bg-white);
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 141, 218, 0.15);
}

.search-btn {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  background-color: var(--primary);
  color: var(--text-light);
  border: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.search-btn:hover {
  background-color: var(--primary-hover);
}

/* Nav */
.desktop-nav {
  display: flex;
  gap: 24px;
}

.nav-link {
  background: none;
  border: none;
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--text-muted);
  cursor: pointer;
  padding: 8px 14px;
  border-radius: var(--radius-md);
  position: relative;
  transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  display: inline-block;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 18px;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--primary-hover));
  border-radius: 2px;
  transition: transform 0.22s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link:hover {
  color: var(--primary);
  background: rgba(14,131,136,0.06);
}

.nav-link:hover::after {
  transform: translateX(-50%) scaleX(1);
}

.nav-link.active {
  color: var(--primary);
  background: rgba(14,131,136,0.08);
}

.nav-link.active::after {
  transform: translateX(-50%) scaleX(1);
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.cart-trigger {
  background: none;
  border: none;
  color: var(--primary-bg);
  cursor: pointer;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
  border-radius: 50%;
  transition: background var(--transition-fast);
}

.cart-trigger:hover {
  background-color: #F1F5F9;
}

.cart-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  background: linear-gradient(135deg, var(--primary), var(--primary-hover));
  color: #fff;
  font-size: 0.65rem;
  font-weight: 800;
  font-family: var(--font-primary);
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(14,131,136,0.4);
  border: 2px solid var(--bg-white);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--primary-bg);
  cursor: pointer;
}

/* Mobile Drawer */
.mobile-nav-drawer {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background-color: var(--bg-white);
  box-shadow: var(--shadow-lg);
  padding: 20px;
  border-bottom: 2px solid var(--primary);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mobile-search-form {
  display: flex;
  position: relative;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.mobile-nav-link {
  background: none;
  border: none;
  text-align: left;
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 1.1rem;
  padding: 8px 0;
  border-bottom: 1px solid var(--border-color-light);
  cursor: pointer;
}

.mobile-nav-link.active {
  color: var(--primary);
}

.mobile-lang-switcher {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #F1F5F9;
  border: none;
  padding: 10px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  cursor: pointer;
}

@media (max-width: 992px) {
  .desktop-nav, .header-search-form {
    display: none;
  }
  .mobile-menu-btn {
    display: flex;
  }
}


/* ==========================================
   HOME PAGE STYLING
   ========================================== */
/* Hero */
.hero-section {
  background: linear-gradient(rgba(15, 26, 28, 0.85), rgba(15, 26, 28, 0.85)), url('/image.svg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--text-light);
  padding: 96px 0 120px;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0,141,218,0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-content {
  max-width: 700px;
  animation: fadeIn 0.8s ease-out;
}

.hero-title {
  font-size: 3.4rem;
  line-height: 1.15;
  color: var(--text-light);
  margin-bottom: 20px;
  font-weight: 800;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-muted-dark);
  margin-bottom: 32px;
  line-height: 1.5;
}

.hero-badges {
  display: flex;
  gap: 16px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.hero-badge-item {
  display: flex;
  align-items: center;
  gap: 6px;
  background-color: rgba(255, 255, 255, 0.08);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-badge-item svg {
  color: var(--primary);
}

.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .hero-section {
    padding: 60px 0 80px;
  }
  .hero-title {
    font-size: 2.2rem;
  }
  .hero-subtitle {
    font-size: 1.1rem;
  }
}

/* Service Cards */
.services-section {
  padding: 80px 0;
  background-color: var(--bg-light);
}

.service-card {
  background-color: var(--bg-white);
  padding: 40px 32px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  border: 1px solid #F1F5F9;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-premium);
  border-color: rgba(0, 141, 218, 0.2);
}

.service-icon-wrapper {
  background-color: rgba(0, 141, 218, 0.1);
  color: var(--primary);
  width: 70px;
  height: 70px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  transition: all var(--transition-fast);
}

.service-card:hover .service-icon-wrapper {
  background-color: var(--primary);
  color: var(--text-light);
  transform: scale(1.05);
}

.service-card-title {
  font-size: 1.4rem;
  margin-bottom: 12px;
}

.service-card-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 24px;
  flex-grow: 1;
}

.service-card-link {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  color: var(--primary);
  font-size: 0.85rem;
  text-transform: uppercase;
}

/* Slogan Banner */
.slogan-banner {
  background-color: var(--primary-bg);
  color: var(--text-light);
  padding: 80px 0;
}

.slogan-container {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 60px;
  align-items: center;
}

.slogan-visual {
  display: flex;
  justify-content: center;
}

.slogan-badge-glow {
  background: radial-gradient(circle, #1E3E62 0%, #0B192C 100%);
  border: 2px solid var(--primary);
  border-radius: 50%;
  width: 200px;
  height: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 30px rgba(0, 141, 218, 0.2);
  animation: pulseBorder 2s infinite;
}

.slogan-badge-glow svg {
  color: var(--primary);
  margin-bottom: 8px;
}

.slogan-badge-glow span {
  font-family: var(--font-primary);
  font-size: 1.8rem;
  font-weight: 800;
}

.slogan-badge-glow small {
  font-size: 0.75rem;
  letter-spacing: 2px;
  color: var(--text-muted-dark);
}

.slogan-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.why-2rtech-bullets {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 16px 0;
  width: 100%;
}

.why-bullet-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.05rem;
  color: var(--text-muted-dark);
}

.bullet-icon-wrapper {
  background-color: rgba(14, 131, 136, 0.2);
  color: var(--primary-hover);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.slogan-tag {
  color: var(--primary);
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: 0.85rem;
}

.slogan-main-title {
  font-size: 2.2rem;
  color: var(--text-light);
  line-height: 1.25;
}

.blue-gradient-text {
  color: var(--primary-hover);
}

.slogan-text {
  color: var(--text-muted-dark);
}

@media (max-width: 768px) {
  .slogan-container {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* Featured Products */
.featured-products-section {
  padding: 80px 0;
  background-color: var(--bg-white);
}

.section-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 12px;
}

.section-desc-para {
  color: var(--text-muted);
  max-width: 700px;
  margin-bottom: 40px;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

@media (max-width: 1100px) {
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 768px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 480px) {
  .products-grid {
    grid-template-columns: 1fr;
  }
}

/* Know How */
.knowhow-section {
  padding: 80px 0;
  background-color: var(--bg-light);
}

.knowhow-grid {
  align-items: center;
}

.knowhow-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.knowhow-title {
  font-size: 2.2rem;
}

.knowhow-text {
  color: var(--text-muted);
}

.industrial-image-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.knowhow-img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  display: block;
}

.img-overlay-info {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(to top, rgba(11,25,44,0.9) 0%, transparent 100%);
  color: var(--text-light);
  padding: 30px;
}

.img-overlay-info h4 {
  font-size: 1.25rem;
  color: var(--text-light);
  margin-bottom: 6px;
}

.img-overlay-info p {
  font-size: 0.9rem;
  color: var(--text-muted-dark);
}

/* Contact Home CTA Banner */
.contact-cta-banner {
  background: linear-gradient(135deg, #1E3E62 0%, #008DDA 100%);
  color: var(--text-light);
  text-align: center;
  padding: 60px 0;
}

.contact-cta-container {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.contact-cta-title {
  color: var(--text-light);
  font-size: 2.2rem;
}

.contact-cta-desc {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
}


/* ==========================================
   PRODUCT CARD STYLING
   ========================================== */
.product-card {
  background-color: var(--bg-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color-light);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: all var(--transition-fast);
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(0, 141, 218, 0.3);
}

.product-image-container {
  position: relative;
  background-color: #E2E8F0;
  height: 200px;
  overflow: hidden;
}

.product-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.product-card:hover .product-image {
  transform: scale(1.06);
}

.brand-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background-color: var(--primary-bg);
  color: var(--text-light);
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}

.product-info {
  padding: 16px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.product-card-title {
  font-size: 0.95rem;
  line-height: 1.4;
  margin-bottom: 12px;
  height: 40px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.product-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  margin-bottom: 14px;
}

.product-ref {
  color: var(--text-muted);
}

.stock-status {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-weight: 600;
}

.stock-status.in-stock {
  color: var(--success);
}

.stock-status.out-of-stock {
  color: var(--danger);
}

.product-price-section {
  margin-top: auto;
  border-top: 1px solid #F1F5F9;
  padding-top: 12px;
}

.product-price-amount {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-bg);
}

.product-price-quote {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
}

.product-card-actions {
  padding: 0 16px 16px;
}

.product-card-actions button {
  width: 100%;
}


/* ==========================================
   BOUTIQUE / SHOP PAGE STYLING
   ========================================== */
.shop-banner {
  background: linear-gradient(135deg, #0B192C 0%, #1E3E62 100%);
  color: var(--text-light);
  padding: 48px 32px;
  border-radius: var(--radius-lg);
  margin-bottom: 40px;
  margin-top: 30px;
}

.shop-banner h1 {
  color: var(--text-light);
  margin-bottom: 8px;
}

.shop-banner p {
  color: var(--text-muted-dark);
}

.shop-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 32px;
  align-items: flex-start;
  margin-bottom: 80px;
}

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

/* Sidebar Widgets */
.shop-sidebar {
  background-color: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color-light);
}

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

.sidebar-header h3 {
  font-size: 1.1rem;
}

.flex-align {
  display: flex;
  align-items: center;
  gap: 8px;
}

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

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

.sidebar-widget {
  margin-bottom: 28px;
}

.widget-title {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 14px;
  border-left: 3px solid var(--primary);
  padding-left: 8px;
}

.search-widget-input-wrapper {
  position: relative;
}

.widget-search-input {
  width: 100%;
  padding: 10px 36px 10px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color-light);
  font-size: 0.85rem;
}

.search-widget-icon {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
}

.filter-checkbox-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 180px;
  overflow-y: auto;
  padding-right: 8px;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-dark);
  cursor: pointer;
}

.checkbox-label input {
  cursor: pointer;
}

.price-inputs-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.price-input {
  width: 100%;
  padding: 8px 10px;
  border: 1px solid var(--border-color-light);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
}

.price-submit-btn {
  width: 100%;
}

/* Shop Content Area */
.shop-content-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  background-color: var(--bg-white);
  padding: 16px 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.results-count {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 500;
}

.shop-sorting {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
}

.sort-select {
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color-light);
  background-color: var(--bg-white);
  cursor: pointer;
}

.empty-results-box {
  background-color: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 60px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.empty-results-box p {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}


/* ==========================================
   PRODUCT DETAIL MODAL
   ========================================== */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(11, 25, 44, 0.7);
  backdrop-filter: blur(4px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.modal-content {
  background-color: var(--bg-white);
  border-radius: var(--radius-lg);
  max-width: 850px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: var(--shadow-premium);
  animation: fadeIn 0.4s ease-out;
}

.modal-close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-dark);
  padding: 4px;
  border-radius: 50%;
  transition: background var(--transition-fast);
}

.modal-close-btn:hover {
  background-color: #F1F5F9;
}

.product-detail-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  padding: 40px;
}

@media (max-width: 768px) {
  .product-detail-layout {
    grid-template-columns: 1fr;
    padding: 24px;
  }
}

.detail-image-wrapper {
  background-color: #F1F5F9;
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.detail-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-info-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.brand-badge-large {
  background-color: rgba(0, 141, 218, 0.1);
  color: var(--primary);
  font-family: var(--font-primary);
  font-weight: 700;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  margin-bottom: 12px;
}

.detail-title {
  font-size: 1.6rem;
  margin-bottom: 20px;
  line-height: 1.3;
}

.detail-specs-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 24px;
}

.detail-specs-table td {
  padding: 8px 0;
  border-bottom: 1px solid var(--border-color-light);
  font-size: 0.9rem;
}

.detail-description-section {
  margin-bottom: 28px;
}

.detail-description-section h4 {
  font-size: 0.95rem;
  text-transform: uppercase;
  margin-bottom: 8px;
  color: var(--text-muted);
}

.detail-description-section p {
  font-size: 0.9rem;
  color: var(--text-dark);
}

.detail-pricing-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  border-top: 2px solid #F1F5F9;
  padding-top: 20px;
  margin-top: auto;
}

.detail-price {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--primary-bg);
}

.detail-buttons button {
  padding: 14px 28px;
}


/* ==========================================
   SERVICES / REPAIRS PAGE STYLING
   ========================================== */
.services-banner, .about-banner, .contact-banner {
  background: linear-gradient(135deg, #0B192C 0%, #1E3E62 100%);
  color: var(--text-light);
  padding: 56px 32px;
  border-radius: var(--radius-lg);
  margin-bottom: 48px;
  margin-top: 30px;
  text-align: center;
}

.services-banner h1, .about-banner h1, .contact-banner h1 {
  color: var(--text-light);
  margin-bottom: 8px;
}

.services-banner p, .about-banner p, .contact-banner p {
  color: var(--text-muted-dark);
  max-width: 600px;
  margin: 0 auto;
}

.services-details-list {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-bottom: 64px;
}

.service-detail-block {
  background-color: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color-light);
}

.service-block-header {
  display: flex;
  align-items: center;
  gap: 16px;
  border-bottom: 1px solid var(--border-color-light);
  padding-bottom: 16px;
  margin-bottom: 20px;
}

.service-block-icon {
  background-color: rgba(0, 141, 218, 0.1);
  color: var(--primary);
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-block-desc {
  color: var(--text-dark);
  font-size: 1.05rem;
  margin-bottom: 24px;
}

.brands-tags-container {
  background-color: #F8FAFC;
  padding: 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color-light);
}

.brands-tags-list {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.brand-tag-item {
  background-color: var(--bg-white);
  color: var(--primary-bg);
  border: 1px solid var(--border-color-light);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 600;
}

/* Quote request form */
.quote-form-section {
  margin-bottom: 80px;
}

.quote-form-card {
  background-color: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color-light);
}

@media (max-width: 768px) {
  .quote-form-card {
    padding: 24px;
  }
}

.quote-form-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 36px;
  border-bottom: 1px solid var(--border-color-light);
  padding-bottom: 20px;
}

.quote-header-icon {
  color: var(--primary);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

@media (max-width: 768px) {
  .form-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

.form-column-title {
  font-size: 1.15rem;
  margin-bottom: 20px;
  color: var(--primary-bg);
  border-bottom: 2px solid var(--primary);
  display: inline-block;
  padding-bottom: 4px;
}

.form-submit-wrapper {
  margin-top: 40px;
  text-align: center;
}

.form-submit-wrapper button {
  padding: 16px 40px;
}

.quote-success-alert, .contact-success-alert {
  text-align: center;
  padding: 48px 0;
}

.quote-success-alert .success-icon, .contact-success-alert .success-icon {
  color: var(--success);
  margin-bottom: 16px;
}


/* ==========================================
   CONTACT PAGE STYLING
   ========================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 40px;
  margin-bottom: 80px;
  align-items: flex-start;
}

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

.contact-form-card-ui {
  background-color: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color-light);
}

.form-row {
  display: flex;
  gap: 20px;
}

.half-width {
  width: 50%;
}

@media (max-width: 576px) {
  .form-row {
    flex-direction: column;
    gap: 0;
  }
  .half-width {
    width: 100%;
  }
}

.file-uploader-box {
  border: 2px dashed var(--border-color-light);
  border-radius: var(--radius-md);
  padding: 20px;
  text-align: center;
  background-color: #F8FAFC;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.file-uploader-box:hover {
  border-color: var(--primary);
  background-color: rgba(0, 141, 218, 0.03);
}

.file-upload-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.btn-block-submit {
  width: 100%;
  padding: 14px;
}

.contact-info-card {
  background-color: var(--primary-bg);
  color: var(--text-light);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-md);
  margin-bottom: 24px;
}

.contact-info-card h3 {
  color: var(--text-light);
  margin-bottom: 24px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 12px;
}

.contact-info-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-info-details li {
  display: flex;
  gap: 16px;
}

.info-icon {
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 4px;
}

.contact-info-details div strong {
  display: block;
  font-size: 0.85rem;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 4px;
}

.contact-info-details div p {
  color: var(--text-muted-dark);
  font-size: 0.95rem;
}

.contact-info-details div p a:hover {
  color: var(--primary-hover);
}

.map-simulator-card {
  background-color: var(--bg-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color-light);
}

.map-sim-header {
  padding: 12px 16px;
  background-color: #F1F5F9;
  border-bottom: 1px solid var(--border-color-light);
  font-size: 0.85rem;
}

.map-sim-view {
  height: 200px;
}

.map-svg {
  width: 100%;
  height: 100%;
}


/* ==========================================
   ABOUT PAGE STYLING
   ========================================== */
.about-story-section {
  padding: 40px 0;
  margin-bottom: 60px;
}

.story-content h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.story-content p {
  color: var(--text-muted);
  margin-bottom: 16px;
  font-size: 1.05rem;
}

.story-img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.about-values-section {
  padding: 60px 0;
  margin-bottom: 60px;
}

.about-value-card {
  background-color: var(--bg-white);
  border-radius: var(--radius-md);
  padding: 30px 24px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color-light);
  text-align: center;
  transition: all var(--transition-fast);
}

.about-value-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0, 141, 218, 0.2);
}

.about-value-icon-wrapper {
  background-color: rgba(0, 141, 218, 0.1);
  color: var(--primary);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.about-value-card h3 {
  font-size: 1.15rem;
  margin-bottom: 12px;
}

.about-value-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

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

.about-quality-section {
  margin-bottom: 80px;
}

.quality-card {
  background: linear-gradient(135deg, #0B192C 0%, #1E3E62 100%);
  color: var(--text-light);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-lg);
}

.quality-card h2 {
  color: var(--text-light);
  margin-bottom: 16px;
}

.quality-card p {
  color: var(--text-muted-dark);
  margin-bottom: 30px;
  font-size: 1.1rem;
}

.quality-checklist {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.quality-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.check-icon {
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 2px;
}

.quality-checklist li span {
  font-size: 1.05rem;
  color: var(--text-light);
}

.quality-checklist li span strong {
  color: var(--primary-hover);
}


/* ==========================================
   CART AND CHECKOUT PAGE STYLING
   ========================================== */
.cart-page {
  padding: 60px 0 80px;
}

.cart-page-title {
  font-size: 2.2rem;
  margin-bottom: 40px;
}

.cart-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 32px;
  align-items: flex-start;
}

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

.cart-items-container {
  background-color: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color-light);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.cart-item-row {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-color-light);
}

.cart-item-row:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.cart-item-img-wrapper {
  background-color: #F1F5F9;
  width: 80px;
  height: 80px;
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cart-item-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-item-info {
  flex-grow: 1;
}

.cart-item-brand {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--primary);
}

.cart-item-info h3 {
  font-size: 1rem;
  margin: 2px 0 6px;
}

.cart-item-ref {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.cart-item-qty-control {
  display: flex;
  align-items: center;
  border: 1px solid var(--border-color-light);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.qty-btn {
  background-color: #F8FAFC;
  border: none;
  padding: 8px 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.qty-btn:hover {
  background-color: #E2E8F0;
}

.qty-value {
  padding: 0 12px;
  font-size: 0.9rem;
  font-weight: 600;
}

.cart-item-price-col {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary-bg);
  min-width: 90px;
  text-align: right;
}

.cart-item-delete-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 8px;
  border-radius: 50%;
  transition: all var(--transition-fast);
}

.cart-item-delete-btn:hover {
  color: var(--danger);
  background-color: #FEF2F2;
}

@media (max-width: 600px) {
  .cart-item-row {
    flex-wrap: wrap;
    gap: 12px;
  }
  .cart-item-qty-control {
    order: 3;
  }
  .cart-item-price-col {
    order: 4;
    flex-grow: 1;
  }
  .cart-item-delete-btn {
    order: 5;
  }
}

/* Checkout Form elements */
.checkout-form-card {
  background-color: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color-light);
}

.checkout-form-card h2 {
  font-size: 1.4rem;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--border-color-light);
  padding-bottom: 12px;
}

.checkout-subheading {
  font-size: 1.1rem;
  margin-bottom: 16px;
  color: var(--primary-bg);
}

.payment-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 12px;
}

.payment-label {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--border-color-light);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.payment-label input {
  cursor: pointer;
}

.payment-label.selected {
  border-color: var(--primary);
  background-color: rgba(0, 141, 218, 0.03);
}

.payment-label svg {
  color: var(--primary);
}

/* Sidebar summary */
.cart-summary-sidebar .summary-card {
  background-color: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color-light);
  position: sticky;
  top: 130px;
}

.summary-card h3 {
  font-size: 1.2rem;
  border-bottom: 1px solid var(--border-color-light);
  padding-bottom: 12px;
  margin-bottom: 20px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
  font-size: 0.95rem;
}

.summary-divider {
  border-top: 1px solid var(--border-color-light);
  margin: 16px 0;
}

.total-row {
  font-size: 1.15rem;
}

.total-row strong {
  color: var(--primary-bg);
  font-size: 1.3rem;
}

.green-text {
  color: var(--success);
  font-weight: 600;
}

.btn-block-action {
  width: 100%;
  padding: 14px;
  margin-top: 20px;
}

.mt-6 { margin-top: 24px; }
.mt-2 { margin-top: 8px; }

.empty-cart-card, .order-success-card {
  background-color: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 64px 32px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color-light);
  max-width: 600px;
  margin: 40px auto;
}

.empty-cart-icon {
  color: var(--text-muted);
  margin-bottom: 16px;
}

.order-success-card .success-icon {
  color: var(--success);
  margin-bottom: 24px;
}

.order-success-card h1 {
  margin-bottom: 12px;
}

.success-details {
  background-color: #F8FAFC;
  padding: 24px;
  border-radius: var(--radius-md);
  margin: 24px 0;
  border: 1px solid var(--border-color-light);
}

.success-details h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.success-details p {
  font-size: 0.9rem;
  color: var(--text-muted);
}


/* ==========================================
   SITE FOOTER STYLING
   ========================================== */
.site-footer {
  background-color: var(--primary-bg);
  color: var(--text-muted-dark);
  margin-top: 80px;
}

.footer-values-bar {
  background-color: #050C16;
  padding: 30px 0;
  border-bottom: 1px solid var(--border-color);
}

.values-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

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

.value-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.value-icon-wrapper {
  color: var(--primary);
  background-color: rgba(255,255,255,0.03);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.value-title {
  color: var(--text-light);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 2px;
}

.value-desc {
  font-size: 0.8rem;
}

.footer-main {
  padding: 64px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 2fr 1fr 1fr;
  gap: 48px;
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

.footer-col-about {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-about-text {
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer-col-title {
  color: var(--text-light);
  font-size: 1.15rem;
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
  padding-bottom: 6px;
}

.footer-col-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background-color: var(--primary);
}

.footer-info-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-info-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
}

.footer-icon {
  color: var(--primary);
  margin-top: 3px;
  flex-shrink: 0;
}

.footer-info-item a {
  color: inherit;
  transition: color var(--transition-fast);
}

.footer-info-item a:hover {
  color: var(--primary);
}

.footer-links-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links-list button {
  background: none;
  border: none;
  color: var(--text-muted-dark);
  text-align: left;
  cursor: pointer;
  font-size: 0.9rem;
  transition: color var(--transition-fast);
}

.footer-links-list button:hover {
  color: var(--primary);
}

.footer-bottom {
  background-color: #050C16;
  padding: 20px 0;
  font-size: 0.8rem;
  border-top: 1px solid var(--border-color);
}

.bottom-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.bottom-links {
  display: flex;
  gap: 20px;
}

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

/* ==========================================
   HEADER - USER AUTH ELEMENTS
   ========================================== */
.header-login-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 7px 14px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}
.header-login-btn:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

.user-menu-wrapper {
  position: relative;
}

.user-menu-trigger {
  display: flex;
  align-items: center;
  gap: 8px;
  background: none;
  border: 1.5px solid var(--border-color);
  border-radius: 30px;
  padding: 5px 12px 5px 5px;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}
.user-menu-trigger:hover {
  border-color: var(--primary);
  background: var(--primary-bg);
}

.user-avatar-small {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.user-greeting {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-dark);
}

.user-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 220px;
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
  overflow: hidden;
  z-index: 200;
}

.user-dropdown-header {
  padding: 14px 16px;
  background: var(--primary-bg);
}
.user-dropdown-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-dark);
}
.user-dropdown-email {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.user-dropdown-divider {
  height: 1px;
  background: var(--border-color);
}

.user-dropdown-item {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  font-size: 0.9rem;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-dark);
  transition: background 0.15s;
  text-align: left;
}
.user-dropdown-item:hover {
  background: var(--primary-bg);
  color: var(--primary);
}
.user-dropdown-item--danger:hover {
  background: #fff5f5;
  color: #ef4444;
}

.mobile-nav-link--danger {
  color: #ef4444 !important;
}

/* ==========================================
   AUTH PAGES (LOGIN / REGISTER)
   ========================================== */
.auth-page {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 16px;
  background: linear-gradient(135deg, var(--primary-bg) 0%, #e0f2f1 100%);
}

.auth-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-width: 900px;
  width: 100%;
  background: var(--bg-white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}
.auth-container--wide {
  max-width: 1000px;
}

/* Brand Panel */
.auth-brand-panel {
  background: linear-gradient(145deg, var(--primary-dark) 0%, var(--primary) 60%, #0fbfbf 100%);
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  color: #fff;
}
.auth-brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}
.auth-logo-icon {
  color: rgba(255,255,255,0.85);
}
.auth-brand-logo .logo-accent {
  font-size: 2rem;
  font-weight: 900;
  color: #fff;
  letter-spacing: -1px;
}
.auth-brand-logo .logo-text {
  font-size: 2rem;
  font-weight: 300;
  color: rgba(255,255,255,0.85);
}

.auth-brand-panel h2 {
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.4;
}
.auth-brand-panel p {
  color: rgba(255,255,255,0.8);
  font-size: 0.95rem;
  line-height: 1.6;
}

.auth-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: auto;
}
.auth-feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.85);
}
.feature-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.6);
  flex-shrink: 0;
}

/* Form Panel */
.auth-form-panel {
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.auth-form-title {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text-dark);
  margin: 0;
}
.auth-form-subtitle {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0;
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.auth-submit-btn {
  margin-top: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.auth-error-msg {
  background: #fff5f5;
  border: 1px solid #fca5a5;
  border-radius: 8px;
  padding: 10px 14px;
  color: #ef4444;
  font-size: 0.875rem;
  font-weight: 500;
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: center;
}
.auth-divider::before, .auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border-color);
}
.auth-divider span {
  font-size: 0.8rem;
  color: var(--text-muted);
  white-space: nowrap;
}

.auth-admin-hint {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-align: center;
  background: var(--primary-bg);
  border-radius: 8px;
  padding: 10px;
  margin-top: 4px;
}

.password-input-wrapper {
  position: relative;
}
.password-input-wrapper .form-input {
  padding-right: 44px;
}
.password-toggle-btn {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  padding: 4px;
  border-radius: 4px;
  transition: color 0.15s;
}
.password-toggle-btn:hover {
  color: var(--primary);
}

.input-error {
  border-color: #f87171 !important;
  background: #fff5f5 !important;
}
.field-error {
  font-size: 0.78rem;
  color: #ef4444;
  margin-top: 4px;
  display: block;
}

.auth-success-card {
  text-align: center;
  background: var(--bg-white);
  border-radius: 20px;
  padding: 60px 40px;
  max-width: 480px;
  width: 100%;
  box-shadow: 0 20px 60px rgba(0,0,0,0.12);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.auth-redirect-hint {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.auth-cta-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.btn-spinner {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Responsive auth */
@media (max-width: 700px) {
  .auth-container {
    grid-template-columns: 1fr;
  }
  .auth-brand-panel {
    padding: 32px 24px;
  }
  .auth-form-panel {
    padding: 32px 24px;
  }
}

/* ==========================================
   ADMIN DASHBOARD
   ========================================== */
.admin-page {
  display: flex;
  min-height: 100vh;
  background: #f0f4f8;
}

/* Sidebar */
.admin-sidebar {
  width: 260px;
  flex-shrink: 0;
  background: var(--primary-dark);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
}

.admin-sidebar-header {
  padding: 28px 24px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.admin-logo {
  font-size: 1.8rem;
  font-weight: 800;
}
.admin-logo .logo-accent {
  color: #0fbfbf;
}
.admin-logo .logo-text {
  color: rgba(255,255,255,0.7);
  font-weight: 300;
}
.admin-badge {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}

.admin-nav {
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}

.admin-nav-item {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 10px;
  background: none;
  border: none;
  cursor: pointer;
  color: rgba(255,255,255,0.65);
  font-size: 0.9rem;
  font-weight: 500;
  transition: background 0.15s, color 0.15s;
  text-align: left;
}
.admin-nav-item:hover {
  background: rgba(255,255,255,0.08);
  color: #fff;
}
.admin-nav-item.active {
  background: rgba(15, 191, 191, 0.2);
  color: #0fbfbf;
}

.admin-sidebar-footer {
  padding: 16px 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  gap: 12px;
}

.admin-user-info {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
}
.admin-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0fbfbf, var(--primary));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  flex-shrink: 0;
}
.admin-username {
  font-size: 0.85rem;
  font-weight: 600;
  color: #fff;
}
.admin-role {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.4);
}
.admin-logout-btn {
  background: rgba(255,255,255,0.08);
  border: none;
  border-radius: 8px;
  padding: 8px;
  cursor: pointer;
  color: rgba(255,255,255,0.5);
  transition: background 0.15s, color 0.15s;
  display: flex;
  align-items: center;
}
.admin-logout-btn:hover {
  background: rgba(239,68,68,0.3);
  color: #f87171;
}

/* Admin Main */
.admin-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

.admin-topbar {
  padding: 20px 32px;
  background: var(--bg-white);
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
}
.admin-page-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0;
}

/* Stats Overview */
.admin-overview {
  padding: 28px 32px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.admin-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.stat-card {
  background: var(--bg-white);
  border-radius: 14px;
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: transform 0.2s, box-shadow 0.2s;
}
.stat-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.stat-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.stat-icon--teal { background: rgba(14, 131, 136, 0.12); color: var(--primary); }
.stat-icon--blue { background: rgba(59, 130, 246, 0.12); color: #3b82f6; }
.stat-icon--purple { background: rgba(139, 92, 246, 0.12); color: #8b5cf6; }
.stat-icon--green { background: rgba(16, 185, 129, 0.12); color: #10b981; }

.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.stat-value {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-top: 4px;
}

/* Admin Sections */
.admin-section {
  padding: 28px 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.admin-section-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0;
}
.admin-section-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}

.admin-empty {
  color: var(--text-muted);
  font-style: italic;
  padding: 16px 0;
}

.admin-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 60px 0;
  color: var(--text-muted);
  text-align: center;
}
.admin-empty-state svg {
  opacity: 0.3;
}

/* Admin Table */
.admin-table-wrapper {
  background: var(--bg-white);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
}
.admin-table {
  width: 100%;
  border-collapse: collapse;
}
.admin-table th {
  padding: 12px 16px;
  background: var(--bg-light);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-dark);
  text-align: left;
  border-bottom: 1px solid var(--border-color-light);
}
.admin-table td {
  padding: 14px 16px;
  font-size: 0.88rem;
  color: var(--text-dark);
  border-bottom: 1px solid var(--border-color);
  vertical-align: middle;
}
.admin-table tbody tr:last-child td {
  border-bottom: none;
}
.admin-table tbody tr:hover {
  background: rgba(14, 131, 136, 0.05);
}

.admin-product-thumb {
  width: 44px;
  height: 44px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--border-color);
}
.product-name-cell {
  max-width: 200px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Status Badges */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 600;
  background: color-mix(in srgb, var(--status-color) 15%, transparent);
  color: var(--status-color);
  border: 1px solid color-mix(in srgb, var(--status-color) 30%, transparent);
}

.source-badge {
  display: inline-flex;
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.source-badge--admin {
  background: rgba(139, 92, 246, 0.12);
  color: #8b5cf6;
}
.source-badge--static {
  background: rgba(14, 131, 136, 0.12);
  color: var(--primary);
}

.quote-badge {
  display: inline-flex;
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 600;
  background: rgba(249, 115, 22, 0.12);
  color: #f97316;
}

.orders-count-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 24px;
  padding: 0 6px;
  border-radius: 12px;
  background: var(--primary);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
}

/* Admin Delete Button */
.admin-delete-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid #fca5a5;
  background: #fff5f5;
  color: #ef4444;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s;
}
.admin-delete-btn:hover {
  background: #fef2f2;
}
.admin-delete-btn--sm {
  padding: 6px 10px;
}

/* Order Cards */
.orders-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.order-card {
  background: var(--bg-white);
  border-radius: 12px;
  border: 1px solid var(--border-color);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.order-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  cursor: pointer;
  transition: background 0.15s;
}
.order-card-header:hover {
  background: rgba(14, 131, 136, 0.05);
}
.order-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.order-meta--right {
  gap: 12px;
}
.order-date {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.order-card-body {
  padding: 20px;
  border-top: 1px solid var(--border-color);
  background: #f8fafc;
}
.order-details-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 20px;
}
.order-details-grid h4 {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.order-details-grid p {
  font-size: 0.88rem;
  color: var(--text-dark);
  margin: 3px 0;
}
.order-item-line {
  display: flex;
  justify-content: space-between;
  font-size: 0.88rem;
  padding: 4px 0;
  border-bottom: 1px dashed var(--border-color);
}

.order-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.order-status-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  flex: 1;
  font-size: 0.82rem;
  color: var(--text-muted);
}
.status-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 10px;
  border-radius: 20px;
  border: 1.5px solid color-mix(in srgb, var(--status-color) 30%, transparent);
  background: color-mix(in srgb, var(--status-color) 8%, transparent);
  color: var(--status-color);
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s;
}
.status-action-btn:hover, .status-action-btn.active {
  background: color-mix(in srgb, var(--status-color) 20%, transparent);
}

/* Add product form */
.admin-add-product-form {
  background: var(--bg-white);
  border-radius: 14px;
  border: 1px solid var(--border-color);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}
.admin-add-product-form h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 16px;
}
.ml-2 { margin-left: 8px; }

/* Admin Search Bar */
.admin-search-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 10px 16px;
  max-width: 360px;
  color: var(--text-muted);
}
.admin-search-input {
  border: none;
  background: none;
  outline: none;
  font-size: 0.9rem;
  color: var(--text-dark);
  width: 100%;
}

/* Confirm Delete Modal */
.confirm-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 16px;
}
.confirm-modal {
  background: var(--bg-white);
  border-radius: 20px;
  padding: 40px;
  max-width: 440px;
  width: 100%;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0,0,0,0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.confirm-icon {
  color: #f59e0b;
}
.confirm-modal h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0;
}
.confirm-modal p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 0;
}
.confirm-actions {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}
.btn-danger {
  background: #ef4444;
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 10px 20px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: background 0.15s;
}
.btn-danger:hover { background: #dc2626; }

/* Admin Responsive */
@media (max-width: 900px) {
  .admin-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .admin-sidebar { width: 220px; }
  .order-details-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .admin-page { flex-direction: column; }
  .admin-sidebar {
    width: 100%;
    height: auto;
    min-height: unset;
    position: relative;
  }
  .admin-nav { flex-direction: row; flex-wrap: wrap; }
  .admin-section { padding: 20px 16px; }
  .admin-overview { padding: 20px 16px; }
  .admin-stats-grid { grid-template-columns: 1fr 1fr; }
  .admin-topbar { padding: 16px; }
}

/* ==========================================
   ADMIN DARK MODE
   ========================================== */
.admin-page.dark-mode {
  background: #0b131a !important;
  color: #e2e8f0;
}

.admin-page.dark-mode .admin-main {
  background: #0b131a;
}

.admin-page.dark-mode .admin-topbar {
  background: #111d27;
  border-bottom-color: rgba(14, 131, 136, 0.3);
}

.admin-page.dark-mode .admin-page-title {
  color: #fff;
}

.admin-page.dark-mode .stat-card,
.admin-page.dark-mode .admin-table-wrapper,
.admin-page.dark-mode .order-card,
.admin-page.dark-mode .admin-add-product-form,
.admin-page.dark-mode .confirm-modal,
.admin-page.dark-mode .admin-search-bar {
  background: #111d27;
  border-color: rgba(14, 131, 136, 0.3);
  color: #e2e8f0;
}

.admin-page.dark-mode .stat-value,
.admin-page.dark-mode .admin-section-title,
.admin-page.dark-mode .admin-add-product-form h3,
.admin-page.dark-mode .confirm-modal h3,
.admin-page.dark-mode .product-name-cell,
.admin-page.dark-mode .admin-table td strong,
.admin-page.dark-mode .form-label {
  color: #fff;
}

.admin-page.dark-mode .stat-label,
.admin-page.dark-mode .admin-empty,
.admin-page.dark-mode .admin-empty-state,
.admin-page.dark-mode .confirm-modal p {
  color: #94a3b8;
}

.admin-page.dark-mode .admin-table th {
  background: #070d12;
  color: #8fb0b0;
  border-bottom-color: rgba(14, 131, 136, 0.3);
}

.admin-page.dark-mode .admin-table td {
  color: #cbd5e1;
  border-bottom-color: rgba(14, 131, 136, 0.15);
}

.admin-page.dark-mode .admin-table tbody tr:hover {
  background: rgba(14, 131, 136, 0.1);
}

.admin-page.dark-mode .order-card-header:hover {
  background: rgba(14, 131, 136, 0.1);
}

.admin-page.dark-mode .order-card-body {
  background: #070d12;
  border-top-color: rgba(14, 131, 136, 0.3);
}

.admin-page.dark-mode .order-item-line {
  border-bottom-color: rgba(14, 131, 136, 0.2);
}

.admin-page.dark-mode .form-input,
.admin-page.dark-mode .form-select,
.admin-page.dark-mode .form-textarea,
.admin-page.dark-mode .admin-search-input {
  background-color: #1a2631;
  border-color: rgba(14, 131, 136, 0.3);
  color: #fff;
}

.admin-page.dark-mode .form-input:focus,
.admin-page.dark-mode .form-select:focus,
.admin-page.dark-mode .form-textarea:focus {
  border-color: var(--primary-hover);
  box-shadow: 0 0 0 3px rgba(0, 173, 181, 0.25);
}

.admin-page.dark-mode .btn-secondary {
  background-color: #1e2d3d;
  color: #e2e8f0;
  border-color: rgba(14, 131, 136, 0.4);
}

.admin-page.dark-mode .btn-secondary:hover {
  background-color: #273b50;
}

.admin-page.dark-mode .status-action-btn:hover,
.admin-page.dark-mode .status-action-btn.active {
  background: color-mix(in srgb, var(--status-color) 25%, transparent);
}

/* Switch Toggle Styles */
.switch-container {
  position: relative;
  display: inline-block;
  width: 48px;
  height: 24px;
}
.switch-container input {
  opacity: 0;
  width: 0;
  height: 0;
}
.switch-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #cbd5e1;
  transition: .3s;
  border-radius: 24px;
}
.switch-slider:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: .3s;
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(0,0,0,0.15);
}
input:checked + .switch-slider {
  background-color: var(--primary);
}
input:checked + .switch-slider:before {
  transform: translateX(24px);
}

.admin-page.dark-mode .switch-slider {
  background-color: #1a2631;
  border: 1px solid rgba(14, 131, 136, 0.3);
}
.admin-page.dark-mode input:checked + .switch-slider {
  background-color: var(--primary);
  border-color: var(--primary);
}

/* Settings Specific Layouts */
.settings-item-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--border-color-light);
}
.admin-page.dark-mode .settings-item-row {
  border-bottom-color: rgba(14, 131, 136, 0.15);
}
.settings-item-row:last-child {
  border-bottom: none;
}
.settings-item-info {
  max-width: 80%;
}
.settings-item-label {
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-dark);
  margin-bottom: 4px;
}
.admin-page.dark-mode .settings-item-label {
  color: #fff;
}
.settings-item-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
}
.settings-alert-success {
  display: flex;
  align-items: center;
  gap: 8px;
  background-color: #d1fae5;
  color: #065f46;
  padding: 12px 16px;
  border-radius: 8px;
  font-weight: 500;
  margin-bottom: 20px;
  animation: fade-in 0.3s ease-out;
}
.admin-page.dark-mode .settings-alert-success {
  background-color: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

/* Emergency Alert Banner */
.emergency-alert-banner {
  background: linear-gradient(90deg, #b91c1c 0%, #dc2626 50%, #b91c1c 100%);
  color: white;
  padding: 10px 16px;
  font-size: 0.9rem;
  font-weight: 600;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
  position: relative;
  z-index: 1000;
  letter-spacing: 0.5px;
}
.emergency-alert-banner-icon {
  animation: pulse-alert 1.5s infinite ease-in-out;
  flex-shrink: 0;
  display: inline-flex;
}
@keyframes pulse-alert {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.2); opacity: 0.85; }
  100% { transform: scale(1); opacity: 1; }
}

/* Spinner Animation */
@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
.animate-spin {
  animation: spin 1s linear infinite;
}

/* Lightbox Navigation Buttons Hover Effects */
.lightbox-nav-btn {
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
}
.lightbox-nav-btn:hover {
  background-color: rgba(255, 255, 255, 0.3) !important;
  transform: translateY(-50%) scale(1.1) !important;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3);
}
.lightbox-nav-btn:active {
  transform: translateY(-50%) scale(0.95) !important;
}

