/* ============================================
   ORION TRADERS — ADVANCED E-COMMERCE DESIGN
   Aesthetic: Full-width, Organized, High-End
   Typography: Plus Jakarta Sans
   Palette: Vibrant Fintech Cyan (#00A3C4)
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Outfit:wght@500;600;700;800;900&family=Montserrat:wght@900&family=Lexend:wght@400;500;600;700;800;900&display=swap');

:root {
  --cyan: #00A3C4;
  --cyan-dark: #008CA8;
  --cyan-light: #E0F7FA;
  --navy: #020617;
  --white: #FFFFFF;
  --slate-50: #F8FAFC;
  --slate-100: #F1F5F9;
  --slate-200: #E2E8F0;
  --slate-300: #CBD5E1;
  --slate-600: #475569;
  --slate-800: #1E293B;
  --slate-900: #050A18;

  --text: var(--slate-900);
  --text-muted: var(--slate-600);
  --border: var(--slate-200);
  --radius: 20px;
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  --transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── RESET & BASE ── */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -ms-overflow-style: none;
  /* IE/Edge */
  scrollbar-width: none;
  /* Firefox */
}

*::-webkit-scrollbar {
  display: none;
  /* Chrome/Safari/Opera */
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background: var(--white);
  color: var(--text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

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

/* ── LAYOUT ── */
.w-full {
  width: 100%;
}

.container-fluid {
  width: 100%;
  padding: 0 5%;
}

.section {
  padding: 80px 0;
}

.grid {
  display: grid;
  gap: 32px;
}

/* ── NAVIGATION ── */
.top-bar {
  background: var(--slate-900);
  color: var(--white);
  padding: 8px 0;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.top-bar .inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navbar {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  padding: 20px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: 'Lexend', sans-serif;
  font-size: 28px;
  font-weight: 800;
  display: flex;
  align-items: center;
  color: var(--slate-900);
  transition: var(--transition);
  gap: 0;
  letter-spacing: -0.04em;
  text-transform: none;
}

.logo-symbol {
  position: relative;
  width: 26px;
  /* Slightly larger to handle thicker border */
  height: 26px;
  border: 6px solid #ff8c00;
  /* Increased thickness for bold look */
  border-radius: 50%;
  border-top-color: transparent !important;
  /* Ensure open top */
  margin: 0 4px;
  display: inline-flex;
  vertical-align: middle;
}

.logo-symbol::before {
  content: '';
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 6px;
  /* Increased thickness for bold look */
  height: 14px;
  background: #ff8c00;
  border-radius: 100px;
}



.logo-traders {
  color: var(--cyan);
  font-size: 13px;
  /* significantly smaller */
  font-weight: 600;
  /* lighter than ORION */
  margin-left: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  align-self: flex-end;
  /* ALign to the bottom of ORION */
  padding-bottom: 4px;
}

@media (max-width: 600px) {
  .logo-traders {
    display: none;
  }
}

.footer .logo {
  color: white;
  font-size: 26px;
  /* Match header size */
}

.footer .logo-symbol {
  border-color: #ff8c00;
}

.footer .logo-symbol::before {
  background: #ff8c00;
}



.nav-links {
  display: flex;
  gap: 40px;
  margin-left: auto;
  margin-right: 40px;
}

.btn-cart-icon {
  display: flex;
  align-items: center;
  gap: 6px;
}

.desktop-only {
  display: flex;
}

.mobile-only {
  display: none;
}

/* Default: Display cart tab on desktop always */
.btn-cart-icon {
  display: flex !important;
}

.menu-icon {
  display: none;
  cursor: pointer;
  color: var(--slate-900);
  align-items: center;
  justify-content: center;
  z-index: 1001;
  /* Above mobile menu */
}

@media (max-width: 900px) {
  .nav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  /* DEFAULT Mobile Layout (Logo Left, Menu Right) */
  .logo {
    order: 0;
    margin: 0;
    font-size: 20px !important;
  }

  .menu-icon {
    order: 2;
    margin-left: auto;
    margin-right: 0;
    display: flex;
  }

  .nav-actions-mobile {
    order: 1;
  }

  /* DEFAULT Mobile Layout (Logo Left, Menu Right): Hide cart globally from topbar on mobile unless on products page */
  .navbar:not(.nav-has-cart) .btn-cart-icon {
    display: none !important;
  }

  /* PRODUCTS Page Specific Layout (Menu Left, Logo Center, Cart Right) */
  .nav-has-cart .logo {
    order: 1;
    margin: 0 auto;
  }

  .nav-has-cart .menu-icon {
    order: 0;
    margin-right: auto;
    margin-left: 0;
  }

  .nav-has-cart .nav-actions-mobile {
    order: 2;
    margin-left: 0;
    display: flex !important;
  }

  .nav-actions-mobile .mobile-only {
    display: block !important;
  }

  .nav-actions-mobile .btn {
    padding: 8px 12px !important;
    font-size: 13px !important;
  }

  .desktop-only {
    display: none !important;
  }

  .mobile-only {
    display: block;
  }

  .nav-links {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    flex-direction: column;
    padding: 24px 20px;
    gap: 20px;
    margin: 0;
    z-index: 999;
  }

  .nav-links.active {
    display: flex;
    animation: slideDown 0.3s ease-out;
  }
}

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

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.nav-links a {
  font-size: 14px;
  font-weight: 600;
  color: var(--slate-600);
}

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

.form-input {
  width: 100%;
  padding: 14px 24px;
  border: 1px solid var(--border);
  border-radius: 50px;
  background: var(--white);
  color: var(--slate-900);
  font-size: 14px;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.form-input:focus {
  outline: none;
  border-color: var(--cyan);
  box-shadow: 0 0 0 4px var(--cyan-light);
}

/* ── TABLES ── */
table {
  width: 100%;
  border-collapse: collapse;
}

th {
  padding: 16px;
  background: var(--slate-50);
  border-bottom: 2px solid var(--border);
  text-align: left;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--slate-600);
}

td {
  padding: 16px;
  border-bottom: 1px solid var(--border);
}

/* ── BUTTONS & ICONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 700;
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--transition);
  border: none;
  white-space: nowrap;
  gap: 8px;
}

.btn svg {
  flex-shrink: 0;
}

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

.btn-primary {
  background: var(--cyan);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--cyan-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 163, 196, 0.25);
}

.btn-ghost {
  background: transparent;
  color: var(--slate-900);
  border: 1.5px solid var(--border);
}

.btn-ghost:hover {
  border-color: var(--cyan);
  color: var(--cyan);
}

.btn-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cyan);
  color: var(--white);
  cursor: pointer;
  transition: var(--transition);
  border: none;
  box-shadow: var(--shadow-sm);
}

.btn-icon:hover {
  background: var(--cyan-dark);
  transform: scale(1.05);
  box-shadow: var(--shadow-md);
}

.btn-whatsapp {
  background: #25D366;
  color: white;
}

.btn-whatsapp:hover {
  background: #128C7E;
}

/* ── PRODUCTS (E-commerce Style) ── */
.main-content-column {
  min-width: 0;
  max-width: 100vw;
  width: 100%;
  overflow-x: hidden;
}

/* Category Tabs (Top of Grid) */
.category-tabs {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  overflow-x: auto;
  width: 100%;
  padding: 12px 4px;
  margin-bottom: 32px;
  border-bottom: 1px solid var(--border);
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.category-tabs::-webkit-scrollbar {
  display: none;
}

.tab-item {
  white-space: nowrap;
  padding: 8px 20px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 700;
  color: var(--slate-600);
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid transparent;
}

.tab-item:hover {
  background: var(--slate-100);
}

.tab-item.active {
  background: var(--cyan);
  color: var(--white);
}

.filter-item {
  display: block;
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 14px;
  transition: var(--transition);
}

.filter-item.active {
  background: var(--cyan);
  color: var(--white) !important;
}

.filter-item:hover:not(.active) {
  background: var(--slate-100);
}

/* Smooth Floating Dropdown */
.admin-dropdown-menu {
  position: fixed;
  width: 280px;
  background: white;
  border-radius: 28px;
  padding: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(0, 0, 0, 0.05);
  z-index: 2000;
  display: none;
  animation: dropdownSlide 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid var(--border);
}

@keyframes dropdownSlide {
  from {
    opacity: 0;
    transform: translateY(-10px) scale(0.95);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.admin-radio-item {
  display: block;
  cursor: pointer;
}

.admin-radio-item input[type="radio"] {
  position: absolute;
  opacity: 0;
}

.radio-content {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 100px;
  /* Pill shaped items */
  transition: all 0.2s ease;
  font-weight: 600;
  color: var(--slate-600);
}

.radio-circle {
  width: 20px;
  height: 20px;
  border: 2px solid var(--border);
  border-radius: 50%;
  position: relative;
  transition: all 0.2s ease;
  background: white;
}

.admin-radio-item input[type="radio"]:checked+.radio-content {
  background: var(--slate-50);
  color: var(--cyan);
}

.admin-radio-item input[type="radio"]:checked+.radio-content .radio-circle {
  border-color: var(--cyan);
  background: var(--cyan);
  transform: scale(1.1);
}

.admin-radio-item input[type="radio"]:checked+.radio-content .radio-circle::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 8px;
  height: 8px;
  background: white;
  border-radius: 50%;
}

.admin-radio-item:hover .radio-content {
  background: var(--slate-50);
}

.card-product {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: var(--transition);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  position: relative;
}

.card-product:hover {
  border-color: var(--cyan);
  box-shadow: 0 20px 40px rgba(0, 163, 196, 0.08);
  transform: translateY(-8px);
}

.product-img-box {
  aspect-ratio: 16/9;
  /* Reduced height, wider look */
  background: var(--slate-50);
  display: block;
  /* Removed flex */
  overflow: hidden;
  /* Ensure images don't spill out */
  border-bottom: 1px solid var(--border);
}

.product-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Make image cover the entire box */
}

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

.product-tag {
  display: inline-block;
  color: var(--cyan);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}

.product-name {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.product-meta {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.product-price {
  font-size: 15px;
  font-weight: 500;
  color: var(--slate-900);
}

.product-min-order {
  font-size: 11px;
  color: var(--slate-500);
  margin-top: 2px;
}

/* ── MODALS (Advanced UX) ── */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.4);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-content {
  background: var(--white);
  width: 100%;
  max-width: 900px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
  animation: modal-in 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes modal-in {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.95);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.modal-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 40px;
  height: 40px;
  background: var(--slate-100);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--slate-600);
  cursor: pointer;
  transition: var(--transition);
  z-index: 10;
}

.modal-close:hover {
  background: var(--slate-200);
  color: var(--slate-900);
}

@media (max-width: 768px) {
  .modal-overlay {
    padding: 10px;
  }

  .modal-content {
    max-height: 95vh;
    overflow-y: auto;
  }

  .modal-body {
    grid-template-columns: 1fr;
  }

  .modal-img-side {
    height: 250px;
  }

  .modal-text-side {
    padding: 24px;
  }
}

.modal-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.modal-img-side {
  background: var(--slate-50);
  display: block;
  padding: 0;
  overflow: hidden;
  height: 100%;
}

.modal-img-side img {
  width: 100%;
  height: 100%;
  object-fit: cover !important;
}

.modal-text-side {
  padding: 48px;
  display: flex;
  flex-direction: column;
}

/* ── DIVISION CARDS (Premium Industrial) ── */
.division-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.card-division {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.card-division:hover {
  border-color: var(--cyan);
  background: var(--slate-50);
}

.division-label {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 24px;
  letter-spacing: 0.15em;
}

.division-title {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 8px;
  letter-spacing: -0.04em;
}

.division-tagline {
  font-size: 14px;
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: 16px;
}

.division-desc {
  font-size: 14px;
  line-height: 1.6;
  color: var(--slate-600);
}

/* ── FOOTER ── */
.footer {
  background: var(--slate-900);
  color: var(--white);
  padding: 80px 0 40px;
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .modal-body {
    grid-template-columns: 1fr;
  }

  .modal-text-side {
    padding: 32px;
  }
}

/* ══════════════════════════════════════════════
   HERO — IMAGE GRID BACKGROUND
══════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--slate-900);
}

.hero-slider {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
  filter: brightness(0.7);
}

.hero-slide.active {
  opacity: 0.25;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(2, 6, 23, 0.97) 0%, rgba(2, 6, 23, 0.85) 50%, rgba(0, 163, 196, 0.12) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 60px;
  padding-bottom: 60px;
}

.hero-badge {
  display: inline-block;
  background: rgba(0, 163, 196, 0.15);
  border: 1px solid rgba(0, 163, 196, 0.35);
  color: var(--cyan);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 28px;
}

.hero h1 {
  font-size: clamp(38px, 5.5vw, 76px);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -0.04em;
  margin-bottom: 24px;
  color: var(--white);
  max-width: 820px;
}

.hero h1 span {
  color: var(--cyan);
}

.hero p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.65);
  max-width: 560px;
  line-height: 1.75;
  margin-bottom: 44px;
  font-weight: 400;
}

.hero-btns {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 64px;
}

.btn-hero-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 700;
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--transition);
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.3);
}

.btn-hero-ghost:hover {
  border-color: var(--cyan);
  color: var(--cyan);
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 32px;
  padding-top: 36px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-stat span {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--white);
  line-height: 1;
  display: block;
}

.hero-stat p {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.45);
  margin: 6px 0 0;
  max-width: none;
  margin-bottom: 0;
}

.hero-stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.12);
}

/* ══════════════════════════════════════════════
   SHARED SECTION STYLE (pure white bg)
══════════════════════════════════════════════ */
.section-page {
  padding: 100px 0;
  background: #ffffff;
}

.section-header {
  margin-bottom: 60px;
  max-width: 640px;
}

.section-header--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.label-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--cyan);
  margin-bottom: 14px;
}

.section-title {
  font-size: clamp(28px, 3vw, 44px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.1;
  margin-bottom: 14px;
  color: var(--slate-900);
}

.section-sub {
  font-size: 16px;
  color: var(--slate-600);
  line-height: 1.75;
  font-weight: 400;
}

.text-cyan {
  color: var(--cyan);
}

.text-cyan:hover {
  opacity: 0.8;
}

.bg-white {
  background: #ffffff;
}

.bg-slate {
  background: var(--slate-50);
}

/* ══════════════════════════════════════════════
   ABOUT SECTION
══════════════════════════════════════════════ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: center;
}

.portal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  margin-bottom: 80px;
}

.about-pillars {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.pillar {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.pillar-icon {
  font-size: 24px;
  flex-shrink: 0;
  margin-top: 2px;
}

.pillar strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--slate-900);
}

.pillar p {
  font-size: 13px;
  color: var(--slate-600);
  font-weight: 400;
}

.about-card-stack {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.about-stat-card {
  background: var(--slate-50);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  transition: var(--transition);
}

.about-stat-card:hover {
  border-color: var(--cyan);
}

.about-stat-card--accent {
  background: var(--slate-900);
  border-color: var(--slate-900);
}

.about-stat-card--accent .stat-number,
.about-stat-card--accent .stat-label {
  color: var(--white);
}

.stat-number {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--cyan);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--slate-600);
}

/* ══════════════════════════════════════════════
   SPECIALIZATIONS / DIVISIONS
══════════════════════════════════════════════ */
.division-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

.card-division {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  cursor: pointer;
}

.card-division.active {
  animation: cardEntrance 0.5s ease forwards;
}

.card-division:hover {
  border-color: var(--cyan);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.div-icon {
  font-size: 28px;
  margin-bottom: 16px;
}

.division-label {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--cyan);
  letter-spacing: 0.12em;
  margin-bottom: 8px;
}

.division-title {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 10px;
  color: var(--slate-900);
}

.division-desc {
  font-size: 14px;
  color: var(--slate-600);
  line-height: 1.65;
  flex-grow: 1;
  margin-bottom: 20px;
}

.div-link {
  font-size: 13px;
  font-weight: 800;
  color: var(--cyan);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-top: auto;
  text-align: right;
  width: 100%;
}

/* ══════════════════════════════════════════════
   CATEGORIES QUICK BROWSE
══════════════════════════════════════════════ */
.cat-scroll-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 8px;
}

.cat-chip {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 100px;
  border: 1.5px solid var(--border);
  font-size: 13px;
  font-weight: 700;
  color: var(--slate-600);
  transition: var(--transition);
  background: #ffffff;
  cursor: pointer;
}

.cat-chip:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  background: rgba(0, 163, 196, 0.04);
}

/* ══════════════════════════════════════════════
   PARTNERS SECTION
══════════════════════════════════════════════ */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
}

.partner-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: var(--transition);
  text-align: center;
}

