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

/*************** ADD CUSTOM CSS HERE.   ***************/
b, strong{
	font-weight:bold;
}
.mfp-gallery.mfp-wrap {
  transform-origin: bottom center;
  transform: translateY(100vh);
  transition: transform 0.5s ease;
}
.mfp-gallery.mfp-ready {
  transform: translateY(0);
}
.mfp-gallery.mfp-ready .mfp-container {
  padding: 0;
}

.mfp-gallery .mfp-container {
  background-color: rgb(245, 245, 245);
}
.mfp-gallery .mfp-container.mfp-image-holder.mfp-s-ready .mfp-content {
  top: 0 !important;
}
.mfp-gallery .mfp-container img.mfp-img {
  padding-bottom: 0;
  max-height: calc(100vh - 2px);
}
.mfp-gallery .mfp-content figcaption {
  display: none;
}
.viewed.viewed-products-wrapper.product-section {
  padding: 10px;
}
.mfp-gallery .mfp-arrow-left {
  left: 20px;
}
.mfp-gallery .mfp-arrow-right {
  right: 20px;
}
.woocommerce-variation-add-to-cart.variations_button {
    display: flex;
    align-items: baseline;
}
.woocommerce-variation-add-to-cart.variations_button.woocommerce-variation-add-to-cart-disabled
  .quantity.buttons_added.form-minimal,
.woocommerce-variation-add-to-cart.variations_button.woocommerce-variation-add-to-cart-disabled
  button {
  margin-bottom: 0;
}
table.variations {
  margin-bottom: 0;
}
.size-chart a {
  font-size: 12px;
  letter-spacing: 0.3px;
  color: #000;
  text-decoration: underline;
  margin-bottom: 10px;
  font-weight: bold;
  display: block;
}
.note-after-addtocart {
  margin-bottom: 15px;
  font-size: 12px;
  padding-bottom: 10px;
  text-align: center;
}

.box-text-banner {
  margin-bottom: 4em;
}
.tab-ligam ul.nav.nav-line-bottom {
  border-bottom: 2px solid rgb(211, 212, 213);
  justify-content: space-evenly;
}
.tab-ligam ul.nav.nav-line-bottom > li > a:before {
  bottom: -2px;
  height: 2px;
}
.tab-ligam ul li a {
  padding: 10px 30px;
  font-weight: bold;
  color: #000;
}
@media only screen and (max-width: 480px) {
  /*************** ADD MOBILE ONLY CSS HERE  ***************/
  .product-container .product-gallery.large-8.col {
    padding: 0;
  }
  .banner-ligam .bg.fill.bg-fill.bg-loaded {
    background-position: 85% 50% !important;
  }
  .modalBuyMobile.show {
    bottom: 0px;
  }
  .modalBuyMobile {
    position: fixed;
    width: 100%;
    height: auto;
    z-index: 9999;
    background: #fff;
    left: 0;
    bottom: -80%;
    padding: 20px 10px;
    border-top: 2px solid red;
    transition: all 0.4s ease-in-out 0s;
    -moz-transition: all 0.4s ease-in-out 0s;
    -o-transition: all 0.4s ease-in-out 0s;
    -webkit-transition: all 0.4s ease-in-out 0s;
    -ms-transition: all 0.4s ease-in-out 0s;
    visibility: inherit;
    bottom: -80%;
  }
  .modalBuyMobile .product-options-wrapper {
    text-align: center;
  }
  .modalBuyMobile .woocommerce-variation-price {
    padding: 15px;
  }
  .modalBuyMobile .variations .reset_variations {
    color: red;
    font-weight: bold;
    bottom: 90%;
  }
  .modalBuyMobile .single_variation_wrap {
    margin-top: 20px;
  }
  .product-summary .quantity {
    margin-bottom: 0;
  }
  p.price.product-page-price {
    margin: 0;
  }
  .closeModalBuyMobile {
    position: absolute;
    right: 15px;
    top: -12px;
    width: 25px;
    background: #e8e8e8;
    height: 25px;
    line-height: 25px;
    text-align: center;
    color: red;
  }
  .infoModalBuyMobile h4 {
    padding: 0px 0 15px;
    border-bottom: 1px solid #ccc;
    font-size: 16px;
    font-weight: 600;
  }

  .product-action-bottom.show {
    display: block;
  }
  .product-action-bottom {
    position: fixed;
    left: 0;
    bottom: 0;
    right: 0;
    z-index: 700;
    background: #fff;
    -webkit-box-shadow: 0 0 4px rgba(0, 0, 0, 0.2);
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.2);
    padding: 20px;
    display: none;
  }
  button.add-cart-bottom {
    font-weight: 600;
    height: 45px;
    width: 55%;
    width: 100%;
    float: left;
    background: #ff4848;
    color: #fff;
    border: none;
    background-size: 25px;
    background-position: 45px 11px;
    font-size: 13px;
    margin-bottom: 0;
    line-height: 13px;
  }

  .product .product-title {
    float: left;
    width: 60%;
    font-weight: 700;
    font-size: 18px;
    line-height: 1.33;
    letter-spacing: 0.5px;
    color: rgb(33, 42, 47);
    margin: 0px;
    padding: 10px;
  }
  .product .price-wrapper {
    float: right;
    width: 40%;
    padding: 10px;
    text-align: right;
  }
  .product .woocommerce-product-rating {
    display: flex;
    clear: both;
    align-items: center;
  }
  .product .woocommerce-product-rating .star-rating {
    width: 90px;
  }
  .product .breadcrumbs {
    font-weight: 600;
    font-size: 11px;
    padding: 0 10px;
    letter-spacing: 0.3px;
  }
  .product .breadcrumbs a {
    text-decoration: underline;
  }
}
@media only screen and (min-width: 780px) and (max-width: 1024px) {
  /*************** ADD table ONLY CSS HERE  ***************/
}
@media only screen and (min-width: 780px) {
  .single-product .product-images .flickity-viewport {
    height: auto !important;
  }
  .single-product .product-images .flickity-slider {
    display: grid;
    position: unset;
    grid-template-columns: 50% 50%;
    transform: unset;
    transform: unset !important;
    gap: 10px;
  }
  .single-product .product-images .flickity-slider > div:not(.col) {
    width: 100% !important;
    position: relative !important;
    left: unset !important;
  }

  .single-product .product-images .flickity-slider > div:not(.col) a::before {
    content: "+";
    display: block;
    width: 50px;
    height: 50px;
    position: absolute;
    top: calc(50% - 35px / 2);
    left: calc(50% - 35px / 2);
    background-color: #ffffffbf;
    color: #000;
    border-radius: 50%;
    text-align: center;
    line-height: 50px;
    font-size: 1.5em;
    opacity: 0;
  }
  .single-product
    .product-images
    .flickity-slider
    > div:not(.col):hover
    a:before {
    opacity: 1;
  }
}

