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

 
 /*************** Custom Header.   ***************/
.header-nav .menu-item .nav-top-link {
    color: #1c1c1c;
    background: transparent;
    display: block;
    text-transform: uppercase;
    margin: 1px 2px;
    padding: 10px 20px;
    font-size: 15px;
    font-weight: bold;
    border-radius: 0;
    transition: all 500ms;
}

.header-nav .menu-item:hover .nav-top-link,
.header-nav .menu-item.active .nav-top-link,
.header-nav .menu-item.current-menu-item .nav-top-link {
    color: #fff !important;
    background-color: #EFAB49 !important;
    border-radius: 10px;
	justify-content: center !important;
}

.nav {
    align-items: center;
    display: flex;
    flex-flow: row wrap;
    width: 100%;
	justify-content: center;
}

.header-search .icon-search {
    color: #60978a; /* Màu bạn muốn, có thể thay bằng mã khác như #fff */
}


/*************** Chỉnh font chữ full web.   ***************/
body, h1, h2, h3, h4, h5, h6, p, a, span, div, li, ul, button, input, textarea {
    font-family: 'Roboto', sans-serif !important;
}


/* Text- Box */
.box-text a:not(.button), .box-text h1, .box-text h2, .box-text h3, .box-text h4, .box-text h5, .box-text h6 {
    font-size: 16px;
    letter-spacing: .5px;
    line-height: 20px;
    text-align: center;
    float: left;
    width: 100%;
    text-overflow: ellipsis;
    display: block;
    color: #333;
    margin: 15px 0;
}

.col_blogs .col.post-item {
    margin: 0%;
    background-color: #ffffff;
    display: flex;
    flex-wrap: wrap;
    gap: 3px; /* ← cách giữa các cột */
}


/*****Trang chủ******/
.sec_products .row-small {
    display: flex;
    flex-wrap: wrap;
    gap: 20px; /* Khoảng cách giữa các cột */
    justify-content: center; /* căn giữa nếu không đủ cột */
}
.sec_products .row-small > .col {
    flex: 1 1 calc(25% - 20px); /* 4 cột một hàng (vì bạn đang dùng large-columns-4) */
    max-width: calc(25% - 20px);
    padding: 20px;
    background-color: #fff;
    border-radius: 10px;
    transition: all .2s ease-in-out;
    box-sizing: border-box;
}

/* Hiệu ứng hover */
.sec_products .row-small > .col:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgb(96, 151, 138);
}

.sec_products .button.primary.lowercase {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  background-color: #60978a !important;
  color: #fff !important;
  font-weight: 600;
  border: 2px solid #60978a;
  cursor: pointer;
  text-transform: none;
  transition: all 0.3s ease-in-out;
}

.sec_products .button.primary.lowercase:hover {
  background-color: #ffffff !important;
  color: #60978a !important;
  border: 2px solid #60978a !important;
  transform: scale(1.05);
  box-shadow: 0 0 6px rgba(96, 151, 138, 0.3);
}



.sec_export .button.primary.is-larger.lowercase {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  background-color: #60978a;
  color: #fff;
  font-weight: 600;
  border: 2px solid #60978a;
  cursor: pointer;
  margin: 0 !important;
  text-decoration: none;
  box-shadow: none;
  transition: all 0.3s ease;
}

.sec_export .button.primary.is-larger.lowercase:hover {
  background-color: #ffffff;   /* nền trắng khi hover */
  color: #60978a;              /* chữ xanh nhạt */
  border: 2px solid #60978a;   /* viền xanh khi hover */
  box-shadow: none;
}

.sec_export .button.primary.box_btn_contact{
	font-weight: 700;
    font-style: normal;
    color: #8b8b8b;
    background-color: #fff;
    border: 1px solid #8b8b8b;
    border-radius: 20px;
    text-align: center;
    min-width: 120px;
    padding: 10px 6px;
    font-size: 14px;
    display: inline-block;
    margin: auto;
    transition: all 350ms;
    text-transform: uppercase;
    width: auto;
    cursor: pointer;
}

.sec_export .button.primary.box_btn_contact:hover{
	background-color: #EFAB49;
	border-color: #EFAB49;
	color: #fff;
	box-shadow: none;
}

