/* ═══════════════════════════════════════════════════════
   USA Steel Targets — Stylesheet
   Color: Matte black + amber/orange + steel gray
   ═══════════════════════════════════════════════════════ */

:root {
  --bg:          #0a0a0a;
  --bg-card:     #141414;
  --bg-elevated: #1a1a1a;
  --bg-surface:  #111111;
  --amber:       #F59E0B;
  --amber-dark:  #D97706;
  --amber-light: #FCD34D;
  --amber-glow:  rgba(245, 158, 11, 0.15);
  --steel:       #9CA3AF;
  --steel-light: #D1D5DB;
  --steel-dark:  #6B7280;
  --text:        #F3F4F6;
  --text-muted:  #9CA3AF;
  --text-dim:    #6B7280;
  --border:      #2a2a2a;
  --border-light:#333333;
  --red:         #EF4444;
  --green:       #22C55E;
  --white:       #ffffff;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
}

a { color: var(--amber); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--amber-light); }

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

.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }

/* ─── HEADER ───────────────────────────────────────── */

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

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

.logo {
  font-size: 1.25rem; font-weight: 800; letter-spacing: 0.08em;
  text-transform: uppercase; white-space: nowrap;
  text-decoration: none; color: var(--text);
}
.logo-usa { color: var(--amber); }
.logo-steel { color: var(--steel-light); }
.logo-targets { color: var(--text); }

.main-nav { display: flex; gap: 8px; }
.main-nav a {
  color: var(--text-muted); font-size: 0.875rem; font-weight: 500;
  padding: 8px 14px; border-radius: 6px; transition: all 0.2s;
  text-decoration: none;
}
.main-nav a:hover, .main-nav a.active { color: var(--white); background: var(--bg-elevated); }

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

.cart-link {
  position: relative; color: var(--text-muted); display: flex; padding: 8px;
  transition: color 0.2s;
}
.cart-link:hover { color: var(--amber); }
.cart-badge {
  position: absolute; top: 0; right: 0;
  background: var(--amber); color: var(--bg); font-size: 0.625rem;
  font-weight: 700; width: 18px; height: 18px;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
}

.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 8px;
}
.hamburger span { width: 24px; height: 2px; background: var(--text); transition: all 0.3s; }

/* ─── HERO ─────────────────────────────────────────── */

.hero {
  min-height: 80vh; display: flex; align-items: center;
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #0d0d0d 100%);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.hero .container { display: flex; align-items: center; gap: 60px; }
.hero-content { flex: 1; min-width: 0; }
.hero-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem); font-weight: 900;
  line-height: 1.05; letter-spacing: -0.02em;
  color: var(--white); margin-bottom: 24px;
}
.hero-sub {
  font-size: 1.125rem; color: var(--text-muted); max-width: 480px;
  margin-bottom: 32px; line-height: 1.7;
}
.hero-image {
  flex: 1; min-width: 0; display: flex; align-items: center; justify-content: center;
}
.hero-image img {
  max-height: 520px; width: auto; border-radius: 12px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.5);
}

/* ─── SECTIONS ─────────────────────────────────────── */

.section { padding: 64px 0; }
.section-dark { background: var(--bg-surface); }
.section-title {
  font-size: 1.75rem; font-weight: 700; margin-bottom: 32px; text-align: center;
}

.page-header {
  background: var(--bg-surface); border-bottom: 1px solid var(--border);
  padding: 32px 0;
}
.page-header h1 { font-size: 2rem; font-weight: 700; margin-top: 8px; }

.breadcrumb { font-size: 0.8125rem; color: var(--text-muted); }
.breadcrumb a { color: var(--text-dim); }
.breadcrumb a:hover { color: var(--amber); }

/* ─── TRUST GRID ───────────────────────────────────── */

.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; text-align: center; }
.trust-icon { margin-bottom: 16px; color: var(--amber); display: flex; justify-content: center; }
.trust-item h3 { font-size: 1.125rem; margin-bottom: 8px; }
.trust-item p { color: var(--text-muted); font-size: 0.9375rem; }

