@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap");

body {
  font-family: "Inter", sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6,
.banner h1,
.banner h2,
.banner h3,
b,
strong {
  font-weight: 700;
}

.dark,
.dark p,
.dark td {
  color: #fff;
  line-height: 1.6;
}

.box-text a:not(.button),
.box-text h1,
.box-text h2,
.box-text h3,
.box-text h4,
.box-text h5,
.box-text h6,
.box-text p {
  margin: 0;
}

.icon-box-img img,
.icon-box-img svg {
  padding: 0;
}

.title h1 {
  color: var(--fs-color-primary);
  position: relative;
}

.title h1::after {
  content: "";
  height: 4px;
  width: 80px;
  background-color: var(--fs-color-primary);
  display: block;
  margin: 0 auto;
  margin-top: 10px;
  margin-bottom: 30px;
}

.sv-text h2 {
  color: var(--fs-color-primary);
  text-transform: uppercase;
  position: relative;
  font-size: 20px;
}

.sv-text h2::after {
  content: "";
  height: 2px;
  width: 100%;
  background-color: var(--fs-color-primary);
  display: block;
  margin: 0 auto;
  margin-top: 10px;
  margin-bottom: 20px;
}

.flickity-prev-next-button .arrow,
.flickity-prev-next-button svg {
  fill: var(--fs-color-primary);
}

#masthead .icon-box {
  align-items: center;
}

#masthead .icon-box-left .icon-box-img + .icon-box-text {
  padding-left: 10px;
  font-size: 12px;
}

#masthead .icon-box strong {
  color: var(--fs-color-primary);
  font-weight: 600;
}

.header-bottom-nav > li {
  margin: 0 2px;
}

.header-bottom-nav > li > a {
  position: relative;
  min-height: 38px;
  padding: 0 15px;
  border-radius: 0.55rem;
  color: #1f2937;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  transition:
    background-color 0.2s ease,
    color 0.2s ease;
}

.header-bottom-nav > li > a:hover,
.header-bottom-nav > li.active > a,
.header-bottom-nav > li.current-menu-item > a {
  color: var(--fs-color-primary);
}

.header-bottom-nav > li > a:hover::after,
.header-bottom-nav > li.active > a::after,
.header-bottom-nav > li.current-menu-item > a::after {
  opacity: 1;
  transform: scaleX(1);
}

/* home */
.home2 {
  padding-top: 50px;
  padding-bottom: 20px;
}

.home2 .t-box h2 {
  color: var(--fs-color-primary);
  padding: 15px;
  border-radius: 50px;
  border-top: solid 3px var(--fs-color-primary);
  border-left: solid 2px var(--fs-color-primary);
  box-shadow: 2px 3px 0px 0px var(--fs-color-secondary);
}

.home2 .t-box h3 {
  color: var(--fs-color-primary);
  font-size: 26px;
  text-transform: uppercase;
  position: relative;
  width: fit-content;
  margin: 0 auto 15px;
}

.home2 .t-box h3::before {
  content: "";
  position: relative;
  display: block;
  width: calc(100% - 20px);
  height: 3px;
  background-color: var(--fs-color-secondary);
  border-radius: 10px;
  margin: 0 auto;
  top: -10px;
}

.home2 .t-box p {
  font-size: 18px;
}

.home2 .img {
  padding: 15px;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 1px 3px 9px #ccc;
  transition: 0.3s;
}

.home2 .img img {
  border-radius: 10px;
  overflow: hidden;
}

.home3 h2 {
  font-size: 28px;
  color: var(--fs-color-primary);
  text-transform: uppercase;
}

.home3 .ux-youtube-clean {
  border-radius: 1rem;
  overflow: hidden;
}

.home3 .img-dt {
  margin-top: 30%;
}

.home3 {
  padding-bottom: 20px;
}

.home4 {
  padding-bottom: 20px;
}

.home4 h2 {
  font-size: 26px;
  color: var(--fs-color-primary);
  text-transform: uppercase;
}

.home4 h2 img {
  position: relative;
  left: -10px;
}

