.app {
    overflow: hidden;
}

.header {
    display: flex;
    height: var(--header-height);
    background-image: linear-gradient(0, #fe6433, #f53e2d);
    align-items: center;
}

.header__navbar-list {
    margin: 4px 0 0 0;
    list-style: none;
    padding-left: 0;
}

.header__navbar-item {
    margin: 0 8px;
    font-weight: 800;
    position: relative;
    min-height: 26px;
}

.header__navbar-item,
.header__navbar-item-link {
    display: inline-block;
    font-size: 1.4rem;
    color: var(--white-color);
    text-decoration: none;
    font-weight: 300;
}

.header__navbar-icon-link:hover {
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
}

.header__navbar-item-link:hover {
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
}

.header__navbar {
    display: flex;
    justify-content: space-between;
}

.header__navbar-icon-link {
    color: var(--white-color);
    text-decoration: none;
}

.header__navbar-icon {
    font-size: 16px;
    margin: 0 4px;
}

.header__navbar-title--no-pointer {
    cursor: text;
    color: var(--white-color);
}

.header__qr {
    background-color: var(--white-color);
    width: 106px;
    position: absolute;
    left: 0;
    top: 100%;
    padding: 8px;
    border-radius: 2px;
    display: none;
    box-shadow: 0 1px 2px rgb(0, 0, 0, 0.1);
    animation: fadeIn ease-in-out 0.3s;
}

.header__qr-img {
    width: 100%;
}

.header__navbar-item-bold {
    color: var(--white-color);
}

.header__qr-apps {
    display: flex;
    justify-content: space-between;
}


/* .header__qr-link:nth-child(1) {
    margin-left: 11px;
}

.header__qr-link:nth-child(2) {
    margin-right: 11px;
} */

.header__qr-dow-img {
    height: 11px;
}

.header__navbar-item--has-qr:hover .header__qr {
    display: block;
}

.header__navbar-item--has-notify:hover .header__notify {
    display: block;
}

.header__notify {
    z-index: 2;
    display: none;
    position: absolute;
    top: 100%;
    border: 1px solid #d3d3d3;
    right: 0;
    width: 404px;
    background-color: var(--white-color);
    transform-origin: calc(100% - 20px) right;
    animation: fadeIn ease-in 0.25s;
    will-change: opacity, transform;
}

.header__notify::before {
    content: "";
    border: 20px solid;
    border-color: transparent transparent var(--white-color) transparent;
    position: absolute;
    right: 12px;
    top: -30px;
}

.header__notify-header {
    cursor: text;
    height: 40px;
    background-color: var(--white-color);
}

.header__notify-header h3 {
    margin: 0px 16px;
    font-weight: 400;
    font-size: 1.4rem;
    color: var(--text-color);
    height: 40px;
    line-height: 40px;
    background-color: var(--white-color);
}

.header__notify-list {
    padding-left: 0;
}

.header__notify-item {
    display: flex;
}

.header__notify-item:hover {
    background-color: #f7f7f7;
}

.header__notify-item--viewed {
    background-color: rgba(238, 75, 43, 0.08);
}

.header__notify-link {
    width: 100%;
    text-decoration: none;
    padding: 12px;
    display: flex;
}

.header__notify-img {
    object-fit: contain;
    width: 48px;
}

.header__notify-info {
    margin-left: 12px;
}

.header__notify-name {
    display: block;
    font-size: 1.4rem;
    color: var(--text-color);
    font-weight: 800;
}

.header__notify-des {
    display: block;
    font-size: 1.2rem;
    line-height: 1.6rem;
    color: #756F6E;
}

.header__notify-footer {
    text-align: center;
    padding: 16px 16px;
}

.header__notify-footer-btn {
    display: block;
    text-decoration: none;
    color: var(--text-color);
}


/* Authen modal */

.auth-form {
    width: 100%;
}

.auth-form__container {
    padding: 32px;
}

.auth-form__header {
    padding: 0 12px;
    margin-top: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.auth-form__heading {
    font-size: 2.2rem;
    font-weight: 400;
    color: var(--text-color);
}

.auth-form__switch-btn {
    font-size: 1.6rem;
    font-weight: 400;
    color: var(--primary-color);
    cursor: pointer;
}

.auth-form__input {
    width: 94%;
    height: 40px;
    margin-bottom: 16px;
    padding: 0 12px;
    font-size: 1.4rem;
    border-radius: 2px;
    border: 1px solid var(--border-color);
    outline: none;
}

.auth-form__input:focus {
    border-color: #999;
}

.auth-form__text-link {
    cursor: pointer;
    color: var(--primary-color);
}

.auth-form__controls {
    display: flex;
    justify-content: end;
}

.auth-form-controls-back {
    margin-right: 8px;
}

.auth-form__socials {
    background-color: #f5f5f5;
    padding: 16px;
    display: flex;
    justify-content: space-around;
    line-height: 36px;
}

.auth-form__socials--fb {
    text-align: center;
    color: var(--white-color);
    background-color: #3a5a98;
}

.auth-form__socials--fb .auth-form__socials-icon {
    text-align: center;
    color: var(--white-color);
}

.auth-form__socials-title {
    margin-left: 12px;
}

.auth-form__socials--gg {
    text-align: center;
    color: #666;
    background-color: var(--white-color);
}

.auth-form__help {
    display: flex;
    justify-content: end;
}

.auth-form__help-link {
    text-decoration: none;
    font-size: 1.4rem;
    color: var(--text-color);
}

.auth-from__help-separate {
    display: block;
    height: 16px;
    margin: 0 16px;
    border-left: 1px solid var(--text-color);
}

.auth-form__help-forgot {
    color: var(--primary-color);
}

.header-with-search {
    display: flex;
    align-items: center;
    height: var(--header-with-search-height);
    padding: 0 24px;
}

.header-with-search {}

.header-with-search-icon {
    font-size: 2.6rem;
    color: var(--white-color);
}

.header__logo {
    width: 200px;
}

.header__logo-img {
    width: 150px;
}

.header__search-checkbox:checked~.header__search {
    display: flex;
}

.header__logo-link {
    color: transparent;
    text-decoration: none;
    display: block;
    line-height: 0;
}

.header__search {
    align-items: center;
    display: flex;
    height: 40px;
    flex: 1;
    background-color: var(--white-color);
    border-radius: 2px;
    margin: 0 8px;
}

.header__cart {
    text-align: center;
    width: 150px;
}

.header__cart-icon {
    cursor: pointer;
    color: var(--white-color);
    font-size: 2.4rem;
}

.header__search-input-wrap {
    flex: 1;
    position: relative;
}

.header__search-input {
    width: 95%;
    height: 90%;
    outline: none;
    font-size: 1.4rem;
    border: none;
    color: var(--text-color);
    border-radius: 3px;
    padding-inline: 16px;
}

.header__search-select {
    border-left: 1px solid #ccc;
    position: relative;
    cursor: pointer;
    font-size: 1.4rem;
    color: var(--text-color);
}

.header__search-select-label {
    padding-right: 10px;
    font-size: 1.4rem;
    color: var(--text-color);
}

.header__search-select-icon {
    font-size: 1.2rem;
    color: #4a4a4a;
    margin: 0 6px;
    position: relative;
    top: 1;
}

.header__search-btn {
    background-color: var(--primary-color);
    border: none;
    height: 29px;
    border-radius: 3px;
    margin-right: 3px;
    width: 39px;
    outline: none;
}

.header__search-btn {
    font-size: 1.4rem;
    color: var(--white-color);
}

.header__search-btn:hover {
    cursor: pointer;
    background-color: #fb6445;
}

.header__search-option {
    z-index: 1;
    display: none;
    position: absolute;
    border-radius: 3px;
    right: 0;
    top: 100%;
    width: 116px;
    list-style: none;
    box-shadow: 0 0 3px #ccc;
    padding-left: 0;
    animation: fadeIn ease-in 0.2s;
}

i.header__search-select-icon.fa-solid.fa-chevron-down {
    padding: 0 6px;
}

.header__search-option::after {
    content: "";
    display: block;
    width: 100%;
    position: absolute;
    height: 10px;
    top: -10px;
    background-color: transparent;
}

.header__search-option-item {
    background-color: var(--white-color);
    padding: 8px 0px;
}

.header__search-option-item:first-child {
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
}

.header__search-option-item:last-child {
    border-bottom-left-radius: 3px;
    border-bottom-right-radius: 3px;
}

.header__search-option-item:hover {
    background-color: #fafafa;
    cursor: pointer;
}

.header__search-option-item span {
    font-size: 1.4rem;
    color: var(--text-color);
    margin-left: 10px;
}

.header__search-option-item i {
    display: none;
    padding: 0 6px;
    font-size: 1.2rem;
    color: var(--primary-color);
}

.header__search-option-item--active i {
    display: inline-block;
}

.header__search-select:hover .header__search-option {
    display: block;
}

.header__search-history {
    z-index: 1;
    display: none;
    overflow: hidden;
    position: absolute;
    width: 100%;
    top: calc(100% + 14px);
    left: 0;
    width: calc(100%-16px);
    background-color: var(--white-color);
    border-radius: 2px;
    box-shadow: 0 1px 5px rgb(177, 175, 175);
}

.header__search-history-heading {
    margin: 6px 12px;
    font-size: 1.4rem;
    color: #999;
    font-weight: 400;
}

.header__search-history-list {
    padding-left: 0;
    list-style: none;
}

.header__search-history-item {
    height: 33px;
    padding: 0 12px;
    line-height: 36px;
}

.header__search-history-item:hover {
    background-color: #fafafa
}

.header__search-history-item a {
    text-decoration: none;
    font-size: 1.4rem;
    color: var(--text-color);
    display: block;
}

.header__search-input:focus~.header__search-history {
    display: block;
}

.header__cart-list {
    display: none;
    z-index: 1;
    position: absolute;
    cursor: default;
    top: calc(100% + 12.5px);
    box-shadow: 0 1px 3.125rem rgba(0, 0, 0, 0.2);
    width: 400px;
    border-radius: 2px;
    right: -7px;
    background-color: var(--white-color);
}

.header__cart-list::after {
    content: "";
    position: absolute;
    right: -1px;
    top: -30px;
    cursor: pointer;
    border-width: 20px;
    border-style: solid;
    border-color: transparent transparent var(--white-color) transparent;
}

.header__cart--no-cart-img {
    width: 54%;
    display: none;
}

.header__cart-lits--no-cart {
    padding: 20px 0;
}

.header__cart-list-no-cart-msg {
    display: none;
    font-size: 1.4rem;
    margin-top: 14px;
    color: var(--text-color);
}

.header__cart-wrap:hover .header__cart-list {
    display: block;
    animation: fadeIn ease-in 0.3s;
}

.header__cart-wrap {
    cursor: pointer;
    position: relative;
    display: inline-block;
    -webkit-tap-highlight-color: transparent;
}

.header__cart-lits--no-cart .header__cart--no-cart-img,
.header__cart-lits--no-cart .header__cart-list-no-cart-msg {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.header__cart-notice {
    position: absolute;
    padding: 1px 6px;
    background-color: var(--white-color);
    color: var(--primary-color);
    font-size: 1.4rem;
    line-height: 1.4rem;
    border-radius: 10px;
    border: 2px solid #ee4d2d;
    top: -10px;
    right: -16px;
}

.header__cart-heading {
    text-align: left;
    margin: 8px 0 8px 12px;
    font-size: 1.4rem;
    color: #999;
    font-weight: 400;
}

.header__cart-list-item {
    padding-left: 0;
    list-style: none;
    overflow-y: auto;
    max-height: 56vh;
}

.header__cart-item {
    display: flex;
}

.header__cart-item:hover {
    background-color: #f8f8f8;
}

.header__cart-item-info {
    align-self: center;
    width: 100%;
    line-height: 18px;
    margin-right: 12px;
}

.header__cart-img {
    width: 42px;
    height: 42;
    margin: 12px;
    border: 1px solid var(--border-color);
}

.header__cart-item-head {
    justify-content: space-between;
    display: flex;
    align-items: center;
}

.header__cart-item-name {
    font-size: 1.4rem;
    font-weight: 500;
    color: var(--text-color);
    margin: 0;
}

.header__cart-item-price {
    font-size: 1.4rem;
    font-weight: 400;
    color: var(--primary-color);
}

.header__cart-item-multiply {
    font-size: 0.9rem;
    color: #757575;
    margin: 0 4px;
}

.header__cart-item-qnt {
    font-size: 1.2rem;
    color: #757575;
}

.header__cart-item-body {
    display: flex;
    justify-content: space-between;
}

.header__cart-item-des {
    color: #757575;
    font-size: 1.2rem;
    font-weight: 300;
}

.header__cart-item-remove {
    color: var(--text-color);
    font-size: 1.4rem;
    font-weight: 400;
    cursor: pointer;
}

.header__cart-item-remove:hover {
    color: var(--primary-color);
}

.header__cart-view {
    float: right;
    margin: 0 12px 12px 0;
}

.header__sort-bar {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    list-style: none;
    margin: 0;
    padding-left: 0;
    height: var(--header-sort-bar-height);
    background-color: var(--white-color);
    border-top: 1px solid #e5e5e5;
    border-bottom: 1px solid #e5e5e5;
    display: none;
}

.header__sort-item {
    flex: 1;
}

.header__sort-item :first-child .header__sort-link::before {
    display: none;
}

.header__sort-link {
    text-decoration: none;
    color: var(--text-color);
    font-size: 1.4rem;
    display: block;
    height: 100%;
    line-height: var(--header-sort-bar-height);
    text-align: center;
    position: relative;
}

.header__mobile-search {
    display: none;
}

.header__sort-link-active {
    color: var(--primary-color);
    border-bottom: 2px solid;
}

.header__sort-link::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    height: 60%;
    transform: translateY(-50%);
    border-left: 1px solid #e5e5e5;
}

.header__cart-view:hover {
    background-color: #f05d41;
}

.app__container {
    background-color: #f5f5f5;
}

.category {
    border-radius: 2px;
    background-color: var(--white-color);
}

.category__heading-icon {
    color: var(--text-color);
    font-size: 1.5rem;
    margin-right: 4px;
}

.category__heading {
    margin-top: 0;
    font-size: 1.6rem;
    padding: 16px 16px;
    font-weight: 800;
    border-bottom: 1px solid rgba(0, 0, 0, 0.5);
}

.category-item {
    font-size: 1.4rem;
    color: var(--text-color);
    padding: 8px 16px;
    list-style: none;
}

.category-list {
    margin-left: 14px;
    padding: 0 0 8px 0;
}

.category-item--active .category-item__link {
    color: var(--primary-color);
}

.category-item--active .category-item__link::before {
    content: "";
    position: absolute;
    border: 4px solid;
    border-color: transparent transparent transparent var(--primary-color);
    top: 50%;
    left: -6px;
    transform: translateY(calc(-50% - 1px));
}

.category-item__link {
    right: 0;
    text-decoration: none;
    display: block;
    color: var(--text-color);
    position: relative;
    transition: right linear 0.1s;
}

.category-item__link:hover {
    right: -4px;
    color: var(--primary-color);
}

.app__content {
    padding-top: 36px;
}

.mobile-category {
    display: none;
}

.mobile-category__list {
    display: flex;
    list-style: none;
    padding-left: 0;
    max-width: 100%;
    overflow-x: auto;
}

.mobile-category__list::-webkit-scrollbar {
    display: none;
}

.mobile-category__item {
    flex-shrink: 0;
    margin-right: 10px;
}

.mobile-category__item:nth-of-type(3n + 1) .mobile-category-link {
    background-color: #87afd8;
}

.mobile-category__item:nth-of-type(3n + 2) .mobile-category-link {
    background-color: #76C9bd;
}

.mobile-category__item:nth-of-type(3n + 3) .mobile-category-link {
    background-color: #88cf81;
}

.mobile-category-link {
    --line-height: 2rem;
    text-decoration: none;
    color: var(--white-color);
    font-size: 1.4rem;
    line-height: var(--line-height);
    text-align: center;
    width: 110px;
    height: calc(var(--line-height) * 2);
    display: block;
    border-radius: 5px;
    font-weight: 300;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    user-select: none;
    -webkit-user-select: none;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 6px;
}

.home-filter {
    padding: 12px 22px;
    align-items: center;
    display: flex;
    border-radius: 2px;
    background-color: rgba(0, 0, 0, 0.04);
}

.home-filter__page {
    display: flex;
    align-items: center;
}

.home-filter__label {
    font-size: 1.4rem;
    color: #555;
    margin-right: 16px;
}

.btn-control {
    min-width: 90px;
    margin-right: 12px;
    background-color: var(--white-color);
}

.home-filter__page {
    display: flex;
    align-items: center;
    margin-left: auto;
}

.home-filter__page-num {
    font-size: 1.5rem;
    color: var(--text-color);
    margin-right: 22px;
}

.home-filter__page-current {
    color: var(--primary-color);
}

.home-filter__page-btn {
    width: 60px;
    height: 36px;
    text-decoration: none;
    display: flex;
    background-color: var(--white-color);
}

.home-filter__page-btn {
    border-right: 1px solid #eeee;
}

.home-filter__page-control {
    display: flex;
    flex: 1;
    border-radius: 2px;
    overflow: hidden;
}

.home-filter__page-icon {
    margin: auto;
    font-size: 1.4rem;
    color: #5555;
}

.home-filter__page-btn-disable {
    cursor: default;
    background-color: #f9f9f9;
}

.home-filter__page-btn-disable .home-filter__page-icon {
    color: #ccc;
}

.home-product {
    margin-bottom: 10px;
}

.home-product-item {
    position: relative;
    margin-top: 10px;
    display: block;
    text-decoration: none;
    border-bottom-right-radius: 2px;
    border-bottom-left-radius: 2px;
    background-color: var(--white-color);
    box-shadow: 0 1px 2px 0 rgb(0, 0, 0, 0.1);
    transition: tranform linear 0.1s;
    will-change: tranform;
}

.home-product-item:hover {
    transform: translateY(-1px);
    box-shadow: 0 1px 20px 0 rgba(0, 0, 0, 0.05);
}

.home-product-item-img {
    padding-top: 100%;
    background-repeat: none;
    background: round;
    background-size: contain;
}

.home-product-item-name {
    font-size: 1.4rem;
    font-weight: 400;
    color: var(--text-color);
    line-height: 1.8rem;
    height: 3.6rem;
    margin: 10px 10px 6px;
    overflow: hidden;
    display: block;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.home-product-item__price {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
}

.home-product-item__price-old {
    font-size: 1.4rem;
    margin-left: 10px;
    color: #666;
    text-decoration: line-through;
}

.home-product-item__price-current {
    font-size: 1.6rem;
    color: var(--primary-color);
    margin-left: 10px;
}

.home-product-item__acction {
    display: flex;
    justify-content: space-between;
    margin: 6px 10px 0;
}

.home-product-item__like {
    font-size: 1.3rem;
}

.home-product-item__rating {
    font-size: 0.8rem;
    color: #e4e1e1;
    margin-left: -1px 0 0 auto;
}

i.home-product-item__like-icon-fill {
    display: none;
    color: #f63d30;
}

.home-product-item__like--liked .home-product-item__like-icon-fill {
    display: inline-block;
}

.home-product-item__like--liked .home-product-item__like-icon-emty {
    display: none;
}

.home-product-item__start-gold {
    color: var(--start-gold-color);
}

.home-product-item__sold {
    font-size: 1.2rem;
    color: var(--text-color);
    margin-left: 6px;
}

.home-product-item__origin {
    display: flex;
    justify-content: space-between;
    margin: 3px 10px 7px 10px;
    font-weight: normal;
    color: rgba(0, 0, 0, 0.65);
    line-height: 30px;
}

.home-product-item__brand {}

.home-product-item__name {}

.home-product-item__favourite {
    position: absolute;
    top: 10px;
    left: -4px;
    color: var(--primary-color);
    background-color: currentColor;
    font-size: 1.2rem;
    font-weight: 500;
    line-height: 1.6rem;
    padding-right: 4px;
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
}

.home-product-item__favourite::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -3px;
    border-top: 3px solid currentColor;
    border-left: 3px solid transparent;
    filter: brightness(60%);
}

.home-product-item__favourite span {
    color: var(--white-color);
}

.home-product-item__favourite i {
    font-size: 0.9rem;
    margin: 0 2px 0 5px;
    color: var(--white-color);
}

.home-product-item__sale-off {
    position: absolute;
    height: 36px;
    width: 40px;
    right: 0;
    top: 0;
    text-align: center;
    background-color: rgba(255, 216, 64, 1);
}

.home-product-item__sale-off::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    border-width: 0 20px 6px;
    border-style: solid;
    border-color: transparent rgba(255, 216, 64, 1) transparent rgba(255, 216, 64, 1);
}

.home-product-item__sale-off-percent {
    color: #ee4d2d;
    font-size: 1.4rem;
    font-weight: 600;
    line-height: 2rem;
}

.home-product-item__sale-off-label {
    font-size: 1.4rem;
    color: var(--white-color);
    line-height: 1.4rem;
}

.home-product-pagination {
    margin: 48px 0 32px 0;
    padding-left: 0;
}

.footer {
    border-top: 4px solid var(--primary-color);
    padding-top: 16px;
}

.ft__heading {
    font-size: 1.4rem;
    text-transform: uppercase;
    color: var(--text-color);
}

.ft__list {
    line-height: 24px;
    padding-left: 0;
    list-style: none;
}

.ft-item__link {
    text-decoration: none;
    font-size: 1.2rem;
    color: #737373;
    padding: 2px 0;
    display: flex;
    align-items: center;
}

.ft-item__link:hover {
    color: var(--primary-color);
}

.ft__item-icon {
    font-size: 1.6rem;
    margin: -1px 8px 0;
}

.ft__download {
    display: flex;
}

.ft__download-qr {
    width: 80px;
    height: 80px;
    border: 1px solid var(--border-color);
}

.ft__download-apps {
    margin-left: 16px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.ft__download-app-img {
    height: 16px;
}

.ft__download-link {
    color: transparent;
    text-decoration: none;
    line-height: 30px;
}

.ft__bottom {
    margin-top: 36px;
    padding: 8px;
    background-color: #f5f5f5;
}

.ft__text {
    margin: 0;
    text-align: center;
    font-size: 1.4rem;
    color: #737373;
}