a:hover {
  color: #25B918;
  transition: all 0.3s ease-in-out;
}

.tab-content.active {
  display: block;
}

.modal-search {
  visibility: hidden;
  opacity: 0;
  transition: all 0.3s;
}

.modal-search.active {
  visibility: visible;
  opacity: 1;
}

.modal-search form {
  transform: translateY(-3rem);
  transition: all 0.3s;
}

.modal-search.active form {
  transform: translateY(0);
}

.breadcrumb_c_about nav {
  border-bottom: none !important;
  padding-bottom: 0 !important;
}


/* Mobile Menu Styles */
.menu-mobile {
  position: fixed;
  top: 0;
  left: 0;
  width: 80%;
  max-width: 320px;
  height: 100vh;
  background-color: white;
  z-index: 1000;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
  overflow-y: auto;
  box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
}

.menu-mobile.is-active {
  transform: translateX(0);
}

.over-mobile {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.over-mobile.is-active {
  opacity: 1;
  visibility: visible;
}

.menu-mobile-content ul {
  display: block;
  width: 100%;
  /* padding: 0 16px; */
}

.menu-mobile-content>ul {
  /* display: block;
  width: 100%; */
  padding: 0 16px;
}

.menu-mobile-content ul li {
  position: relative;
  width: 100%;

}

.menu-mobile-content ul li:not(:last-child) {
  border-bottom: 1px solid #EBEBEB;
}

.menu-mobile-content ul li a {
  display: block;
  padding: 12px 0px;
  color: var(--cl-s1);
  font-size: 16px;
  text-align: left;
  border-right: none !important;
}

.menu-mobile-content ul li ul {
  display: none;
  background-color: #f5f5f5;
}

.menu-mobile-content ul li ul li a {
  padding-left: 20px;
}

.btn-menu-sub {
  position: absolute;
  top: 0;
  right: 0;
  /* width: 50px; */
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  cursor: pointer;
}

.btn-menu-sub.active svg {
  transform: rotate(180deg);
}

.menu-mobile-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.logo::before {
  content: "";
  position: absolute;
  top: -3px;
  left: 0;
  background-image: url(../images/k_logo_v3.png);
  background-repeat: no-repeat;
  width: 132px;
  height: 85px;

}

.img_pro_home img {
  max-width: 252px;
}

.img_cat_home img {
  max-width: 100% !important;
  width: 100% !important;
}

.img_pro_home {
  background: url(../images/bg_home_pro.jpg) no-repeat center;
  background-size: cover;

}

.pagiv2 .swiper-pagination-bullet {
  border-radius: 999px;
  width: 16px;
  height: 5px;
  background: #6FA9E4;
  margin: 0 2px !important;
  opacity: 1 !important;
}

.pagiv2 .swiper-pagination-bullet.swiper-pagination-bullet-active {
  width: 34px !important;
  background: #FFD532 !important;
}


.swiper-pagination-news-cat .swiper-pagination-bullet {
  border-radius: 999px;
  width: 22px;
  height: 6px;
  background: #C7C7C7;
  margin: 0 2px !important;
  opacity: 1 !important;
}

.swiper-pagination-news-cat .swiper-pagination-bullet.swiper-pagination-bullet-active {
  width: 39px !important;
  background: #3372B3 !important;
}

.tab-pro-home.active {
  background: #1B5A9A !important;
  color: #fff !important;
}

.img_tg img {
  clip-path: polygon(99.873% 96.564%, 99.873% 96.564%, 99.84% 97.121%, 99.744% 97.65%, 99.59% 98.143%, 99.383% 98.593%, 99.13% 98.994%, 98.834% 99.337%, 98.501% 99.616%, 98.137% 99.825%, 97.747% 99.955%, 97.335% 100%, 21.996% 100%, 21.996% 100%, 21.441% 99.918%, 20.931% 99.684%, 20.471% 99.317%, 20.067% 98.836%, 19.724% 98.259%, 19.45% 97.606%, 19.248% 96.895%, 19.126% 96.145%, 19.089% 95.374%, 19.142% 94.601%, 19.142% 94.601%, 19.181% 94.289%, 19.216% 93.976%, 19.247% 93.66%, 19.274% 93.343%, 19.296% 93.024%, 19.315% 92.704%, 19.33% 92.383%, 19.34% 92.059%, 19.347% 91.735%, 19.349% 91.409%, 19.349% 91.409%, 19.165% 88.399%, 18.634% 85.544%, 17.783% 82.881%, 16.642% 80.45%, 15.24% 78.287%, 13.606% 76.433%, 11.768% 74.924%, 9.756% 73.798%, 7.597% 73.095%, 5.322% 72.852%, 5.322% 72.852%, 5.16% 72.853%, 4.998% 72.857%, 4.837% 72.863%, 4.677% 72.872%, 4.517% 72.882%, 4.357% 72.896%, 4.198% 72.911%, 4.039% 72.929%, 3.881% 72.949%, 3.723% 72.971%, 3.723% 72.971%, 3.191% 72.994%, 2.667% 72.907%, 2.163% 72.718%, 1.69% 72.434%, 1.259% 72.062%, 0.881% 71.609%, 0.568% 71.084%, 0.33% 70.492%, 0.18% 69.841%, 0.127% 69.139%, 0.127% 3.436%, 0.127% 3.436%, 0.16% 2.879%, 0.256% 2.35%, 0.41% 1.857%, 0.617% 1.407%, 0.87% 1.007%, 1.166% 0.663%, 1.499% 0.384%, 1.863% 0.175%, 2.253% 0.045%, 2.665% 0%, 97.335% 0%, 97.335% 0%, 97.747% 0.045%, 98.137% 0.175%, 98.501% 0.384%, 98.834% 0.663%, 99.13% 1.007%, 99.383% 1.407%, 99.59% 1.857%, 99.744% 2.35%, 99.84% 2.879%, 99.873% 3.436%, 99.873% 96.564%);
}

.text_gradient {
  background: linear-gradient(0deg, #1B5A9A 0%, #13BDEA 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
}

.menu_footer ul li a {
  color: #FFFFFF;
  font-size: 16px;
  display: block;
  padding: 6px 0;
  transition: all 0.3s ease-in-out;
}

.menu_footer ul li a:hover {
  color: #25B918;
  transition: all 0.3s ease-in-out;
}

.hv_social:hover {
  background: linear-gradient(0deg, #1B5A9A 0%, #13BDEA 100%);
  border-color: #13BDEA;
  color: #fff;
  transition: all 0.3s ease-in-out;
}

.form_contact .ip_contact {
  border-radius: 5px;
  border: 0.5px solid #393939;
  padding: 12px 16px;
  width: 100%;
  color: #3D3D3D;
  font-size: 14px;
}

.form_contact .ip_contact::placeholder {
  color: #3D3D3D;
}

#map iframe {
  width: 100%;
  height: 462px;
  border: none;
}

.module-modal {

  visibility: hidden;

  opacity: 0;

  transition: all 0.3s;

}



.module-modal.active {

  visibility: visible;

  opacity: 1;

}



.module-modal .modal-content {

  transform: translateY(-5rem);

  transition: all 0.3s;

}



.module-modal.active .modal-content {

  transform: translateY(0);

}

.btn_contact {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  margin-right: auto;
  gap: 0.5rem;
  /* tương đương gap-x-2 */
  padding-left: 1.5rem;
  /* pl-6 */
  padding-right: 0.5rem;
  /* pr-2 */
  padding-top: 0.5rem;
  /* py-2 */
  padding-bottom: 0.5rem;
  border-radius: 9999px;
  /* rounded-full */
  color: #fff;
  /* text-white */
  background-image: linear-gradient(to right, var(--cl-main), var(--cl-main-light));
  font-weight: 700;
  /* font-bold */
  text-transform: uppercase;
  font-size: 1.125rem;
  /* text-[1.125rem] */
  width: fit-content;
  transition: all 0.3s ease;
}

.btn_contact:hover {
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  filter: brightness(1.1);
}

.btn_contact::after {
  content: "\f061";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  background-color: #fff;
  color: var(--cl-main);
  margin-left: 0.5rem;
}

.breadcrumb_c nav p a:first-child::before {
  content: "\f015";
  font-family: "fontAwesome";
  size: 30px;
  margin: 0 4px;
  color: var(--cl-main);
  display: inline-block
}

.breadcrumb_c nav p span {
  color: var(--cl-main);
  font-weight: 600;
}

#ez-toc-container {
  padding: 16px 16px 16px 16px !important;
  border-radius: 10px !important;
}

.scrollbar-hide::-webkit-scrollbar {
  display: none;
}

.scrollbar-hide {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.radio {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}

.radio>input {
  position: absolute;
  appearance: none;
}

.radio>label {
  cursor: pointer;
  font-size: 30px;
  position: relative;
  display: inline-block;
  transition: transform 0.3s ease;
}

.radio>label>svg {
  fill: #666;
  transition: fill 0.3s ease;
}

/* .radio>label::before,
.radio>label::after {
  content: "";
  position: absolute;
  width: 6px;
  height: 6px;
  background-color: #EFCC41;
  border-radius: 50%;
  opacity: 0;
  transform: scale(0);
  transition: transform 0.4s ease, opacity 0.4s ease;
  animation: particle-explosion 1s ease-out;
} */

.radio>label::before {
  top: -15px;
  left: 50%;
  transform: translateX(-50%) scale(0);
}

.radio>label::after {
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%) scale(0);
}

.radio>label:hover::before,
.radio>label:hover::after {
  opacity: 1;
  transform: translateX(-50%) scale(1.5);
}

.radio>label:hover {
  transform: scale(1.2);
  animation: pulse 0.6s infinite alternate;
}

.radio>label:hover>svg {
  fill: #DA7400;
  filter: drop-shadow(0 0 15px rgba(255, 158, 11, 0.9));
  animation: shimmer 1s ease infinite alternate;
}

.radio>input:checked+label>svg {
  fill: #DA7400;
  filter: drop-shadow(0 0 15px rgba(255, 158, 11, 0.9));
  animation: pulse 0.8s infinite alternate;
}

.radio>input:checked+label~label>svg,
.radio>input:checked+label>svg {
  fill: #DA7400;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }

  100% {
    transform: scale(1.1);
  }
}

@keyframes particle-explosion {
  0% {
    opacity: 0;
    transform: scale(0.5);
  }

  50% {
    opacity: 1;
    transform: scale(1.2);
  }

  100% {
    opacity: 0;
    transform: scale(0.5);
  }
}

@keyframes shimmer {
  0% {
    filter: drop-shadow(0 0 10px rgba(255, 158, 11, 0.5));
  }

  100% {
    filter: drop-shadow(0 0 20px rgba(255, 158, 11, 1));
  }
}

.radio>input:checked+label:hover,
.radio>input:checked+label:hover~label {
  fill: #e58e09;
}

.radio>label:hover,
.radio>label:hover~label {
  fill: #DA7400;
}

.radio input:checked~label svg {
  fill: #DA7400;
}

.tab_order.tab-link:hover {
  color: var(--cl-main);
}

.tab_order.tab-link.active {
  color: var(--cl-main);
}

.tab_order.tab-link {
  position: relative;
  display: inline-block;
  padding-bottom: 8px;
  /* Tạo khoảng trống cho line */
  transition: all 0.3s ease-in-out;
}

.tab_order.tab-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 5px;
  background: linear-gradient(0deg, #1B5A9A 0%, #13BDEA 100%);
  border-top-left-radius: 14px;
  border-top-right-radius: 14px;
  transform: translateX(-50%);
  transition: width 0.3s ease-in-out;
}

.tab_order.tab-link:hover::after {
  width: 100%;
}

.tab_order.tab-link.active::after {
  width: 100%;
}

.breadcrumb_c nav {
  padding-bottom: 1.75rem;
  border-bottom: 0.5px solid #7C7C7C;
}

body .wp-block-woocommerce-product-new {
  display: none !important;
}

.woocommerce .woocommerce-message {
  display: none;
}

.wc-empty-cart-message {
  display: none;
}

.wc-block-components-address-form__country.wc-block-components-country-input {
  display: none;
}

.text-nowrap {
  white-space: nowrap !important;
}

.woocommerce .woocommerce-notices-wrapper {
  display: none;
}

.woocommerce-form-coupon-toggle {
  display: none;
}

.cs_checkout .woocommerce-billing-fields__field-wrapper {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -3px;
}

.cs_checkout .woocommerce-billing-fields__field-wrapper #billing_last_name_field.form-row-wide,
.cs_checkout .woocommerce-billing-fields__field-wrapper #billing_phone_field.form-row-first,
.cs_checkout .woocommerce-billing-fields__field-wrapper #billing_email_field.form-row-last {
  width: 33.33% !important;
}

