
#fps-overlay {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, .7);
    font-size: 14px;
    line-height: 1;
    transition: opacity .3s;
    z-index: 99999;
}
#fps-overlay * {
    font-size: 16px;
    line-height: 1;
}

#fps-container {
    display: table;
    width: auto;
    height: 100%;
    margin: 0 auto;
    table-layout: fixed;
}

#fps-popup-aligner {
    display: table-cell;
    vertical-align: middle;
}
#fps-popup-content {
    position: relative;
    width: 1140px;
    margin: 0 auto;
    background-color: #fff;
    overflow: hidden;
    max-width: 98%;
}
#fps-popup-close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    font-size: 20px;
    line-height: 30px;
    text-align: center;
    cursor: pointer;
    color: #8d8d8d;
}
#fps-popup-content-wrap {
    display: table;
    width: 100%;
}
#fps-popup-content #fps-popup-img {
    display: table-cell;
    width: 40%;
    line-height: 0;
    vertical-align: middle;
}
#fps-popup-content #fps-popup-description {
    display: table-cell;
    width: 60%;
    padding: 4% 8%;
    vertical-align: middle;
}
#fps-popup-content #fps-popup-description * {
    line-height: 1.3;
	text-align: left;
}
#fps-popup-content #fps-popup-description > *:first-child {
    margin-top: 0;
}
#fps-popup-content #fps-popup-description h4 {
    font-size: 1.7em;
}
#fps-popup-content #fps-popup-description h4 * {
    font-size: 1em;
}
#fps-popup-content #fps-popup-options {
    margin-top: 35px;
}
#fps-popup-content #fps-popup-options a {
    display: inline-block;
    padding: 0;
    font-size: 16px;
    text-align: center;
    text-decoration: none;
    color: #8d8d8d;
    border-bottom:1px solid;
    text-transform: uppercase;
}
#fps-popup-content #fps-popup-options a.free-samples {
    margin-left: 50px;
    color: #000;
}

#fps-popup-content #fps-popup-options a.free-samples:hover {
    color:#8d8d8d;
}

#fps-popup-content #fps-popup-options a.continue:hover {
    color:#000;
}

#fps-aligner {
    display: table-cell;
    vertical-align: middle;
    padding: 0 5%;
}

#fps-content {
    position: relative;
    width: 1000px;
    max-width: 100%;
    padding: 50px 50px 25px;
    background-color: #faf7f3;
}

#fps-close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 40px;
    height: 40px;
    font-size: 24px;
    line-height: 40px;
    text-align: center;
    color: #8d8d8d;
    border-radius: 50%;
    cursor: pointer;
}
#fps-close:hover {
    background-color: #8d8d8d;
    color: #fff;
}

#fps-products {
    position: relative;
}
#fps-products .slick-list {
    margin: 0 -10px;
}
#fps-products .fps-product {
    position: relative;
    width: calc((100% - (20px * 2)) / 3);
    height: auto;
    margin: 0 10px;
    padding: 20px;
    float: left;
    line-height: 0;
    text-align: center;
    border: none;
    outline: none;
    background:#fff;
}

#fps-container .fps-product .title {
    display: block;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #eae0d2;
    text-align: center;
    font-family: playfair-display, serif;
    font-size: 20px;
    font-weight: 400;
    line-height: 1.2;
}
#fps-container .fps-product .sku {
    display: block;
    margin-top: 8px;
    font-size: 14px;
    color: #8d8d8d;
    text-align: center;
    font-weight: 200;
}

#fps-container .fps-product .add-to-cart-wrap {
    margin-top: 12px;
}

#fps-container .fps-product .add-to-cart-wrap .quantity {
    position: relative;
    display: inline-block;
}
#fps-container .fps-product .add-to-cart-wrap .quantity input {
    width: 35px;
    height: 25px;
    margin-right: 10px;
    padding: 0 7px 0 0;
    color: #000;
    font-size: 14px;
    font-family: Butler Medium;
    background-color: #ffffff;
    line-height: 35px;
    border: 1px solid #000000;
    text-align: center;
    -moz-appearance: textfield;
}
#fps-container .fps-product .add-to-cart-wrap .quantity input::-webkit-inner-spin-button,
#fps-container .fps-product .add-to-cart-wrap .quantity input::-webkit-inner-spin-button {
    margin: 0;
    -webkit-appearance: none;
}
#fps-container .fps-product .add-to-cart-wrap .quantity .input-spinner {
    position: absolute;
    left: 20px;
    width: 5px;
    height: 5px;
    padding-top: 7px;
    padding-right: 16px;
    padding-bottom: 5px;
    line-height: 5px;
    color: #000;
    cursor: pointer;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
