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

/*************** ADD CUSTOM CSS HERE.   ***************/
@font-face {
    font-family: 'UTM Avo';
    src: url('assets/font/utm-avo.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'UTM Avo Bold';
    src: url('assets/font/utm-avobold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

body {
    font-family: 'UTM Avo', sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6,
strong {
    font-family: 'UTM Avo Bold', sans-serif !important;
}

.header-wrapper {
    position: relative;
}

.header-main {
    position: relative;
}

.header-nav-main a.nav-top-link {
    font-size: 14px;
    font-weight: 700;
}
.header-main .header-inner {
    position: relative;
    display: grid !important;
    grid-template-columns: 200px minmax(0, 1fr);
    grid-template-rows: 20px 80px;
    max-width: 1200px;
    padding: 0 !important;
}

.header-main .logo {
    position: relative;
    grid-column: 1;
    grid-row: 1 / 3;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
    background: #fff;
    z-index: 1;

}

.header-main .logo img {
    width: 110px;
    height: auto;
}

.header-main .logo::after {
    content: '';
    position: absolute;
    width: 100vw;
    min-width: 1000px;
    bottom: 0px;
    right: calc(100% + 10px);
    height: 40px;
    background: #fde2d3;
    transform: skewX(45deg);
    pointer-events: none;
    z-index: -2;
}



.header-top::before {
    content: "";
    position: absolute;
    top: 0;
    left: -30px;
    width: 31px;
    height: 32px;
    background: #f36f21;
    clip-path: polygon(0 0, 100% 0, 100% 100%);
    pointer-events: none;
}

.header-top .flex-row,
.header-top .header-block,
.header-top .section,
.header-top .section-content,
.header-top .row {
    height: 100%;
}

.header-top .flex-row {
    width: 100%;
    max-width: none;
}

.header-top .flex-col.hide-for-medium.flex-right {
    width: 100%;
    max-width: none;
    flex: 1 1 100%;
}

.header-top .section {
    padding: 0 !important;
    background: transparent !important;
}

.header-top .row {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    align-items: center;
    margin: 0;
}

.header-top .row>.col {
    width: auto !important;
    max-width: none !important;
    flex-basis: auto !important;
    padding: 0 10px !important;
}

.header-top .icon-box {
    display: flex;
    align-items: center;
    margin: 0;
}

.header-top p {
    margin: 0;
    white-space: nowrap;
}

.header-main .header-inner>.flex-left.hide-for-medium {
    grid-column: 2;
    grid-row: 2;
    min-width: 0;
}

.header-main .header-inner>.flex-right.hide-for-medium {
    grid-column: 2;
    grid-row: 2;
}

.header-main .header-nav-main {
    min-height: 80px;
    align-items: center;
}

.header-main .header-inner>.flex-left.hide-for-medium>ul {
    justify-content: space-around;
}

.header-main .header-inner>.flex-right.hide-for-medium {
    position: absolute;
    right: 0px;
    bottom: 0;
    height: 80px;
    pointer-events: none;
}

.header-main .header-inner>.flex-right.hide-for-medium a {
    pointer-events: auto;
}

.icon-address .icon-box-img {
    width: 10px !important;
}

.icon-mail-tel .icon-box-img {
    width: 15px !important;
}


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

.icon-box p {
    margin-bottom: 5px;
}

.icon-box-left .icon-box-img+.icon-box-text {
    padding-left: 10px;
}


.section-footer .ux-menu-link__link {
    font-size: 13px;
    color: inherit;
    text-decoration: none;
    align-items: center;
    transition: color 0.3s ease;
}

.section-footer .ux-menu-link__link::before {
    content: "▶";
    font-size: 10px;
    color: #f68b1d;
    margin-right: 8px;
    transition: transform 0.3s ease;
}

.section-footer .ux-menu-link__link:hover,
.section-footer .ux-menu-link__link:hover .ux-menu-link__text {
    color: #f68b1d;

}

.section-footer .ux-menu-link__link:hover::before {
    transform: translateX(2px);
}

.section-footer .icon-box p {
    font-size: 13px;
}

.icon-box.featured-box.icon-box-left.text-left {
    display: flex;
    align-items: baseline;
}

.header-nav-main.nav-line-bottom>li>a,
.header-nav-main.nav-line-grow>li>a,
.header-nav-main.nav-line>li>a {
    position: relative;
}

.header-nav-main.nav-line-bottom>li>a::before,
.header-nav-main.nav-line-grow>li>a::before,
.header-nav-main.nav-line>li>a::before {
    content: "";
    position: absolute;
    top: auto;
    bottom: 7px;
    left: 50%;
    width: calc(100%);
    height: 1px;
    background-color: #f68b1d !important;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.25s ease;
}

.header-nav-main.nav-line-bottom>li.active>a::before,
.header-nav-main.nav-line-bottom>li.current-menu-item>a::before,
.header-nav-main.nav-line-grow>li.active>a::before,
.header-nav-main.nav-line-grow>li.current-menu-item>a::before,
.header-nav-main.nav-line>li.active>a::before,
.header-nav-main.nav-line>li.current-menu-item>a::before,
.header-nav-main.nav-line-bottom>li>a:hover::before,
.header-nav-main.nav-line-grow>li>a:hover::before,
.header-nav-main.nav-line>li>a:hover::before {
    opacity: 1;
}

.header-nav-main.nav-line-bottom>li.active>a::after,
.header-nav-main.nav-line-bottom>li.current-menu-item>a::after,
.header-nav-main.nav-line-bottom>li>a:hover::after,
.header-nav-main.nav-line-grow>li.active>a::after,
.header-nav-main.nav-line-grow>li.current-menu-item>a::after,
.header-nav-main.nav-line-grow>li>a:hover::after,
.header-nav-main.nav-line>li.active>a::after,
.header-nav-main.nav-line>li.current-menu-item>a::after,
.header-nav-main.nav-line>li>a:hover::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 4px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background-color: #f68b1d;
    transform: translateX(-50%);
}



.header-nav-main>li>ul.sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 290px;
    min-width: 290px;
    margin: 0;
    padding: 0;
    background: #f68b1d;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    z-index: 9999;
}

.header-nav-main>li:hover>ul.sub-menu,
.header-nav-main>li:focus-within>ul.sub-menu {
    display: block;
}

.header-nav-main .sub-menu li {
    position: relative;
    display: block;
    width: 100%;
}

.header-nav-main .sub-menu li>a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 8px 16px;
    color: #fff;
    font-weight: 400;
    line-height: 1.4;
    white-space: normal;
    background: transparent;
    border: 0;
    transition: background-color 0.2s ease;
    margin-left: 0;
}

.header-nav-main .sub-menu li:hover>a,
.header-nav-main .sub-menu li:focus-within>a {
    color: #fff;
    background-color: #df7610;
}

.header-nav-main .sub-menu li>ul.sub-menu {
    display: none !important;
    position: absolute;
    top: 0;
    left: 100%;
    width: 290px;
    min-width: 290px;
    margin: 0;
    padding: 0;
    background: #f68b1d;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    z-index: 10000;
}

.header-nav-main .sub-menu li:hover>ul.sub-menu,
.header-nav-main .sub-menu li:has(:focus-visible)>ul.sub-menu {
    display: block !important;
}

.header-nav-main .nav-dropdown-default::before,
.header-nav-main .nav-dropdown-default::after {
    display: none;
}

.header-nav-main .sub-menu li.menu-item-has-children>a::after {
    content: "›";
    margin-left: 12px;
    font-size: 18px;
    font-weight: bold;
}

.nav-dropdown-has-arrow li.current-dropdown.has-dropdown::after,
.nav-dropdown-has-arrow li.current-dropdown.has-dropdown::before {
    display: none;
}

.header-nav-main.nav-line-bottom>li>a,
.header-nav-main.nav-line-grow>li>a,
.header-nav-main.nav-line>li>a {
    position: relative;
}

.flickity-page-dots .dot {
    width: 10px;
    height: 10px;
    margin: 0 7px;
    border-radius: 0;
    background: #fff;
    opacity: 1;
    transform: rotate(45deg);
}



.slider-nav-light .flickity-page-dots .dot.is-selected,
.slider-nav-light.slider-nav-dots-simple .flickity-page-dots .dot {
    background-color: #e11a3b;
}

.slider-nav-light .flickity-page-dots .dot.is-selected {
    border-color: #e11a3b;
}

.flickity-page-dots .dot {
    width: 10px;
    height: 10px;
    margin: 0 7px;
    border-radius: 0;
    background: #e11a3b5d;
    opacity: 1;
    transform: rotate(45deg);
}

.flickity-page-dots .dot {
    border: unset;
}

.text-divide {
    display: flex;
    align-items: center;
    gap: 10px;
    width: max-content;
}

.text-divide p {
    margin-bottom: 0px;
}

.text-divide::after {
    content: "";
    flex-grow: 1;
    width: 50px;
    height: 1px;
    background-color: currentColor;
}

.col-bg {
    position: relative;
    z-index: 0;
    isolation: isolate;
    overflow: visible;
}

.col-bg::after {
    content: "";
    position: absolute;
    z-index: -1;
    top: -178px;
    right: -160px;
    width: 800px;
    height: 650px;
    background-image: url("../../uploads/2026/10/bg.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    pointer-events: none;
}

.col-bg>.col-inner {
    position: relative;
    z-index: 1;
}

.slider-home {
    z-index: 99;
}

.text-divide-full {
    display: flex;
    align-items: center;
    gap: 10px;
    width: max-content;
}

.text-divide-full p {
    margin-bottom: 0;
}

.text-divide-full::before,
.text-divide-full::after {
    content: "";
    flex-grow: 1;
    width: 50px;
    height: 1px;
    background-color: currentColor;
}

.post-item .box-blog-post {
    height: 100%;
    overflow: hidden;
    background: #f3f3f3;
    transition: transform 0.3s ease;
}

.post-item .box-blog-post:hover {
    transform: translateY(-10px);
}

.post-item .box-image {
    overflow: hidden;
}

.post-item .box-image img {
    display: block;
    width: 100%;
    transition: transform 0.4s ease;
}

.post-item .box-blog-post:hover .box-image img {
    transform: scale(1.04);
}



.post-item .post-title {
    display: block;
    height: 2.7em;
    overflow: hidden;
    margin: 0 0 8px;
    color: #f68b1d;
    font-size: 17px;
    line-height: 1.35;
}




.col-shadow>.col-inner {
    box-shadow: 7px 7px 30px 28px rgba(0, 0, 0, 0.07);
}

.col-shadow .icon-box.featured-box.icon-box-left.text-left {
    display: flex;
    align-items: normal;
}

.col-shadow .icon-box.featured-box.icon-box-left.text-left img.attachment-medium.size-medium {
    object-fit: contain;
}

.row-divide {
    display: flex;
    align-items: center;
}

.row-divide>.col:not(:last-child) {
    position: relative;
}

.row-divide>.col:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    width: 1px;
    height: 70px;
    background-color: #f68b1d;
}

.g8-contact-form,
.g8-contact-form form,
.g8-contact-form .wpcf7-form {
    width: 100%;
    max-width: 100%;
}

.g8-contact-form p {
    margin: 0;
    padding: 0;
}

.g8-contact-form br {
    display: none;
}

.g8-contact-form .g8-form-row {
    width: 100%;
    margin: 0 0 35px;
}

.g8-contact-form .g8-form-row-split {
    display: grid;
    grid-template-columns: 3fr 1.9fr;
    gap: 16px;
}

.g8-contact-form .g8-form-field,
.g8-contact-form .wpcf7-form-control-wrap {
    display: block;
    width: 100%;
    min-width: 0;
}

.g8-contact-form input[type="text"],
.g8-contact-form input[type="email"],
.g8-contact-form input[type="tel"],
.g8-contact-form textarea {
    display: block;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 12px 16px;
    border: 0;
    border-radius: 0;
    background: #e7e7e7;
    color: #333;
    font-family: inherit;
    font-size: 14px;
    box-shadow: none;
}

.g8-contact-form input[type="text"],
.g8-contact-form input[type="email"],
.g8-contact-form input[type="tel"] {
    height: 55px;
}

.g8-contact-form textarea {
    height: 124px;
    min-height: 124px;
    resize: vertical;
}

.g8-contact-form input::placeholder,
.g8-contact-form textarea::placeholder {
    color: #777;
    opacity: 1;
}

.g8-contact-form .g8-form-submit {
    position: relative;
    display: flex;
    justify-content: center;
    margin-top: 34px;
}

.g8-contact-form input[type="submit"] {
    box-sizing: border-box;
    width: 160px;
    height: 44px;
    margin: 0;
    padding: 0 35px 0 22px;

    border: 0;
    border-radius: 0;
    background: #f68b1d;
    color: #fff;
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: none;
}

.g8-contact-form .g8-form-submit::after {
    content: "→";
    position: absolute;
    top: 42%;
    left: calc(50% + 12px);
    color: #fff;
    font-size: 20px;
    line-height: 1;
    pointer-events: none;
    transform: translateY(-50%);
}

.g8-contact-form input[type="submit"]:hover {
    background: #e11a3b;
}

.header-nav-main > #menu-item-79 {
    position: static;
}

