*,
*:before,
*:after {
  box-sizing: border-box;
}

* {
  margin: 0;
  padding: 0;
}

img,
picture,
svg,
video {
  display: block;
  max-width: 100%;
  user-select: none;
}

input,
select,
textarea {
  background-color: transparent;
  outline: none;
  border: none;
}

button {
  cursor: pointer;
  background-color: transparent;
  outline: none;
  border: 0;
}

button,
img {
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  -o-user-select: none;
}

a {
  text-decoration: none;
}

html {
  font-size: 1vw;
  scroll-behavior: smooth;
}

body {
  font-family: "Roboto", sans-serif;
  text-rendering: optimizeLegibility;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  overscroll-behavior: none;
  -webkit-user-drag: none;
  -ms-content-zooming: none;
  vertical-align: baseline;
  position: relative;
  background: #fffaf1;
  color: black;
  line-height: 1.6;
  top: 0 !important;
}

:root {
  --Sup: #a87c4f;
  --pri: #fbae17;
  --Second: #683f19;
  --color-text: #3a2a1a;
}

@media (max-width: 639px) {
  html {
    font-size: 3.84vw;
  }
}

html::-webkit-scrollbar,
.custom-scroll::-webkit-scrollbar {
  width: 0.45rem;
}

html::-webkit-scrollbar-track,
.custom-scroll::-webkit-scrollbar-track {
  background: #fff;
}

html::-webkit-scrollbar-thumb,
.custom-scroll::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #f7083a 0%, #6519ff 100%);
  border-radius: 1.5rem;
}