.partner-card:hover {
  border-color: var(--cyan);
  box-shadow: var(--shadow-md);
}

.partner-icon {
  font-size: 36px;
  margin-bottom: 16px;
}

.partner-name {
  font-size: 15px;
  font-weight: 800;
  color: var(--slate-900);
  margin-bottom: 6px;
}

.partner-desc {
  font-size: 13px;
  color: var(--slate-600);
  font-weight: 400;
}

/* ══════════════════════════════════════════════
   TESTIMONIALS
══════════════════════════════════════════════ */
.testimonials-grid {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  padding: 20px 4px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.testimonials-grid::-webkit-scrollbar {
  display: none;
}

.testimonial-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  gap: 28px;
  min-width: 400px;
  max-width: 450px;
  flex-shrink: 0;
}

@media (max-width: 480px) {
  .testimonial-card {
    min-width: 85vw;
  }
}

.testimonial-card:hover {
  border-color: var(--cyan);
  box-shadow: var(--shadow-md);
}

.testimonial-quote {
  font-size: 15px;
  line-height: 1.75;
  color: var(--slate-600);
  font-weight: 400;
  font-style: italic;
  flex-grow: 1;
  position: relative;
  padding: 0 40px;
}

.testimonial-quote::before,
.testimonial-quote::after {
  content: '"';
  position: absolute;
  font-family: serif;
  font-size: 80px;
  color: var(--slate-200);
  opacity: 0.5;
  line-height: 1;
  font-style: normal;
}

