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

/*************** ADD CUSTOM CSS HERE.   ***************/
 @font-face {
    font-family: 'Geologica';
    src: url(https://file.hstatic.net/200001017063/file/geologica-variablefont_crsv_shrp_slnt_wght.ttf), format('truetype');
    font-weight: normal;
    font-style: normal;
  }
  @font-face {
    font-family: 'Outfit';
    src: url(//theme.hstatic.net/200001017063/1001365447/14/outfit-300-light.ttf?v=226), format('truetype');
    font-weight: 300;
    font-style: normal;
  }
  @font-face {
    font-family: 'Outfit';
    src: url(//theme.hstatic.net/200001017063/1001365447/14/outfit-400-regular.ttf?v=226), format('truetype');
    font-weight: 400;
    font-style: normal;
  }
  @font-face {
    font-family: 'Outfit';
    src: url(//theme.hstatic.net/200001017063/1001365447/14/outfit-500-medium.ttf?v=226), format('truetype');
    font-weight: 500;
    font-style: normal;
  }
  @font-face {
    font-family: 'Outfit';
    src: url(//theme.hstatic.net/200001017063/1001365447/14/outfit-800-extrabold.ttf?v=226), format('truetype');
    font-weight: 800;
    font-style: normal;
}
body, h1, h2, h3, h4, h5, h6, p, span, a {    font-family: 'Outfit', sans-serif ;}
a {color: #333;}
.product-info.summary > .woocommerce-breadcrumb {display: none !important;}
.price-wrapper > .price > .woocommerce-Price-amount.amount{
    color: #F30;
    display: inline-block;
    font-size: 16px;
    font-weight: bolder;
    margin-right: 10px;
}
.product-support-buttons .col-6 {
    flex: 1;
}

.btn-tu-van, .btn-lien-he {
    width: 100%;
    display: inline-block;
    padding: 10px 15px;
    border: none;
    border-radius: 6px;
    text-transform: uppercase;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    transition: all 0.3s ease;
}

/* Popup style */
.consult-popup {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.consult-popup.active {
    display: flex;
}

.consult-popup-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.6);
}

.consult-popup-content {
    background: #fff;
    padding: 25px 30px;
    border-radius: 10px;
    max-width: 450px;
    width: 90%;
    position: relative;
    z-index: 2;
    animation: popupIn 0.3s ease;
}

.consult-popup-content h3 {
    margin-bottom: 10px;
    color: #f15a29;
}

.consult-popup-content .close-popup {
    position: absolute;
    right: 10px;
    top: 10px;
    font-size: 22px;
    cursor: pointer;
}

@keyframes popupIn {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}
#fs-current{
    background: linear-gradient(to bottom, #ff8400, transparent);
    padding: 20px 10px 0;
}
.flash-sale-tabs-block .nav.nav-tabs{
    background: #ff8400;
    justify-content: center;
}
.flash-sale-tabs-block .nav.nav-tabs li a{
    background: none;
    border: none;
    color: #fff;
}
.shop‐product‐gallery-thumbs{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 10px;
    position: absolute;
    top: -50px;
    left: 0;
    right: 0;
    transition: all .35s ease-in;
}
.shop‐product‐gallery-thumbs img{
    max-height: 40px;
    border: 1px solid #DbDbDb;
    width: auto;
}
.product-small .box-image{
    padding-bottom: 50px;
    background: #FFF;
}
.product-small .box-text-products {
    padding: 15px;
    background: #f0f1f2;
}
ins span.amount{
    color: #F30;
    display: inline-block;
    font-size: 16px;
    font-weight: bolder;
    margin-right: 10px;
}
.product-small .product-title a{
    font-weight: bold;
    margin-bottom: 7px;
}
del span.amount , .product-small del{color: #aaa}
#fs-current .product-small {padding: 0}
.product-small .box-image img{  width: 100%;
  max-height: 320px;  
  object-fit: cover;        /* cover = crop, contain = vừa đủ (có nền) */
  object-position: center;
  display: block;}
.section-title-all h2 {
    color: #ff8400;
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 0;
    margin-top: 10px;
}
.section-title-all > p {
    color: #AAA;
    margin-top: 10px;
}
.home-post .post-item .col-inner {
    padding: 30px;
    background: #f0f1f2;
    border-radius: 2px;
    transition: all .5s;
    cursor: pointer;
}
.is-divider {display: none;}
.home-post .post-item .col-inner .post-title{
    margin-bottom: 10px;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    display: -webkit-box;
    font-size: 18px;
}
.home-post .post-item .col-inner .post-title a {color: #333}
.section-icon p {margin-bottom: 0}
.section-icon .icon-box-text {
    text-align: center;
}
.text-small-2{color: #AAA;font-size: 13px}
.section-icon .icon-box-text .button.primary{
    font-size: 15px;
    font-weight: normal;
    color: #333;
}
.main-product-breadcrumb {
    padding: 100px 0;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
}
.main-product-breadcrumb * {
    color: #ffffff;
}
.main-product-breadcrumb .section-title-all {
    width: 50%;
}
.main-product-breadcrumb .breadcrumb-wrap ol {
    padding: 0;
    background: transparent;
    margin: 0;
}
.main-product-breadcrumb .breadcrumb-item {
    display: -ms-flexbox;
    display: flex;
}
.main-product-breadcrumb .breadcrumb-item h2{
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 0;
    margin-top: 10px;
}
.main-product-breadcrumb {
    background-image: url(//theme.hstatic.net/200001017063/1001365447/14/main_product_breadcrumb_bg.png?v=226);
}
.main-product-breadcrumb .breadcrumb {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    padding: .75rem 1rem;
    margin-bottom: 1rem;
    list-style: none;
    background-color: #e9ecef;
    border-radius: .25rem;
}
.breadcrumb-item+.breadcrumb-item {
    padding-left: .5rem;
}
.breadcrumb-item+.breadcrumb-item::before {
    display: inline-block;
    padding-right: .5rem;
    color: #6c757d;
    content: "/";
}
.product-main {
    padding: 20px 0 40px;
}
.main-product-fsale {
    background: linear-gradient(to left, #DD1829, #FCC419);
    padding: 5px;
    border-radius: 5px;
    text-align: center;
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: start;
    align-items: center;
    margin-bottom: 20px;
}
.main-product-fsale img {
    max-width:150px;
    margin-right:10px;
    border-radius:5px;
}
.main-product-fsale .main-product-fsale-countdown {
    display: flex;
    flex-wrap: nowrap;
    justify-content: end;
    align-items: end;
    color: #fff;
}
.main-product-fsale #flash-sale-label{
    margin: 0;
    color: #fff;
    font-size: 16px;
}
.main-product-info {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: flex-start;
    font-size: 0.85rem;
    margin-bottom: 10px;
}
.main-product-info > div {
    width: 50%;
    padding-left: 15px;
    position: relative;
}
.main-product-info > div:after {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    transform: translateY(-50%);
    background: #ff8400;
}
.product-summary .woocommerce-Price-currencySymbol {
    vertical-align: middle;
}
.product-summary del{
    margin-left: 0;
    font-size: 14px;
    color: #777a7b;
    padding-right: 10px;
    font-weight: 500;
}
.product-summary .single_add_to_cart_button{
    width: 100%;
    border: 1px solid #CCC;
    padding: 5px 10px;
    background: #fff;
    color: #000;
}
.product-info .product-support-buttons button, .product-info .product-support-buttons a{
    text-align: center;
    border: 1px solid #CCC;
    padding: 5px 10px;
    text-transform: uppercase;
    font-weight: bold;
    position: relative;
    transition: color .4s .4s 
    ease-in, border .4s .4s 
    ease-in;
    font-size: .85rem;
    margin: 0;
    line-height: normal;
}
.badge {width: auto; height: auto; font-size: 13px;}
.badge-inner{
    padding: 5.5px 5px;
    font-size: 13px;
    height: auto;
    width: auto;
    font-weight: normal;
    background: #F30;
}
.woocommerce-tabs .tab-panels {
    background: #FbFbFb;
}
.woocommerce-tabs ul.product-tabs > li.active a{background: #d77c4d;color: #fff;}
.woocommerce-tabs ul.product-tabs > li a {border: none;}
.post-type-archive-product .product-small .box-image img , .tax-product_cat .product-small .box-image img {max-height: 235px;}
.wpfFilterContent .wfpDescription{
    height: 30px;
    line-height: 30px;
    margin-bottom: 15px;
    font-weight: bold;
    margin-right: 10px;
    font-size: 16px !important;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}
.wpfMainWrapper .wpfFilterWrapper{border-bottom: 1px solid #ccc;}
.wpfMainWrapper .wpfFilterWrapper:nth-child(4) {border: none;}
.wpfMainWrapper span.amount{font-weight: normal;}
#post-list .post-item .col-inner{
    padding: 30px;
    background: #f0f1f2;
    border-radius: 0;
    transition: all .5s;
    cursor: pointer;
    margin-bottom: 15px;
}
#post-list .post-item .box-image .image-cover {padding-top: 100% !important}
#post-list .post-item .post-title a{
    margin-bottom: 10px;
    font-size: 1.5rem;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    display: -webkit-box;
}
#wide-nav ul.header-nav > li > a{
    color: #fff !important;
    font-weight: 500;
    opacity: 1;
}
.post-sidebar .section-title-all {
    padding-left: 10px;
    padding-right: 10px;
}
.post-sidebar .section-title-all > span {
    color: #ff8400;
    font-weight: bold;
    text-transform: uppercase;
    display: block;
    font-size: 1.25rem;
    position: relative;
    padding-left: 27.5px;
    line-height: 1;
    margin-bottom: 15px;
}
.post-sidebar .section-title-all > span:before {
    content: "";
    position: absolute;
    left: 0;
    top: 1px;
    z-index: 9;
    height: 15px;
    width: 20px;
    background: url(//theme.hstatic.net/200001017063/1001365447/14/image_title_all.png?v=225);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: left;
}
.post-sidebar .article-item {
    position: relative;
}
.post-sidebar .article-item:before {
    content: attr(data-index);
    position: absolute;
    top: 15px;
    left: 0;
    width: 30px;
    z-index: 99;
    height: 30px;
    line-height: 20px;
    font-weight: bold;
    text-align: center;
    color: #fff;
    background: #ff8400;
    border: 5px solid #fff;
}
.post-sidebar .article-item-wrap {
    padding: 15px 15px 15px 30px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    background: #f0f1f2;
    margin-bottom: 15px;
}
.post-sidebar .article-item-wrap .article-item-image {
    width: 30%;
}
.post-sidebar .article-item-image a img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.75s;
    transform: scale(1.1);
}
.post-sidebar .article-item .article-item-wrap .article-item-detail {
    padding-left: 15px;
}
.post-sidebar .article-item-wrap .article-item-detail .article-item-detail-name {
    font-size: 1.25rem;
    margin-bottom: 0px;
}
.post-sidebar .article-item-wrap .article-item-detail {
    width: 70%;
    margin-top: 0;
}
.post-sidebar .article-item .article-item-wrap:hover .article-item-image a img {
    transform: scale(1);
}
.post-sidebar .article-item-wrap .article-item-image a svg {
    width: 30px;
    height: 30px;
}
.post-sidebar .article-item-wrap:hover .article-item-image a svg {
    transform: scale(1) translate(-50%, -50%);
}
.post-sidebar .article-item-wrap .article-item-image a svg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: scale(0) translate(-50%, -50%);
    width: 45px;
    height: 45px;
    transition: all 0.75s;
}
.post-sidebar .article-item-image {position: relative;}
.post-sidebar .article-item-wrap .article-item-detail .article-item-detail-name {
    margin-bottom: 10px;
    font-size: 1.25rem;
    font-weight: 500;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    display: -webkit-box;
}
.entry-content {padding-top: 0;}
.entry-header .entry-header-text{
    padding: 0;
}
.header-vertical-menu__title{
    color: #fff;
    font-weight: 500;
    font-size: 16px;
}
[data-icon-label]:after {background-color: #ff8400;}
.header-right-phone {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    margin-right: 40px;
    font-size: 16px;
}
.header-right-phone .header-right-phone-detail {margin-left:10px}
.header-right-phone .header-right-phone-detail span {display: block;}
.header-right-phone .header-right-phone-detail a {
    display: block;
    color: #ff8400;
    font-weight: bold;
}
.header-right-phone a svg{fill: #333 !important;}
.section-newletter .wpcf7-form input.wpcf7-submit{
    width: 23%;
    float: left;
    margin: 0;
    height: 45px;
    margin-left: 2%;
}
.section-newletter .wpcf7-form .wpcf7-form-control-wrap {
    width: 70%;
    float: left;
}
.section-newletter .wpcf7-form .wpcf7-form-control-wrap input{
    border: 2px solid #ebebeb;
    border-radius: 5px;
    background: #fff;
    height: 47px;
    margin: 0;
}
.header .header-top .header-center form input {
    background: transparent;
    border: none;
    outline: none;
    padding: 0;
    box-shadow: 0;
    border-bottom: 1px solid #F9F9F9;
    padding: 2.5px 25px 2.5px 0;
    width: 100%;
    color: #333;
}
.header-nav #woocommerce-product-search-field-0 {
    border: none;
    border-bottom: 1px solid #cccccc;
    box-shadow: none;
    font-size: 14px;
}
.header-nav .submit-button{
    background: none;
    border: none;
    color: #333;
    position: absolute;
    top: 0;
    right: 0;
}
#footer .widget-title:before {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100px;
    border-bottom: 1px solid #fff;
}
#footer .widget-title{
    text-transform: uppercase;
    margin-bottom: 15px;
    font-weight: 600;
    font-size: 16px;
    display: block;
    position: relative;
    padding-bottom: 10px;
}
.shop-mobar {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    background: #ff8400;
    display: none;
    z-index: 97;
    top: unset;
}
.shop-mobar .shop-mobar-wrap ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    margin: 0;
}
.shop-mobar .shop-mobar-wrap ul li {
    width: calc(100% / 4);
    padding: 7.5px 2.5px;
    text-align: center;
    margin: 0;
    list-style: none;
}
.shop-mobar .shop-mobar-wrap ul li:not(:last-child) {
    border-right: 1px solid #d9b23a;
}
.shop-mobar .shop-mobar-wrap ul li img {
    max-width: 20px;
}
.shop-mobar .shop-mobar-wrap ul li span {
    font-size: .9rem;
    display: block;
    margin-top: 10px;
    line-height: 1;
    color: #fff;
}
@media (max-width:549px){
    .product-small .box-image img {max-height: 150px;}
}
@media (max-width:991px){
    .shop-mobar {
        display: block;
    }
}

/* Khung menu mobile */


/* Nút mở menu */
.header-menu-left {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 0px;
    cursor: pointer;
    position: relative;
    width: 100%;
}

/* Menu trượt lên */
.header-menu-sidebar {
    opacity: 0;
    visibility: hidden;
    transform-origin: top;
    transform: scaleY(0);
    transition: all .5s;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #FFF;
    border: 1px solid #CCC;
    border-top: 3px solid #ff8400;
    padding: 10px 10px 0;
}

/* Khi menu mở */
.header-menu-sidebar.active {
    opacity: 1;
    visibility: visible;
    transform: none;
    max-height: 60vh;
    overflow: hidden auto;
}

/* Overlay nền mờ */
.menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Khi overlay hiển thị */
.menu-overlay.active {
    display: block;
    opacity: 1;
}

/* Danh sách menu */
.mobile-menu-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.mobile-menu-list li {
    margin-bottom: 12px;
}
.mobile-menu-list a {
    text-decoration: none;
    color: #333;
    font-size: 16px;
    font-weight: 500;
}

#wide-nav .show-for-medium .header-bottom-nav , #wide-nav .show-for-medium .header-bottom-nav > li{
    width: 100%;
    display: block;
}
#wide-nav .mobile-menu-overlay.active{
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.2);
}
#main-menu .custom.html_topbar_right {display: none;}
.header-menu-left svg{fill: #fff !important;
    height: 19px !important;}
.header-main .nav > li > a {color: #000} 
body.home #content > .col.small-12 , body.home #content > .col.small-12 .col.small-12 {padding: 0 !important}    
body.home #content > .col.small-12 .col.small-12 .col.medium-6 {padding-bottom: 0 !important}
.section-category {padding: 15px 0 !important;}
.footer-toggle {
  background: none;
  border: none;
  font-size: 16px;
  color: #fff;
  cursor: pointer;
  float: right;
  margin-top: -10px;
  transition: transform 0.2s ease;
}

.footer-toggle[aria-expanded="true"] {
  transform: rotate(180deg);
}
/* Mặc định: Desktop hiển thị 4 sản phẩm */
.cath-flash-sale .col {
  width: 25%;
  box-sizing: border-box;
}
.cath-flash-sale .product-small.col {width: 100% !important}
.cath-flash-sale .flickity-slider {transform: none !important;}
/* Tablet: 3 sản phẩm */
@media (max-width: 1024px) {
  .cath-flash-sale .col {
    width: 33.3333%;
  }
}

/* Mobile: 2 sản phẩm */
@media (max-width: 768px) {
  .cath-flash-sale .col {
    width: 50%;
  }
  .cath-flash-sale .shop‐product‐gallery-thumbs {display: none;}
  .cath-flash-sale .box-image {padding: 0}
	.product-info.summary {padding-bottom:0 !important;}
}

@media (min-width: 769px) {
  .footer-toggle {
    display: none;
  }
	
}

@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/


}