:root {
  --brand-automotive-primary-color: #D2232a; /*lighter RED*/
  --brand-automotive-secondary-color: #b4282e; /*Darker RED*/
  --brand-automotive-third-color: #333333; /*Automotive Black*/
  --brand-automotive-forth-color: #b0b0b0; /*Automotive Grey*/
  --brand-automotive-general-color: #333333; /* text color */
  --white-automotive-color: #FFFFFF; /* white */ 
  --black-automotive-color: #000000; /* black */ 
  --body-automotive-font: Arial, sans-serif;
  --p-automotive-font: "Oswald", sans-serif;
  --p-automotive-font--regular: "Oswald", sans-serif;
}

/* Base container */
.automotive-header#store-banner {
  font-family: var(--body-automotive-font);
  font-size: 16px;    /* Base size for normal text */
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: var(--brand-automotive-general-color);   /* Default text color */
  margin-bottom: 7px;
  margin-top: 1px;
  border-bottom: var(--brand-automotive-primary-color) solid 5px;
}
/* Headings */
.automotive-header#store-banner h1,
.automotive-header#store-banner h2,
.automotive-header#store-banner h3,
.automotive-header#store-banner h4,
.automotive-header#store-banner h5,
.automotive-header#store-banner h6 {
  font-family: var(--p-automotive-font); /* All titiles Eurostile */
  color: var(--brand-automotive-primary-color); /* Primary color by defualt*/
}
.automotive-header#store-banner h1 { font-size: 2.5rem; font-weight: 700; margin-bottom: 1rem; }
.automotive-header#store-banner h2 { font-size: 2rem; font-weight: 600; margin-bottom: 0.85rem; }

/* Paragraphs */
#store-banner p {
  font-family: var(--body-automotive-font); /* Roboto/Open Sans */
  font-size: 1rem;
  font-weight: 400;
  margin-bottom: 1rem;
}

/* Links */
.automotive-header#store-banner a {
  font-family: var(--body-automotive-font);
  font-size: 0.9rem;
  font-weight: 400; 
  color: var(--white-automotive-color); 
  text-decoration: none;
}

.automotive-header#store-banner .dropdown-main-header-title a {
  font-family: var(--p-automotive-font);   
  font-size: 1rem;
  font-weight: 400; 
  color: var(--brand-automotive-third-color); 
  text-decoration: none;
}

.automotive-header#store-banner .dropdown-header a {
  color: var(--brand-automotive-third-color); 
}

.automotive-header#store-banner a:hover {
  color: var(--white-automotive-color);
  outline: none;
}

.automotive-header#store-banner a:focus {
  color: var(--white-automotive-color);
  outline: none;
}

/**************************************     HEADER     ************************************************/

.automotive-header {
  width: 100vw !important;
  position: relative;
  margin-left: -50vw;
  left: 50%;
  box-sizing: border-box;
  padding: .5em 0;
  background-color: #333333;
  outline: none;
}
.automotive-header > .row-fluid
{
  max-width: 1140px;
  margin: 0 auto;
  padding: 7px;
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-around;
  align-items: center;
  flex-direction: row;
}
.automotive-header .span3.logo-automotive-sws img.brandlogo{
  width: 90%;
  margin-left: 0px;
}
.automotive-header .row-fluid .navbar.navbar-inner-automotive-subsite {
  float: right;
}
.automotive-header .span9.subheading-nav {
  float: right;
  margin-top: 0;
}

.automotive-header .row-fluid .navbar .nav-collapse.sws.collapse {
  margin-top: 0px !important;
  width: 53rem;
}

/**************************************     NAV     ************************************************/
/* .automotive-nav-bottom .span12.subheading-nav {
  margin-top: 0;
} */
.navbar .nav.navbar-automotive-subsite {
  margin-right: 0;
  width: 77%;
  font-family: var(--body-hero-title-automotive-font);

  /* Vendor prefixes for older browsers */
  display: -webkit-box;      /* Safari 6-9 */
  display: -moz-box;         /* Firefox 19-28 */
  display: -ms-flexbox;      /* IE 10 */
  display: -webkit-flex;     /* Safari 9+ */
  display: flex;             /* Standard flex display */

  /* Vendor prefixes for flex-wrap */
  -webkit-box-flex-wrap: nowrap;   /* Safari 6-9 */
  -moz-box-flex-wrap: nowrap;      /* Firefox 19-28 */
  -webkit-flex-wrap: nowrap;       /* Safari 9+ */
  -ms-flex-wrap: nowrap;           /* IE 10 */
  flex-wrap: nowrap;               /* Standard flex-wrap */
  
  justify-content: space-evenly;  /* Distribute items */
  align-items: center;             /* Align vertically */
  gap: 1em;
}

.navbar .nav.navbar-automotive-subsite > li.home-btn {
  /* Vendor prefixes for flex-grow, flex-shrink, and flex-basis */
  -webkit-box-flex: 0;     /* Safari 6-9 */
  -moz-box-flex: 0;        /* Firefox 19-28 */
  -webkit-flex: 0;         /* Safari 9+ */
  -ms-flex: 0;            /* IE 10 */
  flex: 0;              /* Takes up less space compared to other items */
}

.navbar .nav.navbar-automotive-subsite > li {
  /* Vendor prefixes for flex-grow, flex-shrink, and flex-basis */
  -webkit-box-flex: 1;     /* Safari 6-9 */
  -moz-box-flex: 1;        /* Firefox 19-28 */
  -webkit-flex: 1;         /* Safari 9+ */
  -ms-flex: 1;            /* IE 10 */
  flex: 1;                /* Adjust for proportional growth */
  text-align: center;
}
/*
.navbar.navbar-inner-automotive-subsite.navbar-inner-automotive-subsite-french .nav.navbar-automotive-subsite {
  gap: 0.5em;
}
*/

/* home button */
.nav-home-icon-svg {
  color: white;
  width: 20px;
  height: 20px;
  transition: color 0.2s ease;
  display: block;
}

.nav-home-icon-svg:hover, .nav-home-icon-svg:active {
  color: var(--brand-automotive-secondary-color);
}

.navbar .nav.navbar-automotive-subsite a.nav-home-icon{
  padding: 18px 10px;
}
.navbar.navbar-inner-automotive-subsite .nav > li > a {
  text-shadow: none;
  display: block;
  white-space: normal !important;
  padding: 14px 10px;
  font-size: 1.25rem !important;
  font-family: "Oswald" !important;
  font-weight: 600;
  color: white;
  text-transform: uppercase;
}
/*
.navbar.navbar-inner-automotive-subsite.navbar-inner-automotive-subsite-french.mhide .nav>li>a {
  padding: 14px 9px;
}
*/

.dropdown-menu.automotive-whole-cateogies-list-menu a {
  white-space: normal;
}

/*

.navbar.navbar-inner-automotive-subsite.navbar-inner-automotive-subsite-french.mhide a.nav-home-icon{
  padding: 18px 10px !important;
}
*/
.nav, .navbar {
  margin-bottom: 0px;
}

/* NAV HOVER COLOURS */
.navbar.navbar-inner-automotive-subsite .nav > li > a:hover {
  color: var(--brand-automotive-primary-color) !important;
}

.navbar.navbar-inner-automotive-subsite .nav > li > a:active,
.navbar .nav.navbar-automotive-subsite li.dropdown.open > .dropdown-toggle,
.navbar .nav.navbar-automotive-subsite li.dropdown.active > .dropdown-toggle,
.navbar .nav.navbar-automotive-subsite li.dropdown.open.active > .dropdown-toggle {
  color: var(--brand-automotive-primary-color) !important;
  background-color: white;
  border-top-left-radius: 3px;
  border-top-right-radius: 3px; 
}