.testimonial-quote::before {
  top: -20px;
  left: 0;
}

.testimonial-quote::after {
  bottom: -60px;
  right: 0;
  transform: rotate(180deg);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--slate-900);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
  flex-shrink: 0;
}

.testimonial-author strong {
  font-size: 14px;
  font-weight: 800;
  color: var(--slate-900);
  display: block;
}

.testimonial-author p {
  font-size: 12px;
  color: var(--slate-600);
  margin: 2px 0 0;
}

/* ══════════════════════════════════════════════
   CONTACT SECTION
══════════════════════════════════════════════ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}

.contact-details {
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-row {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 15px;
  font-weight: 600;
  color: var(--slate-800);
}

.contact-icon {
  font-size: 18px;
  flex-shrink: 0;
  width: 28px;
  text-align: center;
}

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

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

.form-select {
  appearance: none;
  cursor: pointer;
}

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

/* ══════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════ */
.footer {
  background: var(--slate-900);
  color: var(--white);
  padding: 80px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer h4 {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--white);
  margin-bottom: 20px;
}

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

.footer ul li a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 500;
  transition: var(--transition);
}

.footer ul li a:hover {
  color: var(--cyan);
}

.footer-bottom {
  padding: 24px 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.3);
  font-weight: 500;
}

/* ══════════════════════════════════════════════
   CARD GENERIC
══════════════════════════════════════════════ */
.card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: var(--transition);
}

