:root {
  --bg: #0f1512;
  --bg-soft: #18231d;
  --panel: #ffffff;
  --panel-soft: #f3f5f1;
  --text: #1d241f;
  --muted: #697166;
  --light: #ffffff;
  --accent: #b48a47;
  --accent-dark: #8b6630;
  --border: #d9ded4;
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--panel);
  line-height: 1.6;
}

a {
  color: inherit;
}

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(15, 21, 18, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.nav-wrap {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--light);
  text-decoration: none;
}

.brand-logo {
  width: 58px;
  height: 58px;
  object-fit: contain;
  border-radius: 10px;
}

.brand strong {
  display: block;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
}

.brand small {
  display: block;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.78rem;
}

.header-phone {
  color: var(--light);
  text-decoration: none;
  font-weight: 900;
  white-space: nowrap;
  padding: 9px 12px;
  border: 1px solid rgba(180, 138, 71, 0.55);
  border-radius: 999px;
  background: rgba(180, 138, 71, 0.14);
}

.header-phone:hover {
  background: rgba(180, 138, 71, 0.24);
}

.header-inventory {
  color: #15110a;
  text-decoration: none;
  font-weight: 900;
  white-space: nowrap;
  padding: 9px 12px;
  border: 1px solid var(--accent);
  border-radius: 999px;
  background: var(--accent);
}

.header-inventory:hover {
  background: #caa15c;
  border-color: #caa15c;
}

nav {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
}

nav a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.86rem;
}

nav a:hover {
  color: var(--light);
}

.nav-cta {
  padding: 9px 12px;
  border: 1px solid var(--accent);
  border-radius: 999px;
  background: var(--accent);
  color: #15110a !important;
}

.nav-cta:hover {
  background: #caa15c;
  border-color: #caa15c;
  color: #15110a !important;
}

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  color: var(--light);
  font-size: 1.8rem;
  cursor: pointer;
}

.hero {
  background:
    linear-gradient(105deg, rgba(15, 21, 18, 0.95), rgba(15, 21, 18, 0.74)),
    radial-gradient(circle at top right, rgba(180, 138, 71, 0.32), transparent 35%),
    var(--bg);
  color: var(--light);
  padding: 96px 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 44px;
  align-items: center;
}

.eyebrow {
  color: var(--accent);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  margin: 0 0 12px;
}

h1,
h2,
h3 {
  line-height: 1.12;
  margin: 0 0 16px;
}

h1 {
  font-size: clamp(2.4rem, 6vw, 4.8rem);
  max-width: 880px;
}

h2 {
  font-size: clamp(1.9rem, 4vw, 3rem);
}

h3 {
  font-size: 1.3rem;
}

.hero-copy {
  font-size: 1.16rem;
  max-width: 740px;
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 28px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 18px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 900;
  border: 2px solid transparent;
  cursor: pointer;
  text-align: center;
  white-space: nowrap;
}

.button.primary {
  background: var(--accent);
  color: #15110a;
}

.button.primary:hover {
  background: #caa15c;
}

.button.secondary {
  border-color: rgba(255, 255, 255, 0.24);
  color: var(--light);
}

.button.secondary:hover {
  background: rgba(255, 255, 255, 0.08);
}

.button.light {
  background: var(--light);
  color: var(--bg);
}

.fine-print {
  color: var(--muted);
  font-size: 0.9rem;
}

.hero .fine-print {
  color: rgba(255, 255, 255, 0.62);
}

.hero-card,
.info-box,
.card,
.price-card,
.contact-card,
.form {
  background: var(--panel);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.hero-card {
  padding: 30px;
}

.check-list,
.info-box ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.check-list li,
.info-box li {
  position: relative;
  padding-left: 30px;
  margin: 12px 0;
}

.check-list li::before,
.info-box li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent-dark);
  font-weight: 900;
}

