.elementor-199 .elementor-element.elementor-element-37c6654{--display:flex;--flex-direction:row;--container-widget-width:initial;--container-widget-height:100%;--container-widget-flex-grow:1;--container-widget-align-self:stretch;--flex-wrap-mobile:wrap;}.elementor-199 .elementor-element.elementor-element-2ddecd5{--display:flex;}.elementor-199 .elementor-element.elementor-element-618694e{--display:flex;}.elementor-widget-loop-grid .elementor-button{background-color:var( --e-global-color-accent );font-family:var( --e-global-typography-accent-font-family ), Sans-serif;font-weight:var( --e-global-typography-accent-font-weight );}.elementor-widget-loop-grid .elementor-pagination{font-family:var( --e-global-typography-secondary-font-family ), Sans-serif;font-weight:var( --e-global-typography-secondary-font-weight );}.elementor-widget-loop-grid .e-load-more-message{font-family:var( --e-global-typography-secondary-font-family ), Sans-serif;font-weight:var( --e-global-typography-secondary-font-weight );}.elementor-199 .elementor-element.elementor-element-04ab3bd{--grid-columns:3;}.elementor-199 .elementor-element.elementor-element-c99bf27{--display:flex;}@media(min-width:768px){.elementor-199 .elementor-element.elementor-element-2ddecd5{--width:20%;}.elementor-199 .elementor-element.elementor-element-618694e{--width:80%;}}@media(max-width:1024px){.elementor-199 .elementor-element.elementor-element-04ab3bd{--grid-columns:2;}}@media(max-width:767px){.elementor-199 .elementor-element.elementor-element-04ab3bd{--grid-columns:1;}}/* Start custom CSS for wp-widget-woocommerce_product_categories, class: .elementor-element-5000555 *//* ==========================================
   TỐI ƯU MENU DANH MỤC SẢN PHẨM (SIDEBAR)
   ========================================== */

/* 1. Đóng khung toàn bộ Widget Danh mục cho gọn gàng */
.elementor-199 .elementor-element.elementor-element-5000555 {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03); /* Đổ bóng siêu nhẹ */
}

/* 2. Tối ưu tiêu đề Widget (Chữ "Danh mục sản phẩm") */
.elementor-199 .elementor-element.elementor-element-5000555 .elementor-widget-title {
    font-size: 18px !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    color: #1e293b !important;
    border-bottom: 2px solid #22c55e; /* Đường gạch chân màu xanh lá */
    padding-bottom: 12px !important;
    margin-bottom: 15px !important;
    display: inline-block;
}

