/* ========================================
   STREICHER DESIGN SYSTEM v2.0
   Rules-Based Responsive Framework
   ======================================== */

:root {
  /* Colors */
  --primary: #0f172a;
  --primary-light: #1e293b;
  --accent: #e11d48;
  --accent-hover: #be123c;
  --bg-body: #f8fafc;
  --bg-card: #ffffff;
  --text-main: #0f172a;
  --text-muted: #64748b;
  --text-white: #ffffff;
  
  /* Layout */
  --header-height-desktop: 120px;
  --header-height-mobile: 70px;
  --container-max: 1400px;
  --gutter: 24px;
  
  /* Elevation */
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1);
  --shadow-premium: 0 20px 25px -5px rgba(0,0,0,0.1);
}

/* Base Rules */
* { box-sizing: border-box; margin: 0; padding: 0; }
body { 
  font-family: 'Inter', sans-serif; 
  background: var(--bg-body); 
  color: var(--text-main);
  line-height: 1.6;
}

/* Responsive Grid Rules */
.grid-2, .grid-3, .grid-4, .grid-sidebar, .grid-cart {
  display: grid;
  gap: 40px;
}

/* DESKTOP RULES (Default) */
@media (min-width: 1025px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
  .grid-sidebar { grid-template-columns: 320px 1fr; }
  .grid-cart { grid-template-columns: 1fr 400px; }
  
  .mobile-only { display: none !important; }
  .desktop-only { display: block !important; }
}

/* MOBILE RULES */
@media (max-width: 1024px) {
  .grid-2, .grid-3, .grid-4, .grid-sidebar, .grid-cart {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }
  
  .desktop-only { display: none !important; }
  .mobile-only { display: block !important; }
  
  /* Hero Scale */
  .hero-modern { min-height: 60vh !important; padding: 60px 0 !important; }
  .hero-title { font-size: 2.5rem !important; }
  
  /* Footer Scale */
  .footer-grid { grid-template-columns: 1fr !important; gap: 40px !important; text-align: center; }
}

/* PREMIUM HEADER */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: white;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.header-top {
  background: #0f172a;
  color: white;
  padding: 10px 0;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.3px;
}

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

.header-contact-info {
  display: flex;
  align-items: center;
  gap: 24px;
}

.header-contact-info .separator {
  width: 1px;
  height: 12px;
  background: rgba(255,255,255,0.2);
}

.header-utility-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

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

.header-utility-links a:hover {
  color: white;
}

.lang-switcher {
  display: flex;
  background: rgba(255,255,255,0.1);
  padding: 2px;
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,0.1);
}

.lang-btn {
  padding: 3px 12px;
  border-radius: 4px;
  color: rgba(255,255,255,0.6) !important;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.65rem;
  transition: all 0.3s;
}

.lang-btn.active {
  background: var(--accent);
  color: white !important;
  box-shadow: 0 2px 8px rgba(225, 29, 72, 0.4);
}