.trust-bar {
  background: var(--bg-soft);
  color: var(--light);
  padding: 22px 0;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.trust-grid div {
  display: grid;
  gap: 3px;
}

.trust-grid span {
  color: rgba(255, 255, 255, 0.68);
}

.section {
  padding: 88px 0;
}

.section-alt {
  background: var(--panel-soft);
}

.section-intro {
  max-width: 700px;
  color: var(--muted);
  margin-top: -6px;
  margin-bottom: 26px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 30px;
}

.card {
  padding: 28px;
  box-shadow: none;
}

.service-card {
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.service-card:hover,
.service-card:focus {
  transform: translateY(-3px);
  border-color: var(--accent);
  background: var(--panel-soft);
  outline: none;
}

.service-card:focus-visible {
  box-shadow: 0 0 0 3px rgba(180, 138, 71, 0.32);
}

.card p,
.price-card p,
.step p,
.contact-card p,
.faq p {
  color: var(--muted);
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: 44px;
  align-items: center;
}

.two-col.reverse {
  grid-template-columns: 0.85fr 1fr;
}

.info-box {
  padding: 30px;
}

.info-box.dark {
  background: var(--bg);
  color: var(--light);
  border-color: rgba(255, 255, 255, 0.08);
}

.info-box.dark li::before {
  color: var(--accent);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.price-card {
  padding: 26px;
  box-shadow: none;
}

.price {
  font-size: 2.25rem;
  font-weight: 900;
  color: var(--accent-dark) !important;
  margin: 0 0 8px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 30px;
}

.step {
  background: var(--panel-soft);
  padding: 28px;
  border-radius: 20px;
  border: 1px solid var(--border);
}

.step span {
  width: 40px;
  height: 40px;
  display: inline-grid;
  place-items: center;
  background: var(--accent);
  color: #15110a;
  border-radius: 50%;
  font-weight: 900;
  margin-bottom: 18px;
}

.faq {
  display: grid;
  gap: 14px;
  margin-top: 26px;
}

details {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px 22px;
}

summary {
  cursor: pointer;
  font-weight: 900;
}

.cta-strip {
  background: var(--accent);
  color: #15110a;
  padding: 42px 0;
}

.cta-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.cta-grid .button {
  flex: 0 0 auto;
}

.cta-grid h2 {
  margin-bottom: 6px;
}

.cta-grid p {
  margin: 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 36px;
  align-items: start;
}

.contact-card {
  padding: 24px;
  box-shadow: none;
  margin-top: 24px;
}

.form {
  padding: 28px;
  box-shadow: none;
  display: grid;
  gap: 16px;
}

.form-confirmation {
  display: grid;
  gap: 4px;
  padding: 14px 16px;
  border: 1px solid #b9d9b5;
  border-left: 5px solid #2f7d3b;
  border-radius: 12px;
  background: #eef8ed;
  color: #1f5e2b;
}

.form-confirmation p {
  margin: 0;
  color: #315f36;
}

label {
  display: grid;
  gap: 7px;
  font-weight: 900;
}

.checkbox-field {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 10px;
  padding: 14px;
  border: 1px solid #d9c08e;
  border-left: 5px solid var(--accent);
  border-radius: 12px;
  background: #fff7e6;
  color: var(--text);
  font-weight: 800;
}

.checkbox-field input {
  width: auto;
  margin-top: 3px;
}

.checkbox-field span {
  color: var(--muted);
  line-height: 1.45;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--border);
  padding: 13px 14px;
  border-radius: 12px;
  font: inherit;
}

textarea {
  resize: vertical;
}

body.age-gate-open {
  overflow: hidden;
}

.age-gate {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(15, 21, 18, 0.92);
}

.age-gate-panel {
  width: min(520px, 100%);
  display: grid;
  gap: 14px;
  padding: 28px;
  border: 1px solid rgba(180, 138, 71, 0.45);
  border-radius: 18px;
  background: var(--panel);
  color: var(--text);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.3);
}

.age-gate-logo {
  width: 74px;
  height: 74px;
  object-fit: contain;
}

.age-gate-panel h2,
.age-gate-panel p {
  margin: 0;
}

.age-gate-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 4px;
}

.age-gate-actions .button {
  width: 100%;
  border: 0;
  cursor: pointer;
}

@media (max-width: 560px) {
  .age-gate-actions {
    grid-template-columns: 1fr;
  }
}


