/*
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.   ***************/


@media only screen and (max-width: 48em) {
  /*************** ADD MOBILE ONLY CSS HERE  ***************/
  
  
  }
#main, #wrapper {
    background-color: #F9FAFB;
}
.header-main .nav > li > a:after {
  content: '';
  position: absolute;
  width: 0;
  height: 1px;
  bottom: 10px;
  left: 0;
  background-color: #a38b6d;
  transition: width 0.3s ease;
}
.header-main .nav > li>a:hover:after {
  width: 100%;
}
  .ux-menu .ux-menu-link__link {
    min-height: 1em;
  }
  .footer-primary {
    border-top: 1px solid rgb(31 41 55 / var(--tw-border-opacity, 1));
    padding-top: 1.5em;
}
  .absolute-footer .copyright-footer {
    color: #9ca3af;
  }
  #footer p, #footer a {
    color: #9ca3af;
}
#footer a:hover{
    color: #fff;
}
  #footer {
    padding-top: 30px;
    border-top: 1px solid rgba(0, 0, 0, 0.21);
  }
  
  #footer p {
    margin-bottom: 0.4em;
  }
  
  .product-small .product-title {
    font-size: 1.2em;
    margin-bottom: .8em;
    line-height: 1.5;
    margin-top: .5em;
  }
  
  .product-small .product-title a {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-height: 1.5;
    -webkit-box-orient: vertical;
    overflow: hidden;
	color: #111827;
    font-weight: 600;
  }
  
  .img-box .img-inner::before, .img-box .img-inner::after {
    content: '';
    position: absolute;
    background: rgba(255, 255, 255, 0.2);
    width: 0;
    height: 0;
    -webkit-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
    border: 1px solid rgba(255, 255, 255, 0.6);
    visibility: hidden;
  }
  
  .img-box .img-inner::before {
    top: 0;
    left: 0;
  }
  
  .img-box .img-inner::after {
    bottom: 0;
    right: 0;
  }
  
  .img-box .img-inner:hover::before, .img-box .img-inner:hover::after {
    width: 100%;
    height: 100%;
    visibility: visible;
  }
  
  .product-widget .widget {
    margin: 0;
    font-size: 15px;
  }
  
  .widget .widget-title, .widget .widgettitle {
    font-family: 'Playfair Display';
    font-size: 1em;
    font-weight: 600;
    line-height: 1.8;
  }
  
  img.wp-smiley, img.emoji {
    display: inline !important;
    border: none !important;
    -webkit-box-shadow: none !important;
            box-shadow: none !important;
    height: 1em !important;
    width: 1em !important;
    margin: 0 .07em !important;
    vertical-align: -0.1em !important;
    background: none !important;
    padding: 0 !important;
  }
  
  .product-widget fieldset {
    margin-top: .5em;
    margin-bottom: 1.2em;
    border: 1px solid #e2e2e2;
    padding: 10px 30px;
    max-width: 450px;
  }
  
  .product-widget fieldset legend {
    display: block;
    margin: 0 auto;
    width: inherit;
    padding: 10px;
    color: #111;
    font-size: 15px;
    font-weight: 600;
    text-align: center;
    border-bottom: 0px;
    text-transform: initial;
    padding-bottom: 0px;
  }
  
  .product-widget .widget fieldset p {
    margin-top: -15px;
    margin-bottom: 0;
  }
  /* menu 3 cap*/
  .nav-dropdown {
     padding: 0;
  }
   .nav-dropdown > li.nav-dropdown-col {
     display: block;
     width: 100%;
     border-right: 0;
  }
   .nav-dropdown .nav-dropdown-col > a {
     font-weight: normal !important;
     text-transform: none !important;
     font-size: 15px;
     font-weight: 500;
  }
   .nav-dropdown .nav-dropdown-col > ul {
     margin-top: -40px;
     display: none;
     position: absolute;
     left: 100%;
     z-index: 9;
     background: #fff;
     min-width: 240px;
  }
   .nav-dropdown .nav-dropdown-col > ul li:hover {
     background: #f1f1f1;
  }
   .nav-dropdown .nav-dropdown-col > ul li:hover > a {
     color: #000000;
  }
   .nav-dropdown .nav-dropdown-col > ul li a {
     padding: 10px;
     text-transform: none;
     color: black;
  }
   .nav-dropdown li a {
     font-weight: normal !important;
     text-transform: none !important;
     font-size: 15px;
     font-weight: 500;
  }
   .nav-dropdown-default > li:hover {
     background: #fbae3c;
  }
   .nav-dropdown-default > li:hover > a {
     color: #000000;
  }
   .nav-dropdown-default > li > a {
     border-bottom: 0 !important;
  }
   .nav-dropdown-has-arrow li.has-dropdown:before {
     border-width: 10px;
     margin-left: -10px;
  }
   .header-nav li.nav-dropdown-col:hover > ul {
     display: block !important;
  }
