/**
 * Theme Name:     K-Tech
 * Author:         K-Tech
 * Template:       flatsome
 * Text Domain:    k-tech
 * Description:    Theme Build by Dai
 * Theme URI:      https://k-tech.net.vn/
 * Author URI:     https://k-tech.net.vn/
 * Version:        2025
 * License:        2NRJM-B46WR-K6VQR-Y4T3D-QRWPX
 * License URI:    https://k-tech.net.vn/
 */

/*************** CUSTOM CSS ***************/

@font-face {
  font-family: "SVN-Rosellinda Alyamore";
  src:
    url("../fonts/rosellinda-alyamore/SVN-RosellindaAlyamore.woff2") format("woff2"),
    url("../fonts/rosellinda-alyamore/SVN-RosellindaAlyamore.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "SF Pro Display";
  src:
    url("../fonts/sfprodisplay/SFProDisplay-Black.woff2") format("woff2"),
    url("../fonts/sfprodisplay/SFProDisplay-Black.woff") format("woff");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "SF Pro Display";
  src:
    url("../fonts/sfprodisplay/SFProDisplay-HeavyItalic.woff2") format("woff2"),
    url("../fonts/sfprodisplay/SFProDisplay-HeavyItalic.woff") format("woff");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "SF Pro Display";
  src:
    url("../fonts/sfprodisplay/SFProDisplay-Bold.woff2") format("woff2"),
    url("../fonts/sfprodisplay/SFProDisplay-Bold.woff") format("woff");
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "SF Pro Display";
  src:
    url("../fonts/sfprodisplay/SFProDisplay-Light.woff2") format("woff2"),
    url("../fonts/sfprodisplay/SFProDisplay-Light.woff") format("woff");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "SF Pro Display";
  src:
    url("../fonts/sfprodisplay/SFProDisplay-Regular.woff2") format("woff2"),
    url("../fonts/sfprodisplay/SFProDisplay-Regular.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "SF Pro Display";
  src:
    url("../fonts/sfprodisplay/SFProDisplay-Medium.woff2") format("woff2"),
    url("../fonts/sfprodisplay/SFProDisplay-Medium.woff") format("woff");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "SF Pro Display";
  src:
    url("../fonts/sfprodisplay/SFProDisplay-Thin.woff2") format("woff2"),
    url("../fonts/sfprodisplay/SFProDisplay-Thin.woff") format("woff");
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "SF Pro Display";
  src:
    url("../fonts/sfprodisplay/SFProDisplay-Ultralight.woff2") format("woff2"),
    url("../fonts/sfprodisplay/SFProDisplay-Ultralight.woff") format("woff");
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "SF Pro Display";
  src:
    url("../fonts/sfprodisplay/SFProDisplay-Semibold.woff2") format("woff2"),
    url("../fonts/sfprodisplay/SFProDisplay-Semibold.woff") format("woff");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "SF Pro Display";
  src:
    url("../fonts/SFProDisplay-BoldItalic.woff2") format("woff2"),
    url("../fonts/SFProDisplay-BoldItalic.woff") format("woff");
  font-weight: bold;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "SF Pro Display";
  src:
    url("../fonts/SFProDisplay-BlackItalic.woff2") format("woff2"),
    url("../fonts/SFProDisplay-BlackItalic.woff") format("woff");
  font-weight: 900;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "SF Pro Display";
  src:
    url("../fonts/SFProDisplay-MediumItalic.woff2") format("woff2"),
    url("../fonts/SFProDisplay-MediumItalic.woff") format("woff");
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "SF Pro Display";
  src:
    url("../fonts/SFProDisplay-HeavyItalic.woff2") format("woff2"),
    url("../fonts/SFProDisplay-HeavyItalic.woff") format("woff");
  font-weight: 900;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "SF Pro Display";
  src:
    url("../fonts/SFProDisplay-LightItalic.woff2") format("woff2"),
    url("../fonts/SFProDisplay-LightItalic.woff") format("woff");
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "SF Pro Display";
  src:
    url("../fonts/SFProDisplay-RegularItalic.woff2") format("woff2"),
    url("../fonts/SFProDisplay-RegularItalic.woff") format("woff");
  font-weight: normal;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "SF Pro Display";
  src:
    url("../fonts/SFProDisplay-SemiboldItalic.woff2") format("woff2"),
    url("../fonts/SFProDisplay-SemiboldItalic.woff") format("woff");
  font-weight: 600;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "SF Pro Display";
  src:
    url("../fonts/SFProDisplay-UltralightItalic.woff2") format("woff2"),
    url("../fonts/SFProDisplay-UltralightItalic.woff") format("woff");
  font-weight: 100;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "SF Pro Display";
  src:
    url("../fonts/SFProDisplay-ThinItalic.woff2") format("woff2"),
    url("../fonts/SFProDisplay-ThinItalic.woff") format("woff");
  font-weight: 100;
  font-style: italic;
  font-display: swap;
}

body {
  font-family: "SF Pro Display", sans-serif;
}

input#woocommerce-product-search-field-1 {
  height: 3.3rem;
}

/* Tab Products Layout */
.tab-products .nav {
  width: 20%;
  background: #fbfbfb;
  padding: 1rem;
  height: max-content;
}

.tab-products .tab-panels {
  border: none !important;
}

.tab-products .tab a {
  padding: 1rem 0 !important;
}

.tab-products .tab a span {
  font-size: 0.9rem;
  color: #222;
}

.tab-products .tab.active a span {
  color: var(--fs-color-primary);
}

.tab-products .tab-panels iframe {
  height: 300px;
  width: 100%;
  border-radius: 0.75rem;
  overflow: hidden;
}

.tab-products .tab-panels strong {
  font-weight: 600;
}

/* Table Styling */
.sec-single-product table {
/*   border-collapse: collapse;
  width: 100%; */
	
	font-size: 1.25rem;
}

.sec-single-product table td {
  border: 1px solid #ddd;
  text-align: left;
  padding: 8px;
  height: 21px;
}

.sec-single-product table tr td:nth-child(odd) {
	width: 35% !important;
  background-color: #f9f9f9;
}

.sec-single-product table td:first-child {
  width: 20%;
  font-weight: 600;
}

.sec-single-product table td:last-child {
  width: 80%;
}

/* Header Navigation */
.header-main .header-inner .header-nav {
  justify-content: space-evenly;
}

.mega-menu {
  width: 100%;
  display: flex !important;
  justify-content: space-evenly;
}

.mega-menu-wrap {
  width: 100% !important;
}

/* Footer Styling */
.sec-ft .title-ft {
  margin-bottom: 0;
}

.sec-ft .title-ft span {
  text-transform: none;
  border: none;
  padding: 0;
  margin: 0;
}

.sec-ft .title-ft .section-title b {
  display: none;
}

.sec-ft .title-ft .section-title {
  border: none;
}

.ft-menu .ux-menu-link__text,
.ft-menu .ux-menu-link__link {
  color: #fff !important;
}

/* WooCommerce Elements */
.single_add_to_cart_button {
  opacity: 1 !important;
}

.woocommerce-breadcrumb a {
  text-transform: none;
  color: #000;
}

.filter-item label {
  margin-bottom: 0;
}

/* Timeline Component */

.home-bao .timeline .timeline-content {
  margin-left: 10px;
}

.timeline {
  position: relative;
  /* max-width: 70%; */
  margin: auto;
}

.timeline::after {
  content: "";
  position: absolute;
  width: 4px;
  background-color: var(--fs-color-primary);
  top: 0;
  bottom: 0;
  left: 20px;
  margin-left: -2px;
}

.timeline-item {
  padding: 20px 30px;
  position: relative;
  background-color: inherit;
  width: 100%;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: 12px;
  background-color: white;
  border: 4px solid var(--fs-color-primary);
  top: 20px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  z-index: 1;
}

.timeline-content {
  margin-left: 50px;
  background: white;
  padding: 15px 20px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  animation: fadeInUp 0.5s ease both;
}

.timeline-content h3 {
  margin-top: 0;
  color: var(--fs-color-secondary);
}

.image-tools {
  display: none !important;
}

.banner-single .woocommerce-breadcrumb {
  padding: 1rem 0;
}

.single .woocommerce-product-gallery__image.slide img {
  border-radius: 1rem;
  border: 1px solid #ddd;
  overflow: hidden;
  padding: 1rem;
}

.single .product-title.product_title {
/*   color: #46ac7a; */
	color: #000;
}

.single .product-thumbnails.thumbnails.slider {
  display: none;
}

.swiper-slide {
  height: auto;
}

.grid--layout {
  display: grid;
  grid-template-rows: repeat(2, 1fr);
  grid-template-columns: 1fr 1fr 1fr;
  grid-gap: 20px;
	@media only screen and (max-width: 800px) {
		grid-template-columns: 1fr 1fr;
		grid-gap: 5px;
	}
}

.grid--item {
  position: relative;
  width: 100%;
  padding-bottom: 70%;
  overflow: hidden;
  background: #f2f2f2;
  border-radius: 0.75rem;
  overflow: hidden;
}

.grid--item:first-child {
  grid-row: 1 / 3;
  grid-column: 1 / 2;
}

.grid--item:nth-of-type(4) {
  grid-column: 3 / 4;
  grid-row: 1 / 3;
}

.grid--item img {
  min-height: 260px;
  border: 1px solid #ddd;
  border-radius: 0.75rem;
  overflow: hidden;
}

.grid--item img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
}