.sec_exports .button.primary.box_btn_contact{
	font-weight: 700;
    font-style: normal;
    color: #8b8b8b;
    background-color: #fff;
    border: 1px solid #8b8b8b;
    border-radius: 20px;
    text-align: center;
    min-width: 120px;
    padding: 10px 6px;
    font-size: 14px;
    display: inline-block;
    margin: auto;
    transition: all 350ms;
    text-transform: uppercase;
    width: auto;
    cursor: pointer;
}

.sec_exports .button.primary.box_btn_contact:hover{
	background-color: #EFAB49;
	border-color: #EFAB49;
	color: #fff;
	box-shadow: none;
}

.sec_contact .wpcf7-form {
  max-width: 600px;
  margin: 0 auto;
}
.sec_contact .wpcf7-form input[type="text"],
.sec_contact .wpcf7-form input[type="tel"],
.sec_contact .wpcf7-form input[type="email"],
.sec_contact .wpcf7-form textarea {
  width: 100%;
  padding: 12px 15px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  box-sizing: border-box;
}

.sec_contact .wpcf7-form textarea {
  resize: vertical;
  min-height: 120px;
}

.sec_contact .wpcf7-submit {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  background-color: #60978a;
  color: #fff;
  font-weight: 600;
  border: none;
  cursor: pointer;
	margin: 0 !important;
	text-transform: none;
}
.sec_contact .wpcf7-submit:hover {
  background-color: #ffffff;   /* nền trắng khi hover */
  color: #60978a;              /* chữ xanh nhạt */
  border: 2px solid #60978a;   /* viền xanh khi hover */
  box-shadow: none;
}

/*****Cửa hàng******/
.sec_store .row-small {
    display: flex;
    flex-wrap: wrap;
    gap: 20px; /* Khoảng cách giữa các cột */
    justify-content: center; /* căn giữa nếu không đủ cột */
}
.sec_store .row-small > .col {
    flex: 1 1 calc(25% - 20px); /* 4 cột một hàng (vì bạn đang dùng large-columns-4) */
    max-width: calc(25% - 20px);
    padding: 20px;
    background-color: #fff;
    border-radius: 10px;
    transition: all .2s ease-in-out;
    box-sizing: border-box;
}

/* Hiệu ứng hover */
.sec_store .row-small > .col:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgb(96, 151, 138);
}

.product-category .box {
    box-shadow: white /* đổ bóng màu #60978a, độ mờ 50% */
    
}

/* Tùy chọn: Tăng hiệu ứng khi hover */
.product-category .box:hover {
    box-shadow: 0 8px 20px rgba(96, 151, 138, 0.7);
}

.box-badge:hover .box-text {
    background-color: #60978a;
}

.shop-container .product-small.col {
  transition: all 0.3s ease;
  border-radius: 5px;
	margin-bottom: 15px
}

.shop-container .product-small.col:hover {
  box-shadow: 0 10px 20px rgba(96, 151, 138, 0.7);
}

/* Chỉnh icon angle-up */
/* Xóa viền */
#top-link {
  border: none !important;          /* Xóa viền xanh */
  background-color: red !important; /* Màu nền đỏ (bạn có thể đổi) */
  width: 70px !important;           /* Kích thước nút */
  height: 70px !important;
  border-radius: 50% !important;    /* Làm tròn */
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Làm to mũi tên */
#top-link i {
  font-size: 30px !important;       /* Tăng kích thước mũi tên */
  color: white !important;          /* Màu mũi tên */
}

.text.box_title {
	border-bottom: 1px solid #ddd;
}


/* Chi tiết sản phẩm*/
.sec_detail_product .button.primary.lowercase.expand{
	display: inline-flex;
  justify-content: center;
  align-items: center;
  height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  background-color: #60978a !important;
  color: #fff !important;
  font-weight: 600;
  border: 2px solid #60978a;
  cursor: pointer;
  text-transform: none;
  transition: all 0.3s ease-in-out;
}


.lightbox-inner {
  border-radius: 16px; /* hoặc 20px, tuỳ bạn */
  overflow: hidden;
}

.lightbox-content {
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Container form popup */
#form-mua-si-popup {
  border-radius: 12px;
  background-color: #ffffff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Tiêu đề */
#form-mua-si-popup h2 {
  font-size: 24px;
  color: #333;
  margin-bottom: 20px;
  text-transform: uppercase;
}

