.overflow-x {
  overflow-x: auto;
  overflow-y: hidden;
}

.footer-logo {
  width: 200px;
  max-width: 100%;
}

.js-slide .icon {
  max-width: 38px;
  height: auto;
  margin: auto;
}

.deal a {
  text-overflow: ellipsis;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
}

.img-cart {
  max-width: 60px;
}

.tab-content img, #baiviet-container img {
  max-width: 100%;
  height: auto;
}

@media (min-width: 1200px) {
  .navbar-expand-xl .u-header__mega-menu-wrapper {
    height: auto;
    background: #fff;
  }
}


/* Sale */
.product__sale {
  display: table;
  position: absolute;
  text-align: center;
  top: 36px;
  right: -20px;
  min-width: 100px;
  -webkit-transform: rotate(90deg);
  -moz-transform: rotate(90deg);
  -ms-transform: rotate(90deg);
  transform: rotate(90deg);
}
.product__sale span {
  position: relative;
  background: var(--hw-color-new);
  color: #fff;
  float: left;
  font-size: 11px;
  font-weight: 400;
  height: 28px;
  line-height: 28px;
  padding: 0 10px;
  text-align: center;
  text-transform: uppercase;
  font-weight: 500;
  letter-spacing: 0.5px;
  min-width: 50px;
  border-radius: 0;
  min-height: auto;
  border: 0;
}
.product__sale span::after {
  border: 5px solid var(--hw-color-new);
  border-color: transparent transparent var(--hw-color-new) var(--hw-color-new);
  border-width: 10px 5px;
  position: absolute;
  right: -10px;
  bottom: 0;
  content: "";
  z-index: 1;
}
.product__sale span::before {
  border: 5px solid var(--hw-color-new);
  border-color: var(--hw-color-new) transparent transparent var(--hw-color-new);
  border-width: 9px 5px;
  position: absolute;
  right: -10px;
  top: 0;
  content: "";
  z-index: 1;
}
.product__sale span.percent {
  background: var(--hw-color-sale);
}
.product__sale span.percent::after {
  border: 5px solid var(--hw-color-sale);
  border-color: transparent transparent var(--hw-color-sale) var(--hw-color-sale);
  border-width: 10px 5px;
}
.product__sale span.percent::before {
  border: 5px solid var(--hw-color-sale);
  border-color: var(--hw-color-sale) transparent transparent var(--hw-color-sale);
  border-width: 9px 5px;
}
/* End Sale */


.product-link {
  position: relative;
  overflow: hidden;
  width: 100%;
  padding-bottom: 100%;
}
.product-photo {
  position: absolute;
  display: block;
  width: 100%;
  height: 100%;
}
.product-img {
  height: auto;
  width: auto !important;
  max-width: 100%;
  height: 100%;
  margin: auto;
}


/* Product photo */
.product__image-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 360px;
  width: 100%;
  background: #fff;
}
.product__image-wrapper svg, .product__image-wrapper img {
  max-width: 100%;
  max-height: 100%;
}
.product__image-wrapper svg {
  width: 100%;
}
.product-photo-thumbs .js-slide .thumb {
  width: 100%;
  cursor: pointer;
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 85px;
  background: #fff;
}
.product-photo-thumbs .js-slide .thumb img {
  max-width: 100%;
  max-height: 100%;
  margin: 2px;
}
.product-photo-thumbs .slick-slide {
  padding: 0px;
}