.grid--item img {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  -o-object-fit: cover;
  object-fit: cover;
  -o-object-position: center;
  object-position: center;
}

.timeline-content .desc {
  height: 4.05rem;
  overflow: auto;
}

.home-products .product {
  position: relative;
  background: #ffffff;
  border: 1px solid #8eb620;
  box-shadow: 0px 2px 8px #f3f3f3;
  border-radius: 1rem;
  height: 100%;
}

@media (max-width: 575px) {
  .home-products .product {
    min-height: 332px;
  }
}

.home-products .product:hover {
  background: #b2d235;
  transition: all 0.3s;
}

.home-products .product:hover .product--content .para {
  opacity: 1;
  visibility: visible;
  transform: translateY(0%);
  transition: all 0.4s;
  transition-delay: 0.4s;
}

.product--links {
  display: flex;
  flex-flow: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 15px 15px 25px;
  transition: all 0.3s;
}

.product--image {
  width: 85%;
  height: auto;
  object-fit: contain;
  position: absolute;
  top: -20%;
}

@media (max-width: 1199px) {
  .product--image {
    top: -25%;
  }
}

@media (max-width: 991px) {
  .product--image {
    padding-bottom: 50%;
    /* This might need adjustment based on your layout */
    top: -20%;
  }
}

@media (max-width: 767px) {
  .product--image {
    position: relative;
    top: 0;
  }
}

