.modern-cart {
    margin-top: 2rem;
    margin-bottom: 2rem;
    display: grid;
    grid-template-columns: 1fr 25rem;
    gap: 2rem;
}

.cart-items-section {
    background: white;
    border-radius: 0.75rem;
    box-shadow: 0 0.25rem 0.375rem rgba(0, 0, 0, 0.05);
    overflow: hidden;
    border: 1px solid #d8d8d8;
}

.cart-header {
    background: linear-gradient(135deg, #6976DF 0%, #5a67d8 100%);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 0.75rem 0.75rem 0 0;
}

.cart-header h2 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cart-items-list {
    padding: 1.5rem;
}

.cart-item {
    display: grid;
    grid-template-columns: 5rem 1fr auto;
    gap: 1rem;
    padding: 1rem;
    border: 0.0625rem solid #e2e8f0;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
    background: #fafafa;
    transition: all 0.2s ease;
}

.cart-item:hover {
    box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.1);
    transform: translateY(-0.125rem);
}

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

.item-image {
    width: 5rem;
    height: 5rem;
    border-radius: 0.375rem;
    overflow: hidden;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0.125rem solid #e2e8f0;
}

.item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.item-image .no-image,
.no-image-fallback {
    color: #94a3b8;
    font-size: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: #f8fafc;
}

.item-details {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.item-name {
    font-size: 1rem;
    font-weight: 600;
    color: #1e293b;
    margin: 0;
}

.item-article {
    color: #64748b;
    font-size: 0.9rem;
    font-weight: 500;
}

.item-quantity {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0.5rem 0;
}

.quantity-label {
    color: #475569;
    font-weight: 500;
}

.quantity-badge {
    background: #6976DF;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 1.25rem;
    font-size: 0.85rem;
    font-weight: 600;
}

.imprint-details {
    background: #f1f5f9;
    padding: 0.75rem;
    border-radius: 0.375rem;
    margin-top: 0.5rem;
}

.imprint-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: #334155;
    margin-bottom: 0.5rem;
}

.imprint-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.imprint-list li {
    font-size: 0.8rem;
    color: #64748b;
    padding: 0.1rem 0;
}

.item-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: space-between;
}

.item-price {
    font-size: 1.1rem;
    font-weight: 700;
    color: #16a34a;
    margin-bottom: 0.75rem;
}

.remove-btn {
    background: #ef4444;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.remove-btn:hover {
    background: #dc2626;
    transform: translateY(-0.0625rem);
}

.empty-cart {
    text-align: center;
    padding: 2rem 1rem;
    color: #64748b;
}

.empty-cart i {
    font-size: 3rem;
    color: #cbd5e1;
    margin-bottom: 1rem;
}

.empty-cart h3 {
    margin: 0 0 0.5rem 0;
    color: #475569;
}

.empty-cart p {
    margin: 0;
    font-size: 0.9rem;
}

.order-summary {
    background: white;
    border-radius: 0.75rem;
    box-shadow: 0 0.25rem 0.375rem rgba(0, 0, 0, 0.05);
    height: fit-content;
    overflow: hidden;
    border: 1px solid #d8d8d8;
}

.summary-header {
    background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
    color: white;
    padding: 1rem 1.5rem;
}

.summary-header h2 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 600;
}

.summary-content {
    padding: 1rem 1.5rem 1.5rem;
}

.summary-description {
    color: #64748b;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-label {
    display: block;
    font-weight: 500;
    color: #374151;
    margin-bottom: 0.5rem;
}

.form-input {
    width: 100%;
    padding: 0.75rem;
    border: 0.125rem solid #e2e8f0;
    border-radius: 0.375rem;
    font-size: 0.9rem;
    transition: border-color 0.2s ease;
}

.form-input:focus {
    outline: none;
    border-color: #6976DF;
    box-shadow: 0 0 0 0.1875rem rgba(105, 118, 223, 0.1);
}

.submit-btn {
    width: 100%;
    background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
    color: white;
    border: none;
    padding: 0.875rem 1.5rem;
    border-radius: 0.375rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.submit-btn:hover {
    transform: translateY(-0.125rem);
    box-shadow: 0 0.25rem 0.75rem rgba(22, 163, 74, 0.4);
}

.alert-message {
    padding: 0.75rem 1rem;
    border-radius: 0.375rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.alert-error {
    background: #fef2f2;
    color: #991b1b;
    border: 0.0625rem solid #fecaca;
}

.alert-success {
    background: #f0fdf4;
    color: #166534;
    border: 0.0625rem solid #bbf7d0;
}

@media (max-width: 768px) {
    .modern-cart {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin: 1rem;
    }

    .cart-item {
        grid-template-columns: 5rem 1fr;
        gap: 1rem;
    }

    .item-actions {
        grid-column: 1 / -1;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        margin-top: 1rem;
    }

    .item-image {
        width: 5rem;
        height: 5rem;
    }
}