@media (max-width: 959px) {
    :root {
        --page-padding: 10px;
    }
}

.product-card-inner-pc {
    position: relative;
    height: 100%;
    width: 100%;
    display: block;
}

.product-first-featured img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 34 / 51;
}

.product-card-inner-pc:hover>.product-first-featured {
    display: none;
}

.product-swiper {
    height: 100%;
    width: 100%;
    display: flex;
}

.product-swiper-wrapper {
    position: relative;
    left: -100%;
    display: flex;
    flex-shrink: 0;
}

.swiper-wrapper-transform {
    transition-duration: 500ms;
}

.product-card-inner-pc:hover>.product-swiper {
    display: flex !important;
    opacity: 1 !important;
}

.product-swiper .product-swiper-slide {
    position: relative;
    /* flex: 1; */
}

.product-swiper .product-swiper-slide img {
    object-fit: cover;
    height: 100%;
    width: 100%;
    /* border-radius: 15px; */
}

.product-card-size-wrapper {
    width: 100%;
    min-height: 20px;
}

.product-swiper-button-prev,
.product-swiper-button-next {
    position: absolute;
    top: 50%;
    height: 30px;
    width: 30px;
    transform: translateY(-50%);
    z-index: 1;
    display: none;
    background-color: white;
    border-radius: 50%;
}

.product-swiper-button-prev {
    left: 10px;
}

.product-swiper-button-next {
    right: 10px;
}

.product-swiper-pagination {
    position: absolute;
    bottom: 0px;
    left: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transform: translateX(-50%);
    width: 100%;
    z-index: 2;
}

.product-swiper-pagination-dot {
    flex: 1;
    height: 3px;
}

.product-swiper-pagination-dot[active] {
    background-color: #56585D;
}

.product-card-inner-pc:hover>.product-swiper .product-swiper-button-prev,
.product-card-inner-pc:hover>.product-swiper .product-swiper-button-next {
    display: block;
}

.product-card-size-item {
    display: inline-block;
    position: relative;
    height: 10px;
    line-height: 10px;
    padding-right: 6px;
    /* margin-right: 5px; */
    /* margin-bottom: 5px; */
    text-align: center;
    /* border: 1px solid #d5d5d5; */
    /* border-radius: 15px; */
    font-size: 8px;
    vertical-align: middle;
    text-transform: uppercase;
}

.product-card-size-item[disabled] {
    color: rgba(var(--color-text), 0.1);
    background-color: transparent;
    cursor: not-allowed;
}

.product-card-size-item[disabled]::before {
    content: "";
    position: absolute;
    left: -2px;
    top: 50%;
    width: calc(100% - 15px);
    border-bottom: 1px solid rgba(var(--color-text), 0.1);
    transform: rotate(-35deg);
    opacity: 1;
}

.card .card__inner {
    /* border-radius: 15px; */
}

.product-preorder-tag {
    position: absolute;
    left: 0;
    top: 0;
    height: 22px;
    /* line-height: 22px; */
    border-radius: 5px;
    color: black;
    /* background-color: black; */
    text-align: center;
    z-index: 2;
    padding: 8px 10px;
    font-weight: 300;
    font-size: 8px;
    text-transform: uppercase;
    display: flex;
    justify-content: center;
    align-items: center;
    /* font-family: Montserrat; */
}

.product-card-inner-m {
    display: block;
    position: relative;
    height: 100%;
    width: 100%;
}

.card-inner-m-item {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition-duration: 500ms;
    transition-property: all;
    z-index: 1;
}

.card-inner-m-item[active] {
    opacity: 1;
}

.card-inner-m-item img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.card__inner a {
    padding-bottom: 2px;
}

.product-card-pagination {
    position: absolute;
    bottom: -2px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
}

.product-card-pagination-dot {
    flex: 1;
    height: 2px;
    background-color: #fff;
}

.product-card-pagination-dot[active] {
    background-color: #56585D;
}

.product-card-sold_out {
    position: absolute;
    left: 0;
    top: 0;
    /* height: 22px; */
    z-index: 2;
    padding: 0px 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #000;
}

.product-card-sold_out * {
    text-align: center;
    font-weight: 300;
    font-size: 8px;
    text-transform: uppercase;
    color: white;
}

.product-card-sale {
    position: absolute;
    left: 0;
    top: 0;
    background-color: #8d0203;
    z-index: 2;
    padding: 0px 8px;
}

