
/* .product__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
} */

/* Container content */
.product-content {
    overflow: hidden;
    margin-bottom: 30px;
}

.product-content .no-wrap {
    flex-wrap: nowrap;
}

.product__header {
    padding: 3px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 2px solid var(--primary-color);
    border-right: 1px solid #e8e8e8;
    border-bottom: 1px solid #e8e8e8;
    border-left: 1px solid #e8e8e8;
    background-color: #fff;
}

.product__header h2 {
    margin: 12px;
    font-weight: 500;
    font-size: 2rem;
}

.product__header div {
    margin: 0 8px;
    font-size: 1.5rem;
}

.product__header div i {
    margin: 2px;
    padding: 4px 8px;
    border: 1px solid rgba(255, 255, 255, 0);
    border-radius: 50%;
    color: #de7474;
}

.product__header div i::before {
    margin: 0;
    padding: 0;
}

.product__header div i:hover {
    cursor: pointer;
    border: 1px solid var(--primary-color);
    border-radius: 50%;
    color: var(--primary-color);
}

/* Item */
.product-item {
    position: relative;
    background-color: #fff;
    margin-top: 10px;
    border-radius: 2px;
    box-shadow: 0 1px 2px 0 rgba(0,0,0,0.1);
    transition: transform linear 0.1s;
    will-change: transform;
}

.product-item:hover {
    cursor: pointer;
    transform: translateY(-1px);
    box-shadow: 0 1px 20px 0 rgba(0,0,0,0.2);
}

.product-item__img {
    padding-top: 100%;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: top center;
    border-top-left-radius: 2px;
    border-bottom-left-radius: 2px;
}

.product-item__name {
    font-size: 1.4rem;
    font-weight: 400;
    color: var(--text-color);
    line-height: 1.8rem;
    margin: 10px 10px 7px;
    text-align: center;
}

.product-item__price {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
}

.product-item__price-old {
    font-size: 1.3rem;
    color: #666;
    text-decoration: line-through;
    margin-left: 10px;
}

.product-item__price-current {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-left: 10px;
}

.product-item__action {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 8px 10px;
}

.product-item__like {
    font-size: 1.4rem;
}

.product-item__like--liked i.product-item__like-icon-fill {
    color: #f63d30;
    /* display: inline-block; */
    display: none;
}

.product-item__like--liked i.product-item__like-icon-empty{
    display: inline-block;
    /* display: none; */
}

.product-item__rating {
    font-size: 1rem;
    color: #d5d5d5;
    margin-left: auto;
}

.product-item__star--gold {
    color: var(--star-gold-color);
}

.product-item__sold {
    font-size: 1.2rem;
    color: var(--text-color);
    margin-left: 4px;
}

.product-item__origin {
    display: flex;
    justify-content: space-between;
    margin: 0 10px;
    padding: 4px 0;
    color: #595959;
    font-size: 1.2rem;
    font-weight: 300;
}

.product-item__status {
    position: absolute;
    top: 10px;
    left: -4px;
    color: var(--primary-color);
    background-color: currentColor;
    font-size: 1.2rem;
    font-weight: 500;
    padding-right: 4px;
    border-top-right-radius: 3px;
    border-bottom-right-radius: 3px;
}

.product-item__status::after {
    content: "";
    position: absolute;
    bottom: -3px;
    left: 0;
    border-top: 3px solid currentColor;
    border-left: 3px solid transparent;
    filter: brightness(60%);
}

.product-item__status i {
    font-size: 1rem;
    margin: 0 2px 0 5px;
    color: #fff;
}

.product-item__status span {
    color: #fff;
}

.product-item__sale-off {
    position: absolute;
    top: 6px;
    right: 12px;
    width: 40px;
    height: 25px;
    line-height: 25px;
    color: #fbbf22;
    background-color: currentColor;
    text-align: center;
    border-radius: 5px;
}

.product-item__sale-off-percent {
    color: #fff;
    font-weight: 600;
    font-size: 1.3rem;
    display: block;
}

.filter {
    display: flex;
    align-items: center;
    justify-content: center;
}

.filter h3 {
    font-size: 1.4rem;
    font-weight: 400;
    margin: 0 12px;
}

.filter select {
    padding: 4px;
    outline: unset;
    border-radius: 5px;
}

.filter .select-view {
    margin: 0 12px;
}

.filter .select-view a {
    font-size: 3rem;
    line-height: 3rem;
    color: #898989;
}

.filter .select-view a.active {
    color: var(--primary-color);
}

.filter .select-view a:hover {
    color: var(--primary-color);
}

/* Pagination links */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 12px 0;
}

.pagination a {
    display: block;
    color: #000;
    font-size: 1.5rem;
    font-weight: 500;
    padding: 16px 28px;
    text-decoration: none;
    transition: background-color 0.3s;
    background-color: #fff;
    border: 1px solid #eee;
}

.pagination a.active {
    background-color: var(--primary-color);
    color: #fff;
}

.pagination a:hover:not(.active) {
    background-color: #ddd;
}