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

/*************** ADD CUSTOM CSS HERE.   ***************/
.img-radius-16 .img-inner {
  border-radius: 16px;
}
/* Trang lưu trữ sản phẩm */
.woocommerce-LoopProduct-link {
  font-size: 120%;
}

/* Giá sản phẩm */
.woocommerce-Price-currencySymbol {
  font-size: 75%;
  vertical-align: top;
}

/* Vị trí khung giảm giá*/
.badge-container {
  margin-top: 5px;
  margin-left: 10px;
}

/* Chỉnh sửa tiêu đề bình luận*/
.woocommerce-Reviews-title,
.comment-reply-title {
  margin-bottom: 7px;
  font-weight: bold;
  font-size: 110% !important;
}

/* Chỉnh sửa tiêu đề widget*/
.tieu-de-widget,
.tieu-de-widget p {
  text-transform: uppercase;
  font-size: 16px;
  line-height: 1.7em;
  letter-spacing: 0.02em;
  font-weight: 600;
  margin-bottom: 15px;
}

/* Tùy chỉnh tab sản phẩm*/

.description_tab > a,
.reviews_tab > a,
.additional_information_tab > a {
  font-size: 16px !important;
  text-transform: uppercase !important;
  line-height: 1.7em !important;
  letter-spacing: 0.02em;
  font-weight: 600;
}

/* Chỉnh sửa sản phẩm tương tự*/
.product-section-title.container-width.product-section-title-related.pt-half.pb-half.uppercase,
.product-section-title-upsell {
  font-size: 16px;
  line-height: 1.7em;
  padding: 0px 0px;
  margin-bottom: 20px;
  margin-top: 10px;
  letter-spacing: 0.02em;
  font-weight: 600;
}
span.title-trans {
  font-weight: normal;
  display: block;
}
/* Menu */
header .nav-dropdown {
  min-width: 210px;
}

.nav-spacing-xlarge > li {
  margin: 0 20px;
}
.button,
form .wpcf7-submit {
  font-weight: 600;
}
b,
strong {
  font-weight: bold;
}
/* Footer */
footer .ux-menu-link__link {
  position: relative;
  min-height: max-content;
  line-height: normal;
}

footer .ux-menu-link.flex.menu-item {
  max-width: max-content;
}

footer .ux-menu-link__link::after {
  content: "";
  position: absolute;
  background: #e5e0da;
  width: 0;
  height: 1px;
  bottom: -1px;
  right: 0;
  transition: width 0.7s;
}

footer .ux-menu-link__link:hover:after {
  width: 100%;
  left: 3px;
}

/* Slider Flatsome */
html .flickity-button {
  opacity: 1 !important;
  .flickity-button-icon {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
  }
}

/**---------------- CSS Menu sổ xuống ----------------**/
.nav-dropdown > li > a {
  font-size: 100%;
  color: #000000;
  padding: 7px 15px;
}

.nav-dropdown > li > a:hover {
  color: var(--primary-color);
}

/**---------------- Bình luận ----------------**/
#comments .comment-respond {
  border: red 0px solid;
  border-radius: 7px;
}

/* Ẩn thanh ngang dưới tiêu đề bài viết*/
.entry-divider.is-divider.small {
  display: none;
}

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

/* Thụt đầu dòng danh sách trong danh mục và trang */
.category-page-row ul {
  padding-left: 20px;
}
/**--- START chú thích ---**/
blockquote {
  font-style: normal;
  font-size: 100%;
}
/**--- END chú thích ---**/

/* Tùy chỉnh dữ liệu bảng */
td {
  color: #000;
  padding: 7px !important;
  font-size: 100%;
}

/* Sửa text footer 2*/
.footer-secondary {
  padding: 0px;
}

/* Tùy chỉnh tác giả dưới bài viết */
.blog-author-image {
  margin-top: 15px;
}

p.author-name.uppercase.pt-half {
  margin-bottom: 10px;
  font-weight: bold;
}

/* Bắt đầu thanh liên hệ chạy dọc website*/

.contact-nav {
  position: fixed;
  right: 20px;
  background: transparent;
  width: auto;
  z-index: 150;
  bottom: 30px;
}
.contact-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.contact-nav ul li {
  margin-bottom: 15px;
  list-style: none !important;
}

.contact-nav ul > li a i {
  width: 45px;
  height: 45px;
  display: block;
  margin: auto;
  border-radius: 100%;
}

