:root {
    --primary-color: #f24137;
    --white-color: #fff;
    --black-color: #000;
    --text-color: #333;
    --border-color: #e5e5e5;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-size: 62.5%;
}

body {
    font-size: 100%;
    font-family: Roboto;
    background-color: #f7f9fc;
}

/* header */
#header {
    background: var(--white-color);
    /* position: fixed;
    top: 10px;
    z-index: 1000; */
    width: 1180px;
}

.header {
    width: 100%;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: white;
}

.header__top {
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: white;

}
.product__main-info-breadcrumb {
	font-size: 1.2rem;
	font-weight: bold;
    background-color: #dce8ff;
    padding: 15px;
}
.product__main-info-breadcrumb a{
    margin-left: 150px;
    text-decoration: none;
}

.heade__top-left {
    padding-left: 0;

}

.heade__top-left span {
    font-size: 14px;
    color: var(--black-color);
}

.header__top-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.header__top-list {
    list-style: none;
    display: flex;
    align-items: center;
    margin: 0;
}

.header__top-item {}

.header__top-link {
    color: var(--black-color);
    text-decoration: none;
    font-size: 1.4rem;
    display: block;
    margin-left: 3.5rem;
    transition: 0.2s;
}

.header__top-link-name {
    color: var(--black-color);
    text-decoration: none;
    font-size: 1.4rem;
    display: block;
    transition: 0.2s;
}

.header__top-link:hover {
    opacity: 0.8;
    color: #0056b3;
    text-decoration: none;
}

.cart-dropdown {
    position: absolute;
    top: 30px;
    right: -20px;
    padding: 5px;
    width: 400px;
    background: #fff;
    border: 1px solid #ccc;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    opacity: 0;
    /* Ban đầu ẩn */
    transform: scale(0);
    /* Bắt đầu nhỏ từ tam giác */
    transform-origin: top right;
    /* Điểm mở rộng từ tam giác */
    transition: all 0.3s ease;
    /* Hiệu ứng mở rộng */
    z-index: 1000;
    pointer-events: none;
    /* Không nhận sự kiện khi ẩn */
}

.header__cart-wrapper:hover .cart-dropdown {
    opacity: 1;
    /* Hiển thị */
    transform: scale(1);
    /* Mở rộng hoàn toàn */
    pointer-events: auto;
    /* Kích hoạt sự kiện */
}


.cart-dropdown::before {
    content: '';
    position: absolute;
    top: -10px;
    right: 20px;
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 10px solid #fff;
    opacity: 0;
    /* Ban đầu ẩn */
    transform: scale(0);
    /* Ban đầu nhỏ */
    transition: all 0.3s ease;
    /* Hiệu ứng đồng bộ với popup */
}

.header__cart-wrapper:hover .cart-dropdown::before {
    opacity: 1;
    /* Hiển thị tam giác */

    transform: scale(1);
    /* Mở rộng tam giác */
}

.center-content {
    display: flex;
    flex-direction: column;
    /* Đặt hình ảnh và chữ theo chiều dọc */
    align-items: center;
    /* Căn giữa các phần tử theo chiều ngang */
    justify-content: center;
    /* Căn giữa các phần tử theo chiều dọc */

    text-align: center;
    /* Căn giữa chữ */
}


.center-content p {
    margin: 0;
    /* Đảm bảo không có khoảng cách thừa xung quanh chữ */
}


.cart-dropdown .cart-view-all {
    display: block;
    text-align: center;
    font-size: 16px;
    color: #007bff;
    text-decoration: none;
    font-weight: bold;
    padding: 10px 0;
    border-top: 1px solid #eaeaea;
    background-color: #f8f8f8;
}

.cart-dropdown .cart-view-all:hover {
    background-color: #eaeaea;
    color: #0056b3;
}

.cart-dropdown div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
    padding: 5px;
}

.cart-dropdown img {
    width: 50px;
    height: 50px;
    margin-right: 10px;
    object-fit: cover;
}

.cart-dropdown .item-info {
    flex-grow: 1;
    margin-right: 10px;
}

.cart-dropdown .item-info p {
    white-space: nowrap;
    font-size: 16px;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 150px;
    /* Giới hạn chiều rộng */
}

.cart-dropdown div:hover {
    background-color: #f8f8f8;
    /* Màu nền sáng hơn khi hover */
    cursor: pointer;
    border-radius: 4px;
    transition: background-color 0.2s ease;
    /* Hiệu ứng chuyển màu */
}

