/**
 * WooCommerce Custom Checkout - Frontend Styles
 * Version: 1.0.0
 * 
 * WICHTIG: Alle Styles sind auf .woocommerce-checkout beschränkt
 * um Konflikte mit Theme-Styles zu vermeiden
 */

/* === Variables === */
:root {
    --wcc-primary-color: #007cba;
    --wcc-secondary-color: #46b450;
    --wcc-danger-color: #dc3545;
    --wcc-border-color: #e0e0e0;
    --wcc-background-light: #f8f9fa;
    --wcc-text-primary: #333;
    --wcc-text-secondary: #666;
}

/* === ISOLATION WRAPPER === */
/* Alle nachfolgenden Styles gelten NUR innerhalb unseres Checkouts */

/* === Elementor Variable Cleanup === */
/* Entfernt - war zu aggressiv */

/* SANFTER ELEMENTOR TYPOGRAPHY OVERRIDE */
/* Nur die problematischen Variablen blocken */
.woocommerce-checkout h3.wcc-section-title {
    font-size: 20px !important;
    font-weight: 600 !important;
    margin-bottom: 5px !important;
    line-height: 1.3 !important;
}

.woocommerce-checkout p.wcc-section-subtitle {
    font-size: 14px !important;
    color: #666 !important;
    margin-bottom: 20px !important;
    line-height: 2.0 !important;
}

/* Elementor Input Farben Override */
body.woocommerce-checkout .wcc-checkout-container input:not([type="button"]):not([type="submit"]),
body.woocommerce-checkout .wcc-checkout-container textarea,
body.woocommerce-checkout .wcc-checkout-container select,
body.woocommerce-checkout .wcc-checkout-container .elementor-field-textual {
    color: #000 !important;
}

/* Noch spezifischer für Elementor Kit */
body.elementor-kit-48776.woocommerce-checkout input:not([type="button"]):not([type="submit"]),
body.elementor-kit-48776.woocommerce-checkout textarea,
body.elementor-kit-48776.woocommerce-checkout .elementor-field-textual {
    color: #000 !important;
}

/* Abstände - sanfter */
.woocommerce-checkout .wcc-contact-fields,
.woocommerce-checkout .wcc-shipping-fields,
.woocommerce-checkout .wcc-billing-fields {
    margin-bottom: 15px;
}

/* Font weights sicherstellen */
.woocommerce-checkout strong,
.woocommerce-checkout b,
.woocommerce-checkout .wcc-item-name,
.woocommerce-checkout .wcc-total-label,
.woocommerce-checkout .wcc-place-order-btn {
    font-weight: 600 !important;
}

/* WooCommerce default coupon form - Entfernt via PHP Hook */

/* WooCommerce Messages ausblenden (Gutschein entfernt, etc.) */
.woocommerce-checkout .woocommerce-message,
.woocommerce-checkout .woocommerce-info,
.woocommerce-checkout .woocommerce-error:not(.wcc-validation-alert) {
    display: none !important;
}

/* === Modernes Notice System === */
.wcc-notice-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    max-width: 400px;
}

.wcc-notice {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    margin-bottom: 15px;
    padding: 16px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    position: relative;
    transform: translateX(120%);
    transition: transform 0.3s ease, opacity 0.3s ease;
    opacity: 0;
}

.wcc-notice.wcc-notice-show {
    transform: translateX(0);
    opacity: 1;
}

.wcc-notice-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wcc-notice-icon i {
    font-size: 20px;
}

.wcc-notice-error {
    border-left: 4px solid #dc3545;
}

.wcc-notice-error .wcc-notice-icon {
    color: #dc3545;
}

.wcc-notice-success {
    border-left: 4px solid #28a745;
}

.wcc-notice-success .wcc-notice-icon {
    color: #28a745;
}

.wcc-notice-content {
    flex: 1;
}

.wcc-notice-message {
    font-size: 14px;
    line-height: 1.5;
    color: #333;
}

.wcc-notice-close {
    position: absolute;
    top: 8px;
    right: 8px;
    background: none;
    border: none;
    color: #999;
    cursor: pointer;
    padding: 4px;
    line-height: 1;
    transition: color 0.2s ease;
}

.wcc-notice-close:hover {
    color: #333;
}

.wcc-notice-close i {
    font-size: 14px;
}

/* Mobile Anpassungen */
@media (max-width: 480px) {
    .wcc-notice-container {
        left: 10px;
        right: 10px;
        max-width: none;
    }
    
    .wcc-notice {
        font-size: 13px;
    }
}

/* === Stabilisierte Sidebar - Keine Sprünge mehr === */
@media (min-width: 768px) {
    .wcc-checkout-container {
        display: flex;
        gap: 20px;
        align-items: flex-start;
    }
    
    .wcc-checkout-form-section {
        flex: 0 0 68%; /* 68% für linke Spalte (Gap berücksichtigen) */
        min-width: 0; /* Prevent overflow */
    }
    
    .wcc-checkout-sidebar,
    .wcc-order-summary-section {
        flex: 0 0 32%; /* 32% für rechte Spalte (Gap berücksichtigen) */
        /* Nicht mehr sticky - Kinder-Elemente werden einzeln sticky */
    }
    
    /* Order Summary - natürliche Höhe */
    .wcc-order-summary {
        /* Wächst mit Inhalt */
    }
    
    /* Free Shipping Widget - Kein Springen */
    #free-shipping-widget {
        background: #fff;
        border: 1px solid var(--wcc-border-color);
        border-radius: 8px;
        padding: 15px;
        margin-bottom: 20px;
        box-shadow: 0 2px 4px rgba(0,0,0,0.1);
        /* Feste Höhe um Springen zu verhindern */
        min-height: 80px;
        transition: none !important; /* Keine Animationen */
    }
    
    /* Cart Items Container - Natürliche Höhe */
    .wcc-cart-items {
        /* Keine feste Höhe mehr - wächst mit Inhalt */
        overflow: visible; /* Erlaubt × Button links außerhalb */
        padding: 0 15px; /* Seitliches Padding für Inhalte */
    }
    
    /* Order Totals */
    .wcc-order-totals {
        /* min-height entfernt */
    }
    
    /* Prevent layout shift during updates */
    .wcc-order-summary-totals {
        position: relative;
        /* min-height entfernt */
    }
    
    /* Loading state - gleiche Höhe behalten */
    .wcc-order-summary.processing::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(255,255,255,0.8);
        z-index: 100;
    }
}

/* Free Shipping Widget Styles */
#free-shipping-widget {
    font-size: 14px;
}

/* Free Shipping Section - Sticky auf Desktop */
@media (min-width: 768px) {
    .wcc-free-shipping-section {
        position: sticky !important;
        /* top wird dynamisch via JavaScript gesetzt */
        z-index: 100 !important;
        background: #fff; /* Für sauberen Look beim Scrollen */
    }
}

.shipping-progress-bar {
    width: 100%;
    height: 8px;
    background: #f0f0f0;
    border-radius: 4px;
    overflow: hidden;
    margin: 10px 0;
}

.shipping-progress-fill {
    height: 100%;
    background: var(--wcc-secondary-color);
    transition: width 0.3s ease;
    border-radius: 4px;
}

.shipping-progress-text {
    font-weight: 500;
    color: var(--wcc-text-primary);
}

.shipping-remaining-amount {
    color: var(--wcc-primary-color);
    font-weight: 600;
}

/* === Express Checkout Styles === */
/* Express Checkout Header - ENTFERNT, siehe neue Styles weiter unten */

/* Express Checkout Container */
.wcc-express-checkout-content {
    padding: 0;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* ODER Divider */
.wcc-express-divider {
    display: block;
    text-align: center;
    margin: 15px 0;
    color: #999;
    font-size: 12px;
    font-weight: normal;
}

/* Google Pay Button Container - Sichtbar machen */
.wcc-other-express-payments {
    display: block !important;
    min-height: 0 !important; /* Keine feste Höhe */
    margin-bottom: 0 !important; /* Kein extra Abstand */
}

/* Express Checkout Isolation Container */
.wcc-express-checkout-isolated {
    position: relative;
    isolation: isolate; /* CSS Isolation */
    contain: layout style; /* CSS Containment */
    will-change: contents; /* Optimierung */
    z-index: 1; /* Eigener Stacking Context */
}

/* PayPal und Express Checkout z-index begrenzen - verhindert Überlagerung der Navigation */
.wcc-express-checkout-section,
.wcc-express-checkout-content,
#paypal-button-container,
.paypal-buttons,
.ppcp-button,
.wcpay-express-checkout-wrapper,
.ppcp-messages {
    z-index: 1 !important;
    position: relative !important;
}

/* PayPal iFrames z-index begrenzen */
#paypal-button-container iframe,
.paypal-buttons iframe,
.ppcp-button iframe,
.zoid-component-frame,
.zoid-invisible,
.zoid-visible {
    z-index: 1 !important;
    max-z-index: 10 !important;
}

.wcc-other-express-payments .wcpay-express-checkout-wrapper {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    min-height: 48px !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Google Pay Button selbst - volle Breite */
.wcpay-express-checkout-wrapper iframe,
.wcpay-express-checkout-wrapper .gpay-button,
.wcpay-express-checkout-wrapper > div {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: 100% !important;
    max-width: 100% !important;
    min-height: 48px !important;
}

/* PayPal Button - Kompakter */
#paypal-button-container {
    display: block !important;
    visibility: visible !important;
    margin-bottom: 8px !important; /* Weniger Abstand zu Google Pay */
    width: 100% !important;
    max-width: 100% !important;
    height: 45px !important;
    max-height: 45px !important;
    position: relative;
    z-index: 1 !important; /* Niedrig halten, damit Menü darüber liegt */
}

#paypal-button-container iframe,
#paypal-button-container .paypal-buttons {
    width: 100% !important;
    max-width: 100% !important;
    height: 45px !important;
    max-height: 45px !important;
}

/* PayPal Messages ausblenden */
.ppcp-messages,
#ppcp-messages,
.paypal-messages {
    display: none !important;
}

/* Express Payment Buttons Abstand - nur direkte Kinder */
.wcc-express-checkout-content > div:not(:last-child) {
    margin-bottom: 15px;
}

.wcc-express-checkout-content #paypal-button-container iframe {
    min-height: 48px;
}



/* PayPal Button */
.wcc-paypal-pro {
    background: #ffc439;
    color: #003087;
    border: 1px solid #ffc439;
}

.wcc-paypal-logo {
    font-weight: 700;
    font-size: 16px;
    color: #003087;
    font-family: 'Helvetica Neue', Arial, sans-serif;
}

.wcc-express-text {
    color: #003087;
    font-weight: 500;
}

/* PayPal Later Button */
.wcc-paypal-later-pro {
    background: #003087;
    color: #fff;
    border: 1px solid #003087;
}

.wcc-paypal-logo-white {
    font-weight: 700;
    font-size: 16px;
    color: #ffc439;
    font-family: 'Helvetica Neue', Arial, sans-serif;
}

.wcc-express-text-white {
    color: #fff;
    font-weight: 500;
}

/* Card/Google Pay Button */
.wcc-card-pro {
    background: #1a1a1a;
    color: #fff;
    border: 1px solid #1a1a1a;
}

.wcc-googlepay-logo {
    background: #4285f4;
    color: #fff;
    padding: 4px 8px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 12px;
}

.wcc-visa-logo {
    background: #1a1f71;
    color: #fff;
    padding: 4px 8px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 1px;
}

.wcc-card-number {
    color: #fff;
    font-weight: 500;
    font-family: 'Courier New', monospace;
}

/* Responsive Professional Buttons */
@media (max-width: 768px) {
    .wcc-express-buttons-professional {
        flex-direction: column;
        gap: 10px;
    }
    
    .wcc-express-btn-pro {
        padding: 14px 16px;
        min-height: 52px;
        flex: 1 1 100%;
    }
}

@media (max-width: 480px) {
    .wcc-express-btn-pro {
        font-size: 13px;
        gap: 6px;
    }
    
    .wcc-paypal-logo,
    .wcc-paypal-logo-white {
        font-size: 15px;
    }
}

/* Legacy Express Buttons (Fallback) */
.wcc-express-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 0;
    max-width: 100%;
}

.wcc-express-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 15px 20px;
    border: 1px solid var(--wcc-border-color);
    border-radius: 8px;
    background: #fff;
    color: var(--wcc-text-primary);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    justify-content: center;
    flex: 1;
    min-height: 50px;
    font-size: 14px;
}

.wcc-express-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.wcc-paypal-btn {
    background: #0070ba;
    color: #fff;
    border-color: #0070ba;
}

.wcc-applepay-btn {
    background: #000;
    color: #fff;
    border-color: #000;
}

.wcc-googlepay-btn {
    background: #4285f4;
    color: #fff;
    border-color: #4285f4;
}

.wcc-klarna-btn {
    background: #ffb3c7;
    color: #000;
    border-color: #ffb3c7;
}

/* Responsive Express Buttons */
@media (max-width: 1200px) {
    .wcc-express-buttons {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .wcc-express-buttons {
        flex-direction: column;
    }
    
    .wcc-express-btn {
        padding: 12px 16px;
        font-size: 13px;
        width: 100%;
    }
}

@media (min-width: 1201px) {
    .wcc-express-buttons {
        flex-direction: row;
    }
}

.wcc-express-divider {
    position: relative;
    margin: 25px 0;
    text-align: center;
}

.wcc-express-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: calc(50% - 60px);
    width: 20px;
    height: 1px;
    background: var(--wcc-border-color);
}

.wcc-express-divider::after {
    content: '';
    position: absolute;
    top: 50%;
    right: calc(50% - 60px);
    width: 20px;
    height: 1px;
    background: var(--wcc-border-color);
}

.wcc-express-divider span {
    background: #fff;
    padding: 0 20px;
    color: var(--wcc-text-secondary);
    font-size: 14px;
    position: relative;
    z-index: 1;
}

/* === Modern Checkout Layout === */
.wcc-checkout-modern .wcc-checkout-container {
    display: grid;
    grid-template-columns: 65% 35%;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: start;
}

.wcc-checkout-form-section {
    background: #fff;
    position: relative;
}

.wcc-checkout-form-section::after {
    content: '';
    position: absolute;
    top: 0;
    right: -20px;
    bottom: 0;
    width: 1px;
    background: #e0e0e0;
}

.wcc-order-summary-section {
    /* Sticky wird dynamisch gesetzt via inline CSS mit Admin-Setting */
}

.wcc-order-summary-sticky {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-sizing: border-box;
}

/* === Form Sections === */
.wcc-form-section {
    padding: 25px;
}

.wcc-form-section:last-child {
    border-bottom: none;
}

.wcc-section-title {
    margin: 0 0 20px 0;
    font-size: 20px;
    font-weight: 600;
    color: var(--wcc-text-primary);
}

.wcc-section-subtitle {
    margin: -15px 0 20px 0;
    font-size: 14px;
    color: #999;
    line-height: 1.4;
}

/* === Custom Checkboxes === */
.wcc-checkbox-label {
    cursor: pointer;
    font-size: 14px;
    line-height: 1.5;
    display: block;
}

.wcc-checkbox-label input[type="checkbox"] {
    margin-right: 8px;
    vertical-align: top;
    margin-top: 2px;
}

/* Spezielle Styling für Rechnungsadresse Checkbox */
#billing-same-as-shipping-checkbox {
    width: 20px !important;
    height: 20px !important;
    border-radius: 50% !important;
    appearance: none !important;
    border: 2px solid var(--wcc-primary-color) !important;
    background: #fff !important;
    cursor: pointer !important;
    position: relative !important;
    margin-right: 12px !important;
    margin-top: 0 !important;
    vertical-align: middle !important;
}

#billing-same-as-shipping-checkbox:checked {
    background: var(--wcc-primary-color) !important;
}

#billing-same-as-shipping-checkbox:checked::after {
    content: '✓' !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    color: white !important;
    font-size: 12px !important;
    font-weight: bold !important;
}

.wcc-checkbox-custom {
    display: none;
}

/* === Account Options === */
.wcc-account-options {
    margin-top: 20px;
}

.wcc-option-row {
    margin-bottom: 15px;
}

/* Account Options Checkboxes - Same styling as billing checkbox */
#create_account_checkbox,
#newsletter_checkbox {
    width: 20px !important;
    height: 20px !important;
    border-radius: 50% !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    border: 2px solid var(--wcc-primary-color) !important;
    background: #fff !important;
    cursor: pointer !important;
    position: relative !important;
    margin-right: 12px !important;
    margin-top: 0 !important;
    vertical-align: middle !important;
    display: inline-block !important;
}

#create_account_checkbox:checked,
#newsletter_checkbox:checked {
    background: var(--wcc-primary-color) !important;
}

#create_account_checkbox:checked::after,
#newsletter_checkbox:checked::after {
    content: '✓' !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    color: white !important;
    font-size: 12px !important;
    font-weight: bold !important;
}