.inventory-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 30px;
}

.inventory-card {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 26px;
  box-shadow: none;
}

.inventory-price-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  min-width: 86px;
  padding: 8px 12px;
  border: 2px solid var(--panel);
  border-radius: 12px;
  background: var(--accent);
  color: #1c160c;
  font-size: 1.15rem;
  font-weight: 900;
  line-height: 1;
  text-align: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16);
}

.inventory-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.inventory-status,
.inventory-type {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 900;
}

.inventory-status.available {
  background: #e8f3e7;
  color: #1f5e2b;
}

.inventory-status.pending {
  background: #fff4d8;
  color: #6b4a00;
}

.inventory-status.sold {
  background: #ededed;
  color: #555;
}

.inventory-type.inventory {
  background: #e9eef6;
  color: #253f68;
}

.inventory-type.consignment {
  background: #f6ead9;
  color: #705018;
}

.inventory-meta {
  color: var(--muted);
  margin-top: -6px;
}

.cost-breakdown {
  display: grid;
  gap: 8px;
  margin: 16px 0 18px;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--panel-soft);
}

.cost-breakdown h4 {
  margin: 0 0 2px;
  font-size: 0.92rem;
}

.cost-breakdown div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
}

.cost-breakdown strong {
  color: var(--text);
  white-space: nowrap;
}

.cost-breakdown .cost-note {
  margin: -2px 0 2px;
  color: var(--muted);
  font-size: 0.86rem;
}

.cost-breakdown .cost-total {
  margin-top: 4px;
  padding-top: 8px;
  border-top: 1px solid var(--border);
  color: var(--text);
  font-weight: 900;
}

.cost-breakdown .cost-total strong {
  color: var(--accent);
  font-size: 1.18rem;
}

.pistol-requirement {
  margin: -4px 0 18px;
  padding: 12px 14px;
  border: 1px solid #d9c08e;
  border-left: 5px solid var(--accent);
  border-radius: 12px;
  background: #fff7e6;
  color: var(--text);
}

.pistol-requirement strong {
  display: block;
  margin-bottom: 4px;
}

.pistol-requirement p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.inventory-card dl {
  display: grid;
  gap: 10px;
  margin: 20px 0;
}

.inventory-card dl div {
  border-top: 1px solid var(--border);
  padding-top: 10px;
}

.inventory-card dt {
  font-weight: 900;
  color: var(--text);
}

.inventory-card dd {
  margin: 2px 0 0;
  color: var(--muted);
}

.inventory-button {
  width: 100%;
  background: var(--bg);
  color: var(--light);
}

.inventory-button:hover {
  background: var(--bg-soft);
}

.inventory-button.disabled {
  background: #d8d8d8;
  color: #666;
  pointer-events: none;
}

@media (max-width: 1100px) {
  .inventory-grid {
    grid-template-columns: 1fr;
  }
}

.footer {
  background: var(--bg);
  color: var(--light);
  padding: 42px 0;
}

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

.footer p {
  color: rgba(255, 255, 255, 0.64);
  margin-bottom: 0;
}

@media (max-width: 1180px) {
  .menu-toggle {
    display: block;
  }

  .header-phone {
    margin-left: auto;
    font-size: 0.9rem;
  }

  nav {
    display: none;
    margin-left: 0;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: var(--bg);
    padding: 18px 20px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  }

  nav.open {
    display: flex;
  }

  .hero-grid,
  .two-col,
  .two-col.reverse,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .cards,
  .pricing-grid,
  .steps,
  .trust-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 72px 0;
  }

  .section {
    padding: 64px 0;
  }

  .cta-grid {
    flex-direction: column;
    align-items: flex-start;
  }
}

.page-hero {
  background:
    linear-gradient(105deg, rgba(15, 21, 18, 0.95), rgba(15, 21, 18, 0.74)),
    radial-gradient(circle at top right, rgba(180, 138, 71, 0.32), transparent 35%),
    var(--bg);
  color: var(--light);
  padding: 82px 0;
}

.page-hero h1 { font-size: clamp(2.6rem, 6vw, 5rem); }

.page-hero p:not(.eyebrow) {
  max-width: 860px;
}