.header-main {
  background: white;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.header-main-inner {
  height: 100px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo-img {
  height: 60px;
  width: auto;
  object-fit: contain;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

.header-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-right: auto; /* Pushes nav to the left next to logo */
}

.header-nav a {
  text-decoration: none;
  color: #1e293b;
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s;
  position: relative;
  padding: 10px 0;
}

.header-nav a:not(.cart-link):after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s ease;
}

.header-nav a:hover {
  color: var(--accent);
}

.header-nav a:hover:after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.cart-link {
  background: #0f172a;
  color: white !important;
  padding: 12px 24px;
  border-radius: 12px;
  font-weight: 700;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all 0.3s;
  box-shadow: 0 4px 15px rgba(15, 23, 42, 0.15);
}

.cart-link:hover {
  background: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(225, 29, 72, 0.25);
}

.cart-count-badge {
  background: white;
  color: var(--accent);
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 800;
}

.mobile-header {
  display: none;
  height: var(--header-height-mobile);
  padding: 0 20px;
  background: var(--primary);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  align-items: center;
  justify-content: space-between;
}

.mobile-logo-container {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.mobile-logo-img {
  height: 32px;
  width: auto;
  /* No filter here to avoid double-whitening */
}

.mobile-cart-icon {
  color: white;
  text-decoration: none;
  position: relative;
  width: 40px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.hero-content {
  position: relative;
  z-index: 20;
  max-width: 750px;
  color: #ffffff !important;
}

.hero-tag {
  display: inline-flex;
  padding: 8px 20px;
  background: rgba(225, 29, 72, 0.1);
  border: 1px solid rgba(225, 29, 72, 0.3);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent) !important;
  margin-bottom: 32px;
}

.hero-title {
  font-size: clamp(3rem, 6vw, 4.5rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 32px;
  letter-spacing: -2px;
  color: #ffffff !important;
}

.hero-subtitle {
  font-size: 1.25rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.85) !important;
  margin-bottom: 48px;
  max-width: 600px;
}

.hero-stats {
  display: flex;
  gap: 60px;
  margin-top: 60px;
}

.stat-number {
  font-size: 3rem;
  font-weight: 900;
  color: var(--accent) !important;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7) !important;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 700;
}

.hero-actions {
  display: flex;
  gap: 24px;
}

.cart-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  background: var(--accent);
  color: white;
  font-size: 0.7rem;
  padding: 2px 5px;
  border-radius: 50%;
  font-weight: 800;
  min-width: 18px;
  text-align: center;
  border: 2px solid var(--primary);
}

@media (max-width: 1024px) {
  .mobile-header { display: flex; }
  .site-header { background: transparent; border: none; }
}

/* Hamburger Icon - Traditional 3-line style */
.mobile-menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.hamburger-line {
  width: 100%;
  height: 2px;
  background: white;
  border-radius: 2px;
  transition: all 0.3s;
}

/* Mobile Nav Drawer */
.mobile-nav {
  position: fixed;
  top: 0;
  right: -320px; /* Fully off-screen */
  width: 300px;
  height: 100vh;
  background: var(--primary-light);
  z-index: 2001;
  transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 40px;
  display: flex;
  flex-direction: column;
  box-shadow: -10px 0 30px rgba(0,0,0,0.2);
  visibility: hidden;
}

.nav-open .mobile-nav { 
  right: 0; 
  visibility: visible;
}

