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

/*************** ADD CUSTOM CSS HERE.   ***************/

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji" !important;
    font-size: 16px
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji" !important;
    font-weight: 700
}

b,
strong {
    font-weight: 700 !important
}

.dark .nav-vertical li li.menu-item-has-children>a,
.dark .nav-vertical>li>ul li a,
.dark .nav>li.html,
.dark .nav>li>a,
.nav-dark .is-outline,
.nav-dark .nav>li>a,
.nav-dark .nav>li>button,
.nav-dropdown.dark .nav-column>li>a,
.nav-dropdown.dark>li>a {
    color: #fff
}

.row-small>.col {
    padding: 0 0 15px
}

.container,
.full-width .ubermenu-nav,
.row {
    max-width: 1200px !important;
}

#main-menu,
#header #logo .search-header-mobile,
.product-gallery .product-images .badge-container,
.is-divider,
.image-tools a.button,
.live-search-results .search-price>span,
.product-small .price-wrapper .price del>span:not(.amount),
.product-small .price-wrapper .price>span:not(.amount),
.price_ptt del>span,
.product_list_widget del>span:not(.amount) {
    display: none;
}

.header-wrapper {
    background: #0198D8;
/*     background: linear-gradient(180deg, #f53d2d, #f63); */
}


.phu-kien a.plain .icon-inner,
.category-page-row .term-description,
.devvn_subcat_archive_wrap a,
a.load-more-btn {
    -webkit-box-shadow: rgba(60, 64, 67, 0.1) 0px 1px 2px 0px, rgba(60, 64, 67, 0.15) 0px 2px 6px 2px;
    box-shadow: rgba(60, 64, 67, 0.1) 0px 1px 2px 0px, rgba(60, 64, 67, 0.15) 0px 2px 6px 2px;
}

.banner_qc>.col {
    position: fixed;
    top: 15%;
    width: 70px;
    z-index: 999
}

.banner_qc>.col:first-child {
    left: calc(((100vw - 1200px)/ 2) - 80px)
}

.banner_qc>.col:nth-child(2) {
    right: calc(((100vw - 1200px)/ 2) - 80px)
}

.banner_qc img {
    border-radius: 7px
}

#dot {
    width: 12px;
    height: 12px;
    background-color: #f33;
    border-radius: 100%;
    position: absolute;
    left: 0;
    top: 50%;
    margin-top: -5px;
    display: block
}

#dot .ping {
    border: 1px solid #f33;
    width: 100%;
    height: 100%;
    opacity: 1;
    background-color: rgba(238, 46, 36, .2);
    border-radius: 100%;
    -webkit-animation-duration: 1.25s;
    animation-duration: 1.25s;
    -webkit-animation-name: sonar;
    animation-name: sonar;
    -webkit-animation-iteration-count: infinite;
    animation-iteration-count: infinite;
    -webkit-animation-timing-function: linear;
    animation-timing-function: linear;
    display: block
}

@-webkit-keyframes sonar {
    0% {
        opacity: 1;
        -webkit-transform: scale(1);
        transform: scale(1)
    }

    100% {
        -webkit-transform: scale(3);
        transform: scale(3);
        opacity: 0
    }
}

@keyframes sonar {
    0% {
        opacity: 1;
        -webkit-transform: scale(1);
        transform: scale(1)
    }

    100% {
        -webkit-transform: scale(3);
        transform: scale(3);
        opacity: 0
    }
}

/* css header */
/* #header .header-inner.logo-left {
    padding-left: 0
} */

#header .live-search-results {
    background-color: #fff;
    position: absolute
}

#header .live-search-results .autocomplete-suggestion img {
    border-radius: 0
}

#header .live-search-results span.search-price {
    font-size: 1em
}

#header .live-search-results span.search-price .amount {
    display: block;
    color: #bf081f
}

#header form.searchform input[type=search]::-webkit-input-placeholder {
    color: #000
}

#header form.searchform input[type=search]:-ms-input-placeholder {
    color: #000
}

#header form.searchform input[type=search]::-ms-input-placeholder {
    color: #000
}

#header form.searchform input[type=search]::placeholder {
    color: #000
}

#header form.searchform button[type=submit] {
    color: #000 !important
}

#header .form-flat input:not([type=submit]) {
    background-color: #fff !important;
    border-radius: 4px;
    height: 40px;
    color: #000 !important
}

li.cart-item [data-icon-label]:after {
    background-color: #288ad6 !important
}

