/* EA Elektronika - Recently Viewed v1.3 */
.route-product-product .ea-recently-viewed {
  position: relative;
  box-sizing: border-box;
  width: 100%;
  margin: 0;
  padding: 8px 0 16px;
  background: transparent;
}
.route-product-product .ea-recently-viewed .ea-rv-shell {
  padding: 24px 28px 26px;
  background: #eef5f7;
  border-radius: 18px;
}
.route-product-product .ea-recently-viewed .module-title {
  position: relative;
  margin: 0 0 22px;
  padding: 0;
  color: #2f3338;
  background: transparent;
  border: 0;
  box-shadow: none;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 24px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: 0;
  text-transform: none;
}
.route-product-product .ea-rv-stage { position: relative; }
.route-product-product .ea-rv-track {
  display: flex;
  gap: 20px;
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x proximity;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
  padding: 2px 0 4px;
}
.route-product-product .ea-rv-track::-webkit-scrollbar { display: none; }
.route-product-product .ea-rv-card {
  flex: 0 0 calc((100% - 100px) / 6);
  min-width: 155px;
  max-width: 190px;
  min-height: 0;
  height: auto;
  scroll-snap-align: start;
  box-sizing: border-box;
}
.route-product-product .ea-rv-card .product-thumb {
  position: relative;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
  background: #fff;
  border: 1px solid #e3eaed;
  border-radius: 14px;
  box-shadow: 0 4px 14px rgba(44, 60, 80, .04);
  overflow: hidden;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.route-product-product .ea-rv-card .product-thumb:hover {
  transform: translateY(-2px);
  border-color: #d6e0e5;
  box-shadow: 0 10px 26px rgba(44, 60, 80, .08);
}
.route-product-product .ea-rv-card .product-thumb > .image {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 150px;
  width: 100%;
  height: 150px;
  min-height: 150px;
  padding: 12px;
  background: #fff;
  border-bottom: 1px solid #eff3f5;
  overflow: hidden;
}
.route-product-product .ea-rv-card .product-img,
.route-product-product .ea-rv-card .product-img > div {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
}
.route-product-product .ea-rv-card .product-thumb > .image img.img-first {
  position: static;
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  min-width: 0;
  min-height: 0;
  margin: auto;
  padding: 0;
  object-fit: contain;
  object-position: center;
  transform: none;
  image-rendering: auto;
}
.route-product-product .ea-rv-card .caption {
  position: relative;
  box-sizing: border-box;
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-height: 170px;
  padding: 12px 14px 52px;
  background: #fff;
}
.route-product-product .ea-rv-model {
  margin: 0 0 8px;
  color: #7b8791;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.3;
}
.route-product-product .ea-rv-card .name { margin: 0; padding: 0; }
.route-product-product .ea-rv-card .name > a {
  display: -webkit-box;
  min-height: 64px;
  color: #25384d;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.38;
  text-decoration: none;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}
.route-product-product .ea-rv-card .name > a:hover { color: #2d445c; text-decoration: none; }
.route-product-product .ea-rv-card .price {
  margin-top: auto;
  padding-top: 10px;
  color: #233c57;
}
.route-product-product .ea-rv-card .price-normal,
.route-product-product .ea-rv-card .price-new {
  color: #233c57;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.1;
}
.route-product-product .ea-rv-card .price-new { color: #e42020; }
.route-product-product .ea-rv-card .price-old {
  color: #8b98a2;
  font-size: 12px;
  font-weight: 500;
  text-decoration: line-through;
}
.route-product-product .ea-rv-lowest {
  display: block;
  margin: 6px 0 0;
  color: #8a949d;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 10px;
  font-weight: 500;
  line-height: 1.35;
}
.route-product-product .ea-rv-card .buttons-wrapper {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 15;
  width: 38px;
  height: 38px;
  margin: 0;
  padding: 0;
}
.route-product-product .ea-rv-card .button-group,
.route-product-product .ea-rv-card .cart-group { width: 38px; height: 38px; margin: 0; padding: 0; }
.route-product-product .ea-rv-card .btn-cart {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  min-width: 38px;
  height: 38px;
  min-height: 38px;
  margin: 0;
  padding: 0;
  color: #243b56;
  background: #f7f9fa;
  border: 1px solid #d4dde3;
  border-radius: 12px;
  box-shadow: none;
  font-size: 0;
  cursor: pointer;
}
.route-product-product .ea-rv-card .btn-cart:hover {
  color: #fff;
  background: #243b56;
  border-color: #243b56;
}
.route-product-product .ea-rv-card .btn-cart .btn-text { display: none; }
.route-product-product .ea-rv-nav {
  position: absolute;
  top: 64px;
  z-index: 25;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 44px;
  margin: 0;
  padding: 0;
  color: #34465a;
  background: rgba(255, 255, 255, .96);
  border: 1px solid #d9e3e8;
  border-radius: 12px;
  box-shadow: 0 6px 14px rgba(44, 60, 80, .08);
  cursor: pointer;
}
.route-product-product .ea-rv-prev { left: -18px; }
.route-product-product .ea-rv-next { right: -18px; }
.route-product-product .ea-rv-nav span {
  display: block;
  width: 10px;
  height: 10px;
  border-top: 2px solid #34465a;
  border-right: 2px solid #34465a;
}
.route-product-product .ea-rv-prev span { transform: rotate(-135deg); margin-left: 4px; }
.route-product-product .ea-rv-next span { transform: rotate(45deg); margin-right: 4px; }
.route-product-product .ea-rv-nav[disabled] { opacity: .28; cursor: default; }

@media (max-width: 1260px) {
  .route-product-product .ea-rv-card {
    flex-basis: calc((100% - 60px) / 4);
    max-width: none;
  }
}
@media (max-width: 1024px) {
  .route-product-product .ea-recently-viewed .ea-rv-shell { padding: 22px 22px 24px; }
  .route-product-product .ea-recently-viewed .module-title { margin-bottom: 18px; font-size: 22px; }
  .route-product-product .ea-rv-track { gap: 16px; }
  .route-product-product .ea-rv-card { flex-basis: calc((100% - 32px) / 3); min-width: 0; }
  .route-product-product .ea-rv-card .product-thumb > .image { flex-basis: 145px; height: 145px; min-height: 145px; }
  .route-product-product .ea-rv-card .caption { min-height: 160px; }
  .route-product-product .ea-rv-nav { display: none !important; }
}
@media (max-width: 760px) {
  .route-product-product .ea-recently-viewed { padding: 8px 0 12px; }
  .route-product-product .ea-recently-viewed .ea-rv-shell { padding: 18px 16px 20px; border-radius: 16px; }
  .route-product-product .ea-recently-viewed .module-title { margin-bottom: 14px; font-size: 18px; }
  .route-product-product .ea-rv-track { gap: 12px; }
  .route-product-product .ea-rv-card { flex-basis: calc((100% - 12px) / 2); min-width: 150px; }
  .route-product-product .ea-rv-card .product-thumb > .image { height: 132px; min-height: 132px; padding: 10px; }
  .route-product-product .ea-rv-card .caption { min-height: 148px; padding: 10px 12px 48px; }
  .route-product-product .ea-rv-card .name > a { min-height: 58px; font-size: 13px; }
  .route-product-product .ea-rv-model { margin-bottom: 6px; font-size: 10px; }
  .route-product-product .ea-rv-card .price-normal,
  .route-product-product .ea-rv-card .price-new { font-size: 15px; }
  .route-product-product .ea-rv-lowest { font-size: 9px; }
  .route-product-product .ea-rv-card .buttons-wrapper,
  .route-product-product .ea-rv-card .button-group,
  .route-product-product .ea-rv-card .cart-group,
  .route-product-product .ea-rv-card .btn-cart {
    width: 36px; min-width: 36px; height: 36px; min-height: 36px;
  }
}
