/* Tabla de carritos guardados */
.wcsc-saved-carts-table {
    width: 100%;
    margin-top: 15px;
}

.wcsc-saved-carts-table th {
    font-weight: 600;
    text-align: left;
    padding: 12px 10px;
}

.wcsc-saved-carts-table td {
    padding: 12px 10px;
    vertical-align: middle;
}

/* Botones de acciones */
.wcsc-saved-carts-table .wcsc-col-actions a {
    display: inline-block;
    padding: 8px 14px;
    margin: 3px 4px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    transition: opacity 0.2s;
    line-height: 1.2;
}

.wcsc-saved-carts-table .wcsc-col-actions a:hover {
    opacity: 0.85;
}

/* Modal detalle carrito (Ver carrito) */
#wcsc-view-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
}

#wcsc-view-modal {
    background: #fff;
    border-radius: 8px;
    width: 90%;
    max-width: 700px;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

#wcsc-view-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: #f7f7f7;
    border-bottom: 1px solid #ddd;
    font-size: 16px;
    font-weight: 600;
    position: sticky;
    top: 0;
}

#wcsc-view-modal-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #666;
    padding: 0;
    line-height: 1;
}

#wcsc-view-modal-body {
    padding: 20px;
}

#wcsc-view-modal-body table {
    width: 100%;
    border-collapse: collapse;
}

#wcsc-view-modal-body th,
#wcsc-view-modal-body td {
    padding: 10px 12px;
    border-bottom: 1px solid #eee;
    text-align: left;
}

#wcsc-view-modal-body th {
    background: #f9f9f9;
    font-weight: 600;
}

/* Responsive */
@media (max-width: 768px) {
    .wcsc-saved-carts-table .wcsc-col-actions a {
        display: block;
        margin: 4px 0;
        text-align: center;
    }
}
