/* Maine Equipment Rentals (MER) — Stylesheet
   Cloned & modernized from maineequipmentrentals.com (DealerSpike) */

@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;500;600;700&family=Roboto+Condensed:ital,wght@0,300;0,400;0,700;1,400&display=swap');

:root {
  --mer-black: #0c0d0d;
  --mer-pure-black: #000000;
  --mer-dark: #1a1c1e;
  --mer-charcoal: #2b2b2b;
  --mer-grey-dark: #474747;
  --mer-grey-mid: #777777;
  --mer-grey-border: #dddddd;
  --mer-grey-light: #ebebeb;
  --mer-grey-bg: #f5f5f5;
  --mer-red: #b10000;
  --mer-red-hover: #8a0000;
  --mer-yellow: #ffde00;
  --mer-navy: #0b3254;
  --mer-fb: #3b5998;
  --mer-ig: #c13584;
  --mer-white: #ffffff;
  --font-heading: 'Roboto Condensed', 'Oswald', 'Arial Narrow', Arial, Helvetica, sans-serif;
  --font-body: 'Roboto Condensed', Arial, Helvetica, sans-serif;
}

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

html {
  font-family: var(--font-body);
  scroll-behavior: smooth;
  color: #222222;
  background-color: var(--mer-white);
}

body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button, input, select, textarea {
  font-family: inherit;
}

/* =========================================================
   HEADER & NAVIGATION (Exact DealerSpike MER Black Top Bar)
   ========================================================= */
.site-header {
  background-color: var(--mer-black);
  color: var(--mer-white);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid #222;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
}

.header-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.header-logoLink {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.header-logo {
  height: 76px;
  width: auto;
  display: block;
}

/* Main Desktop Nav */
.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 10px 14px;
  color: var(--mer-white);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.4px;
  border-bottom: 3px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
  cursor: pointer;
  background: none;
  border-top: none;
  border-left: none;
  border-right: none;
}

.nav-link:hover,
.nav-item:hover > .nav-link,
.nav-link.active {
  border-bottom-color: var(--mer-white);
  color: #f0f0f0;
}

.nav-link--highlight {
  background-color: var(--mer-red);
  border-radius: 2px;
  padding: 8px 14px;
  border-bottom: none !important;
  margin-left: 4px;
}

.nav-link--highlight:hover {
  background-color: var(--mer-red-hover);
}

.nav-caret {
  font-size: 11px;
  opacity: 0.85;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background-color: #4a4a4a;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
  list-style: none;
  margin: 0;
  padding: 6px 0;
  display: none;
  z-index: 1100;
}

.nav-item:hover .dropdown-menu,
.nav-item:focus-within .dropdown-menu {
  display: block;
}

.dropdown-menu li a {
  display: block;
  padding: 11px 18px;
  color: var(--mer-white);
  font-weight: 700;
  font-size: 15px;
  transition: background 0.15s ease;
}

.dropdown-menu li a:hover {
  background-color: #333333;
  color: var(--mer-yellow);
}

/* Header Right Branch Phone Numbers & Social Icons */
.header-contacts {
  display: flex;
  align-items: center;
  gap: 24px;
}

.branch-contact {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.branch-phone {
  font-family: 'Oswald', var(--font-heading);
  font-size: 27px;
  font-weight: 700;
  color: var(--mer-white);
  letter-spacing: 0.5px;
  transition: color 0.15s ease;
}

.branch-phone:hover {
  color: var(--mer-red);
}

.branch-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: #e0e0e0;
  margin-top: 3px;
}

.branch-divider {
  color: #555;
}

.branch-map-link {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-weight: 700;
  color: var(--mer-white);
  text-transform: uppercase;
}

.branch-map-link:hover {
  color: var(--mer-yellow);
}

.header-socials {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.social-circle {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--mer-white);
  font-weight: 700;
  font-size: 16px;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.social-circle:hover {
  transform: scale(1.08);
  opacity: 0.92;
}

.social-circle--fb {
  background-color: var(--mer-fb);
}

.social-circle--ig {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
  background-color: var(--mer-ig);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: 1px solid #444;
  color: var(--mer-white);
  padding: 8px 12px;
  font-size: 20px;
  cursor: pointer;
  border-radius: 3px;
}

/* =========================================================
   HOMEPAGE HERO BANNER & SEARCH BAR
   ========================================================= */
.hero-section {
  position: relative;
  min-height: 490px;
  background-color: #1b1f24;
  background-image: url('https://www.maineequipmentrentals.com/images/slideshow/Main-SlideShow/maineequipmentrentals-bg-video.jpg'), url('/images/hero-yard-aerial.svg');
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px 95px;
  text-align: center;
}

.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.22) 0%, rgba(0,0,0,0.42) 60%, rgba(0,0,0,0.58) 100%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 980px;
}

.hero-title {
  margin: 0 0 28px;
  color: var(--mer-white);
  font-family: 'Oswald', var(--font-heading);
  font-size: clamp(38px, 6.2vw, 76px);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.65);
}

.hero-search-form {
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  background: rgba(12, 13, 13, 0.78);
  border: 1.5px solid rgba(255, 255, 255, 0.75);
  border-radius: 999px;
  overflow: hidden;
  backdrop-filter: blur(6px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.5);
}

