/*
 Theme Name:   EasyEat Child Theme
 Theme URI:    https://easyeat.ancorathemes.com/
 Description:  EasyEat Child Theme
 Author:       AncoraThemes
 Author URI:   https://ancorathemes.com/
 Template:     easyeat
 Version:      1.0
 Tags:         flexible-header, custom-background, custom-colors, custom-header, custom-menu, featured-image-header, featured-images, full-width-template, microformats, post-formats, theme-options, threaded-comments, translation-ready
 Text Domain:  easyeat
*/


/* =Theme customization starts here
------------------------------------------------------------ */


/*
Theme Name: EasyEat Child
Template: easyeat
Author: Dein Name
Version: 1.0
Description: Child Theme für EasyEat
*/

#quickview-container {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 9999;
    background: #fff;
    width: 80%;
    max-width: 600px;
    padding: 20px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    display: none;
}

#quickview-container.fadeIn {
    display: block;
}

#quickview-container .close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: transparent;
    border: none;
    font-size: 20px;
    cursor: pointer;
}

/* "Jetzt kaufen"- und "Weiter einkaufen"-Button anpassen */
.single_add_to_cart_button.button.alt,
.quickview-close-button {
    background-color: #EC3D08 !important; /* Rote Farbe */
    color: #FFFFFF !important; /* Weißer Text */
    font-size: 16px !important; /* Etwas kleinere Schrift */
    font-weight: 700 !important; /* Weniger Fett */
    text-transform: uppercase !important; /* Großbuchstaben */
    padding: 10px 18px !important; /* Kleineres Padding für kleinere Größe */
    border-radius: 4px !important; /* Leicht abgerundet */
    border: none !important; /* Kein Rahmen */
    cursor: pointer !important; /* Hand-Cursor */
    display: inline-block !important; /* Richtig positionieren */
    transition: background 0.3s ease-in-out, transform 0.1s ease-in-out !important;
}

/* Hover-Effekt */
.single_add_to_cart_button.button.alt:hover,
.quickview-close-button:hover {
    background-color: #D32F00 !important; /* Dunkleres Rot beim Hover */
    transform: scale(1.01) !important; /* Weniger starkes Vergrößern */
}


/* "Weiter einkaufen"-Button mit gleichem Design wie "Jetzt kaufen" */
.quickview-close-button {
    background-color: #EC3D08 !important; /* Rote Farbe */
    color: #FFFFFF !important; /* Weißer Text */
    font-size: 14px !important; /* Gleiche Schriftgröße wie Elementor-Buttons */
    font-weight: 600 !important; /* Extra Fett */
    text-transform: uppercase !important; /* Großbuchstaben */
    padding: 10px 18px !important; /* Kleineres Padding für kleinere Größe */
    border-radius: 4px !important; /* Leicht abgerundet */
    border: none !important; /* Kein Rahmen */
    cursor: pointer !important; /* Hand-Cursor */
    display: inline-block !important; /* Richtig positionieren */
    transition: background 0.3s ease-in-out, transform 0.1s ease-in-out !important;
}

/* Hover-Effekt */
.quickview-close-button:hover {
    background-color: #D32F00 !important; /* Dunkleres Rot beim Hover */
    transform: scale(1.01) !important; /* Leichtes Vergrößern für Hover-Effekt */
}

/* ========== Sidebar Styling ========== */
.sidebar_inner {
    background-color: #f0f0f0 !important;
    position: relative;
    border-radius: 5px;
    padding: 12px; /* Mehr Innenabstand für bessere Lesbarkeit */
    box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.1);
}

.sidebar {
    margin-top: 5px;
    background-color: #f0f0f0 !important;
    padding: 15px;
    border-radius: 5px;
    box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.1);
}

/* ========== WooCommerce Checkout Tabelle (Kasse) ========== */
.shop_table.woocommerce-checkout-review-order-table {
    background-color: #f0f0f0 !important;
    padding: 15px;
    border-radius: 5px;
    box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.1);
}

/* Bessere Lesbarkeit der Checkout-Tabelle */
.shop_table.woocommerce-checkout-review-order-table tr {
    border-bottom: 1px solid #ddd;
}

.shop_table.woocommerce-checkout-review-order-table td,
.shop_table.woocommerce-checkout-review-order-table th {
    padding: 12px !important;
    font-size: 18px !important; /* Größere Schrift, nicht fett */
    font-weight: normal !important;
}

/* ========== WooCommerce Custom Product Addons Styling ========== */
.wcpa_cart_meta_item-label {
    font-size: 18px !important; /* Größere Schrift */
    font-weight: normal !important; /* Kein Bold */
    font-family: Arial, sans-serif !important;
}

.wcpa_cart_meta_item-value {
    font-family: Arial, sans-serif !important;
    font-size: 18px !important;
    font-weight: normal !important;
}

.wcpa_cart_price {
    font-family: Arial, sans-serif !important;
    font-size: 18px !important;
    font-weight: normal !important;
}

/* Einheitliches Styling für alle Preise */
.woocommerce-Price-amount,
.woocommerce-Price-currencySymbol {
    font-family: Arial, sans-serif !important;
    font-size: 18px !important;
    font-weight: normal !important;
    color: #222 !important;
}

/* ========== Rechnungsadresse Styling ========== */
.woocommerce-billing-fields__field-wrapper {
    background-color: #f0f0f0 !important;
    padding: 10px !important;
    border-radius: 5px;
    font-family: Arial, sans-serif !important;
    font-size: 18px !important;
    font-weight: normal !important;
    color: #333 !important;
}