.contact-nav ul > li a i.icon-csb-1 {
  background: url(https://cdn-thumbs.imagevenue.com/1b/5f/4a/ME15CTC3_t.png) no-repeat;
  background-size: contain;
  width: 45px;
  height: 45px;
  display: block;
}
.contact-nav ul > li a i.icon-csb-2 {
  background: url(https://cdn-icons-png.flaticon.com/512/4782/4782345.png) no-repeat;
  background-size: contain;
  width: 45px;
  height: 45px;
  display: block;
}
.contact-nav ul > li a i.icon-csb-3 {
  background: url(https://cdn.pixabay.com/photo/2021/06/15/12/14/instagram-6338393_1280.png) no-repeat;
  background-size: contain;
  width: 45px;
  height: 45px;
  display: block;
}
.contact-nav ul > li a i.icon-csb-4 {
  background: url(https://cdn-thumbs.imagevenue.com/a7/42/31/ME15CTC7_t.png) no-repeat;
  background-size: contain;
  width: 45px;
  height: 45px;
  display: block;
}
.contact-nav ul > li a i.icon-csb-5 {
  background: url(https://cdn-thumbs.imagevenue.com/12/77/4e/ME15CTC9_t.png) no-repeat;
  background-size: contain;
  width: 45px;
  height: 45px;
  display: block;
}

.a-primary {
  a {
    transition: all 0.3s;
    color: var(--primary-color);
    &:hover {
      color: var(--fs-color-alert) !important;
    }
  }
}
.p0 {
  padding: 0;
  .ux-logo-link {
    padding: 0 !important;
  }
}
.mrbb-0 {
  margin-bottom: 0 !important;
}
.mr0 {
  margin: 0 !important;
}
.mr0 {
  margin: 0;
}
.mr-p0 {
  p:last-child {
    margin-bottom: 0;
  }
}
.mrp0 {
  p {
    margin-bottom: 0;
  }
}
.map-button {
  align-items: center;
  .icon-box-img {
    line-height: normal;
  }
  .icon-box-text {
    display: flex;
    align-items: center;
    gap: 20px;
    p {
      margin-bottom: 0;
    }
    .button {
      flex: none;
    }
  }
}

.textbox-banner-home {
  margin-top: 0 !important;
  background-color: rgb(241 241 241 / 85%);
}

.video-full-w {
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 16 / 9;
  video,
  .wp-video-shortcode,
  .wp-video {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 16 / 9;
  }
  .wp-video-shortcode {
    min-width: 100% !important;
  }
}
.dark {
  .heading-cf .section-title .section-title-main i:before {
    filter: hue-rotate(60deg) saturate(1.5) brightness(2.18);
  }
}
.heading-cf .section-title {
  border: none;
  .section-title-main {
    display: flex;
    padding: 0;
  }
  b {
    opacity: 0;
  }
  i {
    opacity: 1;
    margin-bottom: 3px;
    display: flex;
    align-items: center;
  }
  i:before {
    content: "";
    background-size: contain;
    background-repeat: no-repeat;
    display: block;
    width: 32px;
    height: 32px;
  }
  span {
    border: none;
    padding-bottom: 0;
  }
}
.recent-blog-posts {
  align-items: center !important;
  .badge {
    width: 8.5em;
    height: 5.5em;
  }
  a {
    font-size: 18px;
    font-weight: 600;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}
.post_comments,
.list-related .box-text.text-left > a {
  display: none;
}
.widget-title {
  font-size: 20px !important;
}
.widget > ul > li + li,
.single td,
.single th {
  border-color: #cfcfcf;
}
.single-post {
  article {
    margin-bottom: 0;
    padding-bottom: 10px;
    border-bottom: 1px solid #cfcfcf;
  }
  header.entry-header {
    display: flex;
    flex-direction: column-reverse;
    gap: 20px;
  }
  .entry-content.single-page {
    padding-top: 0;
    padding-bottom: 0;
  }
}

.box-category .header-title,
.row-slider .post-title,
.category .post-title,
.list-related .post-title {
  transition: all 0.3s;
  margin-bottom: 12px;
}

.category .box-text {
  padding-bottom: 0;
}

.single {
  #breadcrumbs {
    padding-top: 10px;
    background-color: #f1f1f1;
    p {
      margin-bottom: 10px;
    }
  }
  #content {
    padding: 0;
  }
  .is-xsmall {
    font-size: 0.9em;
  }
  .entry-title {
    color: var(--primary-color);
    font-size: 150%;
  }
}

.row-slider {
  .box-blog-post button {
    font-size: 14px;
    margin-top: 10px;
  }
}

.category .box-blog-post,
.list-related {
  .posted-on {
    display: flex;
    align-items: center;
    gap: 5px;
  }
  .url,
  .chamber,
  .byline,
  .from_the_blog_excerpt {
    display: none;
  }
}

.box-category:hover .header-title,
.category .box-blog-post:hover .post-title,
.list-related .box-blog-post:hover .post-title {
  color: var(--primary-color);
}

.category-description {
  font-size: 16px;
  text-align: justify;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.from_the_blog_excerpt {
  text-align: justify;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}
.archive-page-header {
  .h1,
  h1 {
    font-size: 1.7em;
    margin-bottom: 0;
  }
}
.ux-loop-term {
  margin-top: 10px;
}
.shop-term .item-child-term:not(:last-child) {
  margin-bottom: 20px;
}
.shop-term-title {
  transition: all 0.3s;
  &:hover {
    color: var(--fs-color-alert);
  }
}
.price-wrapper {
  del bdi {
    font-size: 14px !important;
    color: var(--fs-color-secondary) !important;
  }
  ins,
  span > bdi {
    font-size: 18px;
    color: var(--primary-color);
  }
  .price-contact {
    font-size: 18px;
  }
}
.product-title {
  font-weight: 600;
  font-size: 20px;
  margin-bottom: 7px !important;
  a {
    transition: all 0.3s;
    font-size: 100%;
  }
  &:hover a {
    color: var(--primary-color) !important;
  }
}
.bg-row {
  background-color: #f1f1f1;
  padding-bottom: 24px;
}
@media only screen and (max-width: 549px) {
  .heading-cf .section-title {
    i {
      display: none;
      margin-right: 0;
    }
  }
  .page-template-page-blank-landingpage .register-form {
    .section-title span {
      font-size: 100% !important;
    }
  }
  .page-template-page-blank-landingpage .section-title span {
    font-size: 120% !important;
  }

  .row-slider .flickity-button {
    width: 32px !important;
  }

  .row-slider .flickity-button svg {
    padding: 10px !important;
  }
  .row-slider {
    width: calc(100% + 230px) !important;
  }
  .row-slider button.flickity-button.flickity-prev-next-button.next {
    right: 230px !important;
  }
}

@media only screen and (max-width: 600px) {
  .absolute-footer {
    margin-bottom: 55px;
  }
  .contact-nav ul > li a {
    padding: 0;
    margin: 0 auto;
  }
  .contact-nav {
    background: #fff;
    width: 100%;
    height: 60px;
    position: fixed;
    bottom: 0;
    right: 0;
    z-index: 999;
    padding: 7px;
    margin: 0;
    box-shadow: 0 4px 10px 0 #000;
  }
  .contact-nav li {
    float: left;
    width: 20%;
    list-style: none;
    height: 55px;
  }
}

@media screen and (min-width: 849px) {
  .slider-home .flickity-button {
    top: 10%;
  }
}

@media screen and (min-width: 850px) {
  /* single slider */
  .single-post {
    #breadcrumbs .rank-math-breadcrumb {
      flex-basis: 91.6666666667%;
      max-width: 91.6666666667%;
      margin: auto;
    }
    .row-divided > .col + .col:not(.large-12) {
      padding-left: 20px;
    }
  }
}

@media screen and (max-width: 1200px) {
  .row-slider button.flickity-button.flickity-prev-next-button.previous {
    left: 10px;
  }

  .row-slider button.flickity-button.flickity-prev-next-button.next {
    right: 10px;
    left: auto;
  }
}

@media screen and (max-width: 849px) {
  .textbox-banner-home {
    position: relative !important;
  }
  .slider-textbox .img-inner {
    height: 450px;
    img {
      height: 100%;
      object-fit: cover;
    }
  }
  .text-banner .icon-box-text {
    width: 80% !important;
    margin-left: auto !important;
  }
  .heading-cf .section-title {
    i:before {
      width: 26px;
      height: 26px;
    }
  }
  .woocommerce-shop .header-wrapper {
    margin-bottom: 37px;
  }
  .box-category .header-title {
    font-size: 1.1em;
  }
}

/* Kết thúc thanh liên hệ chạy dọc website*/

/*Thêm CSS cho kích thước máy tính bảng và điện thoại*/
@media only screen and (max-width: 768px) {
  /*************** TABLETS AND DOWN ONLY CSS HERE  ***************/
  .text-sale.text-banner {
    position: relative !important;
    top: 0 !important;
    transform: none;
    left: 0 !important;
  }
  .amount-new {
    font-size: 60px !important;
  }
  .text-sale.text-banner .icon-box-text {
    width: 95% !important;
    padding-bottom: 30px;
  }
  table {
    display: block;
    white-space: nowrap;
    overflow-x: auto;
  }
  .slider-home .flickity-button {
    display: block !important;
    svg {
      /* max-height: 85%;
      max-width: 85%; */
    }
  }
}

@media only screen and (max-width: 48em) {
  /*************** ADD MOBILE ONLY CSS HERE  ***************/
  .heading-cf .section-title {
    i:before {
      width: 22px;
      height: 22px;
    }
  }
  html .header-main,
  html .stuck #logo img {
    max-height: 55px !important;
  }
  .h3,
  h3 {
    font-size: 1.25em !important;
  }

  .h2,
  h2 {
    font-size: 1.45em !important;
  }
}

.button.white {
  color: var(--primary-color) !important;
  &:hover {
    background-color: #f1f1f1 !important;
    box-shadow: none !important;
  }
}

.button.primary {
  &.hv:hover {
    background-color: var(--fs-color-alert) !important;
    box-shadow: none !important;
  }
}

/* Ladipage */
.page-template-page-blank-landingpage {
  --fs-color-secondary: #f7c500;
  .logo-ladi {
    width: 90px !important;
    height: 40px !important;
  }
  .button.secondary {
    color: var(--fs-color-alert) !important;
    &:hover {
      color: #000 !important;
      box-shadow: none !important;
    }
  }
  .row {
    max-width: 1240px;
  }
  .text-banner {
    max-width: 1210px;
    width: 100%;
    text-align: left;
    .icon-box-text {
      width: 50%;
      text-align: center;
      margin-left: 0;
      .button {
        margin-right: 10px !important;
        &:last-child {
          margin-left: 10px !important;
        }
      }
    }
  }
  .header-ladipage {
    z-index: 9;
    .header-col .col-inner {
      display: flex;
      align-items: center;
      justify-content: space-between;
    }
    .ux-menu {
      display: flex;
      flex-direction: row;
      flex-wrap: wrap;
      gap: 10px 40px;
      justify-content: center;
      font-weight: 600;
      .flex {
        align-items: center;
      }
      .ux-menu-link:not(.menu-register) a:hover {
        color: var(--fs-color-secondary);
      }
    }
  }
  .slider-textbox {
    .img-inner.dark:after {
      content: "";
      position: absolute;
      left: 0;
      top: 0;
      width: 100%;
      height: 100%;
      background: #0000003b;
    }
  }
  .row-img-textbox {
    padding-left: 5px;
    padding-right: 5px;
    .col {
      padding-left: 10px;
      padding-right: 10px;
    }
    .box-text-bottom {
      position: relative;
      .box-text {
        position: absolute;
        bottom: 20px;
        h3 {
          color: var(--fs-color-secondary);
        }
        h4,
        p {
          color: #fff;
        }
      }
    }
  }
  .icon-text-number {
    padding-bottom: 0;
    .icon-box .icon-box-img {
      display: flex;
      align-items: center;
    }
    .col-inner {
      height: 100%;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
    }
    .icon-box {
      height: 100%;
      align-items: center;
    }
    &.height-100 {
      .icon-box {
        padding: 15px;
      }
      .col-inner .icon-box:not(:last-child) {
        border-bottom: 2px #fff solid;
      }
      .icon-box-text {
        line-height: normal;
        display: flex;
        align-items: center;
      }
    }
    .icon-inner {
      background: #ffff !important;
      border: none !important;
      path {
        fill: var(--primary-color) !important;
      }
    }
    .icon-box h3 {
      line-height: normal;
      margin: 0;
    }
  }
  .icon-bg-primary {
    .icon-box-img img {
      margin: 0;
      width: 100%;
    }
    .icon-inner {
      /* background: var(--primary-color) !important; */
      background: #fff !important;
      border: none !important;
      path {
        fill: #ffff !important;
      }
    }
    .icon-box-img.has-icon-bg {
      display: flex;
      align-items: center;
    }
  }
}
body.ux-builder-iframe {
  .row-img-textbox {
    .box-text-bottom {
      .box-text {
        position: relative;
        bottom: 0;
        img {
          position: relative;
          bottom: 0;
        }
      }
    }
  }
}
body:not(.ux-builder-iframe) {
  .row-img-textbox {
    .box-text-bottom {
      transition: 0.3s ease;
      .box-image {
        transition: opacity 0.5s ease, visibility 0.3s;
        visibility: visible;
      }
      &:hover {
        transform: scale(0.98);
        .box-image {
          opacity: 0;
          visibility: hidden;
        }
        .box-text .img {
          opacity: 1;
          visibility: visible;
        }
      }
      &:not(:hover) .img {
        visibility: hidden;
      }
      .box-text {
        z-index: inherit;
        .img {
          position: absolute;
          bottom: -20px;
          left: 0;
          opacity: 0;
          transition: opacity 0.5s ease, visibility 0.3s;
          z-index: -1;
        }
        .box-text-inner *:not(.img, .img *) {
          z-index: 1;
        }
      }
    }
  }
  /* .text-banner {
    position: relative !important;
    top: 0 !important;
    left: 0 !important;
    transform: translate(0) !important;
  } */
}
.icon-text-number.height-100 .col-inner {
  border-right: #fff solid 2px;
  .icon-box:nth-child(1) {
    background-color: hsl(0, 100%, 37%);
  }
  .icon-box:nth-child(2) {
    background-color: hsl(0, 100%, 34%);
  }
  .icon-box:nth-child(3) {
    background-color: hsl(0, 100%, 33%);
  }
  .icon-box:nth-child(4) {
    background-color: hsl(0, 100%, 30%);
  }
  .icon-box:nth-child(5) {
    background-color: hsl(0, 98%, 27%);
  }
  .icon-box:nth-child(6) {
    background-color: hsl(0, 100%, 24%);
  }
}
.faqs {
  .accordion-title {
    border: 1px solid var(--primary-color);
    padding-left: 20px;
    color: var(--fs-color-primary);
    font-weight: 500;
    border-color: var(--fs-color-secondary);
    &:active {
      border-color: var(--primary-color);
    }
    button {
      left: auto !important;
      right: 0 !important;
    }
  }
  .accordion-title:not(.active) {
    margin-bottom: 20px;
  }
}
.admin-bar .fixed-header {
  top: 32px !important;
}

.fixed-header {
  position: fixed !important;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: inherit;
  /* box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); */
}
@media (max-width: 549px) {
  .icon-text-number .col-inner {
    height: auto !important;
  }
  .slider-textbox .img-inner {
    height: 400px;
  }
  .text-banner .icon-box-text {
    width: 90% !important;
  }
  .slider-textbox .flickity-button {
    display: block !important;
    z-index: 99;
  }
  .row-img-textbox {
    .box-text-bottom {
      .box-text {
        padding: 15px !important;
      }
    }
  }
  .icon-text-number.height-100 .col-inner {
    border-right: none !important;
    border-bottom: #fff solid 2px !important;
  }
  .icon-text-number.height-100 {
    .col-inner .icon-box:not(:last-child) {
      /* padding-bottom: 15px;
      margin-bottom: 15px; */
    }
  }
}
@media (min-width: 545px) {
  .icon-text-number,
  .icon-text-number-img {
    padding: 0;
  }
  .row-p15 {
    padding-left: 15px;
    padding-right: 15px;
  }
  .icon-text-number-img {
    .col-inner,
    .col-inner .img,
    .col-inner .img * {
      height: 100% !important;
      object-fit: cover;
    }
  }
}
@media (max-width: 850px) {
  .icon-text-number .col-inner {
    /* height: auto !important; */
  }
  .icon-text-number.height-100 {
    .col-inner .icon-box-img {
      width: 45px !important;
      height: 45px !important;
    }
  }
  .admin-bar .fixed-header {
    top: 0 !important;
  }
  .package-ladipage .col .box-text-bottom {
    padding-top: inherit;
  }
  body:not(.ux-builder-iframe) {
    .menu-ladipage {
      display: block !important;
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      background: var(--fs-color-primary);
      padding-left: 15px;
      padding-top: 7px;
      border-top: 1px solid #fff;
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.4s ease;
    }
    .menu-ladipage.active {
      opacity: 1;
      pointer-events: auto;
    }
  }
}

@media (min-width: 850px) {
  body:not(.ux-builder-iframe) {
    .menu-register {
      display: none;
    }
  }
}

.menu-toggle {
  width: 30px !important;
  height: 30px !important;
  .img-inner {
    position: relative;
  }
  &.active {
    img {
      opacity: 0;
    }
    .img-inner::after {
      content: "";
      position: absolute;
      inset: 0;
      background: var(--img-bg, none) no-repeat center/cover;
      transition: all 0.3s ease;
      pointer-events: none;
    }
  }
}
.menu-register {
  margin-top: 10px !important;
  margin-left: -13px !important;
  margin-bottom: 20px !important;
  width: max-content;
  padding: 5px 15px;
  border-radius: 9999px;
  &:hover a {
    color: #000 !important;
  }
}
.package-ladipage {
  .col:nth-child(even) {
    --fs-color-alert: var(--fs-color-secondary) !important;
    h3 {
      color: var(--fs-color-primary);
    }
    .button {
      color: var(--fs-color-primary);
    }
  }
  .ux_logo {
    left: 15px;
  }
  .box-text-bottom {
    .box-image {
      position: relative;
      overflow: visible;
      &::after {
        content: "";
        position: absolute;
        top: -5px;
        left: 10px;
        width: 100%;
        height: calc(100% + 5px);
        background-color: var(--fs-color-alert);
        z-index: 1;
        border-top-left-radius: 50%;
        border-top-right-radius: 50%;
      }
      div {
        position: relative;
        z-index: 2;
        img {
          border-top-left-radius: 50%;
          border-top-right-radius: 50%;
        }
      }
    }
    h3 {
      background-color: var(--fs-color-alert);
      display: inline;
      padding: 10px 33px;
      border-top-left-radius: 60px;
      border-bottom-right-radius: 60px;
      margin: 15px 0 !important;
    }
    td {
      padding: 14px 0 !important;
    }
    td,
    th {
      border-color: hsl(0deg 0% 100% / 47%) !important;
    }
    table {
      margin-top: 20px;
      height: auto !important;
    }
    table tbody tr:last-child td {
      border-bottom: none !important;
    }
    .button {
      &:hover {
        background-color: #fff !important;
        color: var(--fs-color-primary) !important;
        box-shadow: none !important;
      }
    }
  }
}
.heading-b0 {
  b {
    opacity: 0;
  }
}
.register-form {
  form {
    margin-top: 20px;
    margin-bottom: 0;
    .wpcf7-response-output {
      margin-top: 10px;
    }
    span.wpcf7-spinner {
      position: absolute;
    }
    .wpcf7-submit {
      margin-right: 0 !important;
      background-color: var(--fs-color-secondary);
      color: var(--fs-color-primary);
      width: 100%;
      padding: 5px;
      border-radius: 99px;
      font-size: 18px;
      margin-top: 20px;
      &:hover {
        background-color: #fff !important;
        box-shadow: none !important;
      }
    }
    .select-resize-ghost,
    .select2-container .select2-choice,
    .select2-container .select2-selection,
    input[type="date"],
    input[type="email"],
    input[type="number"],
    input[type="password"],
    input[type="search"],
    input[type="tel"],
    input[type="text"],
    input[type="url"],
    select,
    textarea {
      height: 42px;
      line-height: 42px;
      border-radius: 10px;
      outline: none;
    }
  }
}
.animation-bounce {
  animation: bounce 1.2s infinite;
}
.animation-pulse {
  animation: pulse 1s infinite ease-in-out;
}
@keyframes bounce {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.07);
  }
}

@keyframes pulse {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

#popup-regiter-nhuong-quyen .col {
  flex-basis: 100%;
  max-width: 100%;
}

/* menu product cat */
.product-cat-scroll {
  margin-top: 10px;
  ul {
    padding-left: 0;
    li {
      margin-left: 0;
      list-style: none;
    }
  }
  ul li a {
    position: relative;
    padding: 2px 0px;
    cursor: pointer !important;
    &:hover,
    &.active {
      color: var(--fs-color-primary);
    }
    &.active:after {
      content: "";
      position: absolute;
      left: -10px;
      width: 2px;
      height: 100%;
      top: 50%;
      transform: translateY(-50%);
      background: var(--fs-color-primary);
    }
  }
}

.nav-dropdown {
  .product-cat-scroll {
    padding: 20px 0;
    margin-top: 0;
  }
  .product-cat-scroll a {
    display: flex;
    padding: 7px 15px;
    &.active:after {
      left: 0;
    }
    &:hover {
      background-color: rgba(0, 0, 0, 0.03);
    }
  }
}
.product-cat-scroll-mobile {
  position: fixed;
  width: 100%;
  background-color: #f1f1f1;
  padding: 5px 15px;
  overflow-x: scroll;
  border-bottom: 1px solid #d2d2d2;
  border-top: 1px solid #d2d2d2;
  .product-cat-scroll {
    margin-top: 0;
  }
  a.active::after {
    left: 0 !important;
    bottom: -7px;
    width: 100% !important;
    height: 2px !important;
    transform: translateY(0) !important;
    top: auto !important;
  }
  .cat-menu {
    display: flex;
    align-items: center;
    margin: 0;
    list-style: none;
    li:last-child {
      padding-right: 15px;
    }
    li {
      margin-bottom: 0;
      width: auto;
      white-space: nowrap;
      padding-right: 30px;
    }
  }
}
.has-dropdown .cat-submenu a {
  padding-left: 25px !important;
}
.menu-mobile {
  > a,
  ul > li:nth-child(2) > a:nth-child(1) {
    display: none !important;
  }
  .cat-submenu li:nth-child(2) > a:nth-child(1) {
    display: block !important;
  }
  .cat-submenu {
    padding-left: 10px !important;
  }
  li li a {
    padding-left: 5px !important;
  }
  .product-cat-scroll {
    margin-top: 0;
  }
}
/* .woocommerce-shop {
  position: inherit !important;
  top: auto !important;
  overflow: auto !important;
} */
.gt_white_content a:not(:hover, .gt-current-lang) {
  color: #000;
}
.gt_white_content {
  width: 220px !important;
}
/* @media (min-width: 850px) { */
.gtranslate_wrapper a.glink span:not(:last-child) {
  display: none !important;
}
/* } */

/* Nhương quyền */
/* ================================================= */
/* PHẦN BỔ SUNG ĐỊNH DẠNG NYNA            */
/* ================================================= */
.ad-title-nyna {
  /* Đảm bảo chữ to, đậm và màu sắc tương phản */
  /* font-family: "Impact", "Arial Black", sans-serif; */
  color: #ffe066; /* Màu vàng tương tự outline chữ lớn */
  text-align: center;
  /* font-size: 28px; */
  line-height: 1.2;
  margin-bottom: 10px;

  /* Tạo hiệu ứng shadow (viền mỏng) */
  text-shadow: 2px 2px 0px #000000, -1px 1px 1px var(--fs-color-primary);
}

.nyna-text {
  /* NYNA có thể to và đậm hơn một chút */
  font-size: 1.2em;
  font-weight: 900;
  color: white;
}

/* ================================================= */
/* PHẦN ĐỊNH DẠNG ƯU ĐÃI MỚI             */
/* ================================================= */

.offer-block-new {
  /* Đặt khối ưu đãi ở vị trí nổi bật (giả định nằm giữa hoặc dưới) */
  width: 90%;
  margin: 20px auto;
  text-align: center;
  /* Dùng Flexbox để căn chỉnh (tương tự offer-block cũ) */
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 5;
}

.offer-text-new {
  display: flex;
  justify-content: center;
  align-items: flex-end; /* Căn chỉnh phần 'Ưu đãi' và 'Tr' */

  /* font-family: "Impact", "Arial Black", sans-serif; */
  color: #ff9900; /* Màu Vàng/Cam đậm */
  margin-bottom: 5px;
}

.uu-dai-new {
  /* Chữ "Ưu đãi" */
  font-size: 35px; /* Kích thước chữ */
  color: #ff9900;
  font-weight: bold;
  margin-right: 5px;
  line-height: 1;
  /* Thêm shadow tối để chữ nổi bật trên nền sáng hơn (nếu có) */
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.amount-new {
  /* Chữ "370Tr" - Cực kỳ to và nổi bật */
  font-size: 80px;
  line-height: 1;
  color: #ff9900; /* Màu Cam/Vàng chủ đạo */

  /* Hiệu ứng viền ĐÔI (Trắng dày + Đen mỏng) */
  text-shadow:
        /* Viền trắng dày (4 hướng) */ -3px -3px 0 white, 3px -3px 0 white, -3px 3px 0 white,
    3px 3px 0 white, /* Viền đen mỏng (bóng) */ 5px 5px 0px rgba(0, 0, 0, 0.5); /* Tạo cảm giác chữ nổi 3D */
}

.unit-new {
  /* Chữ "Tr" nhỏ hơn và dịch lên trên */
  font-size: 0.5em; /* Nhỏ hơn 370 */
  vertical-align: super; /* Đẩy lên trên */
}

.disclaimer-new {
  width: inherit;
  padding: 10px 5px;
  margin: 0;
  background: linear-gradient(
    to right,
    rgba(157, 126, 72, 0) 0%,
    rgb(145 126 93 / 70%) 20%,
    rgb(199 140 39) 50%,
    rgba(157, 126, 72, 0.7) 80%,
    rgba(157, 126, 72, 0) 100%
  );
}
.gtranslate_wrapper {
  background: #fff;
  position: fixed;
  padding: 1px 5px !important;
  padding-right: 0 !important;
  padding-top: 0 !important;
  border-radius: 4px;
  top: 105px;
  z-index: 1002;
  right: 50px;
}

@media (min-width: 1440px) {
  .gtranslate_wrapper {
    top: 22px;
  }
}

@media (max-width: 1439px) {
  .gtranslate_wrapper {
    top: 75px;
    right: 75px;
  }
}

@media (max-width: 850px) {
  .gtranslate_wrapper {
    top: 15px;
    right: 47px;
  }
  .page-template-page-blank-landingpage .gtranslate_wrapper {
    right: 65px;
  }
}

.product.featured .woocommerce-product-gallery,
.product-small.product.featured .box-image {
  &::before {
    content: "";
    width: 50px;
    height: 50px;
    position: absolute;
    right: 10%;
    top: 0;
    background-repeat: no-repeat;
    background-size: contain;
    z-index: 1;
  }
}

.product.featured .woocommerce-product-gallery::before {
  width: 60px !important;
  height: 60px !important;
}

.button-ipos {
  --fs-color-secondary: #ef8f1d;
}

/* Cat menu dropdown styles */
.cat-menu li.has-dropdown-cat-menu {
  /* position: relative; */
}

.cat-menu .dropdown-arrow {
  /* margin: 0;
  margin-left: 5px; */
  width: 23px;
  /* font-size: 16px; */
  transition: transform 0.3s ease;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.cat-menu .cat-submenu {
  height: 0;
  overflow: hidden;
  transition: height 0.3s ease;
  /* position: absolute;
  top: 100%;
  left: 0; */
  /* background: white;
  border: 1px solid #ddd;
  border-radius: 4px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  min-width: 200px; */
  z-index: 1000;
  /* opacity: 0;
  visibility: hidden;
  transform: translateY(-10px); */
  /* transition: all 0.3s ease; */
  list-style: none;
  margin: 0;
  /* padding: 10px 0; */
}

.cat-menu li.has-dropdown-cat-menu.dropdown-open .cat-submenu {
  /* opacity: 1;
  visibility: visible;
  transform: translateY(0); */
}

.cat-menu .cat-submenu li {
  width: 100%;
  padding: 0;
  margin: 0;
  white-space: normal;
}

.cat-menu .cat-submenu a {
  display: block;
  /* padding: 8px 15px; */
  padding-left: 10px;
  color: #333;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.cat-menu .cat-submenu a:hover {
  /* background-color: #f5f5f5; */
}

.shop-page-title .text-center {
  width: 100%;
}

@media (max-width: 849px) {
  .cat-menu .cat-submenu {
    position: static;
    box-shadow: none;
    border: none;
    background: transparent;
    opacity: 1;
    visibility: visible;
    transform: none;
    min-width: auto;
    padding: 0;
    /* margin-top: 10px; */
    li:first-child {
      margin-top: 10px;
    }
  }

  .cat-menu .cat-submenu li {
    padding-left: 20px;
  }

  .cat-menu .cat-submenu a {
    padding: 5px 0;
    background: transparent;
  }

  .tax-product_cat .bg-row .text-center {
    padding-top: 37px;
  }
}

.product-cat-scroll-mobile .has-dropdown-cat-menu {
  display: flex;
  &.dropdown-open {
    .cat-submenu {
      width: 100%;
      border-right: 1px solid #cfcfcf;
    }
    .dropdown-arrow {
      transform: rotate(-90deg) !important;
    }
  }
  .dropdown-arrow {
    transform: rotate(90deg) !important;
  }
  .cat-submenu {
    display: flex;
    height: auto !important;
    width: 0;
    li:first-child {
      margin-top: 0;
      padding-left: 10px;
    }
    a {
      width: max-content;
      padding: 2px;
    }
  }
}

/* Form order */
.form-order {
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  input[type="number"],
  select,
  textarea,
  input[type="datetime-local"] {
    width: 100%;
    /* padding: 12px 15px; */
    border: 2px solid #e1e8ed;
    border-radius: 10px;
    /* font-size: 15px; */
    transition: all 0.3s ease;
    background: #fafafa;
    box-shadow: none;
    height: 42px;
    box-shadow: none;
  }
  textarea {
    height: 80px;
  }
  input[type="text"]:focus,
  input[type="email"]:focus,
  input[type="tel"]:focus,
  input[type="number"]:focus,
  select:focus,
  textarea:focus,
  input[type="datetime-local"]:focus {
    outline: none;
    border-color: var(--fs-color-primary);
    background: white;
    box-shadow: 0 0 0 3px rgba(139, 69, 19, 0.1);
  }
  .wpcf7-submit {
    border-radius: 10px;
    padding: 5px 20px;
    margin: 0;
  }
}
.wpcf7-spinner {
  position: absolute;
}
.grid-col-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 14px;
}

@media (max-width: 760px) {
  .grid-col-2 {
    grid-template-columns: 1fr;
  }
}

.slick-slide-cat .col-inner {
  position: sticky;
  top: 70px;
}
.shortcode {
  position: sticky;
  top: 60px;
  z-index: 99;
  padding: 0;
  .product-cat-scroll-mobile {
    position: relative;
  }
}
@media screen and (max-width: 549px) {
  .slider-wrapper .flickity-prev-next-button {
    display: block !important;
    width: 30px;
    height: 30px;
  }
}