.single-product .tab-custom .accordion .toggle {
  left: unset;
  right: 0;
}
.single-product .tab-custom .accordion .accordion-title {
  padding-left: 0;
}
.review-form-inner.has-border,
.commentlist {
  border: 1px solid #ddd;
  border-radius: 7px;
  padding: 10px;
}
#comments {
  padding-bottom: 0px;
}
.flickity-page-dots .dot.is-selected {
  background: rgb(211, 212, 213);
  border: 1px solid rgb(211, 212, 213);
  transform: scale(2);
}
.flickity-page-dots .dot {
  background: rgb(211, 212, 213);
  border: 1px solid rgb(211, 212, 213);
  width: 5px;
  height: 5px;
}
input[type="file"]#shw-review-image {
  width: 350px !important;
  max-width: 100%;
  color: #444;
  padding: 5px;
  background: #fff;
  border-radius: 10px;
  border: 1px solid #555;
}
input[type="file"]#shw-review-image::file-selector-button {
  margin-right: 20px;
  border: none;
  background: #555;
  padding: 10px 20px;
  border-radius: 10px;
  color: #fff;
  cursor: pointer;
  transition: background 0.2s ease-in-out;
}

input[type="file"]#shw-review-image::file-selector-button:hover {
  background: #555;
}
.col-lien-he .icon-box {
  background-color: white;
  padding: 10px 15px;
}
.col-lien-he .icon-box-img svg {
  border-radius: 50%;
  background-color: #f58c8c;
  padding: 10px;
  box-sizing: border-box;
  width: 60px;
  height: 60px;
  color: red;
}

.col-lien-he .icon-box-img svg path {
  fill: #ffeeee;
}
.col-lien-he .icon-box-text h3 {
  font-weight: bold;
  font-size: 1.4rem;
  margin-bottom: 0px;
}

.title-lien-he strong {
  color: #ae080c;
}
.product-category .box-image > div:hover:before {
  content: "";
  display: block;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: rgba(0, 0, 0, 0.4);
  position: absolute;
  z-index: 99;
}

.product-category .box-image > div:hover:after {
  content: "Shop Now";
  display: block;
  top: calc(50% - 40px / 2);
  left: calc(50% - 120px / 2);
  height: 40px;
  width: 120px;
  padding: 10px;
  background-color: white;
  color: rgb(33, 42, 47);
  position: absolute;
  z-index: 999;
  border-radius: 2px;
  font-weight: 700;
  text-transform: uppercase;
}

.product-category .box-image > div:after:hover {
  background-color: rgb(33, 42, 47);
  color: white;
}
.category-product .col-inner {
  box-shadow: rgb(211, 212, 213) 0px 6px 24px 0px;
}
.san-pham-ligam .row-small > .col {
  padding: 0 22.5px 18.2px;
}
.row-box-shadow-1 .col-inner {
  box-shadow: rgb(211, 212, 213) 0px 6px 24px 0px;
}

.cart-ligam .woocommerce-variation-price .price {
  margin: unset;
}
.cart-ligam .woocommerce-variation-price {
  border: unset;
  padding: unset;
}
.shop-page-title .page-title-inner > div {
  flex-wrap: wrap;
}
.shw-top-category-list div {
  width: 100%;
  display: flex;
  overflow-x: auto;
  padding: 12px;
  background-color: rgb(245, 245, 245);
}
.shw-top-category-list a {
  flex-shrink: 0;
  padding-right: 18px;
  font-weight: 400;
  line-height: 1.43;
  font-size: 14px;
  letter-spacing: 0.4px;
  margin: 0px;
  padding: 5px 10px;
  color: rgb(33, 42, 47);
}
.product-small.box {
  display: inline-block;
}
.row.category-page-row .shop-container {
  padding: 0 10px;
}
.shw-top-category-list a.active {
  font-weight: 700;
}
.product-gallery-slider img,
.product-thumbnails img {
  height: 100%;
}