.cs_checkout .woocommerce-billing-fields__field-wrapper #billing_state_field,
.cs_checkout .woocommerce-billing-fields__field-wrapper #billing_city_field {
  width: 50% !important;
}

.cs_checkout .woocommerce-billing-fields__field-wrapper #billing_address_1_field {
  width: 100% !important;
}

.cs_checkout .woocommerce-billing-fields.form_css_woo {
  border: 1px solid #E9E9E9;
  border-radius: 10px;
  padding: 16px 9px;
}

.cs_checkout .woocommerce-billing-fields.form_css_woo .woocommerce-billing-fields__field-wrapper p label {
  display: none;
}

.cs_checkout .woocommerce-billing-fields.form_css_woo .woocommerce-billing-fields__field-wrapper p input,
.cs_checkout .woocommerce-billing-fields.form_css_woo .woocommerce-billing-fields__field-wrapper p select,
.cs_checkout .woocommerce-billing-fields.form_css_woo .woocommerce-billing-fields__field-wrapper p .select2-selection__rendered {
  border: none !important;
  background: #F0F0F4 !important;
  border-radius: 5px !important;
  padding: 8px 16px !important;
  font-size: 13px !important;
  color: #787878 !important;
}

.cs_checkout .woocommerce-billing-fields.form_css_woo .woocommerce-billing-fields__field-wrapper p .select2-selection.select2-selection--single {
  border: none !important;
  background: #F0F0F4 !important;
  border-radius: 5px !important;
  font-size: 13px !important;
  color: #787878 !important;
}

