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

:root {
  --navy:       #0A1628;
  --navy-mid:   #112240;
  --navy-light: #1E3A5F;
  --blue:       #0284C7;
  --blue-light: #0EA5E9;
  --gold:       #D4A853;
  --gold-light: #E8C478;
  --white:      #FFFFFF;
  --off-white:  #F8FAFC;
  --text-dark:  #0F172A;
  --text-mid:   #334155;
  --text-gray:  #64748B;
  --border:     #E2E8F0;
  --red:        #EF4444;
  --green:      #22C55E;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'DM Sans', sans-serif; background: var(--off-white); color: var(--text-dark); overflow-x: hidden; }
a { text-decoration: none; color: inherit; }

/* ── Navbar ── */
nav {
  background: var(--navy); padding: 0 60px;
  display: flex; align-items: center; justify-content: space-between;
  height: 68px; border-bottom: 1px solid var(--navy-light);
  position: sticky; top: 0; z-index: 100;
}
.logo-img { height: 38px; object-fit: contain; }
.nav-links { display: flex; gap: 32px; align-items: center; }
.nav-links a {
  font-size: 0.875rem; font-weight: 500; color: #94A3B8;
  letter-spacing: 0.01em; transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--white); }
.nav-cta {
  background: var(--gold); color: var(--navy) !important;
  padding: 8px 20px; font-weight: 600 !important; font-size: 0.875rem;
  border-radius: 6px;
}
.cart-badge {
  background: var(--gold); color: var(--navy);
  font-size: 0.65rem; font-weight: 700;
  padding: 1px 6px; border-radius: 10px; margin-left: 4px;
}

/* ── Buttons ── */
.btn-primary {
  background: var(--gold); color: var(--navy); padding: 14px 32px;
  font-family: 'DM Sans', sans-serif; font-weight: 600; font-size: 0.95rem;
  border: none; cursor: pointer; transition: background 0.2s, transform 0.15s;
  border-radius: 8px; display: inline-block; text-align: center;
}
.btn-primary:hover { background: var(--gold-light); transform: translateY(-1px); }
.btn-outline {
  background: transparent; color: var(--white); padding: 14px 32px;
  font-family: 'DM Sans', sans-serif; font-weight: 500; font-size: 0.95rem;
  border: 1px solid rgba(255,255,255,0.2); cursor: pointer; transition: border-color 0.2s;
  border-radius: 8px; display: inline-block; text-align: center;
}
.btn-outline:hover { border-color: rgba(255,255,255,0.5); }
.btn-navy {
  background: var(--navy); color: var(--white); padding: 10px 24px;
  font-family: 'DM Sans', sans-serif; font-weight: 600; font-size: 0.875rem;
  border: none; cursor: pointer; border-radius: 8px; display: inline-block;
  transition: background 0.2s;
}
.btn-navy:hover { background: var(--navy-light); }
.btn-sm {
  padding: 8px 18px; font-size: 0.825rem;
}
.btn-danger {
  background: var(--red); color: var(--white);
  padding: 8px 16px; border: none; cursor: pointer;
  border-radius: 6px; font-family: 'DM Sans', sans-serif; font-size: 0.8rem; font-weight: 600;
}

