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

/*************** ADD CUSTOM CSS HERE.   ***************/
html {
  font-size: 24x;
}
body {
  font-family: "SVN-Gilroy";
}
h1,
h2,
h3,
h4,
h5,
h6,
strong,
b {
  font-family: "SVN-Gilroy", sans-serif;
  font-weight: 700 !important;
}
.btn-program.button {
  background: var(--primary-color);
}

.logo_social .ux-logo-link {
  padding: 0 !important;
}
.form-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 10px;
}
.form-group {
  flex: 2 1 100%;
}
/* Half width columns */
.form-group.form-half {
  flex: 1 1 calc(50% - 10px);
  min-width: 200px;
}
.shop-page-title.category-page-title.page-title {
  display: none;
}
/* Full width */
.wrapper {
  position: relative;

}
.wrapper a.cover_link {
  position: absolute;
  inset: 0
}
/* Inputs, selects, textarea */
.form-wrapper input[type="text"],
.form-wrapper input[type="email"],
.form-wrapper input[type="tel"],
.form-wrapper select,
.form-wrapper textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 16px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  font-weight: 600;
  height: 3.507em;
  color: #000;
  background: #f2f2f2;
}

.form-wrapper input:focus,
.form-wrapper select:focus,
.form-wrapper textarea:focus {
  border-color: #5de0e6;
  box-shadow: 0 0 0 2px rgba(93, 224, 230, 0.2);
  outline: none;
}

/* Textarea */
.form-wrapper textarea {
  min-height: 150px;
  resize: vertical;
}

/* Checkbox/acceptance */
.form-terms {
  font-size: 14px;
  line-height: 1.5;
}

.form-terms input[type="checkbox"] {
  margin-right: 8px;
  transform: scale(1.1);
}

/* Submit button */
.form-wrapper input[type="submit"] {
  background-color: var(--primary-color);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  padding: 12px 30px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.form-wrapper input[type="submit"]:hover {
  background-color: #36c7ce;
}

/* Form note */
.form-note {
  font-size: 16px;
  color: #000;
  margin-bottom: 10px;
}
input.wpcf7-form-control.wpcf7-submit.has-spinner {
}
.form-row-submit input[type="submit"] {
  width: 100%;
  border-radius: 100px;
  text-transform: unset !important;
}

span.wpcf7-spinner {
  position: absolute;
}

form.wpcf7-form.init {
  margin: 0;
}
.form-row-submit input[type="submit"] {
  width: 100%;
  border-radius: 100px;
  text-transform: unset !important;
  margin: 0 !important;
}
/* .box-program .icon-box-text .text {
	margin-left: 30px;
} */
.post-meta-list {
  display: flex;
  gap: 50px;
  font-size: 1.4rem;
  font-weight: 300;
}

.post-title {
  /* font-size: 1.5rem; */
}

.from_the_blog_excerpt {
  /* font-size: 1.4rem; */
}
.post_meta_custom {
  display: flex;
  justify-content: space-between;
  font-size: 1.2rem;
  margin-bottom: 20px;
  color: #555;
}
.text_box_content {
  border-radius: 16px;
  background: linear-gradient(
          85deg,
          #05a875 4.72%,
          rgba(58, 182, 91, 0.96) 55.71%,
          #ebe605 106.71%
  ),
  #3ab54a;
  color: #fff !important;
  width: max-content;
  padding: 10px 30px !important;
  font-size: 2.5rem !important;
}
.text-center .text_box_content {
  margin: 0 auto;
}
.title_banner {
  font-size: 2.5rem !important;
  font-weight: 700;
  color: var(--primary-color) !important;
}
.product-category.col .box-image {
  border-radius: 15px;
}

.product-category.col .box-text {
  border-radius: var(--lg, 12px);

  padding: 20px;
  margin-top: 1rem;
}

.product-category.col .box-text .header-title {
  color: #000;
  font-size: 20px;
}

.product-category.col .box-text .count {
  display: none;
}
.title_section {
  font-size: 2.5rem !important;
  font-weight: 700;
  color: var(--primary-color) !important;
  margin-bottom: 40px !important;
}
.title_section h2 {
  font-size: 1em !important;
}
.title_section > * {
  color: var(--primary-color) !important;
}
.list_grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 20px;
}

.list_grid .item_grid {
  border-radius: 14px;
  background: linear-gradient(
          85deg,
          #05a875 4.72%,
          rgba(58, 182, 91, 0.96) 55.71%,
          #ebe605 106.71%
  ),
  #3ab54a;
  color: #fff;
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 8px;
  padding: 20px;
}

.list_grid .item_grid .item_grid__number {
  font-weight: 700;
  font-size: 2.5rem;
}
.col:has(.icon_box_vision) .col-inner {
  border-radius: 16px;
  background: #f2f2f2;
  padding: 40px 20px;
  height: 100%;
}
.gtranslate_wrapper {
  display: none;
}
.col_contact input[type="text"],
.col_contact input[type="email"],
.col_contact input[type="tel"],
.col_contact select,
.col_contact textarea {
  background: #fff !important;
}
.header-wrapper {
  padding: 13px 0;
}
.nav-dropdown {
  min-width: max-content;
}

.pll-parent-menu-item .nav-dropdown {
  padding: 0;
  transform: translateX(-50%);
  left: 50% !important;
}
.list_product_grid {
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  display: grid;
}

.product-card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  overflow: hidden;
  transition: transform 0.2s ease;
  display: flex;
  flex-direction: column;
}

a.btn.btn-detail {
  display: block;
  width: calc(100% - 4px);
  margin: 0 auto 6px;
  background: #fff;
  border: 1.5px solid #0E3EDA;
  border-radius: 18px;
  padding: 5px 0;
  font-weight: 600;
  font-size: 12px;
  color: #0E3EDA;
  text-decoration: none;
  transition: 0.3s;
  text-align: center;
}