/* ─── FEATURED PRODUCT ─────────────────────────────── */

.featured-product { display: flex; gap: 48px; align-items: center; }
.featured-image { flex: 1; }
.featured-image img { border-radius: 12px; box-shadow: 0 8px 32px rgba(0,0,0,0.3); }
.featured-info { flex: 1; }
.featured-info h3 { font-size: 1.5rem; margin-bottom: 12px; }
.featured-price { font-size: 2rem; font-weight: 700; color: var(--amber); margin-bottom: 16px; }
.featured-desc { color: var(--text-muted); margin-bottom: 24px; line-height: 1.7; }

/* ─── CTA ──────────────────────────────────────────── */

.cta-section { text-align: center; padding: 40px 0; }
.cta-section h2 { font-size: 2rem; margin-bottom: 12px; }
.cta-section p { color: var(--text-muted); margin-bottom: 24px; font-size: 1.125rem; }

/* ─── PRODUCT GRID ─────────────────────────────────── */

.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.product-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 12px; overflow: hidden; transition: all 0.3s;
  text-decoration: none; color: var(--text); display: block;
}
.product-card:hover { border-color: var(--amber); transform: translateY(-2px); box-shadow: 0 8px 32px rgba(0,0,0,0.3); }
.product-card-image { aspect-ratio: 4/3; overflow: hidden; background: #0d0d0d; }
.product-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.product-card:hover .product-card-image img { transform: scale(1.03); }
.product-card-info { padding: 20px; }
.product-card-info h3 { font-size: 1rem; margin-bottom: 8px; }
.product-card-price { font-size: 1.25rem; font-weight: 700; color: var(--amber); margin-bottom: 8px; }

/* ─── PRODUCT PAGE ─────────────────────────────────── */

.product-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.gallery-main { border-radius: 12px; overflow: hidden; background: var(--bg-card); border: 1px solid var(--border); }
.gallery-main img { width: 100%; cursor: zoom-in; }
.gallery-thumbs { display: flex; gap: 12px; margin-top: 12px; }
.gallery-thumb {
  width: 80px; height: 60px; border-radius: 8px; overflow: hidden;
  border: 2px solid var(--border); background: none; cursor: pointer; padding: 0;
  transition: border-color 0.2s;
}
.gallery-thumb.active, .gallery-thumb:hover { border-color: var(--amber); }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }

.product-title { font-size: 1.75rem; font-weight: 700; margin-bottom: 8px; }
.product-sku { color: var(--text-dim); font-size: 0.8125rem; margin-bottom: 16px; }
.product-price { font-size: 2.25rem; font-weight: 700; color: var(--amber); margin-bottom: 16px; }

.add-to-cart-form { margin-top: 24px; }
.qty-row { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; }
.qty-row label { font-weight: 600; }
.qty-control { display: flex; align-items: center; border: 1px solid var(--border); border-radius: 8px; overflow: hidden; }
.qty-control-sm { transform: scale(0.85); transform-origin: center; }
.qty-btn {
  background: var(--bg-elevated); color: var(--text); border: none;
  width: 40px; height: 40px; font-size: 1.25rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center; transition: background 0.2s;
}
.qty-btn:hover { background: var(--border-light); }
.qty-control input[type="number"] {
  width: 56px; height: 40px; text-align: center; border: none;
  background: var(--bg-card); color: var(--text); font-size: 1rem;
  -moz-appearance: textfield;
}
.qty-control input::-webkit-outer-spin-button,
.qty-control input::-webkit-inner-spin-button { -webkit-appearance: none; }