.home4 .slider .img {
  border-radius: 1rem;
  overflow: hidden;
}

.home4 .icon-box {
  align-items: center;
}

.home4 .icon-box:not(:last-of-type) {
  margin-bottom: 20px;
}

.home5 .b-form {
  border-radius: 10px;
  border: 1px solid var(--fs-color-primary);
  box-shadow: 0 2px 0 var(--fs-color-primary);
  transition: 0.4s;
  background-color: #fff;
  padding: 24px;
  max-width: 480px;
  margin: 0 auto;
}

.home5 .b-form h2 {
  font-size: 18px;
  color: var(--fs-color-primary);
  text-transform: uppercase;
}

.home5 .b-form p {
  font-size: 14px;
}

.home5 .b-form input,
.home5 .b-form textarea {
  height: 40px;
  box-shadow: none !important;
  border-radius: 5px;
}

.home5 .b-form .dawp-form-submit {
  background-color: var(--fs-color-primary);
  color: #fff;
  height: 40px;
  border-radius: 10px;
  margin: 0 auto;
  display: block;
}

.home5 .b-form form {
  margin: 0;
}

.home6 {
  padding-top: 50px;
  padding-bottom: 50px;
}

.home6 h2 {
  font-size: 26px;
  margin-bottom: 30px;
}

.home6 h2 strong {
  color: var(--fs-color-primary);
}

.home6 .img {
  border-radius: 1rem;
  overflow: hidden;
}

.home7 {
  padding-bottom: 20px;
}

.home7 h2 {
  color: var(--fs-color-primary);
  padding: 15px;
  border-radius: 50px;
  border-top: solid 3px var(--fs-color-primary);
  border-left: solid 2px var(--fs-color-primary);
  box-shadow: 2px 3px 0px 0px var(--fs-color-secondary);
}

.home7 .img-bd {
  border-radius: 1rem;
  overflow: hidden;
}

.home7 .box {
  background-color: #e6faff;
  border-radius: 10px;
  overflow: hidden;
}

.home7 .flickity-prev-next-button.previous,
.home8 .flickity-prev-next-button.previous,
.home9 .flickity-prev-next-button.previous,
.home11 .flickity-prev-next-button.previous,
.home12 .flickity-prev-next-button.previous {
  opacity: 1;
  left: -2%;
}

.home7 .flickity-prev-next-button.next,
.home8 .flickity-prev-next-button.next,
.home9 .flickity-prev-next-button.next,
.home11 .flickity-prev-next-button.next,
.home12 .flickity-prev-next-button.next {
  opacity: 1;
  right: -2%;
}

.home8 h2 {
  font-size: 26px;
  margin-bottom: 30px;
  color: var(--fs-color-primary);
  text-transform: uppercase;
}

.home8 .box-image {
  border-radius: 10px;
  overflow: hidden;
}

.home8 .box-text h3 {
  font-size: 20px;
  color: var(--fs-color-primary);
  margin-bottom: 15px;
}

.home8 .box-text .button {
  margin-bottom: 0;
}

.home9 h2 {
  color: var(--fs-color-primary);
  padding: 15px;
  border-radius: 50px;
  border-top: solid 3px var(--fs-color-primary);
  border-left: solid 2px var(--fs-color-primary);
  box-shadow: 2px 3px 0px 0px var(--fs-color-secondary);
}

.home9 .img {
  border-radius: 10px;
  overflow: hidden;
}

.home9 .col-inner {
  position: relative;
}

.home9 .video-button-wrapper {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
}

.home9 .video-button-wrapper .button.icon.circle {
  margin: 0;
  color: var(--fs-color-primary);
  font-size: 20px;
}

.home10 {
  padding-top: 30px;
  position: relative;
  overflow: hidden;
}

.home10 .i-bg {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;

  width: 100%;
  height: 50%;

  object-fit: cover;
  z-index: 0;
}

.home10 > *:not(.i-bg) {
  position: relative;
  z-index: 1;
}

.home10 .i-box .img {
  max-width: 200px;
  margin: 0 auto;
}