/* Password Field */
.wcc-password-field {
    margin-top: 15px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.wcc-password-field .form-row {
    position: relative;
    margin-bottom: 0;
}

.wcc-password-field input[type="password"],
.wcc-password-field input[type="text"] {
    width: 100%;
    padding: 24px 45px 10px 12px; /* Rechts mehr Platz für Icon */
    border: 1px solid var(--wcc-border-color);
    border-radius: 4px;
    font-size: 16px;
    transition: border-color 0.3s ease;
    background: #fff;
    min-height: 56px;
    box-sizing: border-box;
}

.wcc-password-field input[type="password"]:focus,
.wcc-password-field input[type="text"]:focus {
    border-color: var(--wcc-primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 124, 186, 0.1);
}

/* Password field also uses CSS-only floating placeholders */
.wcc-password-field {
    position: relative;
}

.wcc-password-field .wcc-floating-placeholder {
    position: absolute;
    top: 15px;
    left: 16px;
    background: white;
    padding: 0 4px;
    font-size: 14px;
    color: #999;
    pointer-events: none;
    transition: all 0.3s ease;
    z-index: 1;
    transform-origin: left top;
}

.wcc-password-field input:not(:placeholder-shown) + .wcc-floating-placeholder,
.wcc-password-field input:focus + .wcc-floating-placeholder {
    top: -8px;
    font-size: 12px;
    color: #666;
    transform: scale(0.85);
}

.wcc-password-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent !important;
    border: none !important;
    cursor: pointer;
    padding: 4px;
    margin: 0;
    color: #666 !important;
    transition: color 0.2s ease;
    z-index: 10;
    outline: none !important;
    box-shadow: none !important;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wcc-password-toggle:hover {
    color: #333 !important;
    background: transparent !important;
}

.wcc-password-toggle:focus,
.wcc-password-toggle:active {
    background: transparent !important;
    outline: none !important;
    box-shadow: none !important;
    color: #333 !important;
}

.wcc-password-toggle i,
.wcc-password-toggle i::before {
    display: block;
    font-size: 16px;
    line-height: 1;
    color: #666 !important;
}

.wcc-password-toggle:hover i,
.wcc-password-toggle:hover i::before {
    color: #333 !important;
}

/* Override any button styles for password toggle - NUR im Checkout */
.wcc-checkout-container button.wcc-password-toggle,
.wcc-checkout-container .wcc-password-field button.wcc-password-toggle {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
    width: auto !important;
    height: auto !important;
    min-width: unset !important;
    min-height: unset !important;
    color: #666 !important;
}

/* Force icon color - NUR im Checkout */
.wcc-checkout-container .wcc-password-toggle .fa-eye,
.wcc-checkout-container .wcc-password-toggle .fa-eye-slash,
.wcc-checkout-container .wcc-password-toggle .fas,
.wcc-checkout-container button.wcc-password-toggle i {
    color: #666 !important;
}

.wcc-checkout-container button.wcc-password-toggle:hover i {
    color: #333 !important;
}

/* Hide WooCommerce default login/coupon toggles */
.woocommerce-form-login-toggle,
.woocommerce-form-coupon-toggle,
.woocommerce-checkout .woocommerce-info {
    display: none !important;
}

/* === Login Toggle === */
.wcc-login-toggle-wrapper {
    margin-bottom: 15px;
}

.wcc-login-prompt {
    text-align: left;
    color: var(--wcc-text-secondary);
    font-size: 14px;
    margin: 0;
}

.wcc-login-toggle-link {
    color: var(--wcc-primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.wcc-login-toggle-link:hover {
    color: #005a8a;
    text-decoration: underline;
}

/* Login Form */
.wcc-login-form-wrapper {
    margin-bottom: 20px;
}

.wcc-login-fields,
.wcc-password-reset-form {
    /* Kein Background, kein Border - gleicher Style wie andere Felder */
}

.wcc-login-form-wrapper .form-row {
    margin-bottom: 20px;
}

/* Login Actions Row Layout */
.wcc-login-actions-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-top: 20px;
    gap: 20px;
}

.wcc-login-links {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.wcc-forgot-password-link,
.wcc-cancel-login-link {
    color: var(--wcc-text-secondary);
    text-decoration: none;
    font-size: 13px;
    transition: color 0.2s ease;
    display: block;
}

.wcc-forgot-password-link:hover,
.wcc-cancel-login-link:hover {
    color: var(--wcc-primary-color);
    text-decoration: underline;
}

.wcc-login-button-wrapper {
    flex-shrink: 0;
}

.wcc-login-submit {
    /* Nutzt Standard button alt Styles */
    margin: 0;
}

/* Mobile Ansicht */
@media (max-width: 480px) {
    .wcc-login-actions-row {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }
    
    .wcc-login-links {
        order: 2;
        text-align: center;
    }
    
    .wcc-login-button-wrapper {
        order: 1;
        text-align: center;
    }
    
    .wcc-login-submit {
        width: 100%;
    }
}

/* Password Reset Form */
.wcc-password-reset-form h4 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 18px;
    font-weight: 600;
}

.wcc-reset-info {
    color: var(--wcc-text-secondary);
    font-size: 14px;
    margin-bottom: 20px;
}

.wcc-reset-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 20px;
}

.wcc-reset-cancel {
    color: var(--wcc-text-secondary);
    text-decoration: none;
    font-size: 14px;
}

.wcc-reset-cancel:hover {
    text-decoration: underline;
}

/* === Address Compact View === */
.wcc-address-compact {
    background: var(--wcc-background-light);
    border: 1px solid var(--wcc-border-color);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.wcc-address-compact:hover {
    border-color: var(--wcc-primary-color);
}

.wcc-compact-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 8px;
}

.wcc-compact-name {
    font-weight: 600;
    font-size: 16px;
    color: var(--wcc-text-primary);
    flex: 1;
}

.wcc-edit-address-link {
    color: var(--wcc-text-secondary);
    font-size: 13px;
    text-decoration: none;
    transition: color 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.wcc-edit-address-link:hover {
    color: var(--wcc-primary-color);
    text-decoration: none;
}

.wcc-edit-address-link i {
    font-size: 14px;
}

.wcc-compact-address {
    color: var(--wcc-text-secondary);
    font-size: 14px;
    line-height: 1.4;
    margin-bottom: 4px;
}

.wcc-compact-extra {
    color: var(--wcc-text-secondary);
    font-size: 14px;
    line-height: 1.4;
    margin-bottom: 4px;
}

.wcc-compact-location {
    color: var(--wcc-text-secondary);
    font-size: 14px;
    line-height: 1.4;
    margin-bottom: 4px;
}

.wcc-compact-country {
    color: var(--wcc-text-secondary);
    font-size: 14px;
    line-height: 1.4;
    margin-bottom: 4px;
}

.wcc-compact-phone {
    color: var(--wcc-text-secondary);
    font-size: 14px;
    line-height: 1.4;
}

.wcc-address-fields {
    transition: all 0.3s ease;
}

/* === Geoapify Address Autocomplete === */
.geoapify-autocomplete-container {
    position: relative;
}

.geoapify-autocomplete-items {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid var(--wcc-border-color);
    border-top: none;
    border-radius: 0 0 4px 4px;
    max-height: 200px;
    overflow-y: auto;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.geoapify-autocomplete-item {
    padding: 12px 15px;
    cursor: pointer;
    border-bottom: 1px solid #f0f0f0;
    transition: background-color 0.2s ease;
}

.geoapify-autocomplete-item:last-child {
    border-bottom: none;
}

.geoapify-autocomplete-item:hover,
.geoapify-autocomplete-item.active {
    background: var(--wcc-background-light);
}

.geoapify-autocomplete-item-main {
    font-weight: 600;
    color: var(--wcc-text-primary);
    margin-bottom: 2px;
}

.geoapify-autocomplete-item-secondary {
    font-size: 12px;
    color: var(--wcc-text-secondary);
}

.geoapify-loading {
    padding: 12px 15px;
    text-align: center;
    color: var(--wcc-text-secondary);
    font-style: italic;
}

/* Autocomplete Input Styling */
.geoapify-autocomplete-input {
    position: relative;
}

.geoapify-autocomplete-input input {
    padding-right: 40px !important;
}

.geoapify-autocomplete-clear {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: var(--wcc-text-secondary);
    font-size: 16px;
    padding: 4px;
    z-index: 2;
}

.geoapify-autocomplete-clear:hover {
    color: var(--wcc-primary-color);
}



/* === Cart Items === */
.wcc-cart-items {
    margin-bottom: 25px;
    position: relative;
}

/* === Expandable Cart Items === */
@media (min-width: 769px) {
    /* CSS versteckt keine Items mehr - JavaScript handhabt alles über max-height */
    /* Dadurch wird sichergestellt, dass genau 4.5 bzw. 2.5 Produkte sichtbar sind */
}

/* Expand/Collapse Bar */
.wcc-expand-bar {
    display: none;
    position: relative;
    margin-top: 20px;
    padding: 15px 0;
    cursor: pointer;
    border-top: 1px solid #e0e0e0;
    transition: all 0.3s ease;
}

.wcc-expand-bar:hover {
    background: linear-gradient(to bottom, rgba(255,255,255,0.9), rgba(255,255,255,1));
}

/* Show expand bar on all devices when has many items */
.woocommerce-cart .wcc-cart-items.has-many-items .wcc-expand-bar,
.woocommerce-checkout .wcc-cart-items.has-many-items .wcc-expand-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Mobile specific adjustments */
@media (max-width: 768px) {
    .wcc-expand-bar {
        margin-top: 15px;
        padding: 12px 0;
        font-size: 16px;
    }
    
    .wcc-expand-info {
        font-size: 18px !important;
        font-weight: 800 !important; /* Extra bold */
        color: #333 !important;
    }
    
    .wcc-expand-action {
        font-size: 17px !important;
        gap: 8px;
        font-weight: 700 !important;
    }
    
    .wcc-expand-text {
        font-weight: 800 !important; /* Extra bold für "Alle anzeigen" */
    }
    
    .wcc-expand-arrow {
        font-size: 18px !important;
    }
}

.wcc-expand-info {
    font-size: 14px;
    color: #666;
    font-weight: 700; /* Bold */
}

.wcc-expand-action {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--wcc-primary-color);
    font-size: 14px;
    font-weight: 700; /* Bold */
    transition: color 0.2s ease;
}

.wcc-expand-action:hover {
    color: #005a8b;
}

.wcc-expand-arrow {
    font-size: 16px;
    transition: transform 0.3s ease;
}

/* Expanded State */
.wcc-cart-items.expanded .wcc-expand-arrow {
    transform: rotate(-90deg);
}

.wcc-cart-items.expanded .wcc-cart-item {
    /* Behalte Grid/Flex Layout - nur Sichtbarkeit ändern */
    opacity: 1 !important;
    pointer-events: auto !important;
}

/* Smooth height animation */
.wcc-cart-items-wrapper {
    overflow: hidden; /* Für sauberen Effekt */
    transition: max-height 0.5s ease;
    position: relative;
}

/* Halber Produkt-Effekt mit dezentem Gradient */
.wcc-cart-items.collapsed .wcc-cart-items-wrapper::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 15px; /* Gradient startet bei 15px wegen padding */
    right: 15px; /* Gradient endet bei 15px wegen padding */
    height: 60px;
    background: linear-gradient(to bottom, transparent 0%, rgba(255,255,255,0.6) 40%, rgba(255,255,255,0.95) 80%, rgba(255,255,255,1) 100%);
    pointer-events: none;
    z-index: 2;
}


.wcc-cart-items.collapsed .wcc-cart-items-wrapper {
    position: relative;
}

/* Fix für zerrissene Styles nach dem 5. Produkt */
.wcc-cart-items .wcc-cart-item {
    /* Grid bleibt konsistent */
    margin-bottom: 15px;
}

.wcc-cart-items .wcc-cart-item:last-child {
    margin-bottom: 0;
}

/* Verhindere Layout-Sprünge beim Expand */
.wcc-cart-items.expanded .wcc-cart-items-wrapper {
    overflow: visible !important; /* Wichtig: Alles sichtbar im expanded state */
    padding-bottom: 20px !important; /* Extra Platz für letztes Produkt */
    max-height: none !important; /* Keine Höhenbeschränkung */
    margin-bottom: 10px; /* Sicherheitsabstand */
}

/* Expand Bar bleibt wie oben definiert */

/* Container muss relative sein */
.wcc-cart-items {
    position: relative;
}

/* Kein extra padding im wrapper */
.wcc-cart-items.collapsed .wcc-cart-items-wrapper {
    position: relative;
    /* Kein padding-bottom - das verschiebt die Höhenberechnung */
}

/* Desktop Layout */
@media (min-width: 1025px) {
    .woocommerce-cart .wcc-cart-item,
    .woocommerce-checkout .wcc-cart-item {
        display: flex;
        align-items: center;
        gap: 15px;
        padding: 10px 0;
        border-bottom: 1px solid var(--wcc-border-color);
        min-height: auto;
    }
}

/* Desktop Layout für Cart Items */
@media (min-width: 769px) {
    .woocommerce-cart .wcc-cart-item,
    .woocommerce-checkout .wcc-cart-item {
        display: flex;
        align-items: center;
        gap: 20px;
        padding: 15px 0;
        border-bottom: 1px solid var(--wcc-border-color);
        position: relative;
    }
    
    /* X Button ganz links */
    .wcc-remove-item {
        position: static;
        width: 20px;
        height: 20px;
        background: transparent;
        color: var(--wcc-danger-color);
        border: none;
        font-size: 16px;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: opacity 0.2s ease;
        flex-shrink: 0;
    }
    
    .wcc-remove-item:hover {
        opacity: 0.7;
    }
    
    /* Bild */
    .wcc-item-image {
        width: 100px;
        height: 100px;
        flex: 0 0 100px; /* Flex-basis auf 100px setzen */
    }
    
    .woocommerce-cart .wcc-cart-item .wcc-item-image img,
    .woocommerce-checkout .wcc-cart-item .wcc-item-image img {
        width: 100px !important;
        height: 100px !important;
        object-fit: cover !important;
        border-radius: 4px !important;
        border: 1px solid rgba(0,0,0,0.08) !important;
        box-shadow: 0 2px 4px rgba(0,0,0,0.06) !important;
    }
    
    /* Details in der Mitte */
    .wcc-item-details {
        flex: 1;
    }
    
    .wcc-item-name {
        font-size: 16px;
        font-weight: 600;
        line-height: 1.4;
        color: #333;
        margin-bottom: 4px;
    }
    
    .wcc-item-meta {
        font-size: 13px;
        color: #666;
        line-height: 1.3;
    }
    
    /* Rechte Spalte mit Preis und Quantity */
    .wcc-item-right-column {
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        gap: 15px;
        flex-shrink: 0;
    }
    
    /* Preis oben */
    .wcc-item-price {
        text-align: right;
    }
    
    .wcc-price-amount {
        font-size: 18px !important;
        font-weight: 600 !important;
        color: #333 !important;
        line-height: 1 !important;
    }
    
    .wcc-price-tax-info {
        font-size: 12px !important;
        color: #999 !important;
        margin-top: 4px !important;
        line-height: 1 !important;
    }
    
    /* Quantity unten */
    .wcc-item-quantity {
        display: flex;
        align-items: center;
        gap: 0;
        background: #f5f5f5;
        border-radius: 4px;
        overflow: hidden;
    }
    
    .wcc-qty-btn {
        width: 32px;
        height: 32px;
        border: none;
        background: transparent;
        font-size: 16px;
        font-weight: 600;
        color: #666;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: background 0.2s ease;
    }
    
    .wcc-qty-btn:hover {
        background: rgba(0,0,0,0.05);
    }
    
    .wcc-qty-display {
        width: 32px;
        text-align: center;
        font-size: 14px;
        font-weight: 600;
        color: #333;
        line-height: 32px;
    }
}

/* Linke Spalte: Bild + Quantity */
.wcc-item-left {
    width: 100px;
    position: relative;
    z-index: 1;
}

.wcc-item-image {
    position: relative;
    width: 100px;
    height: 100px;
    margin-bottom: 0; /* Abstand wird bei quantity gemacht */
}

/* Bild-Styles nach oben verschoben in Desktop/Mobile Sections */

/* Rotes X oben links */
.wcc-remove-item {
    position: absolute;
    top: -12px; /* Höher über dem Bild */
    left: -8px; /* Über dem Bild */
    width: 24px;
    height: 24px;
    background: var(--wcc-danger-color);
    color: white;
    border: 2px solid white;
    border-radius: 50%;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 1px 2px rgba(0,0,0,0.1), 0 0 0 1px rgba(0,0,0,0.05);
    transition: transform 0.2s ease;
}

.wcc-remove-item:hover {
    transform: scale(1.1);
}

/* Quantity Buttons */
.wcc-item-quantity {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0; /* Kein Gap zwischen Buttons */
    width: 100px;
    height: 34px;
    background: #f5f5f5;
    border-radius: 4px;
    overflow: visible; /* Wichtig: nicht hidden */
    margin-top: 5px; /* Nur 5px Abstand zum Bild */
}

.wcc-qty-btn {
    width: 33px;
    height: 34px;
    border: none;
    background: transparent;
    font-size: 16px;
    font-weight: 600;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease;
    padding: 0;
    line-height: 1;
    flex-shrink: 0;
    border-right: 1px solid rgba(0,0,0,0.1); /* Subtile Trennung */
}

.wcc-qty-btn:last-child {
    border-right: none;
}

.wcc-qty-btn:first-child {
    border-radius: 4px 0 0 4px;
}

.wcc-qty-btn:last-child {
    border-radius: 0 4px 4px 0;
}

.wcc-qty-btn:hover {
    background: rgba(0,0,0,0.05);
}

.wcc-qty-display {
    width: 34px;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    line-height: 34px;
    flex-shrink: 0;
}

/* Mittlere Spalte: Produktinfos */
.wcc-item-middle {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.wcc-item-name {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
    color: #333;
}

.wcc-item-meta {
    font-size: 13px;
    color: #666;
    line-height: 1.3;
}

/* Rechte Spalte: Preis */
.wcc-item-right {
    display: flex;
    align-items: flex-end;
    min-height: 134px; /* 100px Bild + 10px gap + 34px quantity */
}

.wcc-item-price {
    text-align: right;
}

.woocommerce-cart .wcc-cart-item .wcc-price-amount,
.woocommerce-checkout .wcc-cart-item .wcc-price-amount {
    font-size: 18px !important;
    font-weight: 600 !important;
    color: #333 !important;
    line-height: 1 !important;
}

.woocommerce-cart .wcc-cart-item .wcc-price-tax-info,
.woocommerce-checkout .wcc-cart-item .wcc-price-tax-info {
    font-size: 12px !important;
    color: #999 !important;
    margin-top: 4px !important;
    line-height: 1 !important;
}

/* Mobile Layout für Cart Items */
@media (max-width: 768px) {
    .woocommerce-cart .wcc-cart-item,
    .woocommerce-checkout .wcc-cart-item {
        display: grid;
        grid-template-columns: 90px 1fr auto; /* Nur noch 3 Spalten: Bild, Details, Preis/Quantity */
        grid-template-rows: 90px; /* Feste Höhe */
        gap: 10px 15px;
        padding: 10px 0; /* Weniger padding */
        border-bottom: 1px solid var(--wcc-border-color);
        position: relative;
        align-items: start;
    }
    
    /* Bild mit X Button */
    .wcc-item-image {
        grid-column: 1;
        grid-row: 1;
        width: 90px;
        height: 90px;
        position: relative; /* Für absolute Positionierung des X */
    }
    
    /* X Button in linker oberer Bildecke */
    .wcc-remove-item {
        position: absolute;
        top: 0; /* Perfekte Position */
        left: -8px; /* Überlappt links */
        width: 20px;
        height: 20px;
        background: var(--wcc-danger-color);
        color: white;
        border: 2px solid white;
        border-radius: 50%;
        font-size: 12px;
        font-weight: bold;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        z-index: 10;
        box-shadow: 0 2px 4px rgba(0,0,0,0.2);
        transition: transform 0.2s ease;
    }
    
    .wcc-remove-item:hover {
        transform: scale(1.1);
    }
    
    .woocommerce-cart .wcc-cart-item .wcc-item-image img,
    .woocommerce-checkout .wcc-cart-item .wcc-item-image img {
        width: 90px !important;
        height: 90px !important;
        object-fit: cover !important;
        border-radius: 4px !important;
        border: 1px solid rgba(0,0,0,0.08) !important;
        box-shadow: 0 2px 4px rgba(0,0,0,0.06) !important;
    }
    
    /* Details rechts vom Bild */
    .wcc-item-details {
        grid-column: 2;
        grid-row: 1;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        padding: 0; /* Kein padding */
        margin: 0; /* Kein margin */
        height: 90px; /* Gleiche Höhe wie Bild */
    }
    
    .wcc-item-name {
        font-size: 14px;
        font-weight: 600;
        line-height: 1.2; /* Kompakter */
        color: #333;
        margin: 0; /* Keine margins */
        padding: 0; /* Kein padding */
    }
    
    .wcc-item-meta {
        font-size: 11px;
        color: #666;
        line-height: 1.2;
        margin: 2px 0 0 0; /* Nur kleiner Abstand oben */
    }
    
    /* Alte Quantity unter dem Bild - wird nicht mehr verwendet */
    
    .wcc-qty-btn {
        width: 30px;
        height: 28px;
        border: none;
        background: transparent;
        font-size: 14px;
        font-weight: 600;
        color: #666;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
    }
    
    .wcc-qty-display {
        width: 30px;
        text-align: center;
        font-size: 12px;
        font-weight: 600;
        color: #333;
        line-height: 28px;
    }
    
    /* Rechte Spalte - Mobile: Preis oben, Quantity unten */
    .wcc-item-right-column {
        grid-column: 3;
        grid-row: 1;
        display: flex;
        flex-direction: column;
        justify-content: space-between; /* Preis oben, Quantity unten */
        align-items: flex-end;
        height: 90px; /* Exakt wie das Bild */
    }
    
    .wcc-item-right-column .wcc-item-price {
        text-align: right;
        margin-top: 0; /* Preis startet ganz oben */
    }
    
    .wcc-item-right-column .wcc-price-amount {
        font-size: 16px !important;
        font-weight: 600 !important;
        color: #333 !important;
        line-height: 1 !important;
    }
    
    .wcc-item-right-column .wcc-price-tax-info {
        font-size: 10px !important;
        color: #999 !important;
        margin-top: 2px !important;
        line-height: 1 !important;
    }
    
    /* Quantity in right-column anzeigen */
    .wcc-item-right-column .wcc-item-quantity {
        display: flex;
        align-items: center;
        gap: 0;
        width: auto;
        height: 28px;
        background: transparent; /* Kein grauer Hintergrund */
        border-radius: 0;
        overflow: hidden;
    }
    
    .wcc-item-right-column .wcc-qty-btn {
        width: 28px;
        height: 28px;
        border: 1px solid #ddd; /* Dünner Border */
        background: transparent;
        font-size: 14px;
        font-weight: 600;
        color: #666;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: all 0.2s ease;
    }
    
    .wcc-item-right-column .wcc-qty-btn:hover {
        background: #f5f5f5;
        border-color: #999;
    }
    
    .wcc-item-right-column .wcc-qty-btn:first-child {
        border-radius: 3px 0 0 3px;
        border-right: none;
    }
    
    .wcc-item-right-column .wcc-qty-btn:last-child {
        border-radius: 0 3px 3px 0;
        border-left: none;
    }
    
    .wcc-item-right-column .wcc-qty-display {
        width: 26px;
        text-align: center;
        font-size: 12px;
        font-weight: 600;
        color: #333;
        line-height: 26px; /* Angepasst an Border */
        border: 1px solid #ddd;
        border-left: none;
        border-right: none;
        background: white;
    }
    
    /* Quantity unter dem Bild ausblenden */
    .woocommerce-cart .wcc-cart-item > .wcc-item-quantity,
    .woocommerce-checkout .wcc-cart-item > .wcc-item-quantity {
        display: none;
    }
}

.wcc-cart-item:last-child {
    border-bottom: none;
}

/* Alte Desktop-spezifische Styles entfernt - wir nutzen jetzt einheitliches Layout */

/* Desktop-spezifische Anpassungen */
@media (min-width: 1025px) {
    .wcc-item-quantity {
        display: flex;
        align-items: center;
        gap: 0; /* Kein Gap, damit es genau 100px bleibt */
    }
}

/* Expandable Cart - Desktop only */
@media (min-width: 1025px) {
    /* Expandable Cart Styles bleiben erhalten */
        height: 18px !important;
        background: transparent !important;
        color: var(--wcc-danger-color) !important;
        border: 1px solid #000 !important;
        border-radius: 50% !important;
        font-size: 12px !important;
        line-height: 1 !important;
        cursor: pointer;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        transition: all 0.3s ease;
        margin: 0 !important;
        top: auto !important;
        right: auto !important;
        flex-shrink: 0;
        align-self: center !important;
    }

    .wcc-remove-item:hover {
        background: #f8f9fa !important;
        color: #c82333 !important;
        transform: none !important;
    }

    /* Box 2: Produktbild - ENTFERNT, wird oben im Desktop Layout definiert */

    /* Box 3: Produkttext - oben links */
    .woocommerce-cart .wcc-item-details,
    .woocommerce-checkout .wcc-item-details {
        flex: 1;
        min-width: 0;
        align-self: flex-start;
        padding-top: 5px;
    }
}

/* ENTFERNT - Überschrieb das Grid-Layout */

.wcc-item-name {
    font-weight: 600;
    color: var(--wcc-text-primary);
    margin-bottom: 5px;
    line-height: 1.3;
}

.wcc-item-meta {
    font-size: 12px;
    color: var(--wcc-text-secondary);
}

/* ENTFERNT - Wird bereits im Grid-Layout definiert */

/* Desktop Layout - Box 4: Preis oben auf Text-Level, +/- unten */
@media (min-width: 1025px) {
    .woocommerce-cart .wcc-item-right-column,
    .woocommerce-checkout .wcc-item-right-column {
        flex: 0 0 140px;
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        gap: 10px; /* 10px Abstand zwischen Preis und Buttons */
        align-self: stretch;
        padding-top: 5px;
        padding-bottom: 10px; /* Etwas Padding unten */
    }

    .wcc-item-quantity {
        display: flex;
        align-items: center;
        gap: 4px;
        background: transparent;
        border-radius: 4px;
        padding: 0;
        justify-content: flex-end;
        width: 100%;
        order: 2; /* Buttons nach unten */
    }
}

/* Mobile/Tablet Layout - Quantity Controls */
@media (max-width: 1024px) {
    .woocommerce-cart .wcc-item-quantity,
    .woocommerce-checkout .wcc-item-quantity {
        display: flex;
        align-items: center;
        gap: 3px;
        background: transparent;
        border-radius: 4px;
        padding: 0;
        justify-content: flex-end;
        order: 2;
    }
    
    .woocommerce-cart .wcc-qty-btn,
    .woocommerce-checkout .wcc-qty-btn {
        width: 18px !important;
        height: 18px !important;
        border: 1px solid #000 !important;
        background: #fff !important;
        border-radius: 4px !important;
        font-size: 11px !important;
        font-weight: bold !important;
        color: #000 !important;
        padding: 0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    
    .woocommerce-cart .wcc-qty-display,
    .woocommerce-checkout .wcc-qty-display {
        min-width: 18px !important;
        font-size: 12px !important;
        text-align: center !important;
    }
}

.wcc-qty-btn {
    width: 28px;
    height: 28px;
    border: none;
    background: #fff;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: var(--wcc-text-primary);
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.wcc-qty-btn:hover {
    background: var(--wcc-primary-color);
    color: #fff;
}

.wcc-qty-display {
    min-width: 20px;
    text-align: center;
    font-weight: 600;
    font-size: 14px;
    flex-shrink: 0;
}

/* Desktop Layout - Quantity Buttons - NUCLEAR OVERRIDE */
@media (min-width: 1025px) {
    body.woocommerce-cart .wcc-cart-page-wrapper .wcc-checkout-container .wcc-cart-item .wcc-item-right-column .wcc-item-quantity .wcc-qty-btn,
    body.woocommerce-checkout .wcc-checkout-container .wcc-cart-item .wcc-item-right-column .wcc-item-quantity .wcc-qty-btn {
        width: 20px !important;
        height: 20px !important;
        border: 1px solid #000 !important;
        background: #fff !important;
        border-radius: 4px !important;
        cursor: pointer;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        font-weight: bold !important;
        font-size: 12px !important;
        color: #000 !important;
        transition: all 0.3s ease;
        min-width: 20px !important;
        max-width: 20px !important;
        min-height: 20px !important;
        max-height: 20px !important;
        box-sizing: content-box !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    body.woocommerce-cart .wcc-cart-page-wrapper .wcc-checkout-container .wcc-cart-item .wcc-item-right-column .wcc-item-quantity .wcc-qty-btn:hover,
    body.woocommerce-checkout .wcc-checkout-container .wcc-cart-item .wcc-item-right-column .wcc-item-quantity .wcc-qty-btn:hover {
        background: var(--wcc-primary-color) !important;
        color: var(--wcc-primary-text-color) !important;
    }

    .wcc-qty-display {
        min-width: 20px !important;
        text-align: center !important;
        font-weight: 600 !important;
        font-size: 14px !important;
        color: #000 !important;
        flex-shrink: 0;
    }
}

/* Desktop Layout - Price - MAXIMALE SPEZIFITÄT */
@media (min-width: 1025px) {
    body.woocommerce-cart .wcc-cart-page-wrapper .wcc-checkout-container .wcc-cart-item .wcc-item-right-column .wcc-item-price,
    body.woocommerce-checkout .wcc-checkout-container .wcc-cart-item .wcc-item-right-column .wcc-item-price {
        text-align: right !important;
        width: 100% !important;
        order: 1 !important; /* Preis nach oben */
        align-self: flex-end !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-end !important;
    }
    
    body.woocommerce-cart .wcc-cart-page-wrapper .wcc-checkout-container .wcc-cart-item .wcc-item-right-column .wcc-item-price .wcc-price-amount,
    body.woocommerce-checkout .wcc-checkout-container .wcc-cart-item .wcc-item-right-column .wcc-item-price .wcc-price-amount {
        font-weight: 600 !important;
        color: var(--wcc-text-primary) !important;
        white-space: nowrap !important;
        font-family: 'Courier New', monospace !important;
        font-size: 20px !important;
        line-height: 1.2 !important;
    }
    
    body.woocommerce-cart .wcc-cart-page-wrapper .wcc-checkout-container .wcc-cart-item .wcc-item-right-column .wcc-item-price .wcc-price-tax-info,
    body.woocommerce-checkout .wcc-checkout-container .wcc-cart-item .wcc-item-right-column .wcc-item-price .wcc-price-tax-info {
        font-size: 11px !important;
        color: #999 !important;
        font-weight: normal !important;
        margin-top: -2px !important;
        line-height: 1 !important;
    }
}

/* Mobile/Tablet Layout - Price */
@media (max-width: 1024px) {
    .woocommerce-cart .wcc-item-price,
    .woocommerce-checkout .wcc-item-price {
        text-align: right !important;
        order: 1;
        display: flex;
        flex-direction: column;
        align-items: flex-end;
    }
    
    .woocommerce-cart .wcc-price-amount,
    .woocommerce-checkout .wcc-price-amount {
        font-weight: 600 !important;
        color: var(--wcc-text-primary) !important;
        white-space: nowrap !important;
        font-family: 'Courier New', monospace !important;
        font-size: 16px !important;
    }
    
    .woocommerce-cart .wcc-price-tax-info,
    .woocommerce-checkout .wcc-price-tax-info {
        font-size: 9px !important;
        color: #999 !important;
        margin-top: -2px !important;
    }
}

/* === Free Shipping Progress === */
.wcc-free-shipping-section {
    margin-bottom: 20px;
    padding: 15px;
    background: #fff;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

/* Mobile: Reduzierter Abstand */
@media (max-width: 768px) {
    .wcc-free-shipping-section {
        margin-top: 5px !important;
        margin-bottom: 15px !important;
        padding: 12px !important;
    }
}

.wcc-free-shipping-progress {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Erhöhte Spezifität für Shipping Icon - Normal Mode (Desktop) */
.wcc-free-shipping-section .wcc-shipping-icon,
.wcc-free-shipping-progress .wcc-shipping-icon,
.wcc-free-shipping-achieved .wcc-shipping-icon,
.woocommerce-cart .wcc-free-shipping-section .wcc-shipping-icon,
.woocommerce-cart .wcc-free-shipping-progress .wcc-shipping-icon,
.woocommerce-cart .wcc-free-shipping-achieved .wcc-shipping-icon,
.woocommerce-checkout .wcc-free-shipping-section .wcc-shipping-icon,
.woocommerce-checkout .wcc-free-shipping-progress .wcc-shipping-icon,
.woocommerce-checkout .wcc-free-shipping-achieved .wcc-shipping-icon {
    font-size: 36px !important; /* Größer für Desktop */
    flex-shrink: 0 !important;
    display: flex !important;
    align-items: center !important;
    transform: scaleX(-1) !important;
}

.wcc-shipping-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.wcc-progress-text {
    font-size: 15px;
    color: var(--wcc-text-secondary);
    margin-bottom: 0;
    font-weight: 500;
    text-align: left;
}

.wcc-progress-bar {
    width: 100%;
    height: 6px;
    background: #f0f0f0;
    border-radius: 3px;
    overflow: hidden;
    position: relative;
}

.wcc-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #46b450, #52d058);
    border-radius: 3px;
    transition: width 0.5s ease;
    position: relative;
}

.wcc-progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.wcc-free-shipping-achieved {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: var(--wcc-secondary-color);
    font-weight: 600;
    font-size: 14px;
}

.wcc-free-shipping-icon {
    font-size: 18px;
}

/* === Order Summary Totals === */
.wcc-order-summary-totals {
    margin-top: 20px;
}

/* Mobile: Reduzierter Abstand */
@media (max-width: 768px) {
    .wcc-order-summary-totals {
        margin-top: 10px !important;
    }
}

.wcc-totals-separator {
    display: none;
}

.wcc-total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--wcc-border-color);
}

.wcc-total-row:last-child {
    border-bottom: none;
}

.wcc-total-label {
    font-weight: 600;
    color: var(--wcc-text-primary);
    font-size: 16px;
}

body.woocommerce-cart .wcc-cart-page-wrapper .wcc-checkout-container .wcc-order-summary-section .wcc-order-totals .wcc-total-row .wcc-total-value,
body.woocommerce-checkout .wcc-checkout-container .wcc-order-summary-section .wcc-order-totals .wcc-total-row .wcc-total-value {
    font-weight: 600 !important;
    color: var(--wcc-text-primary) !important;
    font-size: 20px !important;
    font-family: 'Courier New', monospace !important;
    text-align: right !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-end !important;
}

body.woocommerce-cart .wcc-cart-page-wrapper .wcc-checkout-container .wcc-order-summary-section .wcc-order-totals .wcc-total-row .wcc-total-value .wcc-total-amount,
body.woocommerce-checkout .wcc-checkout-container .wcc-order-summary-section .wcc-order-totals .wcc-total-row .wcc-total-value .wcc-total-amount {
    font-weight: 600 !important;
    color: var(--wcc-text-primary) !important;
    font-size: 20px !important;
    font-family: 'Courier New', monospace !important;
}

.wcc-free-shipping {
    color: var(--wcc-secondary-color);
    font-weight: 600;
}

body.woocommerce-cart .wcc-cart-page-wrapper .wcc-checkout-container .wcc-order-summary-section .wcc-order-totals .wcc-total-row .wcc-tax-small,
body.woocommerce-checkout .wcc-checkout-container .wcc-order-summary-section .wcc-order-totals .wcc-total-row .wcc-tax-small {
    font-size: 11px !important;
    color: #999 !important;
    font-weight: normal !important;
    margin-top: -2px !important;
    line-height: 1 !important;
    display: block !important;
}

/* === Order Totals === */
.wcc-order-totals {
    margin-bottom: 25px;
}

.wcc-summary-title {
    margin: 0 0 20px 0;
    font-size: 18px;
    font-weight: 600;
    color: var(--wcc-text-primary);
    text-align: center;
    position: relative;
    padding: 0 20px;
}

.wcc-summary-title::before,
.wcc-summary-title::after {
    content: '';
    position: absolute;
    top: 50%;
    height: 1px;
    background-color: #ccc;
    width: calc(50% - 80px);
}

.wcc-summary-title::before {
    left: 0;
}

.wcc-summary-title::after {
    right: 0;
}

/* === Coupon Section === */
.wcc-coupon-section {
    margin-bottom: 20px;
    border: 1px solid var(--wcc-border-color);
    border-radius: 8px;
    overflow: hidden;
}

.wcc-coupon-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    background: var(--wcc-background-light);
    cursor: pointer;
    transition: all 0.3s ease;
    user-select: none;
}

.wcc-coupon-toggle:hover {
    background: #e9ecef;
}

.wcc-coupon-icon {
    font-size: 18px;
    margin-right: 10px;
}

.wcc-coupon-text {
    flex: 1;
    font-size: 14px;
    font-weight: 600;
    color: var(--wcc-text-primary);
}

.wcc-coupon-arrow {
    font-size: 12px;
    color: var(--wcc-text-secondary);
    transition: transform 0.3s ease;
}

.wcc-coupon-arrow.rotated {
    transform: rotate(180deg);
}

.wcc-coupon-form {
    padding: 20px;
    background: #fff;
    border-top: 1px solid var(--wcc-border-color);
}

.wcc-coupon-input-group {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.wcc-coupon-input {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid var(--wcc-border-color);
    border-radius: 4px;
    font-size: 13px;
    transition: border-color 0.3s ease;
}

.wcc-coupon-input:focus {
    border-color: var(--wcc-primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 124, 186, 0.1);
}

.wcc-coupon-btn {
    padding: 8px 16px;
    background: var(--wcc-primary-color);
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.wcc-coupon-btn:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

.wcc-coupon-message {
    font-size: 13px;
    padding: 10px;
    border-radius: 4px;
    display: none;
}

.wcc-coupon-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    display: block;
}

.wcc-coupon-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    display: block;
}

.wcc-coupon-message.info {
    background: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
    display: block;
}

/* === Gutschein-Zeile in Bestellübersicht === */
.wcc-total-row.wcc-discount .wcc-discount-amount {
    color: #28a745;
}

.wcc-remove-coupon {
    color: #dc3545;
    font-size: 16px;
    cursor: pointer;
    margin-left: 8px;
    transition: all 0.2s ease;
    vertical-align: middle;
    font-weight: bold;
    user-select: none;
    display: inline-block;
}

.wcc-remove-coupon:hover {
    color: #c82333;
    transform: scale(1.2);
}

/* === Produkt entfernen Button === */
.wcc-remove-item {
    position: absolute;
    right: 0;
    top: 0;
    color: #dc3545;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    opacity: 0.6;
    z-index: 2;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.9);
    border-radius: 50%;
}

.wcc-cart-item {
    position: relative;
}

/* Loading state beim Entfernen */
.wcc-cart-item.removing {
    opacity: 0.5;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

/* Spinner Animation */
.wcc-remove-item .fa-spinner {
    color: #666;
}

@keyframes fa-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(359deg); }
}