.cs_checkout .woocommerce-billing-fields.form_css_woo h3 {
  font-size: 16px !important;
  font-weight: 500 !important;
  color: #393939 !important;
  margin-bottom: 8px !important;
}

.woocommerce-checkout-payment.woocommerce-checkout-payment_cs {
  background: none !important;
}

/* Flying Product Animation */
.flying-product {
  position: fixed;
  z-index: 9999;
  width: 60px;
  height: 60px;
  pointer-events: none;
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transform: scale(1);
  opacity: 1;
}

.flying-product img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.flying-product.animate {
  transform: scale(0.3);
  opacity: 0.7;
}

/* Cart Shake Animation */
.cart-shake {
  animation: cartShake 0.6s ease-in-out;
}

@keyframes cartShake {

  0%,
  100% {
    transform: translateX(0);
  }

  10%,
  30%,
  50%,
  70%,
  90% {
    transform: translateX(-3px);
  }

  20%,
  40%,
  60%,
  80% {
    transform: translateX(3px);
  }
}

/* Cart Count Animation */
.cart-count {
  animation: cartCountBounce 0.5s ease-in-out;
}

@keyframes cartCountBounce {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.3);
  }

  100% {
    transform: scale(1);
  }
}

/* Toast Notification */
.toast-notification {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 10000;
  background: #4CAF50;
  color: white;
  padding: 12px 16px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transform: translateX(400px);
  transition: transform 0.3s ease-in-out;
  max-width: 300px;
}

