/* Top level */
.row.top-level{
  margin: 0;
  /* padding: 0 10px; */
  margin-top: 10px;
}
/* .row.top-level a:first-of-type{
  margin: 0;
} */
.row.top-level a{
  display: inline-block;
  padding: 7px 10px;
  font-size: 13px;
}
.cats h3.dropdown-toggle{
  font-size: 13px;
}
.row.top-level a.active, .row.top-level a:hover{
  background: #ff6600;
  color: #fff;
  text-decoration: none;
  cursor: pointer;
}
a.active{
  pointer-events: none;
}
/* Show orange by default */
.category-enable img.orange {
  display: inline-block;
  height: auto; /* Preserve aspect ratio */
}

/* Hide white by default */
.category-enable img.white {
  display: none;
  height: auto; /* Preserve aspect ratio */
}

/* Show white by default on active category */
.category-enable.active img.white {
  display: inline-block;
}

/* Hide orange on hover */
.category-enable:hover img.orange {
  display: none;
}

/* Show white on hover */
.category-enable:hover img.white {
  display: inline-block;
}

/* Active category - hide orange and adjust its size */
.category-enable.active img.orange {
  display: none;
}

.category-enable img {
  max-width: 16px;
  width: 16px;
  height: 16px;  
  margin-right: 4px;
  display: inline-block;
  vertical-align: middle; /* Keep images aligned */
}


/* Speed up Bootstrap collapse */
.collapse {
  transition: height 0.2s ease-in-out !important;
}

.sub-group .toggle-title{
  padding: 3px 10px;
  position: relative;
}
.sub-group .toggle-title .dropdown-icon{
  padding-left: 5px;
}
.toggle-content{
  padding-left: 15px!important;
}

/*  */
.products .dropdown-menu{
  padding: 0;

}
.row.cats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin-right: 0;
    margin-left: 0;
}
@media only screen and (max-width: 767px) {
  .row.cats {
    display: grid;
    grid-template-columns: 1fr 300px;
  }
}
@media only screen and (max-width: 650px) {
  .row.cats {
    display: grid;
    grid-template-columns: 1fr;
  }
  .row.cats #image-container{
    display: none;
  }
}
.row.cats .column-grid{
      order: 1;
}
.row.cats #image-container{
  order: 2;
}


/* Hide all dropdown menus by default */
.collapse,.top-collapse {
  display: none;
}
.in{
  display: block;
}

/* Style the h3 elements with the icon */
h3.dropdown-toggle {
  cursor: pointer;
  position: relative;
}

h3.dropdown-toggle .dropdown-icon {
  position: absolute;
  right: 10px;
  top: 0;
  font-size: 16px;
}

/* Styles for the collapse effect */
.collapse.show {
  display: block;
}

.collapse ul {
  padding-left: 20px;
}

.collapse h5 {
  font-size: 13px;
  color: #555;
}

.view-all-products {
  font-size: 13px;
  color: #ff6600;
}

.view-all-products i {
  margin-right: 5px;
}

.dropdown.yamm-fw.products .dropdown-menu{
  padding-left: 0;
}

.dropdown.yamm-fw.products .group h3{
  /* margin: 10px 0;
  padding: 5px 10px;
  background: #EC7C41;
  color: #fff;
  border-bottom: 1px solid #3F3F42; */

  margin: 10px 0;
  padding: 5px 10px;
  background: #fff;
  color: inherit;
  border-bottom: 1px solid #d7d7d7;
}

.dropdown.yamm-fw.products .group h3 span{
  position: absolute;
  right: 10px;
  /* top: 5px; */
  /* color: #fff; */
  color: inherit;
  top: 8px;
}

.yamm-content a.view-all-products {
  border-bottom: 1px solid #ff6600;
  color: #ff6600;
}

.yamm-content a.view-all-products:hover {
  text-decoration: none;
  opacity: 0.9;
}

.yamm-content a.view-all-products {
  background: #3F3F42;
  border-bottom: 2px solid #ff6600;
  color: #fff;
  padding: 10px;
  position: relative;
  margin: 0;
}

.yamm-content a.view-all-products i {
  color: #ff6600;
  position: absolute;
  right: 0;
  top: 16px;
  right: 10px;
  font-size: 13px;
}

.dropdown.yamm-fw.products .menu-group{
  /* padding: 0 5px; */
}

/* image */
.dropdown.yamm-fw.products #image-container {
  display: none;
  position: relative;
  margin: 0 auto;  
  padding-top: 30px;
}

.dropdown.yamm-fw.products #hovered-image {
  max-width: 400px;
  height: 250px;
  object-fit: cover;
  /* position: absolute;
  right: 15px;
  top: 10px; */
}

.dropdown-menu .yamm-content .row:last-of-type{
  min-height: 265px;
}

.which-product .bx-viewport{
  height: auto!important;
}