:root{
    --finch-cart-green: #2ed573;
    --finch-cart-red: #d63031;
    --finch-cart-blue: #6440fb;  
    --finch-cart-dark-blue: #2f13a5;
    --finch-cart-baby-blue: #f4f1fe;
}

/**
 * Modal Basic Style
 */

.finch-cart-modal *, .finch-cart-modal *::before, .finch-cart-modal *::after {
    -webkit-box-sizing: inherit;
    box-sizing: inherit;
}
.finch-cart-modal .jBox-content {
    padding: 0;
}
.finch-cart-modal .jBox-closeButton {
    background: #ff7675;
    transition: all linear .2s;
}
.finch-cart-modal .jBox-closeButton:hover,
.finch-cart-modal .jBox-closeButton:focus {
    background: #d63031;
}
.finch-cart-modal .jBox-closeButton path {
    fill: #fff;
}
.finch-cart-modal.jBox-closeButton-box:before,
.finch-cart-modal.jBox-closeButton-box .jBox-closeButton {
    width: 30px;
    height: 30px;
    top: -14px;
    right: -16px;
}
.finch-cart-modal.jBox-closeButton-box .jBox-closeButton {
    display: flex;
    align-items: center;
    justify-content: center;
}
.finch-cart-modal.jBox-closeButton-box .jBox-closeButton svg {
    position: unset;
    margin: 0;
}
.finch-cart-modal a {
    color: var(--finch-cart-blue);
    text-decoration: none;
    transition: all linear .2s;
}
.finch-cart-modal a:hover, .finch-cart-modal a:focus {
    color: var(--finch-cart-dark-blue);
}
.finch-cart-modal .finchcart-button {
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    background-color: transparent;
    color: var(--finch-cart-blue);
    border: 2px solid var(--finch-cart-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px 15px;
    height: 36px;
    cursor: pointer;
    transition: all linear .2s;
}
.finch-cart-modal .finchcart-button:hover, 
.finch-cart-modal .finchcart-button:focus {
    background: var(--finch-cart-blue);
    color: #fff;
}

/**
 * Modal Head
 */
.finchcart-modal-head {
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
    overflow: hidden;
}
.finchcart-notice {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    padding: 15px 20px;
    background: #fff;
}
.finchcart-notice-message,
.finchcart-notice-text {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}
.finchcart-notice-text {
    gap: 5px;
}
.finchcart-notice-buttons,
.finchcart-fill-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}
.finchcart-fill-buttons {
    flex-direction: row;
}
.finchcart-notice-message img {
    max-height: 50px;
    width: auto;
    border-radius: 4px;
}
.finchcart-notice-text svg {
    width: 20px;
    height: 20px;
}
.finchcart-notice-text svg path {
    fill: var(--finch-cart-green);
}
.finchcart-notice-message {
    font-size: 15px;
}
.finchcart-cart-count {
    position: relative;
    margin-right: 15px;
    margin-left: 10px;
}
.finchcart-cart-count .finchcart-cart-total {
    position: absolute;
    transform: translateX(17px) translateY(-17px);
    height: 24px;
    width: 24px;
    font-size: 10px;
    font-weight: 600;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    background-color: var(--finch-cart-baby-blue);
    color: var(--finch-cart-blue);
    transition: all linear .2s;
}
.finchcart-cart-count:hover .finchcart-cart-total,
.finchcart-cart-count:focus .finchcart-cart-total {
    color: #fff;
    background-color: var(--finch-cart-blue);
}

.finchcart-cart-count svg {
    width: 25px;
    height: auto;
    fill: var(--finch-cart-blue);
}

.finchcart-notice-buttons svg g > path, .finchcart-notice-buttons svg g > circle {
    stroke: var(--finch-cart-green);
}

.finchcart-popup-header {
    padding: 30px 20px;
    text-align: center;
    border-top: 1px solid #ededed;
    border-bottom: 1px solid #ededed;
}

.finchcart-popup-header h3 {
    font-size: 1.5rem;
    line-height: 1.5;
    margin: 0;
    text-transform: unset;
}

.finchcart-popup-header p {
    margin-top: 15px;
    font-size: 1rem;
}

.finchcart-inside-popup-cart-notice {
    position: absolute;
    width: 100%;
    z-index: 99;
    background: var(--finch-cart-dark-blue);
    color: #fff;
}
.finchcart-inside-popup-cart-notice .finchcart-notice-text {
    padding: 10px 20px;
}
.finchcart-inside-popup-cart-notice .finchcart-notice-text svg rect {
    fill: transparent;
}

/**
 * Modal Body Products
 */