.header-nav-main > #menu-item-79 > ul.sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 24px 32px;
    box-sizing: border-box;
    background: #f68b1d;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    z-index: 9999;

    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 24px;
}

.header-nav-main > #menu-item-79:hover > ul.sub-menu,
.header-nav-main > #menu-item-79:focus-within > ul.sub-menu {
    display: grid;
}

.header-nav-main > #menu-item-79 > ul.sub-menu > li {
    position: static;
    display: block;
    width: auto;
    min-width: 0;
    background: transparent;
}

.header-nav-main > #menu-item-79 > ul.sub-menu > li > ul.sub-menu {
    display: block !important;
    position: static;
    width: auto;
    min-width: 0;
    margin: 8px 0 0;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
}

.header-nav-main > #menu-item-79 > ul.sub-menu a {
    display: block;
    width: auto;
    padding: 6px 0;
    color: #fff;
    background: transparent;
    white-space: normal;
}

.header-nav-main > #menu-item-79 > ul.sub-menu > li > a {
    font-weight: 700;
}

.header-nav-main > #menu-item-79 > ul.sub-menu > li > ul.sub-menu a {
    font-weight: 400;
}

.header-nav-main > #menu-item-79 > ul.sub-menu {
    left: 50%;
    width: min(1200px, calc(100vw - 32px));
    padding: 24px 32px;
    transform: translateX(-50%);
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 24px;
	top: 60px;
}