.product-meta .btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 3px 6px;
  border-radius: 6px;
  font-size: 8px;
  font-weight: 600;
  width: 100%;
  color: #fff;
}

.product-view {
  font-size: 10px;
  font-weight: 600;
  color: rgba(0, 0, 0, 0.65);
  margin: 0 auto 0px;
  width: max-content;
  display: flex;
  align-items: center;
  gap: 3px;
  text-shadow: 0 1px 1px rgba(255, 255, 255, 0.4);
  transition: 0.25s ease;
}

.product-meta button.btn.btn-zing {
  background: #3B82F6;
}

.product-meta button.btn.btn-clear {
  background: #06B6D4;
}
section.product_cat_list {
  padding: 40px 0;
}
header#header {
  background-color: #ffffff;
  border-bottom: 1px solid #e9ecef;
  padding: 1rem 0;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: box-shadow 0.2s;
  box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
}
.product-meta {
  padding: 7px;
}
main#main {
  padding-top: 124px;
}
.title_border_color ,.title_border_color_2 {
  position: relative;
}
.title_border_color_2:before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(to right, var(--primary-color), var(--primary-dark));
  border-radius: var(--border-radius-pill);
}
.col_banner .col-inner {
  padding: 5px;
  position: relative;
  overflow:hidden;
  border-radius: 10px;
  width: 100%;
/*   aspect-ratio: 1216 / 460; */
  border-radius: 24px;
  padding: 5px;
  box-sizing: border-box;
  overflow: hidden;
}
.col_banner .col-inner:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: conic-gradient(from 0deg, red, orange, yellow, green, cyan, blue, violet, red);
  z-index: 0;
  animation: spinBorder 4s linear infinite;
  border-radius: inherit;
}
@keyframes spinBorder {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
.title_border_color:before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  height: 6px;
  width: 120%;
  background: linear-gradient(90deg, #0E3EDA, #000000, rgba(255, 255, 255, 0.2), #000000, #0E3EDA);
  background-size: 200% auto;
  border-radius: 4px;
  transform: translateX(-50%);
  animation: chase-animate 2s linear infinite;
  box-shadow: 0 0 1px #0E3EDA;
}
@keyframes chase-animate {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}
.title_border_color.text-center {
  margin: 0 auto 20px;
  width: max-content;
}

.title_product {
  font-size: 20px;
}

.wrapper-product-single {
  background: white;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  padding: 40px;
  position: relative;
}

.wc-product-gallery-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(2, 1fr);
}

.wc-product-gallery-grid img {
  width: 100%;
  object-fit: cover;
  aspect-ratio: 16/9;
  max-width: 100%;
  cursor: zoom-in !important;
  transition: opacity 0.3s;
  position: relative;
  z-index: 1;
}

.wc-product-gallery-grid .wc-gallery-item {
  border-radius: 10px;
  overflow: hidden;
}
.list_category {
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  display: grid;
}

.list_category .category_item {
  background: #fff;
  border: 2px solid rgba(90, 105, 150, 0.2);
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(14, 62, 218, 0.05);
  overflow: hidden;
  text-align: center;
  transition: all 0.25s ease;
}

.list_category .category_item:hover {
  border-color: #0eb5daff;
  box-shadow: 0 6px 16px rgba(14, 62, 218, 0.15);
  transform: translateY(-3px);
}

.category-meta span {
  font-size: 0.75rem;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 8px;
  background: transparent;
  border: 1.2px solid rgba(14, 62, 218, 0.25);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-image: linear-gradient(90deg, #0E3EDA, #0eb5daff);
}
.list_cat_lv1 {
  margin-bottom: 40px;
}
.list_category .category_item .box-image {
  height: 160px;
}

.list_category .category_item .box-image img {
  height: 100%;
  object-fit: cover;
}
.absolute-footer.dark.medium-text-center.small-text-center {
  display: none;
}
.button.button-primary.add_to_buy {
  text-align: center;
  margin: 0 auto;
  display: flex;
  width: max-content;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
  min-width: 180px;
  background: linear-gradient(135deg, #4267E9, var(--primary-color));
  color: white;
  border: none;
  box-shadow: 0 4px 10px rgba(14, 62, 218, 0.3);
  line-height: 1;
}
ul.header-nav.header-nav-main.nav.nav-left.nav-uppercase {}

header#header ul.header-nav li a {
  padding: 0.5rem 1rem;
  text-decoration: none;
  color: #495057;
  font-size: 15px;
  font-weight: 500;
  border-radius: 6px;
  transition: all 0.2s;
}

header#header ul.header-nav li a:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 3px;
  background-color: var(--primary-color);
  transition: width 0.3s ease, left 0.3s ease;
}

header#header ul.header-nav li a:hover {
  background-color: #f1f3f5;
  color: #0d6efd;
}

header#header ul.header-nav li a:hover:after {
  header#header ul.header-nav li a: hover;
  width: 80%;
  left: 10%;
}
.shop-container {
  padding: 50px 0;
}
.d-none {
    display: none;
}
@media only screen and (max-width: 48em) {
  /*************** ADD MOBILE ONLY CSS HERE  ***************/
  .title_banner {
    font-size: 1.6rem !important;
    margin-bottom: 20px !important;
  }
  .text_box_content {
    font-size: 1.3rem !important;
    padding: 8px 20px !important;
  }
  .list_grid {
    grid-template-columns: repeat(1, 1fr);
  }
  .list_category {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    display: grid;
  }
	.list_category .category_item .box-image {
    height: 103px;
}
}