.navbar .nav.navbar-automotive-subsite .home-btn > a:hover{
  background-color: transparent;
  color: inherit;
  border: none;
  transform: none;
  color: var(--brand-automotive-primary-color);
}

/* DROP-DOWN MENU STYLES */
/* hide Bootstrap arrow */
.navbar .nav > li > .automotive-whole-cateogies-list-menu.dropdown-menu:before,
.navbar .nav > li > .automotive-whole-cateogies-list-menu.dropdown-menu:after {
  display: none;
}

/* base (hidden) */
    
.navbar .nav > li > .automotive-whole-cateogies-list-menu.dropdown-menu {
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  width:1123px;
  left: -34.5em;
  top: 41px;
  border-radius: 3px;
  background-color: white;
  padding: 6px 12px;
  border: none;
  opacity: 0;
  transform: translateY(5px);
  pointer-events: none;
  text-align: left;
  font-family: var(--body-automotive-font);
  border-bottom: var(--brand-automotive-primary-color) solid 5px;
}

.navbar .nav > li > .automotive-whole-cateogies-list-menu.applications-list.dropdown-menu {
    left: -45.3em;
}


.dropdown-menu li>a:focus{outline: none;}


/*
.navbar.navbar-inner-automotive-subsite.navbar-inner-automotive-subsite-french .nav > li > .automotive-whole-cateogies-list-menu.dropdown-menu{
  min-width: 500px;
  left: 50%;
  transform: translateX(-50%);
}
*/
/*
.navbar .nav > li > .automotive-whole-cateogies-list-menu.dropdown-menu.applications-list,
.navbar.navbar-inner-automotive-subsite.navbar-inner-automotive-subsite-french .nav > li >.automotive-whole-cateogies-list-menu.dropdown-menu.applications-list{
  min-width: 300px;
}
*/


/* show only on click (when .open is applied by Bootstrap JS) */
.navbar .nav > li.open > .automotive-whole-cateogies-list-menu.dropdown-menu {
  display: flex;
  opacity: 1;
  pointer-events: auto;
}

/*
.navbar .nav > li {
  position: relative !important;
}
*/

.brandlogo {
  transform-origin: top left;
  transition: transform 0.4s ease-in-out;
}

.automotive-header:has(.nav > li.open) img.brandlogo {
  transform: translateY(-0.5em) scale(0.7);
}


/* ******** */
.dropdown-menu.automotive-whole-cateogies-list-menu ul {
  text-decoration: none;
  list-style: none;
  padding-left: 0;
}

.dropdown-menu.automotive-whole-cateogies-list-menu > li {
  flex: 0 0 23%;
  max-width: 23%;
  list-style: none;
}

.dropdown-menu.automotive-whole-cateogies-list-menu.applications-list > li {
  flex: 0 0 30%;
  max-width: 30%;
  list-style: none;
}

.dropdown-menu.automotive-whole-cateogies-list-menu .first-col,
.dropdown-menu.automotive-whole-cateogies-list-menu .second-col, 
.dropdown-menu.automotive-whole-cateogies-list-menu .third-col,
.dropdown-menu.automotive-whole-cateogies-list-menu .forth-col,
.dropdown-menu.automotive-whole-cateogies-list-menu .solutions-by-application{
  margin: 0px 2px;
}
/* Shared dropdown styles for all items */
.dropdown-menu.automotive-whole-cateogies-list-menu .first-col a,
.dropdown-menu.automotive-whole-cateogies-list-menu .second-col a,
.dropdown-menu.automotive-whole-cateogies-list-menu .third-col a,
.dropdown-menu.automotive-whole-cateogies-list-menu .forth-col a,
.dropdown-menu.automotive-whole-cateogies-list-menu .solutions-by-application a {
  padding: 2px 10px !important;
  line-height: 1.5;
  text-align: left;
  display: block;
  text-decoration: none;
  margin-left: 10px;
/*   margin-bottom: 3px; */
}

.dropdown-menu.automotive-whole-cateogies-list-menu .first-col a:hover,
.dropdown-menu.automotive-whole-cateogies-list-menu .second-col a:hover,
.dropdown-menu.automotive-whole-cateogies-list-menu .third-col a:hover,
.dropdown-menu.automotive-whole-cateogies-list-menu .forth-col a:hover,
.dropdown-menu.automotive-whole-cateogies-list-menu .solutions-by-application a:hover {
  margin-left: 14px;
  background: transparent !important;
  color: var(--brand-automotive-primary-color) !important;
}

/* Titles (text-only and link-headers) */ 
.dropdown-menu.automotive-whole-cateogies-list-menu .first-col .dropdown-main-header-title a,
.dropdown-menu.automotive-whole-cateogies-list-menu .second-col .dropdown-main-header-title a,
.dropdown-menu.automotive-whole-cateogies-list-menu .third-col .dropdown-main-header-title a,
.dropdown-menu.automotive-whole-cateogies-list-menu .forth-col .dropdown-main-header-title a,
.dropdown-menu.automotive-whole-cateogies-list-menu .solutions-by-application .dropdown-main-header-title a{
  font-weight: 700;
  color: var(--brand-automotive-primary-color);
  margin-left: 0;
  font-size: 1rem;
  padding: 0;
  position: relative;
  display: block;
}


.dropdown-menu.automotive-whole-cateogies-list-menu .first-col .dropdown-main-header-title a:hover,
.dropdown-menu.automotive-whole-cateogies-list-menu .second-col .dropdown-main-header-title a:hover,
.dropdown-menu.automotive-whole-cateogies-list-menu .third-col .dropdown-main-header-title a:hover,
.dropdown-menu.automotive-whole-cateogies-list-menu .forth-col .dropdown-main-header-title a:hover,
.dropdown-menu.automotive-whole-cateogies-list-menu .solutions-by-application .dropdown-main-header-title a:hover{
  background-color: var(--brand-automotive-primary-color) !important;
  color: var(--white-automotive-color) !important;
}


.dropdown-main-header-title {
    text-transform: uppercase; 
    }

.automotive-header#store-banner li.dropdown-main-header-title:not(:first-child) a { 
    margin-top: 1em;
    border-top: var(--brand-automotive-third-color) solid 1px; 
    }
       
.automotive-header#store-banner .applications-list li.dropdown-main-header-title a { 
    margin-top: 0em;
    padding-top: 0.5em !important;
    padding-bottom: 0.5em !important;
    }

.dropdown-menu.automotive-whole-cateogies-list-menu .dropdown-header a {
    font-weight: 400;
    color: var(--brand-automotive-buttons-color);
    margin-left: 0;
    display: block;
}
.dropdown-menu.automotive-whole-cateogies-list-menu .dropdown-header a:hover {
  margin-left: 0px;
  background: var(--brand-automotive-primary-color) !important;
  color: var(--white-automotive-color) !important;
}

.dropdown-menu.automotive-whole-cateogies-list-menu li>a:focus{
  background-color: transparent !important;
  color: var(--brand-automotive-primary-color) !important;
}


/* Split the line with the text */
.dropdown-menu.automotive-whole-cateogies-list-menu .dropdown-main-header-title.multiline-category a{ 
  display: inline-block;
  max-width: 18ch;
  line-height: 1.2;
  vertical-align: middle;
  white-space: normal;
  word-wrap: break-word;
}