.hero-search-input {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--mer-white);
  padding: 16px 26px;
  font-size: 18px;
  outline: none;
}

.hero-search-input::placeholder {
  color: rgba(255, 255, 255, 0.88);
}

.hero-search-btn {
  background: transparent;
  border: none;
  border-left: 1px solid rgba(255, 255, 255, 0.3);
  color: var(--mer-white);
  padding: 14px 28px;
  font-size: 20px;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.hero-search-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  color: var(--mer-yellow);
}

/* =========================================================
   35 CATEGORY TILES GRID (.index-ctas)
   ========================================================= */
.index-ctas-wrapper {
  background-color: #555555;
  padding: 0 0 24px;
}

.index-ctas {
  max-width: 1320px;
  margin: -45px auto 0;
  position: relative;
  z-index: 5;
  padding: 4px;
  background-color: #555555;
}

.index-ctas-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 4px;
}

.cta-tile {
  position: relative;
  height: 215px;
  overflow: hidden;
  background-color: #2b2b2b;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  text-align: center;
  cursor: pointer;
  border: 1px solid rgba(255,255,255,0.08);
}

.cta-tile-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.35s ease;
}

.cta-tile:hover .cta-tile-bg {
  transform: scale(1.07);
}

.cta-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0.25) 50%, rgba(0,0,0,0.82) 100%);
  pointer-events: none;
}

.cta-tile-text {
  position: relative;
  z-index: 2;
  padding: 14px 10px;
  width: 100%;
  color: var(--mer-white);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cta-first-line {
  font-size: 15px;
  font-weight: 400;
  color: #e5e5e5;
  margin-bottom: 2px;
}

.cta-second-line {
  font-family: 'Oswald', var(--font-heading);
  font-size: 19px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  line-height: 1.15;
  text-shadow: 0 2px 6px rgba(0,0,0,0.8);
}

.cta-tile:hover .cta-second-line {
  color: var(--mer-yellow);
}

/* =========================================================
   BRAND PARTNER SHOWCASE BAR
   ========================================================= */
.brands-section {
  background-color: var(--mer-white);
  padding: 36px 24px;
  border-bottom: 1px solid var(--mer-grey-border);
}

.brands-container {
  max-width: 1320px;
  margin: 0 auto;
}

.brands-heading {
  text-align: center;
  font-family: 'Oswald', var(--font-heading);
  font-size: 22px;
  text-transform: uppercase;
  color: var(--mer-grey-dark);
  letter-spacing: 1px;
  margin: 0 0 22px;
}

.brands-track {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(145px, 1fr));
  gap: 14px;
  align-items: center;
}

.brand-card {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  background: var(--mer-white);
  border: 1px solid #e5e7eb;
  border-radius: 4px;
  height: 68px;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
  cursor: pointer;
}

.brand-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.08);
  border-color: var(--mer-black);
}

.brand-card img {
  max-width: 100%;
  max-height: 48px;
  object-fit: contain;
}

/* =========================================================
   WELCOME SECTION (HOMEPAGE)
   ========================================================= */
.welcome-section {
  background-color: var(--mer-black);
  color: var(--mer-white);
  padding: 64px 24px;
  text-align: center;
  border-top: 4px solid var(--mer-red);
}

.welcome-inner {
  max-width: 960px;
  margin: 0 auto;
}

.welcome-h1 {
  font-family: 'Oswald', var(--font-heading);
  font-size: clamp(32px, 4.5vw, 48px);
  font-weight: 700;
  text-transform: uppercase;
  margin: 0 0 8px;
  letter-spacing: 1px;
}

.welcome-subtitle {
  font-family: var(--font-heading);
  font-size: 22px;
  color: var(--mer-yellow);
  font-weight: 700;
  margin: 0 0 24px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.welcome-body {
  font-size: 18px;
  line-height: 1.65;
  color: #e5e5e5;
  margin: 0 0 32px;
}

.welcome-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-primary-dark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: var(--mer-black);
  color: var(--mer-white);
  border: 2px solid var(--mer-white);
  padding: 13px 34px;
  font-family: 'Oswald', var(--font-heading);
  font-size: 17px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.btn-primary-dark:hover {
  background-color: var(--mer-red);
  border-color: var(--mer-red);
  color: var(--mer-white);
}

.btn-red {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: var(--mer-red);
  color: var(--mer-white);
  border: 2px solid var(--mer-red);
  padding: 13px 34px;
  font-family: 'Oswald', var(--font-heading);
  font-size: 17px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: background 0.15s ease;
}

.btn-red:hover {
  background-color: var(--mer-red-hover);
  border-color: var(--mer-red-hover);
}

/* =========================================================
   RENTAL INVENTORY CATALOG PAGE (Matches step_34_media_0.png)
   ========================================================= */
.page-container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 32px 24px 64px;
  width: 100%;
  flex: 1;
}

.catalog-header h1 {
  font-family: var(--font-heading);
  font-size: 38px;
  font-weight: 400;
  color: #111111;
  margin: 0 0 12px;
}

.catalog-intro {
  font-size: 15.5px;
  line-height: 1.55;
  color: #222222;
  margin: 0 0 24px;
}

.catalog-intro a {
  font-weight: 700;
  text-decoration: underline;
}

