/* Warenkorb & Vorbestell-Checkout */
.emix-cart-nav {
    position: relative;
    display: inline-flex;
    align-items: center;
    margin-left: 0.35rem;
}

.emix-cart-nav-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.45rem 0.75rem;
    border-radius: 999px;
    background: rgba(21, 149, 72, 0.12);
    color: #0d3d1f;
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
    border: 1px solid rgba(21, 149, 72, 0.25);
}

.emix-cart-nav-link:hover {
    background: rgba(21, 149, 72, 0.2);
    color: #0d3d1f;
}

.emix-cart-nav-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.35rem;
    height: 1.35rem;
    padding: 0 0.35rem;
    border-radius: 999px;
    background: #159548;
    color: #fff;
    font-size: 0.72rem;
    line-height: 1;
}

.emix-cart-nav-count:empty,
.emix-cart-nav-count[data-count="0"] {
    display: none;
}

.emix-cart-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9000;
    background: #0d3d1f;
    color: #fff;
    box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.18);
    padding: 0.85rem 1rem;
}

.emix-cart-bar[hidden] {
    display: none !important;
}

body.emix-cart-active .main-wrap {
    padding-bottom: 5rem;
}

.emix-cart-bar-inner {
    max-width: 72rem;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.emix-cart-bar-text {
    font-size: 0.95rem;
    font-weight: 600;
}

.emix-cart-bar-actions {
    display: flex;
    gap: 0.65rem;
    flex-wrap: wrap;
}

.emix-cart-bar-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.55rem 1rem;
    border-radius: 8px;
    font-size: 0.88rem;
    font-weight: 700;
    text-decoration: none;
    border: none;
    cursor: pointer;
}

.emix-cart-bar-btn--primary {
    background: #159548;
    color: #fff;
}

.emix-cart-bar-btn--primary:hover {
    background: #127a3a;
    color: #fff;
}

.emix-cart-bar-btn--ghost {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.35);
}

.emix-shop-card-footer--preorder {
    flex-direction: column;
    align-items: stretch;
    gap: 0.55rem;
}

.emix-shop-qty-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.emix-shop-qty-row label {
    font-size: 0.78rem;
    font-weight: 600;
    color: #475569;
    white-space: nowrap;
}

.emix-shop-qty-input {
    width: 4.5rem;
    padding: 0.35rem 0.45rem;
    border: 1px solid rgba(21, 149, 72, 0.28);
    border-radius: 8px;
    font-size: 0.9rem;
}

.emix-shop-cta--cart {
    border: none;
    cursor: pointer;
    text-align: center;
    width: 100%;
}

.emix-shop-cta--cart:disabled {
    opacity: 0.65;
    cursor: wait;
}

.emix-shop-price--preorder {
    font-size: 0.88rem;
    color: #475569;
}

.emix-shop-preorder-note {
    font-size: 0.82rem;
    color: #64748b;
    margin: 0 0 1rem;
    padding: 0.75rem 1rem;
    background: rgba(21, 149, 72, 0.08);
    border-radius: 10px;
    border: 1px solid rgba(21, 149, 72, 0.15);
}

.emix-checkout-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: start;
}

@media (max-width: 991px) {
    .emix-checkout-layout {
        grid-template-columns: 1fr;
    }
}

.emix-checkout-panel {
    border: 1px solid rgba(21, 149, 72, 0.2);
    border-radius: 14px;
    background: #fff;
    padding: 1.25rem 1.35rem;
}

.emix-checkout-panel h2 {
    font-size: 1.15rem;
    color: #0d3d1f;
    margin: 0 0 1rem;
}

.emix-checkout-items {
    list-style: none;
    margin: 0;
    padding: 0;
}

.emix-checkout-item {
    display: grid;
    grid-template-columns: 64px 1fr auto;
    gap: 0.85rem;
    align-items: center;
    padding: 0.85rem 0;
    border-bottom: 1px solid #eef2f7;
}

.emix-checkout-item:last-child {
    border-bottom: none;
}

.emix-checkout-item img {
    width: 64px;
    height: 64px;
    object-fit: cover;
    border-radius: 8px;
    background: #f1f5f9;
}

.emix-checkout-item-name {
    font-weight: 700;
    color: #0d3d1f;
    font-size: 0.95rem;
    margin-bottom: 0.15rem;
}

.emix-checkout-item-meta {
    font-size: 0.82rem;
    color: #64748b;
}

.emix-checkout-qty-controls {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.emix-checkout-qty-btn {
    width: 1.8rem;
    height: 1.8rem;
    border: 1px solid rgba(21, 149, 72, 0.25);
    background: #fff;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 700;
    color: #0d3d1f;
}

.emix-checkout-remove {
    margin-top: 0.35rem;
    border: none;
    background: none;
    color: #b91c1c;
    font-size: 0.78rem;
    cursor: pointer;
    padding: 0;
    text-decoration: underline;
}

.emix-checkout-form label {
    display: block;
    margin-bottom: 0.85rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: #334155;
}

.emix-checkout-form input,
.emix-checkout-form textarea {
    display: block;
    width: 100%;
    margin-top: 0.35rem;
    padding: 0.65rem 0.75rem;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font: inherit;
    box-sizing: border-box;
}

.emix-checkout-form textarea {
    min-height: 120px;
    resize: vertical;
}

.emix-checkout-form input:focus,
.emix-checkout-form textarea:focus {
    outline: 2px solid rgba(21, 149, 72, 0.35);
    border-color: #159548;
}

.emix-checkout-hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.emix-checkout-submit {
    width: 100%;
    margin-top: 0.5rem;
    padding: 0.85rem 1rem;
    border: none;
    border-radius: 10px;
    background: #159548;
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
}

.emix-checkout-submit:hover:not(:disabled) {
    background: #127a3a;
}

.emix-checkout-submit:disabled {
    opacity: 0.65;
    cursor: wait;
}

.emix-checkout-legal {
    font-size: 0.78rem;
    color: #64748b;
    margin-top: 0.75rem;
    line-height: 1.45;
}

.emix-checkout-alert {
    padding: 0.85rem 1rem;
    border-radius: 10px;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.emix-checkout-alert--error {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.emix-checkout-alert--success {
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.emix-checkout-empty {
    text-align: center;
    padding: 2rem 1rem;
}

.emix-checkout-empty a {
    color: #159548;
    font-weight: 700;
}
