.zg-add-to-cart-modal,
zg-add-to-cart-modal[data-theme-modal] > details[open]::before  {
    z-index: 10000;
}

.zg-add-to-cart-modal__content.loading {
    height: 240px;
}
.zg-add-to-cart-modal__content.error {
    padding-bottom: 20px;
}
.zg-add-to-cart-modal__content {
    width: 860px;
    height: auto;
}

.zg-add-to-cart-modal__content .zg-add-to-cart-modal__popup-content {
    display: block;
}
.zg-add-to-cart-modal__content.error .zg-add-to-cart-modal__popup-content,
.zg-add-to-cart-modal__content.loading .zg-add-to-cart-modal__popup-content {
    display: none;
}

.zg-add-to-cart-modal__loading {
    display: none;
}
.zg-add-to-cart-modal__error {
    display: none;
}
.zg-add-to-cart-modal__content.error .zg-add-to-cart-modal__error {
    display: flex;
}
.zg-add-to-cart-modal__content.loading .zg-add-to-cart-modal__loading {
    display: flex;
}

.zg-add-to-cart-modal__content.error .zg-add-to-cart-modal__close {
    display: none;
}

.zg-add-to-cart-modal-header {
    background: #f3f3f3;
    padding: 1rem;
}

.zg-add-to-cart-modal__detail {
    padding: 20px 2.5rem 0;
}
.zg-add-to-cart-modal-header .modal-header-title {
    font-size: 18px;
    font-weight: 600;
    padding: 0 0 0 5px;
    font-family: Proxima Nova, proxima-nova, Helvetica Neue, Helvetica, sans-serif;
}

.zg-add-to-cart-modal-header .modal-header-title img {
    height: 15px;
    width: 15px;
    display: inline-block;
}

.zg-add-to-cart-modal__content-title {
    font-size: 14px;
    word-break: break-word;
    margin: 0 !important;
    color: #323232;
    line-height: 1.2;
    letter-spacing: .25px;
    font-weight: 600;
    font-style: normal;
}

.zg-add-to-cart-modal__content-label {
    font-weight: 400;
    color: #828282;
    margin-top: 0;
    line-height: 21px;
}

.zg-add-to-cart-modal__content-value {
    color: #000;
    font-weight: 400;
    line-height: 21px;
}

.zg-add-to-cart-modal__content-button-group {
    padding: 1.5rem .78571rem;
}

.zg-add-to-cart-modal__content-button-group .zg-add-to-cart-modal__content-button-continue-shopping {
    font-size: 14px !important;
    color: #000;
    text-decoration: underline;
    font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji;
}
.zg-add-to-cart-modal__content-button-group .zg-add-to-cart-modal__content-button-view-cart {
    width: 165px;
    height: 40px;
    line-height: 40px;
    border: 0;
    font-size: 14px;
    font-weight: 500;
    background: #000;
    color: #fff;
    text-align: center;
}


.preview-subtotal {
    font-size: 14px;
    margin: 0 0 0 1.5rem;
    color: #000;
    font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji;
}

.preview-subtotal .preview-price {
    font-weight: 700;
    font-size: 14px;
}

.zg-add-to-cart-modal__loading {
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
}
.zg-add-to-cart-modal .icon-loading {
    height: fit-content;
    width: fit-content;
    color: grey;
    flex: none;
    animation: animation-circling linear 1.5s infinite;
    width: 40px;
    height: 40px;
    color: #999;
}
.zg-add-to-cart-modal .loading--rotator {
    display: block;
}
.zg-add-to-cart-modal__close.modal__close-control svg{
    width: 15px;
    height: 15px;
    color: #999;
}

.zg-add-to-cart-modal__content-product-title,
.zg-add-to-cart-modal-product-sku,
.zg-add-to-cart-modal-product-price {
    margin-bottom: 0.1rem;
    font-size: 14px;
    font-family: Proxima Nova, proxima-nova, Helvetica Neue, Helvetica, sans-serif;
    line-height: 1.2;
    letter-spacing: .25px;
    font-weight: 700;
    color: #000;
    word-break: break-word;
    padding: 0 10px;
}

.zg-add-to-cart-modal__error button{
    background-color: #444;
    border-color: #444;
    color: #fff;
    padding: 12px 32px;
    margin-top: 25px;
}

.swal2-icon {
    width: 80px;
    height: 80px;
    border: 4px solid transparent;
    border-radius: 50%;
    margin: 20px auto 30px;
    padding: 0;
    position: relative;
    -webkit-box-sizing: content-box;
    box-sizing: content-box;
    cursor: default;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    border-color: #757575;
}

.swal2-icon.swal2-error .swal2-x-mark {
    display: block;
}
.swal2-icon.swal2-error .swal2-x-mark-line {
    position: absolute;
    height: 5px;
    width: 47px;
    background-color: #757575;
    display: block;
    top: 37px;
    border-radius: 2px;
}
.swal2-icon .swal2-x-mark-line-left {
    transform: rotate(45deg);
    left: 17px;
}
.swal2-icon .swal2-x-mark-line-right {
    transform: rotate(-45deg);
    right: 16px;
}


@media (max-width: 859px) {
    .zg-add-to-cart-modal {
        width: 85vw;
        top: 0;
    }

    .zg-add-to-cart-modal__content {
        width: 100%;
       
    }  

    .zg-add-to-cart-modal__content.error {
        padding-left: 20px;
        padding-right: 20px;
    }
}

@media (max-width: 480px) {
   
}