/**************************************     SEARCH BAR     ************************************************/
.automotive-search form#ProductDisplayForm button.btn.btn-default .nav-search-icon-svg, 
.automotive-mobile .mobile-search button .nav-search-icon-svg {
  height: auto;
  width: 25px;
  color: var(--white-automotive-color);
  display: block;
}
.automotive-search .btn{
  padding: 0px;
}
/* Style for the button */
.automotive-search form#ProductDisplayForm button.btn.btn-default {
  background-color: var(--brand-automotive-primary-color);
  border-radius: 0 3px 3px 0;
  border: none;
  width: 40px;
  height: 36px !important;
  position: absolute;
  right: -24px;
  top: 50%;
  transform: translateY(-50%);
  transition: background-color 0.4s ease;
  z-index: 2;
  padding: 6px 8px;
}
/* Search bar container */
.automotive-search.input-append {
  margin-left: auto;
  margin-right: 0;
  position: relative;
  left: 0;
  width: 250px;
}
/* Search Bar - Expand on Hover/Focus */
.automotive-search.input-append:hover,
.automotive-search.input-append:focus-within {
  background-color: var(--brand-automotive-primary-color);
  box-shadow: none;
}
/* Input field styling */
.automotive-search input#ProductSearch.appendInputButton {
  font-family: var(--body-automotive-font);
  color: var(--brand-automotive-forth-color) !important;
  border: none;
  background-color: transparent;
  padding: 7px 0px;
  margin-right: 0px;
  margin-left: 0px;
  font-weight: 500;
  -webkit-box-shadow: none;
  -moz-box-shadow: none; 
  box-shadow: none;
  border: none;
  left: 0px;
  width: 95%;
}
.automotive-search form#ProductDisplayForm {
  width: 90%;
  padding: 0 0 0 0px;
  transform: translate(0%, 0%);
  background: var(--white-automotive-color);
  height: 36px;
  border-radius: 3px 0 0 3px;
  transform-origin: right;
  transition: width 0.4s ease, background-color 0.4s ease, right 0.4s ease;
  border: 1px solid white;
  border-right: none;
}
/* Change Button Color & Move Left when Hovering */
.automotive-search.input-append:hover form#ProductDisplayForm button.btn.btn-default,
.automotive-search.input-append:focus-within form#ProductDisplayForm button.btn.btn-default {
  background-color: var(--brand-automotive-primary-color);
}
/* Input focus styling */
.automotive-search input.refine-search.appendInputButton:focus {
  color: var(--brand-automotive-forth-color);
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
  border-color: var(--white-automotive-color);
}

.automotive-search input.refine-search.appendInputButton::-webkit-input-placeholder {
  /* Chrome, Opera, Safari */
  color: var(--brand-automotive-forth-color);
}
.automotive-search input.refine-search.appendInputButton:-moz-placeholder {
  /* Firefox 4-18 */
  color: var(--brand-automotive-forth-color);
}
.automotive-search input.refine-search.appendInputButton::-moz-placeholder {
  /* Firefox 19+ */
  color: var(--brand-automotive-forth-color);
}
.automotive-search input.refine-search.appendInputButton:-ms-input-placeholder {
  /* IE 10-11 */
  color: var(--brand-automotive-forth-color);
}
.automotive-search input.refine-search.appendInputButton::-ms-input-placeholder {
  /* MS Edge */
  color: var(--brand-automotive-forth-color);
}
.automotive-search input.refine-search.appendInputButton::placeholder {
  /* your styles */
  color: var(--brand-automotive-forth-color);
}
.automotive-search input.refine-search.appendInputButton:hover::placeholder{
  color: var(--brand-automotive-forth-color);
}

/******  END SEARCH BAR ***** */
/* ********* END HEADER ********* */

/**************************************     HEROS     ************************************************/
.carousel-top.automotive-sws-store {
  margin-top: 0;
  width: 100vw !important;
  position: relative;
  margin-left: -50vw;
  left: 50%;
  padding-bottom: 0em;
}

.automotive-sws-store #myCarousel {
  margin-bottom: 10px;
}

/* Set a fixed height for the carousel inner to prevent jumping */
.automotive-sws-store #myCarousel .carousel-inner,
.automotive-sws-store #myCarousel .carousel-inner .item,
.automotive-sws-store #myCarousel .carousel-inner .carousel-item,
.automotive-sws-store #myCarousel .hero-section {
  height: 450px;
}  
  
  
.automotive-sws-store #myCarousel .hero-section {
  width: 100%;
  background-image:  linear-gradient(to left, rgba(255, 255, 255, 0.7) 10%, rgba(255, 255, 255, 0) 90%),
  url(/images/pages/automotive/automotive-bckgr.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  justify-content: center;
  margin-top: -7px;
}


.automotive-sws-store #myCarousel .hero-content {
  width: min(90vw, 1140px);
  box-sizing: border-box;
  display: flex;
  align-items: center;
  padding: 0;
  margin: 0 auto;
  background-color: transparent;
  border-radius: 6px;
  height: 100%;
}

.automotive-sws-store #myCarousel .text-content {
    padding: 0 30px 0 0;
    width: 100%;
    max-width: 500px;
    height:100%;
    display: flex;
    flex-direction: column;
}


.automotive-sws-store #myCarousel .text-content .text-contnet-inside {
    padding: 1em 3em;
    display: flex;
    flex-direction: column;
    margin-top: auto;
    align-items: flex-start;
    background-color: var(--brand-automotive-primary-color);
    box-shadow: none;
    flex-grow: 1;
    position: relative; /* required */
    overflow: hidden;   /* optional, keeps it clean */
}

.automotive-sws-store #myCarousel .text-content .text-contnet-inside::after {
    content: "";
    position: absolute;
    bottom: -50%;   /* pushes image down */
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url(/images/pages/automotive/automotive-icon-white.png);
    background-repeat: no-repeat;
    background-position: center bottom;
    background-size: contain;
    opacity: 0.12;   /*12% transparency */
    pointer-events: none;
}


.supplier-logo {
    margin-bottom: 1.5em;
    width: 90%;
}


.automotive-sws-store #myCarousel .hero-content .image-content {
  width: 100%;
  height: 100%;              /* important for 80% height to work */
  display: flex;             /* enable flexbox */
  justify-content: flex-end; /* push image to the right */
  align-items: center;    
  overflow: hidden;
}


.automotive-sws-store #myCarousel .hero-content .image-content img {
  height: 86%;
  width: auto;
  object-fit: contain;
  transition: transform 0.8s ease-in-out;
}


/* Apply a full-surface invisible link to cover all content */
.automotive-sws-store .hero-content .hero-global-link {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 5; /* Place between the carousel arrows and the content (text/images) */
}


.automotive-sws-store .hero-content .hero-global-link:focus-visible {
    outline: none;
}


/* Other Carousel Styles */
.automotive-sws-store #myCarousel h1 {
    font-size: clamp(0.9rem, 1.8vw, 1.35rem);
    margin-bottom: 0px;
    color: var(--white-automotive-color);
    line-height: 1.2;
    font-family: var(--body-automotive-font);
    white-space: normal;
    text-transform: none;
}

.automotive-sws-store #myCarousel p {
    font-size: clamp(0.6rem, 1.2vw, 1rem);
    margin-bottom: 0.5em;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.2;
    font-family: var(--body-automotive-font);
    white-space: normal;
    text-transform: none;
}
.automotive-sws-store #myCarousel h2 {
    color: var(--white-automotive-color);
    font-size: clamp(1.44rem, 2.7vw, 1.8rem);
    font-family: var(--p-automotive-font);
    font-weight: 500;
    line-height: 1.25;
    margin: 15px 0 15px;
    white-space: normal;
    font-style: normal;
    text-transform: uppercase;
}