/* ── Hero ── */
@keyframes orb-drift {
  0%   { transform: translate(0,0) scale(1); }
  33%  { transform: translate(30px,-20px) scale(1.05); }
  66%  { transform: translate(-20px,15px) scale(0.97); }
  100% { transform: translate(0,0) scale(1); }
}
@keyframes orb-drift-2 {
  0%   { transform: translate(0,0) scale(1); }
  50%  { transform: translate(-40px,20px) scale(1.08); }
  100% { transform: translate(0,0) scale(1); }
}
@keyframes logo-float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-12px); }
}
@keyframes hero-fade-up {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes badge-pop {
  from { opacity: 0; transform: translateY(-10px) scale(0.95); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes count-up-glow {
  0%   { text-shadow: none; }
  50%  { text-shadow: 0 0 20px rgba(212,168,83,0.5); }
  100% { text-shadow: none; }
}
@keyframes line-grow {
  from { width: 0; }
  to   { width: 48px; }
}

.hero {
  background: var(--navy); padding: 100px 60px 90px;
  position: relative; overflow: hidden;
}
.hero-orb-1 {
  position: absolute; top: -120px; right: -60px;
  width: 560px; height: 560px; border-radius: 50%;
  background: radial-gradient(circle, rgba(2,132,199,0.15) 0%, transparent 70%);
  pointer-events: none;
  animation: orb-drift 12s ease-in-out infinite;
}
.hero-orb-2 {
  position: absolute; bottom: -100px; left: 20%;
  width: 480px; height: 480px; border-radius: 50%;
  background: radial-gradient(circle, rgba(212,168,83,0.09) 0%, transparent 70%);
  pointer-events: none;
  animation: orb-drift-2 16s ease-in-out infinite;
}
.hero-orb-3 {
  position: absolute; top: 40%; left: -80px;
  width: 300px; height: 300px; border-radius: 50%;
  background: radial-gradient(circle, rgba(2,132,199,0.06) 0%, transparent 70%);
  pointer-events: none;
  animation: orb-drift 20s ease-in-out infinite reverse;
}
.hero-grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 100% at 50% 0%, black 40%, transparent 100%);
}

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(212,168,83,0.12); border: 1px solid rgba(212,168,83,0.3);
  color: var(--gold); font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 8px 16px; border-radius: 20px; margin-bottom: 24px;
  animation: badge-pop 0.6s ease-out both;
}
.hero-badge::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold); flex-shrink: 0;
}

.hero h1 {
  font-family: 'Sora', sans-serif; font-size: 3.6rem; font-weight: 800;
  color: var(--white); line-height: 1.08; letter-spacing: -0.03em;
  max-width: 660px; margin-bottom: 24px;
  animation: hero-fade-up 0.7s ease-out 0.2s both;
}
.hero h1 span { color: var(--gold); }

.hero-tagline {
  font-size: 0.95rem; font-weight: 600; color: #CBD5E1;
  letter-spacing: 0.02em; margin-bottom: 16px;
  animation: hero-fade-up 0.7s ease-out 0.35s both;
}
.hero-tagline::after {
  content: ''; display: block; height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
  margin-top: 10px;
  animation: line-grow 0.8s ease-out 0.9s both;
}

.hero p {
  font-size: 1.05rem; color: #94A3B8; max-width: 500px;
  line-height: 1.75; margin-bottom: 40px; font-weight: 300;
  animation: hero-fade-up 0.7s ease-out 0.5s both;
}
.hero-actions {
  display: flex; gap: 16px; align-items: center;
  animation: hero-fade-up 0.7s ease-out 0.65s both;
}
.hero-logo-wrap {
  animation: hero-fade-up 0.9s ease-out 0.3s both;
}
.hero-logo-wrap img {
  animation: logo-float 6s ease-in-out infinite;
}

/* ── Stats bar ── */
.stat-number {
  font-family: 'Sora', sans-serif; font-size: 1.75rem; font-weight: 700;
  color: var(--white); letter-spacing: -0.02em;
}
.stat-number span { color: var(--gold); }
.stat-number.counted { animation: count-up-glow 1s ease-out; }
.stat-label {
  font-size: 0.8rem; color: #64748B; text-transform: uppercase;
  letter-spacing: 0.06em; margin-top: 2px;
}

/* ── Section animations ── */
.category-tile {
  background: var(--white); cursor: pointer;
  transition: transform 0.25s cubic-bezier(.34,1.56,.64,1), box-shadow 0.25s;
  display: flex; flex-direction: column; align-items: center;
  text-align: center; padding: 20px 12px;
  border-radius: 12px; border: 1px solid var(--border);
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}
.category-tile:hover { transform: translateY(-6px) scale(1.02); box-shadow: 0 12px 28px rgba(0,0,0,0.12); }
.category-tile:hover .cat-name { color: var(--blue); }

.step {
  transition: transform 0.25s, box-shadow 0.25s;
}
.step:hover { transform: translateY(-4px); box-shadow: 0 10px 30px rgba(0,0,0,0.08); }

.product-card {
  transition: transform 0.25s cubic-bezier(.34,1.56,.64,1), box-shadow 0.25s;
}
.product-card:hover { transform: translateY(-5px); box-shadow: 0 10px 28px rgba(0,0,0,0.13); }

