/*
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.   ***************/
/* Viết CSS tùy chỉnh bên dưới. */
/* ==================================================
   GIA DỤNG FUJI - TOPBAR
   ================================================== */

.fuji-topbar-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
}

.fuji-topbar-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
}

.header-top {
  min-height: 32px;
}

.header-top a,
.header-top span {
  color: #fff;
}

/* ==================================================
   NÚT DANH MỤC SẢN PHẨM
   ================================================== */
.header-bottom {
    padding: 10px 0;
}
/* Mục đầu tiên của menu chính */
.header-bottom .nav > li:first-child > a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 16px 0 18px;
  background: #eaf4ff;
  color: #063f86 !important;
  border: 1px solid #cfe0f7;
  border-radius: 6px;
  font-weight: 700;
  text-transform: none;
  transition: all 0.2s ease;
}

/* Icon 3 gạch */
.header-bottom .nav > li:first-child > a::before {
  content: "\2630";
  font-size: 14px;
  line-height: 1;
  color: #063f86;
  display: inline-block;
}

/* Mũi tên dropdown */
.header-bottom .nav > li:first-child.menu-item-has-children > a::after {
  margin-left: 4px;
  color: #063f86;
}

/* Hover */
.header-bottom .nav > li:first-child > a:hover {
  background: #063f86;
  color: #fff !important;
  border-color: #063f86;
}

.header-bottom .nav > li:first-child > a:hover::before,
.header-bottom .nav > li:first-child.menu-item-has-children > a:hover::after {
  color: #fff;
}

/* Khi đang active */
.header-bottom .nav > li:first-child.current-menu-item > a,
.header-bottom .nav > li:first-child.current-menu-ancestor > a {
  background: #063f86;
  color: #fff !important;
  border-color: #063f86;
}

.header-bottom .nav > li:first-child.current-menu-item > a::before,
.header-bottom .nav > li:first-child.current-menu-ancestor > a::before,
.header-bottom .nav > li:first-child.current-menu-item > a::after,
.header-bottom .nav > li:first-child.current-menu-ancestor > a::after {
  color: #fff;
}

@media (max-width: 849px) {
  .header-top {
    display: none;
  }
}

/* ==================================================
   GIA DỤNG FUJI - HEADER MAIN
   ================================================== */

.header-main {
  border-bottom: 1px solid #e4e9f0;
}

.header-main .header-inner {
  min-height: 72px;
}

.header-search-form-wrapper {
  width: 100%;
}

.header-search-form-wrapper form {
  border: 1px solid #d8e0ea;
  border-radius: 5px;
  overflow: hidden;
  background: #fff;
}

.header-search-form-wrapper input[type="search"] {
  height: 44px;
  border: 0;
  box-shadow: none;
  padding-left: 18px;
  font-size: 14px;
}

.header-search-form-wrapper button {
  width: 54px;
  height: 45px;
  background: #063f86 !important;
  color: #fff !important;
  border: 0;
}

.fuji-header-hotline {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #172033;
  text-decoration: none;
  white-space: nowrap;
}

.fuji-header-hotline:hover {
  color: #063f86;
}

.fuji-hotline-icon {
  color: #063f86;
  font-size: 24px;
  line-height: 1;
}

.fuji-hotline-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.fuji-hotline-text small {
  color: #647087;
  font-size: 11px;
}

.fuji-hotline-text strong {
  color: #063f86;
  font-size: 15px;
}

.header-main .nav > li > a {
  color: #172033;
  font-size: 12px;
}

.header-main .cart-item .icon-shopping-cart,
.header-main .account-item .icon-user {
  color: #063f86;
}

@media (max-width: 1090px) {
  .fuji-header-hotline {
    display: none;
  }
}

/* ==================================================
   GIA DỤNG FUJI - MEGA MENU
   ================================================== */

.fuji-mega-menu-section {
  min-width: 1000px;
  background: #fff;
}

.fuji-mega-menu-section .section-content {
  padding: 0;
}

.fuji-mega-column {
  border-right: 1px solid #e4e9f0;
}

.fuji-mega-column:last-child {
  border-right: 0;
}

.fuji-mega-title {
  margin-bottom: 8px;
}

