.elementor-4291 .elementor-element.elementor-element-c3f8242{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}.elementor-4291 .elementor-element.elementor-element-5ac49de{--spacer-size:50px;}.elementor-4291 .elementor-element.elementor-element-5b2a3f7{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}.elementor-4291 .elementor-element.elementor-element-434a5b3{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}/* Start custom CSS for wc-elements, class: .elementor-element-763b5f6 *//* --- Modernes & Schönes Warenkorb Design (DigitalMitKI Style) --- */

/* 1. Die Tabelle modernisieren (Weg vom Excel-Look) */
.woocommerce-cart-form table.shop_table {
    border: none !important;
    border-collapse: separate !important;
    border-spacing: 0 15px !important; /* Abstand zwischen den Produkt-Zeilen */
    background: transparent !important;
}

.woocommerce-cart-form table.shop_table thead th {
    font-family: 'Inter', sans-serif;
    text-transform: uppercase;
    font-size: 0.75rem !important;
    letter-spacing: 1px;
    color: #94a3b8; /* Leichteres Grau für Header */
    padding: 10px !important;
    border: none !important;
}

/* 2. Die einzelnen Produkt-Zeilen als "Karten" */
.woocommerce-cart-form table.shop_table tr.cart_item td {
    background: #ffffff;
    border-top: 1px solid #f1f5f9;
    border-bottom: 1px solid #f1f5f9;
    padding: 20px 15px !important;
    vertical-align: middle;
}

/* Runde Ecken für die erste und letzte Zelle jeder Reihe */
.woocommerce-cart-form table.shop_table tr.cart_item td:first-child {
    border-left: 1px solid #f1f5f9;
    border-top-left-radius: 12px;
    border-bottom-left-radius: 12px;
}

.woocommerce-cart-form table.shop_table tr.cart_item td:last-child {
    border-right: 1px solid #f1f5f9;
    border-top-right-radius: 12px;
    border-bottom-right-radius: 12px;
}

/* 3. Produktbild & Titel */
.woocommerce-cart-form .product-thumbnail {
    width: 90px !important; 
}

.woocommerce-cart-form .product-thumbnail img {
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    width: 70px !important;
    height: auto !important;
}

.woocommerce-cart-form .product-name a {
    color: #0f172a; /* Dein dunkles Blau */
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
}

/* 4. Das Entfernen-Kreuz (X) schöner machen */
.woocommerce-cart-form .product-remove a.remove {
    color: #ef4444 !important; /* Rot */
    background: #fef2f2;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    line-height: 26px; /* Zentrierung */
    font-size: 18px;
    font-weight: 400;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.woocommerce-cart-form .product-remove a.remove:hover {
    background: #ef4444;
    color: #fff !important;
    transform: rotate(90deg); /* Kleine Drehanimation */
}

/* 5. Mengen-Feld stylen */
.woocommerce-cart-form .quantity input {
    border: 1px solid #e2e8f0 !important;
    border-radius: 6px !important;
    padding: 8px !important;
    width: 60px !important;
    font-weight: 600;
    color: #334155;
    background: #f8fafc;
}

/* 6. Die "Warenkorb-Summe" Box (Rechts) - Mit mehr Abstand (50px) */
.cart-collaterals .cart_totals {
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
    
    /* UPDATE: Hier ist jetzt mehr Platz innen */
    padding: 50px !important; 
    
    width: 100% !important;
    max-width: 450px !important; 
    float: right;
    border: 1px solid #f1f5f9;
}

.cart-collaterals h2 {
    font-size: 1.25rem !important;
    font-weight: 800;
    color: #0f172a;
    text-transform: none !important;
    margin-bottom: 25px; /* Auch hier etwas mehr Platz nach unten */
    border-bottom: 2px solid #f1f5f9;
    padding-bottom: 15px;
}

/* Tabelle in der Summen-Box aufräumen */
.cart_totals table.shop_table {
    border: none !important;
    border-spacing: 0 !important;
    width: 100%;
}

.cart_totals table.shop_table th {
    font-weight: 600;
    color: #64748b;
    padding: 15px 0 !important;
    text-align: left;
}

.cart_totals table.shop_table td {
    text-align: right;
    font-weight: 700;
    color: #0f172a;
    padding: 15px 0 !important;
}

/* 7. Buttons (Gutschein & Checkout) */
.actions .coupon {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 10px; /* Kleiner Abstand zur Trennlinie */
}

.actions .coupon input#coupon_code {
    border-radius: 50px !important;
    border: 1px solid #e2e8f0 !important;
    padding: 10px 20px !important;
    width: 150px !important;
    background: #fff;
}

/* Der Haupt-Button "Weiter zur Kasse" */
.checkout-button {
    background: #2563eb !important; /* Dein Akzent-Blau */
    color: #fff !important;
    border-radius: 50px !important;
    padding: 18px 30px !important; /* Etwas höher für besseren Klickbereich */
    font-size: 1rem !important;
    font-weight: 600 !important;
    width: 100%;
    margin-top: 20px !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease !important;
    border: none !important;
    display: block !important;
    text-align: center !important;
}

.checkout-button:hover {
    background: #1d4ed8 !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3);
}

/* Mobile Anpassung */
@media (max-width: 768px) {
    /* Bild auf Handy ausblenden für mehr Platz */
    .woocommerce-cart-form .product-thumbnail { 
        display: none; 
    } 
    
    /* Summenbox auf Handy wieder etwas kompakter */
    .cart-collaterals .cart_totals { 
        width: 100% !important; 
        max-width: 100% !important; 
        padding: 30px !important;
        float: none;
    }
    
    .actions .coupon {
        flex-direction: column;
        align-items: stretch;
    }
    
    .actions .coupon input#coupon_code {
        width: 100% !important;
        margin-bottom: 10px;
    }
}/* End custom CSS */