.header-nav-main > #menu-item-79 > ul.sub-menu > li > ul.sub-menu a {
    padding: 6px 10px;
    font-size: 13px;
    line-height: 1.5;
    transition: color 0.2s ease, background-color 0.2s ease;
}

.header-nav-main > #menu-item-79 > ul.sub-menu a:hover,
.header-nav-main > #menu-item-79 > ul.sub-menu a:focus-visible {
    color: #fff;
    background: #df7610;
}

.header-nav-main > #menu-item-79 > ul.sub-menu > li > a:hover,
.header-nav-main > #menu-item-79 > ul.sub-menu > li > a:focus-visible {
    border-radius: 3px;
}


.header-nav-main > #menu-item-79 > ul.sub-menu {
    display: none;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    align-items: start;
}

.header-nav-main > #menu-item-79:hover > ul.sub-menu,
.header-nav-main > #menu-item-79:focus-within > ul.sub-menu {
    display: grid;
}

.header-nav-main > #menu-item-79 > ul.sub-menu > li {
    width: auto;
    min-width: 0;
    margin: 0;
}

.header-nav-main > #menu-item-79 > ul.sub-menu > li > a {
    display: block;
    width: 100%;
    box-sizing: border-box;
    white-space: nowrap;
}

.header-nav-main > #menu-item-79 > ul.sub-menu > li.menu-item-has-children > a::after,
.header-nav-main > #menu-item-79 > ul.sub-menu > li.menu-item-has-children > a::before {
    content: none;
    display: none;
}