/* ══════════════════════════════════════════════
   CART LAYOUT
══════════════════════════════════════════════ */
.cart-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 48px;
  align-items: start;
}

.cart-summary-sticky {
  position: sticky;
  top: 120px;
}

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

  .cart-summary-sticky {
    position: static;
  }
}

/* Client Detail Card — Advanced Responsive Styling */
.client-detail-card {
  display: flex;
  align-items: stretch;
  animation: cardEntrance 0.6s cubic-bezier(0.23, 1, 0.32, 1) forwards;
  background: white;
  border-radius: 32px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.client-detail-card .client-image-side {
  flex: 1;
  min-width: 400px;
  line-height: 0;
}

.client-detail-card .client-image-side img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 480px;
}

.client-detail-card .client-text-side {
  flex: 1;
  text-align: left;
  padding: 60px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media (max-width: 900px) {
  .client-detail-card {
    flex-direction: column;
  }

  .client-detail-card .client-image-side {
    min-width: 0;
    width: 100%;
    height: 300px;
  }

  .client-detail-card .client-image-side img {
    min-height: 0;
    height: 100%;
  }

  .client-detail-card .client-text-side {
    padding: 32px 24px;
    text-align: center;
  }
}

/* Cart Item / Row — Advanced Responsive Styling */
.cart-row {
  display: flex;
  gap: 32px;
  padding: 24px;
  align-items: center;
  margin-bottom: 20px;
  border: 1px solid var(--border);
  background: white;
  position: relative;
  border-radius: 24px;
  transition: var(--transition);
}

.cart-row .item-image {
  width: 120px;
  height: 120px;
  flex-shrink: 0;
  background: var(--slate-50);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  border: 1px solid var(--slate-100);
}

.cart-row .item-details {
  flex-grow: 1;
}

.cart-row .item-total {
  text-align: right;
  min-width: 140px;
}

@media (max-width: 768px) {
  .cart-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .cart-row .item-image {
    width: 100%;
    height: 200px;
  }

  .cart-row .item-total {
    text-align: left;
    width: 100%;
    border-top: 1px dashed var(--border);
    padding-top: 16px;
  }

  .cart-summary-sticky .card {
    padding: 24px !important;
  }
}

/* ── INQUIRY REVIEW MODE (SHARED LINKS) ── */
.cart-review-container {
  padding-bottom: 80px;
}

.cart-row--review {
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0;
  border-radius: 32px;
  border: 1px solid var(--border);
  margin-bottom: 60px;
  box-shadow: 0 40px 100px -20px rgba(0, 0, 0, 0.08);
  background: #fff;
  overflow: hidden;
}

.cart-row--review .item-image {
  width: 100%;
  max-width: none;
  height: auto;
  min-height: 300px;
  background: var(--slate-50);
  border-radius: 0;
  margin-bottom: 0;
  padding: 0;
  border: none;
  border-bottom: 1px solid var(--border);
}

.cart-row--review .item-image img {
  width: 100%;
  height: auto;
  max-height: 600px;
  object-fit: cover;
}

.cart-row--review .item-details {
  width: 100%;
  padding: 40px;
}

.cart-row--review .item-details h3 {
  font-size: 32px;
  margin-top: 12px;
  margin-bottom: 12px;
  letter-spacing: -0.03em;
}

.cart-row--review .item-details .product-tag {
  font-size: 13px;
  margin-bottom: 20px;
  background: var(--slate-100);
  padding: 6px 16px;
  border-radius: 100px;
  color: var(--slate-600);
}

.cart-row--review .item-details div {
  justify-content: center !important;
  gap: 32px !important;
}

.cart-row--review .item-total {
  text-align: center;
  width: 100%;
  margin-top: 20px;
  border-top: 1px dashed var(--border);
  padding: 40px;
  min-width: 0;
  background: var(--slate-50);
}

.cart-row--review .item-total div {
  font-size: 36px !important;
  color: var(--cyan) !important;
}

@media (max-width: 900px) {
  .cart-row--review .item-details {
    padding: 32px 20px;
  }

  .cart-row--review .item-details h3 {
    font-size: 24px;
  }

  .cart-row--review .item-total div {
    font-size: 28px !important;
  }
}

/* ══════════════════════════════════════════════
   RESPONSIVE
   ... (rest of the file follows)

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

  .about-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .portal-grid {
    grid-template-columns: 1fr;
    gap: 48px;
    margin-bottom: 48px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

@media (max-width: 768px) {
  .hero {
    min-height: auto;
    padding: 100px 0 60px;
  }

  .hero h1 {
    font-size: 36px;
  }

  .hero-stats {
    flex-wrap: wrap;
    gap: 20px;
  }

  .hero-stat-divider {
    display: none;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

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



.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(0, 163, 196, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero h1 {
  font-size: clamp(40px, 5vw, 72px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin-bottom: 24px;
  color: var(--white);
}

.hero h1 span {
  color: var(--cyan);
}

.hero p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.7);
  max-width: 560px;
  line-height: 1.7;
  margin-bottom: 48px;
  font-weight: 400;
}

.hero-btns {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.hero .btn-ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.3);
}

.hero .btn-ghost:hover {
  border-color: var(--cyan);
  color: var(--cyan);
}

/* ── TYPOGRAPHY HELPERS ── */
.section-title {
  font-size: clamp(28px, 3vw, 44px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.1;
  margin-bottom: 16px;
  color: var(--slate-900);
}

.section-sub {
  font-size: 16px;
  color: var(--slate-600);
  line-height: 1.7;
  font-weight: 400;
}

.text-cyan {
  color: var(--cyan);
}

.text-cyan:hover {
  opacity: 0.8;
}

/* ── SECTION BACKGROUND UTILITIES ── */
.bg-white {
  background: var(--white);
}

.bg-slate {
  background: var(--slate-50);
}

/* ── FOOTER GRID ── */
.footer {
  background: var(--slate-900);
  color: var(--white);
  padding: 80px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer h4 {
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--white);
  margin-bottom: 24px;
}

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

.footer ul li a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
  font-weight: 500;
  transition: var(--transition);
}

.footer ul li a:hover {
  color: var(--cyan);
}

.footer-bottom {
  padding: 24px 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.35);
  font-weight: 500;
}

