/*
Theme Name: Shoptimizer Child Theme
Theme URI: 
Description: Child theme of Shoptimizer
Author: CommerceGurus
Author URI: 
Template: shoptimizer
Version: 1.2.2
License:         	GNU General Public License v2 or later
License URI:     	http://www.gnu.org/licenses/gpl-2.0.html
*/
.css-1edaj3n {
    background-color: #F6F3EA;
    line-height: 21px;
    max-width: 124px;
    min-width: 124px;
    padding: 8px;
}
.css-1roy4rc {
    border-bottom: 1px solid var(--gray-500);
    color: var(--gray-800);
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
}
.css-r3jm6z {
    -webkit-align-self: flex-start;
    -ms-flex-item-align: flex-start;
    align-self: flex-start;
    border: 1px solid var(--gray-500);
    font-size: var(--font-size-body-md);
    overflow: hidden;
    margin: 16px 0 0;
}
.css-1bkj363 {
    color: var(--gray-800);
    font-size: var(--font-size-body-md);
    margin: 0px;
}
.origin-info {
    font-size: 15px;
    color: #333;
    border-bottom: 1px solid #eee;
    padding-bottom: 5px;
    display: inline-block;
}
.origin-info strong {
    color: #000;
    margin-right: 5px;
}
/* Căn giữa SVG và chữ trong nút Add to cart */
.single_add_to_cart_button.button, 
.add_to_cart_button.button {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    line-height: 1; /* Giúp căn giữa tốt hơn */
}

/* Tùy chỉnh màu sắc SVG nếu cần (thay 'white' bằng mã màu bạn muốn) */
.single_add_to_cart_button.button svg {
    stroke: white; 
    flex-shrink: 0;
}
/* Container chính */
.bol-tooltip-wrapper {
    display: inline-flex;
    position: relative;
    vertical-align: middle;
    margin-left: 10px;
    cursor: help; /* Con trỏ chuột dạng hỏi chấm */
}

/* Header (Phần chữ và checkbox) */
.bol-tooltip-header {
    display: flex;
    align-items: center;
    background: #f0f7ff;
    padding: 4px 10px;
    border-radius: 4px;
    border: 1px solid #d0e3ff;
}

.bol-tooltip-header i {
    font-size: 14px;
    margin-left: 6px;
    color: #37f;
}

/* Khung Tooltip mặc định ẩn */
.bol-tooltip-content {
    visibility: hidden;
    position: absolute;
    bottom: 125%; /* Hiển thị phía trên */
    left: 50%;
    transform: translateX(-50%);
    width: 250px;
    background-color: #333; /* Màu nền tối sang trọng */
    color: #fff;
    text-align: left;
    border-radius: 8px;
    padding: 12px;
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s, visibility 0.3s;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

/* Mũi tên chỉ xuống của Tooltip */
.bol-tooltip-content::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #333 transparent transparent transparent;
}

/* Khi di chuột qua (Hover) */
.bol-tooltip-wrapper:hover .bol-tooltip-content {
    visibility: visible;
    opacity: 1;
}

/* Nội dung bên trong Tooltip */
.tooltip-inner strong {
    display: block;
    font-size: 13px;
    margin-bottom: 5px;
    color: #37f; /* Tiêu đề màu xanh cho nổi bật */
}

.tooltip-inner p {
    font-size: 11px;
    margin: 0;
    line-height: 1.4;
    color: #eee;
}

.tooltip-inner a {
    display: inline-block;
    margin-top: 8px;
    font-size: 10px;
    color: #37f !important;
    text-decoration: underline;
}

/* Mobile: Trên điện thoại thường dùng click thay vì hover */
@media (max-width: 767px) {
    .bol-tooltip-content {
        left: 0;
        transform: none;
        width: 200px;
    }
}
