/*** NEWS HEADER ***/
.news-header {
    background-color: var(--news-header-bg);
    color: var(--main-color);
    font-size: 0.75rem;
    padding: 7px 0;
}

@media only screen and (min-width: 1200px) {
    .news-header {
        font-size: 1rem;
        padding: 12px 0;
    }
}

/*** NEWS HEADER ***/
/*** MAIN HEADER ***/
.main-header {
    padding: 12px 0 15px;
}

.main-header__delivery-now {
    color: var(--sub-color);
    font-weight: 500;
    font-size: 1.25rem;
}

/*** MAIN HEADER ***/

/*** TAB ***/
.tab {
    background-color: #FAFAFA;
    position: sticky;
    top: 0;
    z-index: 3;
    padding: 1.5rem 0;
    padding-top: 1px;
}

.tab .container {
    padding: 15px 0 0 0;
}

.tab__wrapper {
    overflow: hidden;
}

.tab__item {
    color: #969696;
    color: #212529;
    font-size: 0.8rem;
    /* font-weight: bold; */
    font-weight: 300;
    padding: 0.1rem 0.5rem;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    border-radius: 8px;
    margin-right: 5px;
    cursor: pointer;
    width: unset;
    background-color: #ececec;
}

.tab__item:last-child {
    margin-right: 0;
}

.tab__item:hover {
    color: #969696;
}

.tab__item.active {
    color: white;
    background-color: var(--main-color);
}

/*** NEW HEADER ***/
.tab .shopping-cart {
    position: relative;
}

