:root {
  --evo-brand-secondary: #1B9473;
  --evo-brand-accent: #E6EFFB;
  --evo-header-background: #fff;
}
.header-links .vertical-align {
  justify-content: flex-end;
}
nav.menu .additional_links .menuitem a,
nav.menu .cd-dropdown-wrapper .cd-dropdown-trigger{
  color: #fff;
}
nav.menu .additional_links .menuitem a:focus-visible, 
nav.menu .additional_links .menuitem a:hover {
  color: #ccc;
}
nav.menu .cd-dropdown-wrapper .cd-dropdown-trigger::after, 
nav.menu .cd-dropdown-wrapper .cd-dropdown-trigger::before {
  background: #fff;
}
header .widgetlogo .logo {
  padding-block: 10px 30px;
}
header.header-full, 
.header-wrapper {
    margin-bottom: 0;
}

/* ===== MH slyling navlinks if more than 5 ===== */
.header-full .catalog-block .cd-dropdown-wrapper .cd-dropdown-content .cd-secondary-dropdown > li.has-children ul {
  overflow: hidden;
  min-height: 110px; /* adjust if you want to show more or less items */
}
 
.header-full .catalog-block .cd-dropdown-wrapper .cd-dropdown-content .cd-secondary-dropdown > li.has-children.collapsible {
  display: grid;
  grid-template-rows: min-content 0fr min-content;
  cursor: default;
}
 
.header-full .catalog-block .cd-dropdown-wrapper .cd-dropdown-content .cd-secondary-dropdown > li.has-children.active {
  grid-template-rows: min-content max-content min-content;
}
.header-full .catalog-block .cd-dropdown-wrapper .cd-dropdown-content .cd-secondary-dropdown > li.has-children.collapsible span::after {
  padding-left: 15px;
  content: "Show more >";
  transition: color 0.35s ease;
  font-weight: 900;
}
 
.header-full
  .catalog-block
  .cd-dropdown-wrapper
  .cd-dropdown-content
  .cd-secondary-dropdown
> li.has-children.collapsible.active
  span::after {
  content: "Show less >";
}
 
.header-full .catalog-block .cd-dropdown-wrapper .cd-dropdown-content .cd-secondary-dropdown > li.has-children.collapsible span {
  padding-top: 7px;
  font-size: 0.85rem;
  cursor: pointer;
}
 
.header-full
  .catalog-block
  .cd-dropdown-wrapper
  .cd-dropdown-content
  .cd-secondary-dropdown
> li.has-children.collapsible
  span:hover::after {
  color: #ff9900;
}
 
@media only screen and (min-width: 769px) {
  .cd-dropdown-content > .has-children > ul {
    overflow-y: auto;
    flex-direction: row;
  }
  .cd-dropdown-content > li > ul.cd-secondary-dropdown {
    padding-right: 10px;
  }
}
/* ===== End ===== */



/* Brand Carousel - Different Background for Each Brand */
.row-brands {
  position: relative;
  padding: 2em 0;
}

/* Individual brand backgrounds */
.row-brands .tileparent:nth-child(1) .tile a {
  background-image: url("https://us.evocdn.io/dealer/1659/content/media/Brand_Backgrounds/Summit_behindlogos.png");
}

.row-brands .tileparent:nth-child(2) .tile a {
  background-image: url("https://us.evocdn.io/dealer/1659/content/media/Brand_Backgrounds/Summit_behindlogos.png");
}

.row-brands .tileparent:nth-child(3) .tile a {
  background-image: url("https://us.evocdn.io/dealer/1659/content/media/Brand_Backgrounds/Summit_behindlogos.png");
}

.row-brands .tileparent:nth-child(4) .tile a {
  background-image: url("https://us.evocdn.io/dealer/1659/content/media/Brand_Backgrounds/Summit_behindlogos.png");
}

.row-brands .tileparent:nth-child(5) .tile a {
  background-image: url("https://us.evocdn.io/dealer/1659/content/media/Brand_Backgrounds/Summit_behindlogos.png");
}