.product-card-sale * {
    color: white;
    text-transform: uppercase;
    font-size: 12px;
}

@media (max-width: 959px) {

    .product-preorder-tag,
    .product-card-sold_out * {
        font-size: 12px;
    }

    .product-card-size-item {
        font-size: 10px;
        color: #5d5d5d;
        /* width: 20px; */
    }
}

.product-card-size-content {
    text-align: start;
}

@media (min-width: 960px) {

    .product-preorder-tag,
    .product-card-sold_out * {
        font-size: 10px;
    }

    .product-card-size-item {
        font-size: 16px;
        padding-right: 20px;
        color: #5D5D5D;
    }
    

    .product-card-sale * {
        font-size: 14px;
    }

    .product-card-sale {
        padding: 4px 10px 2px 10px;
    }
    
    .card .card__content .product__title.product__title {
        /* margin-bottom: -5px; */
        line-height: 1.2em;
    }
}

@media (min-width: 960px) {
    .loading-logo {
        transform: translate(-50%, -50%) scale(0.2);
    }
}

@media (max-width : 959px) {
    .product-poster-item {
        width: 100%;
    }

    .poster-item-m-common {
        padding-bottom: 80.39px;
    }

    .product-poster-item a,
    .poster-item-m-common a {
        display: block;
        height: 100%;
    }

    .product-poster-item a img,
    .poster-item-m-common a img {
        width: 100%;
        height: 100%;
    }

    .poster-item-m-common-1 {
        width: 50%;
    }

    .poster-item-m-common-2 {
        width: 100%;
        padding-bottom: 0;
    }

    .poster-item-m-common-3 {
        width: 100%;
        padding-bottom: 0;
    }

    .poster-item-m-common-4 {
        width: 100%;
        padding-bottom: 0;
    }
}

@media (min-width: 960px) {
    .poster-item-pc-common a {
        display: block;
        height: 100%;
        padding-bottom: 100px;
    }

    .poster-item-pc-common a img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .poster-item-pc-common-1 {
        width: 25%;
    }

    .poster-item-pc-common-2 {
        width: 50%;
    }

    .poster-item-pc-common-3 {
        width: 75%;
    }

    .poster-item-pc-common-4 {
        width: 100%;
    }
}

@media (max-width: 959px) { 
    .collection-hero__title {
        text-align: center;
        font-size: 19px;
        font-weight: 500;
    }
}

@media (max-width: 959px) {
    .card .card__content .product__title {
        font-size: 13px;
        /* letter-spacing: -0.05em; */
        text-align: start;
        padding-right: 0;
        color: #29252c;
        /* font-weight: 500; */
        line-height: 14px;
    }
}

.card .card__content .product__title {
    margin-bottom: 0;
    /* display: flex; */
    align-items: center;
}

.card .card__content .product__title span.product-title-span {
    display: inline-block;
    max-width: 100%;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.cut-scenes {
    position: fixed;
    display: none;
    top: 0;
    width: 100vw;
    height: 100vh;
    background-color: #ffffff;
    z-index: 99999;
}

/* .cut-scenes svg {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 30vw;
    height: 30vw;
    padding: 20px;
    transform: translate(-50%, -50%);
    animation: cut-scenes-animate 1s linear infinite;
} */

/* @keyframes cut-scenes-animate {
    0% {
        opacity: 0.7;
    }

    50% {
        opacity: 0.1;
    }

    100% {
        opacity: 0.7;
    }
} */

/* @keyframes cut-scenes-animate {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
} */

.cut-scenes-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(0deg);
    width: 110px;
    transform-origin: center;
    animation: cut-scenes-rotate 2s linear infinite;
}

.cut-scenes-loading circle {
    fill: none;
    stroke: #040000;
    stroke-width: 1;
    stroke-dasharray: 1, 200;
    stroke-dashoffset: 0;
    stroke-linecap: round;
    animation: dash 1.5s ease-in-out infinite;
}

