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

.header-bottom-nav.nav-line-bottom>li>a:before,
.header-bottom-nav.nav-line-grow>li>a:before,
.header-bottom-nav.nav-line>li>a:before,
.header-bottom-nav.nav-box>li>a:hover,
.header-bottom-nav.nav-box>li.active>a,
.header-bottom-nav.nav-pills>li>a:hover,
.header-bottom-nav.nav-pills>li.active>a {
    color: #FFF !important;
    background-color: #EB1C2E !important;
    padding: 16px 12px;
}

#masthead {
    background-color: #ededed;
}


.header-bottom {
    border-top: 1px solid #ccc;
    border-bottom: 3px solid #ed1c24;
}

ul.nav.header-nav.header-bottom-nav.nav-center {
    display: flex;
    gap: 0px;
    justify-content: flex-start;
}

form.searchform {
    width: 600px;
}

form.searchform input#woocommerce-product-search-field-0 {
    height: 48px;
    border-top-left-radius: 6px;
    border-bottom-left-radius: 6px;
}


button.ux-search-submit.submit-button.secondary.button {
    height: 48px;
    width: 58px;
    border-top-right-radius: 6px;
    border-bottom-right-radius: 6px;
}

.section-footer span.ux-menu-link__text {
    color: #fff;
    font-size: 16px;
}

.absolute-footer.dark {
    display: none;
}

.subheader .toogle-nav-wrapper {
    display: flex;
    width: 100%;
    background: rgb(10, 10, 10);
}

h5.post-title.is-large a.plain {
    text-transform: uppercase;
    font-size: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

p.from_the_blog_excerpt {
    font-size: 14px;
}

.col.post-item:hover p.from_the_blog_excerpt,
.text-hotline a:hover {
    color: #f15a22;
}

.text-hotline a {
    color: #000;
}

.col-form-contact input[type=email],
.col-form-contact input[type=number],
.col-form-contact input[type=search],
.col-form-contact input[type=tel],
.col-form-contact input[type=text],
.col-form-contact input[type=url] {
    height: 42px;
    border-radius: 6px;
}


.col-form-contact textarea {
    border-radius: 6px;
}


input.wpcf7-form-control.wpcf7-submit.has-spinner.btn-submit {
    border-radius: 6px;
    padding: 5px 20px;
}


.banner.has-hover:hover,
.banner.has-hover:focus,
.banner.has-hover:active {
    transform: none !important;
    filter: none !important;
    opacity: 1 !important;
    transition: none !important;
}

.banner.has-hover:hover img,
.banner.has-hover img:hover {
    transform: none !important;
    filter: none !important;
    opacity: 1 !important;
    transition: none !important;
}

.banner.has-hover .banner-bg:before,
.banner.has-hover:hover .banner-bg:before {
    opacity: 0 !important;
    transition: none !important;
}

.banner.has-hover .banner-layers,
.banner.has-hover:hover .banner-layers {
    transform: none !important;
    transition: none !important;
}

.nav-line-bottom>li>a:before {
    bottom: 4px;
    top: auto;
}

a.woocommerce-LoopProduct-link.woocommerce-loop-product__link:hover {
    color: #DC1D21;
}

.widget>ul>li>a,
.widget>ul>li>span:first-child,
ul.menu>li>a,
ul.menu>li>span:first-child {
    color: #000;
}

.widget>ul>li li>a,
ul.menu>li li>a {
    color: #000;
    font-size: 13px;
}

.widget .current-cat>a {
    color: #DC1D21;
    font-weight: bolder;
}

span.product-contact {
    font-size: 16px;
}

.text-ok h3 {
    position: relative;
    padding-left: 10px;
}

.text-ok h3::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 3px;
    height: 100%;
    background-color: #324158;
}

.prod-home .col-inner {
    border: 1px solid #e3e3e3;
    border-radius: 5px;
    overflow: hidden;
    transition: all 0.3s;
    position: relative;
    background-color: #fff;
    padding: 10px;
}

.row-slider .flickity-page-dots {
    bottom: -25px;
}

.img-box-ok .box-image {
    border-radius: 22px;
}

.img-box-ok:hover h3 {
    color: #DC1D21 !important;
    cursor: pointer;
}

.row-5-icon-box {
    display: flex;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    gap: 0;
}

.row-5-icon-box .col {
    flex: 1 1 20%;
    max-width: 20%;
    padding: 25px 15px 10px;
    display: flex;
    align-items: center;
    border: none;
    background: #fff;
}

.row-5-icon-box .col+.col {
    border-left: 1px solid #e5e5e5;
}

.row-5-icon-box .icon-box {
    display: flex;
}

.row-5-icon-box .icon-box-img {
    flex-shrink: 0;
}

