.t888-list-loadmore-btn{
    font-size: .875rem;
    padding: 1rem 2rem;
    color: var(--secondary-color);
    background: var(--primary-color);
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    display: inline-flex;
}
.t888-list-loadmore-wrap{
    text-align: center;
}
.t888-list-loadmore-btn.loading {
  position: relative;
  pointer-events: none;
  opacity: 0.5;
}
.t888-list-loadmore-btn.loading::before{
    order: 2;
}

/* Match the legacy List Product widget to the Shop Product Grid card. */
.listsp .products.grid {
    align-items: start;
}

.listsp .products.grid > .product-item,
.listsp .grid-product-item,
.listsp .product-item-inner {
    min-width: 0;
}

.listsp .grid-product-item {
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
}

.listsp .product-item-inner {
    display: flex;
    flex-direction: column;
}

.listsp .product-thumbnail-outer,
.listsp .product-thumbnail-wrapper {
    width: 100%;
    margin: 0;
    padding: 0;
    border: 0;
}

.listsp .product-thumbnail-wrapper {
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #f3f7fb;
}

.listsp .product-thumbnail-wrapper .product-thumbnail {
    position: relative;
    width: 100%;
    height: 100%;
    padding-top: 0 !important;
    border: 0;
    background: #f3f7fb;
}

.listsp .product-thumbnail-wrapper .product-link {
    position: absolute;
    inset: 0;
}

.listsp .product-thumbnail-wrapper .product-link img {
    display: block;
    width: 100% !important;
    height: 100% !important;
    margin: 0;
    padding: 0;
    object-fit: contain !important;
    transition: transform .35s ease;
}

.listsp .grid-product-item:hover .product-thumbnail-wrapper img {
    transform: scale(1.055);
}

.listsp .product-badge {
    z-index: 3;
    display: grid;
    width: 42px;
    height: 42px;
    padding: 0;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
}

.listsp .product-badge.new {
    background: #08b6c5;
}

.listsp .product-badge.hot,
.listsp .product-badge.sale {
    background: #1d90fd;
}

.listsp .add-cart-quickview {
    position: absolute;
    z-index: 4;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
    background: #1f1f1f;
    opacity: 0;
    visibility: hidden;
    transform: translateY(100%);
    transition: transform .28s ease, opacity .28s ease, visibility .28s ease, background-color .25s ease;
}

.listsp .grid-product-item:hover .add-cart-quickview,
.listsp .grid-product-item:focus-within .add-cart-quickview {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.listsp .add-cart-quickview:hover {
    background: #1d90fd;
}

.listsp .add-cart-quickview a,
.listsp .add-cart-quickview button {
    display: flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 8px 14px;
    border: 0;
    background: transparent;
    color: #fff;
    font-size: 12px;
    line-height: 1.25;
    text-decoration: none;
    box-shadow: none;
}

.listsp .add-cart-quickview a::after,
.listsp .add-cart-quickview button::after {
    content: none !important;
}

.listsp .product-title {
    order: 3;
    min-width: 0;
    margin: 4px 0 0;
    color: #111;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.45;
    text-align: left;
}

.listsp .product-title a {
    color: inherit;
    text-decoration: none;
}

.listsp .product-price {
    order: 2;
    display: flex;
    min-height: 18px;
    align-items: center;
    justify-content: flex-start !important;
    gap: 4px;
    margin: 14px 0 0;
    color: #252525;
    font-size: 12px;
    line-height: 1.45;
    text-align: left;
    white-space: nowrap;
}

.listsp .product-price .regular-price {
    color: #999;
    font-size: .88em;
}

.listsp .product-price .sale-price {
    color: #252525;
}

.listsp .pag-nav {
    display: flex;
    justify-content: center;
    margin-top: 42px;
}

.listsp .pag-nav a,
.listsp .pag-nav span {
    display: flex;
    min-width: 38px;
    height: 38px;
    align-items: center;
    justify-content: center;
    padding: 0 10px;
    border: 1px solid #e8e8e8;
    color: #555;
    text-decoration: none;
}

.listsp .pag-nav .current {
    color: #1d90fd;
}

@media (hover: none), (pointer: coarse) {
    .listsp .add-cart-quickview {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
}

@media (max-width: 767px) {
    .listsp .product-badge {
        width: 36px;
        height: 36px;
    }
}

@media (max-width: 1024px) {
    .t888-list-product-wrapper.is-empty {
        margin-bottom: 100px;
    }
}
