﻿/*@mixin respond-to($breakpoint) {
  @if $breakpoint == 340 { @media (max-width: 340px) { @content; } }
  @else if $breakpoint == 360 { @media (max-width: 360px) { @content; } }
  @else if $breakpoint == 480 { @media (max-width: 480px) { @content; } }
  @else if $breakpoint == 575 { @media (max-width: 575px) { @content; } }
  @else if $breakpoint == 767 { @media (max-width: 767px) { @content; } }
  @else if $breakpoint == 991 { @media (max-width: 991px) { @content; } }
  @else if $breakpoint == 1199 { @media (max-width: 1199px) { @content; } }
  @else if $breakpoint == 1399 { @media (max-width: 1399px) { @content; } }

  @else if $breakpoint == min-1200 { @media (min-width: 1200px) { @content; } }
}*/
.product-details .part-number {
  margin: 0 0 12px;
  font-size: 2.5rem;
  font-weight: 600;
}
.product-details .part-number .status-text {
  font-size: 14px;
  line-height: 15px;
  color: #ef0f0f;
  font-weight: 400;
}
.product-details .title {
  font-weight: normal !important;
  margin-bottom: 15px;
}
.product-details .section-heading h4 {
  font-weight: bold;
  font-size: 24px;
  margin-bottom: 20px;
  text-align: left;
  color: #000000;
  border-bottom: 1px solid #ddd;
  padding-bottom: 10px;
}
.product-details .product-desc {
  width: 100%;
  margin-bottom: 40px;
}
.product-details .product-desc .section-heading h4 {
  font-size: 20px !important;
}
.product-details .product-specs .table {
  color: #4c4c4c;
}
.product-details .product-specs .table tr td {
  color: #4c4c4c;
}
.product-details .product-specs .table tr td:first-child {
  min-width: 200px;
}
.product-details .product-specs .table tr.group-name th {
  color: #4c4c4c;
  font-size: 20px;
}
.product-details .product-img {
  width: 100%;
  min-width: 100%;
  border: 1px solid #ddd;
  -webkit-border-radius: 6px;
  -moz-border-radius: 6px;
  border-radius: 6px;
  display: flex;
  justify-content: center;
  align-items: center;
  aspect-ratio: 1/1;
  overflow: hidden;
}
.product-details .product-img img {
  object-fit: cover;
  -webkit-object-fit: cover;
  object-position: center;
  -webkit-object-position: center;
  width: 100%;
  height: 100%;
  min-height: 100%;
}
.product-details .new-price-btns {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 1.5rem;
}
.product-details .new-price-btns a {
  display: flex;
  justify-content: start;
  gap: 10px;
  align-items: center;
  background-color: #cae2e4;
  border-color: #004976;
  color: #004976;
  font-size: 1.5rem !important;
}
.product-details .new-price-btns a:hover, .product-details .new-price-btns a:focus {
  background-color: rgb(185.10625, 216.75625, 219.39375);
  color: #004976;
}
.product-details .new-price-btns .source-logo {
  height: 35px;
}

/* ---------- MORE IMAGES ---------- */
.more-image {
  width: 100%;
  margin-bottom: 5px;
  text-align: center;
}
.more-image ul li {
  display: inline-block;
  width: 75px;
  height: 75px;
  margin: 10px 4px 0 4px;
  border: 1px solid #ddd;
  cursor: pointer;
}
.more-image ul li a {
  position: relative;
  height: 100%;
  width: 100%;
  display: block;
}

.image {
  position: relative;
  width: 100%;
  height: 200px;
  background-position: center;
  display: block;
  overflow: hidden;
  border-radius: 4px;
}
.image img {
  max-height: 100%;
  max-width: 100%;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  margin: auto;
}

/* ---------- DOWNLOAD & HOME LISTING ---------- */
.datasheet-download-msg {
  padding: 30px !important;
}

.home-prod-listing .image {
  height: 220px;
}

/* ---------- RELATED PRODUCTS ---------- */
.related-products {
  margin-bottom: 20px;
}
.related-products h3 {
  margin: 20px 0;
  padding: 8px 0;
  border-bottom: 1px solid #ddd !important;
  font-weight: 400 !important;
}
.related-products .single-prod {
  margin-bottom: 20px;
  background-color: #fafafa;
  border: 1px solid #ddd;
  padding: 10px;
  width: 100%;
  text-align: center;
}
.related-products .single-prod h4 {
  margin: 0;
}
.related-products .single-prod .image {
  height: 200px;
  margin-bottom: 6px;
}
.related-products .single-prod .image img {
  max-height: 100%;
  max-width: 100%;
}

/* ---------- FIXED RIGHT PANEL ---------- */
.fixed-right {
  position: fixed;
  width: 360px;
  top: 80px;
}

/* ---------- ADDITIONAL DOCS ---------- */
.additional-docs {
  margin-bottom: 0 !important;
  box-shadow: none !important;
}
.additional-docs .panel-body {
  max-height: 160px;
  overflow: auto;
}
.additional-docs .prod-btn {
  position: relative;
}
.additional-docs .prod-btn:after {
  line-height: 1;
  font-family: FontAwesome;
  position: absolute;
  right: 15px;
  top: 50%;
  content: "\f146";
  font-size: 14px;
  font-weight: 300;
  margin-top: -7px;
}
.additional-docs .prod-btn.collapsed:after {
  content: "\f0fe";
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1200px) {
  .fixed-right {
    width: 293px !important;
  }
  .more-image ul li {
    width: 60px !important;
    height: 60px !important;
  }
}
@media (max-width: 991px) {
  .more-image ul li {
    width: 45px !important;
    height: 45px !important;
    margin: 5px 2px !important;
  }
}
@media only screen and (max-width: 767px) {
  .product-details .main-image,
  .product-details .more-image-small {
    width: 100% !important;
  }
  .more-image ul li {
    width: 58px !important;
    height: 58px !important;
  }
  .part-price {
    margin-right: 0 !important;
  }
  .additional-docs ul li {
    width: 100% !important;
    margin: 10px 0 !important;
  }
}
@media only screen and (max-width: 575px) {
  .product-pricing {
    margin-bottom: 10px;
  }
  .part-price {
    margin-right: 0;
    margin-bottom: 10px;
    display: block;
    text-align: center;
  }
}
