/* =====================================================
   ZYMOMAX BIOTECH — Design System (Clean Light Theme)
   ===================================================== */

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

/* ---- CSS Custom Properties ---- */
:root {
  --navy:       #ffffff;
  --navy-mid:   #f9fafb;
  --navy-light: #f3f4f6;
  --teal:       #0277bd; /* Swapped to a professional blue/teal */
  --teal-dark:  #01579b;
  --teal-glow:  rgba(2, 119, 189, 0.08);
  --blue:       #0277bd;
  --blue-dark:  #01579b;
  --gold:       #d97706;
  --white:      #ffffff;
  --off-white:  #111827; /* Dark text */
  --muted:      #6b7280; /* Gray text */
  --card-bg:    #ffffff;
  --glass-bg:   #ffffff;
  --glass-border: #e5e7eb;
  --gradient-hero: #ffffff;
  --gradient-teal: #0277bd;
  --gradient-gold: #d97706;
  --shadow-teal: none;
  --shadow-card: 0 4px 12px rgba(0,0,0,0.05);
  --radius:     8px;
  --radius-lg:  12px;
  --radius-xl:  16px;
  --transition: all 0.2s ease-in-out;
  --font-main:  'Outfit', sans-serif;
  --font-head:  'Inter', sans-serif;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-main);
  background: var(--navy);
  color: var(--off-white);
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: var(--font-main); }
input, textarea, select { font-family: var(--font-main); }
ul { list-style: none; }

/* ---- Scrollbar ---- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #f3f4f6; }
::-webkit-scrollbar-thumb { background: #d1d5db; border-radius: 3px; }

/* =====================================================
   NAVIGATION
   ===================================================== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5%;
  height: 72px;
  background: rgba(255,255,255,0.95);
  border-bottom: 1px solid var(--glass-border);
  transition: var(--transition);
}
.navbar.scrolled {
  background: #ffffff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav-logo img {
  height: 44px;
  width: auto;
  border-radius: 4px;
}
.nav-logo-text {
  display: flex;
  flex-direction: column;
}
.nav-logo-text .brand { font-family: var(--font-head); font-size: 1.3rem; font-weight: 800; color: #111827; letter-spacing: 0.02em; }
.nav-logo-text .tagline { font-size: 0.65rem; color: var(--muted); letter-spacing: 0.05em; text-transform: uppercase; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-links a {
  padding: 8px 14px;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted);
  transition: var(--transition);
}
.nav-links a:hover, .nav-links a.active {
  color: var(--teal);
  background: var(--teal-glow);
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav-cart-btn {
  position: relative;
  width: 42px; height: 42px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 6px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  color: var(--off-white);
  font-size: 1.1rem;
  transition: var(--transition);
}
.nav-cart-btn:hover { background: var(--teal-glow); border-color: var(--teal); color: var(--teal); }
.cart-badge {
  position: absolute;
  top: -6px; right: -6px;
  background: var(--teal);
  color: var(--white);
  font-size: 0.65rem;
  font-weight: 800;
  width: 18px; height: 18px;
  border-radius: 50%;
  display: none; align-items: center; justify-content: center;
}
.cart-badge.show { display: flex; }
.btn-nav {
  padding: 9px 20px;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  background: var(--teal);
  color: var(--white);
  border: none;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-nav:hover { background: var(--teal-dark); }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--off-white); border-radius: 2px; transition: var(--transition); }

/* =====================================================
   HERO
   ===================================================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: var(--white);
}
.hero-bg {
  display: none; /* Removed fancy background image */
}
.hero-overlay {
  display: none;
}
#particles-canvas {
  display: none; /* Removed fancy particles */
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 120px 5% 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
  width: 100%;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 4px;
  background: var(--teal-glow);
  border: 1px solid rgba(2, 119, 189, 0.2);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--teal);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 24px;
  width: fit-content;
}
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); }
.hero-title {
  font-family: var(--font-head);
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
  color: #111827;
}
.hero-title .highlight { color: var(--teal); }
.hero-sub {
  font-size: 1.1rem;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 520px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--glass-border);
}
.stat { text-align: center; }
.stat-num { font-family: var(--font-head); font-size: 1.8rem; font-weight: 800; color: #111827; line-height: 1; }
.stat-label { font-size: 0.78rem; color: var(--muted); margin-top: 4px; text-transform: uppercase; letter-spacing: 0.05em; }
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-card-wrapper {
  position: relative;
  width: 100%;
  max-width: 420px;
}
.hero-img-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-card);
  position: relative;
}
.hero-img-card img { width: 100%; height: 340px; object-fit: cover; }
.hero-float-badge {
  position: absolute;
  bottom: -20px; left: -20px;
  background: var(--white);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-card);
}
.hero-float-badge .icon { font-size: 2rem; }
.hero-float-badge .info .label { font-size: 0.75rem; color: var(--muted); }
.hero-float-badge .info .val { font-weight: 700; font-size: 0.95rem; color: var(--teal); }