.fa-spin {
    animation: fa-spin 1s infinite linear;
}

.wcc-remove-item:hover {
    opacity: 1;
    transform: translateY(-50%) scale(1.1);
}

/* === Newsletter Section === */
.wcc-newsletter-section {
    margin-bottom: 20px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 6px;
}

/* Newsletter Checkbox Style */
.wcc-newsletter-checkbox {
    display: flex;
    align-items: center;
}

.wcc-checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    margin: 0;
}

.wcc-checkbox-label input[type="checkbox"] {
    margin: 0 10px 0 0;
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.wcc-checkbox-text {
    font-size: 14px;
    color: #333;
    line-height: 1.4;
}

/* Already Subscribed Style */
.wcc-newsletter-subscribed {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #333;
}

/* Inline Newsletter Subscribed (bei Kontaktinformationen) */
.wcc-newsletter-subscribed-inline {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #333;
    padding: 2px 0;
}

.wcc-newsletter-check {
    color: #28a745;
    font-size: 16px;
    font-weight: bold;
}

.wcc-newsletter-text {
    flex: 1;
}

.wcc-newsletter-unsubscribe {
    color: #007cba;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
    font-size: 13px;
}

.wcc-newsletter-unsubscribe:hover {
    color: #005a8b;
    text-decoration: underline;
}

/* === Modal Styles === */
.wcc-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.wcc-modal-overlay.show {
    opacity: 1;
}

.wcc-modal {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    max-width: 480px;
    width: 90%;
    max-height: 90vh;
    overflow: hidden;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.wcc-modal-overlay.show .wcc-modal {
    transform: scale(1);
}

.wcc-modal-header {
    padding: 24px 24px 16px;
    border-bottom: 1px solid #e0e0e0;
    position: relative;
}

.wcc-modal-header h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
    color: #333;
}

.wcc-modal-close {
    position: absolute;
    right: 16px;
    top: 16px;
    background: none;
    border: none;
    font-size: 28px;
    color: #999;
    cursor: pointer;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.wcc-modal-close:hover {
    background: #f5f5f5;
    color: #333;
}

.wcc-modal-body {
    padding: 24px;
}

.wcc-modal-body p {
    margin: 0 0 12px 0;
    font-size: 16px;
    color: #333;
    line-height: 1.5;
}

.wcc-modal-body .wcc-modal-subtitle {
    font-size: 14px;
    color: #666;
    margin-bottom: 0;
}

.wcc-modal-footer {
    padding: 16px 24px 24px;
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

.wcc-modal-footer button {
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    min-width: 100px;
}

.wcc-btn-secondary {
    background: #f5f5f5;
    color: #333;
}

.wcc-btn-secondary:hover {
    background: #e0e0e0;
}

.wcc-btn-danger {
    background: #dc3545;
    color: #fff;
}

.wcc-btn-danger:hover {
    background: #c82333;
}

.wcc-btn-danger:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* === Terms Section === */
.wcc-terms-section {
    margin-bottom: 5px !important;
    padding: 10px !important;
}

/* Höhere Spezifität für Terms Text */
.woocommerce-checkout .wcc-terms-section .wcc-terms-text,
body.woocommerce-checkout .wcc-terms-section .wcc-terms-text,
.wcc-checkout-container .wcc-terms-section .wcc-terms-text {
    font-size: 0.8rem !important;
    line-height: 1.0 !important;
    text-align: center !important;
    margin: 0 !important;
    color: var(--wcc-text-secondary) !important;
    letter-spacing: 0.5px !important;
}

/* Höhere Spezifität für Terms Links */
.woocommerce-checkout .wcc-terms-section .wcc-terms-text a,
body.woocommerce-checkout .wcc-terms-section .wcc-terms-text a,
.wcc-checkout-container .wcc-terms-section .wcc-terms-text a {
    color: var(--wcc-primary-color) !important;
    text-decoration: none !important;
}

.woocommerce-checkout .wcc-terms-section .wcc-terms-text a:hover,
body.woocommerce-checkout .wcc-terms-section .wcc-terms-text a:hover,
.wcc-checkout-container .wcc-terms-section .wcc-terms-text a:hover {
    text-decoration: underline !important;
}

/* === Place Order Button === */
.wcc-place-order-section {
    margin-top: 0;
}

.wcc-place-order-btn {
    width: 100%;
    background: var(--wcc-primary-color);
    color: #fff !important;
    border: none;
    border-radius: 8px;
    padding: 18px 24px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
    text-decoration: none !important;
    box-sizing: border-box !important;
}

.wcc-place-order-btn .wcc-btn-text {
    color: #fff !important;
    border: none !important;
    background: transparent !important;
}

.wcc-place-order-btn:hover {
    background: #005a8a;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 124, 186, 0.3);
}

.wcc-place-order-btn:hover .wcc-btn-text {
    color: #fff !important;
    background: transparent !important;
    border: none !important;
}

.wcc-place-order-btn:active {
    transform: translateY(0);
}

.wcc-btn-text {
    flex: 1;
    text-align: left;
}

.wcc-btn-total {
    font-size: 18px;
    font-weight: 700;
}

/* Preis-Schutz für Button - Einfacher Ansatz */
.wcc-btn-total {
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #fff !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative !important;
    z-index: 999 !important;
    min-width: 80px !important;
    text-align: right !important;
}

/* Verhindere dass WooCommerce den Preis überschreibt */
.wcc-place-order-btn .wcc-btn-total {
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #fff !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* CSS Fallback für Button-Preis - OHNE HTML-Probleme */
.wcc-place-order-btn[data-total-price]::after {
    content: attr(data-total-price);
    position: absolute;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    z-index: 1001;
    pointer-events: none;
    display: none; /* Standardmäßig versteckt */
}

/* === SMART BUTTON SYSTEM - Deine geniale Lösung! === */
.wcc-smart-button-container {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    background: var(--wcc-primary-color) !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
}

.wcc-smart-button-container:hover {
    background: #005a8a !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 25px rgba(0, 124, 186, 0.3) !important;
}

.wcc-smart-button-container #place_order {
    background: transparent !important;
    border: none !important;
    color: #fff !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    padding: 18px 24px !important;
    flex: 1 !important;
    text-align: left !important;
    cursor: pointer !important;
    position: relative !important;
    z-index: 2 !important;
}

.wcc-smart-price {
    position: absolute !important;
    right: 24px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #fff !important;
    z-index: 3 !important;
    pointer-events: none !important;
    min-width: 80px !important;
    text-align: right !important;
}

.wcc-button-overlay {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    z-index: 999 !important;
    cursor: pointer !important;
    background: transparent !important;
}

/* Responsive Smart Button */
@media (max-width: 768px) {
    .wcc-smart-button-container #place_order {
        padding: 15px 20px !important;
        font-size: 15px !important;
    }
    
    .wcc-smart-price {
        right: 20px !important;
        font-size: 16px !important;
    }
}

.wcc-place-order-btn.processing {
    pointer-events: none;
    opacity: 0.7;
}

.wcc-place-order-btn.processing::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* === Payment Methods Styling === */
.wcc-payment-methods .wc_payment_methods {
    border: 1px solid var(--wcc-border-color);
    border-radius: 8px;
    overflow: hidden;
}

.wcc-payment-methods .wc_payment_method {
    border: none;
    border-bottom: 1px solid var(--wcc-border-color);
    border-radius: 0;
    margin: 0;
}

.wcc-payment-methods .wc_payment_method:last-child {
    border-bottom: none;
}

.wcc-payment-methods .wc_payment_method label {
    padding: 5px;
    font-size: 16px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    margin: 0;
    font-weight: 600;
    position: relative;
}

.wcc-payment-methods .wc_payment_method:hover label {
    background: var(--wcc-background-light);
}

.wcc-payment-methods .wc_payment_method input[type="radio"] {
    display: none;
}

.wcc-payment-methods .wc_payment_method input[type="radio"]:checked + label {
    background: var(--wcc-background-light);
    color: var(--wcc-primary-color);
}

.wcc-payment-methods .payment_box {
    padding: 20px;
    background: #ffffff;
    color: #000000;
    display: none;
    border-top: 1px solid var(--wcc-border-color);
}

/* Payment box form fields */
.wcc-payment-methods .payment_box input[type="text"],
.wcc-payment-methods .payment_box input[type="email"],
.wcc-payment-methods .payment_box input[type="tel"],
.wcc-payment-methods .payment_box input[type="number"],
.wcc-payment-methods .payment_box select,
.wcc-payment-methods .payment_box textarea {
    color: #000000 !important;
}

.wcc-payment-methods .payment_box label {
    color: #000000;
}

.wcc-payment-methods .payment_box p {
    color: #000000;
}

.wcc-payment-methods .wc_payment_method input[type="radio"]:checked ~ .payment_box {
    display: block;
}

/* Payment method label content */
.wcc-payment-methods .wc_payment_method label .wcc-payment-title {
    flex: 1;
    padding-left: 10px;
}

.wcc-payment-methods .wc_payment_method label .wcc-payment-icon {
    margin-left: auto;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    min-width: 80px;
    height: 30px;
}

.wcc-payment-methods .wc_payment_method label .wcc-payment-icon img {
    max-height: 32px;
    max-width: 80px;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* Payment method icons and styling */
.wcc-payment-methods .wc_payment_method label img {
    max-height: 32px;
    max-width: 80px;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* Spezielle Styling für verschiedene Payment-Logos */
.wcc-payment-methods .wc_payment_method[id*="klarna"] label img {
    max-height: 28px;
    max-width: 70px;
}

.wcc-payment-methods .wc_payment_method[id*="paypal"] label img {
    max-height: 24px;
    max-width: 60px;
}

.wcc-payment-methods .wc_payment_method[id*="eps"] label img {
    max-height: 20px;
    max-width: 40px;
}

.wcc-payment-methods .wc_payment_method[id*="stripe"] label img {
    max-height: 20px;
    max-width: 50px;
}

/* === Checkout Steps === */
.wcc-checkout-steps {
    margin-bottom: 40px;
    padding: 20px 0;
    background: var(--wcc-background-light);
    border-radius: 8px;
}

.wcc-steps-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
}

.wcc-step {
    flex: 1;
    text-align: center;
    position: relative;
    padding: 0 10px;
}

.wcc-step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #e0e0e0;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    font-weight: bold;
    font-size: 18px;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.wcc-step.active .wcc-step-number {
    background: var(--wcc-primary-color);
    color: #fff;
    transform: scale(1.1);
}

.wcc-step.completed .wcc-step-number {
    background: var(--wcc-secondary-color);
    color: #fff;
}

/* === Form Styling === */
.woocommerce-checkout .form-row {
    margin-bottom: 20px;
    position: relative;
}

/* Halbe Felder für Vor- und Nachname, PLZ und Stadt */
.woocommerce-checkout .form-row-first,
.woocommerce-checkout .form-row-last {
    width: calc(50% - 10px) !important;
    float: left !important;
    clear: none !important;
}

.woocommerce-checkout .form-row-first {
    margin-right: 20px !important;
}

.woocommerce-checkout .form-row-last {
    float: right !important;
    margin-right: 0 !important;
}

/* Clearfix nach Paaren */
.woocommerce-checkout .form-row-last + .form-row {
    clear: both;
}

/* CSS-only floating placeholders using WooCommerce standard labels */
.woocommerce-checkout .form-row.wcc-floating-field {
    position: relative;
    margin-bottom: 15px;
}

.woocommerce-checkout .form-row.wcc-floating-field label {
    position: absolute;
    top: 10px;
    left: 16px;
    background: white;
    padding: 0 4px;
    font-size: 16px;
    color: #999;
    pointer-events: none;
    transition: all 0.3s ease;
    z-index: 1;
    transform-origin: left top;
}

/* When input is focused or has value - move label up */
.woocommerce-checkout .form-row.wcc-floating-field input:focus ~ label,
.woocommerce-checkout .form-row.wcc-floating-field textarea:focus ~ label,
.woocommerce-checkout .form-row.wcc-floating-field select:focus ~ label,
.woocommerce-checkout .form-row.wcc-floating-field.has-value label,
.woocommerce-checkout .form-row.wcc-floating-field.has-focus label {
    top: -8px;
    font-size: 14px;
    color: #666;
    transform: scale(0.85);
}

/* Additional focus handlers for immediate response */
.woocommerce-checkout .form-row.wcc-floating-field input:focus + label,
.woocommerce-checkout .form-row.wcc-floating-field textarea:focus + label,
.woocommerce-checkout .form-row.wcc-floating-field select:focus + label {
    top: -8px;
    font-size: 14px;
    color: #666;
    transform: scale(0.85);
}

/* Input field styling for floating effect */
.woocommerce-checkout .form-row.wcc-floating-field input,
.woocommerce-checkout .form-row.wcc-floating-field textarea,
.woocommerce-checkout .form-row.wcc-floating-field select {
    padding: 16px 40px 16px 16px !important;
    border: 1px solid #ddd !important;
    border-radius: 4px !important;
    background: white !important;
    width: 100% !important;
    min-height: 48px !important;
    cursor: pointer !important;
    box-sizing: border-box;
    font-size: 16px;
    height: 40px;
    line-height: 1.2;
}

.woocommerce-checkout .form-row.wcc-floating-field input:focus,
.woocommerce-checkout .form-row.wcc-floating-field textarea:focus,
.woocommerce-checkout .form-row.wcc-floating-field select:focus {
    border-color: #007cba;
    outline: none;
}

/* SIMPLE SOLUTION: Deine elegante Lösung - nur die problematischen Felder */
.wcc-checkout-container input#shipping_address_1::placeholder,
.wcc-checkout-container input#billing_address_1::placeholder {
    color: white !important;
}
.wcc-checkout-container input#shipping_address_2::placeholder,
.wcc-checkout-container input#billing_address_2::placeholder {
    color: white !important;
}

/* Make sure our floating labels are visible */
.woocommerce-checkout .form-row.wcc-floating-field label {
    color: #999 !important;
    opacity: 1 !important;
}

/* WICHTIG: screen-reader-text Klasse für address_2 Labels überschreiben */
.woocommerce-checkout .form-row label.screen-reader-text[for*="address_2"] {
    position: absolute !important;
    top: 10px !important;
    left: 16px !important;
    background: white !important;
    padding: 0 4px !important;
    font-size: 16px !important;
    color: #999 !important;
    pointer-events: none !important;
    transition: all 0.3s ease !important;
    z-index: 1 !important;
    transform-origin: left top !important;
    clip: unset !important;
    clip-path: unset !important;
    width: auto !important;
    height: auto !important;
    overflow: visible !important;
    white-space: nowrap !important;
}

/* When address_2 input is focused or has value - move label up */
.woocommerce-checkout .form-row input[id*="address_2"]:focus ~ label.screen-reader-text,
.woocommerce-checkout .form-row input[id*="address_2"]:not(:placeholder-shown) ~ label.screen-reader-text {
    top: -8px !important;
    font-size: 14px !important;
    color: #666 !important;
    transform: scale(0.85) !important;
}

/* === Geoapify Autocomplete Styling === */
.geoapify-autocomplete-container {
    position: relative;
    width: 100%;
}

.geoapify-autocomplete-items {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #ddd;
    border-top: none;
    border-radius: 0 0 4px 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    z-index: 1000;
    max-height: 200px;
    overflow-y: auto;
}

.geoapify-autocomplete-item {
    padding: 12px 16px;
    cursor: pointer;
    border-bottom: 1px solid #f0f0f0;
    transition: background-color 0.2s ease;
}

.geoapify-autocomplete-item:last-child {
    border-bottom: none;
}

.geoapify-autocomplete-item:hover,
.geoapify-autocomplete-item.active {
    background-color: #f8f9fa;
}

.geoapify-autocomplete-item-main {
    font-weight: 500;
    color: #333;
    margin-bottom: 2px;
}

.geoapify-autocomplete-item-secondary {
    font-size: 13px;
    color: #666;
}

.geoapify-loading {
    padding: 12px 16px;
    text-align: center;
    color: #666;
    font-style: italic;
}

.woocommerce-checkout .form-row input[type="text"],
.woocommerce-checkout .form-row input[type="email"],
.woocommerce-checkout .form-row input[type="tel"],
.woocommerce-checkout .form-row select,
.woocommerce-checkout .form-row textarea {
    width: 100%;
    padding: 24px 12px 10px 12px;
    border: 1px solid var(--wcc-border-color);
    border-radius: 4px;
    font-size: 16px;
    transition: border-color 0.3s ease;
    background: #fff;
    min-height: 56px;
    box-sizing: border-box;
}

.woocommerce-checkout .form-row input:focus,
.woocommerce-checkout .form-row select:focus,
.woocommerce-checkout .form-row textarea:focus {
    border-color: var(--wcc-primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 124, 186, 0.1);
}

.woocommerce-checkout .form-row input:focus + label,
.woocommerce-checkout .form-row select:focus + label,
.woocommerce-checkout .form-row textarea:focus + label {
    color: var(--wcc-primary-color);
}

/* Select styling - ENHANCED */
.woocommerce-checkout .form-row select,
.wcc-checkout-modern .form-row select {
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    background-color: #fff !important;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23666666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e") !important;
    background-repeat: no-repeat !important;
    background-position: right 12px center !important;
    background-size: 20px !important;
    padding: 12px 40px 12px 12px !important;
    min-height: 56px;
    line-height: normal !important;
}

/* Override WooCommerce default select padding - ENHANCED */
.woocommerce form .form-row select,
.woocommerce-page form .form-row select,
.wcc-checkout-modern select,
select#billing_country,
select#shipping_country,
select#billing_state,
select#shipping_state {
    padding: 16px 40px 16px 16px !important;
    border: 1px solid #ddd !important;
    border-radius: 4px !important;
    min-height: 48px !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
    color: #333 !important;
    font-weight: normal !important;
    box-shadow: none !important;
    transition: all 0.3s ease !important;
}