.shipping-calc-box {
  margin-top: 32px; padding: 20px; background: var(--bg-card);
  border: 1px solid var(--border); border-radius: 12px;
}
.shipping-calc-box h3 { font-size: 1rem; margin-bottom: 12px; }
.shipping-calc-input { display: flex; gap: 8px; }
.shipping-calc-input input { flex: 1; }
.shipping-results { margin-top: 12px; }
.shipping-results .quote-row {
  display: flex; justify-content: space-between; padding: 8px 0;
  border-bottom: 1px solid var(--border);
}
.shipping-results .quote-row:last-child { border-bottom: none; }
.shipping-results .quote-label { color: var(--text-muted); }
.shipping-results .quote-price { font-weight: 700; }
.shipping-results .quote-free { color: var(--green); font-weight: 700; }

/* ─── PRODUCT DESCRIPTION SECTION ──────────────────── */

.product-description-section { margin-top: 64px; }
.product-description, .product-features, .product-specs {
  margin-bottom: 40px;
}
.product-description h2, .product-features h2, .product-specs h2 {
  font-size: 1.375rem; margin-bottom: 16px;
  padding-bottom: 8px; border-bottom: 2px solid var(--amber);
  display: inline-block;
}
.desc-text { color: var(--text-muted); line-height: 1.8; }
.desc-text p { margin-bottom: 12px; }
.features-list { list-style: none; }
.features-list li {
  padding: 10px 0 10px 28px; position: relative;
  color: var(--text-muted); border-bottom: 1px solid var(--border);
}
.features-list li::before {
  content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 8px; height: 8px; background: var(--amber); border-radius: 50%;
}
.specs-table { width: 100%; border-collapse: collapse; }
.specs-table td {
  padding: 10px 16px; border-bottom: 1px solid var(--border);
}
.specs-table td:first-child { font-weight: 600; width: 40%; color: var(--text); }
.specs-table td:last-child { color: var(--text-muted); }

.related-section { margin-top: 64px; }

/* ─── CART ─────────────────────────────────────────── */

.empty-cart { text-align: center; padding: 60px 0; }
.empty-cart svg { color: var(--text-dim); margin-bottom: 16px; }
.empty-cart h2 { margin-bottom: 8px; }
.empty-cart p { color: var(--text-muted); margin-bottom: 24px; }

.cart-layout { display: grid; grid-template-columns: 1fr 360px; gap: 32px; }
.cart-item {
  display: flex; align-items: center; gap: 16px; padding: 20px 0;
  border-bottom: 1px solid var(--border);
}
.cart-item-image { width: 100px; height: 75px; border-radius: 8px; overflow: hidden; flex-shrink: 0; background: var(--bg-card); }
.cart-item-image img { width: 100%; height: 100%; object-fit: cover; }
.cart-item-details { flex: 1; min-width: 0; }
.cart-item-details h3 { font-size: 1rem; }
.cart-item-details h3 a { color: var(--text); }
.cart-item-details h3 a:hover { color: var(--amber); }
.cart-item-sku { font-size: 0.75rem; color: var(--text-dim); }
.cart-item-price { font-size: 0.875rem; color: var(--text-muted); margin-top: 4px; }
.cart-item-total { font-weight: 700; font-size: 1.125rem; white-space: nowrap; }
.cart-remove-btn {
  background: none; border: none; color: var(--text-dim); font-size: 1.5rem;
  cursor: pointer; padding: 4px 8px; line-height: 1;
}
.cart-remove-btn:hover { color: var(--red); }

.cart-summary {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 12px; padding: 24px; align-self: start; position: sticky; top: 96px;
}
.cart-summary h3 { font-size: 1.125rem; margin-bottom: 16px; }
.cart-summary-row { display: flex; justify-content: space-between; padding: 8px 0; font-size: 0.9375rem; }
.cart-summary-row.muted span { color: var(--text-dim); font-size: 0.8125rem; }
.cart-summary-row.total {
  border-top: 2px solid var(--amber); margin-top: 8px; padding-top: 12px;
  font-size: 1.25rem; font-weight: 700;
}

/* ─── CHECKOUT ─────────────────────────────────────── */