.automotive-sws-store #myCarousel .carousel-btn {
    margin-top: auto;              /* pushes it to the bottom */
    display: flex;                 /* better than inline-flex here */
    align-items: center;
    justify-content: center;

    padding: 20px 30px;
    font-size: 1rem;
    font-family: var(--body-automotive-font);
    font-weight: 600;

    color: #fff;                   /* white text */
    background-color: var(--brand-automotive-third-color);        /* black background */

    border: none;
    border-radius: 0;              /* optional: remove rounding for full-width look */
    text-decoration: none;

    box-shadow: none;
    text-transform: uppercase;
    overflow: hidden;

    transition: background 0.3s ease;
}


/* Text wrapper (to move only the text) */
.automotive-sws-store #myCarousel .carousel-btn span {
    display: inline-block;
    transition: transform 0.3s ease-in-out;
}

/* --- Global hover effect on slide --- */


/* Trigger button animation when hovering anywhere on the banner */
.automotive-sws-store #myCarousel .hero-content:hover .carousel-btn {
    background-color: var(--brand-automotive-secondary-color) !important; 
    color: var(--white-automotive-color);
    text-decoration: none;
}

.automotive-sws-store #myCarousel .hero-content a:focus {
    outline: none;      
}



/* Add a subtle zoom effect to the background image on hover */
.automotive-sws-store #myCarousel .hero-content:hover .image-content img {
    transform: scale(1.05);
}

/* --- END Global hover effect on slide --- */

.carousel-control-new {
  color: var(--white-automotive-color) !important;
  background-color: var(--brand-automotive-primary-color);
  border: 2px solid var(--white-automotive-color);
  border-radius: 50% !important;
  width: 40px !important;
  height: 40px !important;
  line-height: 40px;
  text-align: center;
  font-size: 20px; /* size of the arrow */
  font-weight: lighter;
  text-shadow: none;
  position: absolute; /* Position the arrows */
  top: 55%; /* Position vertically in the middle */
  transform: translateY(-50%); /* Adjust vertical position */
  transition: 0.3s ease-in-out;
}
.carousel-control-new.left {
  left: 2rem;
}
.carousel-control-new.right {
  right: 2rem;
}
.carousel-control-new:hover{
  background-color: var(--brand-automotive-buttons-color);
  border: 2px solid var(--white-automotive-color);
  color: var(--white-automotive-color) !important;
  box-shadow: 0 4px 7px rgba(0, 0, 0, 0.25);
}
/* Important: carousel arrows stay above the global link */
.carousel-control-new {
    z-index: 10 !important;
}

/* ********* END Heroes ********* */

/**************************************     BUTTONS     ************************************************/
/* GRID */
.automotive-grid-container {
    display: grid;
    gap: 0.5em;
    margin: 20px auto;
    grid-template-columns: repeat(6, 1fr);
    grid-template-rows: auto auto auto;


    /* Grid structure: 
       b1, b2... — category buttons. 
       ad — the high vertical block. 
    */
    grid-template-areas: 
        "b1 b2 b3 b4 ad ad"
        "b5 b6 b7 b8 ad ad"
        "b9 b9 b10 b10 b11 b11";
        width: 100%;
    box-sizing: border-box; 
}

.automotive-grid-container > a {
    min-width: 0;
    width: 100% !important;
    height: 100%;
    display: block;
    position: relative;
    text-decoration: none !important;
}

/* Mapping children to grid areas */
.automotive-grid-container > a:nth-child(1)  { grid-area: b1; }
.automotive-grid-container > a:nth-child(2)  { grid-area: b2; }
.automotive-grid-container > a:nth-child(3)  { grid-area: b3; }
.automotive-grid-container > a:nth-child(4)  { grid-area: b4; }

.automotive-grid-container > a:nth-child(5)  { grid-area: b5; }
.automotive-grid-container > a:nth-child(6)  { grid-area: b6; }
.automotive-grid-container > a:nth-child(7)  { grid-area: b7; }
.automotive-grid-container > a:nth-child(8)  { grid-area: b8; }

.automotive-grid-container > a:nth-child(9)  { grid-area: b9; }
.automotive-grid-container > a:nth-child(10)  { grid-area: b10; }
.automotive-grid-container > a:nth-child(11)  { grid-area: b11; }
.automotive-grid-container > a:nth-child(12)  { grid-area: ad; }


/* END GRID STYLES */

/*  Main Card Styling */
.automotive-item:not(.side-ad) {
    background-color: var(--brand-automotive-third-color);
}

.automotive-item {
    border-radius: 3px;
    overflow: hidden !important;
    display: flex;
    flex-direction: column;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    height: 100%;
    min-height: 160px;
    justify-content: center;
}

.automotive-item.primary-item:not(.side-ad)::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url(/images/pages/automotive/automotive-icon-white.png);
    background-repeat: no-repeat;
    background-position: 3em 8em;
    background-size: 88%;
    opacity: 0.08;
    pointer-events: none;
}

.automotive-item.secondary-item:not(.side-ad)::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url(/images/pages/automotive/automotive-icon-white.png);
    background-repeat: no-repeat;
    background-position: 11em 7em;
    background-size: 61%;
    opacity: 0.08;
    pointer-events: none;
}


/* Image Container */
.automotive-application-img {
    width: 95%;
    height: 160px;
    overflow: hidden;
    background-color: transparent;
    text-align: center;
    margin: 0 auto;
    margin-top: 10px;
}

.automotive-application-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    backface-visibility: hidden;
    transition: transform 0.6s ease-in-out, filter 0.3s ease-in-out;
}

/* Hover effect for standard card images */
.automotive-grid-container > a:hover .automotive-application-img img {
    transform: scale(1.05);
}

.automotive-grid-container > a:hover .automotive-item:not(.side-ad) {
    background-color: var(--brand-automotive-primary-color);
}


/* Title Block (category buttons) */
.automotive-bkgr-btn {
    padding: 12px 15px;
    background: transparent;
}

.application-title {
    font-family: var(--p-automotive-font--regular);
    font-weight: 500;
    font-size: 1rem;
    color: white;
    margin: 0;
    line-height: 1.2;
    text-align: center;
    text-transform: uppercase;
}

/* Specific styles for SIDE AD (12th grid item) */
.automotive-item.side-ad {
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-radius: 3px;
    padding: 0 !important;
    text-align: center;
    color: #fff;
    text-decoration: none;
    overflow: hidden;
    box-sizing: border-box;
    align-items: stretch;
    background-image: 
    url(/images/pages/automotive/asc6002b-side-ad.webp),
    url(/images/pages/automotive/side-ad-background-3.webp);
    background-repeat: no-repeat;
    background-position: 99% 28%, 0% 0%;
    background-size: 30%, 114%;
    position: relative; 
    z-index: 0;
    transition: background-size 0.5s ease, background-position 0.5s ease;
}


.side-ad .automotive-inside-bckgr {
    position: relative;
    z-index: 3;
    margin-top: 1em
}


.automotive-item.side-ad .application-title {
    color: var(--brand-automotive-third-color);
    font-family: var(--body-automotive-font);
    font-size: clamp(0.6rem, 1.8vw, 1.3rem);
    text-align: left;
    margin-bottom: 0.4em;
    margin-top: 0em;
    text-transform: none;
    max-width: 20ch;
}