/* Select hover state */
.woocommerce form .form-row select:hover,
.woocommerce-page form .form-row select:hover,
.wcc-checkout-modern select:hover {
    border-color: #999 !important;
    background-color: #fafafa !important;
}

/* Select focus state */
.woocommerce form .form-row select:focus,
.woocommerce-page form .form-row select:focus,
.wcc-checkout-modern select:focus {
    border-color: var(--wcc-primary-color) !important;
    outline: none !important;
    box-shadow: 0 0 0 2px rgba(0, 124, 186, 0.1) !important;
    background-color: #fff !important;
}

/* === Select2 Dropdown Styling === */
/* Search field - Halbe Höhe */
.select2-dropdown .select2-search--dropdown {
    padding: 4px !important;
}

.select2-dropdown .select2-search--dropdown .select2-search__field {
    height: 32px !important;
    min-height: 32px !important;
    max-height: 32px !important;
    padding: 4px 8px !important;
    font-size: 13px !important;
    line-height: 1.4 !important;
    border: 1px solid #ddd !important;
    border-radius: 3px !important;
    box-shadow: none !important;
}

/* Dropdown container */
.select2-dropdown {
    border: 1px solid #ddd !important;
    border-radius: 4px !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1) !important;
}

/* Result items */
.select2-results__option {
    padding: 6px 12px !important;
    font-size: 13px !important;
    line-height: 1.4 !important;
}