.checkout-layout { display: grid; grid-template-columns: 1fr 380px; gap: 40px; }
.checkout-form h2 { font-size: 1.25rem; margin: 24px 0 16px; }
.checkout-form h2:first-of-type { margin-top: 0; }

.shipping-options { display: flex; flex-direction: column; gap: 12px; margin-bottom: 16px; }
.shipping-option {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 16px; background: var(--bg-card); border: 2px solid var(--border);
  border-radius: 10px; cursor: pointer; transition: border-color 0.2s;
}
.shipping-option:has(input:checked) { border-color: var(--amber); }
.shipping-option input { margin-top: 4px; accent-color: var(--amber); }
.shipping-option-title { font-weight: 600; }
.shipping-option-desc { font-size: 0.8125rem; color: var(--text-muted); margin-top: 4px; }
.shipping-free { color: var(--green); font-weight: 700; }

.checkout-shipping-quote { margin-top: 12px; }
.quote-ok { background: rgba(34,197,94,0.1); border: 1px solid rgba(34,197,94,0.3); border-radius: 8px; padding: 12px; font-size: 0.875rem; color: var(--green); }
.quote-err { background: rgba(239,68,68,0.1); border: 1px solid rgba(239,68,68,0.3); border-radius: 8px; padding: 12px; font-size: 0.875rem; color: var(--red); }

.payment-secure-note {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.8125rem; color: var(--text-muted);
  background: var(--bg-card); padding: 12px 16px; border-radius: 8px;
  border: 1px solid var(--border); margin-bottom: 16px;
}

.checkout-summary-box {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 12px; padding: 24px; align-self: start; position: sticky; top: 96px;
}
.checkout-summary-box h3 { font-size: 1.125rem; margin-bottom: 16px; }
.checkout-item { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--border); }
.checkout-item-name { font-weight: 600; font-size: 0.9375rem; }
.checkout-item-sku { font-size: 0.75rem; color: var(--text-dim); }
.checkout-item-qty { font-size: 0.75rem; color: var(--text-muted); }
.checkout-item-price { font-weight: 600; white-space: nowrap; }
.checkout-totals { margin-top: 16px; }

/* ─── ORDER CONFIRMATION ───────────────────────────── */

.confirmation-box { text-align: center; }
.confirmation-icon { margin-bottom: 16px; }
.confirmation-box h1 { font-size: 2rem; margin-bottom: 8px; }
.confirmation-order-num { font-size: 1.25rem; color: var(--amber); font-weight: 600; margin-bottom: 16px; }
.confirmation-details { text-align: left; margin-top: 32px; background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px; padding: 24px; }
.confirmation-details h3 { margin-bottom: 12px; }
.confirmation-note {
  margin-top: 24px; padding: 16px; background: var(--amber-glow);
  border: 1px solid rgba(245,158,11,0.3); border-radius: 10px;
  text-align: left; font-size: 0.9375rem;
}

/* ─── FORMS ────────────────────────────────────────── */