.mobile-nav-links a {
  display: block;
  color: white;
  text-decoration: none;
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 24px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

/* Hero Section */
.hero-modern {
  background: var(--primary);
  position: relative;
  overflow: hidden;
  padding: 140px 0;
  min-height: 85vh;
  display: flex;
  align-items: center;
}

/* ========== CATALOG FILTERS ========== */
.filter-card {
  margin-top: 24px;
}

.filter-groups {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.filter-group-title {
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #94a3b8;
  margin-bottom: 12px;
}

.filter-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.filter-option {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #475569;
  font-size: 0.9rem;
  transition: all 0.2s;
  padding: 4px 0;
}

.filter-option:hover {
  color: var(--accent);
}

.filter-option.active {
  color: #0f172a;
  font-weight: 700;
}

.filter-option .checkbox {
  font-size: 1rem;
}

.filter-actions {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid #f1f5f9;
}

.btn-clear-filters {
  display: block;
  text-align: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: #64748b;
  text-decoration: none;
  padding: 10px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  transition: all 0.2s;
}

.btn-clear-filters:hover {
  background: #f8fafc;
  color: var(--accent);
  border-color: var(--accent);
}

/* ========== PRODUCT CARDS ========== */
.product-image-container {
  position: relative;
}

.stock-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  z-index: 2;
}

.stock-badge.in-stock {
  background: #10b981;
  color: white;
}

.stock-badge.out-of-stock {
  background: #f59e0b;
  color: white;
}

.card-actions {
  display: flex;
  gap: 8px;
}

.btn-quote {
  background: #0f172a;
  color: white;
}

.btn-quote:hover {
  background: var(--accent);
}

/* ========== FOOTER MODERN ========== */
.catalog-page {
  padding-top: 40px;
}

.breadcrumb {
  margin-bottom: 24px;
  font-size: 0.9rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

.breadcrumb a {
  text-decoration: none;
  color: var(--accent);
  font-weight: 600;
  transition: color 0.2s;
}

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

.breadcrumb .current {
  color: #1e293b;
  font-weight: 700;
}

.sidebar-card {
  background: white;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.03);
  border: 1px solid rgba(0,0,0,0.05);
  padding: 32px;
  margin-bottom: 32px;
  overflow: hidden;
}

.sidebar-title {
  font-size: 1.1rem;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 800;
  color: #0f172a;
}

.search-form-modern {
  position: relative;
}

.search-input {
  width: 100%;
  height: 54px;
  padding: 0 50px 0 20px;
  border: 2px solid #f1f5f9;
  border-radius: 12px;
  outline: none;
  background: #f8fafc;
  font-family: inherit;
  font-size: 0.95rem;
  transition: all 0.3s;
}

.search-input:focus {
  border-color: var(--accent);
  background: white;
  box-shadow: 0 4px 15px rgba(225, 29, 72, 0.05);
}

.search-submit {
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.2rem;
  transition: transform 0.2s;
}

.search-submit:hover {
  transform: translateY(-50%) scale(1.2);
}

.category-card {
  padding: 0;
}

.sidebar-card-header {
  padding: 24px 32px;
  border-bottom: 2px solid #f1f5f9;
  background: #f8fafc;
}

.category-nav-list {
  display: flex;
  flex-direction: column;
}

.category-nav-item {
  padding: 18px 32px;
  text-decoration: none;
  color: #475569;
  font-weight: 700;
  font-size: 0.9rem;
  border-left: 4px solid transparent;
  border-bottom: 1px solid #f1f5f9;
  transition: all 0.3s;
}

.category-nav-item:last-child {
  border-bottom: none;
}

.category-nav-item:hover {
  background: #f8fafc;
  color: var(--accent);
  padding-left: 40px;
}

.category-nav-item.active {
  background: #fff1f2;
  color: var(--accent);
  border-left-color: var(--accent);
}

.product-grid-header {
  margin-bottom: 48px;
  border-bottom: 2px solid #f1f5f9;
  padding-bottom: 40px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
}

.catalog-title {
  font-size: 2.5rem;
  font-weight: 900;
  color: #0f172a;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.catalog-desc {
  color: #64748b;
  font-size: 1.1rem;
  max-width: 650px;
  line-height: 1.6;
}

.currency-switcher {
  display: flex;
  gap: 8px;
  background: #f1f5f9;
  padding: 5px;
  border-radius: 10px;
}

.currency-btn {
  padding: 8px 20px;
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: 6px;
  transition: all 0.3s;
  color: #64748b;
}

.currency-btn.active {
  background: white;
  color: var(--accent);
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.product-grid-modern {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 40px;
}

.product-card-modern {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  box-shadow: 0 4px 20px rgba(0,0,0,0.04);
  border: 1px solid rgba(0,0,0,0.03);
  display: flex;
  flex-direction: column;
}

.product-card-modern:hover {
  transform: translateY(-12px);
  box-shadow: 0 30px 60px rgba(15, 23, 42, 0.12);
}

.product-image-container {
  aspect-ratio: 4/3;
  background: #f8fafc;
  overflow: hidden;
  position: relative;
}

.product-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.product-card-modern:hover .product-image-container img {
  transform: scale(1.1);
}

.product-info-modern {
  padding: 32px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-cat-modern {
  font-size: 0.75rem;
  color: var(--accent);
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: 1.5px;
  margin-bottom: 12px;
}

.product-title-modern {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 24px;
  line-height: 1.4;
  color: #0f172a;
}

.product-title-modern a {
  text-decoration: none;
  color: inherit;
}

.product-card-footer {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.price-label {
  font-size: 0.7rem;
  color: #94a3b8;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 4px;
}

.product-price-modern {
  font-size: 1.5rem;
  font-weight: 900;
  color: #0f172a;
  letter-spacing: -0.5px;
}

.btn-view {
  background: #f1f5f9;
  color: #475569;
  padding: 10px 24px;
  font-size: 0.85rem;
}

.btn-view:hover {
  background: var(--accent);
  color: white;
}

/* ========== HOME PAGE SECTIONS ========== */
.hero-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 70% 30%, rgba(225, 29, 72, 0.1) 0%, transparent 70%);
  z-index: 1;
}

.hero-stats {
  display: flex;
  gap: 60px;
  margin-top: 60px;
}

.stat-number {
  font-size: 3rem;
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}

.hero-image-side {
  position: absolute;
  right: -5%;
  top: 50%;
  transform: translateY(-50%);
  width: 45%;
  z-index: 5;
}

.hero-image-wrapper {
  position: relative;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 50px 100px rgba(0,0,0,0.5);
}

.hero-image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
}

.image-overlay-accent {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to right, #0f172a 0%, transparent 50%);
}

.trusted-section {
  background: white;
  padding: 60px 0;
  border-bottom: 1px solid #f1f5f9;
}

.trusted-title {
  text-align: center;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: #94a3b8;
  margin-bottom: 48px;
}

.client-logo-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 60px;
}