/* Filter Toolbar */
.filter-panel {
  background-color: var(--mer-white);
  border-bottom: 1px solid #cccccc;
  padding-bottom: 18px;
  margin-bottom: 24px;
}

.filter-row-top {
  display: grid;
  grid-template-columns: 1.2fr 1fr auto auto;
  gap: 14px;
  align-items: center;
  margin-bottom: 12px;
}

.filter-search-group {
  display: flex;
  border: 1px solid #cccccc;
}

.filter-search-group input {
  flex: 1;
  border: none;
  padding: 9px 12px;
  font-size: 15px;
  outline: none;
}

.filter-search-group button {
  background-color: var(--mer-black);
  color: var(--mer-white);
  border: none;
  padding: 0 15px;
  cursor: pointer;
  font-size: 15px;
}

.filter-sort-group {
  display: flex;
  gap: 6px;
}

.filter-select {
  width: 100%;
  padding: 9px 12px;
  border: 1px solid #cccccc;
  background-color: var(--mer-white);
  font-size: 15px;
  color: #222222;
}

.pagination-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14.5px;
  color: #222;
}

.page-arrow-btn {
  background-color: var(--mer-black);
  color: var(--mer-white);
  border: none;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 14px;
}

.page-arrow-btn:disabled {
  background-color: #777777;
  cursor: not-allowed;
}

.filter-actions-group {
  display: flex;
  gap: 6px;
}

.btn-filter-dark {
  background-color: var(--mer-black);
  color: var(--mer-white);
  border: none;
  padding: 9px 16px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-filter-dark:hover {
  background-color: #333333;
}

.filter-row-dropdowns {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.filter-row-more {
  display: none;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 12px;
}

.filter-row-more.expanded {
  display: grid;
}

/* Active filter pills */
.active-filters-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.filter-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: var(--mer-black);
  color: var(--mer-white);
  padding: 4px 12px;
  border-radius: 3px;
  font-size: 13px;
  font-weight: 700;
}

.filter-pill button {
  background: none;
  border: none;
  color: var(--mer-yellow);
  cursor: pointer;
  font-size: 15px;
  padding: 0;
  line-height: 1;
}

/* Equipment Unit Row Card (Exact match to DealerSpike unit card in step_34) */
.inventory-list {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.unit-card {
  border-bottom: 1px solid #cccccc;
  padding-bottom: 26px;
  display: grid;
  grid-template-columns: 270px 1fr;
  gap: 28px;
  align-items: start;
}

.unit-media-col {
  display: flex;
  flex-direction: column;
}

.unit-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  background-color: #f1f5f9;
  border: 1px solid #e2e8f0;
  overflow: hidden;
  display: block;
}

.unit-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.25s ease;
}

.unit-img-wrap:hover img {
  transform: scale(1.03);
}

.unit-badge-new {
  position: absolute;
  top: 10px;
  left: 10px;
  background-color: var(--mer-red);
  color: var(--mer-white);
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 2px;
}

.unit-badge-branch {
  position: absolute;
  top: 10px;
  right: 10px;
  background-color: rgba(12, 13, 13, 0.85);
  color: var(--mer-white);
  font-weight: 700;
  font-size: 11.5px;
  padding: 3px 8px;
  border-radius: 2px;
}

.unit-more-info-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  background-color: var(--mer-grey-light);
  color: #666666;
  padding: 11px 14px;
  margin-top: 8px;
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  transition: background 0.15s ease, color 0.15s ease;
}

.unit-more-info-bar:hover {
  background-color: #dcdcdc;
  color: #111111;
}

.info-icon-circle {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background-color: #888888;
  color: var(--mer-white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-style: italic;
  font-family: Georgia, serif;
  font-weight: 700;
  font-size: 13px;
}

/* Unit Main Details & Right Rate Column */
.unit-main-col {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100%;
}

.unit-top-split {
  display: grid;
  grid-template-columns: 1fr 220px;
  gap: 20px;
}

.unit-title {
  font-size: 22px;
  font-weight: 400;
  color: #111111;
  margin: 0 0 14px;
}

.unit-title a:hover {
  color: var(--mer-red);
}

.unit-summary-specs {
  font-size: 14.5px;
  color: #111111;
  margin: 0 0 16px;
  font-weight: 500;
}

.unit-specs-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(180px, 1fr));
  gap: 5px 24px;
  font-size: 14px;
  margin-bottom: 18px;
}

.spec-pair {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 6px;
}

.spec-label {
  font-weight: 700;
  color: #111111;
}

.spec-val {
  color: #333333;
}