.select2-results__option--highlighted[aria-selected] {
    background-color: var(--wcc-primary-color) !important;
    color: white !important;
}

/* No results message */
.select2-results__message {
    padding: 8px 12px !important;
    font-size: 13px !important;
}

/* Select2 Selection Rendered - Line Height Fix */
body.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 25px !important;
}

/* Hide state/region field */
.woocommerce-checkout .form-row#billing_state_field,
.woocommerce-checkout .form-row#shipping_state_field {
    display: none !important;
}

/* === Custom Field Layout === */
/* Container für alle Adressfelder */
.wcc-shipping-fields,
.wcc-billing-fields {
    max-width: 100%;
    overflow: visible !important;
}

/* 1. Reihe: Vorname 50% + Nachname 50% */
.woocommerce-checkout .form-row#billing_first_name_field,
.woocommerce-checkout .form-row#shipping_first_name_field {
    width: calc(50% - 5px);
    display: inline-block;
    margin-right: 0;
    vertical-align: top;
    box-sizing: border-box;
    padding-right: 5px;
}

.woocommerce-checkout .form-row#billing_last_name_field,
.woocommerce-checkout .form-row#shipping_last_name_field {
    width: calc(50% - 5px);
    display: inline-block;
    margin-right: 0;
    vertical-align: top;
    box-sizing: border-box;
    padding-left: 5px;
}

/* 2. Reihe: Straße 100% - KORRIGIERT */
.woocommerce-checkout .form-row#billing_address_1_field,
.woocommerce-checkout .form-row#shipping_address_1_field {
    width: 100%;
    display: block;
    clear: both;
    box-sizing: border-box;
    padding-left: 0;
    padding-right: 0;
}

/* 3. Reihe: Adresszusatz 100% - KORRIGIERT */
.woocommerce-checkout .form-row#billing_address_2_field,
.woocommerce-checkout .form-row#shipping_address_2_field {
    width: 100%;
    display: block;
    clear: both;
    box-sizing: border-box;
    padding-left: 0;
    padding-right: 0;
}

/* Container für PLZ/Stadt/Land - Whitespace eliminieren */
.woocommerce-checkout .wcc-shipping-fields,
.woocommerce-checkout .wcc-billing-fields {
    font-size: 0 !important; /* Eliminiert Whitespace zwischen inline-block Elementen */
}

/* Font-size für alle Kinder zurücksetzen */
.woocommerce-checkout .wcc-shipping-fields *,
.woocommerce-checkout .wcc-billing-fields * {
    font-size: initial !important;
}

/* 4. Reihe: PLZ 33.33% + Ort 33.33% + Land 33.33% */
.woocommerce-checkout .form-row#billing_postcode_field,
.woocommerce-checkout .form-row#shipping_postcode_field,
.woocommerce-checkout .form-row#billing_city_field,
.woocommerce-checkout .form-row#shipping_city_field,
.woocommerce-checkout .form-row#billing_country_field,
.woocommerce-checkout .form-row#shipping_country_field {
    width: 33.333% !important;
    display: inline-block !important;
    margin: 0 !important;
    padding: 0 !important;
    vertical-align: top !important;
    box-sizing: border-box !important;
    font-size: 14px !important; /* Font-size zurücksetzen */
}

/* Abstände zwischen den Feldern */
.woocommerce-checkout .form-row#billing_postcode_field,
.woocommerce-checkout .form-row#shipping_postcode_field {
    padding-right: 6px !important;
}

.woocommerce-checkout .form-row#billing_city_field,
.woocommerce-checkout .form-row#shipping_city_field {
    padding-left: 3px !important;
    padding-right: 3px !important;
}

.woocommerce-checkout .form-row#billing_country_field,
.woocommerce-checkout .form-row#shipping_country_field {
    padding-left: 6px !important;
}

/* Responsive Anpassungen */
@media (max-width: 768px) {
    .woocommerce-checkout .form-row#billing_first_name_field,
    .woocommerce-checkout .form-row#shipping_first_name_field,
    .woocommerce-checkout .form-row#billing_last_name_field,
    .woocommerce-checkout .form-row#shipping_last_name_field,
    .woocommerce-checkout .form-row#billing_postcode_field,
    .woocommerce-checkout .form-row#shipping_postcode_field,
    .woocommerce-checkout .form-row#billing_city_field,
    .woocommerce-checkout .form-row#shipping_city_field,
    .woocommerce-checkout .form-row#billing_country_field,
    .woocommerce-checkout .form-row#shipping_country_field {
        width: 100% !important;
        display: block !important;
        margin-right: 0 !important;
    }
}

/* === Order Review === */
.woocommerce-checkout-review-order {
    background: #fff;
    padding: 20px;
}

.woocommerce-checkout-review-order table {
    width: 100%;
    border: none;
}

.woocommerce-checkout-review-order th,
.woocommerce-checkout-review-order td {
    padding: 12px 0;
    border-bottom: 1px solid var(--wcc-border-color);
}

.woocommerce-checkout-review-order .order-total th,
.woocommerce-checkout-review-order .order-total td {
    font-size: 18px;
    font-weight: 700;
    color: var(--wcc-text-primary);
    border-top: 2px solid var(--wcc-border-color);
    padding-top: 20px;
}

/* MwSt-Anzeige unter der Gesamtsumme positionieren - Custom WCC Struktur */
.wcc-total-value {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-end !important;
    text-align: right !important;
    min-width: 120px !important;
}

/* Hauptsumme zuerst anzeigen */
.wcc-total-value .woocommerce-Price-amount {
    order: 1 !important;
    display: block !important;
    width: 100% !important;
    text-align: right !important;
    margin-bottom: 0 !important;
}

/* MwSt-Anzeige unter die Hauptsumme - MAXIMALE SPEZIFITÄT */
body.woocommerce-cart .wcc-cart-page-wrapper .wcc-checkout-container .wcc-order-summary-section .wcc-order-totals .wcc-total-row .wcc-total-value .wcc-tax-small {
    order: 2 !important;
    display: block !important;
    width: 100% !important;
    text-align: right !important;
    font-size: 11px !important;
    font-weight: normal !important;
    color: #999 !important;
    margin-top: -2px !important;
    line-height: 1 !important;
    white-space: nowrap !important;
}

/* Alle inneren Elemente der MwSt-Anzeige auch nowrap */
.wcc-total-value .wcc-tax-small * {
    white-space: nowrap !important;
    display: inline !important;
}

/* Fallback für Standard WooCommerce Struktur */
.woocommerce-checkout-review-order .order-total td {
    position: relative;
    vertical-align: top;
}

.woocommerce-checkout-review-order .order-total td .includes_tax {
    display: block !important;
    width: 100% !important;
    text-align: right !important;
    font-size: 12px !important;
    font-weight: 400 !important;
    color: var(--wcc-text-secondary) !important;
    margin-top: 5px !important;
    line-height: 1.2 !important;
    clear: both !important;
}

/* Free Shipping Progress in Order Review */
.wcc-free-shipping-progress-row td,
.wcc-free-shipping-achieved-row td {
    padding: 15px 0 !important;
    border-bottom: 1px solid var(--wcc-border-color) !important;
}

.wcc-free-shipping-progress-row .wcc-free-shipping-progress,
.wcc-free-shipping-achieved-row .wcc-free-shipping-achieved {
    background: var(--wcc-background-light);
    padding: 15px;
    border-radius: 8px;
    margin: 0;
}

.wcc-free-shipping-progress-row .wcc-progress-text {
    text-align: center;
    font-size: 14px;
    color: var(--wcc-text-primary);
    margin-bottom: 10px;
    font-weight: 600;
}

.wcc-free-shipping-achieved-row .wcc-free-shipping-achieved {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: var(--wcc-secondary-color);
    font-weight: 600;
    font-size: 14px;
}

/* === Payment Methods === */
.wc_payment_methods {
    list-style: none;
    padding: 0;
    margin: 0;
}

.wc_payment_method {
    border: 1px solid var(--wcc-border-color);
    border-radius: 4px;
    margin-bottom: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.wc_payment_method input[type="radio"] {
    display: none;
}

.wc_payment_method label {
    display: block;
    padding: 15px 20px;
    cursor: pointer;
    margin: 0;
    font-weight: 600;
}

.wc_payment_method input[type="radio"]:checked + label {
    background: var(--wcc-background-light);
    color: var(--wcc-primary-color);
}

.payment_box {
    padding: 20px;
    background: #ffffff;
    color: #000000;
    display: none;
}

/* Payment box form fields - general */
.payment_box input[type="text"],
.payment_box input[type="email"],
.payment_box input[type="tel"],
.payment_box input[type="number"],
.payment_box select,
.payment_box textarea {
    color: #000000 !important;
}

.payment_box label {
    color: #000000;
}

.payment_box p {
    color: #000000;
}

/* Payment provider specific text */
.payment_box .Text--redirect,
.wcc-payment-methods .payment_box .Text--redirect {
    color: #000000 !important;
}

/* All form elements in payment box */
.payment_box input,
.payment_box optgroup,
.payment_box select,
.payment_box textarea,
.wcc-payment-methods .payment_box input,
.wcc-payment-methods .payment_box optgroup,
.wcc-payment-methods .payment_box select,
.wcc-payment-methods .payment_box textarea {
    color: #000000 !important;
}

/* Placeholder text */
.payment_box input::placeholder,
.payment_box textarea::placeholder,
.wcc-payment-methods .payment_box input::placeholder,
.wcc-payment-methods .payment_box textarea::placeholder {
    color: #666666 !important;
    opacity: 1;
}

.wc_payment_method input[type="radio"]:checked ~ .payment_box {
    display: block;
}

/* === Buttons === */
.woocommerce-checkout .button {
    background: var(--wcc-primary-color);
    color: #fff;
    padding: 15px 30px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
    text-decoration: none;
}

.woocommerce-checkout .button:hover {
    background: #005a8a;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.woocommerce-checkout .button.alt {
    background: var(--wcc-secondary-color);
}

.woocommerce-checkout .button.alt:hover {
    background: #3a9140;
}

/* Button Styles */
.wcc-button-style-rounded .button {
    border-radius: 25px;
}

.wcc-button-style-flat .button {
    box-shadow: none;
    transform: none;
}

.wcc-button-style-flat .button:hover {
    transform: none;
    box-shadow: none;
}

.wcc-button-style-gradient .button {
    background: linear-gradient(135deg, var(--wcc-primary-color) 0%, #005a8a 100%);
}

/* === ANTI-BLITZ: Layout Stabilisierung === */
/* Fixiere Checkout Container Höhe */
.woocommerce-checkout form.checkout {
    min-height: 800px;
}

/* Verhindere Größenänderungen beim Update */
.woocommerce-checkout .wcc-checkout-container {
    transition: none !important;
}

/* Fixiere Input-Felder Höhe */
.woocommerce-checkout input[type="text"],
.woocommerce-checkout input[type="email"],
.woocommerce-checkout input[type="tel"],
.woocommerce-checkout select,
.woocommerce-checkout textarea {
    height: 48px !important;
    max-height: 48px !important;
    transition: none !important;
}

/* Verhindere Font-Size Jumps */
.woocommerce-checkout *:not(.wcc-updating) {
    font-size: var(--wcc-stable-font-size, inherit) !important;
}

/* Payment Methods - Kein Flackern */
.woocommerce-checkout .payment_methods {
    min-height: 200px;
}

.woocommerce-checkout .payment_box {
    transition: none !important;
    animation: none !important;
}

/* === Skeleton Loading für Updates === */
@keyframes skeleton-loading {
    0% {
        background-position: -200px 0;
    }
    100% {
        background-position: calc(200px + 100%) 0;
    }
}

.wcc-skeleton {
    display: inline-block;
    height: 20px;
    width: 100%;
    background: linear-gradient(
        90deg,
        #f0f0f0 0px,
        #e0e0e0 40px,
        #f0f0f0 80px
    );
    background-size: 200px 100%;
    animation: skeleton-loading 1.2s ease-in-out infinite;
    border-radius: 4px;
}

/* Express Payment Skeleton */
.wcc-express-skeleton {
    display: flex;
    gap: 10px;
    margin: 20px 0;
}

.wcc-skeleton-button {
    flex: 1;
    height: 48px;
    background: linear-gradient(
        90deg,
        #f5f5f5 0px,
        #eeeeee 40px,
        #f5f5f5 80px
    );
    background-size: 200px 100%;
    animation: skeleton-loading 1.2s ease-in-out infinite;
    border-radius: 4px;
    position: relative;
    overflow: hidden;
}

.wcc-skeleton-button::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60%;
    height: 16px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 3px;
}

/* Update States */
.wcc-order-summary.is-updating .wcc-total-value,
.wcc-order-summary.is-updating .wcc-item-price {
    position: relative;
    color: transparent !important;
}

.wcc-order-summary.is-updating .wcc-total-value::after,
.wcc-order-summary.is-updating .wcc-item-price::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 16px;
    transform: translateY(-50%);
    background: linear-gradient(
        90deg,
        #f0f0f0 0px,
        #e0e0e0 40px,
        #f0f0f0 80px
    );
    background-size: 200px 100%;
    animation: skeleton-loading 1.2s ease-in-out infinite;
    border-radius: 3px;
}