#header a.liveevent {
    float: none;
    color: #ffe66b;
    border-left: none;
    position: relative;
    padding: 0 0 0 40px;
    margin-bottom: 0;
    margin-left: 0;
    margin-right: 10px
}

#header a.liveevent .text {
    font-size: 13px;
    max-height: 34px;
    display: inline-block;
    text-decoration: none;
    color: #fff;
    line-height: 1.3;
    max-width: 300px;
    overflow: hidden
}

#header a.liveevent:hover .text {
    color: #ffe66b
}

#header a.liveevent #dot {
    background-color: #ffe66b;
    left: 15px
}

#header a.liveevent #dot .ping {
    border-color: #ffe66b;
    background-color: rgba(255, 230, 107, .2)
}

#header #masthead ul.nav-right li {
    margin: 0 10px;
}

#header #masthead ul.nav-right li:hover>a,
.chinh_sach_r:hover,
.header-block a.show-pro:hover {
    color: #ccc
}


#header .nav>li {
    -webkit-transition: background-color .1s;
    transition: background-color .1s
}

#header #wide-nav .container {
    padding-left: 0;
    padding-right: 0
}

#header #wide-nav .flex-left {
    margin-right: 0;
}

#header #wide-nav .flex-center {
    margin: 0;
    width: 100%;
}

.header-vertical-menu__opener {
    padding-left: unset;
    padding-right: 2px;
}

.header-vertical-menu__opener span.header-vertical-menu__title {
    letter-spacing: 0;
    text-transform: uppercase;
}

ul#menu-vertical-menu>li>a {
    font-weight: 500;
    color: #000;
    padding: 4px
}

ul.sub-menu.nav-dropdown li a,
ul#menu-vertical-menu>li>a {
    font-size: 13px
}
.header-vertical-menu__fly-out .nav-vertical-fly-out > li.menu-item > a {
    height: 36.5px;
}
ul#menu-vertical-menu>li>a i {
    color: #000;
}

ul#menu-vertical-menu>li>a font {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

ul#menu-vertical-menu>li>ul.sub-menu {
    box-shadow: 2px 0 4px 0 rgb(0 0 0 / 20%);
    border: 0;
    overflow: hidden;
}

ul.sub-menu.nav-dropdown li a {
    color: #000;
    font-weight: 400;
    border: unset;
    padding: 5px 0;
    line-height: normal;
}

ul.sub-menu.nav-dropdown ul.nav-dropdown-default li a:hover {
    color: #288ad6;
}

ul.sub-menu.nav-dropdown ul.nav-dropdown-default li a:before {
    content: "";
    width: 0;
    height: 0;
    border: 4px solid;
    border-color: #288ad6;
    border-top-color: transparent;
    border-bottom-color: transparent;
    border-right-color: transparent;
    display: inline-block;
    position: relative;
    top: -1px;
    margin-right: 2px;
}

#menu-vertical-menu .nav-dropdown>li.nav-dropdown-col {
    min-width: 200px;
}

ul#menu-vertical-menu>li>ul>li.menu-item-has-children>a {
    font-weight: 700;
    text-transform: none;
}

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

#menu-vertical-menu .label-hot.menu-item>a:after {
    content: "HOT";
}

#footer a.back-to-top {
    display: none
}

#header #wide-nav .menu-item i._mi {
    margin-top: 0
}

#header #logo .search-header-mobile {
    display: none
}

.header,
.header-wrapper {
    -webkit-transition: unset;
    transition: unset;
}

.chinh_sach_box {
    display: flex;
    align-items: center;
    padding-left: 10px;
}

.chinh_sach_l {
    background-color: transparent;
    vertical-align: middle;
    text-align: center;
    width: 70px;
}

.chinh_sach_l svg {
    fill: #fff;
    width: 28px;
    height: 28px;
    transition: 0.5s;
    margin-top: 4px;
    animation: 8s ease-in-out 0s normal none infinite running fade-bg1;
}

.chinh_sach_r {
    overflow: hidden;
    color: #fff;
    font-size: 12px;
    text-align: center;
    text-transform: uppercase;
    font-weight: 500;
}

.chinh_sach_r a.show-pro {
    display: inline-block;
    color: #fff;
    vertical-align: middle;
    font-size: 12px;
    text-transform: uppercase;
    border: 1px solid #f1f1f1;
    padding: 4px;
    border-radius: 4px;
}

/* End Css header  */