/* ── CARD GENERIC ── */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: var(--transition);
}

/* ── RESPONSIVE ADDITIONS ── */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 80px 0 60px;
  }

  .hero h1 {
    font-size: 36px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .grid[style*="grid-template-columns: 260px"] {
    grid-template-columns: 1fr !important;
  }

  /* Additional layout fixes for mobile */
  .grid[style*="grid-template-columns: 1fr 1.5fr"] {
    grid-template-columns: 1fr !important;
  }

  .grid[style*="grid-template-columns: 1fr 500px"] {
    grid-template-columns: 1fr !important;
  }

  .grid[style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }

  .about-grid {
    grid-template-columns: 1fr !important;
  }

  .contact-grid {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 600px) {
  .client-detail-card {
    flex-direction: column !important;
    padding: 24px !important;
  }

  .client-detail-card>div:first-child {
    min-width: 100% !important;
  }

  .client-detail-card img {
    height: 250px !important;
    min-height: auto !important;
  }

  .client-detail-card>div:last-child {
    padding: 30px 20px !important;
    text-align: center !important;
  }
}

/* ── HORIZONTAL SCROLL FOR DIVISIONS ── */
.division-scroll-wrapper {
  overflow-x: auto;
  padding: 20px 0 40px;
  margin: 0 -20px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.division-scroll-wrapper::-webkit-scrollbar {
  display: none;
}

.division-scroll-row {
  display: flex;
  gap: 24px;
  padding: 0 20px;
  min-width: max-content;
}

.division-scroll-row .card-division {
  width: 320px;
  flex-shrink: 0;
}

/* ── FEATURED INVENTORY GRID ── */
.sample-items-section {
  padding-top: 0;
}

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

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

@media (max-width: 600px) {
  /* Hide Traders logo logic already added above */

  /* Make buttons smaller on mobile */
  .btn {
    padding: 10px 16px !important;
    font-size: 13px !important;
  }

  /* General products grid layout for mobile */
  .product-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
  }

  /* Horizontal scroll specifically for sample items */
  .sample-items-section .product-grid {
    display: grid !important;
    grid-template-columns: none !important;
    grid-template-rows: auto auto !important;
    grid-auto-flow: column !important;
    overflow-x: auto !important;
    gap: 16px !important;
    padding-bottom: 20px !important;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .sample-items-section .product-grid::-webkit-scrollbar {
    display: none;
  }

  .sample-items-section .card-product {
    min-width: 260px !important;
    max-width: 260px !important;
    scroll-snap-align: start;
    flex-shrink: 0;
  }
}

/* ── PRODUCTS PAGE TOP FILTER BAR & SIDEBAR ── */
.products-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 60px;
  align-items: start;
}

.desktop-only-sidebar {
  display: block;
}

.desktop-only-search {
  display: block;
}

.mobile-only-flex {
  display: none !important;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  justify-content: flex-end;
}

.filter-select {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 16px;
  padding-right: 48px;
  min-width: 260px;
}

.search-wrapper {
  flex: 1;
  min-width: 260px;
  max-width: 350px;
}

@media (max-width: 900px) {
  .products-layout {
    display: flex;
    flex-direction: column;
    gap: 32px;
  }

  .desktop-only-sidebar {
    display: none !important;
  }

  .desktop-only-search {
    display: none !important;
  }

  .mobile-only-flex {
    display: flex !important;
  }
}

@media (max-width: 600px) {
  .filter-bar {
    width: 100%;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
  }

  .search-wrapper {
    flex: 2;
    min-width: 0;
  }

  .filter-select-wrapper {
    flex: 1.1;
    min-width: 0;
  }

  .filter-select {
    width: 100%;
    min-width: 0;
    padding: 10px 24px 10px 10px !important;
    background-position: right 6px center;
    background-size: 14px;
    font-size: 12px;
    text-overflow: ellipsis;
  }

  #searchInputMobile,
  #searchInput {
    width: 100%;
    padding: 10px 12px !important;
    font-size: 12px;
  }

  .card-product {
    /* Force card text smaller to fit side-by-side */
    padding: 0 !important;
  }

  .card-product .product-info {
    padding: 12px !important;
  }

  .card-product .product-name {
    font-size: 14px;
    margin-bottom: 6px;
  }

  .card-product .product-tag {
    font-size: 9px;
    margin-bottom: 4px;
  }

  .card-product .product-price {
    font-size: 13px;
  }

  .card-product .product-img-box {
    aspect-ratio: 1/1;
    /* Better look for smaller side-by-side cards */
  }
}

