.popup-button {
  position: fixed;
  bottom: 25px;
  left: 15px;
  z-index: 90; }

#ss-now {
  padding: 10px 10px;
  background: #fff;
  border-radius: 30px;
  box-shadow: 0 0 15px #999;
  display: none; }

.iconcate-ss {
  background-image: url("//cdn.hstatic.net/themes/200000487921/1001522660/14/icon_compare.png?v=1");
  background-repeat: no-repeat;
  display: inline-block;
  line-height: 30px;
  vertical-align: middle;
  width: 16px;
  height: 16px;
  margin-right: 2px;
  background-size: contain; }

.popup-addsp {
  display: none; }

.popup-addsp.active {
  display: block; }

.popup-addsp .bg-popup {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: #000;
  opacity: .75;
  z-index: 10001; }

.popup-addsp .close-popup {
  position: fixed;
  top: 5vh;
  right: 50px;
  z-index: 10001;
  cursor: pointer;
  width: 640px;
  left: 50px;
  margin: auto; }

.popup-addsp .close-popup aside {
  background: #fff;
  padding: 7px 8px;
  border-radius: 4px;
  width: max-content;
  float: right;
  font-weight: 600; }

.popup-addsp .close-popup i {
  position: relative;
  display: inline-block;
  vertical-align: middle;
  margin-right: 10px;
  padding: 0; }

.popup-addsp .close-popup i:after, .popup-addsp .close-popup i:before {
  content: "";
  width: 12px;
  height: 1px;
  background: #333;
  margin-right: 5px;
  transform: rotate(45deg) !important;
  position: absolute;
  border-radius: unset;
  top: unset;
  left: unset;
  right: unset;
  margin: unset; }

.popup-addsp .close-popup i:after {
  transform: rotate(-45deg) !important; }

.popup-addsp .close-popup span {
  display: inline-block;
  vertical-align: middle; }

.compare-popup {
  background: #fff;
  position: fixed;
  top: 10vh;
  left: 10px;
  right: 10px;
  border-radius: 5px;
  padding: 15px 10px 50px;
  z-index: 10001;
  max-width: 640px;
  margin: auto;
  height: calc(100vh - 20vh);
  overflow-y: scroll; }

.compare-popup h4 {
  display: block;
  overflow: hidden;
  text-align: center;
  padding: 10px; }

.compare-popup .pro-compare {
  overflow: hidden;
  border: unset;
  justify-content: center; }

.compare-popup .pro-compare li {
  float: left;
  width: 33.33%;
  border: 1px solid #e5e5e5;
  border-right: 0;
  text-align: center;
  padding: 15px 4px 20px 4px;
  margin: 0 0 20px;
  position: relative; }

.compare-popup .pro-compare li h3 {
  overflow: hidden;
  font-size: 14px;
  padding: 0 0 3px 15px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  text-overflow: ellipsis;
  margin: 0; }

