#modal_addToCart {
    display: none;
    width: min-content;
}

.fancybox-lock .fancybox-overlay {
    overflow: auto;
    overflow-y: scroll;
}

.fancybox-overlay {
    position: absolute;
    top: 0;
    left: 0;
    overflow: hidden;
    display: none;
    z-index: 8010;
    background: url(../img/fancybox/fancybox_overlay.png);
}

.fancybox-overlay-fixed {
    position: fixed;
    bottom: 0;
    right: 0;
}

.fancybox-cart {
    font-family: arial;
    font-size: 14px;
}

.fancybox-opened {
    z-index: 8030;
}

.fancybox-wrap {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 8020;
}

.fancybox-wrap,
.fancybox-skin,
.fancybox-outer,
.fancybox-inner,
.fancybox-image,
.fancybox-wrap iframe,
.fancybox-wrap object,
.fancybox-nav,
.fancybox-nav span,
.fancybox-tmp {
    padding: 0;
    margin: 0;
    border: 0;
    outline: none;
    vertical-align: top;
}

.fancybox-opened .fancybox-skin {
    -webkit-box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    -moz-box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.fancybox-skin {
    position: relative;
    background: #fff;
    color: #444;
    text-shadow: none;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
}

.fancybox-outer, .fancybox-inner {
    position: relative;
}

.fancybox-cart .fancybox-inner {
    max-width: 760px !important;
    padding-right: 20px;
    margin-right: -20px;
}

.fancybox-inner {
    overflow: hidden;
}

#modal_addToCart .body {
    display: flex;
}

.fancybox-cart a {
    color: #666363;
}

#modal_addToCart .header span {
    font-size: 18px;
    line-height: 2em;
    color: #4d4d4d;
    margin-bottom: 10px;
    text-decoration: none;
}

#modal_addToCart .body .product_detail {
    padding-right: 10px;
}

#modal_addToCart .body .product_detail img {
    width: 300px;
}

.fancybox-cart img {
    margin: 0;
}

#modal_addToCart .body .products_list {
    padding-left: 10px;
    align-items: center;
    display: grid;
}

#modal_addToCart .body .products_list .head_list {
    display: flex;
    justify-content: space-between;
    padding: 0 15px 0 0;
}

#modal_addToCart .body .products_list .products {
    width: 300px;
    max-width: 100%;
}

#modal_addToCart .body .products_list .products .product {
    display: flex;
    justify-content: space-between;
}

#modal_addToCart .body .products_list .products .product .left {
    display: flex;
    width: 50%;
}

#modal_addToCart .body .products_list .products .product .left img {
    width: 40px;
    height: 40px;
}

.fancybox-cart img {
    margin: 0;
}

#modal_addToCart .body .products_list .products .product .left .color {
    padding: 10px 0 0 10px;
}

#modal_addToCart .body .products_list .products .product .middle {
    display: flex;
    width: 16%;
}

.quantity-tooltip-container {
    display: inline-block;
    padding-top: 10px;
    position: relative;
}

.quantity-tooltip {
    display: none;
    padding: 2px 3px;
    margin-left: 8px;
    width: auto;
    min-width: 68px;
}

#modal_addToCart .body .products_list .products .product .right {
    display: flex;
    width: 34%;
    padding-top: 5px;
}

#modal_addToCart .body .products_list .products .product .right input {
    width: 50px;
    height: 25px;
    font-size: 24px;
    text-align: center;
    border: none;
}

#modal_addToCart .body .products_list .products .product .right i {
    padding: 6px;
    font-size: 18px;
    cursor: pointer;
}

#modal_addToCart .body .products_list .products .product .right i {
    padding: 6px;
    font-size: 18px;
    cursor: pointer;
}

#modal_addToCart .btn_addToCart {
    width: 100px;
    margin: auto;
    text-align: center;
    padding: 15px;
    border: 2px solid #44cbc8;
    background: #44cdc8;
    color: #fff;
    border-radius: 5px;
    font-size: 18px;
    cursor: pointer;
}