/**
 * Centro Italia — Checkout Styles
 *
 * Sections:
 * 1. Shared Catering Checkout
 * 2. Catering Cat (Calendar Icon)
 * 3. Panini Pickup
 * 4. Product Shipping
 * 5. Payment Disabled (below minimum)
 * 6. Shipping Almost Free
 * 7. Shipping Unlocked (free)
 */

/* ==========================================================================
   1. Shared Catering Checkout
   ========================================================================== */

.woocommerce-checkout #payment-info-separator-wrap,
.woocommerce-checkout #cfw-payment-request-buttons,
.woocommerce-checkout .cfw-order-notes-container #additional_date_catering_abholtag_field,
.woocommerce-checkout .cfw-order-notes-container #additional_time_catering_abholzeit_field {
    display: none;
}

.woocommerce-checkout #cfw_delivery_method_pickup_radio {
    opacity: 0;
    margin-left: -42px;
}

.woocommerce-checkout #cfw-delivery-method {
    margin-bottom: 0.5em !important;
}

.woocommerce-checkout #cfw-delivery-method .cfw-radio-reveal-group {
    border: 0px solid #ddd;
}

.woocommerce-checkout #cfw-delivery-method .cfw-radio-reveal-title {
    font-weight: 600;
    color: #333;
    font-size: 1.5em;
    font-family: gothamrndmedium !important;
}

.woocommerce-checkout #cfw-delivery-method .cfw-radio-reveal-title svg,
.woocommerce-checkout #cfw-pickup-location .cfw-radio-reveal-label div > .cfw-xtra-small {
    display: none;
}

.woocommerce-checkout #cfw-delivery-method .cfw-radio-reveal-group li.cfw-radio-reveal-li:last-child {
    border-top: 1px solid #ddd;
    padding-top: 30px !important;
}

.woocommerce-checkout .cfw-force-hidden .woocommerce-info.hinweisCat {
    display: none;
}

#cfw-side-cart #cfw-alert-container .cfw-alert-error:first-child .message:before {
    content: "" !important;
}

#cfw-side-cart #cfw-alert-container .cfw-alert-error:first-child .message {
    border-radius: 5px !important;
    top: -120px !important;
    height: 55px !important;
    text-align: left !important;
    font-weight: 400 !important;
    background-color: #d83636 !important;
}

.woocommerce-checkout #cfw-cart-summary .cfw-cart-table {
    margin-top: 0 !important;
}

#cfw-side-cart-form .cfw-side-cart-totals .row.cfw-input-wrap-row,
.woocommerce-checkout #cfw-cart-summary-totals .cfw-module .cfw-small span {
    display: none;
}

#cfw-cart .cfw-side-cart-free-shipping-progress-wrap,
.woocommerce-checkout .StatusFreeShipping,
.woocommerce-shipping-fields {
    display: none !important;
    padding: 1px;
}

.woocommerce-checkout #cfw-payment-method {
    top: 0px;
    padding-top: 0;
    margin-top: 300px;
}

#cfw-payment-method .cfw-order-notes-container {
    top: -105px;
}

#cfw-customer-info {
    height: 310px;
}

.logged-in #cfw-customer-info {
    height: 230px;
}

#cfw-customer-info .cfw-force-hidden {
    display: block !important;
    position: relative;
    top: 240px;
}

.woocommerce-checkout #cfw-shipping-method {
    margin-top: -90px;
}

#cfw-payment-method {
    top: 100px;
    padding-top: 150px;
}

.woocommerce-checkout #cfw-account-details {
    min-height: 100px;
}

.woocommerce-checkout.logged-in #cfw-account-details {
    min-height: initial;
}

.woocommerce-checkout #additional_date_catering_abholtag {
    padding: 17px 5px 17px 10px;
    width: 26%;
    min-width: 150px;
    height: 23px;
    border: 1px solid #e6e6e6;
    border-radius: 5px !important;
    margin-top: 4px;
    color: #1a2334;
}

.woocommerce-checkout #additional_time_catering_abholzeit {
    height: 36px;
    border: 1px solid #e6e6e6;
    border-radius: 5px !important;
    padding: 0 10px;
    color: #333;
    margin-top: 4px;
}

#additional_date_catering_abholtag_field label,
#additional_date_catering_abholtag_field span.woocommerce-input-wrapper,
#additional_time_catering_abholzeit_field label,
#additional_time_catering_abholzeit_field span.woocommerce-input-wrapper {
    display: contents;
}

.woocommerce-checkout #additional_date_catering_abholtag_field label small,
.woocommerce-checkout #additional_time_catering_abholzeit_field label small {
    color: #d83636;
}

input:invalid + span:after {
    content: "Abholzeit passt nicht!";
    padding-left: 5px;
    color: #d83636;
}

input:valid + span:after {
    content: "Abholzeit passt.";
    padding-left: 5px;
    color: #1abc9c;
}

.woocommerce-checkout #cfw-pickup-location-wrap h3,
.woocommerce-checkout #order_review #cfw-customer-info h3,
.woocommerce-checkout #cfw-shipping-packages-container,
.woocommerce-checkout #cfw-delivery-method .cfw-radio-reveal-li.cfw-no-reveal {
    display: none;
}

/* ==========================================================================
   2. Catering Cat — Calendar Icon
   ========================================================================== */

.woocommerce-checkout .fas.fa-calendar {
    font-family: FontAwesome !important;
    font-size: 18px;
    color: #666666;
    position: absolute;
    z-index: 100;
    top: 50px;
    left: 16px;
}

.woocommerce-checkout .fa-calendar:before {
    content: "\f073";
}

/* ==========================================================================
   3. Panini Pickup
   ========================================================================== */

.woocommerce-checkout .wpmc-step-payment #payment li.wc_payment_method.payment_method_bacs,
.woocommerce-checkout #cfw-payment-method .payment_method_bacs {
    display: none !important;
}

#shipping_method-XYZ {
    display: none !important;
    font-size: 0px !important;
}

/* ==========================================================================
   4. Product Shipping
   ========================================================================== */

.woocommerce-checkout #order_review .cfw-panel > h3:nth-child(4),
.woocommerce-checkout .cfw-order-notes-container #additional_date_catering_abholtag_field,
.woocommerce-checkout .cfw-order-notes-container #additional_time_catering_abholzeit_field {
    display: none;
}

#cfw-delivery-method .cfw-radio-reveal-group li:last-child {
    display: none;
}

.woocommerce-checkout #cfw-customer-info-address {
    margin-bottom: .8em;
}

.woocommerce-checkout #cfw-shipping-method {
    opacity: 0 !important;
    height: 0px;
}

/* ==========================================================================
   5. Payment Disabled (below minimum checkout amount)
   ========================================================================== */

/* ==========================================================================
   6. Shipping Almost Free
   ========================================================================== */

/* ==========================================================================
   7. Shipping Unlocked (free)
   ========================================================================== */