.client-logo {
  font-weight: 900;
  font-size: 1.5rem;
  color: #cbd5e1;
  font-family: 'Outfit', sans-serif;
  letter-spacing: -1px;
  transition: all 0.3s;
}

.client-logo:hover {
  color: #0f172a;
  transform: scale(1.1);
}

.bg-light {
  background: #f8fafc;
}

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

.section-title {
  font-size: 3rem;
  font-weight: 900;
  color: #0f172a;
  margin-bottom: 16px;
  letter-spacing: -1px;
}

.section-subtitle {
  font-size: 1.25rem;
  color: #64748b;
  max-width: 700px;
  margin: 0 auto;
}

.category-grid-modern {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 32px;
}

.category-card-modern {
  background: white;
  padding: 48px;
  border-radius: 24px;
  text-decoration: none;
  color: inherit;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  border: 1px solid rgba(0,0,0,0.05);
  box-shadow: 0 4px 20px rgba(0,0,0,0.02);
}

.category-card-modern:hover {
  transform: translateY(-10px);
  box-shadow: 0 40px 80px rgba(15, 23, 42, 0.1);
  border-color: var(--accent);
}

.category-icon {
  width: 64px;
  height: 64px;
  background: #fff1f2;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 32px;
  font-size: 2rem;
  color: var(--accent);
}

.category-title {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 16px;
  color: #0f172a;
}

.category-desc {
  font-size: 1rem;
  color: #64748b;
  line-height: 1.6;
  margin-bottom: 24px;
}

.category-link {
  font-weight: 800;
  color: var(--accent);
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 1px;
}

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

.featured-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--accent);
  color: white;
  padding: 6px 16px;
  border-radius: 30px;
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 4px 15px rgba(225, 29, 72, 0.3);
}

.software-activation-section {
  background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
}

.software-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #16a34a;
  color: white;
  padding: 10px 24px;
  border-radius: 100px;
  margin-bottom: 32px;
  box-shadow: 0 10px 20px rgba(22, 163, 74, 0.2);
}

.software-badge .label {
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 1.5px;
}

.software-actions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 32px;
  margin-top: 60px;
}

.software-card {
  background: white;
  padding: 56px;
  border-radius: 24px;
  text-align: left;
  box-shadow: 0 10px 40px rgba(0,0,0,0.05);
}

.software-card h3 {
  font-size: 1.75rem;
  font-weight: 800;
  margin-bottom: 16px;
  color: #0f172a;
}

.cta-section {
  background: #0f172a;
  color: white;
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}

.cta-title {
  font-size: 4rem;
  font-weight: 900;
  margin-bottom: 32px;
  letter-spacing: -2px;
}

.cta-subtitle {
  font-size: 1.5rem;
  color: rgba(255,255,255,0.7);
  max-width: 800px;
  margin: 0 auto 60px;
}