/* Disable all transitions during updates */
.is-updating,
.is-updating * {
    transition: none !important;
    animation-duration: 0s !important;
}

/* === Cart Grid Layout === */
.woocommerce-cart .wcc-checkout-container {
    display: grid;
    grid-template-columns: 60% 40%;
    gap: 30px;
    position: relative;
}

/* Keine Trennlinie im Warenkorb */
.woocommerce-cart .wcc-checkout-form-section::after {
    display: none !important;
}


/* Stelle sicher dass Free Shipping Content sichtbar ist */
.woocommerce-cart .wcc-free-shipping-section {
    display: block !important;
}

/* Free Shipping Progress und Achieved sind gleich gestyled */
.woocommerce-cart .wcc-free-shipping-progress,
.woocommerce-cart .wcc-free-shipping-achieved {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Achieved Version Styling */
.woocommerce-cart .wcc-free-shipping-achieved .wcc-progress-text {
    color: #28a745 !important;
    font-weight: 600 !important;
}

.woocommerce-cart .wcc-free-shipping-achieved .wcc-progress-fill {
    background: #28a745 !important;
}

/* === Checkout Free Shipping Achieved Styling === */
.woocommerce-checkout .wcc-free-shipping-achieved .wcc-progress-text {
    color: #28a745 !important;
    font-weight: 600 !important;
}

.woocommerce-checkout .wcc-free-shipping-achieved .wcc-progress-fill {
    background: #28a745 !important;
}

/* === Cart Page Express Checkout Anpassungen === */
div#payment-method-message {
    display: none !important;
}

/* Klarna Button verstecken */
.woocommerce-cart .klarna-payments-buy-button,
.woocommerce-cart [class*="klarna"] {
    display: none !important;
}

/* Express Checkout als Flexbox für Reihenfolge */
.woocommerce-cart .wcc-express-checkout-section {
    display: flex;
    flex-direction: column;
}

/* Google Pay (WooCommerce Payments) an erste Stelle */
.woocommerce-cart .wcpay-express-checkout-wrapper {
    order: 1;
    margin: 0px 0 15px 5px !important;
    width: calc(100% + 10px) !important;
    max-width: none !important;
    padding: 0 !important;
    position: relative;
    left: -5px;
}

/* Google Pay Button Container und Button selbst */
.woocommerce-cart .wcpay-express-checkout-wrapper > *,
.woocommerce-cart .wcpay-express-checkout-element,
.woocommerce-cart #wcpay-express-checkout-element,
.woocommerce-cart .wcpay-express-checkout-button-wrapper {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
}

/* Skeleton Loader für Cart */
.woocommerce-cart .wcc-express-skeleton {
    margin-bottom: 20px;
}

.woocommerce-cart .wcc-skeleton-button {
    height: 45px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
    border-radius: 4px;
    margin-bottom: 10px;
}

.woocommerce-cart .wcc-skeleton-button:last-child {
    margin-bottom: 0;
}

/* Gutschein Nachrichten für Cart-Seite */
.woocommerce-cart .wcc-coupon-message {
    margin-top: 10px !important;
    font-size: 13px !important;
    padding: 10px !important;
    border-radius: 4px !important;
}

.woocommerce-cart .wcc-coupon-message.success {
    background: #d4edda !important;
    color: #155724 !important;
    border: 1px solid #c3e6cb !important;
}

.woocommerce-cart .wcc-coupon-message.error {
    background: #f8d7da !important;
    color: #721c24 !important;
    border: 1px solid #f5c6cb !important;
}

.woocommerce-cart .wcc-coupon-apply-btn {
    padding: 12px 20px;
    background: var(--wcc-secondary-color);
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.woocommerce-cart .wcc-coupon-apply-btn:hover {
    background: #3a9140;
    transform: translateY(-1px);
}

.woocommerce-cart .wcc-coupon-apply-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* PayPal an zweite Stelle */
.woocommerce-cart .paypal-buttons,
.woocommerce-cart .ppc-button-wrapper,
.woocommerce-cart #paypal-button-container {
    order: 2;
}

/* === Warenkorb Gutschein-Box Höhen-Anpassung === */
.woocommerce-cart .wcc-coupon-input,
.woocommerce-checkout .wcc-coupon-input {
    padding: 8px 12px !important;
    font-size: 13px !important;
    line-height: 1.4 !important;
    box-sizing: border-box !important;
}

.woocommerce-cart .wcc-coupon-apply-btn,
.woocommerce-checkout .wcc-coupon-btn {
    height: 36px !important;
    padding: 8px 16px !important;
    font-size: 13px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* Gutschein-Toggle auch kleiner */
.woocommerce-cart .wcc-coupon-toggle,
.woocommerce-checkout .wcc-coupon-toggle {
    padding: 12px 16px !important;
}

.woocommerce-cart .wcc-coupon-form,
.woocommerce-checkout .wcc-coupon-form {
    padding: 15px !important;
}

.woocommerce-cart .wcc-coupon-icon {
    font-size: 16px !important;
}

.woocommerce-cart .wcc-coupon-text {
    font-size: 13px !important;
}

/* Gutschein-Button verwendet Primärfarbe wie in der Kasse */
.wcc-coupon-btn,
.wcc-coupon-apply-btn,
.woocommerce-cart .wcc-coupon-apply-btn,
.woocommerce-checkout .wcc-coupon-btn {
    background: var(--wcc-primary-color) !important;
    background-color: var(--wcc-primary-color) !important;
}

.wcc-coupon-btn:hover,
.wcc-coupon-apply-btn:hover,
.woocommerce-cart .wcc-coupon-apply-btn:hover,
.woocommerce-checkout .wcc-coupon-btn:hover {
    opacity: 0.85 !important;
    background: var(--wcc-primary-color) !important;
    background-color: var(--wcc-primary-color) !important;
}

/* ===================================
   RESPONSIVE DESIGN - KOMPLETT ÜBERARBEITET
   =================================== */

/* Tablet (768px - 1024px) */
@media (max-width: 1024px) {
    /* Checkout & Cart Layout */
    .wcc-checkout-container,
    .woocommerce-cart .wcc-checkout-container {
        display: block !important;
        gap: 0 !important;
    }
    
    .wcc-checkout-form-section,
    .woocommerce-cart .wcc-checkout-form-section {
        width: 100% !important;
        margin-bottom: 30px !important;
    }
    
    .wcc-order-summary-section,
    .woocommerce-cart .wcc-order-summary-section {
        width: 100% !important;
        position: static !important;
        margin-top: 0 !important;
    }
    
    /* Sticky Elements deaktivieren */
    .wcc-order-summary-sticky {
        position: static !important;
    }
    
    /* Trennlinien entfernen */
    .wcc-checkout-form-section::after,
    .woocommerce-cart .wcc-checkout-form-section::after {
        display: none !important;
    }
}

/* Mobile (max 768px) */
@media (max-width: 768px) {
    /* Container Padding */
    .wcc-checkout-container,
    .woocommerce-cart .wcc-checkout-container {
        padding: 0 15px !important;
    }
    
    /* Checkout Form Section - negativer margin-bottom */
    .wcc-checkout-form-section,
    .woocommerce-cart .wcc-checkout-form-section {
        margin-bottom: -55px !important;
    }
    
    /* Form Sections */
    .wcc-form-section {
        padding: 15px !important;
        margin-bottom: 15px !important;
    }
    
    /* Order Summary */
    .wcc-order-summary-sticky {
        padding: 15px !important;
    }
    
    /* Cart Items - Neues Layout */
    .wcc-cart-items {
        padding: 10px 0 5px 0 !important; /* Reduziert unteren Padding */
        margin-bottom: 10px !important; /* Kleinerer Abstand zum nächsten Element */
    }
    
    .wcc-cart-item {
        padding: 10px !important;
        display: grid !important;
        grid-template-columns: 90px 1fr !important;
        grid-template-rows: 90px auto !important;
        gap: 10px !important;
        position: relative !important;
        /* Grauer Hintergrund entfernt */
        border-bottom: 1px solid var(--wcc-border-color) !important;
        overflow: hidden !important;
        min-height: 120px !important;
    }
    
    /* Bild - 90x90 in linker Spalte oben */
    .wcc-item-image {
        grid-column: 1 !important;
        grid-row: 1 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    
    /* Bild-Styles sind oben in Mobile Section definiert */
    
    /* Quantity UNTER dem Bild - 90px breit */
    .wcc-item-quantity {
        grid-column: 1 !important;
        grid-row: 2 !important;
        justify-self: center !important;
        background: #fff !important;
        padding: 2px !important;
        border-radius: 4px !important;
        display: flex !important;
        align-items: center !important;
        gap: 6px !important;
        width: 90px !important;
        margin-top: 5px !important;
    }
    
    /* Rechte Spalte - Details */
    .wcc-item-details {
        grid-column: 2 !important;
        grid-row: 1 !important;
        padding-right: 30px !important;
        align-self: center !important;
    }
    
    .wcc-item-name,
    .woocommerce-cart .wcc-item-name,
    .woocommerce-checkout .wcc-item-name {
        font-size: 17px !important;
        line-height: 1.3 !important;
        margin-bottom: 4px !important;
        font-weight: 500 !important;
    }
    
    .wcc-item-meta,
    .woocommerce-cart .wcc-item-meta,
    .woocommerce-checkout .wcc-item-meta {
        font-size: 15px !important;
        color: #666 !important;
    }
    
    /* Preis unten rechts - auf gleicher Höhe wie Quantity */
    .wcc-item-price,
    .woocommerce-cart .wcc-item-price,
    .woocommerce-checkout .wcc-item-price {
        grid-column: 2 !important;
        grid-row: 2 !important;
        justify-self: end !important;
        align-self: center !important;
        font-weight: 700 !important;
        font-size: 18px !important;
        white-space: nowrap !important;
    }
    
    /* X Button - Position wird vom Mobile Layout gesteuert */
    /* REMOVED - Conflicting rules that override mobile layout */
    
    /* Buttons */
    .wcc-place-order-btn,
    .woocommerce-cart .wcc-place-order-btn,
    .woocommerce-checkout .wcc-place-order-btn {
        padding: 14px 16px !important;
        font-size: 18px !important;
    }
    
    .wcc-btn-total,
    .woocommerce-cart .wcc-btn-total,
    .woocommerce-checkout .wcc-btn-total {
        font-size: 20px !important;
        font-weight: 700 !important;
    }
    
    /* Express Checkout */
    .wcc-express-checkout-section {
        margin-bottom: 20px !important;
    }
    
    /* Form Fields */
    .form-row {
        width: 100% !important;
        margin-right: 0 !important;
    }
    
    /* Two Column Fields auf Mobile */
    .form-row-first,
    .form-row-last {
        width: 100% !important;
        clear: both !important;
    }
    
    /* Floating Labels */
    .wcc-floating-label {
        font-size: 13px !important;
    }
    
    /* Gutschein Box */
    .wcc-coupon-section {
        margin-bottom: 15px !important;
    }
    
    .wcc-coupon-toggle {
        padding: 10px 12px !important;
    }
    
    .wcc-coupon-form {
        padding: 12px !important;
    }
    
    .wcc-coupon-input-group {
        flex-direction: column !important;
        gap: 8px !important;
    }
    
    .wcc-coupon-input,
    .wcc-coupon-apply-btn {
        width: 100% !important;
    }
    
    /* Payment Methods */
    .wc_payment_method {
        padding: 12px !important;
    }
    
    .payment_method_title {
        font-size: 14px !important;
    }
    
    /* Free Shipping Widget */
    .wcc-free-shipping-section {
        margin-bottom: 15px !important;
    }
    
    /* Mobile mit erhöhter Spezifität */
    .wcc-free-shipping-section .wcc-shipping-icon,
    .wcc-free-shipping-progress .wcc-shipping-icon,
    .wcc-free-shipping-achieved .wcc-shipping-icon {
        font-size: 26px !important; /* Etwas kleiner als Desktop */
    }
    
    .wcc-progress-text {
        font-size: 14px !important; /* Auch etwas größer */
    }
}

/* Small Mobile (max 480px) */
@media (max-width: 480px) {
    /* Container */
    .wcc-checkout-container,
    .woocommerce-cart .wcc-checkout-container {
        padding: 0 10px !important;
    }
    
    /* Titles */
    .wcc-section-title {
        font-size: 18px !important;
    }
    
    .wcc-summary-title,
    h3.wcc-summary-title,
    .woocommerce-cart h3.wcc-summary-title,
    .woocommerce-checkout h3.wcc-summary-title {
        font-size: 20px !important;
        font-weight: 700 !important;
    }
    
    /* Order Summary */
    .wcc-order-summary-sticky {
        padding: 12px !important;
        border-radius: 8px !important;
    }
    
    /* Cart Items noch kompakter */
    .wcc-cart-item {
        padding: 8px !important;
        min-height: 90px !important;
    }
    
    /* Alte Bild-Styles entfernt */
    
    .wcc-item-name {
        font-size: 13px !important;
    }
    
    .wcc-item-price {
        font-size: 14px !important;
    }
    
    .wcc-item-quantity {
        padding: 1px !important;
        gap: 4px !important;
    }
    
    /* REMOVED - Conflicting rule */
    
    .wcc-qty-display,
    .woocommerce-cart .wcc-qty-display,
    .woocommerce-checkout .wcc-qty-display {
        font-size: 16px !important;
        min-width: 24px !important;
        font-weight: 600 !important;
    }
    
    .wcc-remove-item {
        width: 24px !important;
        height: 24px !important;
        font-size: 16px !important;
        /* top und right entfernt - wird vom Mobile Layout (max-width: 768px) gesteuert */
    }
    
    /* Totals */
    .wcc-total-row {
        padding: 8px 0 !important;
    }
    
    /* Express Buttons */
    .wcc-express-skeleton {
        height: 44px !important;
    }
    
    /* Form Sections noch kleiner */
    .wcc-form-section {
        padding: 12px !important;
    }
    
    /* Login Form */
    .wcc-login-form-wrapper {
        padding: 12px !important;
    }
    
    /* Terms Text */
    .wcc-terms-text,
    .woocommerce-cart .wcc-terms-text,
    .woocommerce-checkout .wcc-terms-text {
        font-size: 14px !important;
    }
    
    /* Summary Title für kleine Screens */
    .wcc-summary-title,
    h3.wcc-summary-title,
    .woocommerce-cart h3.wcc-summary-title,
    .woocommerce-checkout h3.wcc-summary-title {
        font-size: 18px !important;
        font-weight: 700 !important;
    }
}

/* Desktop: Summary Title Abstand */
@media (min-width: 769px) {
    h3.wcc-summary-title {
        margin-top: 75px !important;
    }
}

/* === Leerer Warenkorb Design === */
.wcc-empty-cart {
    text-align: center;
    padding: 60px 20px;
    max-width: 500px;
    margin: 0 auto;
}

.wcc-empty-cart-icon {
    margin-bottom: 30px;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.wcc-empty-cart-title {
    font-size: 28px !important;
    font-weight: 600 !important;
    color: #333 !important;
    margin-bottom: 15px !important;
    line-height: 1.3 !important;
}

.wcc-empty-cart-text {
    font-size: 16px !important;
    color: #666 !important;
    margin-bottom: 30px !important;
    line-height: 1.6 !important;
}

.wcc-empty-cart-buttons {
    margin-bottom: 50px;
}

.wcc-continue-shopping-btn {
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
    background: var(--wcc-primary-color) !important;
    color: #ffffff !important;
    padding: 16px 32px !important;
    border-radius: 8px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1) !important;
}

.wcc-continue-shopping-btn:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(0,0,0,0.15) !important;
    color: #ffffff !important;
}

.wcc-continue-shopping-btn span {
    color: #ffffff !important;
}

/* Noch spezifischer für Theme-Overrides */
.wcc-empty-cart .wcc-continue-shopping-btn span,
.wcc-empty-cart .wcc-continue-shopping-btn:hover span,
.wcc-empty-cart .wcc-continue-shopping-btn:visited span,
.wcc-empty-cart .wcc-continue-shopping-btn:active span {
    color: #ffffff !important;
}

/* NUCLEAR OPTION - Maximale Spezifität */
body.woocommerce-cart .wcc-cart-page-wrapper .wcc-empty-cart .wcc-continue-shopping-btn span {
    color: #ffffff !important;
}

/* OVERRIDE für spezifische Link-Regel */
.wcc-checkout-container .wcc-empty-cart-buttons .wcc-continue-shopping-btn {
    color: #ffffff !important;
}

.wcc-checkout-container .wcc-empty-cart-buttons .wcc-continue-shopping-btn span {
    color: #ffffff !important;
}

.wcc-continue-shopping-btn svg {
    transition: transform 0.3s ease;
}

.wcc-continue-shopping-btn:hover svg {
    transform: translateX(5px);
}

/* Beliebte Kategorien */
.wcc-popular-categories {
    padding-top: 30px;
    border-top: 1px solid #e0e0e0;
}

.wcc-popular-categories h3 {
    font-size: 18px !important;
    font-weight: 600 !important;
    color: #333 !important;
    margin-bottom: 20px !important;
}

.wcc-category-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.wcc-category-pill {
    display: inline-block;
    padding: 8px 20px;
    background: #f5f5f5;
    color: #666 !important;
    border-radius: 25px;
    font-size: 14px;
    text-decoration: none !important;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.wcc-category-pill:hover {
    background: var(--wcc-primary-color);
    color: #fff !important;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* Mobile Anpassungen */
@media (max-width: 768px) {
    .wcc-empty-cart {
        padding: 40px 20px;
    }
    
    .wcc-empty-cart-icon svg {
        width: 100px;
        height: 100px;
    }
    
    .wcc-empty-cart-title {
        font-size: 24px !important;
    }
    
    .wcc-empty-cart-text {
        font-size: 15px !important;
    }
    
    .wcc-continue-shopping-btn {
        padding: 14px 24px !important;
        font-size: 15px !important;
    }
    
    .wcc-category-pills {
        gap: 8px;
    }
    
    .wcc-category-pill {
        padding: 6px 16px;
        font-size: 13px;
    }
}

/* Verstecke rechte Sidebar wenn Warenkorb leer */
.wcc-empty-cart ~ .wcc-order-summary-section {
    display: none !important;
}

/* Volle Breite für leeren Warenkorb */
.woocommerce-cart .wcc-checkout-container:has(.wcc-empty-cart) {
    display: block !important;
}

.woocommerce-cart .wcc-checkout-container:has(.wcc-empty-cart) .wcc-checkout-form-section {
    width: 100% !important;
    max-width: 800px !important;
    margin: 0 auto !important;
}

/* === Thank You Page === */
.wcc-thankyou-page {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
}

.wcc-layout-centered {
    text-align: center;
}

.wcc-layout-centered .woocommerce-order-details,
.wcc-layout-centered .woocommerce-customer-details {
    text-align: left;
}

/* Success Animation */
.wcc-success-animation {
    margin-bottom: 30px;
}

.wcc-checkmark-circle {
    width: 100px;
    height: 100px;
    margin: 0 auto;
}

/* Order Status Banner */
.wcc-order-status-banner {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: var(--wcc-background-light);
    border-radius: 8px;
    margin-bottom: 30px;
}

.wcc-status-icon {
    font-size: 40px;
}

.wcc-status-content h3 {
    margin: 0 0 5px 0;
    color: var(--wcc-text-primary);
}

.wcc-status-content p {
    margin: 0;
    color: var(--wcc-text-secondary);
}

/* Status Colors */
.wcc-status-processing {
    border-left: 4px solid var(--wcc-primary-color);
}

.wcc-status-completed {
    border-left: 4px solid var(--wcc-secondary-color);
}

.wcc-status-pending {
    border-left: 4px solid #ffc107;
}

.wcc-status-failed {
    border-left: 4px solid var(--wcc-danger-color);
}

/* Next Steps Timeline */
.wcc-next-steps {
    margin: 40px 0;
}

.wcc-steps-timeline {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
    position: relative;
}

.wcc-timeline-item {
    flex: 1;
    text-align: center;
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.wcc-timeline-item.active {
    opacity: 1;
}

.wcc-timeline-icon {
    font-size: 30px;
    margin-bottom: 10px;
}

.wcc-timeline-content h4 {
    margin: 0 0 5px 0;
    font-size: 16px;
    color: var(--wcc-text-primary);
}

.wcc-timeline-content p {
    margin: 0;
    font-size: 14px;
    color: var(--wcc-text-secondary);
}

/* Order Summary Preview */
.wcc-order-summary-preview {
    margin: 40px 0;
}

.wcc-summary-box {
    border: 1px solid var(--wcc-border-color);
    border-radius: 8px;
    overflow: hidden;
}

.wcc-summary-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: var(--wcc-background-light);
    font-weight: 600;
}

.wcc-summary-items {
    padding: 20px;
}

.wcc-summary-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 10px 0;
    border-bottom: 1px solid var(--wcc-border-color);
}

.wcc-summary-item:last-child {
    border-bottom: none;
}

/* Alte globale Bild-Styles entfernt */

.wcc-item-details {
    flex: 1;
}

.wcc-item-name {
    display: block;
    font-weight: 600;
    margin-bottom: 5px;
}

.wcc-item-qty {
    color: var(--wcc-text-secondary);
    font-size: 14px;
}

/* CTA Buttons */
.wcc-cta-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
    margin: 40px 0;
}

.wcc-btn-primary {
    background: var(--wcc-primary-color);
}

.wcc-btn-secondary {
    background: #6c757d;
}

.wcc-btn-text {
    background: transparent;
    color: var(--wcc-primary-color);
    border: 1px solid var(--wcc-primary-color);
}

.wcc-btn-text:hover {
    background: var(--wcc-primary-color);
    color: #fff;
}

/* Social Share */
.wcc-social-share {
    margin: 40px 0;
    padding: 30px;
    background: var(--wcc-background-light);
    border-radius: 8px;
    text-align: center;
}

.wcc-share-buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 20px;
}

