/*==================================
* Author        : "ThemeSine"
* Template Name : CarVilla  HTML Template
* Version       : 1.0
==================================== */

/*==================================
font-family: 'Poppins', sans-serif;
font-family: 'Rufina', serif;
==================================== */

/*=========== TABLE OF CONTENTS ===========
1.  General css (Reset code)
2.  Top-area
3.  Welcome-hero
4.  Model-search
5.  Service
6.  New-cars
7.  Featured-cars
8.  Client-say
9.  Brand
10. Blog
11. Contact
==========================================*/

:root {
  --brand-accent: #e09b2a; /* JEMER accent (gold) - intensified slightly */
  --brand-accent-dark: #b07e1a;
  --brand-accent-rgb: 224, 155, 42; /* rgb for --brand-accent */
  --brand-accent-dark-rgb: 176, 126, 26; /* rgb for --brand-accent-dark */
  --brand-blue-rgb: 42, 63, 143; /* rgb for --brand-blue */
  --brand-primary: #111111; /* primary dark color */
  --brand-blue: #2a3f8f; /* deep blue */
  --brand-white: #ffffff;
  --brand-black: #0b0b0b;
  --brand-blue-light: #f2f5ff;
  --brand-gold-light: #fff8e6;
  --brand-blue-soft: rgba(42, 63, 143, 0.12);
  --brand-black-soft: rgba(11, 11, 11, 0.72);
}

/*-------------------------------------
		1.General css (Reset code)
--------------------------------------*/
* {
  padding: 0;
  margin: 0;
}

* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -o-box-sizing: border-box;
  -ms-box-sizing: border-box;
  box-sizing: border-box;
}
body {
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  color: var(--brand-black);
  text-transform: initial;
  max-width: 1920px;
  margin: 0 auto;
  overflow-x: hidden;
  background: var(--brand-white);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  color: var(--brand-blue);
  font-size: 20px;
  font-weight: 500;
  text-transform: capitalize;
}

a,
a:hover,
a:active,
a:focus {
  display: inline-block;
  text-decoration: none;
  color: var(--brand-blue);
  font-size: 20px;
  padding: 0;
  font-weight: 500;
  text-transform: capitalize;
}
/* headings already styled above */
p {
  margin: 0;
  color: #818998;
  font-size: 16px;
  line-height: 1.8;
  text-transform: initial;
}
img {
  border: none;
  max-width: 100%;
  height: auto;
}
ul {
  padding: 0;
  margin: 0 auto;
  list-style: none;
}
ul li {
  list-style: none;
  display: inline-block;
}
select,
input,
textarea,
button,
.form-control {
  box-shadow: none;
  outline: 0 !important;
}
button {
  background: transparent;
  border: 0;
  font-size: 16px;
  text-transform: capitalize;
}

html,
body {
  height: 100%;
}

[placeholder]:focus::-webkit-input-placeholder {
  -webkit-transition: opacity 0.3s 0.3s ease;
  -moz-transition: opacity 0.3s 0.3s ease;
  -ms-transition: opacity 0.3s 0.3s ease;
  -o-transition: opacity 0.3s 0.3s ease;
  transition: opacity 0.3s 0.3s ease;
  opacity: 0;
}
.owl-carousel {
  z-index: 0;
}
/* section-header */
.section-header {
  position: relative;
  text-align: center;
}
.section-header h2 {
  position: relative;
  font-size: 36px;
  font-weight: 500;
  padding-bottom: 35px;
}
.section-header h2:before {
  position: absolute;
  content: "";
  width: 80px;
  height: 2px;
  bottom: 0;
  left: 50%;
  margin-left: -42px;
  background: var(--brand-accent);
}
.section-header p {
  color: var(--brand-blue);
  text-transform: capitalize;
  margin-bottom: 10px;
}
.section-header h2 span,
.section-header p span {
  text-transform: lowercase;
}

/* section-header */

/*=============Style css=========*/

/*-------------------------------------
        2. Top-area
--------------------------------------*/
nav.navbar.bootsnav {
  background-color: transparent;
  border-bottom: transparent;
}
.wrap-sticky nav.navbar.bootsnav.sticked {
  background-color: var(--brand-black);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

/* Fixed black navbar for new pages */
.has-fixed-navbar .header-area,
.has-fixed-navbar header,
.has-fixed-navbar nav.navbar.bootsnav,
.has-fixed-navbar .navbar-default,
.has-fixed-navbar .bootsnav {
  background-color: var(--brand-black) !important;
  position: fixed !important;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 9999;
}
.has-fixed-navbar .navbar-header a.navbar-brand {
  padding: 20px 0;
}
.has-fixed-navbar body,
.has-fixed-navbar main {
  margin-top: 0;
}
/* add top padding so content isn't hidden behind fixed navbar */
body.has-fixed-navbar {
  padding-top: 80px;
}

/* Responsive adjustments: increase top padding on smaller screens where navbar is taller */
@media (max-width: 991px) {
  body.has-fixed-navbar {
    padding-top: 100px;
  }
  .has-fixed-navbar .navbar-header a.navbar-brand {
    padding: 14px 0;
  }
}

@media (max-width: 480px) {
  body.has-fixed-navbar {
    padding-top: 120px;
  }
  .has-fixed-navbar .navbar-header a.navbar-brand {
    padding: 10px 0;
    font-size: 20px;
  }
  nav.navbar.bootsnav .navbar-toggle {
    top: 8px;
  }
}

/* Price contrast: ensure prices are visible on white backgrounds */
.featured-cars-txt h3,
.featured-cars-txt h5,
.collection-price,
#product-price,
.single-featured-cars .featured-cars-txt h2,
.single-featured-cars .featured-cars-txt h3,
.single-featured-cars .featured-cars-txt h5,
.image-zoom-price {
  color: #1f2933; /* dark charcoal for good contrast */
  font-weight: 700;
}

/* Make sure tiny price labels in modals and summaries also inherit contrast */
.image-zoom-details .image-zoom-price,
#cart-total {
  color: #1f2933;
  font-weight: 700;
}

/* --- Our History section styling --- */
#history {
  background: #fff8e6;
  border-left: 6px solid var(--brand-accent);
  padding: 32px;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
  color: #333;
}
#history h2 {
  color: var(--brand-primary);
  font-size: 28px;
  margin-bottom: 12px;
}
#history p {
  color: #333;
  line-height: 1.8;
  margin-bottom: 12px;
}
#history ul {
  margin-left: 18px;
  margin-bottom: 12px;
}
#history ul li {
  margin-bottom: 8px;
  color: #333;
}

/* Cookie banner styles */
#jemer-cookie-banner {
  font-family: "Poppins", sans-serif;
  background: linear-gradient(
    90deg,
    rgba(var(--brand-blue-rgb), 0.98),
    rgba(17, 17, 17, 0.96)
  );
  color: #fff;
  border-top: 3px solid rgba(var(--brand-accent-rgb), 0.14);
  box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.25);
  padding: 16px 20px;
  backdrop-filter: blur(6px);
}
#jemer-cookie-banner a {
  color: var(--brand-accent);
  font-weight: 600;
}
#jemer-cookie-banner button {
  font-weight: 700;
}
@media (max-width: 720px) {
  #jemer-cookie-banner {
    padding: 12px 14px;
    font-size: 14px;
  }
}

/* Prevent featured images from overlapping actions on small screens */
.featured-cars-img {
  overflow: visible;
}

