/* ============================
   BASE / RESET
============================ */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

body {
  background: #f2f2f2;
  color: #fff;
}

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

/* ============================
   HERO
============================ */
.sgm-hero {
  position: relative;
  height: 100vh;
  min-height: 680px;
  background-image: url("/assets/img/header-1c.jpg");
  background-size: cover;
  background-position: center;
}

.sgm-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    rgba(0, 0, 0, 0.4),
    rgba(0, 0, 0, 0.5)
  );
  z-index: 1;
}

.sgm-hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  padding-top: 76px;
}

/* ============================
   HERO TOPBAR
============================ */

.sgm-hero-topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;

  background: transparent;
  color: #fff;
font-weight:600;

  transition:
    background-color 0.25s ease,
    color 0.25s ease,
    box-shadow 0.25s ease;

height: 76px;
}

.sgm-hero-topbar-inner {
  max-width: 1200px;
  margin: 0 auto;

  display: flex;
  justify-content: space-between;
  align-items: center;

  padding: 22px 0;
}


.sgm-hero-topbar.is-scrolled {
  background: #ffffff;
  color: #111;
  box-shadow: 0 1px 0 rgba(0,0,0,0.08);
}


.sgm-hero-topbar.no-transition {
  transition: none !important;
}


/* ============================
   LOGO / ACTIONS
============================ */
.sgm-logo {
  font-size: 22px;
  font-weight: 600;
}

.sgm-logo span {
  color: #b4001e;
  font-weight: 800;
}

.sgm-hero-actions a {
  margin-left: 28px;
  font-size: 14px;
  opacity: 0.85;
  transition: opacity 0.15s ease;
}

.sgm-hero-actions a:hover {
  opacity: 1;
}

/* ============================
   HERO CENTER
============================ */


.sgm-hero-center {
  min-height: calc(100vh - 170px); /* 76px */

  display: flex;
  flex-direction: column;
  justify-content: center;

  max-width: 900px;
  margin: 0 auto;
  padding: 0 48px;
}




.sgm-hero-center h1 {
  font-size: 34px;
  font-weight: 500;
  letter-spacing: -0.2px;
  margin-bottom: 20px;
  color: rgba(255,255,255,0.9);
}


.sgm-hero-center p {
  font-size: 18px;
  opacity: 0.85;
  margin-bottom: 32px;
}


.sgm-search-bar {
  display: flex;
  gap: 14px;

  background: rgba(255,255,255,0.12);
  padding: 18px;
  border-radius: 8px;
  backdrop-filter: blur(10px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.25);
}


.sgm-search-bar select {
  background: #ffffff;
  border: none;
  padding: 14px 16px;
  font-size: 14px;
  border-radius: 4px;
  min-width: 190px;
}

.sgm-search-bar button {
  background: #b4001e;
  color: #ffffff;
  border: none;
  padding: 14px 26px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 4px;
  cursor: pointer;
}

.sgm-search-bar button:hover {
  background: #8f0017;
}




.sgm-search-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}


.sgm-search-field label {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.2px;
  color: rgba(255,255,255,0.75);
}

.sgm-search-field label {
  font-size: 16px;
  letter-spacing: 0.6px;
  
}

.sgm-search-action {
  display: flex;
  align-items: flex-end;
}


/* ============================
   INNER PAGES – WHITE NAV
============================ */
.page-inner {
  margin-top: 100px;
}

.page-inner .sgm-hero {
  height: auto;
  min-height: 0;
  background: none;
}

.page-inner .sgm-hero-overlay {
  display: none;
}

.page-inner .sgm-hero-topbar {
  background: #ffffff;
  color: #111;
  box-shadow: 0 1px 0 rgba(0,0,0,0.08);
}

.page-inner .sgm-hero-actions a {
  color: inherit;
}

.page-inner .sgm-hero-content {
  padding-top: 76px;
}

/* hide search bar on inner pages */
.page-inner .sgm-hero-center {
  display: none;
}



/* ============================
   WHITE CONTENT SECTIONS
============================ */
.sgm-trust,
.sgm-locations,
.sgm-locations-detail {
  background: #ffffff;
  color: #111;
  padding: 60px 48px;
}

.sgm-trust-inner,
.sgm-locations-inner,
.sgm-locations-detail-inner {
  max-width: 900px;
  margin: 0 auto;
}