#fps-container .fps-product .add-to-cart-wrap .quantity .input-spinner.input-minus {
    top: 12px;
    transform: rotateX(180deg);
}
#fps-container .fps-product .add-to-cart-wrap .quantity .input-spinner span {
    display: block;
    font-size: 5px;
    transform: scale(2.3);
    pointer-events: none;
}

#fps-container .fps-product .add-to-cart-wrap .price {
    font-size: 14px;
    font-weight: bold;
    text-align: center;
}

#fps-container .fps-product a {
    display: inline-block;
    width: auto;
    height: 20px;
    margin-top: 15px;
    padding: 0 10px;
    font-size: 16px;
    line-height: 20px;
    text-align: center;
    text-decoration: none;
    border-bottom: 1px solid #000;
    color: #000;
    text-transform: uppercase;
    z-index: 1;
}

#fps-container .fps-product a.disabled {
    border-color: #ccc;
    color: #ccc;
    cursor: default;
}
#fps-container .fps-product .fa-spin {
    font-size: 20px;
    line-height: 0;
    -webkit-animation: fa-spin 1s linear infinite;
    animation: fa-spin 1s linear infinite;
}

#fps-container .fps-product .img-wrap {
    display: table;
    width: 100%;
    line-height: 0;
}
#fps-container .fps-product .img-aligner {
    display: table-cell;
    line-height: 0;
    vertical-align: middle;
}
#fps-container .fps-product img {
    display: inline-block;
    width: auto;
    max-height: 150px;
    transition: transform .3s;
}
#fps-container .fps-product:hover img {
    transform: scale(1.09);
}

#fps-container #fps-products .slick-prev,
#fps-container #fps-products .slick-next {
    top: 50%;
    text-align: center;
    background-color: #fff;
    opacity: 1;
    font-size: 0;
    transform: translateY(-50%);
}
#fps-container #fps-products .slick-prev {
    left: auto;
    right: calc(100% + 10px);
    display: none!important;
}
#fps-container #fps-products .slick-next {
    right: auto;
    left: calc(100% + 10px);
}
#fps-container #fps-products .slick-prev:hover,
#fps-container #fps-products .slick-next:hover {
    background-color: #f9f9f9;
}
#fps-container #fps-products .slick-prev:before,
#fps-container #fps-products .slick-next:before {
    opacity: 1;
    color: #757575;
    font-size: 21px;
    margin-right: -3px;
}

#fps-container #fps-options {
    display: table;
    width: 100%;
    padding: 30px 50px;
    background-color: #faf7f3;
    overflow: hidden;
}

#fps-container #fps-options p {
    display: table-cell;
    margin: 0;
    vertical-align: middle;
}
#fps-container #fps-options p,
#fps-container #fps-options p * {
    font-size: 20px;
    font-family: playfair-display, serif;
    font-weight: 400;
}

#fps-container #fps-options .options-actions {
    display: table-cell;
    text-align: right;
    vertical-align: middle;
    font-size: 0;
}

#fps-container #fps-options a {
    display: inline-block;
    padding: 0;
    font-size: 16px;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    color:#8d8d8d;
    border-bottom:1px solid;
}

#fps-container #fps-options a:hover {
    color:#000;
}

#fps-container #fps-options a.checkout:hover {
    color:#8d8d8d;
}

#fps-container #fps-options a.checkout {
    margin-left: 30px;
    color: #000;
}

#fps-container #fps-options a.checkout::after,
#fps-container #fps-options a.continue::after {
    display: inline-block;
    content: '\f061';
    margin-left: 10px;
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
}

body:not(.woocommerce-cart) #fps-container #fps-options a.checkout.back,
body.woocommerce-cart #fps-container #fps-options a:not(.back) {
    display: none;
}
#fps-container #fps-options a.checkout.back {

}

#fps-popup-content #fps-popup-description h2 {
    font-family: playfair-display, serif;
    line-height: 1.2;
    font-size: 2.6vw;
}

#fps-popup-content #fps-popup-description a::after {
    display: inline-block;
    content: '\f061';
    margin-left: 10px;
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
}

#fps-overlay .fps-heading {
    padding: 5px 0 25px 0;
}

#fps-overlay .fps-heading h3 {
    text-align: center;
}

#fps-overlay .fps-heading h3 strong,
#fps-overlay .fps-heading h3 span.limit {
    font-family: playfair-display, serif;
    font-weight: 400;
    font-size: 2.6vw;
}

#fps-overlay .fps-description {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}
#fps-overlay .fps-description p:first-child {
    margin-top: 0;
}

#fps-products.slick-slider .slick-track {
    margin:0 auto;
}
#fps-products.slick-slider .slick-next {
    top: 50%;
    right: 20px;
    transform: translate(50%, -50%);
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.25);
    background-color: #fff;
    border-radius: 0;
}
#fps-products.slick-slider .slick-next:before {

}


