/* ── Reset & Base ────────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: #f2f2f2;
  color: #333;
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ── Header ──────────────────────────────────────────── */
.site-header {
  background: #fff;
  border-bottom: 3px solid #8b1a1a;
  position: sticky;
  top: 0;
  z-index: 100;
  transition: box-shadow .2s;
}
.site-header.scrolled {
  box-shadow: 0 2px 12px rgba(0,0,0,.15);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
}
.logo {
  display: flex;
  align-items: center;
}
.logo-img {
  height: 36px;
  width: auto;
}
@media (min-width: 769px) {
  .logo-img { height: 50px; }
}

/* Hamburger */
.menu-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #333;
  border-radius: 2px;
  transition: transform .2s, opacity .2s;
}
.menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Nav */
.main-nav {
  display: none;
  flex-direction: column;
  background: #fff;
  border-top: 2px solid #8b1a1a;
}
.main-nav.open { display: flex; }
.main-nav a {
  padding: 14px 16px;
  font-size: 20px;
  font-weight: 600;
  border-bottom: 1px solid #ddd;
  color: #333;
}
.main-nav a.active { color: #fff; background: #8b1a1a; }
.main-nav a:hover:not(.active) { background: #f5f0f0; }

/* ── Sections ────────────────────────────────────────── */
.section {
  padding: 24px 16px;
  max-width: 1280px;
  margin: 0 auto;
}
.section h1 {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 8px;
  color: #1a1a1a;
  text-align: center;
}

.section p {
  text-align: center;
}

.section h2 {
  font-size: 26px;
  font-weight: 800;
  margin-bottom: 8px;
  color: #1a1a1a;
  text-align: center;
}
.results-count { font-size: 14px; color: #666; margin-bottom: 16px; }

/* ── Hero ────────────────────────────────────────────── */
.hero {
  width: 100%;
  line-height: 0;
}
.hero-img {
  width: 100%;
  height: auto;
  display: block;
}
.hero-link {
  display: block;
  cursor: pointer;
}

/* Inner-page banner */
.page-banner-link {
  display: block;
  cursor: pointer;
}
.page-banner {
  width: 100%;
  line-height: 0;
}
.page-banner-img {
  width: 100%;
  height: auto;
  display: block;
}

/* Desktop: reduce hero height ~30%, show full image */
@media (min-width: 769px) {
  .hero, .page-banner { background: #2e2825; text-align: center; }
  .hero-img, .page-banner-img {
    max-height: 64vh;
    width: auto;
    max-width: 100%;
    margin: 0 auto;
    object-fit: contain;
  }
}

/* ── Carousel ────────────────────────────────────────── */
.carousel-section {
  padding: 20px 0;
  background: #f7f5f4;
  overflow: hidden;
}
.carousel-section h1 {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 8px;
  color: #1a1a1a;
  text-align: center;
}

.carousel-heading {
  font-size: 26px;
  font-weight: 800;
  padding: 0 16px 12px;
  color: #1a1a1a;
  max-width: 1280px;
  margin: 0 auto;
  text-align: center;
}
.carousel-wrapper {
  position: relative;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
}
.carousel-track-container {
  overflow: hidden;
}
.carousel-track {
  display: flex;
  gap: 12px;
  transition: transform .3s ease;
}

a.carousel-card {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

/* Carousel card */
.carousel-card {
  flex: 0 0 100%;
  background: #fff;
  border: 1px solid #ddd;
  overflow: hidden;
  min-width: 0;
}
.cc-header {
  padding: 8px 10px 0;
}
.cc-lot {
  font-size: 11px;
  font-weight: 700;
  color: #8b1a1a;
}
.cc-title {
  font-size: 14px;
  font-weight: 800;
  padding: 4px 10px 0;
  color: #1a1a1a;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cc-category {
  font-size: 12px;
  color: #666;
  padding: 0 10px 6px;
}
.cc-image {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  background: #e8e8e8;
  overflow: hidden;
}
.cc-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cc-badge {
  position: absolute;
  top: 6px;
  left: 6px;
  background: #2e7d32;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 2px;
}
.cc-badge-right {
  top: auto;
  left: auto;
  bottom: 6px;
  right: 6px;
}
.cc-badge-salvaged {
  top: auto;
  left: auto;
  bottom: 6px;
  right: 6px;
  background: #b71c1c;
}
.cc-no-image {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: #999;
  font-size: 13px;
}
.cc-price {
  font-size: 16px;
  font-weight: 800;
  padding: 8px 10px 4px;
}
.cc-meta {
  padding: 0 10px 8px;
  font-size: 12px;
  color: #666;
  display: flex;
  justify-content: space-between;
}
.cc-btn {
  margin: 0 10px 10px;
  width: calc(100% - 20px);
  font-size: 13px;
  padding: 8px;
}

/* Carousel nav buttons */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  background: #8b1a1a;
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 14px;
  cursor: pointer;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}
.carousel-btn:hover { background: #6e1414; }
.carousel-prev { left: 4px; }
.carousel-next { right: 4px; }

/* Responsive: cards per view */
@media (min-width: 480px) {
  .carousel-card { flex: 0 0 calc(50% - 6px); }
}
@media (min-width: 700px) {
  .carousel-card { flex: 0 0 calc(33.333% - 8px); }
}
@media (min-width: 960px) {
  .carousel-card { flex: 0 0 calc(25% - 9px); }
}
@media (min-width: 1200px) {
  .carousel-card { flex: 0 0 calc(20% - 10px); }
}

/* ── Buttons ─────────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 600;
  border: none;
  border-radius: 0;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  transition: background .15s;
}
.btn-primary { background: #8b1a1a; color: #fff; }
.btn-primary:hover { background: #6e1414; }
.btn-outline { background: #fff; border: 1px solid #ccc; color: #333; }
.btn-outline:hover { background: #f5f5f5; }
.full-width { display: block; width: 100%; }
.btn-link { font-size: 13px; color: #333; text-decoration: none; }

/* ── Inventory Grid ──────────────────────────────────── */
.inventory-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

/* ── Product Card (MachineryTrader style) ─────────────── */
.product-card {
  background: #fff;
  border: 1px solid #ddd;
  overflow: hidden;
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 12px 0;
}
.lot-number {
  font-size: 12px;
  font-weight: 700;
  color: #8b1a1a;
}
.bookmark-btn {
  background: none;
  border: none;
  font-size: 18px;
  color: #8b1a1a;
  cursor: pointer;
}

.card-title {
  font-size: 16px;
  font-weight: 800;
  padding: 4px 12px 0;
  color: #1a1a1a;
  line-height: 1.3;
}
.card-category {
  font-size: 13px;
  color: #666;
  padding: 0 12px 8px;
}

/* Image area */
.card-image {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  background: #e8e8e8;
  overflow: hidden;
}
.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.badge-auction {
  position: absolute;
  top: 8px;
  left: 8px;
  background: #2e7d32;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 2px;
}
.badge-right {
  top: auto;
  left: auto;
  bottom: 8px;
  right: 8px;
}
.badge-salvaged {
  top: auto;
  left: auto;
  bottom: 8px;
  right: 8px;
  background: #b71c1c;
}

/* Section headings */
.inventory-category-section {
  scroll-margin-top: 300px;
}

.inventory-section-heading {
  font-size: 20px;
  font-weight: 800;
  margin: 24px 0 4px;
  padding: 8px 12px;
  
}
.inventory-section-heading:first-of-type { margin-top: 8px; }
.salvaged-heading { border-left-color: #b71c1c; }
.card-salvaged { border-color: #e0c5c5; }

.inventory-tabs {
  display: flex;
  gap: 8px;
  position: sticky;
  top: 54px;
  z-index: 50;
  background: #f2f2f2;
  padding: 10px 0;
  margin-bottom: 8px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.inv-tab-icon {
  flex: 1;
  min-width: 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 10px 8px;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  color: #333;
  background: #fff;
  border: 2px solid #ddd;
  border-radius: 6px;
  transition: all .2s;
  text-align: center;
}
.inv-tab-icon:hover { border-color: #999; }
.inv-tab-icon.active { border-color: #8b1a1a; background: #fdf5f5; color: #8b1a1a; }
.tab-icon-img {
  width: 96px;
  height: 96px;
  object-fit: contain;
}
.tab-label {
  font-size: 16px;
  line-height: 1.2;
}
.empty-category {
  padding: 20px;
  color: #888;
  font-style: italic;
}
.dot-green { background: #2e7d32; }
.dot-red { background: #b71c1c; }
.tab-count {
  background: #eee;
  font-size: 12px;
  padding: 2px 8px;
  border-radius: 10px;
  font-weight: 600;
}
.carousel-dots {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 5px;
}
.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,.5);
  border: 1px solid rgba(0,0,0,.2);
}
.dot.active { background: #fff; }
.no-image {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: #999;
  font-size: 14px;
}

/* Price */
.card-price {
  font-size: 18px;
  font-weight: 800;
  padding: 12px 12px 8px;
  color: #1a1a1a;
}

/* Card buttons */
.product-card .btn {
  margin: 0 12px 8px;
  width: calc(100% - 24px);
}

/* Meta rows */
.card-meta-row {
  padding: 4px 12px;
  font-size: 13px;
  color: #555;
}
.card-meta-row a { margin-right: 12px; }

/* Expand / collapse */
.expand-btn {
  display: block;
  width: 100%;
  background: none;
  border: none;
  border-top: 1px solid #eee;
  padding: 8px;
  cursor: pointer;
  font-size: 12px;
  color: #888;
}
.card-expanded {
  display: none;
  padding: 4px 0 12px;
  border-top: 1px solid #eee;
}
.card-expanded.open { display: block; }
.card-desc {
  font-size: 13px;
  color: #666;
  padding: 4px 12px;
  line-height: 1.5;
}


/* ── Detail Modal ────────────────────────────────────── */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,.7);
  z-index: 200;
  justify-content: center;
  align-items: center;
}
.modal-overlay.open {
  display: flex;
}
.modal-content {
  background: #fff;
  width: 90%;
  max-width: 900px;
  height: 80vh;
  border-radius: 8px;
  position: relative;
  overflow-y: auto;
  padding: 24px;
}
.modal-close {
  position: sticky;
  top: 0;
  float: right;
  background: #8b1a1a;
  color: #fff;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 22px;
  cursor: pointer;
  z-index: 10;
}
.modal-close:hover { background: #6e1414; }
.modal-title {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 4px;
}
.modal-price {
  font-size: 22px;
  font-weight: 800;
  color: #2e7d32;
  margin-bottom: 16px;
}
.modal-images {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-bottom: 20px;
}
.modal-images img {
  width: 100%;
  border-radius: 4px;
  display: block;
}
.modal-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 16px;
  margin-bottom: 20px;
}
.modal-spec {
  font-size: 15px;
  padding: 8px 0;
  border-bottom: 1px solid #eee;
}
.modal-spec strong {
  color: #333;
  display: block;
  font-size: 12px;
  color: #888;
  margin-bottom: 2px;
}
.modal-desc {
  font-size: 15px;
  line-height: 1.7;
  color: #444;
  white-space: pre-line;
  padding: 16px;
  background: #f8f8f8;
  border-radius: 4px;
}
.modal-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 3px;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
}
.modal-badge-running { background: #2e7d32; }
.modal-badge-salvaged { background: #b71c1c; }

@media (min-width: 600px) {
  .modal-images { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .modal-content { width: 95%; height: 90vh; padding: 16px; }
  .modal-specs { grid-template-columns: 1fr; }
}

/* ── What We Do Showcase ─────────────────────────────── */
/* Mobile: stacked vertically */
.wwd-showcase {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 12px;
}
.wwd-rotator {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 4px;
  background: #e8e8e8;
}
.wwd-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity .8s ease;
}
.wwd-slide.active { opacity: 1; }
.wwd-video {
  width: 100%;
  border-radius: 4px;
  overflow: hidden;
}
.wwd-video video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

 


.wwd-video-solo { max-width: 640px; margin: 12px auto 0; }

/* Desktop: 3-column row */
@media (min-width: 769px) {
  .wwd-showcase {
    flex-direction: row;
    align-items: stretch;
  }
  .wwd-rotator {
    flex: 1;
    aspect-ratio: auto;
    min-height: 300px;
  }
  .wwd-video {
    flex: 1.2;
  }
}

/* Fallback gallery (images only, no video) */
.wwd-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 12px;
}
.wwd-item {
  overflow: hidden;
  border-radius: 4px;
  aspect-ratio: 4 / 3;
}
.wwd-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s;
}
.wwd-item:hover img { transform: scale(1.05); }

@media (min-width: 600px) {
  .wwd-gallery { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 960px) {
  .wwd-gallery { grid-template-columns: repeat(4, 1fr); }
}

/* ── Feature Grid (Home / Services) ──────────────────── */
.feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 16px;
}
.feature-card {
  background: #fff;
  border: 1px solid #ddd;
  padding: 20px 16px;
}
.feature-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.feature-card p { font-size: 14px; color: #555; }


/* ── Services / FAQ Accordion ────────────────────────── */
.services-section { text-align: left; }
.faq-list {
  max-width: auto;
  margin: 0 auto;
}
.faq-item {
  border-bottom: 1px solid #ddd;
}
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 18px 16px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 18px;
  font-weight: 700;
  color: #1a1a1a;
  text-align: left;
  transition: background .15s;
}
.faq-question:hover { background: #f8f5f4; }
.faq-icon {
  font-size: 22px;
  font-weight: 700;
  color: #8b1a1a;
  flex-shrink: 0;
  transition: transform .2s;
}
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer {
  display: none;
  padding: 0 16px 18px;
}
.faq-item.open .faq-answer { display: block; }
.faq-answer p {
  font-size: 16px;
  color: #444;
  line-height: 1.7;
  margin-bottom: 10px;
}

/* ── About ───────────────────────────────────────────── */
.about-section { text-align: left; }
.about-logo {
  height: 80px;
  width: 100px;
  margin: 0 auto 16px;
  display: block;
}

/* Hero intro */
.about-hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 32px;
}

.about-hero-img-full {
  width: auto;
  margin: 16px auto 14px;
  text-align: center;
}
.about-hero-img-full img {
  width: auto;
  display: inline-block;
  border-radius: 6px;
}


.about-hero-img img {
  width: 100%;
  border-radius: 6px;
  display: flex;
}
.about-hero-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.about-hero-text h1 {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 8px;
  color: #1a1a1a;
}
.about-tagline {
  font-size: 20px;
  color: #666;
  font-style: italic;
}

@media (min-width: 769px) {
  .about-hero { grid-template-columns: 1fr 1fr; }
  .about-hero-text { text-align: left; }
  .about-logo { margin: 0 0 16px; }
}

/* Content blocks */
.about-block {
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid #eee;
}
.about-block h2 {
  font-size: 26px;
  font-weight: 800;
  color: #1a1a1a;
  margin-bottom: 10px;
}
.about-block p {
  font-size: 18px;
  color: #444;
  line-height: 1.7;
  margin-bottom: 10px;
}

/* Highlight block */
.about-highlight {
  background: #fdf5f0;
  border: 2px solid #e8d5c4;
  border-radius: 6px;
  padding: 20px;
  border-bottom: none;
}

/* Guarantee block */
.about-guarantee {
  background: #e8f5e9;
  border: 2px solid #2e7d32;
  border-radius: 6px;
  padding: 20px;
  border-bottom: none;
}
.about-guarantee h2 { color: #2e7d32; }

/* Steps */
.about-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 16px;
}
.about-step {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 20px;
  position: relative;
}
.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: #8b1a1a;
  color: #fff;
  font-size: 18px;
  font-weight: 800;
  border-radius: 50%;
  margin-bottom: 10px;
}
.about-step h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 6px;
}
.about-step p { font-size: 17px; color: #555; margin: 0; }

@media (min-width: 600px) {
  .about-steps { grid-template-columns: repeat(3, 1fr); }
}

/* Reasons grid */
.about-reasons {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 12px;
}
.about-reason {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 16px;
}
.about-reason strong {
  font-size: 18px;
  color: #8b1a1a;
  display: block;
  margin-bottom: 4px;
}
.about-reason p { font-size: 17px; color: #555; margin: 0; }

@media (min-width: 600px) {
  .about-reasons { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 960px) {
  .about-reasons { grid-template-columns: repeat(3, 1fr); }
}

/* CTA */
.about-cta {
  text-align: center;
  padding: 24px 0;
}
.about-cta h2 {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 8px;
}
.about-cta p { font-size: 18px; color: #666; margin-bottom: 16px; }
.about-cta-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.about-cta-btns .btn { padding: 12px 28px; font-size: 15px; }

/* ── Contact ─────────────────────────────────────────── */
.contact-section h1,
.contact-section h2 {
  text-align: center;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 16px;
}
.contact-image {
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-image img {
  width: 70%;
  height: auto;
  display: block;
}
.contact-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 24px 20px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 4px;
}
.contact-info p { margin-bottom: 10px; font-size: 18px; }
.contact-info strong { font-size: 22px; }
.contact-info a { color: #8b1a1a; }
.contact-map {
  margin-top: 20px;
  border-radius: 4px;
  overflow: hidden;
}
.contact-map iframe {
  width: 100%;
  display: block;
}

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

/* ── Footer ──────────────────────────────────────────── */
.site-footer {
  background: #3b3330;
  color: #c8c0bb;
  text-align: center;
  padding: 24px 16px;
  font-size: 18px;
}
.site-footer p { margin-bottom: 4px; }
.footer-logo {
  height: 80px;
  width: auto;
  margin: 0 auto 12px;
  display: block;
  opacity: .9;
}

/* ── Desktop breakpoints ─────────────────────────────── */
@media (min-width: 600px) {
  .inventory-grid { grid-template-columns: 1fr 1fr; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 900px) {
  .inventory-grid { grid-template-columns: repeat(3, 1fr); }
  .feature-grid { grid-template-columns: repeat(3, 1fr); }
  
}
@media (min-width: 1100px) {
  .inventory-grid { grid-template-columns: repeat(4, 1fr); }
  .menu-toggle { display: none; }
  .main-nav {
    display: flex !important;
    flex-direction: row;
    border-top: 2px solid #8b1a1a;
    justify-content: stretch;
  }
  .main-nav a {
    border-bottom: none;
    padding: 12px 16px;
    font-size: 20px;
    flex: 1;
    text-align: center;
    border-right: 2px solid #ccc;
  }
  .main-nav a:first-child { border-left: 2px solid #ccc; }
  .main-nav a:hover:not(.active) { background: #f5f0f0; }
  .main-nav a.active { background: #8b1a1a; color: #fff; border-color: #8b1a1a; }
  .header-inner { padding: 12px 20px; }
}