.automotive-side-ad-title p{
    text-align: left !important; 
    margin-bottom: 0;
}

.automotive-side-ad-subtitle,
.automotive-side-ad-title {
    margin: 0 10px;
    position: relative;
    z-index: 4;
}

.automotive-side-ad-subtitle .application-subtitle {
    font-family: var(--p-automotive-font);
    font-size: clamp(0.7rem, 2vw, 1.4rem);
    color: var(--brand-automotive-third-color);
    margin-bottom: 20px;
    line-height: 1.2;
    text-align: left;
    font-weight:600;
    text-transform: uppercase;
    max-width: 20ch;  
}

/* "Learn More" Button inside Side Ad */
.automotive-side-ad-cta {
  margin: 10px 0 0 0;
  position: relative;
  z-index: 1;
}  

.side-ad-btn {
    display:flex;
    width: 100%;
    margin-top: 0px;
    font-size: 1rem;
    font-family: var(--body-automotive-font);
    box-shadow: none;
    text-transform: uppercase;
    position: relative;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 15px 0;
    color: var(--white-automotive-color) !important;
    gap: 0px;
    background-color: var(--brand-automotive-third-color) !important;
    text-decoration: none;
    font-weight: 600;
    border: none;
    overflow: hidden;
    transition: background 0.3s ease;
    cursor: pointer;
}
/* Text slide animation on hover */
.side-ad-btn span {
    display: inline-block;
    transition: transform 0.3s ease-in-out; 
}

.automotive-grid-container > a:nth-child(12) {
    grid-area: ad;
    width: 100% !important;
    max-width: 100% !important;
}
/* --- GLOBAL HOVER EFFECTS FOR THE LINK CONTAINER --- */

/* Button background color shift */
.automotive-item-link:hover .side-ad-btn {
    background-color: var(--brand-automotive-primary-color) !important;
    z-index: 1;
}


.automotive-item-link:hover .automotive-item.side-ad {
    background-position: 99% 28%, 0% 0%;
    background-size: 33%, 115%;
    position: relative; 
    z-index: 0;
    transition: background-size 0.6s ease, background-position 0.6s ease;
}

.automotive-item-link:focus-visible {
    outline: none;
}


/* APPLICATIONS section at the bottom*/
.automotive-application-section {
    background: #fafafa;
    padding: 20px;
    text-align: center;
    border-radius: 5px;
    border: 1px solid #e3e3e3;
    margin-top: 20px;
    overflow: hidden;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.span12.automotive-cat-header {
    padding:2em;
    padding-top: 0;
}

h2.automotive-cat-heading {
    display: block;
    font-size: 2em;
    -webkit-margin-before: 0;
    -webkit-margin-after: 0em !important;
    -webkit-margin-start: 0px;
    -webkit-margin-end: 0px;
    font-weight: 600;
    color: var(--brand-automotive-third-color);
}

h3.automotive-cat-subheading {
    display: block;
    font-size: 1.2em;
    -webkit-margin-before: 0;
    -webkit-margin-after: 0em !important;
    -webkit-margin-start: 0px;
    -webkit-margin-end: 0px;
    font-weight: 400;
    color: var(--brand-automotive-third-color);
}

.automotive-application-section .automotive-cat-row .automotive-cat-col:last-child {
    padding-right: 0;
}

.automotive-application-section .automotive-cat-row .automotive-cat-col {
    width: 16.6666%;
    margin-left: 0;
    padding: 0 2px;
    float: left;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.automotive-application-section .automotive-cat-item .automotive-cat-img {
    width: 100%;
    height: 190px !important;
    -o-object-fit: cover;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    will-change: transform;
}

.automotive-application-section .automotive-cat-item .automotive-cat-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(30, 30, 30, 0.82);
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    font-family: var(--p-automotive-font);
    padding: 10px 8px;
    text-align: center;
    text-transform: uppercase;
}


.automotive-application-section .automotive-cat-item {
    position: relative;
    display: block;
    overflow: hidden;
    text-decoration: none;
    border-radius: 3px;
}

/* --- GLOBAL HOVER EFFECTS FOR THE APPLICATIONS LINK CONTAINER --- */

.automotive-cat-item:hover .automotive-cat-label {
    background: rgba(30, 30, 30, 1);
     
}

.automotive-cat-item:hover .automotive-cat-img {
    transform: scale(1.05);     
}




@media (max-width: 1199px) {
/**************************************     HEADER     ************************************************/
.automotive-header > .row-fluid {
  max-width: 914px;
}
/**************************************     NAV     ************************************************/
 .navbar .nav.navbar-automotive-subsite {
    width: 70%;
}

.navbar .nav > li > .automotive-whole-cateogies-list-menu.dropdown-menu {
    width: 912px;
    left: -24.9em;
    top: 41px;
}

.navbar .nav > li > .automotive-whole-cateogies-list-menu.applications-list.dropdown-menu {
    left: -34em;
}

.nav-home-icon-svg {
    width: 18px;
    height: 18px;
}
.navbar.navbar-inner-automotive-subsite .nav > li > a {
    font-size: 1.1rem !important;
}

.hover-underline-animation::before {
    bottom: 9px;
}

.automotive-header:has(.nav > li.open) img.brandlogo {
  transform: translateY(-.8em) scale(0.8);
}


/**************************************     SEARCH BAR     ************************************************/

/* ********* END NAV ********* */
    
/**************************************     HEROS     ************************************************/
.automotive-sws-store #myCarousel .text-content {
    padding: 0;
    width: 100%;
    max-width: 600px;
}
.automotive-sws-store #myCarousel .image-content {
  text-align: right;
}
.carousel-control-new.left {
  left: 0.75rem; /* Position the left arrow */
}
.carousel-control-new.right {
  right: 0.75rem; /* Position the right arrow */
}
.supplier-logo {
    width: 80%;
}
/**************************************     BUTTONS     ************************************************/

/**************************************     SIDE AD     ************************************************/

.automotive-item.side-ad {
    background-position: 106% 37%, 0% 0%;
    background-size: 38%, 141%;
}


.automotive-item-link:hover .automotive-item.side-ad {
    background-position: 106% 37%, 0% 0%;
    background-size: 39%, 145%;
}
}