.row-brands .tileparent:nth-child(6) .tile a {
  background-image: url("https://us.evocdn.io/dealer/1659/content/media/Brand_Backgrounds/Summit_behindlogos.png");
}

.row-brands .tileparent:nth-child(7) .tile a {
  background-image: url("https://us.evocdn.io/dealer/1659/content/media/Brand_Backgrounds/Summit_behindlogos.png");
}

.row-brands .tileparent:nth-child(8) .tile a {
  background-image: url("https://us.evocdn.io/dealer/1659/content/media/Brand_Backgrounds/Summit_behindlogos.png");
}

.row-brands .tileparent:nth-child(9) .tile a {
  background-image: url("https://us.evocdn.io/dealer/1659/content/media/Brand_Backgrounds/Summit_behindlogos.png");
}

.row-brands .tileparent:nth-child(10) .tile a {
  background-image: url("https://us.evocdn.io/dealer/1659/content/media/Brand_Backgrounds/Summit_behindlogos.png");
}

.row-brands .tileparent:nth-child(11) .tile a {
  background-image: url("https://us.evocdn.io/dealer/1659/content/media/Brand_Backgrounds/Summit_behindlogos.png");
}

.row-brands .tileparent:nth-child(12) .tile a {
  background-image: url("https://us.evocdn.io/dealer/1659/content/media/Brand_Backgrounds/Summit_behindlogos.png");
}

/* Common styling for all brand tiles */
.row-brands .tileparent {
  width: 16.66%; /* 6 items per row */
  padding: 15px;
}

.row-brands .tile a {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: rgba(255, 255, 255, 0.85);
  border-radius: 20px;
  border: 2px solid transparent;
  transition: all 0.35s ease;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 auto;
  width: 250px !important;   /* Wider - adjust to your preference */
  height: 200px !important;  /* Shorter height for rectangle shape */
  position: relative;
  box-sizing: border-box;
}

/* Force centering of the image container */
.row-brands .tile a > div {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  height: 100% !important;
}

/* Force centering of the image itself */
.row-brands .tile a img,
.row-brands .tile a .imgthumbnail {
  max-width: 150px !important;  /* Larger to match bigger box */
  max-height: 100px !important; /* Larger to match bigger box */
  width: auto !important;
  height: auto !important;
  object-fit: contain !important;
  display: block !important;
  margin: 0 auto !important;
  position: relative !important;
  top: 0 !important;
  left: 0 !important;
  transform: none !important;
}

.row-brands .tile a:hover {
  border-color: #ccc;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Responsive adjustments */
@media only screen and (max-width: 991px) {
  .row-brands .tileparent {
    width: 25%; /* 4 items per row on tablet */
  }

  .row-brands .tile a {
    width: 170px !important;
    height: 120px !important;
  }

  .row-brands .tile a img,
  .row-brands .tile a .imgthumbnail {
    max-width: 120px !important;
    max-height: 80px !important;
  }
}

@media only screen and (max-width: 768px) {
  .row-brands .tileparent {
    width: 33.33%; /* 3 items per row on mobile */
  }

  .row-brands .tile a {
    width: 140px !important;
    height: 100px !important;
  }

  .row-brands .tile a img,
  .row-brands .tile a .imgthumbnail {
    max-width: 100px !important;
    max-height: 70px !important;
  }
}

@media only screen and (max-width: 500px) {
  .row-brands .tileparent {
    width: 50%; /* 2 items per row on small mobile */
  }

  .row-brands .tile a {
    width: 120px !important;
    height: 90px !important;
  }

  .row-brands .tile a img,
  .row-brands .tile a .imgthumbnail {
    max-width: 80px !important;
    max-height: 60px !important;
  }
}


.attr_item_width {
    display: none;
}
.attr_item_length {
    display: none;
}
.attr_item_depth {
    display: none;
}