/* Right Price Stack (Daily / Weekly / Weekend / Monthly) */
.unit-rates-col {
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.click-quote-link {
  font-size: 18px;
  color: #111111;
  margin-bottom: 4px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  font-weight: 500;
}

.click-quote-link:hover {
  color: var(--mer-red);
  text-decoration: underline;
}

.rate-line {
  font-size: 18px;
  color: #111111;
  line-height: 1.42;
  font-weight: 400;
}

.unit-brand-badge {
  margin-top: 14px;
  font-family: 'Oswald', var(--font-heading);
  font-weight: 800;
  font-size: 17px;
  color: var(--mer-navy);
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

/* Bottom 4-Button Action Bar on Each Card */
.unit-actions-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background-color: #e6e6e6;
  margin-top: 12px;
}

.unit-action-btn {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  padding: 13px 16px;
  border: none;
  border-right: 1px solid #cccccc;
  background-color: #e6e6e6;
  color: #111111;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.unit-action-btn:hover {
  background-color: #d4d4d4;
}

.unit-action-btn--primary {
  background-color: var(--mer-black);
  color: var(--mer-white);
  border-right: none;
}

.unit-action-btn--primary:hover {
  background-color: var(--mer-red);
}

/* =========================================================
   EQUIPMENT DETAIL PAGE (Matches step_49_media_0.png)
   ========================================================= */
.detail-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: #e6e6e6;
  color: #333333;
  padding: 8px 16px;
  font-weight: 700;
  font-size: 15px;
  border: none;
  cursor: pointer;
  margin-bottom: 12px;
}

.detail-back-btn:hover {
  background-color: #d4d4d4;
}

.detail-header-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 6px;
}

.detail-header-row h1 {
  font-size: 32px;
  font-weight: 400;
  margin: 0;
}

.detail-subspecs {
  font-size: 15px;
  font-weight: 700;
  color: #222;
  margin: 0 0 24px;
}

.detail-main-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 36px;
  align-items: start;
}

.detail-photo-box {
  border: 1px solid #ddd;
  background: #f8fafc;
}

.detail-photo-box img {
  width: 100%;
  max-height: 460px;
  object-fit: cover;
  display: block;
}

.detail-cta-stack {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.detail-price-headline {
  font-size: 26px;
  color: #666;
  margin-bottom: 12px;
}

.detail-price-headline strong {
  color: #111;
  font-weight: 500;
}

.detail-rates-box {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 18px;
}

.detail-rate-card {
  background: #f5f5f5;
  border: 1px solid #ddd;
  border-top: 3px solid var(--mer-black);
  padding: 12px 10px;
  text-align: center;
}

.detail-rate-card span {
  display: block;
  font-size: 12px;
  text-transform: uppercase;
  color: #666;
  font-weight: 700;
}

.detail-rate-card strong {
  display: block;
  font-size: 20px;
  color: #111;
  margin-top: 4px;
}

.detail-stack-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #ebebeb;
  color: #111111;
  padding: 15px 18px;
  border: none;
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.detail-stack-btn:hover {
  background-color: var(--mer-black);
  color: var(--mer-white);
}

.detail-tabs {
  display: flex;
  gap: 4px;
  margin-top: 36px;
  border-bottom: 2px solid #e5e5e5;
}

.detail-tab-btn {
  background-color: #ebebeb;
  border: none;
  padding: 14px 26px;
  font-weight: 700;
  font-size: 15px;
  text-transform: uppercase;
  cursor: pointer;
}

.detail-tab-btn.active {
  background-color: #dcdcdc;
  border-bottom: 3px solid var(--mer-black);
}

.detail-tab-panel {
  background-color: #f2f2f2;
  padding: 24px;
}

.detail-spec-table {
  width: 100%;
  border-collapse: collapse;
}

.detail-spec-table tr {
  border-bottom: 1px solid #dddddd;
}

.detail-spec-table th,
.detail-spec-table td {
  padding: 11px 14px;
  text-align: left;
  font-size: 15px;
}

.detail-spec-table th {
  width: 240px;
  font-weight: 700;
  color: #111;
}

/* =========================================================
   INTERIOR PAGES & FORMS (Contact, Why Rent, About, Locations, Careers)
   ========================================================= */
.interior-page {
  max-width: 1140px;
  margin: 0 auto;
  padding: 36px 24px 72px;
}

.interior-h1 {
  font-family: var(--font-heading);
  font-size: 42px;
  font-weight: 400;
  color: #111111;
  margin: 0 0 20px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.interior-h2 {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 700;
  color: #111111;
  margin: 28px 0 14px;
}

.interior-p {
  font-size: 16.5px;
  line-height: 1.65;
  color: #222222;
  margin: 0 0 18px;
}

.benefits-list {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
}

.benefits-list li {
  margin-bottom: 14px;
  font-size: 16px;
  line-height: 1.55;
}

.benefits-list li::before {
  content: "▸ ";
  font-weight: 700;
  color: var(--mer-black);
}

/* Standard DealerSpike Form Layout (Matches step_51_media_0.png) */
.ds-form-wrap {
  max-width: 920px;
  margin: 0 auto;
}

.ds-required-note {
  text-align: center;
  font-size: 14px;
  color: #222;
  margin-bottom: 18px;
}

.ds-form-group {
  position: relative;
  margin-bottom: 12px;
}

.ds-input,
.ds-select,
.ds-textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid #cccccc;
  font-size: 16px;
  color: #222222;
  background-color: var(--mer-white);
  outline: none;
  transition: border-color 0.15s ease;
}

.ds-input:focus,
.ds-select:focus,
.ds-textarea:focus {
  border-color: var(--mer-black);
}

.ds-required-star {
  position: absolute;
  right: 14px;
  top: 14px;
  font-weight: 700;
  color: #111;
  pointer-events: none;
}

.ds-form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.ds-checkbox-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 14px 0 22px;
  font-size: 14.5px;
}