@media (max-width: 420px) {
  .collection-image-placeholder {
    height: auto !important;
  }
  .collection-image-placeholder img {
    width: 100%;
    height: auto !important;
    max-height: none !important;
    object-fit: contain !important;
    display: block;
  }
  /* Keep action buttons below the fixed navbar (navbar z-index is very high) */
  .product-actions {
    position: relative;
    z-index: 1;
    margin-top: 8px;
  }
  /* Also ensure individual controls don't create higher stacking contexts */
  .product-actions *,
  .product-actions .btn-add-to-cart,
  .product-actions .qty-control {
    position: relative;
    z-index: 1;
  }
  .qty-control {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
  }
}

/* Ensure navbar remains fixed above content on small screens */
@media (max-width: 420px) {
  nav.navbar.bootsnav,
  .has-fixed-navbar nav.navbar.bootsnav {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 10050 !important;
  }
  body.has-fixed-navbar {
    padding-top: 110px !important;
  }
}

/* Extra safety: ensure action buttons and cart do not overlay the navbar on very small screens */
@media (max-width: 480px) {
  .has-fixed-navbar nav.navbar.bootsnav {
    z-index: 20000 !important;
  }
  body.has-fixed-navbar,
  .has-fixed-navbar main {
    padding-top: 120px !important;
  }
  .product-actions,
  .btn-add-to-cart,
  .qty-control,
  .nav-cart,
  #cart-count {
    position: relative !important;
    z-index: 1 !important;
  }
  /* ensure the nav menu's scroll area stays above content */
  nav.navbar.bootsnav .menu-ui-design {
    position: relative;
    z-index: 20010;
    background: var(--brand-black);
  }
}

/* Strong overrides to prevent action buttons overlapping fixed navbar */
@media (max-width: 480px) {
  nav.navbar.bootsnav,
  .has-fixed-navbar nav.navbar.bootsnav {
    z-index: 999999 !important;
  }
  .welcome-btn,
  .btn-add-to-cart,
  .qty-control,
  .btn-like,
  .nav-cart {
    position: relative !important;
    z-index: 1 !important;
  }
  /* Ensure wide buttons don't become fixed-width bars */
  .welcome-btn[style],
  .btn-add-to-cart[style] {
    width: auto !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
  }
  /* If any element was fixed to top by scripts, neutralize it */
  .welcome-btn[style*="position: fixed"],
  .btn-add-to-cart[style*="position: fixed"] {
    position: relative !important;
  }
}

@media (max-width: 768px) {
  #history {
    padding: 20px;
  }
  #history h2 {
    font-size: 24px;
  }
}

/*.navbar-brand*/
.navbar-header a.navbar-brand,
.navbar-header a.navbar-brand:hover,
.navbar-header a.navbar-brand:focus {
  display: inline-block;
  color: var(--brand-white);
  font-size: 24px;
  letter-spacing: 3px;
  font-family: "Rufina", serif;
  font-weight: 700;
  padding: 45px 0px;
  text-transform: uppercase;
}
.navbar-header a.navbar-brand span {
  display: inline-block;
  color: var(--brand-accent);
  text-transform: capitalize;
}

.wrap-sticky nav.navbar.bootsnav.sticked .navbar-header a.navbar-brand,
.wrap-sticky nav.navbar.bootsnav.sticked .navbar-header a.navbar-brand:hover,
.wrap-sticky nav.navbar.bootsnav.sticked .navbar-header a.navbar-brand:focus {
  padding: 30px 0px;
}
/*.navbar-brand*/

/*.nav li*/
nav.navbar.bootsnav ul.nav > li > a {
  color: var(--brand-white);
  font-size: 16px;
  font-weight: 500;
  text-transform: uppercase;
  -webkit-transition: 0.3s linear;
  -moz-transition: 0.3s linear;
  -ms-transition: 0.3s linear;
  -o-transition: 0.3s linear;
  transition: 0.3s linear;
}
nav.navbar.bootsnav ul.nav > li > a {
  padding: 48px 21px;
}
nav.navbar.bootsnav ul.nav > li > a:hover,
nav.navbar.bootsnav ul.nav > li > a:focus {
  color: var(--brand-accent);
}
nav.navbar.bootsnav ul.nav > li.active > a {
  color: var(--brand-accent);
}

nav.navbar.bootsnav ul.nav > li.dropdown > a.dropdown-toggle:after {
  content: "";
}
nav.navbar.bootsnav ul.nav > li.dropdown span {
  font-size: 8px;
  margin-left: 15px;
}
.wrap-sticky nav.navbar.bootsnav.sticked ul.nav > li > a {
  padding: 30px 25px;
}
/*.nav li*/

/*.menu-ui-design*/
.menu-ui-design {
  overflow-y: scroll;
  height: 350px;
}
.menu-ui-design::-webkit-scrollbar {
  width: 5px;
}
.menu-ui-design::-webkit-scrollbar-track {
  -webkit-box-shadow: inset 0 0 8px #000;
}
.menu-ui-design::-webkit-scrollbar-thumb {
  background-color: var(--brand-accent);
}
/*.menu-ui-design*/

/*.navbar-toggle */
nav.navbar.bootsnav .navbar-toggle {
  position: relative;
  background-color: transparent;
  border: 1px solid var(--brand-accent);
  padding: 10px;
  top: 0;
}
nav.navbar.bootsnav .navbar-toggle i {
  color: var(--brand-accent);
}
/*.navbar-toggle */

/*-------------------------------------
        3.  Welcome-hero
--------------------------------------*/
.welcome-hero {
  position: relative;
  background: url(../images/image-de-couverture-jemer.jpeg) no-repeat;
  background-position: center;
  background-size: cover;
  z-index: 1;
}
.welcome-hero:before {
  position: absolute;
  content: "";
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(42, 63, 143, 0.6); /* semi-opaque brand blue overlay */
}

.section-bg-service {
}
/* Section background palette - harmonised subtle gradients */
.service {
  padding: 260px 0 87px;
  background: linear-gradient(
    180deg,
    var(--brand-gold-light) 0%,
    rgba(242, 245, 255, 0.02) 100%
  );
  color: var(--brand-primary);
}
.new-cars {
  /* handled separately with a softened gradient */
  padding: 112px 0 120px;
}
.featured-cars {
  position: relative;
  padding: 112px 0 120px;
  color: var(--brand-white);
  /* soft blue gradient background (subtle, non-repeating) */
  background: linear-gradient(
    135deg,
    rgba(var(--brand-blue-rgb), 1) 0%,
    rgba(var(--brand-blue-rgb), 0.92) 40%,
    rgba(var(--brand-blue-rgb), 0.06) 100%
  );
  overflow: hidden;
}
.featured-cars:before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 28%;
  /* gentle light highlight in brand-blue for depth */
  background: linear-gradient(
    180deg,
    rgba(var(--brand-blue-rgb), 0.1),
    rgba(255, 255, 255, 0)
  );
  pointer-events: none;
  mix-blend-mode: overlay;
}
/* Slight warm highlight on cards inside featured to separate items */
.featured-cars .single-featured-cars {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(var(--brand-blue-rgb), 0.06);
}
.featured-cars .featured-cars-txt h2 a,
.featured-cars .featured-cars-txt h3,
.featured-cars .featured-model-info p {
  color: var(--brand-white);
}

/* Quantity input contrast in featured sections */
.featured-cars .qty-control .qty-input,
.single-featured-cars .qty-control .qty-input {
  background: var(--brand-blue); /* dark blue background */
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 4px;
  padding: 6px 8px;
  text-align: center;
  min-width: 56px;
}
.featured-cars .qty-control .qty-minus,
.featured-cars .qty-control .qty-plus,
.single-featured-cars .qty-control .qty-minus,
.single-featured-cars .qty-control .qty-plus {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 6px 10px;
  border-radius: 4px;
}