.product--content {
  position: relative;
  display: flex;
  flex-flow: column;
  align-items: center;
  justify-content: center;
  padding-top: 50px;
}

@media (max-width: 991px) {
  .product--content {
    padding-top: 80px;
  }
}

@media (max-width: 767px) {
  .product--content {
    padding-top: 15px;
  }
}

.product--content .top-index {
  display: block;
}

@media (max-width: 767px) {
  .product--content .top-index {
    margin-bottom: 10px;
  }
}

@media (min-width: 768px) {
  .product--content .top-index {
    transform: translateY(30%);
    transition: transform 0.4s;
    min-height: 80px;
  }
}

@media (min-width: 992px) {
  .product--content .top-index {
    margin-bottom: 15px;
  }
}

.product--content .title {
  /* Assuming line-clamp is a mixin for text-overflow: ellipsis and -webkit-line-clamp */
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  display: -webkit-box;

  font-weight: 600;
  font-size: 26px;
  line-height: 32px;
  text-transform: uppercase;
  color: #282829;
  margin-bottom: 10px;
}

@media (max-width: 1199px) {
  .product--content .title {
    font-size: 22px;
    line-height: 28px;
  }
}

@media (max-width: 767px) {
  .product--content .title {
    font-size: 18px;
    line-height: 24px;
    margin-bottom: 2px;
  }
}