/* Khoảng cách các input */
.wpcf7-form p {
  margin-bottom: 16px;
}

/* Input, textarea */
.wpcf7-form input[type="text"],
.wpcf7-form input[type="tel"],
.wpcf7-form input[type="email"],
.wpcf7-form textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 15px;
  background-color: #f9f9f9;
  transition: border 0.3s ease, background-color 0.3s ease;
}

.wpcf7-form input:focus,
.wpcf7-form textarea:focus {
  border-color: #60978a;
  background-color: #fff;
  outline: none;
}

/* Submit button */
.wpcf7-form .btn_send {
    display: flex;
  justify-content: center;
  align-items: center;
  height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  background-color: #60978a;
  color: #fff;
  font-weight: 600;
  border: none;
  cursor: pointer;
	margin: 0 !important;
	text-transform: none;
}



/* Hover effect */
.wpcf7-form .btn_send:hover {
    background-color: #ffffff;   /* nền trắng khi hover */
  color: #60978a;              /* chữ xanh nhạt */
  border: 2px solid #60978a;   /* viền xanh khi hover */
  box-shadow: none;
}

/* Spinner ẩn khi không cần */
.wpcf7-spinner {
  display: none;
}

.uppercase, h6, span.widget-title, th {
    letter-spacing: .05em;
    line-height: 1.05;
    text-transform: uppercase;
	text-align: center;
	color:  #60978a;
}

h1, h2, h3, h4, h5, h6 {
    color: #60978a;
    margin-bottom: .5em;
    margin-top: 0;
    text-rendering: optimizeSpeed;
    width: 100%;
}

.product-short-description {
  background: #fff; /* Hoặc màu bạn muốn */
  padding: 20px;
  border-radius: 10px; /* Bo tròn nhẹ */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); /* Đổ bóng */
  margin-top: 20px;
	margin-bottom: 20px;
}

.woocommerce-product-gallery .woocommerce-product-gallery__wrapper {
    background: #fff; /* Hoặc màu bạn muốn */
  padding: 20px;
  border-radius: 10px; /* Bo tròn nhẹ */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); /* Đổ bóng */
  margin-top: 20px;
	margin-bottom: 20px;
}

.tabbed-content .tab-panels {
    width: 100%;
	 background: #fff; /* Hoặc màu bạn muốn */
  	padding: 10px;
  	border-radius: 5px; /* Bo tròn nhẹ */
  	box-shadow: 0 4px 4px rgba(0, 0, 0, 0.15); /* Đổ bóng */
  	margin-top: 20px;
	margin-bottom: 20px;
}

.tabbed-content .nav{
	display: none;
}

#reviews {
    display: none;
}

.title-text{
	text-align: center;
    color: rgb(96, 151, 138);
	margin-bottom: 20px;
	border-bottom: 2px solid #ddd;
}



.primary.is-link, .primary.is-outline, .primary.is-underline {
	 font-weight: 700;
    font-style: normal;
    color: #8b8b8b;
    background-color: #fff;
    border: 1px solid #8b8b8b;
    border-radius: 20px;
    text-align: center;
    min-width: 120px;
    padding: 10px 6px;
    font-size: 14px;
    display: inline-block;
    margin: auto;
    transition: all 350ms;
    text-transform: uppercase;
    width: auto;
    cursor: pointer;
}


.primary.is-outline:hover{
	    background-color: #EFAB49;
    border-color: #EFAB49;
    color: #fff;
    box-shadow: none;
}

/* Nút gửi */
.wpcf7-form .wpcf7-submit {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  background-color: #60978a;
  color: #fff;
  font-weight: 600;
  border: none;
  cursor: pointer;
  margin: 0 auto; /* căn giữa */
  text-transform: none;
  transition: all 0.3s ease;
}

/* Hover */
.wpcf7-form .wpcf7-submit:hover {
  background-color: #ffffff;
  color: #60978a;
  border: 2px solid #60978a;
  box-shadow: none;
}

.comments-area{
	display: none;
}

.is-thin strong, .thin-font strong {
    font-weight: 700 !important;
	color: #60978a;
}

.content p{
	color: rgb(44, 44, 44)!important;
}
.content li{
	color: rgb(44, 44, 44)!important;
}