.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 0.8125rem; font-weight: 600; color: var(--text-muted); margin-bottom: 6px; }
.form-group input, .form-group textarea, .form-group select,
.form-select {
  width: 100%; padding: 10px 14px;
  background: var(--bg-elevated); color: var(--text);
  border: 1px solid var(--border); border-radius: 8px;
  font-size: 0.9375rem; font-family: inherit;
  transition: border-color 0.2s;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus,
.form-select:focus {
  outline: none; border-color: var(--amber);
}
.form-group textarea { resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.form-error {
  background: rgba(239,68,68,0.1); border: 1px solid rgba(239,68,68,0.3);
  color: var(--red); padding: 12px 16px; border-radius: 8px;
  margin-bottom: 16px; font-size: 0.9375rem;
}
.form-success {
  background: rgba(34,197,94,0.1); border: 1px solid rgba(34,197,94,0.3);
  color: var(--green); padding: 12px 16px; border-radius: 8px;
  margin-bottom: 16px; font-size: 0.9375rem;
}

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

/* ─── BUTTONS ──────────────────────────────────────── */

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 24px; border-radius: 8px; font-weight: 600;
  font-size: 0.9375rem; border: none; cursor: pointer;
  text-decoration: none; transition: all 0.2s; font-family: inherit;
}
.btn-primary {
  background: var(--amber); color: #000; box-shadow: 0 2px 8px rgba(245,158,11,0.3);
}
.btn-primary:hover { background: var(--amber-light); color: #000; box-shadow: 0 4px 16px rgba(245,158,11,0.4); }
.btn-secondary { background: var(--bg-elevated); color: var(--text); border: 1px solid var(--border); }
.btn-secondary:hover { border-color: var(--amber); color: var(--amber); }
.btn-ghost { background: transparent; color: var(--text-muted); border: 1px solid var(--border); }
.btn-ghost:hover { border-color: var(--text-muted); color: var(--text); }
.btn-ghost.active { border-color: var(--amber); color: var(--amber); }
.btn-large { padding: 14px 32px; font-size: 1rem; }
.btn-sm { padding: 6px 14px; font-size: 0.8125rem; }
.btn-full { width: 100%; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }

/* ─── BADGES ───────────────────────────────────────── */

.badge {
  display: inline-block; font-size: 0.75rem; font-weight: 600;
  padding: 3px 10px; border-radius: 100px;
}
.badge-green { background: rgba(34,197,94,0.15); color: var(--green); }
.badge-red { background: rgba(239,68,68,0.15); color: var(--red); }

/* ─── CONTENT PAGES ────────────────────────────────── */

.content-page { max-width: 800px; margin: 0 auto; }
.content-block { margin-bottom: 40px; }
.content-block h2 { font-size: 1.375rem; margin-bottom: 12px; color: var(--amber); }
.content-block h3 { font-size: 1.125rem; margin-bottom: 8px; margin-top: 20px; }
.content-block p { color: var(--text-muted); line-height: 1.8; margin-bottom: 12px; }
.content-block ul { margin: 12px 0; padding-left: 24px; }
.content-block li { color: var(--text-muted); line-height: 1.8; margin-bottom: 6px; }

/* ─── CONTACT ──────────────────────────────────────── */

.contact-layout { display: grid; grid-template-columns: 1fr 360px; gap: 48px; max-width: 960px; margin: 0 auto; }
.contact-info-box {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 12px; padding: 28px; align-self: start;
}
.contact-info-box h3 { margin-bottom: 16px; }
.contact-info-item { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; font-size: 0.9375rem; }
.contact-info-item svg { color: var(--amber); flex-shrink: 0; }
.contact-hours { margin-top: 24px; }
.contact-hours h4 { margin-bottom: 8px; font-size: 0.9375rem; }
.contact-hours p { font-size: 0.8125rem; color: var(--text-muted); margin-bottom: 4px; }

/* ─── FAQ ──────────────────────────────────────────── */

.faq-item { border-bottom: 1px solid var(--border); }
.faq-question {
  width: 100%; background: none; border: none; color: var(--text);
  font-size: 1rem; font-weight: 600; text-align: left;
  padding: 20px 0; cursor: pointer; display: flex;
  justify-content: space-between; align-items: center;
  font-family: inherit;
}
.faq-question:hover { color: var(--amber); }
.faq-toggle { font-size: 1.5rem; color: var(--amber); transition: transform 0.3s; }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-answer p, .faq-answer ul { padding-bottom: 20px; color: var(--text-muted); line-height: 1.7; }
.faq-answer ul { padding-left: 24px; }
.faq-answer li { margin-bottom: 6px; }
.faq-item.open .faq-toggle { transform: rotate(45deg); }
.faq-item.open .faq-answer { max-height: 600px; }

/* ─── LIGHTBOX ─────────────────────────────────────── */

.lightbox {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(0,0,0,0.92); display: flex;
  align-items: center; justify-content: center;
  padding: 40px;
}
.lightbox img { max-width: 90vw; max-height: 90vh; border-radius: 8px; }
.lightbox-close {
  position: absolute; top: 20px; right: 24px;
  background: none; border: none; color: var(--white);
  font-size: 2.5rem; cursor: pointer; z-index: 1001;
}

/* ─── FOOTER ───────────────────────────────────────── */

.site-footer {
  background: var(--bg-surface); border-top: 1px solid var(--border);
  padding: 48px 0 24px;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 40px; }
.footer-logo { font-size: 1rem; font-weight: 800; letter-spacing: 0.08em; margin-bottom: 12px; }
.footer-tagline { color: var(--amber); font-weight: 600; margin-bottom: 4px; }
.footer-location { color: var(--text-dim); font-size: 0.875rem; }
.footer-links h4 { font-size: 0.8125rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-dim); margin-bottom: 12px; }
.footer-links a { display: block; color: var(--text-muted); font-size: 0.875rem; margin-bottom: 8px; text-decoration: none; }
.footer-links a:hover { color: var(--amber); }
.footer-links p { color: var(--text-muted); font-size: 0.875rem; }
.footer-bottom { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--border); text-align: center; }
.footer-bottom p { font-size: 0.75rem; color: var(--text-dim); }

