/* ============================================================
   County Modifications — design system
   Palette: night-navy ink, Battenburg yellow + police blue
   Type: Barlow Condensed (display) / Inter (body)
   Signature: Battenburg check strips dividing page sections
   ============================================================ */

:root {
  --ink: #0b0f16;
  --ink-2: #0e141d;
  --panel: #121927;
  --panel-2: #0f1520;
  --line: #24304a;
  --yellow: #ffc800;
  --yellow-dark: #e0af00;
  --blue: #3d7bff;
  --blue-soft: #6fa0ff;
  --green: #2fae5f;
  --text: #eef2f8;
  --muted: #8da0bc;
  --danger: #e5484d;
  --radius: 10px;
  --shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
  --font-display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--blue-soft); text-decoration: none; }
a:hover { color: var(--text); }

h1, h2, h3 {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  line-height: 1.1;
  margin: 0 0 0.4em;
}

:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: 2px;
}

/* ------------------------------------------------ battenburg strip */

.battenburg {
  height: 10px;
  background:
    repeating-linear-gradient(90deg, var(--yellow) 0 14px, var(--blue) 14px 28px) top / 28px 5px repeat-x,
    repeating-linear-gradient(90deg, var(--blue) 0 14px, var(--yellow) 14px 28px) bottom / 28px 5px repeat-x;
}

/* --------------------------------------------------- announcement */

.announcement {
  background: var(--yellow);
  color: #1a1400;
  text-align: center;
  font-weight: 600;
  font-size: 13px;
  padding: 8px 16px;
}
.announcement a { color: #1a1400; text-decoration: underline; }

/* --------------------------------------------------------- header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 14px 24px;
  background: rgba(11, 15, 22, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text);
  white-space: nowrap;
}
.brand em { color: var(--yellow); font-style: normal; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
  flex-wrap: wrap;
}
.nav-links > a,
.nav-drop > a {
  color: var(--muted);
  font-size: 13.5px;
  font-weight: 500;
  padding: 8px 10px;
  border-radius: 6px;
}
.nav-links > a:hover,
.nav-drop > a:hover { color: var(--text); background: var(--panel); }

.nav-drop { position: relative; }
.nav-drop-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 6px;
  display: none;
  z-index: 50;
}
.nav-drop:hover .nav-drop-menu,
.nav-drop:focus-within .nav-drop-menu { display: block; }
.nav-drop-menu a {
  display: block;
  padding: 9px 12px;
  border-radius: 6px;
  color: var(--muted);
  font-size: 13.5px;
}
.nav-drop-menu a:hover { color: var(--text); background: var(--panel-2); }

.nav-toggle {
  display: none;
  margin-left: auto;
  background: none;
  border: 1px solid var(--line);
  color: var(--text);
  font-size: 18px;
  border-radius: 8px;
  padding: 6px 12px;
  cursor: pointer;
}

.cart-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--panel);
  border: 1px solid var(--line);
  color: var(--text);
  font-weight: 600;
  font-size: 13.5px;
  padding: 9px 16px;
  border-radius: 999px;
  cursor: pointer;
}
.cart-btn:hover { border-color: var(--yellow); }
.cart-count {
  display: none;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  background: var(--yellow);
  color: #1a1400;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 700;
}

/* ----------------------------------------------------------- hero */

.hero {
  position: relative;
  padding: 110px 24px 120px;
  background:
    radial-gradient(ellipse 90% 70% at 70% -10%, rgba(61, 123, 255, 0.22), transparent 60%),
    radial-gradient(ellipse 60% 50% at 15% 110%, rgba(255, 200, 0, 0.1), transparent 60%),
    linear-gradient(180deg, var(--ink-2), var(--ink));
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 6px;
  background:
    repeating-linear-gradient(90deg, var(--yellow) 0 14px, var(--blue) 14px 28px) top / 28px 3px repeat-x,
    repeating-linear-gradient(90deg, var(--blue) 0 14px, var(--yellow) 14px 28px) bottom / 28px 3px repeat-x;
  opacity: 0.9;
}
.hero-inner { max-width: 860px; margin: 0 auto; text-align: center; }
.eyebrow {
  color: var(--yellow);
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  margin: 0 0 14px;
}
.hero h1 {
  font-size: clamp(42px, 7vw, 74px);
  font-weight: 700;
  margin-bottom: 16px;
}
.hero-sub {
  color: var(--muted);
  font-size: 17px;
  max-width: 620px;
  margin: 0 auto 30px;
}
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* -------------------------------------------------------- buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  padding: 12px 24px;
  border-radius: 8px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.12s ease, background 0.12s ease, border-color 0.12s ease;
}
.btn:active { transform: translateY(1px); }
.btn-yellow { background: var(--yellow); color: #1a1400; }
.btn-yellow:hover { background: var(--yellow-dark); color: #1a1400; }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--blue-soft); color: var(--text); }
.btn-danger { background: transparent; color: var(--danger); border-color: rgba(229, 72, 77, 0.4); }
.btn-danger:hover { background: rgba(229, 72, 77, 0.12); }
.btn-small { padding: 8px 14px; font-size: 13px; }
.btn-block { width: 100%; }
.btn:disabled { opacity: 0.45; cursor: not-allowed; }

.icon-btn {
  background: none;
  border: none;
  color: var(--muted);
  font-size: 16px;
  cursor: pointer;
  padding: 6px;
  border-radius: 6px;
}
.icon-btn:hover { color: var(--text); background: var(--panel-2); }

/* ------------------------------------------------------- sections */

.section { max-width: 1200px; margin: 0 auto; padding: 56px 24px 8px; }
.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}
.section-head h2 { font-size: 32px; margin: 0; }
.section-link { font-size: 13.5px; font-weight: 600; color: var(--yellow); }
.section-link:hover { color: var(--text); }
.section-sub { color: var(--muted); margin: -12px 0 24px; max-width: 640px; }

.page-head h1 { font-size: clamp(34px, 5vw, 52px); }

/* -------------------------------------------------- product cards */

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
  padding-bottom: 24px;
}

