.collection__item__image {
    position: relative;
}

/* 标题叠在图片上的按钮样式：黑底、白字、白描边、底部居中 */
.collection-card__title-btn {
    position: absolute;
    inset-block-end: 64px;
    inset-inline: 0;
    margin-inline: auto;
    z-index: 2;
    height: 48px;
    min-width: 200px;
    padding: 0 24px;
    font-size: 13px;
    line-height: 17px;
    letter-spacing: 1.04px;
    white-space: nowrap;
}

.collection-card__title-btn-mobile {
    display: none;
}

@media screen and (max-width: 959px) {
    .collection-list-new {
        padding-inline: 0;
    }

    .collection-list-new .title-wrapper {
        margin-block-end: 28px;
        font-size: 28px;
        line-height: 30px;
    }

    .collection-list-new .collection-list__slider__container {
        row-gap: 8px;
        width: 100%;
        overflow: hidden;
    }

    .collection-card__title-btn-pc {
        display: none;
    }

    .collection-card__title-btn-mobile {
        display: block;
        height: unset;
        min-width: unset;
        padding: 0;
        font-size: 12px;
        line-height: 16px;
        letter-spacing: 0.96px;
        inset-block-end: 16px;
        color: #FCFBF0;
        width: 84%;
        text-decoration: underline;
        text-underline-offset: 2px;
        white-space: break-spaces;
        font-family: "Futura-Dem";
        text-transform: uppercase;
    }
}

.collection__item__image img {
    width: 100%;
    height: auto;
    position: absolute;
    inset-inline-start: 0;
    inset-block-start: 0;
    width: 100%;
    height: 100%;
}

.collection__item__image svg {
    width: 100%;
    height: auto;
    position: absolute;
    inset-inline-start: 0;
    inset-block-start: 0;
    width: 100%;
    height: 100%;
}

.collection__item__name {
    margin-block-start: 0px !important;
}

.collection__scroll__item {
    width: 100%;
}

/* The ipad end responds to the mobile end in vertical screen */

/* @custom-media --tablet (max-width: 959px); */

/* @custom-media --gt-mobile (min-width: 751px); */

/* detectingScreen need to consider the configuration of the tablet */