.inventory-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 28px 0 28px;
  align-items: center;
}

.inventory-controls input {
  max-width: 340px;
  background: var(--panel);
}

.filter-button {
  border: 1px solid var(--border);
  background: var(--panel);
  color: var(--text);
  border-radius: 999px;
  min-height: 42px;
  padding: 9px 16px;
  font-weight: 900;
  cursor: pointer;
}

.filter-button.active,
.filter-button:hover {
  background: var(--bg);
  color: var(--light);
  border-color: var(--bg);
}

.inventory-count {
  width: 100%;
  margin: 4px 0 0;
  color: var(--muted);
  font-weight: 900;
}

.inventory-photo {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: contain;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--panel-soft);
  display: block;
}

.inventory-photo-button {
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
  margin-bottom: 16px;
}

.inventory-page-link { margin-top: 28px; }

.empty-inventory {
  grid-column: 1 / -1;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px;
  color: var(--muted);
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--panel);
}

.inventory-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 1240px;
}

.inventory-table th,
.inventory-table td {
  text-align: left;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

.inventory-table th {
  background: var(--panel-soft);
  font-weight: 900;
}

.inventory-table tr:last-child td { border-bottom: 0; }

@media (max-width: 900px) {
  .inventory-grid { grid-template-columns: 1fr; }
  .inventory-controls input { max-width: none; }
}




.sell-firearm-fields {
  display: grid;
  gap: 14px;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--panel-soft);
}

.sell-firearm-fields h3 {
  margin-bottom: 0;
}

.photo-note {
  margin: -2px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.photo-note a {
  font-weight: 900;
}


.required-note {
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 700;
}


.filter-label {
  display: grid;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 900;
  color: var(--text);
}

.filter-label select {
  min-width: 150px;
}

.sell-firearm-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

@media (max-width: 900px) {
  .sell-firearm-grid {
    grid-template-columns: 1fr;
  }

  .filter-label,
  .filter-label select {
    width: 100%;
  }
}


.outbound-shipping-fields {
  display: grid;
  gap: 14px;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--panel-soft);
}

.outbound-shipping-fields h3 {
  margin-bottom: 0;
}




.field-help {
  margin: -8px 0 2px;
  color: var(--muted);
  font-size: 0.9rem;
}


.booking-service-message {
  display: grid;
  gap: 6px;
  padding: 18px;
  border: 1px solid var(--border);
  border-left: 5px solid var(--accent);
  border-radius: 16px;
  background: var(--panel-soft);
}

.booking-service-message h3 {
  margin: 0;
  font-size: 1.05rem;
}

.booking-service-message p {
  margin: 0;
  color: var(--muted);
}


.inventory-gallery {
  display: grid;
  gap: 10px;
  margin-bottom: 16px;
}

.inventory-thumbnails {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 2px;
}

.inventory-thumb {
  border: 2px solid transparent;
  background: transparent;
  padding: 0;
  border-radius: 10px;
  cursor: pointer;
  flex: 0 0 auto;
}

.inventory-thumb.active {
  border-color: var(--accent);
}

.inventory-thumb img {
  width: 64px;
  height: 48px;
  object-fit: contain;
  display: block;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--panel-soft);
}

body.lightbox-open {
  overflow: hidden;
}

.inventory-lightbox[hidden] {
  display: none;
}

.inventory-lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(0, 0, 0, 0.78);
}

.inventory-lightbox-panel {
  width: min(980px, 100%);
  max-height: calc(100vh - 48px);
  display: grid;
  gap: 14px;
  background: var(--panel);
  border-radius: 16px;
  padding: 16px;
}

.inventory-lightbox-photo {
  width: 100%;
  max-height: calc(100vh - 180px);
  object-fit: contain;
  background: var(--panel-soft);
  border-radius: 12px;
}

.inventory-lightbox-close {
  justify-self: end;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--light);
  border-radius: 999px;
  min-height: 40px;
  padding: 8px 14px;
  font-weight: 900;
  cursor: pointer;
}

.inventory-lightbox-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.inventory-lightbox-footer p {
  margin: 0;
  color: var(--muted);
  font-weight: 900;
}