.product-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.15s ease, border-color 0.15s ease;
}
.product-card:hover { transform: translateY(-3px); border-color: var(--blue); }

.card-media {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--panel-2);
  overflow: hidden;
  display: block;
}
.card-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.25s ease;
}
.card-img-hover { opacity: 0; }
.product-card:hover .card-img-hover { opacity: 1; }

.badge {
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 9px;
  border-radius: 5px;
}
.badge-featured { background: var(--yellow); color: #1a1400; }
.badge-out { background: var(--danger); color: #fff; left: auto; right: 10px; }

.is-out .card-img { filter: grayscale(0.7); opacity: 0.75; }

.card-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card-category {
  color: var(--blue-soft);
  font-size: 11.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.card-title { font-size: 19px; margin: 0; }
.card-title a { color: var(--text); }
.card-title a:hover { color: var(--yellow); }
.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  padding-top: 10px;
}
.card-price {
  font-size: 17px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

/* ------------------------------------------------ category banners */

.banners { display: grid; gap: 20px; }

.banner {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 230px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  overflow: hidden;
  padding: 28px;
  transition: transform 0.15s ease, border-color 0.15s ease;
}
.banner:hover { transform: translateY(-3px); border-color: var(--yellow); }

.banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 15, 22, 0) 20%, rgba(11, 15, 22, 0.9) 85%);
  z-index: 1;
}