.bdr-10{
	overflow:hidden;
  border-radius:10px;
}
.bdr-10 img{
	overflow:hidden;
	border-radius:10px;
}
.h_contact_form .col-inner{
	box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
}
.badge-inner.on-sale {
    background-color: #dc2626;
    border: none;
    color: #fff;
    font-size: .8em;
    padding: 0px 5px;
    border-radius: 3px;
}
.badge-container {
    left: 1rem;
    margin: 0;
    top: 1rem;
}
.badge-frame {
    height: 1.5em;
    margin-left: 0;
}
.product .product-small .col-inner {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
	overflow:hidden;
}
.h_collections .img-box .button {
    display: none;
    position: absolute;
    top: -100%;
    left: calc(50% - 95px);
	transition: .3s all;
}
.h_collections .img-box{
	transition: 1s all;
}
.h_collections .img-box:hover .button {
    display: block;
    transition: 1s all;
}
.product-footer .woocommerce-tabs ul li a {
    font-family: 'Playfair Display';
    font-size: 1em;
    color: rgb(107 114 128);
    font-weight: 600;
    text-transform: capitalize;
}
.product-footer .woocommerce-tabs ul li{
  padding: 5px 20px 5px 0px;
}
.product-footer .woocommerce-tabs ul li.active a {
    color: rgb(17 24 39);
}
.form_subscribe {
    max-width: 500px;
    margin: auto;
}
.form_subscribe .form-flat input[type=email] {
    border-radius: 8px 0px 0px 8px;
    font-size: 14px;
    min-height: 45px;
}
.form_subscribe .form-flat input[type=submit] {
	border-radius: 0px 8px 8px 0px;
    width: 100%;
    text-transform: capitalize;
    min-height: 45px;
}
.form_subscribe span.wpcf7-spinner {
    display: none;
}
.form_subscribe .ml-half {
    margin-left: 0;
}
.form_subscribe .flex-row.form-flat .flex-col {
    padding-right: 0;
}
.product .box-text-products {
  padding: 1em;
}
.pa_sizes--label,.quantity-label {
  font-family: 'Playfair Display';
  font-size: 1.130em;
}
.product-info button.single_add_to_cart_button.button {
  display: block;
  width: 100%;
  background-color: rgb(17 24 39) !important;
  border-radius: 5px;
  min-height: 45px;
  padding: 8px 15px;
  text-transform: capitalize;
}
.product-info button.single_add_to_cart_button.button:before {
  font-family: "Font Awesome 6 Free";
  content: "\f290";
  padding-right: 10px;
}
.custom-size-text {
  font-size: .75em;
  color: rgb(107 114 128);
  margin-bottom: 10px;
  font-weight: normal;
  text-align: left;
  border-bottom: 1px solid rgb(243 244 246);
  padding-bottom: 1.5em;
}
.product-info.summary{
  background: rgb(255 255 255);
  padding: 1.5em;
  box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  border-radius: 10px;
}
.stars a{
  font-size: 0px;
}
.stars a:after {
  font-size: 16px;
  margin-right: 12px;
  margin-left: 12px;
}
.tab-panels .entry-content {
  font-size: 1em;
  line-height: 1.5;
}
.product-sku {
  color: rgb(75 85 99);
  font-size: .875em;
  line-height: 1.5;
}
.product-short-description :is(h1, h2, h3) {
  font-size: 1.125em;
}
.product-short-description :is(h4, h5, h6) {
  font-size: 1em;
}
.product-short-description {
  border-bottom: 1px solid rgb(243 244 246);
  margin-bottom: 1em;
}
.product-short-description :is(h1, h2, h3) {
  font-size: 1.125em;
  margin-bottom: .7em;
  margin-top: 1em;
}
.ux-quantity.quantity  {
  border-radius: 5px;
  overflow: hidden;
}
.quantity input[type=number] {
  max-width: 3.5em;
  width: 100%;
}
.ux-quantity.quantity .ux-quantity__button.minus,.ux-quantity.quantity .ux-quantity__button.plus {
  border-radius: 5px;
}
.ux-quantity.quantity .ux-quantity__button {
  width: 40px;
  font-size: 1.8em;
  padding: 0px;
  line-height: normal;
  min-height: unset;
}
.quantity input[type=number] {
  max-width: 3.5em;
  width: 3.5em;
}
.secure-checkout-message {
  font-size: .9em;
  color: #4b5563;
  font-weight: 600;
  margin-top: 10px;
  text-align: center;
}
.secure-checkout-message:before {
  font-family: "Font Awesome 6 Free";
  content: "\f023";
  margin-right: 8px;
}
.btn_single_product {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
}
.btn_single_product .button {
  background: #fff;
  color: rgb(55 65 81);
  border: 1px solid rgb(209 213 219);
  padding: 6px 1px;
  border-radius: 5px;
  margin: 0;
  text-transform: capitalize;
  font-weight: 600;
}
.btn_single_product .button:hover{
  background:rgb(249 250 251 );
}
.product-stock-status {
  font-size: 14px;
  color: rgb(22 163 74);
  margin-top: 10px;
  font-weight: 600;
}
.product-stock-status.out-of-stock {
  color: red; /* Màu đỏ cho thông tin "Out of stock" */
}
.product-stock-status span {
  color: rgb(107 114 128);
  margin-left: 5px;
}
.product-info.summary p.stock.out-of-stock,.product-info.summary p.stock.in-stock {
  display: none;
}
.product-info .price {
  font-size: 1.7em;
  font-weight: 700;
}
.product-info .price ins .woocommerce-Price-amount {
  color: rgb(17 24 39);
}
.product-footer .woocommerce-tabs {
  border-top: none;
  background: #fff;
  margin-bottom: 2em;
  border-radius: 10px;
}
.tabbed-content .nav, .tabbed-content .tab-panels {
  padding: 0 1.5em;
}
.certificate-authenticity-wrapper {
    margin-top: 2em;
    padding: 1.5em;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
}
.certificate-authenticity-wrapper .col-inner {
  box-shadow: none;
}
.certificate-authenticity-wrapper .icon-box-img img {
  max-width: 20px;
  padding: 0;
}
.certificate-authenticity-wrapper .icon-box-img {
  background: rgb(243 244 246);
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
}
.elevate-your-piece-wrapper .icon-box .icon-box-img {
  background: rgb(243 244 246);
  border-radius: 50px;
  height: 80px;
  width: 80px !important;
  display: flex;
      align-items: center;
      justify-content: center;
}
.elevate-your-piece-wrapper .icon-box .icon-box-img img{
  max-width: 24px;
  padding-top: 0;
}
.detail-product-wrapper .icon-box-img {
  height: 60px;
  background: rgb(229 231 235);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50px;
}
.detail-product-wrapper .icon-box-img img {
  max-width: 24px;
}
.summary-product-info-wrapper .col {
  margin-bottom: 1em;
}
.summary-product-info-wrapper .col :is(h1, h2, h3, h4, h5, h6){
  margin-bottom: 0;
  font-family: 'Montserrat';
}
.product-small .col-inner {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0px 0px 5px #efefef;
}
.single-product div#tab-description {
    overflow: hidden;
    position: relative;
    padding-bottom: 25px;
}
.fix_height{
    max-height: 550px;
    overflow: hidden;
    position: relative;
}
.single-product .tab-panels div#tab-description.panel:not(.active) {
    height: 0 !important;
}
.tda_readmore_flatsome {
    text-align: center;
    cursor: pointer;
    position: absolute;
    z-index: 10;
    bottom: 0;
    width: 100%;
    background: #fff; 
}
.tda_readmore_flatsome.tda_readmore_flatsome_less {
    position: relative;
    margin: 2em 0 0 0;
}
.tda_readmore_flatsome:before {
    height: 55px;
    margin-top: -45px;
    content: "";
    background: -moz-linear-gradient(top, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 100%);
    background: -webkit-linear-gradient(top, rgba(255,255,255,0) 0%,rgba(255,255,255,1) 100%);
    background: linear-gradient(to bottom, rgba(255,255,255,0) 0%,rgba(255,255,255,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff00', endColorstr='#ffffff',GradientType=0 );
    display: block;
}
.tda_readmore_flatsome a {
  color: #fff;
  display: block;
  background: var(--primary-color);
  padding: .7em 1em;
  border-radius: 10px;
  max-width: 200px;
  margin: auto;
  text-transform: capitalize;
  transition: .3s all;
}
.tda_readmore_flatsome a:hover {
  background: #333;
  transition: .3s all;
}
.tda_readmore_flatsome a:after {
    content: '';
    width: 0;
    right: 0;
    border-top: 6px solid #fff; 
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    display: inline-block;
    vertical-align: middle;
    margin: -2px 0 0 5px;
}
.tda_readmore_flatsome_less a:after {
    border-top: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 6px solid #fff;
}
.tda_readmore_flatsome_less:before {
    display: none;
}
.woocommerce-product-gallery__image.slide,.product-thumbnails.thumbnails.slider .flickity-slider .col a{
  border-radius: 10px;
  overflow: hidden;
}
.summary-product-info-wrapper .col {
  margin-bottom: 0;
}
.certificate-authenticity-wrapper .text p {
  margin-bottom: 0;
}
.product-thumbnails img,.product-small .box-image img,.product-gallery-slider img{
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}
.product-thumbnails .col {
  width: 16.6% !important; /* Kích thước thumbnail */
}
.product-footer .nav-line-bottom>li>a:before,.product-footer .nav-line-grow>li>a:before,.product-footer .nav-line>li>a:before{
  bottom: -2px;
  top:unset; 
}
.product-footer ul.tabs.wc-tabs.product-tabs {
  border-bottom: 1px solid rgb(209, 213, 219);
  margin-bottom: 1.5em;
}
.product-main .row.content-row {
  gap: 20px;
}
#shop-sidebar {
  background: #fff;
  padding: 15px;
  border-radius: 10px;
}
.sidebar-inner .search-field {
  border-radius: 5px 0px 0px 5px;
  min-height: 45px;
}
.sidebar-inner .searchform .button.icon {
  min-height: 45px;
  border-radius: 0px 5px 5px 0px;
  min-width: 45px;
}
.product-lightbox.lightbox-content {
  border-radius: 10px;
  padding: 1em;
}
a.button.save-to-wishlist .yith-add-to-wishlist-button-block {
  align-items: center;
  width: 100%;
}
.wishlist-icon .button.icon {
  border: none;
  font-size: 1.5em;
}
a.button.save-to-wishlist .yith-add-to-wishlist-button-block.yith-add-to-wishlist-button-block--single {
    width: 100%;
    justify-content: center;
}
.product-small .box-image img{
    margin: 0 auto;
    max-width: 100%;
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}
@media screen and (min-width: 1200px) {
.woo-variation-swatches .variable-items-wrapper .variable-item:not(.radio-variable-item){
  margin: 4px 5px 4px 0;
}
}
@media screen and (max-width: 1199px) {
.product-thumbnails .col {
  width: 20% !important; 
}
}
@media screen and (max-width: 849px) {
  .certificate-authenticity-wrapper {
    margin-top: 1em;
    padding: 1em;
}
    .h_box_icon{
        padding-bottom: 15px;
    }
	.form_subscribe .form-flat input[type=email],.form_subscribe .form-flat input[type=submit] {
    	border-radius: 5px;
	}
}
@media screen and (max-width: 576px) {
  .product .box-text-products {
    padding: 10px 5px;
}
.product-small .product-title {
  font-size: 1em;
}
  .products .product-small.col {
    padding: 0 7.5px 15px;
  }
.icon-box-left .icon-box-img+.icon-box-text p {
    margin-bottom: .5em;
}
.tabbed-content .nav, .tabbed-content .tab-panels {
  flex-flow: nowrap;
  font-size: .9em;
  overflow-x: auto;
  white-space: nowrap;
  margin-bottom: 1em;
  padding: 15px;
}
.tabbed-content .nav {
  padding: 0 15px;
}
.product-footer .woocommerce-tabs ul li {
  padding: 5px 0em 5px 0px;
  margin-right: 3em !important;
}
/* width */
.product-footer .woocommerce-tabs>.nav-line-grow::-webkit-scrollbar {
  width: 1px;
height:3px;
}

/* Track */
.product-footer .woocommerce-tabs>.nav-line-grow::-webkit-scrollbar-track {
  box-shadow: inset 0 0 5px grey;
  border-radius: 10px;
} 

/* Handle */
.product-footer .woocommerce-tabs>.nav-line-grow::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border-radius: 10px; 
}
.product-info.summary {
  padding: 15px;
  margin-left: 15px;
}
.product-info.summary .product-title {
  font-size: 1.2em;
  line-height: 1.5;
}
.product-short-description {
  font-size: .9em;
  line-height: 1.5;
}
.product-info .price {
  font-size: 1.4em;
}
.btn_single_product .button{
  font-size: 0.8em;
  align-items: center;
  justify-content: center;
  display: flex;
}
.button.save-to-wishlist a.yith-wcwl-add-to-wishlist-button{
  font-size: inherit;
}
.yith-wcwl-add-to-wishlist-button.yith-wcwl-add-to-wishlist-button--anchor svg.yith-wcwl-icon-svg{
  width: 20px;
  max-width: 20px;
}
.container .detail-product-wrapper .section {
  padding: 15px;
}
.row-small>.col, .row-small>.flickity-viewport>.flickity-slider>.col {
  padding: 0 7.5px 15px;
}
}