.product-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: var(--transition);
  text-decoration: none;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  border-color: var(--cyan);
  box-shadow: 0 20px 40px rgba(2, 6, 23, 0.05);
  transform: translateY(-8px);
}

.product-card-icon {
  width: 44px;
  height: 44px;
  background: var(--slate-50);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 20px;
  color: var(--cyan);
  transition: var(--transition);
}

.product-card:hover .product-card-icon {
  background: var(--cyan);
  color: var(--white);
}

.product-card-tag {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--cyan);
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}

.product-card-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: 4px;
}

.product-card-desc {
  font-size: 13px;
  color: var(--slate-500);
  line-height: 1.5;
}

.classification-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-bottom: 60px;
}

.classification-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  opacity: 0;
  transform: translateY(10px);
}

.classification-card.active {
  opacity: 1;
  transform: translateY(0);
  animation: cardEntrance 0.5s ease forwards;
}

@keyframes cardEntrance {
  from {
    opacity: 0;
    transform: translateY(15px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.classification-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(2, 6, 23, 0.05);
  border-color: var(--cyan);
}

.class-type {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--cyan);
  margin-bottom: 8px;
}

.class-name {
  font-size: 24px;
  font-weight: 800;
  color: var(--slate-900);
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.class-features {
  list-style: none;
  margin-bottom: 32px;
  flex-grow: 1;
  padding: 0;
}

.class-features li {
  font-size: 14px;
  color: var(--slate-600);
  padding: 8px 0;
  border-bottom: 1px solid rgba(2, 6, 23, 0.05);
  display: flex;
  align-items: center;
  gap: 10px;
}

.class-features li::before {
  content: '✓';
  color: var(--cyan);
  font-weight: 800;
}

.class-badge {
  font-size: 12px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 50px;
  background: var(--slate-50);
  color: var(--slate-600);
  align-self: flex-start;
}

.government-note {
  margin-top: 60px;
  padding: 32px;
  background: var(--slate-900);
  color: var(--white);
  border-radius: var(--radius);
  display: flex;
  gap: 24px;
  align-items: center;
}

.government-note-icon {
  font-size: 32px;
  flex-shrink: 0;
}

.government-note p {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
}

.government-note strong {
  color: var(--white);
}

/* ══════════════════════════════════════════════════════════
   ADMIN DASHBOARD
   ══════════════════════════════════════════════════════════ */
.admin-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  min-height: 100vh;
}

.admin-sidebar {
  background: var(--slate-900);
  color: white;
  padding: 40px 24px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.admin-sidebar .logo {
  color: white;
  margin-bottom: 20px;
  font-size: 20px;
  font-weight: 800;
  text-decoration: none;
}

.admin-sidebar .logo span {
  color: var(--cyan);
}

.admin-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.admin-nav-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  color: var(--slate-400);
  text-decoration: none;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  transition: var(--transition);
}

.admin-nav-link:hover,
.admin-nav-link.active {
  background: rgba(255, 255, 255, 0.05);
  color: white;
}

.admin-nav-link svg {
  width: 20px;
  height: 20px;
  opacity: 0.6;
}

.admin-nav-link.active svg {
  color: var(--cyan);
  opacity: 1;
}

.admin-main {
  background: var(--slate-50);
  padding: 60px;
  overflow-y: auto;
}

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

.admin-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-bottom: 48px;
}