.cta-actions {
  display: flex;
  justify-content: center;
  gap: 32px;
}

.btn-modern.lg {
  padding: 20px 48px;
  font-size: 1.1rem;
}

.w-full {
  width: 100%;
}

/* Admin Dashboard & Table Refinements */
.overflow-x-auto {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

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

@media (max-width: 1024px) {
  .admin-table {
    min-width: 800px; /* Prevent cramping on mobile */
  }
  
  .admin-topbar {
    padding: 12px 20px !important;
    height: 60px !important;
  }
  
  .admin-content {
    padding: 30px 20px !important;
    padding-top: 80px !important;
  }
}

/* ========== CHECKOUT LAYOUT ========== */
.checkout-layout-grid {
  display: grid;
  grid-template-columns: 1fr 450px;
  gap: 40px;
  align-items: start;
}

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

@media (max-width: 1024px) {
  .checkout-layout-grid {
    grid-template-columns: 1fr;
  }
  
  .checkout-sidebar {
    order: -1; /* Show summary at top on mobile */
    margin-bottom: 32px;
  }
}

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

/* Utilities */
.mb-48 { margin-bottom: 48px; }
.gap-32 { gap: 32px; }
.border-radius-lg { border-radius: 24px; }
.shadow-premium { box-shadow: 0 20px 50px rgba(0,0,0,0.08); }

.checkout-header {
  border-bottom: 1px solid #e2e8f0;
  padding-bottom: 32px;
}

.checkout-tag {
  display: inline-block;
  padding: 6px 16px;
  background: #fff1f2;
  color: var(--accent);
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.checkout-title {
  font-size: 2.5rem;
  font-weight: 900;
  color: #0f172a;
  margin-bottom: 12px;
  letter-spacing: -1px;
}

.checkout-subtitle {
  font-size: 1.1rem;
  color: #64748b;
  max-width: 700px;
}

.summary-card {
  padding: 40px;
  color: white;
}

.summary-title {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding-bottom: 16px;
}

.summary-items {
  margin-bottom: 32px;
}

.summary-item {
  display: flex;
  justify-content: space-between;
  margin-bottom: 16px;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.8);
}

.item-qty {
  font-weight: 800;
  color: white;
  margin-left: 8px;
}

.summary-totals {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  margin-bottom: 32px;
}

.total-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
  font-size: 1rem;
  color: rgba(255,255,255,0.6);
}

.final-total-box {
  margin-top: 24px;
  background: rgba(255,255,255,0.05);
  padding: 24px;
  border-radius: 16px;
  text-align: center;
}

.final-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 800;
  color: rgba(255,255,255,0.5);
  margin-bottom: 8px;
}

.final-value {
  font-size: 2.25rem;
  font-weight: 900;
  color: white;
}

.checkout-submit {
  width: 100%;
  margin-bottom: 20px;
}

.terms-text {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.5);
  text-align: center;
  line-height: 1.5;
}

.terms-text a {
  color: white;
  text-decoration: underline;
}

/* ========== GLOBAL CENTRALIZATION ========== */
.container-modern {
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
  width: 100%;
}

.text-white { color: #ffffff !important; }
.bg-primary { background-color: #0f172a !important; }

/* ========== STEPPER MODERN ========== */
.stepper-modern {
  display: flex;
  justify-content: space-between;
  position: relative;
  margin-bottom: 40px;
}

.stepper-modern::before {
  content: '';
  position: absolute;
  top: 30px;
  left: 0;
  right: 0;
  height: 4px;
  background: #e2e8f0;
  z-index: 1;
}

.step-item {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
}

.step-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: white;
  border: 4px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  margin-bottom: 16px;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
}

.step-item.active .step-icon {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.2);
}

.step-item.completed .step-icon {
  background: #10b981;
  border-color: #10b981;
  color: white;
  box-shadow: 0 10px 20px rgba(16, 185, 129, 0.2);
}

.step-label {
  font-size: 0.85rem;
  font-weight: 800;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: color 0.3s;
}

.step-item.active .step-label,
.step-item.completed .step-label {
  color: var(--primary);
}

