/*
 Theme Name:   Andersen Webworks Theme
 Template:     yootheme
 Author:       Jan-Erik Andersen
 Description:  Andersen Webworks 
 Version:      1.0.0
 Text Domain:  webworks-theme
*/

.woocommerce .woocommerce-message,
.woocommerce-page .woocommerce-message {
    display: flex;
    align-items: center;
    gap: 20px;
    margin: 0 0 32px;
    padding: 18px 20px;
    border-width: 0 0 0 4px !important;
    border-style: solid !important;
    border-color: #a87b4f !important;
    border-image: none !important;
    border-radius: 4px;
    outline: 0 !important;
    background: #f9f3e9;
    box-shadow: 0 8px 24px rgba(36, 61, 54, 0.14);
    color: #483112 !important;
    font-size: 16px;
    line-height: 1.5;
}

.woocommerce .woocommerce-notices-wrapper,
.woocommerce-page .woocommerce-notices-wrapper {
    border: 0 !important;
    outline: 0 !important;
}

.woocommerce .woocommerce-message::before,
.woocommerce-page .woocommerce-message::before {
    display: none;
}

.woocommerce .woocommerce-message .button.wc-forward,
.woocommerce-page .woocommerce-message .button.wc-forward {
    order: 2;
    flex: 0 0 auto;
    margin: 0 0 0 auto;
    padding: 10px 16px;
    border: 0;
    border-radius: 4px;
    background: #a87b4f !important;
    color: #fff !important;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
    text-decoration: none;
}

.woocommerce .woocommerce-message .button.wc-forward:hover,
.woocommerce .woocommerce-message .button.wc-forward:focus,
.woocommerce-page .woocommerce-message .button.wc-forward:hover,
.woocommerce-page .woocommerce-message .button.wc-forward:focus {
    background: #6d4919 !important;
    color: #fff !important;
}

@media screen and (max-width: 640px) {
    .woocommerce .woocommerce-message,
    .woocommerce-page .woocommerce-message {
        align-items: stretch;
        flex-direction: column;
        gap: 14px;
        padding: 16px;
    }

    .woocommerce .woocommerce-message .button.wc-forward,
    .woocommerce-page .woocommerce-message .button.wc-forward {
        width: 100%;
        margin: 0;
        text-align: center;
    }
}

.streunerhilfe-payment-options {
    margin: 28px 0;
    padding: 20px;
    border-left: 4px solid #a87b4f;
    border-radius: 4px;
    background: #f9f3e9;
    color: #483112;
}

.streunerhilfe-payment-options h2 {
    margin-top: 0;
    color: #483112;
}

.streunerhilfe-payment-option + .streunerhilfe-payment-option {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid rgba(109, 73, 25, 0.22);
}

.streunerhilfe-payment-option h3 {
    margin: 0 0 8px;
    color: #6d4919;
    font-size: 18px;
}

.streunerhilfe-payment-options .button {
    white-space: normal;
    text-align: center;
}

.streunerhilfe-payment-reference {
    display: inline-block;
    margin-left: 4px;
    padding: 2px 7px;
    border-radius: 3px;
    background: #fff;
    color: #483112;
    font-family: monospace;
    font-size: 1.05em;
    font-weight: 700;
    letter-spacing: 0;
}

.woocommerce-checkout #payment ul.payment_methods li {
    padding: 12px 0;
}

.woocommerce-checkout #payment ul.payment_methods li + li {
    border-top: 1px solid rgba(109, 73, 25, 0.16);
}

.woocommerce-checkout #payment ul.payment_methods input[type="radio"] {
    appearance: none !important;
    -webkit-appearance: none !important;
    display: inline-block !important;
    position: static !important;
    width: 18px !important;
    height: 18px !important;
    margin: 0 8px 0 0 !important;
    padding: 0 !important;
    border: 2px solid #448473 !important;
    border-radius: 50% !important;
    background: #fff !important;
    opacity: 1 !important;
    box-shadow: none !important;
    vertical-align: -3px;
}

.woocommerce-checkout #payment ul.payment_methods input[type="radio"]:checked {
    background: #448473 !important;
    box-shadow: inset 0 0 0 4px #fff !important;
}