.home10 .i-box h3 {
  font-size: 38px;
  color: var(--fs-color-primary);
  margin-bottom: 0;
  line-height: 1;
  margin-bottom: 10px;
}

.home10 .i-box p strong {
  color: var(--fs-color-primary);
}

.home11 {
  padding-top: 30px;
}

.home11 h2 {
  color: var(--fs-color-primary);
  padding: 15px;
  border-radius: 50px;
  border-top: solid 3px var(--fs-color-primary);
  border-left: solid 2px var(--fs-color-primary);
  box-shadow: 2px 3px 0px 0px var(--fs-color-secondary);
}

.home11 .box {
  background-color: #fff;
  border-radius: 15px;
  overflow: hidden;
}

.home11 .box-text {
  border-radius: 0px 0px 15px 15px;
  border: none;
  border-bottom: solid 5px #ff9900;
  border-left: solid 1px #eee;
  border-right: solid 1px #eee;
}

.home11 .box-text p {
  font-size: 18px;
}

.home11 {
  padding-bottom: 30px;
}

/* post */
.archive-page-header {
  display: none;
}

.custom-post-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  font-size: 14px;
  color: #666;
}

.custom-post-meta .post-category a {
  color: #0a7cff;
  font-weight: 600;
  text-decoration: none;
}

.custom-post-meta .post-date::before {
  content: "•";
  margin-right: 10px;
  color: #999;
}

.box-blog-post .is-divider {
  display: none;
}

.post-item .image-cover {
  position: relative;
  padding-top: 72%;
  border-radius: 12px;
  overflow: hidden;
}

.post-item .box-text {
  padding-top: 16px;
  padding-bottom: 0;
}

.post-item .post-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.post-item .post-cat {
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  color: var(--primary---green-01);
}

.post-item .post-date {
  font-weight: 400;
  font-size: 14px;
  color: #9ba4b2;
}

.post-item .post-title {
  font-weight: 600;
  font-size: 18px;
  min-height: 52px;
}

.post-item .post-title a {
  color: #22262d;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.post-item .from_the_blog_excerpt {
  font-size: 14px;
  color: #535a67;
  margin-top: 4px;
}

.post-item .image-cover img {
  transition: all 0.3s ease;
}

.post-item:hover .image-cover img {
  transform: scale(1.05);
}

.post-item:hover .post-title a {
  color: #065baa;
}

.post-item .box-text .button {
  font-size: 14px;
  text-transform: none;
  border-radius: 99px;
}

.widget {
  margin-bottom: 1.5em;
  box-shadow:
    0 1px 3px 0 rgba(0, 0, 0, 0.1),
    0 1px 2px -1px rgba(0, 0, 0, 0.1);
  padding: 1rem;
  background-color: #fff;
  border-radius: 0.75rem;
}

span.widget-title {
  font-size: 16px;
  color: var(--fs-color-primary);
}

.post_comments,
.widget .is-divider {
  display: none;
}

.recent-blog-posts-li .badge,
.recent-blog-posts-li .badge-inner {
  width: 80px;
  height: 60px;
  border-radius: 0.5rem;
}

.recent-blog-posts-li .flex-col.flex-grow {
  max-width: calc(100% - 80px);
}

.recent-blog-posts a {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  text-overflow: ellipsis;
  word-break: break-word;
  line-height: 1.4;
  color: #222;
  margin: 0;
  font-size: 14px;
}

.recent-blog-posts {
  align-items: center !important;
}

.recent-blog-posts .badge::after {
  display: none !important;
}

.entry-content {
  padding-top: 0;
}

.box-blog-post .is-divider {
  display: none;
}

.entry-author.author-box,
.blog-share {
  display: none;
}

/* product */
.product-small.box {
  border: 1px solid var(--primary-gold);
  box-shadow:
    0 0 6px rgba(213, 177, 117, 0.12),
    0 6px 14px rgba(29, 54, 102, 0.1);
  border-radius: 10px;
  overflow: hidden;
}