.compare-popup .pro-compare li:last-child {
  border-right: 1px solid #e5e5e5; }

.compare-popup .pro-compare li img {
  display: block;
  width: 100% !important;
  max-width: 86px;
  margin: 0 auto 5px;
  height: auto;
  position: relative; }

.compare-popup .pro-compare li .box-p {
  display: flex;
  justify-content: left;
  align-items: center;
  padding: 0 0 3px 15px; }

.compare-popup .pro-compare.pro-compare_viewed li .box-p {
  justify-content: center; }

.compare-popup .pro-compare li .box-p p.price-old {
  text-decoration: line-through;
  color: #999; }

.compare-popup .pro-compare li .box-p p, .compare-popup .pro-compare li .box-p span {
  display: block;
  overflow: hidden;
  font-size: 14px;
  margin-right: 5px;
  color: #333; }

.compare-popup .pro-compare li .item-gift {
  font-size: 12px;
  display: block;
  width: 100%;
  padding: 0 10px 3px 15px;
  color: #333; }

.compare-popup .pro-compare li .item-gift b {
  font-weight: normal; }

.compare-popup .pro-compare li .item-img {
  position: relative; }

.compare-popup .pro-compare li .item-img img.lbliconimg {
  width: 36px !important;
  margin: unset;
  max-width: unset;
  left: 10px;
  bottom: 0;
  position: absolute; }

.compare-popup .pro-compare li .item-img img.lbliconimg.lbliconimg_44 {
  left: 150px;
  bottom: 0;
  top: 0; }

.compare-popup .pro-compare li .item-img img.lbliconimg.lbliconimg_2002 {
  height: 30px;
  bottom: 0; }

.compare-popup .pro-compare li strong.price {
  font-size: 12px;
  color: #000;
  padding: 0 0 4px 0; }

.compare-popup .pro-compare li strong.price.twoprice {
  background: none;
  display: block; }

.compare-popup .pro-compare li p.item-txt-online, .compare-popup .pro-compare li p.item-txt-online {
  padding: 0 0 3px 0; }

.compare-popup .pro-compare .pro-nrview {
  display: block;
  overflow: hidden;
  font-size: 12px;
  color: #2f80ed;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 6px;
  margin: auto;
  font-weight: 600; }

.compare-popup #searchproductcompare {
  display: block; }

.compare-popup #searchproductcompare .find-sp {
  display: block;
  position: relative;
  overflow: hidden; }

.compare-popup #searchproductcompare .find-sp input {
  display: block;
  overflow: hidden;
  width: 100%;
  border: 1px solid #d0d0d0;
  border-radius: 4px;
  padding: 10px 0 10px 30px;
  box-sizing: border-box; }

.compare-popup #searchproductcompare .find-sp i {
  position: absolute;
  top: 11px;
  left: 8px;
  background-image: url(//cdn.tgdd.vn/mwgcart/mwg-site/ContentMwg/images/DMX/Global/Desktop/icon_common@2x_1.png?v=1);
  background-size: 300px 280px;
  background-position: -265px -230px;
  height: 19px;
  width: 19px; }

.compare-popup #searchproductcompare ul li {
  float: unset;
  display: block;
  width: 100%;
  margin: auto;
  text-align: left;
  border-left: unset;
  border-right: unset; }

.compare-popup #searchproductcompare ul li:last-child {
  border-bottom: 0; }

.compare-popup #searchproductcompare ul li .pro-nrview {
  left: unset;
  right: 10px;
  bottom: 15px;
  cursor: pointer; }

.compare-popup #searchproductcompare .pro-compare li strong.price {
  display: inline-flex;
  vertical-align: middle;
  padding: 0 0 3px 15px; }

.compare-popup #searchproductcompare li img {
  float: left;
  width: 100%;
  max-width: 45px;
  margin-right: 10px; }

.compare-popup #searchproductcompare ul {
  overflow: hidden;
  border: 1px solid #d0d0d0;
  border-radius: 4px;
  margin: 4px 0;
  padding: 0; }

.compare-popup #searchproductcompare ul li {
  display: block;
  overflow: hidden;
  border-top: 0;
  padding: 10px;
  border-top: 1px solid #d0d0d0;
  border-bottom: unset;
  max-width: unset;
  box-sizing: border-box; }

.compare-popup #searchproductcompare ul li:first-child {
  border-top: 0; }

.compare-popup #searchproductcompare ul li .item-img {
  height: 50px;
  float: left;
  width: 60px; }

.compare-popup #searchproductcompare ul li .item-img img {
  float: left;
  width: 80%;
  margin-right: 10px;
  height: auto; }

.compare-popup #searchproductcompare ul li img {
  float: left;
  width: 100%;
  max-width: 45px;
  margin-right: 10px; }

.compare-popup #searchproductcompare ul li .text-sr {
  display: block;
  overflow: hidden; }

.compare-popup #searchproductcompare li .text-sr span {
  display: block;
  overflow: hidden;
  font-size: 12px; }

.compare-popup #searchproductcompare li .text-sr p {
  display: block;
  overflow: hidden;
  padding: 3px 0 0; }

.compare-popup #searchproductcompare .text-sr p strong {
  float: left;
  color: #d0021c; }

.compare-popup #searchproductcompare .text-sr p a {
  float: right;
  font-size: 12px;
  color: #2f80ed; }

.compare-popup .pro-compare li .item-rating, .compare-popup .pro-compare li .item-label, .compare-popup .pro-compare li .item-txt-online, .compare-popup .pro-compare li .item-compare, .compare-popup .pro-compare li .result-label, .compare-popup .pro-compare li .item-bottom, .compare-popup #searchproductcompare .pro-compare li strong.price.twoprice, .compare-popup #searchproductcompare .pro-compare li .box-p, .compare-popup #searchproductcompare .pro-compare li .item-gift {
  display: none; }

