body {
    font-family: 'Helvetica Neue';
}

.bag-icon:hover img {
    content: url('../image/bag-hover.svg');
}

.search-icon:hover img {
    content: url('../image/searchbar-hover.svg');
}

.top-bar {
    background-color: #0C4242;
    z-index: 1051;
    position: relative;
    padding: 18px 30px;
    height: 100%;
    max-height: 60px;
}

.top-bar-mobile {
    background-color: #0C4242;
    z-index: 1051;
    position: relative;
    padding: 9px 30px;
    height: 100%;
    max-height: 40px;
}

.topbar-text,
.phone-number {
    font-family: 'Helvetica Neue';
    font-weight: 500;
    font-size: 12px;
    line-height: 20px;
    letter-spacing: 1px;
}

.topbar-text-mobile {
    font-family: 'Helvetica Neue light';
    font-weight: 300;
    font-size: 12px;
    line-height: 20px;
    text-align: center;
    color: #ffffff;
}

.lang-flag {
    width: 18px;
    margin-top: -5px;
}

.lang-flag-mobile {
    width: 30px;
}

.phone-number {
    font-size: 0.875rem;
}

.translate {
    font-family: 'Helvetica Neue';
    font-size: 16px;
    line-height: 20px;
    font-weight: 700;
}


.lang-switcher {
    font-size: 0.875rem;
    padding: 0.3rem 1rem;
    font-weight: 500;
}

.headerlist {
    gap: 40px;
}

.nav-link {
    font-size: 20px;
    font-family: 'Helvetica Neue Medium';
    color: #7F7F7F;
    font-weight: 500;
    line-height: 26px;
    text-decoration: none;
    position: relative;
    padding: 0px !important;
}

.dropdown .dropdown-menu-end {
    transform: translate(-15px, 35px) !important;
}

.dropdown {
    position: relative;
}

.dropdown::before {
    content: "";
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 20px;
    background: transparent;
    z-index: 1;
}

.dropdown .dropdown-menu {
    display: none;
    opacity: 0;
    visibility: hidden;
    position: absolute;
    top: -20px;
    left: 0;
    z-index: 1000;
    transition: opacity 0.3s ease;
}

.dropdown:hover .dropdown-menu {
    display: block;
    min-width: 240px;
    opacity: 1;
    visibility: visible;
    background-color: #EFF6F4;
    box-shadow: 0px 10px 10px rgba(0, 0, 0, 0.1);
    border-top-right-radius: 0px;
    border-top-left-radius: 0px;
    border-bottom-right-radius: 20px;
    border-bottom-left-radius: 20px;
    border: none;
}

.nav-link::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: #AFBEBB;
    transition: width 0.4s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover,
.nav-link:focus {
    color: #0C4242 !important;
}

.nav-link:hover,
.nav-link.active {
    color: #0C4242;
}

.svg-icon {
    color: #7F7F7F;
}

.book-btn {
    background-color: #0C4242;
    font-family: 'Helvetica Neue';
    font-size: 16px;
    font-weight: 700;
    line-height: 20px;
    color: white;
    text-decoration: none;
    padding: 15px 30px;
}

.book-btn:hover {

    color: white;
}

.shadow-sm {
    box-shadow: none !important;
}

/* dropdown menu submenu */
.mega-dropdown {
    width: 240px;
    background-color: #EFF6F4;
    box-shadow: 0 4px 20px rgba(0, 10, 10, 0.1);
    border-bottom-right-radius: 20px;
    border-bottom-left-radius: 20px;
    transform: translate(-5px, 53px) !important;
    padding: 15px 25px 25px 25px;
}

.submenu-column {
    display: flex;
    flex-direction: column;
}

.dropdown-subitem {
    font-family: 'Helvetica Neue', sans-serif;
    font-size: 20px;
    font-weight: 400;
    line-height: 26px;
    padding: 13px 0;
    color: #7F7F7F;
    border-bottom: 1px solid #AFBEBB;
    text-decoration: none;
}

.dropdown-subitem:hover {
    color: #0C4242;
    border-bottom: 1px solid #0C4242;
}

/* end */
/* font chữ */
.font-Playfair-Display {
    font-family: 'Playfair Display', serif;
}

.font-helvetica-regular {
    font-family: 'Helvetica Neue', sans-serif;
    font-weight: 400;
}

.font-helvetica-light {
    font-family: 'Helvetica Neue Light', sans-serif;
    font-weight: 300;
}