.product-small .box-text {
  padding: 15px 10px;
  text-align: center;
}

.product-small .product-title {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  line-height: 30px;
  margin-bottom: 12px;
  min-height: 47px;
}

.product-small .product-title a {
  color: var(--fs-color-primary);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

span.amount {
  font-size: 16px;
  font-weight: 600;
  color: #cd0000;
}

.product-images img {
  border-radius: 1rem;
}

.product-thumbnails img {
  margin: 0;
  border-radius: 0.75rem;
  opacity: 1;
}

.product-thumbnails a {
  border: 1px solid #e9e9f2;
  border-radius: 0.75rem;
}

.product-thumbnails .is-nav-selected a,
.product-thumbnails a:hover {
  border-radius: 0.75rem;
  border-color: var(--fs-color-primary);
}

.product-thumbnails .is-nav-selected a img,
.product-thumbnails a:hover img {
  transform: unset;
}

.product-gallery-slider img {
  aspect-ratio: 1;
  object-fit: cover;
}

.image-tools.bottom.left {
  display: none;
}

h1.product-title {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--fs-color-primary);
}

.product-price-container span.amount {
  font-size: 24px;
}

.b-contact a {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #0068ff;
  padding: 8px;
  color: #fff;
  border-radius: 0.5rem;
  gap: 8px;
  height: 46px;
}

.woocommerce-tabs .tab-panels {
  border: 1px solid #eeee;
  padding: 10px;
  border-top-right-radius: 10px;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
}

.woocommerce-tabs .nav > li {
  margin: 0 !important;
}

.woocommerce-tabs .nav > li > a {
  font-size: 16px;
  gap: 10px;
  padding: 10px;
  border-right: 1px solid;
  background-color: var(--fs-color-secondary);
  color: #fff !important;
  text-transform: none;
}

.woocommerce-tabs .nav > li.active > a {
  background: var(--fs-color-primary);
  color: #fff;
}

.woocommerce-tabs .nav-line > li > a:before {
  display: none;
}

.entry-content p img {
  margin-top: 15px;
  border-radius: 12px;
  overflow: hidden;
  width: 100%;
}

/* contact */

.b-contact {
  box-shadow: 0px 4px 16.1px 0px #b8b8b826;
  border-radius: 12px;
  padding: 24px;
}

.b-contact h2 {
  position: relative;
  padding-bottom: 20px;
  margin-bottom: 32px;
}

.b-contact h2::after {
  content: "";
  position: absolute;
  width: 120px;
  height: 3px;
  background-color: var(--fs-color-primary);
  bottom: 0;
  left: 0;
}

.b-contact .icon-inner {
  background-color: var(--fs-color-primary);
  padding: 12px;
  line-height: 1;
  border-radius: 99px;
  box-shadow: 0px 1px 12px 0px #dedede40;
}

.b-contact .icon-box h3 {
  font-weight: 400;
  font-size: 14px;
  line-height: 130%;
  letter-spacing: -1%;
  margin-bottom: 0;
}

.b-contact .icon-box h4 {
  margin-bottom: 0;
  font-size: 16px;
  font-weight: 600;
}

.b-contact .icon-box p {
  font-weight: 400;
  font-size: 14px;
  line-height: 130%;
  letter-spacing: -1%;
  color: #858585;
}

.b-contact .icon-box:not(:last-of-type) {
  margin-bottom: 24px;
}

.b-contact .icon-box-left .icon-box-img + .icon-box-text {
  padding-left: 20px;
}

.b-contact input.wpcf7-form-control,
.b-contact textarea {
  padding: 10px;
  border: 0.5px solid #bfbfbf !important;
  border-radius: 8px;
  box-shadow: none;
  height: 48px;
  margin-bottom: 0;
}

.b-contact input.wpcf7-submit {
  border: 0 !important;
  background-color: var(--fs-color-primary);
  font-size: 18px;
  font-weight: 500;
  line-height: 150%;
  padding: 10px 24px;
  width: 100%;
  margin: 0;
}