/* =====================================================
   BUTTONS
   ===================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 6px;
  font-size: 0.95rem;
  font-weight: 500;
  border: none;
  transition: var(--transition);
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary {
  background: var(--teal);
  color: var(--white);
}
.btn-primary:hover { background: var(--teal-dark); }
.btn-secondary {
  background: transparent;
  color: var(--teal);
  border: 1.5px solid var(--teal);
}
.btn-secondary:hover { background: var(--teal-glow); }
.btn-gold {
  background: var(--gold);
  color: var(--white);
}
.btn-gold:hover { background: #b45309; }
.btn-ghost {
  background: #f3f4f6;
  color: var(--off-white);
  border: 1px solid var(--glass-border);
}
.btn-ghost:hover { background: #e5e7eb; }
.btn-danger { background: #fef2f2; color: #dc2626; border: 1px solid #fecaca; }
.btn-danger:hover { background: #fee2e2; }
.btn-sm { padding: 8px 16px; font-size: 0.85rem; }
.btn-lg { padding: 14px 32px; font-size: 1.05rem; }
.btn-full { width: 100%; justify-content: center; }

/* =====================================================
   SECTIONS
   ===================================================== */
.section {
  padding: 80px 5%;
  max-width: 1200px;
  margin: 0 auto;
}
.section-alt {
  background: var(--navy-mid);
  padding: 80px 5%;
}
.section-alt .section { padding-top: 0; padding-bottom: 0; }
.section-header { text-align: center; margin-bottom: 56px; }
.section-tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 4px;
  background: var(--teal-glow);
  border: 1px solid rgba(2, 119, 189, 0.2);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--teal);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.section-title {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 16px;
  color: #111827;
}
.section-desc {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.6;
}

/* =====================================================
   CARDS
   ===================================================== */