.ds-submit-wrap {
  text-align: center;
  margin-top: 18px;
}

.ds-submit-btn {
  background-color: var(--mer-black);
  color: var(--mer-white);
  border: none;
  min-width: 260px;
  padding: 16px 36px;
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.15s ease;
}

.ds-submit-btn:hover {
  background-color: var(--mer-red);
}

/* Locations Cards (Matches step_67_media_0.png) */
.locations-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin: 28px 0 36px;
}

.location-card {
  background: var(--mer-white);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.18);
  border: 1px solid #ddd;
  overflow: hidden;
}

.location-card-header {
  background-color: #474747;
  color: var(--mer-white);
  text-align: center;
  padding: 13px 16px;
  font-size: 18px;
  font-weight: 700;
}

.location-card-body {
  padding: 22px;
}

/* Enhanced Locations Page (.loc-*) */
.loc-page {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px 72px;
}

.loc-hero {
  background: linear-gradient(135deg, #111315 0%, #1d2024 100%);
  color: var(--mer-white);
  margin: 0 -24px 32px;
  padding: 40px 36px;
  border-bottom: 4px solid var(--mer-red);
}

.loc-hero-inner {
  max-width: 1192px;
  margin: 0 auto;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.loc-hero-eyebrow {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--mer-yellow);
  margin-bottom: 8px;
}

.loc-hero-title {
  font-family: 'Oswald', var(--font-heading);
  font-size: 40px;
  font-weight: 600;
  letter-spacing: 0.5px;
  line-height: 1.1;
  margin: 0 0 10px;
  color: var(--mer-white);
}

.loc-hero-sub {
  margin: 0;
  color: #d4d7dc;
  font-size: 16px;
  line-height: 1.5;
  max-width: 680px;
}

.loc-hero-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.loc-hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 18px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  border-radius: 3px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
  color: var(--mer-white);
  transition: background 0.15s ease, border-color 0.15s ease;
}

.loc-hero-btn:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.45);
}

.loc-hero-btn--primary {
  background: var(--mer-red);
  border-color: var(--mer-red);
}

.loc-hero-btn--primary:hover {
  background: var(--mer-red-hover);
  border-color: var(--mer-red-hover);
}

.loc-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-bottom: 36px;
}

.loc-branch-card {
  background: var(--mer-white);
  border: 1px solid #d9dce0;
  border-radius: 4px;
  box-shadow: 0 6px 24px rgba(12, 13, 13, 0.09);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.loc-branch-head {
  background: var(--mer-black);
  color: var(--mer-white);
  padding: 18px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.loc-branch-title {
  font-family: 'Oswald', var(--font-heading);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: 0.4px;
  margin: 0;
  line-height: 1.15;
}

.loc-branch-region {
  font-size: 13.5px;
  color: #b8bec7;
  margin-top: 3px;
}

.loc-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.2px;
  white-space: nowrap;
}

.loc-status-badge--open {
  background: rgba(22, 163, 74, 0.2);
  color: #86efac;
  border: 1px solid rgba(134, 239, 172, 0.35);
}

.loc-status-badge--closed {
  background: rgba(255, 255, 255, 0.1);
  color: #e2e8f0;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.loc-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
  flex-shrink: 0;
}

.loc-map-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 16px;
  background: #f4f5f7;
  border-bottom: 1px solid #e2e5e9;
  flex-wrap: wrap;
}

.loc-map-toggle {
  display: inline-flex;
  background: #e2e5e9;
  border-radius: 3px;
  padding: 2px;
}

.loc-map-toggle-btn {
  border: none;
  background: transparent;
  color: #333;
  font-size: 12.5px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 2px;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.loc-map-toggle-btn.active {
  background: var(--mer-black);
  color: var(--mer-white);
}

.loc-map-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12.5px;
  color: #555;
}

.loc-map-external {
  color: var(--mer-red);
  font-weight: 700;
  text-decoration: none;
}

.loc-map-external:hover {
  text-decoration: underline;
}

.loc-map-frame-wrap {
  position: relative;
  background: #eaecef;
  width: 100%;
  height: 350px;
}

.loc-map-frame-wrap--tall {
  height: 480px;
}

.loc-map-frame {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.loc-branch-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1;
}

.loc-info-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: start;
  padding-bottom: 14px;
  border-bottom: 1px solid #eceef0;
}

.loc-address-line {
  font-size: 18px;
  font-weight: 700;
  color: #111;
  line-height: 1.3;
}

.loc-phone-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
  font-size: 19px;
  font-weight: 700;
  color: var(--mer-red);
}

.loc-phone-link:hover {
  color: var(--mer-red-hover);
  text-decoration: underline;
}

