@media screen and (max-width: 959px) {
    .featured-collection .grid__item:only-child {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

@media screen and (max-width: 959px) {
    .featured-collection .slider.slider--tablet {
        margin-bottom: 15px;
    }
}

@media screen and (max-width: 959px) {
    .featured-collection .slider--tablet.product-grid {
        /* scroll-padding-left: 15px; */
    }
}

.featured-collection__title-group {
    margin-bottom: 20px;
}

.featured-collection__title {
    text-align: center;
}

@media screen and (min-width: 960px) {
    .featured-collection__title-group {
        margin-bottom: 40px;
    }
}

.featured-collection__title .title:not(:only-child) {
    margin-bottom: 10px;
}

.featured-collection__title-group {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    overflow: hidden;
    /* padding-right: 40px; */
    margin: 0;
}

.featured-collection__title-line {
    display: inline-block;
    width: 203px;
    height: 1px;
    background-color: rgb(var(--color-text));
    margin-left: 24px;
}

@media screen and (max-width: 959px) {
    .featured-collection__title-group {
        padding-right: 0;
        justify-content: center;
    }

    .featured-collection__title-line {
        width: 101px;
        margin-left: 12px;
    }
}

.featured-collection__title--ellipsis {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-weight: 700;
    font-family: 'Libre Baskerville';
    font-size: 24px;
}

.featured-collection__tabs {
    display: flex;
    justify-content: center;
    /* gap: 20px; */
    /* margin-bottom: 40px; */
    margin-bottom: 20px;
    flex-wrap: nowrap;
    overflow-x: auto;
    align-items: center;
    flex: 1;
    /* margin-right: 20px; */
}

@media screen and (max-width: 959px) {
    .featured-collection__tabs {
        margin-right: 0;
        margin-bottom: 20px;
        /* justify-content: center; */
    }

    .featured-collection__tabs.flex-start {
        justify-content: flex-start;
    }
}

.featured-collection__tabs-item {
    white-space: nowrap;
    cursor: pointer;
    /* opacity: 0.4; */
    text-transform: uppercase;
    padding: 10px 23px;
    background-color: rgb(var(--color-button-background-normal));
    color: rgb(var(--color-button-text-normal));
    border: 1px solid rgb(var(--color-button-border-normal));
    border-radius: var(--color-button-border-radius);
}

@media screen and (max-width: 959px) {
    .featured-collection__tabs-item {
        padding: 5px 10px;
        font-size: 16px;
    }
}

.featured-collection__tabs-item--active {
    opacity: 1;
    background-color: rgb(var(--color-button-background));
    color: rgb(var(--color-button-text));
    /* border-radius: var(--btn-border-radius); */
    border: 1px solid rgb(var(--color-button-border));
    text-decoration: underline;
}

.featured-collection slide-pagination {
    margin-bottom: 50px;
}

.featured-collection featured-collection-tabs>div {
    align-items: center;
}

.featured-collection .collection__view-all a:not(.link) {
    margin-top: 10px;
}

.featured-collection__mb-view-all {
    position: relative;
    display: block;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: rgba(var(--color-text), 0.05);
    border-radius: var(--product-card-border-radius);
}

.featured-collection__mb-view-all .mb-view-all__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    padding: 0;
    border-radius: 50%;
    position: relative;
    background-color: rgb(var(--color-button-background));
    color: rgb(var(--color-button-text));
    transform: rotate(-90deg);
}

.featured-collection__mb-view-all .mb-view-all__text {
    margin-top: 16px;
    text-align: center;
    color: rgb(var(--color-text));
}

@media screen and (max-width: 959px) {
    .featured-collection .slider__slide {
        scroll-snap-align: end;
    }
}

@media screen and (min-width: 960px) {
    .featured-collection slider-component:not(.page-width) {
        padding: 0;
    }
}

.featured-collection__view-all a:not(.link) {
    margin-top: 10px;
}

.featured-collection .slider {
    overflow-y: hidden;
}

.featured-collection .slider-button {
    /* border-radius: 2px; */
    height: 44px;
    width: 44px;
    color: rgb(var(--color-button-text));
    background-color: rgb(var(--color-button-background));
    position: absolute;
    top: 40%;
    bottom: 100%;
    margin: auto;
    border-radius: 50%;
    background-color: #fff;
    border: 1px solid #e8e8e1;
}

.featured-collection .slider-button svg {
    width: 24px;
    height: 24px;
    color: #000;
}

.featured-collection .slider-button--prev {
    left: 15px;
}

.featured-collection .slider-button--next {
    right: 15px;
}

.featured-collection .slider-button[disabled] {
    /* opacity: 0.4; */
    opacity: 0;
    cursor: not-allowed;
}

.featured-collection .slider-button[disabled] .icon {
    color: rgba(var(--color-button-text));
}

@media screen and (max-width: 959px) {
    .featured-collection .slider:not(.slider--mobile) {
        flex-wrap: wrap;
    }

    .featured-collection .slider.slider--mobile {
        margin-bottom: 0;
    }

    .featured-collection .slider--mobile .slider__slide {
        width: calc((200vw - var(--page-padding)) / (2 * var(--mobile-cols) + 1));
    }

    .featured-collection .slider-mobile--full {
        padding-left: 0;
        padding-right: 0;
    }

    .featured-collection .slider--full {
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        scroll-padding-left: 0;
        scroll-padding-right: 0;
    }

    .featured-collection .slider--full .slider__slide,
    .featured-collection .slider--full .grid__item {
        padding-left: 0;
        padding-right: 0;
    }

    .featured-collection .slider--full.slider--mobile .slider__slide,
    .featured-collection .slider--full.slider--mobile .grid__item {
        width: calc((100% - (33.3% / var(--mobile-cols))) / var(--mobile-cols));
        flex-grow: 1;
    }

    .featured-collection .slider--full .card .card__content {
        padding: 0 8%;
    }

    .featured-collection .slider--full .card .card__content .card__button {
        left: 0;
    }

    .featured-collection .slider--full .global-product-card-border-shadow,
    .featured-collection .slider--full .card__media {
        border-radius: 0 !important;
    }

    .featured-collection #Slider-swatch .slider__slide {
        width: unset;
    }

    .featured-collection .slider.slider--mobile.columns_mobile-3 .slider__slide {
        width: calc(var(--grid-horizontal-space) + 85px);
    }
}

