/*
Theme Name: Shopee
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/** tắt thông báo sửa blocks **/
.tooltipster-base {display: none !important;}

h2.section-title.section-title-normal span.section-title-main {
    padding: 0;
    border-bottom: 0;
}
.title-flashsale span.section-title-main {
    width: 150px;
    height: 40px;
    background: url(/wp-content/uploads/2020/02/flash-sale.png) no-repeat;
    background-size: 100% auto;
    text-indent: -9999px;
    overflow: hidden;
    border-bottom: 0 !important;
}
.section-title-normal span {
    margin-right: 15px;
    padding-bottom: 7.5px;
    border-bottom: 2px solid rgba(0,0,0,.1);
    margin-bottom: -2px;
}
.section-title span {
    text-transform: uppercase;
}
/* Rút gọn tiêu đề còn 2 dòng */
p.name.product-title a {
overflow: hidden;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 2;
}

/** giá tiền **/
.price-wrapper .price .amount {color: #ee4d2d;}
.woocommerce-variation-price .price del .amount {color: #929292 !important;font-size: 80%;}
.price-wrapper .price del .amount {color: #929292 !important;font-size: 80%;}
.product-main .product-info .price-wrapper del span {color: #929292 !important;font-size: 80%;}
.product-main .product-info .price-wrapper ins span, .product-page-price span.amount {color: #ee4d2d;}
span.amount {color: #ee4d2d !important;}

/** danh mục sp sidebar **/
.select_option.selected {border-color: #ff0000 !important;}
.widget>ul>li ul {border-left: 0px !important;}

/** nút mua nhanh **/
button.single_add_to_cart_button.button.alt {font-size: smaller !important;letter-spacing: 0em !important;padding: 0 0.5em !important;margin-right: 0.5em !important;}
.quantity {font-size: smaller !important;letter-spacing: 0em !important;margin-right: 0em !important;}

/** mô tả ngắn **/
.product-short-description a {color: #ee4d2d;}

/** Hiệu ứng css **/
.ani {animation: quick-alo-circle-img-anim 1s infinite ease-in-out;}
@-moz-keyframes quick-alo-circle-img-anim {
    0% {transform: rotate(0) scale(1) skew(1deg)}
    10% {-moz-transform: rotate(-25deg) scale(1) skew(1deg)}
    20% {-moz-transform: rotate(25deg) scale(1) skew(1deg)}
    30% {-moz-transform: rotate(-25deg) scale(1) skew(1deg)}
    40% {-moz-transform: rotate(25deg) scale(1) skew(1deg)}
    50% {-moz-transform: rotate(0) scale(1) skew(1deg)}
    100% {-moz-transform: rotate(0) scale(1) skew(1deg)}
}
@-webkit-keyframes quick-alo-circle-img-anim {
    0% {-webkit-transform: rotate(0) scale(1) skew(1deg)}
    10% {-webkit-transform: rotate(-25deg) scale(1) skew(1deg)}
    20% {-webkit-transform: rotate(25deg) scale(1) skew(1deg)}
    30% {-webkit-transform: rotate(-25deg) scale(1) skew(1deg)}
    40% {-webkit-transform: rotate(25deg) scale(1) skew(1deg)}
    50% {-webkit-transform: rotate(0) scale(1) skew(1deg)}
    100% {-webkit-transform: rotate(0) scale(1) skew(1deg)}
}
@-o-keyframes quick-alo-circle-img-anim {
    0% {-o-transform: rotate(0) scale(1) skew(1deg)}
    10% {-o-transform: rotate(-25deg) scale(1) skew(1deg)}
    20% {-o-transform: rotate(25deg) scale(1) skew(1deg)}
    30% {-o-transform: rotate(-25deg) scale(1) skew(1deg)}
    40% {-o-transform: rotate(25deg) scale(1) skew(1deg)}
    50% {-o-transform: rotate(0) scale(1) skew(1deg)}
    100% {-o-transform: rotate(0) scale(1) skew(1deg)} 
}

.bounce {
  animation: bounce 0.5s;animation-direction: alternate;animation-timing-function: cubic-bezier(.5, 0.05, 1, .5);animation-iteration-count: infinite;-webkit-animation-name: bounce;-webkit-animation-duration: 0.5s;-webkit-animation-direction: alternate;-webkit-animation-timing-function: cubic-bezier(.5, 0.05, 1, .5);-webkit-animation-iteration-count: infinite;}

@keyframes bounce {
  from {transform: translate3d(0, 0, 0);}
  to {transform: translate3d(0, 3px, 0);}
}

@-webkit-keyframes bounce {
  from {-webkit-transform: translate3d(0, 0, 0);transform: translate3d(0, 0, 0);}
  to {-webkit-transform: translate3d(0, 3px, 0);transform: translate3d(0, 3px, 0);}
}

.pulse {display: block;width: 5px;height: 5px;border-radius: 50%;background: #2878d7;cursor: pointer;box-shadow: 0 0 0 rgba(40,120,215, 0.4);animation: pulse 2s infinite;}
.pulse:hover {animation: none;}

@-webkit-keyframes pulse {
  0% {-webkit-box-shadow: 0 0 0 0 rgba(40,120,215, 0.4);}
  50% {-webkit-box-shadow: 0 0 0 10px rgba(40,120,215, 0);}
  100% {-webkit-box-shadow: 0 0 0 0 rgba(40,120,215, 0);}
  150% {-webkit-box-shadow: 0 0 0 0 rgba(40,120,215, 0);}
}
@keyframes pulse {
  0% {-moz-box-shadow: 0 0 0 0 rgba(40,120,215, 0.4);box-shadow: 0 0 0 0 rgba(40,120,215, 0.4);}
  50% {-moz-box-shadow: 0 0 0 10px rgba(40,120,215, 0);box-shadow: 0 0 0 10px rgba(40,120,215, 0);}
  100% {-moz-box-shadow: 0 0 0 0 rgba(40,120,215, 0);box-shadow: 0 0 0 0 rgba(40,120,215, 0);}
  150% {-moz-box-shadow: 0 0 0 0 rgba(40,120,215, 0);box-shadow: 0 0 0 0 rgba(40,120,215, 0);}
}

/* Lien he trang san pham don */
.thong-tin-lien-he {
    display: inline-block;
    padding: 15px;
    border-radius: 3px;
    margin-bottom: 15px;
    margin-top: 15px;
    box-shadow: 2px 2px 40px #0000001c;
    border: 1px dashed #60b194;
}
.thong-tin-lien-he .thong-tin {
    padding-right: 10px;
    margin-bottom: 0;
    width: 50%;
    float: left;
    display: inline-block;
}
.single-product .thong-tin-lien-he .thong-tin .tieu-de {
    margin-top: 0!important;
}
.thong-tin-lien-he .thong-tin .tieu-de {
    margin-top: -28px;
    color: #009e2e;
}
.single-product .thong-tin .des {
    margin-top: 0;
}
.thong-tin .des {
    margin-top: -28px;
    display: block;
    margin-bottom: 10px;
    font-size: 15px;
}
.thong-tin-lien-he ul {
    margin-bottom: 0;
    font-size: 15px;
}
.thong-tin-lien-he ul {
    margin-left: 0;
}
.single-product .thong-tin ul li {
    margin-bottom: 5px;
    margin-left: 15px;
}
.thong-tin-lien-he ul {
    margin-bottom: 0;
    font-size: 15px;
}
.thong-tin-lien-he .right {
    border-radius: 5px;
    width: 50%;
    display: inline-block;
    background: #fff;
    padding: 10px;
    color: #ff5400;
    text-align: center;
}
.thong-tin-lien-he .clearboth {
    clear: both;
}

/* Bai viet lien quan blog */

.feature {
    position: relative;
    overflow: hidden;
}
.feature::before {
    content: "";
    display: block;
    padding-top: 56.25%;
}
.feature .image{
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    margin: auto;
    background-size: cover;
    background-position: center;
}
ul.row.related-post li {
    list-style: none;
}
.related-title {
    line-height: 1.3 !important;
    margin-top: 10px !important;
}

@media (max-width: 549px) {
	
.thong-tin-lien-he {
    box-shadow: none;
    background: #F1F8E9;
    display: block;
    padding: 5px;
}
.thong-tin-lien-he .thong-tin, .thong-tin-lien-he .right {
    width: 100%;
}
h3 {
    font-size: 1em;
}
}