.scrollbar-hidden {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.scrollbar-hidden::-webkit-scrollbar {
  display: none;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
  transition: background-color 5000s ease-in-out 0s;
  -webkit-text-fill-color: currentColor !important;
}

input[type="number"] {
  appearance: textfield;
  -moz-appearance: textfield;
  -webkit-appearance: textfield;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.customize-partial-edit-shortcut {
  z-index: 999;
  top: -2rem;
  right: -2rem;
  position: absolute;
}

.customize-partial-edit-shortcut-button {
  width: 2rem;
  height: 2rem;
  background: #28b4e9;
  border-radius: 100%;
  border: 2px solid white;
}

.customize-partial-edit-shortcut-button svg {
  fill: white;
}

.main-section > .customize-partial-edit-shortcut {
  z-index: 999;
  top: 0;
  left: 0;
  right: unset;
  position: absolute;
}

.hidden-edit-shortcut > .customize-partial-edit-shortcut {
  display: none;
}

.customize_bottom_left > .customize-partial-edit-shortcut {
  bottom: 0;
  left: 0;
  right: unset;
  top: unset;
}

.customize_top_left > .customize-partial-edit-shortcut {
  bottom: unset;
  left: 0;
  right: unset;
  top: 0;
}

.swiper-parallax {
  position: relative;
  width: 100%;
}

.swiper-parallax .swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.swiper-parallax .slide-image-wrapper {
  width: 100%;
  height: 100%;
  overflow: hidden;
  position: absolute;
  top: 0%;
  left: 0%;
  will-change: transform;
}

.swiper-parallax .slide-image-wrapper::before {
  position: absolute;
  content: "";
  top: 0%;
  left: 0%;
  width: 100%;
  height: 100%;
  background-color: transparent;
  z-index: 10;
}

.swiper-parallax .slide-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  will-change: transform;
}

.container {
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
}

.btn-global {
  width: max-content;
  cursor: pointer;
  border-radius: 12px;
  background: linear-gradient(
    90deg,
    #2db04a -9.74%,
    #2b8670 54.2%,
    #2e398b 130.49%
  );
  box-shadow: 0 4px 16px 0 rgba(0, 0, 0, 0.12);
  display: flex;
  height: 48px;
  padding: 12px 24px;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.btn-global svg {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  aspect-ratio: 1/1;
}

.btn-global p {
  color: #fff;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}

.wapper-breadcrumb {
  min-height: 52px;
  background: #f5f5f5;
  display: flex;
  align-items: center;

  .container {
    display: flex;
    align-items: center;
    min-height: 52px;
    width: 100%;
  }

  .rank-math-breadcrumb p {
    margin-bottom: 0;

    a {
      color: rgba(51, 51, 51, 0.6);
      font-size: 14px;
      font-style: normal;
      font-weight: 400;
      line-height: 1;
    }

    a:hover {
      color: var(--Green, #098b43);
    }

    span {
      color: var(--Green, #098b43);
      font-size: 14px;
      font-style: normal;
      font-weight: 400;
      line-height: 1;
    }
  }
}

.woocommerce-pagination .nav-pagination,
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0px;

  .page-number,
  .page-numbers {
    min-width: 40px;
    min-height: 40px;
    border-radius: 4px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    color: #b5b5b5;
    text-align: center;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 1.42;
    transition: all 0.3s;
  }

  .page-number:hover,
  .page-number.current,
  .page-numbers:hover,
  .page-numbers.current {
    border-radius: 8px;
    background: var(--Blue, #2e398b);
    color: #fff;
  }

  .next.page-numbers {
    margin-left: 20px;
    color: #fff;
    padding: 0 20px;
  }

  .prev.page-numbers {
    margin-right: 20px;
    color: #fff;
    padding: 0 20px;
  }
}

@media (max-width: 639px) {
  .wapper-breadcrumb {
    .container {
      padding: 0 16px;
    }
  }
}

.relative {
  position: relative;
}

.screen-reader-response {
  display: none;
}

.loading {
  display: none;
  width: 25px;
  height: 25px;
  border: 4px solid #e5e7eb;
  border-top-color: #22c55e;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 40px auto;
}

.wpcf7-form.submitting .loading {
  display: block;
}

.wpcf7-form.submitting .btn-global svg {
  display: none;
}

.hidden-fields-container {
  display: none;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.skiptranslate iframe {
  display: none;
}

/* Ẩn các phần tử không mong muốn */
#google_translate_element .goog-te-combo {
  display: none;
}

/* Hiển thị ngôn ngữ mặc định */
#google_translate_element .goog-te-banner-frame {
  display: none !important;
}

#google_translate_element .skiptranslate {
  display: none;
}

#google_translate_element .goog-logo-link {
  display: none;
}

#goog-gt-vt {
  display: none;
}

/* Hiển thị tùy chọn ngôn ngữ */
.goog-te-gadget-simple {
  background-color: transparent !important;
  border: none !important;
  padding: 0 !important;
}

.goog-te-gadget-simple .goog-te-menu-value {
  color: #000 !important;
  font-size: 0 !important;
  /* Ẩn chữ "Select Language" */
}

.goog-te-gadget-simple .goog-te-menu-value span {
  font-size: 16px !important;
  /* Kích thước chữ hiển thị ngôn ngữ */
}

.goog-te-gadget-simple .goog-te-menu-value span:first-child {
  display: inline !important;
}

.goog-te-gadget-icon {
  display: none !important;
  /* Ẩn biểu tượng */
}

.skiptranslate,
#google_translate_element,
#goog-gt-tt {
  display: none !important;
}

.global-btn.active,
.global-btn {
  cursor: pointer;
  display: flex;
  width: auto;
  height: 56px;
  padding: 11px 40px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  border-radius: 40px;
  border: 2px solid #ffdc97;
  background: linear-gradient(
    87deg,
    #ae6a05 0%,
    #d68c0d 53.23%,
    #fbae17 96.61%
  );
  box-shadow: 0 4px 20px 0 rgba(0, 0, 0, 0.12);
  color: #fff;
  font-family: "Baloo 2";
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  text-transform: uppercase;
  transition: all 1s;
}

.global-btn.noactive,
.global-btn:hover {
  color: var(--color-text, #3a2a1a);
  border-radius: 40px;
  border: 1px solid #ffdc97;
  background: #ffeac0;
  box-shadow: 0 4px 20px 0 rgba(0, 0, 0, 0.12);
}
