/**
    * Get the font size from the font size map
    * @param {string} $element - Element name
    * @param {string} $device - Device name
    * @return {string} - Font size
    */
.product-brands-block {
  margin-top: 150px;
}
@media only screen and (min-width: 1280px) and (max-width: 1499px) {
  .product-brands-block {
    margin-top: 120px;
  }
}
@media only screen and (min-width: 768px) and (max-width: 1279px) {
  .product-brands-block {
    margin-top: 75px;
  }
}
@media only screen and (max-width: 767px) {
  .product-brands-block {
    margin-top: 50px;
  }
}
.product-brands-block .container h2 {
  margin: 0 0 20px;
}
.product-brands-block .container h2 {
  font-size: 2.25rem;
}
@media only screen and (min-width: 1280px) and (max-width: 1499px) {
  .product-brands-block .container h2 {
    font-size: 2rem;
  }
}
@media only screen and (min-width: 768px) and (max-width: 1279px) {
  .product-brands-block .container h2 {
    font-size: 1.75rem;
  }
}
@media only screen and (max-width: 767px) {
  .product-brands-block .container h2 {
    font-size: 1.5rem;
  }
}
.product-brands-block .container h2 {
  color: var(--text-color);
  font-family: "Syne", s-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  font-weight: 700;
  line-height: 1.2;
}
@media only screen and (min-width: 768px) and (max-width: 1279px) {
  .product-brands-block .container h2 {
    margin-bottom: 16px;
  }
}
@media only screen and (max-width: 767px) {
  .product-brands-block .container h2 {
    margin-bottom: 12px;
  }
}
.product-brands-block .container .tabs {
  display: flex;
  gap: 48px;
  align-items: center;
}
@media only screen and (min-width: 1280px) and (max-width: 1499px) {
  .product-brands-block .container .tabs {
    gap: 32px;
  }
}
@media only screen and (min-width: 768px) and (max-width: 1279px) {
  .product-brands-block .container .tabs {
    gap: 24px;
    align-items: flex-start;
  }
}
@media only screen and (max-width: 767px) {
  .product-brands-block .container .tabs {
    flex-direction: column;
    gap: 20px;
  }
}
.product-brands-block .container ul.product-brands-list {
  list-style: none;
  padding: 0;
  margin: 0;
  flex: 1.1;
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 0;
}
@media only screen and (min-width: 768px) and (max-width: 1279px) {
  .product-brands-block .container ul.product-brands-list {
    flex: 1;
  }
}
.product-brands-block .container ul.product-brands-list li {
  border-bottom: 1px solid #e0e0e0;
  width: 100%;
}
.product-brands-block .container ul.product-brands-list li:last-child {
  border-bottom: none;
}
.product-brands-block .container ul.product-brands-list li a {
  display: flex;
  align-items: flex-start;
  gap: 23px;
  text-decoration: none;
  padding: 12px 0;
  cursor: pointer;
  transition: all 0.3s ease;
}
@media only screen and (min-width: 1280px) and (max-width: 1499px) {
  .product-brands-block .container ul.product-brands-list li a {
    gap: 20px;
    padding: 11px 0;
  }
}
@media only screen and (min-width: 768px) and (max-width: 1279px) {
  .product-brands-block .container ul.product-brands-list li a {
    gap: 16px;
    padding: 14px 0;
  }
}
@media only screen and (max-width: 767px) {
  .product-brands-block .container ul.product-brands-list li a {
    gap: 14px;
    padding: 14px 0;
  }
}
.product-brands-block .container ul.product-brands-list li a::before {
  content: "";
  width: 35px;
  height: 35px;
  background-image: url("data:image/svg+xml,%3Csvg width='35' height='16' viewBox='0 0 35 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cline y1='0.5' x2='34.2421' y2='0.5' stroke='%23212121'/%3E%3Cline y1='14.834' x2='34.2421' y2='14.834' stroke='%23212121'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: 35px 16px;
  background-position: center;
  flex-shrink: 0;
  transition: background-image 0.3s ease;
  margin-top: -3px;
}
@media only screen and (max-width: 767px) {
  .product-brands-block .container ul.product-brands-list li a::before {
    width: 28px;
    height: 28px;
    background-size: 28px 13px;
  }
}
.product-brands-block .container ul.product-brands-list li a.active::before {
  background-image: url("data:image/svg+xml,%3Csvg width='35' height='35' viewBox='0 0 35 35' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cline y1='17.0193' x2='34.2421' y2='17.0193' stroke='%23212121'/%3E%3Cline x1='17.625' y1='2.18557e-08' x2='17.625' y2='34.2421' stroke='%23212121'/%3E%3C/svg%3E");
  background-size: 29px 29px;
}
.product-brands-block .container ul.product-brands-list li a.active h3 {
  color: var(--text-color);
  font-weight: 500;
}
.product-brands-block .container ul.product-brands-list li a.active p {
  max-height: 2.8em;
  opacity: 1;
  margin-top: 6px;
}
.product-brands-block .container ul.product-brands-list li a .content,
.product-brands-block .container ul.product-brands-list li a .tab-content {
  flex: 1;
  min-width: 0;
}
.product-brands-block .container ul.product-brands-list li a img {
  display: none;
}
.product-brands-block .container ul.product-brands-list li a h3 {
  margin: 0;
  font-size: 23px;
  line-height: 1.25;
  color: var(--text-color);
  font-family: "DM Sans", s-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  font-weight: 400;
  transition: all 0.3s ease;
}
@media only screen and (min-width: 768px) and (max-width: 1279px) {
  .product-brands-block .container ul.product-brands-list li a h3 {
    font-size: 1.25rem;
  }
}
@media only screen and (min-width: 768px) and (max-width: 1279px) and (min-width: 1280px) and (max-width: 1499px) {
  .product-brands-block .container ul.product-brands-list li a h3 {
    font-size: 1rem;
  }
}
@media only screen and (min-width: 768px) and (max-width: 1279px) and (min-width: 768px) and (max-width: 1279px) {
  .product-brands-block .container ul.product-brands-list li a h3 {
    font-size: 1rem;
  }
}
@media only screen and (min-width: 768px) and (max-width: 1279px) and (max-width: 767px) {
  .product-brands-block .container ul.product-brands-list li a h3 {
    font-size: 1rem;
  }
}
.product-brands-block .container ul.product-brands-list li a p {
  margin: 0;
  font-size: 19px;
  line-height: 1.35;
  color: rgba(33, 33, 33, 0.4705882353);
  font-family: "DM Sans", s-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: all 0.3s ease;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
}
@media only screen and (min-width: 768px) and (max-width: 1279px) {
  .product-brands-block .container ul.product-brands-list li a p {
    font-size: 15px;
  }
}
.product-brands-block .container .brand-images {
  position: relative;
  flex: 1;
  min-width: 0;
  max-width: 620px;
  height: 75vh;
  max-height: 75vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
@media only screen and (min-width: 1280px) and (max-width: 1499px) {
  .product-brands-block .container .brand-images {
    max-width: 520px;
  }
}
@media only screen and (min-width: 768px) and (max-width: 1279px) {
  .product-brands-block .container .brand-images {
    max-width: 42%;
    flex-shrink: 0;
    height: auto;
    max-height: none;
    align-items: flex-start;
  }
}
@media only screen and (max-width: 767px) {
  .product-brands-block .container .brand-images {
    max-width: 100%;
    width: 100%;
    height: auto;
    max-height: none;
  }
}
.product-brands-block .container .brand-images img {
  width: 100%;
  height: 75vh;
  max-height: 75vh;
  display: block;
  border-radius: 8px;
  transition: opacity 0.3s ease;
  object-fit: cover;
  object-position: center;
  aspect-ratio: auto;
}
@media only screen and (min-width: 768px) and (max-width: 1279px) {
  .product-brands-block .container .brand-images img {
    height: auto;
    max-height: none;
    aspect-ratio: 650/790;
  }
}
@media only screen and (max-width: 767px) {
  .product-brands-block .container .brand-images img {
    max-height: 420px;
    aspect-ratio: 4/3;
  }
}