/* Eingabefelder innerhalb der Rechnungsadresse */
.woocommerce-billing-fields__field-wrapper input,
.woocommerce-billing-fields__field-wrapper select,
.woocommerce-billing-fields__field-wrapper textarea {
    font-family: Arial, sans-serif !important;
    font-size: 18px !important;
    font-weight: normal !important;
    color: #222 !important;
    background: #ffffff !important;
    border: 1px solid #ccc !important;
    padding: 10px !important;
    border-radius: 5px;
}

/* ========== Versandadresse Styling ========== */
.woocommerce-shipping-fields__field-wrapper {
    background-color: #f0f0f0 !important;
    padding: 10px !important;
    border-radius: 5px;
    font-family: Arial, sans-serif !important;
    font-size: 18px !important;
    font-weight: normal !important;
    color: #333 !important;
}

/* Eingabefelder innerhalb des Versandbereichs */
.woocommerce-shipping-fields__field-wrapper input,
.woocommerce-shipping-fields__field-wrapper select,
.woocommerce-shipping-fields__field-wrapper textarea {
    font-family: Arial, sans-serif !important;
    font-size: 18px !important;
    font-weight: normal !important;
    color: #222 !important;
    background: #ffffff !important;
    border: 1px solid #ccc !important;
    padding: 10px !important;
    border-radius: 5px;
}

/* ========== Zusatzfeld (Anmerkungen zur Bestellung) ========== */
.woocommerce-additional-fields__field-wrapper {
    background-color: #f0f0f0 !important;
    padding: 10px !important;
    border-radius: 5px;
    font-family: Arial, sans-serif !important;
    font-size: 18px !important;
    font-weight: normal !important;
    color: #333 !important;
}

/* Styling für das Anmerkungs-Textfeld */
.woocommerce-additional-fields__field-wrapper textarea {
    font-family: Arial, sans-serif !important;
    font-size: 18px !important;
    font-weight: normal !important;
    color: #222 !important;
    background: #ffffff !important;
    border: 1px solid #ccc !important;
    padding: 10px !important;
    border-radius: 5px;
    width: 100%;
    min-height: 80px;
}

/* ========== Einheitliche Labels für WooCommerce Formulare ========== */
.woocommerce-billing-fields__field-wrapper label,
.woocommerce-shipping-fields__field-wrapper label,
.woocommerce-additional-fields__field-wrapper label {
    font-size: 16px !important; /* Größer, aber nicht zu groß */
    font-weight: normal !important; /* Kein Fettgedruckt */
    color: #000 !important;
}

/* ========== Responsive Anpassung für Handy & Tablet ========== */
@media (max-width: 768px) {
    .woocommerce-billing-fields__field-wrapper,
    .woocommerce-shipping-fields__field-wrapper,
    .woocommerce-additional-fields__field-wrapper {
        font-size: 16px !important; /* Kleinere Schrift für Mobile */
    }

    .woocommerce-billing-fields__field-wrapper input,
    .woocommerce-billing-fields__field-wrapper select,
    .woocommerce-billing-fields__field-wrapper textarea,
    .woocommerce-shipping-fields__field-wrapper input,
    .woocommerce-shipping-fields__field-wrapper select,
    .woocommerce-shipping-fields__field-wrapper textarea,
    .woocommerce-additional-fields__field-wrapper textarea {
        font-size: 16px !important; /* Kleinere Schrift in Inputs */
        padding: 8px !important;
    }

    .woocommerce-billing-fields__field-wrapper label,
    .woocommerce-shipping-fields__field-wrapper label,
    .woocommerce-additional-fields__field-wrapper label {
        font-size: 14px !important; /* Kleinere Labels */
    }

    .shop_table.woocommerce-checkout-review-order-table td,
    .shop_table.woocommerce-checkout-review-order-table th {
        font-size: 16px !important; /* Kleinere Schrift für Checkout */
    }
}

.woocommerce-notice.woocommerce-notice--success.woocommerce-thankyou-order-received {
    font-size: 20px !important; /* Schriftgröße anpassen */
    font-weight: bold !important; /* Fett machen */
    color: #4B0082 ; /* Optional: grüne Farbe für besseren Effekt */
    text-align: center !important; /* Optional: Text zentrieren */
}

/* ========== Kasse safarie zoom funktion ausschalten  ========== */
.wcspc-item-qty-input {
    font-size: 16px !important;
    touch-action: manipulation;
    -webkit-user-select: none;
}

/* ========== Responsive beispiel iphone 8 plus ========== */

@media (max-width: 600px) {
    .wcspc-item-info, .wcspc-total-right {
        font-size: 14px !important;
    }

    .wcspc-action-full a {
        font-size: 14px;
        padding: 8px 12px;
    }

    .wcspc-item-thumb img {
        width: 60px;
        height: auto;
    }
}


#sp-wqv-view-button {
    font-size: 20px !important; /* Schriftgröße vergrößern */
    font-weight: bold; /* Falls du die Schrift fetter machen willst */
    padding: 12px 20px; /* Falls der Button größer werden soll */
}



@media (max-width: 600px) {
    #sp-wqv-view-button {
        font-size: 16px !important; /* Etwas kleiner für Mobilgeräte */
        padding: 10px 18px;
    }
}