.product--content .sub {
  font-weight: normal;
  font-size: 16px;
  line-height: 22px;
  text-align: center;
  color: #4f4f4f;
}

@media (max-width: 767px) {
  .product--content .sub {
    font-size: 14px;
    line-height: 19px;
  }
}

.product--content .para {
  /* Assuming line-clamp is a mixin for text-overflow: ellipsis and -webkit-line-clamp */
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  display: -webkit-box;

  font-weight: normal;
  font-size: 16px;
  line-height: 24px;
  color: #282829;
  margin-bottom: 0;
}

@media (min-width: 768px) {
  .product--content .para {
    opacity: 0;
    visibility: hidden;
    transform: translateY(-50%);
    transition: all 0.4s;
  }
}

.product--content .para p {
  min-height: 96px;
}

.product-small.box .box-image {
  border-bottom: 1px solid #ddd;
}

.product-small.box .box-text .product-title {
  font-size: 1.25rem;
  font-weight: 700;
  text-transform: uppercase;
}

.product-small.box .box-text .product-title a {
/*   color: #46ac7a; */
	color: #000;
	font-size: 19px;
	font-weight: 500;
}

.product-small.box .box-image:before {
  content: "";
  position: absolute;
  background: #828282;
  mix-blend-mode: multiply;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  -webkit-transform: scale(0.5);
  transform: scale(0.5);
  opacity: 0;
  visibility: hidden;
  -webkit-transform-origin: center center;
  transform-origin: center center;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
  cursor: pointer;
  z-index: 1;
  border-radius: 1rem;
}

.product-small.box:hover .box-image::before {
  -webkit-transform: scale(1);
  transform: scale(1);
  opacity: 1;
  visibility: visible;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}

.product--item-hover {
  position: absolute;
  top: 75%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  opacity: 0;
  visibility: hidden;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}

.product-small.box:hover .product--item-hover {
  top: 50%;
  opacity: 1;
  visibility: visible;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
  z-index: 9;
}

.product--item-hover a {
  color: #fff !important;
  display: inline-block;
  background: #b2d235;
  border-radius: 30px;
  font-weight: normal;
  font-size: 16px;
  line-height: 32px;
  color: #000;
  padding: 5px 30px;
  z-index: 10;
}

.form-flex {
  display: flex;
  gap: 1rem;
}

.form-item input,
.form-item textarea {
  box-shadow: none !important;
  border-radius: 0.5rem !important;
}

.btn-send .wpcf7-submit {
  background: var(--fs-color-secondary);
  margin: 0 !important;
  border-radius: 99rem !important;
}

.wpcf7-not-valid-tip {
  color: var(--fs-color-secondary);
  background: transparent !important;
}

.wpcf7-not-valid-tip::after {
  display: none !important;
}

.wpcf7-response-output {
  margin: 0 !important;
  border: none !important;
  color: var(--fs-color-secondary);
}

/**Trang chủ**/

.home-bao .ctf-contact label {
  color: #fff;
}

.home-about .box-about {
  padding: 1rem;
  border: 3px solid var(--fs-color-primary);
  border-radius: 1rem;
}



@media (max-width: 767px) {
  .product--content .para {
    font-size: 14px;
    line-height: 19px;
    min-height: 76px;
    min-height: 100%;
    opacity: 1;
    visibility: visible;
  }
}

/**Trang Giới thiệu**/

.box-about1 {
  display: flex;
  align-items: center;

  .icon-box-img {
    .icon-inner {
      background: #ffb800;
      border-radius: 99rem;
      border: 1px solid var(--fs-color-primary);
      padding: 10px;

      img {
        padding: 0;
      }
    }
  }
}

.box-product {
  margin-bottom: 1rem;
}

.single-product {
  iframe {
    width: 100%;
    border-radius: 1rem;
    overflow: hidden;
  }
}