/* ─── ADMIN ────────────────────────────────────────── */

.admin-body { background: var(--bg); }
.admin-login-page {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  background: var(--bg);
}
.admin-login-box {
  width: 100%; max-width: 400px; padding: 40px;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 16px;
}
.admin-login-logo { text-align: center; font-size: 1.25rem; font-weight: 800; letter-spacing: 0.08em; margin-bottom: 8px; }
.admin-login-box h1 { text-align: center; font-size: 1.125rem; color: var(--text-muted); margin-bottom: 24px; }

.admin-wrapper { display: flex; min-height: calc(100vh - 73px); }
.admin-nav {
  width: 220px; flex-shrink: 0; background: var(--bg-surface);
  border-right: 1px solid var(--border); padding: 24px 0;
  display: flex; flex-direction: column;
}
.admin-nav a {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 24px; color: var(--text-muted);
  font-size: 0.875rem; font-weight: 500; text-decoration: none;
  transition: all 0.2s;
}
.admin-nav a:hover { color: var(--text); background: var(--bg-elevated); }
.admin-nav a.active { color: var(--amber); border-right: 2px solid var(--amber); }
.admin-nav .admin-logout { margin-top: auto; color: var(--text-dim); }
.admin-badge {
  background: var(--amber); color: #000; font-size: 0.625rem;
  font-weight: 700; padding: 2px 6px; border-radius: 10px;
}

.admin-content { flex: 1; padding: 32px; min-width: 0; }
.admin-content h1 { font-size: 1.75rem; margin-bottom: 24px; }
.admin-content h2 { font-size: 1.25rem; margin-bottom: 16px; margin-top: 8px; }

.admin-header-row { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; margin-bottom: 24px; }
.admin-header-row h1 { margin-bottom: 0; }
.admin-filters { display: flex; gap: 6px; flex-wrap: wrap; }

.admin-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; margin-bottom: 32px; }
.stat-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 12px; padding: 24px; text-align: center;
}
.stat-value { font-size: 2rem; font-weight: 700; color: var(--amber); }
.stat-label { font-size: 0.8125rem; color: var(--text-muted); margin-top: 4px; }

.admin-table-wrap { overflow-x: auto; }
.admin-table { width: 100%; border-collapse: collapse; font-size: 0.875rem; }
.admin-table th {
  text-align: left; padding: 10px 12px;
  font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.05em;
  color: var(--text-dim); border-bottom: 2px solid var(--border);
}
.admin-table td { padding: 12px; border-bottom: 1px solid var(--border); }
.admin-table tr:hover { background: var(--bg-elevated); }