.font-helvetica-bold {
    font-family: 'Helvetica Neue Bold', sans-serif;
    font-weight: 500;
}

.font-helvetica-italic {
    font-family: 'Helvetica Neue Italic', sans-serif;
    font-weight: normal;
}

.font-helvetica-medium {
    font-family: 'Helvetica Neue Medium', sans-serif;
    font-weight: 500;
}

.navbar-toggler {
    margin-left: auto;
    padding-right: 0;
}

.navbar-logo {
    width: 204px;
    height: 42px;
}

.navbar-toggler-icon {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 32px;
    height: 21px;
}

.navbar-toggler-icon span {
    height: 3px;
    background-color: #888;
    border-radius: 2px;
}

/* Thanh trên và thanh dưới có chiều dài bằng nhau */
.navbar-toggler-icon span:first-child,
.navbar-toggler-icon span:last-child {
    width: 32px;
}



.navbar-toggler {
    display: block;
    margin: 0 !important;
    padding-left: 0 !important;
    margin-right: 14px !important;
    padding-right: 1rem !important;
}

/* mobile sub menu */
.mobile-menu {
    position: fixed;
    top: 126px;
    /* nằm dưới header */
    left: -100%;
    width: 50%;
    max-width: 240px;
    height: auto;
    background: #f2f7f5;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1050;
    transition: left 0.3s ease;
    padding: 20px;
    padding-bottom: 0;
    overflow-y: auto;
    border-bottom-right-radius: 20px;
    border-bottom-left-radius: 20px;
}


.mobile-menu.show {
    left: 0;
}

.mobile-nav {
    list-style: none;
    padding-left: 0;
    font-family: 'Helvetica Neue', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 26px;
}

.mobile-nav li {
    margin-bottom: 13px;
    border-bottom: 1px solid #AFBEBB;
}

.mobile-nav a {
    color: #7F7F7F;
    padding-bottom: 13px;
    text-decoration: none;
    display: block;
}

.submenu {
    display: none;
    padding-left: 26px;
}

.submenu li {
    color: #7F7F7F;
    border-bottom: none;
    list-style-type: disc;
}

.has-submenu.open .submenu {
    display: block;
}

.has-submenu .arrow {
    float: right;
    transition: transform 0.3s ease;

    width: 6px;
}

.has-submenu.open .arrow {
    transform: rotate(0deg);
    filter: brightness(0) saturate(100%) invert(24%) sepia(24%) saturate(340%) hue-rotate(129deg) brightness(93%) contrast(95%);
}

.has-submenu>a {
    align-items: center;
    transition: color 0.3s ease;
}

.has-submenu.open>.submenu-header>.submenu-link {
    color: #0C4242;
    padding-bottom: 0px;
}

.mobile-nav li.has-submenu.open {
    border-bottom: 1px solid #0C4242;
}

.submenu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.submenu-header .arrow-toggle {
    flex: auto;
    text-align: center;
    cursor: pointer;
}

/* bag */

.icon-btn {
    position: relative;
    display: inline-block;
}

.cart-count-badge {
    position: absolute;
    bottom: -4px;
    right: -8px;
    background-color: red;
    color: white;
    font-size: 12px;
    font-weight: bold;
    padding: 1px 2px;
    border-radius: 999px;
    min-width: 20px;
    height: 20px;
    line-height: 14px;
    display: flex;
    justify-content: center;
    align-items: center;
    white-space: nowrap;
    box-sizing: border-box;
}


@media (min-width: 1920px) {
    .header-block {
        display: flex;
        flex-direction: column;
        align-items: center;
        max-width: 1920px;
        width: 1920px;
        margin: auto;
    }
}

@media (max-width: 768px) {
    .navbar-brand {
        padding-top: 0;
        padding-bottom: 0;
        margin-right: 0px;
    }

    .has-submenu .arrow {
        padding-bottom: 13px;
        width: 9px;
    }


    .has-submenu .arrow {
        width: 9px;
        height: auto;
        transition: transform 0.3s ease;
    }

    .has-submenu.open .arrow {
        padding-bottom: 0;
        content: url('../image/arrow-submenu-green.svg');
    }

    .navbar-toggler:focus {
        outline: none !important;
    }

    .submenu li {
        margin-bottom: 0px;
    }

    .has-submenu.open > .submenu-header {
    padding-bottom: 13px;
}
}