/* Ensure featured section headings are highly visible on the blue background */
.featured-cars .section-header h2,
.featured-cars .featured-cars-txt h2 a {
  color: var(--brand-white) !important;
  font-weight: 700;
  /* stronger shadow for better legibility */
  text-shadow: 0 3px 10px rgba(6, 15, 40, 0.55);
}

/* Paragraphs in featured section: subtle shadow for contrast */
.featured-cars p {
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 0 1px 4px rgba(6, 15, 40, 0.38);
}

/* Paragraph above the H2 in the featured section (section subtitle) */
.featured-cars .section-header p {
  color: rgba(255, 255, 255, 0.92) !important;
  font-weight: 600;
  font-size: 16px;
  text-shadow: 0 1px 5px rgba(6, 15, 40, 0.42);
  margin-bottom: 14px;
}

/* Buttons in featured area: white button with orange accent */
.featured-cars .welcome-btn {
  background: var(--brand-white);
  color: var(--brand-accent);
  border: 1px solid rgba(var(--brand-accent-rgb), 0.9);
  box-shadow: 0 6px 18px rgba(var(--brand-accent-rgb), 0.08);
}
.featured-cars .welcome-btn:hover {
  background: var(--brand-accent);
  color: var(--brand-white);
  border-color: var(--brand-accent-dark);
}
.clients-say {
  position: relative;
  padding: 115px 0 80px;
  background: none;
  color: var(--brand-white);
  overflow: hidden;
}

.clients-say::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../logo/LOGO%20JEMER_Plan%20de%20travail%201%20copie%203.png");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  filter: saturate(1.05) contrast(1.04);
  transform: translateZ(0);
  z-index: -1 !important;
  pointer-events: none;
}

.clients-say::after {
  /* subtle overlay to improve text contrast */
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(var(--brand-accent-rgb), 0.06),
    rgba(11, 11, 11, 0.34)
  );
  z-index: -1 !important;
  pointer-events: none;
}

.clients-say > * {
  position: relative;
  z-index: 0 !important;
}

/* Owl carousel items sometimes create stacking contexts; ensure clients-say content doesn't overlay header */
.clients-say,
.clients-say .owl-carousel,
.clients-say .testimonial-carousel,
.clients-say .single-testimonial-box {
  z-index: 0 !important;
}

/* Ensure navbar has a solid dark background */
nav.navbar.bootsnav,
.bootsnav,
.navbar {
  background-color: var(--brand-black) !important;
  color: var(--brand-white);
}
.brand {
  background: linear-gradient(
    180deg,
    var(--brand-white) 0%,
    rgba(11, 11, 11, 0.02) 100%
  );
  padding: 120px 0;
}
footer.contact {
  background: var(--brand-black);
  color: var(--brand-white);
}
/* Keep header on top of all sections (including clients-say) */
.header-area {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100000;
}

/* Ensure the bootsnav navigation itself is above all content */
nav.navbar.bootsnav,
.bootsnav,
.navbar {
  position: fixed !important;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100001 !important;
}

/*.welcome-hero-txt*/
.welcome-hero-txt {
  text-align: center;
  padding: 290px 0 372px;
}
.welcome-hero-txt h2 {
  font-size: 42px;
  color: var(--brand-white);
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 45px;
}
.welcome-hero-txt p {
  font-size: 18px;
  text-transform: initial;
  color: #fff;
  font-weight: 500;
  max-width: 735px;
  margin: 0 auto;
}
.welcome-btn {
  display: inline-block;
  width: 230px;
  height: 60px;
  background: var(--brand-accent);
  color: var(--brand-white);
  border-radius: 3px;
  margin-top: 55px;
  -webkit-transition: 0.3s linear;
  -moz-transition: 0.3s linear;
  -ms-transition: 0.3s linear;
  -o-transition: 0.3s linear;
  transition: 0.3s linear;
}
.welcome-btn:hover {
  background: var(--brand-accent-dark);
}
/*.welcome-hero-txt*/

/*-------------------------------------
        4. Model-Search
--------------------------------------*/
.model-search-content .col-sm-12 {
  padding: 0;
}
.model-search-content {
  padding: 40px 0;
  background: #fff;
  box-shadow: 0 10px 40px 0px rgba(38, 40, 64, 0.2);
  position: absolute;
  bottom: -150px;
  width: 100%;
  border-radius: 3px;
}

/*-------------------------------------------------
  Apply harmonised subtle backgrounds to other pages
  Targets common section IDs/classes used across site
--------------------------------------------------*/
main.container,
.page-wrap {
  background: transparent;
}

/* About page: ensure extra spacing so header and main are visually separated */
.about-page main.container,
.about-page main {
  padding-top: 60px;
}

@media (max-width: 991px) {
  .about-page main.container,
  .about-page main {
    padding-top: 80px;
  }
}

/* Push the About hero down slightly from the fixed navbar */
.about-page #about-hero {
  padding-top: 50px;
}

@media (max-width: 991px) {
  .about-page #about-hero {
    padding-top: 70px;
  }
}

/* Move the H1 down a bit for better spacing under the fixed navbar */
.about-page #about-hero h1 {
  margin-top: 30px;
}

@media (max-width: 991px) {
  .about-page #about-hero h1 {
    margin-top: 40px;
    font-size: 28px;
  }
}

/* About / Collections / Product: subtle card-like sections */
#about-hero,
#founder,
#structure,
#history,
#valeurs,
#cta,
#collection-previews,
.collection-block,
.single-featured-cars,
.featured-cars-txt,
.featured-cars-img {
  background: linear-gradient(
    180deg,
    rgba(242, 245, 255, 0.02) 0%,
    rgba(255, 248, 230, 0.02) 100%
  );
  border-radius: 6px;
}

/* Add subtle inner padding for sections that are direct children of main */
main.container > section,
#collection-previews,
.collection-block {
  padding: 28px 24px;
  margin-bottom: 24px;
}

/* Ensure text inside these sections is readable */
#about-hero h1,
#collection-previews h2,
.collection-block h2,
.single-featured-cars h2 {
  color: var(--brand-primary);
}

/* Buttons on those pages should use brand accent */
.single-featured-cars .welcome-btn,
.collection-block .welcome-btn {
  background: var(--brand-accent);
  color: var(--brand-white);
}

/*.single-model-search*/
.single-model-search {
  margin-bottom: 30px;
}
.single-model-search:last-child {
  margin-bottom: 0;
}

.single-model-search h2 {
  font-size: 16px;
  font-weight: 400;
  text-transform: capitalize;
  margin-bottom: 20px;
}
/*model-select-icon*/
.model-select-icon {
  position: relative;
}
.model-select-icon .form-control {
  outline: 0 !important;
  box-shadow: none;
  border: 1px solid #f8f8f8;
  background: #f8f8f8;
  height: 60px;
}
.model-select-icon select {
  font-size: 16px;
  color: #888f9d;
  text-transform: capitalize;
}
.model-select-icon:after {
  position: absolute;
  content: "\f103";
  right: 0px;
  top: 0;
  font-size: 10px;
  color: #888f9d;
  background: #f8f8f8;
  height: 60px;
  line-height: 60px;
  width: 50px;
  text-align: center;
  font-family: "Flaticon";
  pointer-events: none;
  border: transparent;
} /*model-select-icon*/
.welcome-btn.model-search-btn {
  width: 160px;
  margin-top: 80px;
  margin-left: 53px;
}

/*.single-model-search*/

/*-------------------------------------
        5. Service 
--------------------------------------*/
.service {
  padding: 260px 0 87px;
}