/* CSS home page  */
@media screen and (min-width: 849px) {
    .box-slider-top .section-content.relative>.row:nth-child(1) {
        padding-left: 224px;
    }
}

.box-slider-top .banner-home-right .img {
    margin-bottom: 5px;
}

.box-slider-top .banner-home-right .img img {
    height: calc(370px / 3 - 3px);
}

.slider-cer .flickity-page-dots {
    left: 0;
    right: 0
}

.slider-cer .flickity-page-dots .dot.is-selected {
    border-color: #f53d2d
}

.slider-cer .flickity-page-dots .dot {
    border: 5px solid #111;
}

.product-slider .flickity-prev-next-button,
.box-slider-top .flickity-prev-next-button {
    position: absolute;
    top: 0;
    bottom: 0;
    margin: auto;
    height: 60px;
    width: 31px;
    padding: 10px;
    border: none;
    left: -20px;
    background: rgba(255, 255, 255, .8);
    box-shadow: 0 4px 4px rgba(0, 0, 0, .25);
    border-radius: 4px 0 0 4px;
    z-index: 1;
    cursor: pointer;
}

.product-slider .flickity-prev-next-button.previous,
.box-slider-top .flickity-prev-next-button.previous {
    left: 0;
    border-radius: 0 4px 4px 0;
}

.product-slider .flickity-prev-next-button.next,
.box-slider-top .flickity-prev-next-button.next {
    right: 0;
    left: unset;
}

.product-slider .flickity-prev-next-button.next svg,
.product-slider .flickity-prev-next-button.previous svg,
.box-slider-top .flickity-prev-next-button.next svg,
.box-slider-top .flickity-prev-next-button.previous svg {
    display: none;
}

.product-slider .flickity-prev-next-button::after,
.box-slider-top .flickity-prev-next-button::after {
    content: '';
    border-top: 3px solid #666;
    border-right: 3px solid #666;
    height: 22px;
    width: 22px;
    position: absolute;
    top: 18px;
    left: 10px;
    z-index: 1;
    transform: rotate(-135deg);
}

.product-slider .button.disabled,
.product-slider .button[disabled],
.box-slider-top .button.disabled,
.box-slider-top .button[disabled],
.box-slider-top button.disabled,
.box-slider-top button[disabled] {
    pointer-events: none;
    opacity: .5;
}

.product-slider .flickity-prev-next-button.next::after,
.box-slider-top .flickity-prev-next-button.next::after {
    transform: rotate(45deg);
    right: 8px;
    left: unset;
}

.product-slider .flickity-prev-next-button {
    top: auto;
    bottom: 50%;
}

.title-product-home {
	background-color: #0198D8;
/*     background: linear-gradient(360deg, #f53d2d, #f63); */
    border-radius: 10px 10px 0 0;
    display: flex;
    align-items: center;
    min-height: 3.75rem;
}

.ss-danh-muc-nganh .box-danh-muc-nganh .col-inner {
    display: flex;
    gap: 10px;
	background-color: #0198D8;
/*     background: linear-gradient(180deg, #f53d2d, #f63); */
    border-radius: 0 0 10px 10px;
    padding: 0 5px 15px;
}

.ss-product-home > .col > .col-inner {
	background-color: #0198D8;
/*     background: linear-gradient(180deg, #f53d2d, #f63); */
    border-radius: 10px 10px 0 0;
    padding: 5px;
}
.ss-product-home .product-small {
    border-right: 1px solid #eee;
    border-bottom: 1px solid #eee;
    background: #fff;
    padding: 10px;
}

.products {
	border: 1px solid #eee;
	border-bottom: 0;
}
.products > .product-small {
	border-right: 1px solid #eee;
    border-bottom: 1px solid #eee;
	padding: 10px;
}

.product-small .woocommerce-loop-product__title a {
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 16px;
}
span.amount {
    color: #e0052b;
	font-size: 1.2em;
}
.product-small .price-wrapper .price {
    margin: 5px 0;
    order: 1;
}

.section-content .social-icons a.px500:not(.is-outline),
.section-content .social-icons a.email:not(.is-outline) {
    background-color: #fff !important;
    border-color: #fff !important;
}
.social-icons .icon-500px:before,
.social-icons .icon-envelop:before {
    content: "";
    top: 1px;
    width: 32px;
    height: 32px;
    position: relative;
    display: block;
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
}

.social-icons .icon-500px:before {
    background-image: url(/wp-content/uploads/2025/08/zalo-icon.png);
}

.box-email-icon-text > .col-inner {
    display: flex;
	gap: 16px;
}