.sgm-trust h2 {
  font-size: 34px;
  font-weight: 600;
  margin-bottom: 28px;
}

.sgm-trust p {
  font-size: 16px;
  line-height: 1.7;
  color: #444;
  margin-bottom: 22px;
}

.sgm-trust .dealer-licence {
  margin-top: 36px;
  font-size: 14px;
  color: #777;
}

/* ============================
   BROWSE By LOCATION
============================ */
.sgm-locations {
  padding-top: 0;
  padding-bottom: 96px;
  
}

.sgm-locations-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 16px;
}

.sgm-region {color:#666;font-weight:400}

.sgm-location-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.sgm-location-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;

  border: 1.5px solid #b4001e;
  border-radius: 6px;
  color: #b4001e;
  font-weight: 600;

  transition: background 0.15s ease, color 0.15s ease, transform 0.05s ease;
}

.sgm-location-card:hover {
  background: #b4001e;
  color: #ffffff;
}

.sgm-location-card:active {
  transform: translateY(1px);
}

/* ============================
   FEATURED VEHICLES
============================ */
.sgm-featured {
  background: #f7f7f7;
  padding: 96px 48px;
  color: #111;
}

.sgm-featured-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.sgm-featured h2 {
  font-size: 30px;
  margin-bottom: 48px;
}

.sgm-vehicle-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.sgm-vehicle-card {
  background: #ffffff;
  border-radius: 4px;
  overflow: hidden;
  transition: box-shadow 0.2s ease;

  display: flex;
  flex-direction: column;
  height: 100%;
}





.sgm-vehicle-card img {
  display: block;
  width: 100%;
  height: 180px;
  object-fit: cover;
  background: #f2f2f2;
}







.sgm-vehicle-info {
  padding: 18px;



  display: flex;
  flex-direction: column;
  flex: 1;
}

.sgm-vehicle-info h4 {
  font-size: 16px;
  margin-bottom: 6px;
}

.sgm-vehicle-meta {
  font-size: 13px;
  color: #666;
  margin-bottom: 10px;
}

.sgm-vehicle-price {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 12px;
}

.sgm-vehicle-link {
  margin-top: auto;
  font-size: 14px;
  font-weight: 600;
  color: #b4001e;

  display: inline-block;
  border: 1px solid #b4001e;
  width: 100%;
  text-align: center;
  border-radius: 4px;
  padding: 8px;
  transition: background 0.15s ease, color 0.15s ease, transform 0.05s ease;

}

.sgm-vehicle-link:hover {
  color: #fff;
  background-color: #b4001e;


}

/* ============================
   SITE FOOTER + FOOTER BAR
============================ */

/* ============================
   SITE FOOTER
============================ */

.sgm-site-footer {
  background: #ffffff;
  padding: 96px 48px;
  color: #222;
  border-top: 1px solid #eee;
}

.sgm-site-footer-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.sgm-footer-brand {
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 48px;
}

.sgm-footer-section-title {
    font-size: 28px;
  font-weight: 600;
  margin-bottom: 48px;

}

.sgm-footer-locations {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}

.sgm-footer-location h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 10px;
}

.sgm-footer-location p {
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 14px;
  color: #444;
}

.sgm-footer-hours {
  margin-bottom: 14px;
}

.sgm-hours-row {
  display: flex;
  font-size: 14px;
  line-height: 1.6;
  color: #444;
}

.sgm-hours-day {
  width: 76px;
  margin-right: 0;
  flex-shrink: 0;
}

.sgm-hours-time {
  white-space: nowrap;
}

.sgm-footer-contact {
  font-weight: 500;
  color: #111;
  font-size: 14px;
}

.sgm-footer-divider {
  margin: 64px 0;
  border: none;
  border-top: 1px solid #e5e5e5;
}

.sgm-footer-transport {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 48px;
  align-items: start;
}

.sgm-footer-transport h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 10px;
  color:#111
}

.sgm-footer-transport p {
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 14px;
  color: #444;
}

.sgm-footer-transport-coverage {
  font-size: 20px;
  font-weight: 600;
  color: #111;
  align-self: start;
}



.sgm-footer-transport h4 {
  margin-bottom: 6px;
}