.single-service-item {
  text-align: center;
  padding: 55px 30px 60px;
  border-radius: 3px;
  margin-bottom: 30px;
  border: 1px solid #dadfe9;
  -webkit-transition: 0.3s linear;
  -moz-transition: 0.3s linear;
  -ms-transition: 0.3s linear;
  -o-transition: 0.3s linear;
  transition: 0.3s linear;
}

/* Footer adjustments to match palette */
footer.contact,
.footer-top,
.footer-copyright {
  background: var(--brand-black);
  color: var(--brand-white);
}
footer.contact a {
  color: var(--brand-accent);
}

/* Buttons & accent elements consistent */
.product-actions .welcome-btn,
.btn-add-to-cart {
  background: var(--brand-accent);
  color: var(--brand-white);
}
.product-actions .btn-like {
  color: var(--brand-blue);
}
/* quantity control */
.product-actions .qty-control button {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--brand-white);
  padding: 4px 8px;
  cursor: pointer;
  border-radius: 3px;
}
.product-actions .qty-control .qty-input {
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 3px;
  padding: 4px;
}
.product-actions .btn-like.liked {
  color: var(--brand-accent);
}
/* collection aside sticky on desktop, static on small screens */
.collection-aside {
  position: sticky;
  top: 90px;
}
@media (max-width: 767px) {
  .collection-aside {
    position: static;
    top: auto;
    padding-left: 0;
  }
}

/* Aside visual separator and list styling */
.collection-aside {
  background: var(--brand-blue-light);
  border-left: 1px solid rgba(var(--brand-blue-rgb), 0.12);
  padding: 18px;
  border-radius: 6px;
}
.collection-aside ul {
  padding-left: 0;
  margin-left: 0;
}
.collection-aside ul li {
  margin-bottom: 14px;
}
.collection-aside a {
  color: var(--brand-blue);
  text-decoration: none;
  display: inline-block;
  font-weight: 600;
}
.collection-aside a:hover {
  color: var(--brand-accent);
}
.collection-aside .aside-icon {
  margin-right: 10px;
  color: var(--brand-accent);
  width: 14px;
  text-align: center;
}

@media (max-width: 767px) {
  .collection-aside {
    border-left: none;
    padding-left: 0;
  }
  .collection-aside ul li {
    margin-bottom: 10px;
  }
}

/* Make section headers and small accents use brand blue */
.section-header h2 {
  color: var(--brand-blue);
}
.section-header p {
  color: var(--brand-blue);
}

.single-service-icon {
  display: inline-block;
  color: #50616c;
}
.single-service-item h2 a {
  font-size: 20px;
  margin: 35px 0 20px;
}
.single-service-item h2 a span {
  text-transform: lowercase;
}
.single-service-item p {
  padding-bottom: 35px;
  text-transform: initial;
  position: relative;
}
.single-service-item p:before {
  position: absolute;
  content: "";
  width: 20px;
  height: 3px;
  background: var(--brand-accent);
  bottom: 0;
  left: 50%;
  margin-left: -10px;
}

.single-service-icon [class^="flaticon-"]:before,
.single-service-icon[class*=" flaticon-"]:before,
.single-service-icon [class^="flaticon-"]:after,
.single-service-icon [class*=" flaticon-"]:after {
  font-size: 60px;
}
.single-service-item:hover .single-service-icon [class^="flaticon-"]:before,
.single-service-item:hover .single-service-icon [class*=" flaticon-"]:before,
.single-service-item:hover .single-service-icon [class^="flaticon-"]:after,
.single-service-item:hover .single-service-icon [class*=" flaticon-"]:after {
  color: #fff;
}

.single-service-item:hover h2 a,
.single-service-item:hover p {
  color: #fff;
}
.single-service-item:hover p:before {
  background: #fff;
}
.single-service-item:hover {
  box-shadow: 0 12px 30px 0px rgba(var(--brand-accent-dark-rgb), 0.12);
  background: var(--brand-accent);
  border: 1px solid var(--brand-accent);
}

/*-------------------------------------
        6. New-cars
--------------------------------------*/
.new-cars {
  background: linear-gradient(
    135deg,
    var(--brand-blue-soft) 0%,
    var(--brand-black-soft) 100%
  );
  padding: 112px 0 120px;
  color: var(--brand-white);
}
.new-cars .section-header h2,
.new-cars .section-header p,
.new-cars .new-cars-txt h2 a,
.new-cars .new-cars-txt p {
  color: var(--brand-white);
}
.new-cars-content {
  padding-top: 96px;
}
/*.new-cars-txt*/
.new-cars-txt {
  margin-left: 29px;
  margin-bottom: 30px;
}
.new-cars-txt h2 a {
  font-size: 30px;
  font-weight: 500;
  margin-bottom: 26px;
}
.new-cars-txt h2 a span {
  text-transform: uppercase;
}
.new-cars-para2 {
  margin-top: 30px;
}
.welcome-btn.new-cars-btn {
  width: 176px;
  margin-top: 32px;
}
/*.new-cars-txt*/

/*.owl-dots */
.new-cars .owl-theme .owl-dots .owl-dot span {
  width: 8px;
  height: 8px;
  margin: 0px 4px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 50%;
}
.new-cars .owl-theme .owl-dots .owl-dot.active span,
.new-cars .owl-theme .owl-dots .owl-dot:hover span {
  background: var(--brand-accent);
  border-color: var(--brand-accent);
}
.new-cars .owl-theme .owl-nav.disabled + .owl-dots {
  margin-top: 62px;
}
/*.owl-dots */

/*-------------------------------------
        7. Featured-cars
--------------------------------------*/
.featured-cars {
  padding: 112px 0 120px;
}
.featured-cars-content {
  padding-top: 96px;
}

/*.single-featured-cars*/
.featured-img-box {
  border: 1px solid #dadfe9;
}
.featured-cars-img {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 30px;
  height: 220px;
  border-bottom: 1px solid #dadfe9;
}
.featured-model-info {
  padding: 12px 7px;
}
.featured-model-info p {
  font-size: 12px;
  color: #8c92a0;
  text-transform: capitalize;
}
.featured-mi-span {
  display: inline-block;
  margin: 0 10px;
}
.featured-hp-span {
  display: inline-block;
  margin-right: 10px;
}
.featured-cars-txt {
  margin: 21px 0 47px;
}
.featured-cars-txt h2 a {
  font-size: 16px;
  margin-bottom: 15px;
}
.featured-cars-txt h2 a span {
  text-transform: uppercase;
}
.featured-cars-txt h3 {
  margin-bottom: 10px;
}
.featured-cars-txt h3,
.featured-cars-txt p {
  font-size: 13px;
}
/*.single-featured-cars*/

/*-------------------------------------       
        8. Clients-say 
--------------------------------------*/
.clients-say {
  padding: 115px 0 80px;
  background: #f8f9fb;
}

/*single-testimonial-box */
.single-testimonial-box {
  padding: 50px 30px 57px;
  text-align: center;
  border: 1px solid #dadfe9;
  overflow-x: hidden;
  -webkit-transition: 0.3s;
  -moz-transition: 0.3s;
  -ms-transition: 0.3s;
  -o-transition: 0.3s;
  transition: 0.3s;
}

/*testimonial-description*/
.clients-say .testimonial-carousel .col-sm-3,
.clients-say .testimonial-carousel .col-xs-12 {
  width: 100%;
  height: auto;
}
/* testimonial-info */
.testimonial-img {
  margin-right: 5px;
  border-radius: 50%;
  -webkit-transition: 0.3s;
  -moz-transition: 0.3s;
  -ms-transition: 0.3s;
  -o-transition: 0.3s;
  transition: 0.3s;
}
.testimonial-person h2 a,
.testimonial-person h4 {
  font-size: 16px;
  color: #5e6778;
  font-weight: 600;
}
.testimonial-person h4 {
  margin-top: 10px;
} /* testimonial-info */

