/*
Theme Name: BLTK Child
Theme URI: https://www.portotheme.com/wordpress/porto
Author: P-THEMES
Author URI: https://www.portotheme.com/
Description: Porto Responsive WordPress + eCommerce Theme.
Version: 1.1
Template: porto
License: Commercial
License URI: http://themeforest.net/licenses/regular_extended
Tags: woocommerce, corporate, ecommerce, responsive, blue, black, green, white, light, dark, red, two-columns, three-columns, four-columns, left-sidebar, right-sidebar, fixed-layout, responsive-layout, custom-menu, editor-style, featured-images, flexible-header, full-width-template, microformats, post-formats, rtl-language-support, sticky-post, theme-options, translation-ready, accessibility-ready
*/

/* Giá sản phẩm */
.product-info-box .price {
  margin: 10px 0;
}
.product-info-box .price del {
  color: #000;
  font-size: 14px;
  margin-right: 8px;
}
.product-info-box .price ins {
  color: #d00;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
}

/* Form số lượng + nút giỏ hàng */
.product-info-box form.cart {
  display: flex;
  align-items: center;
  gap: 12px; /* khoảng cách giữa qty và nút */
  margin: 15px 0;
}

/* Ô số lượng */
.product-info-box .quantity {
  display: flex;
  align-items: center;
}
.product-info-box .quantity input {
  width: 50px;
  text-align: center;
}

/* Nút giỏ hàng */
.product-info-box button.single_add_to_cart_button {
  background: #d00;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 5px;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap; /* tránh bị xuống dòng */
}
.product-info-box button.single_add_to_cart_button:hover {
  background: #a00;
}

.filter-item-list, .single-product form.cart:not(.variations_form), .single_variation_wrap .variations_button {
	flex-wrap: unset !important;
}
.product-layout-centered_vertical_zoom .entry-summary .quantity {
	margin-bottom: unset !important;
	flex-basis: unset !important;
}
.product-info-box button.single_add_to_cart_button{
	padding: 0px 20px !important;
}

.product-layout-centered_vertical_zoom .entry-summary .quantity:before {
    content: 'SL:' !important;
}

/* ==== THÔNG SỐ KĨ THUẬT ==== */

.section-title-single {
  display: flex;
  align-items: center;
  font-size: 18px;
  font-weight: bold;
  margin: 20px 0 15px;
  position: relative;
}

.section-title-single b {
  width: 8px;
  height: 20px;
  background: #e74c3c; /* màu đỏ thanh */
  margin-right: 8px;
  display: inline-block;
  border-radius: 2px;
}

.section-tt-single {
  font-size: 16px;
  text-transform: uppercase;
  color: #333;
}

/* Hàng thông số */
.row-list {
  display: flex;
  border-bottom: 1px solid #eee;
}

.row-list:nth-child(even) {
  background: #f9f9f9; /* màu nền xen kẽ */
}

.row-list .ctLeft {
  flex: 0 0 35%;
  max-width: 35%;
  padding: 10px;
  background: #f5f5f5;
  font-weight: 600;
  color: #333;
  border-right: 1px solid #eee;
}

.row-list .ctRight {
  flex: 0 0 65%;
  max-width: 65%;
  padding: 10px;
  color: #555;
}

.row-list p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
}


/*************** ADD YOUR CUSTOM CSS HERE  ***************/

        .title-brand-cate {
            text-align: left;
            margin-left: 10px;
            margin-bottom: 20px;
            font-size: 1.2em;
            color: #333;
        }
        .wrap-cate-brand {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 20px;
            padding-bottom: 20px;
        }
        .col-img-cate {
            flex: 1 1 calc(25% - 40px); /* Adjust the size of each column */
            max-width: calc(25% - 40px);
            box-sizing: border-box;
        }
        .box-cate-brand {
            display: flex;
            justify-content: center;
            align-items: center;
            padding: 10px;
            /*border: 1px solid #ddd;*/
            border-radius: 8px;
            background-color: #fff;
            /*box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);*/
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }
        .box-cate-brand:hover {
            transform: translateY(-5px);
            /*box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);*/
        }
        .box-cate-brand a {
            display: flex;
            justify-content: center;
            align-items: center;
            width: 100%;
            height: 100%;
        }
        .box-cate-brand img {
            max-width: 80%;
            max-height: 80px;
            height: auto;
            display: block;
        }
        @media (max-width: 768px) {
            .col-img-cate {
                flex: 1 1 calc(50% - 20px); /* For tablets */
                max-width: calc(50% - 20px);
            }
        }
        @media (max-width: 480px) {
            .col-img-cate {
                flex: 1 1 100%; /* For mobile phones */
                max-width: 100%;
            }
        }

.woocommerce-products-header__title {
	text-align: center;
	display: none;
}


.price-product-single-page b{
	margin-right: 10px;
	color: #ed462f;
}

/* css hover detail */

/* Original inline tooltip kept hidden */
.ftechx-tooltip-content {
  display: none;
}

/* Floating clone appended to body */
.ftechx-floating-tooltip {
  position: fixed !important;
  z-index: 2147483647 !important; /* maximum safe z-index */
  display: none;
  background: #fff;
  color: #000;
  font-size: 13px;
  width: 300px;
  max-width: calc(100vw - 40px);
  padding: 10px;
  border-radius: 6px;
  box-shadow: 0 6px 22px rgba(0,0,0,0.35);
  pointer-events: none; /* avoid interfering with hover of product */
}

/* style inside floating */
.ftechx-floating-tooltip .ftechx-tooltip-title {
  background: #c00;
  color: #fff;
  padding: 6px 8px;
  border-radius: 4px;
  display: block;
  margin-bottom: 6px;
}

/* hide on mobile */
@media (max-width: 767px) {
  .ftechx-tooltip-content,
  .ftechx-floating-tooltip {
    display: none !important;
  }
}



