:root {
    --cal-font-family-header: 'Open Sans', sans-serif;
    --cal-font-family-weekdays: 'Open Sans', sans-serif;
    --cal-font-family-body: 'Open Sans', sans-serif;
}

body.jff-product {
    overflow: hidden;
}

body.jff-product .elementor-location-header,
body.jff-product .elementor-widget-woocommerce-product-images,
body.jff-product .elementor-widget-woocommerce-breadcrumb,
body.jff-product .jff-hide,
body.jff-product .elementor-location-footer,
body.jff-product .related,
body.jff-product nav.woocommerce-breadcrumb,
body.jff-product .wc-tabs-wrapper,
body.jff-product .woocommerce-product-gallery--without-images.images,
body.jff-product .product .product_meta {
    display: none;
}

body.jff-product .summary.entry-summary {
    display: flex;
    flex-direction: column;
}

body.jff-product div.product .product_title {
    order: 0;
}

body.jff-product div.product .summary p.price {
    order: 1;
}

body.jff-product div.product .summary p.stock {
    order: 2;
}

body.jff-product div.product .summary .p-description {
    order: 3;
}

body.jff-product div.product .summary form.cart {
    order: 5;
}

body.jff-product .product form.cart div.quantity {
    float: none !important;
    margin-bottom: 10px !important;
}

.cart_item dl.variation {
    display: grid;
    grid-template-columns: max-content auto;
    margin: 10px 0;
}

body.jff-product.woocommerce div.product form.cart .button {
    background-color: #AB2327;
    padding: 0.8rem 1rem;
}

body.woocommerce div.product p.price,
body.woocommerce div.product .stock,
body.woocommerce div.product span.price {
    color: #AB2327;
}

#product-addons-total .product-addon-totals ul {
    margin: 0;
    padding: 0;
}

iframe#jff-product-iframe {
    border: 0;
    min-height: 100%;
}

body.jff-product.single-product form.cart {
    flex-wrap: wrap !important;
}

.single-product form.cart .wc-pao-addons-container {
    flex: 1 0 100%;
}


.jff-container .blockUI.blockOverlay {
    background-color: rgb(255, 255, 255) !important;
    opacity: 0.8 !important;
}

.jff-container .blockUI.blockMsg.blockElement {
    display: none !important;
}

.jff-container .blockUI.blockOverlay::before {
    height: 1em;
    width: 1em;
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-left: -.5em;
    margin-top: -.5em;
    content: "";
    animation: spin 1s ease-in-out infinite;
    background: url(../images/loader.svg) center center;
    background-size: cover;
    line-height: 1;
    text-align: center;
    font-size: 2em;
    color: rgba(0, 0, 0, .75)
}

.jff-products-wrap {
    display: flex;
}

.jff-calender-wrap {
    padding: 15px;
}

.jff-product-wrap {
    flex: 1;
    padding: 15px;
}

.color-calendar.glass {
    border-radius: 0.5rem;
}

.color-calendar.glass .calendar__header {
    padding: 15px 14px;
}

.calendar__monthyear span.calendar__year {
    order: -1;
}

.calendar__monthyear span.calendar__month {
    order: 4;
}

.color-calendar .calendar__arrow {
    height: 25px;
}

.color-calendar .calendar__arrow-inner,
.color-calendar .calendar__monthyear {
    font-size: 14px;
    line-height: 17px;
}

.color-calendar .calendar__days .calendar__day * {
    font-weight: 400;
    font-size: 14px;
    line-height: 17px;
    color: #000000;
}

.color-calendar .calendar__days .calendar__day-text {
    color: #000000;
}

.color-calendar.glass .calendar__arrow-inner::after {
    width: 24px;
    height: 24px;
}

.color-calendar.glass .calendar__days .calendar__day {
    font-weight: normal;
}

.color-calendar.glass .calendar__days .calendar__day-selected.calendar__day-no-event .calendar__day-box {
    background: none;
    box-shadow: none;
}

.color-calendar.glass .calendar__days .calendar__day-today .calendar__day-bullet {
    position: absolute;
    top: 80%;
    border-radius: 50%;
    width: 4px;
    height: 4px;
    left: 50%;
    transform: translateX(-50%);
    overflow: hidden;
    cursor: pointer;
    background: #000000;
}

.color-calendar.glass .calendar__days .calendar__day-selected.calendar__day-event .calendar__day-box {
    opacity: 0.2;
    border: 3px solid #000000;
}

.color-calendar .calendar__days .calendar__day-box {
    width: 36px;
    height: 36px;
}

.color-calendar.glass .calendar__days .calendar__day-today.calendar__day-no-event .calendar__day-box {
    opacity: 0;
}

.color-calendar.glass .calendar__days .calendar__day-selected .calendar__day-box,
.color-calendar.glass .calendar__days .calendar__day-today .calendar__day-box,
.color-calendar.glass .calendar__days .calendar__day-box {
    border-radius: 50%;
}

.calendar__day.calendar__day-active.calendar__day-event .calendar__day-text {
    color: #AB2327;
    font-weight: 700;
}

.calendar__day.calendar__day-active.calendar__day-event:not(.calendar__day-today) .calendar__day-bullet {
    display: none;
}

.color-calendar.glass .calendar__days .calendar__day-selected .calendar__day-text:hover ~ .calendar__day-box,
.color-calendar.glass .calendar__days .calendar__day-event .calendar__day-box {
    opacity: 0.2;
}

.calendar__day-event.hasStock span.calendar__day-text {
    margin-bottom: 7px;
}

.calendar__days .calendar__day-event span.jff-stock {
    position: absolute;
    font-size: 10px;
    bottom: 2px;
    font-weight: bold;
    color: #000;
}

.calendar__days .calendar__day-event span.jff-stock:not(:last-child) {
    display: none;
}

.jff-container {
    margin: 25px 0;
}

.jff-product-wrap:not(.active) > * {
    display: none;
}

@media only screen and (max-width: 800px) {
    .jff-products-wrap {
        flex-direction: column;
    }

    .calendar__days .calendar__day-event span.jff-stock {
        font-size: 8px;
    }
}