.inventory-lightbox-footer button {
  border: 1px solid var(--border);
  background: var(--panel-soft);
  color: var(--text);
  border-radius: 999px;
  min-height: 40px;
  padding: 8px 14px;
  font-weight: 900;
  cursor: pointer;
}

.inventory-lightbox-footer button:disabled {
  color: var(--muted);
  cursor: not-allowed;
  opacity: 0.55;
}


/* Mobile header cleanup added 2026-06-12 */
@media (max-width: 1180px) {
  .site-header {
    overflow: visible;
  }

  .nav-wrap {
    position: relative;
    gap: 10px;
  }

  .brand {
    min-width: 0;
    flex: 1 1 auto;
  }

  .brand span {
    min-width: 0;
  }

  .header-inventory {
    order: 2;
    margin-left: auto;
    font-size: 0.86rem;
    padding: 8px 10px;
  }

  .header-phone {
    order: 3;
    margin-left: 0;
    font-size: 0.86rem;
    padding: 8px 10px;
  }

  .menu-toggle {
    order: 4;
    flex: 0 0 auto;
    font-size: 1.65rem;
    line-height: 1;
    padding: 6px 2px;
  }

  nav {
    top: 100%;
    z-index: 60;
  }

  nav a {
    display: block;
    padding: 12px 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  }

  nav a:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 700px) {
  .container {
    width: min(100% - 24px, 1120px);
  }

  .nav-wrap {
    min-height: 64px;
    gap: 8px;
  }

  .brand-logo {
    width: 44px;
    height: 44px;
    border-radius: 8px;
  }

  .brand {
    gap: 8px;
  }

  .brand strong {
    font-size: 0.95rem;
    line-height: 1.1;
  }

  .brand small {
    display: none;
  }

  .header-inventory {
    font-size: 0.78rem;
    padding: 7px 9px;
  }

  .header-phone {
    font-size: 0.78rem;
    padding: 7px 8px;
  }

  nav {
    padding: 10px 14px 16px;
  }
}

@media (max-width: 520px) {
  .header-phone {
    width: 40px;
    height: 36px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0;
  }

  .header-phone::before {
    content: "☎";
    font-size: 1rem;
    line-height: 1;
  }

  .menu-toggle {
    font-size: 1.45rem;
  }
}

@media (max-width: 390px) {
  .brand-logo {
    width: 38px;
    height: 38px;
  }

  .brand strong {
    font-size: 0.82rem;
  }

  .header-inventory {
    font-size: 0.72rem;
    padding: 6px 7px;
  }
}


/* Final mobile header fix — keeps phone header on one clean row */
@media (max-width: 700px) {
  body {
    overflow-x: hidden;
  }

  .site-header {
    overflow: visible;
  }

  .site-header .container {
    width: calc(100% - 18px);
  }

  .nav-wrap {
    min-height: 58px;
    display: grid;
    grid-template-columns: minmax(108px, 1fr) auto auto auto;
    align-items: center;
    justify-content: normal;
    gap: 6px;
    padding: 7px 0;
    position: relative;
  }

  .brand {
    min-width: 0;
    max-width: 100%;
    gap: 7px;
    overflow: hidden;
    order: 1;
  }

  .brand-logo {
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    border-radius: 8px;
  }

  .brand span {
    min-width: 0;
    overflow: hidden;
  }

  .brand strong {
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 0.86rem;
    line-height: 1.05;
    letter-spacing: 0.01em;
  }

  .brand small {
    display: none !important;
  }

  .header-inventory,
  .header-phone,
  .menu-toggle {
    min-height: 34px;
    height: 34px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    white-space: nowrap;
    line-height: 1;
  }

  .header-inventory {
    font-size: 0.72rem;
    padding: 0 9px;
    margin-left: 0;
    order: 2;
  }

  .header-phone {
    width: 34px;
    padding: 0;
    margin-left: 0;
    font-size: 0 !important;
    order: 3;
  }

  .header-phone::before {
    content: "Call";
    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 0.01em;
  }

  .menu-toggle {
    min-width: 48px;
    padding: 0 9px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.06);
    color: var(--light);
    font-size: 0.72rem !important;
    font-weight: 900;
    cursor: pointer;
    order: 4;
  }

  nav {
    top: 100%;
    left: -9px;
    right: -9px;
    padding: 10px 14px 16px;
    order: 5;
  }
}