.sgm-footer-transport h5 {
  margin-bottom: 10px;
}

.sgm-footer-coverage {
  margin-bottom: 6px;
  font-weight: 500;
}


@media (max-width: 1024px) {
  .sgm-footer-locations {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .sgm-footer-transport {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .sgm-site-footer {
    padding: 64px 24px;
  }
}


.sgm-footer-bar {
  background: #f2f2f2;
  border-top: 1px solid #e0e0e0;
  padding: 28px 48px;
}

.sgm-footer-bar-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: #555;
}

.sgm-footer-bar-brand { display: flex; align-items: center; gap: 6px; }
.sgm-footer-bar-logo { font-weight: 800; color: #b4001e; }
.sgm-footer-bar-name { font-weight: 500; }



@media (max-width: 1024px) {
  .sgm-hero-center { padding-left: 40px; }
  .sgm-search-bar { flex-wrap: wrap; }
  .sgm-vehicle-grid { grid-template-columns: repeat(2, 1fr); }
}

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

@media (max-width: 640px) {
  .sgm-hero { height: auto; padding-bottom: 80px; }
  .sgm-hero-center { padding: 40px 24px; }
  .sgm-hero-center h1 { font-size: 32px; }
  .sgm-trust, .sgm-featured { padding: 64px 24px; }
  .sgm-vehicle-grid { grid-template-columns: 1fr; }
}






/* ============================
   CONTACT OVERLAY
============================ */
.sgm-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
}

.sgm-overlay.is-open {
  display: block;
}

.sgm-overlay-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
}

.sgm-overlay-panel {
  position: relative;
  max-width: 900px;
  margin: 10vh auto;
  background: #fff;
  padding: 32px;
  border-radius: 8px;
}

body.sgm-overlay-lock {
  overflow: hidden;
}

/* CONTACT OVERLAY CONTENT */
.sgm-contact-overlay {
  text-align: center;
  color: #111;
}
.sgm-contact-brand {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: #777;
  margin-bottom: 18px;
  display:none;

}


.sgm-contact-title {
  font-size: 26px;
  font-weight: 500;
  margin-bottom: 40px;
}

.sgm-contact-section {
  margin-bottom: 36px;
}

.sgm-contact-section h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 8px;
}

.sgm-contact-section p {
  font-size: 15px;
  margin: 6px 0;
}

.sgm-contact-section a {
  color: #111;
  font-weight: 500;
}

.sgm-contact-footer {
  margin-top: 48px;
  font-size: 13px;
  color: #666;
}



.sgm-overlay-close {
  position: absolute;
  top: 18px;
  right: 18px;

  width: 36px;
  height: 36px;

  border: none;
  border-radius: 50%;
  background: rgba(0,0,0,0.55);
  color: #fff;

  font-size: 22px;
  line-height: 1;
  cursor: pointer;

  display: flex;
  align-items: center;
  justify-content: center;

  transition: background 0.15s ease, transform 0.1s ease;
}

.sgm-overlay-close:hover {
  background: rgba(0,0,0,0.75);
}

.sgm-overlay-close:active {
  transform: scale(0.95);
}




/* =================  */

.sgm-breadcrumb-filter-wrap {
  color: #000;
  max-width: 1100px;
  margin: 0 auto;
}

.page-inner > main {
  margin-top: 18px;
}
.location-and-opening-hours > main {
  margin-top: 58px;
}


.sgm-breadcrumb {
  margin-bottom: 10px;
  font-size: 13px;
  line-height: 1.4;
  color: #666;
}

.sgm-breadcrumb ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
}

.sgm-breadcrumb li {
  display: flex;
  align-items: center;
  color: #666;
}

.sgm-breadcrumb li + li::before {
  content: "/";
  margin: 0 8px;
  color: #bbb;
}

.sgm-breadcrumb a {
  color: #444;
  text-decoration: none;
  font-weight: 500;
}

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

.sgm-breadcrumb span {
  color: #444;
  font-weight: 400;


}


.sgm-h1-wrap {
  background: transparent;
  padding: 0;
  border-radius: 0;
  margin: 6px 0 14px;
}

.sgm-h1-wrap h1 {
  font-size: 14px;
  font-weight: 400;
  color: #111;

}

