/**
 * NukeViet Content Management System
 * @version 4.x
 * @author VINADES.,JSC <contact@vinades.vn>
 * @copyright (C) 2009-2021 VINADES.,JSC. All rights reserved
 * @license GNU/GPL version 2 or any later version
 * @see https://github.com/nukeviet The NukeViet CMS GitHub project
 */

/* Các tùy chỉnh CSS của giao diện nên để vào đây */
.home-slider .slick-dots {
  bottom: 15px;
}

.home-slider .slick-dots li {
  margin: 0;
}

.home-slider .slick-dots button::before {
  color: rgba(255, 255, 255, 0.44);
  font-size: 12px;
}

.home-slider .slick-dots .slick-active button::before {
  color: white;
}

#slick-slider-tailwind-3 {
  margin-bottom: 0;
}

.home-slider .slick-arrow {
  width: 50px;
  height: 50px;
  background-color: rgba(255, 255, 255, 0.2);
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.home-slider .slick-next {
  right: 0;
}

.home-slider .slick-prev {
  left: 0;
}

.home-slider .slick-prev::before,
.home-slider .slick-next::before {
  font-family: inherit;
}

.transition-image {
  transition: all 0.6s cubic-bezier(0.34, 0.78, 0.45, 0.98);
  transform: scale(1.001);
}

.btn-item-view-more {
  font-size: 16px;
  color: #283661;
  font-weight: 500;
  text-align: center;
  line-height: 16px;
  padding-top: 0;
  padding-right: 0;
  padding-bottom: 0;
  padding-left: 0;
  background-color: rgba(0, 0, 0, 0);
}

.btn-item-view-more span {
  position: relative;
}

.btn-item-view-more span:after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 100%;
  --qodef-underline-position-y: 100%;
  --qodef-underline-height: 2px;
  background-repeat: no-repeat;
  background-image: linear-gradient(90deg, #283661 0, #283661 100%);
  background-position: 100% var(--qodef-underline-position-y);
  background-size: 100% var(--qodef-underline-height);
  top: 4px;
}

.btn-item-view-more:hover span:after {
  animation: qode-inline-underline-initial-hover 0.8s
    cubic-bezier(0.57, 0.39, 0, 0.86) 1 forwards;
}

.media-gallery-item iframe {
  width: 100%;
  height: 100%;
}

.news-hot-product .panel-heading {
  font-size: 16px;
  font-weight: 500;
  font-family: "Geologica", sans-serif;
  color: #10235e;
  margin-bottom: 10px;
}

@keyframes qode-inline-underline-initial-hover {
  0% {
    background-position: 100% var(--qodef-underline-position-y);
    background-size: 100% var(--qodef-underline-height);
  }

  35% {
    background-position: 100% var(--qodef-underline-position-y);
    background-size: 0 var(--qodef-underline-height);
  }

  36% {
    background-position: 0 var(--qodef-underline-position-y);
    background-size: 0 var(--qodef-underline-height);
  }

  100% {
    background-position: 0 var(--qodef-underline-position-y);
    background-size: 100% var(--qodef-underline-height);
  }
}

.input-white {
  border: 1px solid #e4edf5;
  border-radius: 20px;
  padding-left: 20px;
  background-color: #fff;
  box-shadow: none;
  color: #363636;
  font-size: inherit;
  line-height: 40px;
  outline: none;
  padding: 0 12px;
  transition: all 0.2s;
  width: 100%;
}

.input-blue {
  background-color: #eff4f8;
  border: 1px solid #e4edf5;
  border-radius: 9px;
  box-shadow: none;
  color: #363636;
  font-size: 15px;
  line-height: 40px;
  outline: none;
  padding: 0 12px;
  transition: all 0.2s;
  width: 100%;
}

/* ======================================
   Menu Duplication Fix
   ====================================== */

/* Hide all menu types except tailwind menu */
.navbar:not(.tailwind-menu-wrapper),
.sf-menu,
.slimmenu,
.metismenu,
.dropdown-menu {
  display: none !important;
}

/* Allow menu in mobile sidebar */
#mobile-menu .tailwind-menu-wrapper,
#mobile-menu nav,
.mobile-menu-wrapper .tailwind-menu-wrapper,
.mobile-menu-wrapper nav {
  display: block !important;
}

/* Force show only tailwind menu */
.tailwind-menu-wrapper {
  display: block !important;
}

/* Hide any duplicate tailwind menus */
.tailwind-menu-wrapper + .tailwind-menu-wrapper {
  display: none !important;
}

/* Hide any menu inside non-tailwind containers */
div:not(.tailwind-menu-wrapper) .navbar,
div:not(.tailwind-menu-wrapper) .sf-menu,
div:not(.tailwind-menu-wrapper) .slimmenu,
div:not(.tailwind-menu-wrapper) .metismenu {
  display: none !important;
}

/* Ensure menu items don't duplicate */
.navbar-nav li {
  display: inline-block;
}

/* Prevent text wrapping in menu items */
.tailwind-menu-wrapper nav a {
  white-space: nowrap;
}

/* Ensure proper spacing */
.tailwind-menu-wrapper .flex {
  gap: 2rem;
}