.btn-primary { transition: background 0.2s, transform 0.2s cubic-bezier(.34,1.56,.64,1), box-shadow 0.2s; }
.btn-primary:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(212,168,83,0.35); }

/* ── Stats bar ── */
.stats-bar {
  background: var(--navy-mid);
  border-top: 1px solid var(--navy-light); border-bottom: 1px solid var(--navy-light);
  padding: 24px 60px; display: flex; gap: 60px;
}

/* ── Section headers ── */
.section { padding: 60px; }
.section-header {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-bottom: 36px; padding-bottom: 24px; border-bottom: 1px solid var(--border);
}
.section-title {
  font-family: 'Sora', sans-serif; font-size: 1.5rem; font-weight: 700;
  color: var(--text-dark); letter-spacing: -0.02em;
}
.section-sub { font-size: 0.875rem; color: var(--text-gray); margin-top: 4px; }

/* ── Category grid ── */
.category-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.category-tile.active { border-color: var(--navy); box-shadow: 0 0 0 2px var(--navy); }
.cat-img-wrap {
  width: 90px; height: 90px; display: flex; align-items: center; justify-content: center;
  margin-bottom: 12px;
}
.cat-img { width: 100%; height: 100%; object-fit: contain; }
.cat-name {
  font-family: 'Sora', sans-serif; font-size: 0.78rem; font-weight: 600;
  color: var(--text-dark); line-height: 1.3; transition: color 0.15s;
}

/* ── Filter bar ── */
.filter-bar { display: flex; gap: 12px; margin-bottom: 28px; align-items: center; flex-wrap: wrap; }
.search-box {
  flex: 1; min-width: 240px; display: flex; align-items: center;
  border: 1px solid var(--border); background: var(--white); padding: 0 16px; gap: 10px;
  border-radius: 8px;
}
.search-box input {
  border: none; background: transparent; font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem; color: var(--text-dark); padding: 11px 0; width: 100%; outline: none;
}
.search-icon { color: var(--text-gray); }
.filter-chip {
  padding: 10px 18px; border: 1px solid var(--border); background: var(--white);
  font-family: 'DM Sans', sans-serif; font-size: 0.825rem; font-weight: 500;
  color: var(--text-mid); cursor: pointer; transition: all 0.15s; white-space: nowrap;
  border-radius: 20px;
}
.filter-chip.active { background: var(--navy); color: var(--white); border-color: var(--navy); }
.filter-chip:hover:not(.active) { border-color: var(--blue); color: var(--blue); }

/* ── Product grid ── */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.product-card {
  background: var(--white); cursor: pointer; position: relative;
  border-radius: 12px; overflow: hidden; border: 1px solid var(--border);
  box-shadow: 0 1px 4px rgba(0,0,0,0.06); display: flex; flex-direction: column;
}
.product-card:hover .card-add { opacity: 1; }
.card-img {
  width: 100%; height: 160px; object-fit: contain; display: block;
  border-bottom: 1px solid var(--border); background: var(--off-white); padding: 12px;
}
.card-body { padding: 16px; flex: 1; }
.card-category {
  font-size: 0.7rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.08em; color: var(--blue); margin-bottom: 6px;
}
.card-name {
  font-family: 'Sora', sans-serif; font-size: 0.875rem; font-weight: 600;
  color: var(--text-dark); line-height: 1.4; margin-bottom: 8px;
}
.card-code {
  font-size: 0.75rem; color: var(--text-gray); font-family: monospace;
}
.card-footer {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 16px; border-top: 1px solid var(--border); background: var(--off-white);
}
.card-pack { font-size: 0.75rem; color: var(--text-gray); }
.card-add {
  background: var(--gold); color: var(--navy); border: none;
  padding: 6px 14px; font-family: 'DM Sans', sans-serif; font-size: 0.75rem;
  font-weight: 600; cursor: pointer; opacity: 0; transition: opacity 0.2s;
  border-radius: 6px;
}
.code-tag {
  font-family: monospace; font-size: 0.8rem; color: var(--blue);
  background: rgba(2,132,199,0.06); padding: 2px 8px;
  border: 1px solid rgba(2,132,199,0.15); border-radius: 4px;
}