.sgm-h1-wrap p {
  font-size: 13px;
  color: #555;
  margin: 0;
}

/* ===============================
   Filter Bar
=============================== */
.sgm-breadcrumb-filter-wrap .sgm-search-bar {
  background: transparent;
  padding: 0 0 0;
  border-radius: unset;
  backdrop-filter: unset;
  box-shadow: unset;
  display: flex;
  gap: 14px;
  align-items: flex-end;
}

.sgm-breadcrumb-filter-wrap .sgm-search-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sgm-breadcrumb-filter-wrap .sgm-search-field label {
  color: #444;
  font-size: 12px;
  display: block;
}

.sgm-breadcrumb-filter-wrap .sgm-search-bar select {
  border: 1px solid #333;
  padding: 8px 14px;
  height: 42px;
  font-size: 14px;
  background: #fff;
}

.sgm-breadcrumb-filter-wrap .sgm-search-bar button,
.sgm-breadcrumb-filter-wrap .sgm-search-bar .sgm-go {
  height: 42px;
  padding: 0 18px;
  background: #b00020;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
}

.sgm-breadcrumb-filter-wrap .sgm-search-bar button:hover {
  background: #99001b;
}

/* ===============================
   Listing Card
=============================== */
.sgm-listing-card {
  max-width: 1100px;
  margin: 40px auto;
  background: #fff;
  border-radius: 6px;
  overflow: hidden;
  color: #111;
}

.sgm-listing-header {
  display: grid;
  grid-template-columns: 2fr 1fr;
  padding: 24px 32px;
  border-bottom: 1px solid #eee;
}

.sgm-listing-title {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.2px;
}

.sgm-listing-price strong {
  font-size: 20px;
  font-weight: 700;
}

.sgm-listing-price span {
  display: block;
  font-size: 12px;
  color: #666;
  margin-top: 4px;
}

.sgm-listing-body {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 32px;
  padding: 24px 32px 32px;
}

.sgm-listing-media img {
  width: 100%;
  border-radius: 6px;
  display: block;
}

.sgm-listing-specs {
  display: flex;
  flex-direction: column;
}

.sgm-listing-specs div {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  padding: 9px 0;
  border-bottom: 1px solid #eee;
}

.sgm-listing-specs span {
  color: #666;
}

.sgm-listing-specs strong {
  font-weight: 500;
}

.sgm-listing-btn {
  margin-top: 24px;
  border: 1px solid #b4001e;
  color: #b4001e;
  text-align: center;
  padding: 14px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;

  transition: background 0.15s ease, color 0.15s ease, transform 0.05s ease;
}

.sgm-listing-btn:hover {
  background: #b4001e;
  color: #fff;
}


@media (max-width: 900px) {
  .sgm-listing-header,
  .sgm-listing-body {
    grid-template-columns: 1fr;
  }

  .sgm-listing-price {
    margin-top: 12px;
  }
}




/* ============================
   DETAILS PADGE
============================ */

.sgm-vehicle-content {
  max-width: 1100px;
  margin: 0 auto 96px;
  padding: 0;
}


.sgm-listing-comments {
  margin-top: 16px;
  font-size: 14px;
  line-height: 1.6;
  color: #444;
}

.sgm-listing-comments p {
  margin-bottom: 10px;
}

.sgm-vehicle-cta {
  width: 100%;
  background: #b4001e;
  color: #fff;
  border: none;
  padding: 14px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 4px;
  cursor: pointer;
  margin: 24px 0 16px;
  text-align: center;
}

.sgm-vehicle-cta:hover {
  background: #8f0017;
}


.sgm-dealer-box {
  margin-top: 32px;
  padding-top: 18px;
  border-top: 1px solid #eee;
  font-size: 14px;
  color: #444;
}


.sgm-dealer-name {
  font-weight: 600;
  padding:0
}

.sgm-dealer-address {
  padding:0 !important;
  line-height: 1.6;

}

.sgm-dealer-contact {
  margin-top: 0px;
}

.sgm-dealer-contact a{margin-left:10px }

.sgm-dealer-contact div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding:0;
}

.sgm-dealer-contact span {
  color: #666;
}

.sgm-listing-specs > .sgm-dealer-box {
  display: block;
  
}

.sgm-listing-specs  > .sgm-dealer-box div{
 border:0
}