/* testimonial-comment */
.testimonial-comment p {
  font-size: 16px;
  color: #5e6778;
  margin-top: 30px;
  margin-bottom: 25px;
} /* testimonial-comment */

/*testimonial-description*/
.single-testimonial-box:hover h2 a,
.single-testimonial-box:hover h4,
.single-testimonial-box:hover p {
  color: #fff;
}
.single-testimonial-box:hover {
  background: var(--brand-accent);
  border: 1px solid var(--brand-accent);
  box-shadow: 0 12px 30px 0px rgba(var(--brand-accent-dark-rgb), 0.12);
}

/*owl carousel*/
.clients-say .owl-carousel .owl-stage {
  position: relative;
  padding: 100px 0 40px;
}
.clients-say .owl-carousel .owl-item img {
  display: block;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  margin: 0 auto;
}
/*owl carousel*/

/*-------------------------------------
        9. Brand
--------------------------------------*/
.brand {
  padding: 120px 0;
}
.brand-area {
  position: relative;
}
.brand-area .item {
  padding: 0 40px 0;
}

.brand .brand-area .owl-carousel .owl-item img {
  display: block;
  width: 100%;
  height: 72px;
  border-radius: 0;
}
/*-------------------------------------
        10. Blog
--------------------------------------*/

/*-------------------------------------
        12. Contact
--------------------------------------*/
.contact {
  background: #2a2d54;
}
.footer-top {
  padding: 48px 0 32px !important;
  min-height: 0;
}

/* Page-specific override: ensure collections footer keeps full spacing */
/* (restored) no page-scoped footer overrides here */

/*.footer-logo*/
.footer-logo a,
.footer-logo a:hover,
.footer-logo a:focus {
  display: inline-block;
  color: #fff;
  font-size: 24px;
  letter-spacing: 3px;
  font-family: "Rufina", serif;
  font-weight: 700;
  text-transform: uppercase;
}
.single-footer-widget p {
  font-size: 14px;
  color: #eeeff6;
  max-width: 300px;
  margin: 40px 0 20px;
}
.footer-contact p {
  margin: 0;
  color: #d1d7e9;
}
/*.footer-logo*/

.single-footer-widget {
  margin-bottom: 40px;
}
.single-footer-widget h2 {
  font-size: 14px;
  color: #fff;
  text-transform: uppercase;
  margin-bottom: 43px;
}
.single-footer-widget ul li {
  display: inherit;
  -webkit-transition: 0.5s;
  -moz-transition: 0.5s;
  -ms-transition: 0.5s;
  -o-transition: 0.5s;
  transition: 0.5s;
}
.single-footer-widget ul li:hover {
  -webkit-transform: translateX(10px);
  -moz-transform: translateX(10px);
  -ms-transform: translateX(10px);
  -o-transform: translateX(10px);
  transform: translateX(10px);
}
.single-footer-widget ul li a {
  font-size: 14px;
  color: #cfd0e3;
  font-weight: 300;
  padding-bottom: 13px;
}
.single-footer-widget ul li a span {
  text-transform: lowercase;
}
.footer-newsletter p {
  color: #aeafc2;
  font-size: 14px;
  font-weight: 300;
  margin: 0 0 15px;
}
/*hm-foot-email*/
.hm-foot-email {
  position: relative;
}
.foot-email-box .form-control {
  background: #26294d;
  display: block;
  padding: 15px 20px;
  outline: 0 !important;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  border: 0;
}
.foot-email-box input[type="text"] {
  font-size: 12px;
  color: #666c81;
  font-weight: 300;
}
.foot-email-subscribe {
  position: absolute;
  top: 0;
  right: 0;
  width: 50px;
  height: 100%;
  background: transparent;
  color: #666c81;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.foot-email-box .form-control:hover {
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
}
/*hm-foot-email*/
/*.footer-copyright */
.footer-copyright {
  padding: 20px 0 17px;
  border-top: 1px solid #434859;
}
.footer-copyright p,
.footer-copyright p a {
  color: #a8a9bf;
  font-size: 14px;
  font-weight: 400;
  text-transform: capitalize;
}
.footer-social {
  text-align: right;
}
.footer-social a i {
  color: #fff;
  opacity: 0.4;
  font-size: 14px;
  margin-left: 16px;
  -webkit-transition: 0.3s;
  -moz-transition: 0.3s;
  -ms-transition: 0.3s;
  -o-transition: 0.3s;
  transition: 0.3s;
}
.footer-social i:hover {
  opacity: 0.7;
}
/* SVG fallback for TikTok icon */
.footer-social a svg {
  color: #fff;
  opacity: 0.4;
  width: 14px;
  height: 14px;
  margin-left: 16px;
  vertical-align: middle;
  -webkit-transition: 0.3s;
  -moz-transition: 0.3s;
  -ms-transition: 0.3s;
  -o-transition: 0.3s;
  transition: 0.3s;
}
.footer-social a svg:hover {
  opacity: 0.7;
}
/*.footer-copyright */

/* Ensure footer appears above sticky/aside elements that might overlap */
.footer-contact,
footer.contact {
  position: static !important;
  bottom: auto !important;
  z-index: 1;
}
.collection-aside {
  z-index: 1;
}

/*===============================
    Scroll Top
===============================*/
#scroll-Top .return-to-top {
  position: fixed;
  right: 30px;
  bottom: 30px;
  display: none;
  width: 40px;
  line-height: 40px;
  height: 40px;
  text-align: center;
  font-size: 20px;
  cursor: pointer;
  color: #fff;
  background: #4e4ffa;
  border: 1px solid #4e4ffa;
  border-radius: 50%;
  -webkit-transition: 0.5s;
  -moz-transition: 0.5s;
  -ms-transition: 0.5s;
  -o-transition: 0.5s;
  transition: 0.5s;
  z-index: 2;
}
#scroll-Top .return-to-top:hover {
  background: #fff;
  color: #4e4ffa;
  border: 1px solid #4e4ffa;
}

#scroll-Top .return-to-top i {
  position: relative;
  bottom: 0;
}

#scroll-Top .return-to-top i {
  position: relative;
  animation-name: example;
  animation-direction: alternate;
  animation-iteration-count: infinite;
  animation-duration: 1s;
}
@keyframes example {
  0% {
    bottom: 0px;
  }
  100% {
    bottom: 7px;
  }
}
/*========================Thank you=================
   */

/* === z-index normalization and responsive fixes ===
   Purpose: unify stacking so header/nav remain on top,
   scroll-top and cookie banner appear above content, and
   floating widgets (model search) don't overlap the navbar.
*/
:root {
  --z-navbar: 10000;
  --z-cookie: 11000;
  --z-scroll-top: 9000;
  --z-widget: 8000;
}

/* Keep navbar/header consistently on top */
header .header-area,
nav.navbar.bootsnav,
.bootsnav,
.navbar {
  position: fixed !important;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-navbar) !important;
}

/* Model search card should sit below navbar but above hero content */
.model-search-content {
  z-index: calc(var(--z-navbar) - 1000);
  position: absolute;
}

/* Ensure scroll-to-top button is above most content but below cookie/banner if present */
#scroll-Top .return-to-top {
  z-index: var(--z-scroll-top) !important;
}

/* Cookie banner must overlay content and sit above navbar if needed */
#jemer-cookie-banner {
  z-index: var(--z-cookie);
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
}