@media (max-width: 979px) {
  .row-fluid.automotive-sws-store{
    padding-top: 9px;
  }
/**************************************     HEADER     ************************************************/
.navbar-inner.automotive-mobile {
  font-family: var(--body-automotive-font);
  background: #ffffff;
  background-color: var(--white-automotive-color);
  padding-top: 7px;
  padding-bottom: 0;
}
.automotive-mobile .logo-wrapper {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
}
.automotive-mobile .span3 {
  width: 25%;
  float: left;
  margin: 0px;
}
.automotive-mobile img.brand.mobile-logo {
  width: 80%;
  padding: 0px;
  margin: 0px;
}
.automotive-mobile .span9 {
  margin-left: 0px;
  margin-top: 0;
  width: 60%;
}
/**************************************     SEARCH BAR     ************************************************/
.automotive-mobile .mobile-search {
    width: 100%;
    margin-top: 0;
    padding: 0;
}
/* Style for the button */
.automotive-mobile .mobile-search form#ProductDisplayForm button.btn.btn-default {
    background-color: var(--brand-automotive-primary-color);
    border-radius: 0 3px 3px 0;
    border: none;
    width: 40px;
    height: 34px !important;
    position: absolute;
    right: -4px;
    top: 50%;
    transform: translateY(-50%);
    transition: background-color 0.4s ease;
    z-index: 2;
    padding: 6px 8px;
}
/* Search bar container */
.automotive-mobile .mobile-search .input-append {
  margin-left: auto;
  margin-right: 0;
  position: relative;
  left: 0;
  width: 250px;
}
/* Input field styling */
.automotive-mobile .mobile-search input#ProductSearch.appendInputButton {
    font-family: var(--body-automotive-font);
    color: var(--brand-automotive-forth-color);
    border: none;
    background-color: transparent;
    padding: 7px 0px !important;
    margin-right: 0px;
    margin-left: 0px;
    font-weight: 500;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
    border: none;
    left: 7px;
    width: 96%;
}
.automotive-mobile .mobile-search form#ProductDisplayForm {
    width: 98%;
    padding: 0 0.4rem 0 0;
    transform: translate(0%, 0%);
    background: var(--white-automotive-color);
    height: 32px;
    border-radius: 3px 0 0 3px;
    transform-origin: right;
    transition: width 0.4s ease, background-color 0.4s ease, right 0.4s ease;
    border: 1px solid var(--brand-automotive-general-color);
    border-right: none;
}
/* Change Button Color & Move Left when Hovering */
.automotive-mobile .mobile-search.input-append:hover form#ProductDisplayForm button.btn.btn-default,
.automotive-mobile .mobile-search.input-append:focus-within form#ProductDisplayForm button.btn.btn-default {
  background-color: var(--brand-automotive-primary-color);
}
/* Input focus styling */
.automotive-mobile .mobile-search input.refine-search.appendInputButton:focus {
  color: var(--brand-automotive-forth-color);
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
  border-color: var(--white-automotive-color);
}
/* Target the button when the parent container is focused */
.automotive-mobile .mobile-search .input-append:focus-within .btn {
  background-color: transparent;
}
.automotive-mobile .input-append input.refine-search.appendInputButton::-webkit-input-placeholder {
  /* Chrome, Opera, Safari */
  color: var(--brand-automotive-forth-color);
}
.automotive-mobile .input-append input.refine-search.appendInputButton:-moz-placeholder {
  /* Firefox 4-18 */
  color: var(--brand-automotive-forth-color);
}
.automotive-mobile .input-append input.refine-search.appendInputButton::-moz-placeholder {
  /* Firefox 19+ */
  color: var(--brand-automotive-forth-color);
}
.automotive-mobile .input-append input.refine-search.appendInputButton:-ms-input-placeholder {
  /* IE 10-11 */
  color: var(--brand-automotive-forth-color);
}
.automotive-mobile .input-append input.refine-search.appendInputButton::-ms-input-placeholder {
  /* MS Edge */
  color: var(--brand-automotive-forth-color);
}
.automotive-mobile .input-append input.refine-search.appendInputButton::placeholder {
  /* your styles */
  color: var(--brand-automotive-forth-color);
}
/**************************************     NAV     ************************************************/
/* Main nav wrapper */
.automotive-mobile .sws-mobile-header-nav .navbar-automotive-subsite-mobile {
  width: 100%;
  margin: 0 !important;
  border-radius: 0;
}
/* Main nav container full width */
.automotive-mobile #SWS-mobile-nav-button-adjust {
    display: flex;
    width: 100%;
    padding: 0;
    list-style: none;
    background-color: var(--brand-automotive-third-color);
    border: none;
    border-radius: 3px;
    position: relative;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-around;
}


/* All nav items reset */
.automotive-mobile #SWS-mobile-nav-button-adjust > li {
  margin: 0;
  padding: 0;
  text-align: center;
  position: relative; /* dropdown attaches to Products li */
  background-color: transparent;
}
.automotive-mobile #SWS-mobile-nav-button-adjust > li.nav-item.automotive-home {
    flex: 0 0 50px; /* fixed width for icon */
    background-color: transparent;
}


.automotive-mobile #SWS-mobile-nav-button-adjust > li.nav-item.automotive-products {
    flex: 1; /* equal space */
    background-color: transparent;
}


/* Products & About equal size */
.automotive-mobile #SWS-mobile-nav-button-adjust > li.nav-item.automotive-products:hover{
    background-color: var(--brand-automotive-primary-color);
    box-shadow: none;
}

.automotive-mobile #SWS-mobile-nav-button-adjust > li a.nav-item.automotive-products:hover, 
.automotive-mobile #SWS-mobile-nav-button-adjust > li a.nav-item.automotive-products:active,
.automotive-mobile #SWS-mobile-nav-button-adjust > li a.nav-item.automotive-products:focus {
    color: white;
    box-shadow: none;
}




/* Divider between items */
.automotive-mobile #SWS-mobile-nav-button-adjust > li + li:not(.collapse) {
    border-left: 1px solid var(--white-automotive-color);
}
/* Links inside nav items */
.automotive-mobile #SWS-mobile-nav-button-adjust > li > a, 
.automotive-mobile #SWS-mobile-nav-button-adjust > li > .nav-home-icon {
    display: flex;
    width: 100%;
    padding: 6px 0px;
    color: white;
    text-decoration: none;
    align-items: center;
    justify-content: space-around;
    text-transform: uppercase;
    font-size: 1.1rem;
    font-family: var(--p-automotive-font) !important;
}

.automotive-mobile .automotive-mobile-sub-nav.collapse {
  -webkit-transition: height .8s ease;
  -moz-transition: height .8s ease;
  -o-transition: height .8s ease;
  transition: height .8s ease;
}
/* Collapsible submenu */
li#mobile-sws-1,
li#mobile-sws-2 {
  width: 100%;
}
/* Submenu items */
.automotive-mobile .automotive-mobile-sub-nav.collapse ul.accordion-inner {
    margin: 0;
    padding: 0;
    list-style: none;
    border: solid var(--brand-automotive-third-color) 1px;
    border-top: none;
    background-color: white;
    border-radius: 0 0 3px 3px;
    border-bottom: solid 7px var(--brand-automotive-primary-color);
}

.automotive-whole-cateogies-list-menu-wrapper {
    display: flex;
    justify-content: space-between;
    gap: 25px;
    text-align: left;
    padding: 15px;
    font-family: var(--body-automotive-font);
}
.automotive-whole-cateogies-list-menu-wrapper a {
    font-family: var(--body-automotive-font);
    padding: 0px 0px;
}

/* Remove default list styles */
.automotive-whole-cateogies-list-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    flex: 1;
}

/* Spacing between items */
.automotive-mobile .automotive-whole-cateogies-list-menu li {
    margin-bottom: 0;
    padding: 4px 3px;
}

.automotive-mobile .automotive-whole-cateogies-list-menu li:hover {
    background-color: var(--brand-automotive-primary-color);
    color: #fff;
}


.automotive-mobile .automotive-whole-cateogies-list-menu li.dropdown-main-header-title {
    display: block;
    position: relative;
    font-family: "Oswald" !important;
}

.automotive-mobile .automotive-whole-cateogies-list-menu .dropdown-main-header-title a {
    color: var(--brand-automotive-third-color);
    font-family: "Oswald" !important;
    font-size: 1rem;
    display: block;
    width: 100%;
    height: 100%;
    padding: 0; /* match your vertical spacing */
    padding-top: 0.3em;
}


.automotive-mobile .automotive-whole-cateogies-list-menu .dropdown-main-header-title {
/*     margin-top: 1em; */
    position: relative;
    padding-top: 3px;
}