.loc-copy-btn {
  border: 1px solid #cfd4da;
  background: #fafafa;
  color: #222;
  font-size: 12.5px;
  font-weight: 700;
  padding: 7px 11px;
  border-radius: 3px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.loc-copy-btn:hover {
  background: #efefef;
  border-color: #999;
}

.loc-access-note {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.5;
  color: #3d4248;
  background: #f8f9fa;
  border-left: 3px solid var(--mer-red);
  padding: 10px 13px;
}

.loc-hours-compact {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.loc-hours-pill {
  background: #f6f7f9;
  border: 1px solid #e5e7eb;
  border-radius: 3px;
  padding: 8px 10px;
}

.loc-hours-pill--today {
  background: #fef9e7;
  border-color: #e6c635;
}

.loc-hours-days {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: #555;
}

.loc-hours-time {
  font-size: 13.5px;
  font-weight: 700;
  color: #111;
  margin-top: 2px;
}

.loc-areas-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: #666;
  margin-bottom: 6px;
}

.loc-areas-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.loc-area-chip {
  background: #f1f3f5;
  color: #2c3035;
  font-size: 12.5px;
  font-weight: 700;
  padding: 4px 9px;
  border-radius: 2px;
}

.loc-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: auto;
  padding-top: 8px;
}

.loc-actions .btn-red,
.loc-actions .btn-filter-dark {
  padding: 10px 16px;
  font-size: 13.5px;
  text-align: center;
  flex: 1 1 auto;
}

.loc-btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 9px 14px;
  font-size: 13.5px;
  font-weight: 700;
  color: #1a1c1e;
  background: var(--mer-white);
  border: 1px solid #c5cad0;
  border-radius: 2px;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.loc-btn-outline:hover {
  background: #f3f4f6;
  border-color: #1a1c1e;
}

.loc-coverage-strip {
  background: #f6f7f9;
  border: 1px solid #dfe2e6;
  border-radius: 4px;
  padding: 26px 28px;
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 24px;
  align-items: center;
}

.loc-coverage-item h3 {
  font-family: 'Oswald', var(--font-heading);
  font-size: 20px;
  font-weight: 600;
  margin: 0 0 6px;
  color: #111;
}

.loc-coverage-item p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.5;
  color: #444;
}

.loc-coverage-cta {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 210px;
}

.loc-breadcrumb {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 18px;
  font-size: 14px;
  color: #555;
}

.loc-breadcrumb a {
  color: var(--mer-red);
  font-weight: 700;
}

.loc-breadcrumb a:hover {
  text-decoration: underline;
}

.detail-spec-table tr.loc-today-row {
  background: #fef9e7;
}

.detail-spec-table tr.loc-today-row th,
.detail-spec-table tr.loc-today-row td {
  color: #111;
  font-weight: 700;
}

@media (max-width: 960px) {
  .loc-grid,
  .loc-coverage-strip {
    grid-template-columns: 1fr;
  }
  .loc-hero {
    padding: 30px 24px;
  }
  .loc-hero-title {
    font-size: 32px;
  }
}

@media (max-width: 600px) {
  .loc-hours-compact {
    grid-template-columns: 1fr;
  }
  .loc-info-row {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   QUOTE / AVAILABILITY MODAL (<dialog>)
   ========================================================= */
dialog.mer-modal {
  border: none;
  border-radius: 4px;
  padding: 0;
  width: calc(100vw - 32px);
  max-width: 640px;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.55);
  background: var(--mer-white);
  color: #111;
}

dialog.mer-modal::backdrop {
  background: rgba(0, 0, 0, 0.68);
  backdrop-filter: blur(2px);
}

.modal-header {
  background-color: var(--mer-black);
  color: var(--mer-white);
  padding: 16px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-header h3 {
  margin: 0;
  font-family: 'Oswald', var(--font-heading);
  font-size: 22px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.modal-close-btn {
  background: none;
  border: none;
  color: var(--mer-white);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.modal-body {
  padding: 22px;
  max-height: 80vh;
  overflow-y: auto;
}

/* =========================================================
   ADMIN DASHBOARD (/admin)
   ========================================================= */
.admin-shell {
  background: #f4f6f8;
  min-height: calc(100vh - 220px);
  padding-bottom: 56px;
}

.admin-bar {
  background: linear-gradient(135deg, #0f1114 0%, #1c2026 100%);
  color: #fff;
  padding: 16px 28px;
  border-bottom: 3px solid var(--mer-red);
}

.admin-bar-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
}

.admin-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.admin-brand-title {
  font-family: 'Oswald', var(--font-heading);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.6px;
  margin: 0;
  color: #fff;
}

.admin-brand-sub {
  font-size: 12.5px;
  color: #9ca3af;
  margin-top: 2px;
}

.admin-bar-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.admin-user-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 5px 12px 5px 6px;
  border-radius: 999px;
  font-size: 13px;
  color: #f1f5f9;
}

.admin-user-avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.admin-bar-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 13px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.admin-bar-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.35);
}

.admin-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 24px 28px 0;
}

.admin-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 22px;
}

.admin-kpi-card {
  background: #fff;
  border: 1px solid #e2e6eb;
  border-radius: 6px;
  padding: 16px 18px;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.admin-kpi-card--clickable {
  cursor: pointer;
}

.admin-kpi-card--clickable:hover {
  border-color: #94a3b8;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
}

.admin-kpi-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: #64748b;
}

.admin-kpi-value {
  font-family: 'Oswald', var(--font-heading);
  font-size: 32px;
  font-weight: 600;
  line-height: 1.1;
  color: #0f172a;
}

.admin-kpi-value--alert {
  color: var(--mer-red);
}

