/* TE24 Shop – [warenkorb_button] Warenkorb-Icon mit Badge (ausgelagert aus dem Inline-<style> des Child-Themes). */
.warenkorb-button-container {
    display: inline-block;
    position: relative;
    margin-left: 40px;
}

@media (max-width: 768px) {
    .warenkorb-button-container {
        margin-left: 10px;
    }
}

.warenkorb-button {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.warenkorb-button:hover {
    opacity: 0.8;
}

.warenkorb-icon-wrapper {
    position: relative;
    display: inline-block;
}

.warenkorb-svg {
    display: block;
    width: auto;
    height: 30px;
}

.warenkorb-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #e74c3c;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    line-height: 1;
    min-width: 20px;
    padding: 0 2px;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

.warenkorb-badge.large-number {
    font-size: 10px;
    min-width: 24px;
    height: 20px;
    border-radius: 10px;
}

.warenkorb-text {
    margin-left: 8px;
    font-size: 14px;
    color: #2672cf;
    font-weight: 500;
}

/* Responsive Anpassungen */
@media (max-width: 768px) {
    .warenkorb-svg {
        width: 45px;
        height: 37px;
    }

    .warenkorb-badge {
        width: 18px;
        height: 18px;
        font-size: 11px;
        top: -6px;
        right: -6px;
    }

    .warenkorb-badge.large-number {
        min-width: 22px;
        height: 18px;
    }
}
