main {
  background-color: var(--background);
  color: var(--white);
}

.navbarRest {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 29px;
  border-bottom: 0.5px solid #626262;
  background-color: var(--background);
  padding-right: 38px;
  padding-left: 40px;
  padding-top: 45px;
}

.body_section {
  background-color: var(--background);
  position: relative;
  padding-top: 25px;
  /* padding: 86px 100px 40px 40px; */
  color: var(--white);
  /* max-width: 1920px; */
  min-height: 500px;
  max-width: 1430px;
  margin: 0 auto;
  padding-bottom: 50px !important;
}

.tabs_container {
  width: 100%;
  display: flex;
  margin-top: 42px;
}

/* Left side */
.tabs {
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
}

.tab {
  /* width: 398px; */
  width: 100%;
  height: 70px;
  background-color: var(--productTitleBackground);
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  cursor: pointer;
  padding-left: 20px;
  padding-right: 20px;
    border-radius: 7px;
}

[data-tab-content] {
  display: none;
}

.active_tab[data-tab-content] {
  display: block;
  width: 100%;
}

.tab.active_tab {
  background-color: var(--red);
}

.tab:hover {
  background-color: #aaa;
}

.tab-content {
  margin-left: 20px;
  margin-right: 20px;
  width: 100%;
}

.cards {
  width: 100%;

  display: flex;
  flex-flow: row wrap;
  /* justify-content: space-between; */
  gap: 20px;
}

.cards > a {
  width: 32%;
}

.card_product {
  max-width: 430px;
  max-height: 505px;
  border: 1px solid var(--footerText);
  padding: 30px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-direction: column;
    border-radius: 7px;
}

.card_image {
  width: 370px;
  height: 250px;
  object-fit: contain;
  background: white;
    border-radius: 5px;
}

.card_name{
  margin-top: 50px;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

#content {
  width: 100%;
  background-color: red;
}

.button_load_more {
  width: 266px;
  height: 50px;
  border: 1px solid var(--white);
  border-radius: var(--borderRadiusButtons);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 79px auto 83px auto;
  cursor: pointer;
}

.button_load_more:hover {
  transform: translateY(-1px);
  transition: 0.3s;
}
.visibleTabs{
  display: flex !important;
}
.hiddenTrigger{
  display: none;
}
@media only screen and (max-width: 1500px) {
  .body_section {
    padding: 25px 50px 40px 50px;
    margin-inline: auto;
  }
  .card_image {
    width: 100%;
    /* height: 180px; */
}
.tabs ul{
  padding-left: 0px;
}
.cards > a{
  width: 48%;
  height: 100%;
}
.card_product{
  max-width: unset;
  max-height: unset;
 
}
}
@media only screen and (max-width: 1366px) {
    .card_image {
      width: 100%;
  }

}
@media only screen and (max-width: 1280px) {
    .card_image {
      width: 100%;
      /* height: 100%; */
  }
  .tabs_container {
    flex-direction: column;
  }
  .cards > a{
    width: 48%;
  }
  .tabs UL{
    padding-left: 0px;
  }
  .tab-content {
    margin-left: 0px;
    margin-right: 0px;
}
.cards {
  flex-direction: row;
}
.tab:not(.hiddenTrigger){
  display: none;
}
.hiddenTrigger{
  transition: 300ms;
  background-color: var(--red);
  display: flex;
  justify-content: space-between;
border-radius: 7px;
}
.greyBkg{
  background-color: #2b2b2b;
}
.hiddenTrigger img{
  transition: 300ms;
}
.rotateArrow{
  transform: rotate(180deg);
}
}
@media only screen and (max-width: 1200px) {
  .body_section {
    padding-bottom: 30px;
    padding-top: 25px;
  }
  
}

@media only screen and (max-width: 900px) {
  .body_section {
    padding-bottom: 30px;
    padding-top: 17px;
  }
  .tabs_container {
    flex-direction: column;
  }

  .tabs {
    width: 100%;
  }

  .tab-content {
    margin: 0;
  }

  .button_load_more {
    margin-top: 50px;
    margin-bottom: 0;
  }
}

@media only screen and (max-width: 768px) {
  .cards > a{
    width: 48%;
  }
}
@media only screen and (max-width: 620px) {
  .cards > a {
    width: 100%;
  }
  .card_image {
    height: 250px;
  }
  .body_section {
    padding: 17px 15px 30px 15px;
    }
}