.admin-kpi-meta {
  font-size: 12.5px;
  color: #475569;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.admin-tabs-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  border-bottom: 2px solid #e2e6eb;
  margin-bottom: 20px;
}

.admin-tabs {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}

.admin-tab {
  background: transparent;
  color: #475569;
  border: none;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  padding: 11px 18px;
  font-size: 14.5px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.admin-tab:hover {
  color: #0f172a;
}

.admin-tab.active {
  color: var(--mer-red);
  border-bottom-color: var(--mer-red);
}

.admin-tab-count {
  background: #e2e8f0;
  color: #334155;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 700;
}

.admin-tab.active .admin-tab-count {
  background: #fee2e2;
  color: var(--mer-red);
}

.admin-tab-count--alert {
  background: var(--mer-red);
  color: #fff;
}

.admin-tab.active .admin-tab-count--alert {
  background: var(--mer-red);
  color: #fff;
}

.admin-panel {
  background: #fff;
  border: 1px solid #dfe3e8;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
  overflow: hidden;
}

.admin-toolbar {
  padding: 16px 18px;
  border-bottom: 1px solid #e5e9ef;
  background: #fafbfc;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.admin-toolbar-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.admin-filter-group {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  flex: 1;
}

.admin-search-input {
  min-width: 240px;
  flex: 1 1 260px;
  max-width: 380px;
  padding: 8px 12px;
  border: 1px solid #cbd5e1;
  border-radius: 4px;
  font-size: 14px;
  background: #fff;
}

.admin-search-input:focus,
.admin-select:focus {
  outline: none;
  border-color: var(--mer-black);
}

.admin-select {
  padding: 8px 10px;
  border: 1px solid #cbd5e1;
  border-radius: 4px;
  font-size: 13.5px;
  background: #fff;
  color: #1e293b;
  font-weight: 600;
  cursor: pointer;
}

.admin-btn-group {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.admin-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 4px;
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  border: 1px solid #cbd5e1;
  background: #fff;
  color: #1e293b;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.admin-btn:hover {
  background: #f1f5f9;
  border-color: #94a3b8;
}

.admin-btn--primary {
  background: var(--mer-red);
  border-color: var(--mer-red);
  color: #fff;
}

.admin-btn--primary:hover {
  background: var(--mer-red-hover);
  border-color: var(--mer-red-hover);
}

.admin-btn--dark {
  background: #1e293b;
  border-color: #1e293b;
  color: #fff;
}

.admin-btn--dark:hover {
  background: #0f172a;
}

.admin-btn--sm {
  padding: 5px 9px;
  font-size: 12px;
}

.admin-btn--danger {
  color: #b91c1c;
  border-color: #fecaca;
  background: #fff;
}

.admin-btn--danger:hover {
  background: #fef2f2;
  border-color: #ef4444;
}

.admin-bulk-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 10px 18px;
  background: #eff6ff;
  border-bottom: 1px solid #bfdbfe;
  font-size: 13.5px;
  color: #1e3a8a;
}

.admin-table-wrap {
  overflow-x: auto;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  font-size: 13.5px;
}

.admin-table th,
.admin-table td {
  padding: 11px 12px;
  border-bottom: 1px solid #edf0f4;
  text-align: left;
  vertical-align: middle;
}

.admin-table th {
  background: #f8fafc;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 11.5px;
  letter-spacing: 0.5px;
  color: #475569;
  white-space: nowrap;
}

.admin-table tbody tr:hover {
  background: #fafcff;
}

.admin-unit-cell {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 240px;
}

.admin-unit-thumb {
  width: 52px;
  height: 40px;
  border-radius: 3px;
  object-fit: cover;
  border: 1px solid #e2e8f0;
  background: #f1f5f9;
  flex-shrink: 0;
}

.admin-unit-title {
  font-weight: 700;
  color: #0f172a;
  line-height: 1.25;
}

.admin-unit-sub {
  font-size: 12px;
  color: #64748b;
  margin-top: 2px;
}

.admin-cat-chip {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 3px;
  background: #f1f5f9;
  color: #334155;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.admin-star-btn {
  border: none;
  background: transparent;
  cursor: pointer;
  font-size: 17px;
  line-height: 1;
  color: #cbd5e1;
  padding: 2px 4px;
  transition: transform 0.12s ease, color 0.12s ease;
}

.admin-star-btn.active {
  color: #eab308;
}

.admin-star-btn:hover {
  transform: scale(1.15);
}

.admin-inline-status {
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  border: 1px solid transparent;
  cursor: pointer;
}

.admin-inline-status--Available {
  background: #dcfce7;
  color: #166534;
  border-color: #bbf7d0;
}

.admin-inline-status--OnRent {
  background: #fef3c7;
  color: #92400e;
  border-color: #fde68a;
}

.admin-inline-status--Maintenance {
  background: #fee2e2;
  color: #991b1b;
  border-color: #fecaca;
}

.admin-inline-status--Unavailable,
.admin-inline-status--Sold {
  background: #e2e8f0;
  color: #334155;
  border-color: #cbd5e1;
}

.admin-rates-stack {
  display: flex;
  gap: 8px;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.admin-rate-cell {
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.admin-row-actions {
  display: flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}

.admin-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 12px 18px;
  background: #fafbfc;
  border-top: 1px solid #e5e9ef;
  font-size: 13px;
  color: #475569;
}

.admin-settings-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 22px;
}