/* Small screens: ensure navbar remains topmost, and action buttons do not overlap it */
@media (max-width: 480px) {
  nav.navbar.bootsnav,
  .has-fixed-navbar nav.navbar.bootsnav {
    z-index: calc(var(--z-navbar) + 1000) !important;
  }
  .product-actions,
  .btn-add-to-cart,
  .qty-control,
  .nav-cart,
  #cart-count {
    z-index: 1 !important;
  }
}

/* Defensive: prevent negative z-index from pushing sections above header */
section,
.section-header,
.featured-cars,
.clients-say {
  z-index: 0;
}

/* ==========================================================
   Modern JEMER refresh
   ========================================================== */
:root {
  --modern-ink: #111318;
  --modern-muted: #687080;
  --modern-line: rgba(17, 19, 24, 0.1);
  --modern-surface: #ffffff;
  --modern-surface-soft: #f7f4ee;
  --modern-night: #10131c;
  --modern-night-2: #181b26;
  --modern-gold: #d79a35;
  --modern-gold-2: #a86f1d;
  --modern-blue: #233b86;
  --modern-radius: 8px;
  --modern-shadow: 0 18px 45px rgba(17, 19, 24, 0.12);
  --modern-shadow-soft: 0 10px 30px rgba(17, 19, 24, 0.08);
}

html {
  scroll-behavior: smooth;
}

body {
  max-width: none;
  background:
    linear-gradient(180deg, #fff 0%, #fbfaf7 42%, #fff 100%);
  color: var(--modern-ink);
  font-size: 15px;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::selection {
  background: rgba(215, 154, 53, 0.25);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--modern-ink);
  letter-spacing: 0;
  font-weight: 700;
  text-transform: none;
}

p {
  color: var(--modern-muted);
  line-height: 1.8;
}

a,
a:hover,
a:active,
a:focus {
  letter-spacing: 0;
}

.container {
  max-width: 1180px;
}

.section-header {
  max-width: 720px;
  margin: 0 auto 54px;
}

.section-header p {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  color: var(--modern-gold-2);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section-header p::before,
.section-header p::after {
  content: "";
  width: 26px;
  height: 1px;
  background: currentColor;
  opacity: 0.55;
}

.section-header h2 {
  padding-bottom: 0;
  color: var(--modern-ink);
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.08;
  font-weight: 800;
  text-transform: none;
}

.section-header h2::before {
  display: none;
}

.header-area {
  background: transparent;
}

nav.navbar.bootsnav,
.bootsnav,
.navbar,
.wrap-sticky nav.navbar.bootsnav.sticked,
.has-fixed-navbar nav.navbar.bootsnav {
  min-height: 72px;
  border: 0;
  background: rgba(16, 19, 28, 0.86) !important;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.18);
}

.navbar-header a.navbar-brand,
.navbar-header a.navbar-brand:hover,
.navbar-header a.navbar-brand:focus,
.wrap-sticky nav.navbar.bootsnav.sticked .navbar-header a.navbar-brand,
.wrap-sticky nav.navbar.bootsnav.sticked .navbar-header a.navbar-brand:hover,
.wrap-sticky nav.navbar.bootsnav.sticked .navbar-header a.navbar-brand:focus {
  display: flex;
  align-items: center;
  min-height: 72px;
  padding: 0;
  color: #fff;
  font-size: 20px;
  font-family: "Poppins", sans-serif;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.navbar-brand img {
  max-height: 58px;
  width: auto;
  object-fit: contain;
}

nav.navbar.bootsnav ul.nav > li > a,
.wrap-sticky nav.navbar.bootsnav.sticked ul.nav > li > a {
  position: relative;
  padding: 26px 14px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

nav.navbar.bootsnav ul.nav > li > a::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 18px;
  height: 2px;
  background: var(--modern-gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

nav.navbar.bootsnav ul.nav > li > a:hover,
nav.navbar.bootsnav ul.nav > li > a:focus,
nav.navbar.bootsnav ul.nav > li.active > a {
  color: #fff;
}

nav.navbar.bootsnav ul.nav > li > a:hover::after,
nav.navbar.bootsnav ul.nav > li.active > a::after {
  transform: scaleX(1);
}

nav.navbar.bootsnav li.dropdown ul.dropdown-menu {
  overflow: hidden;
  min-width: 230px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--modern-radius);
  background: rgba(16, 19, 28, 0.96);
  box-shadow: var(--modern-shadow);
}

nav.navbar.bootsnav li.dropdown ul.dropdown-menu > li > a {
  display: block;
  padding: 11px 12px;
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  font-weight: 700;
  text-transform: none;
}

nav.navbar.bootsnav li.dropdown ul.dropdown-menu > li > a:hover {
  background: rgba(215, 154, 53, 0.15);
  color: #fff;
}

@media (min-width: 992px) {
  .menu-ui-design {
    height: auto;
    overflow: visible;
  }
}

@media (max-width: 991px) {
  .menu-ui-design {
    height: auto;
    max-height: calc(100vh - 72px);
    overflow-y: auto;
  }
}

.nav-cart a {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
}

#cart-count {
  display: inline-grid;
  min-width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 999px;
  background: var(--modern-gold);
  color: #14110b;
  font-size: 12px;
  font-weight: 900;
}

.welcome-hero {
  min-height: 92vh;
  background-position: center;
  isolation: isolate;
}

.welcome-hero::before {
  background:
    linear-gradient(90deg, rgba(10, 12, 18, 0.86) 0%, rgba(10, 12, 18, 0.54) 48%, rgba(10, 12, 18, 0.2) 100%),
    linear-gradient(180deg, rgba(10, 12, 18, 0.18), rgba(10, 12, 18, 0.7));
  pointer-events: none;
}

.welcome-hero-txt {
  position: relative;
  z-index: 2;
  max-width: 850px;
  padding: 220px 0 260px;
  text-align: left;
}

.welcome-hero-txt h2 {
  margin-bottom: 24px;
  color: #fff;
  font-size: clamp(42px, 7vw, 86px);
  line-height: 0.98;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: none;
}

.welcome-hero-txt p {
  max-width: 620px;
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.7;
  font-weight: 400;
}

.welcome-btn,
.btn-add-to-cart,
button.welcome-btn,
a.welcome-btn,
.image-zoom-actions .welcome-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: auto;
  min-width: 160px;
  height: 48px;
  margin-top: 28px;
  padding: 0 22px;
  border: 1px solid rgba(215, 154, 53, 0.55);
  border-radius: var(--modern-radius);
  background: var(--modern-gold);
  color: #16120b !important;
  box-shadow: 0 12px 24px rgba(215, 154, 53, 0.25);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease,
    color 180ms ease;
}

.welcome-btn:hover,
.welcome-btn:focus,
.btn-add-to-cart:hover,
.btn-add-to-cart:focus {
  transform: translateY(-2px);
  background: #efb552;
  color: #111 !important;
  box-shadow: 0 18px 32px rgba(215, 154, 53, 0.34);
}

.model-search-content {
  left: 50%;
  width: min(1120px, calc(100% - 30px));
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: var(--modern-radius);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--modern-shadow);
  transform: translateX(-50%);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.shop-by-style h3 {
  margin-bottom: 16px;
  color: var(--modern-ink);
  font-size: 18px;
  font-weight: 900;
}

.style-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.style-buttons .welcome-btn {
  min-width: 0;
  height: 42px;
  margin: 0;
  padding: 0 16px;
  border-color: rgba(35, 59, 134, 0.14);
  background: #fff;
  color: var(--modern-ink) !important;
  box-shadow: none;
}

.style-buttons .welcome-btn:hover {
  border-color: var(--modern-gold);
  background: var(--modern-night);
  color: #fff !important;
}

.service,
.new-cars,
.featured-cars,
.clients-say,
.brand {
  padding: 110px 0;
}

.service {
  padding-top: 210px;
  background:
    radial-gradient(circle at top left, rgba(215, 154, 53, 0.13), transparent 34%),
    linear-gradient(180deg, #fff 0%, var(--modern-surface-soft) 100%);
}

.single-service-item {
  height: 100%;
  min-height: 292px;
  padding: 38px 30px;
  border: 1px solid var(--modern-line);
  border-radius: var(--modern-radius);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--modern-shadow-soft);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.single-service-item:hover {
  transform: translateY(-6px);
  border-color: rgba(215, 154, 53, 0.42);
  background: #fff;
  box-shadow: var(--modern-shadow);
}

.single-service-icon {
  display: inline-grid;
  width: 58px;
  height: 58px;
  margin-bottom: 20px;
  place-items: center;
  border-radius: var(--modern-radius);
  background: rgba(215, 154, 53, 0.12);
  color: var(--modern-gold-2);
}

.single-service-icon [class^="flaticon-"]::before,
.single-service-icon [class*=" flaticon-"]::before,
.single-service-icon [class^="flaticon-"]::after,
.single-service-icon [class*=" flaticon-"]::after {
  color: var(--modern-gold-2);
  font-size: 34px;
}

.single-service-item h2 a {
  color: var(--modern-ink);
  font-size: 18px;
  font-weight: 900;
  text-transform: none;
}

.single-service-item p {
  color: var(--modern-muted);
}

.single-service-item p::before {
  background: var(--modern-gold);
}

.new-cars {
  background:
    linear-gradient(135deg, rgba(16, 19, 28, 0.94), rgba(32, 44, 76, 0.9)),
    linear-gradient(180deg, var(--modern-night), var(--modern-night-2));
}

.new-cars .section-header h2,
.new-cars .section-header p,
.new-cars .new-cars-txt h2 a,
.new-cars .new-cars-txt p {
  color: #fff;
}

.single-new-cars-item {
  overflow: hidden;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--modern-radius);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.22);
}