.row-5-icon-box .icon-box-text {
    flex: 1;
}

.nav-tabs>li.active>a {
    border-top-color: #0A0A0A;
    border-left: 1px solid #0A0A0A;
    border-right: 1px solid #0A0A0A;
}

.nav-tabs+.tab-panels {
    background-color: #fff;
    border: 1px solid #0A0A0A;
    padding: 20px;
}

.tab-home span.product-contact {
    border: 1px solid red;
    padding: 0px;
    width: 100% !important;
    display: block;
}


.cf7-phone-subscribe p {
    display: flex;
    align-items: center;
    gap: 12px;
}

.cf7-phone-subscribe input.wpcf7-form-control {
    height: 42px;
    border-radius: 99px;
    width: 268px;
}


.cf7p-input::placeholder {
    color: #8a8a8a;
}

.cf7p-btn {
    height: 42px;
    padding: 0 18px;
    border-radius: 999px;
    background: #8a8a8a;
    color: #fff;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
    border: none;
    cursor: pointer;
}

.cf7p-btn:hover {
    filter: brightness(0.95);
}

.btn-phone {
    background: #FA0F0F;
}

a.button.alt.buy-now-button {
    display: inline-block;
    overflow: hidden;
    clear: both;
    padding: 9px 0;
    border-radius: 4px;
    font-size: 18px;
    line-height: normal;
    text-transform: uppercase;
    color: #fff !important;
    text-align: center;
    background: #fd6e1d;
    background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#fd6e1d), to(#f59000)) !important;
    background: -webkit-linear-gradient(top, #f59000, #fd6e1d);
    background: -moz-linear-gradient(top, #f59000, #fd6e1d);
    background: -ms-linear-gradient(top, #f59000, #fd6e1d);
    background: -o-linear-gradient(top, #f59000, #fd6e1d);
    margin: 0 0 20px;
    text-decoration: none;
    border-bottom: 0 !important;
    max-width: 306px;
    width: 46%;
}


.form-row {
    display: flex !important;
    gap: 15px !important;
}

.form-col {
    flex: 1 !important;
}

.form-col .wpcf7-form-control {
    width: 100% !important;
}

/* Input chung */
.dat-hang-ngay-form input[type="text"],
.dat-hang-ngay-form input[type="tel"],
.dat-hang-ngay-form input[type="email"],
.dat-hang-ngay-form textarea {
    width: 100% !important;
    height: 50px !important;
    border: 1px solid #e1e5e9 !important;
    border-radius: 8px !important;
    padding: 0 18px !important;
    font-size: 15px !important;
    background: #f8f9fa !important;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.dat-hang-ngay-form textarea {
    height: 100px !important;
    padding-top: 15px !important;
    resize: vertical;
}

.dat-hang-ngay-form input:focus,
.dat-hang-ngay-form textarea:focus {
    border-color: #ffc107 !important;
    background: #fff !important;
    box-shadow: 0 0 0 0.2rem rgba(255, 193, 7, .25) !important;
    outline: none !important;
}

/* Radio Giới tính */
.radio-gioi-tinh {
    display: flex !important;
    gap: 20px;
}

.radio-gioi-tinh label {
    display: flex !important;
    align-items: center !important;
    cursor: pointer !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    color: #333 !important;
}

.radio-dot {
    width: 20px !important;
    height: 20px !important;
    border-radius: 50% !important;
    margin-right: 8px !important;
    position: relative !important;
    transition: all 0.3s ease !important;
}



input[type="radio"]:checked+.radio-dot::after {
    transform: translate(-50%, -50%) scale(1) !important;
}

/* Nút ĐẶT HÀNG NGAY */
.btn-dat-hang-ngay {
    background: #0A0A0A !important;
    border: none !important;
    border-radius: 8px !important;
    height: 55px !important;
    font-size: 18px !important;
    font-weight: bold !important;
    color: #fff !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    width: 100% !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
}



.spnb-final {
    display: flex !important;

}

.spnb-final {
    display: flex;
    align-items: stretch;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    margin: 15px 0;
    transition: all 0.3s ease;
}



.spnb-final-link {
    display: flex;
    text-decoration: none;
    color: inherit;
    width: 100%;
}

.spnb-final-img {
    width: 100%;
    flex-shrink: 0;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.spnb-final-img img {
    width: 100%;
    height: auto;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.spnb-final:hover .spnb-final-img img {
    transform: scale(1.08);
}

.spnb-final-content {
    width: 100%;
    padding: 15px;
    display: flex;
    flex-direction: column;
}

.spnb-final-title {
    font-size: 15px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Nút Liên hệ - cùng hàng với tiêu đề */
.spnb-final-action {
    margin-top: 8px;
}

.spnb-btn-contact {
    display: inline-block;
    background: #e63946;
    color: white;
    font-size: 13px;
    font-weight: bold;
    text-transform: uppercase;
    padding: 7px 16px;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 6px rgba(230, 57, 70, 0.3);
}

.spnb-btn-contact:hover {
    background: #d62839;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(230, 57, 70, 0.4);
}



.cat-menu-with-thumb .cat-thumb-wrapper {
    width: 24px;
    height: 24px;
    margin-right: 10px;
    flex-shrink: 0;
    overflow: hidden;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cat-menu-with-thumb .cat-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}



.cat-menu-with-thumb .cat-name {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: 500;
}

.cat-menu-with-thumb .menu-item__link,
.cat-menu-with-thumb .link {
    padding: 8px 0px !important;
    transition: background 0.2s ease;
}

a.menu-item__link.d-flex.align-items-center {
    display: flex;
}

ul.navigation.list-group.list-group-flush.scroll {
    min-height: 498px;
}

a.menu-item__link.d-flex.align-items-center:hover {
    color: #f15a22;
}

li.submenu__item.submenu__item--main a:hover {
    color: #f15a22;
}

.header-main li.header-block {
    width: 328px;
}


.text-header-main {
    width: 420px;
    margin-left: -54px !important;
}

.col-img-footer>.col-inner {
    border-top: 3px solid #b0241f;
    border-bottom: 1px solid #444;
}


.menu-vertical span.ux-menu-link__text {
    color: #fff;
    font-size: 18px;
    text-transform: uppercase;
}

.menu-vertical {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 51px;
}


.cf7-phone-subscribe input.wpcf7-form-control {
    height: 42px;
    border-radius: 99px;
    width: 268px;
    background: #5f5f5f;
    border-color: transparent;
}

.cf7-phone-subscribe input.wpcf7-form-control::placeholder {
    color: #fff;
}


.wpcf7-response-output {
    color: #fff;
}

input.wpcf7-form-control.wpcf7-submit.has-spinner.cf7p-btn {

    background: #EB1C2E;
}


.section-link span.ux-menu-link__text {
    color: #BFBFBF;
    display: list-item;
}

.section-link {
    border-bottom: 4px solid #EB1C2E;
}


.payment-icons .payment-icon {
    background-color: #ffffff;
    border-radius: 5px;
    display: inline-block;
    margin: 3px 3px 0;
    opacity: .6;
    padding: 3px 5px 5px;
    transition: opacity .3s;
}

.payment-icons .payment-icon svg {
    height: 25px;
    vertical-align: middle;
    width: auto !important;
}


.text-ok {
    background: #444444;
}


.text-ok h4 {
    color: #fff;
    padding: 10px;
}

.product-small .box-image img {
   height: auto !important;
    width: auto;
    object-fit: cover;
}

p.name.product-title.woocommerce-loop-product__title a {
    font-size: 18px;
}


.col-button a.button {
    margin-bottom: 0px;
}


.product-shadow .product-small.box {
    box-shadow: 0 1px 3px -2px rgba(0, 0, 0, .12), 0 1px 2px rgba(0, 0, 0, .24);
    background: #fff;
}


.text-divide h2 {
    position: relative;
    display: inline-block;
}

.text-divide h2::after {
    content: "";
    position: absolute;
    bottom: -16px;
    left: 0;
    width: 135px;
    height: 4px;
    background-color: rgba(0, 0, 0, .1);
}


.badge.post-date {
    top: 0%;
    left: 6px;
}


.sidebar-wrapper form.searchform {
    width: auto;
}

.sidebar-wrapper button.ux-search-submit.submit-button.secondary.button {
    height: auto;
    width: auto;
    border-top-right-radius: 6px;
    border-bottom-right-radius: 6px;
}


.blog-sidebar .col.post-item .box-blog-post {
    border-bottom: 1px solid #ccc;
    margin-bottom: -22px;
    padding-bottom: 10px;
}



.nav-dropdown-default {
    padding: 10px;
}

ul.sub-menu.nav-dropdown.nav-dropdown-default a {
    color: #000;
}

ul.nav.header-nav.header-bottom-nav.nav-center a {
    padding: 14px 12px;
}

ul.wc-tabs.product-tabs li a {
    padding: 10px 5px;
    font-size: 16px;
}

ul.tabs.wc-tabs.product-tabs li.active a {
    background: red;
    color: white;
    padding: 10px;
}

ul.tabs.wc-tabs.product-tabs li:hover a {
    background: red;
    color: white;
    padding: 10px;
}

ul.tabs.wc-tabs.product-tabs li a:before {
    display: none;
}


ul.nav.header-nav.header-bottom-nav li {
    margin: 0 11px;
}

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


}