@-webkit-keyframes icon-popup {
  from {
    opacity: 0;
    top: -41px;
  }
  to {
    opacity: 1;
    top: -45px;
  }
}
@keyframes icon-popup {
  from {
    opacity: 0;
    top: -41px;
  }
  to {
    opacity: 1;
    top: -45px;
  }
}
@-webkit-keyframes place-popup {
  from {
    opacity: 0;
    top: -31px;
  }
  to {
    opacity: 1;
    top: -35px;
  }
}
@keyframes place-popup {
  from {
    opacity: 0;
    top: -31px;
  }
  to {
    opacity: 1;
    top: -35px;
  }
}
@-webkit-keyframes part-popup {
  from {
    opacity: 0;
    right: 245px;
  }
  to {
    opacity: 1;
    right: 265px;
  }
}
@keyframes part-popup {
  from {
    opacity: 0;
    right: 245px;
  }
  to {
    opacity: 1;
    right: 265px;
  }
}
.popup {
  display: none;
  position: absolute;
  background: #ffffffd9;
  border: 1px solid #fff;
  color: #569DBB;
  font-size: 13px;
  padding: 6px 12px;
  box-shadow: 0 3px 6px #00000026;
  width: -webkit-max-content;
  width: -moz-max-content;
  width: max-content;
  border-radius: 50px;
}

.product-slider-wrapper {
  min-height: calc(100vh - 100px);
  background-size: cover !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-color: #fff !important;
  position: relative;
}

.gallery-icon {
  background-image: url(/img/gallery-icon.png);
  height: 60px;
  width: 60px;
  display: block;
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 100;
  background-repeat: no-repeat;
  background-position: center;
  background-color: #3333338f;
  border-radius: 50%;
}