.new-cars-img img {
  width: 100%;
  border-radius: var(--modern-radius);
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.new-cars-img img.new-cars-img-contain {
  height: clamp(320px, 38vw, 500px);
  padding: 10px;
  background: #f4f1ec;
  object-fit: contain;
  object-position: center;
}

.new-cars-txt {
  position: relative;
  z-index: 2;
  margin-top: 20px;
}

.new-cars-txt h2 a {
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 900;
  line-height: 1.15;
  text-transform: none;
}

.new-cars-para2 {
  margin-top: 12px;
}

.featured-cars {
  background:
    radial-gradient(circle at 8% 0%, rgba(215, 154, 53, 0.16), transparent 28%),
    linear-gradient(180deg, #fbfaf7 0%, #fff 100%);
  color: var(--modern-ink);
}

.featured-cars::before {
  display: none;
}

.featured-cars .section-header h2,
.featured-cars .featured-cars-txt h2 a,
.featured-cars .featured-cars-txt h3,
.featured-cars .featured-model-info p,
.featured-cars p,
.featured-cars .section-header p {
  color: inherit !important;
  text-shadow: none;
}

.single-featured-cars,
.featured-cars .single-featured-cars {
  overflow: hidden;
  margin-bottom: 32px;
  border: 1px solid var(--modern-line);
  border-radius: var(--modern-radius);
  background: #fff;
  box-shadow: var(--modern-shadow-soft);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.single-featured-cars:hover {
  transform: translateY(-6px);
  border-color: rgba(215, 154, 53, 0.36);
  box-shadow: var(--modern-shadow);
}

.featured-cars-img {
  height: auto;
  padding: 0;
  border: 0;
  background: #f4f1ec;
}

.featured-cars-img img,
.collection-image-placeholder img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  transition: transform 260ms ease;
}

.single-featured-cars:hover .featured-cars-img img,
.single-featured-cars:hover .collection-image-placeholder img {
  transform: scale(1.035);
}

.featured-model-info {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 12px 18px;
  border-top: 1px solid var(--modern-line);
  border-bottom: 1px solid var(--modern-line);
  background: #fbfaf7;
}

.featured-model-info p {
  margin: 0;
  color: var(--modern-muted) !important;
  font-size: 12px;
  line-height: 1.4;
}

.featured-cars-txt {
  padding: 20px 18px 22px;
  background: #fff;
}

.featured-cars-txt h2 a,
.featured-cars-txt h3,
.featured-cars-txt h4,
.featured-cars-txt h5 {
  color: var(--modern-ink) !important;
}

.featured-cars-txt h2 a {
  font-size: 19px;
  font-weight: 900;
  line-height: 1.3;
  text-transform: none;
}

.featured-cars-txt h3,
.collection-price,
#product-price {
  color: var(--modern-gold-2) !important;
  font-size: 17px;
  font-weight: 900 !important;
}

.featured-cars-txt p {
  color: var(--modern-muted) !important;
  text-shadow: none;
}

.featured-cars .welcome-btn {
  border-color: rgba(215, 154, 53, 0.55);
  background: var(--modern-gold);
  color: #16120b !important;
}

.qty-control {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.qty-control .qty-minus,
.qty-control .qty-plus,
.featured-cars .qty-control .qty-minus,
.featured-cars .qty-control .qty-plus,
.single-featured-cars .qty-control .qty-minus,
.single-featured-cars .qty-control .qty-plus {
  display: inline-grid;
  width: 36px;
  height: 36px;
  place-items: center;
  padding: 0;
  border: 1px solid var(--modern-line);
  border-radius: 6px;
  background: #fff;
  color: var(--modern-ink);
  font-weight: 900;
}

.qty-control .qty-input,
.featured-cars .qty-control .qty-input,
.single-featured-cars .qty-control .qty-input {
  width: 54px;
  height: 36px;
  border: 1px solid var(--modern-line);
  border-radius: 6px;
  background: #fff;
  color: var(--modern-ink);
  font-weight: 800;
}

.clients-say {
  background: var(--modern-night);
}

.clients-say::after {
  background:
    linear-gradient(90deg, rgba(16, 19, 28, 0.88), rgba(16, 19, 28, 0.64)),
    radial-gradient(circle at top right, rgba(215, 154, 53, 0.18), transparent 34%);
}

.clients-say .section-header h2,
.clients-say .section-header p {
  color: #fff;
}

.single-testimonial-box {
  min-height: 320px;
  padding: 28px 22px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--modern-radius);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--modern-shadow-soft);
}

.single-testimonial-box:hover {
  transform: translateY(-5px);
  background: #fff;
  border-color: rgba(215, 154, 53, 0.36);
  box-shadow: var(--modern-shadow);
}

.single-testimonial-box img {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 8px 20px rgba(17, 19, 24, 0.14);
}

.single-testimonial-box h2 a,
.single-testimonial-box h4 {
  color: var(--modern-ink);
  font-weight: 900;
}

.single-testimonial-box p {
  color: var(--modern-muted);
}

.brand {
  background: #fff;
}

.brand-area .item {
  display: grid;
  min-height: 110px;
  place-items: center;
  padding: 18px;
  border: 1px solid var(--modern-line);
  border-radius: var(--modern-radius);
  background: #fff;
  box-shadow: 0 8px 22px rgba(17, 19, 24, 0.05);
}

.brand .brand-area .owl-carousel .owl-item img {
  max-height: 72px;
  object-fit: contain;
  filter: saturate(0.85);
  opacity: 0.86;
}