.card {
  background: var(--card-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: var(--transition);
  box-shadow: 0 1px 3px rgba(0,0,0,0.02);
}
.card:hover {
  border-color: #cbd5e1;
  box-shadow: var(--shadow-card);
}
.card-icon {
  width: 48px; height: 48px;
  border-radius: 8px;
  background: var(--teal-glow);
  border: 1px solid rgba(2, 119, 189, 0.1);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  margin-bottom: 16px;
}
.card-title { font-family: var(--font-head); font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; color: #111827; }
.card-desc { color: var(--muted); font-size: 0.92rem; line-height: 1.6; }

/* =====================================================
   WHY US GRID
   ===================================================== */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

/* =====================================================
   PRODUCT CARDS
   ===================================================== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}
.product-card {
  background: var(--card-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
}
.product-card:hover { box-shadow: var(--shadow-card); border-color: #cbd5e1; }
.product-img { width: 100%; height: 200px; object-fit: cover; background: #f8fafc; }
.product-body { padding: 20px; }
.product-badge { display: inline-block; padding: 4px 10px; border-radius: 4px; font-size: 0.75rem; font-weight: 500; background: var(--teal-glow); color: var(--teal); margin-bottom: 10px; }
.product-name { font-family: var(--font-head); font-size: 1.05rem; font-weight: 700; margin-bottom: 6px; color: #111827; }
.product-desc { font-size: 0.88rem; color: var(--muted); line-height: 1.5; margin-bottom: 16px; }
.product-footer { display: flex; align-items: center; justify-content: space-between; }
.product-price { font-family: var(--font-head); font-size: 1.2rem; font-weight: 700; color: #111827; }
.product-price span { font-size: 0.8rem; font-weight: 400; color: var(--muted); }

/* =====================================================
   FORM ELEMENTS
   ===================================================== */
.form-group { margin-bottom: 20px; }
.form-label { display: block; font-size: 0.88rem; font-weight: 500; color: #374151; margin-bottom: 6px; }
.form-label span { color: #dc2626; }
.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 10px 14px;
  border-radius: 6px;
  background: #ffffff;
  border: 1px solid var(--glass-border);
  color: var(--off-white);
  font-size: 0.95rem;
  transition: var(--transition);
  outline: none;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 2px var(--teal-glow);
}
.form-input::placeholder, .form-textarea::placeholder { color: #9ca3af; }
.form-textarea { resize: vertical; min-height: 100px; }
.form-select option { background: #ffffff; color: var(--off-white); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-error { font-size: 0.8rem; color: #dc2626; margin-top: 4px; display: none; }
.form-error.show { display: block; }

/* =====================================================
   CART
   ===================================================== */
.cart-table { width: 100%; border-collapse: separate; border-spacing: 0 8px; }
.cart-table th { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); font-weight: 600; padding: 0 16px 8px; text-align: left; }
.cart-row { background: var(--card-bg); border: 1px solid var(--glass-border); border-radius: var(--radius); }
.cart-row td { padding: 12px 16px; vertical-align: middle; border-bottom: 1px solid var(--glass-border); }
.cart-row td:first-child { border-left: 1px solid var(--glass-border); border-radius: var(--radius) 0 0 var(--radius); border-bottom: 1px solid var(--glass-border); }
.cart-row td:last-child { border-right: 1px solid var(--glass-border); border-radius: 0 var(--radius) var(--radius) 0; border-bottom: 1px solid var(--glass-border); }
.cart-product { display: flex; align-items: center; gap: 16px; }
.cart-product img { width: 60px; height: 60px; object-fit: cover; border-radius: 6px; }
.cart-product-name { font-weight: 600; margin-bottom: 2px; color: #111827; }
.cart-product-sub { font-size: 0.82rem; color: var(--muted); }
.qty-ctrl { display: flex; align-items: center; gap: 8px; }
.qty-btn { width: 28px; height: 28px; border-radius: 4px; background: #f3f4f6; border: 1px solid var(--glass-border); color: #374151; display: flex; align-items: center; justify-content: center; transition: var(--transition); }
.qty-btn:hover { background: #e5e7eb; }
.qty-val { font-weight: 600; width: 24px; text-align: center; }
.order-summary { background: var(--card-bg); border: 1px solid var(--glass-border); border-radius: var(--radius-lg); padding: 24px; }
.order-summary-title { font-family: var(--font-head); font-size: 1.05rem; font-weight: 700; margin-bottom: 16px; color: #111827; }
.summary-row { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; font-size: 0.92rem; color: var(--muted); }
.summary-row.total { border-top: 1px solid var(--glass-border); padding-top: 12px; font-size: 1.05rem; font-weight: 700; color: #111827; }
.summary-row.total .price { color: var(--teal); font-size: 1.15rem; }

/* =====================================================
   PAGE HEADER (inner pages)
   ===================================================== */
.page-header {
  padding: 60px 0 40px;
  margin-top: 72px;
  background: var(--navy-mid);
  border-bottom: 1px solid var(--glass-border);
}
.page-header-bg { display: none; }
.page-header-overlay { display: none; }
.page-header-content { padding: 0 5%; max-width: 1200px; margin: 0 auto; width: 100%; text-align: center; }
.page-header-tag { display: inline-block; padding: 4px 12px; border-radius: 4px; background: var(--teal-glow); border: 1px solid rgba(2, 119, 189, 0.2); font-size: 0.75rem; font-weight: 600; color: var(--teal); text-transform: uppercase; margin-bottom: 12px; }
.page-header-title { font-family: var(--font-head); font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 800; color: #111827; }
.breadcrumb { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 0.85rem; color: var(--muted); margin-top: 12px; }
.breadcrumb a { color: var(--teal); }
.breadcrumb .sep { color: #d1d5db; }

/* =====================================================
   TEAM / ABOUT
   ===================================================== */
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 24px; }
.team-card { text-align: center; }
.team-avatar { width: 80px; height: 80px; border-radius: 50%; margin: 0 auto 12px; background: #f3f4f6; display: flex; align-items: center; justify-content: center; font-size: 2rem; }
.team-name { font-weight: 700; margin-bottom: 2px; color: #111827; }
.team-role { font-size: 0.85rem; color: var(--muted); }
.timeline { position: relative; padding-left: 24px; }
.timeline::before { content: ''; position: absolute; left: 6px; top: 0; bottom: 0; width: 2px; background: #e5e7eb; }
.timeline-item { position: relative; margin-bottom: 32px; }
.timeline-item::before { content: ''; position: absolute; left: -22px; top: 6px; width: 10px; height: 10px; border-radius: 50%; background: var(--teal); }
.timeline-year { font-size: 0.8rem; font-weight: 600; color: var(--teal); margin-bottom: 4px; }
.timeline-title { font-weight: 700; margin-bottom: 4px; color: #111827; }
.timeline-desc { font-size: 0.9rem; color: var(--muted); }

/* =====================================================
   STATS COUNTER
   ===================================================== */
.stats-strip {
  background: #ffffff;
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
  padding: 40px 5%;
}
.stats-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.counter-num { font-family: var(--font-head); font-size: 2.4rem; font-weight: 800; color: #111827; }
.counter-label { font-size: 0.85rem; color: var(--muted); margin-top: 4px; }

/* =====================================================
   TESTIMONIALS
   ===================================================== */
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.testimonial-card { background: var(--card-bg); border: 1px solid var(--glass-border); border-radius: var(--radius-lg); padding: 24px; }
.stars { color: var(--gold); font-size: 1rem; margin-bottom: 12px; }
.testimonial-text { font-size: 0.95rem; color: #374151; line-height: 1.6; font-style: italic; margin-bottom: 16px; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.author-avatar { width: 40px; height: 40px; border-radius: 50%; background: #f3f4f6; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; }
.author-name { font-weight: 600; font-size: 0.9rem; color: #111827; }
.author-loc { font-size: 0.8rem; color: var(--muted); }

/* =====================================================
   CONTACT
   ===================================================== */
.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 40px; align-items: start; }
.contact-info-card { background: var(--card-bg); border: 1px solid var(--glass-border); border-radius: var(--radius-lg); padding: 28px; }
.contact-info-item { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 24px; }
.contact-info-item:last-child { margin-bottom: 0; }
.contact-info-icon { width: 40px; height: 40px; border-radius: 8px; background: var(--teal-glow); display: flex; align-items: center; justify-content: center; font-size: 1.1rem; flex-shrink: 0; }
.contact-info-label { font-size: 0.75rem; color: var(--muted); font-weight: 600; text-transform: uppercase; margin-bottom: 2px; }
.contact-info-value { font-size: 0.92rem; color: #111827; }
.contact-info-value a { color: var(--teal); }
.map-embed { border-radius: var(--radius); overflow: hidden; margin-top: 24px; border: 1px solid var(--glass-border); }
.map-embed iframe { width: 100%; height: 200px; border: none; }
.contact-form-card { background: var(--card-bg); border: 1px solid var(--glass-border); border-radius: var(--radius-lg); padding: 32px; }

/* =====================================================
   CAREERS
   ===================================================== */
.vacancy-banner { background: #fffbeb; border: 1px solid #fde68a; border-radius: var(--radius-lg); padding: 32px; text-align: center; margin-bottom: 40px; }
.vacancy-icon { font-size: 2.5rem; margin-bottom: 12px; }
.vacancy-title { font-family: var(--font-head); font-size: 1.3rem; font-weight: 700; margin-bottom: 8px; color: #92400e; }
.vacancy-sub { color: #b45309; }
.perks-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; margin-bottom: 40px; }

/* =====================================================
   AUTH (Login/Register)
   ===================================================== */
.auth-page { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 100px 5% 60px; background: var(--navy-mid); }
.auth-card { background: var(--card-bg); border: 1px solid var(--glass-border); border-radius: var(--radius-xl); padding: 40px; max-width: 440px; width: 100%; box-shadow: var(--shadow-card); }
.auth-logo { display: flex; justify-content: center; margin-bottom: 24px; }
.auth-logo img { height: 48px; width: auto; }
.auth-title { font-family: var(--font-head); font-size: 1.4rem; font-weight: 700; text-align: center; margin-bottom: 6px; color: #111827; }
.auth-sub { text-align: center; color: var(--muted); font-size: 0.88rem; margin-bottom: 24px; }
.auth-tab { display: flex; background: #f3f4f6; border-radius: 6px; padding: 4px; margin-bottom: 24px; }
.auth-tab-btn { flex: 1; padding: 8px; border-radius: 4px; font-size: 0.85rem; font-weight: 500; background: none; border: none; color: var(--muted); transition: var(--transition); }
.auth-tab-btn.active { background: #ffffff; color: #111827; box-shadow: 0 1px 3px rgba(0,0,0,0.1); }
.auth-footer { text-align: center; margin-top: 20px; font-size: 0.85rem; color: var(--muted); }
.auth-footer a { color: var(--teal); font-weight: 500; }

/* =====================================================
   ACCOUNT PAGE
   ===================================================== */
.account-layout { display: grid; grid-template-columns: 240px 1fr; gap: 24px; align-items: start; }
.account-sidebar { background: var(--card-bg); border: 1px solid var(--glass-border); border-radius: var(--radius-lg); overflow: hidden; }
.account-user-header { padding: 24px 20px; border-bottom: 1px solid var(--glass-border); text-align: center; }
.account-avatar { width: 64px; height: 64px; border-radius: 50%; background: #f3f4f6; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; margin: 0 auto 10px; }
.account-name { font-weight: 600; font-size: 0.95rem; color: #111827; }
.account-email { font-size: 0.8rem; color: var(--muted); margin-top: 2px; word-break: break-all; }
.account-nav a { display: flex; align-items: center; gap: 10px; padding: 12px 20px; font-size: 0.88rem; color: var(--muted); transition: var(--transition); border-left: 3px solid transparent; }
.account-nav a:hover, .account-nav a.active { color: var(--teal); background: var(--teal-glow); border-left-color: var(--teal); }
.account-main { display: flex; flex-direction: column; gap: 20px; }
.account-section-card { background: var(--card-bg); border: 1px solid var(--glass-border); border-radius: var(--radius-lg); padding: 24px; }
.order-card { border: 1px solid var(--glass-border); border-radius: var(--radius); padding: 16px; margin-bottom: 12px; }
.order-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.order-id { font-family: monospace; font-size: 0.8rem; color: var(--muted); }
.order-status { padding: 3px 10px; border-radius: 100px; font-size: 0.75rem; font-weight: 500; }
.status-processing { background: #fffbeb; color: #b45309; border: 1px solid #fde68a; }
.status-confirmed { background: #f0fdf4; color: #15803d; border: 1px solid #bbf7d0; }

/* =====================================================
   FOOTER
   ===================================================== */
footer {
  background: var(--navy-mid);
  border-top: 1px solid var(--glass-border);
  padding: 48px 5% 24px;
}
.footer-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 32px; }
.footer-brand .nav-logo { margin-bottom: 12px; }
.footer-brand p { font-size: 0.85rem; color: var(--muted); line-height: 1.6; max-width: 260px; }
.footer-social { display: flex; gap: 8px; margin-top: 16px; }
.social-btn { width: 32px; height: 32px; border-radius: 6px; background: #ffffff; border: 1px solid var(--glass-border); display: flex; align-items: center; justify-content: center; font-size: 0.9rem; color: var(--muted); transition: var(--transition); }
.social-btn:hover { background: #f3f4f6; color: #111827; }
.footer-col h4 { font-family: var(--font-head); font-weight: 700; font-size: 0.88rem; color: #111827; margin-bottom: 12px; text-transform: uppercase; letter-spacing: 0.05em; }
.footer-col a { display: block; font-size: 0.85rem; color: var(--muted); margin-bottom: 8px; transition: var(--transition); }
.footer-col a:hover { color: var(--teal); }
.footer-bottom { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--glass-border); padding-top: 20px; font-size: 0.8rem; color: var(--muted); }
.footer-bottom a { color: var(--teal); }

/* =====================================================
   TOAST NOTIFICATIONS
   ===================================================== */
.toast-container { position: fixed; bottom: 20px; right: 20px; z-index: 9999; display: flex; flex-direction: column; gap: 10px; }
.toast { background: var(--card-bg); border: 1px solid var(--glass-border); border-radius: 8px; padding: 12px 16px; display: flex; align-items: center; gap: 12px; min-width: 260px; max-width: 320px; box-shadow: var(--shadow-card); animation: slideInToast 0.3s ease; }
.toast-success { border-left: 3px solid #10b981; }
.toast-error { border-left: 3px solid #ef4444; }
.toast-info { border-left: 3px solid #3b82f6; }
.toast-icon { font-size: 1.1rem; }
.toast-msg { font-size: 0.88rem; flex: 1; color: #111827; }
.toast-close { background: none; border: none; color: var(--muted); cursor: pointer; font-size: 1rem; padding: 2px; }
@keyframes slideInToast { from { transform: translateX(110%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }
@keyframes fadeOutToast { from { opacity: 1; } to { opacity: 0; transform: translateX(110%); } }

/* =====================================================
   ANIMATIONS
   ===================================================== */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.animate-fadeup { animation: fadeInUp 0.5s ease forwards; }
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.5s ease, transform 0.5s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* =====================================================
   MODAL
   ===================================================== */
.modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 2000; display: none; align-items: center; justify-content: center; padding: 16px; }
.modal-overlay.open { display: flex; }
.modal { background: #ffffff; border: 1px solid var(--glass-border); border-radius: var(--radius-xl); padding: 32px; max-width: 480px; width: 100%; position: relative; animation: fadeInUp 0.2s ease; box-shadow: 0 10px 25px rgba(0,0,0,0.1); }
.modal-close { position: absolute; top: 16px; right: 16px; width: 32px; height: 32px; border-radius: 50%; background: #f3f4f6; border: none; color: var(--muted); display: flex; align-items: center; justify-content: center; cursor: pointer; transition: var(--transition); }
.modal-close:hover { background: #e5e7eb; color: #111827; }
.modal-title { font-family: var(--font-head); font-size: 1.2rem; font-weight: 700; margin-bottom: 20px; color: #111827; }

/* =====================================================
   LOADING SPINNER
   ===================================================== */
.spinner { width: 18px; height: 18px; border: 2px solid #e5e7eb; border-top-color: var(--teal); border-radius: 50%; animation: spin 0.6s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .account-layout { grid-template-columns: 1fr; }
  .account-sidebar { display: flex; overflow-x: auto; }
  .account-user-header { min-width: 160px; }
  .account-nav { display: flex; border-left: none; border-top: 1px solid var(--glass-border); }
  .account-nav a { white-space: nowrap; border-left: none; border-bottom: 3px solid transparent; }
  .account-nav a.active { border-left: none; border-bottom-color: var(--teal); }
}
@media (max-width: 768px) {
  .navbar { padding: 0 4%; }
  .nav-links { display: none; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; background: #ffffff; padding: 16px 5%; border-bottom: 1px solid var(--glass-border); gap: 4px; box-shadow: 0 4px 6px rgba(0,0,0,0.05); }
  .nav-links.open { display: flex; }
  .hamburger { display: flex; }
  .hamburger span { background: #111827; }
  .hero-content { grid-template-columns: 1fr; padding-top: 100px; text-align: center; }
  .hero-visual { display: none; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; flex-wrap: wrap; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .cart-table { display: block; overflow-x: auto; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .auth-card { padding: 24px 20px; }
  .section { padding: 48px 4%; }
}

/* =====================================================
   CHECKOUT STEPS
   ===================================================== */
.checkout-steps { display: flex; align-items: center; justify-content: center; gap: 0; margin-bottom: 40px; }
.step { display: flex; align-items: center; gap: 6px; }
.step-circle { width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.8rem; font-weight: 600; border: 1px solid #d1d5db; color: var(--muted); background: #f9fafb; transition: var(--transition); }
.step.active .step-circle { background: var(--teal); border-color: var(--teal); color: var(--white); }
.step.done .step-circle { background: var(--teal-glow); border-color: var(--teal); color: var(--teal); }
.step-label { font-size: 0.8rem; color: var(--muted); font-weight: 500; }
.step.active .step-label { color: #111827; font-weight: 600; }
.step-line { flex: 1; height: 1px; background: #e5e7eb; margin: 0 8px; max-width: 60px; }
.step-line.done { background: var(--teal); }
.checkout-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 24px; align-items: start; }
@media (max-width: 768px) { .checkout-grid { grid-template-columns: 1fr; } }

/* =====================================================
   MISC UTILS
   ===================================================== */
.text-teal { color: var(--teal); }
.text-gold { color: var(--gold); }
.text-muted { color: var(--muted); }
.text-center { text-align: center; }
.text-right { text-align: right; }
.fw-700 { font-weight: 700; }
.fw-800 { font-weight: 800; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.gap-12 { gap: 12px; }
.gap-16 { gap: 16px; }
.divider { height: 1px; background: var(--glass-border); margin: 20px 0; }
.badge-teal { display: inline-block; padding: 2px 8px; border-radius: 4px; font-size: 0.75rem; font-weight: 500; background: var(--teal-glow); color: var(--teal); }
.badge-gold { display: inline-block; padding: 2px 8px; border-radius: 4px; font-size: 0.75rem; font-weight: 500; background: #fef3c7; color: #b45309; }
.page-main { margin-top: 72px; }
.empty-state { text-align: center; padding: 48px 16px; color: var(--muted); }
.empty-state .empty-icon { font-size: 3rem; margin-bottom: 12px; }
.empty-state h3 { font-size: 1.1rem; font-weight: 600; color: #111827; margin-bottom: 6px; }
.sticky-top { position: sticky; top: 88px; }
.tab-content { display: none; }
.tab-content.active { display: block; }