.status-badge {
  display: inline-block; font-size: 0.6875rem; font-weight: 600;
  padding: 3px 10px; border-radius: 100px; text-transform: capitalize;
}
.status-paid { background: rgba(59,130,246,0.15); color: #60A5FA; }
.status-pending { background: rgba(245,158,11,0.15); color: var(--amber); }
.status-processing { background: rgba(168,85,247,0.15); color: #A78BFA; }
.status-shipped, .status-delivered { background: rgba(34,197,94,0.15); color: var(--green); }
.status-completed { background: rgba(34,197,94,0.15); color: var(--green); }
.status-cancelled { background: rgba(239,68,68,0.15); color: var(--red); }
.status-remitted { background: rgba(34,197,94,0.15); color: var(--green); }

.admin-detail-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 32px; }
.admin-detail-section {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 12px; padding: 20px;
}
.admin-detail-section h3 { font-size: 0.875rem; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 12px; }
.admin-detail-section p { font-size: 0.9375rem; margin-bottom: 4px; }

.order-totals-box {
  max-width: 400px; margin-top: 16px;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 12px; padding: 20px;
}

.admin-form { max-width: 680px; }
.admin-form textarea { font-family: 'Courier New', monospace; font-size: 0.8125rem; }

/* Messages */
.messages-list { display: flex; flex-direction: column; gap: 12px; }
.message-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 12px; padding: 20px;
}
.message-card.unread { border-left: 3px solid var(--amber); }
.message-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 12px; flex-wrap: wrap; }
.message-email { color: var(--text-muted); font-size: 0.8125rem; }
.message-phone { color: var(--text-dim); font-size: 0.8125rem; margin-left: 8px; }
.message-meta { display: flex; align-items: center; gap: 12px; }
.message-date { color: var(--text-dim); font-size: 0.8125rem; }
.message-body { color: var(--text-muted); line-height: 1.7; white-space: pre-wrap; }

.empty-state { color: var(--text-dim); font-style: italic; padding: 32px 0; text-align: center; }

/* ─── RESPONSIVE ───────────────────────────────────── */

@media (max-width: 1024px) {
  .hero .container { flex-direction: column; text-align: center; gap: 40px; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .featured-product { flex-direction: column; }
  .product-layout { grid-template-columns: 1fr; }
  .cart-layout { grid-template-columns: 1fr; }
  .checkout-layout { grid-template-columns: 1fr; }
  .checkout-summary-box { position: static; }
  .contact-layout { grid-template-columns: 1fr; }
  .admin-detail-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
}

@media (max-width: 768px) {
  .header-inner { height: 64px; }
  .main-nav {
    display: none; position: fixed;
    top: 64px; left: 0; right: 0;
    background: var(--bg-surface); border-bottom: 1px solid var(--border);
    flex-direction: column; padding: 16px;
    z-index: 99;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 12px 16px; }
  .hamburger { display: flex; }

  .hero { min-height: auto; padding: 48px 0; }
  .hero-title { font-size: 2rem; }
  .hero-image img { max-height: 300px; }

  .trust-grid { grid-template-columns: 1fr; gap: 24px; }

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

  .cart-item { flex-wrap: wrap; }
  .cart-item-qty { width: 100%; }
  .cart-item-total { margin-left: auto; }

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

  .admin-wrapper { flex-direction: column; }
  .admin-nav {
    width: 100%; flex-direction: row; overflow-x: auto;
    border-right: none; border-bottom: 1px solid var(--border);
    padding: 0;
  }
  .admin-nav a { padding: 12px 16px; white-space: nowrap; border-right: none; }
  .admin-nav a.active { border-right: none; border-bottom: 2px solid var(--amber); }
  .admin-nav .admin-logout { margin-top: 0; margin-left: auto; }
  .admin-content { padding: 20px; }
  .admin-stats { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero-title { font-size: 1.75rem; }
  .product-price { font-size: 1.75rem; }
  .shipping-calc-input { flex-direction: column; }
  .admin-stats { grid-template-columns: 1fr; }
}
