/*
Theme Name: Twenty Twenty-Four Child
Template: twentytwentyfour
Version: 1.0
*/


i#image-container {
    width: 100%;
    max-width: 1000px;
    margin: auto;
    overflow: hidden;
}

.wp-image-110 {
    cursor: pointer;
}

.feature-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.feature-row > figure,
.feature-row > div {
    width: 48%;
}

.custom-shipping-text {
    display: none;
}

.feature-row.reverse {
    flex-direction: row-reverse;
}

.feature-text {
    margin-left: 0px;
    margin-right: 0px;
}

@media (max-width: 768px) {
    .feature-row,
    .feature-row.reverse {
        flex-direction: column;
    }

    .feature-row > figure {
        width: 100%;
    }

    .feature-row > div {
        width: 90%;
    }
}

.is-resized {
    height: 700px;
}

@media (max-width: 768px) {
    .feature-text {
        margin-left: 20px;
        margin-right: 20px;
    }

    .is-resized {
        height: 300px;
    }

    .wp-image-110 {
        position: relative;
        left: 0;
        transform: none;
    }
}

.wp-image-110:active,
.wp-image-110:focus,
.wp-image-110:hover {
    background-color: transparent;
    outline: none;
}

/* Kontaktformular */
.wpcf7-form label {
    display: block;
    margin-bottom: 0.5em;
    font-weight: bold;
}

.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form textarea {
    width: 100%;
    padding: 0.5em;
    margin-bottom: 1em;
    border: 1px solid #ccc;
    border-radius: 0.25em;
}

.wpcf7-form input[type="submit"] {
    background-color: #000;
    color: #fff;
    padding: 0.5em 1em;
    border: none;
    border-radius: 0.25em;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.wpcf7-form input[type="submit"]:hover {
    background-color: #444;
}

#content-wrapper {
    font-size: 1.05rem;
}

#content-wrapper h3 {
    font-size: 2rem;
}

@media (min-width: 768px) {
    #content-wrapper {
        width: 1000px;
        margin: auto;
    }
}

/* Variation-Swatches */
.variable-items-wrapper .variable-item {
    width: 48px;
    height: 48px;
    font-size: 0;
}

.variable-items-wrapper .variable-item .variable-item-contents img,
.variable-items-wrapper .variable-item .variable-item-span {
    transform: scale(1.05);
}

.variable-items-wrapper .variable-item.image-variable-item {
    padding: 2px;
    border-radius: 6px;
}

.wc-gzd-sale-price-label {
    display: block;
    margin-top: 0.3em;
    font-weight: bold !important;
    color: #c00 !important;
}

/* Preise und Buttons bei "Ähnliche Produkte" ausblenden */
.wp-block-woocommerce-related-products .wc-block-components-product-price {
    display: none !important;
}

.wp-block-woocommerce-related-products .wc-block-components-product-button__button {
    display: none !important;
}


@media (max-width: 768px) {

    /* Checkout/Warenkorb Inhalt */
    .wp-block-woocommerce-checkout,
    .wc-block-checkout,
    .wp-block-woocommerce-cart,
    .wc-block-cart {
        padding-left: 20px;
        padding-right: 20px;
        box-sizing: border-box;
    }

    /* Seitentitel Checkout / Warenkorb */
    body.woocommerce-checkout .wp-block-post-title,
    body.woocommerce-cart .wp-block-post-title {
        padding-left: 20px;
        padding-right: 20px;
        box-sizing: border-box;
    }

    /* Logo + KISTO KESTO oben */
    body.woocommerce-checkout .wp-site-blocks > .wp-block-group:first-child,
    body.woocommerce-cart .wp-site-blocks > .wp-block-group:first-child {
        padding-left: 20px;
        padding-right: 20px;
        box-sizing: border-box;
    }
}

button.faz-cookie-settings-btn.footer-cookie-link {
    background: none !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;

    padding: 0 !important;
    margin: 0 !important;

    min-width: 0 !important;
    min-height: 0 !important;

    color: inherit !important;

    font-family: var(--wp--preset--font-family--body), sans-serif !important;
    font-size: inherit !important;
    font-weight: inherit !important;
    font-style: inherit !important;
    line-height: inherit !important;
    letter-spacing: inherit !important;
    text-transform: inherit !important;

    cursor: pointer;
}

button.faz-cookie-settings-btn.footer-cookie-link * {
    color: inherit !important;

    font-family: var(--wp--preset--font-family--body), sans-serif !important;
    font-size: inherit !important;
    font-weight: inherit !important;
    font-style: inherit !important;
    line-height: inherit !important;
    letter-spacing: inherit !important;
    text-transform: inherit !important;
}

button.faz-cookie-settings-btn.footer-cookie-link:hover {
    text-decoration: underline;
}

button.faz-cookie-settings-btn.footer-cookie-link:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 3px;
}

/* Automatische <code>-Darstellung im Footer neutralisieren */
footer code,
.wp-site-blocks footer code {
    background: none !important;
    border: 0 !important;
    padding: 0 !important;
    margin: 0 !important;

    color: inherit !important;
    font-family: inherit !important;
    font-size: inherit !important;
    font-weight: inherit !important;
    line-height: inherit !important;
}


/* Widerrufsbutton wie normalen Footer-Link darstellen */
.eu-owb-order-withdraw-from-contract-button {
    margin: 0 !important;
    padding: 0 !important;
    text-align: inherit !important;
}

.eu-owb-order-withdraw-from-contract-button a.button,
.eu-owb-order-withdraw-from-contract-button a.wp-element-button {
    display: inline !important;

    background: none !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;

    padding: 0 !important;
    margin: 0 !important;

    min-width: 0 !important;
    min-height: 0 !important;

    color: inherit !important;

    font-family: inherit !important;
    font-size: inherit !important;
    font-weight: inherit !important;
    font-style: inherit !important;
    line-height: inherit !important;
    letter-spacing: inherit !important;
    text-transform: inherit !important;

    text-decoration: none !important;
}

.eu-owb-order-withdraw-from-contract-button a.button:hover,
.eu-owb-order-withdraw-from-contract-button a.wp-element-button:hover {
    text-decoration: underline !important;
}

.eu-owb-order-withdraw-from-contract-button a.button:focus-visible,
.eu-owb-order-withdraw-from-contract-button a.wp-element-button:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 3px;
}

button.faz-cookie-settings-btn.footer-cookie-link,
.eu-owb-order-withdraw-from-contract-button a.button,
.eu-owb-order-withdraw-from-contract-button a.wp-element-button {
    font-size: 0.9em !important;
}