.social-icons .icon-envelop:before {
    background-image: url(/wp-content/uploads/2025/08/envelop.png);
}

.dang-ky-nhan-tin {
	gap: 16px;
}
.form-nhan-tin-home .wpcf7 form .wpcf7-response-output {
    border: 1px solid #00a0d2;
    margin-top: 10px;
    border-radius: 4px;
    margin-left: 0;
    padding: 0.2em 1em;
}
.wpcf7 input[type="text"], .wpcf7 input[type="email"], .wpcf7 input[type="tel"], .wpcf7 textarea {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    box-shadow: none;
}
form input[type=submit] {
    border: none;
    border-radius: 4px;
    background-color: var(--primary-color);
    font-weight: 400;
    text-transform: initial;
    margin-right: 0;
}
.wpcf7-spinner {
    display: none;
}
.wpcf7-not-valid-tip {
    margin-top: -5px !important;
    background-color: #ffe66b !important;
    margin-bottom: 5px;
    font-size: 14px;
}
.wpcf7-not-valid-tip:after {
    border-bottom-color: #ffe66b !important;
}
/* End Css home page  */

/* Css footer  */
.ss-footer p {
	margin-bottom: 12px;
}
.title-footer {
	font-weight: 600;
}
.ss-footer .ux-menu-link__link:hover span {
	color: #288ad6;
}
/* css builder custom  */
.huadev-tab-products .header-tab {
    display: flex;
    align-items: center;
    min-height: 3.75rem;
}
.huadev-tab-products .header-tab .title-tab {
    width: 30%;
    margin-bottom: 0;
    font-size: 1.5em;
    color: #fff;
    text-transform: uppercase;
    padding: 0 1.25rem;
}

.header-tab .list-tab-products {
    display: flex;
    align-items: center;
    margin: 0;
    gap: 12px;
	width: 100%;
	overflow-x: scroll;
}
.header-tab .list-tab-products li {
    list-style-type: none;
    margin: 0;
    background: #fff;
    border-radius: 4px;
    cursor: pointer;
    display: inline-block;
    min-width: fit-content;
}
.header-tab .list-tab-products li.active {
    background-color: #ffe66b;
}
.header-tab .list-tab-products li span {
    font-size: .9em;
    font-weight: 400;
    text-align: center;
    padding: 6px 4px;
    font-style: normal;
    display: flex;
    align-items: center;
    justify-content: center;
}
.huadev-featured-box {
    position: relative;
    padding: 0 5px;
    border-radius: 6px;
}

.huadev-featured-box span.title {
    position: absolute;
    top: 5px;
    color: #000;
    font-size: 14px;
    text-align: left;
    font-weight: 600;
    line-height: 18px;
}

.title-product-home h3 {
    margin-bottom: 0;
    font-size: 1.5em;
    color: #fff;
    text-transform: uppercase;
    width: fit-content;
    padding: 0 1.25rem;
}

.woocommerce-cart-form,
.woocommerce .cart-collaterals {
    border-radius: 4px;
    background: #FFF;
    box-shadow: 0px 2px 6px 0px rgba(0, 0, 0, 0.1);
    padding: 20px;
}

.woocommerce-cart-form .button-continue-shopping,
.woocommerce-cart-form .pull-left,
.cart-collaterals .checkout-button,
.cart-collaterals .input-text,
.cart-collaterals .is-form {
    border-radius: 4px;
}

#customer_details {
    border-radius: 4px;
    background: #FFF;
    box-shadow: 0px 2px 6px 0px rgba(0, 0, 0, 0.1);
    padding: 20px;
}

.woocommerce-checkout .has-border {
    border-radius: 4px;
    box-shadow: 0px 2px 6px 0px rgba(0, 0, 0, 0.1);
}
.woocommerce-billing-fields {
    padding-top: 0;
    border: 0;
}

@media only screen and (max-width: 48em) {
    /*************** ADD MOBILE ONLY CSS HERE  ***************/
	.row-small>.col {
		padding: 10px;
	}
	.ss-danh-muc-nganh .box-danh-muc-nganh .col-inner {
		flex-wrap: wrap;
    	justify-content: space-between;
	}
	
	.huadev-tab-products .header-tab {
		flex-direction: column;
	}	
	
	.huadev-tab-products .header-tab .title-tab {
		width: 100%;
		text-align: center;
	}
	
	.header-tab .list-tab-products {
		margin-bottom: 10px;
	}
}