.stat-card {
  background: white;
  padding: 32px;
  border-radius: 24px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: var(--transition);
}

.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.stat-label {
  font-size: 13px;
  font-weight: 800;
  color: var(--slate-500);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
  display: block;
}

.stat-value {
  font-size: 32px;
  font-weight: 800;
  color: var(--slate-900);
  letter-spacing: -0.02em;
}

.stat-trend {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  margin-left: 12px;
}

.trend-up {
  background: #ecfdf5;
  color: #10b981;
}

/* Admin Table */
.admin-table-container {
  background: white;
  border-radius: 24px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  overflow-x: auto;
  /* Enable horizontal scrolling */
  scrollbar-width: thin;
  scrollbar-color: var(--cyan) transparent;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 1200px;
  /* Increased to allow all words to be seen well */
  table-layout: auto;
}

.admin-table th {
  background: var(--cyan);
  padding: 20px 24px;
  text-align: left;
  font-size: 11px;
  font-weight: 800;
  color: white;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
  /* Prevent headers from wrapping */
}

.admin-table td {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
  color: var(--slate-700);
  vertical-align: middle;
  white-space: nowrap;
  /* Prevent cell content from wrapping */
}

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

.admin-table tr:hover td {
  background: #fcfcfc;
}

/* Modal for Admin */
.admin-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.4);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
}