@media (max-width: 549px) {
    .g8-contact-form .g8-form-row-split {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}

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


}
/* HC Lighting - Feedback 1 */
.col-bg::after { filter: hue-rotate(45deg); }
.single-product a.button[href="tel:1900868618"] { background-color: #f36f21 !important; }
.g8-contact-form select { background: #e7e7e7; border: 0; color: #333; min-height: 55px; margin: 0; }
.g8-contact-form label { color: #333; font-size: 14px; }
.g8-contact-form .row { margin-bottom: 0; }

@media (min-width: 850px) {

 .header-nav-main > li { margin: 0; }
 .header-nav-main > li > a { font-size: 12.8px; font-weight: 400; white-space: nowrap; }
}

/* HC Lighting: mobile and tablet header */
@media (max-width: 849px) {
 #header .header-top { display: none !important; }
 #masthead { height: 80px; }
 #masthead .header-inner { display: flex !important; height: 80px; padding: 0 20px !important; align-items: center; }
 #masthead .logo { order: 0; flex: 1 1 auto; width: auto !important; margin: 0; justify-content: flex-start; }
 #masthead .logo a { display: block; }
 #masthead .logo img { width: 140px; max-height: 65px; object-fit: contain; }
 #masthead .logo::after { display: none; }
 #masthead .show-for-medium.flex-left { order: 2; flex: 0 0 auto; padding-left: 18px; }
 #masthead .show-for-medium.flex-right { order: 1; flex: 0 0 auto; }
 #masthead .mobile-nav { flex-wrap: nowrap; }
 #masthead .mobile-nav > li { margin: 0; }
 #masthead [aria-label="Menu"] { display: flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; color: #222; }
 #masthead .icon-menu { font-size: 25px; }
 .off-canvas-left .mfp-content { max-width: 88vw; }
 .col-bg::after { display: none; }
 .col-bg > .col-inner { padding: 20px 0 0 !important; margin: 0 !important; }
 .row-divide > .col::after { display: none; }
}

/* Four commitments: native Flatsome Row / Column layout */
.hc-commitments { background: #f3f7f8 url("https://hclighting.vn/image/cache/catalog/banner/banner-hinh/bao-gia-ok-cr-2000x1000.webp") center center / cover no-repeat; }
.hc-commitments h2 { font-size: 25px; margin-bottom: 26px; }
.hc-commitment-card > .col-inner { min-height: 155px; border-radius: 16px; background: rgba(255,255,255,.78); box-shadow: 0 5px 15px rgba(35,65,85,.12); }
.hc-commitment-card h3 { font-size: 16px; line-height: 1.5; text-transform: uppercase; margin-bottom: 10px; }
.hc-commitment-card p { font-size: 14px; line-height: 1.6; margin-bottom: 0; }



@media (max-width: 849px) {
 .hc-commitments { background-image: none; }
 .hc-commitment-space { display: none; }
 .hc-commitment-card > .col-inner { min-height: 165px; }
}
@media (max-width: 549px) {
 .hc-commitments h2 { font-size: 22px; text-align: center; }
 .hc-commitment-card > .col-inner { min-height: 0; }
}

/* Preserve the full commitment photo and introduction decoration */
@media (min-width: 850px) {
 .hc-commitments { min-height: 50vw; background-position: center top; }
}
@media (max-width: 849px) {
 .col-bg::after { display: block; inset: 0 15px 15px; width: auto; height: auto; background-size: cover; }
 .col-bg > .col-inner { padding: 25px 20px !important; }
}

/* Match blog pagination spacing to WooCommerce pagination. */
.ux-relay__pagination.nav-pagination > li {
  margin-left: 0;
}