@media (max-width: 430px) {
  .site-header .container {
    width: calc(100% - 12px);
  }

  .nav-wrap {
    grid-template-columns: minmax(88px, 1fr) auto auto auto;
    gap: 5px;
  }

  .brand-logo {
    width: 34px;
    height: 34px;
    flex-basis: 34px;
  }

  .brand strong {
    font-size: 0.78rem;
  }

  .header-inventory {
    font-size: 0.66rem;
    padding: 0 7px;
  }

  .header-phone {
    width: 32px;
    height: 32px;
    min-height: 32px;
  }

  .header-phone::before {
    content: "☎";
    font-size: 0.86rem;
  }

  .menu-toggle {
    min-width: 42px;
    height: 32px;
    min-height: 32px;
    padding: 0 7px;
    font-size: 0.68rem !important;
  }
}

@media (max-width: 360px) {
  .brand strong {
    display: none;
  }

  .nav-wrap {
    grid-template-columns: auto 1fr auto auto;
  }

  .header-inventory {
    justify-self: end;
  }
}


/* ==========================================================
   SAFARI MOBILE HEADER FINAL FIX - SAXD 8078 PACKAGE
   Mobile header becomes: Logo | Inventory | Menu | Call
   Business name and location are hidden on mobile to prevent wrapping.
   ========================================================== */
@media screen and (max-width: 760px) {
  html,
  body {
    max-width: 100% !important;
    overflow-x: hidden !important;
  }

  .site-header {
    position: sticky !important;
    top: 0 !important;
    z-index: 9999 !important;
    overflow: visible !important;
    background: rgba(15, 21, 18, 0.98) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    backdrop-filter: blur(10px) !important;
  }

  .site-header .container {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding-left: max(10px, env(safe-area-inset-left)) !important;
    padding-right: max(10px, env(safe-area-inset-right)) !important;
  }

  .nav-wrap {
    width: 100% !important;
    min-height: 58px !important;
    height: 58px !important;
    padding: 6px 0 !important;
    display: -webkit-flex !important;
    display: flex !important;
    -webkit-flex-wrap: nowrap !important;
    flex-wrap: nowrap !important;
    -webkit-align-items: center !important;
    align-items: center !important;
    -webkit-justify-content: flex-start !important;
    justify-content: flex-start !important;
    gap: 7px !important;
    position: relative !important;
    overflow: visible !important;
  }

  .brand {
    -webkit-order: 1 !important;
    order: 1 !important;
    -webkit-flex: 0 0 46px !important;
    flex: 0 0 46px !important;
    width: 46px !important;
    min-width: 46px !important;
    max-width: 46px !important;
    height: 46px !important;
    margin-right: auto !important;
    gap: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
  }

  .brand-logo {
    display: block !important;
    width: 46px !important;
    height: 46px !important;
    min-width: 46px !important;
    max-width: 46px !important;
    -webkit-flex: 0 0 46px !important;
    flex: 0 0 46px !important;
    object-fit: contain !important;
    border-radius: 9px !important;
  }

  .brand span,
  .brand strong,
  .brand small {
    display: none !important;
    visibility: hidden !important;
    width: 0 !important;
    max-width: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
  }

  .header-inventory,
  .menu-toggle,
  .header-phone {
    display: -webkit-inline-flex !important;
    display: inline-flex !important;
    -webkit-align-items: center !important;
    align-items: center !important;
    -webkit-justify-content: center !important;
    justify-content: center !important;
    -webkit-flex: 0 0 auto !important;
    flex: 0 0 auto !important;
    height: 36px !important;
    min-height: 36px !important;
    max-height: 36px !important;
    line-height: 1 !important;
    white-space: nowrap !important;
    border-radius: 999px !important;
    text-decoration: none !important;
    font-family: Arial, Helvetica, sans-serif !important;
    font-weight: 900 !important;
    letter-spacing: 0 !important;
    box-shadow: none !important;
    -webkit-appearance: none !important;
    appearance: none !important;
  }

  .header-inventory {
    -webkit-order: 2 !important;
    order: 2 !important;
    margin-left: 0 !important;
    padding: 0 10px !important;
    width: auto !important;
    min-width: 76px !important;
    font-size: 12px !important;
    color: #15110a !important;
    background: var(--accent) !important;
    border: 1px solid var(--accent) !important;
  }

  .menu-toggle {
    -webkit-order: 3 !important;
    order: 3 !important;
    padding: 0 10px !important;
    min-width: 58px !important;
    width: auto !important;
    font-size: 12px !important;
    color: var(--light) !important;
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.22) !important;
    cursor: pointer !important;
  }

  .header-phone {
    -webkit-order: 4 !important;
    order: 4 !important;
    width: 46px !important;
    min-width: 46px !important;
    max-width: 46px !important;
    padding: 0 !important;
    margin-left: 0 !important;
    font-size: 0 !important;
    color: var(--light) !important;
    background: rgba(180, 138, 71, 0.14) !important;
    border: 1px solid rgba(180, 138, 71, 0.55) !important;
    overflow: hidden !important;
  }

  .header-phone::before {
    content: "Call" !important;
    display: block !important;
    font-size: 12px !important;
    line-height: 1 !important;
    font-weight: 900 !important;
    color: var(--light) !important;
  }

  nav {
    -webkit-order: 5 !important;
    order: 5 !important;
    display: none !important;
    position: absolute !important;
    top: 100% !important;
    left: calc(-1 * max(10px, env(safe-area-inset-left))) !important;
    right: calc(-1 * max(10px, env(safe-area-inset-right))) !important;
    margin: 0 !important;
    padding: 10px 14px 16px !important;
    background: #0f1512 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12) !important;
    z-index: 10000 !important;
    -webkit-flex-direction: column !important;
    flex-direction: column !important;
    -webkit-align-items: stretch !important;
    align-items: stretch !important;
    gap: 0 !important;
  }

  nav.open {
    display: -webkit-flex !important;
    display: flex !important;
  }

  nav a {
    display: block !important;
    padding: 12px 6px !important;
    font-size: 15px !important;
    line-height: 1.2 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.09) !important;
  }

  nav a:last-child {
    border-bottom: 0 !important;
  }
}