/* ── Quote banner ── */
.quote-banner {
  background: var(--navy); padding: 48px 60px;
  display: flex; justify-content: space-between; align-items: center;
  border-top: 3px solid var(--gold);
}
.quote-banner h2 {
  font-family: 'Sora', sans-serif; font-size: 1.75rem; font-weight: 700;
  color: var(--white); letter-spacing: -0.02em;
}
.quote-banner p { color: #64748B; margin-top: 6px; font-size: 0.95rem; }

/* ── Cart table ── */
.cart-table { width: 100%; border-collapse: collapse; background: var(--white); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.cart-table th {
  text-align: left; padding: 14px 20px; font-size: 0.75rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.06em;
  background: var(--navy); color: #94A3B8; border-bottom: 1px solid var(--navy-light);
}
.cart-table td { padding: 16px 20px; font-size: 0.875rem; border-bottom: 1px solid var(--border); color: var(--text-dark); vertical-align: middle; }
.cart-table tr:last-child td { border-bottom: none; }
.cart-table tr:hover td { background: var(--off-white); }
.qty-control { display: flex; align-items: center; gap: 10px; }
.qty-btn {
  width: 28px; height: 28px; border: 1px solid var(--border); background: var(--white);
  font-size: 1rem; cursor: pointer; display: flex; align-items: center;
  justify-content: center; color: var(--text-dark); font-weight: 600; border-radius: 6px;
}
.qty-val { font-weight: 600; min-width: 24px; text-align: center; }

/* ── How it works ── */
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 36px; }
.step {
  background: var(--white); padding: 32px 28px;
  border-radius: 12px; border: 1px solid var(--border);
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}
.step-num {
  font-family: 'Sora', sans-serif; font-size: 2.5rem; font-weight: 800;
  color: var(--border); letter-spacing: -0.04em; margin-bottom: 16px;
}
.step-title {
  font-family: 'Sora', sans-serif; font-size: 1rem; font-weight: 700;
  color: var(--text-dark); margin-bottom: 8px;
}
.step-desc { font-size: 0.875rem; color: var(--text-gray); line-height: 1.6; }

/* ── Footer ── */
footer {
  background: var(--navy); padding: 48px 60px;
  border-top: 1px solid var(--navy-light);
  display: flex; justify-content: space-between; align-items: flex-start;
}
footer p { font-size: 0.8rem; color: #475569; }
footer a { color: var(--gold); transition: opacity 0.15s; }
footer a:hover { opacity: 0.8; }

/* ── Auth forms ── */
.auth-page { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: var(--off-white); padding: 40px 20px; }
.auth-card { background: var(--white); border-radius: 16px; border: 1px solid var(--border); box-shadow: 0 4px 24px rgba(0,0,0,0.06); padding: 48px; width: 100%; max-width: 480px; }
.auth-card.wide { max-width: 720px; }
.auth-logo { text-align: center; margin-bottom: 32px; }
.auth-logo img { height: 42px; }
.auth-title { font-family: 'Sora', sans-serif; font-size: 1.5rem; font-weight: 700; color: var(--text-dark); margin-bottom: 6px; }
.auth-sub { font-size: 0.875rem; color: var(--text-gray); margin-bottom: 32px; }

/* ── Form elements ── */
.form-group { margin-bottom: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
label { display: block; font-size: 0.8rem; font-weight: 600; color: var(--text-mid); margin-bottom: 6px; text-transform: uppercase; letter-spacing: 0.04em; }
input, select, textarea {
  width: 100%; padding: 11px 14px; border: 1px solid var(--border); border-radius: 8px;
  font-family: 'DM Sans', sans-serif; font-size: 0.9rem; color: var(--text-dark);
  background: var(--white); outline: none; transition: border-color 0.2s;
}
input:focus, select:focus, textarea:focus { border-color: var(--navy); }
textarea { resize: vertical; min-height: 100px; }
.form-divider { border: none; border-top: 1px solid var(--border); margin: 28px 0; }

/* ── Alerts ── */
.alert { padding: 12px 16px; border-radius: 8px; font-size: 0.875rem; margin-bottom: 20px; }
.alert-error { background: rgba(239,68,68,0.08); border: 1px solid rgba(239,68,68,0.2); color: #991B1B; }
.alert-success { background: rgba(34,197,94,0.08); border: 1px solid rgba(34,197,94,0.2); color: #166534; }
.alert-info { background: rgba(2,132,199,0.08); border: 1px solid rgba(2,132,199,0.2); color: #075985; }

/* ── Status badges ── */
.badge { display: inline-block; padding: 3px 10px; border-radius: 20px; font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; }
.badge-pending    { background: rgba(212,168,83,0.15); color: #92400E; }
.badge-processing { background: rgba(2,132,199,0.12); color: #075985; }
.badge-quoted     { background: rgba(139,92,246,0.12); color: #5B21B6; }
.badge-accepted   { background: rgba(34,197,94,0.12); color: #166534; }
.badge-rejected   { background: rgba(239,68,68,0.12); color: #991B1B; }
.badge-cancelled  { background: rgba(100,116,139,0.12); color: #475569; }
.badge-approved   { background: rgba(34,197,94,0.12); color: #166534; }
.badge-info       { background: rgba(59,130,246,0.12); color: #1e40af; }

/* ── Page header (inner pages) ── */
.page-header { background: var(--navy); padding: 40px 60px; border-bottom: 1px solid var(--navy-light); }
.page-header h1 { font-family: 'Sora', sans-serif; font-size: 1.75rem; font-weight: 700; color: var(--white); }
.page-header p { color: #64748B; margin-top: 6px; font-size: 0.9rem; }

/* ── Pagination ── */
.pagination { display: flex; gap: 8px; align-items: center; justify-content: center; margin-top: 40px; }
.page-btn {
  width: 36px; height: 36px; border: 1px solid var(--border); background: var(--white);
  border-radius: 8px; font-family: 'DM Sans', sans-serif; font-size: 0.875rem;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  color: var(--text-mid); transition: all 0.15s;
}
.page-btn.active { background: var(--navy); color: var(--white); border-color: var(--navy); }
.page-btn:hover:not(.active) { border-color: var(--navy); color: var(--navy); }

/* ── Empty state ── */
.empty-state { text-align: center; padding: 80px 40px; }
.empty-state-icon { font-size: 3rem; margin-bottom: 16px; color: var(--border); }
.empty-state h3 { font-family: 'Sora', sans-serif; font-size: 1.25rem; font-weight: 700; color: var(--text-dark); margin-bottom: 8px; }
.empty-state p { color: var(--text-gray); font-size: 0.9rem; margin-bottom: 24px; }

/* ── Admin sidebar ── */
.admin-layout { display: flex; min-height: calc(100vh - 68px); }
.admin-sidebar { width: 240px; background: var(--navy); padding: 24px 0; flex-shrink: 0; }
.sidebar-link {
  display: flex; align-items: center; gap: 12px; padding: 12px 24px;
  color: #94A3B8; font-size: 0.875rem; font-weight: 500; transition: all 0.15s;
}
.sidebar-link:hover, .sidebar-link.active { background: var(--navy-light); color: var(--white); }
.sidebar-link.active { border-left: 3px solid var(--gold); }
.admin-content { flex: 1; padding: 40px; background: var(--off-white); overflow-y: auto; }

/* ── Admin stats cards ── */
.stat-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 32px; }
.stat-card { background: var(--white); border-radius: 12px; border: 1px solid var(--border); padding: 24px; box-shadow: 0 1px 4px rgba(0,0,0,0.05); }
.stat-card-num { font-family: 'Sora', sans-serif; font-size: 2rem; font-weight: 700; color: var(--text-dark); }
.stat-card-label { font-size: 0.8rem; color: var(--text-gray); text-transform: uppercase; letter-spacing: 0.06em; margin-top: 4px; }

/* ── Table ── */
.data-table { width: 100%; border-collapse: collapse; background: var(--white); border-radius: 12px; border: 1px solid var(--border); overflow: hidden; }
.data-table th { text-align: left; padding: 14px 20px; font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; background: var(--navy); color: #94A3B8; }
.data-table td { padding: 14px 20px; font-size: 0.875rem; border-bottom: 1px solid var(--border); color: var(--text-dark); vertical-align: middle; }
.data-table tr:last-child td { border-bottom: none; }
.data-table tr:hover td { background: var(--off-white); }

/* ── Mobile CTA (hidden on desktop, shown on mobile) ── */
.nav-mobile-cta { display: none; }

/* ── Table scroll wrapper ── */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* ── Responsive: Tablet (1024px) ── */
@media (max-width: 1024px) {
  nav { padding-left: 24px; padding-right: 24px; }
  .hero { padding: 60px 24px 50px; }
  .stats-bar { padding: 20px 24px; gap: 32px; flex-wrap: wrap; }
  .section { padding: 48px 24px; }
  .page-header { padding: 32px 24px; }
  .quote-banner { padding: 40px 24px; }
  footer { padding: 40px 24px; }
  .category-grid { grid-template-columns: repeat(4, 1fr); }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-cards { grid-template-columns: repeat(2, 1fr); }
  .products-header { padding: 40px 24px !important; }
  .search-results-pad { padding: 32px 24px !important; }
}

/* ── Responsive: Mobile (768px) ── */
@media (max-width: 768px) {
  /* Nav */
  nav { padding: 0 16px; height: 60px; }
  .nav-links { display: none; }
  .nav-mobile-cta { display: inline-block; }
  .logo-img { height: 30px; }

  /* Hero — !important overrides inline styles */
  .hero { flex-direction: column !important; text-align: center !important; gap: 0 !important; padding: 40px 16px 36px !important; }
  .hero > div[style] { flex: none !important; width: 100% !important; }
  .hero h1 { font-size: 2rem; max-width: 100%; }
  .hero p { max-width: 100%; font-size: 0.9rem; margin-bottom: 28px; }
  .hero-actions { justify-content: center !important; flex-wrap: wrap; gap: 12px; }
  .hero-logo-wrap { display: none !important; }
  .hero-tagline::after { margin-left: auto; margin-right: auto; }
  .hero-badge { font-size: 0.7rem; }

  /* Stats */
  .stats-bar { flex-wrap: wrap; gap: 0; padding: 0; }
  .stat { flex: 0 0 50%; padding: 18px 16px; border-bottom: 1px solid var(--navy-light); box-sizing: border-box; }
  .stat:nth-child(odd) { border-right: 1px solid var(--navy-light); }

  /* Sections */
  .section { padding: 36px 16px; }
  .page-header { padding: 28px 16px; }
  .page-header h1 { font-size: 1.4rem; }
  .page-header p { font-size: 0.85rem; }

  /* Grids */
  .category-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .stat-cards { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr; }

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

  /* Quote banner */
  .quote-banner { flex-direction: column !important; text-align: center; gap: 20px; padding: 32px 16px; }
  .quote-banner h2 { font-size: 1.4rem; }

  /* Footer */
  footer { flex-direction: column !important; gap: 20px; padding: 36px 16px; }
  footer > div:last-child { text-align: left !important; }

  /* Auth */
  .auth-card { padding: 28px 16px; }
  .auth-card.wide { padding: 28px 16px; }

  /* Products page */
  .products-header { padding: 36px 16px !important; }
  .products-header h1 { font-size: 1.8rem !important; }
  .products-header p { font-size: 0.85rem !important; margin-bottom: 20px !important; }
  .search-results-pad { padding: 24px 16px !important; }
  .search-form-bar { flex-direction: column !important; max-width: 100% !important; }
  .search-form-bar > div { border-right: 1px solid rgba(255,255,255,0.15) !important; border-radius: 10px 10px 0 0 !important; }
  .search-form-bar > button { border-radius: 0 0 10px 10px !important; width: 100%; padding: 14px 20px !important; }

  /* Buttons full width on mobile hero */
  .hero-actions .btn-primary,
  .hero-actions .btn-outline { min-width: 160px; }
}

/* ── Responsive: Small mobile (480px) ── */
@media (max-width: 480px) {
  .hero h1 { font-size: 1.7rem; }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .stat-cards { grid-template-columns: 1fr; }
  .stat-card-num { font-size: 1.6rem; }
  .page-header h1 { font-size: 1.25rem; }
  .cart-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .section-title { font-size: 1.25rem; }
  .quote-banner h2 { font-size: 1.25rem; }
}