.step-checkmark {
  position: absolute;
  top: -5px;
  right: -5px;
  width: 24px;
  height: 24px;
  background: #10b981;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  border: 2px solid white;
  font-size: 10px;
}

/* MOBILE STEPPER */
@media (max-width: 768px) {
  .stepper-modern {
    flex-direction: column;
    gap: 32px;
    align-items: flex-start;
  }
  
  .stepper-modern::before {
    left: 30px;
    top: 0;
    bottom: 0;
    width: 4px;
    height: 100%;
  }
  
  .step-item {
    flex-direction: row;
    gap: 24px;
    align-items: center;
    width: 100%;
  }
  
  .step-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 0;
  }
  
  .step-label {
    font-size: 1rem;
  }
}

/* Responsive Table Refinements */
@media (max-width: 1024px) {
  .order-details-header {
    flex-direction: column;
    align-items: flex-start !important;
    gap: 24px;
  }
  
  .order-details-header .text-right {
    text-align: left !important;
  }
  
  .grid-sidebar {
    grid-template-columns: 1fr !important;
  }
  
  .help-section-modern {
    flex-direction: column;
    gap: 40px;
    text-align: center;
  }
  
  .help-section-modern .flex {
    flex-direction: column;
    width: 100%;
  }
  
  .help-section-modern .btn-modern {
    width: 100%;
  }
}

/* MOBILE SPACING UTILITIES */
@media (max-width: 768px) {
  .mobile-p-20 { padding: 20px !important; }
  .mobile-p-24 { padding: 24px !important; }
  .mobile-p-32 { padding: 32px !important; }
  .mobile-px-20 { padding-left: 20px !important; padding-right: 20px !important; }
  .mobile-py-32 { padding-top: 32px !important; padding-bottom: 32px !important; }
  
  .text-5xl { font-size: 2.5rem !important; }
  .text-4xl { font-size: 2rem !important; }
  .text-2xl { font-size: 1.5rem !important; }
}



@media (max-width: 1024px) {
  .sticky-top-120 {
    position: relative !important;
    top: 0 !important;
  }
}


/* ========== ENHANCED SUPPORT SECTION ========== */
.help-section-modern {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%) !important;
  border: 1px solid rgba(255,255,255,0.05) !important;
  min-height: 250px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.help-support-bg {
  position: absolute;
  top: 50%;
  left: 5%;
  transform: translateY(-50%);
  font-size: 18rem;
  font-weight: 900;
  color: white;
  opacity: 0.03;
  letter-spacing: -5px;
  pointer-events: none;
  z-index: 0;
  white-space: nowrap;
  font-family: 'Outfit', sans-serif;
}

.help-content {
  position: relative;
  z-index: 2;
  flex: 1;
}

.help-actions {
  display: flex;
  gap: 20px;
  position: relative;
  z-index: 2;
  flex-shrink: 0;
}

.help-btn {
  backdrop-filter: blur(10px);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
  min-width: 200px;
  justify-content: center;
}

.help-btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.3) !important;
}

@media (max-width: 1024px) {
  .help-section-modern {
    flex-direction: column;
    text-align: center;
    padding: 60px 30px !important;
    gap: 40px;
    justify-content: center;
    min-height: auto;
  }
  
  .help-support-bg {
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 8rem;
    letter-spacing: 0;
  }
  
  .help-actions {
    flex-direction: column;
    width: 100%;
    gap: 16px;
  }
  
  .help-btn {
    width: 100%;
    min-width: unset;
  }
}
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  border: 1px solid rgba(255,255,255,0.05);
}

.help-support-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 15rem;
  font-weight: 900;
  color: white;
  opacity: 0.03;
  letter-spacing: -10px;
  pointer-events: none;
  z-index: 0;
  white-space: nowrap;
}

.help-content {
  position: relative;
  z-index: 2;
}

.help-actions {
  display: flex;
  gap: 20px;
  position: relative;
  z-index: 2;
}

.help-btn {
  backdrop-filter: blur(10px);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.help-btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.3);
}