/* 3. Tối ưu danh sách danh mục (Xóa dấu chấm mặc định) */
.elementor-199 .elementor-element.elementor-element-5000555 ul.product-categories {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* 4. Định dạng từng dòng danh mục */
.elementor-199 .elementor-element.elementor-element-5000555 ul.product-categories li {
    border-bottom: 1px dashed #cbd5e1; /* Viền đứt nét ngăn cách */
    padding: 12px 0 !important;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

/* Xóa viền của dòng cuối cùng cho đẹp */
.elementor-199 .elementor-element.elementor-element-5000555 ul.product-categories li:last-child {
    border-bottom: none;
    padding-bottom: 0 !important;
}

/* 5. Định dạng tên danh mục */
.elementor-199 .elementor-element.elementor-element-5000555 ul.product-categories li a {
    color: #475569 !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    display: flex;
    align-items: center;
    flex-grow: 1;
}

/* Tự động thêm mũi tên trước tên danh mục */
.elementor-199 .elementor-element.elementor-element-5000555 ul.product-categories li a::before {
    content: "›"; /* Icon mũi tên */
    font-size: 22px;
    line-height: 1;
    color: #22c55e; /* Mũi tên màu xanh lá */
    margin-right: 10px;
    margin-bottom: 2px;
    transition: all 0.3s ease;
}

/* 6. Hiệu ứng Hover (Khi khách hàng rê chuột vào) */
.elementor-199 .elementor-element.elementor-element-5000555 ul.product-categories li:hover a {
    color: #22c55e !important; /* Chữ đổi màu xanh */
    transform: translateX(6px); /* Trượt nhẹ sang phải */
}

/* 7. Định dạng phần Số lượng sản phẩm (Biến thành Badge) */
.elementor-199 .elementor-element.elementor-element-5000555 ul.product-categories li .count {
    background-color: #f1f5f9;
    color: #64748b;
    font-size: 12px !important;
    padding: 3px 10px !important;
    border-radius: 20px;
    font-weight: 600;
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

/* Đổi màu tem số lượng khi rê chuột vào dòng đó */
.elementor-199 .elementor-element.elementor-element-5000555 ul.product-categories li:hover .count {
    background-color: #22c55e;
    color: #ffffff;
}

/* ==========================================
   TỐI ƯU MENU CON (Sub-categories)
   ========================================== */
/* Thụt lề cho các danh mục cấp 2 nếu có */
.elementor-199 .elementor-element.elementor-element-5000555 ul.product-categories ul.children {
    margin-left: 15px !important;
    margin-top: 10px !important;
    border-left: 2px solid #e2e8f0;
    padding-left: 15px !important;
}/* End custom CSS */
/* Start custom CSS for loop-grid, class: .elementor-element-04ab3bd *//* =========================
   LOOP GRID SHOP PRODUCT
   ========================= */

/* Card sản phẩm */
.woocommerce ul.products li.product,
.elementor-loop-container .e-loop-item {
    height: 100%;
}

/* Container bên trong card */
.woocommerce ul.products li.product .product-inner,
.elementor-loop-container .e-loop-item > div {
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Ảnh sản phẩm */
.woocommerce ul.products li.product img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    margin-bottom: 15px;
}

/* Đánh giá sao */
.woocommerce ul.products li.product .star-rating {
    min-height: 24px;
    margin-bottom: 10px;
}

/* Tiêu đề sản phẩm */
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.elementor-widget-woocommerce-product-title {
    min-height: 95px;
    line-height: 1.4;
    overflow: hidden;

    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

/* Giá */
.woocommerce ul.products li.product .price {
    min-height: 70px;
    display: flex;
    align-items: flex-end;
    margin-bottom: 20px;
}

/* Khu vực cart */
.woocommerce ul.products li.product .cart,
.woocommerce ul.products li.product form.cart {
    margin-top: auto;
    min-height: 70px;

    display: flex;
    align-items: center;
    gap: 15px;
}

/* Ô số lượng */
.woocommerce ul.products li.product .quantity {
    flex: 0 0 90px;
}

.woocommerce ul.products li.product .qty {
    width: 100%;
    height: 56px;
    text-align: center;
}

/* Nút thêm giỏ hàng */
.woocommerce ul.products li.product .button,
.woocommerce ul.products li.product .add_to_cart_button,
.woocommerce ul.products li.product .single_add_to_cart_button {
    height: 56px;
    min-width: 180px;

    display: flex;
    align-items: center;
    justify-content: center;
}

/* Đồng đều khoảng cách các phần tử */
.woocommerce ul.products li.product > * {
    margin-bottom: 12px;
}

/* Bỏ khoảng cách cuối */
.woocommerce ul.products li.product > *:last-child {
    margin-bottom: 0;
}

/* Card đẹp hơn */
.woocommerce ul.products li.product {
    border: 1px solid #dff5df;
    border-radius: 12px;
    padding: 20px;
    background: #fff;
    display: flex;
    flex-direction: column;
}

/* Hover */
.woocommerce ul.products li.product:hover {
    transform: translateY(-3px);
    transition: all .25s ease;
}

/* Mobile */
@media (max-width: 767px){

    .woocommerce ul.products li.product .woocommerce-loop-product__title{
        min-height: 75px;
    }

    .woocommerce ul.products li.product .cart,
    .woocommerce ul.products li.product form.cart{
        flex-direction: column;
        align-items: stretch;
    }

    .woocommerce ul.products li.product .quantity{
        width:100%;
        flex:auto;
    }

    .woocommerce ul.products li.product .button,
    .woocommerce ul.products li.product .add_to_cart_button{
        width:100%;
        min-width:unset;
    }
}/* End custom CSS */