.breadcrumb-nav {
    padding: 13px 0;
}

.list-product-contain {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    grid-gap: 20px;
}

.list-product-contain:has(.search-empty-result) {
    display: block;
}

.search-empty-result-desc {
    font-size: 18px;
}

.list-product-contain .product-item {
    width: 100%;
    padding: 0;
    border-radius: 8px;
    background-color: #fff;
    margin: 0;
    overflow: visible;
    position: relative;
}

.list-product-contain .product-item > * {
    z-index: 2;
}

.list-product-contain .product-item::after {
    content: "";
    width: 100%;
    height: 100%;
    background-color: #fff;
    transition: all 222ms ease-in-out;
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 8px;
    z-index: 1;
    opacity: 0;
    box-shadow: 0 3px 12px rgba(11 11 11 / 11%);
}

.list-product-contain .product-item:hover::after {
    opacity: 1;
    width: calc(100% + 16px);
    height: calc(100% + 16px);
}

.list-product-contain .product-item .product-img {
    margin: 0;
}

.best-seller-top-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.product-list .product-price-wrapper {
    flex-direction: row;
}

.best-seller-title {
    display: flex;
    align-items: center;
    font-size: calc(17px + (21 - 17) * ((100vw - 300px) / (1920 - 300)));
    font-weight: bold;
    margin: 0 0 12px;
    user-select: none;
    color: var(--dark);
    padding: 0;
    gap: 8px;
}

.best-seller-time {
    border: 1px solid #ccc;
    color: #222;
    border-radius: 16px;
    font-size: 14px;
    padding: 6px 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 222ms ease-in-out;
}

.best-seller-time.active {
    border: 1px solid var(--primary-dk, #1B7EA1);
    color: var(--primary-dk, #1B7EA1);
}

.best-seller-time:hover {
    border: 1px solid var(--primary-dk, #1B7EA1);
    color: var(--primary-dk, #1B7EA1);
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, .1);
}

.product-list-content {
    margin-bottom: 24px;
}

#loading-more-product {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999999;
    background-color: rgba(11 11 11 / 33%);
    margin: 0 !important;
}

#loading-more-product span {
    width: 64px;
    height: 64px;
    display: block;
    border-radius: 64px;
    border: 2px solid #fff;
    border-top: 2px solid #e1e1e1;
    animation: loading-more-product 600ms linear infinite;
    position: absolute;
    top: 30%;
    left: calc(50% - 32px);
}

.product-title a,
.product-title {
    font-size: 15px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-height: 1.3;
    height: auto;
    margin: 0;
}

@keyframes loading-more-product {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.new-product-list > div:nth-child(n + 2),
.best-price-product-list > div:nth-child(n + 2),
.best-sell-product-list > div:nth-child(n + 2) {
    margin-top: 25px;
}

/*suggest product*/
.suggest-product-placeholder {
    margin-bottom: 30px;
}

.suggest-product .readmore-items {
    margin: 22px 0 10px 0;
}

/* .suggest-product .readmore-items .readmore-more-product {
    border-radius: 12px;
    border: 1px solid var(--primary);
} */

@media (max-width: 760px) {
    .list-products {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-gap: 15px;
    }
    .product-item {
        position: relative;
    }
    .product-item-link {
        padding: 10px;
        display: block;
    }

    .product-item-link:hover .product-name {
        color: #337ab7
    }

    .image-picture {
        display: block;
        position: relative;
        margin-bottom: 8px;
    }

    .image-picture::before {
        content: "";
        padding-top: 100%;
        display: block;
    }

    .image-picture img {
        display: block;
        margin-bottom: 0.8rem;
        height: 100%;
        width: 100%;
        position: absolute;
        top: 0;
        left: 0;
        margin: 0 auto;
        object-fit: contain;
    }

    .product-name,
    .product-name a {
        font-size: 15px;
        color: var(--black);
        margin: 0 0 5px;
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        min-height: 32px;
        word-break: break-word;
    }
    .product-item .new-price {
        font-size: 17px;
        text-align: center;
    }
    .product-item .old-price {
        text-decoration: line-through;
        font-size: 13px;
        color: #888;
    }

    .bestsaller {
        width: 40px;
        height: 40px;
        border-radius: 40px;
        background-color: #e70000;
        color: #fff;
        text-align: center;
        display: flex;
        justify-content: center;
        align-items: center;
        text-transform: uppercase;
        font-size: 10px;
        line-height: 1;
        position: absolute;
        top: 10px;
        left: 25px;
    }
    .out-of-stock .bestsaller {
        display: none;
    }

    .readmore-items {
        display: flex;
        justify-content: center;
        align-items: center;
        margin: 16px 0;
    }

    .readmore-items .readmore-more-product {
        position: relative;
        background-color: #ffffff;
        border: solid 2px #34b0dd;
        color: #34b0dd;
        padding: 8px 16px;
        outline: none;
        cursor: pointer;
        user-select: none;
        border-radius: 24px;
        display: block;
        font-size: 14px;
        transition: all .3s;
    }

    .readmore-items .readmore-more-product:hover {
        background-color: #34b0dd;
        color: #fff;
        transition: all .3s;
    }
    .readmore-items svg {
        position: inherit;
        top: 4px;
    }
}