.errorcompare {
  overflow: hidden;
  position: fixed;
  top: 0;
  z-index: 9;
  color: #fff;
  padding: 10px;
  height: max-content;
  width: 90%;
  margin: auto;
  text-align: center;
  border-radius: 4px;
  left: 0;
  right: 0;
  bottom: 0;
  display: none;
  max-width: 400px;
  font-size: 13px; }

@media (max-width: 767px) {
  .popup-addsp .close-popup {
    width: auto;
    right: 10px; }
  .compare-popup {
    z-index: 99999999; } }

.compare {
  display: none;
  position: fixed;
  bottom: 0;
  width: 100%;
  float: left;
  background: #ffffff;
  z-index: 10000;
  box-shadow: 20px -3px 16px 5px rgba(0, 0, 0, 0.4);
  -webkit-box-shadow: 20px -3px 16px 5px rgba(0, 0, 0, 0.4);
  -khtml-box-shadow: 20px -3px 16px 5px rgba(0, 0, 0, 0.4);
  -moz-box-shadow: 20px -3px 16px 5px rgba(0, 0, 0, 0.4);
  -ms-box-shadow: 20px -3px 16px 5px rgba(0, 0, 0, 0.4);
  -o-box-shadow: 20px -3px 16px 5px rgba(0, 0, 0, 0.4); }

.compare .container {
  display: flex;
  flex-wrap: wrap; }

.compare-title {
  position: relative;
  height: 40px;
  border-bottom: 1px solid #e5e5e5; }

.compare-title__left {
  line-height: 40px;
  float: left;
  font-weight: bold;
  font-size: 13px; }

.compare-title__right {
  line-height: 40px;
  float: right;
  color: #999999;
  font-size: 13px; }

.compare-title #compare-close {
  position: absolute;
  right: 5px;
  top: 5px;
  height: 30px;
  line-height: 30px;
  width: auto;
  border: none;
  background: transparent;
  color: #000;
  border-radius: 5px;
  font-weight: 400;
  display: flex;
  align-items: center; }
  .compare-title #compare-close i {
    margin-left: 5px;
    font-size: 22px; }

.compare-list {
  width: calc(100% - 25%);
  display: inline-flex; }

.compare-list__item {
  width: calc(100% / 3);
  border-right: 1px solid #e5e5e5;
  text-align: center;
  padding: 10px;
  position: relative;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap; }

.compare-list__item.compare-list__item--detail {
  display: table-cell; }

