/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */

.fwpv-variation-selection-form {
    position: relative;
}

.fwpv-dcs-wall {
    position: absolute;
    top: -10px;
    left: -10px;
    width: calc(100% + 20px);
    height: calc(100% + 20px);
    display: none;
    background-color: rgba(0,0,0,0.1);
}

.fwpv-dcs-wall-inner {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 48px;
    height: 48px;
}

.fwpv-dcs-wall-inner:after {
    content: '';
    width: 100%;
    height: 100%;
    border: 5px solid #FFF;
    border-bottom-color: var(--e-global-color-accent);
    border-radius: 50%;
    box-sizing: border-box;
    animation: fwpvRotation 1s linear infinite;
    position: absolute;
    top: 0;
    left: 0;
}

@keyframes fwpvRotation {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.fwpv-selection-wrapper {
    margin-bottom: 20px;
}

.fwpv-selection-wrapper .fwpv-checkbox-selection-wrapper:not(:last-child) {
    margin-bottom: 20px;
}

#fwpv_selection_wrapper_additional_products {
    display: none;
}

#fwpv_selection_wrapper_add_to_cart {
    display: none;
    margin-bottom: 0;
}

#fwpv_selection_wrapper_add_to_cart.fwpv-selection-wrapper-boxed {
    padding: 30px;
}

#fwpv_add_to_cart a.button,
#fwpv_add_amount_to_cart a.button,
#fwpv_selection_wrapper_add_to_cart a.button {
    font-family: "Roboto", sans-serif;
    font-weight: 600;
    color: #ffffff;
    border-radius: 0;
    background-color: var(--e-global-color-accent);
    transition: all 0.2s;
    margin-bottom: 20px;
}

#fwpv_add_amount_to_cart a.button,
#fwpv_selection_wrapper_add_to_cart.fwpv-selection-wrapper-boxed a.button {
    margin-bottom: 0;
}

#fwpv_add_to_cart a.button:hover,
#fwpv_add_amount_to_cart a.button:hover,
#fwpv_selection_wrapper_add_to_cart a.button:hover {
    background-color: var(--e-global-color-accent);
}

#fwpv_add_amount_to_cart {
    display: flex;
    gap: 10px;
}

#fwpv_add_amount_to_cart .qty {
    border-radius: 0px 0px 0px 0px;
    padding: 0px 8px 0px 0px;
    transition: all 0.2s;
    width: 3.631em;
    text-align: center;
}

.woocommerce div.product #fwpv_selection_wrapper_add_to_cart p.price,
.woocommerce div.product #fwpv_selection_wrapper_add_to_cart span.price {
    font-size: 30px;
    margin-bottom: -4px;
}

.woocommerce div.product #fwpv_selection_wrapper_add_to_cart p.price-small,
.woocommerce div.product #fwpv_selection_wrapper_add_to_cart span.price-small {
    font-size: 11px;
    line-height: normal;
}

.woocommerce div.product #fwpv_selection_wrapper_add_to_cart .cart-summary {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 20px;
}

.woocommerce div.product #fwpv_selection_wrapper_add_to_cart .cart-summary-sub {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.woocommerce div.product #fwpv_selection_wrapper_add_to_cart .cart-summary-sub .fwpv-label {
    margin-bottom: 0;
}

.woocommerce div.product #fwpv_selection_wrapper_add_to_cart .cart-summary-sub-line {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 10px;
}

.woocommerce div.product #fwpv_selection_wrapper_add_to_cart .cart-item-title {
    /*padding-left: 20px;*/
    /*position: relative;*/
}

.woocommerce div.product #fwpv_selection_wrapper_add_to_cart .cart-item-title:before {
    /*content: '1x';*/
    /*position: absolute;*/
    /*left: 0;*/
}

.fwpv-label {
    display: block;
    margin-bottom: 10px;
    font-family: "Avenir", sans-serif;
}

.fwpv-radio-selection-wrapper {
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 10px;
}

.fwpv-checkbox-selection-wrapper {
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 13px;
}

.fwpv-selection-wrapper select.fwpv-selection {
    width: auto;
    max-width: 100%;
    height: 35.75px;
    border-radius: 0;
    background-color: #ECE9E7;
    color: inherit;
    outline: none !important;
    padding: 0 1em;
    line-height: 35.75px;
    border: none;
}

.fwpv-radio-selection-wrapper input[type="radio"].fwpv-selection {
    display: none;
    appearance: none;
}

.fwpv-radio-selection-wrapper label.fwpv-selection-label {
    display: inline-flex;
    padding: .618em 1em;
    font-size: 16px;
    color: inherit;
    background-color: #ECE9E7;
    transition: 300ms ease all;
    cursor: pointer;
}

.fwpv-radio-selection-wrapper label.fwpv-selection-label:hover {
    color: var(--e-global-color-accent);
    font-weight: 700;
}

.fwpv-radio-selection-wrapper input[type="radio"].fwpv-selection:checked + label.fwpv-selection-label {
    color: var(--e-global-color-accent);
    font-weight: 700;
}

.fwpv-checkbox-selection-wrapper input[type="checkbox"].fwpv-selection {
    display: none;
    appearance: none;
}

.fwpv-checkbox-selection-wrapper label.fwpv-selection-label {
    padding-left: 30px;
    position: relative;
    cursor: pointer;
    line-height: 20px;
    display: block;
    width: 100%;
}

.fwpv-checkbox-selection-wrapper label.fwpv-selection-label:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 20px;
    height: 20px;
    background-color: #ECE9E7;
}

.fwpv-checkbox-selection-wrapper label.fwpv-selection-label:after {
    content: '\2713';
    position: absolute;
    left: 2px;
    top: -5px;
    width: 20px;
    height: 20px;
    color: var(--e-global-color-accent);
    line-height: 20px;
    font-size: 26px;
    font-weight: 700;
    text-align: center;
    display: none;
}

.fwpv-checkbox-selection-wrapper input[type="checkbox"].fwpv-selection:checked + label.fwpv-selection-label:after {
    display: block;
}