.cut-scenes-logo {
    position: absolute;
    width: 55px;
    height: 55px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

@keyframes cut-scenes-rotate {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

@keyframes dash {
    0% {
        stroke-dasharray: 1, 200;
        stroke-dashoffset: 0;
    }

    50% {
        stroke-dasharray: 90, 200;
        stroke-dashoffset: -35px;
    }

    100% {
        stroke-dashoffset: -125px;
    }
}

@media (max-width: 959px) {
    .product-count {
        display: none;
    }

    .product-list-container {
        margin-top: 10px !important;
    }

    .facets-wrapper.facets-wrapper {
        background-color: transparent !important;
        max-width: 100vw;
        margin: 0;
        padding: 0
    }
}

/* .filter-plugin-horizon-con__fixed {
    position: fixed;
    z-index: 5;
} */

/* @media (min-width: 960px) {
    .filter-plugin-horizon-con__fixed {
        width: 60%;
    }
} */

.product-list-content {
    position: relative;
    --grid-mobile-horizontal-space: 9px;
}

.product-list-loading {
    position: absolute;
    width: 100%;
    top: -1.5em;
    z-index: 2;
    background-color: #f4f4f4;
    /* animation: vitrualListLoding 3s ease-in-out infinite; */
    /* transition-duration: 0.5ms; */
    transition-property: all;
}

.product-list-loading svg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 200px;
    /* transition-duration: 0.5ms; */
}

@keyframes vitrualListLoding {
    0% {
        opacity: 0.7;
    }

    50% {
        opacity: 0.1;
    }

    100% {
        opacity: 0.7;
    }
}

.product-list-container {
    position: relative;
}

.collection-loading {
    position: absolute;
    display: none;
    width: 50px !important;
    height: auto !important;
    top: 100px;
    left: 50%;
    transform: translateX(-50%) !important;
    object-fit: contain !important;
    z-index: 1;
    animation: my-loading 2s infinite linear !important;
    border: unset !important;
    margin: 0 !important;
}

.collection[loading] {
    filter: blur(2px);
    opacity: 0.5;
    pointer-events: none;
}

.collection-loading[loading] {
    display: block;
}

.cut-scenes {
    position: fixed;
    display: none;
    top: 0;
    width: 100vw;
    height: 100vh;
    background-color: #ffffff;
    z-index: 99999;
}

.cut-scenes-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(0deg);
    width: 110px;
    transform-origin: center;
    animation: cut-scenes-rotate 2s linear infinite;
}

.cut-scenes-loading circle {
    fill: none;
    stroke: #040000;
    stroke-width: 1;
    stroke-dasharray: 1, 200;
    stroke-dashoffset: 0;
    stroke-linecap: round;
    animation: dash 1.5s ease-in-out infinite;
}