.compare-list__item:first-child {
  border-left: 1px solid #e5e5e5; }

.compare-list__item-thumnail img {
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
  display: block;
  margin: 0 auto;
  height: 60px; }

.compare-list__item-thumnail.compare-list__item-thumnail-detail img {
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
  display: block;
  margin: 0 auto;
  height: auto; }

.compare-list__item-title {
  font-size: 13px;
  text-transform: uppercase;
  font-weight: bold;
  line-height: 25px;
  display: block;
  margin-bottom: 5px; }
  .compare-list__item-title p {
    margin-bottom: 0; }

.compare-list__item-price {
  color: #666;
  margin-bottom: 0; }
  .compare-list__item-price p {
    margin-bottom: 0; }

.compare-list__item-price span {
  color: #0163d2; }

.compare-list__item-remove {
  position: absolute;
  right: 5px;
  top: 5px;
  height: 25px;
  width: 25px;
  line-height: 25px;
  text-align: center;
  cursor: pointer; }

.compare-list__item-remove i {
  font-size: 16px;
  color: #666; }

.compare-list__item a {
  padding: 10px;
  text-align: center;
  color: #666;
  display: block;
  border-radius: 5px; }

.compare-list__item .icImageCompareNew {
  background: url(//cdn.hstatic.net/themes/200000487921/1001522660/14/icon_add_desktop.png?v=1) no-repeat top center;
  background-size: 45px 45px;
  width: 45px;
  height: 45px;
  display: block;
  margin: 0 auto; }

.compare-list__item a p {
  display: block;
  font-size: 12px;
  text-align: center;
  margin: 7px auto 0; }

.compare-action {
  padding: 50px 20px 20px 20px;
  width: 25%;
  display: inline-block;
  vertical-align: middle;
  height: 100%;
  text-align: center;
  justify-content: center;
  align-items: center;
  border-right: 1px solid #e5e5e5; }

.compare-action a {
  background: #0163d2;
  padding: 10px;
  color: #fff;
  border-radius: 5px;
  display: inline-block; }

.compare-action a:hover {
  background: #4ac4ed; }

/* page */
.compare-main {
  width: 100%;
  clear: both;
  float: left;
  margin: 30px 0; }

.compare-main .title {
  text-align: left;
  font-weight: bold;
  font-size: 24px;
  line-height: 140%;
  color: #666;
  text-transform: uppercase;
  margin: 20px 0 40px 0; }

.compare-main__product {
  width: 100%;
  clear: both;
  float: left;
  display: table;
  margin-bottom: 30px; }

.compare-main__product .item {
  width: calc(100% / 3);
  position: relative;
  border-right: 1px solid #cccccc;
  padding: 10px 50px;
  display: table-cell; }

.compare-main__product .item:first-child {
  border-left: 1px solid #cccccc; }

.compare-main__product .item-remove {
  position: absolute;
  right: 5px;
  top: 5px;
  cursor: pointer;
  display: block;
  padding: 5px; }

.compare-main__product .item-image {
  height: 150px;
  margin-bottom: 20px; }

.compare-main__product .item-image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
  display: block;
  margin: 0 auto;
  height: 150px; }

.compare-main__product .item-title {
  font-size: 17px;
  text-transform: uppercase;
  font-weight: bold;
  line-height: 25px;
  margin-bottom: 5px;
  text-align: center; }

.compare-main__product .item-price {
  color: #666;
  margin-bottom: 10px;
  text-align: center; }

.compare-main__product .item-price span {
  color: #0163d2; }

.compare-main__product .item-maskup {
  text-align: center; }

.compare-main__product .item-maskup a {
  display: inline-block;
  margin-right: 5px;
  background: #d1d5d5;
  color: #ffffff;
  padding: 5px 15px;
  border-radius: 5px; }

.compare-main__product .item-maskup a:hover {
  background: #0163d2;
  transition: 0.2s; }

.compare-main__option {
  width: 100%;
  clear: both;
  float: left;
  margin-top: -20px; }

.compare-main__option-title {
  width: 100%;
  clear: both;
  float: left;
  color: #999999;
  line-height: 26.5px;
  margin: 15px 0; }

.compare-main__option-table {
  width: 100%;
  clear: both;
  float: left; }

.compare-main__option-table table tr td {
  width: 30%;
  background: #ecfaff;
  padding: 10px 0;
  text-align: center;
  border: 1px solid #d3effa; }

.compare-main__option-table table tr td[colspan] {
  background: #ffffff;
  border: none;
  font-weight: bold;
  padding: 10px 0;
  font-size: 18px;
  color: #333333;
  text-align: left; }

.compare-main__scroll {
  width: 100%;
  clear: both;
  float: left;
  opacity: 0;
  visibility: hidden; }

.compare-main__scroll-list {
  width: 1170px;
  margin: 0 auto;
  display: table; }

.compare-main__scroll-list .item {
  width: calc(100% / 3);
  display: table-cell;
  border-right: 1px solid #cccccc; }

.compare-main__scroll-list .item:first-child {
  border-left: 1px solid #cccccc; }

.compare-main__scroll-list .item-image {
  height: 80px;
  float: left;
  padding: 10px;
  margin-right: 10px; }

.compare-main__scroll-list .item-image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
  display: block;
  margin: 0 auto; }

.compare-main__scroll-list .item-title {
  width: calc(100% - 90px);
  height: 80px;
  display: flex;
  align-items: center;
  text-transform: uppercase; }

.compare-main {
  background: #fff; }

@media only screen and (max-width: 1199px) and (min-width: 992px) {
  .compare-main__scroll-list {
    width: 960px; } }

/* compare */
.item-info__action button {
  display: inline-block;
  color: var(--shop-color-main);
  border: 0;
  padding: 0;
  text-align: left;
  border-radius: 5px;
  position: relative;
  opacity: 1;
  z-index: 10;
  font-weight: normal;
  background: transparent;
  width: 100%; }

.compare-list__item-thumnail {
  max-width: 150px; }

.compare-list__item-thumnail.compare-list__item-thumnail-detail img {
  max-width: 150px;
  margin: 0;
  height: auto; }

.compare-list__item-title {
  margin: 10px 0 0;
  text-align: left; }

.compare-list__item-price {
  text-align: left;
  font-weight: bold; }
