/*
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.   ***************/
/* =========================================
   BE VIETNAM PRO — FULL FONT FAMILY
   ========================================= */

@font-face {
    font-family: 'BeVietnamPro';
    src: url('/wp-content/fonts/be-vietnam-proBeVietnamPro-ThinItalic.woff2') format('woff2'),
         url('/wp-content/fonts/be-vietnam-proBeVietnamPro-ThinItalic.woff') format('woff');
    font-weight: 100;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'BeVietnamPro';
    src: url('/wp-content/fonts/be-vietnam-proBeVietnamPro-Light.woff2') format('woff2'),
         url('/wp-content/fonts/be-vietnam-proBeVietnamPro-Light.woff') format('woff');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'BeVietnamPro';
    src: url('/wp-content/fonts/be-vietnam-proBeVietnamPro-LightItalic.woff2') format('woff2'),
         url('/wp-content/fonts/be-vietnam-proBeVietnamPro-LightItalic.woff') format('woff');
    font-weight: 300;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'BeVietnamPro';
    src: url('/wp-content/fonts/be-vietnam-proBeVietnamPro-Regular.woff2') format('woff2'),
         url('/wp-content/fonts/be-vietnam-proBeVietnamPro-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'BeVietnamPro';
    src: url('/wp-content/fonts/be-vietnam-proBeVietnamPro-Italic.woff2') format('woff2'),
         url('/wp-content/fonts/be-vietnam-proBeVietnamPro-Italic.woff') format('woff');
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'BeVietnamPro';
    src: url('/wp-content/fonts/be-vietnam-proBeVietnamPro-Medium.woff2') format('woff2'),
         url('/wp-content/fonts/be-vietnam-proBeVietnamPro-Medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'BeVietnamPro';
    src: url('/wp-content/fonts/be-vietnam-proBeVietnamPro-MediumItalic.woff2') format('woff2'),
         url('/wp-content/fonts/be-vietnam-proBeVietnamPro-MediumItalic.woff') format('woff');
    font-weight: 500;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'BeVietnamPro';
    src: url('/wp-content/fonts/be-vietnam-proBeVietnamPro-SemiBold.woff2') format('woff2'),
         url('/wp-content/fonts/be-vietnam-proBeVietnamPro-SemiBold.woff') format('woff');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'BeVietnamPro';
    src: url('/wp-content/fonts/be-vietnam-proBeVietnamPro-SemiBoldItalic.woff2') format('woff2'),
         url('/wp-content/fonts/be-vietnam-proBeVietnamPro-SemiBoldItalic.woff') format('woff');
    font-weight: 600;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'BeVietnamPro';
    src: url('/wp-content/fonts/be-vietnam-proBeVietnamPro-Bold.woff2') format('woff2'),
         url('/wp-content/fonts/be-vietnam-proBeVietnamPro-Bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'BeVietnamPro';
    src: url('/wp-content/fonts/be-vietnam-proBeVietnamPro-BoldItalic.woff2') format('woff2'),
         url('/wp-content/fonts/be-vietnam-proBeVietnamPro-BoldItalic.woff') format('woff');
    font-weight: 700;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'BeVietnamPro';
    src: url('/wp-content/fonts/be-vietnam-proBeVietnamPro-Black.woff2') format('woff2'),
         url('/wp-content/fonts/be-vietnam-proBeVietnamPro-Black.woff') format('woff');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'BeVietnamPro';
    src: url('/wp-content/fonts/be-vietnam-proBeVietnamPro-BlackItalic.woff2') format('woff2'),
         url('/wp-content/fonts/be-vietnam-proBeVietnamPro-BlackItalic.woff') format('woff');
    font-weight: 900;
    font-style: italic;
    font-display: swap;
}

body {
/*     font-family: 'BeVietnamPro', sans-serif; */
}
h1, h2, h3, h4, h5, h6 {
/*     font-family: 'BeVietnamPro', sans-serif; */
}
/* End Font Be Viet Nam Pro */

.single-product .ux-quantity.quantity {
  flex: 1 1 100% !important;
}
.single-product .single_add_to_cart_button,
.single-product .ux-buy-now-button {
  flex: 1 !important;
}
.single-product .sticky-add-to-cart-wrapper {
  display: none;
}
.banner_cat_title h2 {
  margin-top: 20px;
  font-size: 36px;
  color: #00656e;
  font-weight: bold;
}
.cat-price-filter {
  background: linear-gradient(180deg, #00656e, #58ba5b) !important;
  color: #fff;
  padding: 30px;
  margin-top: 15px;
  border-radius: 4px;
}

.cat-price-filter strong {
  display: block;
  margin-bottom: 8px;
}

.cat-price-filter .price-filter-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.cat-price-filter .price-filter-list a {
  color: #fff;
  text-decoration: none;
}
.cat-price-filter .price-filter-list li.active a {
  text-decoration: underline;
}

.cat-price-filter .price-filter-list a:hover {
  text-decoration: underline;
}

.banner_img_product_cat {
  margin-top: 20px;
}
.mfp-youtube-holder {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 70vh;
  /* 16:9 aspect ratio */
  max-width: 900px;
  margin: 0 auto;
  background: #000;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.mfp-youtube-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.mfp-youtube-content iframe {
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 8px;
}

.mfp-youtube-popup .mfp-content {
  max-width: 95vw;
  max-height: 95vh;
  padding: 20px;
}

.mfp-youtube-popup .mfp-container {
  padding: 20px;
}

.mfp-youtube-popup .mfp-close {
  color: #fff;
  background: rgba(0, 0, 0, 0.7);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  line-height: 40px;
  font-size: 24px;
  top: 10px;
  right: 10px;
}

.mfp-youtube-popup .mfp-close:hover {
  background: rgba(0, 0, 0, 0.9);
}

.youtube-thumb:hover .play-button {
  transform: translate(-50%, -50%) scale(1.1);
}

/* Responsive cho mobile */
@media (max-width: 768px) {
  .mfp-youtube-holder {
    max-width: 100%;
    margin: 0;
  }

  .mfp-youtube-popup .mfp-content {
    padding: 10px;
  }

  .mfp-youtube-popup .mfp-container {
    padding: 10px;
  }
}
.have_ajax_paging .post-item .is-divider {
  display: block;
  transition-property: all;
  transition-duration: 0.8s;
  transition-timing-function: ease-in-out;
  background-color: rgba(255, 255, 255, 0.2);
  height: 1px;
}

.have_ajax_paging .post-item:hover .is-divider {
  width: 100%;
  max-width: 100%;
  margin: 10px auto 30px;
  transition-property: all;
  transition-duration: 0.8s;
  transition-timing-function: ease-in-out;
}

.have_ajax_paging .post-item i {
  color: #fff;
  font-size: 20px;
  display: none;
}

.have_ajax_paging .post-item:hover i {
  display: block;
}

/*.have_ajax_paging .post-item .box:hover .box-text {
	transform: translatey(20px);
}*/
.woocommerce-additional-fields span.optional,
.woocommerce-billing-fields span.optional {
  display: none;
}

.custom-rating_loop_container {
  display: flex;
  padding: 0 15px 10px;
  justify-content: space-between;
  align-items: center;
}

.custom-rating_loop_container .custom-stars {
  font-size: 20px;
}

.shop-container .product-small.box .box-text {
  padding-bottom: 0;
  text-align: left;
}
.home .product-small.box .box-text {
  padding-bottom: 0;
}
.product-small.box .box-text .product-title {
  text-align: left;
}

.product-small.box .box-text .price-wrapper > span.price {
  display: flex;
  flex-direction: row-reverse;
  justify-content: flex-end;
  gap: 10px;
}

.related-products-wrapper .product-small.box .box-text {
  padding-bottom: 15px;
}

.single-product .related-products-wrapper .custom-rating_loop_container {
  padding: 0;
}
.badge-circle {
  margin-left: 10px !important;
}
.badge-container {
  margin: 10px 0 0 !important;
}
.badge-circle .badge-inner {
  background-color: #f1ba47 !important;
}
@media only screen and (max-width: 48em) {
  /*************** ADD MOBILE ONLY CSS HERE  ***************/
	.products-row .product-small:nth-child(odd){
		padding-right: 5px;
	}
	.products-row .product-small:nth-child(even){
		padding-left: 5px;
	}
	.products-row .product-small .box-text-products{
		padding: 10px 7px 0px 7px !important;
	}
  .single-product .nav-tabs+.tab-panels {
    padding: 15px !important;
  }
  .grid-style-3 .title-wrapper {
    padding-right: 0 !important;
  }
	.single-product .woocommerce-tabs > ul.tabs {
		flex-wrap: nowrap !important;
	}
  .sticky-add-to-cart--active {
    padding: 5px !important;
    background-color: white !important;
  }
  .sticky-add-to-cart--active .sticky-add-to-cart__product {
    width: 100% !important;
  }
  .single-product .sticky-add-to-cart--active .single_add_to_cart_button, .single-product .sticky-add-to-cart--active .ux-buy-now-button {
    border-radius: 5px !important;
  }
  .single-product .sticky-add-to-cart-wrapper {
    display: block;
  }
  .cat-price-filter .price-filter-list {
    gap: 5px 20px;
  }
  .cat-price-filter .price-filter-list > li {
    width: calc(50% - 20px);
    font-size: 13px;
  }
  .mfp-youtube-holder {
    padding-bottom: 50vh;
  }
  .product-small.box .box-text .price-wrapper > span.price {
    flex-wrap: wrap;
  }

  .custom-rating_loop_container {
    align-items: flex-start;
    flex-direction: column;
  }

  .custom-rating_loop_container .custom-sales {
    font-size: 12px;
  }
}
