﻿
/* TÙY CHỈNH TOOLTIP JQUERY UI */
.ui-tooltip {
    background-color: #b0b435 !important;
    color: #ffffff !important;
    border: none !important;
    padding: 6px 12px !important;
    border-radius: 4px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2) !important;
}

.ui-helper-hidden-accessible {
    display: none !important;
}

/* Ẩn mũi tên tăng giảm mặc định của input type="number" */
.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.qty-input {
    -moz-appearance: textfield;
    font-weight: bold;
}

/* Nút bấm tăng giảm số lượng */
.btn-qty {
    background-color: #b0b435;
    color: #ffffff;
    border: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

    .btn-qty:hover {
        background-color: #b0b435 !important; 
        color: #b0b435 !important;
    }

/* Hiệu ứng tên sản phẩm và ảnh */
.product-name-link {
    font-weight: bold;
    color: #000;
    transition: color 0.3s ease;
    text-decoration: none;
}

    .product-name-link:hover {
        color: #b0b435 !important;
    }

.thumbnail-img img {
    transition: transform 0.3s ease;
}

.thumbnail-img a:hover img {
    transform: scale(1.05);
}

/* =========================================
   CÁC CLASS MỚI ĐỂ XÓA INLINE STYLE
========================================= */
.cart-checkbox {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.cart-img-thumb {
    max-width: 80px;
}

.cart-variant-text {
    margin: 5px 0 0 0;
    font-size: 14px;
    color: #b0b435;
    font-weight: 600;
}

.quantity-wrapper {
    position: relative;
}

.qty-input-group {
    width: 130px;
}

.qty-warning {
    display: none;
    margin-top: 5px;
}

/* Nút Xóa (thay thế cho onmouseover) */
.btn-remove-cart {
    font-size: 22px;
    color: black;
    transition: color 0.3s;
    text-decoration: none;
}

    .btn-remove-cart:hover {
        color: red !important;
    }

/* Nút có chữ trắng */
.text-white-btn {
    color: white !important;
}