.banner-police {
  background:
    radial-gradient(ellipse 80% 90% at 80% 0%, rgba(61, 123, 255, 0.5), transparent 65%),
    radial-gradient(ellipse 40% 60% at 15% 20%, rgba(255, 200, 0, 0.18), transparent 60%),
    var(--panel-2);
}
.banner-ambulance {
  background:
    radial-gradient(ellipse 80% 90% at 75% 0%, rgba(47, 174, 95, 0.45), transparent 65%),
    radial-gradient(ellipse 40% 60% at 15% 30%, rgba(255, 200, 0, 0.16), transparent 60%),
    var(--panel-2);
}
.banner-scripts {
  background:
    radial-gradient(ellipse 80% 90% at 80% 0%, rgba(111, 160, 255, 0.35), transparent 60%),
    repeating-linear-gradient(0deg, transparent 0 26px, rgba(111, 160, 255, 0.07) 26px 27px),
    var(--panel-2);
}
.banner-dev {
  background:
    radial-gradient(ellipse 70% 90% at 80% 0%, rgba(255, 200, 0, 0.28), transparent 60%),
    repeating-linear-gradient(90deg, transparent 0 34px, rgba(141, 160, 188, 0.08) 34px 35px),
    repeating-linear-gradient(0deg, transparent 0 34px, rgba(141, 160, 188, 0.08) 34px 35px),
    var(--panel-2);
}

.banner-text { position: relative; z-index: 2; max-width: 520px; }
.banner-text h2 { font-size: 30px; color: var(--text); }
.banner-text p { color: var(--muted); margin: 0 0 16px; }

/* ---------------------------------------------------- custom grid */

.custom-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 18px;
  padding-bottom: 24px;
}
.custom-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-left: 4px solid var(--yellow);
  border-radius: var(--radius);
  padding: 20px;
}
.custom-card h3 { font-size: 20px; }
.custom-card p { color: var(--muted); margin: 0; font-size: 14px; }

/* --------------------------------------------------- testimonials */

.testimonials { text-align: center; }
.testimonial-track { position: relative; min-height: 150px; }
.testimonial {
  display: none;
  margin: 0 auto;
  max-width: 720px;
}
.testimonial.active { display: block; }
.testimonial p {
  font-family: var(--font-display);
  font-size: clamp(20px, 3vw, 26px);
  font-weight: 500;
  line-height: 1.35;
  margin: 0 0 12px;
}
.testimonial footer {
  color: var(--yellow);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}
.testimonial-dots { display: flex; gap: 8px; justify-content: center; margin-top: 18px; padding-bottom: 8px; }
.testimonial-dots button {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: none;
  background: var(--line);
  cursor: pointer;
  padding: 0;
}
.testimonial-dots button.active { background: var(--yellow); }

/* ----------------------------------------------------- discord cta */

.discord-cta { padding-bottom: 64px; }
.discord-card {
  background:
    radial-gradient(ellipse 60% 100% at 50% 0%, rgba(61, 123, 255, 0.25), transparent 70%),
    var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-align: center;
  padding: 44px 24px;
}
.discord-card h2 { font-size: 30px; }
.discord-card p { color: var(--muted); max-width: 520px; margin: 0 auto 22px; }

/* --------------------------------------------------------- footer */

.site-footer {
  background: var(--ink-2);
  border-top: 1px solid var(--line);
  padding: 40px 24px 28px;
}
.footer-cols {
  max-width: 1200px;
  margin: 0 auto 28px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 28px;
}
.site-footer h3 { font-size: 17px; color: var(--yellow); }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer li a { color: var(--muted); font-size: 13.5px; }
.site-footer li a:hover { color: var(--text); }
.footer-brand { display: flex; gap: 14px; align-items: flex-start; }
.footer-brand p { margin: 0; font-family: var(--font-display); font-size: 19px; text-transform: uppercase; line-height: 1.25; }
.footer-brand small { color: var(--muted); font-family: var(--font-body); text-transform: none; font-size: 12.5px; }
.footer-legal {
  max-width: 1200px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 12.5px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

/* --------------------------------------------------- catalog tabs */

.category-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.category-tabs button {
  background: var(--panel);
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  padding: 8px 15px;
  border-radius: 999px;
  cursor: pointer;
}
.category-tabs button:hover { color: var(--text); }
.category-tabs button.active {
  background: var(--yellow);
  border-color: var(--yellow);
  color: #1a1400;
}

/* --------------------------------------------------- product page */

.crumbs { color: var(--muted); font-size: 13px; margin-bottom: 20px; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--text); }
.crumbs span { color: var(--text); }

