/*
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.   ***************/

html,
body {
  scroll-behavior: smooth;
  /* font-family: "Constantia"; */
}
@font-face {
  font-family: "SFUCenturySchool";
  src: url("theme/frontend/fonts/SFUCenturySchoolbookBTRoman.TTF")
    format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "BonVoyage";
  src: url("theme/frontend/fonts/SVN-BonVoyage-Regular.otf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Constantia";
  src: url("theme/frontend/fonts/constan.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* animation Carousel */
@keyframes marquee-left {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@keyframes marquee-right {
  0% {
    transform: translateX(-50%);
  }
  100% {
    transform: translateX(0);
  }
}

.animate-marquee-left {
  animation: marquee-left 20s linear infinite;
  width: max-content;
  display: flex;
}

.animate-marquee-right {
  animation: marquee-right 20s linear infinite;
  width: max-content;
  display: flex;
}

/* Đảm bảo container không bị cắt và hiển thị mượt mà */
.partner-section {
  overflow: hidden;
}
/* end animation Carousel */

.text_sfu_century {
  font-family: "BonVoyage" !important;
}
.mbp-0 p {
  margin-bottom: 0;
}
.home_banner {
  position: relative;
}
.home_banner .banner-inner .banner-bg::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 70%;
  height: 100%;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.8) 0%,
    rgba(255, 255, 255, 0.8) 34.13%,
    rgba(255, 255, 255, 0) 100%
  );
  z-index: 1;
}
.home_banner .banner-layers {
  position: relative;
  z-index: 2;
}
.absolute-footer {
  display: none;
}
.white.button.is-outline {
  color: white !important;
}
.white.button.is-outline:hover {
  background-color: #fff !important;
  border-color: #fff;
  color: #666 !important;
}
.footer_box_right .col-inner {
  height: 100%;
}
.h-full {
  height: 100%;
}
.footer_box_right a.button {
  text-align: left;
  padding: 0 1.5rem !important;
}
.mb-3 {
  margin-bottom: 0.75rem;
}
.mb-4 {
  margin-bottom: 1rem;
}
.p-0 {
  padding: 0 !important;
}
.mx-auto {
  margin-left: auto;
  margin-right: auto;
}
.font-regular {
  font-weight: 400 !important;
}
.banner h5,
.banner h6,
.banner p {
  margin: 0;
}
.overlay_about .banner-bg .overlay {
  width: 60%;
}
.text-justify {
  text-align: justify;
}
.p-4 {
  padding: 1rem;
}
.mb20 {
  margin-bottom: 20px;
}
.breadcrumbs .rank-math-breadcrumb p {
  margin-bottom: 0;
}
.breadcrumbs .rank-math-breadcrumb a,
.breadcrumbs .rank-math-breadcrumb * {
  color: #fff;
  transition: all 0.3s;
}
.breadcrumbs .rank-math-breadcrumb a:hover {
  color: var(--cl-primary);
}
.custom_title {
  position: relative;
  padding: 1rem 0;
}
.custom_title h2 {
  margin-bottom: 0;
}
.custom_title::after {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 554px;
  height: 2px;
  background: linear-gradient(
    90deg,
    rgba(28, 36, 69, 0) 0%,
    #1c2445 53.85%,
    rgba(28, 36, 69, 0) 100%
  );
  z-index: 1;
}
.custom_title::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 554px;
  height: 2px;
  background: linear-gradient(
    90deg,
    rgba(28, 36, 69, 0) 0%,
    #1c2445 53.85%,
    rgba(28, 36, 69, 0) 100%
  );
  z-index: 1;
}

.opacity-0 {
  opacity: 0;
}
.scale-95 {
  --tw-scale-x: 0.95;
  --tw-scale-y: 0.95;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y))
    rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y))
    scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}
.pointer-events-none {
  pointer-events: none;
}
.translate-y-4 {
  --tw-translate-y: 1rem /* 16px */;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y))
    rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y))
    scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}
.box_social {
  position: fixed;
  right: 1rem;
  bottom: 8%;
  z-index: 1;
}
footer {
  position: relative;
}
#loading-screen {
  z-index: 1002;
}
.box_social .social-link {
  position: relative;
  display: block;
  margin-bottom: 1rem;
}
.box_social .social-link img {
  animation: scale-img 2s ease-in-out infinite;
  transition: transform 0.3s ease;
}
@keyframes scale-img {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.15);
  }
  100% {
    transform: scale(1);
  }
}
.box_social .social-link .box_social_content {
  position: absolute;
  top: 0;
  right: 105%;
  color: #fff;
  font-size: 1.25rem;
  font-weight: 700;
  white-space: nowrap;
  border-radius: 56px;
  background: rgba(223, 180, 38, 0.8);
  padding: 0.5rem 1rem;
  transition: all 0.3s ease-in-out;
  opacity: 0;
}
.box_social .social-link:hover .box_social_content {
  opacity: 1;
}
.rounded20 img {
  border-radius: 20px;
  overflow: hidden;
  border: 3px solid #fff;
}
.load-more-products:hover {
  background-color: #fff;
  color: var(--cl-main);
  border-color: var(--cl-main);
}
.header.has-transparent {
  background: rgba(28, 36, 69, 0.85);
  /* backdrop-filter: blur(4px); */
}
.img_contain .gallery-col .box-image img{
  object-fit: contain;
}
.form_register input[type="text"],
.form_register input[type="email"]{
  border-radius: 0.5rem;
  padding: 0.5rem;
  background-color: #dbdee7;
}
.form_register input[type="submit"]{
  border-radius: 2.5rem;
  background-color: #d7b94a;
  color: #fff;
  border: 1px solid #d7b94a;
  transition: all 0.3s;
}

.pagination-btn {
  min-width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.pagination-btn:hover {
  background-color: var(--cl-main);
  color: #fff;
}

.mobile-pagination-btn {
  min-width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  font-weight: 500;
  transition: all 0.3s ease;
  font-size: 14px;
}

@media (max-width: 1023.98px) {
  .home_banner .banner-inner .banner-bg::after {
    background: linear-gradient(
      0deg,
      rgba(255, 255, 255, 0.8) 0%,
      rgba(255, 255, 255, 0.8) 34.13%,
      rgba(255, 255, 255, 0) 100%
    );
    width: 100%;
  }
  .custom_title::after,
  .custom_title::before {
    width: 336px;
  }
  .menu_sidebar .btn-down-menu {
    position: absolute;
    top: 5px;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
  }
  .menu_sidebar .btn-down-menu i {
    transition: all 0.3s;
  }
  .menu_sidebar .btn-down-menu.active i {
    transform: rotate(180deg);
  }
  .menu_sidebar {
    background: #fff;
    box-shadow: 0 4px 10px 0 rgba(0, 0, 0, 0.25);
    padding: 0.75rem 0.75rem 1rem 0.75rem;
    z-index: 10;
  }
  .menu_sidebar ul li ul li a.active {
    color: var(--cl-main);
  }
  .btn_fillter.active {
    background: rgba(28, 36, 69, 0.15);
  }
  .list_sidebar_child_mobile {
    list-style: inside !important;
    margin: 0 !important;
  }
  #mobile-products-section {
    background-image: url("/wp-content/uploads/2025/07/blue-textured-dark-background-with-grunge-pattern-1-1_optimized.png");
    padding-bottom: 1rem;
  }
}
@media (min-width: 1024px) {
  .footer_box_right .list_button_social a.button {
    width: 47%;
  }
  .w-50 {
    width: 50%;
  }
}
@media (min-width: 1536px) {
  .footer_box_right .list_button_social a.button {
    width: 40%;
  }
}