.wcc-share-btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 4px;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.3s ease;
}

.wcc-share-btn:hover {
    transform: translateY(-2px);
}

.wcc-share-facebook {
    background: #3b5998;
}

.wcc-share-twitter {
    background: #1da1f2;
}

.wcc-share-whatsapp {
    background: #25d366;
}

/* Newsletter Signup */
.wcc-newsletter-signup {
    margin: 40px 0;
    padding: 30px;
    background: var(--wcc-background-light);
    border-radius: 8px;
    text-align: center;
}

.wcc-newsletter-form {
    display: flex;
    gap: 10px;
    max-width: 400px;
    margin: 20px auto 0;
}

.wcc-newsletter-form input[type="email"] {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid var(--wcc-border-color);
    border-radius: 4px;
    font-size: 16px;
}

/* === Validation Alert System === */
.wcc-validation-alert {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-left: 4px solid #f39c12;
    border-radius: 6px;
    margin: 15px 0;
    padding: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.wcc-alert-content {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    gap: 12px;
}

.wcc-alert-icon {
    font-size: 20px;
    flex-shrink: 0;
}

.wcc-alert-text {
    flex: 1;
    font-size: 14px;
    font-weight: 600;
    color: #856404;
    line-height: 1.4;
}

.wcc-alert-close {
    background: none;
    border: none;
    font-size: 18px;
    font-weight: bold;
    color: #856404;
    cursor: pointer;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.wcc-alert-close:hover {
    background: rgba(133, 100, 4, 0.1);
    color: #6c5200;
}

/* Alert Animation */
.wcc-validation-alert {
    animation: wcc-alert-slide-in 0.3s ease-out;
}

@keyframes wcc-alert-slide-in {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Alert Variants */
.wcc-validation-alert.error {
    background: #f8d7da;
    border-color: #f5c6cb;
    border-left-color: #dc3545;
}

.wcc-validation-alert.error .wcc-alert-text,
.wcc-validation-alert.error .wcc-alert-close {
    color: #721c24;
}

.wcc-validation-alert.success {
    background: #d4edda;
    border-color: #c3e6cb;
    border-left-color: #28a745;
}

.wcc-validation-alert.success .wcc-alert-text,
.wcc-validation-alert.success .wcc-alert-close {
    color: #155724;
}

.wcc-validation-alert.info {
    background: #d1ecf1;
    border-color: #bee5eb;
    border-left-color: #17a2b8;
}

.wcc-validation-alert.info .wcc-alert-text,
.wcc-validation-alert.info .wcc-alert-close {
    color: #0c5460;
}

/* Responsive Alert */
@media (max-width: 768px) {
    .wcc-alert-content {
        padding: 12px 15px;
        gap: 10px;
    }
    
    .wcc-alert-icon {
        font-size: 18px;
    }
    
    .wcc-alert-text {
        font-size: 13px;
    }
    
    .wcc-alert-close {
        width: 20px;
        height: 20px;
        font-size: 16px;
    }
}

/* === VERSTECKE STANDARD WOOCOMMERCE LOADING === */
.blockUI,
.blockOverlay,
.woocommerce-checkout .processing::after,
form.checkout.processing::after {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
}

/* === Delivery Truck Loading Overlay === */
.wcc-delivery-overlay {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    z-index: 999999 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
    padding: 0 !important;
}

.wcc-overlay-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(3px);
}

.wcc-delivery-container {
    position: relative;
    z-index: 2;
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    text-align: center;
    max-width: 400px;
    width: 90%;
    animation: wcc-overlay-bounce-in 0.5s ease-out;
}

@keyframes wcc-overlay-bounce-in {
    0% {
        opacity: 0;
        transform: scale(0.3) translateY(-50px);
    }
    50% {
        opacity: 1;
        transform: scale(1.05) translateY(0);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.wcc-loading-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.wcc-loading-title {
    margin: 0;
    font-size: 24px;
    font-weight: 600;
    color: #333;
    letter-spacing: 0.5px;
}

.wcc-truck-animation,
.woocommerce-checkout .wcc-truck-animation,
.wcc-delivery-overlay .wcc-truck-animation,
.woocommerce-checkout .wcc-delivery-overlay .wcc-truck-animation {
    position: relative;
    width: 400px !important;
    height: 120px !important;
    margin: 20px 0;
    overflow: hidden;
    border-radius: 10px;
    background: linear-gradient(to bottom, #87CEEB 0%, #87CEEB 60%, #90EE90 60%, #90EE90 100%);
}

.wcc-road {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 20px;
    background: #666;
    border-top: 3px dashed #fff;
}

.wcc-road::before {
    content: '';
    position: absolute;
    top: -3px;
    left: 0;
    width: 100%;
    height: 3px;
    background: repeating-linear-gradient(
        to right,
        #fff 0px,
        #fff 20px,
        transparent 20px,
        transparent 40px
    );
    animation: wcc-road-lines 2s linear infinite;
}

@keyframes wcc-road-lines {
    0% { transform: translateX(0); }
    100% { transform: translateX(40px); }
}

.wcc-truck {
    position: absolute;
    bottom: 20px;
    left: -60px;
    animation: wcc-truck-drive 3s ease-in-out infinite;
}

.wcc-truck-body,
.woocommerce-checkout .wcc-truck-body,
.wcc-delivery-overlay .wcc-truck-body,
.woocommerce-checkout .wcc-delivery-overlay .wcc-truck-body {
    font-size: 60px !important;
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.3));
    animation: wcc-truck-bounce 0.5s ease-in-out infinite alternate;
}

@keyframes wcc-truck-drive {
    0% {
        left: -60px;
    }
    50% {
        left: calc(50% - 20px);
    }
    100% {
        left: calc(100% + 20px);
    }
}

@keyframes wcc-truck-bounce {
    0% {
        transform: translateY(0px) scaleX(-1);
    }
    100% {
        transform: translateY(-3px) scaleX(-1);
    }
}

.wcc-loading-text {
    margin: 0;
    font-size: 16px;
    color: #666;
    font-weight: 500;
    position: relative;
    z-index: 10;
    text-align: center;
    line-height: 1.4;
    padding: 0 20px;
}

.wcc-loading-text::after {
    content: '...';
    animation: wcc-dots 1.5s ease-in-out infinite;
    position: absolute;
    right: -10px;
    top: 0;
}

@keyframes wcc-dots {
    0%, 33% {
        content: '.';
    }
    34%, 66% {
        content: '..';
    }
    67%, 100% {
        content: '...';
    }
}

/* Scroll-Sperre während Loading */
.wcc-no-scroll {
    overflow: hidden !important;
    height: 100% !important;
}

/* Responsive Delivery Overlay */
@media (max-width: 768px) {
    .wcc-delivery-container {
        padding: 30px 20px;
        max-width: 350px;
    }
    
    .wcc-loading-title {
        font-size: 20px;
    }
    
    .wcc-truck-animation,
    .woocommerce-checkout .wcc-truck-animation,
    .wcc-delivery-overlay .wcc-truck-animation {
        width: 320px !important;
        height: 100px !important;
    }
    
    .wcc-truck-body,
    .woocommerce-checkout .wcc-truck-body,
    .wcc-delivery-overlay .wcc-truck-body {
        font-size: 50px !important;
    }
    
    .wcc-loading-text {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .wcc-delivery-container {
        padding: 25px 15px;
        max-width: 300px;
    }
    
    .wcc-loading-title {
        font-size: 18px;
    }
    
    .wcc-truck-animation,
    .woocommerce-checkout .wcc-truck-animation,
    .wcc-delivery-overlay .wcc-truck-animation {
        width: 280px !important;
        height: 90px !important;
    }
    
    .wcc-truck-body,
    .woocommerce-checkout .wcc-truck-body,
    .wcc-delivery-overlay .wcc-truck-body {
        font-size: 45px !important;
    }
    
    .wcc-loading-text {
        font-size: 13px;
    }
}

/* Zusätzliche Animationen für bessere UX */
.wcc-delivery-overlay.fade-out {
    animation: wcc-overlay-fade-out 0.3s ease-in forwards;
}

@keyframes wcc-overlay-fade-out {
    0% {
        opacity: 1;
        transform: scale(1);
    }
    100% {
        opacity: 0;
        transform: scale(0.9);
    }
}

/* Wolken Animation im Hintergrund */
.wcc-truck-animation::before {
    content: '☁️';
    position: absolute;
    top: 10px;
    left: 20px;
    font-size: 20px;
    opacity: 0.7;
    animation: wcc-cloud-float 4s ease-in-out infinite;
}

.wcc-truck-animation::after {
    content: '☁️';
    position: absolute;
    top: 5px;
    right: 30px;
    font-size: 16px;
    opacity: 0.5;
    animation: wcc-cloud-float 6s ease-in-out infinite reverse;
}

@keyframes wcc-cloud-float {
    0%, 100% {
        transform: translateX(0px) translateY(0px);
    }
    50% {
        transform: translateX(10px) translateY(-5px);
    }
}

/* === Responsive === */
@media (max-width: 1024px) {
    .wcc-checkout-modern .wcc-checkout-container {
        grid-template-columns: 1fr;
        gap: 30px;
        display: flex;
        flex-direction: column;
    }
    
    .wcc-checkout-form-section {
        order: 1;
    }
    
    .wcc-checkout-form-section::after {
        display: none;
    }
    
    .wcc-order-summary-section {
        position: static;
        order: 2;
    }
    
    .wcc-express-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .wcc-express-btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 768px) {
    .wcc-checkout-modern .wcc-checkout-container {
        gap: 20px;
    }
    
    .wcc-form-section {
        padding: 20px;
    }
    
    .wcc-order-summary-sticky {
        padding: 20px;
    }
    
    
    .wcc-cart-item {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .wcc-item-details {
        flex: 1 1 100%;
        order: 1;
    }
    
    .wcc-item-quantity {
        order: 2;
    }
    
    .wcc-item-price {
        order: 3;
        margin-left: auto;
    }
    
    .wcc-item-image {
        order: 0;
    }
    
    .wcc-steps-timeline {
        flex-direction: column;
        gap: 20px;
    }
    
    .wcc-timeline-item {
        text-align: left;
        display: flex;
        align-items: flex-start;
        gap: 15px;
    }
    
    .wcc-cta-buttons {
        flex-direction: column;
    }
    
    .wcc-cta-buttons .button {
        width: 100%;
        text-align: center;
    }
    
    .wcc-newsletter-form {
        flex-direction: column;
    }
    
    .wcc-share-buttons {
        flex-direction: column;
    }
    
    /* Mobile Typography Optimierungen */
    .wcc-section-title,
    .woocommerce-cart .wcc-section-title,
    .woocommerce-checkout .wcc-section-title {
        font-size: 22px !important;
        line-height: 1.4 !important;
        font-weight: 700 !important;
    }
    
    .wcc-field-label,
    .woocommerce-cart .wcc-field-label,
    .woocommerce-checkout .wcc-field-label {
        font-size: 16px !important;
    }
    
    .wcc-input-field,
    .woocommerce-cart .wcc-input-field,
    .woocommerce-checkout .wcc-input-field {
        font-size: 18px !important; /* Verhindert Zoom auf iOS */
        padding: 14px !important;
    }
    
    /* Mobile Touch-Target Optimierungen */
    .wcc-quantity-btn,
    .woocommerce-cart .wcc-quantity-btn,
    .woocommerce-checkout .wcc-quantity-btn {
        min-width: 44px !important;
        min-height: 44px !important;
        font-size: 20px !important;
    }
    
    .wcc-remove-item,
    .woocommerce-cart .wcc-remove-item,
    .woocommerce-checkout .wcc-remove-item {
        width: 32px !important;
        height: 32px !important;
        font-size: 20px !important;
    }
    
    /* Mobile Button Optimierungen */
    .wcc-place-order-btn,
    .woocommerce-cart .wcc-place-order-btn,
    .woocommerce-checkout .wcc-place-order-btn {
        padding: 16px 24px !important;
        font-size: 20px !important;
        min-height: 54px !important;
    }
    
    /* Mobile Spacing Optimierungen */
    .wcc-order-summary-totals {
        padding: 16px !important;
    }
    
    .wcc-total-row,
    .woocommerce-cart .wcc-total-row,
    .woocommerce-checkout .wcc-total-row {
        padding: 12px 0 !important;
        font-size: 16px !important;
    }
    
    .wcc-total-label,
    .woocommerce-cart .wcc-total-label,
    .woocommerce-checkout .wcc-total-label {
        font-size: 16px !important;
    }
    
    .wcc-total-value,
    .woocommerce-cart .wcc-total-value,
    .woocommerce-checkout .wcc-total-value {
        font-size: 18px !important;
        font-weight: 600 !important;
    }
    
    /* Mobile Gutschein-Input */
    .wcc-coupon-input,
    .woocommerce-cart .wcc-coupon-input,
    .woocommerce-checkout .wcc-coupon-input {
        font-size: 18px !important;
        padding: 12px !important;
    }
    
    .wcc-coupon-btn,
    .woocommerce-cart .wcc-coupon-btn,
    .woocommerce-checkout .wcc-coupon-btn {
        padding: 12px 20px !important;
        font-size: 16px !important;
    }
}

@media (max-width: 480px) {
    .wcc-checkout-steps {
        padding: 15px 10px;
    }
    
    .wcc-step-title {
        font-size: 12px;
    }
    
    .wcc-step-icon {
        display: none;
    }
    
    .wcc-step-number {
        width: 30px;
        height: 30px;
        font-size: 14px;
    }
    
    .woocommerce-checkout .button {
        width: 100%;
        text-align: center;
    }
    
    
    .wcc-form-section {
        padding: 15px;
        border-radius: 12px !important;
    }
    
    
    .wcc-section-title,
    .woocommerce-cart .wcc-section-title,
    .woocommerce-checkout .wcc-section-title {
        font-size: 20px !important;
        margin-bottom: 12px !important;
        font-weight: 700 !important;
    }
    
    .wcc-cart-item {
        padding: 10px 0 5px 0;
    }
    
    /* Alte Bild-Styles entfernt */
    
    .wcc-place-order-btn {
        padding: 15px 20px;
        font-size: 15px;
        border-radius: 8px !important;
        box-shadow: 0 2px 4px rgba(0,0,0,0.1) !important;
    }
    
    .wcc-btn-total {
        font-size: 16px;
    }
    
    /* Extra Mobile Optimierungen */
    .wcc-checkout-container {
        padding: 10px !important;
    }
    
    .wcc-order-summary-sticky {
        padding: 15px !important;
        border-radius: 12px !important;
    }
    
    /* Mobile Floating Labels */
    .wcc-floating-field .wcc-field-label,
    .woocommerce-cart .wcc-floating-field .wcc-field-label,
    .woocommerce-checkout .wcc-floating-field .wcc-field-label {
        font-size: 14px !important;
        top: -7px !important;
    }
    
    /* Mobile Cart Optimierungen */
    .wcc-cart-item-info {
        gap: 8px !important;
    }
    
    .wcc-item-name,
    .woocommerce-cart .wcc-item-name,
    .woocommerce-checkout .wcc-item-name {
        font-size: 16px !important;
        line-height: 1.3 !important;
        font-weight: 500 !important;
    }
    
    .wcc-item-price,
    .woocommerce-cart .wcc-item-price,
    .woocommerce-checkout .wcc-item-price {
        font-size: 17px !important;
        font-weight: 700 !important;
    }
    
    /* Mobile Shipping Widget */
    .wcc-free-shipping-widget {
        padding: 12px !important;
        margin-bottom: 15px !important;
    }
    
    .wcc-shipping-icon,
    .woocommerce-cart .wcc-shipping-icon,
    .woocommerce-checkout .wcc-shipping-icon {
        font-size: 32px !important;
    }
    
    .wcc-progress-text,
    .woocommerce-cart .wcc-progress-text,
    .woocommerce-checkout .wcc-progress-text {
        font-size: 16px !important;
        font-weight: 600 !important;
    }
    
    /* Mobile Summary Totals */
    .wcc-total-row,
    .woocommerce-cart .wcc-total-row,
    .woocommerce-checkout .wcc-total-row {
        font-size: 15px !important;
    }
    
    .wcc-total-row:last-child,
    .woocommerce-cart .wcc-total-row:last-child,
    .woocommerce-checkout .wcc-total-row:last-child {
        font-size: 18px !important;
        font-weight: 700 !important;
        padding-top: 15px !important;
        border-top: 2px solid #e8e8e8 !important;
    }
    
    /* Mobile Form Fields */
    .wcc-form-row {
        margin-bottom: 15px !important;
    }
    
    .wcc-input-field,
    .woocommerce-cart .wcc-input-field,
    .woocommerce-checkout .wcc-input-field {
        border-radius: 8px !important;
        font-size: 18px !important;
    }
    
    /* Mobile Checkbox */
    .woocommerce-form__input-checkbox {
        width: 20px !important;
        height: 20px !important;
    }
    
    /* Mobile Error Messages */
    .woocommerce-error,
    .woocommerce-info,
    .woocommerce-message {
        font-size: 15px !important;
        padding: 10px 12px !important;
        margin-bottom: 15px !important;
    }
    
    /* Free Shipping Section - nur mobil im Warenkorb */
    .woocommerce-cart .wcc-free-shipping-section {
        margin-top: 40px !important;
    }
}


/* ===================================
   SMOOTH TRANSITIONS & HOVER EFFECTS
   =================================== */

/* Smooth Transitions für alle interaktiven Elemente */
.wcc-quantity-btn,
.wcc-remove-item,
.wcc-coupon-btn,
.wcc-place-order-btn,
.wcc-input-field,
.wcc-floating-field .wcc-field-label {
    transition: all 0.3s ease !important;
}

/* Hover-Effekte für Buttons */
.wcc-quantity-btn:hover:not(:disabled) {
    background-color: #333 !important;
    transform: scale(1.05) !important;
}

.wcc-remove-item:hover {
    background-color: #dc3545 !important;
    transform: scale(1.1) !important;
}

.wcc-place-order-btn:hover:not(:disabled) {
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15) !important;
}

/* Focus States für bessere Accessibility */
.wcc-input-field:focus {
    border-color: #4CAF50 !important;
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1) !important;
    outline: none !important;
}

/* Smooth Loading States */
.wcc-loading {
    position: relative !important;
    opacity: 0.6 !important;
    pointer-events: none !important;
}

.wcc-loading::after {
    content: "" !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    width: 20px !important;
    height: 20px !important;
    margin: -10px 0 0 -10px !important;
    border: 2px solid #f3f3f3 !important;
    border-top: 2px solid #333 !important;
    border-radius: 50% !important;
    animation: wcc-spin 1s linear infinite !important;
}

@keyframes wcc-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ===================================
   EXPRESS CHECKOUT CONTAINER
   =================================== */

/* Express Payments Top Container */
.wcc-express-payments-top {
    padding: 0 20px;
    position: relative;
    z-index: 1; /* Niedrig halten für Menü-Überlagerung */
}

/* Express Checkout Header mit Linien */
.woocommerce-checkout .wcc-express-checkout-header {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 90% !important;
    margin: 20px auto 15px !important; /* Weniger Abstand oben und unten */
    gap: 15px !important;
}

.woocommerce-checkout .wcc-line-left,
.woocommerce-checkout .wcc-line-right {
    flex: 1 !important;
    height: 1px !important;
    background-color: #ccc !important;
}

.woocommerce-checkout .wcc-express-checkout-title {
    flex: 0 0 auto !important;
    font-size: 14px !important;
    font-weight: normal !important;
    color: #666 !important;
    white-space: nowrap !important;
}

/* PayPal iFrame Buttons verstecken */
.p-HeightObserverProvider {
    display: none !important;
}

.paypal-button-row.paypal-button-number-1.paypal-button-layout-vertical.paypal-button-number-multiple.paypal-button-env-production.paypal-button-color-black.paypal-button-text-color-white.paypal-logo-color-white.paypal-button-shape-rect {
    display: none !important;
}

.paypal-button-row.paypal-button-number-2.paypal-button-layout-vertical.paypal-button-number-multiple.paypal-button-env-production.paypal-button-color-black.paypal-button-text-color-white.paypal-logo-color-white.paypal-button-shape-rect {
    display: none !important;
}

/* Andere PayPal Elements verstecken */
#paypal-button-number-1,
#paypal-button-number-2,
.p-PaymentMethodMessagingProvider {
    display: none !important;
}

/* ===================================
   FREMDSYSTEM FIX
   =================================== */

/* Elementor Search Icon Fix für Checkout */
.woocommerce-checkout svg.e-font-icon-svg.e-fas-search {
    font-size: 40px !important;
}

/* Elementor Cart Icon Fix - FREMDSYSTEM */
svg.e-font-icon-svg.e-eicon-cart-solid {
    font-size: 20px !important;
}

/* Elementor Cart Counter Bubble Fix - FREMDSYSTEM */
.elementor-menu-cart--items-indicator-bubble .elementor-menu-cart__toggle .elementor-button-icon .elementor-button-icon-qty[data-counter] {
    line-height: 1em;
    min-width: 1em;
    height: 1em;
}

/* ===================================
   SHOPIFY STYLE THANK YOU PAGE
   =================================== */

.wcc-thankyou-shopify {
    min-height: 100vh;
    background: #f5f5f5;
    padding: 40px 20px;
}

.wcc-thankyou-shopify .wcc-thankyou-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 40px;
}

/* Linke Spalte */
.wcc-thankyou-shopify .wcc-thankyou-main {
    background: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

/* Header */
.wcc-thankyou-shopify .wcc-thankyou-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 40px;
}

.wcc-thankyou-shopify .wcc-success-icon {
    flex-shrink: 0;
}

.wcc-thankyou-shopify .wcc-thankyou-title h1 {
    margin: 0 0 5px 0;
    font-size: 28px;
    font-weight: 600;
    color: #202223;
}

.wcc-thankyou-shopify .wcc-order-number {
    color: #6d7175;
    font-size: 16px;
    margin: 0;
}

/* Google Maps Section */
.wcc-thankyou-shopify .wcc-delivery-section {
    margin-bottom: 40px;
}

.wcc-thankyou-shopify .wcc-map-container {
    width: 100%;
    height: 300px;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.wcc-thankyou-shopify .wcc-delivery-info h3 {
    margin: 0 0 10px 0;
    font-size: 20px;
    font-weight: 600;
    color: #202223;
}

.wcc-thankyou-shopify .wcc-delivery-info p {
    color: #6d7175;
    margin-bottom: 15px;
}

.wcc-thankyou-shopify .wcc-shipping-address {
    background: #f7f7f7;
    padding: 15px;
    border-radius: 6px;
    font-size: 14px;
    line-height: 1.6;
    color: #202223;
}

/* Status Timeline */
.wcc-thankyou-shopify .wcc-status-timeline {
    margin-top: 40px;
}

.wcc-thankyou-shopify .wcc-status-timeline h3 {
    margin: 0 0 30px 0;
    font-size: 20px;
    font-weight: 600;
    color: #202223;
}

.wcc-thankyou-shopify .wcc-timeline-items {
    position: relative;
    padding-left: 30px;
}

.wcc-thankyou-shopify .wcc-timeline-items::before {
    content: '';
    position: absolute;
    left: 9px;
    top: 25px;
    bottom: 25px;
    width: 2px;
    background: #e3e3e3;
}

.wcc-thankyou-shopify .wcc-timeline-item {
    position: relative;
    margin-bottom: 30px;
}

.wcc-thankyou-shopify .wcc-timeline-dot {
    position: absolute;
    left: -21px;
    top: 5px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: white;
    border: 2px solid #e3e3e3;
}

.wcc-thankyou-shopify .wcc-timeline-item.active .wcc-timeline-dot {
    border-color: #ffa500;
    background: #ffa500;
}

.wcc-thankyou-shopify .wcc-timeline-item.completed .wcc-timeline-dot {
    border-color: #4CAF50;
    background: #4CAF50;
}

.wcc-thankyou-shopify .wcc-timeline-item.completed .wcc-timeline-dot::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 12px;
    font-weight: bold;
}

.wcc-thankyou-shopify .wcc-timeline-content h4 {
    margin: 0 0 5px 0;
    font-size: 16px;
    font-weight: 600;
    color: #202223;
}

.wcc-thankyou-shopify .wcc-timeline-content p {
    margin: 0;
    color: #6d7175;
    font-size: 14px;
}

.wcc-thankyou-shopify .wcc-payment-received {
    color: #4CAF50 !important;
    font-weight: 500;
}

/* Bank Details */
.wcc-thankyou-shopify .wcc-bank-details {
    margin-top: 15px;
    background: #f7f7f7;
    padding: 15px;
    border-radius: 6px;
    font-size: 14px;
}

.wcc-thankyou-shopify .wcc-bank-account {
    margin-bottom: 10px;
}

.wcc-thankyou-shopify .wcc-payment-reference {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #e3e3e3;
    font-weight: 500;
    color: #202223;
}

/* Rechte Spalte - Sidebar */
.wcc-thankyou-shopify .wcc-thankyou-sidebar {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    height: fit-content;
    position: sticky;
    top: 20px;
}

.wcc-thankyou-shopify .wcc-order-summary-box h3 {
    margin: 0 0 20px 0;
    font-size: 18px;
    font-weight: 600;
    color: #202223;
    padding-bottom: 15px;
    border-bottom: 1px solid #e3e3e3;
}

/* Order Items */
.wcc-thankyou-shopify .wcc-order-items {
    margin-bottom: 20px;
}

.wcc-thankyou-shopify .wcc-order-item {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f0f0f0;
}

.wcc-thankyou-shopify .wcc-order-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.wcc-thankyou-shopify .wcc-order-item img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 4px;
}

.wcc-thankyou-shopify .wcc-order-item-details {
    flex: 1;
}

.wcc-thankyou-shopify .wcc-order-item-details h4 {
    margin: 0 0 5px 0;
    font-size: 14px;
    font-weight: 500;
    color: #202223;
}

.wcc-thankyou-shopify .wcc-item-qty {
    margin: 0;
    font-size: 12px;
    color: #6d7175;
}

.wcc-thankyou-shopify .wcc-order-item-price {
    font-size: 14px;
    font-weight: 500;
    color: #202223;
}

/* Order Totals */
.wcc-thankyou-shopify .wcc-order-totals {
    padding-top: 20px;
    border-top: 1px solid #e3e3e3;
    margin-bottom: 20px;
}

.wcc-thankyou-shopify .wcc-total-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 14px;
    color: #6d7175;
}

