﻿body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    color: #646464;
}

a {
    color: #0088cc !important;
    text-decoration: none;
    cursor: pointer;
}

/* Dropdown hover container */
.dropdown-hover:hover .dropdown-menu-custom {
    display: block;
}

/* Menu dropdown ẩn mặc định */
.dropdown-menu-custom {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 180px;
    background-color: #000;
    border: 1px solid #444;
    z-index: 999;
    padding: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.5s ease;
}

/* Item trong dropdown */
.dropdown-item-custom {
    display: block;
    padding: 10px 15px;
    color: #fff;
    text-decoration: none;
    white-space: nowrap;
}

/* Hover từng item */
.dropdown-item-custom:hover {
    background-color: #222;
}

/* Khi hover thì hiện dropdown */
.dropdown-hover:hover .dropdown-menu-custom {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.cursor-pointer{
    cursor: pointer;
}




.user-dropdown-menu {
    min-width: 150px;
    z-index: 1050;
    display: none;
    min-width: 160px;
}


.user-dropdown:hover .user-dropdown-menu
{
    display: block;
}

.user-icon {
    cursor: pointer;
}


.user-dropdown-bridge {
    position: absolute;
    top: 20px;
    right: 0;
    width: 100%;
    height: 30px;
    z-index: 1049;
    background: transparent;
    pointer-events: auto;
}


.user-dropdown-menu a:hover {
        background: #000;
        text-decoration: none;
        color: #fff !important;
}



/*CSS FOOTER*/
.title_footer {
    color: #fff;
    margin-bottom: 20px;
    font-size: 22px;
    font-weight: 400;
}

.list_infor_footer li {
    border-bottom: 1px solid #393c3d;
    padding: 7px 0;
}

.list_atag_infor_footer {
    color: #959595 !important;
    margin: 7px 0;
}

.list_infor_footer li:hover .list_atag_infor_footer{
    color: #0088cc !important;
}

.footer-table {
    border-collapse: separate;
    border-spacing: 0;
    width: 100%;
}

    .footer-table td {
        border: 2px solid #fff;
        padding: 8px;
        background: #111;
        text-align: center;
        vertical-align: middle;
    }

    .footer-table img {
        max-width: 90px;
        max-height: 38px;
        object-fit: contain;
    }

@media (max-width: 576px) {
    .footer-table img {
        max-width: 60px;
        max-height: 28px;
    }
}

.title_bottom_footer{
    color: #666;
    font-size:16px;
}


.address_footer {
    padding: 7px 0;
    border-bottom: 1px solid #393c3d;
    color: #959595;
}


.email_bottom:hover {
    color:  #0088cc;
}


.btn:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem !important;
}


/*CSS cho các nút biến thể sản phẩm */
.option-btn {
    border-width: 2px; 
}

    .option-btn.active {      
        background-color: #343a40 !important; 
        border-color: #343a40 !important; 
        color: white !important; 
    }



/* === NÚT GO TO TOP - PHIÊN BẢN NÂNG CẤP === */

#goToTopBtn {
    /* Vị trí */
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 1000; 
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #007bff;
    color: white;
    font-size: 24px;
    font-weight: bold;
    text-align: center;
    line-height: 48px; 
    border: none;
    outline: none;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); 

    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all 0.3s ease-in-out;
}


    #goToTopBtn.show {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }


    #goToTopBtn:hover {
        background-color: #0056b3;
        transform: scale(1.1); 
        box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2); 
    }


    #goToTopBtn:active {
        transform: scale(0.95);
    }