.fuji-mega-title h3,
.fuji-mega-group h3 {
  position: relative;
  margin: 0 0 12px;
  padding-bottom: 10px;
  color: #063f86;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
}

.fuji-mega-title h3::after,
.fuji-mega-group h3::after {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 36px;
  height: 2px;
  background: #ff6a00;
  content: "";
}

.fuji-mega-column .ux-menu-link {
  min-height: auto;
}

.fuji-mega-column .ux-menu-link__link {
  min-height: auto;
  padding: 6px 0;
  color: #465269;
  font-size: 13px;
  font-weight: 400;
  text-transform: none;
}

.fuji-mega-column .ux-menu-link__link:hover {
  color: #ff6a00;
  padding-left: 4px;
}

.fuji-mega-column .ux-menu-link__icon {
  margin-right: 6px;
  color: #9ba6b7;
  font-size: 10px;
}

.fuji-mega-column .button.is-link {
  margin: 8px 0 0;
  padding: 0;
  color: #063f86;
  font-size: 12px;
  font-weight: 700;
  text-transform: none;
}

.fuji-mega-column .button.is-link:hover {
  color: #ff6a00;
}

.fuji-mega-group ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.fuji-mega-group li {
  margin: 0;
  border-bottom: 1px solid #edf0f4;
}

.fuji-mega-group li:last-child {
  border-bottom: 0;
}

.fuji-mega-group li a {
  position: relative;
  display: block;
  padding: 7px 0 7px 14px;
  color: #465269;
  font-size: 13px;
  line-height: 1.4;
}

.fuji-mega-group li a::before {
  position: absolute;
  top: 7px;
  left: 0;
  color: #9ba6b7;
  content: "›";
}

.fuji-mega-group li a:hover {
  padding-left: 18px;
  color: #ff6a00;
}

.fuji-mega-view-all {
  display: inline-block;
  margin-top: 10px;
  color: #063f86;
  font-size: 12px;
  font-weight: 700;
}

.fuji-mega-view-all::after {
  margin-left: 4px;
  content: "→";
}

.fuji-mega-view-all:hover {
  color: #ff6a00;
}

.fuji-mega-bottom {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid #e4e9f0;
  background: #f8fafc;
}

.fuji-mega-bottom .icon-box {
  margin-bottom: 0;
}

.fuji-mega-bottom .icon-box-img {
  width: 32px !important;
}

.fuji-mega-bottom .icon-box-img svg,
.fuji-mega-bottom .icon-box-img i {
  color: #063f86;
}

.fuji-mega-bottom .icon-box-text h3,
.fuji-mega-bottom .icon-box-text h4 {
  margin: 0 0 2px;
  color: #172033;
  font-size: 13px;
  font-weight: 700;
}

.fuji-mega-bottom .icon-box-text p {
  margin: 0;
  color: #647087;
  font-size: 11px;
  line-height: 1.4;
}

/* Dropdown chứa UX Block */
.nav-dropdown.nav-dropdown-default {
  padding: 0;
  border: 0;
  border-radius: 6px;
  box-shadow: 0 14px 40px rgba(8, 37, 74, 0.16);
}

/* CSS Mobile Header */
@media (max-width: 1100px) {
  .fuji-mega-menu-section {
    min-width: 880px;
  }
}

@media (max-width: 849px) {
  .header-main .header-inner {
    min-height: 58px;
  }

  .header-main .logo img {
    max-height: 38px;
  }

  .header-bottom {
    display: none;
  }

  .mobile-nav .icon-menu,
  .mobile-nav .icon-search,
  .mobile-nav .icon-shopping-cart {
    color: #063f86;
  }
}

.fuji-dealer-cta {
    padding: 28px 0;
}

.fuji-dealer-cta .row {
    align-items: center;
}

/* Footer */
.footer-wrapper a,
.footer-wrapper p,
.footer-wrapper li {
    color: rgba(255,255,255,.82);
}

.cta-ncc-footer {
    width: 96%;
    margin: 0 auto;
    border-radius: 76px;
}

.cta-ncc-footer .section-bg.fill {
    border-top-left-radius: 30px;
    border-top-right-radius: 30px;
}

.cta-ncc-footer .cta-ncc-home_row {
    padding: 0 45px;
}

.cta-ncc-footer .col {
    padding: 0;
}