.admin-modal {
  background: white;
  width: 600px;
  border-radius: 32px;
  padding: 48px;
  box-shadow: var(--shadow-xl);
  max-height: 90vh;
  overflow-y: auto;
}

.admin-form-group {
  margin-bottom: 24px;
}

.admin-label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--slate-700);
  margin-bottom: 8px;
}

.admin-input,
.admin-select,
.admin-textarea {
  width: 100%;
  padding: 16px 20px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  font-family: inherit;
  font-size: 14px;
  transition: all 0.2s;
}

.file-upload-box {
  border: 2px dashed var(--border);
  border-radius: 24px;
  padding: 32px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
  background: var(--slate-50);
  position: relative;
  overflow: hidden;
}

.file-upload-box:hover {
  border-color: var(--cyan);
  background: rgba(0, 163, 196, 0.05);
}

.admin-input:focus {
  outline: none;
  border-color: var(--cyan);
  background: white;
}

/* ══════════════════════════════════════════════
   ADMIN ENHANCEMENTS
══════════════════════════════════════════════ */
.inventory-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
  background: var(--slate-100);
  padding: 6px;
  border-radius: 100px;
  /* Pill smooth */
  width: fit-content;
}

.inv-tab-btn {
  padding: 10px 24px;
  border-radius: 100px;
  /* Pill smooth */
  border: none;
  background: transparent;
  color: var(--slate-600);
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: var(--transition);
}

.inv-tab-btn.active {
  background: var(--white);
  color: var(--cyan);
  box-shadow: var(--shadow-sm);
}

.badge-status {
  padding: 6px 16px;
  border-radius: 100px;
  /* Pill smooth */
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  display: inline-block;
}

/* User requested no green + full color */
.status-instock {
  background: var(--cyan);
  color: white;
}

.status-lowstock {
  background: #F59E0B;
  color: white;
}

.status-outofstock {
  background: #EF4444;
  color: white;
}

/* Dotted Action Button */
.btn-more {
  width: 40px;
  height: 40px;
  border-radius: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  background: white;
  color: var(--slate-600);
  cursor: pointer;
  transition: var(--transition);
  position: relative;
}

.btn-more:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  background: var(--cyan-light);
}

/* Action Dropdown Menu */
.action-dropdown {
  position: absolute;
  right: 0;
  top: 110%;
  background: white;
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  z-index: 100;
  padding: 8px;
  min-width: 160px;
  display: none;
  animation: cardEntrance 0.2s ease forwards;
}

.action-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--slate-600);
  cursor: pointer;
  transition: var(--transition);
  text-align: left;
  width: 100%;
}

.action-item:hover {
  background: var(--slate-50);
  color: var(--cyan);
}

.action-item.delete:hover {
  background: #FEEBEB;
  color: #EF4444;
}

.preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 32px;
  padding: 20px 0;
}

.admin-modal {
  border-radius: 40px;
  /* Extra smooth modal */
}

/* Ensure all admin inputs are pill-shaped */
.admin-input,
.admin-select {
  border-radius: 100px !important;
  padding-left: 24px !important;
}

.admin-textarea {
  border-radius: 24px !important;
  padding: 20px 24px !important;
}