@media screen and (max-width: 390px) {
  .site-header .container {
    padding-left: 8px !important;
    padding-right: 8px !important;
  }

  .nav-wrap {
    gap: 5px !important;
  }

  .brand,
  .brand-logo {
    width: 42px !important;
    min-width: 42px !important;
    max-width: 42px !important;
    height: 42px !important;
    -webkit-flex-basis: 42px !important;
    flex-basis: 42px !important;
  }

  .header-inventory {
    min-width: 70px !important;
    padding-left: 8px !important;
    padding-right: 8px !important;
    font-size: 11px !important;
  }

  .menu-toggle {
    min-width: 52px !important;
    padding-left: 8px !important;
    padding-right: 8px !important;
    font-size: 11px !important;
  }

  .header-phone {
    width: 42px !important;
    min-width: 42px !important;
    max-width: 42px !important;
  }

  .header-phone::before {
    font-size: 11px !important;
  }
}

@media screen and (max-width: 340px) {
  .brand,
  .brand-logo {
    width: 38px !important;
    min-width: 38px !important;
    max-width: 38px !important;
    height: 38px !important;
    -webkit-flex-basis: 38px !important;
    flex-basis: 38px !important;
  }

  .header-inventory {
    min-width: 64px !important;
    font-size: 10px !important;
    padding-left: 6px !important;
    padding-right: 6px !important;
  }

  .menu-toggle {
    min-width: 48px !important;
    font-size: 10px !important;
    padding-left: 6px !important;
    padding-right: 6px !important;
  }

  .header-phone {
    width: 38px !important;
    min-width: 38px !important;
    max-width: 38px !important;
  }

  .header-phone::before {
    font-size: 10px !important;
  }
}