.cut-scenes-logo {
    position: absolute;
    width: 55px;
    height: 55px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

@keyframes cut-scenes-rotate {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

@keyframes dash {
    0% {
        stroke-dasharray: 1, 200;
        stroke-dashoffset: 0;
    }

    50% {
        stroke-dasharray: 90, 200;
        stroke-dashoffset: -35px;
    }

    100% {
        stroke-dashoffset: -125px;
    }
}

.infinite-scroll-loading.loading~.bb-infinite-load-all {
    display: none;
}

.bb-infinite-load-all {
    text-align: center;
    font-size: 15px;
    margin-top: 30px;
}

.tag-atelier {
    position: absolute;
    bottom: -2px;
    width: 100%;
    color: #fff;
    background-color: #000;
    text-align: center;
    z-index: 1;
    padding-top: 3px;
}

/* bb-product-card-desktop:hover .tag-atelier {
    bottom: 1px;
}

bb-product-card-desktop:hover .product-swiper-pagination {
    background-color: #000;
} */

.bb-fields-banner img,
.bb-fields-banner video {
    width: 100%;
    object-fit: cover;
    height: auto;
}

/* 筛选器左对齐 */
@media (max-width: 959px) {
    .filter-m-trigger {
        justify-content: start !important;
        text-transform: uppercase;
        font-size: 13px !important;
    }
}

/* 筛选器面板样式调整 */
@media (max-width: 959px) {
.filter-drawer-content.filter-drawer-content {
        padding-top: 60px !important;
    }

    .filter-plugin-scroll-content.filter-plugin-scroll-content {
        top: 118px;
    }

    #filter-drawer-con .filter-drawer-content .filter-drawer-inner .filter-plugin-scroll-content {
        /* height: calc(100% - 208px) !important; */
    }

    .filter-drawer-header span {
        font-size: 16px !important;
        color: #343434 !important;
        font-weight: 600;
        text-transform: uppercase;
    }

    .filter-drawer-header svg {
        width: 12px;
        height: 12px;
    }

    .filter-selected-con {
        border-top: 0.75px solid #959595;
    }

    #filter-drawer-con .filter-drawer-content .filter-drawer-header {
        border-bottom: 0px !important;
    }

    .filter-folder-content {
        border-bottom: 0.75px solid #959595 !important;
    }

    .filter-checkbox-con {
        padding: 10px 0 10px 25px !important;
    }

    .filter-checkbox-con .filter-checkbox-icon {
        border: 0px !important;
    }

    .filter-checkbox-con.is-checked .filter-checkbox-icon:before {
        content: '√' !important;
        top: 7px !important;
        border-color: unset !important;
        background-color: unset !important;
    }

    .filter-checkbox-title span {
        color: #5d5d5d !important;
        font-size: 13px !important;
    }

    .filter-checkbox-count {
        font-size: 13px;
    }

    .filter-more-btn, .filter-less-btn {
        float: right;
        color: #343434;
        text-transform: uppercase;
    }

    .filter-more-btn span,
    .filter-less-btn span {
        font-size: 13px;
    }

    .facets__summary svg,
    .filter-m-trigger svg {
        transform: translateY(-1px);
    }

    .filter-folder-header span span,
    .filter-folder-header svg {
        color: #343434 !important;
    }

    /* 排序样式调整 */

    .js-mobile-sorting .modal__content {
        width: 340px;
        height: 100%;
        margin-left: 0;
        align-items: unset;
        padding-top: 60px;
        max-width: 95%;
    }

    .facets__sorting-title {
        color: #343434;
        text-transform: uppercase;
    }

    .sort-option span {
        /* text-transform: capitalize;
        font-size: 13px; */
        text-transform: uppercase;
        font-size: 16px;
        color: #343434;
        font-weight: 500;
    }

    .facets__sorting-title-line {
        background-color: #959595 !important;
        height: 0.75px !important;
    }

    .sort-option {
        color: #5d5d5d !important;
        font-size: 13px !important;
    }

    /* @media (max-width: 959px) {
        body {
            overflow-x: hidden;
            max-width: 100vw;
        }
    } */

    .filter-checkbox-con[data-filter-value="one size"] .filter-checkbox-title {
        text-transform: capitalize;
    }

    .filter-checkbox-con[data-filter-value="xxs"] .filter-checkbox-title,
    .filter-checkbox-con[data-filter-value="xs"] .filter-checkbox-title,
    .filter-checkbox-con[data-filter-value="s"] .filter-checkbox-title,
    .filter-checkbox-con[data-filter-value="m"] .filter-checkbox-title,
    .filter-checkbox-con[data-filter-value="l"] .filter-checkbox-title,
    .filter-checkbox-con[data-filter-value="xl"] .filter-checkbox-title,
    .filter-checkbox-con[data-filter-value="xxl"] .filter-checkbox-title {
        text-transform: uppercase;
    }

    /* 商品列表样式调整 */

    .collection {
        overflow-x: hidden;
    }

    .card__content .card__content-bottom {
        /* height: 18px !important; */
    }

    .price .price__regular .price-item--regular {
        font-size: 13px !important;
        color: #29252c !important;
        font-weight: 500;
    }

    .product-list-content li {
        /* margin-top: 30px !important; */
    }

    .product-list-content {
        /* margin-top: -30px; */
    }

    .price__sale span {
        font-size: 13px;
    }

    .bb-quick-add-price .price__sale span {
        font-size: 12px;
    }

    .price-position-origin.price-position-origin.price-position-origin span {
        font-size: 10px;
    }

    .price__regular {
        line-height: 13px;
    }

    .product-card-size-content {
        padding-bottom: 2px;
    }
}

@media (min-width: 960px) {
    .bb-page-width {
        margin-left: auto;
        margin-right: auto;
        padding-left: var(--page-padding);
        padding-right: var(--page-padding);
        max-width: calc(var(--page-padding) * 2 + var(--page-width));
        width: 100%;
    }

    .filter-folder-trigger span,
    .js-sorting span,
    #ProductCountDesktop span {
        font-size: 16px !important;
    }

    #ProductCountDesktop {
        /* transform: translateY(-5px); */
    }

    .product-card-size-content {
        padding: 2px 0 2px 0;
    }
}