.cart-dropdown .item-price {
    white-space: nowrap;
    color: red;
    font-size: 16px;
}

.header__bottom {
    padding: 12px 0;
}

.header__logo {
    padding-left: 0;
}

.header__heading {}

.header__logo-link {}

.header__logo-img {}


.header__search {
    display: flex;
    align-items: center;

}


.header__search-select {
    height: 4rem;
    font-size: 1.4rem;
    font-weight: 500;
    outline: none;
    border: none;
    border-radius: 0.2rem 0 0 0.2rem;
    border-right: 1px solid var(--border-color);
    width: 10%;
    padding: 0 .6rem;
}

.header__search-select option {
    font-size: 1.4rem;
    display: inline-block;
    margin: 10px 12px;
}

.header__search-input {
    height: 4rem;
    width: 80%;
    font-size: 1.4rem;
    outline: none;
    border: none;
    padding: 0 12px;
}

.header__search-btn {
    width: 10%;
    height: 4rem;
    outline: none;
    border: none;
    border-radius: 0 2px 2px 0;
    font-size: 1.4rem;
    background: var(--white-color);
}

.header__search-icon-wrap {
    width: 90%;
    height: 3.4rem;
    background: #ef2317;
    border-radius: 2px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    margin-left: .2rem;
}

.header__search-icon {
    font-size: 1.4rem;
    color: var(--white-color);
}


.header__call {
    display: flex;
    align-items: center;
    padding-right: 0;
}

.header__call-icon-wrap {
    margin-right: 1rem;
}

.header__call-icon {
    font-size: 2.2rem;
    color: var(--white-color);
}

.header__call-info {}

.header__call-text {
    font-size: 13px;
    font-weight: 500;
    color: var(--white-color);
    margin-bottom: 1rem;
}

.header__call-number {
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--white-color);
}

.header__user-info {
    display: flex;
    /* Use flexbox layout */
    align-items: center;
    /* Center vertically */
    justify-content: center;
    /* Center horizontally */
    margin-left: 6rem;
    /* Optional: Adjust space from left */
}

.header__user-avatar {
    width: 2.5rem;
    /* Set a fixed width for avatar */
    height: 2.5rem;
    /* Set a fixed height for avatar */
    border-radius: 50%;
    /* Makes avatar circular */
    margin-right: 0.5rem;
    /* Space between avatar and name */
}

.header__user-name {
    font-size: 1.4rem;
    /* Set a font size for the user name */
    color: var(--white-color);
    /* Ensure the text color is white */
    max-width: 40px;
}

.header__cart {
    display: flex;
    /* Ensures the cart icon is a flex item */
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.header__cart-icon-wrap {
    position: relative;
}

.header__notice {
    display: block;
    width: 24px;
    height: 24px;
    position: absolute;
    top: -70%;
    right: -70%;
    background: #ef2317;
    color: var(--white-color);
    font-size: 1.4rem;
    border-radius: 50%;
    border: 2px solid #ef2317;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 400;
}

.header__nav-cart-icon {
    font-size: 2rem;
    color: #0e4999;
}


/*header navigation*/
.header__nav-wrap {
    height: 4.8rem;
    background: #ff5c00;
}

.header__nav-menu-wrap {
    height: 4.8rem;
    background: #ef2317;
    display: flex;
    align-items: center;
    border-top-left-radius: 2px;
    border-top-right-radius: 2px;
    /*margin-left: 1.5rem;
    margin-right: -1.5rem;
    padding-right: 0;*/
    cursor: pointer;
}

.header__nav-menu-icon {
    font-size: 1.6rem;
    color: var(--white-color);
    margin-right: 1.6rem;
    margin-left: 1.4rem;
}

.header__nav-menu-title {
    font-size: 1.6rem;
    font-weight: 500;
    color: var(--white-color);
}

.header__nav {
    height: 4.8rem;
}

.header__nav-list {
    list-style: none;
    display: flex;
    align-items: center;
    height: 100%;
}

.header__nav-item {}

.header__nav-link {
    color: var(--white-color);
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 500;
    display: block;
    padding-right: 3rem;
    transition: 0.2s;
}

.header__nav-link:hover {
    text-decoration: none;
    color: var(--white-color);
    opacity: 0.6;
}

/**/
/* end header */


/*footer*/
.footer__top {
    background: #efefef;
    padding: 1.6rem 0;
}

.footer__top-intro {}

.footer__top-intro-heading,
.footer__top-policy-heading,
.footer__top-contact-heading {
    font-size: 1.7rem;
    color: var(--text-color);
    padding: 1.2rem 0;
}

.footer__top-intro-content {
    font-size: 1.5rem;
}

.footer__top-policy-list {
    list-style: none;
    margin-bottom: 1rem;
}

.footer__top-policy-item {}

.footer__top-policy-link {
    font-size: 1.5rem;
    color: var(--text-color);
}

.footer__top-policy-link:hover {
    color: var(--text-color);
    opacity: 0.8;
    text-decoration: none;
}

.footer__top-contact-wrap {}

.footer__top-contact-heading {}

.footer__top-contact {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
}


.footer__top-contact-icon {
    margin-right: 2.6rem;
}

.footer__top-contact-img {}

.footer__top-contact-phone-wrap {}

.footer__top-contact-phone {
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--black-color);
    margin-bottom: 1rem;
}

