.app {
    overflow: hidden;
}

.auth-form {
    width: 500px;
    background-color: var(--white-color);
    border-radius: 5px;
    overflow: hidden;
}

.auth-form__container {
    padding: 0 32px;
}

.auth-form__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.auth-form__heading {
    font-size: 22px;
    font-weight: 600;
    color: var(--text-color);
    padding: 12px 12px 0;
}

.auth-form__switch-btn {
    font-size: 16px;
    font-weight: 600;
    color: var(--primary-color);
    cursor: pointer;
    padding: 16px 0 0;
}

.auth-form__input {
    width: 100%;
    height: 40px;
    margin-top: 16px;
    padding: 0 12px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 3px;
    outline: none;
}

.auth-form__input:focus {
    border-color: var(--primary-color);
}

.auth-form__policy {
    margin-top: 18px;
    padding: 0 12px;
}

.auth-form__policy-text {
    font-size: 12px;
    line-height: 18px;
    text-align: center;
}

.auth-form__text-link {
    font-style: italic;
    text-decoration: none;
    color: var(--primary-color);
}

.auth-form__control {
    margin-top: 80px;
    display: flex;
    justify-content: flex-end;
}

.btn.auth-form__back:hover {
    background-color: var(--hover-color);
}

.auth-form__signin {
    background-color: #ddd;
    padding: 14px 36px;
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

.auth-form__signin-icon {
    font-size: 18px;
}

.auth-form__signin-fb {
    background-color: #3a5a98;
    color: var(--white-color);
}

.auth-form__signin-sms {
    background-color: #19b610;
    color: var(--white-color);
}

.auth-form__signin-gg {
    background-color: var(--white-color);
    color: #ff1e1e;
}

.auth-form__signin-fb .auth-form__signin-icon {
    color: var(--white-color);
}

.auth-form__signin-text {
    margin: 0 28px;
}

.auth-form__help {
    display: flex;
    justify-content: flex-end;
    margin-top: 16px;
}

.auth-form__help-link {
    font-size: 14px;
    text-decoration: none;
    color: #666;
}

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

.auth-form__help--separate {
    border: 1px solid var(--border-color);
    margin: 0 16px;
}

/* container */

.container {
    /* background-color: var(--contain-color);
    padding-top: 24px; */
}
/* 
.category-heading {
    color: var(--text-color);
    text-transform: uppercase;
    font-weight: 600;
    font-size: 16px;
    line-height: 18px;
    margin: 8px 0;
}

.category-heading-icon {
    font-size: 16px;
    margin-right: 4px;
}

.category-group {
    border-bottom: 1px solid #ccc;
    padding: 20px 0;
}

.category-group-title {
    color: var(--text-color);
    font-size: 15px;
    padding: 0 0 10px;
}

.category-group-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.category-group-item {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: var(--text-color);
    padding: 8px 0;
}

.category-group-item-check {
    margin-right: 12px;
}

.category-group-filter {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: var(--text-color);
    padding: 8px 0;
    justify-content: space-between;
}

.category-group-filter-input {
    width: 76px;
    height: 24px;
    outline: none;
    border: 1px solid #999;
    padding: 8px;
}

.category-group-filter-btn {
    width: 100%;
    margin: 8px 0;
} */

.rating-star {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 15px;
    width: 70%;
    padding: 8px 0;
}

.rating-star .star-checked {
    color: #ffe400;
    font-weight: 900;
}

.rating-star .star-uncheck {
    color: #ffe400;
    font-weight: unset;
}

/* .category-group--margin {
    margin: 20px 0;
} */

/* mobile category */

.mobile-category {
    display: none;
}

.mobile-category-list {
    display: flex;
    list-style: none;
    padding-left: 0;
    overflow-x: auto;
}

.mobile-category-list::-webkit-scrollbar {
    display: none;
}

.mobile-category-item {
    border-radius: 5px;
    flex-shrink: 0;
    margin: 0 5px;
}

.mobile-category-item:nth-of-type(5n + 1) {
    background-color: #6eabe7;
}

.mobile-category-item:nth-of-type(5n + 2) {
    background-color: #f5ba3c;
}

.mobile-category-item:nth-of-type(5n + 3) {
    background-color: #996ccc;
}

.mobile-category-item:nth-of-type(5n + 4) {
    background-color: #74ddcd;
}

.mobile-category-item:nth-of-type(5n + 5) {
    background-color: #6cd163;
}

.mobile-category-item-link {
    text-decoration: none;
    font-size: 14px;
    padding: 1px 6px;
    user-select: none;
    -webkit-user-select: none;
    color: var(--white-color);
    height: 40px;
    line-height: 20px;
    overflow: hidden;
    text-align: center;
    width: 100px;
    display: block;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

/* home filter */

.home-filter {
    background-color: var(--hover-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
    border-radius: 3px;
}

.home-filter-control,
.home-filter-page {
    display: flex;
    align-items: center;
}

.home-filter-title {
    font-size: 14px;
    color: var(--text-color);
    margin-right: 10px;
}

.home-filter-btn {
    background-color: var(--white-color);
    min-width: 0;
    padding: 0 15px;
    margin: 0 5px;
}

.home-filter-sort {
    background-color: var(--white-color);
    width: 200px;
    margin: 0 5px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.home-filter-sort-list {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    border-radius: 3px;
    background-color: var(--white-color);
    margin: 0;
    list-style: none;
    padding: 0;
    display: none;
    z-index: 5;
}

.home-filter-sort:hover .home-filter-sort-list {
    display: block;
}

.home-filter-sort-item-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 14px;
    text-decoration: none;
    color: var(--text-color);
    padding: 10px 20px;
    border-top: 1px solid var(--hover-color);
}

.home-filter-sort-item-link:hover {
    color: var(--primary-color);
    background-color: var(--hover-color);
}

.home-filter-page-number {
    font-size: 15px;
    color: var(--text-color);
    display: flex;
    align-items: center;
    margin: 0 20px;
}

.home-filter-page-now {
    color: var(--primary-color);
}

.home-filter-page-control {
    border-radius: 3px;
    overflow: hidden;
}

.home-filter-page-btn {
    width: 36px;
    height: 36px;
    text-decoration: none;
    font-size: 14px;
    color: var(--text-color);
    background-color: var(--white-color);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.home-filter-page-btn--disable {
    opacity: 0.4;
    cursor: default;
}

.home-product {
    margin: 8px 0;
}

/* .home-product-item-link {
    position: relative;
    margin: 5px 0;
    text-decoration: none;
    display: block;

    border: 1px solid transparent;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    transition: transform linear 0.1s;
} */

/* .home-product-item-link:hover {
    transform: translateY(-2px);
    border: 1px solid var(--primary-color);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    z-index: 2;
} */

.home-product-item-footer {
    position: absolute;
    top: 100%;
    width: 100%;
    height: 30px;
    font-size: 14px;
    text-align: center;
    line-height: 30px;
    background-color: var(--primary-color);
    color: var(--white-color);
    z-index: 1;
    opacity: 0;
}

/* .home-product-item:hover .home-product-item-footer {
    opacity: 1;
} */

/* .home-product-item__img {
    padding-top: 100%;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
} */

/* .home-product-item__info {
    padding: 10px;
    background-color: #fff;
} */

/* .home-product-item__name {
    font-size: 12px;
    font-weight: 400;
    color: var(--text-color);
    line-height: 14px;
    margin: 0 0 20px;
    height: 28px;
    overflow: hidden;
    display: block;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
} */

/* .home-product-item__price {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
} */

/* .home-product-item__price-old {
    margin: 0;
    font-size: 13px;
    color: #999;
    text-decoration: line-through;
} */

.home-product-item__price-new {
    margin: 0;
    font-size: 14px;
    color: var(--primary-color);
    margin-right: auto;
    margin-left: 5px;
}

.home-product-item__ship {
    font-size: 13px;
    color: lightseagreen;
}

.home-product-item__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 5px;
}

.home-product-item__save label {
    font-size: 12px;
    color: #999;
    cursor: pointer;
}

.home-product-item__save input {
    display: none;
}

.home-product-item__save input:checked + label {
    font-weight: 900;
    color: red;
}

.home-product-item__rating-star {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 8px;
    margin-left: auto;
    margin-right: 5px;
}

/* .home-product-item__rating-star i {
    padding: 0 1px;
}

.home-product-item__rating-star .star-checked {
    color: #ffe400;
    font-weight: 900;
}

.home-product-item__rating-star .star-uncheck {
    color: #ffe400;
    font-weight: unset;
}

.home-product-item__saled {
    color: var(--text-color);
    font-size: 11px;
}

.home-product-item__origin {
    text-align: right;
    font-size: 12px;
    color: var(--text-color);
    margin: 5px 0;
} */

/* .home-product-item__favourite {
    position: absolute;
    top: 10px;
    left: -4px;
    color: var(--white-color);
    background-color: var(--primary-color);
    font-size: 12px;
    padding: 0 4px;
    border-bottom-right-radius: 3px;
    border-top-right-radius: 3px;
} */

/* .home-product-item__favourite::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    border-top: 4px solid var(--primary-color);
    border-left: 4px solid transparent;
    filter: brightness(60%);
} */

/* .home-product-item__sale-off {
    position: absolute;
    right: 9px;
    top: 0;
    width: 36px;
    height: 38px;
    clip-path: polygon(0 0, 0 100%, 50% 80%, 100% 100%, 100% 0);
    -webkit-clip-path: polygon(0 0, 0 100%, 50% 80%, 100% 100%, 100% 0);
    background-color: rgba(255, 220, 36, 0.85);
    text-align: center;
} */

/* .home-product-item__sale-off-value {
    color: var(--primary-color);
    font-size: 12px;
    font-weight: 600;
}

.home-product-item__sale-off-label {
    color: var(--white-color);
    font-size: 12px;
    font-weight: 500;
} */

.home-product-pagination {
    margin-top: 52px;
    margin-bottom: 60px;
    padding-left: 0;
}

.copyright-title {
    text-align: center;
    color: var(--footer-color);
    padding: 30px 10px;
    font-size: 14px;
}

.other-footer {
    background-color: #eee;
    padding: 40px 0;
}

.other-footer-heading {
    display: flex;
    justify-content: center;
    text-align: center;
}

.other-footer-link {
    text-decoration: none;
    font-size: 12px;
    color: var(--footer-color);
}

.other-footer-info {
    font-size: 12px;
    color: var(--text-color);
    text-align: center;
}

.other-footer-title {
    margin: 25px 0;
}

.other-footer-more {
    margin: 8px 10px 0;
}