.automotive-mobile .solutions-by-application 
.automotive-whole-cateogies-list-menu 
.dropdown-main-header-title {
    margin-top: 0;      /* remove gaps */
    padding-top: 0;     /* move spacing inside the link instead */
}

.automotive-whole-cateogies-list-menu .dropdown-main-header-title::before {
    content: "";
    position: absolute;
    top: 0;
    width: 100%;  
    height: 1px;
    margin: 0 -3px !important;
    background-color: var(--brand-automotive-third-color); /* adjust color */
}


.automotive-mobile .automotive-whole-cateogies-list-menu .dropdown-main-header-title:hover {
    background-color: var(--brand-automotive-primary-color);
}

.navbar .automotive-whole-cateogies-list-menu li:hover > a {
    color: white;
}

.automotive-whole-cateogies-list-menu.col-1
.dropdown-main-header-title:first-child::before, .solutions-by-application .automotive-whole-cateogies-list-menu
.dropdown-main-header-title:first-child::before {
    display: none;
}


.automotive-mobile .automotive-whole-cateogies-list-menu .dropdown-header a {
    font-weight: 400;
    color: var(--brand-automotive-third-color);
}

    /* When the mouse leaves (no longer hovering), force-remove the background even if the focus is still active. */
    @media (hover: hover) {
        .automotive-mobile .sws-mobile-header-nav .nav > li > a:focus:not(:hover) {
            background: transparent !important;
        }
    }
    
    
.automotive-mobile .automotive-whole-cateogies-list-menu li.dropdown-header:active,
.automotive-mobile .automotive-whole-cateogies-list-menu li.dropdown-header:focus,
.automotive-mobile .automotive-whole-cateogies-list-menu li.dropdown-header:hover{
    margin-left: 0px;
    background: var(--brand-automotive-primary-color);
    color: white !important;
}

.automotive-mobile #SWS-mobile-nav-button-adjust > li > .nav-home-icon{
  padding: 7px 0;
}

/* Remove hover/active/focus effect ONLY on the Home button */
.automotive-mobile #SWS-mobile-nav-button-adjust > li > .nav-home-icon:hover,
.automotive-mobile #SWS-mobile-nav-button-adjust > li > .nav-home-icon:focus,
.automotive-mobile #SWS-mobile-nav-button-adjust > li > .nav-home-icon:active {
    background-color: transparent !important;
    color: var(--brand-automotive-buttons-color) !important;
}

.automotive-mobile .automotive-whole-cateogies-list-menu .dropdown-main-header-title.multiline-category a{ 
  display: inline-block;
  line-height: 1.2;
  vertical-align: middle;
  white-space: normal;
  word-wrap: break-word;
}

    
    
/* SUB menu STYLES */

/* ********* END HEADER ********* */

/**************************************     HEROS     ************************************************/
.carousel-top.automotive-sws-store {
  margin-top: 0px;
  width: 100vw !important;
  position: relative;
  margin-left: -50vw;
  left: 50%;
}
.row-fluid.automotive-sws-store {
  padding-top: 0;
  padding-bottom: 0;
  margin-bottom: 0;
  margin-top: 0;
}

.automotive-sws-store #myCarousel .hero-content .image-content {
    justify-content: center;
}


.automotive-sws-store #myCarousel .carousel-inner.hero-section, 
.automotive-sws-store #myCarousel .carousel-inner.hero-section-french {
    display: flex;
    align-items: flex-start;
     height: 350px; 
}
.automotive-sws-store #myCarousel .hero-content {
    margin: 0 auto;
    max-height: 350px;
}
.automotive-sws-store #myCarousel .text-content {
    padding: 0;
     width: 100%;
    max-width: 600px;
}
.automotive-sws-store #myCarousel .text-content .text-contnet-inside {
    padding: 1.5em 2em 1em 2em;
}
.automotive-sws-store #myCarousel .image-content {
  text-align: center;
}
.automotive-sws-store #myCarousel .carousel-btn {
  font-size: 0.9rem;
}
.automotive-sws-store #myCarousel .hero-content .image-content img {
    max-height: 350px;
}
/**************************************     BUTTONS     ************************************************/


/**************************************     SIDE AD     ************************************************/

.automotive-item.side-ad {
    background-position:102% 32%, 0% 0%;
    background-size: 35%, 151%;
}

.automotive-item-link:hover .automotive-item.side-ad {
    background-position:102% 32%, 0% 0%;
    background-size: 36%, 155%;
}


.automotive-item {
    min-height: 145px;
}


.side-ad-btn {
    font-size: 0.9rem;
}


.automotive-item.primary-item:not(.side-ad)::after {
    background-position: 2em 7em;
}

.automotive-item.secondary-item:not(.side-ad)::after {
    background-position: 9em 6em;
}

/* End Side Ad*/

/* ********* END BUTTONS ********* */

}

@media (min-width: 481px) and (max-width: 978px) { 

.automotive-whole-cateogies-list-menu.col-2 .dropdown-main-header-title:first-child::before {
    display: none;
}
}


@media (max-width: 768px) {
  .row-fluid.automotive-sws-store {
    padding-top: 0px;
}
/**************************************     NAV     ************************************************/
.automotive-whole-cateogies-list-menu-wrapper {
    gap: 10px;
    padding: 15px 20px;
}

/**************************************     HEADER     ************************************************/
.navbar-inner.automotive-mobile {
  margin-left: -20px;
  margin-right: -20px;
}
.automotive-mobile .span3 {
  width: 30%;
}
.automotive-mobile .span9 {
  margin-bottom: 0;
}
.automotive-mobile .mobile-search form#ProductDisplayForm {
    height: 34px;
}
/**************************************     HEROS     ************************************************/
.row-fluid.automotive-sws-store {
  padding-bottom: 0;
}
.automotive-sws-store #myCarousel .carousel-inner.hero-section, 
.automotive-sws-store #myCarousel .carousel-inner.hero-section-french {
    height: 320px;
    margin-top: 0;
    box-shadow: none;
}
.automotive-sws-store #myCarousel .hero-content {
    margin: 0 auto;
    max-height: 320px;
}
.automotive-sws-store #myCarousel .text-content .text-contnet-inside {
    padding: 1em 1em 0.5em 1.5em;
    box-shadow: none !important;
}
.automotive-sws-store #myCarousel .hero-content .image-content img {
    box-shadow: none;
    max-height: 320px; 
} 

.supplier-logo {
    box-shadow: none !important;
    overflow: hidden;
}

.supplier
.carousel-indicators {
  margin-bottom: 10px;
}

.automotive-sws-store #myCarousel h2 {
    font-size: clamp(1.2rem, 2.3vw, 1rem);
}


/**************************************     BUTTONS     ************************************************/
/* Hide Side ad */
.automotive-grid-container > a:nth-child(12),
.side-ad { 
  display: none !important;
}

/* Rebuild the GRID "ad" */
.automotive-grid-container {
  grid-template-columns: repeat(3, 1fr);
  grid-template-areas:
  "b1 b2 b3"
  "b4 b5 b6"
  "b7 b8 b9"
  "b10 b11 .";
  gap: 8px;
  width: 100%;
  padding: 0;
}

.automotive-item.primary-item:not(.side-ad)::after, .automotive-item.secondary-item:not(.side-ad)::after {
    background-position: 5em 6em;
    background-size: 70%;
}



/* ********* END BUTTONS ********* */

/* *******APPLICATIONS section ****** */

.automotive-application-section .automotive-cat-row .automotive-cat-col {
    width: 33% !important;
    margin-left: 0 !important;
    padding: 0 2px;
    margin-bottom: 5px !important;
}