@media screen and (min-width: 960px) {
    .featured-collection .slider:not(.slider--desktop) {
        flex-wrap: wrap;
    }

    .featured-collection .slider--mobile:not(.slider--desktop)+.slider-buttons {
        display: none;
    }

    .featured-collection .slider--desktop {
        /* scroll-padding-left: var(--page-padding); */
        scroll-padding-left:0px;
        padding: 0 !important;
        margin: 0;
    }
}

/* fix:safari svg  */

.featured-collection .product-card-wrapper .placeholder svg {
    width: 100%;
}

@media screen and (max-width: 959px) {
    .featured-collection__tabs {
        gap: 10px;
    }
}

/* 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 */

.slide-pagination.display-none-tablet.new-hover {
    display: none;
}

.featured-collection__tabs-item.new-featured-collection__tabs-item {
    font-size: 14px;
    font-family: Poppins;
    background-color: #fff;
    padding: 10px;
    color: #000000;
}

.collection__view-all.text-center {
    display: none;
}

.plugin-color-board.high-layer {
    display: none;
}

.card .card__content {
    margin-top: 10px;
    position: relative;
}

.card .card__content .product__title {
    margin: 0;
    margin-bottom: 0;
    text-align: var(--product-card-content-align);
}

.card .card__content .product__title {
    margin: 0;
    margin-bottom: 0;
    text-align: var(--product-card-content-align);
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    font-family: 'Libre Baskerville';
    font-size: 14px;
}

.price .price__regular .price-item--regular {
    color: rgb(var(--color-sale));
    font-size: 14px;
    font-weight: 400 !important;
    /* color: #000000; */
    color: #e53d3d;    font-family: Poppins;
}

.slider-mobile-gutter {
    padding: 0 60px;
    max-width: 1500px;
}

.featured-collection__tabs-item.new-featured-collection__tabs-item:hover {
    text-decoration: underline;
}

.featured-collection__title.featured-collection__title--ellipsis {
    position: relative;
    padding: 0 20px;
    z-index: 1;
}

.featured-collection__title.featured-collection__title--ellipsis:before {
    content: "";
    position: absolute;
    width: 100%;
    height: 20px;
    left: 0;
    top: 11px;
    background: #fceedc;
    z-index: -1;
}

@media (max-width:959px) {
    .featured-collection__title.featured-collection__title--ellipsis:before {
        content: "";
        position: absolute;
        width: 100%;
        height: 20px;
        left: 0;
        top: 10px;
        background: #fceedc;
        z-index: -1;
    }

    .featured-collection__title.featured-collection__title--ellipsis {
        position: relative;
        padding: 0 20px;
        z-index: 1;
        padding-bottom: 10px;
    }
}

@media screen and (max-width:767px) {
    .featured-collection__tabs {
        margin-right: 0;
        margin-bottom: 20px;
        justify-content: left;
    }

    .featured-collection__title-group {
        padding-right: 0;
    }

    .featured-collection__title-group.left {
        justify-content: left;
    }

    .featured-collection__title-group.center {
        justify-content: center;
    }
    
    .featured-collection featured-collection-tabs>div {
        /* align-items: center; */
        padding-right: 0;
    }

    .featured-collection__title.featured-collection__title--ellipsis {
        position: relative;
        padding: 0;
        z-index: 1;
        font-size: 22px;
    }

    .featured-collection__title.featured-collection__title--ellipsis:before {
        content: "";
        position: absolute;
        width: 100%;
        height: 20px;
        left: 0;
        top: 15px;
        background: #fceedc;
        z-index: -1;
    }

    .featured-collection__tabs-item.new-featured-collection__tabs-item {
        font-size: 14px;
        font-family: Poppins;
        background-color: #fff;
        padding: 10px;
        color: #000000;
        padding-left: 0;
    }

}

@media (max-width:768px) {
    .slider-mobile-gutter {
        padding: 0 20px;
        max-width: 1500px;
    }

    .card .card__content .product__title {
        font-size: 11px;
        font-weight: 600;
    }

    .price .price__regular .price-item--regular {
        font-size: 12px;
    }

    .price .price__sale .price-item--sale {
        font-size: 12px;
    }
    .card .card__content {
    margin-top: 5px;
    position: relative;
}
}

.card .card__badge.right_top {
    top: 0;
    right: 0;
    border-radius: 0;
}

.featured-collection__tabs.flex-start::-webkit-scrollbar {
    display: none;
}
/* .featured-overflow-hiden{
    padding: 0 !important;
    width: 94% !important;
    margin: 0 auto !important;
    overflow: hidden !important;
} */