.toast-notification.show {
  transform: translateX(0);
}

.toast-content {
  display: flex;
  align-items: center;
  gap: 12px;
}

.toast-icon {
  width: 24px;
  height: 24px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}

/* Button Click Animation */
.main-add-to-cart:active,
.quick-add-to-cart:active,
.buy-now-btn:active {
  transform: scale(0.95);
}

.main-add-to-cart.loading,
.quick-add-to-cart.loading,
.buy-now-btn.loading {
  position: relative;
  color: transparent;
}

.main-add-to-cart.loading::after,
.quick-add-to-cart.loading::after,
.buy-now-btn.loading::after {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  top: 50%;
  left: 50%;
  margin-left: -8px;
  margin-top: -8px;
  border: 2px solid transparent;
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/* excerpt.css */
.excerpt-content {
  transition: max-height 0.4s ease-in-out;
  /* Thêm transition cho max-height */
  overflow: hidden;
}

.excerpt-hidden {
  max-height: var(--max-height, 3.5rem);
  position: relative;
}

.excerpt-hidden::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 64px;
  background: linear-gradient(transparent, white);
}

.excerpt-visible {
  /* max-height sẽ được set qua JS */
}

.excerpt-toggle {
  transition: all 0.3s;
}

.excerpt-toggle i {
  transition: transform 0.4s ease-in-out;
}

.excerpt-toggle .rotate {
  transform: rotate(180deg);
}