.automotive-application-section .automotive-cat-row .automotive-cat-col:last-child {
    padding-right: 2px;
}

}



@media (max-width: 600px) {
/**************************************     HEADER     ************************************************/
.automotive-mobile .mobile-search form#ProductDisplayForm {
    height: 34px;
    width: 99%;
    float: left;
}
.automotive-mobile .mobile-search form#ProductDisplayForm button.btn.btn-default {
    right: -5px;
}
/**************************************     NAV     ************************************************/
.automotive-mobile .nav-home-icon-svg {
    width: 16px;
    height: 16px;
    padding: 2px;
}
.automotive-mobile #SWS-mobile-nav-button-adjust > li > a {
    padding: 7px 0px;
}
/**************************************     HERO     ************************************************/
.row-fluid.automotive-sws-store {
  padding-top: 4px;
}
.automotive-sws-store #myCarousel .carousel-inner.hero-section, 
.automotive-sws-store #myCarousel .carousel-inner.hero-section-french {
    height: 600px;
}
.automotive-sws-store #myCarousel .hero-content {
    margin: 0.2em auto;
    display: flex;
    flex-direction: column-reverse;
    max-height: 600px;
}

.automotive-sws-store #myCarousel h2 {
    font-size: clamp(1.4rem, 2.5vw, 1.3rem);
}



.automotive-sws-store #myCarousel .carousel-inner, .automotive-sws-store #myCarousel .carousel-inner .item, .automotive-sws-store #myCarousel .carousel-inner .carousel-item, .automotive-sws-store #myCarousel .hero-section {
    height: 600px;
}

.automotive-sws-store #myCarousel .hero-section {
    width: 100%;
    background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0.7) 10%, rgba(255, 255, 255, 0) 90%),
  url(/images/pages/automotive/automotive-bckgr.webp);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    justify-content: center;
    margin-top: -7px;
}

.automotive-sws-store #myCarousel .text-content {
    max-width: unset;
/*     margin-top: 1.5em; */
    margin: 1.5em;
}
.automotive-sws-store #myCarousel .text-content .text-contnet-inside {
    padding: 1em;
    height: 100%;
}

.automotive-sws-store #myCarousel .text-content .text-contnet-inside::after {
    bottom: -50%;   /* pushes image down */
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url(/images/pages/automotive/automotive-icon-white.png);
    background-repeat: no-repeat;
    background-position: right bottom;
    background-size: contain;
    opacity: 0.15;   /*15% transparency */
    pointer-events: none;
}

.supplier-logo {
    width: 60%;
    margin-bottom: 0.5em;
}
.automotive-sws-store #myCarousel h2 {
    margin: 10px 0 18px;
}
.about-automotive-main-content h2 {
    line-height: 1.3;
}
.automotive-sws-store #myCarousel .carousel-btn {
    font-size: 1rem;
    padding: 16px;
}
 .automotive-sws-store #myCarousel .hero-content .image-content {
    width: clamp(240px, 30vw, 270px);
    text-align: center;
    overflow: hidden;
}
.automotive-sws-store #myCarousel .hero-content .image-content img {
    box-shadow: none;
    max-height: unset;
    height: 100%;
    width: auto;
    object-fit: contain;
    transition: transform 0.8s ease-in-out;
}



/**************************************     BUTTONS     ************************************************/
.automotive-application-img {
    height: 100px;
}
/* ********* END BUTTONS ********* */
/**************************************     ABOUT PAGE     ************************************************/
.about-automotive-hero {
    padding: 50px 0 !important;
    margin-bottom: 2.8em;
    margin-bottom: 40px;
}
.about-automotive-container p {
    line-height: 1.5;
}
.about-automotive-container {
    margin: 0 auto 10px !important;
}

}


@media (max-width: 480px) {
/**************************************     HEADER     ************************************************/
.automotive-mobile .span3 {
  width: 35%;
} 
/**************************************     SEARCH BAR     ************************************************/
.automotive-mobile .mobile-search button .nav-search-icon-svg {
    width: 23px;
}
.automotive-mobile .input-append input {
  font-size: 13px !important;
}
/**************************************     NAV     ************************************************/
.automotive-whole-cateogies-list-menu-wrapper {
    display: flex;
    justify-content: space-between;
    flex-direction: column;
}

.automotive-whole-cateogies-list-menu.col-1 
.dropdown-main-header-title:first-child::before {
    display: none;
}

/**************************************     HERO     ************************************************/
.carousel-top.automotive-sws-store {
  padding-bottom: 0em;
}

.automotive-sws-store #myCarousel h2 {
    margin: 5px 0;
}
/**************************************     BUTTONS     ************************************************/
.automotive-grid-container {
  grid-template-columns: repeat(2, 1fr);
  grid-template-areas: 
  "b1 b2" 
  "b3 b4" 
  "b5 b6" 
  "b7 b8" 
  "b9 b10"
  "b11 .";
  width: 100%;
  gap: 8px;
}


/* ********* END BUTTONS ********* */


/* ********* APPLICATIONS section ********* */
.automotive-application-section .automotive-cat-row .automotive-cat-col {
    width: 50% !important;
    margin-left: 0 !important;
    padding: 0 2px;
}
 
/* ********* END APPLICATIONS section ********* */
}

@media (max-width: 399px) {
/**************************************     HEADER     ************************************************/
.automotive-mobile .logo-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  gap: 8px;
  align-items: center;
}
.automotive-mobile .span3 {
    width: 50%;
}

.automotive-mobile .logo-wrapper .span3 a{
  display: flex;
}
.automotive-mobile .span9 {
  margin-bottom: 10px;
  width: 100%;
}

/**************************************     NAV     ************************************************/
.automotive-mobile #SWS-mobile-nav-button-adjust > li.nav-item.automotive-home {
  flex: 0 0 30px;
}
.automotive-mobile #SWS-mobile-nav-button-adjust > li > a, 
.automotive-mobile #SWS-mobile-nav-button-adjust > li > .nav-home-icon {
  font-size: 0.9rem;
  
}
.automotive-mobile #SWS-mobile-nav-button-adjust > li > a {
    padding: 6px 0px;
}
.automotive-mobile .nav-home-icon-svg {
    width: 14px;
    height: 14px;
}
/**************************************     HERO     ************************************************/

/**************************************     BUTTONS     ************************************************/

/* ********* END BUTTONS ********* */
/**************************************     ABOUT PAGE     ************************************************/
}


@media (max-width: 329px) {
/**************************************     HEADER     ************************************************/
.navbar-inner.automotive-mobile {
  padding-bottom: 0px;
}
.automotive-mobile .span9 {
  margin-bottom: 5px;
}
.automotive-mobile .sws-mobile-header-nav .nav > li > a {
  font-size: 0.8em;
}
/**************************************     SEARCH BAR     ************************************************/

/**************************************     HERO     ************************************************/

/**************************************     BUTTONS     ************************************************/
.automotive-grid-container {
  grid-template-columns: repeat(1, 1fr);
  grid-template-areas: 
  "b1"
  "b2" 
  "b3" 
  "b4" 
  "b5"
  "b6" 
  "b7" 
  "b8" 
  "b9" 
  "b10"
  "b11";
  width: 100%;
}

.automotive-application-section .automotive-cat-row .automotive-cat-col {
    width: 100% !important;
    margin-left: 0 !important;
    padding: 0 2px;
}
/* ********* END BUTTONS ********* */
/**************************************     ABOUT PAGE     ************************************************/

}