.b-contact .wpcf7 .row {
  margin-left: -6px !important;
  margin-right: -6px !important;
}

.b-contact .wpcf7 .col {
  padding: 0 6px 12px;
}

.b-contact .wpcf7 label {
  font-weight: 500;
  font-size: 16px;
  line-height: 130%;
  margin-bottom: 12px;
}

.b-contact form {
  margin-bottom: 0;
}

.b-contact .dawp-form-container .col {
  padding-bottom: 0;
}

.b-contact .dawp-contact-form-el button.dawp-form-submit {
  margin-top: 20px;
}

.wpcf7-spinner {
  display: none;
}

.b-socials h3 {
  font-weight: 500;
  font-size: 20px;
  line-height: 100%;
  letter-spacing: -0.23px;
  margin-bottom: 16px;
}

.b-socials p {
  margin-bottom: 0;
}

.b-socials p img {
  margin-bottom: 0 !important;
}

.shop-page-title {
  display: none !important;
}

/* footer */
#footer {
  font-size: 14px;
}

#footer.footer-wrapper {
  position: relative;
  overflow: hidden;

  background:
    radial-gradient(
      circle at 12% 0%,
      rgba(74, 162, 230, 0.25),
      transparent 32%
    ),
    radial-gradient(
      circle at 88% 20%,
      rgba(14, 93, 168, 0.28),
      transparent 38%
    ),
    linear-gradient(180deg, #0e5da8 0%, #083f75 55%, #042746 100%);

  color: rgba(255, 255, 255, 0.85);
  content-visibility: unset;
  padding-top: 40px;
}

#footer.footer-wrapper::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;

  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);

  background-size: 42px 42px;

  -webkit-mask-image: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.7),
    transparent 78%
  );

  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), transparent 78%);
}

#footer.footer-wrapper > * {
  position: relative;
  z-index: 1;
}

#footer h3 {
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.25;
  text-align: left;
  margin-bottom: 15px;
}

#footer h3::after {
  content: "";
  display: block;
  width: 48px;
  height: 3px;
  margin-top: 12px;
  border-radius: 999px;
  background: var(--color-accent);
}

#footer p {
  font-size: 14px;
  color: #fff;
}

#footer a {
  color: #fff;
}

#footer iframe {
  border-radius: 8px;
  overflow: hidden;
}

#footer .absolute-footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.22);
  color: rgba(255, 255, 255, 0.72);
  padding: 16px 0;
}

#footer .copyright-footer,
#footer .copyright-footer a {
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  font-weight: 600;
}

.row.field .col {
  padding-bottom: 0;
}