footer.contact,
.footer-top,
.footer-copyright {
  background: var(--modern-night) !important;
}

.footer-top {
  padding: 92px 0 64px;
}

.footer-logo a,
.footer-logo a:hover,
.footer-logo a:focus {
  color: #fff;
  font-family: "Poppins", sans-serif;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.single-footer-widget h2 {
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.single-footer-widget p,
.footer-contact p,
.footer-newsletter p,
.footer-copyright p,
.footer-copyright p a,
.single-footer-widget ul li a {
  color: rgba(255, 255, 255, 0.68);
}

footer.contact a,
.single-footer-widget ul li a:hover {
  color: var(--modern-gold);
}

.hm-foot-email {
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--modern-radius);
  background: rgba(255, 255, 255, 0.06);
}

.foot-email-box .form-control {
  height: 48px;
  color: #fff;
  background: transparent;
}

.foot-email-subscribe button,
.footer-newsletter .welcome-btn {
  min-width: 48px;
  width: 48px;
  height: 48px;
  margin: 0;
  padding: 0;
}

.footer-social a i,
.footer-social a svg {
  display: inline-grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.76);
}

.footer-social a i:hover,
.footer-social a svg:hover {
  border-color: var(--modern-gold);
  color: var(--modern-gold);
  opacity: 1;
}

#scroll-Top .return-to-top {
  right: 22px;
  bottom: 22px;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 999px;
  background: var(--modern-gold);
  color: #14110b;
  box-shadow: 0 14px 28px rgba(17, 19, 24, 0.22);
}

.about-page main,
.contact-page main {
  background: #fff;
}

#history {
  border: 1px solid rgba(215, 154, 53, 0.28);
  border-left: 0;
  border-radius: var(--modern-radius);
  background:
    radial-gradient(circle at top right, rgba(215, 154, 53, 0.12), transparent 28%),
    #fff;
  box-shadow: var(--modern-shadow-soft);
}

input,
textarea,
select,
.form-control {
  min-height: 46px;
  border: 1px solid var(--modern-line);
  border-radius: var(--modern-radius);
  background: #fff;
  color: var(--modern-ink);
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease;
}

input:focus,
textarea:focus,
select:focus,
.form-control:focus {
  border-color: rgba(215, 154, 53, 0.68);
  box-shadow: 0 0 0 4px rgba(215, 154, 53, 0.14);
}

.image-zoom-card {
  overflow: hidden;
  border-radius: var(--modern-radius);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
}

.image-zoom-close,
.image-zoom-nav {
  border-radius: var(--modern-radius);
}

@media (max-width: 991px) {
  body.has-fixed-navbar {
    padding-top: 82px;
  }

  nav.navbar.bootsnav,
  .bootsnav,
  .navbar,
  .has-fixed-navbar nav.navbar.bootsnav {
    min-height: 72px;
  }

  nav.navbar.bootsnav .navbar-toggle {
    margin-top: 16px;
    border-radius: var(--modern-radius);
  }

  nav.navbar.bootsnav .navbar-collapse.collapse.in {
    padding: 8px 18px 24px;
    background: rgba(16, 19, 28, 0.98);
  }

  nav.navbar.bootsnav ul.nav > li > a {
    padding: 13px 0;
  }

  nav.navbar.bootsnav ul.nav > li > a::after {
    left: 0;
    right: auto;
    bottom: 8px;
    width: 42px;
  }

  .welcome-hero-txt {
    padding: 170px 0 230px;
  }

  .model-search-content {
    position: relative;
    top: -80px;
    bottom: auto;
    margin-bottom: -50px;
  }

  .service {
    padding-top: 80px;
  }
}

@media (max-width: 767px) {
  .section-header {
    margin-bottom: 34px;
  }

  .section-header h2 {
    font-size: 32px;
  }

  .welcome-hero {
    min-height: 78vh;
    background-position: center center !important;
    background-size: cover;
  }

  .welcome-hero-txt {
    padding: 138px 12px 176px;
    text-align: left;
  }

  .welcome-hero-txt h2 {
    font-size: 44px;
  }

  .welcome-btn,
  .btn-add-to-cart {
    width: 100%;
    min-width: 0;
  }

  .style-buttons .welcome-btn {
    width: auto;
  }

  .service,
  .new-cars,
  .featured-cars,
  .clients-say,
  .brand {
    padding: 72px 0;
  }

  .service {
    padding-top: 40px;
  }

  .single-new-cars-item {
    padding: 16px;
  }

  .product-actions {
    align-items: stretch;
  }

  .qty-control {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .welcome-hero {
    background-position: 62% center !important;
    min-height: 82vh;
  }
}

/* Page surfaces: contact, cart, about and legal pages */
main.container {
  width: min(1180px, calc(100% - 30px));
}

body.has-fixed-navbar main.container {
  padding-top: 90px !important;
  padding-bottom: 90px !important;
}

main.container > .row {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
}

main.container > .row > [class*="col-"] {
  margin-bottom: 24px;
}

#contact-form,
#cart-contents,
#cart-summary,
.social-section,
main.container iframe,
.site-footer,
main.container > article,
main.container > section:not(.welcome-hero):not(.featured-cars):not(.new-cars) {
  border: 1px solid var(--modern-line);
  border-radius: var(--modern-radius);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--modern-shadow-soft);
}

#contact-form {
  margin-top: 22px;
  padding: 28px;
}

#contact-form .form-group {
  margin-bottom: 18px;
}

#contact-form label,
main.container label {
  margin-bottom: 8px;
  color: var(--modern-ink);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

#contact-form textarea.form-control {
  min-height: 150px;
  resize: vertical;
}

#contact-result {
  font-weight: 800;
}

main.container iframe {
  overflow: hidden;
  display: block;
  padding: 0;
}

.social-section {
  margin-top: 24px;
  padding: 26px;
}

.social-section h3,
main.container h2,
main.container h3 {
  color: var(--modern-ink);
  font-weight: 900;
  text-transform: none;
}

.social-label {
  margin: 8px 0 16px;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.social-links a {
  display: inline-grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--modern-line);
  border-radius: 999px;
  background: #fff;
  color: var(--modern-ink);
  font-size: 18px;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    color 180ms ease;
}

.social-links a:hover {
  transform: translateY(-2px);
  border-color: var(--modern-gold);
  color: var(--modern-gold-2);
}

#cart-contents {
  min-height: 180px;
  padding: 24px;
}

#cart-summary {
  padding: 22px;
}

#cart-summary .text-right {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: flex-end;
}

#cart-summary h4 {
  margin-right: auto;
  color: var(--modern-ink);
  font-size: 22px;
  font-weight: 900;
}

#cart-total {
  color: var(--modern-gold-2) !important;
}

.cart-item,
.cart-line,
#cart-contents > div {
  border-color: var(--modern-line) !important;
}

.site-footer {
  margin-top: 40px;
  padding: 22px !important;
}

.site-footer a {
  color: var(--modern-gold-2);
}

.about-page .welcome-btn,
.contact-page .welcome-btn {
  margin-top: 22px;
}

@media (max-width: 767px) {
  body.has-fixed-navbar main.container {
    padding-top: 70px !important;
    padding-bottom: 62px !important;
  }

  main.container > .row {
    display: block;
  }

  #contact-form,
  #cart-contents,
  #cart-summary,
  .social-section {
    padding: 20px;
  }

  #cart-summary .text-right {
    display: grid;
    grid-template-columns: 1fr;
    text-align: left;
  }

  #cart-summary h4 {
    margin-right: 0;
  }
}
