.simplepage {
    color: black;
    font-weight: 600;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    display: none;
}

.simplepage .simplenone,
.simplepage p {
    display: none !important;
}

.simplepage .simplediv {
    padding-left: 5px;
    margin-left: 10px;
    border-left: 1px dashed lightgray;
}

.simplepage ul.pagination {
    margin: 0 !important;
}

.simplepage .pagination.pagination-simple>li a {
    margin: 0px 5px !important;
}

ul {
    list-style: none;
    padding: 0px 15px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

/* dt-shop-item */
.dt-shop-items-col {
    width: calc(25% - 7px);
}

@media (max-width: 991px) {
    .dt-shop-items-col {
        width: calc(33.3333% - 7px);
    }
}

@media (max-width: 575px) {
    .dt-shop-items-col {
        width: calc(50% - 7px);
        ;
    }
}

.dt-shop-item {
    box-sizing: border-box;
    padding: 8px;
    background: white;
    border-radius: 10px;
    margin-bottom: 8px;
}

.dt-shop-item .product_img {
    width: 100%;
    aspect-ratio: 1/1;
    background: white;
    position: relative;
    background: white;
    background-size: 200% 200%;
    animation: bg 3s infinite;
    border-bottom: solid 1px rgb(173, 173, 173);
    overflow: hidden;
}

@keyframes bg {

    0%,
    100% {
        background-position: 0%;
    }

    50% {
        background-position: 100%;
    }
}

.dt-shop-item .product_img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.dt-shop-item .product_img .tags {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    position: absolute;
    bottom: 0px;
    width: 100%;
    padding: 5px 10px;
}

.dt-shop-item .product_img .tags div {
    color: black;
    font-weight: 600;
    font-size: 12px;
    font-family: 微軟正黑體;
}

.dt-shop-item .goodbrand {
    border-bottom: 1px solid rgba(0, 0, 0, 0.15);
    overflow: hidden;
    margin: 0;
    padding: 5px 10px;
    text-align: left !important;
    font-weight: 550;
    border-bottom: 1px dashed rgb(173, 173, 173);
}

.dt-shop-item .goodbrand div {
    color: black;
    font-size: 14px;
}

.dt-shop-item .goodbrand .brand_cn {
    color: gray;
    font-size: 12px;
}

.dt-shop-item .goodname {
    padding: 10px;
    display: block;
    margin: 0px;
}

.dt-shop-item .goodname .name_en {
    font-size: 12px;
    letter-spacing: 0px;
    color: gray;
    margin-top: 0px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    height: 18px;
}

.dt-shop-item .goodname .name_cn {
    font-size: 14px;
    letter-spacing: 0.5px;
    color: black;
    font-weight: 550;
    margin: 5px 0px 0px 0px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
    height: 45px;
}

.dt-shop-item .price {
    padding: 0px 10px 10px 10px;
    color: #434343;
    font-weight: 600;
    display: flex;
    justify-content: flex-start;
    align-items: baseline;
    font-size: 14px;
}

.dt-shop-item .price .line-through {
    text-decoration: line-through;
    margin-right: 10px;
    font-weight: 500;
}


/*pagination*/
.simplediv .fa {
    border: none !important;
    padding: 0px;
}

.pagination.pagination-simple>li {
    display: inline-flex;
    justify-content: center;
    align-items: center;
}

.pagination.pagination-simple>li>a {
    color: #4f4f4f !important;
    font-weight: 550 !important;
    transition: all .2s;
    height: 24px;
    width: 24px;
    text-align: center;
    padding: 0px !important;
    line-height: 24px;
    font-size: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.pagination.pagination-simple>li>a:hover {
    color: #999999 !important;
}

.pagination.pagination-simple>li.active>a {
    color: black !important;
    font-weight: 600;
}

.pagination {
    margin: 5px 0;
    padding: 0;
}

.page_navigation_div {
    margin-top: 20px;
}

.page_navigation_div p {
    color: black;
    text-align: center;
    margin: 20px 0 40px !important;
    letter-spacing: 2px;
}

#productlist {
    margin-bottom: 0px !important;
}

/* 間隔 */
.list-inline>li {
    padding-right: 5px !important;
    padding-left: 5px !important;
}

@media (max-width: 430px) {
    .list-inline>li {
        padding-right: 3px !important;
        padding-left: 3px !important;
    }
}