.footer__top-contact-des {
    font-size: 1.3rem;
    color: var(--text-color);
}

.footer__top-contact-social-link {
    margin-right: 1rem;
}

.footer__bottom {
    height: 3.4rem;
    background: #666;
    text-align: center;
}

.footer__bottom-content {
    font-size: 1.4rem;
    color: var(--white-color);
    margin: 0 auto;
    line-height: 3.4rem;
}


@media (max-width:992px) {
    .header__top {
        display: none;
    }

    .header__nav-menu-wrap {
        display: none;
    }

    /*.header__search{
        display: none;
    }*/

    .header__call {
        display: none;
    }

    .header__search-select {
        display: none;
    }
}

@media (max-width:768px) {
    .hide-on-mobile {
        display: none;
    }

    .header__search {
        display: none;
    }

    .header__cart {
        display: none;
    }

    .header__nav {
        display: none;
    }

    .header__heading {
        text-align: center;
    }

    .header__logo-img {
        max-width: 10rem;
    }


}

@media (min-width:768px) {
    .header__logo-img {
        max-width: 100%;
    }
}

#myBtn-chat {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 30px;
    z-index: 100;
    font-size: 18px;
    border: none;
    outline: none;
    background-color: rgba(238, 0, 0, 0.5);
    color: white;
    cursor: pointer;
    padding: 15px;
    border-radius: 4px;

}

#myBtn-chat:hover {

    background-color: red;
}

#myBtn-scroll {
    height: 50px;
    display: none;
    position: fixed;
    bottom: 20px;
    right: 30px;
    z-index: 99;
    font-size: 20px;
    border: none;
    outline: none;
    background-color: blue;
    color: white;
    cursor: pointer;
    padding: 15px;
    border-radius: 4px;
}

#myBtn-scroll:hover {

    background-color: rgb(61, 78, 233);
}

.header__user-wrapper {
    position: relative;
    display: inline-block;
}

.user-dropdown {
    position: absolute;
    top: 120%;
    /* Adjust to position the dropdown below the avatar */
    right: 0;
    background: var(--white-color);
    border: 2px solid #007bff;
    /* Blue border */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 150px;
    opacity: 0;
    transform: scale(0);
    transform-origin: top right;
    transition: all 0.3s ease;
    pointer-events: none;
    z-index: 1000;
    border-radius: 4px;
    /* Optional: Rounded corners */
}

.header__user-wrapper:hover .user-dropdown {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
}

.user-dropdown-triangle {
    content: '';
    position: absolute;
    top: -10px;
    right: 60px;
    /* Align triangle with the dropdown */
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 10px solid #007bff;
    /* Blue border for triangle */
    z-index: 1001;
}

.user-dropdown-list {
    list-style: none;
    margin: 0;
    padding: 10px 0;
}

.user-dropdown-item {
    padding: 10px 15px;
    border-bottom: 1px solid var(--border-color);
    transition: background-color 0.2s ease;
}

.user-dropdown-item:last-child {
    border-bottom: none;
}

.user-dropdown-item a {
    text-decoration: none;
    font-size: 14px;
    color: var(--text-color);
}

.user-dropdown-item:hover {
    background-color: #f8f8f8;
    cursor: pointer;

}