.finchcart-modal-products-grid,
.finchcart-modal-products-list {
    padding: 20px 20px!important;
    gap: 2rem;
}
.finchcart-modal-products .finchcart-modal-product.product,
.woocommerce .finchcart-modal-products .finchcart-modal-product.product {
    padding: 0;
    margin: 0;
}
.finchcart-modal-products-wrapper-slider {
    padding: 40px 40px;
    position: relative;
}
.finchcart-modal-products-wrapper-slider:has(.swiper-pagination) {
    padding-bottom: 60px;
}
.finchcart-modal-products-wrapper-slider:has(.swiper-button-prev) {
    padding-left: 50px;
    padding-right: 50px;
}
.finchcart-modal-products-wrapper-slider .swiper-pagination {
    top: auto;
    bottom: 30px;
}
.finchcart-modal-products-wrapper-slider .swiper-button-next,
.finchcart-modal-products-wrapper-slider .swiper-button-prev {
    
}
.finchcart-modal-body .swiper-pagination-bullet-active {
    background: var(--finch-cart-blue);
}
.finchcart-modal-products-grid,
.finchcart-modal-products-list {
    display: grid;
}
.finchcart-modal-products-list .finchcart-modal-product.product {
    display: flex;
    align-items: center;
    gap: 15px;
    width: 100%;
}
.finchcart-modal-products-list .finchcart-modal-product.product .finchcart-modal-item-thumb {
    width: 150px;
    flex: 0 0 150px;
}
.finchcart-modal-product.product .finchcart-modal-item-thumb a {
    position: relative;
    display: flex;
    border-radius: 4px;
    overflow: hidden;
}
.finchcart-modal-products-grid .finchcart-modal-product.product .finchcart-modal-item-thumb,
.finchcart-modal-products-slider .finchcart-modal-product.product .finchcart-modal-item-thumb {
    margin-bottom: 15px;
}
.finchcart-modal-product.product .finchcart-modal-item-thumb a:focus {
    outline: 0;
}
.finchcart-modal-product.product .finchcart-modal-item-thumb a::before {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
    content: "";
    background: #000;
    opacity: 0;
    visibility: hidden;
    z-index: 3;
    transition: 350ms ease 0s;
}
.finchcart-modal-product.product:hover .finchcart-modal-item-thumb a::before {
    opacity: 0.2;
    visibility: visible;
}
.woocommerce .finchcart-modal-product.product span.onsale {
    border-radius: 20px;
    min-width: unset;
    min-height: unset;
    left: 12px!important;
    top: 12px!important;
    line-height: normal;
    font-weight: 500;
    font-size: 10px;
    padding: 3px 9px!important;
    background: var(--finch-cart-blue);
    color: #fff;
}
.rtl .woocommerce .finchcart-modal-product.product span.onsale {
    left: unset;
    right: 12px;
}
.rtl .finchcart-modal-item-content {
    text-align: right;
}
.finchcart-modal-product.product .woocommerce-loop-product__title {
    margin-top: 0;
    margin-bottom: 15px;
    color: #202020;
    font-size: 1em;
    text-transform: unset;
}
.finchcart-modal-product.product .woocommerce-loop-product__link:hover .woocommerce-loop-product__title {
    color: var(--finch-cart-blue);
}
.woocommerce .finchcart-modal-product.product .star-rating {
    width: 80px;
    height: 13px;
    margin-bottom: 15px;
    margin-left: inherit;
    margin-right: inherit;
    line-height: 1;
    overflow: hidden;
    font-family: star;
    position: relative;
    backface-visibility: visible;
    -webkit-backface-visibility: visible;
}
.woocommerce .finchcart-modal-product.product .star-rating::before,
.woocommerce .finchcart-modal-product.product .star-rating span::before {
    font-size: 12px;
    letter-spacing: 3px;
    text-transform: uppercase;
}
.woocommerce .finchcart-modal-product.product .star-rating::before {
    color: rgba(195,195,195,1);
}
.woocommerce .finchcart-modal-product.product .star-rating span::before {
    color: rgba(255,210,0,1);
}
.woocommerce .finchcart-modal-product.product .price {
    margin-bottom: 15px;
    display: flex;
    font-size: 16px;
    font-weight: 600;
    flex-direction: row-reverse;
    justify-content: start;
    align-items: center;
    gap: 10px;
    color: var(--finch-cart-blue);
}
.woocommerce .finchcart-modal-products-list .finchcart-modal-product.product .price {
    font-size: 14px;
    gap: 6px;
}
.woocommerce .finchcart-modal-product.product .price del {
    font-size: 78%;
    line-height: 18px;
    font-weight: normal;
    color: rgba(134,134,134,1);
    opacity: 1;
}
.woocommerce .finchcart-modal-product.product span.price ins {
    font-weight: 600;
    font-size: inherit;
    margin: 0;
}
.woocommerce .finchcart-modal-product.product .finchcart-modal-item-cart .button {
    background: var(--finch-cart-blue);
    color: #fff;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    display: inline-flex;
    gap: 8px;
    font-size: 0.9em;
    padding: 8px 15px;
    min-width: 100px;
    text-align: center;
    border: 0;
    height: unset;
    line-height: 1;
}
.woocommerce .finchcart-modal-product.product .finchcart-modal-item-cart a.added_to_cart.wc-forward {
    display: none!important;
}
.finchcart-modal-products-wrapper-slider .swiper-button-next, 
.finchcart-modal-products-wrapper-slider .swiper-button-prev {
    background: rgb(47 19 165 / 50%);
    height: 30px;
    width: 30px;
    border-radius: 50%;
    transition: all linear .2s;
}
.finchcart-modal-products-wrapper-slider .swiper-button-next:hover, 
.finchcart-modal-products-wrapper-slider .swiper-button-prev:hover {
    background: var(--finch-cart-dark-blue);
}
.finchcart-modal-products-wrapper-slider .swiper-button-next::after, 
.finchcart-modal-products-wrapper-slider .swiper-button-prev::after {
    font-size: 0.8em;
    color: #fff;
}


/**
 * Responsive Style
 */


/* 
##Device = Tablets, Ipads (portrait)
##Screen = B/w 768px to 1024px
*/
@media (min-width: 768px) and (max-width: 1024px) {

}

/* 
##Device = Tablets, Ipads (landscape)
##Screen = B/w 768px to 1024px
*/
@media (min-width: 768px) and (max-width: 1024px) and (orientation: landscape) {

}

@media only screen and (max-width: 767px) {
    
}

@media only screen and (max-width: 480px) {
    .finchcart-notice-buttons {
        gap: 22px;
    }
    .finchcart-notice-message img {
        display: none;
    }
    .finchcart-modal-item-thumb img {
        width: 100%;
    }
    .finchcart-inside-popup-cart-notice .finchcart-notice-text {
        flex-direction: column;
        gap: 10px;
    }
}