.toast-top-right {
  top: 80px !important;
  /* Thay đổi số này để điều chỉnh vị trí xuống dưới */
  right: 12px !important;
}



/* Responsive toast position */
@media (max-width: 768px) {
  .toast-top-right {
    top: 60px !important;
    right: 8px !important;
  }
}

/* Custom Toastr Styles */
.toast-container {
  z-index: 999999;
}

.toast {
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  border: none;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  overflow: hidden;
}

.toast-success {
  background: linear-gradient(135deg, #4CAF50, #45a049);
  color: white;
}

.toast-error {
  background: linear-gradient(135deg, #f44336, #d32f2f);
  color: white;
}

.toast-warning {
  background: linear-gradient(135deg, #ff9800, #f57c00);
  color: white;
}

.toast-info {
  background: linear-gradient(135deg, #2196F3, #1976D2);
  color: white;
}

.toast-title {
  font-weight: 600;
  font-size: 15px;
  margin-bottom: 5px;
}

.toast-message {
  font-size: 14px;
  line-height: 1.4;
}

.toast-close-button {
  color: rgba(255, 255, 255, 0.8);
  font-size: 18px;
  font-weight: bold;
  line-height: 1;
  opacity: 0.8;
}

.toast-close-button:hover {
  opacity: 1;
  color: white;
}

.toast-progress {
  background: rgba(255, 255, 255, 0.3);
  height: 3px;
}

/* Animation improvements */
.toast {
  animation: slideInRight 0.3s ease-out;
}

@keyframes slideInRight {
  from {
    transform: translateX(100%);
    opacity: 0;
  }

  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* Existing styles... */
.variation-select {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

.variation-required-highlight {
  border-color: #ef4444 !important;
  background-color: #fef2f2 !important;
  animation: pulse-red 1s ease-in-out 3;
}

@keyframes pulse-red {

  0%,
  100% {
    border-color: #ef4444;
    background-color: #fef2f2;
  }

  50% {
    border-color: #dc2626;
    background-color: #fee2e2;
  }
}

.variation-option.selected {
  border-color: #7DABD9 !important;
  background-color: #E4F1FF !important;
  color: #424242 !important;
}

/* Loading spinner styles */
.loading {
  position: relative;
  pointer-events: none;
}

.loading::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  margin: -10px 0 0 -10px;
  border: 2px solid transparent;
  border-top: 2px solid #ffffff;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  z-index: 1;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/* Flying product animation styles */
.flying-product {
  position: fixed;
  width: 60px;
  height: 60px;
  z-index: 9999;
  pointer-events: none;
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  opacity: 1;
}

.flying-product img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.flying-product.animate {
  transform: scale(0.3);
  opacity: 0;
}

/* Cart shake animation */
.cart-shake {
  animation: shake 0.6s ease-in-out;
}

@keyframes shake {

  0%,
  100% {
    transform: translateX(0);
  }

  10%,
  30%,
  50%,
  70%,
  90% {
    transform: translateX(-2px);
  }

  20%,
  40%,
  60%,
  80% {
    transform: translateX(2px);
  }
}

/* Cart count highlight */
.cart-count {
  animation: highlight 0.5s ease-in-out;
}

@keyframes highlight {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.2);
    color: #f59e0b;
  }

  100% {
    transform: scale(1);
  }
}

.slide-detail-pro-gallery .swiper-slide {
  border: 2px solid #E9E9E9;
  border-radius: 5px;
}
.slide-detail-pro-gallery .swiper-slide.swiper-slide-thumb-active {
  border: 2px solid var(--cl-main) !important;
  border-radius: 5px;
}

@media (max-width: 1024px) {

  /* .logo::before {
    content: "";
    position: absolute;
    top: -36px;
    left: 0;
    background-image: url(../images/khung_logo.png);
    background-repeat: no-repeat;
    width: 132px;
    height: 85px;

  } */
  .menu {
    display: none;
  }

  .menu.menu-mobile-content {
    display: block !important;
  }
}

@media (max-width: 768px) {}

@media (max-width: 576px) {

  .cs_checkout .woocommerce-billing-fields__field-wrapper #billing_last_name_field.form-row-wide,
  .cs_checkout .woocommerce-billing-fields__field-wrapper #billing_phone_field.form-row-first,
  .cs_checkout .woocommerce-billing-fields__field-wrapper #billing_email_field.form-row-last {
    width: 100% !important;
  }
}