@media (min-width: 850px) {
  /*
     * Bắt menu:
     * Tất cả dịch vụ → /dich-vu/
     */
  #wide-nav .header-nav > li:has(> a[href*="/dich-vu/"]) > .nav-dropdown {
    width: 1160px !important;
    max-width: calc(100vw - 40px) !important;

    display: grid !important;

    grid-template-columns: repeat(4, minmax(0, 1fr));

    gap: 14px !important;

    padding: 18px !important;

    background: #ffffff !important;

    border: 1px solid #dce6f2 !important;

    border-radius: 16px !important;

    box-shadow:
      0 22px 55px rgba(17, 58, 120, 0.16),
      0 5px 15px rgba(17, 58, 120, 0.06) !important;

    overflow: hidden;
  }

  /*
     * Từng nhóm dịch vụ
     */
  #wide-nav .header-nav > li:has(> a[href*="/dich-vu/"]) > .nav-dropdown > li {
    float: none !important;

    display: flex !important;

    flex-direction: column;

    width: auto !important;

    min-width: 0 !important;

    max-width: none !important;

    margin: 0 !important;

    padding: 17px !important;

    white-space: normal !important;

    background: linear-gradient(145deg, #ffffff 0%, #f6f9fd 100%) !important;

    border: 1px solid #e2eaf4 !important;

    border-radius: 12px !important;

    transition:
      transform 0.25s ease,
      border-color 0.25s ease,
      box-shadow 0.25s ease;
  }

  /*
     * Hover card
     */
  #wide-nav
    .header-nav
    > li:has(> a[href*="/dich-vu/"])
    > .nav-dropdown
    > li:hover {
    transform: translateY(-3px);

    border-color: #b8cceb !important;

    box-shadow: 0 10px 25px rgba(20, 65, 135, 0.1);
  }

  /*
     * Tiêu đề nhóm có menu con
     */
  #wide-nav
    .header-nav
    > li:has(> a[href*="/dich-vu/"])
    > .nav-dropdown
    > li.menu-item-has-children
    > a {
    position: relative;

    display: block !important;

    margin: 0 0 5px !important;

    padding: 0 0 13px 17px !important;

    color: #123f88 !important;

    font-size: 13px !important;

    font-weight: 700 !important;

    line-height: 1.45 !important;

    white-space: normal !important;

    border: 0 !important;

    border-bottom: 2px solid #dce7f5 !important;
  }

  /*
     * Chấm tròn trước tiêu đề
     */
  #wide-nav
    .header-nav
    > li:has(> a[href*="/dich-vu/"])
    > .nav-dropdown
    > li.menu-item-has-children
    > a::before {
    content: "";

    position: absolute;

    top: 6px;

    left: 0;

    width: 7px;

    height: 7px;

    background: #2456a6;

    border-radius: 50%;

    box-shadow: 0 0 0 4px #e5eefb;
  }

  /*
     * Reset submenu bên trong
     */
  #wide-nav
    .header-nav
    > li:has(> a[href*="/dich-vu/"])
    > .nav-dropdown
    > li
    > ul.sub-menu {
    position: static !important;

    display: block !important;

    width: 100% !important;

    min-width: 0 !important;

    margin: 0 !important;

    padding: 0 !important;

    opacity: 1 !important;

    visibility: visible !important;

    transform: none !important;

    background: transparent !important;

    border: 0 !important;

    box-shadow: none !important;
  }

  /*
     * Reset item con
     */
  #wide-nav
    .header-nav
    > li:has(> a[href*="/dich-vu/"])
    > .nav-dropdown
    > li
    > ul.sub-menu
    > li {
    display: block !important;

    width: 100% !important;

    min-width: 0 !important;

    margin: 0 !important;

    padding: 0 !important;
  }

  /*
     * Link dịch vụ
     */
  #wide-nav
    .header-nav
    > li:has(> a[href*="/dich-vu/"])
    > .nav-dropdown
    > li
    > ul.sub-menu
    > li
    > a {
    position: relative;

    display: block !important;

    padding: 9px 23px 9px 0 !important;

    color: #526174 !important;

    font-size: 14px !important;

    font-weight: 400 !important;

    line-height: 1.4 !important;

    white-space: normal !important;

    border: 0 !important;

    border-bottom: 1px solid #e3e9f1 !important;

    transition:
      color 0.2s ease,
      padding-left 0.2s ease;
  }

  /*
     * Mũi tên hover
     */
  #wide-nav
    .header-nav
    > li:has(> a[href*="/dich-vu/"])
    > .nav-dropdown
    > li
    > ul.sub-menu
    > li
    > a::after {
    content: "›";

    position: absolute;

    top: 50%;

    right: 3px;

    color: #2456a6;

    font-size: 20px;

    opacity: 0;

    transform: translate(-5px, -53%);

    transition: 0.2s ease;
  }

  /*
     * Hover link dịch vụ
     */
  #wide-nav
    .header-nav
    > li:has(> a[href*="/dich-vu/"])
    > .nav-dropdown
    > li
    > ul.sub-menu
    > li
    > a:hover {
    padding-left: 7px !important;

    color: #174d9b !important;
  }

  #wide-nav
    .header-nav
    > li:has(> a[href*="/dich-vu/"])
    > .nav-dropdown
    > li
    > ul.sub-menu
    > li
    > a:hover::after {
    opacity: 1;

    transform: translate(0, -53%);
  }

  /*
     * Bỏ gạch item cuối
     */
  #wide-nav
    .header-nav
    > li:has(> a[href*="/dich-vu/"])
    > .nav-dropdown
    > li
    > ul.sub-menu
    > li:last-child
    > a {
    border-bottom: 0 !important;
  }

  /* ==================================================
       ĐIỀU TRỊ MỤN
       ĐIỀU TRỊ SẸO MỤN

       Hai mục không có submenu
    ================================================== */

  #wide-nav
    .header-nav
    > li:has(> a[href*="/dich-vu/"])
    > .nav-dropdown
    > li:not(.menu-item-has-children)
    > a {
    display: flex !important;

    flex: 1;

    align-items: center;

    justify-content: space-between;

    min-height: 80px;

    margin: 0 !important;

    padding: 0 !important;

    color: #123f88 !important;

    font-size: 15px !important;

    font-weight: 700 !important;

    line-height: 1.4 !important;

    white-space: normal !important;

    border: 0 !important;
  }

  /*
     * Nút tròn
     */
  #wide-nav
    .header-nav
    > li:has(> a[href*="/dich-vu/"])
    > .nav-dropdown
    > li:not(.menu-item-has-children)
    > a::after {
    content: "→";

    display: flex;

    align-items: center;

    justify-content: center;

    width: 34px;

    height: 34px;

    min-width: 34px;

    margin-left: 12px;

    color: #ffffff;

    font-size: 17px;

    background: #2456a6;

    border-radius: 50%;

    transition: 0.2s ease;
  }

  #wide-nav
    .header-nav
    > li:has(> a[href*="/dich-vu/"])
    > .nav-dropdown
    > li:not(.menu-item-has-children):hover
    > a::after {
    transform: translateX(4px);

    background: #123c7c;
  }

  /* ==================================================
       HÀNG THỨ HAI

       Nhóm 5 = 1 cột

       Nhóm 6 = 3 cột
    ================================================== */

  #wide-nav
    .header-nav
    > li:has(> a[href*="/dich-vu/"])
    > .nav-dropdown
    > li:nth-child(5) {
    grid-column: span 1;
  }

  #wide-nav
    .header-nav
    > li:has(> a[href*="/dich-vu/"])
    > .nav-dropdown
    > li:nth-child(6) {
    grid-column: span 3;
  }

  /*
     * Dịch vụ thẩm mỹ khác
     * chia thành 3 cột
     */
  #wide-nav
    .header-nav
    > li:has(> a[href*="/dich-vu/"])
    > .nav-dropdown
    > li:nth-child(6)
    > ul.sub-menu {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* ==================================================
   MEGA MENU - NHÀ THUỐC
================================================== */

@media (min-width: 850px) {
  /*
     * Bắt đúng menu Nhà thuốc
     */
  #wide-nav
    .header-nav
    > li:has(> a[href*="/danh-muc-san-pham/nha-thuoc/"])
    > .nav-dropdown {
    width: 1120px !important;
    max-width: calc(100vw - 40px) !important;

    display: grid !important;

    grid-template-columns: repeat(5, minmax(0, 1fr));

    gap: 14px !important;

    padding: 18px !important;

    background: #ffffff !important;

    border: 1px solid #dce6f2 !important;

    border-radius: 16px !important;

    box-shadow:
      0 22px 55px rgba(17, 58, 120, 0.16),
      0 5px 15px rgba(17, 58, 120, 0.06) !important;
  }

  /*
     * Xóa clearfix mặc định
     */
  #wide-nav
    .header-nav
    > li:has(> a[href*="/danh-muc-san-pham/nha-thuoc/"])
    > .nav-dropdown::after {
    display: none !important;
  }

  /*
     * Mỗi danh mục là một card
     */
  #wide-nav
    .header-nav
    > li:has(> a[href*="/danh-muc-san-pham/nha-thuoc/"])
    > .nav-dropdown
    > li {
    float: none !important;

    display: flex !important;

    width: auto !important;

    min-width: 0 !important;

    max-width: none !important;

    margin: 0 !important;

    padding: 0 !important;

    white-space: normal !important;

    background: linear-gradient(145deg, #ffffff 0%, #f5f9ff 100%) !important;

    border: 1px solid #e1eaf5 !important;

    border-radius: 12px !important;

    overflow: hidden;

    transition:
      transform 0.25s ease,
      border-color 0.25s ease,
      box-shadow 0.25s ease;
  }

  /*
     * Hover card
     */
  #wide-nav
    .header-nav
    > li:has(> a[href*="/danh-muc-san-pham/nha-thuoc/"])
    > .nav-dropdown
    > li:hover {
    transform: translateY(-3px);

    border-color: #b3c9e9 !important;

    box-shadow: 0 12px 25px rgba(25, 70, 140, 0.12);
  }

  /*
     * Link danh mục
     */
  #wide-nav
    .header-nav
    > li:has(> a[href*="/danh-muc-san-pham/nha-thuoc/"])
    > .nav-dropdown
    > li
    > a {
    position: relative;

    display: flex !important;

    flex: 1;

    flex-direction: column;

    align-items: flex-start;

    justify-content: space-between;

    min-height: 125px;

    margin: 0 !important;

    padding: 20px 44px 18px 18px !important;

    color: #153f81 !important;

    font-size: 14px !important;

    font-weight: 700 !important;

    line-height: 1.5 !important;

    white-space: normal !important;

    text-transform: none !important;

    border: 0 !important;

    transition: color 0.2s ease;
  }

  /*
     * Biểu tượng dấu cộng y tế
     */
  #wide-nav
    .header-nav
    > li:has(> a[href*="/danh-muc-san-pham/nha-thuoc/"])
    > .nav-dropdown
    > li
    > a::before {
    content: "+";

    display: flex;

    align-items: center;

    justify-content: center;

    width: 35px;

    height: 35px;

    margin-bottom: 17px;

    color: #ffffff;

    font-size: 25px;

    font-weight: 400;

    line-height: 1;

    background: linear-gradient(135deg, #2a66be, #153e82);

    border-radius: 10px;

    box-shadow: 0 7px 15px rgba(30, 82, 165, 0.2);
  }

  /*
     * Mũi tên góc phải
     */
  #wide-nav
    .header-nav
    > li:has(> a[href*="/danh-muc-san-pham/nha-thuoc/"])
    > .nav-dropdown
    > li
    > a::after {
    content: "→";

    position: absolute;

    right: 17px;

    bottom: 16px;

    display: flex;

    align-items: center;

    justify-content: center;

    width: 29px;

    height: 29px;

    color: #2458a5;

    font-size: 17px;

    background: #e7effb;

    border-radius: 50%;

    transition:
      color 0.2s ease,
      background 0.2s ease,
      transform 0.2s ease;
  }

  /*
     * Hover chữ
     */
  #wide-nav
    .header-nav
    > li:has(> a[href*="/danh-muc-san-pham/nha-thuoc/"])
    > .nav-dropdown
    > li:hover
    > a {
    color: #0d56ad !important;
  }

  /*
     * Hover mũi tên
     */
  #wide-nav
    .header-nav
    > li:has(> a[href*="/danh-muc-san-pham/nha-thuoc/"])
    > .nav-dropdown
    > li:hover
    > a::after {
    color: #ffffff;

    background: #2458a5;

    transform: translateX(4px);
  }
}

/* ==================================================
   MÀN HÌNH NHỎ 850px - 1100px

   Chuyển từ 5 cột thành 2 cột
================================================== */

@media (min-width: 850px) and (max-width: 1100px) {
  #wide-nav
    .header-nav
    > li:has(> a[href*="/danh-muc-san-pham/nha-thuoc/"])
    > .nav-dropdown {
    width: calc(100vw - 40px) !important;

    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  /*
     * Mỹ phẩm chiếm cả hàng cuối
     */
  #wide-nav
    .header-nav
    > li:has(> a[href*="/danh-muc-san-pham/nha-thuoc/"])
    > .nav-dropdown
    > li:last-child {
    grid-column: 1 / -1;
  }
}