.product-layout {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 36px;
  padding-bottom: 56px;
}
.gallery-main {
  aspect-ratio: 4 / 3;
  background: var(--panel-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs { display: flex; gap: 10px; margin-top: 12px; }
.gallery-thumbs button {
  width: 84px;
  aspect-ratio: 4 / 3;
  padding: 0;
  border: 2px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--panel-2);
  cursor: pointer;
}
.gallery-thumbs button.active { border-color: var(--yellow); }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; }

.product-info h1 { font-size: clamp(30px, 4vw, 44px); }
.product-price-big {
  font-size: 26px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--yellow);
  margin: 4px 0 16px;
}
.product-desc { color: var(--muted); margin-bottom: 24px; white-space: pre-line; }

/* ---------------------------------------------------- cart drawer */

.overlay {
  position: fixed;
  inset: 0;
  background: rgba(4, 6, 10, 0.65);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 60;
}
.overlay.open { opacity: 1; pointer-events: auto; }

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(420px, 100vw);
  background: var(--panel);
  border-left: 1px solid var(--line);
  transform: translateX(100%);
  transition: transform 0.25s ease;
  z-index: 70;
  display: flex;
  flex-direction: column;
}
.cart-drawer.open { transform: translateX(0); }

.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
}
.drawer-head h2 { margin: 0; font-size: 24px; }
.drawer-body { flex: 1; overflow-y: auto; padding: 16px 20px; display: grid; gap: 14px; align-content: start; }
.drawer-foot { border-top: 1px solid var(--line); padding: 16px 20px 20px; }
.drawer-total {
  display: flex;
  justify-content: space-between;
  font-weight: 600;
  font-size: 17px;
  margin-bottom: 12px;
}
.drawer-note { color: var(--muted); font-size: 12.5px; margin: 10px 0 0; }

.cart-line { display: flex; gap: 12px; }
.cart-line > img {
  width: 74px;
  height: 56px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid var(--line);
  flex-shrink: 0;
}
.cart-line-info { flex: 1; min-width: 0; }
.cart-line-title { font-weight: 600; font-size: 14px; }
.cart-line-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 6px;
  font-variant-numeric: tabular-nums;
}
.qty-controls { display: inline-flex; align-items: center; gap: 10px; }
.qty-controls button {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  border: 1px solid var(--line);
  background: var(--panel-2);
  color: var(--text);
  cursor: pointer;
  line-height: 1;
}
.remove-line {
  background: none;
  border: none;
  color: var(--muted);
  font-size: 12px;
  cursor: pointer;
  padding: 4px 0 0;
  text-decoration: underline;
}
.remove-line:hover { color: var(--danger); }

.empty-state {
  color: var(--muted);
  text-align: center;
  padding: 40px 16px;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  grid-column: 1 / -1;
}

/* --------------------------------------------------------- modals */

.modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 80;
}
.modal.open { display: flex; }
.modal-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  width: min(520px, 100%);
  max-height: 90vh;
  overflow-y: auto;
  padding: 22px;
}
.modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}
.modal-head h2 { margin: 0; font-size: 24px; }