.admin-card {
  background: #fff;
  border: 1px solid #dfe3e8;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
  overflow: hidden;
}

.admin-card-head {
  background: #0f1114;
  color: #fff;
  padding: 13px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.admin-card-head h3 {
  font-family: 'Oswald', var(--font-heading);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.4px;
  margin: 0;
}

.admin-card-body {
  padding: 20px;
}

.admin-team-add-row {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
}

.admin-team-list {
  border: 1px solid #e2e8f0;
  border-radius: 4px;
  max-height: 360px;
  overflow-y: auto;
}

.admin-team-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 12px;
  border-bottom: 1px solid #f1f5f9;
  font-size: 13.5px;
}

.admin-team-item:last-child {
  border-bottom: none;
}

.admin-team-email {
  font-weight: 700;
  color: #0f172a;
  word-break: break-all;
}

.admin-you-badge {
  background: #dbeafe;
  color: #1e40af;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 999px;
  margin-left: 6px;
}

.admin-modal-preview {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 12px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 4px;
  margin-bottom: 14px;
}

.admin-modal-preview img {
  width: 84px;
  height: 62px;
  object-fit: cover;
  border-radius: 3px;
  border: 1px solid #cbd5e1;
  background: #fff;
}

.admin-checkbox-row {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  padding: 10px 12px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 4px;
  margin-bottom: 14px;
  font-size: 13.5px;
  font-weight: 700;
  color: #1e293b;
}

.admin-checkbox-row label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  cursor: pointer;
}

.admin-toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(16px);
  background: #0f172a;
  color: #fff;
  padding: 11px 18px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.25);
  border-left: 4px solid #22c55e;
  z-index: 2500;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.admin-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.admin-toast--error {
  border-left-color: #ef4444;
}

.status-badge {
  display: inline-block;
  padding: 3px 9px;
  border-radius: 99px;
  font-size: 12px;
  font-weight: 700;
}

.status-New { background: #fee2e2; color: #991b1b; }
.status-Contacted { background: #fef3c7; color: #92400e; }
.status-Quoted { background: #dbeafe; color: #1e40af; }
.status-Booked { background: #dcfce7; color: #166534; }
.status-Archived { background: #e2e8f0; color: #475569; }
.status-Available { background: #dcfce7; color: #166534; }

@media (max-width: 1024px) {
  .admin-kpi-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .admin-settings-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .admin-kpi-grid {
    grid-template-columns: 1fr;
  }
  .admin-container {
    padding: 16px 14px 0;
  }
  .admin-bar {
    padding: 14px 16px;
  }
}

/* =========================================================
   FOOTER (Exact 4-Column Black Footer)
   ========================================================= */
.site-footer {
  background-color: var(--mer-black);
  color: var(--mer-white);
  padding: 54px 24px 28px;
  margin-top: auto;
}

.footer-grid {
  max-width: 1320px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 36px;
  padding-bottom: 42px;
  border-bottom: 1px solid #262626;
}

.footer-col h2 {
  font-family: 'Oswald', var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  text-transform: uppercase;
  color: #a3a3a3;
  margin: 0 0 16px;
  letter-spacing: 0.8px;
}

.footer-address {
  font-size: 15.5px;
  line-height: 1.6;
  color: #e5e5e5;
  margin-bottom: 12px;
}

.footer-phone-link {
  display: block;
  font-size: 18px;
  font-weight: 700;
  color: var(--mer-white);
  margin-bottom: 6px;
}

.footer-phone-link:hover {
  color: var(--mer-red);
}

.footer-links-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.footer-links-list a:hover {
  color: var(--mer-yellow);
  text-decoration: underline;
}

.hours-table {
  width: 100%;
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--mer-white);
}

.hours-table td:first-child {
  font-weight: 700;
  color: var(--mer-white);
  padding-right: 12px;
}

.footer-bottom {
  max-width: 1320px;
  margin: 24px auto 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
  font-size: 13.5px;
  color: #999999;
}

.footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.footer-legal-links a:hover {
  color: var(--mer-white);
}

/* =========================================================
   RESPONSIVE BREAKPOINTS
   ========================================================= */
@media (max-width: 1180px) {
  .index-ctas-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .header-contacts {
    gap: 14px;
  }
  .branch-phone {
    font-size: 22px;
  }
}

@media (max-width: 900px) {
  .mobile-menu-btn {
    display: inline-flex;
  }
  .main-nav {
    display: none;
    width: 100%;
    order: 4;
    background: #181818;
    padding: 12px;
  }
  .main-nav.open {
    display: block;
  }
  .nav-list {
    flex-direction: column;
    align-items: stretch;
  }
  .dropdown-menu {
    position: static;
    display: block;
    background: #252525;
    box-shadow: none;
    padding-left: 14px;
  }
  .filter-row-top,
  .filter-row-dropdowns,
  .unit-card,
  .unit-top-split,
  .detail-main-grid,
  .locations-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .unit-rates-col {
    text-align: left;
    align-items: flex-start;
  }
  .unit-actions-bar {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .index-ctas-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .unit-actions-bar {
    grid-template-columns: 1fr;
  }
}
