/* pc弹窗加购 */


/* 手机 */
.mb_add_cart_product {
    /* position: relative; */
}

.mb_add_cart_product .quick-add-button, .mb_add_cart_product .quick-add-buttoncartdrawer{
    text-align: center;
    left: 0;
    bottom: calc(100% + 20px);
    white-space: nowrap;
    overflow: hidden;
    /* padding: 20px; */
    border-bottom-left-radius: var(--product-card-border-radius);
    border-bottom-right-radius: var(--product-card-border-radius);
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 35px;
    bottom: 0;
    color: #fff;
    font-family: ProximaNovaSB, sans-serif;
    background: #000;
    position: relative !important;
    transition: all .3s;
    z-index: 3;
    border: none;
    font-size: 11.9px;
}

.mb_add_cart_product .added-to-cart-notice {
    position: relative;
    bottom: 0;
    width: 100%;
    text-align: center;
    background: rgb(var(--color-button-background));
    transition: all .4s;
    height: 0;
    opacity: 0;
    overflow: hidden;
    /* display: flex; */
    align-items: center;
    justify-content: center;
    color: #000;
    font-family: ProximaNovaSB, sans-serif;
    font-size: 11.9px;
    /* font-weight: 700; */

}

.mb_add_cart_product .item-action-active {
    height: 35px;
    opacity: 1;
    padding: 8px;
    color: #fff;
}

.grid-product-overlay {
    position: absolute;
    /* top: 33%; */
    bottom: 0;
    width: 100%;
    text-align: center;
    background: #fffc;
    transition: all .4s;
    height: 0;
    opacity: 0;
    overflow: auto;
    /* opacity: 1; */
    height: auto;
    /* padding: 10px 0; */
    z-index: 0;
}

.addtocartbuttonover {
    opacity: 1;
    z-index: 3;
}

.grid-product-overlay .overlay-container {
    width: 100%;
    height: 100%;
    display: flex;
    flex-flow: column;
    justify-content: center;
}

.grid-product-overlay .overlay-content.variant-input-wrap {
    margin: 0;
    display: grid;
    /* flex-flow: row wrap; */
    grid-template-columns: repeat(4, 0fr);
    justify-content: center;
    width: 100%;
    text-align: center;
    border: 0;
    padding: 0;
    ;
}

.grid-product-overlay .overlay-content.variant-input-wrap button,
.grid-product-overlay .overlay-content.variant-input-wrap a {
    transition: all .3s;
    display: flex;
    justify-content: center;
    align-items: center;
    border: solid 1px #000;
    margin: 2px;
    width: clamp(16px, 7vw, 30px);
    height: clamp(16px, 7vw, 30px);
    font-size: 10px;
    font-size: 11.9px;
    color: #000;
    padding: 0;
    text-decoration: none;
    line-height: 1;
    cursor: pointer;
}

.size-swatch.is-active .variant__button-label,.size-swatch-sku.is-active .variant__button-label{
    background-color: rgb(var(--color-button-background));
    color: #fff !important;
}

.added-to-cart-notice.is-expanded {
    height: 35px;
    opacity: 1;
}
.added-to-cart-notice .card__button-inner{
        height: 35px;
}
.added-to-cart-notice .card__button-inner .button{
    font-size: 11.9px !important;
    height: 35px !important;
    font-weight: normal;
    padding: 0 !important;
    text-transform: uppercase;
        display: block !important;
            position: relative;
            bottom: 0;
            width: 100%;
            text-align: center;
            background: rgb(var(--color-button-background));
            transition: all .4s;
            height: 35px;
            opacity: 1;
            overflow: hidden;
            font-size: 11.9px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: rgb(var(--color-button-text));
            font-family: ProximaNovaSB, sans-serif;
            z-index: 4;
}
.added-to-cart-notice .card__button-inner .button:not(.button--link)::after{
    border-radius: 0;
}
.added-to-cart-notice .card__button-inner .button:not([disabled]):hover::after{
        box-shadow: none !important;
}
.added-to-cart-notice.is-expanded .size-swatch-button-add {
    display: block !important;
    position: relative;
    bottom: 0;
    width: 100%;
    text-align: center;
    background: rgb(var(--color-button-background));
    transition: all .4s;
    height: 35px;
    opacity: 1;
    overflow: hidden;
    font-size: 11.9px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgb(var(--color-button-text));
    font-family: ProximaNovaSB, sans-serif;
    z-index: 4;
    letter-spacing: 1px;
}