form label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  margin: 14px 0 0;
}
form label small { font-weight: 400; }
form input,
form textarea,
form select {
  width: 100%;
  margin-top: 6px;
  background: var(--panel-2);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  font: inherit;
  font-size: 14px;
  padding: 11px 12px;
}
form input:focus,
form textarea:focus,
form select:focus {
  outline: none;
  border-color: var(--yellow);
}
form button[type="submit"] { margin-top: 20px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-row-checks { margin-top: 14px; }
.check { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 13.5px; color: var(--text); }
.check input { width: auto; margin: 0; }

.form-error,
.form-success {
  display: none;
  border-radius: 8px;
  padding: 11px 13px;
  font-size: 13.5px;
  margin-top: 12px;
}
.form-error { background: rgba(229, 72, 77, 0.12); border: 1px solid rgba(229, 72, 77, 0.45); color: #ff9296; }
.form-success { background: rgba(47, 174, 95, 0.12); border: 1px solid rgba(47, 174, 95, 0.45); color: #7ad9a1; }
.form-error.show,
.form-success.show { display: block; }

/* ---------------------------------------------------------- admin */

.admin-body { background: var(--ink); }

.auth-wrap {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background:
    radial-gradient(ellipse 70% 50% at 50% 0%, rgba(61, 123, 255, 0.15), transparent 60%),
    var(--ink);
}
.auth-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-top: 4px solid var(--yellow);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  width: min(380px, 100%);
  padding: 30px 28px;
  text-align: center;
}
.auth-card img { margin: 0 auto 10px; }
.auth-card h1 { font-size: 26px; margin-bottom: 2px; }
.auth-sub { color: var(--muted); font-size: 13px; margin: 0 0 8px; }
.auth-card label { text-align: left; }
.auth-back { display: inline-block; margin-top: 16px; font-size: 13px; color: var(--muted); }
.auth-back:hover { color: var(--text); }

.admin-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 24px;
  background: var(--ink-2);
  border-bottom: 1px solid var(--line);
}
.admin-header .brand { font-size: 18px; }
.admin-header-right { display: flex; align-items: center; gap: 14px; color: var(--muted); font-size: 13.5px; }

.admin-main { max-width: 1100px; margin: 0 auto; padding: 28px 24px 60px; }

.admin-tabs { display: flex; gap: 8px; margin-bottom: 24px; }
.admin-tabs button {
  background: var(--panel);
  border: 1px solid var(--line);
  color: var(--muted);
  font-weight: 600;
  font-size: 14px;
  padding: 10px 20px;
  border-radius: 8px;
  cursor: pointer;
}
.admin-tabs button.active {
  background: var(--yellow);
  border-color: var(--yellow);
  color: #1a1400;
}

.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}
.panel-head h2 { margin: 0; font-size: 26px; }

.table-wrap {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow-x: auto;
}
.admin-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.admin-table th {
  text-align: left;
  color: var(--muted);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.08em;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
}
.admin-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
}
.admin-table tr:last-child td { border-bottom: none; }
.admin-table td img {
  width: 64px;
  height: 48px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid var(--line);
}
.admin-table small { color: var(--muted); }
.row-actions { white-space: nowrap; }
.row-actions .btn { margin-left: 6px; }

.admin-table select {
  background: var(--panel-2);
  border: 1px solid var(--line);
  color: var(--text);
  border-radius: 6px;
  padding: 7px 9px;
  font: inherit;
  font-size: 13px;
}

.status-pill {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border-radius: 999px;
}
.status-new { background: rgba(61, 123, 255, 0.16); color: var(--blue-soft); }
.status-processing { background: rgba(255, 200, 0, 0.16); color: var(--yellow); }
.status-fulfilled { background: rgba(47, 174, 95, 0.16); color: #7ad9a1; }

/* ----------------------------------------------------- responsive */

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: var(--ink-2);
    border-bottom: 1px solid var(--line);
    padding: 10px 16px 16px;
  }
  .nav-links.open { display: flex; }
  .nav-drop-menu {
    position: static;
    display: block;
    border: none;
    box-shadow: none;
    background: none;
    padding: 0 0 0 14px;
  }
  .product-layout { grid-template-columns: 1fr; }
  .hero { padding: 70px 20px 84px; }
}

@media (max-width: 640px) {
  .form-row { grid-template-columns: 1fr; }
  .section { padding: 40px 18px 8px; }
  .banner { min-height: 190px; padding: 20px; }
  .admin-header { flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