.wcc-thankyou-shopify .wcc-total-final {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #e3e3e3;
    font-size: 16px;
    font-weight: 600;
    color: #202223;
}

/* Billing Info */
.wcc-thankyou-shopify .wcc-billing-info {
    margin-bottom: 20px;
    padding-top: 20px;
    border-top: 1px solid #e3e3e3;
}

.wcc-thankyou-shopify .wcc-billing-info h4 {
    margin: 0 0 10px 0;
    font-size: 16px;
    font-weight: 600;
    color: #202223;
}

.wcc-thankyou-shopify .wcc-billing-info address {
    font-style: normal;
    font-size: 14px;
    line-height: 1.6;
    color: #6d7175;
}

/* Need Help */
.wcc-thankyou-shopify .wcc-need-help {
    padding-top: 20px;
    border-top: 1px solid #e3e3e3;
}

.wcc-thankyou-shopify .wcc-need-help h4 {
    margin: 0 0 10px 0;
    font-size: 16px;
    font-weight: 600;
    color: #202223;
}

.wcc-thankyou-shopify .wcc-need-help p {
    margin: 0 0 10px 0;
    font-size: 14px;
    color: #6d7175;
}

.wcc-thankyou-shopify .wcc-contact-email {
    color: #005bd3;
    text-decoration: none;
    font-weight: 500;
}

.wcc-thankyou-shopify .wcc-contact-email:hover {
    text-decoration: underline;
}

/* Mobile Responsive */
@media (max-width: 1024px) {
    .wcc-thankyou-shopify .wcc-thankyou-container {
        grid-template-columns: 1fr;
    }
    
    .wcc-thankyou-shopify .wcc-thankyou-sidebar {
        position: static;
        order: -1;
    }
}

@media (max-width: 768px) {
    .wcc-thankyou-shopify {
        padding: 20px 10px;
    }
    
    .wcc-thankyou-shopify .wcc-thankyou-main,
    .wcc-thankyou-shopify .wcc-thankyou-sidebar {
        padding: 20px;
    }
    
    .wcc-thankyou-shopify .wcc-thankyou-header {
        flex-direction: column;
        text-align: center;
    }
    
    .wcc-thankyou-shopify .wcc-map-container {
        height: 200px;
    }
}



