.cart-quantity {
    display: flex;
    align-items: center;
    justify-content: center;
}

.quantity-control {
    display: inline-block;
    width: 30px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    background-color: #f5f5f5;
    border: 1px solid #ddd;
    cursor: pointer;
    text-decoration: none;
    color: #333;
    font-size: 16px;
}

.quantity-control:hover {
    background-color: #ddd;
}
.quantity-control:visited{
    color: #333;
}

.quantity-number {
    margin: 0 10px;
    font-size: 16px;
    width: 30px;
    text-align: center;
}

.cart_close{
    color: #333 !important;
    font-weight: bold !important;
    font-size: 24px;
}

@media (max-width: 991px) {
    .header__top__right__language:after {
        content: none;
    }
}
.table-custom th, .table-custom td{
    padding: 10px;
    border: 2px solid #f5f5f5;
}
.btn-main{
    background-color: #31363F !important;
    color: white;
}
.btn-main:hover{
    color: white !important;
    background-color: #31363F !important;
}
@media (max-width: 768px) {
    .text-center-res{
        text-align: center !important;
    }
}
/* --------------------------------- AVATAR --------------------------------- */
.avatar-xl {
    width: 100px;
    height: 100px;
    position: relative;
    display: inline-block;
}

.overlay-upload {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    font-weight: bold;
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 50%;
    cursor: pointer;
}

.avatar-xl:hover .overlay-upload {
    opacity: 1;
}
.blog-details-custom{
    line-height: 30px;
}
.blog-details-custom img{
    width: 100%;
    margin: 5px 0px;
}
.blog-details-custom li {
    padding-left: 5px;
    margin-left: 20px;
}
/* ----------------------------- PRODUCT DETAIL ----------------------------- */
.color-option, .size-option {
    cursor: pointer;
    text-align: center;
    border: 1px solid #ddd;
    background-color: white; /* Mặc định nền trắng */
    color: black; /* Mặc định chữ đen */
    transition: all 0.2s ease-in-out;
}

.color-option:hover, .size-option:hover {
    opacity: 0.8;
}
.active-color-size {
    border: 2px solid #31363f; 
    background-color: #31363f; 
    color: white;
}
/* -------------------------------- a custom -------------------------------- */
a.not-pro-cart:hover{
    transition: 0.2s ease-in;
    text-decoration: underline;
}
/* -------------------------------- a custom -------------------------------- */
/* --------------------------- admin.product.index -------------------------- */
.custom-image-wrapper {
    position: relative;
    display: inline-block;
}

.custom-rounded-image {
    display: block; /* Đảm bảo hình ảnh không có khoảng trống */
    border-radius: 8px; /* Hoặc bạn có thể dùng class rounded nếu đã có */
}

.custom-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5); /* Màu nền đen với độ trong suốt */
    opacity: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.3s ease; /* Hiệu ứng chuyển tiếp */
}

.custom-image-wrapper:hover .custom-overlay {
    opacity: 1; /* Hiện màn phủ khi hover */
}

.custom-icon-image {
    color: white; /* Màu của icon */
    font-size: 24px; /* Kích thước icon */
}
/* --------------------------- admin.product.index -------------------------- */
.product__discount__percent {
    height: 45px;
    width: 45px;
    background: #dd2222;
    border-radius: 50%;
    font-size: 14px;
    color: white;
    line-height: 45px;
    text-align: center;
    position: absolute;
    left: 15px;
    top: 15px;
}
.product__item__price {
    font-size: 18px;
    color: #1c1c1c;
    font-weight: 700;

}
.product__item__price span {
    display: inline-block;
    font-weight: 400;
    text-decoration: line-through;
    margin-left: 10px;
}
.text-discount{
    color: gray !important;
    font-size: 14px !important;
    font-weight: normal;
}
.method-pay label{
    cursor: pointer;
}