.woocommerce-checkout #payment ul.payment_methods input[type="radio"]:focus-visible {
    outline: 2px solid #6d4919;
    outline-offset: 3px;
}

.woocommerce-checkout #payment .payment_box {
    margin: 8px 0 0 26px;
    color: #483112;
    line-height: 1.5;
}

@media screen and (max-width: 640px) {
    .streunerhilfe-payment-options {
        padding: 16px;
    }

    .streunerhilfe-payment-options .button {
        width: 100%;
    }

    .woocommerce-checkout form.checkout {
        padding: 20px;
    }

    .woocommerce-checkout #order_review {
        box-sizing: border-box;
        padding: 14px;
    }

    .woocommerce-checkout #payment {
        box-sizing: border-box;
        width: 100% !important;
    }

    .woocommerce-checkout #payment .payment_box {
        width: auto;
        margin: 8px 0 0;
        padding: 0;
    }

    .woocommerce-checkout #payment #place_order {
        width: 100%;
        padding: 14px 16px;
        font-size: 18px;
        line-height: 1.35;
    }
}

.calendar-minimum-choice {
    margin: 0 0 26px;
    padding: 0 0 22px;
    border: 0;
    border-bottom: 1px solid rgba(109, 73, 25, 0.22);
    background: transparent;
    color: #483112;
}

.calendar-minimum-choice__title {
    margin: 0 0 10px;
    color: #6d4919;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
}

.calendar-minimum-choice__options {
    border-top: 1px solid rgba(109, 73, 25, 0.22);
}

.calendar-minimum-choice label {
    display: grid;
    grid-template-columns: 20px minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    margin: 0;
    padding: 10px 2px;
    border-bottom: 1px solid rgba(109, 73, 25, 0.22);
    color: #483112;
    line-height: 1.4;
    cursor: pointer;
}

.calendar-minimum-choice input[type="radio"] {
    appearance: none !important;
    -webkit-appearance: none !important;
    display: inline-block !important;
    flex: 0 0 auto;
    position: static !important;
    width: 18px !important;
    height: 18px !important;
    margin: 0;
    padding: 0 !important;
    border: 2px solid #448473 !important;
    border-radius: 50% !important;
    background: #fff !important;
    opacity: 1 !important;
    box-shadow: none;
    transform: none !important;
    cursor: pointer;
}

.calendar-minimum-choice label span {
    min-width: 0;
}

.calendar-minimum-choice input[type="radio"]:checked {
    background: #448473 !important;
    box-shadow: inset 0 0 0 4px #fff;
}

.calendar-minimum-choice input[type="radio"]:focus-visible {
    outline: 2px solid #6d4919;
    outline-offset: 3px;
}

@media screen and (max-width: 640px) {
    .calendar-minimum-choice {
        margin-bottom: 22px;
        padding-bottom: 18px;
    }
}

body.single-product.postid-3640 #tm-main .uk-tile.uk-flex.uk-flex-bottom {
    align-items: flex-start !important;
}

.ww-cart-link--header {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 80px;
    padding: 0 14px;
    color: inherit;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    text-transform: uppercase;
}

.ww-cart-link--header:hover,
.ww-cart-link--header:focus {
    color: inherit;
    text-decoration: none;
}

.ww-cart-link--mobile {
    width: 48px;
    min-height: 70px;
    padding: 0;
}

.ww-cart-link .ww-cart-icon {
    display: inline-flex;
    flex: 0 0 auto;
}

.ww-cart-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 5px;
    border-radius: 999px;
    background: #a87b4f;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    line-height: 20px;
}

.ww-cart-count[data-count="0"] {
    display: none;
}

.ww-cart-menu-item {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.28);
}

#tm-dialog-mobile .ww-cart-menu-item {
    border-top-color: rgba(72, 49, 18, 0.2);
}

.ww-cart-menu-item > a {
    display: flex !important;
    align-items: center;
    gap: 10px;
}

#tm-dialog .ww-cart-menu-item > a {
    justify-content: flex-start;
}

#tm-dialog-mobile .ww-cart-menu-item > a {
    justify-content: center;
}

.ww-cart-menu-item .ww-cart-count {
    margin-left: 2px;
}