@media only screen and (max-width: 48em) {
    /*************** ADD MOBILE ONLY CSS HERE  ***************/
.sec_products .row-small > .col {
    flex: 1 1 calc(25% - 20px);
    max-width: calc(25% - 20px);
    padding: 10px;
    background-color: #fff;
    border-radius: 10px;
    transition: all .2s ease-in-out;
    box-sizing: border-box;
}
.sec_products .product_items.small-columns-2 > .col {
    width: 50% !important;
    padding-left: 0.5em;
    padding-right: 0.5em;
  }
	
.text-center .button:last-of-type, .text-right .button:last-of-type {
    margin-right: 0 !important;
    margin-top: 3rem;
	font-size: 16px;
}
.section.sec_export .col.medium-6 {
    width: 100% !important;
    float: none;
    display: block;
}

  /* Căn giữa nội dung ảnh và chữ */
.section.sec_export .col-inner.text-left,
.section.sec_export .col-inner.text-right {
    text-align: center;
    font-size: 0.95rem;
    line-height: 1.5;
    padding: 10px 15px;
}

  /* Giảm kích thước tiêu đề nhỏ */
.section.sec_export h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

  /* Ảnh sản phẩm không vượt quá khung */
.section.sec_export .img-inner img {
    width: 50%;
    height: auto;
    object-fit: cover;
    max-width: 400px;
    margin: 0 auto;
    display: block;
}
.circle, .circle img {
    border-radius: 999px !important;
    -o-object-fit: cover;
    object-fit: cover;
	background: #60978a;
}
.row_product_1 .row.align-middle{
		display: flex;
    flex-direction: column-reverse;
}
	
.wpcf7-form .wpcf7-submit {
    display: block;
    margin: 20px auto 0 auto; /* căn giữa */
    height: 48px;
    padding: 0 24px;
    border-radius: 999px;
    background-color: #60978a;
    color: #fff;
    font-weight: 600;
    border: none;
    cursor: pointer;
    text-transform: none;
    transition: all 0.3s ease;
}
#top-link {
    border: none !important;
    background-color: red !important;
    width: 50px !important;
    height: 50px !important;
    border-radius: 50% !important;
    align-items: center;
    justify-content: center;
}
	.section_export .row,
.section.box_footer .row,
.footer-wrapper .row {
    flex-direction: column !important;
    display: flex !important;
  }

  /* Căn giữa các cột (tuỳ chọn) */
.section_export .col,
.section.box_footer .col,
.footer-wrapper .col {
   width: 100% !important;
   max-width: 100% !important;
   text-align: center !important;
   margin-bottom: 20px;
}

  /* Căn giữa phần bản quyền nếu muốn */
.absolute-footer .footer-primary {
    text-align: center;
    width: 100%;
  }
.absolute-footer .copyright-footer {
    display: block;
    width: 100%;
  }
footer .img-inner {
  display: none;
}
	
	.section.sec_exports .col-inner.text-left,
.section.sec_exports .col-inner.text-right {
  text-align: center;
  font-size: 0.95rem;
  line-height: 1.5;
  padding: 10px 15px;
}

/* Giảm kích thước tiêu đề nhỏ */
.section.sec_exports h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

/* Ảnh sản phẩm không vượt quá khung */
.section.sec_exports .img-inner img {
  width: 50%;
  height: auto;
  object-fit: cover;
  max-width: 400px;
  margin: 0 auto;
  display: block;
}

.row_tieuden .row.align-middle,
.row_coffee .row.align-middle,
.row_cease .row.align-middle,
.row_star .row.align-middle {
  display: flex;
  flex-direction: column-reverse;
}
	
	.sec_detail_product.product-small .box-image img {
    max-width: 100px;
    height: auto;
  }
	#block_widget-2 .product-small .box-image {
    max-width: 130px;
  }
	.woocommerce-product-gallery .woocommerce-product-gallery__wrapper {
    padding: 10px;
    margin-top: 10px;
    margin-bottom: 10px;
  }

  .woocommerce-product-gallery .woocommerce-product-gallery__image {
    max-width: 250px;
    margin: 0 auto;
  }
.woocommerce-product-gallery .woocommerce-product-gallery__image img {
    width: 100%;
    height: auto;
    object-fit: contain;
  }

}