#fps-cart-samples-content {
    width: calc(100% + 20px);
    margin: 35px 0 0 -10px;
    float: left;
}
#fps-cart-samples-content .fps-cart-samples-item  {
    width: 23.5%;
    float: left;
    border: 1px solid rgba(0,0,0,.1);
    padding: 15px 5px;
    text-align: center;
    border-radius: 5px;
    margin-right: 2%;
    position: relative;
}

#fps-cart-samples-content .fps-cart-samples-item:nth-of-type(4n) {
    margin-right: 0;
}
#fps-cart-samples-content .fps-cart-samples-item:not(:nth-of-type(1)):not(:nth-of-type(2)):not(:nth-of-type(3)):not(:nth-of-type(4)) {
    margin-top: 2%;
}

#fps-cart-samples-content .fps-cart-samples-item .sample-thumbnail img {
    max-height: 75px;
    width: auto;
}

#fps-cart-samples-content .fps-cart-samples-item .sample-name {
    font-family: playfair-display, serif;
    color: #000;
    font-weight: 600;
    font-size: 16px;
}

#fps-cart-samples {
    overflow: hidden;
}
#fps-cart-samples-content #fps-cart-actions {
    margin-top: 20px;
    padding: 20px;
    background-color: #fff;
    border: 1px solid rgba(0,0,0,.1);
    border-radius: 5px;
    overflow: hidden;
    clear: both;
}
#fps-cart-samples-content #fps-cart-actions p {
    margin: 0;
    float: left;
}
#fps-cart-samples-content #fps-cart-actions .btn {
    float: right;
}

#fps-cart-samples-content .fps-cart-samples-item .sample-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    opacity: 0.2;
}

#fps-container .pop-msg {
    display: none;
    padding: 12px 20px;
    text-align: center;
}
#fps-container .pop-msg.msg-error {
    background-color: #dc5959;
    color: #fff;
}


#woo-icons .cart_list .mini_cart_item {
    text-align: left;
}
#woo-icons .cart_list .mini_cart_item > img {
    width: 30px;
    margin-right: 30px;
    float: left;
}
#woo-icons .cart_list .mini_cart_item {
    font-weight: bold;
}
#woo-icons .cart_list .mini_cart_item span {
    font-weight: normal;
}


@media only screen and (max-width: 1400px) {
    #fps-content, #fps-container #fps-options {
        padding: 30px 30px;
    }
}

@media only screen and (max-width: 1040px) {
    #fps-container {
        width: 100%;
    }
}

@media only screen and (max-width: 959px) {
     #fps-container .fps-product .title {
        font-size: 17px;
    }   
    #fps-overlay .fps-heading h3 strong, 
    #fps-overlay .fps-heading h3 span.limit {
        font-size: 25px;
    }
        
    #fps-popup-content #fps-popup-options a {
        display: block!important;
        margin: 15px auto;
        text-align: left;
        border-bottom: 0;
    }

    #fps-popup-content #fps-popup-options a.free-samples {
        margin-left: 0;
    }

    #fps-popup-content #fps-popup-options {
        margin-top: 0;
    }

    #fps-popup-content #fps-popup-img {
        display: none;
    }

    #fps-popup-content #fps-popup-description {
        width: 100%;
        padding: 20px 20px;
    }

    #fps-cart-samples-content .fps-cart-samples-item,
    #fps-cart-samples-content .fps-cart-samples-item:nth-of-type(4n) {
        width: 32%;
        margin-right: 2%;
    }
    #fps-cart-samples-content .fps-cart-samples-item:nth-child(3n) {
        margin-right: 0;
    }
    #fps-cart-samples-content .fps-cart-samples-item:not(:nth-of-type(1)):not(:nth-of-type(2)):not(:nth-of-type(3)) {
        margin-top: 2%;
    }
}

@media only screen and (max-width: 767px) {
    #fps-container #fps-options p, #fps-container #fps-options p * {
        font-size: 17px;
    }
    
    #fps-container #fps-options p {
        display: block;
        width: 100%;
    }

    #fps-container #fps-options .options-actions {
        display: block;
        text-align: left;
        margin: 19px 0 0;
    }

    #fps-container #fps-options {
        padding-top: 0;
    }

    #fps-container #fps-options a.checkout {
        margin: 15px 0 0;
    }

   #fps-container #fps-options a {
        float: left;
        clear: both;
    } 
}

@media only screen and (max-width: 479px) {
    #fps-cart-samples-content .fps-cart-samples-item,
    #fps-cart-samples-content .fps-cart-samples-item:nth-child(3n) {
        width: 49%;
        margin-right: 2%;
    }
    #fps-cart-samples-content .fps-cart-samples-item:nth-child(2n) {
        margin-right: 0;
    }
    #fps-cart-samples-content .fps-cart-samples-item:not(:nth-of-type(1)):not(:nth-of-type(2)) {
        margin-top: 2%;
    }
}
