.wc-order-summary {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    margin: 20px 0;
    background: #fff;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.order-summary-title {
    background: #2E4BC6;
    color: white;
    margin: 0;
    padding: 15px 20px;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.order-summary-items {
    padding: 0;
}

.order-summary-item {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid #f0f0f0;
    background: #fafafa;
}

.order-summary-item:last-child {
    border-bottom: none;
}

.item-image {
    margin-right: 15px;
    flex-shrink: 0;
}

.item-image img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid #e0e0e0;
}

.item-details {
    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.item-info {
    flex: 1;
}

.item-name {
    margin: 0 0 5px 0;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    line-height: 1.3;
}

.item-variation {
    font-size: 12px;
    color: #666;
    margin-bottom: 8px;
}

.item-quantity {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
}

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 5px;
}

.qty-btn {
    background: #2E4BC6;
    color: white;
    border: none;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.qty-btn:hover {
    background: #1a2d8a;
}

.qty-input {
    width: 40px;
    text-align: center;
    padding: 4px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 12px;
}

.remove-item {
    background: #dc3545;
    color: white;
    border: none;
    padding: 4px 8px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 10px;
    text-transform: uppercase;
    margin-left: 10px;
}

.remove-item:hover {
    background: #c82333;
}

.item-price-section {
    text-align: right;
    min-width: 80px;
}

.item-price {
    font-size: 16px;
    font-weight: 700;
    color: #333;
    margin: 0;
}

.unit-price {
    font-size: 11px;
    color: #999;
    margin-top: 2px;
}

.order-summary-totals {
    background: #f8f9fa;
    padding: 20px;
    border-top: 1px solid #e9ecef;
}

.order-summary-totals > div {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 14px;
    color: #666;
}

.total {
    font-size: 18px;
    font-weight: 700;
    color: #e74c3c;
    border-top: 1px solid #ddd;
    padding-top: 12px;
    margin-top: 12px;
}

.total .amount {
    color: #e74c3c;
}

.order-summary-actions {
    padding: 20px;
    background: #f8f9fa;
    display: flex;
    gap: 10px;
}

.order-summary-actions .button {
    flex: 1;
    text-align: center;
    padding: 12px;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.2s;
}

.order-summary-actions .button.alt {
    background: #6c757d;
    color: white;
}

.order-summary-actions .button.alt:hover {
    background: #545b62;
}

.order-summary-actions .button:not(.alt) {
    background: #28a745;
    color: white;
}

.order-summary-actions .button:not(.alt):hover {
    background: #218838;
}

.wc-order-summary.empty {
    text-align: center;
    padding: 40px;
    color: #666;
    background: #f8f9fa;
}

/* Estados de carregamento */
.order-summary-item.updating {
    opacity: 0.6;
}

.order-summary-item.removing {
    opacity: 0.4;
}

@media (max-width: 768px) {
    .order-summary-item {
        flex-direction: column;
        align-items: flex-start;
        padding: 15px;
    }
    
    .item-details {
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .item-image {
        margin-right: 0;
        margin-bottom: 10px;
        align-self: center;
    }
    
    .item-price-section {
        text-align: left;
        min-width: auto;
    }
    
    .order-summary-actions {
        flex-direction: column;
    }
    
    .order-summary-title {
        font-size: 14px;
        padding: 12px 15px;
    }
}