.list--label-month {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  background: #fbfbfb;
}
@media (min-width: 1200px) {
  .list--label-month {
    justify-content: space-between;
    padding: 15px 20px;
  }
}
@media (max-width: 1199px) {
  .list--label-month {
    justify-content: center;
    gap: 15px;
    padding: 15px 10px;
  }
}
.list--label-month label {
  cursor: pointer;
  margin: 0;
}
.list--label-month label input {
  appearance: none;
  -webkit-appearance: none;
  display: none;
}
.list--label-month label input:checked ~ .dot {
  background: #006400;
}
.list--label-month label .text {
  display: block;
  font-weight: 600;
  font-size: 16px;
  line-height: 32px;
  color: #000;
}
.list--label-month label .dot {
  display: block;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  margin: 0 auto;
}
@media (min-width: 1200px) {
  .list--label-month label .dot {
    margin: 15px auto 0;
  }
}

.tex-desc {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 1rem 0;
}
.tex-desc .txt-gt {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  width: max-content;
}
.tex-desc .txt-gt input {
  display: none;
}
.tex-desc .txt-gt .dot {
  display: block;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  margin: 0 auto;
  background: #006400;
}
.dot.dot-tv {
  background: #46ac7a !important;
}

.dot.dot-kv {
  background: transparent !important;
  border: 1px solid #006400;
}

.desc-content {
  display: flex;
/*   align-items: center; */
  justify-content: space-between;
	height: 50em;
  @media only screen and (max-width: 800px) {
	  height: 75rem;
      flex-direction: column;
  }
}

.desc-content .desc-txt {
  width: 75%;
  @media only screen and (max-width: 800px) {
    width: 100%;
  }
}

.desc-content .desc-img {
  position: relative;
  width: 40%;
  @media only screen and (max-width: 800px) {
    width: 100%;
  }
}

.desc-content .item-gallery {
  border-radius: 99rem;
  overflow: hidden;
  position: absolute;
  border: 5px solid #ddd;
  box-shadow: 4px 2px 10px #46ac7a;
  @media only screen and (max-width: 800px) {
    position: relative;
  }
}

.desc-content .item-gallery:nth-child(1) {
    width: 20rem;
    height: 20rem;
    right: 5%;
    top: 0;
    transform: translateY(95%);
	@media only screen and (max-width: 800px) {
		width: 15rem;
		height: 15rem;
		right: 0%;
		transform: translateY(5%);
	}

}

.desc-content .item-gallery:nth-child(2) {
    width: 15rem;
    height: 15rem;
    right: 35%;
    top: 0;
    transform: translateY(-25%);
  @media only screen and (max-width: 800px) {
        width: 16rem;
        height: 16rem;
        right: -30%;
        bottom: 0;
        transform: translateY(-30%);
  }
}

.desc-content .item-gallery:nth-child(3) {
    width: 22rem;
    height: 22rem;
    right: 130%;
    top: 0;
    transform: translateY(115%);
  @media only screen and (max-width: 800px) {
	width: 15rem;
    height: 15rem;
    right: 2%;
    top: 0;
    transform: translateY(-60%);
  }
}

.desc-content .item-gallery:nth-child(4) {
    width: 20rem;
    height: 20rem;
    left: -80%;
    bottom: 0;
    transform: translateY(0);
  @media only screen and (max-width: 800px) {
    width: 18rem;
    height: 18rem;
    left: 20%;
    bottom: 0;
    transform: translateY(-75%);
  }
}

.desc-content .item-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Media Queries */
@media (max-width: 600px) {
  .timeline::after {
    left: 15px;
  }

  .timeline-item::before {
    left: 7px;
  }

  .timeline-content {
    margin-left: 40px;
  }
}

@media only screen and (max-width: 48em) {
  .tab-products .nav {
    width: 100% !important;
  }
}

.badge-inner.bg-fill {
    border-radius: 1rem;
}

.sec-video .video-link {
	border-radius: 1rem;
	overflow: hidden;
}




/* .slider-bao .slider .img {
	height: 96% !important;
} */

.slider-bao .lightbox-gallery, .slider-bao .img-inner {
	overflow: hidden;
	border-radius: 1rem;
}