.icons-section {
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  z-index: 9999;
  padding: 7px;
  background-color: #173f6782;
  position: absolute;
  height: 60px;
  width: 100%;
  text-align: center;
}
@media (max-width: 768px) {
  .icons-section {
    overflow-x: auto;
  }
  .icons-section:hover {
    height: 120px;
    padding-top: 60px;
  }
  .icons-section:hover::after {
    content: "";
    width: 10000px;
    height: 51px;
    display: block;
    top: 0;
    position: absolute;
    background-color: #fff;
    left: 0;
    z-index: -1;
  }
}
.icons-section .icons-list {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.icons-section .icons-list .icon {
  position: relative;
  margin: 0 5px;
}
.icons-section .icons-list .icon .popup {
  top: -45px;
  left: 20px;
  border-bottom-left-radius: 0;
  -webkit-animation: icon-popup 0.5s ease-in-out;
          animation: icon-popup 0.5s ease-in-out;
}
.icons-section .icons-list .icon .body {
  height: 44px;
  width: 44px;
  border: 1px solid #fff;
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #999999;
  opacity: 0.5;
  cursor: pointer;
  transition: all 0.3s ease;
}
.icons-section .icons-list .icon .body img {
  width: 28px;
  height: 28px;
}
.icons-section .icons-list .icon:hover .popup {
  display: block;
}
.icons-section .icons-list .icon:hover .body {
  opacity: 1;
  background-color: #4B98B9;
  transform: scale(1.2);
}

.place:hover .popup {
  top: -35px;
  left: 10px;
  border-bottom-left-radius: 0;
  -webkit-animation: place-popup 0.5s ease-in-out;
  animation: place-popup 0.5s ease-in-out;
  z-index: 10000;
}
.place:hover:hover .popup {
  display: block;
}

.product-cover {
  position: relative;
  width: 100%;
  height: calc(100vh - 100px);
  background-size: cover !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-color: #fff !important;
}
@media (max-width: 768px) {
  .product-cover {
    z-index: 1000;
    height: calc(40vh - 80px);
  }
}

.product-row {
  width: 100%;
  height: calc(100vh - 100px);
  padding: 0 15px;
  overflow: hidden;
}
@media (max-width: 768px) {
  .product-row {
    height: initial;
    overflow: unset;
    padding-bottom: 100px;
  }
}

.product-section {
  position: relative;
  height: calc(100vh - 100px);
}
@media (max-width: 768px) {
  .product-section {
    height: initial;
    overflow: unset;
  }
}
.product-section .product-section-scroll {
  position: relative;
  top: 0px;
}
.product-section .info {
  display: grid;
}
.product-section .info.info-product-title {
  background-color: #fff;
  z-index: 1000;
  position: relative;
}
.product-section .info > .product-title {
  color: #fff;
  background-color: #173f6782;
  padding: 2px 10px;
  margin: 15px 0;
  font-size: 35px;
  font-weight: 600;
}
.product-section .info > p {
  font-size: 25px;
  color: var(--primary-color);
}
.product-section .details {
  padding: 80px 0;
  margin: auto;
  display: flex;
  align-items: end;
  justify-content: center;
  background-repeat: no-repeat;
  background-position: bottom center;
  background-size: contain;
}
@media (max-width: 768px) {
  .product-section .details {
    padding-bottom: 0;
  }
}
.product-section .details .details-container {
  width: 200px;
}
.product-section .details .inner-parts .part {
  position: relative;
  cursor: pointer;
}
.product-section .details .inner-parts .part .popup {
  right: 265px;
  bottom: 0;
  top: 0;
  margin: auto;
  max-height: 37px;
  padding-inline: 21px;
  font-size: 16px;
  background: #E0EEF4;
  border: none;
  -webkit-animation: part-popup 0.5s ease-in-out;
          animation: part-popup 0.5s ease-in-out;
}
@media (max-width: 768px) {
  .product-section .details .inner-parts .part .popup {
    z-index: 100;
    right: 0;
    -webkit-animation: none;
            animation: none;
  }
}
.product-section .details .inner-parts .part .popup::after {
  content: "";
  width: 130px;
  height: 2px;
  background: #E0EEF4;
  position: absolute;
  right: -130px;
  top: 0;
  bottom: 0;
  margin: auto;
}
@media (max-width: 768px) {
  .product-section .details .inner-parts .part .popup::after {
    display: none;
  }
}
.product-section .details .inner-parts .part .icon {
  margin-top: -57px;
  transition: all 0.3s ease;
}
@media (max-width: 768px) {
  .product-section .details .inner-parts .part:hover {
    z-index: 100 !important;
  }
}
.product-section .details .inner-parts .part:hover .popup {
  display: block;
}
.product-section .details .inner-parts .part:hover .icon {
  margin-top: -47px;
  margin-bottom: 10px;
  transform: scale(1.2);
}

.related-items-section {
  text-align: center;
  padding-bottom: 10rem;
}
.related-items-section h2 {
  text-align: center;
}
.related-items-section .icons {
  width: 100%;
  display: flex;
  grid-gap: 10px;
  margin-top: 3rem;
  flex-wrap: wrap;
  justify-content: center;
}
.related-items-section .icons .icon {
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: all 0.3s ease;
}
.related-items-section .icons .icon .image {
  width: 105px;
  height: 90px;
  text-align: center;
  line-height: 75px;
  border: 1px solid #E9E9E9;
  border-radius: 13px;
  transition: all 0.3s ease;
  background-color: #fff;
}
.related-items-section .icons .icon .image img {
  transition: all 0.3s ease;
  width: 90px;
  height: 75px;
  -o-object-fit: contain;
     object-fit: contain;
}
.related-items-section .icons .icon .name {
  color: #9F9F9F;
  font-size: 11px;
  margin-top: 5px;
}
.related-items-section .icons .icon:hover .image img {
  transform: scale(1.1);
}
.related-items-section .icons .icon.active .name {
  color: #000;
  font-weight: 600;
}
.related-items-section h2 {
  margin-bottom: 7rem;
  margin-top: 7rem;
  font-size: 40px;
}

.items {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}
.items .item {
  height: 280px;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  background-color: #fff;
  position: relative;
  margin-inline: 0.5rem;
}
.items .item::before {
  content: "";
  opacity: 0;
  position: absolute;
  left: 0;
  width: 100%;
  height: 100%;
  background: #00000033;
  transition: all 0.3s ease;
}
.items .item:hover::before {
  opacity: 1;
}
.items .item .title {
  color: #fff;
  position: absolute;
  bottom: 10px;
  left: 0;
  right: 0;
  margin: auto;
  font-size: 21px;
  text-align: center;
}
.items.large {
  grid-template-columns: repeat(3, 1fr);
}
.items.large .item {
  height: 484px;
}
.items.large .item .title {
  padding: 0 10px;
}
.items.large .item .title p {
  font-size: clamp(29px, 5vw, 39px);
  text-align: center;
  color: #fff;
}

@media (max-width: 991px) {
  .items {
    grid-template-columns: repeat(3, 1fr);
  }
  .items.large {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 500px) {
  .items,
.items.large {
    grid-template-columns: repeat(1, 1fr);
  }
}
@media (max-width: 768px) {
  .product-section .container {
    padding-top: 1rem;
  }
  .product-section .container .info {
    width: 100%;
  }
  .product-section .container .details {
    position: static;
    margin-top: 6rem;
    justify-content: center;
  }
  .product-section .container .icons-list {
    position: static;
    margin-top: 2rem;
    padding-bottom: 2rem;
    flex-wrap: wrap;
  }
}