.tab .shopping-cart .shopping-cart__amount {
    color: white;
    position: absolute;
    line-height: 1.9em;
    top: -5px;
    right: -5px;
    width: 20px;
    height: 20px;
    font-size: .75rem;
    background-color: #FF6B6B;
    border-radius: 50%;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.tab .cart__addbutton {
    background-color: unset;
    padding: 0;
    border-radius: 0;
}

.tab .shopping-cart {
    padding-left: 12px;
    padding-right: 5px;
}

/*** TAB ***/
.header {
    background-color: white;
    /*position: sticky;*/
    /*top: -1px;*/
    /*z-index: 10;*/
    -webkit-box-shadow: 0px 2px 3px -1px rgba(0, 0, 0, 0.15);
    -moz-box-shadow: 0px 2px 3px -1px rgba(0, 0, 0, 0.15);
    box-shadow: 0px 2px 3px -1px rgba(0, 0, 0, 0.15);
}

.header__wrapper {
    display: flex;
    /*align-items: center;*/
    justify-content: space-between;
}

.header__item--logo {
    display: flex;
    align-items: baseline;
}

.header__giaohangnhanh {
    color: var(--main-color);
    font-size: 0.75rem;
    line-height: 1.42em;
    font-weight: bold;
}

.header__location {
    color: #4E4E4E;
    font-size: 0.75rem;
    font-weight: 300;
}

.header__location svg {
    position: relative;
    bottom: 2px;
}

/*-----------------Desktop------------------------*/
.header--desktop {
    background-color: white;
}

.header--desktop .header__wrapper {
    padding: 12px 0;
    align-items: center;
}

.header--desktop .header__item--logo {
    margin-right: 50px;
}

.header__item--link {
    color: #000;
    line-height: 1.42em;
    font-weight: bold;
    margin-right: 10px;
    display: inline-block;
}

.header__item--link:hover {
    color: var(--main-color);
}

.header--desktop .header__item--right {
    display: flex;
}

.main-header__search-input {
    background-color: #F5F5F5;
    border: 1px solid #fff;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 20px;
    font-size: 0.875rem;
    padding: 6px 55px 6px 15px;
}

.main-header__search-input:-ms-input-placeholder,
.main-header__search-input::-webkit-input-placeholder,
.main-header__search-input:-moz-placeholder {
    color: #A0A0A0;
}

.main-header__search-icon {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    padding: 0 15px;
    display: flex;
    align-items: center;
}

@media only screen and (min-width: 1200px) {
    .header__wrapper {
        padding: 7px 0;
    }

    .header__item--link {
        font-size: 1.25rem;
        margin-right: 4px;
        line-height: 1em;
    }

    .header__giaohangnhanh {
        font-size: 1rem;
        line-height: 1em;
    }

    .header-right__link {
        display: inline-block;
        font-size: 0.875rem;
        color: #4E4E4E;
        margin-right: 45px;
    }

    .header-right__link:last-child {
        margin-right: 0;
    }

    .header-right__link.-login {
        /* margin-right: 54px; */
    }

    .header-right__link.-login svg {
        margin-right: 8px;
    }

    .header-right__link.-facebook {
        margin-right: 22px;
    }

    .header-right__link:hover {
        color: var(--main-color) !important;
        /*font-weight: 500;*/
    }

    .header-right__link:hover svg {
        fill: var(--main-color);
    }

    .main-header__search-input {
        background-color: #F9FAFC;
    }
}

/*----------------Mobile----------------------------*/
.header--mobile .header__wrapper {
    padding: 6px 0;
    align-items: center;
}

.header__item--menu .header__icon--hamburger {
    cursor: pointer;
}

.header__item--menu .header__icon--hamburger div {
    width: 25px;
    height: 2px;
    background-color: #A7AFB8;
    margin-top: 6px;
    border-radius: 1px;
    transition: 0.25s linear;
}

/* ---------------------- Sidebar ----------------------*/
.sidebar {
    transform: translateX(100%);
    position: fixed;
    top: 59px;
    right: 0;
    visibility: hidden;
    width: 100vw;
    height: calc(100vh - 61px);
    z-index: 12;
    transition: transform .5s cubic-bezier(.645, .045, .355, 1), visibility .5s cubic-bezier(.645, .045, .355, 1);
    background: #fff;
    /*padding: 27px 23px;*/
    overflow-x: hidden;
}

.sidebar.is-visible {
    visibility: visible;
    transform: unset;
}

.sidebar__header {
    padding: 22px 20px 24px;

    background-color: #0ba008;
    background-image: url(/assets/img/ghn_logo_round_green.svg);
    background-repeat: no-repeat;
    background-position: 90% 105%;

}

.sidebar__btn--check-order {
    background-color: var(--main-color);
    margin-bottom: 16px;
}

.sidebar__welcome {
    margin-left: 10px;
    align-self: center;
    color: white;
    font-weight: 700;
    line-height: 1.2rem;
}

.sidebar__welcome div:nth-child(1) {
    font-size: .75rem;
}
.sidebar__login {
    display: flex;
    margin-top: 14px;
}

.sidebar__login--btn {
    padding: 2px;
    background: #1C621A;
    color: white;
    border: none;
    width: 100%;
    font-size: .875rem;
    border-radius: 5px;
    text-align: center;
}

.sidebar__login--btn:focus {
    color: white;
}
.sidebar__memberinfo{
    text-align: center;
}
.sidebar__memberinfo a{
    display: block;
}
.memberinfo__name{
    background-color: #005b43;
    padding: 0 20px 0 5px;
    display: inline-flex;
    border-radius: 25px;
    text-align: center;
    color: white;
    font-weight: 500;
    align-items: center;
}
.memberinfo__btn{
    width: 100%;
    text-align: center;
    font-size: .8125rem;
    color: #005A42;
    /*color: white;*/
    border: 2px solid #005A42;
    /*border: 2px solid #fff;*/
    border-radius: 10px;
    text-transform: uppercase;
    font-weight: 500;
    margin-top: 15px;
    padding: 5px;
    background-color: #e9fff2;
    opacity: 0.8;
}
.shopinfo__heading h2 {
    position: relative;
    display: inline-block;
    font-size: 1.25rem;
    margin-bottom: 0;
    font-weight: 700;
}

.shopinfo__heading .check-icon {
    position: absolute;
    right: -22px;
    top: calc(50% - 8px);
}

.sidebar__shopinfo {
    padding: 30px 0;
    font-size: .875rem;
}

.shopinfo__content {
    padding: 0 20px;
}

/*.shopinfo__gallery {*/
    /*display: flex;*/
    /*/!*overflow-y: scroll;*!/*/
    /*padding-left: 20px;*/
    /*overflow-y: scroll;*/
    /*scrollbar-width: none; /!* Firefox *!/*/
    /*-ms-overflow-style: none; /!* Internet Explorer 10+ *!/*/
/*}*/

/*.shopinfo__gallery::-webkit-scrollbar {*/
    /*width: 0;*/
    /*height: 0;*/
/*}*/

/*.shopinfo__gallery img {*/
    /*border-radius: 5px;*/
    /*margin-right: 16px;*/
    /*width: 230px;*/
    /*height: 170px;*/
/*}*/

.shopinfo__gallery {
    padding-left: 20px;
}

.shopinfo__gallery-inner {
    margin-right: -148px;
}

.shopinfo__gallery img {
    width: 100%;
    height: auto;
    border-radius: 5px;
}

.shopinfo-gallery__swiper-btn {
    height: 38px;
    margin-bottom: 20px;
}

.shopinfo-gallery__swiper-btn-prev:after, .shopinfo-gallery__swiper-btn-next:after {
    content: ''!important;
}

.shopinfo-gallery__swiper-btn-next, .shopinfo-gallery__swiper-btn-prev {
    width: 38px;
    height: 38px;
    -webkit-border-radius: 19px;
    -moz-border-radius: 19px;
    border-radius: 19px;
    border: 1px solid #797979;
    z-index: 2;
}

.shopinfo-gallery__swiper-btn-next {
    right: 20px;
}

.shopinfo-gallery__swiper-btn-prev {
    left: unset;
    right: 68px;
}

.facebook__btn {
    width: 42.5%;
    color: #fff;
    padding: 6px 0;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
    background-color: #588AD6;
    font-weight: bold;
}

.call__btn {
    width: 42%;
    color: var(--main-color);
    border: 1px solid var(--main-color);
    padding: 6px 0;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
    background-color: #fff;
    font-weight: bold;
}

.navbar__animation div:nth-child(1) {
    display: none;
}

.navbar__animation div:nth-child(2) {
    transform: rotate(45deg);
}

.navbar__animation div:nth-child(3) {
    transform: rotate(-45deg);
    position: relative;
    bottom: 8px;
}

.tab__chevron-prev:after{
    content: "\f053";
    font-weight: 900;
    font-family: "Font Awesome 5 Free";
    font-size: 1rem;
    color: black;
    padding: 0 10px;
}
.tab__chevron-next:after{
    content: "\f054";
    font-weight: 900;
    font-family: "Font Awesome 5 Free";
    font-size: 1rem;
    color: black;
    padding: 0 10px;
}

/* Category Dropdown Styles for Mobile */
.category-dropdown-container {
    flex: 1;
    padding: 0 15px;
}

.category-dropdown {
    position: relative;
    width: 100%;
}

.category-dropdown-selected {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px;
    background: white;
    border: 1px solid #ddd;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    color: var(--font-color);
    transition: all 0.2s ease;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.category-dropdown-selected:hover {
    border-color: var(--main-color);
}

.category-dropdown.open .category-dropdown-selected {
    border-color: var(--main-color);
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.category-dropdown-arrow {
    transition: transform 0.2s ease;
    color: #666;
    flex-shrink: 0;
    margin-left: 8px;
}

.category-dropdown.open .category-dropdown-arrow {
    transform: rotate(180deg);
}

.category-dropdown-list {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid var(--main-color);
    border-top: none;
    border-radius: 0 0 6px 6px;
    max-height: 300px;
    overflow-y: auto;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.category-dropdown.open .category-dropdown-list {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.category-dropdown-item {
    display: block;
    padding: 10px 12px;
    color: var(--font-color);
    text-decoration: none;
    font-size: 14px;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.2s ease;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.category-dropdown-item:last-child {
    border-bottom: none;
}

.category-dropdown-item:hover,
.category-dropdown-item.active {
    background-color: var(--main-color);
    color: white;
    text-decoration: none;
}